1 commit 7291cb1f841c384f1a18cc744c8d9c6be20c48e2
2 Author: Simon Feltman <sfeltman@src.gnome.org>
3 Date: Mon Apr 13 19:33:40 2015 -0700
5 overrides: Conditionalize touch override support in Gdk
7 Conditionalize Gdk.EventTouch union discrimination. This fixes the
8 Gdk overrides to continue working with versions of Gdk less than 3.4.
10 https://bugzilla.gnome.org/show_bug.cgi?id=747717
12 gi/overrides/Gdk.py | 18 +++++++++++++-----
13 1 file changed, 13 insertions(+), 5 deletions(-)
15 commit c5952495351b551b5295afc36643e3d10004225e
16 Author: Simon Feltman <sfeltman@src.gnome.org>
17 Date: Sun Mar 29 16:29:35 2015 -0700
19 configure.ac: post release version bump to 3.16.1
22 1 file changed, 1 insertion(+), 1 deletion(-)
24 commit 46f463a3a3ff45eb8eba67fbb59ecc861b1e1d73
25 Author: Simon Feltman <sfeltman@src.gnome.org>
26 Date: Tue Mar 24 01:25:25 2015 -0700
32 2 files changed, 4 insertions(+), 2 deletions(-)
34 commit bf802599f5d0d13cc4b69f1716400561a16a2443
35 Author: Simon Feltman <sfeltman@src.gnome.org>
36 Date: Thu Mar 5 01:09:12 2015 -0800
38 configure.ac: post release version bump to 3.15.92
41 1 file changed, 1 insertion(+), 1 deletion(-)
43 commit a86f309066f007f9787a6d1ac679dc041740d8dc
44 Author: Simon Feltman <sfeltman@src.gnome.org>
45 Date: Thu Mar 5 01:08:03 2015 -0800
49 NEWS | 14 ++++++++++++++
51 2 files changed, 15 insertions(+), 1 deletion(-)
53 commit 9948a67e677c8a351f2de17080d7a671882570f3
54 Author: Christoph Reiter <reiter.christoph@gmail.com>
55 Date: Tue Jan 27 17:47:49 2015 +0100
57 tests: Don't use deprecated override attributes
59 In case the test explicitly tests the deprecated attribute
60 silence the resulting warnings.
62 Instead of replacing GObject.PARAM_READWRITE with
63 GObject.ParamFlags.READWRITE use (READABLE | WRITABLE)
64 to not depend on a newer glib version.
66 https://bugzilla.gnome.org/show_bug.cgi?id=743514
68 tests/test_everything.py | 168
69 ++++++++++++++++++++++----------------------
70 tests/test_gi.py | 66 ++++++++---------
71 tests/test_glib.py | 33 +++++----
72 tests/test_gobject.py | 21 +++---
73 tests/test_internal_api.py | 4 +-
74 tests/test_iochannel.py | 11 +--
75 tests/test_overrides_gtk.py | 20 +++---
76 tests/test_properties.py | 100 ++++++++++++++------------
77 tests/test_signal.py | 111 ++++++++++++++---------------
78 tests/test_source.py | 8 +--
79 tests/test_subprocess.py | 7 +-
80 tests/testmodule.py | 3 +-
81 12 files changed, 292 insertions(+), 260 deletions(-)
83 commit 9285b23cd1b253baaf06ddd49e2f000716bbf7f3
84 Author: Christoph Reiter <reiter.christoph@gmail.com>
85 Date: Tue Jan 27 16:36:02 2015 +0100
87 Add GLib.MINFLOAT etc. and mark GObject.G_MINFLOAT etc. deprecated.
89 They are defined in glib, not gobject and not included in the gir;
90 Similar constants like G_MAXINT64 are defined in GLib gir and marked
91 deprecated in the GObject overrides already.
93 https://bugzilla.gnome.org/show_bug.cgi?id=743514
95 gi/overrides/GLib.py | 12 ++++++++++++
96 gi/overrides/GObject.py | 4 +++-
97 tests/test_overrides_glib.py | 7 +++++++
98 3 files changed, 22 insertions(+), 1 deletion(-)
100 commit f74acb38f1410982f3419acb134adf173600e497
101 Author: Christoph Reiter <reiter.christoph@gmail.com>
102 Date: Tue Jan 27 16:06:03 2015 +0100
104 Emit PyGIDeprecationWarning when accessing deprecated override
107 Adds a new helper function for overrides to mark a module level
109 as deprecated. A warning will be emitted every time the attribute gets
112 e.g. when marking GObject.STATUS_FOO as deprecated using
114 STATUS_FOO = GLib.Status.FOO
115 deprecated_attr("GObject", "STATUS_FOO", "GLib.Status.FOO")
116 __all__.append("STATUS_FOO")
118 accessing it will emit
120 "GObject.STATUS_FOO is deprecated; use GLib.Status.FOO instead"
122 https://bugzilla.gnome.org/show_bug.cgi?id=743514
124 gi/overrides/GLib.py | 44 ++++++++++++++++-------
125 gi/overrides/GObject.py | 90
126 +++++++++++++++++++++++++-----------------------
127 gi/overrides/__init__.py | 74 ++++++++++++++++++++++++++++++++++++++-
128 tests/test_gi.py | 70 +++++++++++++++++++++++++++++++++++++
129 4 files changed, 221 insertions(+), 57 deletions(-)
131 commit a10df7d28c01d70ee33d8e4e9ddaa23f1990ca60
132 Author: Christoph Reiter <reiter.christoph@gmail.com>
133 Date: Tue Jan 27 19:13:54 2015 +0100
135 Add namespace and container name to callable cache and include them
136 in all warnings/error messages.
138 https://bugzilla.gnome.org/show_bug.cgi?id=743468
140 gi/pygi-cache.c | 39 ++++++++++++++++++++++++++++++++++-----
141 gi/pygi-cache.h | 5 +++++
142 gi/pygi-closure.c | 4 +++-
143 gi/pygi-invoke.c | 41 +++++++++++++++++++++++++++++------------
144 tests/test_everything.py | 2 +-
145 tests/test_gi.py | 28 ++++++++++++++++++----------
146 6 files changed, 90 insertions(+), 29 deletions(-)
148 commit 747fc3754c296ad5481d354bbf35521f886c5c61
149 Author: Garrett Regier <garrettregier@gmail.com>
150 Date: Sun Mar 1 03:30:46 2015 -0800
152 tests: Add test for GIRepository.UnionInfo.get_size()
154 https://bugzilla.gnome.org/show_bug.cgi?id=745362
156 tests/test_repository.py | 1 +
157 1 file changed, 1 insertion(+)
159 commit 2dcce92b4fab95403b9bbedffa8a91453c947927
160 Author: Garrett Regier <garrettregier@gmail.com>
161 Date: Fri Jan 23 01:37:35 2015 -0800
163 Avoid duping filenames when marshalling from Python to C
165 https://bugzilla.gnome.org/show_bug.cgi?id=744719
167 gi/pygi-basictype.c | 12 ++++++------
168 1 file changed, 6 insertions(+), 6 deletions(-)
170 commit 26fe8dafb933fa76afd41e45b10a3163a7380c1e
171 Author: Simon Feltman <sfeltman@src.gnome.org>
172 Date: Fri Feb 20 22:06:24 2015 -0800
174 configure.ac: post release version bump to 3.15.1
177 1 file changed, 1 insertion(+), 1 deletion(-)
179 commit e8aef305d273ce551da41e74a54c5d03de5a0c2a
180 Author: Simon Feltman <sfeltman@src.gnome.org>
181 Date: Fri Feb 20 22:04:43 2015 -0800
186 1 file changed, 10 insertions(+)
188 commit 5dc113283c0a721c4027026bb8de7243585f1289
189 Author: Simon Feltman <sfeltman@src.gnome.org>
190 Date: Fri Feb 20 21:59:10 2015 -0800
192 Ignore deprecation warning for g_option_group_free()
194 gi/pygoptiongroup.c | 5 ++++-
195 1 file changed, 4 insertions(+), 1 deletion(-)
197 commit d8961622ea748c42171bdb4703e70022035ec3cc
198 Author: Simon Feltman <sfeltman@src.gnome.org>
199 Date: Fri Feb 20 21:52:58 2015 -0800
201 tests: Make get_all_dependendencies() test more robust
203 Replace array comparison with checking if individual items are in
205 This solves a problem where the returned array might be in a
207 as well as future proofs the test in case more dependencies are added.
209 tests/test_import_machinery.py | 8 +++++---
210 1 file changed, 5 insertions(+), 3 deletions(-)
212 commit b10ab49afb97655507e2d3b92f621387287a2928
213 Author: Simon Feltman <sfeltman@src.gnome.org>
214 Date: Fri Feb 20 20:16:35 2015 -0800
216 tests: Fix PEP8 error with commented code in test
218 tests/test_gi.py | 1 -
219 1 file changed, 1 deletion(-)
221 commit 60de632153a693fb2b0f2ce26208c6ff668bdf4d
222 Author: Garrett Regier <garrett.regier@riftio.com>
223 Date: Tue Jan 27 10:39:53 2015 -0800
225 Avoid copying bytearrays from Python to C when transfer nothing
227 https://bugzilla.gnome.org/show_bug.cgi?id=743278
229 gi/pygi-array.c | 23 +++++++++++++++++++----
230 tests/test_gi.py | 14 +++++++++++++-
231 2 files changed, 32 insertions(+), 5 deletions(-)
233 commit a4160892dd28ab1d656cef4d4059f3b3f95caf4a
234 Author: Garrett Regier <garrett.regier@riftio.com>
235 Date: Mon Jan 19 14:53:53 2015 -0800
237 Allows passing arguments to opaque Boxed types
239 https://bugzilla.gnome.org/show_bug.cgi?id=743214
241 gi/pygi-info.c | 7 +++++++
242 gi/types.py | 10 +++++++++-
243 tests/test_everything.py | 9 +++++++++
244 tests/test_glib.py | 6 +++---
245 4 files changed, 28 insertions(+), 4 deletions(-)
247 commit ef3bff4e570363e4f383d4cdae9cecd4073b03d8
248 Author: Christoph Reiter <reiter.christoph@gmail.com>
249 Date: Sat Jan 24 20:01:00 2015 +0100
251 Emit ImportWarning when gi.require_version() is not used
253 gi tries to import the latest version of typelibs which can cause
254 existing code to break when a newer typelib is released.
255 Emit an ImportWarning when gi.require_version() is not used to give
256 developers this awareness so they can future proof their code.
258 https://bugzilla.gnome.org/show_bug.cgi?id=727379
261 +++++++++++++++++++++++++++++++++++++++++-
262 gi/pygi-repository.c | 35 +++++++++++++++
263 tests/compat_test_pygtk.py | 7 ++-
264 tests/test_atoms.py | 6 ++-
265 tests/test_import_machinery.py | 22 ++++++++++
266 tests/test_overrides_gtk.py | 7 ++-
267 tests/test_overrides_pango.py | 5 ++-
268 tests/test_properties.py | 5 ++-
269 tests/test_repository.py | 10 +++++
270 9 files changed, 187 insertions(+), 9 deletions(-)
272 commit 149c31beced944c72fba6ca6e096c81c1100ea2b
273 Author: Christoph Reiter <reiter.christoph@gmail.com>
274 Date: Tue Dec 2 15:38:57 2014 +0100
276 Refactor overrides import/modules
278 Removes Registry and DynamicModule in favor of a simple module
280 contains only overrides and falls back to the introspection module.
281 Moves all the overrides logic into gi.overrides; Speeds up module
284 https://bugzilla.gnome.org/show_bug.cgi?id=736678
286 gi/importer.py | 11 ++--
287 gi/module.py | 68 ---------------------
288 gi/overrides/__init__.py | 131
289 ++++++++++++++++++++++++++++++-----------
290 tests/test_gi.py | 4 --
291 tests/test_import_machinery.py | 32 +++++++---
292 5 files changed, 126 insertions(+), 120 deletions(-)
294 commit 4d0ab13a8461f781986accc637fada3909cfb91a
295 Author: Simon Feltman <sfeltman@src.gnome.org>
296 Date: Thu Aug 21 15:11:39 2014 -0700
298 Replace statically bound GLib.Variant.new_tuple() with GI
300 Remove the static implementation of _wrap_pyg_variant_new_tuple with
301 usage of the dynamic version coming from GI. Array marshalling has
302 drastically improved in recent years making the dynamic version usable
303 with a small compatibility shim for the arguments.
305 https://bugzilla.gnome.org/show_bug.cgi?id=735199
307 gi/gimodule.c | 39 ---------------------------------------
308 gi/overrides/GLib.py | 12 +++++-------
309 2 files changed, 5 insertions(+), 46 deletions(-)
311 commit 17ec0d39069b7a4cc19691ea1284f821caf84d24
312 Author: Simon Feltman <sfeltman@src.gnome.org>
313 Date: Wed Sep 10 13:30:48 2014 -0700
315 overrides: Add Gdk.EventTouch union discrimination
317 Add EventTouch to get/setattr pass-through to support BEGIN,
319 and CANCEL touch event types. Ensure Gdk.Event methods get_state(),
320 get_axis(), get_coords(), and get_root_coords() are patched onto
323 https://bugzilla.gnome.org/show_bug.cgi?id=736380
325 gi/overrides/Gdk.py | 5 +++++
326 tests/test_overrides_gdk.py | 12 ++++++++++++
327 2 files changed, 17 insertions(+)
329 commit 16408a81713157cdf1e3b6bd74bd53e816e9dfda
330 Author: Simon Feltman <sfeltman@src.gnome.org>
331 Date: Sat Jan 3 17:20:14 2015 -0800
333 tests: Update pixbuf loader test to not raise exception when closing
336 https://git.gnome.org/browse/gdk-pixbuf/commit/?id=447bd32650af
337 changed the close() method to raise if the a loader is prematurely
339 Update the test to write a 1x1 PNG stream to ensure close() will
342 tests/compat_test_pygtk.py | 9 +++++++++
343 1 file changed, 9 insertions(+)
345 commit fd3935541ab4baddb504e000ec659b80923afa13
346 Author: Murray Cumming <murrayc@murrayc.com>
347 Date: Tue Dec 2 19:55:51 2014 +0100
349 PyGObjectFlags: Remove a trailing comma on the enum.
351 Because this produces a g++ pedantic warning.
353 gi/pygobject.h | 2 +-
354 1 file changed, 1 insertion(+), 1 deletion(-)
356 commit 3b70f5bc8e59e49795fcaa7b285aeff0c4565a04
357 Author: Simon Feltman <sfeltman@src.gnome.org>
358 Date: Mon Oct 27 20:19:23 2014 -0700
360 Remove redefinitions of function and vfunc cache typedefs
362 https://bugzilla.gnome.org/show_bug.cgi?id=737874
364 gi/pygi-cache.h | 8 ++++----
365 1 file changed, 4 insertions(+), 4 deletions(-)
367 commit cec9c2b253bdbc1e6493630c533acf6bb4509114
368 Author: Simon Feltman <sfeltman@src.gnome.org>
369 Date: Mon Sep 22 13:26:24 2014 -0700
371 configure.ac: post release version bump to 3.15.0
374 1 file changed, 1 insertion(+), 1 deletion(-)
376 commit f20df385f480b65a8128986ce3df4022b324ade0
377 Author: Simon Feltman <sfeltman@src.gnome.org>
378 Date: Mon Sep 22 12:38:35 2014 -0700
383 1 file changed, 3 insertions(+)
385 commit 309d4100a08867d18420586c3b1f8709c360250f
386 Author: Simon Feltman <sfeltman@src.gnome.org>
387 Date: Mon Sep 22 12:24:32 2014 -0700
389 configure.ac: pre release version bump to 3.14.0
391 configure.ac | 4 ++--
392 1 file changed, 2 insertions(+), 2 deletions(-)
394 commit 4b7c985aa57f8026da96d174454b308858ebd1cc
395 Author: Simon Feltman <sfeltman@src.gnome.org>
396 Date: Mon Sep 15 15:46:04 2014 -0700
401 1 file changed, 7 insertions(+)
403 commit 79bad703a089a4b0c31fcdb143b889667f5fa197
404 Author: Simon Feltman <sfeltman@src.gnome.org>
405 Date: Fri Sep 12 17:10:04 2014 -0700
407 tests: Add test for Gio.Application.add_main_option()
409 tests/test_gio.py | 29 +++++++++++++++++++++++++++++
410 1 file changed, 29 insertions(+)
412 commit a2f98a9ba0b0dda0d3cf59651327e5c93d5479d6
413 Author: Simon Feltman <sfeltman@src.gnome.org>
414 Date: Thu Sep 11 19:32:53 2014 -0700
416 Split test_everything.TestEverything.test_string() into multiple tests
418 https://bugzilla.gnome.org/show_bug.cgi?id=735193
420 tests/test_everything.py | 25 +++++++++++++++++++------
421 1 file changed, 19 insertions(+), 6 deletions(-)
423 commit 6674701b6de02353738b9dc04ab88de23996704e
424 Author: Simon Feltman <sfeltman@src.gnome.org>
425 Date: Thu Sep 11 19:08:53 2014 -0700
427 tests: Split array tests up
429 Split test_everything.TestEverything.test_array(),
430 test_array_fixed_size(),
431 and test_ptrarray() into functions of a finer granularity. This
433 easier diagnosis of problems and leaks when they occur.
435 https://bugzilla.gnome.org/show_bug.cgi?id=735193
437 tests/test_everything.py | 37 ++++++++++++++++++++++++++++++++-----
438 1 file changed, 32 insertions(+), 5 deletions(-)
440 commit d1bae18ba0514864a37bf5d182605e2100c28d7e
441 Author: Simon Feltman <sfeltman@src.gnome.org>
442 Date: Thu Sep 11 16:17:13 2014 -0700
444 tests: Split test_strv() into multiple tests
446 https://bugzilla.gnome.org/show_bug.cgi?id=735193
448 tests/test_everything.py | 10 +++++++++-
449 1 file changed, 9 insertions(+), 1 deletion(-)
451 commit 6181f724bc2c6ea30194c961cb15b2c543a48f95
452 Author: Simon Feltman <sfeltman@src.gnome.org>
453 Date: Wed Sep 10 19:06:35 2014 -0700
455 Fix invalid read error in argument cleanup code
457 Always set initial length argument index for arrays to -1. Ensure
459 attempt retrieving Python cleanup arguments until we know it is valid.
460 This was causing an invalid read in test_gi.TestArray.test_array_out()
462 gi/pygi-array.c | 1 +
463 gi/pygi-marshal-cleanup.c | 13 ++++++++-----
464 2 files changed, 9 insertions(+), 5 deletions(-)
466 commit 972e944ad4b2aac03c61633b8c277e35395c114c
467 Author: Simon Feltman <sfeltman@src.gnome.org>
468 Date: Wed Sep 10 18:55:45 2014 -0700
470 tests: Increase num-callers for valgrind runs
472 Additionally split valgrind check variations over multiple lines
475 tests/Makefile.am | 23 ++++++++++++++++++++---
476 1 file changed, 20 insertions(+), 3 deletions(-)
478 commit d70b300c7415dd7b20ff88b09fe835690da19831
479 Author: Simon Feltman <sfeltman@src.gnome.org>
480 Date: Sat Sep 6 23:58:25 2014 -0700
482 Fix memory management problems with struct arguments to signals
484 Replicate struct marshaling logic for determining if struct arguments
485 to signals should be passed by reference to callbacks.
486 Maintain a list of these structs and apply an in-place copy of
488 pointer if the struct wrapper is held longer than the duration of the
489 Python callback. This allows for both mutation of struct arguments
491 callbacks as well as memory safety incase a callbacks holds onto
494 https://bugzilla.gnome.org/show_bug.cgi?id=736175
496 gi/pygi-boxed.c | 20 ++++++++++++++++++++
497 gi/pygi-boxed.h | 2 ++
498 gi/pygi-signal-closure.c | 43
499 +++++++++++++++++++++++++++++++++++++------
500 tests/test_overrides_gtk.py | 1 -
501 tests/test_signal.py | 27 +++++++++++++++++++++++++++
502 5 files changed, 86 insertions(+), 7 deletions(-)
504 commit 09161ff690ad37c94668d5d65191f4d84829d41f
505 Author: Simon Feltman <sfeltman@src.gnome.org>
506 Date: Sun Sep 7 15:53:35 2014 -0700
508 Limit foreign struct checks to GI_INFO_TYPE_STRUCT
510 Add struct type check before calling g_struct_info_is_foreign().
512 https://bugzilla.gnome.org/show_bug.cgi?id=736175
514 gi/pygi-argument.c | 11 ++++++++---
515 gi/pygi-struct-marshal.c | 7 +++++--
516 2 files changed, 13 insertions(+), 5 deletions(-)
518 commit 4ebb1f5a4750712bd919a31103ed8c8d6af483b3
519 Author: Simon Feltman <sfeltman@src.gnome.org>
520 Date: Sat Sep 6 15:16:06 2014 -0700
522 tests: Add failing regression test for Gtk.TextBuffer.insert-text
525 https://bugzilla.gnome.org/show_bug.cgi?id=736175
527 tests/test_overrides_gtk.py | 19 +++++++++++++++++++
528 1 file changed, 19 insertions(+)
530 commit 2f355dc4e9724f25c200d30db1c8fbc4695f9ab7
531 Author: Simon Feltman <sfeltman@src.gnome.org>
532 Date: Mon Sep 1 17:36:46 2014 -0700
534 configure.ac: post release version bump to 3.13.92
537 1 file changed, 1 insertion(+), 1 deletion(-)
539 commit 68d34721a21bfac1a43252bd92612c2460ea60dd
540 Author: Simon Feltman <sfeltman@src.gnome.org>
541 Date: Mon Sep 1 17:31:39 2014 -0700
545 NEWS | 15 +++++++++++++++
546 1 file changed, 15 insertions(+)
548 commit 8c6cf22d74075b7169512b9e7773a511abb9b759
549 Author: Simon Feltman <sfeltman@src.gnome.org>
550 Date: Mon Sep 1 16:48:15 2014 -0700
552 docs: Skip "Constructors" header for anonymous structs
554 Structs which don't have a size or constructor should not procuce
556 string. The trailing "::" was causing a problem with sphinx.
558 gi/docstring.py | 8 ++++++--
559 tests/test_docstring.py | 3 ++-
560 2 files changed, 8 insertions(+), 3 deletions(-)
562 commit c1ea60be30ebf11c2e5415180305e4ac3c573f57
563 Author: Simon Feltman <sfeltman@src.gnome.org>
564 Date: Mon Sep 1 15:21:04 2014 -0700
566 docs: Fix error when using may_return_null()
568 Fix error with an untested code path opened up by commit 1f78dc0ace.
570 gi/docstring.py | 3 ++-
571 tests/test_docstring.py | 4 ++++
572 2 files changed, 6 insertions(+), 1 deletion(-)
574 commit 1f78dc0ace5282def9f1f700bfe4523de07e7549
575 Author: Simon Feltman <sfeltman@src.gnome.org>
576 Date: Fri Aug 29 16:49:14 2014 -0700
578 docs: Fix function doc string generator return types
580 Change skip_return() access into a function call. This was causing
581 return type doc strings to always be skipped.
583 gi/docstring.py | 2 +-
584 tests/test_docstring.py | 8 ++++++--
585 2 files changed, 7 insertions(+), 3 deletions(-)
587 commit 28d0337f0e3d4b0e9c4350ce5d6cf0cb68da843f
588 Author: Simon Feltman <sfeltman@src.gnome.org>
589 Date: Fri Aug 29 14:18:28 2014 -0700
591 Special case signal output arguments which are structs as
594 Add a special case which avoids copying of struct arguments marked
596 to signals. Since we don't currently support output arguments,
598 come to rely on a pass-by-reference bug which was fixed and caused
600 regress (bug 722899). Add unittest which is currently failing due
602 of issues with emit() not supporting type annotations or output
606 https://bugzilla.gnome.org/show_bug.cgi?id=735486
608 gi/pygi-signal-closure.c | 41
609 +++++++++++++++++++++++++++++++++++------
610 tests/test_overrides_gtk.py | 24 ++++++++++++++++++++++++
611 2 files changed, 59 insertions(+), 6 deletions(-)
613 commit 16f8f687eae0caa1e4059fd62bd1f9d4c7f655f7
614 Author: Simon Feltman <sfeltman@src.gnome.org>
615 Date: Wed Aug 27 23:55:06 2014 -0700
617 Ignore closure callbacks when Python is not initialized
619 Add an immediate return in ffi closures if Python is not initialized.
620 This fixes rare events when which lead to a segfault when a process
623 https://bugzilla.gnome.org/show_bug.cgi?id=722562
625 gi/pygi-closure.c | 7 +++++++
626 1 file changed, 7 insertions(+)
628 commit 27a14679dce33f64bbb5d77677eba83849f168ff
629 Author: Christoph Reiter <reiter.christoph@gmail.com>
630 Date: Fri Aug 22 21:51:31 2014 -0700
632 Change boxed init with args to warn instead of raise
634 Replace raising a TypeError in gi.types.Boxed() with a warning.
635 Even though passing arguments or keywords to the parent class is
636 incorrect here, raising an exception was causing a bit of fallout
637 in some apps (Gramps).
639 https://bugzilla.gnome.org/show_bug.cgi?id=727810
641 gi/pygi-boxed.c | 5 ++++-
642 tests/test_gi.py | 13 +++++++++++--
643 2 files changed, 15 insertions(+), 3 deletions(-)
645 commit 6008748bd7ecc6e5c933e6902c77d8485b905a6f
646 Author: Simon Feltman <sfeltman@src.gnome.org>
647 Date: Fri Aug 22 02:16:10 2014 -0700
649 tests: Add test for GLib.spawn_async_with_pipes()
651 https://bugzilla.gnome.org/show_bug.cgi?id=735213
653 tests/test_signal.py | 2 +-
654 tests/test_subprocess.py | 17 +++++++++++++++++
655 2 files changed, 18 insertions(+), 1 deletion(-)
657 commit 983276fb1cbc261d062ef93ba2266d08a5a6f423
658 Author: Simon Feltman <sfeltman@src.gnome.org>
659 Date: Thu Aug 21 17:16:31 2014 -0700
661 Revert "Replace statically bound GLib.Variant.new_tuple() with GI"
663 This was accidentally pushed.
664 Revert commit 35c6540c42a01e1155f44533cc09e6c9f94b6613.
666 gi/gimodule.c | 39 +++++++++++++++++++++++++++++++++++++++
667 gi/overrides/GLib.py | 12 +++++++-----
668 2 files changed, 46 insertions(+), 5 deletions(-)
670 commit b7a4e68a224ab66f67e45667023f74dd743e6177
671 Author: Christoph Reiter <reiter.christoph@gmail.com>
672 Date: Fri Aug 22 01:04:40 2014 +0200
674 Fix crash in GList/GSList marshaling error handling path.
676 In case PySequence_GetItem() failed, the retured NULL was passed
679 https://bugzilla.gnome.org/show_bug.cgi?id=735201
681 gi/pygi-list.c | 4 ++--
682 tests/test_gi.py | 16 ++++++++++++++++
683 2 files changed, 18 insertions(+), 2 deletions(-)
685 commit 35c6540c42a01e1155f44533cc09e6c9f94b6613
686 Author: Simon Feltman <sfeltman@src.gnome.org>
687 Date: Thu Aug 21 15:11:39 2014 -0700
689 Replace statically bound GLib.Variant.new_tuple() with GI
691 Remove the static implementation of _wrap_pyg_variant_new_tuple with
692 usage of the dynamic version coming from GI. Array marshalling has
693 drastically improved in recent years making the dynamic version usable
694 with a small compatibility shim for the arguments.
696 https://bugzilla.gnome.org/show_bug.cgi?id=735199
698 gi/gimodule.c | 39 ---------------------------------------
699 gi/overrides/GLib.py | 12 +++++-------
700 2 files changed, 5 insertions(+), 46 deletions(-)
702 commit c1d387540a0b2db66e860c574b070051a5431914
703 Author: Simon Feltman <sfeltman@src.gnome.org>
704 Date: Thu Aug 21 14:37:14 2014 -0700
706 Fix reference counting problems with GLib.Variant.new_tuple()
708 Always sink the results of g_variant_new_tuple() in the statically
709 bound wrapper. This matches the generic GI marshalling behavior
710 of passing GVariants to Python with transfer-none.
712 https://bugzilla.gnome.org/show_bug.cgi?id=735166
715 tests/test_overrides_glib.py | 7 +++++++
716 2 files changed, 8 insertions(+)
718 commit 9ce261f27742ba200f70003f162291a375d244d3
719 Author: Simon Feltman <sfeltman@src.gnome.org>
720 Date: Tue Aug 19 14:57:31 2014 -0700
722 configure.ac: Fix darwin builds
724 Merge platform_win32 and os_win32 variables/case statements and
725 define "link_python_libs" for win32 as well as darwin.
727 https://bugzilla.gnome.org/show_bug.cgi?id=735068
729 configure.ac | 30 +++++++++++-------------------
730 1 file changed, 11 insertions(+), 19 deletions(-)
732 commit 92f0d6ebf9b67729d8253e15fce77b0ad0375573
733 Author: Simon Feltman <sfeltman@src.gnome.org>
734 Date: Wed Aug 20 13:39:31 2014 -0700
736 Skip marshalling NULL output arguments in Python closures
738 Skip marshalling optional output arguments which are passed NULL
739 as the memory location. This fixes fallout from bug 727004.
741 https://bugzilla.gnome.org/show_bug.cgi?id=735090
743 gi/pygi-closure.c | 3 ++-
744 1 file changed, 2 insertions(+), 1 deletion(-)
746 commit d7e30c3cacf3cdd550e4dbfe2fa47aea1ae28147
747 Author: Simon Feltman <sfeltman@src.gnome.org>
748 Date: Mon Aug 18 19:10:36 2014 -0700
750 configure.ac: post release version bump to 3.13.91
753 1 file changed, 1 insertion(+), 1 deletion(-)
755 commit 17ba19c2e9b91a1bb8b03fabd4100d436c96975d
756 Author: Simon Feltman <sfeltman@src.gnome.org>
757 Date: Mon Aug 18 19:07:10 2014 -0700
761 NEWS | 15 +++++++++++++++
762 1 file changed, 15 insertions(+)
764 commit 6bcfaf6e1e2331b704dd6067d45d6840e87632a2
765 Author: Simon Feltman <sfeltman@src.gnome.org>
766 Date: Mon Aug 18 18:57:28 2014 -0700
768 configure.ac: pre release version bump to 3.13.90
771 1 file changed, 1 insertion(+), 1 deletion(-)
773 commit 3b5b590599ca98cc51871878618cd59fc05212d1
774 Author: Simon Feltman <sfeltman@src.gnome.org>
775 Date: Mon Aug 18 02:33:54 2014 -0700
777 gtk-demo: Don't use deprecated constructor for Gtk.Label
779 demos/gtk-demo/demos/pickers.py | 2 +-
780 1 file changed, 1 insertion(+), 1 deletion(-)
782 commit 5b82051d23f8d759b6fa57a4e9327e300568c89f
783 Author: Simon Feltman <sfeltman@src.gnome.org>
784 Date: Sat Aug 9 02:30:43 2014 -0700
786 Fast path Python Property getter when accessed through GObject
789 Break do_get_property() call into a re-usable function.
790 Call do_get_property() Python implementations instead of going
792 machinery for Python GObjects. This gives a performance boost
794 GObject properties when accessed via. obj.get_property() and
797 https://bugzilla.gnome.org/show_bug.cgi?id=723872
799 gi/gobjectmodule.c | 11 ++++-------
800 gi/pygi-property.c | 35 +++++++++++++++++++++++++++--------
801 gi/pygi-property.h | 3 +++
802 3 files changed, 34 insertions(+), 15 deletions(-)
804 commit 0a99f878e40c8d683157dea69c3c9ac40d13d734
805 Author: Simon Feltman <sfeltman@src.gnome.org>
806 Date: Sat Aug 9 02:10:11 2014 -0700
808 Fast path Python Property getter when accessing descriptor directly
810 Call the Python implemented fget() when a property is accessed
812 on a Python implemented GObject. This skips going through the GObject
813 machinery which ends up calling fget() and marshalling the results
816 https://bugzilla.gnome.org/show_bug.cgi?id=723872
818 gi/_propertyhelper.py | 19 +++++++++++++++----
819 1 file changed, 15 insertions(+), 4 deletions(-)
821 commit 74722386192ad27aac8855d4603d8120af82c98e
822 Author: Simon Feltman <sfeltman@src.gnome.org>
823 Date: Mon Aug 18 02:05:58 2014 -0700
825 Don't use GI type for determining pointer extraction from GValues
827 Replace usage of g_type_is_a() with G_VALUE_HOLDS() when extracting
828 pointers from GValues being marshalled from properties and signals.
829 This fixes fallout from commit abdfb0f.
831 gi/pygi-value.c | 10 ++++------
832 1 file changed, 4 insertions(+), 6 deletions(-)
834 commit 2601011e9eb3b5f391161313ed568e5c4b67c99a
835 Author: Simon Feltman <sfeltman@src.gnome.org>
836 Date: Fri Aug 8 23:58:17 2014 -0700
838 Fast path property access for basic types
840 Attempt marshalling with pygi_value_to_py_basic_type() prior to
842 GI info. This gives a quick conversion for basic types like bools,
844 strings without having to go through GIArgument and GI
846 gives approximately a 3x performance boost for accessing these
848 the unified GValue marshaller.
850 https://bugzilla.gnome.org/show_bug.cgi?id=726999
852 gi/pygi-property.c | 9 +++++++++
853 gi/pygi-value.c | 26 ++++++++++++++++++--------
854 2 files changed, 27 insertions(+), 8 deletions(-)
856 commit 8f4b06f700ed79df32774fad8e2a2a922bfbfbe5
857 Author: Simon Feltman <sfeltman@src.gnome.org>
858 Date: Fri Aug 8 16:31:01 2014 -0700
860 Break pyg_value_as_pyobject into two functions
862 Add pygi_value_to_py_basic_type() which is limited to handling basic
863 types that don't need introspection information when marshalling
865 Add pygi_value_to_py_structured_type() for marshalling of structured
867 which can eventually accept GI type hints.
869 https://bugzilla.gnome.org/show_bug.cgi?id=726999
872 +++++++++++++++++++++++++++++++++++++++++++++++----------
873 gi/pygi-value.h | 6 +++++
874 2 files changed, 68 insertions(+), 12 deletions(-)
876 commit b0236d6fde137e0b2ecf7f5556ad5d53c22874bc
877 Author: Simon Feltman <sfeltman@src.gnome.org>
878 Date: Fri Aug 8 20:55:28 2014 -0700
880 Unify property getters
882 Consolidate duplicate logic into pygi_get_property_value().
883 Use the function for GObject.get_property(), GObject.get_properties(),
885 Remove overridden expected failures in TestCGetPropertyMethod which
886 now work due to the unification.
888 https://bugzilla.gnome.org/show_bug.cgi?id=733893
889 https://bugzilla.gnome.org/show_bug.cgi?id=726999
891 gi/pygi-property.c | 85 +++++++++++++++++++++++++++++-------------
892 gi/pygi-property.h | 4 ++
894 +++++++-----------------------------------------
895 tests/test_properties.py | 38 -------------------
896 4 files changed, 77 insertions(+), 147 deletions(-)
898 commit abdfb0fa3f72f9bf822c472d16c90d6b1871610b
899 Author: Simon Feltman <sfeltman@src.gnome.org>
900 Date: Mon Jul 28 19:09:30 2014 -0700
902 Merge pygi_get_property_value and _pygi_argument_from_g_value
904 Merge duplicated GValue marshaling code which has diverged over time
905 (commits 3606eb20, ee62df4d, e14ebab6, 8cfd596c, 9f50fd21, 0d099bdb,
907 Use _pygi_argument_to_array within pygi_get_property_value. This
909 in the new code for supporting GI_TYPE_TAG_ARRAY and also fixes
911 Side effects of this change also include support for properties
913 G_TYPE_FLAGS and G_TYPE_PARAM.
915 https://bugzilla.gnome.org/show_bug.cgi?id=726999
917 gi/pygi-property.c | 140
918 +++++------------------------------------------------
919 gi/pygi-value.c | 24 ++++++---
920 2 files changed, 28 insertions(+), 136 deletions(-)
922 commit 142ff1903d34876db3d1bee5e9782ac49de12313
923 Author: Simon Feltman <sfeltman@src.gnome.org>
924 Date: Mon Jul 28 04:40:36 2014 -0700
926 Never dup data structures when marshaling signal in arguments
928 Always assume transfer-none of GValue arguments to signal handlers.
929 A signal handler with arguments marked as transfer-full does not
930 make any sense, so assume they are always transfer-none.
932 https://bugzilla.gnome.org/show_bug.cgi?id=726999
934 gi/pygi-signal-closure.c | 4 +---
935 gi/pygi-value.c | 4 +++-
936 2 files changed, 4 insertions(+), 4 deletions(-)
938 commit 04816f74194bd2c95b8b958dcf9ed5da5a83e001
939 Author: Simon Feltman <sfeltman@src.gnome.org>
940 Date: Mon Jul 28 04:23:39 2014 -0700
942 Never dup data structures when marshaling from g_object_get_property()
944 Always use transfer-none with the results of g_object_get_property()
945 and assume g_value_unset() will cleanup the results. This gives us
946 control over memory of properties and limits property anotations to
949 https://bugzilla.gnome.org/show_bug.cgi?id=726999
951 gi/pygi-property.c | 24 +++++++-----------------
952 1 file changed, 7 insertions(+), 17 deletions(-)
954 commit 85175047e66dfc0c0263eac91d8056a95d0a60a0
955 Author: Simon Feltman <sfeltman@src.gnome.org>
956 Date: Tue Jul 29 19:29:28 2014 -0700
958 Refactor boxed wrapper memory management strategy
960 Change pygi_boxed_new() to accept "copy_boxed" instead of
962 This changes memory management so the PyGIBoxed wrapper owns the boxed
963 pointer given to it. Use __del__ instead of dealloc for freeing
965 memory. This is needed for edge cases where objects like GSource can
966 trigger the finalized callback during de-alloc, resulting in the
968 references counts being manipulated and triggering a re-entrant
970 Add hack to keep Gtk.TreeIter.do_iter_next/previous implementations
972 which rely on pass-by-reference.
973 See also: https://bugzilla.gnome.org/show_bug.cgi?id=734465
975 https://bugzilla.gnome.org/show_bug.cgi?id=722899
977 https://bugzilla.gnome.org/show_bug.cgi?id=726999
979 gi/gimodule.c | 6 +++-
980 gi/overrides/GLib.py | 4 ---
981 gi/overrides/GObject.py | 3 ++
982 gi/pygi-boxed.c | 54 +++++++++++++++++++++++++-------
983 gi/pygi-boxed.h | 4 +--
984 gi/pygi-source.c | 6 ++--
985 gi/pygi-struct-marshal.c | 81
986 +++++++++++++++++++++++++++++++++++++++++++++---
987 tests/test_gi.py | 1 -
988 tests/test_source.py | 8 +++--
989 9 files changed, 140 insertions(+), 27 deletions(-)
991 commit 62aed0977090f7099a5e538209f7c680ea22fe12
992 Author: Simon Feltman <sfeltman@src.gnome.org>
993 Date: Sun Aug 17 19:04:51 2014 -0700
995 Replace GObject.signal_query with introspected version
997 Remove the static bindings for GObject.signal_query and replace with a
998 Python compatibility shim which utilizes the introspection exposed
1002 https://bugzilla.gnome.org/show_bug.cgi?id=688792
1004 gi/gobjectmodule.c | 89
1005 -------------------------------------------------
1006 gi/overrides/GObject.py | 39 ++++++++++++----------
1007 2 files changed, 21 insertions(+), 107 deletions(-)
1009 commit 4e130d72a5492fc00c61a816eddccdbc4f558b91
1010 Author: Simon Feltman <sfeltman@src.gnome.org>
1011 Date: Sun Aug 17 19:03:32 2014 -0700
1013 Use array lengths specified on struct fields
1015 Add array length marshalling policy for struct fields. This fixes
1017 C array fields on structs which also specify a length field.
1019 https://bugzilla.gnome.org/show_bug.cgi?id=688792
1021 gi/pygi-argument.c | 14 ++++++-------
1022 gi/pygi-argument.h | 4 ++++
1024 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
1025 3 files changed, 68 insertions(+), 9 deletions(-)
1027 commit c55d029d2d67b5920e9467212e22b0ad58d3ded8
1028 Author: Simon Feltman <sfeltman@src.gnome.org>
1029 Date: Sun Aug 17 18:15:23 2014 -0700
1031 Refactor signal array length marshalling to support a length policy
1033 Replace passing arrays of data to non-caching array marshallers with
1035 closure that can be customized depending on context. In the case
1037 this is mostly scaffolding which will be replaced with caching
1039 However, it opens the legacy marshaller for usage with struct
1043 https://bugzilla.gnome.org/show_bug.cgi?id=688792
1045 gi/pygi-argument.c | 70
1046 ++++++++++++++++++++++++++++++++----------------
1047 gi/pygi-argument.h | 14 +++++++---
1048 gi/pygi-signal-closure.c | 8 ++++--
1049 3 files changed, 64 insertions(+), 28 deletions(-)
1051 commit 3270dad356c44f5fef7571a9f29b22e7c293fa2c
1052 Author: Simon Feltman <sfeltman@src.gnome.org>
1053 Date: Sun Aug 17 13:58:10 2014 -0700
1055 Remove dead code for marshalling array lengths in the context
1058 Remove usage of the args parameter from _pygi_argument_to_array. This
1060 longer used because array marshalling for vfuncs is now handled by
1064 https://bugzilla.gnome.org/show_bug.cgi?id=688792
1066 gi/pygi-argument.c | 24 +++++++++---------------
1067 1 file changed, 9 insertions(+), 15 deletions(-)
1069 commit 6046ca87697fe80c6c0eb70f1efcad24de4f4fd8
1070 Author: Simon Feltman <sfeltman@src.gnome.org>
1071 Date: Sun Aug 17 21:53:55 2014 -0700
1073 Fix memory leak with unboxed caller allocated structs
1075 Take caller-allocates into account when wrapping unboxed structures.
1076 This will free the allocated memory when the Python object is
1079 gi/pygi-struct-marshal.c | 2 +-
1080 1 file changed, 1 insertion(+), 1 deletion(-)
1082 commit c607f07f5ae3ca62ee3a2649f84330eaaa8801c6
1083 Author: Simon Feltman <sfeltman@src.gnome.org>
1084 Date: Sat Aug 16 22:34:29 2014 -0700
1086 tests: Add reference count test for signal connection arguments
1088 Add tests for ensuring reference counts are what we expect for
1089 connect() callback, user_data, and swap object (currently broken
1092 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1094 tests/test_signal.py | 133
1095 +++++++++++++++++++++++++++++++++++++++++++++++++++
1096 1 file changed, 133 insertions(+)
1098 commit 7076669aadfc5227144df87277d69ae66865770a
1099 Author: Tobias Mueller <gnome-bugs@muelli.cryptobitch.de>
1100 Date: Sat Aug 16 17:46:50 2014 -0700
1102 Don't mask GObject sub-class doc strings in meta-class
1104 If a class has a __doc__ attribute explicitly set, always return it.
1105 Only generate doc strings for classes coming from gi.repository
1108 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
1110 https://bugzilla.gnome.org/show_bug.cgi?id=731452
1112 https://bugzilla.gnome.org/show_bug.cgi?id=734926
1114 gi/types.py | 12 +++++++++++-
1115 tests/test_docstring.py | 2 --
1116 2 files changed, 11 insertions(+), 3 deletions(-)
1118 commit 4cdca4328da7442be247e775294fc676cf677bb7
1119 Author: Piotr Iwaniuk <piwaniuk@poczta.onet.pl>
1120 Date: Sat Aug 16 15:06:40 2014 -0700
1122 tests: Add failing tests for GObject sub-class doc-strings
1124 Add tests for sub-class docstrings set with either doc-string
1125 syntax and by setting the __doc__ attribute directly.
1127 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
1129 https://bugzilla.gnome.org/show_bug.cgi?id=731452
1131 tests/test_docstring.py | 39 +++++++++++++++++++++++++++++++++++++++
1132 1 file changed, 39 insertions(+)
1134 commit 9328a6721909322f0e1444e5285ae1b7b5bf1e3c
1135 Author: Simon Feltman <sfeltman@src.gnome.org>
1136 Date: Thu Aug 14 22:47:14 2014 -0700
1138 configure.ac: post release version bump to 3.13.5
1141 1 file changed, 1 insertion(+), 1 deletion(-)
1143 commit 49fd1662623f6dbb6af16b9fbfc0fb57707a7eee
1144 Author: Simon Feltman <sfeltman@src.gnome.org>
1145 Date: Thu Aug 14 22:42:27 2014 -0700
1149 NEWS | 22 ++++++++++++++++++++++
1150 1 file changed, 22 insertions(+)
1152 commit 0d2e797812ab4e1a745ef97559104691dbb6b824
1153 Author: Simon Feltman <sfeltman@src.gnome.org>
1154 Date: Thu Aug 14 18:33:06 2014 -0700
1156 Fix invalid unref after getting callable container
1158 Don't unref the results of g_base_info_get_container() because it is
1159 transfer-none. This was causing an attempted unref on an invalid
1161 when setting up callback caches for signals.
1163 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1165 gi/pygi-cache.c | 2 --
1166 1 file changed, 2 deletions(-)
1168 commit 654c28faffc8d956bd31987adca092fa014cc897
1169 Author: Simon Feltman <sfeltman@src.gnome.org>
1170 Date: Thu Aug 14 21:31:33 2014 -0700
1172 tests: Silence valgrindlog and valgrindxml output from forked procs
1174 This is needed to properly diff valgrind runs between commits.
1176 tests/Makefile.am | 4 ++--
1177 1 file changed, 2 insertions(+), 2 deletions(-)
1179 commit 57070585a5d5dbc5f42d6fa6d2c309b36f38dfdc
1180 Author: Simon Feltman <sfeltman@src.gnome.org>
1181 Date: Wed Aug 13 10:27:01 2014 -0700
1183 Remove ffi wrapped destroy notify used for closure cleanup
1185 Remove global ffi wrapper for _pygi_invoke_closure_free() and
1187 a pointer to _pygi_invoke_closure_free() directly. There is no need
1189 a known single use function with an ffi closure. Originally
1191 commit 610dd1eec87f.
1193 gi/pygi-closure.c | 49 +------------------------------------------------
1194 1 file changed, 1 insertion(+), 48 deletions(-)
1196 commit 3f9b5f890ad1292f12eba1e545084de80b76dab7
1197 Author: Simon Feltman <sfeltman@src.gnome.org>
1198 Date: Tue Aug 12 22:19:24 2014 -0700
1200 tests: Update tests for static binding protection to check
1203 tests/test_import_machinery.py | 10 +++++-----
1204 1 file changed, 5 insertions(+), 5 deletions(-)
1206 commit e674340db90c29c556b45e0a8f8b2da72661b738
1207 Author: Simon Feltman <sfeltman@src.gnome.org>
1208 Date: Mon Aug 11 23:12:38 2014 -0700
1210 Use AttributeError for static binding protection
1212 Replace usage of RuntimeError with AttributeError in the dummy module
1213 protecting importing of static bindings. This is needed so we
1215 modules like inspect which is used by ipython.
1217 gi/__init__.py | 2 +-
1218 1 file changed, 1 insertion(+), 1 deletion(-)
1220 commit 86fb12b3e9b7558000d100f8f212e970ae8c4fd2
1221 Author: Simon Feltman <sfeltman@src.gnome.org>
1222 Date: Mon Aug 11 22:47:14 2014 -0700
1224 Add deprecation warning for connect_object() with non-GObject argument
1226 GObject.connect_object() accepts any Python object and holds a strong
1227 reference to it in the closure defeating the purpose of
1229 Add a warning so we can eventually limit connect_object() to GObject
1231 use the underlying g_signal_connect_object() which holds a weak
1234 https://bugzilla.gnome.org/show_bug.cgi?id=688064
1236 gi/pygobject.c | 9 +++++++++
1237 1 file changed, 9 insertions(+)
1239 commit 9c54bb9defb681316841158cc63df0b0b85c12f0
1240 Author: Simon Feltman <sfeltman@src.gnome.org>
1241 Date: Mon Aug 11 22:39:13 2014 -0700
1243 tests: Add tests for connect_object()
1245 Add tests for both introspected and non-introspected signals
1247 of connect_object() and connect_object_after() in combination
1249 and Python object swap data.
1251 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1253 tests/test_signal.py | 139
1254 +++++++++++++++++++++++++++++++++++++++++++--------
1255 1 file changed, 117 insertions(+), 22 deletions(-)
1257 commit 581acc4c56be127b3a724df504bb46a40959fdd9
1258 Author: Simon Feltman <sfeltman@src.gnome.org>
1259 Date: Mon Aug 11 21:21:42 2014 -0700
1261 Add Python implementation of Object.connect_data()
1263 Add GObject.Object.connect_data() which takes an optional
1265 keyword argument accepting GObject.ConnectFlags enum values. This is
1266 for supporting user data swapping (ConnectFlags.SWAPPED).
1268 https://bugzilla.gnome.org/show_bug.cgi?id=701843
1270 gi/overrides/GObject.py | 37 ++++++++++++++++
1271 tests/test_signal.py | 109
1272 ++++++++++++++++++++++++++++++++++++++++++++++++
1273 2 files changed, 146 insertions(+)
1275 commit b1caef95c4b68b65f3f159563162afde5a0b0939
1276 Author: Simon Feltman <sfeltman@src.gnome.org>
1277 Date: Sat Aug 9 02:14:23 2014 -0700
1279 tests: Add failing tests which verify exceptions raised in property
1282 https://bugzilla.gnome.org/show_bug.cgi?id=575652
1284 tests/test_properties.py | 17 +++++++++++++++++
1285 1 file changed, 17 insertions(+)
1287 commit 19cdbee5a89009da0eb366b9c698a860a7aa92b8
1288 Author: Garrett Regier <Garrett.Regier@riftio.com>
1289 Date: Fri Aug 8 10:08:23 2014 -0400
1291 Cleanup input args when marshaling in closures
1293 The cleanup must happen before setting the out args otherwise
1294 the args that cleanup would free are the just set args, not the
1297 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1299 gi/pygi-closure.c | 2 +-
1300 1 file changed, 1 insertion(+), 1 deletion(-)
1302 commit 7742fab42de5b1f4f8161237fc3cef91fd98791c
1303 Author: Simon Feltman <sfeltman@src.gnome.org>
1304 Date: Fri Aug 8 02:47:11 2014 -0700
1306 tests: Fix Python 2 build for newly added test_array_parm()
1308 Use @unittest.skip() with a string argument as required by Python 2.
1310 tests/test_signal.py | 2 +-
1311 1 file changed, 1 insertion(+), 1 deletion(-)
1313 commit 3165c17a455652de9a61439428fa40f30120dc6a
1314 Author: Simon Feltman <sfeltman@src.gnome.org>
1315 Date: Fri Aug 8 02:46:26 2014 -0700
1317 Remove incorrect and unused casts from tp_free calls
1319 Arguments to Py_TYPE() do not need to be cast since the macro
1321 to a PyObject* internall.
1323 gi/pygi-boxed.c | 2 +-
1324 gi/pygi-ccallback.c | 2 +-
1325 gi/pygi-info.c | 2 +-
1326 gi/pygi-struct.c | 2 +-
1327 4 files changed, 4 insertions(+), 4 deletions(-)
1329 commit 74dfec27c6008968cc66a13792dfb02b29c231b6
1330 Author: Simon Feltman <sfeltman@src.gnome.org>
1331 Date: Fri Aug 8 02:33:51 2014 -0700
1333 Fix GCallback Python wrapper leak
1335 The PyObject wrapper for GCallbacks was not calling tp_free in
1337 tp_dealloc class method.
1339 https://bugzilla.gnome.org/show_bug.cgi?id=695130
1341 gi/pygi-ccallback.c | 2 ++
1342 1 file changed, 2 insertions(+)
1344 commit dcf9111a86e01d66943909a0c9f21a181ccc38a6
1345 Author: Martin Pitt <martinpitt@gnome.org>
1346 Date: Fri Aug 8 01:55:21 2014 -0700
1348 tests: Add failing test for marshalling an array of GValues through
1351 https://bugzilla.gnome.org/show_bug.cgi?id=669496
1353 tests/test_signal.py | 12 ++++++++++++
1354 1 file changed, 12 insertions(+)
1356 commit d689d24f271c30612c6a86b5c51d50a1179aedad
1357 Author: Simon Feltman <sfeltman@src.gnome.org>
1358 Date: Thu Aug 7 17:52:35 2014 -0700
1360 tests: Add tests for GApplication local command line handling
1362 Add various tests which override Gio.Appliction.do_command_line and
1363 do_local_command_line.
1365 https://bugzilla.gnome.org/show_bug.cgi?id=690851
1367 tests/test_gio.py | 65
1368 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1369 1 file changed, 65 insertions(+)
1371 commit 59c257ebc47fa725750344dd50dd8eb522536d3c
1372 Author: Garrett Regier <Garrett.Regier@riftio.com>
1373 Date: Thu Aug 7 12:25:59 2014 -0400
1375 Add test for a callback with an inout array
1377 This was broken until the closures used the caches for marshaling.
1379 https://bugzilla.gnome.org/show_bug.cgi?id=702508
1381 tests/test_everything.py | 19 +++++++++++++++++++
1382 1 file changed, 19 insertions(+)
1384 commit 9d0c43b2b9f92fff4249e4eb296f00ea73b15af3
1385 Author: Garrett Regier <Garrett.Regier@riftio.com>
1386 Date: Thu Aug 7 12:06:30 2014 -0400
1388 Fix raising an error in a constructor
1390 It should raise a Python exception instead of warnings about
1391 a constructor returning NULL.
1393 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1395 gi/pygi-cache.c | 6 +++---
1396 tests/test_gi.py | 6 ++++++
1397 2 files changed, 9 insertions(+), 3 deletions(-)
1399 commit d7b9ef0f5411ebcbb2597c16b221fd3482c535e4
1400 Author: Garrett Regier <Garrett.Regier@riftio.com>
1401 Date: Wed Aug 6 15:30:58 2014 -0400
1403 Use the caches for marshaling the arguments in closures
1405 Changes to object marshaling when the calling context is from
1406 C was required to correctly keep the correct floating status.
1408 The array cache has been modified to set to/from_py_marshaller
1409 for the length arg cache. This is required for closures which include
1410 the length arg for backwards compatibility. The closure cache takes
1411 care to change the length arg cache's meta type so it gets marshalled
1414 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1416 gi/pygi-array.c | 5 +-
1417 gi/pygi-basictype.c | 4 +-
1418 gi/pygi-basictype.h | 36 +++--
1419 gi/pygi-cache.c | 30 +++-
1420 gi/pygi-closure.c | 403
1421 ++++++++++++++++++++++++++++------------------------
1422 gi/pygi-invoke.c | 3 +-
1423 6 files changed, 271 insertions(+), 210 deletions(-)
1425 commit 9337acf98d783777c94d4bcb912a185ba6791efb
1426 Author: Garrett Regier <Garrett.Regier@riftio.com>
1427 Date: Wed Aug 6 12:14:27 2014 -0400
1429 Specialize GObject marshaling when called from C
1431 These are needed otherwise the floating status of
1432 the GObject will not be kept.
1434 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1436 gi/pygi-object.c | 86
1437 +++++++++++++++++++++++++++++++++++++++++++++++---------
1438 1 file changed, 72 insertions(+), 14 deletions(-)
1440 commit cf295f636b6324a46abbaf329cd6d92c04155d9d
1441 Author: Garrett Regier <Garrett.Regier@riftio.com>
1442 Date: Wed Aug 6 11:59:09 2014 -0400
1444 Move special handling of GObject from Python when calling from C
1446 This will soon be used in the GObject arg cache marshaling when
1447 the calling context is C.
1449 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1451 gi/pygi-argument.c | 21 +--------------------
1452 gi/pygi-object.c | 30 ++++++++++++++++++++++++++++++
1453 gi/pygi-object.h | 5 +++++
1454 3 files changed, 36 insertions(+), 20 deletions(-)
1456 commit 0d09234ea0399d756ee3fb0d358fab5b0a145657
1457 Author: Garrett Regier <Garrett.Regier@riftio.com>
1458 Date: Wed Aug 6 11:53:39 2014 -0400
1460 Always pass along the callable cache to the arg cache constructors
1462 This will be needed in a future patch which requires that the callable
1463 cache is always available.
1465 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1467 gi/pygi-array.c | 20 ++++++++++++--------
1468 gi/pygi-array.h | 9 +++++----
1469 gi/pygi-cache.c | 34 ++++++++++++++++++++--------------
1470 gi/pygi-cache.h | 7 ++++---
1471 gi/pygi-hashtable.c | 31 +++++++++++++++++--------------
1472 gi/pygi-hashtable.h | 9 +++++----
1473 gi/pygi-list.c | 30 +++++++++++++++++++-----------
1474 gi/pygi-list.h | 9 +++++----
1475 gi/pygi-object.c | 25 ++++++++++++++-----------
1476 gi/pygi-object.h | 3 ++-
1477 10 files changed, 103 insertions(+), 74 deletions(-)
1479 commit 203fef99205ce0c46b1530b0d480021ee8b8e325
1480 Author: Garrett Regier <Garrett.Regier@riftio.com>
1481 Date: Tue Aug 5 10:42:46 2014 -0400
1483 Set the correct meta type for GErrors when marshaling to Python
1485 Otherwise we do not pass the GError into python callbacks and
1486 we also want to convert these into Python Exceptions.
1488 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1490 gi/pygi-error.c | 2 +-
1491 1 file changed, 1 insertion(+), 1 deletion(-)
1493 commit 2e92809258d04e91c9d22f2fc0de09db2e60c962
1494 Author: Garrett Regier <Garrett.Regier@riftio.com>
1495 Date: Tue Aug 5 10:37:58 2014 -0400
1497 Pass the GIArgument to the closure assign functions
1499 This will be required once we use the caches for marshaling.
1501 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1503 gi/pygi-closure.c | 102
1504 ++++++++++++++++++++++++++----------------------------
1505 1 file changed, 50 insertions(+), 52 deletions(-)
1507 commit ca3579db14df278923674c294d07481a7255510f
1508 Author: Garrett Regier <Garrett.Regier@riftio.com>
1509 Date: Tue Aug 5 10:25:40 2014 -0400
1511 Use the caches for closures, but not yet for marshaling the arguments
1513 Instead of using the various GI functions we use the data from
1515 This also fixes generating an arg cache for a closure as it was
1517 data or simply setting incorrect data. Also, always included the
1519 until the closures no longer need it for marshaling the arguments.
1521 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1523 gi/pygi-cache.c | 33 +++++++-
1524 gi/pygi-cache.h | 4 +
1525 gi/pygi-closure.c | 245
1526 +++++++++++++++++++++++++-----------------------------
1527 gi/pygi-closure.h | 2 +
1528 4 files changed, 150 insertions(+), 134 deletions(-)
1530 commit 6a21dab89b59db0afc6d6a22272028ee949b52ad
1531 Author: Garrett Regier <Garrett.Regier@riftio.com>
1532 Date: Tue Aug 5 10:16:45 2014 -0400
1534 Correctly set the destroy notify for callbacks in closures
1536 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1538 gi/pygi-closure.c | 2 +-
1539 1 file changed, 1 insertion(+), 1 deletion(-)
1541 commit e6d48b4eadbeb1014c4eb140317b579e69eb8d88
1542 Author: Garrett Regier <Garrett.Regier@riftio.com>
1543 Date: Fri Aug 1 11:40:08 2014 -0400
1545 Split the callable cache into the different types
1547 Instead of doing different things based on the various function types
1548 this adds vfuncs for generate_args_cache() and invoke() which are then
1549 specialized for the various function types. Also add a calling context
1550 to the callable cache which is then used to determine the direction
1551 when generating the arg caches.
1553 This is in preparation for adding closure caches.
1555 https://bugzilla.gnome.org/show_bug.cgi?id=727004
1557 gi/pygi-cache.c | 514
1558 +++++++++++++++++++++++++++++++-----------
1559 gi/pygi-cache.h | 96 +++++---
1560 gi/pygi-ccallback.c | 16 +-
1561 gi/pygi-info.c | 3 +-
1562 gi/pygi-invoke-state-struct.h | 2 -
1563 gi/pygi-invoke.c | 244 ++++++++------------
1564 gi/pygi-invoke.h | 4 +
1566 8 files changed, 564 insertions(+), 317 deletions(-)
1568 commit 18341f27a5a9770d8caf3192a75737ab2bc06b1e
1569 Author: Ignacio Casal Quinteiro <icq@gnome.org>
1570 Date: Wed Aug 6 08:27:43 2014 +0200
1572 Generate .dll libraries on windows
1574 https://bugzilla.gnome.org/show_bug.cgi?id=734288
1576 configure.ac | 8 ++++++++
1577 tests/Makefile.am | 8 ++++----
1578 2 files changed, 12 insertions(+), 4 deletions(-)
1580 commit d70403357d6b510356dd375304fb97e458fd12b2
1581 Author: Simon Feltman <sfeltman@src.gnome.org>
1582 Date: Tue Aug 5 22:45:46 2014 -0700
1584 Add protection against attempts at importing static bindings
1586 Clobber gobject, gio, glib, gtk, and gtk.gdk in sys.modules upon
1588 gi with dummy modules which produce an error upon access.
1590 https://bugzilla.gnome.org/show_bug.cgi?id=709183
1592 gi/__init__.py | 25 ++++++++++++++++++++++---
1593 tests/test_import_machinery.py | 24 ++++++++++++++++++++++++
1594 2 files changed, 46 insertions(+), 3 deletions(-)
1596 commit 5ca4d25eac0efcc12b02fe53f379ee41e69bf1d2
1597 Author: Simon Feltman <sfeltman@src.gnome.org>
1598 Date: Tue Dec 31 16:15:04 2013 -0800
1600 Update and deprecate gi.overrides.keysyms
1602 Replace manually assigned keysyms with a dynamically generated version
1603 pulling names and values from Gdk via GI. Add a runtime warning when
1604 this module is imported.
1606 https://bugzilla.gnome.org/show_bug.cgi?id=721295
1608 gi/overrides/keysyms.py | 1490
1609 +-------------------------------------------
1610 pygtkcompat/pygtkcompat.py | 14 +-
1611 2 files changed, 27 insertions(+), 1477 deletions(-)
1613 commit 9eaeba9079c23d7e2837f62e8ed2b26c018351b6
1614 Author: Alexey Pavlov <alexpux@gmail.com>
1615 Date: Tue Aug 5 19:03:38 2014 -0700
1617 Use -no-undefined for building on Windows
1619 See LT_INIT([win32-dll]):
1620 http://www.gnu.org/software/libtool/manual/html_node/LT_005fINIT.html
1622 Additionally add PYTHON_LIBS to testhelper.la linking.
1624 https://bugzilla.gnome.org/show_bug.cgi?id=734284
1626 tests/Makefile.am | 6 +++---
1627 1 file changed, 3 insertions(+), 3 deletions(-)
1629 commit 5737a9ec4bf4d9d07a7e3994d91abf9077b342cc
1630 Author: Alexey Pavlov <alexpux@gmail.com>
1631 Date: Tue Aug 5 18:40:53 2014 -0700
1633 Use python-config for libs when available
1635 https://bugzilla.gnome.org/show_bug.cgi?id=734289
1637 m4/python.m4 | 7 ++++++-
1638 1 file changed, 6 insertions(+), 1 deletion(-)
1640 commit 093abb4ed052c768f51c90324c2e40063aa6b9b9
1641 Author: Alexey Pavlov <alexpux@gmail.com>
1642 Date: Tue Aug 5 18:20:25 2014 -0700
1644 Link gi.so with FFI_LIBS
1646 https://bugzilla.gnome.org/show_bug.cgi?id=734286
1648 gi/Makefile.am | 3 ++-
1649 1 file changed, 2 insertions(+), 1 deletion(-)
1651 commit 9df54d23a15b871fd71c994b97ffe847ff3b9eb5
1652 Author: Alexey Pavlov <alexpux@gmail.com>
1653 Date: Tue Aug 5 15:45:04 2014 +0200
1655 Include math headers also on mingw
1657 https://bugzilla.gnome.org/show_bug.cgi?id=734287
1659 gi/pygi-basictype.c | 2 --
1660 1 file changed, 2 deletions(-)
1662 commit 964ced98e03c704074d10cc362abfa14c00457ba
1663 Author: Garrett Regier <Garrett.Regier@riftio.com>
1664 Date: Thu Jul 31 10:16:47 2014 -0400
1666 Added args_offset to the cache instead of checking the function type
1668 gi/pygi-array.c | 6 ++----
1669 gi/pygi-cache.c | 6 +++---
1670 gi/pygi-cache.h | 3 +++
1671 gi/pygi-closure.c | 4 +---
1672 4 files changed, 9 insertions(+), 10 deletions(-)
1674 commit 9943d876059201cbee87f072a84234ed774ed932
1675 Author: Simon Feltman <sfeltman@src.gnome.org>
1676 Date: Thu Jul 31 21:51:00 2014 -0700
1678 doap: Update homepage URL and email address
1680 pygobject.doap | 4 ++--
1681 1 file changed, 2 insertions(+), 2 deletions(-)
1683 commit afef1020a43d91014c34ffcd5a5f66281f2e7cc9
1684 Author: Simon Feltman <sfeltman@src.gnome.org>
1685 Date: Thu Jul 31 21:46:37 2014 -0700
1687 Change maintainer in PKG-INFO to self
1689 PKG-INFO.in | 4 ++--
1690 1 file changed, 2 insertions(+), 2 deletions(-)
1692 commit 10c4d66574e35cc84bed3c3057b68ad98613d839
1693 Author: Andre Klapper <a9016009@gmx.de>
1694 Date: Thu Jul 31 21:28:12 2014 +0200
1696 doap: add <programming-language>
1698 pygobject.doap | 2 ++
1699 1 file changed, 2 insertions(+)
1701 commit f30001f2b01896577a2b4d956bc4658350e56b8d
1702 Author: Simon Feltman <sfeltman@src.gnome.org>
1703 Date: Wed Jul 30 00:29:01 2014 -0700
1705 Add GClosure marshalling cleanup
1707 Add marshalling cleanup for Python callables and boxed GClosures
1708 passed as arguments. Make sure the marshaller owns a reference
1709 until clean. Fix transfer everything case by adding a new reference.
1710 Remove unused header declaration: pygi_arg_gclosure_from_py_marshal
1712 https://bugzilla.gnome.org/show_bug.cgi?id=695128
1714 gi/pygi-struct-marshal.c | 46
1715 ++++++++++++++++++++++++++++++++++++++--------
1716 gi/pygi-struct-marshal.h | 4 ----
1717 2 files changed, 38 insertions(+), 12 deletions(-)
1719 commit cf4e830f1b613736ef9586562eb6c0b354165925
1720 Author: Simon Feltman <sfeltman@src.gnome.org>
1721 Date: Wed Jul 30 12:42:15 2014 -0700
1723 Remove decrementing argument index for failed marshalling cleanup
1725 Remove index decrement when cleanup function is called for failed
1727 marshalling. The decrement is incorrect and causes the failed argument
1728 cleanup to be skipped. The decrement also causes cleanup for arguments
1729 prior to the failed argument to receive "was_successful" as FALSE,
1733 https://bugzilla.gnome.org/show_bug.cgi?id=695128
1735 gi/pygi-invoke.c | 10 +++++-----
1736 1 file changed, 5 insertions(+), 5 deletions(-)
1738 commit 662a4421125d126a11ca163c362d205f0c2147c4
1739 Author: Simon Feltman <sfeltman@src.gnome.org>
1740 Date: Wed Jul 30 12:46:18 2014 -0700
1742 Use cleanup data for argument marshalling failures
1744 Use state->args_cleanup_data when cleaning up failed argument
1746 This was overlooked when cleanup data tracking was implemented
1749 https://bugzilla.gnome.org/show_bug.cgi?id=695128
1751 gi/pygi-marshal-cleanup.c | 14 +++++++-------
1752 1 file changed, 7 insertions(+), 7 deletions(-)
1754 commit 39746a3b4f307974d8b3f98f7ba2aefe06d897a3
1755 Author: Olav Vitters <olav@vitters.nl>
1756 Date: Wed Jul 30 20:41:37 2014 +0200
1760 pygobject.doap | 2 +-
1761 1 file changed, 1 insertion(+), 1 deletion(-)
1763 commit 36caa74a276972eee2b18162ac09edc83c30a3cb
1764 Author: Simon Feltman <sfeltman@src.gnome.org>
1765 Date: Mon Jul 28 23:51:19 2014 -0700
1767 tests: Move object property reference count tests to test_properties
1769 Move and consolidate tests for object property reference counts from
1770 tests_object_marshaling to test_properties.
1772 https://bugzilla.gnome.org/show_bug.cgi?id=726999
1774 tests/test_object_marshaling.py | 68
1775 -----------------------------------------
1776 tests/test_properties.py | 36 ++++++++++++++++++++++
1777 2 files changed, 36 insertions(+), 68 deletions(-)
1779 commit 15b795354ca5a8f436779ee5d81936af8961acb5
1780 Author: Simon Feltman <sfeltman@src.gnome.org>
1781 Date: Mon Jul 28 22:20:44 2014 -0700
1783 tests: Move test_everything.TestProperties into test_properties
1785 Consolidate property tests found in test_everything into test_property
1786 removing redundant tests already found in test_property.
1788 https://bugzilla.gnome.org/show_bug.cgi?id=726999
1790 tests/test_everything.py | 69
1791 +-----------------------------------------------
1792 tests/test_properties.py | 59 +++++++++++++++++++++++++++++++++++++++++
1793 2 files changed, 60 insertions(+), 68 deletions(-)
1795 commit c691d86c6f5f073f7c1e1e6ddd4311ed27431747
1796 Author: Simon Feltman <sfeltman@src.gnome.org>
1797 Date: Mon Jul 28 21:32:44 2014 -0700
1799 tests: Add tests for get/set_property()
1801 Re-use the new CPropertiesTestBase class for testing
1805 https://bugzilla.gnome.org/show_bug.cgi?id=726999
1807 tests/test_properties.py | 32 ++++++++++++++++++++++++++++++++
1808 1 file changed, 32 insertions(+)
1810 commit 115bc88ad5eb85e0a1821fa4fa2cad5c6df87dcc
1811 Author: Simon Feltman <sfeltman@src.gnome.org>
1812 Date: Mon Jul 28 21:32:00 2014 -0700
1814 tests: Break TestPropertiesObject up for re-use
1816 Refactor TestPropertiesObject into a base class which abstracts
1818 property methods. This will allow re-use for testing both
1820 and the props accessor.
1822 https://bugzilla.gnome.org/show_bug.cgi?id=726999
1824 tests/test_properties.py | 221
1825 +++++++++++++++++++++++++----------------------
1826 1 file changed, 118 insertions(+), 103 deletions(-)
1828 commit bf0a5c3345e65b6a7475fada4ea240dbe0049a26
1829 Author: Simon Feltman <sfeltman@src.gnome.org>
1830 Date: Mon Jul 28 19:32:00 2014 -0700
1832 tests: Move test_gi.TestPropertiesObject into test_properties
1834 Move all property testing code into the test_properties module.
1836 https://bugzilla.gnome.org/show_bug.cgi?id=726999
1838 tests/test_gi.py | 233
1839 ----------------------------------------------
1840 tests/test_properties.py | 235
1841 +++++++++++++++++++++++++++++++++++++++++++++++
1842 2 files changed, 235 insertions(+), 233 deletions(-)
1844 commit 4941691264970b19b81d435cd58ab18ef6bac9a5
1845 Author: Simon Feltman <sfeltman@src.gnome.org>
1846 Date: Fri Jul 25 18:33:15 2014 -0700
1848 pyflakes: Fix legacy print and exception usage under Python 3
1850 Fix print statements and legacy exception usage in examples.
1852 https://bugzilla.gnome.org/show_bug.cgi?id=731042
1854 examples/properties.py | 12 ++++++------
1855 tests/runtests-windows.py | 4 ++--
1856 2 files changed, 8 insertions(+), 8 deletions(-)
1858 commit c3d3cd2f798cbae7f66d8e57e191b5f9569a713b
1859 Author: Simon Feltman <sfeltman@src.gnome.org>
1860 Date: Fri Jul 25 17:49:57 2014 -0700
1862 tests: Ignore warnings for GtkAlignment
1864 This was causing unittests to bail. Even though this is deprecated,
1865 we still need to test its usage in the context of pygtkcompat.
1867 tests/compat_test_pygtk.py | 15 ++++++++++++++-
1868 1 file changed, 14 insertions(+), 1 deletion(-)
1870 commit 804b89447ae2748c88ad5efe5e6e37d949681b9e
1871 Author: Simon Feltman <sfeltman@src.gnome.org>
1872 Date: Fri Jul 25 17:40:36 2014 -0700
1874 tests: Remove usage of deprecated "schema" property in GSettings
1877 Use new and new_with_path instead as the schema property was causing a
1878 hard warning which fails the test suite.
1880 tests/test_gio.py | 6 +++---
1881 1 file changed, 3 insertions(+), 3 deletions(-)
1883 commit 6b806137825891cc6bdad82a68cf3deb087feb70
1884 Author: Simon Feltman <sfeltman@src.gnome.org>
1885 Date: Fri Jul 25 17:35:06 2014 -0700
1887 tests: Ignore stock-id usage warnings
1889 Add ignore_glib_warnings context manager for easily ignoring warnings
1890 caused by stock-id usage. Even though stock-id is deprecated, we still
1891 need to test the related Python binding overrides.
1893 tests/test_overrides_gtk.py | 40 ++++++++++++++++++++++++----------------
1894 1 file changed, 24 insertions(+), 16 deletions(-)
1896 commit 6b944c4e215a34bc4181c7c708b6d6f2d4898c15
1897 Author: Simon Feltman <sfeltman@src.gnome.org>
1898 Date: Mon Jun 23 15:55:57 2014 -0700
1900 configure.ac: post release version bump to 3.13.4
1903 1 file changed, 1 insertion(+), 1 deletion(-)
1905 commit 58198b6ae426448cde82cad7304018c7c770c0ea
1906 Author: Simon Feltman <sfeltman@src.gnome.org>
1907 Date: Mon Jun 23 15:53:03 2014 -0700
1912 1 file changed, 8 insertions(+)
1914 commit cdf8c40768b00d08a1facca696a042efc6e8988f
1915 Author: Simon Feltman <sfeltman@src.gnome.org>
1916 Date: Thu May 29 13:02:44 2014 -0700
1918 demos: Cleanup CSS accordion demo to use a loop for adding buttons
1920 Also use Gtk.main_quit directly since it has been overridden to accept
1923 demos/gtk-demo/demos/Css/css_accordion.py | 21 +++------------------
1924 1 file changed, 3 insertions(+), 18 deletions(-)
1926 commit ba8380d093d6f84eabcf18c02b248aae8ffc3cf5
1927 Author: Simon Feltman <sfeltman@src.gnome.org>
1928 Date: Tue May 27 19:24:20 2014 -0700
1930 refactor: Move builder connection utilities outside of Builder class
1932 Move _extract_handler_and_args and _builder_connect_callback into
1934 scope for re-use by GTK+ Composite Templates.
1936 https://bugzilla.gnome.org/show_bug.cgi?id=701843
1938 gi/overrides/Gtk.py | 83
1939 ++++++++++++++++++++++++---------------------
1940 tests/test_overrides_gtk.py | 8 ++---
1941 2 files changed, 48 insertions(+), 43 deletions(-)
1943 commit f127fabe9664b243774b76a68e6fce5986aa23a0
1944 Author: Simon Feltman <sfeltman@src.gnome.org>
1945 Date: Tue May 27 15:52:10 2014 -0700
1947 tests: Move TestSignals from test_everything into test_signal
1949 Move these tests into a more meaningful location.
1951 https://bugzilla.gnome.org/show_bug.cgi?id=701843
1953 tests/test_everything.py | 123
1954 --------------------------------------------
1955 tests/test_signal.py | 131
1956 +++++++++++++++++++++++++++++++++++++++++++++++
1957 2 files changed, 131 insertions(+), 123 deletions(-)
1959 commit da46963a0ce9f796ff4ee4ae2023adfd40ed54ca
1960 Author: Simon Feltman <sfeltman@src.gnome.org>
1961 Date: Mon May 26 04:21:07 2014 -0700
1963 configure.ac: post release version bump to 3.13.2
1966 1 file changed, 1 insertion(+), 1 deletion(-)
1968 commit 6258adf6c7c604954f0dbc1a9ed8c284114358bc
1969 Author: Simon Feltman <sfeltman@src.gnome.org>
1970 Date: Mon May 26 04:18:55 2014 -0700
1974 NEWS | 21 +++++++++++++++++++++
1975 1 file changed, 21 insertions(+)
1977 commit 32542a4ba24d413fb6e0d509bff05f4ac3f642a1
1978 Author: Simon Feltman <sfeltman@src.gnome.org>
1979 Date: Mon May 26 03:01:13 2014 -0700
1981 Python 3.4 make check fixes
1983 Bump GI required version to 1.39.0. This is needed to get rid of
1984 expectedFailures which pass when built with 1.39.0 (unexpected
1986 fail unittesting in Python 3.4).
1987 Silence deprecation warning when using imp.reload.
1989 https://bugzilla.gnome.org/show_bug.cgi?id=730411
1992 pygtkcompat/pygtkcompat.py | 4 +++-
1993 tests/test_gi.py | 1 -
1994 tests/test_repository.py | 2 --
1995 4 files changed, 4 insertions(+), 5 deletions(-)
1997 commit dbdc662b5743bb54fcc3621db775a6e948ec360c
1998 Author: Simon Feltman <sfeltman@src.gnome.org>
1999 Date: Mon May 26 01:53:14 2014 -0700
2001 tests: Don't use deprecated positional argument for Gio.Settings
2004 tests/test_gio.py | 6 +++---
2005 1 file changed, 3 insertions(+), 3 deletions(-)
2007 commit d0b23f08eebd4377f066a4483900fe6d09e3795e
2008 Author: Simon Feltman <sfeltman@src.gnome.org>
2009 Date: Sun May 25 23:03:35 2014 -0700
2011 overrides: Add Gtk.Container.child_get/set overrides
2013 Add overrides for child_get and child_set to Gtk.Container since these
2014 are not introspectable methods.
2016 https://bugzilla.gnome.org/show_bug.cgi?id=685076
2018 gi/overrides/Gtk.py | 10 ++++++++++
2019 tests/test_overrides_gtk.py | 16 ++++++++++++++++
2020 2 files changed, 26 insertions(+)
2022 commit 45a5fb2b0d6c7f46d355c83c73d829532e5a72ce
2023 Author: Simon Feltman <sfeltman@src.gnome.org>
2024 Date: Sun May 25 22:07:07 2014 -0700
2026 overrides: Make value argument to Widget.style_get_property optional
2028 Override Gtk.Widget.style_get_property to optionally accept the
2030 argument. If "value" is not supplied, the override will locate
2032 property value type and create the GValue. Additionally return
2034 GValue converted to a native Python value.
2036 https://bugzilla.gnome.org/show_bug.cgi?id=685076
2038 gi/overrides/Gtk.py | 11 +++++++++++
2039 tests/test_overrides_gtk.py | 29 +++++++++++++++++++++++++++++
2040 2 files changed, 40 insertions(+)
2042 commit 6f5a9a37bcdec5074332b1066396321d40b15d99
2043 Author: Simon Feltman <sfeltman@src.gnome.org>
2044 Date: Sun May 25 21:08:47 2014 -0700
2046 overrides: Make value argument to Container.child_get_property
2049 Override Gtk.Container.child_get_property to optionally accept the
2051 argument. If "value" is not supplied, the override will locate
2053 property value type and create the GValue. Additionally return
2055 GValue converted to a native Python value.
2057 https://bugzilla.gnome.org/show_bug.cgi?id=685076
2059 gi/overrides/Gtk.py | 11 +++++++++++
2060 tests/test_overrides_gtk.py | 47
2061 +++++++++++++++++++++++++++++++++++++++++++++
2062 2 files changed, 58 insertions(+)
2064 commit bf84915f89fd5fd502b4fb162eef7bc0a48c8783
2065 Author: Johan Dahlin <johan@gnome.org>
2066 Date: Mon Oct 1 06:42:24 2012 -0700
2068 Add GTypeClass methods as Python GObject class methods
2070 Take all the methods from an objects type classs and add them
2071 as class methods. For instance, GObject.ObjectClass.list_properties
2072 is available as GObject.Object.list_properties().
2074 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
2076 https://bugzilla.gnome.org/show_bug.cgi?id=685218
2078 gi/types.py | 13 +++++++++++++
2079 tests/test_typeclass.py | 13 +++++++++++++
2080 2 files changed, 26 insertions(+)
2082 commit 778d05c93e079ba207a250b754bda9377cb47457
2083 Author: Simon Feltman <sfeltman@src.gnome.org>
2084 Date: Sun May 25 19:05:56 2014 -0700
2086 Add marshalling coercion for Python classes and instances to
2089 Automatically marshal Python GObject classes and instances to
2091 structs (GObjectClass). This allows usage of the GTypeClass methods by
2092 passing a Python GObject class or instance to the GTypeClass method.
2093 This is needed to support usage of GTypeClass methods since we don't
2094 manually bind GTypeClasses and they are not very well supported with
2097 https://bugzilla.gnome.org/show_bug.cgi?id=685218
2099 gi/pygi-struct-marshal.c | 54 ++++++++++++++++++++++++++++++++++----
2100 tests/Makefile.am | 1 +
2101 tests/test_typeclass.py | 67
2102 ++++++++++++++++++++++++++++++++++++++++++++++++
2103 3 files changed, 117 insertions(+), 5 deletions(-)
2105 commit 1e606287e1244cba45e3bb174d27f1c01e4f9577
2106 Author: Simon Feltman <sfeltman@src.gnome.org>
2107 Date: Sun May 25 02:00:00 2014 -0700
2109 Cleanup struct marshalling function names
2111 Use a consistent naming scheme for struct marshalling cache related
2112 functions. This removes prefixed underscores from function names
2113 as well as redundant wording.
2115 To ignore this commit with git blame use:
2116 git blame <this-commit-sha>^ -- gi/pygi-struct-marshal.c
2118 https://bugzilla.gnome.org/show_bug.cgi?id=685218
2120 gi/pygi-argument.c | 34 ++++----
2121 gi/pygi-array.c | 2 +-
2122 gi/pygi-struct-marshal.c | 221
2123 ++++++++++++++++++++---------------------------
2124 gi/pygi-struct-marshal.h | 56 ++++++------
2125 4 files changed, 142 insertions(+), 171 deletions(-)
2127 commit bbbfa967d06eb8fdef6d6ebe705cc8df2869ddf3
2128 Author: Simon Feltman <sfeltman@src.gnome.org>
2129 Date: Fri May 16 15:08:35 2014 -0700
2131 Use accessors for getting and setting PyGParamSpec pointers
2133 Add pyg_param_spec_get and pyg_param_spec_set macros for getting and
2134 setting the GParamSpec pointer field held by the Python wrapper. This
2135 is preliminary cleanup work for supporting fundamental types.
2137 https://bugzilla.gnome.org/show_bug.cgi?id=631901
2139 gi/pygi-value.c | 2 +-
2140 gi/pygobject.h | 9 +++++++--
2141 gi/pygparamspec.c | 22 +++++++++++-----------
2142 3 files changed, 19 insertions(+), 14 deletions(-)
2144 commit b49179ba3b39576c0c8fe8586b7091dbbaef8046
2145 Author: Simon Feltman <sfeltman@src.gnome.org>
2146 Date: Fri May 16 14:50:57 2014 -0700
2148 Use accessors for getting and setting PyGPointer fields
2150 Add pyg_pointer_get_ptr and pyg_pointer_set_ptr macros for getting and
2151 setting the pointer field. This is preliminary cleanup work for
2155 https://bugzilla.gnome.org/show_bug.cgi?id=631901
2157 gi/gimodule.c | 2 +-
2158 gi/pygi-struct.c | 6 +++---
2159 gi/pygobject.h | 2 ++
2160 gi/pygpointer.c | 14 +++++++-------
2161 4 files changed, 13 insertions(+), 11 deletions(-)
2163 commit 92fe52243d819ffe91597744a6a1c2362a295bce
2164 Author: Simon Feltman <sfeltman@src.gnome.org>
2165 Date: Fri May 16 14:19:47 2014 -0700
2167 Use accessors for getting and setting PyGBoxed pointers
2169 Add pyg_boxed_get_ptr and pyg_boxed_set_ptr macros for getting
2171 the boxed pointer field. This is preliminary cleanup work for
2175 https://bugzilla.gnome.org/show_bug.cgi?id=631901
2177 gi/pygboxed.c | 20 ++++++++++----------
2178 gi/pygi-boxed.c | 6 +++---
2179 gi/pygobject.h | 2 ++
2180 gi/pygtype.c | 3 ++-
2181 4 files changed, 17 insertions(+), 14 deletions(-)
2183 commit 0a4f13a571cb9bd110f435f8b23ed942e3b007b0
2184 Author: Simon Feltman <sfeltman@src.gnome.org>
2185 Date: Sun May 11 16:04:55 2014 -0700
2187 tests: Use assertRaises as a context manager for GError test
2189 Simplify tests/test_error.py:TestMarshalling.test_exception so that
2190 it no longer needs to pull exception information out of sys.exc_info.
2192 tests/test_error.py | 14 ++++++--------
2193 1 file changed, 6 insertions(+), 8 deletions(-)
2195 commit bc7b0b69f651a118a053106fcae2d7c0f2173430
2196 Author: Andrew Grigorev <andrew@ei-grad.ru>
2197 Date: Sun May 11 23:54:46 2014 +0400
2199 Replace direct parent class call by super()
2201 Super works, it just needs the correct class.
2203 https://bugzilla.gnome.org/show_bug.cgi?id=729970
2205 demos/gtk-demo/gtk-demo.py | 6 ++----
2206 1 file changed, 2 insertions(+), 4 deletions(-)
2208 commit de827d00762f2a741f90bc38f8b55518593f4509
2209 Author: Simon Feltman <sfeltman@src.gnome.org>
2210 Date: Sun Mar 23 01:59:00 2014 -0700
2212 Add cairo marshaling support for non-introspected signals
2214 Add link dependency of cairo-gobject to _gi_cairo_la needed for
2216 the GTypes of cairo classes.
2217 Add GValue marshalers for cairo Context, Surface, FontFace,
2219 and Pattern classes.
2221 https://bugzilla.gnome.org/show_bug.cgi?id=694604
2223 gi/Makefile.am | 2 +
2224 gi/pygi-foreign-cairo.c | 186
2225 ++++++++++++++++++++++++++++++++++++++++++++++++
2226 gi/pygi-type.h | 1 +
2228 tests/test_cairo.py | 65 +++++++++++++++++
2229 5 files changed, 256 insertions(+)
2231 commit 22a952ec532cc83c8227861a7d5bfa2957608c3f
2232 Author: Simon Feltman <sfeltman@src.gnome.org>
2233 Date: Mon May 5 19:37:18 2014 -0700
2235 [New API] Add gi.require_foreign
2237 Add gi.require_foreign(namespace, symbol=None) API for determining
2238 if a foreign marshaling module is available. This can be used in an
2239 applications import statement block to verify the existence of a
2240 specific foreign marshaling module (cairo).
2241 Additionally it forces loading of the foreign marshaling module as
2242 well as the GI repository module. This allows non-introspected signal
2243 closures to correctly marshal their arguments (bug 694604).
2245 https://bugzilla.gnome.org/show_bug.cgi?id=707735
2247 gi/__init__.py | 28 +++++++++++++++++++++++++
2248 gi/gimodule.c | 2 ++
2249 gi/pygi-foreign.c | 60
2250 ++++++++++++++++++++++++++++++++++++++++++++++-------
2251 gi/pygi-foreign.h | 4 ++++
2252 tests/test_cairo.py | 9 ++++++++
2253 5 files changed, 95 insertions(+), 8 deletions(-)
2255 commit 4ee91a4cd0018d069c7aaf66d83e2f8235f2262a
2256 Author: Simon Feltman <sfeltman@src.gnome.org>
2257 Date: Mon May 5 19:48:06 2014 -0700
2259 tests: Move cairo tests into test_cairo.py
2261 Move cairo related tests from test_everything.py into test_cairo.py
2263 https://bugzilla.gnome.org/show_bug.cgi?id=694604
2265 tests/Makefile.am | 1 +
2266 tests/test_cairo.py | 67
2267 ++++++++++++++++++++++++++++++++++++++++++++++++
2268 tests/test_everything.py | 43 +------------------------------
2269 3 files changed, 69 insertions(+), 42 deletions(-)
2271 commit 31ecd935564984068e6646676392122bdc03e42e
2272 Author: Simon Feltman <sfeltman@src.gnome.org>
2273 Date: Mon May 5 19:42:59 2014 -0700
2275 Initialize the foreign API at PyGI load time
2277 Initialize the foreign struct list at gi._gi module load time. This
2279 we always have a valid (non-null) list of foreign marshalers outside
2281 context of marshaling.
2283 https://bugzilla.gnome.org/show_bug.cgi?id=694604
2285 gi/gimodule.c | 3 ++-
2286 gi/pygi-foreign.c | 12 ++++++++----
2287 gi/pygi-foreign.h | 2 ++
2288 3 files changed, 12 insertions(+), 5 deletions(-)
2290 commit def47144b63a1492ebf47a4eadb535f45253ff3a
2291 Author: Simon Feltman <sfeltman@src.gnome.org>
2292 Date: Sat Mar 22 14:13:01 2014 -0700
2294 Move pygi foreign API into pygi-foreign-api.h
2296 Move limited set of APIs necessary for registering foreign marshalers
2298 pygi-foreign-api.h. Remove "_real" from internally used APIs and
2300 includes to the rest of pygobject for calling directly (instead of
2302 the PyCapsule API within PyGI itself).
2303 This is needed to avoid compilation errors when including pygobject.h
2305 foreign marshaling plugins which conflicts with pygobject-private.h.
2307 https://bugzilla.gnome.org/show_bug.cgi?id=694604
2309 gi/Makefile.am | 1 +
2310 gi/gimodule.c | 6 +--
2314 gi/pygi-foreign-api.h | 85 +++++++++++++++++++++++++++++++++++++
2315 gi/pygi-foreign-cairo.c | 8 ++--
2316 gi/pygi-foreign.c | 10 ++---
2317 gi/pygi-foreign.h | 14 +++----
2318 gi/pygi-property.c | 8 ++--
2319 gi/pygi-property.h | 14 ++++---
2320 gi/pygi-signal-closure.c | 12 +++---
2321 gi/pygi-signal-closure.h | 15 +++----
2322 gi/pygi-type.c | 4 +-
2323 gi/pygi-type.h | 2 +-
2325 -----------------------------------------------
2326 gi/pygobject.c | 3 ++
2327 gi/pygpointer.c | 1 +
2328 18 files changed, 139 insertions(+), 154 deletions(-)
2330 commit 4c2e6914bf0277ebc3a6a4426f33a1b378a04b00
2331 Author: Simon Feltman <sfeltman@src.gnome.org>
2332 Date: Sun May 4 23:19:30 2014 -0700
2334 Clobber GLib.Error with custom implementation
2336 Clobber the introspection GLib.Error class with the custom Python
2337 implementation found in gi._error.GError. Update references to
2341 https://bugzilla.gnome.org/show_bug.cgi?id=712519
2343 gi/_error.py | 3 ++-
2344 gi/overrides/GLib.py | 9 ++++++---
2345 gi/pygi-error.c | 10 +++++-----
2346 tests/test_error.py | 24 ++++++++++++------------
2347 4 files changed, 25 insertions(+), 21 deletions(-)
2349 commit f80f5ec434ed868ab1f35d6a81537384e753b09d
2350 Author: Simon Feltman <sfeltman@src.gnome.org>
2351 Date: Sun May 4 23:43:50 2014 -0700
2353 Simplify pygi_error_marshal to use GError initializer arguments
2355 https://bugzilla.gnome.org/show_bug.cgi?id=712519
2357 gi/pygi-error.c | 25 ++++++-------------------
2358 1 file changed, 6 insertions(+), 19 deletions(-)
2360 commit 3083daf420ac1900bb20604c22fd61e5187b4ae8
2361 Author: Simon Feltman <sfeltman@src.gnome.org>
2362 Date: Sun May 4 04:13:46 2014 -0700
2364 Add Python implementation of GError
2366 Add internally used gi/_error.py module as a basis for implementing
2367 a unified GError between introspection and static bindings. Patch
2369 implementations of GError.matches and GError.new_literal in the GLib
2372 https://bugzilla.gnome.org/show_bug.cgi?id=712519
2376 ++++++++++++++++++++++++++++++++++++++++++++++++++++
2377 gi/_option.py | 3 ++-
2378 gi/overrides/GLib.py | 25 ++++++++++++++++++++++++-
2379 gi/pygi-error.c | 18 +++++++-----------
2380 tests/test_error.py | 37 ++++++++++++++++++++++++++++++++++++
2381 6 files changed, 125 insertions(+), 14 deletions(-)
2383 commit 664bfa6fdf2196a0d1449baaca62a9a496121f67
2384 Author: Simon Feltman <sfeltman@src.gnome.org>
2385 Date: Sun May 4 23:14:27 2014 -0700
2387 tests: Move GError tests into test_error.py
2389 https://bugzilla.gnome.org/show_bug.cgi?id=712519
2391 tests/Makefile.am | 1 +
2392 tests/test_error.py | 81
2393 +++++++++++++++++++++++++++++++++++++++++++++++++++++
2394 tests/test_gi.py | 49 --------------------------------
2395 3 files changed, 82 insertions(+), 49 deletions(-)
2397 commit 649895d83a90cd3a370da215a6f98a606b987419
2398 Author: Simon Feltman <sfeltman@src.gnome.org>
2399 Date: Sun May 4 00:18:41 2014 -0700
2401 Consolidate GError related code into pygi-error
2403 Rename all pyglib_error_* functions to pygi_error_* and move them into
2405 Register GError as part of the gi._gi module instead of gi._gi._glib.
2406 Update all code to use new naming.
2408 https://bugzilla.gnome.org/show_bug.cgi?id=712519
2410 gi/_option.py | 6 +-
2411 gi/gimodule.c | 4 +-
2412 gi/glibmodule.c | 19 -----
2413 gi/gobjectmodule.c | 54 +-----------
2414 gi/overrides/GLib.py | 3 +-
2415 gi/pygi-argument.c | 6 +-
2416 gi/pygi-cache.c | 4 +-
2417 gi/pygi-error.c | 222
2418 ++++++++++++++++++++++++++++++++++++++++++++++++-
2419 gi/pygi-error.h | 21 ++++-
2420 gi/pygi-invoke.c | 5 +-
2421 gi/pyglib-private.h | 1 -
2422 gi/pyglib.c | 199 --------------------------------------------
2424 gi/pygobject-private.h | 3 -
2425 gi/pygoptioncontext.c | 3 +-
2426 gi/pygoptiongroup.c | 3 +-
2427 gi/pygspawn.c | 3 +-
2428 17 files changed, 262 insertions(+), 299 deletions(-)
2430 commit 9080215e862a73ddcce16476f4dc4492a88dd3f2
2431 Author: Simon Feltman <sfeltman@src.gnome.org>
2432 Date: Sat May 3 22:56:49 2014 -0700
2434 Add gi.CallableInfo.can_throw_gerror()
2436 Add static binding for g_callable_info_can_throw_gerror.
2438 gi/pygi-info.c | 10 ++++++++++
2439 tests/test_repository.py | 16 ++++++++++++++++
2440 2 files changed, 26 insertions(+)
2442 commit f129e78d579b7897cb86111c524d87b5b12019ad
2443 Author: Simon Feltman <sfeltman@src.gnome.org>
2444 Date: Sat May 3 22:56:03 2014 -0700
2446 Derive PyCallbackInfo from PyCallableInfo
2448 Update the static GI bindings for PyGICallbackInfo to derive
2449 from PyGICallableInfo. This makes all the gi.CallableInfo methods
2450 available to gi.CallbackInfo for use from Python.
2452 gi/pygi-info.c | 4 ++--
2453 tests/test_repository.py | 7 +++++++
2454 2 files changed, 9 insertions(+), 2 deletions(-)
2456 commit 833f96807037e85445ac103d6fb6ad9c4fab65e4
2457 Author: Simon Feltman <sfeltman@src.gnome.org>
2458 Date: Fri May 2 21:36:25 2014 -0700
2462 Use infix 'not' instead of prefixed.
2463 Don't use double comments (##).
2464 Use space between comment and text.
2465 Un-comment tests that now work.
2466 Move broken (and won't fix) implicit int64 signal tests into
2467 a new skipped test function.
2469 gi/overrides/GIMarshallingTests.py | 4 ++--
2470 gi/overrides/Gio.py | 4 ++--
2471 gi/overrides/Gtk.py | 6 +++---
2473 pygtkcompat/pygtkcompat.py | 4 ++--
2474 tests/test_everything.py | 1 -
2475 tests/test_gi.py | 9 +++------
2476 tests/test_iochannel.py | 2 +-
2477 tests/test_option.py | 2 +-
2478 tests/test_signal.py | 28 +++++++++++++---------------
2479 10 files changed, 28 insertions(+), 34 deletions(-)
2481 commit 07af141dd8dcac551cb2e962f6bf338b3485006b
2482 Author: Simon Feltman <sfeltman@src.gnome.org>
2483 Date: Mon Apr 28 14:06:30 2014 -0700
2485 configure.ac: post release version bump to 3.13.2
2488 1 file changed, 1 insertion(+), 1 deletion(-)
2490 commit ba652c1fd9dbef6d3ff57e39b400ea827374a95e
2491 Author: Simon Feltman <sfeltman@src.gnome.org>
2492 Date: Mon Apr 28 14:00:59 2014 -0700
2496 NEWS | 14 ++++++++++++++
2497 1 file changed, 14 insertions(+)
2499 commit 3a2bfc8bf01fcae386355bc3652780e198e54d49
2500 Author: Christoph Reiter <reiter.christoph@gmail.com>
2501 Date: Mon Apr 14 23:33:52 2014 +0200
2503 Raise TypeError if arguments are passed to Boxed.__init__
2505 This is a partial revert of
2506 https://git.gnome.org/browse/pygobject/commit/?id=2f2069c9efcd8
2507 which removed a type check in __new__. This adds it back
2508 into __init__. Overrides which define __new__ now have to
2509 filter out any arguments in __init__ and not the other way
2510 around, which is a bit less surprising in the common case.
2512 https://bugzilla.gnome.org/show_bug.cgi?id=727810
2514 gi/overrides/GLib.py | 6 ++++++
2515 gi/overrides/Gtk.py | 6 ++++++
2516 gi/overrides/Pango.py | 3 +++
2517 gi/pygi-boxed.c | 6 ++++++
2518 tests/test_gi.py | 4 ++++
2519 5 files changed, 25 insertions(+)
2521 commit 906977047df2fb2f394410e4ebf360b69af8dcfe
2522 Author: Christoph Reiter <reiter.christoph@gmail.com>
2523 Date: Mon Apr 14 15:40:50 2014 +0200
2525 Gdk.Event: Override __setattr__ to set fields based on the event type
2527 Pass the setting of attributes through to the underlying union based
2528 on event type. This mirrors the logic in __getattr__.
2530 https://bugzilla.gnome.org/show_bug.cgi?id=727810
2532 gi/overrides/Gdk.py | 7 +++++++
2533 tests/test_overrides_gdk.py | 13 ++++++++++---
2534 2 files changed, 17 insertions(+), 3 deletions(-)
2536 commit 78a0508a4d40e3723b36297ba2d42889dabc1cdd
2537 Author: Christoph Reiter <reiter.christoph@gmail.com>
2538 Date: Mon Apr 14 13:06:02 2014 +0200
2540 Gdk.Event: Include GdkEventType in __repr__
2542 https://bugzilla.gnome.org/show_bug.cgi?id=727810
2544 gi/overrides/Gdk.py | 4 ++++
2545 tests/test_overrides_gdk.py | 4 ++++
2546 2 files changed, 8 insertions(+)
2548 commit 23965455f060793ffcbc0d8288527d41a667579c
2549 Author: Simon Feltman <sfeltman@src.gnome.org>
2550 Date: Mon Apr 14 15:10:01 2014 -0700
2552 Fix crash with type checking for GObject arguments
2554 Ensure we have a valid GObject before attempting to call g_type_is_a.
2555 Swap conditional blocks to make if condition more readable.
2557 https://bugzilla.gnome.org/show_bug.cgi?id=727604
2559 gi/pygi-object.c | 19 ++++++++++---------
2560 tests/test_object_marshaling.py | 35 +++++++++++++++++++++++++++++++++++
2561 2 files changed, 45 insertions(+), 9 deletions(-)
2563 commit 2e853f6a31636d6a26ce91eb30be5bb0326474b1
2564 Author: Paolo Borelli <pborelli@gnome.org>
2565 Date: Sun Mar 30 18:27:59 2014 +0200
2567 Do not leak info of destroy notify
2569 gi/pygi-closure.c | 11 ++++++-----
2570 1 file changed, 6 insertions(+), 5 deletions(-)
2572 commit f9e504c79c5ef6e1938e4db5b49115689b9f5c3c
2573 Author: Simon Feltman <sfeltman@src.gnome.org>
2574 Date: Fri Mar 28 19:51:58 2014 -0700
2576 configure.ac: Update PyGObject wiki link in AC_INIT
2579 1 file changed, 1 insertion(+), 1 deletion(-)
2581 commit ee84b5a2c83d88436aec6b62e7a271a3525569e0
2582 Author: Simon Feltman <sfeltman@src.gnome.org>
2583 Date: Mon Mar 24 18:57:56 2014 -0700
2585 Ignore GValueArray deprecations
2587 Wrap calls to GValueArray related calls with
2588 G_GNUC_BEGIN/END_IGNORE_DEPRECATIONS.
2589 Although GValueArray is deprecated, we still need to support the
2591 them in PyGObject. The deprecations add noise to the build processes
2593 new warnings could be lost. Essentially losing the element of surprise
2595 warning should have on maintainers.
2597 gi/pygi-value.c | 23 ++++++++++++++++++++---
2598 tests/testhelpermodule.c | 3 +++
2599 2 files changed, 23 insertions(+), 3 deletions(-)
2601 commit ac8b59ee335967efef974ab0aa89128ade9f3d0c
2602 Author: Simon Feltman <sfeltman@src.gnome.org>
2603 Date: Mon Mar 24 18:09:10 2014 -0700
2605 Raise ImportError when importing modules not found in repository
2607 Raise an ImportError with extra information noting the typelib was not
2608 found. This removes the need to log a similar message which adds
2610 noise when attempting controlled imports within try/except statements.
2611 In Python 2, the additional information is lost but in Python 3 it
2614 https://bugzilla.gnome.org/show_bug.cgi?id=726877
2616 gi/importer.py | 9 ++++-----
2617 tests/test_import_machinery.py | 18 ++++++++++++++++++
2618 2 files changed, 22 insertions(+), 5 deletions(-)
2620 commit e604ada06a8ef8f9a06f0638cf183cfeacdc63a9
2621 Author: Simon Feltman <sfeltman@src.gnome.org>
2622 Date: Mon Mar 24 18:04:27 2014 -0700
2624 tests: Rename test_overrides to test_import_machinery
2626 Rename this test to better suit the contents of the file. This
2628 us a more concise location to grow other tests related to import
2632 https://bugzilla.gnome.org/show_bug.cgi?id=726877
2634 tests/Makefile.am | 2 +-
2635 tests/test_import_machinery.py | 58
2636 ++++++++++++++++++++++++++++++++++++++++++
2637 tests/test_overrides.py | 58
2638 ------------------------------------------
2639 3 files changed, 59 insertions(+), 59 deletions(-)
2641 commit a863e5ec0ac27de49a0ae261fd3a78745cfe84a0
2642 Author: Simon Feltman <sfeltman@src.gnome.org>
2643 Date: Mon Mar 24 04:39:47 2014 -0700
2645 HACKING: Update branch creation instructions to include -b
2648 1 file changed, 1 insertion(+), 1 deletion(-)
2650 commit 1012cfd58c1d41dd6b040a2d14f395e5578f5e79
2651 Author: Simon Feltman <sfeltman@src.gnome.org>
2652 Date: Mon Mar 24 04:35:52 2014 -0700
2654 configure.ac: post release version bump to 3.13.1
2656 configure.ac | 4 ++--
2657 1 file changed, 2 insertions(+), 2 deletions(-)
2659 commit 45eda91eac2f6c8ab1a5c38808f96de760196e90
2660 Author: Simon Feltman <sfeltman@src.gnome.org>
2661 Date: Mon Mar 24 03:35:21 2014 -0700
2666 1 file changed, 2 insertions(+)
2668 commit 70020e9934abb39cbccfa49e582fb838465c0490
2669 Author: Simon Feltman <sfeltman@src.gnome.org>
2670 Date: Mon Mar 24 03:05:16 2014 -0700
2672 pre-release version bump to 3.12.0
2674 configure.ac | 4 ++--
2675 1 file changed, 2 insertions(+), 2 deletions(-)
2677 commit a9a08a0c11e8802cce539f869ea93e1b729e829e
2678 Author: Simon Feltman <sfeltman@src.gnome.org>
2679 Date: Mon Mar 17 15:17:12 2014 -0700
2681 configure.ac: post release version bump to 3.11.93
2684 1 file changed, 1 insertion(+), 1 deletion(-)
2686 commit 7283d50de8413e9450820543d0d8fd43e6c24b27
2687 Author: Simon Feltman <sfeltman@src.gnome.org>
2688 Date: Mon Mar 17 15:12:33 2014 -0700
2693 1 file changed, 6 insertions(+)
2695 commit b3b1f38af1ac1bda9d6a3ba50e9b6fa37ae48d96
2696 Author: Simon Feltman <sfeltman@src.gnome.org>
2697 Date: Mon Mar 17 14:55:52 2014 -0700
2699 configure.ac: Remove option to build without libffi
2701 We've always had a hard dependency on libffi headers.
2702 Commit 5798f94b6a727b93 added a direct module dependency on libffi
2703 instead of indirect via GI. Remove the option to build without libffi.
2705 configure.ac | 21 +++------------------
2706 1 file changed, 3 insertions(+), 18 deletions(-)
2708 commit 1a2438497ffc445fe3f9da06b15085f29317c4ee
2709 Author: Simon Feltman <sfeltman@src.gnome.org>
2710 Date: Sat Mar 15 00:50:14 2014 -0700
2712 docs: Standardize Python doc strings
2714 Use consistent doc string quotations (three double quotes).
2715 Update usage of GObject.GObject in docs to GObject.Object.
2716 Use reStructuredText markup for parameter annotations, instance
2718 admonitions, and code examples.
2719 This allows for better Sphinx documentation generation for the
2721 Preliminary style guide:
2722 https://wiki.gnome.org/Projects/PyGObject/StyleGuide
2724 gi/_option.py | 67 +++++++++++++++------------
2725 gi/_propertyhelper.py | 86 +++++++++++++++++-----------------
2726 gi/_signalhelper.py | 117
2727 ++++++++++++++++++++++++-----------------------
2728 gi/docstring.py | 17 ++++---
2729 gi/glibmodule.c | 3 +-
2730 gi/overrides/GLib.py | 20 ++++----
2731 gi/overrides/GObject.py | 39 ++++++++++------
2732 gi/overrides/Gtk.py | 28 ++++++++----
2733 gi/overrides/__init__.py | 66 +++++++++++++-------------
2735 10 files changed, 242 insertions(+), 203 deletions(-)
2737 commit 2d268ef661badabcb63e696dab01857d57cb3371
2738 Author: Simon Feltman <sfeltman@src.gnome.org>
2739 Date: Sat Mar 15 00:49:00 2014 -0700
2741 Quote argument names in initializer deprecation warning
2743 Add quotation marks around names of deprecated positional arguments.
2744 This makes the message clearer in stating what has been deprecated
2745 in cases when only a single argument is displayed.
2747 gi/overrides/__init__.py | 2 +-
2748 tests/test_gi.py | 6 +++---
2749 2 files changed, 4 insertions(+), 4 deletions(-)
2751 commit a070e712526e433c236753813acc3ef300f0d203
2752 Author: Simon Feltman <sfeltman@src.gnome.org>
2753 Date: Sat Mar 15 00:35:03 2014 -0700
2755 docs: Ignore meta-class bases in dynamic docstring generation
2757 Skip attempts at generating a doc string for GObject meta-class bases
2758 since they do not contain an __info__ attribute.
2759 This circumvents errors with documentation generators (Sphinx).
2761 gi/types.py | 7 ++++++-
2762 1 file changed, 6 insertions(+), 1 deletion(-)
2764 commit ec44dea6bbc3f1adfb6c1a2781364a2df0d0e0e6
2765 Author: Simon Feltman <sfeltman@src.gnome.org>
2766 Date: Thu Mar 13 10:13:34 2014 -0700
2768 Update Free Software Foundation addresses
2770 Update all references to the FSF physical address
2771 to use the web address: http://www.gnu.org/licenses
2773 gi/_constants.py | 4 +---
2774 gi/_gobject/__init__.py | 4 +---
2775 gi/_option.py | 4 +---
2776 gi/_propertyhelper.py | 4 +---
2777 gi/_signalhelper.py | 4 +---
2778 gi/glibmodule.c | 4 +---
2779 gi/gobjectmodule.c | 4 +---
2780 gi/overrides/keysyms.py | 4 +---
2781 gi/pygboxed.c | 4 +---
2782 gi/pygboxed.h | 4 +---
2783 gi/pygenum.c | 4 +---
2784 gi/pygenum.h | 4 +---
2785 gi/pygflags.c | 4 +---
2786 gi/pygflags.h | 4 +---
2787 gi/pygi-argument.c | 4 +---
2788 gi/pygi-argument.h | 4 +---
2789 gi/pygi-boxed.c | 4 +---
2790 gi/pygi-boxed.h | 4 +---
2791 gi/pygi-cache.c | 4 +---
2792 gi/pygi-cache.h | 4 +---
2793 gi/pygi-ccallback.c | 4 +---
2794 gi/pygi-ccallback.h | 4 +---
2795 gi/pygi-info.c | 4 +---
2796 gi/pygi-info.h | 4 +---
2797 gi/pygi-invoke.c | 4 +---
2798 gi/pygi-invoke.h | 4 +---
2799 gi/pygi-marshal-cleanup.c | 4 +---
2800 gi/pygi-marshal-cleanup.h | 4 +---
2801 gi/pygi-repository.c | 4 +---
2802 gi/pygi-repository.h | 4 +---
2803 gi/pygi-signal-closure.c | 4 +---
2804 gi/pygi-struct.c | 4 +---
2805 gi/pygi-struct.h | 4 +---
2806 gi/pygi-type.c | 4 +---
2807 gi/pygi-type.h | 4 +---
2809 gi/pyginterface.c | 4 +---
2810 gi/pyginterface.h | 4 +---
2811 gi/pyglib-private.h | 4 +---
2812 gi/pyglib-python-compat.h | 4 +---
2813 gi/pyglib.c | 4 +---
2814 gi/pyglib.h | 4 +---
2815 gi/pygobject-external.h | 4 +---
2816 gi/pygobject.c | 4 +---
2817 gi/pygoptioncontext.c | 4 +---
2818 gi/pygoptioncontext.h | 4 +---
2819 gi/pygoptiongroup.c | 4 +---
2820 gi/pygoptiongroup.h | 4 +---
2821 gi/pygparamspec.c | 4 +---
2822 gi/pygparamspec.h | 4 +---
2823 gi/pygpointer.c | 4 +---
2824 gi/pygpointer.h | 4 +---
2825 gi/pygspawn.c | 4 +---
2826 gi/pygspawn.h | 4 +---
2827 gi/pygtype.c | 4 +---
2828 gi/pygtype.h | 4 +---
2829 pygtkcompat/generictreemodel.py | 4 +---
2830 tests/test_generictreemodel.py | 4 +---
2831 58 files changed, 58 insertions(+), 174 deletions(-)
2833 commit bbfcebdfdc5e574999221b60520422ea6da82435
2834 Author: Owen W. Taylor <otaylor@fishsoup.net>
2835 Date: Wed Mar 12 18:32:47 2014 -0400
2837 Handle GI_TRANSFER_EVERYTHING for returns of foreign structures
2839 Any (transfer full) return of a cairo type other than a path
2842 Pass the transfer type PyGIArgOverrideFromGIArgumentFunc and handle
2843 it for the cairo foreign type. For paths we can only handle
2844 (transfer full) so throw an error for (transfer none).
2846 https://bugzilla.gnome.org/show_bug.cgi?id=726206
2848 gi/pygi-foreign-cairo.c | 32 +++++++++++++++++++++++++-------
2849 gi/pygi-foreign.c | 3 ++-
2850 gi/pygi-foreign.h | 1 +
2851 gi/pygi-invoke.c | 1 +
2852 gi/pygi-struct-marshal.c | 1 +
2854 6 files changed, 31 insertions(+), 8 deletions(-)
2856 commit c5b641cb4eea9ae64a173dcaa4ee5a4accb036f6
2857 Author: Simon Feltman <sfeltman@src.gnome.org>
2858 Date: Mon Mar 3 15:20:02 2014 -0800
2860 configure.ac: post release version bump to 3.11.92
2863 1 file changed, 1 insertion(+), 1 deletion(-)
2865 commit 7816531691a3db3ae1fe74abc85ac37988b67d2b
2866 Author: Simon Feltman <sfeltman@src.gnome.org>
2867 Date: Mon Mar 3 15:16:43 2014 -0800
2872 1 file changed, 7 insertions(+)
2874 commit 1a63a04eaf2a77c1752b90e80ab571677f27ac3d
2875 Author: Simon Feltman <sfeltman@src.gnome.org>
2876 Date: Mon Mar 3 06:49:09 2014 -0800
2878 build: Update release-news to use srcdir
2880 Use $(top_srcdir)/NEWS for pulling in news items to ensure
2881 "make release-news" works in a vpath build environment.
2884 1 file changed, 1 insertion(+), 1 deletion(-)
2886 commit 5798f94b6a727b930b07fe840b0aef264f98a80e
2887 Author: Simon Feltman <sfeltman@src.gnome.org>
2888 Date: Fri Feb 7 20:16:21 2014 -0800
2890 Use ffi_call directly instead of g_callable_info_invoke
2892 Cleanup internal callable cache and state tracking by removing
2894 counting schemes for differently sized "in" and "out" argument arrays.
2895 Use a single count based on the total number of arguments passed to C
2896 (inclusive of instance argument and GError exception where
2898 Size all state tracking arrays to the same size and ensure argument
2900 indices always line up with these arrays. This cleans up logic
2902 required by g_callable_info_invoke for splitting "in" and "out"
2906 Cleanup array marshaling which can now rely on the new scheme
2908 the "arg_values" array always points to the correct location for
2912 Cache the ffi_cif struct in PyGICallableCache via GIFunctionInvoker
2914 related GI methods. Overall, these changes can give a performance
2916 almost 2x for simple function calls (see ticket for micro benchmarks).
2918 https://bugzilla.gnome.org/show_bug.cgi?id=723642
2920 gi/pygi-array.c | 26 ++---
2921 gi/pygi-cache.c | 61 +++++++++--
2922 gi/pygi-cache.h | 10 +-
2923 gi/pygi-ccallback.c | 3 +-
2924 gi/pygi-closure.c | 6 +-
2925 gi/pygi-invoke-state-struct.h | 42 +++++---
2926 gi/pygi-invoke.c | 241
2927 +++++++++++++++++++++++-------------------
2928 gi/pygi-invoke.h | 2 +-
2929 gi/pygi-marshal-cleanup.c | 4 +-
2930 9 files changed, 230 insertions(+), 165 deletions(-)
2932 commit ad680ae9c37a0091628a7d66010fbf70aa1a2e43
2933 Author: Simon Feltman <sfeltman@src.gnome.org>
2934 Date: Mon Mar 3 04:51:09 2014 -0800
2936 tests: Move class definition depending on GTK+ within function
2939 Move the definition of WindowWithSizeAllocOverride inside of the test
2940 function call to so it is lazily defined. This avoids problems
2942 on systems without GTK+ installed.
2944 tests/test_overrides_gtk.py | 32 ++++++++++++++++----------------
2945 1 file changed, 16 insertions(+), 16 deletions(-)
2947 commit 45d45e7c2704d68a3008f739e501fa332d326b8b
2948 Author: Simon Feltman <sfeltman@src.gnome.org>
2949 Date: Mon Mar 3 04:45:59 2014 -0800
2951 tests: Conditionalize usage of GTK+ in tests_generictreemodel
2953 This allows running make check without GTK+ installed.
2955 tests/test_generictreemodel.py | 16 +++++++++++++---
2956 1 file changed, 13 insertions(+), 3 deletions(-)
2958 commit 038563ed620e0d966e385a1779455d9b0e148c41
2959 Author: Simon Feltman <sfeltman@src.gnome.org>
2960 Date: Mon Mar 3 04:39:35 2014 -0800
2962 tests: Conditionalize usage of regress typelib in test_properties
2964 Unconditional usage of regress breaks tests when PyGObject is
2968 tests/test_properties.py | 27 +++++++++++++++++----------
2969 1 file changed, 17 insertions(+), 10 deletions(-)
2971 commit 1fa93ddc51b2d223d772aee7930fc96c0ced0e00
2972 Author: Simon Feltman <sfeltman@src.gnome.org>
2973 Date: Mon Mar 3 02:44:12 2014 -0800
2975 configure.ac: Use -std=c90 and error on declaration-after-statement
2977 Replace gcc option of -std=c9x with c90 and add
2978 -Werror=declaration-after-statement
2979 This ensures we keep compatibility with msvc builds.
2981 configure.ac | 3 ++-
2982 1 file changed, 2 insertions(+), 1 deletion(-)
2984 commit cee414ab5725c51d79a2c6aa1e8760e9fd754545
2985 Author: Simon Feltman <sfeltman@src.gnome.org>
2986 Date: Mon Mar 3 02:38:30 2014 -0800
2988 Use g_snprintf instead of snprintf
2990 Use g_snprintf for consistency with the rest of gobjectmodule.c
2992 gi/gobjectmodule.c | 2 +-
2993 1 file changed, 1 insertion(+), 1 deletion(-)
2995 commit b016ae6793839b2a6a00a69d00de30937bc611be
2996 Author: Simon Feltman <sfeltman@src.gnome.org>
2997 Date: Thu Feb 27 04:27:41 2014 -0800
2999 Use C style comments
3001 Update various locations which use C99 single line comments to
3003 C90 style comments. Found with: make CFLAGS="-std=C90"
3005 gi/gimodule.c | 2 +-
3006 gi/pygi-array.c | 3 ++-
3007 gi/pygi-property.c | 2 +-
3009 4 files changed, 5 insertions(+), 4 deletions(-)
3011 commit df7cba1495c167f1019dec7f4398dc5de62a5937
3012 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
3013 Date: Tue Feb 25 14:38:41 2014 +0800
3015 Fix Build on Visual Studio
3017 Some items from pygi-enum-marshal.c were moved to pygi-basictype.c,
3019 included the use of the NAN and INFINITY macros/constants, so the
3020 definitions for those need to be moved to pygi-basictype.c as well.
3022 avoid defining a variable in the middle of the block.
3024 https://bugzilla.gnome.org/show_bug.cgi?id=725122
3026 gi/pygi-basictype.c | 16 ++++++++++++++++
3027 gi/pygi-cache.c | 3 ++-
3028 gi/pygi-enum-marshal.c | 16 ----------------
3029 3 files changed, 18 insertions(+), 17 deletions(-)
3031 commit bb5550bc85ac0ff60ea39912416e347f27853fb4
3032 Author: Simon Feltman <sfeltman@src.gnome.org>
3033 Date: Mon Feb 17 17:22:40 2014 -0800
3035 Update release steps to be more explicit in regards to NEWS
3037 Add an explicit step to commit the NEWS changes and push prior
3040 HACKING | 11 ++++++-----
3041 1 file changed, 6 insertions(+), 5 deletions(-)
3043 commit c6ac95286bce858f1925a9d6173a91866d7e9f88
3044 Author: Simon Feltman <sfeltman@src.gnome.org>
3045 Date: Mon Feb 17 17:18:10 2014 -0800
3047 configure.ac: post release version bump to 3.11.91
3050 1 file changed, 1 insertion(+), 1 deletion(-)
3052 commit f87e341c5528d066371d4ec493956db28dd0bafa
3053 Author: Simon Feltman <sfeltman@src.gnome.org>
3054 Date: Mon Feb 17 17:08:13 2014 -0800
3059 1 file changed, 4 insertions(+)
3061 commit 9b345b153e86ca6c9b7290cf2ad3b38f6ad9d0e5
3062 Author: Simon Feltman <sfeltman@src.gnome.org>
3063 Date: Wed Feb 12 10:28:35 2014 -0800
3065 Use GObject type checking for instance arguments
3067 Add a g_type_is_a check to interface/object instance arguments
3069 to the Python IsInstance check. This loosens restrictions on
3071 don't use gi.overrides.override() and is needed to keep API
3073 which broke with commit:
3074 https://git.gnome.org/browse/pygobject/commit/?id=d5925b76
3076 https://bugzilla.gnome.org/show_bug.cgi?id=724009
3078 gi/pygi-object.c | 6 +++++-
3079 1 file changed, 5 insertions(+), 1 deletion(-)
3081 commit 419e13e1717b725d5c6815bae9672649b0afddd4
3082 Author: Simon Feltman <sfeltman@src.gnome.org>
3083 Date: Mon Feb 3 15:58:30 2014 -0800
3085 configure.ac: post release version bump to 3.11.90
3088 1 file changed, 1 insertion(+), 1 deletion(-)
3090 commit 57bceaac1d84ffd03f49d8e83a4c8507c9127a41
3091 Author: Simon Feltman <sfeltman@src.gnome.org>
3092 Date: Mon Feb 3 15:51:27 2014 -0800
3096 NEWS | 16 ++++++++++++++++
3097 1 file changed, 16 insertions(+)
3099 commit 058d944e3b9ef9157e912e6374b54a2eb5f7f5d1
3100 Author: Simon Feltman <sfeltman@src.gnome.org>
3101 Date: Mon Feb 3 06:45:09 2014 -0800
3103 Restore pygobject_version API needed for pygobject.h
3105 Add gi._gobject.pygobject_version which was removed with commit:
3106 https://git.gnome.org/browse/pygobject/commit/?id=2624bd2b
3107 This is needed for pygobject.h to function properly.
3109 gi/_gobject/__init__.py | 1 +
3110 1 file changed, 1 insertion(+)
3112 commit f3be4cedcb1d395a3fabee95d7460bce86268153
3113 Author: Simon Feltman <sfeltman@src.gnome.org>
3114 Date: Mon Feb 3 06:29:07 2014 -0800
3116 cache refactoring: Add comments to arg cache setup functions
3118 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3120 gi/pygi-cache.c | 36 ++++++++++++++++++++++++++++++++++++
3121 1 file changed, 36 insertions(+)
3123 commit 56ac6bd9ed99d6bb2cb8641581a594105036be68
3124 Author: Simon Feltman <sfeltman@src.gnome.org>
3125 Date: Mon Feb 3 06:24:18 2014 -0800
3127 cache refactoring: Use consistent prefix for arg cache functions
3129 Use "pygi_arg_cache" as the prefix for arg cache memory related
3132 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3134 gi/pygi-array.c | 6 ++--
3135 gi/pygi-basictype.c | 4 +--
3136 gi/pygi-cache.c | 74
3137 ++++++++++++++++++++++++------------------------
3138 gi/pygi-cache.h | 58 ++++++++++++++++++++-----------------
3139 gi/pygi-ccallback.c | 2 +-
3140 gi/pygi-closure.c | 6 ++--
3141 gi/pygi-enum-marshal.c | 4 +--
3142 gi/pygi-error.c | 4 +--
3143 gi/pygi-hashtable.c | 30 ++++++++++----------
3144 gi/pygi-info.c | 2 +-
3145 gi/pygi-invoke.c | 2 +-
3146 gi/pygi-list.c | 2 +-
3147 gi/pygi-object.c | 2 +-
3148 gi/pygi-struct-marshal.c | 2 +-
3149 14 files changed, 102 insertions(+), 96 deletions(-)
3151 commit 204f5a187782c5325ed6bed96c9a940f3aa67d04
3152 Author: Simon Feltman <sfeltman@src.gnome.org>
3153 Date: Sun Jan 12 12:26:30 2014 -0800
3155 marshal refactoring: Move GValue marshaling from pytype into
3158 Move marshaling of GValues to and from PyObjects into
3160 PyGTypeMarshal struct and related functions accessible via pygtype.h.
3162 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3164 gi/gobjectmodule.c | 2 +
3165 gi/pygi-struct-marshal.c | 1 +
3166 gi/pygi-value.c | 720
3167 +++++++++++++++++++++++++++++++++++++++++++++-
3168 gi/pygi-value.h | 12 +
3169 gi/pygobject-private.h | 16 --
3170 gi/pygobject.c | 2 +-
3172 +----------------------------------------------
3173 gi/pygtype.h | 17 ++
3174 8 files changed, 757 insertions(+), 741 deletions(-)
3176 commit b8120d848dc5d36832123b1a913015f6e1fd8cdc
3177 Author: Simon Feltman <sfeltman@src.gnome.org>
3178 Date: Sun Jan 12 11:41:20 2014 -0800
3180 marshal refactoring: Move GIArgument from GValue code to new file
3182 Add gi/pygi-value.h and .c files with initial contents of
3183 _pygi_argument_from_g_value. Eventually this file will contain
3185 related to GValue marshaling from various code locations in the
3188 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3190 gi/Makefile.am | 2 +
3191 gi/pygi-argument.c | 126 +----------------------------------------
3192 gi/pygi-argument.h | 3 -
3193 gi/pygi-signal-closure.c | 1 +
3194 gi/pygi-value.c | 144
3195 +++++++++++++++++++++++++++++++++++++++++++++++
3196 gi/pygi-value.h | 32 +++++++++++
3197 6 files changed, 180 insertions(+), 128 deletions(-)
3199 commit c2d5857e9b964427190e1230be32ae7919e86bc0
3200 Author: Simon Feltman <sfeltman@src.gnome.org>
3201 Date: Sat Oct 12 21:26:55 2013 -0700
3203 cache refactoring: Move enum and flags arg setup and marshaling to
3206 Move enum and flags argument cache setup and marshaling fragments into
3207 isolated file: pygi-enum-marshal.c. Remove pygi-marshal-from/to files.
3209 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3211 gi/Makefile.am | 6 +-
3212 gi/pygi-argument.c | 2 -
3213 gi/pygi-cache.c | 74 ++-------
3214 gi/pygi-enum-marshal.c | 408
3215 ++++++++++++++++++++++++++++++++++++++++++++++
3216 gi/pygi-enum-marshal.h | 42 +++++
3217 gi/pygi-marshal-from-py.c | 206 -----------------------
3218 gi/pygi-marshal-from-py.h | 57 -------
3219 gi/pygi-marshal-to-py.c | 152 -----------------
3220 gi/pygi-marshal-to-py.h | 34 ----
3221 9 files changed, 464 insertions(+), 517 deletions(-)
3223 commit 1d0f120d77582509b4e75d83f500a1ace7ed6421
3224 Author: Simon Feltman <sfeltman@src.gnome.org>
3225 Date: Sat Oct 12 20:00:12 2013 -0700
3227 cache refactoring: Move various struct arg setup and marshaling to
3230 Move struct (boxed, union, gvalue, gclosure, variant, and pointer)
3232 cache setup and marshaling fragments into isolated file:
3233 pygi-struct-marshal.c.
3234 Remove redundant and dead code related to boxed and union marshaling.
3236 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3238 gi/Makefile.am | 2 +
3239 gi/pygi-argument.c | 1 +
3240 gi/pygi-array.c | 3 +
3241 gi/pygi-cache.c | 72 +------
3242 gi/pygi-cache.h | 1 +
3243 gi/pygi-marshal-cleanup.c | 48 -----
3244 gi/pygi-marshal-cleanup.h | 16 --
3245 gi/pygi-marshal-from-py.c | 288 --------------------------
3246 gi/pygi-marshal-from-py.h | 33 ---
3247 gi/pygi-marshal-to-py.c | 120 -----------
3248 gi/pygi-marshal-to-py.h | 27 ---
3249 gi/pygi-object.c | 2 +-
3250 gi/pygi-struct-marshal.c | 516
3251 ++++++++++++++++++++++++++++++++++++++++++++++
3252 gi/pygi-struct-marshal.h | 73 +++++++
3253 14 files changed, 607 insertions(+), 595 deletions(-)
3255 commit 4dcaa2b988239e01224994098c3e7cbe8b455fe0
3256 Author: Simon Feltman <sfeltman@src.gnome.org>
3257 Date: Sat Oct 12 16:40:58 2013 -0700
3259 cache refactoring: Move GObject arg setup and marshaling into new file
3261 Move GObject argument cache setup and marshaling fragments into
3262 isolated file: pygi-object.c.
3263 Break GIInterfaceCache creation and setup into API for interface based
3264 argument cache usage.
3266 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3268 gi/Makefile.am | 2 +
3269 gi/pygi-argument.c | 7 +-
3270 gi/pygi-cache.c | 183 ++++++++++++++-----------------
3271 gi/pygi-cache.h | 7 ++
3272 gi/pygi-marshal-cleanup.c | 27 -----
3273 gi/pygi-marshal-cleanup.h | 10 --
3274 gi/pygi-marshal-from-py.c | 123 ---------------------
3275 gi/pygi-marshal-from-py.h | 12 --
3276 gi/pygi-marshal-to-py.c | 31 ------
3277 gi/pygi-marshal-to-py.h | 8 --
3278 gi/pygi-object.c | 273
3279 ++++++++++++++++++++++++++++++++++++++++++++++
3280 gi/pygi-object.h | 46 ++++++++
3281 12 files changed, 416 insertions(+), 313 deletions(-)
3283 commit 2cddba811592fbb990322fbf2dce516ffd7e94cd
3284 Author: Simon Feltman <sfeltman@src.gnome.org>
3285 Date: Sat Oct 12 12:39:20 2013 -0700
3287 cache refactoring: Move closure setup and marshaling into pygi-closure
3289 Move closure argument caching and marshaling fragments into
3292 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3294 gi/pygi-cache.c | 111 ++--------------
3295 gi/pygi-cache.h | 9 --
3296 gi/pygi-closure.c | 314
3297 +++++++++++++++++++++++++++++++++++++++++++++-
3298 gi/pygi-closure.h | 13 +-
3299 gi/pygi-marshal-cleanup.c | 14 ---
3300 gi/pygi-marshal-cleanup.h | 5 -
3301 gi/pygi-marshal-from-py.c | 160 -----------------------
3302 gi/pygi-marshal-from-py.h | 6 -
3303 gi/pygi-marshal-to-py.c | 13 --
3304 gi/pygi-marshal-to-py.h | 4 -
3305 10 files changed, 333 insertions(+), 316 deletions(-)
3307 commit 18d8274724484a27e05d2e60baac1f20c72b6d2b
3308 Author: Simon Feltman <sfeltman@src.gnome.org>
3309 Date: Sat Oct 12 11:30:36 2013 -0700
3311 cache refactoring: Move GError arg setup and marshaling to new file
3313 Move GError argument caching and marshaling fragments into
3314 isolated file: pygi-error.c.
3316 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3318 gi/Makefile.am | 2 +
3319 gi/pygi-cache.c | 93 ++++++++++++---------------------------
3320 gi/pygi-error.c | 109
3321 ++++++++++++++++++++++++++++++++++++++++++++++
3322 gi/pygi-error.h | 35 +++++++++++++++
3323 gi/pygi-marshal-from-py.c | 13 ------
3324 gi/pygi-marshal-from-py.h | 6 ---
3325 gi/pygi-marshal-to-py.c | 22 ----------
3326 gi/pygi-marshal-to-py.h | 4 --
3327 8 files changed, 174 insertions(+), 110 deletions(-)
3329 commit c45cafd07fc62ad545f3e58f2b7350ee4b2bb9b7
3330 Author: Simon Feltman <sfeltman@src.gnome.org>
3331 Date: Sat Oct 12 03:07:53 2013 -0700
3333 cache refactoring: Move GArray arg setup and marshaling into new file
3335 Move GArray argument caching and marshaling fragments into an
3336 isolated file: pygi-array.c.
3338 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3340 gi/Makefile.am | 2 +
3341 gi/pygi-array.c | 906
3342 ++++++++++++++++++++++++++++++++++++++++++++++
3343 gi/pygi-array.h | 42 +++
3344 gi/pygi-cache.c | 236 +-----------
3345 gi/pygi-marshal-cleanup.c | 150 --------
3346 gi/pygi-marshal-cleanup.h | 10 -
3347 gi/pygi-marshal-from-py.c | 354 ------------------
3348 gi/pygi-marshal-from-py.h | 6 -
3349 gi/pygi-marshal-to-py.c | 210 -----------
3350 gi/pygi-marshal-to-py.h | 4 -
3351 10 files changed, 963 insertions(+), 957 deletions(-)
3353 commit 4697a3793b46a803c6dbef749ba75c0fee80020d
3354 Author: Simon Feltman <sfeltman@src.gnome.org>
3355 Date: Fri Oct 11 23:26:08 2013 -0700
3357 cache refactoring: Move GList/GSList arg setup and marshaling into
3360 Move GList and GSList argument caching and marshaling fragments
3362 isolated file: pygi-list.c.
3364 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3366 gi/Makefile.am | 2 +
3367 gi/pygi-cache.c | 71 ++-----
3368 gi/pygi-list.c | 466
3369 ++++++++++++++++++++++++++++++++++++++++++++++
3370 gi/pygi-list.h | 38 ++++
3371 gi/pygi-marshal-cleanup.c | 80 --------
3372 gi/pygi-marshal-cleanup.h | 10 -
3373 gi/pygi-marshal-from-py.c | 156 ----------------
3374 gi/pygi-marshal-from-py.h | 12 --
3375 gi/pygi-marshal-to-py.c | 98 ----------
3376 gi/pygi-marshal-to-py.h | 8 -
3377 10 files changed, 517 insertions(+), 424 deletions(-)
3379 commit c48ddacf4479d2cf80beb9c614cdce2a61599b3b
3380 Author: Simon Feltman <sfeltman@src.gnome.org>
3381 Date: Fri Oct 11 21:30:45 2013 -0700
3383 cache refactoring: Break sequence cache up for array vs list
3385 Add new arg cache type specialized for arrays. This cleans up
3387 sequence cache type which does not need length and size related
3389 fixed length checks from GList and GSList from_py marshaling
3393 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3395 gi/pygi-cache.c | 160
3396 +++++++++++++++++++++++++++++++++++-----------
3397 gi/pygi-cache.h | 16 ++++-
3398 gi/pygi-invoke.c | 4 +-
3399 gi/pygi-marshal-cleanup.c | 28 ++++----
3400 gi/pygi-marshal-from-py.c | 37 ++++-------
3401 gi/pygi-marshal-to-py.c | 23 +++----
3402 6 files changed, 177 insertions(+), 91 deletions(-)
3404 commit c1a2a86a7b51f4dc5a5da9f8808552c38acadf9d
3405 Author: Simon Feltman <sfeltman@src.gnome.org>
3406 Date: Fri Oct 11 20:12:01 2013 -0700
3408 cache refactoring: Move basic type arg setup and marshaling into
3411 Move all basic type arg caching and marshaling fragments into
3413 file where most functions are made static. pygi-basictype.h exposes:
3414 pygi_arg_basic_type_new_from_info, _pygi_marshal_from_py_basic_type,
3416 _pygi_marshal_to_py_basic_type which allows continued use for all
3420 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3422 gi/Makefile.am | 2 +
3423 gi/pygi-argument.c | 1 +
3424 gi/pygi-basictype.c | 824
3425 ++++++++++++++++++++++++++++++++++++++++++++++
3426 gi/pygi-basictype.h | 42 +++
3427 gi/pygi-cache.c | 82 +----
3428 gi/pygi-cache.h | 1 +
3429 gi/pygi-marshal-cleanup.c | 26 --
3430 gi/pygi-marshal-cleanup.h | 10 -
3431 gi/pygi-marshal-from-py.c | 478 ---------------------------
3432 gi/pygi-marshal-from-py.h | 18 -
3433 gi/pygi-marshal-to-py.c | 155 ---------
3434 gi/pygi-marshal-to-py.h | 11 -
3435 12 files changed, 880 insertions(+), 770 deletions(-)
3437 commit 4a6bf3be49cc5aec7287c41ec02c78d60df1d44c
3438 Author: Simon Feltman <sfeltman@src.gnome.org>
3439 Date: Fri Oct 11 17:39:31 2013 -0700
3441 cache refactoring: Move PyGIHashCache and related marshaling into
3444 Re-organize hash table arg cache and its marshaling by moving all
3445 related code fragments into an isolated file where most of it is made
3446 static. pygi-hashtable.h exposes a single function:
3447 pygi_arg_hash_table_new_from_info. This is all the caching system
3449 produce the proper bits for handling hash table marshaling.
3451 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3453 gi/Makefile.am | 4 +-
3454 gi/pygi-cache.c | 103 +-----------
3455 gi/pygi-cache.h | 21 ++-
3456 gi/pygi-hashtable.c | 413
3457 ++++++++++++++++++++++++++++++++++++++++++++++
3458 gi/pygi-hashtable.h | 35 ++++
3459 gi/pygi-marshal-cleanup.c | 63 -------
3460 gi/pygi-marshal-cleanup.h | 10 --
3461 gi/pygi-marshal-from-py.c | 125 --------------
3462 gi/pygi-marshal-from-py.h | 6 -
3463 gi/pygi-marshal-to-py.c | 85 ----------
3464 gi/pygi-marshal-to-py.h | 4 -
3465 11 files changed, 471 insertions(+), 398 deletions(-)
3467 commit 983d0c2252f91e63d5fa0222ef2b67722cb97434
3468 Author: Simon Feltman <sfeltman@src.gnome.org>
3469 Date: Fri Oct 11 15:49:32 2013 -0700
3471 cache refactoring: Separate ArgCache creation and setup
3473 Move PyGIArgCache and PyGIInterfaceCache generic setup into standalone
3474 functions: pygi_arg_base_setup and pygi_arg_interface_setup
3476 Shift argument order and move arguments which will eventually
3478 from the signature into the tail with comment. Isolate special
3480 GI_INFO_TYPE_CALLBACK ArgCache creation to a single location in
3481 _arg_cache_new_for_interface.
3483 https://bugzilla.gnome.org/show_bug.cgi?id=709700
3485 gi/pygi-cache.c | 263
3486 ++++++++++++++++++++++++++++++++------------------------
3487 gi/pygi-cache.h | 15 ++++
3488 2 files changed, 167 insertions(+), 111 deletions(-)
3490 commit 0af98aca40fe266d1fd93caaa7256bb92ba1d3e4
3491 Author: Simon Feltman <sfeltman@src.gnome.org>
3492 Date: Sun Feb 2 15:52:24 2014 -0800
3494 tests: Add skip and expectedFailure to test_gi.test_callback_owned_box
3496 https://bugzilla.gnome.org/show_bug.cgi?id=722899
3498 tests/test_gi.py | 3 +++
3499 1 file changed, 3 insertions(+)
3501 commit e79d2acc54c1e3b052835de5de20feb0b7069476
3502 Author: Mike Gorse <mgorse@suse.com>
3503 Date: Fri Jan 24 05:17:06 2014 -0600
3505 tests: Add test for an owned boxed struct passed in a callback
3507 https://bugzilla.gnome.org/show_bug.cgi?id=722899
3509 tests/test_gi.py | 11 +++++++++++
3510 1 file changed, 11 insertions(+)
3512 commit b12ceed8cc5fa398cea2061813aac6a5ba100b6f
3513 Author: Simon Feltman <sfeltman@src.gnome.org>
3514 Date: Thu Jan 23 17:19:12 2014 -0800
3516 Rename gi.types.GIObjectMeta to gi.types.GObjectMeta
3518 Rename GIObjectMeta to GObjectMeta reverting it to its original
3520 to commit https://git.gnome.org/browse/pygobject/commit/?id=2624bd2b
3521 That change could have been considered an API break for anyone
3523 gi.types.GObjectMeta since it is essentially public API. Rename
3525 class to _GObjectMetaBase which was previously gi._gobject before
3526 commit 2624bd2b (private API).
3528 gi/module.py | 8 ++++----
3529 gi/types.py | 10 +++++-----
3530 2 files changed, 9 insertions(+), 9 deletions(-)
3532 commit 15fdd827ce4bff847fb35c817c6ea2d3650eec00
3533 Author: Patrick Welche <prlw1@cam.ac.uk>
3534 Date: Thu Jan 23 23:49:51 2014 +0000
3536 build: Add --without-common configure option for package maintainers
3538 https://bugzilla.gnome.org/show_bug.cgi?id=721646
3541 configure.ac | 7 +++++++
3542 gi/Makefile.am | 2 ++
3543 3 files changed, 11 insertions(+)
3545 commit df21dbbc84fa319af2a0f0664de436ca30df616e
3546 Author: Simon Feltman <sfeltman@src.gnome.org>
3547 Date: Thu Jan 16 16:33:41 2014 -0800
3549 tests: Add skipped test for GLib.Source inheritance problems
3551 Add test showing memory problems with sub-classes of GLib.Source.
3553 https://bugzilla.gnome.org/show_bug.cgi?id=722387
3555 tests/test_source.py | 45 +++++++++++++++++++++++++++++++++++++++++++++
3556 1 file changed, 45 insertions(+)
3558 commit 7222a37a4b4955fe6c1dcc86e0eb798d653711e8
3559 Author: Simon Feltman <sfeltman@src.gnome.org>
3560 Date: Wed Jan 15 12:51:57 2014 -0800
3562 Fix reference sharing of gi sub-modules in Python 2
3564 Ensure we add a new reference to sub-modules added to gi._gi. This may
3565 have caused GC errors upon exiting the Python process since a
3567 shared by sys.modules and gi._gi.
3569 https://bugzilla.gnome.org/show_bug.cgi?id=722274
3571 gi/gimodule.c | 11 +++++++++++
3572 1 file changed, 11 insertions(+)
3574 commit 8c838b683220bcbf2091bba97b91ddb56b275aed
3575 Author: Simon Feltman <sfeltman@src.gnome.org>
3576 Date: Tue Jan 14 23:46:44 2014 -0800
3578 demo: Add TreeModel interface implementation demonstration
3580 Add demo which shows how to implement the Gtk.TreeModel interfaces
3584 demos/gtk-demo/demos/TreeView/treemodel_large.py | 143
3585 +++++++++++++++++++++++
3586 1 file changed, 143 insertions(+)
3588 commit 911898bac5d0ad5a42ed9990588bd98871f4a8a4
3589 Author: Simon Feltman <sfeltman@src.gnome.org>
3590 Date: Tue Jan 14 23:33:16 2014 -0800
3592 demo: Remove "Icon View" and "Tree View" directories
3594 demos/gtk-demo/demos/Icon View/__init__.py | 0
3595 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 220 ----------------
3596 demos/gtk-demo/demos/Icon View/iconviewedit.py | 98 --------
3597 demos/gtk-demo/demos/Tree View/__init__.py | 0
3598 demos/gtk-demo/demos/Tree View/liststore.py | 210 ----------------
3599 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 234
3601 .../gtk-demo/demos/Tree View/treemodel_filetree.py | 279
3602 ---------------------
3603 7 files changed, 1041 deletions(-)
3605 commit f89fa08ba756a1c529ff48beb39025f834a249bf
3606 Author: Simon Feltman <sfeltman@src.gnome.org>
3607 Date: Tue Jan 14 23:08:33 2014 -0800
3609 demo: Remove spaces from demo sub-directories
3611 Move "Icon View" to IconView and "Tree View" to TreeView. This
3613 ability to package the demos in tarball releases in future versions.
3615 demos/gtk-demo/demos/IconView/__init__.py | 0
3616 demos/gtk-demo/demos/IconView/iconviewbasics.py | 220 ++++++++++++++++
3617 demos/gtk-demo/demos/IconView/iconviewedit.py | 98 ++++++++
3618 demos/gtk-demo/demos/TreeView/__init__.py | 0
3619 demos/gtk-demo/demos/TreeView/liststore.py | 210 ++++++++++++++++
3620 .../gtk-demo/demos/TreeView/treemodel_filelist.py | 234
3622 .../gtk-demo/demos/TreeView/treemodel_filetree.py | 279
3623 +++++++++++++++++++++
3624 7 files changed, 1041 insertions(+)
3626 commit 0b7d85f3379adfb3cf1122588e333707ee089e46
3627 Author: Simon Feltman <sfeltman@src.gnome.org>
3628 Date: Tue Jan 14 14:28:52 2014 -0800
3630 build: Remove _glib directory include from testhelper CFLAGS
3632 tests/Makefile.am | 2 +-
3633 1 file changed, 1 insertion(+), 1 deletion(-)
3635 commit 35b5a85aad91f48935dd49fee60d69e6184eff2c
3636 Author: Colin Walters <walters@verbum.org>
3637 Date: Tue Jan 14 16:33:38 2014 -0500
3639 build: Set PLATFORM_VERSION again to 3.0
3641 We are installing headers to:
3642 /usr/include/pygobject-$(PLATFORM_VERSION)/pygobject.h
3644 If the variable isn't set, then things attempting to use pygobject
3647 This was a regression from a build system refactoring.
3649 gi/Makefile.am | 2 ++
3650 1 file changed, 2 insertions(+)
3652 commit f2a79904ff4d60bff657bfbfd6a2ce8ab9307848
3653 Author: Simon Feltman <sfeltman@src.gnome.org>
3654 Date: Tue Jan 14 12:54:42 2014 -0800
3656 Fix Python 2 build warning for module definitions
3658 Define PYGLIB_MODULE_ERROR_RETURN as NULL for both Python 2 and
3660 needed now that the function signature created with
3661 PYGLIB_MODULE_START is
3662 consistent between the two versions.
3664 gi/pyglib-python-compat.h | 5 ++---
3665 1 file changed, 2 insertions(+), 3 deletions(-)
3667 commit 61b4af05646a8f014cfb00a5507fec2deb9aafa6
3668 Author: Simon Feltman <sfeltman@src.gnome.org>
3669 Date: Tue Jan 14 12:26:16 2014 -0800
3671 tests: Run PyFlakes and PEP8 only on SUBDIRS
3673 Move PyFlakes and PEP8 checks into check-local of the root
3675 run these tools on selective subdirs of top_srcdir. This fixes
3677 where vpath build directories within the srcdir would contain links
3679 source files, causing these tools to run multiple times slowing
3683 Makefile.am | 21 ++++++++++++++++++++-
3684 tests/Makefile.am | 6 ------
3685 2 files changed, 20 insertions(+), 7 deletions(-)
3687 commit 9a7f6f08c1dc0eb0dd91437da8ac429fbafc8a4a
3688 Author: Simon Feltman <sfeltman@src.gnome.org>
3689 Date: Tue Jan 14 12:25:09 2014 -0800
3691 Remove _glib include path from gi module target
3693 gi/Makefile.am | 7 ++-----
3694 1 file changed, 2 insertions(+), 5 deletions(-)
3696 commit 8afd7e880a72a44e6ea46c763bab82146fd75c96
3697 Author: Simon Feltman <sfeltman@src.gnome.org>
3698 Date: Wed Jan 8 19:22:08 2014 -0800
3700 Move Python glib options module into gi package
3702 Move gi/_glib/option.py into gi/_option.py. Remove gi/_glib since
3706 https://bugzilla.gnome.org/show_bug.cgi?id=712197
3710 gi/Makefile.am | 1 -
3711 gi/_glib/Makefile.am | 21 ---
3712 gi/_glib/__init__.py | 20 ---
3713 gi/_glib/option.py | 363
3714 ------------------------------------------------
3716 ++++++++++++++++++++++++++++++++++++++++++++++++
3717 gi/overrides/GLib.py | 2 +-
3718 gi/overrides/GObject.py | 2 +-
3719 9 files changed, 367 insertions(+), 409 deletions(-)
3721 commit ad565e5bbc9d12607c39be9479bc671a8f2de6e3
3722 Author: Simon Feltman <sfeltman@src.gnome.org>
3723 Date: Wed Jan 8 18:57:58 2014 -0800
3725 Merge static PyGLib module into PyGI
3727 Remove gi._glib._glib as a separately compiled module. Move all C
3729 pygobject/gi. Remove compilation and use of libpyglib-gi-2.0-python.so
3731 shared dependency since we do not distribute header files for it.
3732 Remove unused threading macros.
3734 https://bugzilla.gnome.org/show_bug.cgi?id=712197
3736 gi/Makefile.am | 16 +-
3737 gi/_glib/Makefile.am | 74 +------
3738 gi/_glib/__init__.py | 5 -
3739 gi/_glib/glibmodule.c | 103 ---------
3740 gi/_glib/option.py | 2 +-
3741 gi/_glib/pyglib-private.h | 49 -----
3742 gi/_glib/pyglib-python-compat.h | 195 -----------------
3743 gi/_glib/pyglib.c | 475
3744 ----------------------------------------
3745 gi/_glib/pyglib.h | 77 -------
3746 gi/_glib/pygoptioncontext.c | 337 ----------------------------
3747 gi/_glib/pygoptioncontext.h | 39 ----
3748 gi/_glib/pygoptiongroup.c | 298 -------------------------
3749 gi/_glib/pygoptiongroup.h | 42 ----
3750 gi/_glib/pygspawn.c | 259 ----------------------
3751 gi/_glib/pygspawn.h | 32 ---
3753 gi/glibmodule.c | 77 +++++++
3754 gi/gobjectmodule.c | 5 +-
3755 gi/overrides/GLib.py | 2 +-
3756 gi/pyglib-private.h | 43 ++++
3757 gi/pyglib-python-compat.h | 195 +++++++++++++++++
3758 gi/pyglib.c | 402 ++++++++++++++++++++++++++++++++++
3759 gi/pyglib.h | 67 ++++++
3760 gi/pygoptioncontext.c | 337 ++++++++++++++++++++++++++++
3761 gi/pygoptioncontext.h | 39 ++++
3762 gi/pygoptiongroup.c | 298 +++++++++++++++++++++++++
3763 gi/pygoptiongroup.h | 42 ++++
3764 gi/pygspawn.c | 259 ++++++++++++++++++++++
3765 gi/pygspawn.h | 32 +++
3766 29 files changed, 1819 insertions(+), 1991 deletions(-)
3768 commit 2624bd2b4a465a2d234951dd5b855fe8a0d46e1c
3769 Author: Simon Feltman <sfeltman@src.gnome.org>
3770 Date: Thu Oct 31 03:13:53 2013 -0700
3772 Move gobject sub-module Python files into the main gi package
3774 This moves the signalhelper, propertyhelper, and constants Python
3776 from gi/_gobject into gi. Keep gi/_gobject/__init__.py around because
3778 still needed to maintain the "_PyGObject_API" exposed by
3780 allows external modules compiled with prior versions of PyGObject to
3781 continue working with newer versions.
3783 https://bugzilla.gnome.org/show_bug.cgi?id=712197
3786 gi/__init__.py | 19 +-
3787 gi/_constants.py | 49 +++++
3788 gi/_gobject/Makefile.am | 5 +-
3789 gi/_gobject/__init__.py | 42 +----
3790 gi/_gobject/constants.py | 50 -----
3791 gi/_gobject/propertyhelper.py | 417
3792 ------------------------------------------
3793 gi/_gobject/signalhelper.py | 259 --------------------------
3794 gi/_propertyhelper.py | 417
3795 ++++++++++++++++++++++++++++++++++++++++++
3796 gi/_signalhelper.py | 258 ++++++++++++++++++++++++++
3797 gi/module.py | 16 +-
3798 gi/overrides/GObject.py | 7 +-
3799 gi/overrides/__init__.py | 2 +-
3800 gi/types.py | 41 ++++-
3801 pygtkcompat/pygtkcompat.py | 4 +-
3802 tests/test_gi.py | 2 +-
3803 tests/test_gobject.py | 4 +-
3804 tests/test_properties.py | 2 +-
3805 tests/test_signal.py | 2 +-
3806 19 files changed, 796 insertions(+), 805 deletions(-)
3808 commit d3e8946dbb23197a2e9d7de351a7b9cd04d360b9
3809 Author: Simon Feltman <sfeltman@src.gnome.org>
3810 Date: Thu Oct 31 02:22:03 2013 -0700
3812 Merge gobject static code into the gi module
3814 Remove gi._gobject._gobject as a separately compiled static module and
3815 move all the files into gi._gi.
3816 Remove dead module initialization macros from "pyglib-python-compat.h"
3818 https://bugzilla.gnome.org/show_bug.cgi?id=712197
3820 gi/Makefile.am | 31 +-
3821 gi/_glib/pyglib-python-compat.h | 62 +-
3822 gi/_gobject/Makefile.am | 69 +-
3823 gi/_gobject/__init__.py | 4 +-
3824 gi/_gobject/constants.py | 3 +-
3825 gi/_gobject/gobjectmodule.c | 2213
3826 -----------------------------------
3827 gi/_gobject/propertyhelper.py | 16 +-
3828 gi/_gobject/pygboxed.c | 235 ----
3829 gi/_gobject/pygboxed.h | 27 -
3830 gi/_gobject/pygenum.c | 371 ------
3831 gi/_gobject/pygenum.h | 27 -
3832 gi/_gobject/pygflags.c | 497 --------
3833 gi/_gobject/pygflags.h | 27 -
3834 gi/_gobject/pyginterface.c | 124 --
3835 gi/_gobject/pyginterface.h | 40 -
3836 gi/_gobject/pygobject-private.h | 204 ----
3837 gi/_gobject/pygobject.c | 2473
3838 ---------------------------------------
3839 gi/_gobject/pygobject.h | 636 ----------
3840 gi/_gobject/pygparamspec.c | 418 -------
3841 gi/_gobject/pygparamspec.h | 31 -
3842 gi/_gobject/pygpointer.c | 198 ----
3843 gi/_gobject/pygpointer.h | 27 -
3844 gi/_gobject/pygtype.c | 1927 ------------------------------
3845 gi/_gobject/pygtype.h | 28 -
3846 gi/_gobject/signalhelper.py | 3 +-
3847 gi/gimodule.c | 13 +-
3848 gi/gobjectmodule.c | 2213
3849 +++++++++++++++++++++++++++++++++++
3851 gi/pygboxed.c | 235 ++++
3852 gi/pygboxed.h | 27 +
3853 gi/pygenum.c | 371 ++++++
3855 gi/pygflags.c | 497 ++++++++
3856 gi/pygflags.h | 27 +
3857 gi/pygi-argument.c | 3 +-
3858 gi/pygi-boxed.c | 2 +-
3859 gi/pygi-ccallback.c | 2 +-
3860 gi/pygi-foreign.c | 2 +-
3861 gi/pygi-info.c | 2 +-
3862 gi/pygi-marshal-to-py.c | 3 +-
3863 gi/pygi-private.h | 2 +-
3864 gi/pygi-source.c | 3 +-
3865 gi/pygi-struct.c | 2 +-
3867 gi/pyginterface.c | 124 ++
3868 gi/pyginterface.h | 40 +
3869 gi/pygobject-private.h | 205 ++++
3870 gi/pygobject.c | 2473
3871 +++++++++++++++++++++++++++++++++++++++
3872 gi/pygobject.h | 636 ++++++++++
3873 gi/pygparamspec.c | 418 +++++++
3874 gi/pygparamspec.h | 33 +
3875 gi/pygpointer.c | 198 ++++
3876 gi/pygpointer.h | 27 +
3877 gi/pygtype.c | 1927 ++++++++++++++++++++++++++++++
3880 tests/Makefile.am | 2 +-
3881 57 files changed, 9594 insertions(+), 9649 deletions(-)
3883 commit a329f559002f2be0898309c9d81cdf2c34aef158
3884 Author: Simon Feltman <sfeltman@src.gnome.org>
3885 Date: Tue Jan 14 10:15:53 2014 -0800
3887 tests: Fix test_torture_profile to return a number from its callback
3889 Return a number from rather than None from the callback passed to
3890 regress_test_torture_signature_2. This fixes a TypeError being
3892 callback return argument marshaling which was ignored by the test
3895 tests/test_everything.py | 2 +-
3896 1 file changed, 1 insertion(+), 1 deletion(-)
3898 commit a50a8386aae54dace7e46569415fdef85758fb9c
3899 Author: Martin Pitt <martinpitt@gnome.org>
3900 Date: Tue Jan 14 08:53:25 2014 +0100
3902 Add test for callback user data arguments with following arguments
3904 In this case we can't use the varargs userdata handling. Provides
3906 https://bugzilla.gnome.org/show_bug.cgi?id=722104.
3908 tests/test_everything.py | 48
3909 ++++++++++++++++++++++++++++++++++++++++++++++++
3910 1 file changed, 48 insertions(+)
3912 commit 3563a2d21a9e08a802d1cf30e04ba340e0bcfb49
3913 Author: Simon Feltman <sfeltman@src.gnome.org>
3914 Date: Mon Jan 13 08:19:02 2014 -0800
3916 valgrind: Add suppression files for python3.3 and python3.3dm
3918 Add new suppression files for Python 3. Use PYTHON_BASENAME for the
3919 suppression filename in the various make check.valgrind
3921 python.supp to python2.7.supp
3923 tests/Makefile.am | 6 +-
3924 tests/python.supp | 387 ----------------------------------------
3925 tests/python2.7.supp | 387 ++++++++++++++++++++++++++++++++++++++++
3926 tests/python3.3.supp | 471
3927 +++++++++++++++++++++++++++++++++++++++++++++++++
3928 tests/python3.3dm.supp | 471
3929 +++++++++++++++++++++++++++++++++++++++++++++++++
3930 5 files changed, 1332 insertions(+), 390 deletions(-)
3932 commit 5c6f8afed5f6aa05d65d64509a2c9b8041a66b05
3933 Author: Simon Feltman <sfeltman@src.gnome.org>
3934 Date: Mon Jan 13 18:53:55 2014 -0800
3936 Makefile.am: Fix NEWS and ChangeLog generation under vpath builds
3938 Make sure NEWS generation uses top_srcdir to allow "make release-news"
3940 work under a vpath build (directory outside the source tree).
3941 Update ChangeLog target to use $(top_srcdir)/missing. This fixes
3943 where running "make dist" under a vpath build directory would
3947 Makefile.am | 6 +++---
3948 1 file changed, 3 insertions(+), 3 deletions(-)
3950 commit 056325cba3c86aefcf45ba10f2b7cf86e9fc1800
3951 Author: Simon Feltman <sfeltman@src.gnome.org>
3952 Date: Mon Jan 13 18:53:02 2014 -0800
3954 Update HACKING to include better release tagging instructions
3956 HACKING | 15 ++++++++-------
3957 1 file changed, 8 insertions(+), 7 deletions(-)
3959 commit c0a43d259c003c5d06db23debd0675b87e805b74
3960 Author: Simon Feltman <sfeltman@src.gnome.org>
3961 Date: Mon Jan 13 17:20:17 2014 -0800
3963 configure.ac: post release version bump to 3.11.5
3965 NEWS | 16 ++++++++++++++++
3967 2 files changed, 17 insertions(+), 1 deletion(-)
3969 commit 44d003798d9d14dde16fb44c69b94a411bdee26b
3970 Author: Simon Feltman <sfeltman@src.gnome.org>
3971 Date: Mon Jan 13 16:51:41 2014 -0800
3973 Fix mid-argument list callback user data expecting a tuple
3975 Ensure user data arguments are always packed into a tuple during
3977 marshaling. This fixes cases where there is mid-argument user data
3979 not in the form of a variable length tuple.
3981 https://bugzilla.gnome.org/show_bug.cgi?id=722104
3983 gi/pygi-marshal-from-py.c | 16 +++++++++++++++-
3984 1 file changed, 15 insertions(+), 1 deletion(-)
3986 commit 415b240e3baab522f3bf9752995610f950ba609e
3987 Author: Simon Feltman <sfeltman@src.gnome.org>
3988 Date: Tue Oct 15 03:57:52 2013 -0700
3990 Remove special case GObject base class check when creating GI classes
3992 Replace explicit GObject.Object string name check when calculating the
3993 introspection class hierarchy with a more generalized technique. This
3995 any C based wrapper of a GType to "underride" an introspection class
3996 automatically. This currently only handles the case of GObject.Object,
3998 will be used for fundamentals and GParamSpec.
4000 https://bugzilla.gnome.org/show_bug.cgi?id=631901
4002 gi/module.py | 17 +++++++++++------
4003 1 file changed, 11 insertions(+), 6 deletions(-)
4005 commit 9b02b29016958791dfa9d7ebfc6c2ec44ab5690d
4006 Author: Simon Feltman <sfeltman@src.gnome.org>
4007 Date: Tue Jan 7 09:16:54 2014 -0800
4009 overrides: Fix __repr__ for various Gdk structs
4011 Change __repr__ overrides for Gdk.Color, Gdk.RGBA, and Gdk.Atom to
4013 string reprentation that is valid Python given an expected
4015 See: http://docs.python.org/2/reference/datamodel.html#object.__repr__
4017 gi/overrides/Gdk.py | 10 +++++-----
4018 tests/test_atoms.py | 7 +++++--
4019 tests/test_overrides_gdk.py | 9 +++++++++
4020 3 files changed, 19 insertions(+), 7 deletions(-)
4022 commit f6a87935596a3b59c238a5572b288f34691b53d1
4023 Author: Simon Feltman <sfeltman@src.gnome.org>
4024 Date: Tue Jan 7 07:31:22 2014 -0800
4026 docs: Fix array length argument skipping with preceding out arguments
4028 Remove split_function_info_args and use a list of all arguments for
4029 generating skipped index lists. Determine argument skipping based
4031 full argument list in each in/inout and out/inout argument list
4033 This fixes a problem where out arguments preceding array length
4035 would still show array length arguments in the docstring. This was
4037 index mismatch when using split lists instead of list of all
4040 gi/docstring.py | 38 ++++++++++++--------------------------
4041 tests/test_docstring.py | 37 +++++++++++++++----------------------
4042 2 files changed, 27 insertions(+), 48 deletions(-)
4044 commit f114edc0a0afa64077a13459034afc4255b7a3f1
4045 Author: Simon Feltman <sfeltman@src.gnome.org>
4046 Date: Mon Jan 6 22:10:47 2014 -0800
4048 overrides: Remove GLib.Source.attach
4050 Remove GLib.Source.attach override now that tail end allow-none
4052 default to None when not specified.
4054 gi/overrides/GLib.py | 5 -----
4055 tests/test_glib.py | 7 +++++++
4056 2 files changed, 7 insertions(+), 5 deletions(-)
4058 commit 50ab6a8b70cbe7b67fc8d804b7773bb2c9b47251
4059 Author: Simon Feltman <sfeltman@src.gnome.org>
4060 Date: Mon Jan 6 21:42:09 2014 -0800
4062 overrides: Remove Gtk overrides with tail end allow-none keywords
4064 Remove overrides for Widget.render_icon, TextIter.begins_tag,
4066 toggles_tag, and TreeModel.filter_new. These overrides added an
4067 optional keyword=None for allow-none arguments. This is now implicitly
4068 accepted by the PyGObject machinery so the overrides can go away.
4070 gi/overrides/Gtk.py | 16 ----------------
4071 tests/test_overrides_gtk.py | 11 +++++++++++
4072 2 files changed, 11 insertions(+), 16 deletions(-)
4074 commit 2d388fcfca4bf1258d01b4491b4168589f3dd2b0
4075 Author: Simon Feltman <sfeltman@src.gnome.org>
4076 Date: Mon Jan 6 21:22:41 2014 -0800
4078 overrides: Remove Pango.Context.get_metrics
4080 Remove the override for Pango.Context and the get_metrics method. This
4082 be done now that tail end method arguments with "allow-none"
4084 defaulted to use None/NULL.
4086 gi/overrides/Pango.py | 9 ---------
4087 tests/test_overrides_pango.py | 12 ++++++++++++
4088 2 files changed, 12 insertions(+), 9 deletions(-)
4090 commit 43b35b1df3b6c0d8679f3cc0b08ef6ddcb276331
4091 Author: Simon Feltman <sfeltman@src.gnome.org>
4092 Date: Mon Jan 6 17:35:04 2014 -0800
4094 Add enum and flags member methods
4096 Add all methods from GIEnumInfo to both enums and flags classes.
4098 https://bugzilla.gnome.org/show_bug.cgi?id=693099
4101 tests/test_gi.py | 9 +++++++++
4102 2 files changed, 11 insertions(+)
4104 commit 731a2cb4372084eac6cfe5bf190f6efa730e97e4
4105 Author: Patrick Welche <prlw1@cam.ac.uk>
4106 Date: Mon Jan 6 22:31:48 2014 +0000
4108 python.m4: g/c JD_PYTHON_CHECK_VERSION
4110 We currently require automake 1.11.1, and its AM_PYTHON_CHECK_VERSION
4111 is identical (made here).
4113 https://bugzilla.gnome.org/show_bug.cgi?id=721662
4115 configure.ac | 4 ++--
4116 m4/python.m4 | 23 ++---------------------
4117 2 files changed, 4 insertions(+), 23 deletions(-)
4119 commit aaaead18e2167c2becb309f1d9ae199222c0256b
4120 Author: Simon Feltman <sfeltman@src.gnome.org>
4121 Date: Sat Jan 4 16:31:56 2014 -0800
4123 Support union creation with PyGIStruct
4125 Add additional case for allowing the creation bare unions wrapped with
4126 PyGIStruct. This is needed because PyGIStruct wraps both GIStruct and
4129 gi/pygi-struct.c | 39 ++++++++++++++++++++++++++++++++++-----
4130 tests/test_repository.py | 13 +++++++++++++
4131 2 files changed, 47 insertions(+), 5 deletions(-)
4133 commit 64f15961b637a7e1388bd8d2cd08f04fa20e4de4
4134 Author: Simon Feltman <sfeltman@src.gnome.org>
4135 Date: Sat Jan 4 16:07:44 2014 -0800
4137 Fix crash in error handling when creating struct with mismatched
4140 Error handling code was attempting to get the PyType of a pointer to a
4141 pointer. Use the correct amount of indirection so an exception is
4143 intended rather than a segfault.
4145 gi/pygi-info.c | 2 +-
4146 1 file changed, 1 insertion(+), 1 deletion(-)
4148 commit 07abf8343bbeac6f36d370ced654fa6506b22175
4149 Author: Simon Feltman <sfeltman@src.gnome.org>
4150 Date: Wed Jan 1 20:23:17 2014 -0800
4152 docs: Skip display of default constructor for disguised structs
4154 Structs which have zero length should now show a default constructor.
4155 Structs with a length should not show keyword arguments in the default
4158 https://bugzilla.gnome.org/show_bug.cgi?id=708060
4160 gi/docstring.py | 9 ++++++++-
4161 tests/test_docstring.py | 18 ++++++++++++++++--
4162 2 files changed, 24 insertions(+), 3 deletions(-)
4164 commit e8359847136e9ad76a670a382c0abc61cb4e81d3
4165 Author: Simon Feltman <sfeltman@src.gnome.org>
4166 Date: Wed Jan 1 19:57:06 2014 -0800
4168 Cleanup disguised struct constructor error and add it to boxed
4170 Give a cleaner error message when an attempt is made to create
4172 struct which also gives a hint to look at the pydoc. Add similar
4174 disguised boxed/unions.
4176 https://bugzilla.gnome.org/show_bug.cgi?id=647249
4178 gi/pygi-boxed.c | 17 ++++++++++++++---
4179 gi/pygi-struct.c | 2 +-
4180 tests/test_everything.py | 1 -
4181 tests/test_glib.py | 4 ++++
4182 4 files changed, 19 insertions(+), 5 deletions(-)
4184 commit 9ce527b09ed032f2cc83c2d83de8bb6d7b19be02
4185 Author: Simon Feltman <sfeltman@src.gnome.org>
4186 Date: Wed Jan 1 19:54:59 2014 -0800
4188 docs: List default constructor in doc strings
4190 Add default constructor to class docs strings as:
4191 Object(**properties)
4193 https://bugzilla.gnome.org/show_bug.cgi?id=708060
4195 gi/docstring.py | 10 ++++------
4196 1 file changed, 4 insertions(+), 6 deletions(-)
4198 commit 9bfd73e7c3f2ec4975b3e530ba7c2cc55ee793d5
4199 Author: Simon Feltman <sfeltman@src.gnome.org>
4200 Date: Wed Jan 1 17:34:32 2014 -0800
4202 docs: List constructors in object and struct doc strings
4204 Add type dispatching to gi.docstring documentation generator for
4206 of StructInfo and ObjectInfo. Add lazy doc string generation to
4207 Object and Struct meta classes by using a property for __doc__. This
4209 available constructors immediately in all GObject.Object and Struct
4215 Button(**properties)
4217 new_from_icon_name(icon_name:str, size:int)
4218 new_from_stock(stock_id:str)
4219 new_with_label(label:str)
4220 new_with_mnemonic(label:str)
4222 https://bugzilla.gnome.org/show_bug.cgi?id=708060
4224 gi/docstring.py | 36 +++++++++++++++++++++++++++++-------
4225 gi/types.py | 9 +++++++++
4226 tests/test_docstring.py | 8 ++++++++
4227 3 files changed, 46 insertions(+), 7 deletions(-)
4229 commit 44612636575dd93c97210a7255c4490e2c84db67
4230 Author: Simon Feltman <sfeltman@src.gnome.org>
4231 Date: Wed Jan 1 17:10:15 2014 -0800
4233 docs: Cleanup PyGIBaseInfo repr
4235 Remove angle brackets and pointer address from
4236 PyGIBaseInfo.__repr__. This
4237 cleans up documentation and makes it easier to read.
4239 gi/pygi-info.c | 5 ++---
4240 1 file changed, 2 insertions(+), 3 deletions(-)
4242 commit 826c0e63eabac68fd665335950d311988a1405e3
4243 Author: Simon Feltman <sfeltman@src.gnome.org>
4244 Date: Tue Dec 31 21:45:21 2013 -0800
4246 docs: Add return values and skip implicit out arguments in functions
4248 Add gi.CallableInfo.skip_return static binding for testing if
4250 value should show up in docs. Skip implicit list index arguments
4254 https://bugzilla.gnome.org/show_bug.cgi?id=697356
4256 gi/docstring.py | 26 +++++++++++++++++++++-----
4257 gi/pygi-info.c | 7 +++++++
4258 tests/test_docstring.py | 6 ++++++
4259 3 files changed, 34 insertions(+), 5 deletions(-)
4261 commit aeccdaddf32dc7b48a79a1cd95a421a26895c9b2
4262 Author: Simon Feltman <sfeltman@src.gnome.org>
4263 Date: Tue Dec 31 21:15:27 2013 -0800
4265 docs: Replace usage of functools.wraps with a custom version
4267 Using functools.wraps in overrides would cause docstring evaluation
4269 can hurt performance during overrides loading. Add custom wraps
4271 which only copies __name__ and __module__ attributes. Remove function
4272 wrapping used within gi.overrides.overridefunc because the wrapping
4274 doing anything, this preserves __doc__ ability without causing an
4278 https://bugzilla.gnome.org/show_bug.cgi?id=697356
4280 gi/overrides/GObject.py | 3 +--
4281 gi/overrides/__init__.py | 21 ++++++++++++---------
4282 2 files changed, 13 insertions(+), 11 deletions(-)
4284 commit cebf5314f195bf4bd6ee19a1da3bbb50c2c9bbd6
4285 Author: Simon Feltman <sfeltman@src.gnome.org>
4286 Date: Tue Dec 31 19:42:02 2013 -0800
4288 docs: Move GIArgInfo.get_pytype_hint into gi.docstring
4290 Move the C implementation of pytype hinting into pure Python. Now that
4291 doc strings are lazily evaluated we can simplify this tedious bit of C
4292 code with Python. This is precursory work for getting return
4294 function doc strings.
4296 https://bugzilla.gnome.org/show_bug.cgi?id=697356
4298 gi/docstring.py | 50 ++++++++++++++++++++++++++++++++++++++---
4299 gi/pygi-info.c | 49 ----------------------------------------
4301 ------------------------------------------------
4302 gi/pygi-type.h | 2 --
4303 tests/test_docstring.py | 8 ++++---
4304 tests/test_repository.py | 1 -
4305 6 files changed, 52 insertions(+), 116 deletions(-)
4307 commit 28a178e385e32c56910f1c430b370a8872218081
4308 Author: Simon Feltman <sfeltman@src.gnome.org>
4309 Date: Tue Dec 31 17:50:36 2013 -0800
4311 docs: Skip implicit array length args when building function doc
4314 https://bugzilla.gnome.org/show_bug.cgi?id=697356
4316 gi/docstring.py | 8 ++++++--
4317 tests/test_docstring.py | 4 ++++
4318 2 files changed, 10 insertions(+), 2 deletions(-)
4320 commit 2ef59b89311529e34366d4d7aa8f8ae9a8ea6371
4321 Author: Simon Feltman <sfeltman@src.gnome.org>
4322 Date: Tue Dec 31 13:41:20 2013 -0800
4324 gtk-demo: Avoid crash in CSS demos
4326 Avoid a potential crash in the CSS demos where the text editing
4328 out of sync with the last good CSS parsing buffer. In the case of CSS
4329 warnings, we get a parsing-error callback but no exception is raised.
4330 This would cause the buffers to become out of sync and accessing
4332 information from the parsing-error section would crash the text
4334 to an out of range iterator being created.
4336 demos/gtk-demo/demos/Css/css_basics.py | 31
4337 +++++++++++++++++++++--------
4338 demos/gtk-demo/demos/Css/css_multiplebgs.py | 31
4339 +++++++++++++++++++++--------
4340 2 files changed, 46 insertions(+), 16 deletions(-)
4342 commit b81f9c9b4e62d8cf589576aba8d9abbac4c80953
4343 Author: Simon Feltman <sfeltman@src.gnome.org>
4344 Date: Tue Dec 31 02:05:46 2013 -0800
4346 gtk-demo: Add info bar and better error handling to CSS demos
4348 Use an info bar for displaying CSS parsing errors. Store the last good
4349 stylesheet text for use as a backup when a parsing error occures. This
4351 a seamless look while typing changes into the text editor.
4353 https://bugzilla.gnome.org/show_bug.cgi?id=719722
4355 demos/gtk-demo/demos/Css/css_basics.py | 28
4356 +++++++++++++++++++++-------
4357 demos/gtk-demo/demos/Css/css_multiplebgs.py | 29
4358 ++++++++++++++++++++++-------
4359 2 files changed, 43 insertions(+), 14 deletions(-)
4361 commit becb56734e13df182fd31cfe46c465477dfc4d2c
4362 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
4363 Date: Mon Dec 30 16:36:28 2013 +0100
4365 gtk-demo: Add CSS demos
4367 Add a couple of demos demostrating the use of CSS, the css files are
4368 stored into a GResource binary file compiled with
4369 glib-compile-resources,
4370 the comments in gtk-demo.py explain the usage of GResource.
4372 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
4374 https://bugzilla.gnome.org/show_bug.cgi?id=719722
4377 demos/gtk-demo/demos/Css/__init__.py | 0
4378 demos/gtk-demo/demos/Css/css_accordion.py | 94 +++++++++++++++
4379 demos/gtk-demo/demos/Css/css_basics.py | 119 +++++++++++++++++++
4380 demos/gtk-demo/demos/Css/css_multiplebgs.py | 157
4381 ++++++++++++++++++++++++++
4382 demos/gtk-demo/demos/data/brick.png | Bin 0 -> 5043 bytes
4383 demos/gtk-demo/demos/data/brick2.png | Bin 0 -> 10713 bytes
4384 demos/gtk-demo/demos/data/css_accordion.css | 52 +++++++++
4385 demos/gtk-demo/demos/data/css_basics.css | 22 ++++
4386 demos/gtk-demo/demos/data/css_multiplebgs.css | 136
4387 ++++++++++++++++++++++
4388 demos/gtk-demo/demos/data/cssview.css | 41 +++++++
4389 demos/gtk-demo/demos/data/demo.gresource | Bin 0 -> 31110 bytes
4390 demos/gtk-demo/demos/data/demo.gresource.xml | 18 +++
4391 demos/gtk-demo/demos/data/reset.css | 68 +++++++++++
4392 demos/gtk-demo/gtk-demo.py | 16 ++-
4393 15 files changed, 723 insertions(+), 1 deletion(-)
4395 commit 2ff095ea0b0c05fbf6cc332eeadf26cfeb9e69f7
4396 Author: Colin Watson <cjwatson@ubuntu.com>
4397 Date: Tue Dec 24 22:19:02 2013 +0000
4399 build: Avoid clash between gi/types.py and stdlib
4401 Use non-recursive make for the Python modules in gi/ to work around a
4402 clash between gi/types.py and the standard library's types module when
4405 https://bugzilla.gnome.org/show_bug.cgi?id=721025
4407 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
4409 Makefile.am | 24 ++++++++++++++++++++++++
4410 gi/Makefile.am | 20 ++------------------
4411 2 files changed, 26 insertions(+), 18 deletions(-)
4413 commit b9716853fb7727fcf2b5ea59a3368d5a5b2e6be2
4414 Author: Simon Feltman <sfeltman@src.gnome.org>
4415 Date: Mon Dec 16 04:17:28 2013 -0800
4417 configure.ac: post-release bump to 3.11.4
4420 1 file changed, 1 insertion(+), 1 deletion(-)
4422 commit 2ec00c2563bebff1e55faf97c67e44fda862ad5b
4423 Author: Simon Feltman <sfeltman@src.gnome.org>
4424 Date: Mon Dec 16 04:10:54 2013 -0800
4429 1 file changed, 4 insertions(+)
4431 commit 7fb55f93e207378992cd9f3e0663604a4de2213f
4432 Author: Simon Feltman <sfeltman@src.gnome.org>
4433 Date: Thu Dec 12 01:35:11 2013 -0800
4435 Replace usage of PyGIBoxed_Type with PyGIStruct_Type
4437 Remove empty definition of PyGIBoxed_Type and use PyGIStruct_Type
4439 place for GI_INFO_TYPE_BOXED based infos in repositories. As noted in
4440 the docs: "GI_INFO_TYPE_BOXED boxed, see GIStructInfo or GIUnionInfo"
4441 we can use the GIStructInfo API for boxed types because we also
4443 base classes on GType checks as seen in:
4444 https://git.gnome.org/browse/pygobject/tree/gi/module.py?id=3.11.2#n186
4445 This fixes some of the issues noted in bug 581525.
4447 https://bugzilla.gnome.org/show_bug.cgi?id=581525
4449 gi/pygi-info.c | 13 +------------
4450 1 file changed, 1 insertion(+), 12 deletions(-)
4452 commit b3c85eec75c62c138c136531ebe49a33351941f0
4453 Author: Simon Feltman <sfeltman@src.gnome.org>
4454 Date: Sun Nov 17 20:12:50 2013 -0800
4456 configure.ac: post release version bump to 3.11.3
4459 1 file changed, 1 insertion(+), 1 deletion(-)
4461 commit d1314af8f237a634dbfefb0a1c319f910d3d8765
4462 Author: Simon Feltman <sfeltman@src.gnome.org>
4463 Date: Sun Nov 17 20:04:49 2013 -0800
4468 1 file changed, 6 insertions(+)
4470 commit 6fc3d977f17397e514aed492055e93d03c410f60
4471 Author: Simon Feltman <sfeltman@src.gnome.org>
4472 Date: Tue Nov 12 23:04:50 2013 -0800
4474 gtk-demo: Fix pyflakes error after recent commit
4476 demos/gtk-demo/demos/pixbuf.py | 2 +-
4477 1 file changed, 1 insertion(+), 1 deletion(-)
4479 commit a309b3baf5ee99139cc2d1817339233e24391bc2
4480 Author: Simon Feltman <sfeltman@src.gnome.org>
4481 Date: Tue Nov 12 18:41:35 2013 -0800
4483 gkt-demo: Change main info/source notebook into a GtkStack
4485 Use the new in 3.10 GtkStack and GtkStackSwitcher for switching
4487 and Source tabs. Beyond giving a newer look and feel to the demo,
4489 provides an example for how to use a GtkStack.
4491 demos/gtk-demo/gtk-demo.py | 23 +++++++++++++++++------
4492 1 file changed, 17 insertions(+), 6 deletions(-)
4494 commit 69ff43bf6292fb3ddaea027cfc595139c4f1655d
4495 Author: Simon Feltman <sfeltman@src.gnome.org>
4496 Date: Tue Nov 12 19:32:18 2013 -0800
4498 gtk-demo: Cleanup deprecated calls throughout demo code
4500 Specify constructor arguments as keyword args for various object
4501 creation calls. Update combobox demo to use bind_property instead
4503 signal connections with update callbacks.
4505 demos/gtk-demo/demos/Entry/entry_buffer.py | 6 ++---
4506 demos/gtk-demo/demos/Entry/entry_completion.py | 6 ++---
4507 demos/gtk-demo/demos/Entry/search_entry.py | 8 +++---
4508 demos/gtk-demo/demos/Tree View/liststore.py | 8 +++---
4509 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 2 +-
4510 .../gtk-demo/demos/Tree View/treemodel_filetree.py | 2 +-
4511 demos/gtk-demo/demos/appwindow.py | 4 +--
4512 demos/gtk-demo/demos/combobox.py | 30
4513 +++-------------------
4514 demos/gtk-demo/demos/dialogs.py | 26
4516 demos/gtk-demo/demos/expander.py | 9 +++----
4517 demos/gtk-demo/demos/images.py | 2 +-
4518 demos/gtk-demo/demos/infobars.py | 23 +++++++++--------
4519 demos/gtk-demo/demos/links.py | 10 ++++----
4520 demos/gtk-demo/demos/menus.py | 4 +--
4521 demos/gtk-demo/demos/pickers.py | 8 +++---
4522 demos/gtk-demo/demos/pixbuf.py | 4 +--
4523 demos/gtk-demo/demos/rotatedtext.py | 2 +-
4524 17 files changed, 64 insertions(+), 90 deletions(-)
4526 commit 890fb7b97823985d5c800284ead43a49174db244
4527 Author: Simon Feltman <sfeltman@src.gnome.org>
4528 Date: Tue Nov 12 18:19:34 2013 -0800
4530 Revert TreeStore and ListStore initializer replacements
4532 Revert changes to Tree/ListStore where the __init__ overrides were
4534 with __new__ overrides which accept column types directly. The
4536 the change is sub-classes of these types can override __init__
4538 passing in their own column types to the super class. These
4540 expect the super class to handle column type setup via __init__
4542 the change described is an API break. This reverts parts of commit:
4543 2f2069c9efcd8f312ce9ffa572df371fbc08822d
4545 gi/overrides/Gtk.py | 10 ++++++----
4546 1 file changed, 6 insertions(+), 4 deletions(-)
4548 commit 795201873a3aae530598f5e16470b6a8d2d55c23
4549 Author: Simon Feltman <sfeltman@src.gnome.org>
4550 Date: Thu Aug 15 20:01:48 2013 -0700
4552 Deprecate Gdk.Cursor constructor dispatching
4554 Give deprecation warning for the overridden __new__ method on
4555 Gdk.Cursor when more than one argument is used. Recommend using
4556 Gdk.Cursor.new_for_display, new_from_pixbuf, and new_from_pixmap
4559 https://bugzilla.gnome.org/show_bug.cgi?id=705810
4561 gi/overrides/Gdk.py | 48
4562 ++++++++++++++++++++++++++-------------------
4563 tests/test_overrides_gdk.py | 17 ++++++++++++----
4564 2 files changed, 41 insertions(+), 24 deletions(-)
4566 commit 2f2069c9efcd8f312ce9ffa572df371fbc08822d
4567 Author: Simon Feltman <sfeltman@src.gnome.org>
4568 Date: Thu Aug 15 19:23:18 2013 -0700
4570 Cleanup overzealous new and init implementations
4572 Remove PyGObject initializer code attempting to set properties on
4573 GObjects that have already been created. There were a number of
4574 overridden __new__ and __init__ methods that stripped away
4575 arguments before calling the base class to work around attempted
4576 property sets and argument count errors (fixing the symptom not
4578 Use Gtk.ListStore/TreeStore.new with __new__ override instead
4579 of __init__ with set_column_types.
4581 https://bugzilla.gnome.org/show_bug.cgi?id=705810
4583 gi/_gobject/gobjectmodule.c | 35 ++++++++++++++---------------------
4584 gi/_gobject/pygobject.c | 16 ++++++++++++++--
4585 gi/overrides/GObject.py | 3 ---
4586 gi/overrides/Gdk.py | 15 ---------------
4587 gi/overrides/Gtk.py | 11 ++++-------
4588 gi/overrides/Pango.py | 5 -----
4589 gi/pygi-boxed.c | 6 ------
4590 7 files changed, 32 insertions(+), 59 deletions(-)
4592 commit 86a37d67455dc5d435ade35f17b27c5de2b288f5
4593 Author: Simon Feltman <sfeltman@src.gnome.org>
4594 Date: Tue Aug 13 18:02:54 2013 -0700
4596 Add deprecation warnings and cleanup class initializer overrides
4598 Print deprecation warnings for calls to class initializers which
4599 don't explicitly specify keywords. Print deprecation warning
4600 for overrides that have renamed keywords (Gtk.Table.rows should
4601 be n_rows). Additionally deprecate non-standard defaults with
4602 initializers (Gtk.SizeGroup.mode defaults to HORIZONTAL in GTK+
4603 and VERTICAL in PyGI).
4604 Remove AboutDialog override because it doesn't do anything.
4606 https://bugzilla.gnome.org/show_bug.cgi?id=705810
4608 gi/overrides/Gio.py | 6 +-
4609 gi/overrides/Gtk.py | 367
4610 ++++++++++++++++++++++----------------------
4611 gi/overrides/__init__.py | 88 +++++++++++
4612 tests/test_gi.py | 75 +++++++++
4613 tests/test_overrides_gtk.py | 95 ++++++++----
4614 5 files changed, 411 insertions(+), 220 deletions(-)
4616 commit d2e9be8e2b3d21b55e1aad3d0b22dcff3421b702
4617 Author: Simon Feltman <sfeltman@src.gnome.org>
4618 Date: Tue Aug 13 17:42:11 2013 -0700
4620 tests: Use explicit keywords args when calling initializers
4622 Replace all usage of GObject creation that relies on positional
4623 arguments from overrides. Positional initializer args will be
4624 deprecated, updating the tests as a first pass proves backwards
4625 and forwards compatibility of the deprecation.
4627 https://bugzilla.gnome.org/show_bug.cgi?id=705810
4629 tests/test_overrides_gtk.py | 107
4630 +++++++++++++++++++++++---------------------
4631 1 file changed, 55 insertions(+), 52 deletions(-)
4633 commit 8342302dac9bf3fcb49ec3ac334dbf014b4db025
4634 Author: Simon Feltman <sfeltman@src.gnome.org>
4635 Date: Tue Nov 12 03:46:08 2013 -0800
4637 Revert "Add type checking to positional Gtk.Box and Gtk.Window
4640 This reverts commit 7193f0509a0ed7da7c810daa6733e34a22db3180.
4642 gi/overrides/Gtk.py | 7 -------
4643 tests/test_overrides_gtk.py | 18 ------------------
4644 tests/test_properties.py | 9 ---------
4645 3 files changed, 34 deletions(-)
4647 commit 1f37340c4623262a2146ec8cd25b487cdf4234bd
4648 Author: Simon Feltman <sfeltman@src.gnome.org>
4649 Date: Sun Nov 10 03:26:10 2013 -0800
4651 Fix dir method for static GParamSpec in Python 3
4653 Add a __dir__ method which lists GParamSpec attributes and remove
4655 getattr which made use of the deprecated __members__ technique for dir
4656 (removed in Python 3). This makes dir(pspec) work again in Python 3.
4658 gi/_gobject/pygparamspec.c | 218
4659 ++++++++++++++++++++++++---------------------
4660 tests/test_gi.py | 10 +++
4661 2 files changed, 126 insertions(+), 102 deletions(-)
4663 commit 7193f0509a0ed7da7c810daa6733e34a22db3180
4664 Author: Martin Pitt <martinpitt@gnome.org>
4665 Date: Tue Nov 5 15:28:12 2013 +0100
4667 Add type checking to positional Gtk.Box and Gtk.Window ctor arguments
4669 Gtk.Box and Gtk.Window are base classes of a lot of widgets. Avoid
4671 when trying to create a subclass of them through the GObject
4673 positional arguments by at least verifying that their type is
4675 you can do things like
4677 chooser = Gtk.FileChooserWidget(Gtk.FileChooserAction.SELECT_FOLDER)
4679 which succeeds, but does not have the desired effect (it sets the
4681 property of the Gtk.Box superclass instead).
4683 https://bugzilla.gnome.org/show_bug.cgi?id=711487
4685 gi/overrides/Gtk.py | 7 +++++++
4686 tests/test_overrides_gtk.py | 18 ++++++++++++++++++
4687 tests/test_properties.py | 9 +++++++++
4688 3 files changed, 34 insertions(+)
4690 commit 79aea2655db11bc9d2c0ad75c87862b2b66da594
4691 Author: Simon Feltman <sfeltman@src.gnome.org>
4692 Date: Mon Nov 4 03:29:57 2013 -0800
4694 Remove overzealous argument checking for callback userdata
4696 Remove check which ensures userdata is None if the callback is None.
4697 This check would need to become more complicated with recent
4699 PyGObject where userdata can be variable (would also need to check
4701 a tuple containing None). Instead of adding more complex checking,
4703 remove the checking as it is unnecessary to begin with.
4705 https://bugzilla.gnome.org/show_bug.cgi?id=711173
4707 gi/pygi-marshal-from-py.c | 7 -------
4708 tests/test_overrides_gtk.py | 11 +++++++----
4709 2 files changed, 7 insertions(+), 11 deletions(-)
4711 commit f32d649b72f865e32cc2b62a54d927b8345da0c8
4712 Author: Martin Pitt <martinpitt@gnome.org>
4713 Date: Mon Oct 28 16:00:57 2013 +0100
4715 configure.ac: post-release bump to 3.11.2
4718 1 file changed, 1 insertion(+), 1 deletion(-)
4720 commit 5bcdb56433d0ba2976f05946c6c5b6ffe3e84901
4721 Author: Martin Pitt <martinpitt@gnome.org>
4722 Date: Mon Oct 28 15:59:51 2013 +0100
4726 NEWS | 27 +++++++++++++++++++++++++++
4727 1 file changed, 27 insertions(+)
4729 commit 65b8f7bd77474e361c80905ec23de6dbde27970c
4730 Author: Simon Feltman <sfeltman@src.gnome.org>
4731 Date: Sun Oct 27 22:09:27 2013 -0700
4733 Fix toggleref safety problems by always enabling the GIL
4735 Call PyEval_InitThreads for the base gi module import. This forces the
4736 Python internals create the GIL and always support threading with the
4737 various thread state enter/exit funcs. This is needed since we cannot
4738 predict which GI repositories might accept Python callbacks and run
4740 non-Python threads or trigger toggle ref notifications in a thread
4744 https://bugzilla.gnome.org/show_bug.cgi?id=709223
4746 gi/__init__.py | 2 --
4747 gi/gimodule.c | 18 +++++++-----------
4748 gi/overrides/GLib.py | 8 ++------
4749 3 files changed, 9 insertions(+), 19 deletions(-)
4751 commit 57195c9c864bc25521bb3cb98286e6d6f0645652
4752 Author: Simon Feltman <sfeltman@src.gnome.org>
4753 Date: Sun Oct 27 16:02:13 2013 -0700
4755 Add consistent GLib.MainLoop SIGINT cleanup
4757 Remove auto cleanup of SIGINT source handling by returning True
4759 signal callback. This gives the __del__ method consistent cleanup
4761 regardless of whether or not a SIGINT occurred.
4763 https://bugzilla.gnome.org/show_bug.cgi?id=710978
4765 gi/overrides/GLib.py | 4 ++++
4766 1 file changed, 4 insertions(+)
4768 commit 1c03ebba9598e7b6d5293889f46b015bfac3611c
4769 Author: Simon Feltman <sfeltman@src.gnome.org>
4770 Date: Sun Oct 27 15:16:09 2013 -0700
4772 tests: Fix source testing to handle critical with non-existing sources
4774 Silence new critical coming from g_source_remove on non-existing
4776 This function still returns False, but we need to silence the new
4778 so the test suite doesn't fail. See bug 710724.
4780 https://bugzilla.gnome.org/show_bug.cgi?id=710978
4782 tests/test_source.py | 18 ++++++++++++------
4783 1 file changed, 12 insertions(+), 6 deletions(-)
4785 commit ac776da7e56b78a2fa422487f0ef0d8771bcb78f
4786 Author: Simon Feltman <sfeltman@src.gnome.org>
4787 Date: Sun Jul 28 00:01:35 2013 -0700
4789 docs: Add a keyword value of None for allow-none annotations
4791 Update documentation generator for allow-none arguments and
4792 user_data arguments to show a keyword value of None.
4793 Add skip for GDestroyNotify closure arguments.
4795 https://bugzilla.gnome.org/show_bug.cgi?id=640812
4797 gi/docstring.py | 20 +++++++++++++++++---
4798 tests/test_docstring.py | 10 ++++++++++
4799 2 files changed, 27 insertions(+), 3 deletions(-)
4801 commit e1bf9c069644ea0bff0c6a7efa72a285e122a414
4802 Author: Simon Feltman <sfeltman@src.gnome.org>
4803 Date: Sat Oct 19 19:03:12 2013 -0700
4805 Remove overrides for supporting pre-3.10 GObject signal functions
4807 Remove GObject override code for supporting pre-3.10 signal functions
4809 annotate the object argument as "gpointer". With PyGObject 3.11
4811 dependency on GObject 3.10, clear the special case overrides out.
4813 gi/overrides/GObject.py | 76
4814 ++++++-------------------------------------------
4815 1 file changed, 9 insertions(+), 67 deletions(-)
4817 commit 0c308de528c402f67808b13760ca30d55d4c99d7
4818 Author: Simon Feltman <sfeltman@src.gnome.org>
4819 Date: Fri Oct 18 17:15:06 2013 -0700
4821 Add threads_init back as a requirement for non-Python threaded repos
4823 Re-add a "threads_init" function to gi for explicit intialization
4825 threading support. This was marked as deprecated in the previous cycle
4826 because using Python threads already initializes everything.
4827 However, we still need an explicit initalization when using
4829 with non-Python threads which may interact with Python callbacks
4832 https://bugzilla.gnome.org/show_bug.cgi?id=710447
4834 gi/__init__.py | 2 ++
4835 gi/gimodule.c | 10 ++++++++++
4836 gi/overrides/GLib.py | 11 +++++++----
4837 3 files changed, 19 insertions(+), 4 deletions(-)
4839 commit a2fa531b4dee73c193cac92fa3e870808688b5d7
4840 Author: Simon Feltman <sfeltman@src.gnome.org>
4841 Date: Mon Oct 14 20:38:13 2013 -0700
4843 Add dir method to GObject props accessor
4845 Remove special case __members__ attribute from the props accessor
4846 objects getattr method. This has been deprecated since Python 2.3 and
4847 removed in Python 3. Replace this with a __dir__ method making use
4849 old members list building code. Additionally fix error where the
4850 GObjectClass was being unref'd too many times when using
4852 causing a GLib critical.
4854 https://bugzilla.gnome.org/show_bug.cgi?id=705754
4856 gi/_gobject/pygobject.c | 29 +++++++++++++++++++++--------
4857 tests/test_gi.py | 14 ++++++++++++++
4858 2 files changed, 35 insertions(+), 8 deletions(-)
4860 commit 799989ada2f6b1d729f078f204445651c808a2c7
4861 Author: Simon Feltman <sfeltman@src.gnome.org>
4862 Date: Fri May 3 04:37:13 2013 -0700
4864 Remove PyGObjectWeakRef now that g_binding_unbind exists
4866 Remove the static code for managing GBinding weak references now
4868 has a method (unbind) for clearing out bindings.
4870 https://bugzilla.gnome.org/show_bug.cgi?id=699571
4872 gi/_gobject/pygobject.c | 59
4873 +------------------------------------------------
4874 gi/overrides/GObject.py | 19 ++++++++++++++++
4875 tests/test_gobject.py | 41 ++++++++++++++++++++--------------
4876 3 files changed, 44 insertions(+), 75 deletions(-)
4878 commit fe217e0afbd63f05285e59628533f351896377d9
4879 Author: Simon Feltman <sfeltman@src.gnome.org>
4880 Date: Wed Oct 9 00:34:37 2013 -0700
4882 Fix GArray, GList, GSList, and GHashTable marshaling leaks
4884 Remove calling of cleanup code for transfer-everything modes by
4886 cleanup_data is set to NULL in from_py marshalers. Use array and hash
4887 table ref/unref functions for container transfer mode to ensure we
4889 valid container ref after invoke and during from_py cleanup of
4891 Rework restrictions with to_py marshaling cleanup so we always
4893 container for transfer-everything and transfer-container modes.
4895 https://bugzilla.gnome.org/show_bug.cgi?id=693402
4897 gi/pygi-marshal-cleanup.c | 54 +++++++++++----------------------
4898 gi/pygi-marshal-from-py.c | 77
4899 ++++++++++++++++++++++++++++++++++++++++-------
4900 2 files changed, 84 insertions(+), 47 deletions(-)
4902 commit 7407367f424595c2780a2d6a47d936ad0bd91735
4903 Author: Simon Feltman <sfeltman@src.gnome.org>
4904 Date: Mon Oct 7 14:11:39 2013 -0700
4906 Add cleanup_data argument used for Python to C marshaler cleanup
4908 Add a new output argument to all from_py marshalers which is used for
4909 keeping track of marshaling data that later needs cleanup. Previously
4911 marshalers would rely on the GIArgument->v_pointer as the means
4913 cleanup. However, this pointer would get clobbered in the case of
4914 bi-directional arguments (inout) and the memory lost.
4915 Use the new cleanup_data for storing temporarily wrapped C arrays
4917 don't need to re-calculate the length argument during cleanup.
4919 Additionally delay the from_py marshaling cleanup function until after
4920 _invoke_marshal_out_args is called. This gives inout arguments
4922 modify the pointer sufficient time to exist until they marshaled
4924 Python (gi_marshalling_tests_gvalue_inout).
4926 https://bugzilla.gnome.org/show_bug.cgi?id=693402
4928 gi/pygi-argument.c | 4 +-
4929 gi/pygi-cache.h | 3 +-
4930 gi/pygi-invoke-state-struct.h | 7 +-
4931 gi/pygi-invoke.c | 20 +++---
4932 gi/pygi-marshal-cleanup.c | 43 +++++-------
4933 gi/pygi-marshal-from-py.c | 160
4934 ++++++++++++++++++++++++++++--------------
4935 gi/pygi-marshal-from-py.h | 45 ++++++++----
4936 7 files changed, 177 insertions(+), 105 deletions(-)
4938 commit 9456e83233a927f1f01c6ffcb1f07c62b491a1df
4939 Author: Simon Feltman <sfeltman@src.gnome.org>
4940 Date: Wed Aug 7 12:08:15 2013 -0700
4942 Add support for variable user data arguments
4944 Support a variable number of user data arguments for all callback
4945 connection function where the user data is the last explicit argument.
4946 This adds convience as well as consistency with the rest of PyGObject.
4947 Cleanup overrides for GLib.idle_add, timeout_add, timeout_add_seconds,
4948 io_add_watch, and child_watch_add which manually implemented this
4951 https://bugzilla.gnome.org/show_bug.cgi?id=640812
4953 gi/overrides/GLib.py | 75
4954 +++++++++++++++--------------------------------
4955 gi/pygi-cache.c | 14 +++++++++
4956 gi/pygi-cache.h | 3 ++
4957 gi/pygi-closure.c | 37 +++++++++++++++--------
4958 gi/pygi-invoke.c | 71
4959 +++++++++++++++++++++++++++++++-------------
4960 gi/pygi-marshal-from-py.c | 5 ++++
4961 tests/test_everything.py | 32 ++++++++++++++++++++
4962 tests/test_glib.py | 21 +++++++++++++
4963 tests/test_subprocess.py | 8 ++---
4964 9 files changed, 177 insertions(+), 89 deletions(-)
4966 commit ba4a0a65bf9ec44c3b9449f63d63035bff75d8df
4967 Author: Martin Pitt <martinpitt@gnome.org>
4968 Date: Mon Oct 14 12:57:04 2013 +0200
4970 Bump glib and g-i dependencies to latest stable.
4972 glib 2.38 and g-i 1.38 are from stable GNOME 3.10 which we now
4976 Drop @unittest.skipUnless tags from tests which didn't work with
4980 configure.ac | 6 +++---
4981 tests/test_gi.py | 2 --
4982 3 files changed, 5 insertions(+), 6 deletions(-)
4984 commit 2a5ad2af6bc91b187a2f07fc8d001ec7ad618adf
4985 Author: Nuno Araujo <nuno.araujo@russo79.com>
4986 Date: Fri Oct 11 18:41:48 2013 +0200
4988 Fix TypeError when setting drag target_list to None
4990 When calling Widget.drag_dest_set_target_list(None) or
4991 Widget.drag_source_set_target_list(None)
4992 a "TypeError: 'NoneType' object is not iterable" is thrown.
4994 According to Gtk documentation [1] [2], this shouldn't be the case
4995 since client code should be
4996 able to pass NULL in calls made to gtk_drag_dest_set_target_list and
4997 gtk_drag_source_set_target_list.
4999 We now check if the target_list is None and do not try to create a
5000 TargetList if it is the case.
5003 https://developer.gnome.org/gtk3/3.10/gtk3-Drag-and-Drop.html#gtk-drag-dest-set-target-list
5005 https://developer.gnome.org/gtk3/3.10/gtk3-Drag-and-Drop.html#gtk-drag-source-set-target-list
5007 https://bugzilla.gnome.org/show_bug.cgi?id=709926
5009 gi/overrides/Gtk.py | 4 ++--
5010 tests/test_overrides_gtk.py | 2 ++
5011 2 files changed, 4 insertions(+), 2 deletions(-)
5013 commit 27e9f6ede021fc58e952491b67d69c2a5cdd6acb
5014 Author: Simon Feltman <sfeltman@src.gnome.org>
5015 Date: Tue Oct 1 17:09:39 2013 -0700
5017 Use qdata for wrapper retrieval in toggle reference notifications
5019 Replace usage of user data holding PyGObject wrappers in toggle ref
5020 notifications with GObject qdata retrieval. This fixes thread
5022 where a toggle notify may be called from another thread during
5024 wrappers dealloc. In this case the toggle notify is blocked because
5026 is held in dealloc, and when it continues, the user data would be
5028 invalid PyGObject wrapper. Using qdata solves this by ensuring
5030 retrieval is done within the safety of the GIL and may turn up
5033 https://bugzilla.gnome.org/show_bug.cgi?id=709223
5035 gi/_gobject/pygobject.c | 21 ++++++++++++++-------
5036 1 file changed, 14 insertions(+), 7 deletions(-)
5038 commit 55d925d5f0fb87464b1f391c325c1e70da10d33d
5039 Author: Simon Feltman <sfeltman@src.gnome.org>
5040 Date: Thu Oct 10 16:10:16 2013 -0700
5042 Add expected failure to deal with fixes in gimarshallingtests.c
5044 Fix test_object_full_inout based on newer gimarshallingtests.c >
5046 Add expectedFailure to deal with previous versions of
5047 gimarshallingtests.c.
5049 https://bugzilla.gnome.org/show_bug.cgi?id=709796
5051 tests/test_gi.py | 6 +++++-
5052 1 file changed, 5 insertions(+), 1 deletion(-)
5054 commit d866d422cc39b229f443dd08a3ea50cb3f7df8e6
5055 Author: Simon Feltman <sfeltman@src.gnome.org>
5056 Date: Mon Oct 7 01:17:08 2013 -0700
5058 Fix memory leaks for inout array arguments
5060 Add tracking for array allocations to from_py marashalers in the
5061 argument states extra data (arg_data). This is then used later
5063 marshaling cleanup to call the array cleanup function.
5065 https://bugzilla.gnome.org/show_bug.cgi?id=693402
5067 gi/pygi-invoke.c | 1 +
5068 gi/pygi-marshal-cleanup.c | 1 +
5069 gi/pygi-marshal-from-py.c | 13 +++++++++----
5070 3 files changed, 11 insertions(+), 4 deletions(-)
5072 commit 31263ac117027446c8e2fd1b56d7e348384aabef
5073 Author: Simon Feltman <sfeltman@src.gnome.org>
5074 Date: Sun Oct 6 21:54:15 2013 -0700
5076 Fix to Python marshaling leaks for arrays holding GVariants
5078 Add early check for array items holding pointers and simply assign the
5079 pointer to GIArgument.v_pointer prior giving it to the per-item
5081 This simplifies marshaling and fixes leaks regarding arrays of
5083 removing the unneeded g_variant_ref_sink (variants are always
5085 Conditionalize the use of g_variant_ref_sink based on transfer mode
5087 per-item marshaler. This fixes a reference leak where we are given
5089 of the variant (transfer full) but added a new ref anyway.
5091 https://bugzilla.gnome.org/show_bug.cgi?id=693402
5093 gi/pygi-marshal-to-py.c | 34 ++++++++++++++++++----------------
5094 1 file changed, 18 insertions(+), 16 deletions(-)
5096 commit c9580ce1156789221aa19b00c7aab404db5431b5
5097 Author: Simon Feltman <sfeltman@src.gnome.org>
5098 Date: Sun Oct 6 04:26:18 2013 -0700
5100 Cleanup per-item array marshaling code for flat arrays
5102 Add an early per-item check which tests if the item being marshaled
5104 pointer and simply copies the pointer into the array. This takes
5106 GdkAtom and GVariant special cases because these items are always
5109 Fix error condition cleanup code when an item fails marshaling in
5113 https://bugzilla.gnome.org/show_bug.cgi?id=693402
5115 gi/pygi-marshal-from-py.c | 87
5116 +++++++++++++++++++++--------------------------
5117 tests/test_gi.py | 32 +++++++++++++++++
5118 2 files changed, 71 insertions(+), 48 deletions(-)
5120 commit 4623caa71c54958ab821db27a9eff2790acb3975
5121 Author: Simon Feltman <sfeltman@src.gnome.org>
5122 Date: Sat Oct 5 17:00:54 2013 -0700
5124 Fix GValue array marshaling leaks and crash fallout
5126 * Decrement references for results of PySequence_GetItem. There were
5128 places we were not decrementing the Python reference, leaking
5130 * Add tracking of Python arguments with recursive marshaling
5132 allows arrays of GValues which have been coerced from Python types
5134 properly free'd (also fixes bug 703662).
5135 * Use g_variant_ref for variant arguments marked as transfer
5137 This fixes double free's caused by the decrementing of
5141 https://bugzilla.gnome.org/show_bug.cgi?id=693402
5143 gi/pygi-cache.h | 1 +
5144 gi/pygi-invoke.c | 1 +
5145 gi/pygi-marshal-cleanup.c | 50
5146 +++++++++++++++++++++++++++++++++++++++++------
5147 gi/pygi-marshal-cleanup.h | 14 +++++++++++++
5148 gi/pygi-marshal-from-py.c | 20 ++++++++++++++++---
5149 gi/pygi-marshal-to-py.c | 1 +
5150 6 files changed, 78 insertions(+), 9 deletions(-)
5152 commit 549f849ef8854352483657df3d7558688a4b0007
5153 Author: Simon Feltman <sfeltman@src.gnome.org>
5154 Date: Sat Sep 28 00:26:28 2013 -0700
5156 Refactor GLib.io_add_watch to make it more testable
5158 Break the argument munging code into a separate function which
5159 can be tested in isolation of adding an io watch.
5160 Add additional failing test which specifies all args as keywords
5161 which we eventually need to support for consistency with the
5164 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5166 gi/overrides/GLib.py | 23 ++++++++++++++++++-----
5167 1 file changed, 18 insertions(+), 5 deletions(-)
5169 commit bc780ed17bc4cc62959c63c3f0142161a924679f
5170 Author: Simon Feltman <sfeltman@src.gnome.org>
5171 Date: Fri Sep 27 20:59:45 2013 -0700
5173 Refactor GLib.child_watch_add to make it more testable
5175 Break the argument munging code into a separate function which
5176 can be tested in isolation of adding a child watch. Update tests
5177 to reflect this. Add additional failing test which specify
5178 all args as keywords which we eventually need to support for
5179 consistency with the rest of PyGObject.
5181 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5183 gi/overrides/GLib.py | 25 +++++++++-----
5184 tests/test_subprocess.py | 88
5185 +++++++++++++++++++++---------------------------
5186 2 files changed, 56 insertions(+), 57 deletions(-)
5188 commit 73c6213e8b47fa7c4c2c7a517fe7b56126145888
5189 Author: Simon Feltman <sfeltman@src.gnome.org>
5190 Date: Thu Sep 26 19:05:20 2013 -0700
5192 Don't pass None to callbacks when user data is not specified
5194 For APIs which support a callback and optional user data,
5195 don't pass the user data to the callback if it was not explicitly
5196 specified when the callback was connected.
5198 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5200 gi/pygi-closure.c | 17 ++++++++++++++---
5201 gi/pygi-marshal-from-py.c | 5 -----
5202 tests/test_everything.py | 7 ++-----
5203 3 files changed, 16 insertions(+), 13 deletions(-)
5205 commit a76b06179cdca43f1c7d1feb8e2563e3d884a8ff
5206 Author: Simon Feltman <sfeltman@src.gnome.org>
5207 Date: Fri Oct 4 17:27:47 2013 -0700
5209 Add missing methods on PyGIBaseInfo and sub-classes
5211 Expose all methods of GIBaseBase info and its sub-classes.
5213 https://bugzilla.gnome.org/show_bug.cgi?id=709008
5215 gi/_glib/pyglib-python-compat.h | 1 +
5216 gi/pygi-info.c | 550
5217 +++++++++++++++++++++++++++++++++++++++-
5218 tests/test_repository.py | 134 ++++++++++
5219 3 files changed, 677 insertions(+), 8 deletions(-)
5221 commit e190eb75093e8bf36190dc1beb18d1c1b95b9582
5222 Author: Simon Feltman <sfeltman@src.gnome.org>
5223 Date: Fri Oct 4 13:46:36 2013 -0700
5225 Expose all GI enum and flags types
5227 Add new types for GIDirection, GITransfer, GIArrayType, GIScopeType,
5228 GIVFuncInfoFlags, GIFieldInfoFlags, GIFuncitonInfoFlags, GITypeTag,
5230 GInfoType. These types are found in the gi._gi module exposed
5232 "GI" prefix and contain all of their values as class attributes. e.g.
5233 gi._gi.Transfer.EVERYTHING.
5235 https://bugzilla.gnome.org/show_bug.cgi?id=709008
5237 gi/docstring.py | 10 ++--
5238 gi/pygi-info.c | 150
5239 ++++++++++++++++++++++++++++++++++++++++++++---
5240 tests/test_repository.py | 13 +++-
5241 3 files changed, 158 insertions(+), 15 deletions(-)
5243 commit 0120af6c418d0f67f39c02a4e8327813645b97f4
5244 Author: Simon Feltman <sfeltman@src.gnome.org>
5245 Date: Fri Oct 4 13:42:34 2013 -0700
5247 Avoid calling g_base_info_get_name on GI_INFO_TYPE_TYPE
5249 Calling g_base_info_get_name on infos tagged with GI_INFO_TYPE_TYPE
5251 cause a crash. Avoid this by adding _safe_base_info_get_name and
5253 throughout the bindings.
5254 Logged GI bug as: https://bugzilla.gnome.org/show_bug.cgi?id=709456
5256 https://bugzilla.gnome.org/show_bug.cgi?id=709008
5258 gi/pygi-info.c | 35 +++++++++++++++++++++++++----------
5259 1 file changed, 25 insertions(+), 10 deletions(-)
5261 commit c86b2fe8d01070f06c45fffd910d890afba1313a
5262 Author: Simon Feltman <sfeltman@src.gnome.org>
5263 Date: Fri Oct 4 13:41:08 2013 -0700
5265 Add GIBaseInfo.equal method
5267 Break PyGIBaseInfo rich compare into two methods: equal and
5269 Equal is a direct exposure of the GI method and richcompare makes
5271 this with additional support for Pyton "==" and "!=" operators.
5273 https://bugzilla.gnome.org/show_bug.cgi?id=709008
5275 gi/pygi-info.c | 32 ++++++++++++++++++++++++--------
5276 tests/test_repository.py | 1 +
5277 2 files changed, 25 insertions(+), 8 deletions(-)
5279 commit e7b758badd0ab0b147117859f7871c39fb5399c1
5280 Author: Simon Feltman <sfeltman@src.gnome.org>
5281 Date: Fri Oct 4 13:36:11 2013 -0700
5283 Move info string retrieval into generic function
5285 Add get_info_string for sharing binding of simple string retrieval on
5288 https://bugzilla.gnome.org/show_bug.cgi?id=709008
5290 gi/pygi-info.c | 15 +++++++++++++--
5291 1 file changed, 13 insertions(+), 2 deletions(-)
5293 commit d2aef364de778da966bc1cfffe184d649f9ebb21
5294 Author: Simon Feltman <sfeltman@src.gnome.org>
5295 Date: Tue Sep 24 06:26:17 2013 -0700
5297 Move child info retrieval into generic function
5299 Add a generic function for bindings which return a single child info.
5300 This trivializes binding methods like PyGIObjectInfo.get_parent and
5301 fixes leaks in PyGIObjectInfo.get_class_struct and
5302 PyGIVFuncInfo.get_invoker.
5304 https://bugzilla.gnome.org/show_bug.cgi?id=709008
5307 +++++++++++++++++++++++---------------------------------
5308 1 file changed, 23 insertions(+), 33 deletions(-)
5310 commit cdd03a2b0baef19797a5b55c2880e5b7acf1dd93
5311 Author: Simon Feltman <sfeltman@src.gnome.org>
5312 Date: Tue Sep 24 02:52:22 2013 -0700
5314 Move info tuple retrieval into generic function
5316 Create new generic function for retrieving a tuple of child infos.
5317 This greatly simplifies all the bindings which return tuples from
5318 a common pattern of functions on GIBaseInfo based instances.
5320 https://bugzilla.gnome.org/show_bug.cgi?id=709008
5322 gi/pygi-info.c | 469
5323 ++++++++-------------------------------------------------
5324 1 file changed, 59 insertions(+), 410 deletions(-)
5326 commit 62f185bef20b42f18290a3cf1d3b19dddc957f8a
5327 Author: Simon Feltman <sfeltman@src.gnome.org>
5328 Date: Sun Oct 6 16:41:37 2013 -0700
5330 tests: Update check.valgrind with always-malloc and add logging
5333 Based on notes in https://wiki.gnome.org/Valgrind we need to use
5334 always-malloc for valgrind runs.
5335 Add check.valgrindlog and check.valgrindxml which output valgrind
5337 an ignored local tmp. Output logs are named <head-sha>-$TEST_NAMES.log
5339 can track commits and use diff tools on the logs.
5342 Makefile.am | 6 ++++++
5343 tests/Makefile.am | 10 +++++++++-
5344 3 files changed, 16 insertions(+), 1 deletion(-)
5346 commit 314c933626c4dc5fc585d0e5b6c45ddb17c2e52f
5347 Author: Simon Feltman <sfeltman@src.gnome.org>
5348 Date: Fri Oct 4 20:43:02 2013 -0700
5350 Move existing repository tests into test_repository
5352 Move flags and enum double registration tests into test_repository.py.
5353 Remove duplicate ObjectInfo tests from test_gi.py.
5355 https://bugzilla.gnome.org/show_bug.cgi?id=709008
5357 tests/test_gi.py | 38 --------------------------------------
5358 tests/test_repository.py | 28 ++++++++++++++++++++++++++++
5359 2 files changed, 28 insertions(+), 38 deletions(-)
5361 commit 31840888c8948aab78041da93c329572f3aabb64
5362 Author: Simon Feltman <sfeltman@src.gnome.org>
5363 Date: Fri Oct 4 17:31:21 2013 -0700
5365 Add unittests for GIRepository
5367 Add basic unittests for the existing classes and methods exposed for
5368 the GIRepository module (gi._gi).
5370 https://bugzilla.gnome.org/show_bug.cgi?id=709008
5372 tests/Makefile.am | 1 +
5373 tests/test_repository.py | 170
5374 +++++++++++++++++++++++++++++++++++++++++++++++
5375 2 files changed, 171 insertions(+)
5377 commit 4408f83be70e92c5e3943f5ce85c551e7f2c87d0
5378 Author: Simon Feltman <sfeltman@src.gnome.org>
5379 Date: Fri Oct 4 15:50:05 2013 -0700
5381 Derive SignalInfo info from CallableInfo
5383 Change Python class derivation of PyGISignalInfo to use
5385 the base class. This accurately reflects the GI class layout and
5387 the callable information for signals.
5389 https://bugzilla.gnome.org/show_bug.cgi?id=709008
5391 gi/pygi-info.c | 7 ++++---
5392 1 file changed, 4 insertions(+), 3 deletions(-)
5394 commit b01daba04ff001b9e63d343938e879d339d9a98c
5395 Author: Simon Feltman <sfeltman@src.gnome.org>
5396 Date: Fri Oct 4 15:48:05 2013 -0700
5398 Use PYGLIB_PyLong_FromLong for GIDirection return
5400 https://bugzilla.gnome.org/show_bug.cgi?id=709008
5402 gi/pygi-info.c | 2 +-
5403 1 file changed, 1 insertion(+), 1 deletion(-)
5405 commit d644cbd0c0ad85142286754838db848c4eb1707f
5406 Author: Simon Feltman <sfeltman@src.gnome.org>
5407 Date: Thu Oct 3 19:25:34 2013 -0700
5409 Fix memory leak for caller allocated GValue out arguments
5411 Swizzle the order of type checks in _cleanup_caller_allocates so
5412 G_TYPE_VALUE arguments are checked before G_TYPE_BOXED. The
5414 important because G_TYPE_VALUE is a sub-type of boxed and so its
5416 cleanup code was never being called (g_value_unset).
5417 Additionally update check to use g_type_is_a instead of a compare
5419 the potential case of a G_TYPE_VALUE sub-type.
5421 https://bugzilla.gnome.org/show_bug.cgi?id=709397
5423 gi/pygi-marshal-cleanup.c | 11 ++++++-----
5424 1 file changed, 6 insertions(+), 5 deletions(-)
5426 commit 510789d52e9e2fd863d26613f3282364eb175601
5427 Author: Simon Feltman <sfeltman@src.gnome.org>
5428 Date: Sun Jul 28 14:44:51 2013 -0700
5430 Add support for default arguments annotated with allow-none
5432 Support default value of NULL for tail end arguments which are
5433 marked with allow-none.
5434 The implementation uses a place holder object for un-supplied
5436 which are annotated with allow-none. This is then used later during
5437 marshaling to supply NULL as the default.
5438 Additionally support an implicit default for callback user_data
5439 using the same technique.
5441 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5443 gi/gimodule.c | 6 +++
5444 gi/pygi-cache.c | 103
5445 ++++++++++++++++++++++++++++++----------------
5446 gi/pygi-cache.h | 8 ++++
5447 gi/pygi-invoke.c | 42 +++++++++++++------
5448 gi/pygi-marshal-from-py.c | 5 +++
5450 tests/test_everything.py | 16 +++++++
5451 tests/test_gi.py | 30 ++++++++++++++
5452 8 files changed, 162 insertions(+), 49 deletions(-)
5454 commit 03f531ffb1adde0c48e98f92bd92f79416654fbe
5455 Author: Simon Feltman <sfeltman@src.gnome.org>
5456 Date: Fri Aug 2 22:27:10 2013 -0700
5458 cache refactoring: Move arg cache field assignments into
5461 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5463 gi/pygi-cache.c | 23 +++++++++++------------
5464 1 file changed, 11 insertions(+), 12 deletions(-)
5466 commit cb7e7311bff57eb4c79c7772b6db4d00084656bb
5467 Author: Simon Feltman <sfeltman@src.gnome.org>
5468 Date: Fri Aug 2 20:27:02 2013 -0700
5470 cache refactoring: Cleanup array length argument marshaling
5472 Add shared function: _arg_cache_array_len_arg_setup for use
5473 with both to and from array marshaling setup. This function
5474 consolidates all of the edge cases regarding array length setup
5475 and removes the need for flagging arguments with
5476 PYGI_META_ARG_TYPE_CHILD_NEEDS_UPDATE.
5478 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5480 gi/pygi-cache.c | 145
5481 +++++++++++++++++++++++++++-----------------------------
5482 gi/pygi-cache.h | 5 --
5483 2 files changed, 71 insertions(+), 79 deletions(-)
5485 commit c9d8639401ae82977e960de44d80b94a501a2184
5486 Author: Simon Feltman <sfeltman@src.gnome.org>
5487 Date: Sat Aug 3 00:26:11 2013 -0700
5489 cache refactoring: Move variable declarations to blocks where they
5492 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5494 gi/pygi-cache.c | 25 ++++++++++++++-----------
5495 1 file changed, 14 insertions(+), 11 deletions(-)
5497 commit dbc2cf5f1fa0f9cc046170efa6afb086b90253cb
5498 Author: Simon Feltman <sfeltman@src.gnome.org>
5499 Date: Thu Aug 1 19:33:27 2013 -0700
5501 cache refactoring: Remove continue statements from
5502 _args_cache_generate
5504 Remove continue and goto statements from the large loop within
5505 _args_cache_generate. This simplifies the sharing of parts of
5506 the loop for future refactoring.
5508 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5510 gi/pygi-cache.c | 126
5511 +++++++++++++++++++++++++++-----------------------------
5512 1 file changed, 61 insertions(+), 65 deletions(-)
5514 commit 87ae14b8b4a0ed9beb22f48314247e988a2e017f
5515 Author: Simon Feltman <sfeltman@src.gnome.org>
5516 Date: Wed Jul 31 18:10:05 2013 -0700
5518 cache refactoring: Use bit field for PyGIDirection instead of enum
5520 This supports cleaner logic when testing the direction of
5521 arguments due to the majority of these tests being along the
5522 lines of: (direction == FROM_PYTHON || direction == BIDIRECTIONAL)
5523 Which is replaced with: (direction & FROM_PYTHON)
5525 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5527 gi/pygi-cache.c | 64
5528 ++++++++++++++++++++++++++++-----------------------------
5529 gi/pygi-cache.h | 6 +++---
5530 2 files changed, 35 insertions(+), 35 deletions(-)
5532 commit d5925b76afa3a429092cbafd82aed40bb0cf0b18
5533 Author: Simon Feltman <sfeltman@src.gnome.org>
5534 Date: Sun Jul 28 20:45:05 2013 -0700
5536 cache refactoring: Remove special case marshaling for instance
5539 Remove duplicate code for marshaling struct and objects for
5540 instance arguments. Re-use individual cache marshalers for
5541 structs and objects with the instance argument. This required
5542 removal of passing GITypeInfo to the marshaler because it is
5543 not available for instance arguments. Instead always assume
5544 "is_pointer" for the instance argument by using the cache.
5546 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5548 gi/pygi-argument.c | 4 +--
5549 gi/pygi-cache.c | 16 ++++-----
5550 gi/pygi-marshal-from-py.c | 87
5551 +++--------------------------------------------
5552 gi/pygi-marshal-from-py.h | 16 ++-------
5553 4 files changed, 16 insertions(+), 107 deletions(-)
5555 commit c19bed69c669160737e12d92cc29f3e6d1b008cc
5556 Author: Simon Feltman <sfeltman@src.gnome.org>
5557 Date: Sun Jul 28 16:44:01 2013 -0700
5559 cache refactoring: Use GPtrArray for callable arg cache
5561 Replace manual management of the C array holding individual
5562 argument caches with usage of GPtrArray. This provides storage
5563 of the array length along with item memory management.
5565 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5567 gi/pygi-cache.c | 62
5568 +++++++++++++++++++++++------------------------
5569 gi/pygi-cache.h | 16 +++++++++---
5570 gi/pygi-invoke.c | 16 ++++++------
5571 gi/pygi-marshal-cleanup.c | 8 +++---
5572 gi/pygi-marshal-from-py.c | 6 ++---
5573 gi/pygi-marshal-to-py.c | 6 ++---
5574 6 files changed, 62 insertions(+), 52 deletions(-)
5576 commit 52ea3afb0a6494423eca36a54af928d4ae5d9954
5577 Author: Simon Feltman <sfeltman@src.gnome.org>
5578 Date: Sun Jul 28 15:02:51 2013 -0700
5580 cache refactoring: Move PyGI direction code into new function
5582 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5584 gi/pygi-cache.c | 42 +++++++++++++++++++++---------------------
5585 1 file changed, 21 insertions(+), 21 deletions(-)
5587 commit 83208bf495b152e93a28a231d445f43ea827d2eb
5588 Author: Simon Feltman <sfeltman@src.gnome.org>
5589 Date: Fri Aug 2 15:59:25 2013 -0700
5591 cache refactoring: Add comments to callable cache structure
5593 Add comments to count fields on _PyGICallableCache.
5595 https://bugzilla.gnome.org/show_bug.cgi?id=640812
5597 gi/pygi-cache.h | 13 ++++++++++++-
5598 1 file changed, 12 insertions(+), 1 deletion(-)
5600 commit 0a8d5695972601eaa9f7f463bac173d02b0380a0
5601 Author: Simon Feltman <sfeltman@src.gnome.org>
5602 Date: Wed Jul 24 01:14:29 2013 -0700
5604 Remove support for allowing PyObjects as void pointers
5606 Final removal of marshaling Python object addresses as
5607 void pointers. This ensures we can successfully pass
5608 integer values as the pointer without the Python object
5609 leaking or crashing due to invalid memory.
5611 https://bugzilla.gnome.org/show_bug.cgi?id=688081
5613 gi/pygi-marshal-from-py.c | 20 ++++++--------------
5614 gi/pygi-marshal-to-py.c | 14 ++------------
5615 tests/test_signal.py | 5 +----
5616 3 files changed, 9 insertions(+), 30 deletions(-)
5618 commit 1469403ee2faa699430055384b338f0cd8e672d7
5619 Author: Simon Feltman <sfeltman@src.gnome.org>
5620 Date: Wed Sep 25 18:21:22 2013 -0700
5622 configure.ac: bump trunk to 3.11.1
5625 1 file changed, 1 insertion(+), 1 deletion(-)
5627 commit 8e774e61d62c82efa3d907c1201359121878b4b5
5628 Author: Simon Feltman <sfeltman@src.gnome.org>
5629 Date: Mon Sep 23 03:57:03 2013 -0700
5631 configure.ac: post-release bump to 3.10.1
5634 1 file changed, 1 insertion(+), 1 deletion(-)
5636 commit 95af6279a9affff5c816db2db53207ff0f19872d
5637 Author: Simon Feltman <sfeltman@src.gnome.org>
5638 Date: Mon Sep 23 03:17:19 2013 -0700
5643 configure.ac | 4 ++--
5644 2 files changed, 5 insertions(+), 2 deletions(-)
5646 commit c626be6317b610277c95461108573d1ae6f42b6d
5647 Author: Martin Pitt <martinpitt@gnome.org>
5648 Date: Mon Sep 23 12:06:11 2013 +0200
5650 Fix test_gi.TestProjectVersion.test_version_str()
5652 In this test case we only do a string comparison, not a proper
5654 component" numerical one. So relax the test to also work with 3.10.
5656 tests/test_gi.py | 2 +-
5657 1 file changed, 1 insertion(+), 1 deletion(-)
5659 commit 0a30f8d02099e582ea3ded800303e14d2e7ab212
5660 Author: Martin Pitt <martinpitt@gnome.org>
5661 Date: Mon Sep 16 10:12:33 2013 -0500
5666 1 file changed, 7 insertions(+)
5668 commit 506f1e35a9375be80a6a79421bf8272165fdd90a
5669 Author: Simon Feltman <sfeltman@src.gnome.org>
5670 Date: Mon Sep 16 01:23:49 2013 -0700
5672 Update current maintainers list in README
5675 1 file changed, 2 insertions(+), 1 deletion(-)
5677 commit ef120498e060e88a1efcb82de385a23c1fa9c7da
5678 Author: Simon Feltman <sfeltman@src.gnome.org>
5679 Date: Tue Sep 10 17:11:21 2013 -0700
5681 Fix union argument regression when marshaling from python
5683 Check for union members when marshaling boxed types from Python.
5684 This is a regression caused by stricter type checking added when
5685 merging code from pygi-argument.c.
5686 Re-add pyg_boxed_check to the same bit of code in addition to
5687 __gtype__ checking to avoid a double regression.
5689 https://bugzilla.gnome.org/show_bug.cgi?id=703873
5691 gi/pygi-marshal-from-py.c | 53
5692 ++++++++++++++++++++++++++---------------------
5693 1 file changed, 29 insertions(+), 24 deletions(-)
5695 commit 59a2964141e963d2961e55d4b84a777927b4f21b
5696 Author: Simon Feltman <sfeltman@src.gnome.org>
5697 Date: Wed Sep 11 05:05:33 2013 -0700
5699 Fix GLib.Source sub-classing with initializer args
5701 Add variable args and keyword args to the GLib.Source.__new__
5702 method to support sub-classes which want to implement __init__.
5704 https://bugzilla.gnome.org/show_bug.cgi?id=707904
5706 gi/overrides/GLib.py | 2 +-
5707 tests/test_source.py | 11 +++++++++++
5708 2 files changed, 12 insertions(+), 1 deletion(-)
5710 commit afa42ab95327da1de0cf86005974cd8ab0d46872
5711 Author: Vratislav Podzimek <vpodzime@redhat.com>
5712 Date: Wed Sep 4 14:17:31 2013 +0200
5714 Copy __doc__ when wrapping function
5716 Signed-off-by: Vratislav Podzimek <vpodzime@redhat.com>
5717 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
5719 gi/overrides/__init__.py | 1 +
5720 1 file changed, 1 insertion(+)
5722 commit 7914a6828a533d8c579a5b422351e18b9f9afc8c
5723 Author: Martin Pitt <martinpitt@gnome.org>
5724 Date: Mon Sep 2 14:56:24 2013 +0200
5726 configure.ac: post-release bump to 3.9.92
5729 1 file changed, 1 insertion(+), 1 deletion(-)
5731 commit ad8b7d1a89eb2d030a504d521f7589a4c1d835fb
5732 Author: Martin Pitt <martinpitt@gnome.org>
5733 Date: Mon Sep 2 14:38:41 2013 +0200
5737 NEWS | 10 ++++++++++
5738 1 file changed, 10 insertions(+)
5740 commit 9df8eb79929025f12d51bc7f79b1d160156c2755
5741 Author: Simon Feltman <sfeltman@src.gnome.org>
5742 Date: Mon Sep 2 04:19:35 2013 -0700
5744 Fix GObject signal methods to work with new annotations
5746 Add conditional support for signal methods annotated as gpointer
5747 or GObject.Object. This is needed to work with newer versions of
5748 glib which changed annotations to GObject.Object (bug #685387).
5750 https://bugzilla.gnome.org/show_bug.cgi?id=707280
5752 gi/overrides/GObject.py | 106
5753 ++++++++++++++++++++++++++++++------------------
5754 1 file changed, 66 insertions(+), 40 deletions(-)
5756 commit 9b6b6c7ee6a621cba99f51857eadd622a1535118
5757 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
5758 Date: Thu Aug 15 14:41:40 2013 +0800
5760 Fix build on C89 Compilers
5762 Avoid a variable declaration at the middle of the block
5764 https://bugzilla.gnome.org/show_bug.cgi?id=707264
5766 gi/pygi-closure.c | 3 ++-
5767 1 file changed, 2 insertions(+), 1 deletion(-)
5769 commit 19c1a2dfb91a83a6fb0ca76b9c95c42a49a3736e
5770 Author: Simon Feltman <sfeltman@src.gnome.org>
5771 Date: Sun Sep 1 20:44:26 2013 -0700
5773 Change boxed type checking in marshaling to use __gtype__ attribute
5775 Replace usage of pyg_boxed_check(pyboxed) with g_type_is_a and
5776 pyg_type_from_object. This has the effect of using the __gtype__
5777 attribute stashed on object class instead of the PyGBoxed
5778 internally held gtype. This fixes type descrepencies for objects
5779 marshaled into overridden signal class closures and passed back
5780 to functions taking an alias their type.
5782 https://bugzilla.gnome.org/show_bug.cgi?id=707140
5784 gi/pygi-marshal-from-py.c | 8 +++++++-
5785 tests/test_overrides_gtk.py | 34 ++++++++++++++++++++++++++++++++++
5786 2 files changed, 41 insertions(+), 1 deletion(-)
5788 commit dab0c09f1996e124ca98334e5aea0852904b44b5
5789 Author: Simon Feltman <sfeltman@src.gnome.org>
5790 Date: Sun Sep 1 17:49:09 2013 -0700
5792 Use G_IS_VALUE for checking return values in closure marshaling
5794 Replace return_value argument NULL checks in GClosureMarshal
5795 implementations with G_IS_VALUE. This checks both NULL and
5796 validity of the value (!= G_TYPE_INVALID). This is needed
5797 because GLib can pass either NULL or an invalid value based
5798 on whether or not G_ENABLE_DEBUG is set.
5799 See: https://bugzilla.gnome.org/show_bug.cgi?id=707249
5801 https://bugzilla.gnome.org/show_bug.cgi?id=707170
5803 gi/_gobject/pygtype.c | 4 ++--
5804 gi/pygi-signal-closure.c | 2 +-
5805 2 files changed, 3 insertions(+), 3 deletions(-)
5807 commit c7b75a8c250078ac8ea28752f087ed687bd20edd
5808 Author: Yanko Kaneti <yaneti@declera.com>
5809 Date: Wed Aug 21 08:53:07 2013 +0200
5811 Fix PEP-8 errors in propertyhelper.py
5813 https://bugzilla.gnome.org/show_bug.cgi?id=706319
5815 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
5817 gi/_gobject/propertyhelper.py | 12 ++++++------
5818 1 file changed, 6 insertions(+), 6 deletions(-)
5820 commit 6fdd58404103596accb6ab04d4de33846d853c58
5821 Author: Martin Pitt <martinpitt@gnome.org>
5822 Date: Mon Aug 19 17:13:30 2013 +0200
5824 configure.ac: post-release bump to 3.9.91
5827 1 file changed, 1 insertion(+), 1 deletion(-)
5829 commit 6fbe2580deda215896e9583b418b8bc1aceb2f96
5830 Author: Martin Pitt <martinpitt@gnome.org>
5831 Date: Mon Aug 19 17:10:52 2013 +0200
5836 1 file changed, 9 insertions(+)
5838 commit a8d5da559ef088b05062681206758d2718946269
5839 Author: Martin Pitt <martinpitt@gnome.org>
5840 Date: Mon Aug 19 11:38:31 2013 +0200
5842 NEWS: retroactively fix last version number
5845 1 file changed, 1 insertion(+), 1 deletion(-)
5847 commit aba45eb2617c4b35168089bc9028f351732a617f
5848 Author: Benjamin Berg <benjamin@sipsolutions.net>
5849 Date: Tue Aug 6 00:41:52 2013 +0200
5851 Create GLib.Pid in the same way on python 2 and 3
5853 https://bugzilla.gnome.org/show_bug.cgi?id=705451
5855 gi/_glib/pygspawn.c | 8 --------
5856 1 file changed, 8 deletions(-)
5858 commit 2d203b7529c95ba4461a5a6d4c6b67169fabc4cf
5859 Author: Benjamin Berg <benjamin@sipsolutions.net>
5860 Date: Mon Aug 5 17:04:15 2013 +0200
5862 Use PyLong_Type.tp_new for GLib.Pid
5864 For GLib.Pid the original implementation for __new__ needs to be used,
5865 as it is able to initialize the integer correctly.
5867 https://bugzilla.gnome.org/show_bug.cgi?id=705451
5869 gi/_glib/pygspawn.c | 1 +
5870 tests/test_subprocess.py | 1 +
5871 2 files changed, 2 insertions(+)
5873 commit c32793dafbd52eab87b14ca064b47f5a4fb9000b
5874 Author: Simon Feltman <sfeltman@src.gnome.org>
5875 Date: Mon Aug 5 14:40:38 2013 -0700
5877 Add accumulator and accu_data arguments to GObject.Signal decorator
5879 Update __init__, __call__, and copy methods to accept and pass
5880 accumulators and associated user data through them. Update
5881 accumulator unittests to use Signal decorators for testing accumulator
5882 pass throughs. Verified the __gsignals__ dictionary accepts None
5883 as valid values for accumulator and accu_data so specialization
5884 for these arguments is not necessary.
5886 https://bugzilla.gnome.org/show_bug.cgi?id=705533
5888 gi/_gobject/signalhelper.py | 17 ++++++++++-----
5889 tests/test_signal.py | 52
5890 ++++++++++++++++++++++++---------------------
5891 2 files changed, 40 insertions(+), 29 deletions(-)
5893 commit 78f72654f5cb6c06e76ed9a532fc1ee328b60e50
5894 Author: Simon Feltman <sfeltman@src.gnome.org>
5895 Date: Mon Aug 5 14:12:24 2013 -0700
5897 Pass return values through the GObject.Signal.emit wrapper
5899 Return the result of GObject.emit from the Signal decorators wrapping.
5900 Update unittest for decorated return type to use skipUnless for
5902 Add test for Signal decorator return type.
5904 https://bugzilla.gnome.org/show_bug.cgi?id=705530
5906 gi/_gobject/signalhelper.py | 2 +-
5907 tests/test_signal.py | 37 +++++++++++++++++++++----------------
5908 2 files changed, 22 insertions(+), 17 deletions(-)
5910 commit 08cc206afeaefd1ce50ecfd1411807225a11c8f8
5911 Author: Simon Feltman <sfeltman@src.gnome.org>
5912 Date: Mon Jul 29 03:33:40 2013 -0700
5914 configure.ac: post-release bump to 3.9.90
5917 1 file changed, 1 insertion(+), 1 deletion(-)
5919 commit 2d8f5490cdc078b3e56a92deb9eca71b3fc5ef17
5920 Author: Simon Feltman <sfeltman@src.gnome.org>
5921 Date: Mon Jul 29 02:23:02 2013 -0700
5925 NEWS | 41 +++++++++++++++++++++++++++++++++++++++++
5927 2 files changed, 42 insertions(+), 1 deletion(-)
5929 commit ec3de7608ec970f6f272c9d7937344f02c6e9c3d
5930 Author: Simon Feltman <sfeltman@src.gnome.org>
5931 Date: Mon Jul 29 01:21:19 2013 -0700
5933 Ensure exceptions set in closure out argument marshaling are printed
5935 Call PyErr_Print when an exception occurs after marshaling closure
5936 out arguments. These exceptions were being ignored and cleared out
5937 only to show up in debug builds of Python.
5939 https://bugzilla.gnome.org/show_bug.cgi?id=705064
5941 gi/pygi-closure.c | 8 ++++++++
5942 tests/test_generictreemodel.py | 17 +++++++++++------
5943 2 files changed, 19 insertions(+), 6 deletions(-)
5945 commit b5dcb1800839f747a052e487643c234668384677
5946 Author: Simon Feltman <sfeltman@src.gnome.org>
5947 Date: Sun Jul 28 23:00:26 2013 -0700
5949 Use Python error messages for marshaling integers from Python
5951 Use Pythons default error messages where possible.
5952 Change all explicitly raised ValueError to use OverflowError
5953 for out of range data.
5955 https://bugzilla.gnome.org/show_bug.cgi?id=705057
5957 gi/pygi-marshal-from-py.c | 76
5958 +++++++++++++++++------------------------------
5959 tests/test_everything.py | 52 ++++++++++++++++----------------
5960 tests/test_gi.py | 64 +++++++++++++++++++--------------------
5961 tests/test_gobject.py | 2 +-
5962 4 files changed, 86 insertions(+), 108 deletions(-)
5964 commit 3c83bfb14b850670eb7c0208e55c120ca203f8af
5965 Author: Simon Feltman <sfeltman@src.gnome.org>
5966 Date: Sat Jul 27 21:10:07 2013 -0700
5968 Use Py_CLEAR for closure cleanup instead of test with Py_DECREF
5970 gi/pygi-closure.c | 11 ++---------
5971 1 file changed, 2 insertions(+), 9 deletions(-)
5973 commit f5e3876dee512ca82af6ea798b10d5ecad785dd1
5974 Author: Simon Feltman <sfeltman@src.gnome.org>
5975 Date: Sat Jul 27 15:25:20 2013 -0700
5977 Cleanup invoke args and kwargs combiner code
5979 Change _py_args_combine_and_check_length use cleaner reference
5981 It no longer DECREFs input arguments and always returns a new value
5983 Use PyGICallableCache directly as an argument instead of passing
5987 gi/pygi-invoke.c | 44 +++++++++++++++++---------------------------
5988 1 file changed, 17 insertions(+), 27 deletions(-)
5990 commit 91c49822363d8a1efc82163b46daa667d6cfc1b7
5991 Author: Simon Feltman <sfeltman@src.gnome.org>
5992 Date: Wed Jul 17 16:10:25 2013 -0700
5994 Replace Python VFunc descriptor directly with PyGIVFuncInfo
5996 Add tp_getdesc (__get__) to PyGIVFuncInfo to allow the object
5997 to be used directly as a callable descriptor. This piggy backs
5998 off the added support for functions and constructors in previous
6001 https://bugzilla.gnome.org/show_bug.cgi?id=704037
6003 gi/pygi-info.c | 25 +++++++++++++++++++++++--
6004 gi/types.py | 33 ++++-----------------------------
6005 2 files changed, 27 insertions(+), 31 deletions(-)
6007 commit 35f79b22ec5abf02fd0bb66352eb1f251b65a078
6008 Author: Simon Feltman <sfeltman@src.gnome.org>
6009 Date: Tue Jul 16 16:00:14 2013 -0700
6011 Add callable and descriptor protocols to PyGICallableInfo
6013 Add tp_call (__call__) function to callable info objects.
6014 This allows for replacement of wrapped invoke methods directly
6015 with the already created callable info object. This has the
6016 additional side effect of making doc strings lazily bound
6017 (only generated when __doc__ is accessed).
6019 Add tp_desc_get (__get__) to PyGIFunctionInfo which returns
6020 a bound version of itself for methods and constructors.
6022 Update various internal type checks to reflect the changes.
6023 Update tests to reflect the new callable type being the same
6024 across Python 2 & 3.
6026 This patch gives roughly a %17 speedup for Gtk imports and
6027 an %11 speedup for GI method calls.
6029 https://bugzilla.gnome.org/show_bug.cgi?id=704037
6032 gi/overrides/__init__.py | 10 ++-
6033 gi/pygi-info.c | 179
6034 ++++++++++++++++++++++++++++++++++++++++++--
6036 gi/types.py | 35 +--------
6037 tests/test_docstring.py | 6 +-
6038 tests/test_gi.py | 32 +++-----
6039 tests/test_overrides_gtk.py | 4 +-
6040 8 files changed, 212 insertions(+), 72 deletions(-)
6042 commit 2339e030e4dc4d93ea770bca380a89f831d56be6
6043 Author: Simon Feltman <sfeltman@src.gnome.org>
6044 Date: Fri Jul 26 19:33:32 2013 -0700
6046 Move "from Python" GObject out arg marshaler into specialized function
6048 Move hacks specific to out argument marshaling for vfuncs into a
6049 a specialized function. This allows standard function call marshaling
6050 to continue working correctly when there are no extra references
6051 holding the arguments "foo(SomeObject())". This is currently being
6052 masked because all GI functions are wrapped by additional layers
6053 of Python functions. When these layers are removed, it exposes
6054 bugs introduced by reference counting hacks intended for vfunc
6057 https://bugzilla.gnome.org/show_bug.cgi?id=704037
6059 gi/pygi-argument.c | 2 +-
6060 gi/pygi-marshal-from-py.c | 37 ++++++++++++++++++++++++++++++-------
6061 gi/pygi-marshal-from-py.h | 3 +++
6062 3 files changed, 34 insertions(+), 8 deletions(-)
6064 commit 627c5faaa54ed9a2b59ac1547833c171cd1a1e87
6065 Author: Simon Feltman <sfeltman@src.gnome.org>
6066 Date: Fri Jul 26 17:34:01 2013 -0700
6068 Add underscore prefix and _cache_adapter suffix to marshaling
6071 Add underscores to all _pygi_marshal_* functions. We don't currently
6072 export symbols, but we might need to for C unittesting. This will
6073 ensure we don't have a "public API".
6074 Add _cache_adapter suffix to marshaling functions which are light
6075 weight wrappers intended only for cached marshalers.
6077 gi/pygi-argument.c | 40 +++++++++++-----------
6078 gi/pygi-cache.c | 10 +++---
6079 gi/pygi-marshal-from-py.c | 86
6080 +++++++++++++++++++++++------------------------
6081 gi/pygi-marshal-from-py.h | 44 ++++++++++++------------
6082 gi/pygi-marshal-to-py.c | 48 +++++++++++++-------------
6083 gi/pygi-marshal-to-py.h | 34 +++++++++----------
6084 6 files changed, 131 insertions(+), 131 deletions(-)
6086 commit bec0b543be8d993996d8a17c343c3f2f33a9398f
6087 Author: Simon Feltman <sfeltman@src.gnome.org>
6088 Date: Tue Jul 16 11:13:17 2013 -0700
6090 Add common attribute accessors to PyGIBaseInfo
6092 Add __name__, __module__, and __doc__ accessors to
6093 PyGIBaseInfo object. This is a precursory patch for setting
6094 up PyGICallableInfo as a directly callable object with lazy
6095 doc string evaluation.
6097 https://bugzilla.gnome.org/show_bug.cgi?id=704037
6099 gi/_glib/pyglib-python-compat.h | 5 +++
6101 +++++++++++++++++++++++++++++++++++++++--
6102 gi/types.py | 7 ++--
6103 3 files changed, 88 insertions(+), 7 deletions(-)
6105 commit ea194404843a16555f9a475cc973872a4428bfe1
6106 Author: Simon Feltman <sfeltman@src.gnome.org>
6107 Date: Sat Jul 13 23:10:31 2013 -0700
6109 Merge method and constructor setup
6111 Merge _setup_constructors into _setup_methods as they contain same
6112 basic logic. This removes an unnecessary call with additional
6113 filtering of GIObjectInfo.get_methods() which can be large for
6114 objects with many methods.
6116 https://bugzilla.gnome.org/show_bug.cgi?id=704037
6118 gi/types.py | 15 ++++-----------
6119 1 file changed, 4 insertions(+), 11 deletions(-)
6121 commit 6b36fbe904d19f515578f447daa7657d3a9a859c
6122 Author: Simon Feltman <sfeltman@src.gnome.org>
6123 Date: Sat Jul 13 18:11:18 2013 -0700
6125 Remove redundant info.get_name calls
6127 Remove a number of redundant calls to GIBaseInfo.get_name. Info
6128 names are already cached on function objects so re-use them when
6129 possible. This gives a small load time improvement by removing over
6130 2000 calls when importing Gtk.
6132 https://bugzilla.gnome.org/show_bug.cgi?id=704037
6135 gi/types.py | 8 +++-----
6136 2 files changed, 3 insertions(+), 6 deletions(-)
6138 commit 6fdde256e840600c84a648ab21da2fe5c212e5bc
6139 Author: Simon Feltman <sfeltman@src.gnome.org>
6140 Date: Fri Jul 12 12:21:54 2013 -0700
6142 Move doc string generator into separate module
6144 Move the doc string generator for creating function signatures
6145 into "gi.docstring". This includes a new API for getting and
6146 setting the doc string creation functions:
6148 gi.docstring.get_doc_string_generator
6149 gi.docstring.set_doc_string_generator
6150 gi.docstring.generate_doc_string
6152 Beyond adding the ability for custom doc string generators,
6153 this API is a necessary step for adding lazy __doc__
6154 attribute access for optimization.
6156 https://bugzilla.gnome.org/show_bug.cgi?id=704037
6158 gi/Makefile.am | 3 +-
6159 gi/docstring.py | 106
6160 ++++++++++++++++++++++++++++++++++++++++++++++++
6161 gi/types.py | 55 ++-----------------------
6162 tests/Makefile.am | 1 +
6163 tests/test_docstring.py | 49 ++++++++++++++++++++++
6164 tests/test_gi.py | 30 --------------
6165 6 files changed, 161 insertions(+), 83 deletions(-)
6167 commit f86701b15ee04c717d9c6bf688101606165e4f83
6168 Author: Simon Feltman <sfeltman@src.gnome.org>
6169 Date: Wed Jul 24 19:36:28 2013 -0700
6171 tests: Change GHashTable<string,GValue> marshaling test to use GValue
6173 Add test to explicitly use a boxed GStrv GValue in addition to a
6174 Python list sub-class.
6176 https://bugzilla.gnome.org/show_bug.cgi?id=666636
6178 tests/test_everything.py | 21 +++++++++++++++------
6179 1 file changed, 15 insertions(+), 6 deletions(-)
6181 commit 6ea41b60691e1ba7e21374582d7aea072af71103
6182 Author: Simon Feltman <sfeltman@src.gnome.org>
6183 Date: Thu Jul 25 18:00:47 2013 -0700
6185 gtk-demo: Change demo to use Gtk.Application
6187 Replace deriving from Gtk.Window with deriving from Gtk.Application
6188 connected to a Gtk.ApplicationWindow instance.
6190 https://bugzilla.gnome.org/show_bug.cgi?id=698547
6192 demos/gtk-demo/demos/printing.py | 2 +-
6193 demos/gtk-demo/gtk-demo.py | 40
6194 ++++++++++++++++++++--------------------
6195 2 files changed, 21 insertions(+), 21 deletions(-)
6197 commit fae58044ea0b2e7f47fbdacc5b58ac36f673ecbd
6198 Author: Simon Feltman <sfeltman@src.gnome.org>
6199 Date: Tue Jul 23 14:25:01 2013 -0700
6201 Move _pygi_argument_to_object_basic_type into pygi-marshal-to-py.c
6203 Move _pygi_argument_to_object_basic_type into pygi-marshal-to-py.c
6204 and rename to _pygi_marshal_to_py_basic_type.
6205 Cleanup and simplify dependant sub-marshalers for unichar, utf8,
6208 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6210 gi/pygi-argument.c | 73 +-----------------------------
6211 gi/pygi-argument.h | 4 --
6212 gi/pygi-cache.c | 4 +-
6213 gi/pygi-marshal-to-py.c | 115
6214 +++++++++++++++++++++++++++++++++++++-----------
6215 gi/pygi-marshal-to-py.h | 27 +++---------
6216 5 files changed, 99 insertions(+), 124 deletions(-)
6218 commit cba401ac1543c2fdb68fff0dba8f6da7eed23bfa
6219 Author: Simon Feltman <sfeltman@src.gnome.org>
6220 Date: Tue Jul 23 13:06:33 2013 -0700
6222 Unify and clean up from Python marshalers for basic types
6224 Unify and cleanup boolean, float, double, gtype, unichar, utf8,
6225 and filename marshalers.
6227 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6229 gi/pygi-cache.c | 101
6230 ++--------------------------------------------
6231 gi/pygi-marshal-from-py.c | 86 ++++++++++++---------------------------
6232 gi/pygi-marshal-from-py.h | 30 --------------
6233 3 files changed, 28 insertions(+), 189 deletions(-)
6235 commit 9e6e01d065bf0acc5b99ae0e8c034d689231bfe1
6236 Author: Simon Feltman <sfeltman@src.gnome.org>
6237 Date: Tue Jul 23 12:35:06 2013 -0700
6239 Unify from Python int64 and uint64 marshalers
6241 Replaced int64 and uint64 cached marshalers with usage of the
6242 unified basic type marshaler. Replace a large amount of int64
6243 exception formatting code with usage of %S for Python 3 and
6244 give a more vague message for Python 2.
6246 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6248 gi/pygi-cache.c | 36 +--------
6249 gi/pygi-marshal-from-py.c | 193
6250 ++++++++++------------------------------------
6251 gi/pygi-marshal-from-py.h | 10 ---
6252 3 files changed, 43 insertions(+), 196 deletions(-)
6254 commit 46653922003c7d1d5d16f5cdb39b3faadf9aff27
6255 Author: Simon Feltman <sfeltman@src.gnome.org>
6256 Date: Tue Jul 23 11:03:14 2013 -0700
6258 Unify from Python int16 and int32 marshalers
6260 Add PyNumber_Check to unified basic type marshaler.
6261 Add bounds checking to unified int16 and int32 marshalers.
6262 Replaced int16 and int32 cached marshalers with usage of
6263 unified basic type marshaler.
6265 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6267 gi/pygi-cache.c | 69 +--------------
6268 gi/pygi-marshal-from-py.c | 218
6269 ++++++++++------------------------------------
6270 gi/pygi-marshal-from-py.h | 20 -----
6271 3 files changed, 48 insertions(+), 259 deletions(-)
6273 commit 4b9c725a615fcf4a5e8d089d275d4586032d0d1f
6274 Author: Simon Feltman <sfeltman@src.gnome.org>
6275 Date: Tue Jul 23 00:27:14 2013 -0700
6277 Unify from Python boolean, int8, and uint8 marshalers
6279 Replaced boolean, int8, and uint8 cached marshalers with usage of
6280 unified basic type marshaler. Add bounds checking to unified int8
6283 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6285 gi/pygi-cache.c | 48 +++------------
6286 gi/pygi-marshal-from-py.c | 146
6287 +++++++++++-----------------------------------
6288 gi/pygi-marshal-from-py.h | 20 ++-----
6289 3 files changed, 45 insertions(+), 169 deletions(-)
6291 commit f517bfbc134b78a23b754332e59b9bb67bb68e98
6292 Author: Simon Feltman <sfeltman@src.gnome.org>
6293 Date: Mon Jul 22 23:24:13 2013 -0700
6295 Add support for PyBytes with int8 and uint8 from Python marshaler
6297 This additional type marshaling is necessary for unifying marhalers
6298 due to the same feature being available with cached argument
6301 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6303 gi/pygi-marshal-from-py.c | 14 ++++++++++++++
6304 1 file changed, 14 insertions(+)
6306 commit fe9df90531f3dd04c0d13d73ebd4ae7dd396c9b1
6307 Author: Simon Feltman <sfeltman@src.gnome.org>
6308 Date: Mon Jul 22 23:23:29 2013 -0700
6310 Move from Python integer marshaling into separate function
6312 Add _pygi_marshal_from_py_long for marshaling Python objects
6313 that can convert to a PyLong type. This allows for better
6314 sharing of code amongst marshalers along with unifying
6315 them across Python 2.7 and 3.0.
6317 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6319 gi/pygi-argument.c | 3 +-
6320 gi/pygi-marshal-from-py.c | 159
6321 ++++++++++++++++++++++++----------------------
6322 2 files changed, 84 insertions(+), 78 deletions(-)
6324 commit f7748affae3d6ef0cc2e409f65761fb29c01b038
6325 Author: Simon Feltman <sfeltman@src.gnome.org>
6326 Date: Mon Jul 22 22:19:26 2013 -0700
6328 Move _pygi_argument_from_object_basic_type into pygi-marshal-from-py.c
6330 Move _pygi_argument_from_object_basic_type into pygi-marshal-from-py.c
6331 and rename to: _pygi_marshal_from_py_basic_type
6333 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6335 gi/pygi-argument.c | 149
6336 +---------------------------------------------
6337 gi/pygi-marshal-from-py.c | 147
6338 +++++++++++++++++++++++++++++++++++++++++++++
6339 gi/pygi-marshal-from-py.h | 4 ++
6340 3 files changed, 152 insertions(+), 148 deletions(-)
6342 commit 9c9510eec782f242280af24e86adf3561e4fac72
6343 Author: Simon Feltman <sfeltman@src.gnome.org>
6344 Date: Fri Jul 19 23:37:35 2013 -0700
6346 Move basic type marshaling out of _pygi_argument_from_object
6348 Move the marshaling of Python objects to GI arguments for basic types
6349 into a new function: _pygi_argument_from_object_basic_type
6350 This is staging work needed before unifying basic type marshaling
6351 of arguments from Python to GI.
6353 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6355 gi/pygi-argument.c | 73
6356 ++++++++++++++++++++++++++++++++++--------------------
6357 1 file changed, 46 insertions(+), 27 deletions(-)
6359 commit 0e2441518ef31bd2b4102ba5780c3ded00bec59a
6360 Author: Simon Feltman <sfeltman@src.gnome.org>
6361 Date: Fri Jul 19 20:16:10 2013 -0700
6363 Replace to Python cached marshalers with unified basic type marshaler
6365 Add cached arg marshaler "_pygi_marshal_to_py_basic_type" which
6366 unifies functions, vfuncs, signals, and property marshaling for
6367 "basic types". Remove all the individual cached arg marshalers
6370 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6372 gi/pygi-argument.c | 104 +++++++++++------------------------
6373 gi/pygi-argument.h | 4 ++
6374 gi/pygi-cache.c | 114 +++++++-------------------------------
6375 gi/pygi-marshal-to-py.c | 142
6376 ++++--------------------------------------------
6377 gi/pygi-marshal-to-py.h | 48 ++--------------
6378 5 files changed, 73 insertions(+), 339 deletions(-)
6380 commit 663fe5893bbc9f34bf8aa4da3cb6f9186a8233b1
6381 Author: Simon Feltman <sfeltman@src.gnome.org>
6382 Date: Fri Jul 19 18:00:40 2013 -0700
6384 Move to Python basic type marshaling out of _pygi_argument_to_object
6386 Move the marshaling of GI arguments to Python objects for basic types
6387 into a new function. The required information for this marshaler
6388 is a GITypeTag and GITransfer. Argument marshaling matching these
6389 requirments are now found in: _pygi_argument_to_object_basic_type.
6390 The new marshaler can be used with a generic argument cache marshaler
6391 to unify all of the "basic type" marshaling.
6393 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6395 gi/pygi-argument.c | 86
6396 +++++++++++++++++++++++++++++++++++++++---------------
6397 1 file changed, 63 insertions(+), 23 deletions(-)
6399 commit dd43a1e19440dbe025451d2e4e07a6074086498d
6400 Author: Simon Feltman <sfeltman@src.gnome.org>
6401 Date: Sat Jul 6 14:16:36 2013 -0700
6403 Override GValue.set/get_boxed with static C marshaler
6405 Override boxed type get/set methods on GValue to use the static C
6406 GValue marshaler. This works around the inability of the introspection
6407 version of these methods to know what the held GValue type is.
6408 With this, all boxed types will now marshal properly with GValues as
6411 https://bugzilla.gnome.org/show_bug.cgi?id=688081
6413 gi/_gobject/gobjectmodule.c | 38 ++++++++++++++++++++++++++++++++++++++
6414 gi/overrides/GObject.py | 9 +++++++++
6415 2 files changed, 47 insertions(+)
6417 commit 2cff4827e6d15bcad630316a8a4e67968a70bbbf
6418 Author: Simon Feltman <sfeltman@src.gnome.org>
6419 Date: Sat Jul 6 14:10:20 2013 -0700
6421 Refactor pyg_value_from_pyobject into two functions
6423 Break pyg_value_from_pyobject into two functions. One which keeps
6424 Python exceptions queued (pyg_value_from_pyobject_with_error) and
6425 one which clears them (pyg_value_from_pyobject). This allows for
6426 re-use for code which want to keep the errors around
6428 https://bugzilla.gnome.org/show_bug.cgi?id=688081
6430 gi/_gobject/gobjectmodule.c | 4 ++-
6431 gi/_gobject/pygobject-private.h | 1 +
6432 gi/_gobject/pygobject.h | 2 ++
6433 gi/_gobject/pygtype.c | 67
6434 ++++++++++++++++++++++++++++++++---------
6435 4 files changed, 59 insertions(+), 15 deletions(-)
6437 commit 84e91a9da3522d042faca65fd2ada1ccaee60153
6438 Author: Simon Feltman <sfeltman@src.gnome.org>
6439 Date: Sat Jul 6 20:41:19 2013 -0700
6441 Fix indentation for pyg_value_from_pyobject
6443 https://bugzilla.gnome.org/show_bug.cgi?id=688081
6445 gi/_gobject/pygtype.c | 744
6446 +++++++++++++++++++++++++-------------------------
6447 1 file changed, 372 insertions(+), 372 deletions(-)
6449 commit 6a29d9be14ec33d06816ade67a5ccf5c7a1cf398
6450 Author: Simon Feltman <sfeltman@src.gnome.org>
6451 Date: Sat Jul 6 13:32:39 2013 -0700
6453 Add deprecation warning for marshaling arbitrary objects as pointers
6455 Add deprecation warning for marshaling arbitrary objects to/from void
6456 pointers with the exception of integers, PyCapsules, and None.
6458 https://bugzilla.gnome.org/show_bug.cgi?id=688081
6460 gi/pygi-marshal-from-py.c | 17 ++++++++++++++++-
6461 gi/pygi-marshal-to-py.c | 10 ++++++++--
6462 2 files changed, 24 insertions(+), 3 deletions(-)
6464 commit 077aefed8566adcb99d7570f52fe09c74c2098e5
6465 Author: Simon Feltman <sfeltman@src.gnome.org>
6466 Date: Sat Jul 6 13:34:53 2013 -0700
6468 Move PyGIDeprecationWarning to C for shared Python/C usage
6470 https://bugzilla.gnome.org/show_bug.cgi?id=688081
6472 gi/__init__.py | 19 ++++---------------
6473 gi/gimodule.c | 18 ++++++++++++++++++
6475 3 files changed, 24 insertions(+), 15 deletions(-)
6477 commit 90427107af36ea3c624b36967ee181ed13b9828f
6478 Author: Simon Feltman <sfeltman@src.gnome.org>
6479 Date: Thu Jul 18 14:59:55 2013 -0700
6481 Replace usage of __import__ with importlib.import_module
6483 https://bugzilla.gnome.org/show_bug.cgi?id=682320
6485 gi/module.py | 8 ++++----
6486 1 file changed, 4 insertions(+), 4 deletions(-)
6488 commit 6391a8e4f03d4010c0d7de79fc83138fd69e0e33
6489 Author: Mike Gorse <mgorse@suse.com>
6490 Date: Wed Jul 10 16:44:23 2013 -0500
6492 Always unref the GiTypeInfo when generating an argument cache
6494 We were leaking a GiTypeInfo when handling child arguments.
6496 https://bugzilla.gnome.org/show_bug.cgi?id=703973
6498 gi/pygi-cache.c | 1 +
6499 1 file changed, 1 insertion(+)
6501 commit ce0ad7066ebdb7018fdce58dc32bbaa715206a0c
6502 Author: Mike Gorse <mgorse@suse.com>
6503 Date: Wed Jul 10 12:10:16 2013 -0500
6505 Unref interface info when fetching enums or flags
6507 When calling g_type_info_get_interface, the resulting interface should
6508 be dereferenced by calling g_base_info_unref.
6510 https://bugzilla.gnome.org/show_bug.cgi?id=703960
6512 gi/pygi-marshal-from-py.c | 8 +++++++-
6513 gi/pygi-marshal-to-py.c | 3 +++
6514 2 files changed, 10 insertions(+), 1 deletion(-)
6516 commit a93755ddba9a1761b627583d7b9be63783c2c063
6517 Author: Daniel Drake <dsd@laptop.org>
6518 Date: Tue Jul 9 13:03:36 2013 -0600
6520 Speed up MRO calculation
6522 Optimize gi.type.mro() with the following observations and tricks:
6524 1. Python prepares all the base classes before trying to calculate the
6525 MRO of the current one (it first needs to populate __bases__, for
6526 example). So we can assume that the base class MRO is already
6528 in __mro__ and this will have been previously calculated (by us,
6530 case of gi classes). This avoids repeating a lot of MRO-calculating
6532 and also avoids (re)calculating MROs for inheritance chains
6534 have any gi classes in them anyway.
6536 2. With that simplification in place, we can avoid recursion, which
6538 all that great in Python...
6540 3. ...except in the uncommon case of a Python2 old-style classes,
6542 __mro__ is not available. There doesn't seem to be any existing
6543 function to calculate or read MRO of old-style python classes,
6545 keep doing as before: calculate the C3 MRO of the old-style
6547 recursion. That behaviour is not really correct, and the
6549 not desirable, so we print a warning here.
6551 This makes the "hello world" Sugar app start up approximately
6555 https://bugzilla.gnome.org/show_bug.cgi?id=703829
6557 gi/types.py | 30 +++++++++++++++++++++++++++---
6558 tests/test_gi.py | 16 ++++++++++++----
6559 2 files changed, 39 insertions(+), 7 deletions(-)
6561 commit 7aca95781fc76f3e820e63325ccc07d128a60075
6562 Author: Daniel Drake <dsd@laptop.org>
6563 Date: Wed Jul 10 10:45:47 2013 -0600
6565 tests: Add tests for MRO override
6567 Add tests for the MRO override to prevent against unintended
6570 https://bugzilla.gnome.org/show_bug.cgi?id=703829
6572 tests/test_gi.py | 66
6573 ++++++++++++++++++++++++++++++++++++++++++--------------
6574 1 file changed, 50 insertions(+), 16 deletions(-)
6576 commit a15333a36e31b76ea6b80251553840269ec5deb1
6577 Author: Simon Feltman <sfeltman@src.gnome.org>
6578 Date: Sat Jul 6 13:34:13 2013 -0700
6580 Add GIL safety to pyobject_copy for copying boxed PyObjects
6582 https://bugzilla.gnome.org/show_bug.cgi?id=688081
6584 gi/_gobject/pygobject.c | 3 +++
6585 1 file changed, 3 insertions(+)
6587 commit 097c116d43a21bebf8e4bccde9cacc551db1e1e5
6588 Author: Simon Feltman <sfeltman@src.gnome.org>
6589 Date: Sat Jul 6 09:48:35 2013 -0700
6591 testhelper: Fix import requirement for GObject
6593 Replace the importing of gi._gobject._gobject with
6594 gi.repository.GObject
6595 in tests/testhelpermodule.c
6597 The testhelper module was only importing the static bindings
6598 (gi._gobject._gobject) and not the overrides (gi.repository.GObject).
6599 This was causing some tests to fail when test_thread was the first
6600 test to run in the suite due to it registering new types based on
6603 https://bugzilla.gnome.org/show_bug.cgi?id=703647
6605 tests/testhelpermodule.c | 2 +-
6606 1 file changed, 1 insertion(+), 1 deletion(-)
6608 commit 0f6c571755e65b5e77d3d84e4516ef90d8ce0162
6609 Author: Simon Feltman <sfeltman@src.gnome.org>
6610 Date: Wed Jul 3 05:26:12 2013 -0700
6612 Add marshalling of GI_TYPE_TAG_VOID held in a GValue to int
6614 Replace assertion for this case with a simple marshalling of the
6615 pointer value to a Python int. While not particularly useful
6616 this allows some callbacks in WebKit to function without causing
6619 https://bugzilla.gnome.org/show_bug.cgi?id=694233
6621 gi/pygi-argument.c | 4 ++--
6622 1 file changed, 2 insertions(+), 2 deletions(-)
6624 commit e0084e7e73845fa2a2da29017d3622f361f11dfb
6625 Author: Cole Robinson <crobinso@redhat.com>
6626 Date: Sat Feb 16 17:26:43 2013 -0500
6628 GTK overrides: Make connect_signals handle tuple
6630 This is used for passing extra arguments to callbacks during
6631 signal emission in the form of:
6632 builder.connect_signals({'on_clicked': (on_clicked, arg1, arg2)})
6634 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
6636 https://bugzilla.gnome.org/show_bug.cgi?id=693994
6638 gi/overrides/Gtk.py | 51 ++++++++----
6639 tests/test_overrides_gtk.py | 196
6640 +++++++++++++++++++++++++++++---------------
6641 2 files changed, 165 insertions(+), 82 deletions(-)
6643 commit 466567373289e6f141709f08efa80ba588d3d64a
6644 Author: Simon Feltman <sfeltman@src.gnome.org>
6645 Date: Tue Jul 2 18:06:01 2013 -0700
6647 Re-add support for passing GValue's by reference
6649 Fix special casing when marshaling from a Python held GValue
6650 to a GValue argument intended for a function call.
6651 The re-factoring of GValue marshaling in commit #9e47afe459df942d9f
6652 broke this by always making a copy of the GValue. This removed the
6653 ability to retrieve values with functions like
6654 gtk_style_context_get_style_property.
6656 https://bugzilla.gnome.org/show_bug.cgi?id=701058
6658 gi/pygi-argument.c | 2 +-
6659 gi/pygi-marshal-from-py.c | 32 +++++++++++++++-----------------
6660 2 files changed, 16 insertions(+), 18 deletions(-)
6662 commit 40a3cd18fd7111ae177f6ab716f78d131f59a1c0
6663 Author: Simon Feltman <sfeltman@src.gnome.org>
6664 Date: Tue Jul 2 19:20:04 2013 -0700
6666 tests: Add test for pass-by-reference GValue
6668 https://bugzilla.gnome.org/show_bug.cgi?id=701058
6670 tests/test_gi.py | 7 +++++++
6671 1 file changed, 7 insertions(+)
6673 commit 3b3251593ea107f06b160234b0ca5393cb39ac1b
6674 Author: Simon Feltman <sfeltman@src.gnome.org>
6675 Date: Tue Jul 2 23:02:17 2013 -0700
6677 Clear return value of closures to zero when an exception occures
6679 For return types other than void, set the ffi closure return argument
6680 to 0 when a Python exception occures. This a good default in general
6681 but also has the side affect of fixing failing idle callbacks
6682 by causing them to be removed from main loops (after their stack
6685 https://bugzilla.gnome.org/show_bug.cgi?id=702552
6687 gi/pygi-closure.c | 14 ++++++++++++++
6688 tests/test_gi.py | 8 ++++++++
6689 2 files changed, 22 insertions(+)
6691 commit ae3439f1d22482d6a920a869d3d17e7054af6f80
6692 Author: Martin Pitt <martinpitt@gnome.org>
6693 Date: Wed Jul 3 10:40:28 2013 +0200
6695 Don't use doctest syntax in docstrings for examples
6697 These are not actual doctests, so don't use the >>> syntax there. Just
6701 This fixes pyflakes 0.7 failures.
6703 https://bugzilla.gnome.org/show_bug.cgi?id=701009
6705 gi/_gobject/propertyhelper.py | 11 +++++------
6706 gi/overrides/GObject.py | 8 ++++----
6707 gi/overrides/Gtk.py | 2 +-
6708 3 files changed, 10 insertions(+), 11 deletions(-)
6710 commit b96a6dc968566d339a2dfd7dd631ae52d812302a
6711 Author: Garrett Regier <garrettregier@gmail.com>
6712 Date: Tue Jul 2 06:07:15 2013 -0700
6714 Add support for properties of type GInterface
6716 Add support for G_TYPE_INTERFACE/GInterface to switch
6717 statement which handles G_TYPE_OBJECT based properties.
6719 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
6721 https://bugzilla.gnome.org/show_bug.cgi?id=703456
6723 gi/_gobject/gobjectmodule.c | 1 +
6724 gi/_gobject/propertyhelper.py | 3 ++-
6725 tests/test_properties.py | 16 ++++++++++++++++
6726 3 files changed, 19 insertions(+), 1 deletion(-)
6728 commit 61b268e44af63d6d78feae42578bf75aa5cfd511
6729 Author: Martin Pitt <martinpitt@gnome.org>
6730 Date: Fri Jun 21 07:27:48 2013 +0200
6732 pygtkcompat: Fix for missing methods on Windows
6734 Deal with non-existing Gtk.Clipboard.get() and
6735 GdkPixbuf.Pixbuf.new_from_file_at_scale() methods.
6737 https://bugzilla.gnome.org/show_bug.cgi?id=702787
6739 pygtkcompat/pygtkcompat.py | 10 ++++++++--
6740 1 file changed, 8 insertions(+), 2 deletions(-)
6742 commit 5e3ab0bb974cc785659666b871d795730b4f06b3
6743 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
6744 Date: Fri Jun 21 12:32:33 2013 +0800
6746 gi/pygi-info.c: Avoid C99-style variable declaration
6748 https://bugzilla.gnome.org/show_bug.cgi?id=702786
6750 gi/pygi-info.c | 3 ++-
6751 1 file changed, 2 insertions(+), 1 deletion(-)
6753 commit 94167e12c118c85cd3172f9f5824fe53e55bcc2d
6754 Author: Martin Pitt <martinpitt@gnome.org>
6755 Date: Wed May 29 11:20:35 2013 +0200
6757 GLib overrides: fix typo in deprecation message
6759 Spotted by Dmitrijs Ledkovs, thanks!
6761 gi/overrides/GLib.py | 2 +-
6762 1 file changed, 1 insertion(+), 1 deletion(-)
6764 commit 86569b69ade0fe157fa87365e9369dde84cd5c90
6765 Author: Martin Pitt <martinpitt@gnome.org>
6766 Date: Tue May 28 17:57:20 2013 +0200
6768 configure.ac: post-release version bump to 3.9.3
6771 1 file changed, 1 insertion(+), 1 deletion(-)
6773 commit 10f703189ed6a7104252907d1b1a114f26d79559
6774 Author: Martin Pitt <martinpitt@gnome.org>
6775 Date: Tue May 28 17:56:07 2013 +0200
6779 NEWS | 15 +++++++++++++++
6780 1 file changed, 15 insertions(+)
6782 commit af8d048442b924c72a1d0ae868ee63ccf292759d
6783 Author: Martin Pitt <martinpitt@gnome.org>
6784 Date: Fri May 24 13:03:07 2013 +0200
6786 examples/option.py: Port to GI and Python 3
6788 examples/option.py | 38 +++++++++++++++++++-------------------
6789 1 file changed, 19 insertions(+), 19 deletions(-)
6791 commit bef5939ca77f4d6939cd9229bd124dfe825b3bdb
6792 Author: Simon Feltman <sfeltman@src.gnome.org>
6793 Date: Sun May 12 18:58:06 2013 -0700
6795 Fix vfunc info search for classes with multiple inheritance
6797 Ensure the search for vfunc GI info continues recursively even if the
6798 current class being looked at does not contain GI info of type
6799 InterfaceInfo. This more exhaustive search is needed for setups with
6800 multiple sub-classes and multiple inheritance.
6802 https://bugzilla.gnome.org/show_bug.cgi?id=700092
6804 gi/types.py | 12 +++++++-----
6805 tests/test_gi.py | 1 -
6806 2 files changed, 7 insertions(+), 6 deletions(-)
6808 commit 5b8dff59baa1a3e524dac7877dd5b33dea52b026
6809 Author: Simon Feltman <sfeltman@src.gnome.org>
6810 Date: Sun May 12 22:19:38 2013 -0700
6812 Fix closure argument conversion for enum and flag in args
6814 Replace incorrect cast and assignment of double with uint for flags
6817 gi/pygi-closure.c | 2 +-
6818 1 file changed, 1 insertion(+), 1 deletion(-)
6820 commit 065503d5e284dc89bacd79d0d9a72eb739882bf8
6821 Author: Simon Feltman <sfeltman@src.gnome.org>
6822 Date: Sat May 11 21:47:54 2013 -0700
6824 tests: Add tests for overriding vfunc implementations
6826 Add tests for overriding vfuncs for both single inheritance
6827 and multiple inheritance with an interface (currently failing).
6829 https://bugzilla.gnome.org/show_bug.cgi?id=700092
6831 tests/test_gi.py | 23 +++++++++++++++++++++++
6832 1 file changed, 23 insertions(+)
6834 commit c4e1112840004af264b4f2a052f333ea38f95cb6
6835 Author: Simon Feltman <sfeltman@src.gnome.org>
6836 Date: Sat May 11 20:28:22 2013 -0700
6838 Fix marshaling Python to FFI return value for enum and flags
6840 Add break to GI_TYPE_TAG_INTERFACE case. This was falling through
6842 assignment of arg.v_pointer to the ffi return arg.
6844 gi/pygi-closure.c | 1 +
6845 1 file changed, 1 insertion(+)
6847 commit a703217eaf4075e9720d4247351e1dfc4f553772
6848 Author: Simon Feltman <sfeltman@src.gnome.org>
6849 Date: Fri Apr 19 06:37:24 2013 -0700
6851 Remove half implemented GC in PyGIBaseInfo, PyGIStruct, and PyGIBoxed
6853 Remove half implemented GC tracking from PyGIBaseInfo as it was not
6854 needed (the implemented was also missing usage of
6855 PyObject_GC_New/Track).
6856 Ensure weakref list for PyGIBaseInfo is initialized to NULL and
6859 Remove invalid calls to PyObject_GC_UnTrack and PyObject_ClearWeakRefs
6860 for both PyGIStruct and PyGIBoxed as these types were not being
6861 advertised as GC aware with Py_TPFLAGS_HAVE_GC.
6863 https://bugzilla.gnome.org/show_bug.cgi?id=677091
6865 gi/pygi-boxed.c | 4 ----
6866 gi/pygi-info.c | 20 +++++---------------
6867 gi/pygi-struct.c | 4 ----
6868 3 files changed, 5 insertions(+), 23 deletions(-)
6870 commit 87e41db2e060acd689a2ac043bc1ac51007de6f3
6871 Author: Simon Feltman <sfeltman@src.gnome.org>
6872 Date: Fri May 3 02:00:07 2013 -0700
6874 Replace usage of pyg_begin_allow_threads with Py_BEGIN_ALLOW_THREADS
6876 Replace all usage of pyg[lib]_begin_allow_threads with direct usage
6877 of Py_BEGIN_ALLOW_THREADS.
6879 https://bugzilla.gnome.org/show_bug.cgi?id=699440
6881 gi/_glib/pyglib.h | 4 ----
6882 gi/_glib/pygoptioncontext.c | 4 ++--
6883 gi/_gobject/pygobject.c | 33 ++++++++++++++++-----------------
6884 gi/gimodule.c | 4 ++--
6885 gi/pygi-invoke.c | 4 ++--
6886 5 files changed, 22 insertions(+), 27 deletions(-)
6888 commit c9e95663d05de98a9abd3d1479554b1f09753382
6889 Author: Simon Feltman <sfeltman@src.gnome.org>
6890 Date: Thu May 2 03:57:05 2013 -0700
6892 Remove and deprecate API for setting of thread blocking functions
6894 Remove pyglib_set_thread_block_funcs and deprecate
6895 pyg_set_thread_block_funcs.
6896 The thread block function APIs are no longer be neccessary because
6898 can use the Python C API directly when working with threads.
6900 https://bugzilla.gnome.org/show_bug.cgi?id=699440
6902 gi/_glib/pyglib.c | 41 -----------------------------------
6903 gi/_glib/pyglib.h | 9 ++++----
6904 gi/_gobject/gobjectmodule.c | 25 ++++++++-------------
6905 gi/_gobject/pygobject-private.h | 33 ----------------------------
6906 gi/_gobject/pygobject.h | 48
6907 ++++++++++++++++++++---------------------
6908 gi/gimodule.c | 15 +++++++------
6909 6 files changed, 46 insertions(+), 125 deletions(-)
6911 commit 05498a5732582a5ed1944bd1383af154ca5fc4e6
6912 Author: Martin Pitt <martinpitt@gnome.org>
6913 Date: Tue Apr 30 11:51:05 2013 -0700
6915 configure.ac: Post-release bump to 3.9.2
6918 1 file changed, 1 insertion(+), 1 deletion(-)
6920 commit 902bb6685fd9c90c7d81127861a152b0fab4b107
6921 Author: Martin Pitt <martinpitt@gnome.org>
6922 Date: Tue Apr 30 11:49:03 2013 -0700
6926 NEWS | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
6927 1 file changed, 49 insertions(+)
6929 commit f463d7cfaf65e0f3594ec15d897325f84225f1c5
6930 Author: Simon Feltman <sfeltman@src.gnome.org>
6931 Date: Sun Apr 28 19:59:35 2013 -0700
6933 gtk-demo: Wrap description strings at 80 characters
6935 Wrap trailing demo description strings so they are easier to read
6936 in a programming editor. The gtk-demo itself re-wraps this using
6937 textwrap and the Gtk.TextView dynamic wrapping.
6939 https://bugzilla.gnome.org/show_bug.cgi?id=698547
6941 demos/gtk-demo/demos/Entry/search_entry.py | 6 +++---
6942 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 8 ++++----
6943 demos/gtk-demo/demos/Icon View/iconviewedit.py | 5 +++--
6944 demos/gtk-demo/demos/Tree View/liststore.py | 5 ++++-
6945 demos/gtk-demo/demos/images.py | 6 ++++--
6946 demos/gtk-demo/demos/menus.py | 20
6947 ++++++++++++++++----
6948 demos/gtk-demo/demos/pickers.py | 4 ++--
6949 demos/gtk-demo/demos/pixbuf.py | 5 +++--
6950 demos/gtk-demo/demos/rotatedtext.py | 6 ++++--
6951 9 files changed, 43 insertions(+), 22 deletions(-)
6953 commit f0d4b963c42ac31d4d17ec0f2271940df2568644
6954 Author: Simon Feltman <sfeltman@src.gnome.org>
6955 Date: Sat Apr 27 22:30:35 2013 -0700
6957 gtk-demo: Use textwrap to reformat description for Gtk.TextView
6959 https://bugzilla.gnome.org/show_bug.cgi?id=698547
6961 demos/gtk-demo/gtk-demo.py | 8 +++++++-
6962 1 file changed, 7 insertions(+), 1 deletion(-)
6964 commit ed41e260dcf5745fcc0656412be3c4a520ee20fc
6965 Author: Simon Feltman <sfeltman@src.gnome.org>
6966 Date: Sat Apr 27 21:58:28 2013 -0700
6968 gtk-demo: Use GtkSource.View for showing source code
6970 Replace manual syntax highlighting of Gtk.TextView with usage of
6971 GtkSource.View when available. Fall back to TextView with no
6972 hightlighting when GtkSource is not available.
6974 https://bugzilla.gnome.org/show_bug.cgi?id=698547
6976 demos/gtk-demo/gtk-demo.py | 170
6977 ++++++++++++---------------------------------
6978 1 file changed, 44 insertions(+), 126 deletions(-)
6980 commit 150104db47ac5ba32758fba0c156adaecc0fbcc0
6981 Author: Mike Ruprecht <mike.ruprecht@collabora.co.uk>
6982 Date: Sun Apr 28 01:40:34 2013 -0500
6984 Use correct class for GtkEditable's get_selection_bounds() function
6986 https://bugzilla.gnome.org/show_bug.cgi?id=699096
6988 gi/overrides/Gtk.py | 2 +-
6989 1 file changed, 1 insertion(+), 1 deletion(-)
6991 commit 61663928259f6f48c11f6e43334a62dd2b3eb8e6
6992 Author: Simon Feltman <sfeltman@src.gnome.org>
6993 Date: Thu Apr 25 05:27:35 2013 -0700
6995 Test results of g_base_info_get_name for NULL
6997 Block against potential NULL result when generating type hint with
6998 _g_arg_get_pytype_hint.
7000 https://bugzilla.gnome.org/show_bug.cgi?id=698829
7002 gi/pygi-info.c | 12 ++++++++++--
7003 1 file changed, 10 insertions(+), 2 deletions(-)
7005 commit 0dff1940caf52ea5f1de27cc801ea6d4dab3a446
7006 Author: Jose Rostagno <joserostagno@vijona.com.ar>
7007 Date: Sun Apr 21 19:09:59 2013 -0300
7009 Remove g_type_init conditional call
7011 It's deprecated in the glib version we depend on.
7013 https://bugzilla.gnome.org/show_bug.cgi?id=698763
7015 gi/_gobject/gobjectmodule.c | 3 ---
7016 1 file changed, 3 deletions(-)
7018 commit c84b071ed8d3b78b4e4a6aef12f5f8bb99bdc107
7019 Author: Jose Rostagno <joserostagno@vijona.com.ar>
7020 Date: Sat Mar 30 20:59:44 2013 -0300
7022 Update deps versions also in README
7024 commit f957e33bc1ef2a4175bab85cfcd9b5faf092aa2f missed to update
7027 https://bugzilla.gnome.org/show_bug.cgi?id=698763
7030 1 file changed, 2 insertions(+), 2 deletions(-)
7032 commit 4f25fa43e1e5c0f3cd22bcdadadb1d731f01fe34
7033 Author: Jose Rostagno <joserostagno@vijona.com.ar>
7034 Date: Sat Mar 30 20:50:35 2013 -0300
7036 Drop compat code for old python version
7038 https://bugzilla.gnome.org/show_bug.cgi?id=698763
7040 gi/_glib/pyglib-python-compat.h | 12 ------------
7041 1 file changed, 12 deletions(-)
7043 commit 8104fa04cac2cba74337e6c4b3ecf56fd6cbb80b
7044 Author: Niklas Koep <niklas.koep@gmail.com>
7045 Date: Thu Apr 25 06:14:12 2013 +0200
7047 Remove duplicate call to _gi.Repository.require()
7049 repository.require() was called twice in IntrospectionModule's
7052 https://bugzilla.gnome.org/show_bug.cgi?id=698797
7055 1 file changed, 1 deletion(-)
7057 commit f22b95033c0bcd99e9c70e6f0dc999f5e64b08a6
7058 Author: Johan Dahlin <johan@gnome.org>
7059 Date: Mon Oct 1 03:02:10 2012 -0700
7061 Add ObjectInfo.get_class_struct()
7063 https://bugzilla.gnome.org/show_bug.cgi?id=685218
7065 gi/pygi-info.c | 15 +++++++++++++++
7066 tests/test_gi.py | 4 ++++
7067 2 files changed, 19 insertions(+)
7069 commit 2d34d35e5db06b0eb29cba91d0999b20a5c0b450
7070 Author: Simon Feltman <sfeltman@src.gnome.org>
7071 Date: Mon Apr 22 03:43:23 2013 -0700
7073 Change interpretation of NULL pointer field from None to 0
7075 The usage of 0 is needed because these fields should generally
7076 be used to store integer indices or hashes, not necessarily
7077 pointers to actual data.
7079 https://bugzilla.gnome.org/show_bug.cgi?id=698366
7081 gi/pygi-argument.c | 11 +----------
7082 tests/test_everything.py | 5 +++--
7083 2 files changed, 4 insertions(+), 12 deletions(-)
7085 commit 8d61ad38eb90d639da08289c036ae4cb99336c2a
7086 Author: Sobhan Mohammadpour <sobhanmohammadpour1@yahoo.fr>
7087 Date: Fri Mar 8 08:25:58 2013 +0330
7089 Do not build tests until needed
7091 Originally by [Alexandre Rostovtsev <tetromino@gmail.com>
7093 https://bugzilla.gnome.org/show_bug.cgi?id=698444
7095 tests/Makefile.am | 12 ++++++------
7096 1 file changed, 6 insertions(+), 6 deletions(-)
7098 commit f61f23b999ae6e27ca852753da906de4ab8e6e25
7099 Author: Kai Willadsen <kai.willadsen@gmail.com>
7100 Date: Sun Apr 14 15:16:40 2013 +1000
7102 pygi-convert: Support toolbar styles
7104 https://bugzilla.gnome.org/show_bug.cgi?id=698477
7106 pygi-convert.sh | 1 +
7107 1 file changed, 1 insertion(+)
7109 commit 7a92ade7ee5fe2f9eb8de2626c34650e2e5c06df
7110 Author: Kai Willadsen <kai.willadsen@gmail.com>
7111 Date: Sun Apr 14 10:54:04 2013 +1000
7113 pygi-convert: Support new-style constructors for Gio.File
7115 https://bugzilla.gnome.org/show_bug.cgi?id=698477
7117 pygi-convert.sh | 2 ++
7118 1 file changed, 2 insertions(+)
7120 commit 1e8120992dc103ac817351be3c150e6cb25f719f
7121 Author: Kai Willadsen <kai.willadsen@gmail.com>
7122 Date: Sun Apr 14 10:22:55 2013 +1000
7124 pygi-convert: Add some support for recent manager constructs
7126 https://bugzilla.gnome.org/show_bug.cgi?id=698477
7128 pygi-convert.sh | 3 +++
7129 1 file changed, 3 insertions(+)
7131 commit 17d349f98d62ea7947c1553e0ef7e867301523aa
7132 Author: Kai Willadsen <kai.willadsen@gmail.com>
7133 Date: Sun Apr 14 07:37:24 2013 +1000
7135 pygi-convert: Check for double quote in require statement
7137 https://bugzilla.gnome.org/show_bug.cgi?id=698477
7139 pygi-convert.sh | 1 +
7140 1 file changed, 1 insertion(+)
7142 commit cc8bd6bd3fdf99762aa3431ceee347a05f6f3200
7143 Author: Kai Willadsen <kai.willadsen@gmail.com>
7144 Date: Sun Apr 14 07:37:00 2013 +1000
7146 pygi-convert: Don't transform arbitrary keysym imports
7148 https://bugzilla.gnome.org/show_bug.cgi?id=698477
7150 pygi-convert.sh | 2 +-
7151 1 file changed, 1 insertion(+), 1 deletion(-)
7153 commit 99872a18ed1468b2c85cc7b96a0d12f2ae5167f0
7154 Author: Simon Feltman <sfeltman@src.gnome.org>
7155 Date: Thu Apr 11 04:09:59 2013 -0700
7157 Remove Python keyword escapement in Repository.find_by_name
7159 Strip trailing underscore from module level items before
7160 calling g_irepository_find_by_name. This fixes a problem
7161 with GI module level items having the same name as a Python
7162 keyword raising an AttributeError during access (Pango.break_).
7164 https://bugzilla.gnome.org/show_bug.cgi?id=697363
7166 gi/pygi-info.c | 32 ++++++++++++++++++++++----------
7167 gi/pygi-info.h | 2 ++
7168 gi/pygi-repository.c | 16 ++++++++++++++++
7169 tests/test_overrides_pango.py | 5 +++++
7170 4 files changed, 45 insertions(+), 10 deletions(-)
7172 commit c07404461b126206e369270b56e613f81369c70a
7173 Author: Daniel Drake <dsd@laptop.org>
7174 Date: Mon Mar 18 16:08:09 2013 -0600
7176 Optimize signal lookup in gi repository
7178 Now that we have GSignalQuery results available to us when connecting
7179 signals, we already know which GType implements the signal in
7182 Therefore there is no need to traverse the class parent hierarchy
7183 looking for this, which takes a considerable amount of CPU time.
7185 There is also no need to canonicalize the signal name; both before
7186 and after this patch, by the time we reach this point we have already
7187 successfully looked up the signal name as presented from Python.
7189 https://bugzilla.gnome.org/show_bug.cgi?id=696143
7191 gi/_gobject/pygobject.c | 5 ++--
7192 gi/pygi-signal-closure.c | 59
7193 +++++++++++++-----------------------------------
7194 gi/pygi-signal-closure.h | 1 +
7196 4 files changed, 23 insertions(+), 46 deletions(-)
7198 commit e220706b3e4d9fd454613fbfe1e60e7e1da94ae0
7199 Author: Daniel Drake <dsd@laptop.org>
7200 Date: Mon Mar 18 15:38:19 2013 -0600
7202 Optimize connection of Python-implemented signals
7204 Like properties, when working with signals we must detect if the
7205 signal is implemented in a Python class or if it originates from the
7206 gi repository, and act accordingly.
7208 Asking the gi repository if it can find a signal that is implemented
7209 in a Python class (it can't) takes a considerable amount of CPU time.
7211 Use g_signal_query() to find out which GType implements the signal.
7212 Then perform a simple test to see if this type is implemented at the
7213 Python level, allowing us to to skip the GI querying in this case.
7215 https://bugzilla.gnome.org/show_bug.cgi?id=696143
7217 gi/_gobject/pygobject.c | 19 +++++++++++++++----
7218 1 file changed, 15 insertions(+), 4 deletions(-)
7220 commit e91b35d72f93678a79623347dce271148d57046f
7221 Author: Daniel Drake <dsd@laptop.org>
7222 Date: Mon Mar 18 15:24:52 2013 -0600
7224 Consolidate signal connection code
7226 This code was repeated 4 times with very little variance;
7227 consolidate it and add simple tests to ensure basic coverage.
7229 https://bugzilla.gnome.org/show_bug.cgi?id=696143
7231 gi/_gobject/pygobject.c | 129
7232 +++++++++++++++--------------------------------
7233 tests/test_everything.py | 33 ++++++++++++
7234 2 files changed, 74 insertions(+), 88 deletions(-)
7236 commit cd91e1d5db617d470acbf8c5bc74c11c92f946f6
7237 Author: Daniel Drake <dsd@laptop.org>
7238 Date: Mon Mar 18 15:11:16 2013 -0600
7240 Fix setting of struct property values
7242 "goto out" in this context means that an error occurred, but this
7243 particular instance was sitting in the "good" codepath.
7245 Fixes setting of struct property values.
7247 gi/pygi-property.c | 3 ++-
7248 1 file changed, 2 insertions(+), 1 deletion(-)
7250 commit 8981ea0422c6837d488311dafe8937593372e736
7251 Author: Daniel Drake <dsd@laptop.org>
7252 Date: Mon Mar 18 14:25:45 2013 -0600
7254 Optimize property get/set when using GObject.props
7256 Skip GI repository lookup for properties defined on Python
7257 defined GObject types.
7259 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
7261 https://bugzilla.gnome.org/show_bug.cgi?id=696143
7263 gi/_gobject/pygobject.c | 37 +++++++++++++++++++------------------
7264 1 file changed, 19 insertions(+), 18 deletions(-)
7266 commit 266e389ff90d982151bae3ac22b9b8b0739f520f
7267 Author: Christoph Reiter <reiter.christoph@gmail.com>
7268 Date: Sat Apr 13 17:28:26 2013 +0200
7270 configure.ac: Fix PYTHON_SO with Python3.3
7272 https://bugzilla.gnome.org/show_bug.cgi?id=696646
7274 configure.ac | 5 ++++-
7275 1 file changed, 4 insertions(+), 1 deletion(-)
7277 commit e54c2d1df3812a1789ee240b0ba71ddf77c2f90a
7278 Author: Daniel Drake <dsd@laptop.org>
7279 Date: Mon Mar 18 14:13:37 2013 -0600
7281 Simplify registration of custom types
7283 Use custom quark data to track Python created GTypes.
7285 Remove previous mechanism to track registration of python-implemented
7286 GTypes as it was unused (no custom registration was ever tracked).
7288 Leave vtable pointer and set to NULL to avoid an ABI break.
7290 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
7292 https://bugzilla.gnome.org/show_bug.cgi?id=696143
7294 gi/_gobject/gobjectmodule.c | 11 +++++--
7295 gi/_gobject/pygobject-private.h | 8 ++---
7296 gi/_gobject/pygobject.c | 8 ++---
7297 gi/_gobject/pygobject.h | 9 +++---
7298 gi/_gobject/pygtype.c | 69
7299 +++--------------------------------------
7300 5 files changed, 22 insertions(+), 83 deletions(-)
7302 commit 50702a09344825e3a8aa54365d78de807f989d88
7303 Author: Christoph Reiter <reiter.christoph@gmail.com>
7304 Date: Sat Apr 13 16:04:17 2013 +0200
7306 pygi-convert.sh: Add GStreamer rules
7308 https://bugzilla.gnome.org/show_bug.cgi?id=697951
7310 pygi-convert.sh | 17 +++++++++++++++++
7311 1 file changed, 17 insertions(+)
7313 commit b289176e6b37cb2825bd555cea019b85b68d5c57
7314 Author: Jussi Kukkonen <jussi.kukkonen@intel.com>
7315 Date: Sun Mar 10 15:04:40 2013 +0200
7317 pygi-convert: Add rule for TreeModelFlags
7319 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
7321 pygi-convert.sh | 1 +
7322 1 file changed, 1 insertion(+)
7324 commit 09610bf42be76f65d7d2afe1c691f7b4a7c64e5b
7325 Author: Simon Feltman <sfeltman@src.gnome.org>
7326 Date: Fri Mar 29 03:20:44 2013 -0700
7328 Unify interface struct to Python GI marshaling code
7330 Add pygi_marshal_to_py_interface_struct used for direct gi method
7331 call out args and vfunc in args.
7333 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7335 gi/pygi-argument.c | 72 ++++++-------------------------
7336 gi/pygi-marshal-to-py.c | 112
7337 +++++++++++++++++++++++++++++-------------------
7338 gi/pygi-marshal-to-py.h | 8 ++++
7339 3 files changed, 91 insertions(+), 101 deletions(-)
7341 commit 6d3a0751e71ee3c37b3bb646723aed75971e5b39
7342 Author: Simon Feltman <sfeltman@src.gnome.org>
7343 Date: Thu Mar 28 22:41:51 2013 -0700
7345 Unify Python interface struct to GI marshaling code
7347 Add pygi_marshal_from_py_interface_struct used for direct gi method
7348 call in args and vfunc out args.
7350 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7352 gi/pygi-argument.c | 75 +++++++--------------
7353 gi/pygi-cache.c | 12 +---
7354 gi/pygi-marshal-from-py.c | 167
7355 +++++++++++++++++++++++++++++-----------------
7356 gi/pygi-marshal-from-py.h | 11 +++
7357 4 files changed, 141 insertions(+), 124 deletions(-)
7359 commit 1ea654b4d34e0d119556b232796cd9370b2572f1
7360 Author: Simon Feltman <sfeltman@src.gnome.org>
7361 Date: Thu Mar 28 06:17:15 2013 -0700
7363 Unify Python float and double to GI marshaling code
7365 Change _pygi_argument_from_object to use the cachers marshalers
7366 (_pygi_marshal_from_py_float/double) directly instead of keeping a
7368 Refactor _pygi_marshal_from_py_float/double to use a common utility
7369 _pygi_py_arg_to_double for initial error checking and conversion.
7371 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7373 gi/pygi-argument.c | 26 ++++----------------------
7374 gi/pygi-marshal-from-py.c | 42 ++++++++++++++++++++----------------------
7375 2 files changed, 24 insertions(+), 44 deletions(-)
7377 commit 2eb2a712864a1a685d19018e0860cf0da7c5c9ab
7378 Author: Simon Feltman <sfeltman@src.gnome.org>
7379 Date: Thu Mar 28 05:29:08 2013 -0700
7381 Unify filename to Python GI marshaling code
7383 Change _pygi_argument_to_object to use the cachers marshaler
7384 (_pygi_marshal_to_py_filename) directly instead of keeping a
7387 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7389 gi/pygi-argument.c | 22 ++--------------------
7390 gi/pygi-marshal-to-py.c | 6 ++----
7391 2 files changed, 4 insertions(+), 24 deletions(-)
7393 commit 54aa043d96deb02589e13042a46917405ca53780
7394 Author: Simon Feltman <sfeltman@src.gnome.org>
7395 Date: Thu Mar 28 05:20:00 2013 -0700
7397 Unify utf8 to Python GI marshaling code
7399 Change _pygi_argument_to_object to use the cachers marshaler
7400 (_pygi_marshal_to_py_utf8) directly instead of keeping a
7403 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7405 gi/pygi-argument.c | 11 ++++-------
7406 gi/pygi-marshal-to-py.c | 4 +---
7407 2 files changed, 5 insertions(+), 10 deletions(-)
7409 commit 03ff41ae4bb83858338d96cc6210092c7fb82464
7410 Author: Simon Feltman <sfeltman@src.gnome.org>
7411 Date: Thu Mar 28 05:10:45 2013 -0700
7413 Unify unichar to Python GI marshaling code
7415 Change _pygi_argument_to_object to use the cachers marshaler
7416 (_pygi_marshal_to_py_unichar) directly instead of keeping a
7419 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7421 gi/pygi-argument.c | 19 ++-----------------
7422 1 file changed, 2 insertions(+), 17 deletions(-)
7424 commit 594ad084c2cc21cebce209c11740e6d4866b0b82
7425 Author: Simon Feltman <sfeltman@src.gnome.org>
7426 Date: Sat Feb 16 19:49:59 2013 -0800
7428 Unify Python unicode to filename GI marshaling code
7430 Change _pygi_argument_from_object to use the cachers marshaler
7431 (_pygi_marshal_from_py_filename) directly instead of keeping a
7434 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7436 gi/pygi-argument.c | 30 ++----------------------------
7437 1 file changed, 2 insertions(+), 28 deletions(-)
7439 commit a62e8cdf90f7b03cfc8116125ef3557f9ad08dde
7440 Author: Simon Feltman <sfeltman@src.gnome.org>
7441 Date: Sat Feb 16 19:32:54 2013 -0800
7443 Unify Python unicode to utf8 GI marshaling code
7445 Change _pygi_argument_from_object to use the cachers marshaler
7446 (_pygi_marshal_from_py_utf8) directly instead of keeping a
7449 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7451 gi/pygi-argument.c | 32 ++------------------------------
7452 1 file changed, 2 insertions(+), 30 deletions(-)
7454 commit e253c73335fccabc61e0329f8528a90f79858c67
7455 Author: Simon Feltman <sfeltman@src.gnome.org>
7456 Date: Sat Feb 16 19:16:43 2013 -0800
7458 Unify Python unicode to unichar GI marshaling code
7460 Change _pygi_argument_from_object to use the cachers marshaler
7461 (_pygi_marshal_from_py_unichar) directly instead of keeping a
7464 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7466 gi/pygi-argument.c | 34 ++--------------------------------
7467 gi/pygi-marshal-from-py.c | 9 +++++++++
7468 2 files changed, 11 insertions(+), 32 deletions(-)
7470 commit 216caf590b262fed40d10bb34d020089d1197160
7471 Author: Simon Feltman <sfeltman@src.gnome.org>
7472 Date: Thu Apr 4 15:57:12 2013 -0700
7474 Fix enum and flags marshaling type assumptions
7476 Replace assignments of GFlags and GEnum values to various GIArgument
7477 members with v_uint and v_int respectively.
7479 gi/pygi-argument.c | 6 +++---
7480 gi/pygi-property.c | 4 ++--
7481 2 files changed, 5 insertions(+), 5 deletions(-)
7483 commit 4799ef1d0cb9a4b27c7952585d33b58ea9ec34ca
7484 Author: Christoph Reiter <reiter.christoph@gmail.com>
7485 Date: Thu Apr 4 10:08:38 2013 +0200
7487 Make AM_CHECK_PYTHON_LIBS not depend on AM_CHECK_PYTHON_HEADERS
7489 https://bugzilla.gnome.org/show_bug.cgi?id=696648#c6
7491 m4/python.m4 | 4 ++--
7492 1 file changed, 2 insertions(+), 2 deletions(-)
7494 commit f82f755a0f419539c223e4a74e33145726c6e69f
7495 Author: Christoph Reiter <reiter.christoph@gmail.com>
7496 Date: Thu Apr 4 09:05:48 2013 +0200
7498 Use distutils.sysconfig to retrieve the python include path.
7500 https://bugzilla.gnome.org/show_bug.cgi?id=696648
7502 m4/python.m4 | 8 ++------
7503 1 file changed, 2 insertions(+), 6 deletions(-)
7505 commit cf81dd66e6387bf27122a71176e91ca39beb6519
7506 Author: Martin Pitt <martinpitt@gnome.org>
7507 Date: Thu Apr 4 06:47:56 2013 +0200
7509 Use g_strdup() consistently
7511 https://bugzilla.gnome.org/show_bug.cgi?id=696650
7513 gi/pygi-marshal-from-py.c | 2 +-
7514 1 file changed, 1 insertion(+), 1 deletion(-)
7516 commit 6c22fea63fa6978c2a717ff12ff84d3aff776b5e
7517 Author: Christoph Reiter <reiter.christoph@gmail.com>
7518 Date: Tue Mar 26 16:03:59 2013 +0100
7520 Support PEP 3149 (ABI version tagged .so files)
7522 Add a ABI suffix to the shared library retrieved from
7524 instead of hardcoding it. This should also make things more robust
7527 https://bugzilla.gnome.org/show_bug.cgi?id=696646
7529 configure.ac | 3 +++
7530 gi/Makefile.am | 14 +++++++-------
7531 gi/_glib/Makefile.am | 14 +++++++-------
7532 gi/_gobject/Makefile.am | 14 +++++++-------
7533 4 files changed, 24 insertions(+), 21 deletions(-)
7535 commit 2259ccac8aa2ec23240e92e303ea3f2c53dc2a88
7536 Author: Simon Feltman <sfeltman@src.gnome.org>
7537 Date: Sun Mar 31 01:32:34 2013 -0700
7539 Fix stack corruption due to incorrect format for argument parser
7541 Fix call to PyArg_ParseTupleAndKeywords that used a format parser
7542 of "l" meaning long (8 bytes) in combination with an output pointer
7543 of guint (4 bytes). Change to use gulong with a format of "k".
7545 https://bugzilla.gnome.org/show_bug.cgi?id=696892
7547 gi/_gobject/pygflags.c | 4 ++--
7548 1 file changed, 2 insertions(+), 2 deletions(-)
7550 commit 48e52210ece0e144b4c959e773ea542a912358e7
7551 Author: Simon Feltman <sfeltman@src.gnome.org>
7552 Date: Thu Mar 7 00:26:37 2013 -0800
7554 Deprecate GLib and GObject threads_init
7556 Remove a handful of Python threading related helper functions
7557 from pyglib and pygobject. The binding internals required
7558 GLib.threads_init to be called for PyGObject to work with
7559 Python threads. This was removed as it should not be a requirement.
7560 Using the Python threading module already initializes threading
7561 for us (PyEval_InitThreads).
7563 https://bugzilla.gnome.org/show_bug.cgi?id=686914
7565 gi/_glib/glibmodule.c | 16 --------
7566 gi/_glib/pyglib.c | 94
7567 ---------------------------------------------
7568 gi/_glib/pyglib.h | 28 +++++++-------
7569 gi/_gobject/gobjectmodule.c | 31 ++++-----------
7570 gi/overrides/GLib.py | 8 +++-
7571 gi/overrides/GObject.py | 2 +-
7572 6 files changed, 28 insertions(+), 151 deletions(-)
7574 commit 89d05f91cee419d46cb5318d4a9001ec315a3475
7575 Author: Martin Pitt <martinpitt@gnome.org>
7576 Date: Mon Mar 25 09:03:51 2013 +0100
7578 Drop support for Python 2.6
7580 2.7 has been released long ago, nobody tests PyGObject with 2.6 any
7582 this unblocks e. g. GNOME #682320.
7584 Drop usage of PyCObject_* (which has been superseded by PyCapsule
7586 and drop Python 2.6 specific workarounds.
7589 gi/_glib/pyglib-python-compat.h | 20 ------------------
7590 gi/_gobject/pygobject.h | 6 ------
7593 tests/runtests.py | 45
7594 +----------------------------------------
7595 tests/test_gobject.py | 1 -
7596 tests/test_signal.py | 4 ----
7597 8 files changed, 3 insertions(+), 81 deletions(-)
7599 commit 56347953abb1e214817186581eaf2b2d8762cf97
7600 Author: Martin Pitt <martinpitt@gnome.org>
7601 Date: Wed Oct 24 16:43:25 2012 +0200
7603 Remove static PollFD bindings
7605 Use the GLib API through GI instead, and provide an override to keep a
7606 backwards compatible constructor syntax.
7608 https://bugzilla.gnome.org/show_bug.cgi?id=686795
7610 gi/_glib/Makefile.am | 2 --
7611 gi/_glib/glibmodule.c | 2 --
7612 gi/_glib/pygsource.c | 98
7613 ---------------------------------------------------
7614 gi/_glib/pygsource.h | 36 -------------------
7615 gi/overrides/GLib.py | 17 +++++++--
7616 5 files changed, 15 insertions(+), 140 deletions(-)
7618 commit a93eb5ecc982b5fe1bdf8f78b15ba10351a63b89
7619 Author: Martin Pitt <martinpitt@gnome.org>
7620 Date: Mon Mar 25 08:44:24 2013 +0100
7622 Drop test skipping due to too old g-i
7624 We depend on gobject-introspection 1.35.9 now, which has all this API.
7626 tests/test_gi.py | 24 ------------------------
7627 tests/test_object_marshaling.py | 14 --------------
7628 2 files changed, 38 deletions(-)
7630 commit f957e33bc1ef2a4175bab85cfcd9b5faf092aa2f
7631 Author: Martin Pitt <martinpitt@gnome.org>
7632 Date: Mon Mar 25 08:37:37 2013 +0100
7634 Bump glib and g-i dependencies
7636 Now require g-i 1.35.9 and glib 2.35.9, i. e. the current stable
7638 versions. This allows us to drop the conditional test suite skips
7640 static PollFD bindings.
7642 configure.ac | 6 +++---
7643 1 file changed, 3 insertions(+), 3 deletions(-)
7645 commit 252556d044322207429c0d0c269365f48e4d819a
7646 Author: Martin Pitt <martinpitt@gnome.org>
7647 Date: Mon Mar 25 08:43:53 2013 +0100
7649 configure.ac: post-release version bump to 3.9.1
7651 configure.ac | 4 ++--
7652 1 file changed, 2 insertions(+), 2 deletions(-)
7654 commit 5f82e007e2dcdbfd82a20d8c4d54f9cd7b3b77ac
7655 Author: Martin Pitt <martinpitt@gnome.org>
7656 Date: Mon Mar 25 08:12:10 2013 +0100
7661 1 file changed, 4 insertions(+)
7663 commit bb4fa093d59173f68a0b16e10016bafe7cd18f62
7664 Author: Simon Feltman <sfeltman@src.gnome.org>
7665 Date: Wed Mar 20 23:45:01 2013 -0700
7667 tests: Fix incorrect assumption when testing pyglib version
7669 Replace version test of 3.7.2 with 3.0.0 as it is the only reasonable
7670 value that can be used for a future proof unittest here.
7672 tests/test_glib.py | 4 ++--
7673 1 file changed, 2 insertions(+), 2 deletions(-)
7675 commit 78b7b0bea3068b81ba67deea4d06b1fb27434841
7676 Author: Martin Pitt <martinpitt@gnome.org>
7677 Date: Mon Mar 18 14:02:29 2013 +0100
7679 configure.ac: post-release bump to 3.8.0
7681 configure.ac | 4 ++--
7682 1 file changed, 2 insertions(+), 2 deletions(-)
7684 commit defbd63e95faafaa84230f160bc95dad0f55e37d
7685 Author: Martin Pitt <martinpitt@gnome.org>
7686 Date: Mon Mar 18 14:01:05 2013 +0100
7690 NEWS | 18 ++++++++++++++++++
7691 1 file changed, 18 insertions(+)
7693 commit a0844a896603c5c91bed24cf94106765f0ced74e
7694 Author: Simon Feltman <sfeltman@src.gnome.org>
7695 Date: Sun Mar 17 23:22:38 2013 -0700
7697 Fix stack smasher when marshaling enums as a vfunc return value
7699 Add special case for marshaling GI_TYPE_TAG_INTERFACE with enum or
7700 flag types. Default interfaces to marshal as a pointer.
7701 Add explicit cases for GType and Unichar out/return marshaling.
7702 Fix leaking of GIBaseInfo when marshaling interface as out arg.
7704 https://bugzilla.gnome.org/show_bug.cgi?id=637832
7706 gi/pygi-closure.c | 69
7707 ++++++++++++++++++++++++++++++++++++++++++++++---------
7708 tests/test_gi.py | 19 +++++++++++++++
7709 2 files changed, 77 insertions(+), 11 deletions(-)
7711 commit 669e15c35213dbce6ceb0a4a3d474aae620910ce
7712 Author: Simon Feltman <sfeltman@src.gnome.org>
7713 Date: Sun Mar 17 15:37:09 2013 -0700
7715 Change base class of PyGIDeprecationWarning based on minor version
7717 Use RuntimeWarning as the base class of PyGIDeprecationWarning
7718 for unstable (odd minor version) and use DeprecationWarning for
7719 stable (even minor version). This is so PyGObject deprecations
7720 behave the same as regular Python deprecations in stable releases.
7722 https://bugzilla.gnome.org/show_bug.cgi?id=696011
7724 gi/__init__.py | 14 +++++++++++---
7725 1 file changed, 11 insertions(+), 3 deletions(-)
7727 commit 755b2e6fc635489d98d48254ea60b2631b43dfbd
7728 Author: Alban Browaeys <prahal@yahoo.com>
7729 Date: Thu Feb 28 18:57:21 2013 +0100
7731 autogen.sh: Source gnome-autogen to fix out of source builddir
7733 https://bugzilla.gnome.org/show_bug.cgi?id=694889
7736 1 file changed, 1 insertion(+), 1 deletion(-)
7738 commit a38392a9d713b0001cf30066d337b1abbbbbc59e
7739 Author: Martin Pitt <martinpitt@gnome.org>
7740 Date: Tue Mar 5 12:22:15 2013 +0100
7742 Add 3.7.91.1 NEWS entry
7744 Forgot to push this back then.
7747 1 file changed, 3 insertions(+)
7749 commit 85f8aae849dd0fb21de8722a3af9234ca20ea1e0
7750 Author: Simon Feltman <sfeltman@src.gnome.org>
7751 Date: Sun Mar 17 04:19:57 2013 -0700
7753 pygtkcompat: Make gdk.Window.get_geometry return tuple of 5
7755 Make get_geometry return a tuple of (x, y, width, height, depth)
7756 as it did in pygtk 2.
7757 Update pygtkcompat.enable_gtk() to default to version 3.0 because
7758 version 2.0 core dumps trying to use introspection with gtk 2.
7760 pygtkcompat/pygtkcompat.py | 8 +++++++-
7761 1 file changed, 7 insertions(+), 1 deletion(-)
7763 commit 38683f721c33cc35f0260868e58643fd35f04cbe
7764 Author: Simon Feltman <sfeltman@src.gnome.org>
7765 Date: Sun Mar 17 02:08:03 2013 -0700
7767 testhelpermodule: Fix build warning for PyGObject_Type redefinition
7769 Remove dynamic retrieval of PyGObject_Type as it is available
7770 in pygobject.h since commit 2656bc47 (causing this compile warning)
7772 tests/testhelpermodule.c | 14 +-------------
7773 1 file changed, 1 insertion(+), 13 deletions(-)
7775 commit a3ec8867945da7722beebb7e77c6255ee3ba8bb8
7776 Author: Simon Feltman <sfeltman@src.gnome.org>
7777 Date: Sun Mar 17 01:51:33 2013 -0700
7779 pygtkcompat: Initialize hint to zero in set_geometry_hints
7781 pygtkcompat/pygtkcompat.py | 2 +-
7782 1 file changed, 1 insertion(+), 1 deletion(-)
7784 commit 471204953d6fc93b3d311afd133d40f7d75ec541
7785 Author: Simon Feltman <sfeltman@src.gnome.org>
7786 Date: Fri Mar 15 04:33:22 2013 -0700
7788 Remove incorrect bounds check with property helper flags
7790 Remove bounds check for flags as it is not necessary for the
7791 helper to make these kind of judgement calls in general.
7792 e.g. leave it to marshaling/internals to complain about potential
7793 problems. The flags were being bounds checked to a maximum
7794 value of 32 (the intention was most likely to limit it to 32 bits).
7796 gi/_gobject/propertyhelper.py | 3 ---
7797 tests/test_properties.py | 1 -
7798 2 files changed, 4 deletions(-)
7800 commit 2656bc47ca1219b329066da1c2c58018ae624866
7801 Author: Simon Feltman <sfeltman@src.gnome.org>
7802 Date: Thu Mar 7 18:07:17 2013 -0800
7804 Fix crash when setting property of type object to an incorrect type
7806 Add type check when marshaling an object from Python for GObject
7808 Add PyGObject_Type as part of the pygobject API to check for this.
7810 https://bugzilla.gnome.org/show_bug.cgi?id=695420
7812 gi/_gobject/gobjectmodule.c | 3 ++-
7813 gi/_gobject/pygobject.h | 2 ++
7814 gi/pygi-marshal-from-py.c | 8 ++++++++
7815 tests/test_object_marshaling.py | 4 ++++
7816 4 files changed, 16 insertions(+), 1 deletion(-)
7818 commit 44587f42224a44a480629223c8d78a426bc32a12
7819 Author: Simon Feltman <sfeltman@src.gnome.org>
7820 Date: Thu Mar 7 17:59:02 2013 -0800
7822 Remove skipping of object property tests
7824 These were showing up as unexpected successes now that bug 675726
7827 https://bugzilla.gnome.org/show_bug.cgi?id=695420
7829 tests/test_object_marshaling.py | 7 ++-----
7830 1 file changed, 2 insertions(+), 5 deletions(-)
7832 commit 10214ba2d96fd6d66eeea159219f585abff8632a
7833 Author: Simon Feltman <sfeltman@src.gnome.org>
7834 Date: Thu Mar 7 15:34:49 2013 -0800
7836 Give more informative error when setting property to incorrect type
7838 https://bugzilla.gnome.org/show_bug.cgi?id=695420
7840 gi/_gobject/pygobject.c | 10 ++++++++--
7841 1 file changed, 8 insertions(+), 2 deletions(-)
7843 commit 9ab6e5451aea43ed086c0d26324c4efed24476d7
7844 Author: Martin Pitt <martinpitt@gnome.org>
7845 Date: Tue Mar 5 12:04:55 2013 +0100
7847 Revert "Drop gi.overrides.overridefunc()"
7849 This reverts commit 1dc2bc9f65669417ae1964d70b85f115928b2963. External
7851 like GEdit plugins use @overrides for functions as well, we must
7855 https://bugzilla.gnome.org/show_bug.cgi?id=695199
7857 gi/overrides/Gtk.py | 7 ++++---
7858 gi/overrides/__init__.py | 24 ++++++++++++++++++++++--
7859 2 files changed, 26 insertions(+), 5 deletions(-)
7861 commit 862de794bf01a66aa6d796c674bce375cad37ba7
7862 Author: Martin Pitt <martinpitt@gnome.org>
7863 Date: Mon Mar 4 17:33:51 2013 +0100
7865 configure.ac: Post-release bump to 3.7.92
7868 1 file changed, 1 insertion(+), 1 deletion(-)
7870 commit bb12e652d661cf6ce931b44a89c11951894101bf
7871 Author: Martin Pitt <martinpitt@gnome.org>
7872 Date: Mon Mar 4 17:27:50 2013 +0100
7876 NEWS | 33 +++++++++++++++++++++++++++++++++
7877 1 file changed, 33 insertions(+)
7879 commit 25a6f90f28b065dd4f1cd352826598577402dc0b
7880 Author: Martin Pitt <martinpitt@gnome.org>
7881 Date: Mon Mar 4 17:16:22 2013 +0100
7883 Dot not clobber original Gdk/Gtk functions with overrides
7885 https://bugzilla.gnome.org/show_bug.cgi?id=686835
7887 gi/overrides/Gdk.py | 3 ++-
7888 gi/overrides/Gtk.py | 3 ++-
7889 2 files changed, 4 insertions(+), 2 deletions(-)
7891 commit d50d16428edf42799489fe1befbc4ce56f0fa181
7892 Author: Martin Pitt <martinpitt@gnome.org>
7893 Date: Mon Mar 4 15:30:31 2013 +0100
7895 tests: Reorganize GError and GClosure tests
7897 Split TestGClosure.test_gclosure_in() into its three components.
7899 Merge the various TestGError* classes into one, to match the structure
7903 tests/test_gi.py | 59
7904 +++++++++++++++++++++++++-------------------------------
7905 1 file changed, 26 insertions(+), 33 deletions(-)
7907 commit 8cfd596c7849bf78a74fee04630fbbb104f02080
7908 Author: Martin Pitt <martinpitt@gnome.org>
7909 Date: Mon Mar 4 15:16:25 2013 +0100
7911 Fix memory leaks in property setting/getting
7913 Do not leak GValues and string arrays, free them properly. As we
7915 the intermediate GValues, use g_value_dup_boxed() instead of
7916 g_value_get_boxed() when appropriate.
7918 Detected by test_gi.TestPropertiesObject.test_strv test case.
7920 gi/pygi-property.c | 21 ++++++++++++++++-----
7921 1 file changed, 16 insertions(+), 5 deletions(-)
7923 commit eec8c3a932d42e92ccaf7f97d3d90948842e263f
7924 Author: Martin Pitt <martinpitt@gnome.org>
7925 Date: Mon Mar 4 12:43:24 2013 +0100
7927 Fix memory leak in pyg_flags_get_value_nicks()
7929 Discovered by test_gi.TestKeywords.test_uppercase() test.
7931 gi/_gobject/pygflags.c | 7 +++++--
7932 1 file changed, 5 insertions(+), 2 deletions(-)
7934 commit 002a834dd993b82508a4fe262269befcf1a6d341
7935 Author: Martin Pitt <martinpitt@gnome.org>
7936 Date: Mon Mar 4 12:10:03 2013 +0100
7938 Fix memory leak in _pygi_argument_to_array()
7940 Free the originally allocated GArray data before setting it to
7944 Discovered by test_gi.TestStructure.test_boxed_struct_return test
7947 gi/pygi-argument.c | 1 +
7948 1 file changed, 1 insertion(+)
7950 commit d32b410a1b1fcca6d10d75fbd771ea789999da64
7951 Author: Martin Pitt <martinpitt@gnome.org>
7952 Date: Mon Mar 4 10:19:34 2013 +0100
7954 Fix leaking inout C arrays
7956 g_*_info_invoke() changes the original state->in_args and state->args
7958 to the output values for (inout) arguments, thus losing the pointer
7960 originally allocated array. Remember that in state->args_data,
7962 free it in _pygi_marshal_cleanup_from_py_array().
7964 Reproduced by test_gi.TestArray.test_array_fixed_inout test case.
7966 gi/pygi-marshal-cleanup.c | 6 ++++++
7967 gi/pygi-marshal-from-py.c | 4 ++++
7968 2 files changed, 10 insertions(+)
7970 commit e4098cbc28ff9324fa851bca2e423da4e51b5091
7971 Author: Martin Pitt <martinpitt@gnome.org>
7972 Date: Fri Mar 1 15:12:31 2013 +0100
7974 Fix leak in _PyGI_ERROR_PREFIX()
7976 Properly clean up our allocated py_error_prefix string.
7978 Fixes memory leak in e. g. test_gi.TestArray.test_array_fixed_int_in.
7980 gi/pygi-private.h | 1 +
7981 1 file changed, 1 insertion(+)
7983 commit b388c3e87ce86d26560337c88eb33d0a95647db8
7984 Author: Martin Pitt <martinpitt@gnome.org>
7985 Date: Fri Mar 1 15:01:06 2013 +0100
7987 Fix leaking of boxed array elements
7989 Commit 631d8ef879a copies struct array elements, but this needlessly
7991 and leaks the array element for boxed types. So only do it for
7994 This fixes the memory leak with
7995 test_gi.TestGValue.test_gvalue_flat_array_out.
7997 https://bugzilla.gnome.org/show_bug.cgi?id=693402
7999 gi/pygi-marshal-to-py.c | 3 ++-
8000 1 file changed, 2 insertions(+), 1 deletion(-)
8002 commit 1dc2bc9f65669417ae1964d70b85f115928b2963
8003 Author: Martin Pitt <martinpitt@gnome.org>
8004 Date: Fri Mar 1 14:04:34 2013 +0100
8006 Drop gi.overrides.overridefunc()
8008 This just adds an unnecessary extra function call and is not really
8010 Drop it from the only remaining function which uses this
8012 drop overridefunc().
8014 https://bugzilla.gnome.org/show_bug.cgi?id=686835
8016 gi/overrides/Gtk.py | 7 +++----
8017 gi/overrides/__init__.py | 24 ++----------------------
8018 2 files changed, 5 insertions(+), 26 deletions(-)
8020 commit 1edc4ba31b3f9375ec3920aab5b71eb066ee3739
8021 Author: Martin Pitt <martinpitt@gnome.org>
8022 Date: Fri Mar 1 14:02:02 2013 +0100
8024 Add some tests for overridden Gdk/Gtk functions
8026 Add tests for Gtk.main_quit, Gtk.stock_parse(), and Gdk.color_parse(),
8028 have overrides for them.
8030 tests/test_overrides_gdk.py | 7 +++++++
8031 tests/test_overrides_gtk.py | 15 +++++++++++++++
8032 2 files changed, 22 insertions(+)
8034 commit 6f6c0ceff00fea83bc85756b10694f7c96039abc
8035 Author: Martin Pitt <martinpitt@gnome.org>
8036 Date: Fri Mar 1 11:10:01 2013 +0100
8038 Fix GLib.Source ref leak upon destruction
8040 In GLib.Source.__del__(), manually unref the source if we are a
8042 As we use a static binding to create it, the GI part won't unref it
8044 leading to finalize() method not being called and the GSource
8047 https://bugzilla.gnome.org/show_bug.cgi?id=510511
8049 gi/overrides/GLib.py | 4 ++++
8050 tests/test_source.py | 31 +++++++++++++++++++++++++++++++
8051 2 files changed, 35 insertions(+)
8053 commit 91f76dd94fb0afc6888a821a31c3a4e2e053360e
8054 Author: Martin Pitt <martinpitt@gnome.org>
8055 Date: Thu Feb 28 15:08:56 2013 +0100
8057 Add performance test for Gtk.ListStore.append
8059 We are going to optimize this in various ways, so let's measure it.
8061 tests/test_overrides_gtk.py | 14 ++++++++++++++
8062 1 file changed, 14 insertions(+)
8064 commit b1ff74b085bdca72c272f019be4dd387073a991a
8065 Author: Simon Feltman <sfeltman@src.gnome.org>
8066 Date: Thu Feb 28 04:32:30 2013 -0800
8068 Optimize GValue.get/set_value by setting GValue.g_type to a local
8070 This increases performance by a factor of 2x for types later
8073 https://bugzilla.gnome.org/show_bug.cgi?id=694857
8075 gi/overrides/GObject.py | 98
8076 +++++++++++++++++++++++++------------------------
8077 1 file changed, 51 insertions(+), 47 deletions(-)
8079 commit 105e6738ee249b64904da26ae45dd273ca4eeba8
8080 Author: Martin Pitt <martinpitt@gnome.org>
8081 Date: Thu Feb 28 11:43:47 2013 +0100
8083 Fix leak of caller-allocated boxed values
8085 Add a new "allocated_slice" argument to _pygi_boxed_new() which
8087 whether its "boxed" pointer was allocated using a slice (by giving
8089 malloc (by specifying 0), as _pygi_boxed_new cannot determine that
8093 Use this in _pygi_marshal_to_py_interface_struct() for
8094 caller-allocated boxed
8095 values, as _caller_alloc() uses _pygi_boxed_alloc() for those
8097 which would otherwise leak.
8099 Thanks to Mike Gorse <mgorse@suse.com> for the original patch!
8101 https://bugzilla.gnome.org/show_bug.cgi?id=691501
8103 gi/gimodule.c | 2 +-
8104 gi/pygi-argument.c | 2 +-
8105 gi/pygi-boxed.c | 14 ++++++++++----
8106 gi/pygi-boxed.h | 3 ++-
8107 gi/pygi-marshal-to-py.c | 6 ++++--
8108 gi/pygi-source.c | 3 ++-
8109 6 files changed, 20 insertions(+), 10 deletions(-)
8111 commit 64bcca2d39fed1734ad1abbe291406387e901f5c
8112 Author: Martin Pitt <martinpitt@gnome.org>
8113 Date: Thu Feb 28 10:48:18 2013 +0100
8115 Fix memory handling of caller-allocated boxed types
8117 _pygi_marshal_to_py_interface_struct() and other places treat
8119 G_TYPE_BOXED as boxed values and wrap them with _pygi_boxed_new(). Fix
8120 _caller_alloc() and _cleanup_caller_allocates() to consider
8122 subtypes as well and use the slice allocator instead of malloc()'ing
8124 This avoids trying to free an malloc'ed struct with g_slice_free()
8126 cleans up the boxed values.
8128 The leak was produced with:
8130 G_SLICE=debug-blocks PYTHONPATH=. valgrind --tool=memcheck
8131 --leak-check=full --show-possibly-lost=no \
8132 python3 -c 'from gi.repository import Gtk; b=Gtk.TextBuffer();
8133 (s,e) = b.get_bounds()'
8135 gi/pygi-invoke.c | 2 +-
8136 gi/pygi-marshal-cleanup.c | 2 +-
8137 2 files changed, 2 insertions(+), 2 deletions(-)
8139 commit 4f5e8b7554b6388aa2d0eb4a3b285d99499163be
8140 Author: Martin Pitt <martinpitt@gnome.org>
8141 Date: Wed Feb 27 23:21:34 2013 +0100
8143 Fix cleanup of GValue arrays
8145 Commit bc1fd8 introduced a thinko: We must not change
8146 item_arg_cache->from_py_cleanup, as it's a global cache. Revert
8148 change, and instead put the hack into
8149 _pygi_marshal_cleanup_from_py_array(),
8150 which now short-circuits
8151 _pygi_marshal_cleanup_from_py_interface_struct_gvalue() to avoid
8152 trying to release a slice which has never been allocated in
8153 _pygi_marshal_from_py_array().
8155 https://bugzilla.gnome.org/show_bug.cgi?id=672224
8157 gi/pygi-marshal-cleanup.c | 11 ++++++++++-
8158 gi/pygi-marshal-from-py.c | 10 +++-------
8159 2 files changed, 13 insertions(+), 8 deletions(-)
8161 commit 70118c3840b10e1585d066a4be485c097cd23e99
8162 Author: Martin Pitt <martinpitt@gnome.org>
8163 Date: Wed Feb 27 21:52:43 2013 +0100
8165 Revert "Mark caller-allocated boxed structures as having a slice
8168 This is wrong after all, as it sets slice_allocated to TRUE, but
8170 corresponding size. Also, poking in internal fields from that place
8172 this should rather be fixed in gi/pygi-marshal-cleanup.c
8173 _cleanup_caller_allocates().
8175 This reverts commit dc3d21173b75232f7ea0b9913f7309486456a69d.
8177 gi/pygi-marshal-to-py.c | 4 +---
8178 1 file changed, 1 insertion(+), 3 deletions(-)
8180 commit a51c72c771dafc0c13d7990f1ff3e428dca729a1
8181 Author: Martin Pitt <martinpitt@gnome.org>
8182 Date: Wed Feb 27 21:51:30 2013 +0100
8184 Run tests with G_SLICE=debug_blocks
8186 This will help finding regressions in slice management, like in
8187 https://bugzilla.gnome.org/show_bug.cgi?id=691501
8189 tests/Makefile.am | 3 ++-
8190 1 file changed, 2 insertions(+), 1 deletion(-)
8192 commit 4f6ebcfe0605a7a593dc3f9dd322a4da9bd091a3
8193 Author: Martin Pitt <martinpitt@gnome.org>
8194 Date: Wed Feb 27 18:30:23 2013 +0100
8196 Add override helper for stripping boolean returns
8198 Introduce a gi.overrides.strip_boolean_result() helper which checks
8200 return value and if True, return the remaining arguments, otherwise
8202 default. This pattern is being used by a lot of overrides, which get
8203 significantly smaller and more consistent that way.
8205 https://bugzilla.gnome.org/show_bug.cgi?id=694431
8207 gi/overrides/Gdk.py | 27 +-------
8208 gi/overrides/Gtk.py | 156
8209 +++++++++--------------------------------------
8210 gi/overrides/__init__.py | 22 +++++++
8211 3 files changed, 53 insertions(+), 152 deletions(-)
8213 commit 08c97b0bd3140921f1b5c74f7764e23d3a9bf0ee
8214 Author: Martin Pitt <martinpitt@gnome.org>
8215 Date: Wed Feb 27 15:39:23 2013 +0100
8217 Drop obsolete pygobject_register_sinkfunc() declaration
8219 There is no definition for this any more, nor is it being used
8222 https://bugzilla.gnome.org/show_bug.cgi?id=639849
8224 gi/_gobject/pygobject-private.h | 2 --
8225 1 file changed, 2 deletions(-)
8227 commit b6fefd625b843d4fc3dabc456584a2ad27a48c8c
8228 Author: Martin Pitt <martinpitt@gnome.org>
8229 Date: Wed Feb 27 13:41:55 2013 +0100
8231 Fix marshalling of C arrays with explicit length in signal arguments
8233 We need _pygi_argument_to_array() from both closure marshalling
8235 the arguments as GIArgument array) and signal closure marshalling
8237 have the arguments in a GValue array). Add an alternative
8239 parameter to _pygi_argument_to_array() so that callers can specify
8241 other depending on which type they have available.
8243 This allows us to pass on the full argument list for signal closures,
8245 _pygi_argument_to_array() can access the explicit length argument
8249 This fixes the GSettings:change-event signal.
8251 https://bugzilla.gnome.org/show_bug.cgi?id=662241
8253 gi/pygi-argument.c | 36 ++++++++++++++++++++++++++++--------
8254 gi/pygi-argument.h | 1 +
8255 gi/pygi-closure.c | 2 +-
8256 gi/pygi-info.c | 4 ++--
8257 gi/pygi-signal-closure.c | 3 ++-
8258 tests/test_gio.py | 18 ++++++++++++++++++
8259 6 files changed, 52 insertions(+), 12 deletions(-)
8261 commit caeeeb7e4282e183eefc3c53b2d53c8c2bb7de89
8262 Author: Martin Pitt <martinpitt@gnome.org>
8263 Date: Wed Feb 27 08:07:20 2013 +0100
8265 Fix signedness, overflow checking, and 32 bit overflow of GFlags
8267 GFlagsValue.value is a guint, so we must access it as unsigned
8269 new macros PYGLIB_PyLong_FromUnsignedLong() and
8270 PYGLIB_PyLong_AsUnsignedLong()
8271 for that purpose, and consistently use them for handling flag
8273 checked variant of these functions which produce OverflowErrors
8275 of the unchecked PYGLIB_PyLong_AS_LONG().
8277 Insert zero padding after the PyLongObject in PyGFlags and
8279 this, the directly adjacent GType field seems to confuse
8280 PyLong_FromUnsignedLong() and includes the GType into the numeric
8283 https://bugzilla.gnome.org/show_bug.cgi?id=693121
8285 gi/_glib/pyglib-python-compat.h | 8 +++++++
8286 gi/_gobject/gobjectmodule.c | 2 +-
8287 gi/_gobject/pygflags.c | 52
8288 +++++++++++++++++++++++++----------------
8289 gi/_gobject/pygobject-private.h | 10 ++++----
8290 gi/_gobject/pygobject.h | 4 ++--
8291 gi/_gobject/pygtype.c | 6 ++---
8292 tests/test_overrides_gdk.py | 15 ++++++++++++
8293 7 files changed, 67 insertions(+), 30 deletions(-)
8295 commit b3a3da37e369f3f5d434c8dc9f3c7f1e74d537ac
8296 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
8297 Date: Tue Feb 26 16:15:36 2013 +0800
8299 gi/pygi-marshal-from-py.c: Fix build on Visual C++
8301 Since Visual C++ does not provide the INFINITY and NAN constants
8303 math.h (they are items defined by C99), provide fallback
8305 for it here. The INFINITY constant can be provided with HUGE_VAL,
8307 we are using INFINITY to check the value of a variable of double
8309 we could use a rather simple workaround for NAN.
8311 Also avoid declaring variables in the middle of the block.
8313 https://bugzilla.gnome.org/show_bug.cgi?id=692856
8315 gi/pygi-marshal-from-py.c | 19 ++++++++++++++++++-
8316 1 file changed, 18 insertions(+), 1 deletion(-)
8318 commit 5210e3d5bb7936a21b6a2c938ede505bf1d848c9
8319 Author: Martin Pitt <martinpitt@gnome.org>
8320 Date: Tue Feb 26 16:42:19 2013 +0100
8322 Fix some style issues with previous patch
8324 gi/pygi-cache.c | 6 +++---
8325 1 file changed, 3 insertions(+), 3 deletions(-)
8327 commit 999679beaa9f5b36d9483abdbd30cd5e113b6bf6
8328 Author: Martin Pitt <martinpitt@gnome.org>
8329 Date: Tue Feb 26 10:15:22 2013 +0100
8331 Raise DeprecationWarning on deprecated callables
8333 Check if a callable is marked as deprecated and raise a
8334 DeprecationWarning in
8338 - Python hides DeprecationWarning by default, you need to enable
8340 - The deprecation message is currently not in the typelib (bug
8343 https://bugzilla.gnome.org/show_bug.cgi?id=665084
8345 gi/pygi-cache.c | 14 ++++++++++++++
8346 tests/test_gi.py | 10 ++++++++++
8347 2 files changed, 24 insertions(+)
8349 commit 9f8258cfdcf562aa6cf37b9e66075b7f6a6ed97a
8350 Author: Simon Feltman <sfeltman@src.gnome.org>
8351 Date: Mon Feb 18 00:39:45 2013 -0800
8353 pygtkcompat: Add Widget.window, scroll_to_mark, and window methods
8355 Fix gi.pygtkcompat attempting relative import in Python < 3.0.
8356 Add Gtk.Widget.window property which uses get_window()
8357 Add Gtk.TextView.scroll_to_mark with defaults
8358 Add Gtk.window_list_toplevels and Gtk.window_set_default_icon_name
8360 https://bugzilla.gnome.org/show_bug.cgi?id=694067
8362 gi/pygtkcompat.py | 2 ++
8363 pygtkcompat/pygtkcompat.py | 14 ++++++++++++++
8364 2 files changed, 16 insertions(+)
8366 commit e8e2bbee7bb79039bbd9a968f7db88438bd937f9
8367 Author: Simon Feltman <sfeltman@src.gnome.org>
8368 Date: Sun Dec 16 02:56:06 2012 -0800
8370 pygtkcompat: Add Gtk.Window.set_geometry_hints which accepts keyword
8373 Monkey patch a keyword argument version of set_geometry_hints onto
8375 This version is compatible with pygtk and takes keywords instead of a
8376 Gdk.Geometry and Gdk.GeometryMask.
8378 https://bugzilla.gnome.org/show_bug.cgi?id=694067
8380 pygtkcompat/pygtkcompat.py | 44
8381 ++++++++++++++++++++++++++++++++++++++++++++
8382 1 file changed, 44 insertions(+)
8384 commit 1ca0e142709843cdae9ca965dfa6cc292ef53ab5
8385 Author: Martin Pitt <martinpitt@gnome.org>
8386 Date: Tue Feb 26 10:09:47 2013 +0100
8388 tests: Fix warning behaviour
8390 -Werror::* does not seem to do what it says on the tin, these
8392 ignored entirely apparently. Just keep -Wd to actually show all
8394 including DeprecationWarning, which is hidden by default.
8396 tests/Makefile.am | 2 +-
8397 1 file changed, 1 insertion(+), 1 deletion(-)
8399 commit e7ea6952c7a2d8da68ed8b66770d889cd756df9a
8400 Author: Martin Pitt <martinpitt@gnome.org>
8401 Date: Tue Feb 26 08:49:10 2013 +0100
8403 Ship pygobject.doap for autogen.sh
8405 https://bugzilla.gnome.org/show_bug.cgi?id=694591
8408 1 file changed, 1 insertion(+)
8410 commit 80ed803dab3ad914d7214a475e3c6ed743dfdccc
8411 Author: Simon Feltman <sfeltman@src.gnome.org>
8412 Date: Tue Feb 19 03:07:19 2013 -0800
8414 Fix crashes in various GObject signal handler functions
8416 Fix crashes in a large amount of signal handler functions exposed
8417 on the GObject module. This is possible now that the underlying
8418 GObject pointer is exposed to Python as a PyCapsule which marshaling
8419 can handle. The following functions in the GObject module have been
8422 signal_handler_unblock
8423 signal_handler_disconnect
8424 signal_handler_is_connected
8425 signal_stop_emission
8426 signal_stop_emission_by_name
8427 signal_has_handler_pending
8428 signal_connect_closure
8429 signal_connect_closure_by_id
8431 signal_handlers_destroy
8433 https://bugzilla.gnome.org/show_bug.cgi?id=633927
8435 gi/_gobject/gobjectmodule.c | 57 ++--------------
8436 gi/overrides/GObject.py | 158
8437 ++++++++++++++++++++++++++++++++++----------
8438 tests/test_signal.py | 121 ++++++++++++++++++++++++++++++++-
8439 3 files changed, 247 insertions(+), 89 deletions(-)
8441 commit e9c578c1d47375cb2249ccdd86873faad04b89e1
8442 Author: Olivier Crête <olivier.crete@collabora.com>
8443 Date: Fri Sep 14 21:29:53 2012 -0400
8445 pygi-closure: Protect the GSList prepend with the GIL
8447 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
8449 https://bugzilla.gnome.org/show_bug.cgi?id=684060
8451 gi/pygi-closure.c | 4 ++--
8452 1 file changed, 2 insertions(+), 2 deletions(-)
8454 commit 6e0a32f6d9febbd782dc56a619974f009e79abd9
8455 Author: Simon Feltman <sfeltman@src.gnome.org>
8456 Date: Wed Feb 20 01:21:32 2013 -0800
8458 generictreemodel: Fix bad default return type for get_column_type
8460 pygtkcompat/generictreemodel.py | 2 +-
8461 1 file changed, 1 insertion(+), 1 deletion(-)
8463 commit 8ec5c335e223bdf00c7bb6c9aac3e7ac7791e38e
8464 Author: Martin Pitt <martinpitt@gnome.org>
8465 Date: Tue Feb 19 12:23:13 2013 +0100
8467 configure.ac: post-release bump to 3.7.91
8470 1 file changed, 1 insertion(+), 1 deletion(-)
8472 commit f2fb7f6142cd7112db9c2526d7f1c642a50cfc2a
8473 Author: Martin Pitt <martinpitt@gnome.org>
8474 Date: Tue Feb 19 12:19:35 2013 +0100
8478 NEWS | 17 +++++++++++++++++
8480 2 files changed, 18 insertions(+), 1 deletion(-)
8482 commit 840c871441cb215f24cc6e7ed26b9f38e5aad0df
8483 Author: Simon Feltman <sfeltman@src.gnome.org>
8484 Date: Mon Feb 18 01:46:22 2013 -0800
8486 overrides: Fix inconsistencies with drag and drop target list API
8488 Add support to Gtk.Widget.drag_dest_set_target_list and
8489 Gtk.Widget.drag_source_set_target_list to accept iterables containing
8490 mixed TargetEntry or a tuple of (target, flags, info).
8491 Add support to Gtk.TreeView.enable_model_drag_source and
8492 Gtk.TreeView.enable_model_drag_dest to accept a list of
8496 https://bugzilla.gnome.org/show_bug.cgi?id=680640
8498 gi/overrides/Gtk.py | 40 +++++++++++++++++++++++++++++-----------
8499 tests/test_overrides_gtk.py | 32 ++++++++++++++++++++++++++++++++
8500 2 files changed, 61 insertions(+), 11 deletions(-)
8502 commit 62e94b0f87845bb7a1cfddf70dcdc89ff7a80bf7
8503 Author: Simon Feltman <sfeltman@src.gnome.org>
8504 Date: Mon Feb 18 03:19:34 2013 -0800
8506 tests: Add test_marshaling_object to Makefile.am
8508 tests/Makefile.am | 1 +
8509 1 file changed, 1 insertion(+)
8511 commit a10fb7216de57046d1ecacb73dd032eaadcbad09
8512 Author: Simon Feltman <s.feltman@gmail.com>
8513 Date: Wed Aug 29 03:46:23 2012 -0700
8515 pygtkcompat: Add pygtk compatible GenericTreeModel implementation
8517 Add Python implementation of the GenericTreeModel that was
8518 available in pygtk. The implementation attempts a better job
8519 than the original at ref counting by guaranteeing no leaks
8520 upon deletion of the model itself. Or by using the extra "node"
8521 argument to the row_deleted signal. The model is available in
8522 the pygtkcompat package directly as
8523 pygtkcompat.generictreemodel.GenericTreeModel or with as
8524 gtk.GenericTreeModel when pygtkcompat.enable_gtk() is set.
8526 Add file list and tree demos making use of GenericTreeModel
8529 Auto-expand gtk-demo app tree to give a better overview of
8530 the demos available.
8532 https://bugzilla.gnome.org/show_bug.cgi?id=682933
8534 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 234 ++++++++++++
8535 .../gtk-demo/demos/Tree View/treemodel_filetree.py | 279 ++++++++++++++
8536 demos/gtk-demo/gtk-demo.py | 2 +-
8537 gi/pygtkcompat.py | 2 +-
8538 pygtkcompat/Makefile.am | 1 +
8539 pygtkcompat/generictreemodel.py | 420
8540 +++++++++++++++++++++
8541 pygtkcompat/pygtkcompat.py | 3 +
8542 tests/Makefile.am | 1 +
8543 tests/test_generictreemodel.py | 406
8544 ++++++++++++++++++++
8545 9 files changed, 1346 insertions(+), 2 deletions(-)
8547 commit 871878c7a1e18fbdbf0744e0dd52cbcc6b610cdb
8548 Author: Simon Feltman <sfeltman@src.gnome.org>
8549 Date: Mon Feb 18 02:54:14 2013 -0800
8551 overrides: Add support for iterables besides tuples for TreePath
8554 Allow Gtk.TreePath to accept any iterable for creation of the path.
8556 https://bugzilla.gnome.org/show_bug.cgi?id=682933
8558 gi/overrides/Gtk.py | 2 +-
8559 1 file changed, 1 insertion(+), 1 deletion(-)
8561 commit 93c1536b45f56c20b6d874c41c4cacd2b6cdca0a
8562 Author: Simon Feltman <sfeltman@src.gnome.org>
8563 Date: Fri Feb 15 22:56:29 2013 -0800
8565 Unify Python callable to GClosure GI marshaling code
8567 Add pygi_marshal_from_py_gclosure which can be used for direct
8569 call args and vfunc out args.
8571 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8573 gi/pygi-argument.c | 14 +-----------
8574 gi/pygi-marshal-from-py.c | 55
8575 ++++++++++++++++++++++++++++-------------------
8576 gi/pygi-marshal-from-py.h | 3 +++
8577 3 files changed, 37 insertions(+), 35 deletions(-)
8579 commit 9e47afe459df942d9ffc4f71b39f1443976293df
8580 Author: Simon Feltman <sfeltman@src.gnome.org>
8581 Date: Fri Feb 15 20:56:12 2013 -0800
8583 Unify Python object to GValue GI marshaling code
8585 Add pygi_marshal_from_py_g_value which can be used for direct
8587 call args and vfunc out args. The new method also adds an
8589 parameter that will be used to fix leaks in the future.
8591 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8593 gi/pygi-argument.c | 43 +++++++--------------------
8594 gi/pygi-marshal-from-py.c | 74
8595 ++++++++++++++++++++++++++++++++---------------
8596 gi/pygi-marshal-from-py.h | 5 ++++
8597 3 files changed, 65 insertions(+), 57 deletions(-)
8599 commit 15cd7be5ad80e2411d6c13b04f5e2c33e4f5605e
8600 Author: Simon Feltman <sfeltman@src.gnome.org>
8601 Date: Fri Feb 15 23:07:57 2013 -0800
8603 Rename pygi_marshal_from_py_object to make it more explicit
8605 Rename pygi_marshal_from_py_object to pygi_marshal_from_py_gobject
8606 to make it more explicit and give consistency with future refactoring.
8608 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8610 gi/pygi-argument.c | 2 +-
8611 gi/pygi-marshal-from-py.c | 22 +++++++++++++---------
8612 gi/pygi-marshal-from-py.h | 6 +++---
8613 3 files changed, 17 insertions(+), 13 deletions(-)
8615 commit 84103dfabd05742d1a18729663a609e9bf7c45f8
8616 Author: Niklas Koep <niklas.koep@gmail.com>
8617 Date: Fri Feb 15 21:23:01 2013 -0800
8619 Prefix __module__ attribute of function objects with gi.repository
8621 This allows gi module methods to work with pydoc and help().
8622 Additionally correct typo in two docstrings of the same module.
8624 Co-authored-by: Simon Feltman <sfeltman@src.gnome.org>
8626 https://bugzilla.gnome.org/show_bug.cgi?id=693839
8628 gi/overrides/__init__.py | 3 ++-
8629 gi/types.py | 6 +++---
8630 2 files changed, 5 insertions(+), 4 deletions(-)
8632 commit f6d4d2da676ae63d7a24dd172775b488ce665fe4
8633 Author: Jonathan Ballet <jon@multani.info>
8634 Date: Thu Feb 14 07:50:02 2013 +0100
8636 configure.ac: only enable code coverage when available
8638 When building with an older gnome-common which does not yet provide
8640 coverage support, disable it instead of breaking the configure script.
8642 https://bugzilla.gnome.org/show_bug.cgi?id=693328
8644 configure.ac | 10 +++++++++-
8645 1 file changed, 9 insertions(+), 1 deletion(-)
8647 commit 42cbff60e2032f715d9be6ab280954211899e03c
8648 Author: Jonathan Ballet <jon@multani.info>
8649 Date: Tue Feb 12 23:03:00 2013 +0100
8651 Correctly set properties on object with statically defined properties
8653 Fix failures in GObject.Object.set_properties() when used with
8654 statically defined properties:
8656 * Calling the method was raising a "SystemError: error return without
8657 exception set" since `result` was (most of the time) still NULL at the
8658 end of pygobject_set_properties()
8660 * Calling the method with several properties would only set one of
8661 the properties, since the function was exiting too early.
8663 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
8665 https://bugzilla.gnome.org/show_bug.cgi?id=693618
8667 gi/_gobject/pygobject.c | 19 +++++++++++--------
8668 tests/test_gi.py | 6 ++++++
8669 2 files changed, 17 insertions(+), 8 deletions(-)
8671 commit 2384769810a61d6ed08d8742b7ae976ebfaa8cb5
8672 Author: Martin Pitt <martinpitt@gnome.org>
8673 Date: Mon Feb 11 18:08:37 2013 +0100
8675 autogen.sh: Use gnome-autogen.sh
8677 We depend on gnome-common now anyway, so use gnome-autogen.sh. This
8679 in a much better error message when gnome-common is not installed,
8682 https://bugzilla.gnome.org/show_bug.cgi?id=693328
8684 autogen.sh | 30 +++++++++++++++++-------------
8685 1 file changed, 17 insertions(+), 13 deletions(-)
8687 commit c107bb1f9275a748b494d3f32818f227e07cadf0
8688 Author: Christoph Reiter <christoph.reiter@gmx.at>
8689 Date: Mon Feb 11 10:07:47 2013 +0100
8691 GTK tests: Add and use context manager for realized widgets
8693 https://bugzilla.gnome.org/show_bug.cgi?id=693377
8695 tests/test_overrides_gtk.py | 91
8696 +++++++++++++++++++++++++--------------------
8697 1 file changed, 50 insertions(+), 41 deletions(-)
8699 commit e6670ee26b7682e6213f71deef813ce2e7cd6730
8700 Author: Martin Pitt <martinpitt@gnome.org>
8701 Date: Mon Feb 11 08:55:19 2013 +0100
8703 _pygi_marshal_from_py_array: Fix uninitialized variable
8705 gi/pygi-marshal-from-py.c | 2 +-
8706 1 file changed, 1 insertion(+), 1 deletion(-)
8708 commit a37bfdcb3d9dcc8bcdd8126ad55d80fab4729c62
8709 Author: Christoph Reiter <christoph.reiter@gmx.at>
8710 Date: Mon Feb 11 08:34:42 2013 +0100
8712 Skip some vfunc tests with gi 1.34
8714 https://bugzilla.gnome.org/show_bug.cgi?id=693374
8716 tests/test_object_marshaling.py | 14 ++++++++++++++
8717 1 file changed, 14 insertions(+)
8719 commit aff2ea1b681c3019f7dbdc841c2e33de78dbb88f
8720 Author: Simon Feltman <sfeltman@src.gnome.org>
8721 Date: Sun Feb 10 13:40:45 2013 -0800
8723 Remove workaround for g_struct_info_get_size reporting incorrect size
8725 Remove workaround for g_struct_info_get_size reporting incorrect size
8726 for boxed GValues. Verified this now returns the correct size of 24.
8728 https://bugzilla.gnome.org/show_bug.cgi?id=622711
8730 gi/pygi-boxed.c | 31 +++++++++++++------------------
8731 1 file changed, 13 insertions(+), 18 deletions(-)
8733 commit 5efe2e5c8458d9f4d72329ea1209d96b5ebecfb4
8734 Author: Simon Feltman <sfeltman@src.gnome.org>
8735 Date: Mon Feb 4 20:50:10 2013 -0800
8737 Fix reference leaks with transient floating objects
8739 Unify and refactor caller and callee GObject argument marshalers.
8740 Combine code from the large switch statement used to marshal
8741 arguments to and from vfuncs/closures with the marshalers used
8742 for direct calls to gi functions. This fixes a reference leak
8743 when marshalling GObjects to Python with transfer=full due to
8744 the diverging code paths.
8745 Replace ability in gobject_new_full to optionally sink objects
8746 with ability to optionaly "steal" objects. This fits the premise
8747 that binding layers should always sink objects initially. The
8748 steal argument is then used for marshalling arguments which are
8750 Add hacks and comments to work around GTK+ bugs 693393 and 693400.
8752 https://bugzilla.gnome.org/show_bug.cgi?id=687522
8754 gi/_gobject/gobjectmodule.c | 10 +++++--
8755 gi/_gobject/pygobject-private.h | 2 +-
8756 gi/_gobject/pygobject.c | 45 ++++++++++++++++++++----------
8757 gi/_gobject/pygobject.h | 8 ++++--
8758 gi/pygi-argument.c | 52 +++++++++++++++++------------------
8759 gi/pygi-marshal-from-py.c | 61
8760 +++++++++++++++++++++++++++++++++++++----
8761 gi/pygi-marshal-from-py.h | 6 ++++
8762 gi/pygi-marshal-to-py.c | 45 +++++++++++++++---------------
8763 gi/pygi-marshal-to-py.h | 5 ++++
8764 tests/test_object_marshaling.py | 44 ++++++++++++++---------------
8765 10 files changed, 181 insertions(+), 97 deletions(-)
8767 commit bd54b8ab30fc957849e7f57e9ee4c4b41aa37013
8768 Author: Simon Feltman <sfeltman@src.gnome.org>
8769 Date: Wed Feb 6 12:56:44 2013 -0800
8771 tests: Fix spelling mistakes in new vfunc object marshalling tests
8773 tests/test_object_marshaling.py | 12 ++++++------
8774 1 file changed, 6 insertions(+), 6 deletions(-)
8776 commit cd96fd8b8e10add9890f36ec237bb78548de7002
8777 Author: Martin Pitt <martinpitt@gnome.org>
8778 Date: Tue Feb 5 07:53:38 2013 +0100
8780 configure.ac: post-release bump to 3.7.6
8783 1 file changed, 1 insertion(+), 1 deletion(-)
8785 commit 92b1404e61f46348168f32720eff4a482531e5e3
8786 Author: Martin Pitt <martinpitt@gnome.org>
8787 Date: Tue Feb 5 07:46:46 2013 +0100
8793 2 files changed, 4 insertions(+), 1 deletion(-)
8795 commit a3a30559240077194f23c4651d6f382fa59b7d63
8796 Author: Simon Feltman <sfeltman@src.gnome.org>
8797 Date: Mon Feb 4 15:16:37 2013 -0800
8799 Fix API break with pygobject.h
8801 Move pygobject_new_full after everything in the public API table.
8802 This fixes a break that went in along with bug 675726.
8804 https://bugzilla.gnome.org/show_bug.cgi?id=675726
8806 gi/_gobject/gobjectmodule.c | 5 +++--
8807 gi/_gobject/pygobject.h | 2 +-
8808 2 files changed, 4 insertions(+), 3 deletions(-)
8810 commit b3ca7e27494c35620995840d777037a097082661
8811 Author: Martin Pitt <martinpitt@gnome.org>
8812 Date: Mon Feb 4 19:53:26 2013 +0100
8814 configure.ac: post-release bump to 3.7.6
8817 1 file changed, 1 insertion(+), 1 deletion(-)
8819 commit 77f638411314218748f349b337a36e2864eed1f4
8820 Author: Martin Pitt <martinpitt@gnome.org>
8821 Date: Mon Feb 4 19:37:14 2013 +0100
8825 NEWS | 24 ++++++++++++++++++++++++
8826 1 file changed, 24 insertions(+)
8828 commit 50da4fca1435f8c27072e15875227c5e7fb9b7e4
8829 Author: Simon Feltman <sfeltman@src.gnome.org>
8830 Date: Sun Feb 3 23:56:14 2013 -0800
8832 Fix pointer cast warning that was missed in bug 675726
8834 https://bugzilla.gnome.org/show_bug.cgi?id=675726
8836 gi/_gobject/pygobject.h | 2 +-
8837 1 file changed, 1 insertion(+), 1 deletion(-)
8839 commit b31d8a952cd57dc92b06a381e054199660a2d570
8840 Author: Simon Feltman <sfeltman@src.gnome.org>
8841 Date: Thu Jan 31 02:35:36 2013 -0800
8843 Move various signal methods from static bindings to gi and python
8845 Move disconnect, handler_is_connected, handler_block, handler_unblock,
8846 and stop_emission from static to gi python overrides.
8848 https://bugzilla.gnome.org/show_bug.cgi?id=692918
8850 gi/_gobject/pygobject.c | 90
8851 -------------------------------------------------
8852 gi/overrides/GObject.py | 44 +++++++++++++++++-------
8853 tests/test_signal.py | 19 ++++++-----
8854 3 files changed, 42 insertions(+), 111 deletions(-)
8856 commit 3a6a4a7a21a0f5e851518b7912d8ff455aa3ede4
8857 Author: Paolo Borelli <pborelli@gnome.org>
8858 Date: Fri Feb 1 21:09:26 2013 +0100
8860 GLib overrides: Support unpacking 'maybe' variants
8862 Automatically unpack 'maybe' variants to None or to their actual value
8863 as we do for other kind of variants
8865 https://bugzilla.gnome.org/show_bug.cgi?id=693032
8867 gi/overrides/GLib.py | 5 +++++
8868 tests/test_overrides_glib.py | 8 ++++++++
8869 2 files changed, 13 insertions(+)
8871 commit 9bc3e6807f6c14fb0e132a90ff8f9984229896f6
8872 Author: Mike Gorse <mgorse@suse.com>
8873 Date: Mon Jan 21 16:45:52 2013 -0600
8875 Fix ref count leak when creating pygobject wrappers for input args
8877 Only sink input references for closures and vfuncs when transfer is
8878 everything. This fixes cases where incoming floating references for
8879 callbacks need to maintain their floating state throughout the
8880 callback so they don't leak a strong reference. Re-introduce a
8881 working "sink" argument to pygobject_new_full which allows for this.
8882 Change existing callers to always sink in order maintain behavior.
8884 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
8886 https://bugzilla.gnome.org/show_bug.cgi?id=675726
8888 gi/_gobject/gobjectmodule.c | 5 +--
8889 gi/_gobject/pygobject.c | 7 ++--
8890 gi/_gobject/pygobject.h | 2 ++
8891 gi/pygi-argument.c | 13 +++----
8892 tests/test_object_marshaling.py | 76
8893 +++++++++++++++++++++++++++++++++++++----
8894 5 files changed, 85 insertions(+), 18 deletions(-)
8896 commit a53a9176a3f87cfb26f3ad98ea746ada0f1a39fa
8897 Author: Simon Feltman <sfeltman@src.gnome.org>
8898 Date: Thu Jan 31 01:50:44 2013 -0800
8900 Add tests for signal stop_emission, disconnect, and
8901 handler_is_connected
8903 Add tests for methods which will be moving from static bindings to gi
8904 by using the new __gpointer__ attribute of GObject.
8906 https://bugzilla.gnome.org/show_bug.cgi?id=692918
8908 tests/test_signal.py | 51
8909 ++++++++++++++++++++++++++++++++++++++++++++++++++-
8910 1 file changed, 50 insertions(+), 1 deletion(-)
8912 commit df18f9cc3828d1bcf6b6cdf26af786fd9f36d77e
8913 Author: Simon Feltman <sfeltman@src.gnome.org>
8914 Date: Wed Jan 30 21:37:07 2013 -0800
8916 Add __gpointer__ property to GObject static binding
8918 Add access to the underlying C GObject pointer by wrapping it in a
8919 PyCapsule/PyCPointer and exposing it as __gpointer__.
8920 Add special case marshaling for gi parameters annotated as gpointer
8921 to accept a PyCapsule and extract the underlying pointer as the arg.
8922 This allows usage of methods like GObject.signal_handler_disconnect
8923 which we can start replacing the static bindings with.
8925 https://bugzilla.gnome.org/show_bug.cgi?id=692918
8927 gi/_gobject/pygobject.c | 11 +++++++++--
8928 gi/pygi-marshal-from-py.c | 6 +++++-
8929 2 files changed, 14 insertions(+), 3 deletions(-)
8931 commit 571e0cb246baa4ef7db179b20da6b325f358fe5b
8932 Author: Simon Feltman <sfeltman@src.gnome.org>
8933 Date: Sun Jan 27 01:22:37 2013 -0800
8935 Prefix names of typeless enums and flags for GType registration
8937 Prefix names given to g_flags_register_static and
8938 g_enum_register_static
8939 with "Py". This avoids conflicts with GTypes of the same name being
8940 registered later by a library which does not provide a "get-type"
8943 https://bugzilla.gnome.org/show_bug.cgi?id=692515
8945 gi/gimodule.c | 10 ++++++++--
8946 tests/test_gi.py | 4 ++--
8947 2 files changed, 10 insertions(+), 4 deletions(-)
8949 commit 97f48f5dcabc8dad4480727a78416b1c2a220777
8950 Author: Simon Feltman <sfeltman@src.gnome.org>
8951 Date: Wed Jan 30 04:35:32 2013 -0800
8953 Add tests for vfunc object arguments and returns
8955 Add tests which use different combinations of floating, transfer full,
8956 transfer none, and held wrapper as in, out, or return arguments
8958 Most of these are marked as skip or expectedFailure due to various
8962 https://bugzilla.gnome.org/show_bug.cgi?id=687522
8964 gi/overrides/GObject.py | 15 +-
8965 tests/test_object_marshaling.py | 540
8966 ++++++++++++++++++++++++++++++++++++++++
8967 2 files changed, 550 insertions(+), 5 deletions(-)
8969 commit 73a83186329ede7702501d5bc49df269482461e4
8970 Author: Paolo Borelli <pborelli@gnome.org>
8971 Date: Wed Jan 30 17:48:12 2013 +0100
8973 Cosmetic fix to last patch
8975 gi/pygi-argument.c | 7 +++++--
8976 1 file changed, 5 insertions(+), 2 deletions(-)
8978 commit 9e0c41509d62e8df7d0d82608a8be75f3defe05c
8979 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
8980 Date: Fri Jan 25 13:05:18 2013 +0800
8982 gi/pygi-info.c, gi/pygi-repository.c: Deal with C99isms
8984 Drop the array forward static declarations. They are not necessary
8988 Also move declarations of variables to the top of their respective
8991 https://bugzilla.gnome.org/show_bug.cgi?id=692856
8993 gi/pygi-info.c | 18 ++++++++++--------
8994 gi/pygi-repository.c | 2 --
8995 2 files changed, 10 insertions(+), 10 deletions(-)
8997 commit 2e7c458ef6377a872043634b47737ef12eed744a
8998 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
8999 Date: Fri Jan 25 13:00:48 2013 +0800
9001 Move variable declaration to top of blocks (C99ism)
9003 Move variable declarations to the top of their respective blocks,
9005 code will build under C89 compilers such as Visual C++.
9007 https://bugzilla.gnome.org/show_bug.cgi?id=692856
9009 gi/pygi-argument.c | 10 ++++++----
9010 gi/pygi-closure.c | 23 +++++++++++++++--------
9011 gi/pygi-invoke.c | 3 ++-
9012 gi/pygi-marshal-cleanup.c | 3 ++-
9013 gi/pygi-property.c | 3 ++-
9014 5 files changed, 27 insertions(+), 15 deletions(-)
9016 commit 20fc5aa7514215fc7807adceb603d17f7943304a
9017 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
9018 Date: Fri Jan 25 12:58:26 2013 +0800
9020 gi/pygobject-external.h: Remove GCCism
9022 We can use G_GNUC_UNUSED from GLib that does the same purpose of
9023 __attribute__ ( (unused)) when we are using a GCC that provides this.
9025 The GLib headers that defines that macro should have already been
9027 before this header is included (due to use of gboolean).
9029 https://bugzilla.gnome.org/show_bug.cgi?id=692856
9031 gi/pygobject-external.h | 2 +-
9032 1 file changed, 1 insertion(+), 1 deletion(-)
9034 commit 5d2f453f3fdb167a4b4a833011ae777bfd228eb9
9035 Author: Martin Pitt <martinpitt@gnome.org>
9036 Date: Wed Jan 30 14:59:11 2013 +0100
9038 tests: Update test_double() after e65c1248
9040 Commit e65c1248 introduced support for NaN and ±inf as valid
9042 rendering the "expect ValueError on 2*double" check broken. Just
9045 tests/test_everything.py | 1 -
9046 1 file changed, 1 deletion(-)
9048 commit b8bf4ec6c2478275dc9c813946a90b82ded6d9ce
9049 Author: Martin Pitt <martinpitt@gnome.org>
9050 Date: Wed Jan 23 07:14:16 2013 +0100
9052 Do not immediately initialize Gdk and Gtk on import
9054 Raising an exception if Gdk/Gtk cannot be imported makes it
9056 merely import a module for e. g. nosetests without actually running
9059 Programs who want to provide a proper error message should check
9060 Gtk.initialized explicitly after importing. Check initialized
9062 Window.__init__() instead to provide a reasonably early error message
9066 https://bugzilla.gnome.org/show_bug.cgi?id=692300
9068 gi/overrides/Gdk.py | 2 --
9069 gi/overrides/Gtk.py | 5 +++--
9070 2 files changed, 3 insertions(+), 4 deletions(-)
9072 commit 93d5cc2986cb3d3d979694b1beb1719d2d8fed53
9073 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
9074 Date: Fri Jan 25 12:49:18 2013 +0800
9076 gi/overrides/Glib.py: Fix running on Windows/non-Unix
9078 The definition of self._signal_source uses a Unix-specific GLib
9080 does not exist or have a direct equivilant on Windows.
9082 Only define and use that variable when we aren't on Windows.
9084 gi/overrides/GLib.py | 18 ++++++++++--------
9085 1 file changed, 10 insertions(+), 8 deletions(-)
9087 commit e65c124893ceaa9c97eb4c8c743fbeb756b9a6e6
9088 Author: Martin Pitt <martinpitt@gnome.org>
9089 Date: Wed Jan 23 14:56:02 2013 +0100
9091 Accept ±inf and NaN as float and double values
9093 Also fix the broken error message when a float value is out of range.
9094 PyErr_Format() does not support float macros.
9096 https://bugzilla.gnome.org/show_bug.cgi?id=692381
9098 gi/pygi-marshal-from-py.c | 37 +++++++++++++++++++------------------
9099 tests/test_gobject.py | 14 ++++++++++++++
9100 2 files changed, 33 insertions(+), 18 deletions(-)
9102 commit a52245381fab3c2aebd330cc9c5e717a93c9607d
9103 Author: Martin Pitt <martinpitt@gnome.org>
9104 Date: Wed Jan 23 14:28:42 2013 +0100
9106 Fix repr() of GLib.Variant
9108 When using a standard constructor like GLib.Variant.new_*(), the
9110 not have a format_string property, and previously repr() would
9112 to get_type_string() instead.
9114 Also drop the unintended type annotations in repr().
9116 gi/overrides/GLib.py | 6 +++++-
9117 tests/test_overrides_glib.py | 15 ++++++++++++++-
9118 2 files changed, 19 insertions(+), 2 deletions(-)
9120 commit 2270cf15012005362dc47456213c5d9e7f6ed28a
9121 Author: Martin Pitt <martinpitt@gnome.org>
9122 Date: Wed Jan 23 14:14:29 2013 +0100
9124 Fix gtk-demo for Python 3
9126 It was crashing with
9128 package = __import__(packagename, globals(), locals(),
9130 ValueError: level must be >= 0
9132 Using level zero works with both Python 2 and 3.
9134 demos/gtk-demo/gtk-demo.py | 2 +-
9135 1 file changed, 1 insertion(+), 1 deletion(-)
9137 commit b24d07577da1e17c8e27f758fc1a23d7f2d0f668
9138 Author: Colin Walters <walters@verbum.org>
9139 Date: Tue Jan 22 10:49:57 2013 -0500
9141 build: Add autogen.sh to EXTRA_DIST
9143 So downstreams that patch the autotools can use it.
9146 1 file changed, 1 insertion(+)
9148 commit ed7fb99efa81854d947ae548d41a03f5275c5884
9149 Author: Martin Pitt <martinpitt@gnome.org>
9150 Date: Thu Jan 17 08:23:02 2013 +0100
9152 Define GObject.TYPE_VALUE gtype constant
9154 gi/overrides/GObject.py | 4 +++-
9155 tests/test_gobject.py | 4 ++++
9156 2 files changed, 7 insertions(+), 1 deletion(-)
9158 commit fd32acdd97f49f086a8ad5cf2b65862c4e6ccc44
9159 Author: Olivier Crête <olivier.crete@collabora.com>
9160 Date: Mon Sep 17 15:37:04 2012 -0400
9162 gobject: Go through introspection on property setting
9164 Consider introspected properties in object.set_property().
9166 https://bugzilla.gnome.org/show_bug.cgi?id=684062
9168 gi/_gobject/pygobject.c | 18 +++++++++++++++++-
9169 tests/test_properties.py | 13 ++++++++++---
9170 2 files changed, 27 insertions(+), 4 deletions(-)
9172 commit 9a2060f26c2cc2f9ef79ab6fb9f512c317004856
9173 Author: Mike Gorse <mgorse@suse.com>
9174 Date: Tue Jan 15 20:04:46 2013 -0600
9176 Clean up caller-allocated GValues and their memory
9178 When space for a GValue is allocated by the caller (as in
9179 gtk_tree_model_get_value), we need to free the space allocated for the
9180 value along with its contents. The GValue is not needed after
9181 Pyg_value_as_pyobject is called, so call _cleanup_caller_allocates and
9182 have it unset the value and deallocate the memory.
9184 https://bugzilla.gnome.org/show_bug.cgi?id=691820
9186 gi/pygi-marshal-cleanup.c | 20 ++++++++++++++++++--
9187 1 file changed, 18 insertions(+), 2 deletions(-)
9189 commit 45b7975d0a3d78f01f1112ae7b3f4208f15694d8
9190 Author: Dmitry Shachnev <mitya57@ubuntu.com>
9191 Date: Wed Jan 16 13:44:42 2013 +0400
9193 tests: define correct unittest.skipIf for python 2.6
9195 tests/runtests.py | 2 +-
9196 1 file changed, 1 insertion(+), 1 deletion(-)
9198 commit 4706cd686ea1b25260c9ecc77abd324d6e4cf505
9199 Author: Martin Pitt <martinpitt@gnome.org>
9200 Date: Wed Jan 16 09:17:13 2013 +0100
9202 tests: More robust tree view realization
9204 With current GNOME git head, the Gtk.TreeViews were not realized
9206 more to receive property values. Put them into a Gtk.Dialog now and
9208 ensure that they are realized.
9210 tests/test_overrides_gtk.py | 16 ++++++++++------
9211 1 file changed, 10 insertions(+), 6 deletions(-)
9213 commit 90c6f596df2a96f9c8059ae9157bc467a80b7574
9214 Author: Martin Pitt <martinpitt@gnome.org>
9215 Date: Tue Jan 15 10:42:49 2013 +0100
9217 Drop deprecated g_thread_create()
9219 Replace with g_thread_new(). This is available with glib >= 2.32,
9221 already require >= 2.34.
9223 tests/test-thread.c | 3 +--
9224 1 file changed, 1 insertion(+), 2 deletions(-)
9226 commit 98504273dead9eade6e53c2297bcaec7bea6265a
9227 Author: Martin Pitt <martinpitt@gnome.org>
9228 Date: Tue Jan 15 10:37:52 2013 +0100
9230 Drop usage of deprecated GStaticPrivate
9232 Replace with GPrivate.
9234 gi/_gobject/gobjectmodule.c | 6 +++---
9235 1 file changed, 3 insertions(+), 3 deletions(-)
9237 commit 655e2eece14f5de3baf4505f524d17484b8b5a75
9238 Author: Martin Pitt <martinpitt@gnome.org>
9239 Date: Tue Jan 15 10:29:47 2013 +0100
9241 Don't call g_type_init() with glib >= 2.35.x
9243 This fixes a deprecation warning.
9245 gi/_gobject/gobjectmodule.c | 2 ++
9246 1 file changed, 2 insertions(+)
9248 commit 206e736380ba798c68de09f661d75c8e27451117
9249 Author: Martin Pitt <martinpitt@gnome.org>
9250 Date: Tue Jan 15 09:47:11 2013 +0100
9252 Use GNOME_COMPILE_WARNINGS from gnome-common
9254 As we are now using gnome-common anyway for the code coverage macro,
9256 GNOME_COMPILE_WARNINGS, and only manually specify the extra options
9260 This also enables -Wstrict-prototypes.
9262 configure.ac | 14 ++++----------
9263 1 file changed, 4 insertions(+), 10 deletions(-)
9265 commit 137679426ff39507e15f08e9e6428d851fee06b7
9266 Author: Martin Pitt <martinpitt@gnome.org>
9267 Date: Tue Jan 15 09:46:01 2013 +0100
9269 Fix function prototypes and static functions
9271 These cause errors/warnings with -Wstrict-prototypes.
9273 gi/_glib/pyglib-python-compat.h | 2 ++
9274 gi/pygi-foreign.c | 2 +-
9275 gi/pygi-marshal-from-py.c | 4 ++--
9276 gi/pygi-marshal-to-py.c | 4 ++--
9277 gi/pygi-source.c | 2 +-
9278 gi/pygi-source.h | 2 +-
9279 6 files changed, 9 insertions(+), 7 deletions(-)
9281 commit d47927f1701a11aec8566425f22688c5df73d7f2
9282 Author: Martin Pitt <martinpitt@gnome.org>
9283 Date: Mon Jan 14 17:38:23 2013 +0100
9285 configure.ac: post-release bump to 3.7.5
9288 1 file changed, 1 insertion(+), 1 deletion(-)
9290 commit bd6da84a4aec74e47f5d70e8ed18695c37e746c6
9291 Author: Martin Pitt <martinpitt@gnome.org>
9292 Date: Mon Jan 14 17:30:48 2013 +0100
9296 NEWS | 38 ++++++++++++++++++++++++++++++++++++++
9297 1 file changed, 38 insertions(+)
9299 commit c90ef9dfac7dd51ec82c99c3605915996bea0f73
9300 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
9301 Date: Tue Dec 4 15:45:00 2012 +0200
9303 Allow setting values through GtkTreeModelFilter
9305 Previously, trying to set a value through filter throwed an exception
9307 model has no set_value() method. You had to first retrieve the
9309 model and set value to it.
9311 https://bugzilla.gnome.org/show_bug.cgi?id=689624
9313 gi/overrides/Gtk.py | 5 +++++
9314 tests/test_overrides_gtk.py | 11 +++++++++++
9315 2 files changed, 16 insertions(+)
9317 commit b092630efc691a6f7ae94ae896193254f5a961a6
9318 Author: Martin Pitt <martinpitt@gnome.org>
9319 Date: Mon Jan 14 12:37:18 2013 +0100
9321 tests: Add (failing) test case for GParamSpec arguments
9324 https://bugzilla.gnome.org/show_bug.cgi?id=682355
9326 tests/test_gi.py | 9 +++++++++
9327 1 file changed, 9 insertions(+)
9329 commit 52d84b5da7f9fd4f65faea4e6fe3d250f937a208
9330 Author: Martin Pitt <martinpitt@gnome.org>
9331 Date: Mon Jan 14 12:20:27 2013 +0100
9333 tests: Skip struct string member tests with g-i 1.34
9335 We still support building against gobject-introspection 1.34, so
9337 which do not work with that version yet.
9339 tests/test_gi.py | 8 ++++++++
9340 1 file changed, 8 insertions(+)
9342 commit f9429192cb1002725a11a75a7b8f9300375b9caf
9343 Author: Martin Pitt <martinpitt@gnome.org>
9344 Date: Mon Jan 14 12:15:27 2013 +0100
9346 Support GParamSpec signal arguments from Python
9348 In pyg_value_from_pyobject(), recognize both the real GI
9349 GObject.ParamSpec type
9350 as well as the statically wrapped _gobject.GParamSpec type.
9352 This fixes marshalling GObject.ParamSpec signal/vfunc arguments.
9354 https://bugzilla.gnome.org/show_bug.cgi?id=683099
9356 gi/_gobject/pygtype.c | 6 +++++-
9357 tests/test_signal.py | 12 ++++++++++++
9358 tests/testhelpermodule.c | 13 +++++++++++++
9359 3 files changed, 30 insertions(+), 1 deletion(-)
9361 commit 99f72925c7de76611f7592bce9d8217a9ff46809
9362 Author: Martin Pitt <martinpitt@gnome.org>
9363 Date: Mon Jan 14 11:48:11 2013 +0100
9365 pygobject_emit(): Fix cleanup on error
9367 Dot not try to unset GValues which have not been initialized yet,
9369 conversion fails for a parameter.
9371 gi/_gobject/pygobject.c | 8 ++++----
9372 1 file changed, 4 insertions(+), 4 deletions(-)
9374 commit acef1d3266d11b2465d61185a55526df879a5c62
9375 Author: Simon Feltman <sfeltman@src.gnome.org>
9376 Date: Mon Dec 31 19:01:57 2012 -0800
9378 Add signal emission methods to TreeModel which coerce the path
9381 Override TreeModel row_changed, row_inserted, row_has_child_toggled,
9382 row_deleted, and rows_reordered methods to accept python iterables as
9383 the path parameter. This is for compatibility with pygtk and
9385 with the rest of the TreeModel and TreePath overrides.
9387 https://bugzilla.gnome.org/show_bug.cgi?id=682933
9389 gi/overrides/Gtk.py | 31 ++++++++++++++++++++++++++++---
9390 tests/test_overrides_gtk.py | 27 +++++++++++++++++++++++++++
9391 2 files changed, 55 insertions(+), 3 deletions(-)
9393 commit 9cfba517e1a6dced5e66786b28ed5e101b7b4a29
9394 Author: Martin Pitt <martinpitt@gnome.org>
9395 Date: Mon Jan 14 10:36:36 2013 +0100
9397 Simplify overrides and tests using the new GObject.Value override
9399 The previous commit added support for constructing a GObject.Value
9401 GType and Python object conversion. Use this to simplify the Gtk
9403 the tests that construct GValues.
9405 See https://bugzilla.gnome.org/show_bug.cgi?id=677473
9407 gi/overrides/Gtk.py | 88
9408 +++------------------------------------------
9409 tests/test_gi.py | 26 +++++---------
9410 tests/test_overrides_gtk.py | 2 +-
9411 tests/test_signal.py | 12 ++-----
9412 4 files changed, 17 insertions(+), 111 deletions(-)
9414 commit f62b98398177991bfdbe0b6753342e79e6cf170a
9415 Author: Bastian Winkler <buz@netbuz.org>
9416 Date: Mon Jan 14 10:26:08 2013 +0100
9418 Add override for GValue
9420 Override GValue with a custom constructor and set_value()/get_value()
9421 methods. This allows you to call
9423 >>> GObject.Value(GObject.TYPE_FLOAT, 42.23)
9427 >>> value = GObject.Value()
9428 >>> value.init(GObject.TYPE_FLOAT)
9429 >>> value.set_float(42.23)
9431 This is especially useful for overrides that need to convert a Python
9432 value to a expected type like G_TYPE_FLOAT.
9434 https://bugzilla.gnome.org/show_bug.cgi?id=677473
9436 gi/overrides/GObject.py | 127
9437 +++++++++++++++++++++++++++++++++++++++++++++++-
9438 tests/test_gobject.py | 47 +++++++++++++++++-
9439 2 files changed, 172 insertions(+), 2 deletions(-)
9441 commit dc3d21173b75232f7ea0b9913f7309486456a69d
9442 Author: Mike Gorse <mgorse@suse.com>
9443 Date: Thu Jan 10 15:48:30 2013 -0600
9445 Mark caller-allocated boxed structures as having a slice allocated
9447 When a C function takes a pointer and fills it with a boxed structure
9449 gtk_tree_store_insert_with_values), pygi should deallocate the slice
9451 box is no longer being used.
9453 https://bugzilla.gnome.org/show_bug.cgi?id=699501
9455 gi/pygi-marshal-to-py.c | 4 +++-
9456 1 file changed, 3 insertions(+), 1 deletion(-)
9458 commit 0c496d230fee7fd3ada90ee9af10e0bc1e29ee12
9459 Author: Olivier Crête <olivier.crete@collabora.com>
9460 Date: Fri Sep 14 21:31:32 2012 -0400
9462 pygi-property: Support boxed GSList/GList types
9464 Note that this does not yet work for construct properties.
9466 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
9468 https://bugzilla.gnome.org/show_bug.cgi?id=684059
9470 gi/pygi-property.c | 10 ++++++++--
9471 tests/test_gi.py | 21 +++++++++++++++++++++
9472 2 files changed, 29 insertions(+), 2 deletions(-)
9474 commit 074f10d815453e58f4bee2f440c5db799add3876
9475 Author: Martin Pitt <martinpitt@gnome.org>
9476 Date: Mon Jan 14 07:48:31 2013 +0100
9478 test_gio: Fix for Python 2
9480 Python 2 does not yet take an "encoding" argument for str(), while
9482 requires it. Use a less fancy static test string instead.
9484 tests/test_gio.py | 2 +-
9485 1 file changed, 1 insertion(+), 1 deletion(-)
9487 commit 734979d0c8317201148a7e94a323225fba2d1635
9488 Author: Martin Pitt <martinpitt@gnome.org>
9489 Date: Mon Jan 14 07:40:10 2013 +0100
9491 tests: Add missing backwards compat methods for Python 2.6
9493 Define skipIf(), assertLess(), and assertLessEqual() for running
9497 https://bugzilla.gnome.org/show_bug.cgi?id=691646
9499 tests/runtests.py | 17 +++++++++++++++++
9500 1 file changed, 17 insertions(+)
9502 commit dc0dafd1f6ca3ebbf04210768a45587387e44551
9503 Author: Martin Pitt <martinpitt@gnome.org>
9504 Date: Mon Jan 14 07:34:46 2013 +0100
9506 tests: Stop using assertSequenceEqual()
9508 assertSequenceEqual() does not yet exist in Python 2.6, and is
9510 either as assertEqual() on sequences automatically does list
9513 Part of https://bugzilla.gnome.org/show_bug.cgi?id=691646
9515 tests/test_gtype.py | 6 ++----
9516 tests/test_signal.py | 6 ++----
9517 2 files changed, 4 insertions(+), 8 deletions(-)
9519 commit 0a5587b6a56d417a6703e342f153596f08cd5889
9520 Author: Simon Feltman <sfeltman@src.gnome.org>
9521 Date: Sun Jan 13 18:19:51 2013 -0800
9523 Allow setting TreeModel values to None
9525 Change TreeModel.set_value to use an empty but initialized GValue when
9526 None is used as the value argument. This allows clearing of cell data
9527 which was not accessible due to auto-coercion.
9529 https://bugzilla.gnome.org/show_bug.cgi?id=684094
9531 gi/overrides/Gtk.py | 11 ++++++++---
9532 tests/test_overrides_gtk.py | 8 ++++++++
9533 2 files changed, 16 insertions(+), 3 deletions(-)
9535 commit 5ae129da436793478750f0dc9427a174a980e10b
9536 Author: Mike Gorse <mgorse@suse.com>
9537 Date: Thu Jan 10 16:42:17 2013 -0600
9539 Set clean-up handler for marshalled arrays
9541 Arrays did not have a cleanup handler set in some cases, resulting
9544 https://bugzilla.gnome.org/show_bug.cgi?id=691509
9546 gi/pygi-cache.c | 1 +
9547 1 file changed, 1 insertion(+)
9549 commit 58bd307c57d542a8f69867dea2d0a0eb51230c7b
9550 Author: Vadim Rutkovsky <vrutkovs@redhat.com>
9551 Date: Fri Jan 11 15:41:27 2013 +0100
9553 Support setting string fields in structs
9555 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
9557 https://bugzilla.gnome.org/show_bug.cgi?id=678401
9559 gi/pygi-info.c | 3 ++-
9560 tests/test_gi.py | 16 ++++++++++++++++
9561 2 files changed, 18 insertions(+), 1 deletion(-)
9563 commit f2bcaa43c1158040a8c2cbc3a2ba5070d126a410
9564 Author: Martin Pitt <martinpitt@gnome.org>
9565 Date: Fri Jan 11 14:58:44 2013 +0100
9567 Re-enable test_gi.TestPropertiesObject.test_char test
9569 The gobject-introspection bug got fixed:
9570 https://bugzilla.gnome.org/show_bug.cgi?id=691524
9572 tests/test_gi.py | 14 +++-----------
9573 1 file changed, 3 insertions(+), 11 deletions(-)
9575 commit 9a8c49087cf400e01c1f78241fa4d74b4d15f54e
9576 Author: Martin Pitt <martinpitt@gnome.org>
9577 Date: Fri Jan 11 09:46:56 2013 +0100
9579 tests: Re-enable test_callback_scope_call_array() check
9581 Drop the expected failure from test_callback_scope_call_array()
9583 the explicit array length arguments. While it would look cleaner to
9585 them, it is probably not worth breaking the API for this.
9587 tests/test_everything.py | 9 +++------
9588 1 file changed, 3 insertions(+), 6 deletions(-)
9590 commit 609636424b5f9b659e99a4bb53a48c165187c430
9591 Author: Martin Pitt <martinpitt@gnome.org>
9592 Date: Fri Jan 11 09:13:36 2013 +0100
9594 Permit plain integers for "gchar" values
9596 Similar to guchar/guint8, allow plain integers (withing correct
9598 values for gchar/gint8 types.
9600 This is covered by the test_gi.TestPropertiesObject.test_char
9602 removing the "expected failure" flag.
9604 gi/_gobject/pygtype.c | 16 ++++++++++++----
9605 1 file changed, 12 insertions(+), 4 deletions(-)
9607 commit a558d3d3a9274aeccfc54705bf5effdf71dee06b
9608 Author: Martin Pitt <martinpitt@gnome.org>
9609 Date: Fri Jan 11 09:09:41 2013 +0100
9611 Allow single byte values for int8 types
9613 When fixing gobject-introspection to consider "gchar" as signed (see
9614 https://bugzilla.gnome.org/show_bug.cgi?id=691524), we must also
9616 single-element "bytes" array as a valid value for int8, not just
9619 This is caught by the test_overrides_gtk.TestTreeModel.test_tree_store
9622 gi/pygi-argument.c | 4 ++--
9623 gi/pygi-marshal-from-py.c | 34 +++++++++++++++++++++-------------
9624 2 files changed, 23 insertions(+), 15 deletions(-)
9626 commit aa7f6cd12fe403acb2cffc7890724af7abb9b990
9627 Author: Mike Gorse <mgorse@suse.com>
9628 Date: Thu Jan 10 14:11:56 2013 -0600
9630 Fix invalid memory access handling errors when registering an
9633 Don't free the name until we are done with it.
9635 gi/gimodule.c | 8 ++++----
9636 1 file changed, 4 insertions(+), 4 deletions(-)
9638 commit ecd235959317d39b6d598662c00829e0ec717b17
9639 Author: Martin Pitt <martinpitt@gnome.org>
9640 Date: Thu Jan 10 16:42:46 2013 +0100
9642 Fix (out) arguments in callbacks
9644 Do not ignore the first argument in _pygi_closure_set_out_arguments().
9645 Presumably that has been done to skip over "self", but callbacks
9647 required to have a self argument. As self is never (out), we can
9651 gi/pygi-closure.c | 2 +-
9652 tests/test_gi.py | 4 ----
9653 2 files changed, 1 insertion(+), 5 deletions(-)
9655 commit d8e241e24a816691acbd592775b73defd9aa4f44
9656 Author: Martin Pitt <martinpitt@gnome.org>
9657 Date: Thu Jan 10 15:14:05 2013 +0100
9659 Fix C to Python marshalling of struct pointer arrays
9661 Do not treat an array of pointers to values like an array of values on
9662 marshalling from C. This makes the test_array_boxed_struct_return()
9666 gi/pygi-marshal-to-py.c | 5 +++--
9667 tests/test_gi.py | 2 --
9668 2 files changed, 3 insertions(+), 4 deletions(-)
9670 commit 60544b02f6f98c0b212625ae83b94a4c6debddeb
9671 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
9672 Date: Tue Jan 8 23:22:54 2013 +0200
9676 Most notably this commit contains a test for
9677 Gio.File.replace_contents_async(),
9678 which currently fails. Disable the tests for now as it breaks the
9681 https://bugzilla.gnome.org/show_bug.cgi?id=690525
9683 tests/test_gio.py | 64
9684 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
9685 1 file changed, 64 insertions(+)
9687 commit 118c5eaad045580455515876ba73b9537a8468b4
9688 Author: Martin Pitt <martinpitt@gnome.org>
9689 Date: Thu Jan 10 13:56:11 2013 +0100
9691 Rename test_overrides_gio.py to test_gio.py
9693 As we want to add more tests for non-overridden API.
9695 tests/Makefile.am | 2 +-
9696 tests/test_gio.py | 121
9697 ++++++++++++++++++++++++++++++++++++++++++++
9698 tests/test_overrides_gio.py | 121
9699 --------------------------------------------
9700 3 files changed, 122 insertions(+), 122 deletions(-)
9702 commit 8117e6bce73581e89211371708ff7d5de7d870d4
9703 Author: Martin Pitt <martinpitt@gnome.org>
9704 Date: Thu Jan 10 12:13:16 2013 +0100
9706 Don't let Property.setter() method names define property names
9708 Defining property names in install_properties() is too late when using
9709 @propname.setter decorators; their method names don't define a
9711 nor are they even required to be a valid property identifier.
9713 So change the logic to already fix the property name when using
9715 decorator and use that instead of the member name in
9716 install_properties().
9718 https://bugzilla.gnome.org/show_bug.cgi?id=688971
9720 gi/_gobject/propertyhelper.py | 29 ++++++++++++++++++++++-------
9721 tests/test_properties.py | 18 ++++++++++++++++++
9722 2 files changed, 40 insertions(+), 7 deletions(-)
9724 commit c0bd060521cc1b481995648dbe286b7e2f9ecd80
9725 Author: Martin Pitt <martinpitt@gnome.org>
9726 Date: Wed Jan 9 10:39:36 2013 +0100
9728 tests: Force UTF-8 file name encoding
9730 The test_gi.TestFilename tests fail if the environment specifies
9732 file name encoding. Force it to "UTF-8" for the tests.
9734 https://bugzilla.gnome.org/show_bug.cgi?id=691355
9736 tests/runtests.py | 1 +
9737 1 file changed, 1 insertion(+)
9739 commit c02a00ae9599a661076630b21b7e24e78fb88c29
9740 Author: Martin Pitt <martinpitt@gnome.org>
9741 Date: Tue Jan 8 16:56:40 2013 +0100
9743 Use g-i stack allocation API
9745 Where possible, i. e. when not keeping references across functions,
9747 _load_() methods instead of the _get_() ones from
9748 gobject-introspection, which
9749 is faster and less prone to memory leaks:
9751 g_callable_info_get_arg () → g_callable_info_load_arg ()
9752 g_callable_info_get_return_type() →
9753 g_callable_info_load_return_type ()
9754 g_arg_info_get_type() → g_arg_info_load_type ()
9756 https://bugzilla.gnome.org/show_bug.cgi?id=615982
9758 gi/pygi-argument.c | 16 ++++------
9759 gi/pygi-closure.c | 88
9760 ++++++++++++++++++++++++------------------------------
9761 2 files changed, 45 insertions(+), 59 deletions(-)
9763 commit 23d1f14f553069740465c82eaa937b877c41e0cb
9764 Author: Ray Strode <rstrode@redhat.com>
9765 Date: Wed Dec 19 13:04:32 2012 -0500
9767 pyg_value_from_pyobject: support GArray
9769 This commit adds support for marshalling a python list (or other
9771 returned from signal handlers to GArray, if necessary.
9773 This parallels the implementation written to marshal to (the now
9777 This fixes a crash in rhythmbox as seen downstream here:
9778 https://bugzilla.redhat.com/show_bug.cgi?id=872851
9780 https://bugzilla.gnome.org/show_bug.cgi?id=690514
9782 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
9784 gi/_gobject/pygtype.c | 60
9785 ++++++++++++++++++++++++++++++++++++++++++++++++
9786 tests/test_everything.py | 22 ++++++++++++++++++
9787 2 files changed, 82 insertions(+)
9789 commit 2089dbb117bae769b0303411c2630b6f86dc7d2d
9790 Author: Marko Lindqvist <cazfi74@gmail.com>
9791 Date: Fri Jan 4 07:01:29 2013 +0100
9793 Fix obsolete automake macros
9795 https://bugzilla.gnome.org/show_bug.cgi?id=691101
9797 configure.ac | 3 +--
9798 1 file changed, 1 insertion(+), 2 deletions(-)
9800 commit 6c02ab0ad720780f176192fdc6372aaa178812fd
9801 Author: Simon Feltman <sfeltman@src.gnome.org>
9802 Date: Mon Dec 31 02:53:07 2012 -0800
9804 Change dynamic enum and flag gtype creation to use namespaced naming
9806 Use the combination of g_base_info_get_namespace and
9807 g_base_info_get_name
9808 as the name for registering enum and flag types with glib through
9809 g_enum_register_static and g_flags_register_static. This avoids
9811 with types like GLib.SeekType and Gst.SeekType. Add better exceptions
9812 and memory cleanup for invalid registration problems.
9814 https://bugzilla.gnome.org/show_bug.cgi?id=690455
9816 gi/_gobject/pygenum.c | 6 ++--
9818 ++++++++++++++++++++++++++++++++++++++++++++-------
9819 tests/test_gi.py | 35 +++++++++++++++++++++++
9820 3 files changed, 106 insertions(+), 13 deletions(-)
9822 commit 692c80e11a05e2fb0515580acb22fd6fe65cede1
9823 Author: Dan Horák <dan@danny.cz>
9824 Date: Fri Dec 28 22:12:32 2012 +0100
9826 Fix test for GBytes.compare()
9828 The result of the compare method is defined as equal, less than or
9830 and the test must match to that. The underlaying memcmp() function
9832 values than -1, 0 and 1. For example on architectures where it is
9833 implemented directly
9834 via a CPU instruction like on s390(x) where I can see -2 as a result
9838 https://bugzilla.gnome.org/show_bug.cgi?id=690837
9840 tests/test_gi.py | 4 ++--
9841 1 file changed, 2 insertions(+), 2 deletions(-)
9843 commit 948dbcb223249a08f4398d4ad8861e92e3de0dfa
9844 Author: Jonathan Ballet <jon@multani.info>
9845 Date: Thu Dec 27 16:04:51 2012 +0100
9847 Fix Gtk.UIManager.add_ui_from_string() override for non-ASCII chars
9849 The length argument is the size of the buffer in bytes, not in
9852 https://bugzilla.gnome.org/show_bug.cgi?id=690329
9854 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
9856 gi/overrides/Gtk.py | 2 +-
9857 tests/test_overrides_gtk.py | 7 +++++++
9858 2 files changed, 8 insertions(+), 1 deletion(-)
9860 commit 53bc12a87da824cbfb006a4fd65731edec12ecc7
9861 Author: Mike Gorse <mgorse@suse.com>
9862 Date: Wed Dec 19 20:51:03 2012 -0500
9864 Don't dup strings before passing them to type registration functions
9866 Strings passed to g_enum_register_static and g_flags_register_static
9868 eventually passed to g_quark_from_string, which dups the string
9870 needed and does not take ownership of it, so passing in a
9871 dynamically-allocated
9872 string without freeing it results in a small leak.
9874 https://bugzilla.gnome.org/show_bug.cgi?id=690532
9876 gi/gimodule.c | 2 --
9877 1 file changed, 2 deletions(-)
9879 commit 9454c01f2b1b82d43eea0f72fe9a28ef50065fc9
9880 Author: Carlos Garnacho <carlos@lanedo.com>
9881 Date: Tue Dec 18 22:47:09 2012 +0100
9883 Fix marshalling of arrays of boxed struct values
9885 This fixes methods like gtk_selection_set_with_data(). In such cases
9886 data is passed as an array of struct pointers, so it must be converted
9887 to an array of structs.
9889 https://bugzilla.gnome.org/show_bug.cgi?id=656312
9891 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
9893 gi/pygi-marshal-from-py.c | 6 ++++++
9894 tests/test_gi.py | 12 ++++++++++++
9895 2 files changed, 18 insertions(+)
9897 commit 231d5a7cfc73518b4e2b0c926d4c1ce9a804797e
9898 Author: Simon Feltman <sfeltman@src.gnome.org>
9899 Date: Tue Dec 18 02:03:41 2012 -0800
9901 Add reference counting tests for Object.bind_property
9903 Add tests which ensure transform callbacks and user_data
9904 are propertly ref-counted.
9906 https://bugzilla.gnome.org/show_bug.cgi?id=690397
9908 tests/test_gobject.py | 40 ++++++++++++++++++++++++++++++++++++----
9909 1 file changed, 36 insertions(+), 4 deletions(-)
9911 commit c29e11812d176b1f057074c9bab22c9614ae4f8c
9912 Author: Martin Pitt <martinpitt@gnome.org>
9913 Date: Tue Dec 18 11:43:04 2012 +0100
9915 testhelpermodule.c: Do not unref called method
9917 In _wrap_test_gerror_exception(), do not unref the method
9919 causes a crash when being run with the stricter refcounting/memory
9921 debug-enabled Python builds.
9923 tests/testhelpermodule.c | 1 -
9924 1 file changed, 1 deletion(-)
9926 commit ff0d9106bcd02a6b2c67cc3722481218c599a9f4
9927 Author: Martin Pitt <martinpitt@gnome.org>
9928 Date: Mon Dec 17 23:20:50 2012 +0100
9930 configure.ac: post-release bump to 3.7.4
9933 1 file changed, 1 insertion(+), 1 deletion(-)
9935 commit 061b23d14386c0e54d2c3af113554231bbe85f16
9936 Author: Martin Pitt <martinpitt@gnome.org>
9937 Date: Mon Dec 17 23:18:31 2012 +0100
9941 NEWS | 19 +++++++++++++++++++
9942 1 file changed, 19 insertions(+)
9944 commit a242f02823a63c9dca5d0b1ce84b031221053690
9945 Author: Martin Pitt <martinpitt@gnome.org>
9946 Date: Mon Dec 17 23:11:29 2012 +0100
9948 Add (failing) tests for callbacks with out arguments
9950 Most of these fail and need marshalling fixes.
9952 tests/test_gi.py | 36 ++++++++++++++++++++++++++++++++++++
9953 1 file changed, 36 insertions(+)
9955 commit 449b1ef0d94450c1e457770a093abd6d6c9e6291
9956 Author: Martin Pitt <martinpitt@gnome.org>
9957 Date: Mon Dec 17 22:50:59 2012 +0100
9959 Add tests for internal API
9961 These cover functions like pygobject_new(), pyg_value_from_pyobject()
9963 pyg_value_as_pyobject() that are wrapped by testhelpermodule.c. With
9965 functions can be tested in isolation without the whole GI stack
9968 tests/Makefile.am | 1 +
9969 tests/test_internal_api.py | 73
9970 ++++++++++++++++++++++++++++++++++++++++++++++
9971 2 files changed, 74 insertions(+)
9973 commit e44312139426f51e576ef9e880819542cc224383
9974 Author: Martin Pitt <martinpitt@gnome.org>
9975 Date: Mon Dec 17 18:02:15 2012 +0100
9977 Add support for caller-allocated GArray out arguments
9979 https://bugzilla.gnome.org/show_bug.cgi?id=690041
9981 gi/pygi-cache.c | 2 +-
9982 gi/pygi-invoke.c | 57
9983 ++++++++++++++++++++++++++++++--------------------------
9984 tests/test_gi.py | 5 +++--
9985 3 files changed, 35 insertions(+), 29 deletions(-)
9987 commit f262320ac22b48a9d007c425633f3ca426b7fb4a
9988 Author: Martin Pitt <martinpitt@gnome.org>
9989 Date: Mon Dec 17 16:18:24 2012 +0100
9991 Add (failing) test for caller-allocated GArray return value
9993 Call new GIMarshallingTests.garray_utf8_full_out_caller_allocated()
9995 which reproduces https://bugzilla.gnome.org/show_bug.cgi?id=690041.
9997 The test is failing and causing a segfault right now, so disable it
10001 tests/test_gi.py | 4 ++++
10002 1 file changed, 4 insertions(+)
10004 commit 1cb4c30c3cf19690210010d39b6272965f489c58
10005 Author: Martin Pitt <martinpitt@gnome.org>
10006 Date: Mon Dec 17 15:56:44 2012 +0100
10008 GLib overrides: Avoid calling deprecated GLib.unix_signal_add_full()
10010 glib 2.35.x fixed the API to be GLib.unix_signal_add(). Call the
10012 available, but fall back to GLib.unix_signal_add_full() until we
10016 gi/overrides/GLib.py | 8 ++++++--
10017 1 file changed, 6 insertions(+), 2 deletions(-)
10019 commit 945263a89c3adee61f95d4211cf13b254ad6d51f
10020 Author: Martin Pitt <martinpitt@gnome.org>
10021 Date: Fri Nov 30 14:17:18 2012 +0100
10023 Re-support calling GLib.io_add_watch with an fd or Python file
10025 This does not strictly adhere to the GLib API, but it's very
10027 unlike the other modes, does not change the number or order of
10029 let's keep support for this and drop the deprecation warning.
10031 gi/overrides/GLib.py | 9 +++------
10032 1 file changed, 3 insertions(+), 6 deletions(-)
10034 commit 263b9f97e748746e1d26847a82a4d6e53a42798a
10035 Author: Martin Pitt <martinpitt@gnome.org>
10036 Date: Fri Nov 30 09:04:20 2012 +0100
10038 Robustify test_glib.TestGLib.test_io_add_watch_pyfile
10040 Use a longer timeout to avoid races on slow architectures, and cut
10042 loop as soon as we received all expected events.
10044 tests/test_glib.py | 5 ++++-
10045 1 file changed, 4 insertions(+), 1 deletion(-)
10047 commit 8e4e822cb273db4eb7e6e40f4739eeebee00798a
10048 Author: Martin Pitt <martinpitt@gnome.org>
10049 Date: Fri Nov 30 08:44:56 2012 +0100
10051 test_overrides_gtk: Ignore GVFS warnings from FileChooserDialog
10053 Do not cause GVFS warnings from Gtk.FileChooserDialog (which may
10055 unavailable monitor backends in the test environment) to fail
10058 tests/test_overrides_gtk.py | 12 +++++++++---
10059 1 file changed, 9 insertions(+), 3 deletions(-)
10061 commit d47283936b4c0b5e8b6ede8886c4badbf6d6e694
10062 Author: Martin Pitt <martinpitt@gnome.org>
10063 Date: Thu Nov 29 16:45:49 2012 +0100
10065 pygtkcompat: Work around IndexError on large flags
10067 On 32 bit systems pygtkcompat currently fails with
10069 File "pygtkcompat/pygtkcompat.py", line 74, in _install_enums
10070 name = flag.value_names[-1].replace(modname + '_', '')
10071 IndexError: cannot fit 'int' into an index-sized integer
10073 on 32 bit systems as some flags in Gdk are too large to fit into a
10075 "long". Work around this crash until this gets fixed properly
10079 pygtkcompat/pygtkcompat.py | 7 ++++++-
10080 1 file changed, 6 insertions(+), 1 deletion(-)
10082 commit 3fa31b1a7936c556e76bd8a42030567c6a867e0d
10083 Author: Martin Pitt <martinpitt@gnome.org>
10084 Date: Thu Nov 29 14:11:29 2012 +0100
10086 Fix pyg_value_from_pyobject() range check for uint
10088 We cannot use PYGLIB_PyLong_AsLong() for the range check, as on 32
10090 this overflows large uints. Use PyLong_AsLongLong() separately to
10092 negative values, and PyLong_AsUnsignedLong() for the actual
10095 gi/_gobject/pygtype.c | 12 ++++++++----
10096 1 file changed, 8 insertions(+), 4 deletions(-)
10098 commit 05d767a602571805e80099f1db47ad4164575c53
10099 Author: Martin Pitt <martinpitt@gnome.org>
10100 Date: Thu Nov 29 13:30:56 2012 +0100
10102 Fix tests to work with g-i 1.34.2
10104 Do not try to call GIMarshallingTests API which isn't present
10106 against g-i 1.34.2. This can be dropped when the g-i dependency gets
10110 tests/test_gi.py | 8 +++++---
10111 1 file changed, 5 insertions(+), 3 deletions(-)
10113 commit a107c928ef85b4e3b9075a408774b74879586029
10114 Author: Martin Pitt <martinpitt@gnome.org>
10115 Date: Thu Nov 29 13:13:14 2012 +0100
10117 Fix wrong refcount for GVariant property defaults
10119 Drop the bogus DECREF for the GVariant default argument, as we need
10121 around in the class. Otherwise the refcount drops to zero, and
10123 garbage collection run causes segfaults.
10125 https://bugzilla.gnome.org/show_bug.cgi?id=689267
10127 gi/_gobject/gobjectmodule.c | 1 -
10128 1 file changed, 1 deletion(-)
10130 commit 9b7dd1318cf540d5f8d03655da03534ed72707ec
10131 Author: Martin Pitt <martinpitt@gnome.org>
10132 Date: Thu Nov 29 11:44:22 2012 +0100
10134 test_gi: Fix TestFilename failure under C locale
10136 tests/test_gi.py | 1 +
10137 1 file changed, 1 insertion(+)
10139 commit 37ab227555ba8628b4fa99aa286bd046208745ed
10140 Author: Martin Pitt <martinpitt@gnome.org>
10141 Date: Thu Nov 29 11:16:26 2012 +0100
10143 Fix array arguments on 32 bit
10145 In _pygi_argument_from_object() we never put the actual element
10147 constructed array. The array contains GIArguments, or bytes in the
10149 passing a string as an array.
10151 This happened to work on 64 bit machines where GIArgument and char*
10153 same size, but not on 32 bit machines
10154 (test_gi.TestPropertiesObject.test_strv
10157 gi/pygi-argument.c | 6 +++++-
10158 1 file changed, 5 insertions(+), 1 deletion(-)
10160 commit 7bd852fc82f92dac8723e18b61a56ed1b1a1b81c
10161 Author: Martin Pitt <martinpitt@gnome.org>
10162 Date: Thu Nov 29 10:20:27 2012 +0100
10164 test_gi: Disable failing check in test_module_name()
10166 When calling this under some conditions, such as
10168 TEST_NAMES='test_thread test_gi.TestOverrides'
10170 then the module name of GObject.InitiallyUnowned comes out as
10171 "importlib._bootstrap" instead of "gi.repository.GObject". To be
10173 Add a couple of other tests to ensure that it is not broken in
10176 tests/test_gi.py | 10 +++++++++-
10177 1 file changed, 9 insertions(+), 1 deletion(-)
10179 commit 94a6cc93a104b22dcee2ac73cae36b83a4b5d9c1
10180 Author: Martin Pitt <martinpitt@gnome.org>
10181 Date: Thu Nov 29 09:40:32 2012 +0100
10183 test_gdbus: Drop failure if timeout=0 works differently
10185 In some test environments we do not actually get a timeout exceptions
10187 timeout=0, but a different error message. So only ensure that we
10191 tests/test_gdbus.py | 4 +++-
10192 1 file changed, 3 insertions(+), 1 deletion(-)
10194 commit c3b2f5fee573aa03a8a9563efbbbc1bc4fa25da7
10195 Author: Martin Pitt <martinpitt@gnome.org>
10196 Date: Thu Nov 29 09:29:05 2012 +0100
10198 test_glib: Drop some assumptions about XDG dirs
10200 Some directories do not exist in minimal test environments, and this
10202 important for testing that calling these GLib functions works.
10204 tests/test_glib.py | 8 +++++---
10205 1 file changed, 5 insertions(+), 3 deletions(-)
10207 commit e45c690bc83b6d513887649de88965a9752e316d
10208 Author: Martin Pitt <martinpitt@gnome.org>
10209 Date: Wed Nov 28 12:20:31 2012 +0100
10211 Add backwards compatible API for GLib.unix_signal_add_full()
10213 This was renamed to GLib.unix_signal_add() in
10214 http://git.gnome.org/browse/glib/commit/?id=fca30c3e165
10216 Provide a backwards compatible shim with a deprecation message.
10218 gi/overrides/GLib.py | 10 ++++++++++
10219 1 file changed, 10 insertions(+)
10221 commit 00b9ea32d766ae486249f402d9dee511fd9f53a9
10222 Author: Martin Pitt <martinpitt@gnome.org>
10223 Date: Mon Nov 26 08:11:36 2012 +0100
10225 Drop MININT64/MAXUINT64 workaround
10227 g-i 1.34.2 properly handles 64 bit constants now, so bug 685022 has
10229 properly now. Drop the workaround in the overrides to manually
10233 gi/overrides/GLib.py | 7 -------
10234 1 file changed, 7 deletions(-)
10236 commit d16604f64d25d18409270d7537fc993113b65c19
10237 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
10238 Date: Fri Nov 23 19:57:56 2012 +0200
10240 Fix maximum and minimum ranges of TYPE_(U)INT64 properties
10242 In corner case where properties use values 2 ** 62 < ±x < 2 ** 63 for
10243 TYPE_INT64 and 2 ** 63 < x < 2 ** 64 for TYPE_UINT64 they will raise
10244 warnings even tough values are valid.
10246 https://bugzilla.gnome.org/show_bug.cgi?id=688949
10248 gi/_gobject/propertyhelper.py | 6 +++---
10249 tests/test_properties.py | 11 ++++-------
10250 2 files changed, 7 insertions(+), 10 deletions(-)
10252 commit 93e9e309d8ba54884881cfca203e8bc355c2727e
10253 Author: Martin Pitt <martinpitt@gnome.org>
10254 Date: Wed Nov 21 12:58:07 2012 +0100
10256 Test virtual methods with in and out arguments
10258 ... and both caller and callee out argument allocation.
10260 This came up in https://bugzilla.gnome.org/show_bug.cgi?id=688783
10262 tests/test_gi.py | 13 +++++++++++++
10263 1 file changed, 13 insertions(+)
10265 commit 25a9cfb043448efbab9168ef66f852cc34b9909b
10266 Author: Martin Pitt <martinpitt@gnome.org>
10267 Date: Tue Nov 20 07:00:44 2012 +0100
10269 Ship pygi-convert.sh in tarballs
10271 https://bugzilla.gnome.org/show_bug.cgi?id=688697
10274 1 file changed, 1 insertion(+)
10276 commit 4a8d31e6f56a3f1360bdb880ffd9a6eb139c02d8
10277 Author: Martin Pitt <martinpitt@gnome.org>
10278 Date: Mon Nov 19 15:25:38 2012 +0100
10280 Post-release version bump to 3.7.3
10282 configure.ac | 2 +-
10283 1 file changed, 1 insertion(+), 1 deletion(-)
10285 commit d0ed62afbc4cada0bf6abc4f8754e5a8d73036e4
10286 Author: Martin Pitt <martinpitt@gnome.org>
10287 Date: Mon Nov 19 15:13:28 2012 +0100
10291 NEWS | 47 +++++++++++++++++++++++++++++++++++++++++++++++
10292 1 file changed, 47 insertions(+)
10294 commit 29dc7425dd7584411b52ef07b50f929ed119a000
10295 Author: Martin Pitt <martinpitt@gnome.org>
10296 Date: Mon Nov 19 14:37:02 2012 +0100
10300 Commit e617f76e forgot to rename the file in EXTRA_DIST
10302 tests/Makefile.am | 2 +-
10303 1 file changed, 1 insertion(+), 1 deletion(-)
10305 commit 567aae6e7c56bb89f53fcfccb1b0bc732f85b847
10306 Author: Martin Pitt <martinpitt@gnome.org>
10307 Date: Mon Nov 19 14:34:13 2012 +0100
10309 tests: Fix unicode vs. str issues in Python 2
10311 Some of the tests assumed a system default encoding of UTF-8, which
10313 in Python 2 unless pygtkcompat is imported. Commit e617f76 uncovered
10316 tests/test_gi.py | 8 ++++----
10317 tests/test_iochannel.py | 16 +++++++++-------
10318 2 files changed, 13 insertions(+), 11 deletions(-)
10320 commit 509e5ac1a6dd8504e89c33c559fe4f72156a1ddf
10321 Author: Martin Pitt <martinpitt@gnome.org>
10322 Date: Mon Nov 19 14:20:56 2012 +0100
10324 tests: Fix previous commit to fail properly on test failures
10326 tests/Makefile.am | 2 +-
10327 1 file changed, 1 insertion(+), 1 deletion(-)
10329 commit e617f76e5b0c301c3ae92e1091aa86792de4d8e8
10330 Author: Martin Pitt <martinpitt@gnome.org>
10331 Date: Mon Nov 19 14:09:14 2012 +0100
10333 tests: Run pygtkcompat tests separately
10335 pygtkcompat changes the global namespace, in particular patching
10337 overrides. Run the tests in a separate process so that the main
10339 potentially affected by the pygtkcompat test.
10341 runtests.py runs all tests/test_*.py by default, so rename to
10342 compat_test_pygtk.py and run that explicitly after successfully
10346 See https://bugzilla.gnome.org/show_bug.cgi?id=688219
10348 tests/Makefile.am | 3 +
10349 tests/compat_test_pygtk.py | 147
10350 +++++++++++++++++++++++++++++++++++++++++++++
10351 tests/test_pygtkcompat.py | 147
10352 ---------------------------------------------
10353 3 files changed, 150 insertions(+), 147 deletions(-)
10355 commit 8180b8092f99b7c9f0dee1742418efdbd23ab330
10356 Author: Simon Feltman <sfeltman@src.gnome.org>
10357 Date: Thu Nov 15 02:51:52 2012 -0800
10359 Move pygtkcompat into sibling package of gi
10361 Move the pygtkcompat module out of the gi package and into
10362 a sibling package as follows:
10368 This allows for pygtkcompat to grow without affecting the gi package.
10369 Add deprecation message to gi/pygtkcompat.py
10371 https://bugzilla.gnome.org/show_bug.cgi?id=688219
10375 gi/pygtkcompat.py | 524
10376 +++------------------------------------------
10377 pygtkcompat/Makefile.am | 15 ++
10378 pygtkcompat/__init__.py | 20 ++
10379 pygtkcompat/pygtkcompat.py | 501
10380 +++++++++++++++++++++++++++++++++++++++++++
10381 tests/test_pygtkcompat.py | 6 +-
10382 7 files changed, 565 insertions(+), 504 deletions(-)
10384 commit f736694d09e9d0fca4769d9f1f34ec34e6354d87
10385 Author: Martin Pitt <martinpitt@gnome.org>
10386 Date: Mon Nov 19 13:59:20 2012 +0100
10388 Bump g-i dependency to >= 1.34.2
10390 We need this for updated GLib annotations and new test API.
10392 configure.ac | 2 +-
10393 1 file changed, 1 insertion(+), 1 deletion(-)
10395 commit f6c994c76cd8010460b76bf455e1a341348d735b
10396 Author: Martin Pitt <martinpitt@gnome.org>
10397 Date: Mon Nov 19 10:39:26 2012 +0100
10399 test_gi: Fix failing tests with g-i 1.34.x
10401 Skip tests which require g-i test API from 1.35.x when building
10405 tests/test_gi.py | 6 ++++++
10406 1 file changed, 6 insertions(+)
10408 commit 8ce0d028fe79e2ce52cfecbb682afba6651a7a70
10409 Author: Martin Pitt <martinpitt@gnome.org>
10410 Date: Wed Nov 14 11:57:21 2012 +0100
10412 test_gi: Add tests for type "filename"
10414 tests/test_gi.py | 30 ++++++++++++++++++++++++++++++
10415 1 file changed, 30 insertions(+)
10417 commit 3408a151e49d9520f54ad9bc04f620c7777125ec
10418 Author: Martin Pitt <martinpitt@gnome.org>
10419 Date: Wed Nov 14 11:09:33 2012 +0100
10421 Drop foreign GVariant registration/support
10423 This is dead code. We have tests for GVariant in and out method
10425 callback arguments and return values, properties, etc to ensure that
10429 gi/Makefile.am | 2 --
10430 gi/pygi-foreign-gvariant.c | 63
10431 ----------------------------------------------
10432 gi/pygi-foreign-gvariant.h | 41 ------------------------------
10433 gi/pygi-foreign.c | 8 +-----
10434 4 files changed, 1 insertion(+), 113 deletions(-)
10436 commit 47c46d847bb69ebc139d5e0b6c609da6f27201f2
10437 Author: Martin Pitt <martinpitt@gnome.org>
10438 Date: Wed Nov 14 10:33:24 2012 +0100
10440 test_properties.py: Fix PEP-8 errors
10442 tests/test_properties.py | 3 +--
10443 1 file changed, 1 insertion(+), 2 deletions(-)
10445 commit 78f49e6253500bfa382ce6c07412613d8f7f9d7f
10446 Author: Martin Pitt <martinpitt@gnome.org>
10447 Date: Wed Nov 14 10:14:36 2012 +0100
10449 Add support for GVariant properties defined in Python
10451 gi/_gobject/gobjectmodule.c | 13 +++++++
10452 gi/_gobject/propertyhelper.py | 11 ++++--
10453 tests/test_properties.py | 81
10454 +++++++++++++++++++++++++++++++++++++------
10455 3 files changed, 91 insertions(+), 14 deletions(-)
10457 commit f3b77f4304be20b7422c262b973f3eeb540c4bf6
10458 Author: Martin Pitt <martinpitt@gnome.org>
10459 Date: Wed Nov 14 09:33:43 2012 +0100
10461 pyg_value_from_pyobject(): Simplify GVariant type check
10463 Use pyg_type_from_object_strict() instead of the much more expensive
10465 pyg_get_gvariant_type().
10467 gi/_gobject/pygtype.c | 23 +----------------------
10468 1 file changed, 1 insertion(+), 22 deletions(-)
10470 commit 0c0fb8ef88a2c61cf95cd1cb96f6d5f296cad5fc
10471 Author: Martin Pitt <martinpitt@gnome.org>
10472 Date: Wed Nov 14 09:27:42 2012 +0100
10474 test_everything: Add test for callback returning wrong type
10476 This covers the "expected a GVariant, got something else" check in
10477 pyg_value_from_pyobject().
10479 tests/test_everything.py | 16 ++++++++++++++++
10480 1 file changed, 16 insertions(+)
10482 commit 84db7109dfbaf443758a5a4871ee385686d2703d
10483 Author: Martin Pitt <martinpitt@gnome.org>
10484 Date: Wed Nov 14 08:42:53 2012 +0100
10486 Add type checking to GVariant argument assignment
10488 gi/pygi-argument.c | 7 ++++++-
10489 tests/test_gi.py | 5 ++---
10490 2 files changed, 8 insertions(+), 4 deletions(-)
10492 commit e944caf5ff53143a98dd4a5578530996358013ec
10493 Author: Martin Pitt <martinpitt@gnome.org>
10494 Date: Wed Nov 14 08:22:35 2012 +0100
10496 Add support for GVariant properties defined in C
10498 Note that trying to assign a non-GVariant value to a GVariant property
10501 gi/pygi-property.c | 6 +++++-
10502 tests/test_gi.py | 21 +++++++++++++++++++++
10503 2 files changed, 26 insertions(+), 1 deletion(-)
10505 commit 614cc9594cb34d92a6d4b00773427d4fb023c65e
10506 Author: Martin Pitt <martinpitt@gnome.org>
10507 Date: Wed Nov 14 07:09:58 2012 +0100
10509 test_unknown.py: Check property interface
10511 NB that the property implementation in test-unknown.c does not
10513 anything, we just want to assert that the properties are properly
10516 tests/test_unknown.py | 10 ++++++++++
10517 1 file changed, 10 insertions(+)
10519 commit 9d7771affcf788d251cced65da56fc2773a278b3
10520 Author: Martin Pitt <martinpitt@gnome.org>
10521 Date: Wed Nov 14 07:01:24 2012 +0100
10523 Fix previous commit for Python 2
10525 gi/pygi-foreign-cairo.c | 2 +-
10526 1 file changed, 1 insertion(+), 1 deletion(-)
10528 commit 997d4e70b2793039d916acf8921087576622152e
10529 Author: Martin Pitt <martinpitt@gnome.org>
10530 Date: Wed Nov 14 06:57:04 2012 +0100
10532 pygi-foreign-cairo.c: Use official py3cairo API
10534 Do not clobber py3cairo's Pycairo_CAPI global variable, and use
10536 instead of our own code.
10538 gi/pygi-foreign-cairo.c | 4 ++--
10539 1 file changed, 2 insertions(+), 2 deletions(-)
10541 commit cec5d1a55347b81c1ae4ddc47ea2b4fbf964d239
10542 Author: Martin Pitt <martinpitt@gnome.org>
10543 Date: Wed Nov 14 06:47:23 2012 +0100
10545 Drop dead code from pygi-callbacks.[hc]
10547 _pygi_create_callback() and _pygi_scan_for_callbacks() are not
10549 _pygi_destroy_notify_create() fits better in pygi-marshal-from-py.c,
10551 there, and drop pygi-callbacks.[hc] completely.
10553 gi/Makefile.am | 2 -
10554 gi/pygi-callbacks.c | 217
10555 ----------------------------------------------
10556 gi/pygi-callbacks.h | 48 ----------
10557 gi/pygi-marshal-from-py.c | 44 ++++++++++
10558 gi/pygi-private.h | 1 -
10559 5 files changed, 44 insertions(+), 268 deletions(-)
10561 commit 55070cc9c98993ccda7ebcb05783fad182b2eb11
10562 Author: Carlos Garnacho <carlos@lanedo.com>
10563 Date: Tue Nov 13 18:24:28 2012 +0100
10565 Fix marshalling of arrays of struct pointers to Python
10567 Fill in the pointer to the struct, not the pointer to the
10568 array position. This makes the GdkAtom** argument in
10569 gtk_clipboard_wait_for_targets() work.
10571 https://bugzilla.gnome.org/show_bug.cgi?id=678620
10573 gi/pygi-marshal-to-py.c | 5 ++++-
10574 1 file changed, 4 insertions(+), 1 deletion(-)
10576 commit fc021516552b1720bacc4afe6b7a610c413194c4
10577 Author: Martin Pitt <martinpitt@gnome.org>
10578 Date: Wed Nov 14 06:27:17 2012 +0100
10580 test_atoms.py: Add test for out array
10582 This reproduces https://bugzilla.gnome.org/show_bug.cgi?id=678620
10584 tests/test_atoms.py | 19 +++++++++++++++++++
10585 1 file changed, 19 insertions(+)
10587 commit e2790d22610aae773635d4caef2458082a307283
10588 Author: Martin Pitt <martinpitt@gnome.org>
10589 Date: Tue Nov 13 16:38:36 2012 +0100
10591 Fix Gdk.Atom str()/repr() fallback
10593 Fix regression in commit 6713618: If an atom does not have a name,
10595 recursively call our own str()/repr() methods, but just print
10596 "Gdk.Atom<atom_id>".
10598 gi/overrides/Gdk.py | 6 ++++--
10599 1 file changed, 4 insertions(+), 2 deletions(-)
10601 commit 9879fd41a7d8d72f8db9cadf5b1ee29fc4d5d6bf
10602 Author: Martin Pitt <martinpitt@gnome.org>
10603 Date: Tue Nov 13 13:16:14 2012 +0100
10605 test_gi: Stop using GLib.bytes.unref_to_array()
10607 This method isn't safe for GI, and should be (skip)ed. Use get_data()
10609 which is safe and works fine.
10611 See https://bugzilla.gnome.org/show_bug.cgi?id=688242
10613 tests/test_gi.py | 6 ------
10614 1 file changed, 6 deletions(-)
10616 commit 671361841de797ef62b59d1d7568fc3d431898c7
10617 Author: Martin Pitt <martinpitt@gnome.org>
10618 Date: Tue Nov 13 12:56:11 2012 +0100
10620 Fix Gdk.Atom to have a proper str() and repr()
10622 Gdk.Atom is not proper GType'd class, so we cannot override the
10624 Just override its __str__() and __repr__() methods so that printing
10626 something sensible. For nameless/invalid atoms, fall back to the old
10627 <void at 0xdeadbeef> output to help with debugging.
10629 https://bugzilla.gnome.org/show_bug.cgi?id=678620
10631 gi/overrides/Gdk.py | 21 +++++++++++++++++++++
10632 tests/test_atoms.py | 12 ++++++++++++
10633 2 files changed, 33 insertions(+)
10635 commit 56e62858e9c2bdde3186f5cf4e83be94fb4e5306
10636 Author: Simon Feltman <sfeltman@src.gnome.org>
10637 Date: Tue Nov 13 02:53:34 2012 -0800
10639 Make sure g_value_set_boxed does not cause a buffer overrun with
10642 Add NULL terminator to gchar** passed to g_value_set_boxed to
10643 make sure it does not overrun memory in pygi_set_property_value_real.
10644 Add MALLOC_CHECK_=3 to "make check" which prints an error and aborts
10647 https://bugzilla.gnome.org/show_bug.cgi?id=688232
10649 gi/pygi-property.c | 8 ++++++--
10650 tests/Makefile.am | 1 +
10651 2 files changed, 7 insertions(+), 2 deletions(-)
10653 commit ca11ec124fdd3fb2b67efdeb3ac93aaeb8b3fd83
10654 Author: Martin Pitt <martinpitt@gnome.org>
10655 Date: Mon Nov 12 08:35:28 2012 +0100
10657 types.py: Fix PEP-8 violation
10660 1 file changed, 1 insertion(+), 1 deletion(-)
10662 commit df589458358d7e7bf178dff4e6ad937a70f806e3
10663 Author: Simon Feltman <sfeltman@src.gnome.org>
10664 Date: Sun Nov 11 22:26:19 2012 -0800
10666 Fix leaks with GValues holding boxed and object types
10668 Expose read access to PyGIBoxed.free_on_dealloc.
10669 Add GObject.Value.__del__ override and call unset() to
10670 correctly free reference counts.
10672 https://bugzilla.gnome.org/show_bug.cgi?id=688137
10674 gi/overrides/GObject.py | 9 +++++++++
10675 gi/pygi-boxed.c | 12 ++++++++++++
10676 tests/test_gi.py | 2 --
10677 3 files changed, 21 insertions(+), 2 deletions(-)
10679 commit c01c95b9fb3d726385efac945f6d1270ae65d109
10680 Author: Simon Feltman <sfeltman@src.gnome.org>
10681 Date: Sun Nov 11 19:46:15 2012 -0800
10683 Add expectantly failing unittests for GValue boxed/object leaks
10685 https://bugzilla.gnome.org/show_bug.cgi?id=688137
10687 tests/test_gi.py | 80
10688 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
10689 1 file changed, 80 insertions(+)
10691 commit 13629f5a9c9a7022f3521a3616d9ce8fa4a6161b
10692 Author: Simon Feltman <s.feltman@gmail.com>
10693 Date: Thu Aug 16 15:09:08 2012 -0700
10695 Add doc strings showing method signatures for gi methods
10697 Add signature based doc string to all methods pulled in from
10698 introspection. For example: Gtk.SpinButton.get_icon_area.__doc__
10699 get_icon_area(self, icon_pos:Gtk.EntryIconPosition) ->
10700 icon_area:cairo.RectangleInt
10702 https://bugzilla.gnome.org/show_bug.cgi?id=681967
10704 gi/overrides/GIMarshallingTests.py | 1 +
10705 gi/pygi-info.c | 103
10706 +++++++++++++++++++++++++++++++++----
10707 gi/pygi-type.c | 60 +++++++++++++++++++++
10708 gi/pygi-type.h | 1 +
10710 ++++++++++++++++++++++++++-------
10711 tests/test_gi.py | 30 +++++++++++
10712 6 files changed, 259 insertions(+), 28 deletions(-)
10714 commit 7b7277f3cc099280f8e2d6cf6693490290fedc24
10715 Author: Simon Feltman <sfeltman@src.gnome.org>
10716 Date: Fri Nov 9 19:17:03 2012 -0800
10718 Set Property instance doc string and blurb to getter doc string
10720 Assign Property getter __doc__ strings or explicit blurb parameters
10721 to the Property instances __doc__ attribute. This clobbers the
10722 default Property classes lengthy and unhelpful doc string in the case
10725 https://bugzilla.gnome.org/show_bug.cgi?id=688025
10727 gi/_gobject/propertyhelper.py | 10 +++++++---
10728 tests/test_properties.py | 14 ++++++++++----
10729 2 files changed, 17 insertions(+), 7 deletions(-)
10731 commit c5343d329ebb452d97afac30e4120ebab8477556
10732 Author: Martin Pitt <martinpitt@gnome.org>
10733 Date: Mon Nov 12 07:47:02 2012 +0100
10735 tests: Fix for Python 2
10737 Add quirks for Python 2's string handling, and disable the
10738 Everything.test_array_gint8_in() as there seems to be no way of
10742 tests/test_everything.py | 7 +++++--
10743 1 file changed, 5 insertions(+), 2 deletions(-)
10745 commit 964f33ca3a74bfb7d850f136d0844ac1551d36e9
10746 Author: Martin Pitt <martinpitt@gnome.org>
10747 Date: Sat Nov 10 15:52:15 2012 +0100
10749 test_everything: Add tests for more Regress data and container types
10751 Add more tests for Regress' data and container type test API.
10753 This detects a number of bugs, which have been marked as expected
10755 disabled completely for the cases where they cause crashes:
10757 * unsigned enums with values >= 0x80000000 do not work
10758 * nested ghashes in return values do not work
10759 * array length arguments in callbacks are passed instead of
10762 tests/test_everything.py | 156
10763 ++++++++++++++++++++++++++++++++++++++++++++++-
10764 1 file changed, 154 insertions(+), 2 deletions(-)
10766 commit 476e29d1ba3eda92cc021710017bce4ec252e5b5
10767 Author: Martin Pitt <martinpitt@gnome.org>
10768 Date: Fri Nov 9 18:45:22 2012 +0100
10770 test_everything: Add tests for Regress type tests
10772 Add tests for all the data type handling tests of g-i's Regress
10775 tests/test_everything.py | 183
10776 +++++++++++++++++++++++++++++++++++++++++++++++
10777 1 file changed, 183 insertions(+)
10779 commit 0d7974396e8379b518403983d9d13629066680d7
10780 Author: Martin Pitt <martinpitt@gnome.org>
10781 Date: Fri Nov 9 18:44:50 2012 +0100
10783 Add GObject.G_MINSSIZE
10785 gi/_gobject/gobjectmodule.c | 1 +
10786 gi/overrides/GObject.py | 2 +-
10787 2 files changed, 2 insertions(+), 1 deletion(-)
10789 commit b800a6903300dbe9435ed8eb3677eb9c0536ec31
10790 Author: Martin Pitt <martinpitt@gnome.org>
10791 Date: Fri Nov 9 16:02:00 2012 +0100
10793 Fix marshalling of GByteArrays
10795 In _pygi_marshal_from_py_array(), set the array length after copying
10797 in the GI_TYPE_TAG_UINT8 case (which applies for GByteArrays),
10799 will always come out as zero length.
10801 Enable the TestGByteArray.test_bytearray_none_in() test case as that
10804 gi/pygi-marshal-from-py.c | 1 +
10805 tests/test_gi.py | 3 +--
10806 2 files changed, 2 insertions(+), 2 deletions(-)
10808 commit fa568949c46dd4b537357f1af74d1f675294b760
10809 Author: Martin Pitt <martinpitt@gnome.org>
10810 Date: Fri Nov 9 15:23:37 2012 +0100
10812 Fix marshalling of ssize_t to smaller ints
10814 Add missing marshalling cases for (u)int8 and (u)int16. This fixes the
10815 TestArray.test_array_in test, so drop the expected failure.
10817 gi/pygi-marshal-from-py.c | 30 +++++++++++++++++++++++++++++-
10818 tests/test_gi.py | 2 --
10819 2 files changed, 29 insertions(+), 3 deletions(-)
10821 commit 5a5940a0a0704be8e222d4cad6cedda1ad3e0f71
10822 Author: Martin Pitt <martinpitt@gnome.org>
10823 Date: Fri Nov 9 09:37:00 2012 +0100
10825 test_gi: Enable GByteArray constructor tests
10827 GByteArray annotations have been fixed in GLib now, enable the
10830 Drop the redundant disabled_test_bytearray_none_in_from_bytes()
10832 is the same as disabled_test_bytearray_none_in().
10834 tests/test_gi.py | 16 ++++------------
10835 1 file changed, 4 insertions(+), 12 deletions(-)
10837 commit e2c545896ab08b1f1885b502a8472db83f193d08
10838 Author: Martin Pitt <martinpitt@gnome.org>
10839 Date: Fri Nov 9 09:11:38 2012 +0100
10841 test_gi: Enable GBytes test cases
10843 GBytes annotations are fixed in GLib now, enable the test case and
10845 for g_bytes_new_take() and g_bytes_{compare,equal}().
10847 Please note that calling unref_to_array() on a GBytes object that
10849 ourselves currently causes a double free crash, so disable that part
10852 tests/test_gi.py | 30 +++++++++++++++++++++++++-----
10853 1 file changed, 25 insertions(+), 5 deletions(-)
10855 commit 1ba4e201f86ffa28c645d7c9eea99cf31080ea43
10856 Author: Martin Pitt <martinpitt@gnome.org>
10857 Date: Fri Nov 9 08:26:29 2012 +0100
10859 test_gi: Add missing data type tests from GIMarshallingTests
10861 Add tests for types time_t, GBytes, GByteArray, and various variants
10863 around GValues, flags, enums, arrays, and boxed structs. This tests
10865 is provided by GIMarshallingTests, but which we did not cover yet.
10867 This detects a number of bugs in annotations and our
10868 marshalling. These have
10869 been marked as expected failure, or disabled completely for the
10871 they cause crashes.
10873 tests/test_gi.py | 152
10874 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
10875 1 file changed, 152 insertions(+)
10877 commit 0456d9c892b76ed79134230a4a8610a23c602964
10878 Author: Martin Pitt <martinpitt@gnome.org>
10879 Date: Fri Nov 9 06:44:46 2012 +0100
10881 autogen.sh: Only enable code coverage if lcov is installed
10883 Otherwise we break minimal build environments.
10885 autogen.sh | 8 +++++++-
10886 1 file changed, 7 insertions(+), 1 deletion(-)
10888 commit 76a3acebf73f930c541d0f30249f67d254f948ab
10889 Author: Martin Pitt <martinpitt@gnome.org>
10890 Date: Fri Nov 9 06:41:58 2012 +0100
10892 Lower autoconf dependency to 2.68 again
10894 configure.ac | 2 +-
10895 1 file changed, 1 insertion(+), 1 deletion(-)
10897 commit f1a5f1b92d577c542d4258e63e595d4da9acd484
10898 Author: Martin Pitt <martinpitt@gnome.org>
10899 Date: Thu Nov 8 14:54:30 2012 +0100
10901 Add support for lcov code coverage
10903 Use gnome-common's new code coverage flags. Default to enabling
10905 in autogen.sh (but not for dist).
10907 To use this, run "make check-code-coverage" after building.
10912 configure.ac | 6 ++++++
10913 4 files changed, 10 insertions(+), 1 deletion(-)
10915 commit e46af4aba220cfaf4b84a9be847f3363da556993
10916 Author: Martin Pitt <martinpitt@gnome.org>
10917 Date: Wed Nov 7 17:14:22 2012 +0100
10919 Update documentation files
10921 Update AUTHORS to have the current maintainers.
10923 Update HACKING to drop Tomeu's GNOME login (this should be set in
10926 Update INSTALL to current upstream version.
10931 +++++++++++++++++++++++++++++++++++++++++++---------------------
10932 3 files changed, 267 insertions(+), 130 deletions(-)
10934 commit 06f5ed0ebabce34eca6bc6de80221cba6453feec
10935 Author: Martin Pitt <martinpitt@gnome.org>
10936 Date: Wed Nov 7 17:08:11 2012 +0100
10938 Quiesce automake output
10940 Use $(AM_V_GEN) with custom $(LINK) commands, and avoid error
10942 existing symlinks on rebuilds.
10944 gi/Makefile.am | 2 +-
10945 gi/_glib/Makefile.am | 2 +-
10946 gi/_gobject/Makefile.am | 2 +-
10947 tests/Makefile.am | 6 +++---
10948 4 files changed, 6 insertions(+), 6 deletions(-)
10950 commit 37270de8ead0b281a1824ff204a4aa9686a7225b
10951 Author: Martin Pitt <martinpitt@gnome.org>
10952 Date: Wed Nov 7 16:50:07 2012 +0100
10954 Drop unused variable, fail builds on those
10956 Build with -Werror=unused-variable, as these could hide programming
10958 incomplete refactoring, and are not platform dependent.
10960 Drop unused variable in pyg_type_add_interfaces().
10963 gi/_gobject/gobjectmodule.c | 1 -
10964 2 files changed, 1 insertion(+), 1 deletion(-)
10966 commit 495fd98555e0c89724bb8fa9478dc096c5d61e22
10967 Author: Martin Pitt <martinpitt@gnome.org>
10968 Date: Wed Nov 7 16:37:04 2012 +0100
10970 configure.ac: Drop maintainer mode, modernize libtool declarations
10972 Use all arguments of AC_INIT.
10974 AM_MAINTAINER_MODE is discouraged now, drop it.
10976 Use LT_PREREQ and LT_INIT for libtool initialization instead of
10980 See https://live.gnome.org/GnomeGoals/ModernAutotools
10982 configure.ac | 19 ++++++-------------
10983 1 file changed, 6 insertions(+), 13 deletions(-)
10985 commit 059d0cb879fe5a7b0296ec21f3bfcb64c8596cb0
10986 Author: Martin Pitt <martinpitt@gnome.org>
10987 Date: Wed Nov 7 16:21:13 2012 +0100
10989 autoupdate configure.ac
10991 Result of "autoupdate", with slight manual beautification.
10993 See https://live.gnome.org/GnomeGoals/ModernAutotools
10995 configure.ac | 21 +++++++++------------
10996 1 file changed, 9 insertions(+), 12 deletions(-)
10998 commit a932446e6648ecd98c9038298b18c6fbd36c01aa
10999 Author: Jose Rostagno <joserostagno@vijona.com.ar>
11000 Date: Mon Nov 5 14:26:05 2012 -0300
11002 pygi-convert: remove deprecated GLib → GObject conversions
11004 Using these functions from the GObject module is deprecated now,
11008 pygi-convert.sh | 5 -----
11009 1 file changed, 5 deletions(-)
11011 commit 21076d4b8f3ec8e253ca236fa3b20b07fde237fe
11012 Author: Simon Feltman <sfeltman@src.gnome.org>
11013 Date: Wed Nov 7 03:49:24 2012 -0800
11015 Use hasattr when testing for __info__ when finding vfuncs
11017 Change gi.types.find_vfunc_info_in_interface to use hasattr
11018 when finding vfuncs. Using '__info__' in __dict__ was skipping
11019 overridden interfaces which don't directly contain the __info__.
11022 1 file changed, 1 insertion(+), 1 deletion(-)
11024 commit 1b5c9b3d1499b3bc59afb297672abc671e175546
11025 Author: Martin Pitt <martinpitt@gnome.org>
11026 Date: Wed Nov 7 12:05:24 2012 +0100
11028 tests: Ensure that the fatal mask is always reset
11030 On test case failures the fatal mask might be left in a wrong state,
11032 with "finally" that it is reset on failed tests as well, to avoid
11036 tests/test_gi.py | 11 ++++++-----
11037 tests/test_overrides_gtk.py | 33 +++++++++++++++++++--------------
11038 tests/test_pygtkcompat.py | 6 ++++--
11039 tests/test_signal.py | 6 ++++--
11040 4 files changed, 33 insertions(+), 23 deletions(-)
11042 commit 463f660cd6bb78ae7f2ea7c70c0491e6b4744942
11043 Author: Simon Feltman <sfeltman@src.gnome.org>
11044 Date: Tue Nov 6 21:34:06 2012 -0800
11046 Replace GObject notify methods with introspection and python
11048 Replace static context managers for freeze_notify and
11049 handler_block with python context managers. Remove notify,
11050 freeze_notify, thaw_notify static methods as the introspection
11051 versions work fine.
11053 https://bugzilla.gnome.org/show_bug.cgi?id=672727
11055 gi/_gobject/pygobject.c | 173
11056 ++----------------------------------------------
11057 gi/overrides/GObject.py | 61 +++++++++++++++--
11058 tests/test_gobject.py | 26 ++++++--
11059 tests/test_signal.py | 13 +++-
11060 4 files changed, 91 insertions(+), 182 deletions(-)
11062 commit 3fcd987272a779e5ee9173a2c3a043b4b7475842
11063 Author: Simon Feltman <sfeltman@src.gnome.org>
11064 Date: Tue Oct 23 13:56:32 2012 -0700
11066 Add support for overriding GObject.Object
11068 Shift pygi module mechanics so the introspection generated 'Object'
11069 class becomes derived from the static GObject class. Add initial
11070 GObject.Object override which sets all static methods back essentially
11071 leapfrogging the introspection methods. This sets the stage for having
11072 the ability to remove static methods piecemeal in favor of
11073 introspection/python in future commits.
11075 https://bugzilla.gnome.org/show_bug.cgi?id=672727
11077 gi/module.py | 30 +++++++++++---------
11078 gi/overrides/GObject.py | 74
11079 ++++++++++++++++++++++++++++++++++++++++++++++++
11080 gi/pygobject-external.h | 10 +------
11081 gi/types.py | 7 +++++
11082 tests/test_gobject.py | 31 ++++++++++++++++----
11083 tests/testhelpermodule.c | 2 +-
11084 6 files changed, 126 insertions(+), 28 deletions(-)
11086 commit 4da6f93d86b104941c5533c3da5edb4a00ec62e9
11087 Author: Martin Pitt <martinpitt@gnome.org>
11088 Date: Tue Nov 6 13:55:21 2012 +0100
11090 Bump glib dependency to >= 2.34.2
11092 We need 2.34.2 or 2.35.2 as we now depend on the GIOChannel annotation
11096 configure.ac | 4 ++--
11097 2 files changed, 3 insertions(+), 3 deletions(-)
11099 commit 85c8dd7a9bc81fb5df5abc6d8a95f966955ec775
11100 Author: Martin Pitt <martinpitt@gnome.org>
11101 Date: Tue Nov 6 11:28:42 2012 +0100
11105 Point to python-hackers-list instead of the old pygtk list, update
11107 versions, and point to wiki page and IRC.
11109 README | 19 ++++++++++---------
11110 1 file changed, 10 insertions(+), 9 deletions(-)
11112 commit 6d8b29ba56fb085948a155c75af36dcea9c71da8
11113 Author: Martin Pitt <martinpitt@gnome.org>
11114 Date: Tue Nov 6 11:21:32 2012 +0100
11116 Add --with-python configure option
11118 This behaves like setting $PYTHON, but also works in build systems
11120 which do not support setting environment variables.
11122 Update README accordingly.
11124 README | 15 +++++++++------
11125 configure.ac | 43 ++++++++++++++++++++++++++++++++++---------
11126 2 files changed, 43 insertions(+), 15 deletions(-)
11128 commit 4e5556a5238a3b86da9a0e40fd0e23004ed6af75
11129 Author: Martin Pitt <martinpitt@gnome.org>
11130 Date: Tue Nov 6 10:39:27 2012 +0100
11132 python.m4: Add python3.3, do not prefer unversioned "python"
11134 Add python 3.3 to the search list.
11136 http://www.python.org/dev/peps/pep-0394/ broke the well-defined
11138 "python", so use that as last fallback if more specific versions do
11141 configure.ac | 2 +-
11142 m4/python.m4 | 2 +-
11143 2 files changed, 2 insertions(+), 2 deletions(-)
11145 commit e71c046ed8f5b06e6b7383ddc0fc18f06de6abee
11146 Author: Martin Pitt <martinpitt@gnome.org>
11147 Date: Tue Nov 6 09:48:50 2012 +0100
11149 m4: Update py-compile to current upstream version
11151 Update py-compile to current versions from automake 1.11.6.
11154 +++++++++++++++++++++++++++++++++++------------------------
11155 1 file changed, 48 insertions(+), 33 deletions(-)
11157 commit 8406b39f4e9ff98e0d59e880dde3ddb5e5131726
11158 Author: Martin Pitt <martinpitt@gnome.org>
11159 Date: Tue Nov 6 09:57:00 2012 +0100
11161 m4: Update introspection.m4 to current upstream version
11163 m4/introspection.m4 | 4 ++++
11164 1 file changed, 4 insertions(+)
11166 commit 4ffa61b7c39cf038440dc9acfe8d214c9b77c3a6
11167 Author: Martin Pitt <martinpitt@gnome.org>
11168 Date: Tue Nov 6 09:53:15 2012 +0100
11170 option.py: Fix PEP-8 error
11172 gi/_glib/option.py | 2 +-
11173 1 file changed, 1 insertion(+), 1 deletion(-)
11175 commit 2cbb54e79c23b96486d4a2bfa170460df5bd6c84
11176 Author: Simon Feltman <sfeltman@src.gnome.org>
11177 Date: Mon Nov 5 18:27:56 2012 -0800
11179 Remove DynamicGLibModule and DynamicGObjectModule
11181 Move final bits of _glib static binding imports directly into
11182 the GLib override. Change _glib/option use the .so directly
11183 rather than the staged variables in _glib/__init__.py.
11184 Remove DynamicGLibModule and DynamicGObjectModule and update
11187 https://bugzilla.gnome.org/show_bug.cgi?id=687488
11189 gi/_glib/__init__.py | 11 ----------
11190 gi/_glib/option.py | 16 +++++++-------
11191 gi/importer.py | 12 ++---------
11193 ----------------------------------------------------
11194 gi/overrides/GLib.py | 14 ++++++++++++
11195 tests/test_gi.py | 9 ++------
11196 6 files changed, 26 insertions(+), 96 deletions(-)
11198 commit 901c1b6e3722a9cd999e4948297e2c460f101d20
11199 Author: Daniel Drake <dsd@laptop.org>
11200 Date: Thu Nov 1 14:46:22 2012 +0000
11202 Fix property lookup in class hierarchy
11204 Commit 4bfe7972546413f46f5c36737ff03bb5612c1921 introduced a bug where
11205 a Python subclass of a gi-provided base class overrides a property
11209 The new behaviour in the above commit causes pygobject to seek
11211 in the base class and try to read it from there (resulting in
11213 rather than noticing that the property is overridden and present
11215 Python object instance.
11217 To provide a nicer solution here, we can exploit the fact that
11218 g_object_class_find_property() will traverse the hierarchy in order to
11219 find the right GParamSpec, and the returned GParamSpec can tell
11221 which GType introduces the property. The strategy is:
11223 1. Find pspec with g_object_class_find_property()
11224 2. Find the class that owns that property (pspec->owner_type)
11225 3. See if girepository owns that class.
11226 3a. If yes, get property from there.
11227 3b. If not, get property "directly"
11229 And the same for property setting.
11231 Now that _pygi_lookup_property_from_g_type is always passed the
11233 implements the property, it no longer has to go recursing through
11235 classes, which was the original cause of confusion.
11237 https://bugzilla.gnome.org/show_bug.cgi?id=686942
11239 gi/_gobject/pygobject.c | 92 +++++++++++++++++++++++----------
11240 gi/pygi-property.c | 130
11241 ++++++++++++++++++++++-------------------------
11242 gi/pygi-property.h | 4 +-
11243 gi/pygi.h | 12 ++---
11244 tests/test_properties.py | 30 +++++++++++
11245 5 files changed, 164 insertions(+), 104 deletions(-)
11247 commit efcb0f9fda65e24ae98438d61487d06db9eac1b1
11248 Author: Martin Pitt <martinpitt@gnome.org>
11249 Date: Sat Nov 3 16:14:01 2012 +0100
11251 Move property and signal creation into _class_init()
11253 We must not add class interfaces after g_type_class_ref() has been
11255 first time. Move signal and property creation from pyg_type_register()
11257 pyg_object_class_init(), and drop the hack of registering interfaces
11260 This changed class initialization order now exposes GLib's warning
11262 unknown signals, so adjust
11263 test_signal.TestGSignalsError.test_invalid_name() to
11266 https://bugzilla.gnome.org/show_bug.cgi?id=686149
11268 gi/_gobject/gobjectmodule.c | 177
11269 ++++++++++++++++++--------------------------
11270 tests/test_signal.py | 6 +-
11271 2 files changed, 75 insertions(+), 108 deletions(-)
11273 commit 655a5002ffaa088b775adbc59e5125444f7bc1ca
11274 Author: Jose Rostagno <joserostagno@vijona.com.ar>
11275 Date: Sat Nov 3 13:21:52 2012 -0300
11277 Remove unused macro definitions
11279 PYGLIB_*_VERSION are not used anywhere any more, remove those.
11280 (dropped in commit 8d52bceb1)
11282 gi/_glib/glibmodule.c | 5 -----
11283 1 file changed, 5 deletions(-)
11285 commit fa054fd15b8874760bee97d9af168a2969e6ece4
11286 Author: Martin Pitt <martinpitt@gnome.org>
11287 Date: Mon Nov 5 14:38:07 2012 +0100
11289 testhelpermodule.c: Drop obsolete g_thread_init()
11291 We already require a new enough glib version as we dropped
11293 the main code a long time ago. But for formality's sake, bump glib
11297 configure.ac | 4 ++--
11298 tests/testhelpermodule.c | 1 -
11299 2 files changed, 2 insertions(+), 3 deletions(-)
11301 commit 2e57530a27a44e94927d487cf2f2d9e543777654
11302 Author: Martin Pitt <martinpitt@gnome.org>
11303 Date: Mon Nov 5 14:37:11 2012 +0100
11305 pygi-source.c: Drop dead code
11307 gi/pygi-source.c | 2 --
11308 1 file changed, 2 deletions(-)
11310 commit 2a24c9ccd59bff719fa817a0ec5c959f6da03e1c
11311 Author: Simon Feltman <sfeltman@src.gnome.org>
11312 Date: Sun Nov 4 22:22:53 2012 -0800
11314 Move TYPE constants from _gobject to GObject
11316 Clear out TYPE constants from _gobject/__init__.py and move them
11318 GObject overrides. Disperse class imports among modules that use
11320 of using _gobject/__init__.py as a staging area (e.g. GInterface).
11322 https://bugzilla.gnome.org/show_bug.cgi?id=687487
11324 gi/_gobject/__init__.py | 30 ------------------------------
11325 gi/_gobject/constants.py | 2 +-
11326 gi/module.py | 38 +++++++++++++++++++++++++-------------
11327 gi/overrides/__init__.py | 9 ++++++---
11328 gi/types.py | 10 ++++++----
11329 5 files changed, 38 insertions(+), 51 deletions(-)
11331 commit c2aa6f0d0ed4c4e60f081b106dc7a65513963fce
11332 Author: Martin Pitt <martinpitt@gnome.org>
11333 Date: Mon Nov 5 13:10:05 2012 +0100
11335 Move G_MIN/MAX constants into GObject overrides
11337 These really ought to come from GLib's typelib, but are not right
11339 need to keep the static bindings for those. But drop them from
11341 move them into the overrides where they belong.
11343 gi/_gobject/__init__.py | 17 -----------------
11344 gi/_gobject/constants.py | 21 ---------------------
11345 gi/_gobject/propertyhelper.py | 2 +-
11346 gi/overrides/GObject.py | 9 +++++++++
11347 tests/test_gi.py | 32 ++++++++++++++++----------------
11348 5 files changed, 26 insertions(+), 55 deletions(-)
11350 commit 12b84727edc36f686a7031b5c4c6bf662838908d
11351 Author: Martin Pitt <martinpitt@gnome.org>
11352 Date: Mon Nov 5 11:04:54 2012 +0100
11354 Replace static OPTION_* constants with GI
11356 Drop static definitions of GLib.OPTION_* constants and use the ones
11360 https://bugzilla.gnome.org/show_bug.cgi?id=686765
11362 gi/_glib/__init__.py | 13 -------------
11363 gi/_glib/glibmodule.c | 32 --------------------------------
11364 gi/_glib/option.py | 46
11365 ++++++++++++++++++++++++----------------------
11366 gi/overrides/GLib.py | 13 +++++++++++++
11367 gi/overrides/GObject.py | 2 +-
11368 5 files changed, 38 insertions(+), 68 deletions(-)
11370 commit 7372e3c9ecb8e836894c32975eab8c4107ba0b28
11371 Author: Martin Pitt <martinpitt@gnome.org>
11372 Date: Mon Nov 5 10:14:52 2012 +0100
11374 tests: Do not use deprecated assertRaisesRegexp()
11376 Use assertRaisesRegex() instead and provide 2.7 compatibility in
11379 tests/runtests.py | 3 +++
11380 tests/test_signal.py | 8 ++++----
11381 2 files changed, 7 insertions(+), 4 deletions(-)
11383 commit da2106902eb3dabebdff1674743cb3040566a745
11384 Author: Simon Feltman <sfeltman@src.gnome.org>
11385 Date: Sun Nov 4 02:57:29 2012 -0800
11387 Move gobject static functions and constants to gi
11389 Replace the following functions with gi and overrides:
11390 type_children, type_interfaces, signal_list_ids, signal_list_names,
11391 signal_lookup, signal_name, type_parent. Assign SIGNAL_* and
11392 PARAM_* from gi SignalFlags and ParamFlags respectively.
11393 Move module level assignments of a number of static functions to
11394 the GObject.py overrides file.
11396 https://bugzilla.gnome.org/show_bug.cgi?id=687487
11398 docs/reference/pygobject-functions.xml | 25 ---
11399 gi/_gobject/__init__.py | 72 +--------
11400 gi/_gobject/gobjectmodule.c | 272
11401 ---------------------------------
11402 gi/overrides/GObject.py | 208 ++++++++++++++++++++++++-
11403 gi/overrides/__init__.py | 5 +-
11404 tests/test_signal.py | 11 +-
11405 6 files changed, 215 insertions(+), 378 deletions(-)
11407 commit f4acd6a9d14248d459708f61fd01f6d4735f087d
11408 Author: Simon Feltman <sfeltman@src.gnome.org>
11409 Date: Sun Nov 4 02:52:19 2012 -0800
11411 Make unitests for gobject functions moving to gi more strict
11413 Add expected failure test for invalid SystemError's coming from
11414 signal_lookup and signal_list_ids. Remove excessive type_name
11415 tests and type_from_name tests.
11417 https://bugzilla.gnome.org/show_bug.cgi?id=687487
11419 tests/test_gtype.py | 53
11420 ----------------------------------------------------
11421 tests/test_signal.py | 40 ++++++++++++++++++++++++---------------
11422 2 files changed, 25 insertions(+), 68 deletions(-)
11424 commit 3267808318b284814e52f2803b17af56fca648ad
11425 Author: Martin Pitt <martinpitt@gnome.org>
11426 Date: Sat Nov 3 14:17:25 2012 +0100
11428 [API change] Remove static filename_from_utf8() binding
11430 Replace static GLib.filename_from_utf8() with GI. The old static
11432 tried to convert the result to an Unicode object, which will fail
11434 is not UTF-8 encoded (which is the whole point of this function
11438 Although the static binding was rather useless before, this is
11442 docs/reference/pyglib-functions.xml | 32 --------------------------------
11443 gi/_glib/__init__.py | 1 -
11444 gi/_glib/glibmodule.c | 26 --------------------------
11445 gi/_gobject/__init__.py | 1 -
11446 gi/overrides/GLib.py | 8 ++++++++
11447 gi/overrides/GObject.py | 3 ++-
11448 tests/test_glib.py | 8 ++++++++
11449 7 files changed, 18 insertions(+), 61 deletions(-)
11451 commit 8d52bceb1e0aa0dc79cf77f36dda9f953f170459
11452 Author: Martin Pitt <martinpitt@gnome.org>
11453 Date: Sat Nov 3 13:14:15 2012 +0100
11455 Drop static glib_version and pyglib_version constants
11457 Use the GLib version from GI instead, and the already existing
11460 docs/reference/pyglib-constants.xml | 50
11461 ----------------------------------
11462 docs/reference/pygobject-constants.xml | 19 -------------
11463 gi/_glib/__init__.py | 2 --
11464 gi/_glib/glibmodule.c | 21 --------------
11465 gi/_gobject/__init__.py | 1 -
11466 gi/overrides/GLib.py | 8 +++++-
11467 gi/overrides/GObject.py | 3 +-
11468 tests/test_glib.py | 12 ++++++++
11469 8 files changed, 21 insertions(+), 95 deletions(-)
11471 commit 9f96325e75f7c5f88789ea3f74a068e73cfde1a2
11472 Author: Martin Pitt <martinpitt@gnome.org>
11473 Date: Sat Nov 3 12:12:44 2012 +0100
11475 Drop static G_MININT8 and related constants
11477 Use the introspected constants from GLib instead.
11479 gi/_gobject/__init__.py | 12 ------------
11480 gi/_gobject/constants.py | 12 ------------
11481 gi/_gobject/gobjectmodule.c | 18 +-----------------
11482 gi/overrides/GObject.py | 17 +++++++++++++++++
11483 tests/test_gobject.py | 4 ++++
11484 5 files changed, 22 insertions(+), 41 deletions(-)
11486 commit 3354c4eda0f098d1a8f744264ef9a2565a38b50d
11487 Author: Martin Pitt <martinpitt@gnome.org>
11488 Date: Sat Nov 3 11:58:40 2012 +0100
11490 test_gobject: Add test case for min/max int constants
11492 Related to https://bugzilla.gnome.org/show_bug.cgi?id=685022
11494 tests/test_gobject.py | 9 +++++++++
11495 1 file changed, 9 insertions(+)
11497 commit d70cb32789e057fe5a16e61a0cce77d9c54a3ee1
11498 Author: Jose Rostagno <joserostagno@vijona.com.ar>
11499 Date: Sat Oct 27 15:37:32 2012 -0300
11501 Use g_object_info_find_signal()
11503 Replace our custom code with a call to the corresponding
11504 gobject-instrospection
11507 https://bugzilla.gnome.org/show_bug.cgi?id=687371
11509 gi/pygi-signal-closure.c | 21 ++++-----------------
11510 1 file changed, 4 insertions(+), 17 deletions(-)
11512 commit ae6d0aada9587cd4dca168375527b80785b604a0
11513 Author: Martin Pitt <martinpitt@gnome.org>
11514 Date: Sat Nov 3 11:23:06 2012 +0100
11516 GLib overrides: code cleanup
11518 Factorize the logic to handle zero or multiple user_data arguments
11520 user_data_varargs_shim(), and put code that handles deprecated API
11522 corresponding "then" branches, to improve readability.
11524 gi/overrides/GLib.py | 87
11525 ++++++++++++++++++++++++++++------------------------
11526 1 file changed, 47 insertions(+), 40 deletions(-)
11528 commit d7f095b01e7208273703c880f4f0dfcc1a152a9a
11529 Author: Martin Pitt <martinpitt@gnome.org>
11530 Date: Sat Nov 3 09:33:08 2012 +0100
11532 Restore actual GLib API after previous fix
11534 Re-fix the acceptance of priority as first argument for idle_add(),
11535 io_add_watch() and timeout_add(), as that is the real GLib API. Ensure
11537 this keeps supporting the backwards compatible API with supplying
11541 https://bugzilla.gnome.org/show_bug.cgi?id=687047
11543 gi/overrides/GLib.py | 117
11544 +++++++++++++++++++++++++-----------------------
11545 tests/test_iochannel.py | 74 +++++++++++++++++++++++++++---
11546 tests/test_source.py | 30 +++++++++++++
11547 3 files changed, 158 insertions(+), 63 deletions(-)
11549 commit 648b653d85bf3bc28dc59c6d309f15d388076af9
11550 Author: Simon Feltman <sfeltman@src.gnome.org>
11551 Date: Fri Nov 2 21:01:38 2012 -0700
11553 Add unittests for module level type and signal functions
11555 Add tests for the following methods: signal_list_ids,
11556 signal_name, signal_lookup, signal_query, type_children,
11557 type_from_name, type_name, type_is_a, and type_interfaces.
11559 https://bugzilla.gnome.org/show_bug.cgi?id=687487
11561 tests/Makefile.am | 1 +
11562 tests/test_gtype.py | 106
11563 +++++++++++++++++++++++++++++++++++++++++++++++++++
11564 tests/test_signal.py | 43 +++++++++++++++++++++
11565 3 files changed, 150 insertions(+)
11567 commit 80db2a50feab9898d7c5f88ea27aadc3dfb5bec3
11568 Author: Simon Feltman <sfeltman@src.gnome.org>
11569 Date: Tue Oct 30 18:33:44 2012 -0700
11571 Fix GLib override incompatibilities with old static API
11573 Change idle_add, timeout_add, timeout_add_seconds, and
11574 io_add_watch to accept *args and **kwargs as arguments
11575 to the callback functions instead of only accepting a single
11576 user_data arg. This ensures the new overridden introspection
11577 methods are backwards compatible with the static versions
11580 https://bugzilla.gnome.org/show_bug.cgi?id=687047
11582 gi/overrides/GLib.py | 98
11583 ++++++++++++++++++++++++++++---------------------
11584 tests/test_iochannel.py | 37 +++++++++++++++++--
11585 2 files changed, 90 insertions(+), 45 deletions(-)
11587 commit 9c6399bbf75c312b1ef4933d079712ea5b05a935
11588 Author: Simon Feltman <sfeltman@src.gnome.org>
11589 Date: Tue Oct 30 12:01:44 2012 -0700
11591 Fix IOChannel unittests for python 2.7
11593 Use __future__ unicode_literals to minimize difference
11594 between python 2.7 and 3. Comparisons need to encode arguments as
11595 'UTF-8' for testing readline operations.
11596 Add backwards compatible "next" to support the python 2.7 iteration.
11597 Change isinstance(channel, file) to hasattr(channel, 'fileno') to
11598 support all python versions (and duck typing).
11600 https://bugzilla.gnome.org/show_bug.cgi?id=687047
11602 gi/overrides/GLib.py | 4 +++-
11603 tests/test_iochannel.py | 1 +
11604 2 files changed, 4 insertions(+), 1 deletion(-)
11606 commit 0f94a0a4ebd2bbfd06d8f9a2bb2b17dabf7678ef
11607 Author: Martin Pitt <martinpitt@gnome.org>
11608 Date: Mon Oct 29 23:00:31 2012 +0100
11610 Allow calling io_add_watch with a file object
11612 The old static bindings allowed that, so we need to allow it to
11614 backwards compatibility. Deprecate this mode as well, so that we
11618 https://bugzilla.gnome.org/show_bug.cgi?id=687047
11620 gi/overrides/GLib.py | 7 +++++++
11621 tests/test_glib.py | 26 ++++++++++++++++++++++++++
11622 2 files changed, 33 insertions(+)
11624 commit 3ba67fd41944309077eb81c4c03397519ed29dc4
11625 Author: John Ralls <jralls@ceridwen.us>
11626 Date: Mon Oct 29 14:57:22 2012 -0700
11628 Fix duplicate symbols error on OSX
11630 gi/pygi-source.c | 1 +
11631 1 file changed, 1 insertion(+)
11633 commit 5a367aa067e369f2b1e713199614e3426fecc10e
11634 Author: Martin Pitt <martinpitt@gnome.org>
11635 Date: Sun Oct 28 17:42:34 2012 +0100
11637 Drop removed markup-escape-text() from reference documentation
11639 docs/reference/pyglib-functions.xml | 36
11640 ------------------------------------
11641 1 file changed, 36 deletions(-)
11643 commit 057b3d3791e6f1947004f2482c0ae40529de03ae
11644 Author: Martin Pitt <martinpitt@gnome.org>
11645 Date: Sun Oct 28 17:41:03 2012 +0100
11647 Drop some dead code from gi/_glib/glibmodule.c
11649 gi/_glib/glibmodule.c | 45 ---------------------------------------------
11650 1 file changed, 45 deletions(-)
11652 commit 7b12803bce3418bb487127f497f022c973f35888
11653 Author: Martin Pitt <martinpitt@gnome.org>
11654 Date: Sun Oct 28 17:37:29 2012 +0100
11656 Remove static get_current_time() binding
11658 Use GLib.get_real_time() through GI instead. Deprecate the function,
11660 GLib.get_real_time() should be called directly.
11662 docs/reference/pyglib-functions.xml | 26 --------------------------
11663 gi/_glib/__init__.py | 1 -
11664 gi/_glib/glibmodule.c | 11 -----------
11665 gi/_glib/pyglib.c | 16 ----------------
11666 gi/_glib/pyglib.h | 1 -
11667 gi/_gobject/__init__.py | 1 -
11668 gi/overrides/GLib.py | 8 ++++++++
11669 gi/overrides/GObject.py | 2 +-
11670 tests/test_glib.py | 6 +++++-
11671 9 files changed, 14 insertions(+), 58 deletions(-)
11673 commit b3dfb780b3a74f6933e3afcd2ba512b36dfbe514
11674 Author: Martin Pitt <martinpitt@gnome.org>
11675 Date: Sun Oct 28 17:23:23 2012 +0100
11677 Add more tests for GLib.spawn_async()
11679 Check spawn_async() with getting stdin/out/err pipes and specifying
11682 tests/test_subprocess.py | 29 +++++++++++++++++++++++++++++
11683 1 file changed, 29 insertions(+)
11685 commit 70d78eee4a04dcaefea4615fe351e33fa717dffa
11686 Author: Martin Pitt <martinpitt@gnome.org>
11687 Date: Sun Oct 28 14:15:05 2012 +0100
11689 Remove static child_add_watch() binding
11691 Use the GLib API through GI instead, and provide override to keep
11693 compatible API. Also allow using the actual GLib API, and deprecate
11695 static API of calling without a priority as first argument.
11697 docs/reference/pyglib-functions.xml | 61 ---------------------------
11698 gi/_glib/__init__.py | 1 -
11699 gi/_glib/glibmodule.c | 72 -------------------------------
11700 gi/_gobject/__init__.py | 1 -
11701 gi/overrides/GLib.py | 46 ++++++++++++++++++++
11702 gi/overrides/GObject.py | 2 +-
11703 tests/test_mainloop.py | 2 +-
11704 tests/test_subprocess.py | 84
11705 ++++++++++++++++++++++++++++++++++---
11706 8 files changed, 127 insertions(+), 142 deletions(-)
11708 commit 4b16427714b850e33c6020d8de1833bae19a3b87
11709 Author: Martin Pitt <martinpitt@gnome.org>
11710 Date: Sun Oct 28 13:44:23 2012 +0100
11712 test_subprocess: Cover more child_watch_add() cases
11714 Verify that priority is set correctly, and also test calling without
11717 tests/test_subprocess.py | 24 +++++++++++++++++++-----
11718 1 file changed, 19 insertions(+), 5 deletions(-)
11720 commit 83ff5938612d37d52f112867a472777dd6786d69
11721 Author: Colin Walters <walters@verbum.org>
11722 Date: Sat Oct 27 12:22:53 2012 -0400
11724 gi/__init__.py: Pacify pep8 style checker
11726 It was complaining about finding only 1 blank line. Regression
11727 likely introduced by f976d05b.
11729 https://bugzilla.gnome.org/show_bug.cgi?id=686991
11731 gi/__init__.py | 1 +
11732 1 file changed, 1 insertion(+)
11734 commit f976d05b04f26e733d19988e68989e340eb3a29e
11735 Author: Martin Pitt <martinpitt@gnome.org>
11736 Date: Fri Oct 26 10:39:28 2012 +0200
11738 Use a custom deprecation warning to make them visible by default
11740 DeprecationWarning is not shown by default, and is thus rather
11742 developers. Use a custom PyGIDeprecationWarning class and derive
11744 RuntimeWarning to make it visible.
11746 gi/__init__.py | 5 +++++
11747 gi/overrides/GLib.py | 5 +++--
11748 gi/overrides/Gtk.py | 5 +++--
11749 gi/overrides/__init__.py | 4 ++--
11750 gi/pygtkcompat.py | 4 ++--
11751 tests/Makefile.am | 2 +-
11752 tests/test_glib.py | 5 +++--
11753 tests/test_gobject.py | 3 ++-
11754 tests/test_iochannel.py | 5 +++--
11755 tests/test_source.py | 3 ++-
11756 10 files changed, 26 insertions(+), 15 deletions(-)
11758 commit 366f5d2d3902c6293d0031e0b7dc5d6641a05ac7
11759 Author: Martin Pitt <martinpitt@gnome.org>
11760 Date: Fri Oct 26 09:26:17 2012 +0200
11762 Remove static io_add_watch() binding
11764 Use the GLib API through GI instead, and provide override to keep
11766 compatible API. Also allow using the actual GLib API, and deprecate
11769 - calling with an fd as first argument instead of an IOChannel
11770 - calling without a priority as second argument
11772 docs/reference/pyglib-functions.xml | 106
11773 ------------------------------------
11774 gi/_glib/__init__.py | 1 -
11775 gi/_glib/glibmodule.c | 98
11776 ---------------------------------
11777 gi/_gobject/__init__.py | 1 -
11778 gi/overrides/GLib.py | 51 ++++++++++++++---
11779 gi/overrides/GObject.py | 3 +-
11780 tests/test_glib.py | 15 ++++-
11781 tests/test_iochannel.py | 70 +++++++++++++++++++++++-
11782 8 files changed, 126 insertions(+), 219 deletions(-)
11784 commit 284de1eb5c37a3f6caa7d846dbd439f1eac410a2
11785 Author: Martin Pitt <martinpitt@gnome.org>
11786 Date: Fri Oct 26 08:48:35 2012 +0200
11788 Add tests for GLib.io_add_watch()
11790 tests/test_glib.py | 36 ++++++++++++++++++++++++++++++++++++
11791 1 file changed, 36 insertions(+)
11793 commit 15e717ce2c2a26c02c913f79bc7cf6876d943e92
11794 Author: Martin Pitt <martinpitt@gnome.org>
11795 Date: Thu Oct 25 15:55:46 2012 +0200
11797 Remove static GIOChannel bindings
11799 Use the GLib API through GI instead, and provide overrides to keep
11801 compatible API, including its bugs.
11803 We still need to keep a static wrapper around
11804 g_io_channel_read_chars() until
11805 we teach PyGObject to correctly handle caller allocated out array
11808 https://bugzilla.gnome.org/show_bug.cgi?id=686795
11810 gi/_glib/Makefile.am | 2 -
11811 gi/_glib/__init__.py | 1 -
11812 gi/_glib/glibmodule.c | 2 -
11813 gi/_glib/pygiochannel.c | 748
11814 ------------------------------------------------
11815 gi/_glib/pygiochannel.h | 29 --
11816 gi/_gobject/__init__.py | 1 -
11817 gi/gimodule.c | 72 +++++
11818 gi/overrides/GLib.py | 95 +++++-
11819 8 files changed, 161 insertions(+), 789 deletions(-)
11821 commit 0bfa6b44b808d9f8f55199216c29c1aec96c7719
11822 Author: Martin Pitt <martinpitt@gnome.org>
11823 Date: Thu Oct 25 12:59:46 2012 +0200
11825 test_iochannel.py: Fix data type of IOFlags
11827 ~GLib.IOFlags.NONBLOCK yields an int instead of a GLib.IOFlags,
11829 the result is of type GLib.IOFlags again.
11831 tests/test_iochannel.py | 2 +-
11832 1 file changed, 1 insertion(+), 1 deletion(-)
11834 commit 25d12afd06863ce223a161ba1317bfe5503bca5c
11835 Author: Martin Pitt <martinpitt@gnome.org>
11836 Date: Thu Oct 25 08:24:31 2012 +0200
11838 Add environment variable to disable pep8 checks
11840 pep8 takes quite long for "make check". Skip it if $SKIP_PEP8 is
11842 makes the test/fix turnaround time faster.
11844 tests/Makefile.am | 6 ++++--
11845 1 file changed, 4 insertions(+), 2 deletions(-)
11847 commit e9624ed1d38c777de2b430e3b0fbae2acbf34956
11848 Author: Simon Feltman <sfeltman@src.gnome.org>
11849 Date: Wed Oct 24 04:31:26 2012 -0700
11851 [API add] Add get_introspection_module for getting un-overridden
11854 Add gi.module.get_introspection_module to explicitly get a
11855 wrapped module pulled in through introspection without static
11856 and python override handling. This API is intended for python
11857 overrides to use rather than having them access
11858 gi.importer.modules['<name>']._introspection_module directly.
11859 Replace aforementioned usage in all overrides.
11861 https://bugzilla.gnome.org/show_bug.cgi?id=686828
11864 +++++++++++++++++++++++++++++++++++---
11865 gi/overrides/GIMarshallingTests.py | 4 ++--
11866 gi/overrides/GLib.py | 4 ++--
11867 gi/overrides/Gdk.py | 6 +++---
11868 gi/overrides/Gio.py | 4 ++--
11869 gi/overrides/Gtk.py | 5 +++--
11870 gi/overrides/Pango.py | 4 ++--
11871 tests/test_overrides.py | 29 +++++++++++++++++++++++++++++
11872 8 files changed, 78 insertions(+), 16 deletions(-)
11874 commit e6e047ef9b8575c852b3cdc3f5d4dfbb548cc648
11875 Author: Martin Pitt <martinpitt@gnome.org>
11876 Date: Wed Oct 24 15:16:13 2012 +0200
11878 test_option: Use public API
11880 Use GLib.option, not gi._glib.option.
11882 tests/test_option.py | 42 ++++++++++++++++++++----------------------
11883 1 file changed, 20 insertions(+), 22 deletions(-)
11885 commit 6a586af41b8740c4ba590591d1068d80071ff2dc
11886 Author: Martin Pitt <martinpitt@gnome.org>
11887 Date: Wed Oct 24 14:12:05 2012 +0200
11889 Drop static SPAWN_* constants
11891 Use the introspected constants instead, which are identical. Add
11893 compatible aliases.
11895 These constants are covered by tests/test_subprocess.py.
11897 https://bugzilla.gnome.org/show_bug.cgi?id=686765
11899 docs/reference/pyglib-constants.xml | 68
11900 ----------------------------------
11901 docs/reference/pyglib-functions.xml | 26 ++++++-------
11902 docs/reference/pygobject-constants.xml | 67
11903 ---------------------------------
11904 gi/_glib/__init__.py | 7 ----
11905 gi/_glib/glibmodule.c | 15 --------
11906 gi/_gobject/__init__.py | 7 ----
11907 gi/overrides/GLib.py | 6 +++
11908 gi/overrides/GObject.py | 6 ++-
11909 tests/test_subprocess.py | 6 ++-
11910 9 files changed, 29 insertions(+), 179 deletions(-)
11912 commit 0137a7af7bf69421e0c8e94120a1f8cff01fbeea
11913 Author: Martin Pitt <martinpitt@gnome.org>
11914 Date: Wed Oct 24 13:59:31 2012 +0200
11916 Drop static IO_* constants
11918 Use the introspected constants instead, which are identical. Add
11920 compatible aliases.
11922 These constants are covered by tests/test_iochannel.py.
11924 docs/reference/pyglib-constants.xml | 52
11925 -------------------------------------
11926 gi/_glib/__init__.py | 19 --------------
11927 gi/_glib/glibmodule.c | 32 -----------------------
11928 gi/_gobject/__init__.py | 18 -------------
11929 gi/overrides/GLib.py | 18 ++++++++++++-
11930 gi/overrides/GObject.py | 8 +++++-
11931 tests/test_iochannel.py | 1 +
11932 tests/test_source.py | 2 +-
11933 8 files changed, 26 insertions(+), 124 deletions(-)
11935 commit 0e1a6ccee45ae2239da1c44de1866596343165ba
11936 Author: Martin Pitt <martinpitt@gnome.org>
11937 Date: Wed Oct 24 12:50:50 2012 +0200
11939 Fix various bugs in GLib.IOChannel
11941 - Fix segfault when using an IOChannel as an iterator: PyIter_Next()
11943 NULL on the last element, instead of raising a StopIteration.
11945 - The default encoding of a stream is 'UTF-8', not NULL. NULL means
11947 stream is being used in binary mode; in that case, we should not
11949 do any automagic conversion to an Unicode object. As this special
11951 inconsistent and has never worked anyway, and the current buggy
11952 implementation breaks binary streams, just drop it without
11954 (Introduced in commit de9eae4dfcce8)
11956 These bugs were uncovered by the previously committed tests.
11958 gi/_glib/pygiochannel.c | 25 +++++--------------------
11959 1 file changed, 5 insertions(+), 20 deletions(-)
11961 commit a98c37937a4f7cb81a0b02c023d12097f386a22c
11962 Author: Martin Pitt <martinpitt@gnome.org>
11963 Date: Wed Oct 24 12:49:04 2012 +0200
11965 Add tests for GLib.IOChannel
11967 This did not have any code coverage at all. The tests uncover a
11969 which will be fixed in the next commit.
11971 tests/Makefile.am | 1 +
11972 tests/test_iochannel.py | 262
11973 ++++++++++++++++++++++++++++++++++++++++++++++++
11974 2 files changed, 263 insertions(+)
11976 commit 1b27432abf6004553e9476d5ffeb2bf603534419
11977 Author: Martin Pitt <martinpitt@gnome.org>
11978 Date: Wed Oct 24 08:50:37 2012 +0200
11980 Remove static idle_add/timeout_add bindings
11982 Use the GLib functions through GI instead. Add overrides to ensure
11984 arguments continue to work as before, and that callbacks are called
11986 userdata argument if it wasn't specified.
11988 docs/reference/pyglib-functions.xml | 165
11989 ------------------------------------
11990 gi/_glib/__init__.py | 3 -
11991 gi/_glib/glibmodule.c | 139 ------------------------------
11992 gi/_gobject/__init__.py | 3 -
11993 gi/overrides/GLib.py | 31 +++++++
11994 gi/overrides/GObject.py | 3 +-
11995 tests/test_source.py | 19 +++++
11996 7 files changed, 52 insertions(+), 311 deletions(-)
11998 commit 2357f4a0237feabcf6886f2a448aa3f42f6781b9
11999 Author: Martin Pitt <martinpitt@gnome.org>
12000 Date: Wed Oct 24 09:14:57 2012 +0200
12002 Add tests for priority argument of idle_add/timeout_add
12004 There is a potential to treat the priority as user data in a call like
12005 "GLib.idle_add(cb, GLib.PRIORITY_HIGH)". The current static bindings
12007 using a keyword argument for the priority (but silently ignore it
12009 specify both userdata and priority as a positional argument).
12011 Test the correct handling of priority as well.
12013 tests/test_source.py | 63
12014 ++++++++++++++++++++++++++++++++++++++++++++++++----
12015 1 file changed, 59 insertions(+), 4 deletions(-)
12017 commit dceb4d60e210cb1531ad81935733a3f0be0c8edb
12018 Author: Martin Pitt <martinpitt@gnome.org>
12019 Date: Wed Oct 24 08:40:50 2012 +0200
12021 Drop old ChangeLog.pre-2.18
12023 This is ancient by now, quite sizable, and the complete history can
12025 seen in the git log.
12027 ChangeLog.pre-2.18 | 3608
12028 ----------------------------------------------------
12030 2 files changed, 3609 deletions(-)
12032 commit 127ef91f1563caa346bc2ac2adb064487a84e6a0
12033 Author: Martin Pitt <martinpitt@gnome.org>
12034 Date: Wed Oct 24 08:39:05 2012 +0200
12036 Fix PEP-8 whitespace in previous commit
12038 tests/test_source.py | 4 ++++
12039 1 file changed, 4 insertions(+)
12041 commit 0bc0b55be0dae7528c2fc7439d672ad4e417335d
12042 Author: Martin Pitt <martinpitt@gnome.org>
12043 Date: Wed Oct 24 08:33:49 2012 +0200
12045 Add tests for idle_add()/timeout_add with and without user data
12047 This is implicitly spread over various test cases, but let's test
12049 to ensure that the behaviour stays consistent when moving this to GI.
12051 tests/test_source.py | 35 +++++++++++++++++++++++++++++++++++
12052 1 file changed, 35 insertions(+)
12054 commit d0a0332feb7946f4bb6b43211d6fe3ae67e7dba5
12055 Author: Martin Pitt <martinpitt@gnome.org>
12056 Date: Wed Oct 24 08:05:43 2012 +0200
12058 tests: consitent naming style
12060 Stop mixing camel case and underline naming, use the latter
12064 tests/test_gobject.py | 64
12065 +++++++++++++++++++++++------------------------
12066 tests/test_interface.py | 4 +--
12067 tests/test_option.py | 14 +++++------
12068 tests/test_pygtkcompat.py | 32 ++++++++++++------------
12069 tests/test_signal.py | 10 ++++----
12070 tests/test_source.py | 23 ++++++++---------
12071 tests/test_subprocess.py | 2 +-
12072 tests/test_thread.py | 2 +-
12073 tests/test_unknown.py | 2 +-
12074 9 files changed, 76 insertions(+), 77 deletions(-)
12076 commit 4b460e2eb18b8340fe99252063fdb08b0c222968
12077 Author: Martin Pitt <martinpitt@gnome.org>
12078 Date: Wed Oct 24 07:28:10 2012 +0200
12080 Work around wrong 64 bit constants in GLib Gir
12082 GLib's gir currently has wrong constants for MININT64 and MAXUINT64;
12084 set them in an override, until this gets fixed properly.
12086 https://bugzilla.gnome.org/show_bug.cgi?id=685022
12088 gi/overrides/GLib.py | 8 ++++++++
12089 tests/test_gi.py | 9 +++++++++
12090 2 files changed, 17 insertions(+)
12092 commit f30efd2619911c89ca873fac6bec06a1b60fab82
12093 Author: Martin Pitt <martinpitt@gnome.org>
12094 Date: Tue Oct 23 13:32:14 2012 +0200
12096 Mark GLib.Source.get_current_time() as deprecated
12098 This method has been deprecated in GLib long ago. We have a workaround
12099 implementation using GLib.get_real_time(), but eventually this should
12102 gi/overrides/GLib.py | 5 ++++-
12103 tests/test_source.py | 8 +++++++-
12104 2 files changed, 11 insertions(+), 2 deletions(-)
12106 commit 483c86267f2623eaa88d6a9e685c96ec3ba4f121
12107 Author: Martin Pitt <martinpitt@gnome.org>
12108 Date: Tue Oct 23 08:56:19 2012 +0200
12110 Mark GLib API that is exposed in GObject as deprecated
12112 A lot of API in GObject really belongs into GLib and is just there for
12113 historical/backwards compatible reasons. Mark these methods as
12115 that at some point we can drop them.
12117 gi/overrides/GObject.py | 3 ++-
12118 gi/overrides/__init__.py | 13 +++++++++++++
12119 tests/test_gobject.py | 24 ++++++++++++++----------
12120 3 files changed, 29 insertions(+), 11 deletions(-)
12122 commit 191cf45af44850fc29f2392ae2f0042aed6d13a9
12123 Author: Martin Pitt <martinpitt@gnome.org>
12124 Date: Fri Oct 19 09:55:05 2012 +0200
12126 Remove static MainLoop, MainContext, and some GSource bindings
12128 glib's MainLoop and MainContext are fully introspectable these days,
12130 our static bindings. This reduces our code, as well enables GLib
12132 hasn't been available through the static bindings before.
12134 This also requires dropping our custom static types for GLib Source,
12136 and Idle. The latter two work fine with introspection and just
12138 overrides for a backwards compatible API. g_source_new() is not
12140 though, so we need to keep our static wrappers for that. Move
12142 gi/_glib/pygsource.c to gi/pygi-source.c, so that it can use the
12145 Note that gi/_glib/pygsource.[hc] is still required for the static
12147 which is used by the static IOChannel binding. Once the latter
12149 PollFD can be dropped as well.
12151 https://bugzilla.gnome.org/show_bug.cgi?id=686443
12153 docs/Makefile.am | 6 +-
12154 docs/reference/pyglib-classes.xml | 2 -
12155 docs/reference/pyglib-constants.xml | 53 ---
12156 docs/reference/pyglib-functions.xml | 58 ---
12157 docs/reference/pyglib-maincontext.xml | 152 --------
12158 docs/reference/pyglib-mainloop.xml | 202 -----------
12159 gi/Makefile.am | 2 +
12160 gi/_glib/Makefile.am | 4 -
12161 gi/_glib/__init__.py | 12 -
12162 gi/_glib/glibmodule.c | 45 +--
12163 gi/_glib/pyglib.c | 15 -
12164 gi/_glib/pyglib.h | 1 -
12165 gi/_glib/pygmaincontext.c | 126 -------
12166 gi/_glib/pygmaincontext.h | 40 ---
12167 gi/_glib/pygmainloop.c | 362 -------------------
12168 gi/_glib/pygmainloop.h | 36 --
12169 gi/_glib/pygsource.c | 640
12170 ----------------------------------
12171 gi/_glib/pygsource.h | 3 -
12172 gi/_gobject/__init__.py | 13 -
12173 gi/gimodule.c | 9 +
12174 gi/overrides/GLib.py | 116 +++++-
12175 gi/overrides/GObject.py | 10 +-
12176 gi/pygi-private.h | 1 +
12177 gi/pygi-source.c | 247 +++++++++++++
12178 gi/pygi-source.h | 31 ++
12179 tests/test_glib.py | 22 +-
12180 tests/test_gobject.py | 2 +
12181 tests/test_source.py | 3 -
12182 28 files changed, 437 insertions(+), 1776 deletions(-)
12184 commit 326218a20681c1f2234a6eea1ed800382be57626
12185 Author: Simon Feltman <s.feltman@gmail.com>
12186 Date: Wed Sep 19 15:37:14 2012 -0700
12188 Deprecate void pointer fields as general PyObject storage.
12190 Complete deprecation of gpointer struct fields as general
12191 PyObject storage. Only int types are now allowed.
12192 Assignment of anything other than an int or None raises
12193 a TypeError stating the error and associated bug URL.
12195 https://bugzilla.gnome.org/show_bug.cgi?id=683599
12197 gi/pygi-argument.c | 25 ++++++++++++++++-----
12198 gi/pygi-info.c | 28 ++++--------------------
12199 tests/test_everything.py | 53
12200 +++++++++++++++++++++++++--------------------
12201 tests/test_overrides_gtk.py | 41 -----------------------------------
12202 4 files changed, 54 insertions(+), 93 deletions(-)
12204 commit 3dba328010a4ffd9259700ffec95871c7341d491
12205 Author: Martin Pitt <martinpitt@gnome.org>
12206 Date: Tue Oct 23 11:59:08 2012 +0200
12208 Add some MainLoop, MainContext, and Source test cases
12210 These cover the remaining static API and behaviour, so that we
12212 regression tests for converting them to GI.
12214 See https://bugzilla.gnome.org/show_bug.cgi?id=686443
12216 tests/test_glib.py | 21 +++++++++++++++++++++
12217 tests/test_gobject.py | 11 +++++++++++
12218 tests/test_mainloop.py | 16 ++++++++++++++++
12219 tests/test_source.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
12220 4 files changed, 92 insertions(+)
12222 commit 7635340271df0a135873459e6a2a365fd4b187a2
12223 Author: Steve Frécinaux <code@istique.net>
12224 Date: Wed Feb 9 18:37:33 2011 +0100
12226 [API change] Do not bind gobject_get_data() and gobject_set_data()
12228 They will basically cause a crash if misused, and you can always use a
12229 python member attribute instead.
12231 These methods were marked as deprecated for 3.4 and throwing a
12233 let's remove them for good now.
12235 https://bugzilla.gnome.org/show_bug.cgi?id=641944
12237 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
12239 docs/reference/pygobject.xml | 63
12240 --------------------------------------------
12241 gi/_gobject/pygobject.c | 44 -------------------------------
12242 2 files changed, 107 deletions(-)
12244 commit cfec113e3b3eabf8db834f48b2f16792d1e841a3
12245 Author: Martin Pitt <martinpitt@gnome.org>
12246 Date: Tue Oct 23 08:17:40 2012 +0200
12248 Add test for GLib.get_current_time()
12250 This adds a plausibility test, as well as ensuring the documented
12252 This will be useful if/once we drop the static _glib binding.
12254 tests/test_glib.py | 5 +++++
12255 1 file changed, 5 insertions(+)
12257 commit fb473b31054744e5ab59e9d4ed3b74571e27d3ff
12258 Author: Martin Pitt <martinpitt@gnome.org>
12259 Date: Tue Oct 23 07:48:52 2012 +0200
12261 Drop unnecessary static _glib bindings
12263 Drop static pyglib bindings which have straightforward and working
12265 bindings. Add tests for all dropped functions to ensure they keep
12268 docs/reference/pyglib-constants.xml | 59 -------
12269 docs/reference/pyglib-functions.xml | 270 ------------------------------
12270 gi/_glib/__init__.py | 24 ---
12271 gi/_glib/glibmodule.c | 319
12272 ------------------------------------
12273 gi/_gobject/__init__.py | 9 -
12274 gi/overrides/GLib.py | 16 ++
12275 gi/overrides/GObject.py | 32 ++++
12276 gi/overrides/Makefile.am | 1 +
12277 tests/Makefile.am | 1 -
12278 tests/test_glib.py | 46 ++++++
12279 tests/test_gobject.py | 4 +
12280 tests/test_uris.py | 16 --
12281 12 files changed, 99 insertions(+), 698 deletions(-)
12283 commit 126a10f765af3d3a6f08ce5db7ed9f3ef647848f
12284 Author: Martin Pitt <martinpitt@gnome.org>
12285 Date: Tue Oct 23 06:12:08 2012 +0200
12287 Fix OverflowError in source_remove()
12289 GSource IDs are unsigned, so we must use 'I' for parsing then, not
12292 https://bugzilla.gnome.org/show_bug.cgi?id=684526
12294 gi/_glib/glibmodule.c | 2 +-
12295 tests/test_source.py | 13 ++++++++++++-
12296 2 files changed, 13 insertions(+), 2 deletions(-)
12298 commit 15f7442bd0c45db25073e3d8494094f1c284ffa4
12299 Author: Martin Pitt <martinpitt@gnome.org>
12300 Date: Mon Oct 22 13:38:23 2012 +0200
12302 Fix TestSource.testSources() test case
12304 PyGObject has established the assumption that the destruction of
12306 Python object does not destroy the actual GSource, as shown in
12307 TestSource.setup_timeout(), TestTimeout.test504337(), and
12308 https://bugzilla.gnome.org/show_bug.cgi?id=504337.
12310 So we need to explicitly destroy our MySource and Idle objects
12312 them, as their callbacks always return True and we do not want them
12314 over into other tests.
12316 Also fix the assertions to actually verify that MySources' callback
12318 (pos > 0, not pos >= 0), and use the unittest comparison API instead
12320 simple assert statement.
12322 https://bugzilla.gnome.org/show_bug.cgi?id=686627
12324 tests/test_source.py | 8 +++++++-
12325 1 file changed, 7 insertions(+), 1 deletion(-)
12327 commit b984a5fe0d065818a153f259db4dbde79534f084
12328 Author: Martin Pitt <martinpitt@gnome.org>
12329 Date: Mon Oct 22 17:38:56 2012 +0200
12331 configure.ac: post-release bump to 3.7.2
12333 configure.ac | 2 +-
12334 1 file changed, 1 insertion(+), 1 deletion(-)
12336 commit ce0825f58c3eba6084143e430605ffb597622369
12337 Author: Martin Pitt <martinpitt@gnome.org>
12338 Date: Mon Oct 22 17:37:17 2012 +0200
12342 NEWS | 42 ++++++++++++++++++++++++++++++++++++++++++
12343 1 file changed, 42 insertions(+)
12345 commit a93763337ba7f952d787c42f45bfbb3ff02cc80d
12346 Author: Martin Pitt <martinpitt@gnome.org>
12347 Date: Mon Oct 22 17:33:12 2012 +0200
12349 Bump version to 3.7.1
12351 Let's follow the real GNOME versioning from now on.
12353 configure.ac | 2 +-
12354 1 file changed, 1 insertion(+), 1 deletion(-)
12356 commit 3fb13cc05a281970c3a624c2dd152996031b482c
12357 Author: Martin Pitt <martinpitt@gnome.org>
12358 Date: Mon Oct 22 11:36:49 2012 +0200
12360 test_mainloop code cleanup
12362 Ensure that sys.excepthook is always restored, even if the test
12364 assert{True,False,Equal} unittest API instead of simple asserts for
12368 tests/test_mainloop.py | 19 ++++++++++---------
12369 1 file changed, 10 insertions(+), 9 deletions(-)
12371 commit 31061f20083aa60919f6763a12addbf2b052cab7
12372 Author: Simon Feltman <sfeltman@src.gnome.org>
12373 Date: Sun Oct 21 18:55:24 2012 -0700
12375 Change install_properties to not use getattr on classes
12377 The usage of getattr for accessing a classes __gproperties__
12378 variable can be problematic due to the potential of it returning
12379 the parent classes variable when it does not exist on the sub-class.
12380 Similar to the fix for
12381 https://bugzilla.gnome.org/show_bug.cgi?id=686496,
12382 cls.__dict__.get is used to ensure this does not happen.
12384 https://bugzilla.gnome.org/show_bug.cgi?id=686559
12386 gi/_gobject/propertyhelper.py | 2 +-
12387 tests/test_properties.py | 6 ++++--
12388 2 files changed, 5 insertions(+), 3 deletions(-)
12390 commit 438d3e68f19e2af5d027e18842ab05e0421d088d
12391 Author: Simon Feltman <sfeltman@src.gnome.org>
12392 Date: Sat Oct 20 19:56:04 2012 -0700
12394 Move property install function into propertyhelper.py
12396 Move _install_properties() into gi/_gobject/propertyhelper.py
12399 https://bugzilla.gnome.org/show_bug.cgi?id=686559
12401 gi/_gobject/__init__.py | 45 +++----------------------------
12402 gi/_gobject/propertyhelper.py | 45 +++++++++++++++++++++++++++++++
12403 tests/test_properties.py | 63
12404 +++++++++++++++++++++++++++++++++++++++++++
12405 3 files changed, 111 insertions(+), 42 deletions(-)
12407 commit 695a9077aa8f40357e050f090caa5e2b8c5c9593
12408 Author: Simon Feltman <s.feltman@gmail.com>
12409 Date: Sat Oct 20 03:11:07 2012 -0700
12411 Fix Signal decorator to not use base class gsignals dict
12413 Fix install_signals to not use the parent classes __gsignals__
12414 dict if one does not exist on the given class.
12416 https://bugzilla.gnome.org/show_bug.cgi?id=686496
12418 gi/_gobject/signalhelper.py | 2 +-
12419 tests/test_signal.py | 43
12420 +++++++++++++++++++++++++++++++++++++++++++
12421 2 files changed, 44 insertions(+), 1 deletion(-)
12423 commit 1ff04e846d50b948df6fa3260c548ef4f4779c58
12424 Author: Martin Pitt <martinpitt@gnome.org>
12425 Date: Fri Oct 19 09:05:01 2012 +0200
12427 tests: Consistently use GLib.MainLoop
12429 ... instead of mixing GObject.MainLoop and GLib.MainLoop.
12431 tests/test_everything.py | 4 ++--
12432 tests/test_gdbus.py | 11 +++++------
12433 2 files changed, 7 insertions(+), 8 deletions(-)
12435 commit ff7e7401b4cf50532fef70263f7559ea513b8333
12436 Author: Kalev Lember <kalevlember@gmail.com>
12437 Date: Wed Oct 17 18:27:14 2012 +0200
12439 Install the .egg-info files into correct multilib directory
12441 This makes sure the .egg-info files end up in the same python
12443 directory as the rest of the gi .py files.
12445 https://bugzilla.gnome.org/show_bug.cgi?id=686315
12447 Makefile.am | 6 +++---
12448 1 file changed, 3 insertions(+), 3 deletions(-)
12450 commit 91e4cb2063d4e83fb1f6586a4396471d64f234f4
12451 Author: Simon Feltman <s.feltman@gmail.com>
12452 Date: Mon Oct 15 04:03:50 2012 -0700
12454 Fix leaked vfunc return values
12456 Simple fix to dec ref returned values from closures wrapping
12459 https://bugzilla.gnome.org/show_bug.cgi?id=686140
12461 gi/pygi-closure.c | 1 +
12462 tests/test_gi.py | 21 +++++++++++++++++++--
12463 2 files changed, 20 insertions(+), 2 deletions(-)
12465 commit 75e373b99c3cb66dd60b13c803e5f7eec77cc415
12466 Author: Martin Pitt <martinpitt@gnome.org>
12467 Date: Mon Oct 15 07:42:05 2012 +0200
12469 Skip Regress tests with --disable-cairo
12471 We need cairo to build g-i's Regress library, gir, and typelib. Update
12472 configure.ac to only require cairo if --disable-cairo was not
12474 --disable-cairo, skip building the Regress library and skip all
12478 https://bugzilla.gnome.org/show_bug.cgi?id=685094
12480 configure.ac | 5 ++---
12481 tests/Makefile.am | 45
12482 +++++++++++++++++++++++++++------------------
12483 tests/test_everything.py | 15 +++++++++++----
12484 tests/test_overrides.py | 7 ++++++-
12485 4 files changed, 46 insertions(+), 26 deletions(-)
12487 commit a2ab72aa39824579d1767d1fdba7e1031341f86c
12488 Author: Martin Pitt <martinpitt@gnome.org>
12489 Date: Fri Oct 12 11:05:24 2012 +0200
12491 _pygi_marshal_from_py_uint64: Re-fix check of negative values
12493 Fix regression from commit 1bfcd5d94 (exposed by several test cases)
12497 https://bugzilla.gnome.org/show_bug.cgi?id=685000
12499 gi/pygi-marshal-from-py.c | 6 +++---
12500 1 file changed, 3 insertions(+), 3 deletions(-)
12502 commit 22c22124b787ae67638aff89796d7ce14900ea8e
12503 Author: Simon Feltman <s.feltman@gmail.com>
12504 Date: Mon Oct 8 05:54:30 2012 -0700
12506 Fix leak with python callables as closure argument.
12508 The fix adds an extra args_data list to the PyGIInvokeState
12509 structure. This list is used to track dynamically generated
12510 closures that wrap python callables. This allows the ffi closure
12511 and python callable to be freed when call scope has finished.
12513 https://bugzilla.gnome.org/show_bug.cgi?id=685598
12515 gi/pygi-cache.c | 1 +
12516 gi/pygi-closure.c | 41 +++++++++----
12517 gi/pygi-invoke-state-struct.h | 4 ++
12518 gi/pygi-invoke.c | 7 +++
12519 gi/pygi-marshal-cleanup.c | 14 +++++
12520 gi/pygi-marshal-cleanup.h | 4 ++
12521 gi/pygi-marshal-from-py.c | 57 ++++++++++++++----
12522 tests/test_everything.py | 137
12523 +++++++++++++++++++++++++++++++-----------
12524 8 files changed, 206 insertions(+), 59 deletions(-)
12526 commit c0bc69906df2db64560f7c054277ad1956aab57f
12527 Author: Martin Pitt <martinpitt@gnome.org>
12528 Date: Thu Oct 11 17:49:30 2012 +0200
12530 Gio overrides: Handle setting GSettings enum keys
12532 https://bugzilla.gnome.org/show_bug.cgi?id=685947
12534 gi/overrides/Gio.py | 9 ++++++++-
12535 tests/test_overrides_gio.py | 3 +++
12536 2 files changed, 11 insertions(+), 1 deletion(-)
12538 commit bbbb7c9ed047a22ac3c43f2b0331d3b5ea32e812
12539 Author: Martin Pitt <martinpitt@gnome.org>
12540 Date: Thu Oct 11 17:20:38 2012 +0200
12542 tests: Check reading GSettings enums in Gio overrides
12544 Also split test_override() into several smaller test cases.
12546 tests/org.gnome.test.gschema.xml | 9 +++++++++
12547 tests/test_overrides_gio.py | 14 +++++++++-----
12548 2 files changed, 18 insertions(+), 5 deletions(-)
12550 commit 8a2e96cd4e33b6c119a368d73a9d5504576cdccb
12551 Author: Martin Pitt <martinpitt@gnome.org>
12552 Date: Thu Oct 11 16:08:11 2012 +0200
12554 Fix unsigned values in GArray/GList/GSList/GHash
12556 _pygi_hash_pointer_to_arg() needs to handle unsigned integers as well.
12558 https://bugzilla.gnome.org/show_bug.cgi?id=685860
12560 gi/pygi-argument.c | 9 +++++++++
12561 tests/test_gi.py | 12 ++++++++++++
12562 2 files changed, 21 insertions(+)
12564 commit d394acbb58b38e6f52ee71e8e663a892676ab9e4
12565 Author: Colin Walters <walters@verbum.org>
12566 Date: Thu Oct 4 20:13:55 2012 -0400
12568 build: Fix srcdir != builddir
12571 1 file changed, 1 insertion(+), 1 deletion(-)
12573 commit 1bfcd5d94b71edc9f03c8b3e87952a8bc8097586
12574 Author: Alban Browaeys <prahal@yahoo.com>
12575 Date: Thu Sep 27 22:44:22 2012 +0200
12577 _pygi_marshal_from_py_uint64(): Use correct data type in py2.7 check
12579 Casting an unsigned to signed and checking if positive was not
12581 unsigned 64 is below G_MAXUINT64 instead.
12583 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=685000
12585 gi/pygi-marshal-from-py.c | 4 ++--
12586 1 file changed, 2 insertions(+), 2 deletions(-)
12588 commit f0870336b9fc7797895f206e0d3ef17a19efe253
12589 Author: Johan Dahlin <johan@gnome.org>
12590 Date: Tue Oct 2 05:30:16 2012 -0700
12592 Install an .egg-info file
12594 This will help easy_install and pip to figure out that PyGObject
12595 is already installed.
12597 https://bugzilla.gnome.org/show_bug.cgi?id=680138
12599 Makefile.am | 13 ++++++++-----
12600 1 file changed, 8 insertions(+), 5 deletions(-)
12602 commit 4c9318d97aa34051a0460e8db2ed0f963126b7f5
12603 Author: Johan Dahlin <johan@gnome.org>
12604 Date: Thu Oct 4 09:42:41 2012 +0200
12606 PyGProps_getattro(): Fix GObjectClass leak
12608 https://bugzilla.gnome.org/show_bug.cgi?id=685218
12610 gi/_gobject/pygobject.c | 4 +++-
12611 1 file changed, 3 insertions(+), 1 deletion(-)
12613 commit 2aa61520eb4f293ce94d54605d7642a39e18e03d
12614 Author: Olivier Crête <olivier.crete@collabora.com>
12615 Date: Mon Sep 17 15:16:32 2012 -0400
12617 pygobject.c: Don't leak GObjectClass reference
12619 https://bugzilla.gnome.org/show_bug.cgi?id=684062
12621 gi/_gobject/pygobject.c | 6 +++++-
12622 1 file changed, 5 insertions(+), 1 deletion(-)
12624 commit 43d356d03d4c83e9de3c56f98a70d387b46f17af
12625 Author: Alban Browaeys <prahal@yahoo.com>
12626 Date: Sat Sep 29 01:17:14 2012 +0200
12628 Fix memory leak in _pygi_argument_to_array()
12630 Length arg and type info need to be unref'ed.
12632 https://bugzilla.gnome.org/show_bug.cgi?id=685082
12634 gi/pygi-argument.c | 3 +++
12635 1 file changed, 3 insertions(+)
12637 commit 34270a109d2af20391c80e88874ee7303eaf5c09
12638 Author: Martin Pitt <martinpitt@gnome.org>
12639 Date: Fri Sep 28 07:42:51 2012 +0200
12641 Fix error messages for out of range numbers
12643 PyErr_Format() does not understand %lli and %li, it needs to be %lld
12645 So we cannot use those and G_GINT64_FORMAT.
12647 Also remove the "if (long_ < G_MININT64 || long_ > G_MAXINT64)"
12649 is a gint64 which can't possibly overflow its own data type. It
12651 an unprintable error message.
12653 https://bugzilla.gnome.org/show_bug.cgi?id=684314
12655 gi/pygi-marshal-from-py.c | 21 ++++++++-------------
12656 1 file changed, 8 insertions(+), 13 deletions(-)
12658 commit 7f1422bf929976722edd6144beb0b4c96d74391b
12659 Author: Martin Pitt <martinpitt@gnome.org>
12660 Date: Fri Sep 28 06:59:38 2012 +0200
12662 Kill dbus-daemon after running tests
12664 dbus-launch does not kill the spawned dbus-daemon by itself (see
12665 https://bugs.freedesktop.org/show_bug.cgi?id=39196), so do that
12667 our tests. Take care to preserve the exit code.
12669 https://bugzilla.gnome.org/show_bug.cgi?id=685009
12671 tests/Makefile.am | 5 ++++-
12672 1 file changed, 4 insertions(+), 1 deletion(-)
12674 commit bfd9c8fac1ea240b29fbcd4185dc1702539c1e96
12675 Author: Martin Pitt <martinpitt@gnome.org>
12676 Date: Thu Sep 27 08:18:34 2012 +0200
12678 GVariant overrides: Support empty tuple arrays
12680 Implement the "empty value" branch in _create_tuple(), so that
12682 can call it for parsing the element type for an empty array.
12684 This fixes creating variants such as GLib.Variant('a(ii)', []).
12686 https://bugzilla.gnome.org/show_bug.cgi?id=684928
12688 gi/overrides/GLib.py | 30 +++++++++++++++++++++++-------
12689 tests/test_overrides_glib.py | 31 +++++++++++++++++++++++++++++++
12690 2 files changed, 54 insertions(+), 7 deletions(-)
12692 commit 75d452ea5b179c3585adcf95356b4316c9180768
12693 Author: Martin Pitt <martinpitt@gnome.org>
12694 Date: Thu Sep 27 06:50:12 2012 +0200
12696 TestGVariant: Split creation test case into several smaller ones
12698 tests/test_overrides_glib.py | 20 ++++++--------------
12699 1 file changed, 6 insertions(+), 14 deletions(-)
12701 commit 4a20bcb3f97614044d351f8e436a81d332db55ba
12702 Author: Martin Pitt <martinpitt@gnome.org>
12703 Date: Tue Sep 25 09:10:10 2012 +0200
12705 Fix unused variables and results
12707 This gets rid of all warnings except the deprecated symbol ones.
12709 gi/_glib/pygiochannel.c | 9 +++------
12710 gi/pygi-argument.c | 4 +---
12711 gi/pygi-callbacks.c | 4 ----
12712 gi/pygi-ccallback.c | 1 -
12713 gi/pygi-repository.c | 3 +--
12714 5 files changed, 5 insertions(+), 16 deletions(-)
12716 commit 5285f14fee93d2729d4422c40a945adc2be69c14
12717 Author: Martin Pitt <martinpitt@gnome.org>
12718 Date: Tue Sep 25 08:56:20 2012 +0200
12720 tests: Fix wrong return type in test_int64_callback()
12722 https://bugzilla.gnome.org/show_bug.cgi?id=684700
12724 tests/testhelpermodule.c | 2 +-
12725 1 file changed, 1 insertion(+), 1 deletion(-)
12727 commit e14ebab6099d082466ec11ca21d44de0d6017216
12728 Author: Giovanni Campagna <gcampagna@src.gnome.org>
12729 Date: Wed Sep 19 00:10:57 2012 +0200
12731 Fix GValue marshalling of long and unsigned long
12733 long can be equivalent to int64 or int32, depending on the
12735 and GI conflates this distinction in the typelib, but GType does
12737 warns if the wrong accessor is used.
12739 https://bugzilla.gnome.org/show_bug.cgi?id=684331
12741 gi/pygi-argument.c | 25 +++++++++++++++++++++----
12742 1 file changed, 21 insertions(+), 4 deletions(-)
12744 commit 50571dd27d1f7c6bed8c5aaa518b504c9f4c4ab6
12745 Author: Simon Feltman <s.feltman@gmail.com>
12746 Date: Wed Sep 19 19:07:00 2012 -0700
12748 Clean up deprecation message for assigning gpointers to objects.
12750 The previous deprecation message was worded as if the deprecation
12751 had already occurred and it has not.
12753 https://bugzilla.gnome.org/show_bug.cgi?id=683599
12755 gi/pygi-info.c | 4 ++--
12756 1 file changed, 2 insertions(+), 2 deletions(-)
12758 commit 4bfe7972546413f46f5c36737ff03bb5612c1921
12759 Author: Olivier Crête <olivier.crete@collabora.com>
12760 Date: Tue Sep 18 08:52:02 2012 +0200
12762 pygi-property: Lookup property in base classes of non-introspected
12765 Look for introspection data in the base classes of non-introspected
12767 This is necessary to look up introspection data for plugins.
12769 https://bugzilla.gnome.org/show_bug.cgi?id=684058
12771 gi/pygi-property.c | 28 ++++++++++++++--------------
12772 tests/test_everything.py | 12 ++++++++++++
12773 2 files changed, 26 insertions(+), 14 deletions(-)
12775 commit 7aa94cc861082147b9c382b930f3257f0a842c84
12776 Author: Martin Pitt <martinpitt@gnome.org>
12777 Date: Mon Sep 24 09:41:10 2012 +0200
12779 post-release bump to 3.4.1
12781 configure.ac | 2 +-
12782 1 file changed, 1 insertion(+), 1 deletion(-)
12784 commit fcceed3adb8d78baba68861a1408627321b2c1ef
12785 Author: Martin Pitt <martinpitt@gnome.org>
12786 Date: Mon Sep 24 09:35:33 2012 +0200
12791 configure.ac | 4 ++--
12792 2 files changed, 5 insertions(+), 2 deletions(-)
12794 commit 645a9d9d4712f8f0d1b63899b309bbc97eb1f216
12795 Author: Martin Pitt <martinpitt@gnome.org>
12796 Date: Mon Sep 24 09:27:47 2012 +0200
12798 Bump g-i dependency to 1.33.14
12800 To ensure we have all the Regress test APIs that we use.
12802 configure.ac | 2 +-
12803 1 file changed, 1 insertion(+), 1 deletion(-)
12805 commit b6f4ef327fbeaa10fd74571c3df540311834d6ae
12806 Author: Martin Pitt <martinpitt@gnome.org>
12807 Date: Mon Sep 17 22:52:49 2012 +0200
12809 post-release bump to 3.3.93
12811 configure.ac | 2 +-
12812 1 file changed, 1 insertion(+), 1 deletion(-)
12814 commit 7e154cf01cf0ce7a8b52c45ba4db755f73b45d1d
12815 Author: Martin Pitt <martinpitt@gnome.org>
12816 Date: Mon Sep 17 22:48:13 2012 +0200
12820 NEWS | 12 ++++++++++++
12821 1 file changed, 12 insertions(+)
12823 commit adbe30dc72b4d88bb31055f6ee33fddf32638af9
12824 Author: Martin Pitt <martinpitt@gnome.org>
12825 Date: Mon Sep 17 22:32:55 2012 +0200
12827 release-news: Generate HTML changelog
12829 In addition to producing a NEWS paragraph from the changelog,
12831 changelog HTML which can be put into blog announcements.
12833 Update HACKING to point this out, too.
12836 Makefile.am | 22 ++++++++++++++++------
12837 2 files changed, 17 insertions(+), 7 deletions(-)
12839 commit be4a0682bdd189ee908ab1961001f759a80e133c
12840 Author: Simon Feltman <s.feltman@gmail.com>
12841 Date: Sun Sep 16 17:27:25 2012 -0700
12843 [API add] Add ObjectInfo.get_abstract method
12845 Adds exposure of g_object_info_get_abstract to python for
12846 helping with analysis of non-constructable objects from
12849 https://bugzilla.gnome.org/show_bug.cgi?id=675581
12851 gi/pygi-info.c | 8 ++++++++
12852 tests/test_gi.py | 12 ++++++++++++
12853 2 files changed, 20 insertions(+)
12855 commit 3ada408434860d0c8eee6c6a869b5a3d801cfbc8
12856 Author: Simon Feltman <s.feltman@gmail.com>
12857 Date: Thu Sep 13 20:53:22 2012 -0700
12859 Add deprecation warning when setting gpointers to anything other
12862 This is a first pass which does not change anything except add
12864 when anything other than an int is set on a gpointer on a boxed type.
12866 https://bugzilla.gnome.org/show_bug.cgi?id=683599
12868 gi/pygi-info.c | 8 ++++++++
12869 1 file changed, 8 insertions(+)
12871 commit a047f61f26d9c78b82d22948199313e5a389e918
12872 Author: Martin Pitt <martinpitt@gnome.org>
12873 Date: Mon Sep 17 09:41:24 2012 +0200
12875 test_properties: Test accessing a property from a superclass
12877 We already cover accessing the superclass' property if that was
12879 Python. Add a corresponding test case for a property defined in C.
12881 See https://bugzilla.gnome.org/show_bug.cgi?id=684058
12883 tests/test_properties.py | 12 ++++++++++++
12884 1 file changed, 12 insertions(+)
12886 commit 3e6a4000cbc4b0cb503fcd89b50202ed0b70d3a7
12887 Author: Martin Pitt <martinpitt@gnome.org>
12888 Date: Mon Sep 17 09:31:05 2012 +0200
12890 test_properties.py: Consistent test names
12892 Use underscore style method/test case names consistently. Also rename
12894 cases to better describe what they do.
12896 tests/test_properties.py | 78
12897 ++++++++++++++++++++++++------------------------
12898 1 file changed, 39 insertions(+), 39 deletions(-)
12900 commit 4069c3d8547f35437e0cee175a5912febe25326d
12901 Author: Martin Pitt <martinpitt@gnome.org>
12902 Date: Wed Sep 12 06:51:24 2012 +0200
12904 test_everything: Ensure TestSignals callback does get called
12906 tests/test_everything.py | 3 +++
12907 1 file changed, 3 insertions(+)
12909 commit 4e4c87e3868948743e0446abe2ba0cf5626374c4
12910 Author: Nicolas Dufresne <nicolas.dufresne@collabora.com>
12911 Date: Fri Sep 7 17:17:09 2012 -0400
12913 argument: Fix 64bit integer convertion from GValue
12915 Trying to get a 64bit integer using the wrong getter was resulting
12917 assertion and 0 being returned.
12919 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
12921 https://bugzilla.gnome.org/show_bug.cgi?id=683596
12923 gi/pygi-argument.c | 8 ++++++--
12924 tests/test_everything.py | 52
12925 ++++++++++++++++++++++++++++++++++++++++++++++++
12926 2 files changed, 58 insertions(+), 2 deletions(-)
12928 commit e474ce243ea7a58358af344ccadb1418f4d2c8eb
12929 Author: Martin Pitt <martinpitt@gnome.org>
12930 Date: Tue Sep 11 12:32:10 2012 +0200
12932 Add Simon Feltman as a project maintainer
12934 Signed-off-By: Martin Pitt <martinpitt@gnome.org>
12935 Signed-off-By: Paolo Borelli <pborelli@gnome.org>
12937 pygobject.doap | 7 +++++++
12938 1 file changed, 7 insertions(+)
12940 commit ee1fc78258f10e8a7872ee3da6c9ad6e7984706e
12941 Author: Martin Pitt <martinpitt@gnome.org>
12942 Date: Tue Sep 11 10:17:50 2012 +0200
12944 test_signals.py: Drop global type variables
12946 Just use the real types and flags from GObject instead of redefining
12948 for them. They weren't used consistently, make the tests harder to
12950 really do not want global single-letter variables like "f" and "l".
12952 tests/test_signal.py | 38 ++++++++++++++++----------------------
12953 1 file changed, 16 insertions(+), 22 deletions(-)
12955 commit 3688cf6efe7161585b943cfaafcfd4610b7ad768
12956 Author: Martin Pitt <martinpitt@gnome.org>
12957 Date: Tue Sep 11 10:11:58 2012 +0200
12959 test_signals.py: Consistent test names
12961 Use underscore style method/test case names consistently.
12963 tests/test_signal.py | 88
12964 ++++++++++++++++++++++++++--------------------------
12965 1 file changed, 44 insertions(+), 44 deletions(-)
12967 commit 4559247553b792db956f69c9674c12344d719c82
12968 Author: Martin Pitt <martinpitt@gnome.org>
12969 Date: Tue Sep 11 09:43:14 2012 +0200
12971 Add test cases for GValue signal arguments
12973 These cover various types, (u)int(64) and string.
12975 Keep the test case for implicit int64 GValues disabled, as this
12977 not work and it is not clear whether it should:
12978 https://bugzilla.gnome.org/show_bug.cgi?id=683775
12980 tests/test_signal.py | 41 +++++++++++++++++++++++++++++++++++++++++
12981 tests/testhelpermodule.c | 17 +++++++++++++++++
12982 2 files changed, 58 insertions(+)
12984 commit fddb01b0b71b68d154d130cf40fd5f38647b1a4d
12985 Author: Martin Pitt <martinpitt@gnome.org>
12986 Date: Tue Sep 11 09:31:18 2012 +0200
12988 Add test for GValue signal return values
12990 Another attempt to reproduce the reported error in
12991 https://bugzilla.gnome.org/show_bug.cgi?id=683596
12992 but this works already.
12994 tests/test_signal.py | 13 +++++++++++++
12995 tests/testhelpermodule.c | 36 ++++++++++++++++++++++++++++++++++++
12996 2 files changed, 49 insertions(+)
12998 commit 4f77c7798563ea436ff5b6306a987f03de50b211
12999 Author: Simon Feltman <s.feltman@gmail.com>
13000 Date: Fri Sep 7 02:32:15 2012 -0700
13002 Improve setting pointer fields/arguments to NULL using None
13004 Setting gi pointers will set them to the address of the python object.
13005 This is good except in the case of None which should be used to NULL
13006 the pointer out as a special case.
13008 Commit 21b1d17d2a already fixed this. This improved patch
13009 does that in a cleaner and safer way and adds more comments.
13011 https://bugzilla.gnome.org/show_bug.cgi?id=683150
13013 gi/pygi-argument.c | 8 +-------
13014 gi/pygi-info.c | 14 +++++++++++++-
13015 2 files changed, 14 insertions(+), 8 deletions(-)
13017 commit 15046b5a11f6c58a3e5a9c50cf0ce7f31f2cd55f
13018 Author: Martin Pitt <martinpitt@gnome.org>
13019 Date: Mon Sep 10 16:46:30 2012 +0200
13021 Test gint64 C signal arguments and return values
13023 tests/test_signal.py | 12 ++++++++++++
13024 tests/testhelpermodule.c | 14 ++++++++++++++
13025 2 files changed, 26 insertions(+)
13027 commit 822d9e07a95f706a40f64335765293542787da90
13028 Author: Martin Pitt <martinpitt@gnome.org>
13029 Date: Mon Sep 10 16:29:32 2012 +0200
13031 Test in/out int64 GValue method arguments.
13033 See https://bugzilla.gnome.org/show_bug.cgi?id=683596
13035 tests/test_gi.py | 9 +++++++++
13036 1 file changed, 9 insertions(+)
13038 commit 2d83e52233812618493af4b165615e8741ba41c8
13039 Author: Martin Pitt <martinpitt@gnome.org>
13040 Date: Wed Sep 5 08:54:53 2012 +0200
13042 Bump g-i dependency to 1.33.10
13044 To ensure we have all the Regress test APIs that we use.
13046 configure.ac | 2 +-
13047 1 file changed, 1 insertion(+), 1 deletion(-)
13049 commit 6a4f4dc9a3d21c3ac8a0aa51432fb8952b4e1ebf
13050 Author: Thibault Saunier <thibault.saunier@collabora.com>
13051 Date: Wed Aug 8 12:57:41 2012 -0400
13053 Fix -uninstalled.pc.in file
13055 https://bugzilla.gnome.org/show_bug.cgi?id=683379
13057 pygobject-3.0-uninstalled.pc.in | 6 +++---
13058 1 file changed, 3 insertions(+), 3 deletions(-)
13060 commit d8f1398dbc7fa7803639c542a607f24f18614ad6
13061 Author: Martin Pitt <martinpitt@gnome.org>
13062 Date: Mon Sep 3 22:16:47 2012 +0200
13064 post-release bump to 3.3.92
13066 configure.ac | 2 +-
13067 1 file changed, 1 insertion(+), 1 deletion(-)
13069 commit ea992324b8197b2d04ff2849b9ab46f8a04b4ed7
13070 Author: Martin Pitt <martinpitt@gnome.org>
13071 Date: Mon Sep 3 22:04:01 2012 +0200
13075 NEWS | 32 ++++++++++++++++++++++++++++++++
13076 1 file changed, 32 insertions(+)
13078 commit 1e1f5b2f2f15547c1f2cbc948d2b764bd0a37c44
13079 Author: Martin Pitt <martinpitt@gnome.org>
13080 Date: Mon Sep 3 21:57:00 2012 +0200
13082 Fix exception test case for Python 2
13084 Regression from commit 77844c5 which did not work with Python 2.
13086 tests/test_everything.py | 12 +++++++-----
13087 1 file changed, 7 insertions(+), 5 deletions(-)
13089 commit 41bb687c058e08b05108b4b2f081cd83d4f93da8
13090 Author: Martin Pitt <martinpitt@gnome.org>
13091 Date: Mon Sep 3 21:16:01 2012 +0200
13093 Bump g-i dependency
13095 Require at least 1.33.9, as we got a couple of bug fixes there which
13097 and for some cases the code, depend on. We actually require 1.33.10
13099 tests to succeed, but that hasn't been released yet.
13101 configure.ac | 2 +-
13102 1 file changed, 1 insertion(+), 1 deletion(-)
13104 commit 77844c571ad0badc189428b93de9f2572051b67e
13105 Author: Martin Pitt <martinpitt@gnome.org>
13106 Date: Mon Sep 3 17:58:38 2012 +0200
13108 Show proper exception when trying to allocate a disguised struct
13110 Instead of a simple "MemoryError" with no details, raise a proper
13111 TypeError with a traceback and an explanation what happened.
13113 https://bugzilla.gnome.org/show_bug.cgi?id=639972
13115 gi/pygi-struct.c | 7 +++++++
13116 tests/test_everything.py | 13 +++++++++++++
13117 2 files changed, 20 insertions(+)
13119 commit 0d099bdb3f4bbd962e5e60b583673d9e6f5673cc
13120 Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
13121 Date: Mon Sep 3 16:47:22 2012 +0200
13123 Support marshalling GParamSpec signal arguments
13125 Fix marshalling GParamSpec arguments from C to Python.
13127 https://bugzilla.gnome.org/show_bug.cgi?id=683099
13129 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
13131 gi/pygi-argument.c | 10 +++++++++-
13132 tests/test_signal.py | 14 ++++++++++++++
13133 2 files changed, 23 insertions(+), 1 deletion(-)
13135 commit 69fb92c22b3f3d1d5e8c3e14134eee3242fdc5fc
13136 Author: Martin Pitt <martinpitt@gnome.org>
13137 Date: Mon Sep 3 16:06:49 2012 +0200
13139 Add test for a signal that returns a GParamSpec
13141 https://bugzilla.gnome.org/show_bug.cgi?id=683265
13143 tests/test_signal.py | 6 ++++++
13144 tests/testhelpermodule.c | 12 ++++++++++++
13145 2 files changed, 18 insertions(+)
13147 commit a7c524219987fbf37e455a91e4c78d2b9b4db12d
13148 Author: Simon Feltman <s.feltman@gmail.com>
13149 Date: Tue Mar 20 04:33:50 2012 -0700
13151 [API add] Add Signal class for adding and connecting custom signals.
13153 The Signal class provides easy creation of signals and removes the
13154 need for __gsignals__ in client code. The Signal class can also be
13155 used as a decorator for wrapping up the custom closure. As well as
13156 providing a "BoundSignal" when accessed on an instance for making
13157 connections without specifying a signal name string.
13158 Python3 annotations can also be used to supply closure argument and
13159 return types when Signal is used as a decorator. For example:
13161 class Eggs(GObject.GObject):
13163 def spam(self, count:int):
13166 https://bugzilla.gnome.org/show_bug.cgi?id=434924
13168 examples/signal.py | 34 ++++--
13169 gi/_gobject/Makefile.am | 3 +-
13170 gi/_gobject/__init__.py | 5 +
13171 gi/_gobject/signalhelper.py | 251
13172 ++++++++++++++++++++++++++++++++++++++++++++
13173 tests/test_signal.py | 208 ++++++++++++++++++++++++++++++++++--
13174 5 files changed, 482 insertions(+), 19 deletions(-)
13176 commit 96fa22369fd188465559fc904c7f76e73040e6dd
13177 Author: Martin Pitt <martinpitt@gnome.org>
13178 Date: Mon Sep 3 15:32:12 2012 +0200
13180 Fix pygtkcompat's Gtk.TreeView.insert_column_with_attributes()
13182 We have a proper implementation for insert_column_with_attributes()
13184 drop pygtkcompat's empty stub for it.
13186 Also improve test case for
13187 Gtk.TreeView.insert_column_with_attributes().
13189 gi/pygtkcompat.py | 6 ------
13190 tests/test_overrides_gtk.py | 16 ++++++++--------
13191 2 files changed, 8 insertions(+), 14 deletions(-)
13193 commit 542cf22c9de9b2094868c4e879b0f24b15c4c012
13194 Author: Marta Maria Casetti <mmcasetti@gmail.com>
13195 Date: Mon Sep 3 13:06:22 2012 +0200
13197 Add override for Gtk.TreeView.insert_column_with_attributes()
13199 https://bugzilla.gnome.org/show_bug.cgi?id=679415
13201 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
13203 gi/overrides/Gtk.py | 7 +++++++
13204 tests/test_overrides_gtk.py | 38 ++++++++++++++++++++++++++++++++++++++
13205 2 files changed, 45 insertions(+)
13207 commit 1c73e845361e471b1c3a3f17e40e6a6cfa740877
13208 Author: Martin Pitt <martinpitt@gnome.org>
13209 Date: Mon Sep 3 11:09:55 2012 +0200
13211 .gitignore: Add missing built files
13213 .gitignore | 9 +++++++--
13214 1 file changed, 7 insertions(+), 2 deletions(-)
13216 commit 96431f393036a688666dcf67911bf12b9824b264
13217 Author: Martin Pitt <martinpitt@gnome.org>
13218 Date: Mon Sep 3 11:07:32 2012 +0200
13220 Ship tests/gi in tarball
13222 Spotted by distcheck.
13224 tests/Makefile.am | 6 +++++-
13225 1 file changed, 5 insertions(+), 1 deletion(-)
13227 commit dc2c6e6f60d2757462cbceef6176b0b3013904d3
13228 Author: Martin Pitt <martinpitt@gnome.org>
13229 Date: Mon Sep 3 10:18:45 2012 +0200
13231 Fix separate build tree and distcheck
13233 Fix regression from c7c95a79: We must set sys.path in runtests.py
13235 cannot rely on setting $PYTHONPATH from Makefile.am only. Python
13237 prepends the directory of the source file to sys.path, but that
13239 source dir, not the build dir. The build dir has to take precedence,
13241 we fail to import the built libraries.
13243 tests/runtests-windows.py | 10 +++++++---
13244 tests/runtests.py | 13 ++++++++-----
13245 2 files changed, 15 insertions(+), 8 deletions(-)
13247 commit 2d8f48f4ff56bb75985136452b50b75895258608
13248 Author: Martin Pitt <martinpitt@gnome.org>
13249 Date: Mon Sep 3 07:57:01 2012 +0200
13251 Split test_overrides.py
13253 Split the huge test_overrides.py into separate files for gdk, gtk,
13255 and pango. Further split the monolithic classes for Gtk and Gio
13259 https://bugzilla.gnome.org/show_bug.cgi?id=683188
13261 tests/Makefile.am | 5 +
13262 tests/test_overrides.py | 2198
13263 +----------------------------------------
13264 tests/test_overrides_gdk.py | 119 +++
13265 tests/test_overrides_gio.py | 114 +++
13266 tests/test_overrides_glib.py | 445 +++++++++
13267 tests/test_overrides_gtk.py | 1517 ++++++++++++++++++++++++++++
13268 tests/test_overrides_pango.py | 32 +
13269 7 files changed, 2234 insertions(+), 2196 deletions(-)
13271 commit 1223358e2c558dd7ac3300126f989054ec5a5b3f
13272 Author: Martin Pitt <martinpitt@gnome.org>
13273 Date: Mon Sep 3 07:17:57 2012 +0200
13275 _pygi_argument_to_object(): Clean up array unmarshalling
13277 The NULL case is already handled at the top, so it does not need to be
13280 Emit a critical if we fail to allocate a Python array of the
13283 gi/pygi-argument.c | 47 ++++++++++++++++-------------------------------
13284 1 file changed, 16 insertions(+), 31 deletions(-)
13286 commit 65bfbc624bc9da6e18ff2945b14099ab8eeb7601
13287 Author: Alban Browaeys <prahal@yahoo.com>
13288 Date: Wed Aug 29 21:24:17 2012 +0200
13290 Fix memory leak in _pygi_argument_to_object()
13292 Avoid leaking the item_type_info when breaking out of the
13293 switch in _pygi_argument_to_object() for unmarshalling arrays.
13295 https://bugzilla.gnome.org/show_bug.cgi?id=682979
13297 gi/pygi-argument.c | 4 ++++
13298 1 file changed, 4 insertions(+)
13300 commit 21b1d17d2ada2edf4063a4262b3436c279da3dc2
13301 Author: Simon Feltman <s.feltman@gmail.com>
13302 Date: Sat Sep 1 03:40:31 2012 -0700
13304 Fix setting pointer fields/arguments to NULL using None.
13306 Setting gi pointers will set them to the address of the python object.
13307 This is good except in the case of None which should be used to NULL
13308 the pointer out as a special case.
13310 https://bugzilla.gnome.org/show_bug.cgi?id=683150
13312 gi/pygi-argument.c | 8 +++++++-
13313 tests/test_overrides.py | 41 +++++++++++++++++++++++++++++++++++++++++
13314 2 files changed, 48 insertions(+), 1 deletion(-)
13316 commit 6123e6f5001ca5eaea18123d8a53525abab31a45
13317 Author: Martin Pitt <martinpitt@gnome.org>
13318 Date: Thu Aug 23 06:44:27 2012 +0200
13320 Fix for python 2.6, drop support for < 2.6
13322 Replace sys.version_info.major access to tuple access which also
13326 When building for Python 2.6, inject some missing unittest API such as
13327 @unittest.skipUnless and assertGreaterEqual() into the unittest
13329 runtests.py, so that the tests have a chance to run.
13331 As building with Python 2.5 has been broken for a long time with
13333 complaining, and 2.5 is ancient, bump minimum Python requirement to
13335 obsolete #ifdef paths which only apply to <= 2.5.
13337 https://bugzilla.gnome.org/show_bug.cgi?id=682422
13339 configure.ac | 2 +-
13340 gi/_glib/pyglib-python-compat.h | 8 --------
13341 gi/_gobject/gobjectmodule.c | 8 --------
13342 gi/module.py | 2 +-
13343 tests/runtests.py | 27 +++++++++++++++++++++++++++
13344 tests/test_gi.py | 2 +-
13345 6 files changed, 30 insertions(+), 19 deletions(-)
13347 commit b1a9848a7a7255e6b1ccd98712dd62b1514078b9
13348 Author: Thibault Saunier <thibault.saunier@collabora.com>
13349 Date: Tue Aug 21 07:54:09 2012 +0200
13351 Allow overrides in other directories than gi itself
13353 Use pkgutil.extend_path() for the gi and gi.overrides modules, so that
13354 libraries can install overrides in a path that is different from
13356 pygobject installs itself into. These overrides need to put this
13358 __init__.py at the top:
13360 from pkgutil import extend_path
13361 __path__ = extend_path(__path__, __name__)
13363 and put themselves somewhere into the default PYTHONPATH.
13365 https://bugzilla.gnome.org/show_bug.cgi?id=680913
13367 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
13368 Co-Authored-By: Simon Feltman <s.feltman@gmail.com>
13370 gi/__init__.py | 4 ++++
13371 gi/overrides/__init__.py | 4 ++++
13372 tests/gi/__init__.py | 2 ++
13373 tests/gi/overrides/Regress.py | 26 ++++++++++++++++++++++++++
13374 tests/gi/overrides/__init__.py | 2 ++
13375 tests/test_overrides.py | 6 ++++++
13376 6 files changed, 44 insertions(+)
13378 commit c7c95a795eee499373499ea5b771447746317bfb
13379 Author: Simon Feltman <s.feltman@gmail.com>
13380 Date: Thu Aug 23 06:03:09 2012 +0200
13382 Clean up sys.path handling in tests
13384 Only set sys.path once in runtests.py, not in the individual test
13386 reduces hidden dependencies between tests by building up a run
13388 search path, and also makes it easier in the future to run the
13390 the installed system libraries.
13392 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=680913
13394 tests/runtests-windows.py | 6 +++++-
13395 tests/runtests.py | 3 +++
13396 tests/test_everything.py | 1 -
13397 tests/test_gdbus.py | 3 ---
13398 tests/test_overrides.py | 3 ---
13399 tests/test_pygtkcompat.py | 3 ---
13400 6 files changed, 8 insertions(+), 11 deletions(-)
13402 commit 3e3525e93d852cde0f63e835b774a9b004773c69
13403 Author: Simon Feltman <s.feltman@gmail.com>
13404 Date: Sun Aug 19 02:30:39 2012 -0700
13406 Fix dynamic creation of enum and flag gi types for Python 3.3
13408 Importing Gtk was crashing on instantiation of dynamic Enum and Flag
13409 subclasses due to what looks to be an unsupported technique. Change
13410 tp_new() method for classes dynamically derived from PyGEnum_Type and
13411 PyGFlags_Type to call PyLong_Type.tp_new() instead of attempting
13413 __new__() as a python method. This technique seems to work with all
13414 versions of python so the previous python version checking also became
13417 https://bugzilla.gnome.org/show_bug.cgi?id=682323
13419 gi/_gobject/pygenum.c | 29 ++++++++++++++++-------------
13420 gi/_gobject/pygflags.c | 21 +++++++++------------
13421 2 files changed, 25 insertions(+), 25 deletions(-)
13423 commit dd31b67e821f92b5f1c2ee0382cac5edd477cd11
13424 Author: Paolo Borelli <pborelli@gnome.org>
13425 Date: Wed Aug 22 10:45:39 2012 +0200
13427 [API add] Override g_menu_item_set_attribute
13429 This C utility API take a vararg, add a corresponding override that
13430 takes a list of tuples
13432 https://bugzilla.gnome.org/show_bug.cgi?id=682436
13434 gi/overrides/Gio.py | 10 ++++++++++
13435 tests/test_overrides.py | 11 +++++++++++
13436 2 files changed, 21 insertions(+)
13438 commit 836902801373e386d370c44e7487aac3432f19f6
13439 Author: Martin Pitt <martinpitt@gnome.org>
13440 Date: Mon Aug 20 23:37:40 2012 +0200
13442 post-release bump to 3.3.91
13444 configure.ac | 2 +-
13445 1 file changed, 1 insertion(+), 1 deletion(-)
13447 commit 6a629e23ff7b0d6f532184017577c7427d577e28
13448 Author: Martin Pitt <martinpitt@gnome.org>
13449 Date: Mon Aug 20 23:05:49 2012 +0200
13453 NEWS | 13 +++++++++++++
13454 configure.ac | 2 +-
13455 2 files changed, 14 insertions(+), 1 deletion(-)
13457 commit 5cd18c9bd59a60b930ced0b35d728c12bb3291c7
13458 Author: Mathieu Duponchelle <mathieu.duponchelle@epitech.eu>
13459 Date: Mon Aug 20 22:54:52 2012 +0200
13461 Implement marshalling for GParamSpec
13463 https://bugzilla.gnome.org/show_bug.cgi?id=681565
13465 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
13467 gi/pygi-marshal-to-py.c | 16 ++++++++++++----
13468 tests/test_gi.py | 14 ++++++++++++++
13469 2 files changed, 26 insertions(+), 4 deletions(-)
13471 commit 16462de3f025f14706ec23fa9b3653feb66ad57f
13472 Author: Martin Pitt <martinpitt@gnome.org>
13473 Date: Mon Aug 20 15:24:10 2012 +0200
13475 Fix pep8/pyflakes invocation
13477 Fix regression from commit 1e056e4f4a: Do fail the tests if
13481 tests/Makefile.am | 4 ++--
13482 1 file changed, 2 insertions(+), 2 deletions(-)
13484 commit 1bee194274bcda9ba5f6751fa921218a92c8ac72
13485 Author: Simon Feltman <s.feltman@gmail.com>
13486 Date: Thu Aug 16 16:05:52 2012 -0700
13488 Fix erronous import statements for Python 3.3
13490 Update pygobject-external.h to use GType (which is what GTypeWrapper
13492 exposed as) instead of GTypeWrapper when attempting import.
13494 Catch ImportError around attempted imports of a typelibs override file
13495 which don't always exist (GObject...). This is a behavioural change in
13496 Python 3.3 (http://bugs.python.org/issue15715), but let's fix
13499 https://bugzilla.gnome.org/show_bug.cgi?id=682051
13501 gi/module.py | 7 +++++--
13502 gi/pygobject-external.h | 2 +-
13503 2 files changed, 6 insertions(+), 3 deletions(-)
13505 commit 1e056e4f4a19fd1139187467677c2592c2722290
13506 Author: Martin Pitt <martinpitt@gnome.org>
13507 Date: Mon Aug 20 11:52:08 2012 +0200
13509 Do not fail tests if pyflakes or pep8 are not installed
13511 These tools might not be desirable in restricted build environments or
13512 backports, and e. g. Fedora patches those out. So let the tests
13516 tests/Makefile.am | 4 ++--
13517 1 file changed, 2 insertions(+), 2 deletions(-)
13519 commit c219fa6da89a7d55c5c111751684aae6876a9fe3
13520 Author: Martin Pitt <martinpitt@gnome.org>
13521 Date: Mon Aug 20 11:42:47 2012 +0200
13523 gtk-demo: Fix some PEP-8 whitespace issues
13525 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 3 +--
13526 demos/gtk-demo/demos/dialogs.py | 2 +-
13527 demos/gtk-demo/demos/rotatedtext.py | 3 +--
13528 3 files changed, 3 insertions(+), 5 deletions(-)
13530 commit 0ac2a85cae368c046839b5619a96efc9e0b91ba3
13531 Author: Martin Pitt <martinpitt@gnome.org>
13532 Date: Mon Aug 20 11:38:50 2012 +0200
13534 test_overrides.py: Fix PEP8 whitespacing
13536 tests/test_overrides.py | 48
13537 +++++++++++++++++++++++++-----------------------
13538 1 file changed, 25 insertions(+), 23 deletions(-)
13540 commit 631a9cd05cbc7dc3d0f743a84b948ef7d93c0ed4
13541 Author: Martin Pitt <martinpitt@gnome.org>
13542 Date: Mon Aug 20 11:36:19 2012 +0200
13544 Ignore E124 pep8 error
13546 This is "closing bracket does not match visual indentation" which
13548 stupid. We do want the closing bracket at the same indentation level
13550 opening bracket, not the indentation level of the whole statement.
13552 tests/Makefile.am | 2 +-
13553 1 file changed, 1 insertion(+), 1 deletion(-)
13555 commit 266d37719bb54e6f04d23ff21bcceb9514e20ff2
13556 Author: David Malcolm <dmalcolm@redhat.com>
13557 Date: Mon Aug 20 11:27:52 2012 +0200
13559 Fix unmarshalling of gssize
13561 Do not assume that the v_int union member always corresponds to a
13563 is not true on big-endian 64 bit machines like ppc64, so add a new
13564 gi_argument_to_gssize() and use it properly.
13566 https://bugzilla.gnome.org/show_bug.cgi?id=680693
13567 https://bugzilla.redhat.com/show_bug.cgi?id=842880
13569 gi/pygi-argument.c | 53
13570 +++++++++++++++++++++++++++++++++++++++++++++---
13571 gi/pygi-argument.h | 1 +
13572 gi/pygi-closure.c | 2 +-
13573 gi/pygi-info.c | 4 ++--
13574 gi/pygi-signal-closure.c | 2 +-
13575 5 files changed, 55 insertions(+), 7 deletions(-)
13577 commit 1c5d497d3c354f4d02f1d4570df2c61d6f47300c
13578 Author: David Malcolm <dmalcolm@redhat.com>
13579 Date: Mon Aug 20 11:19:27 2012 +0200
13581 Fix various endianess errors
13583 Fix code which assumed little endian behaviour when mixing different
13585 ints, putting ints into pointers, etc.
13587 https://bugzilla.gnome.org/show_bug.cgi?id=680692
13588 https://bugzilla.redhat.com/show_bug.cgi?id=841596
13590 gi/pygi-argument.c | 64 +++++++++++++--
13591 gi/pygi-argument.h | 6 ++
13592 gi/pygi-cache.c | 2 +
13593 gi/pygi-closure.c | 57 ++++++++++++-
13594 gi/pygi-marshal-from-py.c | 203
13595 ++++++++++++++++++++++++++++++++++++----------
13596 gi/pygi-marshal-from-py.h | 3 +
13597 gi/pygi-marshal-to-py.c | 137 ++++++++++++++++++++++++-------
13598 7 files changed, 391 insertions(+), 81 deletions(-)
13600 commit ee6da6f1aa2cd6e55834f9edc17f785613d00031
13601 Author: Paolo Borelli <pborelli@gnome.org>
13602 Date: Wed Aug 15 13:16:11 2012 +0200
13604 Add unit test for the TreeModelSort override
13606 tests/test_overrides.py | 7 +++++++
13607 1 file changed, 7 insertions(+)
13609 commit 9f027daa5737107b5959964b699c0089aec8ab1e
13610 Author: Simon Feltman <s.feltman@gmail.com>
13611 Date: Thu Aug 9 03:33:06 2012 -0700
13613 Gtk overrides: Add TreeModelSort.__init__(self, model)
13615 This adds "model" as a required argument to TreeModelSort
13616 instead of it being a hidden keyword argument. This is needed
13617 because the model property is set to construct only and the
13618 default value of None/NULL makes the object useless anyhow.
13620 https://bugzilla.gnome.org/show_bug.cgi?id=681477
13622 gi/overrides/Gtk.py | 8 ++++++++
13623 1 file changed, 8 insertions(+)
13625 commit c8424c2bb19356679e250e73542682dd5f4c74a5
13626 Author: Manuel Quiñones <manuq@laptop.org>
13627 Date: Fri Aug 10 09:38:24 2012 -0300
13629 Convert Gtk.CellRendererState in the pygi-convert script
13631 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
13633 https://bugzilla.gnome.org/show_bug.cgi?id=681596
13635 pygi-convert.sh | 5 +++++
13636 1 file changed, 5 insertions(+)
13638 commit 54d829b34a0d32d852db370f61cc7f25c149f373
13639 Author: Paolo Borelli <pborelli@gnome.org>
13640 Date: Mon Aug 6 16:19:28 2012 +0200
13642 More updates to the HACKING file
13644 module-install has been replaced with 'ftpadmin install' and other
13648 HACKING | 26 ++++++++++----------------
13649 1 file changed, 10 insertions(+), 16 deletions(-)
13651 commit 0788880c6cf4070d3db09896c165fe470d2ec186
13652 Author: Paolo Borelli <pborelli@gnome.org>
13653 Date: Mon Aug 6 16:00:39 2012 +0200
13655 Post-release version bump to 3.3.6
13657 configure.ac | 2 +-
13658 1 file changed, 1 insertion(+), 1 deletion(-)
13660 commit 664403d953c3e07077d0db90bfae3b51c7f1767c
13661 Author: Paolo Borelli <pborelli@gnome.org>
13662 Date: Mon Aug 6 15:52:22 2012 +0200
13666 NEWS | 29 +++++++++++++++++++++++++++++
13667 1 file changed, 29 insertions(+)
13669 commit b748753a2a9af018001213e2e58c48d6c8bfadbd
13670 Author: Paolo Borelli <pborelli@gnome.org>
13671 Date: Mon Aug 6 15:44:32 2012 +0200
13673 Update HACKING file to mention "make release-news"
13675 HACKING | 7 +++----
13676 1 file changed, 3 insertions(+), 4 deletions(-)
13678 commit 587a0c33901383b891f8eb77351c17f06af20b4f
13679 Author: Paolo Borelli <pborelli@gnome.org>
13680 Date: Mon Aug 6 15:38:23 2012 +0200
13682 pygi-closure: remove unused variables
13684 These variables are assigned but never actually used
13686 gi/pygi-closure.c | 8 --------
13687 1 file changed, 8 deletions(-)
13689 commit dbc6df6aad7197fcf8721ade429baadd749f7069
13690 Author: Martin Pitt <martinpitt@gnome.org>
13691 Date: Fri Aug 3 07:13:55 2012 +0200
13693 tests: Do not break on Pango warnings
13695 In some restricted environments (like chroots) we sometimes get
13697 Pango when it cannot find an appropriate font. Do not make the tests
13701 tests/test_overrides.py | 4 ++++
13702 tests/test_pygtkcompat.py | 6 ++++++
13703 2 files changed, 10 insertions(+)
13705 commit 770e6abfd5bc5dad7d5f56a18f1ef63f9754ada9
13706 Author: Martin Pitt <martinpitt@gnome.org>
13707 Date: Fri Aug 3 06:45:48 2012 +0200
13709 Fix list marshalling on big-endian machines
13711 On big endian machines we cannot simply set e. g. GIArgument.v_int8
13713 GIArgument.v_pointer to be a correct representation. This needs to use
13714 GINT_TO_POINTER/GPOINTER_TO_INT properly, so use the already existing
13715 _pygi_hash_pointer_to_arg()/_pygi_arg_to_hash_pointer() methods
13717 to and from GList and GSList, and handle int8 and int16 as well.
13719 Part of porting pygobject to ppc64:
13720 https://bugzilla.redhat.com/show_bug.cgi?id=842880
13721 https://bugzilla.gnome.org/show_bug.cgi?id=680693
13723 gi/pygi-marshal-from-py.c | 48 ++++++++++++++++++++++++-----------------
13724 gi/pygi-marshal-to-py.c | 54
13725 +++++++++++++++++++++++++++--------------------
13726 2 files changed, 60 insertions(+), 42 deletions(-)
13728 commit b5cd13f47309ec26727b7574e33595a357602468
13729 Author: Colin Walters <walters@verbum.org>
13730 Date: Tue Jul 31 11:47:02 2012 -0400
13732 pygi-marshal: One more 32-bit -Werror=format fix
13734 gi/pygi-marshal-from-py.c | 6 +++---
13735 1 file changed, 3 insertions(+), 3 deletions(-)
13737 commit 526bf43691cb6ed908589312b1693a6389eba00c
13738 Author: Martin Pitt <martinpitt@gnome.org>
13739 Date: Tue Jul 31 17:14:37 2012 +0200
13741 Beautify class/interface type mismatch error messages
13743 Avoid saying "<unknown module>.int", just skip the module name
13744 completely if we do not have one.
13746 gi/pygi-marshal-from-py.c | 20 ++++++++++++--------
13747 1 file changed, 12 insertions(+), 8 deletions(-)
13749 commit 8fb18c62d9c7faff38df3886cb4289b618c81b85
13750 Author: Martin Pitt <martinpitt@gnome.org>
13751 Date: Tue Jul 31 13:13:21 2012 +0200
13753 Skip instead of fail tests which need Pango, Atk, Gdk, Gtk
13755 On initial jhbuild bootstrap or restricted environments, the Pango,
13757 and Gtk typelibs might not be available. Skip tests which need these
13759 failing the testsuite.
13761 tests/test_atoms.py | 7 ++++++-
13762 tests/test_everything.py | 9 ++++++++-
13763 tests/test_overrides.py | 32 ++++++++++++++++++++++++++------
13764 tests/test_pygtkcompat.py | 30 ++++++++++++++++++++----------
13765 4 files changed, 60 insertions(+), 18 deletions(-)
13767 commit a2e73c109f3ed6080eabc85810e624b9f984317e
13768 Author: Colin Walters <walters@verbum.org>
13769 Date: Tue Jul 31 09:02:24 2012 -0400
13771 pygi-argument: Fix -Wformat warning on 32 bit builds
13773 gi/pygi-argument.c | 4 ++--
13774 1 file changed, 2 insertions(+), 2 deletions(-)
13776 commit 7563bb9f8ed5740f52ddf0ca59daf7839853505b
13777 Author: Martin Pitt <martinpitt@gnome.org>
13778 Date: Tue Jul 31 11:14:36 2012 +0200
13780 Fix tests for Python 2
13782 In Python 2 we get different error messages for a mismatching self
13784 check after commit 121b14028.
13786 tests/test_gi.py | 32 ++++++++++++++++++++------------
13787 1 file changed, 20 insertions(+), 12 deletions(-)
13789 commit 5c5b066854cc0b3b7702f31d212aa3f511c62127
13790 Author: Martin Pitt <martinpitt@gnome.org>
13791 Date: Tue Jul 31 10:30:22 2012 +0200
13793 Build with -Werror=format
13795 This catches format string problems on particular architectures like
13797 dea24f8e12 much more insistently.
13800 1 file changed, 1 insertion(+)
13802 commit 6e84a3052667fdc88c2081e20cc6dc3257ec9d6c
13803 Author: Simon Feltman <s.feltman@gmail.com>
13804 Date: Mon Jul 30 02:00:16 2012 -0700
13806 [API add] pygtkcompat: Add more pixbuf creation functions
13808 Add the following functions:
13809 pixbuf_new_from_data
13810 pixbuf_new_from_file_at_scale
13811 pixbuf_new_from_file_at_size
13812 pixbuf_new_from_inline
13813 pixbuf_new_from_stream
13814 pixbuf_new_from_stream_at_scale
13815 pixbuf_new_from_xpm_data
13816 pixbuf_get_file_info
13818 https://bugzilla.gnome.org/show_bug.cgi?id=680814
13820 gi/pygtkcompat.py | 10 +++++++++-
13821 1 file changed, 9 insertions(+), 1 deletion(-)
13823 commit dea24f8e1221516b2d8ea578e55124b0409d6a76
13824 Author: Colin Walters <walters@verbum.org>
13825 Date: Mon Jul 30 22:17:44 2012 -0400
13827 marshal: Fix a lot of format string warnings on 32 bit
13829 G_GUINT64_FORMAT and friends handle "%lld" portably.
13831 https://bugzilla.gnome.org/show_bug.cgi?id=680878
13833 gi/pygi-marshal-from-py.c | 18 +++++++++---------
13834 1 file changed, 9 insertions(+), 9 deletions(-)
13836 commit b630038d9a1c8cb7e5914c77fbacbed646c154d1
13837 Author: Colin Walters <walters@verbum.org>
13838 Date: Mon Jul 30 22:30:07 2012 -0400
13840 marshal: Fix build break on Python 2
13842 I *think* using this wrapper function instead is right.
13844 https://bugzilla.gnome.org/show_bug.cgi?id=680879
13846 gi/pygi-marshal-from-py.c | 8 ++++----
13847 1 file changed, 4 insertions(+), 4 deletions(-)
13849 commit a8338a991bbe919f0e2d9b92f7b71f89ccd2c875
13850 Author: Manuel Quiñones <manuq@laptop.org>
13851 Date: Mon Jul 30 12:53:36 2012 -0300
13853 Improve testcase for tree_view_column_set_attributes
13855 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
13857 https://bugzilla.gnome.org/show_bug.cgi?id=680320
13859 tests/test_overrides.py | 20 ++++++++++++++++++--
13860 1 file changed, 18 insertions(+), 2 deletions(-)
13862 commit 121b1402860407fe46f7501e42447bf3607872ec
13863 Author: Martin Pitt <martinpitt@gnome.org>
13864 Date: Tue Jul 31 00:37:55 2012 +0200
13866 Fix error messages on interface/class type mismatches
13868 Previously, when you called a function with an argument which was not
13869 compatible with the expected class/interface type, you got an
13873 TypeError: Expected Gtk.TreeViewColumn, but got GObjectMeta
13875 which had the wrong (and useless) class name for the actual type,
13877 tell you which argument caused the problem. With this it says e. g.
13879 TypeError: argument column: Expected Gtk.TreeViewColumn, but
13884 gi/pygi-marshal-from-py.c | 41 ++++++++++++++++++++++++++--------
13885 tests/test_gi.py | 57
13886 ++++++++++++++++++++++++++++++++++++++++++++++-
13887 2 files changed, 88 insertions(+), 10 deletions(-)
13889 commit 8f31e85db1392eb7222593fc0d05144c2bca06a3
13890 Author: Simon Feltman <s.feltman@gmail.com>
13891 Date: Sun Jul 29 23:36:25 2012 -0700
13893 Fix crash when returning (False, None) from
13894 Gtk.TreeModel.do_get_iter()
13896 Add a Py_None check before attempting memcpy().
13898 https://bugzilla.gnome.org/show_bug.cgi?id=680812
13900 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
13902 gi/pygi-closure.c | 10 +++++++---
13903 tests/test_overrides.py | 9 +++++++++
13904 2 files changed, 16 insertions(+), 3 deletions(-)
13906 commit 94e5d58e7794de91d3291e0e51c42070da4fc92b
13907 Author: Martin Pitt <martinpitt@gnome.org>
13908 Date: Mon Jul 30 11:58:24 2012 +0200
13910 Add test case for Gtk.TextIter.forward_search()
13912 https://bugzilla.gnome.org/show_bug.cgi?id=679415
13914 tests/test_overrides.py | 19 +++++++++++++++++++
13915 1 file changed, 19 insertions(+)
13917 commit aae4e77482c02e21154ab02b159f380f5f0f74be
13918 Author: Martin Pitt <martinpitt@gnome.org>
13919 Date: Fri Jul 27 23:06:39 2012 +0200
13921 Add missing static declarations
13923 This fixes a lot of -Wmissing-prototype warnings.
13925 Also remove _pygi_marshal_cleanup_closure_unref() which is not
13928 gi/_gobject/gobjectmodule.c | 4 ++--
13929 gi/_gobject/pygobject.c | 2 +-
13930 gi/pygi-cache.c | 2 +-
13931 gi/pygi-foreign-cairo.c | 24 ++++++++++++------------
13932 gi/pygi-foreign.c | 2 +-
13933 gi/pygi-marshal-cleanup.c | 9 ---------
13934 tests/test-unknown.c | 2 +-
13935 tests/testhelpermodule.c | 4 ++--
13936 8 files changed, 20 insertions(+), 29 deletions(-)
13938 commit 5f88d3017f853c4ff5e9fd89ef39e4569a9b9c16
13939 Author: Martin Pitt <martinpitt@gnome.org>
13940 Date: Fri Jul 27 23:01:08 2012 +0200
13942 Fix more missing #includes
13944 Add missing includes which caused -Wmissing-prototypes warnings.
13946 gi/_gobject/pygenum.c | 2 ++
13947 gi/_gobject/pyginterface.c | 2 ++
13948 2 files changed, 4 insertions(+)
13950 commit 97b5184c6650964ae8a7616353f5ce8e3ca19af3
13951 Author: Martin Pitt <martinpitt@gnome.org>
13952 Date: Fri Jul 27 22:59:21 2012 +0200
13954 Make some warnings fatal
13956 Add -Werror for some warnings which are real errors in the source
13958 really want to avoid. This includes -Wmissing-prototypes, but that
13960 breaks on building g-i's regress.c.
13962 configure.ac | 5 +++++
13963 1 file changed, 5 insertions(+)
13965 commit c2ee8c550199de59dd220561ed028ec6fb8e1daf
13966 Author: Martin Pitt <martinpitt@gnome.org>
13967 Date: Fri Jul 27 22:08:47 2012 +0200
13969 Fix missing #includes
13971 Add missing includes which caused -Wmissing-prototypes warnings.
13973 gi/_glib/pygiochannel.c | 2 ++
13974 gi/_glib/pygspawn.c | 2 ++
13975 2 files changed, 4 insertions(+)
13977 commit 8bc98fc6665ebab763ee92361929139a0ebe66b5
13978 Author: Martin Pitt <martinpitt@gnome.org>
13979 Date: Fri Jul 27 20:52:00 2012 +0200
13981 pygi-info.c: Robustify pointer arithmetic
13983 In _wrap_g_field_info_{get,set}_value(), use explicit char* casts
13985 that we are using byte offsets. Fixes warnings:
13987 pygi-info.c:1277:43: warning: pointer of type 'void *' used in
13988 arithmetic [-Werror=pointer-arith]
13990 gi/pygi-info.c | 4 ++--
13991 1 file changed, 2 insertions(+), 2 deletions(-)
13993 commit d0a561057b727ebcc1fd06fa6a3b48f2a1f8338e
13994 Author: Martin Pitt <martinpitt@gnome.org>
13995 Date: Fri Jul 27 20:50:30 2012 +0200
13997 pyglib.c: Remove some dead code
13999 Drop unused pyglib_gil_state_ensure_py23() and
14000 pyglib_gil_state_release_py23().
14002 gi/_glib/pyglib.c | 18 ------------------
14003 1 file changed, 18 deletions(-)
14005 commit a46d165d906d0ac7613f4d946542423e979f39d5
14006 Author: Manuel Quiñones <manuq@laptop.org>
14007 Date: Fri Jul 20 10:37:04 2012 -0300
14009 Add set_attributes() override to Gtk.TreeViewColumn
14011 Looking at the C code, gtk_tree_view_column_set_attributesv just calls
14012 gtk_cell_layout_clear_attributes and then
14013 gtk_cell_layout_add_attribute for each (name, value) passed. This
14014 patch makes the same in the overrides.
14016 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
14017 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14019 gi/overrides/Gtk.py | 7 +++++++
14020 tests/test_overrides.py | 6 ++++++
14021 2 files changed, 13 insertions(+)
14023 commit 4df676e10a5ea595a0d491af10268f557dd722d7
14024 Author: Daniel Narvaez <dwnarvaez@gmail.com>
14025 Date: Tue Jul 24 13:49:15 2012 +0200
14029 The autogenerated gitignores was missing several files. So we
14030 was using a manual .gitignore at the root. But since it's
14031 enough to add a couple of entries to it to cover the whole
14032 tree, there is no much point in using git.mk at all.
14034 https://bugzilla.gnome.org/show_bug.cgi?id=678192
14037 docs/Makefile.am | 2 -
14038 examples/Makefile.am | 3 -
14039 gi/Makefile.am | 3 -
14040 gi/_glib/Makefile.am | 3 -
14041 gi/_gobject/Makefile.am | 2 -
14042 gi/overrides/Makefile.am | 2 -
14043 gi/repository/Makefile.am | 2 -
14045 ----------------------------------------------
14046 tests/Makefile.am | 2 -
14047 10 files changed, 222 deletions(-)
14049 commit 0d729c1534c7f3226b492f549d8f6ad3bb3ac8b7
14050 Author: Simon Feltman <s.feltman@gmail.com>
14051 Date: Fri Jul 20 19:55:46 2012 -0700
14053 Gtk overrides: Add TreePath.__getitem__()
14055 Use pythons sub-script operator for indexing into TreePaths
14056 as was the case in PyGtk. Also changed __iter__ to use
14057 TreePath.get_indices as opposed to formatting and re-parsing
14058 a string for getting an index list.
14060 https://bugzilla.gnome.org/show_bug.cgi?id=680353
14062 gi/overrides/Gtk.py | 5 ++++-
14063 tests/test_overrides.py | 4 ++++
14064 2 files changed, 8 insertions(+), 1 deletion(-)
14066 commit affc7faa3fa7250e2e8c2c65e6860906f6fbc4fb
14067 Author: Simon Feltman <s.feltman@gmail.com>
14068 Date: Fri Jul 20 21:34:33 2012 -0700
14070 Fix property type mapping from int to TYPE_INT for python3.
14072 Python3 does not have a long type, however, propertyhelper.py was
14073 using long_ = int; to get things working. Type mapping code
14074 was then checking for long_ first and always returning TYPE_LONG.
14075 Additional refactoring was done to move large if/elif statements
14076 into dictionary lookups and usage of tuples instead of lists
14077 for simple 'in' list of items tests.
14079 https://bugzilla.gnome.org/show_bug.cgi?id=679939
14081 gi/_gobject/propertyhelper.py | 117
14082 +++++++++++++++++++-----------------------
14083 tests/test_properties.py | 55 +++++++++++++++-----
14084 2 files changed, 96 insertions(+), 76 deletions(-)
14086 commit 6fddba5bc5ea02938677a89ffeb0cfc53229b894
14087 Author: Manuel Quiñones <manuq@laptop.org>
14088 Date: Thu Jul 19 12:11:34 2012 -0300
14090 Convert Gtk.DestDefaults constants in pygi-convert.sh script
14092 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
14094 https://bugzilla.gnome.org/show_bug.cgi?id=680259
14096 pygi-convert.sh | 1 +
14097 1 file changed, 1 insertion(+)
14099 commit d58c3553062fd8704a81a8233b4a1563a6611718
14100 Author: Manuel Quiñones <manuq@laptop.org>
14101 Date: Thu Jul 19 12:04:03 2012 -0300
14103 Convert all Gdk.WindowState constants in pygi-convert.sh
14105 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
14107 https://bugzilla.gnome.org/show_bug.cgi?id=680257
14109 pygi-convert.sh | 1 +
14110 1 file changed, 1 insertion(+)
14112 commit a3aae2e152c0b955037b7b85e16d14d00881d870
14113 Author: Joe R. Nassimian <placidrage@gmail.com>
14114 Date: Thu Jul 19 15:48:20 2012 +0200
14116 [API add] Add API for checking pygobject's version
14118 Add a gi.__version__ attribute for the textual version, and
14119 gi.version_info for
14120 a version triple similar to sys.version_info.
14122 Also add a gi.require_version(<minimum_version>) which raises an
14124 the pygobject version is older.
14126 https://bugzilla.gnome.org/show_bug.cgi?id=680176
14128 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14130 gi/__init__.py | 16 ++++++++++++++++
14131 tests/test_gi.py | 16 ++++++++++++++++
14132 2 files changed, 32 insertions(+)
14134 commit a2d9b71d84f0fcb7aaf5ce483ffee3b3a1ccaca1
14135 Author: Manuel Quiñones <manuq@laptop.org>
14136 Date: Mon Jul 16 17:14:46 2012 -0300
14138 pygi-convert.sh: Add some missing Gdk.CursorTypes
14140 This patch adds WATCH, ARROW and CLOCK.
14142 https://bugzilla.gnome.org/show_bug.cgi?id=680050
14144 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
14145 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14147 pygi-convert.sh | 3 +++
14148 1 file changed, 3 insertions(+)
14150 commit 0b08c01414ac73a4604acd9a846e7af09574929f
14151 Author: Manuel Kaufmann <humitos@gmail.com>
14152 Date: Tue Jul 17 09:05:27 2012 -0300
14154 pygi-convert.sh: convert rsvg.Handle(data=...)
14156 Replace rsvg.Handle(data=data) with Rsvg.Handle.new_from_data(data)
14158 https://bugzilla.gnome.org/show_bug.cgi?id=680092
14160 Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
14161 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14163 pygi-convert.sh | 2 ++
14164 1 file changed, 2 insertions(+)
14166 commit 975855d0fff7f2042fe1f0e843f96b9a37cc6b79
14167 Author: Martin Pitt <martinpitt@gnome.org>
14168 Date: Mon Jul 16 17:35:38 2012 +0200
14170 configure.ac: post-release bump to 3.3.5
14172 configure.ac | 2 +-
14173 1 file changed, 1 insertion(+), 1 deletion(-)
14175 commit 126842b7227fcc1381dc158acdc5a96d0a465515
14176 Author: Martin Pitt <martinpitt@gnome.org>
14177 Date: Mon Jul 16 17:33:08 2012 +0200
14181 NEWS | 28 ++++++++++++++++++++++++++++
14182 1 file changed, 28 insertions(+)
14184 commit 079b73b3eb9083bd53e06d095f9dccc02acf2a6e
14185 Author: Martin Pitt <martinpitt@gnome.org>
14186 Date: Mon Jul 16 17:29:22 2012 +0200
14188 test_gi: Fix for Python 2
14190 tests/test_gi.py | 7 +++++--
14191 1 file changed, 5 insertions(+), 2 deletions(-)
14193 commit 30935fe31bfe201bbfdb7734f09fdd2bbaf80e08
14194 Author: Martin Pitt <martinpitt@gnome.org>
14195 Date: Mon Jul 16 16:35:33 2012 +0200
14197 pygi-convert.sh: Drop bogus filter_new() conversion
14199 my_tree_model.filter_new() is still a method on GtkTreeModel, not a
14200 constructor, so do not try to convert it to a constructor call.
14202 https://bugzilla.gnome.org/show_bug.cgi?id=679999
14204 pygi-convert.sh | 1 -
14205 1 file changed, 1 deletion(-)
14207 commit c0607d970fc59528ca27d518282cf2871b92e909
14208 Author: Martin Pitt <martinpitt@gnome.org>
14209 Date: Mon Jul 16 16:00:40 2012 +0200
14211 Fix help() for GI modules
14213 Derive DynamicModule from types.ModuleType, so that the inspect
14215 ismodule() actually succeeds on those and generates useful help on
14219 https://bugzilla.gnome.org/show_bug.cgi?id=679804
14221 gi/module.py | 3 ++-
14222 tests/test_gi.py | 15 +++++++++++++++
14223 2 files changed, 17 insertions(+), 1 deletion(-)
14225 commit 3235f1a397c334de5a7570f5ceed4da709fe1714
14226 Author: Martin Pitt <martinpitt@gnome.org>
14227 Date: Mon Jul 16 15:53:31 2012 +0200
14229 Skip gi.CallbackInfo objects from a module's dir()
14231 Skip gi.CallbackInfo items from IntrospectionModule's __dir__(),
14233 implement __getattr__ for those.
14235 Add a test case that dir() works on GI modules, contain expected
14237 and that all identifiers in dir() can actually be retrieved.
14239 Prerequisite for https://bugzilla.gnome.org/show_bug.cgi?id=679804
14241 gi/module.py | 7 +++++--
14242 tests/test_gi.py | 14 ++++++++++++++
14243 2 files changed, 19 insertions(+), 2 deletions(-)
14245 commit f6cc039e014448a553d626aac4020ee69717edab
14246 Author: Martin Pitt <martinpitt@gnome.org>
14247 Date: Mon Jul 16 15:38:05 2012 +0200
14249 Fix __path__ module attribute
14251 get_typelib_path() returns bytes, not strings, so in Python 3 we
14253 it to get a proper __path__ attribute.
14255 gi/module.py | 17 +++++++++++++++++
14256 tests/test_gi.py | 10 ++++++++++
14257 2 files changed, 27 insertions(+)
14259 commit 858048f7cec78129aa914e2341ab80aac0e95cc5
14260 Author: Joe R. Nassimian <placidrage@gmail.com>
14261 Date: Mon Jul 16 15:02:10 2012 +0200
14263 pygi-convert.sh: Fix some child → getChild() false positives
14265 https://bugzilla.gnome.org/show_bug.cgi?id=680004
14267 pygi-convert.sh | 2 +-
14268 1 file changed, 1 insertion(+), 1 deletion(-)
14270 commit a31fabdc12f1da301c8df0af319ca3f4181671ee
14271 Author: Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com>
14272 Date: Thu Jul 12 09:19:42 2012 +0200
14274 Fix array handling for interfaces, properties, and signals
14276 Fix lots of corner cases where arrays are not handled properly.
14277 _pygi_argument_to_object() now has the documented expectation of
14279 packed in GArrays. This was implicit before and not correctly done
14283 The helper _pygi_argument_to_array() has been improved to work on
14285 array. Fix all call sites of _pygi_argument_to_object() to do the
14286 array conversion appropriately before calling
14287 _pygi_argument_to_object().
14289 Adds a test case that implements a GInterface with a method that
14291 of variants as input.
14293 https://bugzilla.gnome.org/show_bug.cgi?id=667244
14295 gi/pygi-argument.c | 156
14296 ++++++++++++++++++++++++++++++++---------------
14297 gi/pygi-argument.h | 4 +-
14298 gi/pygi-closure.c | 11 ++++
14299 gi/pygi-info.c | 20 ++++--
14300 gi/pygi-property.c | 1 +
14301 gi/pygi-signal-closure.c | 14 ++++-
14302 tests/test_gi.py | 18 ++++++
14303 7 files changed, 167 insertions(+), 57 deletions(-)
14305 commit bb80d124269ee2389c04d03a478475868fd9ff7b
14306 Author: Manuel Quiñones <manuq@laptop.org>
14307 Date: Wed Jul 11 22:05:41 2012 -0300
14309 Add conversion of the Gdk.PropMode constants to pygi-convert.sh script
14311 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
14313 https://bugzilla.gnome.org/show_bug.cgi?id=679775
14315 pygi-convert.sh | 3 +++
14316 1 file changed, 3 insertions(+)
14318 commit e3a63eefa5fb2abeabd210790e12642e577363c8
14319 Author: Manuel Quiñones <manuq@laptop.org>
14320 Date: Wed Jul 11 13:18:16 2012 -0300
14322 Add the same rules for pack_start to convert pack_end
14324 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
14326 https://bugzilla.gnome.org/show_bug.cgi?id=679760
14328 pygi-convert.sh | 5 +++++
14329 1 file changed, 5 insertions(+)
14331 commit b4bef457c2d0ca6899e06a021f1f06252a37e326
14332 Author: Dave Malcolm <dmalcolm@redhat.com>
14333 Date: Wed Jul 11 08:21:27 2012 +0200
14335 Add error-checking for the case where _arg_cache_new() fails
14337 This can happen when a typelib and its underlying library are
14339 converts the segfault into a more helpful traceback.
14341 https://bugzilla.gnome.org/show_bug.cgi?id=678914
14343 gi/pygi-cache.c | 2 ++
14344 1 file changed, 2 insertions(+)
14346 commit 41287d8a439c656e4ac60361fddec643c713234c
14347 Author: Manuel Quiñones <manuq@laptop.org>
14348 Date: Wed Jul 11 11:13:38 2012 -0300
14350 Add conversion of the Gdk.NotifyType constants to pygi-convert.sh
14353 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
14355 https://bugzilla.gnome.org/show_bug.cgi?id=679754
14357 pygi-convert.sh | 6 ++++++
14358 1 file changed, 6 insertions(+)
14360 commit 5403149b900d1b73cbc78767dc43be2eb344c836
14361 Author: Simon Feltman <s.feltman@gmail.com>
14362 Date: Tue Jul 10 19:07:32 2012 -0700
14364 Fix PyObject_Repr and PyObject_Str reference leaks
14366 Fix all calls to PyObject_Repr() and PyObject_Str() to be properly
14369 https://bugzilla.gnome.org/show_bug.cgi?id=675857
14371 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14373 gi/_glib/glibmodule.c | 10 +++++++--
14374 gi/_gobject/gobjectmodule.c | 17 ++++++++++-----
14375 gi/_gobject/pygobject.c | 53
14376 ++++++++++++++++++++++++++++++---------------
14377 gi/pygi-marshal-from-py.c | 9 +++++---
14378 4 files changed, 62 insertions(+), 27 deletions(-)
14380 commit 0ddfecf3bf0a5d7893cd02cff41503d810ef6ce8
14381 Author: Martin Pitt <martinpitt@gnome.org>
14382 Date: Wed Jul 4 08:46:30 2012 +0200
14384 [API add] Gtk overrides: Add TreePath.__len__()
14386 Use the path depth as length of a Gtk.TreePath object.
14388 https://bugzilla.gnome.org/show_bug.cgi?id=679199
14390 gi/overrides/Gtk.py | 3 +++
14391 tests/test_overrides.py | 4 ++++
14392 2 files changed, 7 insertions(+)
14394 commit e1e849d1a9af77c29ee35971db8d439bac60d573
14395 Author: Martin Pitt <martinpitt@gnome.org>
14396 Date: Wed Jul 4 08:35:16 2012 +0200
14398 GLib.Variant: Fix repr(), add proper str()
14400 Fix the GLib.Variant override's repr() after commit 16280d6985. Also
14402 proper __str__() method, and tests for both.
14404 Thanks to Rul Matos for spotting this!
14406 https://bugzilla.gnome.org/show_bug.cgi?id=679336
14408 gi/overrides/GLib.py | 6 +++++-
14409 tests/test_overrides.py | 5 +++++
14410 2 files changed, 10 insertions(+), 1 deletion(-)
14412 commit af20d7c929b9c1888454b52932a308d346e1c12b
14413 Author: Martin Pitt <martinpitt@gnome.org>
14414 Date: Thu Jun 28 06:51:22 2012 +0200
14416 m4/python.m4: Update Python version list
14418 Thanks to Dieter Verfaillie for pointing this out.
14420 m4/python.m4 | 3 +--
14421 1 file changed, 1 insertion(+), 2 deletions(-)
14423 commit a96a26234e2aaa157837d26094864e3ad9b63edf
14424 Author: Micah Carrick <micah@quixotix.com>
14425 Date: Mon Jun 25 09:05:59 2012 -0700
14427 Remove "label" property from Gtk.MenuItem if it is not set
14429 The Gtk.MenuItem will not render as a separator if the "label" or
14430 "user-underline" properties have been accessed. The constructor
14431 for Gtk.MenuItem override should not pass the "label" property
14432 as an argument if it is None since that will still result in an
14433 empty label widget which breaks Gtk.SeparatorMenuItem.
14435 https://bugzilla.gnome.org/show_bug.cgi?id=670575
14437 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14439 gi/overrides/Gtk.py | 5 ++++-
14440 1 file changed, 4 insertions(+), 1 deletion(-)
14442 commit afa12faf339efb4f7780168e884ecf49b630644a
14443 Author: Martin Pitt <martinpitt@gnome.org>
14444 Date: Mon Jun 25 16:36:31 2012 +0200
14446 configure.ac: Post-release bump to 3.3.4.
14448 configure.ac | 2 +-
14449 1 file changed, 1 insertion(+), 1 deletion(-)
14451 commit 198066effc0ca44ccb897e9f0738ab627e8b3275
14452 Author: Martin Pitt <martinpitt@gnome.org>
14453 Date: Mon Jun 25 16:35:49 2012 +0200
14458 configure.ac | 2 +-
14459 2 files changed, 4 insertions(+), 1 deletion(-)
14461 commit cb70ae0aa52ab7624b2b8c30297d8a52a7db7f44
14462 Author: Martin Pitt <martinpitt@gnome.org>
14463 Date: Mon Jun 25 16:32:45 2012 +0200
14465 Do not escape enum and flag names that are Python keywords
14467 These are translated to upper case, and thus can never be
14468 keywords. This broke
14469 existing API such as Gtk.ShadowType.IN.
14471 gi/module.py | 2 +-
14472 gi/pygi-info.c | 7 +++++++
14473 tests/test_gi.py | 3 +++
14474 3 files changed, 11 insertions(+), 1 deletion(-)
14476 commit f2524a982b0b8ba7cdbb77003372416af0b7a978
14477 Author: Martin Pitt <martinpitt@gnome.org>
14478 Date: Mon Jun 25 15:39:50 2012 +0200
14480 configure.ac: Post-release version bump to 3.3.4
14482 configure.ac | 2 +-
14483 1 file changed, 1 insertion(+), 1 deletion(-)
14485 commit fe56faa346c8e8f9fd5915602424778d458a776d
14486 Author: Martin Pitt <martinpitt@gnome.org>
14487 Date: Mon Jun 25 15:36:37 2012 +0200
14491 NEWS | 15 +++++++++++++++
14492 1 file changed, 15 insertions(+)
14494 commit 299a2fd726f0aceaf67b1cec7a0ef8b21ff7bcbc
14495 Author: Martin Pitt <martinpitt@gnome.org>
14496 Date: Mon Jun 25 15:35:19 2012 +0200
14498 Bring back ChangeLog make target
14500 This is being used by "make dist".
14502 Makefile.am | 15 +++++++++++++++
14503 1 file changed, 15 insertions(+)
14505 commit 760118e4ed73de2f022706ef897fcc848e90c005
14506 Author: Martin Pitt <martinpitt@gnome.org>
14507 Date: Mon Jun 25 15:31:14 2012 +0200
14509 Remove obsolete ChangeLog and release-tag make targets
14511 Makefile.am | 23 -----------------------
14512 1 file changed, 23 deletions(-)
14514 commit e92278692bb51679d6e957c2ac36db64498a7c73
14515 Author: Simon Schampijer <simon@schampijer.de>
14516 Date: Fri Jun 15 16:11:21 2012 +0200
14518 Do not do any python calls when GObjects are destroyed after the
14519 python interpreter has been finalized
14521 This happens when pygobject_data_free () function is called after
14523 interpreter shuts down, we can't do python calls after that.
14525 Benzea did the findings because of a bug in Sugar, and commented
14527 SugarLabs ticket: http://bugs.sugarlabs.org/ticket/3670
14529 https://bugzilla.gnome.org/show_bug.cgi?id=678046
14531 Signed-off-by: Benjamin Berg <benzea@sugarlabs.org>
14532 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14534 gi/_gobject/pygobject.c | 27 ++++++++++++++++++++++-----
14535 1 file changed, 22 insertions(+), 5 deletions(-)
14537 commit de4aa426002eeb09a060f8fd70bd6cb25a17766a
14538 Author: Martin Pitt <martinpitt@gnome.org>
14539 Date: Mon Jun 25 15:06:47 2012 +0200
14541 Do not change constructor-only "type" Window property
14543 When reading a Gtk.Window subclass from a GtkBuilder object,
14545 properties are already set at __init__ time. Do not try to set it
14549 https://bugzilla.gnome.org/show_bug.cgi?id=678510
14551 gi/overrides/Gtk.py | 8 +++++++-
14552 tests/test_overrides.py | 36 ++++++++++++++++++++++++++++++++++++
14553 2 files changed, 43 insertions(+), 1 deletion(-)
14555 commit 16280d6985f2cf4db9cf062e857650e620fd9da8
14556 Author: Martin Pitt <martinpitt@gnome.org>
14557 Date: Mon Jun 25 09:40:38 2012 +0200
14559 Escape identifiers which are Python keywords
14561 Add a trailing underscore to identifiers which are Python keywords.
14563 We use a per-major-version static identifier list derived from
14565 instead of calling out to Python's keyword.iskeyword(). This is
14567 and also allows us to tweak the result. For example, Python 3 dropped
14569 as a keyword, but we still want to escape that to avoid breaking
14571 between different Python versions.
14573 Error out when building with a major Python version not covered yet,
14575 do not forget to update the list in the future.
14577 https://bugzilla.gnome.org/show_bug.cgi?id=676746
14579 gi/pygi-info.c | 38 +++++++++++++++++++++++++++++++++++++-
14580 tests/test_gi.py | 17 +++++++++++++++++
14581 2 files changed, 54 insertions(+), 1 deletion(-)
14583 commit 3864d7a3b7def035ee2daf22ba717371c8d261de
14584 Author: Martin Pitt <martinpitt@gnome.org>
14585 Date: Fri Jun 22 13:13:37 2012 +0200
14587 Ignore E123 in pep8 tests
14589 This is "closing bracket does not match indentation of opening
14591 but it really looks better to have the closing bracket on the
14593 of the opening bracket instead of the indentation level of the
14595 contains the opening bracket.
14597 tests/Makefile.am | 2 +-
14598 1 file changed, 1 insertion(+), 1 deletion(-)
14600 commit fb436dd6d3b40b3f2a8ba6f402e2987752ad1902
14601 Author: Martin Pitt <martinpitt@gnome.org>
14602 Date: Fri Jun 22 13:08:34 2012 +0200
14604 PEP8: Fix indentation
14606 Spotted by current pep8 checker.
14608 demos/gtk-demo/demos/Entry/entry_buffer.py | 6 +--
14609 demos/gtk-demo/demos/Entry/entry_completion.py | 6 +--
14610 demos/gtk-demo/demos/Entry/search_entry.py | 4 +-
14611 demos/gtk-demo/demos/appwindow.py | 2 +-
14612 demos/gtk-demo/demos/clipboard.py | 8 +--
14613 demos/gtk-demo/demos/colorselector.py | 6 +--
14614 demos/gtk-demo/demos/rotatedtext.py | 8 +--
14615 demos/gtk-demo/gtk-demo.py | 6 +--
14616 examples/option.py | 29 ++++++-----
14617 examples/signal.py | 3 +-
14618 gi/_glib/option.py | 6 +--
14619 gi/_gobject/propertyhelper.py | 18 +++----
14620 gi/module.py | 14 +++---
14621 gi/overrides/GLib.py | 2 +-
14622 gi/overrides/Gio.py | 11 +++--
14623 gi/overrides/Gtk.py | 16 +++---
14624 gi/pygtkcompat.py | 7 ++-
14625 gi/types.py | 17 ++++---
14626 tests/runtests.py | 2 +-
14627 tests/test_gdbus.py | 55 +++++++++++----------
14628 tests/test_gi.py | 15 +++---
14629 tests/test_gobject.py | 18 +++----
14630 tests/test_option.py | 26 +++++-----
14631 tests/test_overrides.py | 67
14632 +++++++++++++-------------
14633 tests/test_properties.py | 30 ++++++------
14634 tests/test_signal.py | 2 +-
14635 tests/test_uris.py | 9 ++--
14636 27 files changed, 200 insertions(+), 193 deletions(-)
14638 commit 129462ccc4a2191ecbb42247030c91bd0f1454f6
14639 Author: Martin Pitt <martinpitt@gnome.org>
14640 Date: Fri Jun 22 12:36:54 2012 +0200
14642 PEP8: Use isinstance() instead of direct type comparisons
14644 Spotted by current pep8 checker.
14646 gi/overrides/GLib.py | 2 +-
14647 gi/overrides/__init__.py | 2 +-
14648 2 files changed, 2 insertions(+), 2 deletions(-)
14650 commit 50e45a624e6301e65c150e137aad6d092f203f3f
14651 Author: Martin Pitt <martinpitt@gnome.org>
14652 Date: Fri Jun 22 12:30:10 2012 +0200
14654 PEP8: Fix continuation lines
14656 Spotted by current pep8 checker.
14658 demos/gtk-demo/demos/Entry/search_entry.py | 6 +++---
14659 gi/__init__.py | 6 +++---
14660 gi/_gobject/__init__.py | 6 ++----
14661 gi/module.py | 6 +++---
14662 tests/test_overrides.py | 11 +++--------
14663 5 files changed, 14 insertions(+), 21 deletions(-)
14665 commit ef06548b0dc6aee0e8ab208a78966dc1d5d917ee
14666 Author: Martin Pitt <martinpitt@gnome.org>
14667 Date: Fri Jun 22 12:24:32 2012 +0200
14669 PEP8: Consistent comparisons against True, False, and None
14671 Spotted by current pep8 checker.
14673 demos/gtk-demo/demos/clipboard.py | 4 ++--
14674 demos/gtk-demo/demos/drawingarea.py | 4 ++--
14675 demos/gtk-demo/gtk-demo.py | 8 ++++----
14676 gi/overrides/Gdk.py | 2 +-
14677 gi/overrides/Gtk.py | 2 +-
14678 tests/test_gi.py | 4 ++--
14679 tests/test_overrides.py | 3 +--
14680 7 files changed, 13 insertions(+), 14 deletions(-)
14682 commit 379c1474a071292a1e8da413af2f5438cff09fc8
14683 Author: Martin Pitt <martinpitt@gnome.org>
14684 Date: Wed Jun 20 12:23:12 2012 +0200
14686 Fix crash in GLib.find_program_in_path()
14688 We need to handle a NULL return value properly.
14690 https://bugzilla.gnome.org/show_bug.cgi?id=678119
14692 gi/_glib/glibmodule.c | 10 ++++++++--
14693 tests/Makefile.am | 1 +
14694 tests/test_glib.py | 15 +++++++++++++++
14695 3 files changed, 24 insertions(+), 2 deletions(-)
14697 commit 73531fd7820bd1922347bd856298d68205a27877
14698 Author: Martin Pitt <martinpitt@gnome.org>
14699 Date: Wed Jun 20 11:16:39 2012 +0200
14701 Revert "Do not bind gobject_get_data() and gobject_set_data()"
14703 We should have some deprecation period for this, so bring back
14705 methods and add deprecation warnings.
14707 This reverts commit 24cc09a7105299805fcc5bc151f53ac69958d728.
14709 https://bugzilla.gnome.org/show_bug.cgi?id=641944
14711 gi/_gobject/pygobject.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
14712 1 file changed, 44 insertions(+)
14714 commit a0daa843801658929ffee5bcb9eb67d955dc7921
14715 Author: David Keijser <keijser@gmail.com>
14716 Date: Mon Jun 18 15:09:34 2012 +0200
14718 GVariant: Raise proper TypeError on invalid tuple input
14720 https://bugzilla.gnome.org/show_bug.cgi?id=678317
14722 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14724 gi/overrides/GLib.py | 4 ++--
14725 tests/test_overrides.py | 1 +
14726 2 files changed, 3 insertions(+), 2 deletions(-)
14728 commit fb39ba934180e1e48fd15774e69d1cecf47a4c84
14729 Author: Martin Pitt <martinpitt@gnome.org>
14730 Date: Tue Jun 5 19:11:38 2012 +0200
14732 configure.ac: Post-release bump to 3.3.3
14734 configure.ac | 2 +-
14735 1 file changed, 1 insertion(+), 1 deletion(-)
14737 commit 7f0995e7fa865ebde7490d0570a7135a2f962cdf
14738 Author: Martin Pitt <martinpitt@gnome.org>
14739 Date: Tue Jun 5 19:09:12 2012 +0200
14743 NEWS | 44 ++++++++++++++++++++++++++++++++++++++++++++
14744 1 file changed, 44 insertions(+)
14746 commit 8209c1ae1632c77768699481e574d5d378956e71
14747 Author: Martin Pitt <martinpitt@gnome.org>
14748 Date: Tue Jun 5 19:04:49 2012 +0200
14750 Fix "release-news" make target
14752 Actually list changes since the previous release, not since 3.1.92.
14755 1 file changed, 1 insertion(+), 1 deletion(-)
14757 commit b21f66d2a399b8c9a36a1758107b7bdff0ec8eaa
14758 Author: Bastian Winkler <buz@netbuz.org>
14759 Date: Wed May 9 19:04:01 2012 +0200
14761 foreign: Register cairo.Path and cairo.FontOptions foreign structs
14763 They are rarely used, but they are used at least by Gdk, PangoCairo
14767 clutter.Path is not used by any API that the test suite uses, so
14769 without a test for now.
14771 https://bugzilla.gnome.org/show_bug.cgi?id=677388
14773 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14775 gi/pygi-foreign-cairo.c | 85
14776 ++++++++++++++++++++++++++++++++++++++++++++++++
14777 tests/test_everything.py | 8 +++++
14778 2 files changed, 93 insertions(+)
14780 commit 635a7d1b48d99ddd1ea123797c493b18b0cdfd45
14781 Author: Marien Zwart <marien.zwart@gmail.com>
14782 Date: Wed May 23 01:51:46 2012 +0200
14784 Check types in GBoxed assignments
14786 Check if the Python value is GBoxed instead of assuming it is.
14787 Without this, the following segfaults:
14789 from gi.repository import Soup
14791 msg = Soup.Message()
14792 msg.props.uri = 'http://www.gnome.org'
14794 as we assume the new property is a GBoxed while it is actually a
14797 https://bugzilla.gnome.org/show_bug.cgi?id=676603
14799 Co-authored-by: Martin Pitt <martinpitt@gnome.org>
14800 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14802 gi/pygi-argument.c | 10 +++++++---
14803 tests/test_gi.py | 19 +++++++++++++++++++
14804 2 files changed, 26 insertions(+), 3 deletions(-)
14806 commit 2305dcd7e8841f87dc2fc683390df78453a5dc2a
14807 Author: Bastian Winkler <buz@netbuz.org>
14808 Date: Sat May 12 14:08:51 2012 +0200
14810 [API add] Gtk overrides: Add TreeModelRow.get_previous()
14812 TreeModelRow has get_next() and a next property, it should also have
14813 get_previous() and previous.
14815 https://bugzilla.gnome.org/show_bug.cgi?id=677389
14817 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14819 gi/overrides/Gtk.py | 9 +++++++++
14820 1 file changed, 9 insertions(+)
14822 commit 5501fba534696974899f2591929bff9e1b6ecd65
14823 Author: Bastian Winkler <buz@netbuz.org>
14824 Date: Sat May 12 13:50:02 2012 +0200
14826 [API add] Add missing GObject.TYPE_VARIANT
14828 Add TYPE_VARIANT to constants to make it accessible as
14829 GObject.TYPE_VARIANT.
14831 https://bugzilla.gnome.org/show_bug.cgi?id=677387
14833 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14835 gi/_gobject/__init__.py | 1 +
14836 gi/_gobject/constants.py | 1 +
14837 2 files changed, 2 insertions(+)
14839 commit 4c51a5411092f8ab6f8f6e9692a9b49692f621a7
14840 Author: Jasper St. Pierre <jstpierre@mecheye.net>
14841 Date: Fri Jun 1 02:53:13 2012 -0400
14843 Fix boxed type equality
14845 Each boxed type has its own Python type, not PyGBoxed_Type. Use
14846 PyObject_IsInstance instead of comparing against PyGBoxed_Type
14849 https://bugzilla.gnome.org/show_bug.cgi?id=677249
14851 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14853 gi/_gobject/pygboxed.c | 3 ++-
14854 tests/test_everything.py | 8 ++++++++
14855 2 files changed, 10 insertions(+), 1 deletion(-)
14857 commit dc8eef26906753fcb3ce057b23ca110137897fa5
14858 Author: Jose Rostagno <joserostagno@vijona.com.ar>
14859 Date: Fri Jun 1 13:43:38 2012 +0200
14861 Fix TestProperties.testBoxed test
14863 A typo was preventing the test from being run.
14865 https://bugzilla.gnome.org/show_bug.cgi?id=676644
14867 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14869 tests/test_properties.py | 4 ++--
14870 1 file changed, 2 insertions(+), 2 deletions(-)
14872 commit 853e6a71234ebd66af5a64dfb296e323c2c905a6
14873 Author: Carlos Garnacho <carlos@lanedo.com>
14874 Date: Thu May 17 17:09:15 2012 +0200
14876 Fix handling of by-reference structs as out parameters
14878 When marshalling back from python, copy the result of by-reference
14879 structs into the memory expected by the native caller, instead of
14880 attempting to handle it as a pointer.
14882 https://bugzilla.gnome.org/show_bug.cgi?id=653151
14884 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14886 gi/pygi-closure.c | 17 +++++++++++++++++
14887 tests/test_gi.py | 5 +++++
14888 2 files changed, 22 insertions(+)
14890 commit bac9d526f6a9774821d1c9c0e7b35cc6db942975
14891 Author: Martin Pitt <martinpitt@gnome.org>
14892 Date: Fri Jun 1 12:28:53 2012 +0200
14894 tests: Add more vfunc checks for GIMarshallingTestsObject
14896 tests/test_gi.py | 25 +++++++++++++++++++++++++
14897 1 file changed, 25 insertions(+)
14899 commit e1aaf4a48453be0e69e7f3a70a2e7a790871a4d2
14900 Author: Martin Pitt <martinpitt@gnome.org>
14901 Date: Fri Jun 1 12:02:55 2012 +0200
14903 Test caller-allocated GValue out parameter
14905 This came up as a side issue in
14906 https://bugzilla.gnome.org/show_bug.cgi?id=653151
14908 tests/test_gi.py | 3 +++
14909 1 file changed, 3 insertions(+)
14911 commit edc17e703e1a05e20545d3df9167ceb076450443
14912 Author: Bastian Winkler <buz@netbuz.org>
14913 Date: Wed May 16 11:13:05 2012 +0200
14915 GObject.bind_property: Support transform functions
14917 Add support for optional transformation functions to
14918 pygobject_bind_property(). It uses a custom PyGClosure to marshal the
14919 return value correctly.
14921 https://bugzilla.gnome.org/show_bug.cgi?id=676169
14923 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
14925 gi/_gobject/pygobject.c | 130
14926 +++++++++++++++++++++++++++++++++++++++++++++---
14927 tests/test_gobject.py | 59 ++++++++++++++++++++++
14928 2 files changed, 181 insertions(+), 8 deletions(-)
14930 commit 07a08b49aae83a297e2f91240448314e4663f724
14931 Author: Carlos Garnacho <carlos@lanedo.com>
14932 Date: Mon May 14 15:31:14 2012 +0200
14934 Fix lookup of vfuncs in parent classes
14936 https://bugzilla.gnome.org/show_bug.cgi?id=672864.
14938 As subclasses implemented in python override the attribute for the
14939 vfunc, __mro__ has to be used so subclasses of the subclass overriding
14940 methods may find the corresponding VFuncInfo.
14942 Co-Authored-by: Martin Pitt <martinpitt@gnome.org>
14944 gi/types.py | 6 +++---
14945 tests/test_gi.py | 27 +++++++++++++++++++++++++++
14946 2 files changed, 30 insertions(+), 3 deletions(-)
14948 commit b965ee15bac6cd28d16d32205d96d2b1bdd3f0e1
14949 Author: Martin Pitt <martinpitt@gnome.org>
14950 Date: Fri Jun 1 08:18:40 2012 +0200
14952 tests/test_properties.py: Fix whitespace
14954 The pep8 check failed on this.
14956 tests/test_properties.py | 2 +-
14957 1 file changed, 1 insertion(+), 1 deletion(-)
14959 commit 274d60a7c08d74a299f4b83d8054c00eadb4bdbd
14960 Author: Jasper St. Pierre <jstpierre@mecheye.net>
14961 Date: Wed May 30 16:45:53 2012 -0400
14963 gi: Support zero-terminated arrays with length arguments
14965 Sometimes, you may see (array zero-terminated=1 length=length)
14967 Don't expose the length argument to the user in this case.
14969 https://bugzilla.gnome.org/show_bug.cgi?id=677124
14971 gi/pygi-cache.c | 13 ++++---------
14972 tests/test_gi.py | 3 +++
14973 2 files changed, 7 insertions(+), 9 deletions(-)
14975 commit 62c2e962a225ec2527aa3d7406aa0dae232a0886
14976 Author: Jasper St. Pierre <jstpierre@mecheye.net>
14977 Date: Fri May 25 17:09:55 2012 -0400
14981 libregress now needs cairo-gobject
14983 configure.ac | 2 +-
14984 1 file changed, 1 insertion(+), 1 deletion(-)
14986 commit 9477f0f2f17a6d9b97e5ee08378bc009b8d4c30a
14987 Author: Martin Pitt <martinpitt@gnome.org>
14988 Date: Mon May 14 15:48:34 2012 +0200
14990 Fix comment in previous commit
14992 tests/test_gobject.py | 2 +-
14993 1 file changed, 1 insertion(+), 1 deletion(-)
14995 commit 6610428394d0c65987de5021bf2c38641cdb7116
14996 Author: Simon Feltman <s.feltman@gmail.com>
14997 Date: Tue May 8 20:04:09 2012 -0700
14999 [API add] Add GObject.bind_property method
15001 This adds the "bind_property" method for binding two gobject
15003 together. The method returns a weak reference to a GBinding object.
15004 The BindingWeakRef object is used to manage GBinding objects within
15006 created through GObject.bind_property. It is a sub-class
15007 PyGObjectWeakRef so
15008 that we can maintain the same reference counting semantics between
15010 and GObject Binding objects. This gives explicit direct control of the
15011 binding lifetime by using the "unbind" method on the BindingWeakRef
15013 along with implicit management based on the lifetime of the source or
15016 Note this does not yet include support for converter closures. This
15018 later after the initial implementation is accepted.
15020 https://bugzilla.gnome.org/show_bug.cgi?id=675582
15022 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15024 gi/_gobject/pygobject.c | 104
15025 +++++++++++++++++++++++++++++++++++++++++++++++-
15026 tests/test_gobject.py | 90 +++++++++++++++++++++++++++++++++++++++++
15027 2 files changed, 193 insertions(+), 1 deletion(-)
15029 commit 88babe7377402f6e6f912a8b83615aab848eae81
15030 Author: Jose Rostagno <joserostagno@vijona.com.ar>
15031 Date: Fri May 11 19:08:47 2012 -0300
15033 pygtkcompat: Correctly set flags
15035 https://bugzilla.gnome.org/show_bug.cgi?id=675911
15037 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15039 gi/pygtkcompat.py | 5 ++---
15040 tests/test_pygtkcompat.py | 1 +
15041 2 files changed, 3 insertions(+), 3 deletions(-)
15043 commit 3f712b56397296bca2f5358cd52977b1a2011964
15044 Author: Jose Rostagno <joserostagno@vijona.com.ar>
15045 Date: Fri May 11 12:39:05 2012 -0300
15047 Gtk overrides: Implement __delitem__ on TreeModel
15049 https://bugzilla.gnome.org/show_bug.cgi?id=675892
15051 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15053 gi/overrides/Gtk.py | 16 ++++++++++++----
15054 tests/test_overrides.py | 9 +++++++++
15055 2 files changed, 21 insertions(+), 4 deletions(-)
15057 commit 9a1a07742ec0b1821d469603f9996a2b7d832f40
15058 Author: Simon Feltman <s.feltman@gmail.com>
15059 Date: Sun May 6 18:10:39 2012 -0700
15061 Gdk Color override should support red/green/blue_float properties
15063 Added red_float, green_float, and blue_float properties to Color.
15064 Also added Color.from_floats, RGBA.to_color, and RGBA.from_color.
15066 https://bugzilla.gnome.org/show_bug.cgi?id=675579
15068 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15070 gi/overrides/Gdk.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
15071 tests/Makefile.am | 2 +-
15072 tests/test_overrides.py | 17 +++++++++++++++++
15073 3 files changed, 62 insertions(+), 1 deletion(-)
15075 commit d9608c332d9592f03545b110cfac8105453ea035
15076 Author: Martin Pitt <martinpitt@gnome.org>
15077 Date: Sat May 5 12:42:42 2012 -0700
15079 Support marshalling of GVariants for closures
15081 Add GVariant handling to pyg_value_{as,from}_pyobject(), so that
15083 be called with GVariant arguments and return GVariant.
15085 Unmark the corresponding test case as "expected failure", and also
15087 for None values and type mismatches.
15089 https://bugzilla.gnome.org/show_bug.cgi?id=656554
15091 gi/_gobject/pygtype.c | 47
15092 +++++++++++++++++++++++++++++++++++++++++++++--
15093 tests/test_everything.py | 16 ++++++++++++----
15094 2 files changed, 57 insertions(+), 6 deletions(-)
15096 commit e7a909c16dc1c625ab11e270f23d540f15c71767
15097 Author: Johan Dahlin <johan@gnome.org>
15098 Date: Mon May 7 10:33:40 2012 -0300
15100 Require gobject-introspection 1.33.0
15102 configure.ac | 2 +-
15103 1 file changed, 1 insertion(+), 1 deletion(-)
15105 commit 9e8239684433631e0d1650d25416e4d7bf92a058
15106 Author: Martin Pitt <martinpitt@gnome.org>
15107 Date: Sun May 6 18:28:23 2012 -0700
15109 NEWS: Add API additions since 3.2.0
15112 1 file changed, 4 insertions(+), 3 deletions(-)
15114 commit d1a2bf51eb25b54028fbf496d20dfad9546bcb5e
15115 Author: Martin Pitt <martinpitt@gnome.org>
15116 Date: Sun May 6 18:25:23 2012 -0700
15118 NEWS: Mark API changes since 3.2.0
15121 1 file changed, 3 insertions(+), 3 deletions(-)
15123 commit a3329539291bd8ea9aa6cb184a05ea7c21f8885a
15124 Author: Martin Pitt <martinpitt@gnome.org>
15125 Date: Sun May 6 18:19:35 2012 -0700
15127 Fix commit 168a087 for Python 3
15129 Simplify the type check and use the already existing one. Fix the
15131 to work with both Python 2 and 3.
15133 gi/pygi-argument.c | 42 +++++++++---------------------------------
15134 1 file changed, 9 insertions(+), 33 deletions(-)
15136 commit 42c717ed77613e02f3c8ef2685bc071462b87d73
15137 Author: Martin Pitt <martinpitt@gnome.org>
15138 Date: Sun May 6 18:08:57 2012 -0700
15140 pygtkcompat.py: Typo fix
15142 Was missing a space around operator, causing the PEP8 check to fail.
15144 gi/pygtkcompat.py | 2 +-
15145 1 file changed, 1 insertion(+), 1 deletion(-)
15147 commit 168a08753cec1ff77ccca5d81b9a5fd2af5d3720
15148 Author: Martin Pitt <martinpitt@gnome.org>
15149 Date: Sun May 6 18:02:04 2012 -0700
15151 _pygi_argument_from_object(): Check for compatible data type
15153 Verify that the passed PyObject actually matches the expected type
15155 argument. With this, trying to assign a wrong type to a property
15157 a proper TypeError.
15159 gi/pygi-argument.c | 39 +++++++++++++++++++++++++++++++++++++++
15160 gi/pygi-property.c | 3 +++
15161 tests/test_gi.py | 40 ++++++++++++++++++++++++++++++++++++++++
15162 3 files changed, 82 insertions(+)
15164 commit 5948b62ba3e08ea943e6965ee38c94c363186226
15165 Author: Martin Pitt <martinpitt@gnome.org>
15166 Date: Sun May 6 17:59:57 2012 -0700
15168 pygtkcompat: Fix color conversion
15170 gtk_style_context_get_background_color() returns a GdkRGBA value,
15172 float values between 0 and 1. However, we construct a GdkColor
15174 that, so we need to scale to 0..65535 and round to int.
15176 gi/pygtkcompat.py | 6 +++---
15177 1 file changed, 3 insertions(+), 3 deletions(-)
15179 commit 6af74c501bc604559f8b5b4e0d856d022ed882bb
15180 Author: Martin Pitt <martinpitt@gnome.org>
15181 Date: Sun May 6 06:02:31 2012 -0700
15183 test_gi: Check setting properties in constructor
15185 tests/test_gi.py | 33 +++++++++++++++++++++++++++++++++
15186 1 file changed, 33 insertions(+)
15188 commit 9f50fd214e4214f83959b2883a0c667f7f157c97
15189 Author: Martin Pitt <martinpitt@gnome.org>
15190 Date: Sun May 6 05:50:00 2012 -0700
15192 Support getting and setting GStrv properties
15194 gi/pygi-property.c | 36 ++++++++++++++++++++++++++++++++++++
15195 tests/test_gi.py | 11 +++++++++++
15196 2 files changed, 47 insertions(+)
15198 commit 8321af2c7df499291e664c676376f149a0c3dcac
15199 Author: Martin Pitt <martinpitt@gnome.org>
15200 Date: Sat May 5 13:58:29 2012 -0700
15202 Support defining GStrv properties from Python
15204 gi/_gobject/propertyhelper.py | 10 ++++++--
15205 tests/test_properties.py | 58
15206 +++++++++++++++++++++++++++++++++++++++++--
15207 2 files changed, 64 insertions(+), 4 deletions(-)
15209 commit f2494526e1c579c41babfe7ff67deef0f6966adf
15210 Author: Martin Pitt <martinpitt@gnome.org>
15211 Date: Sat May 5 13:21:20 2012 -0700
15213 Add GObject.TYPE_STRV constant
15215 gi/_gobject/__init__.py | 1 +
15216 gi/_gobject/constants.py | 1 +
15217 tests/test_everything.py | 2 +-
15218 tests/test_signal.py | 2 +-
15219 4 files changed, 4 insertions(+), 2 deletions(-)
15221 commit 8c7306e4d6355ca45f8f1b4adf7d0595b4e8bcf8
15222 Author: Martin Pitt <martinpitt@gnome.org>
15223 Date: Sat May 5 09:28:36 2012 +0200
15225 Unref GVariants when destroying the wrapper
15227 https://bugzilla.gnome.org/show_bug.cgi?id=675472
15229 gi/overrides/GLib.py | 3 +++
15230 1 file changed, 3 insertions(+)
15232 commit d6c091d87c86c8ccc7cb54347fbceccedac61633
15233 Author: Martin Pitt <martinpitt@gnome.org>
15234 Date: Sat May 5 09:23:55 2012 +0200
15236 Fix TestArrayGVariant test cases
15238 test_array_gvariant_container_in() and test_array_gvariant_full_in()
15240 GIMarshallingTests.array_gvariant_none_in(), presumably a copy&paste
15242 Actually do what they mean to do now and call the corresponding
15243 GIMarshallingTests methods.
15245 tests/test_gi.py | 4 ++--
15246 1 file changed, 2 insertions(+), 2 deletions(-)
15248 commit fda8a069d503e63c76a6b1ba285a181822549059
15249 Author: Jose Rostagno <joserostagno@vijona.com.ar>
15250 Date: Sat May 5 08:52:41 2012 +0200
15252 pygtkcompat: Add gdk.pixbuf_get_formats compat code
15254 https://bugzilla.gnome.org/show_bug.cgi?id=675489
15256 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15258 gi/pygtkcompat.py | 20 ++++++++++++++++++++
15259 tests/test_pygtkcompat.py | 8 ++++++++
15260 2 files changed, 28 insertions(+)
15262 commit 2b49c5f58bb841de7a9077eeeaf996eb9851dab3
15263 Author: Jose Rostagno <joserostagno@vijona.com.ar>
15264 Date: Mon Apr 30 13:44:19 2012 -0300
15266 pygtkcompat: Add some more compat functions
15268 https://bugzilla.gnome.org/show_bug.cgi?id=675489
15270 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15272 gi/pygtkcompat.py | 14 ++++++++++++++
15273 1 file changed, 14 insertions(+)
15275 commit 16fbb17a9fd17eeb9f886af99e89a214d328dae1
15276 Author: Martin Pitt <martinpitt@gnome.org>
15277 Date: Thu May 3 12:25:04 2012 +0200
15279 Fix tests for Python 3
15281 cmp() does not exist any more in Python 3, replace with comparison
15284 GIMarshallingTests.array_in_nonzero_nonlen() expects a guint8 array,
15286 can't pass a str (which is an Unicode object in Python 3). Pass a
15290 tests/test_gi.py | 2 +-
15291 tests/test_overrides.py | 2 +-
15292 2 files changed, 2 insertions(+), 2 deletions(-)
15294 commit fd7f8eefbe8aba0b29d80e3eb9d985d33a268c8a
15295 Author: Martin Pitt <martinpitt@gnome.org>
15296 Date: Thu May 3 09:38:56 2012 +0200
15298 Fix building with --disable-cairo
15300 Build gobject-introspection's regress.c against cairo, not
15301 pycairo/py3cairo. We
15302 always need cairo to build, so unconditionally check for this in
15305 In test_everything.py, gracefully handle the absence of the "cairo"
15307 module, which we do not have when building without cairo support.
15309 configure.ac | 3 +++
15310 tests/Makefile.am | 4 ++--
15311 tests/test_everything.py | 8 +++++++-
15312 3 files changed, 12 insertions(+), 3 deletions(-)
15314 commit 1c5634e6d98c8b67b37a2747951c66f5d8f1907d
15315 Author: Martin Pitt <martinpitt@gnome.org>
15316 Date: Thu May 3 09:28:51 2012 +0200
15318 tests: Fix deprecated assertions
15320 assertAlmostEquals → assertAlmostEqual
15321 assertNotEquals → assertNotEqual
15323 tests/test_everything.py | 4 ++--
15324 tests/test_gi.py | 12 ++++++------
15325 tests/test_overrides.py | 10 +++++-----
15326 3 files changed, 13 insertions(+), 13 deletions(-)
15328 commit 07f312e66c07357168098d3f96813d2c997e8dc7
15329 Author: Martin Pitt <martinpitt@gnome.org>
15330 Date: Wed May 2 12:08:19 2012 +0200
15332 Run tests with MALLOC_PERTURB_
15334 We mostly use the glib allocation functions, but this might
15335 help to uncover access to already freed or uninitialized memory in
15339 tests/Makefile.am | 1 +
15340 1 file changed, 1 insertion(+)
15342 commit b0740d386c2cbbd153878209b584b568968e4d98
15343 Author: Martin Pitt <martinpitt@gnome.org>
15344 Date: Mon Apr 30 16:26:57 2012 +0200
15346 configure.ac: Post-release bump to 3.3.2
15348 configure.ac | 2 +-
15349 1 file changed, 1 insertion(+), 1 deletion(-)
15351 commit d3977266faadacd3d05705497c1cf51a01a6606f
15352 Author: Martin Pitt <martinpitt@gnome.org>
15353 Date: Mon Apr 30 16:08:09 2012 +0200
15358 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
15359 1 file changed, 66 insertions(+)
15361 commit a8e222f04aac3bcf7e4421c4da8d080eeb8b5f56
15362 Author: Giovanni Campagna <gcampagna@src.gnome.org>
15363 Date: Sun Apr 29 23:55:15 2012 +0200
15365 GSettings: allow extra keyword arguments
15367 All GObject constructors are expected to accept any construct
15368 property as keyword argument, and overrides should respect that.
15369 In particular, not doing this for GSettings prevents using a custom
15372 https://bugzilla.gnome.org/show_bug.cgi?id=675105
15374 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15376 gi/overrides/Gio.py | 4 ++--
15377 1 file changed, 2 insertions(+), 2 deletions(-)
15379 commit 592c67482c254f65817c1a1b5c5de5dfcaab31b4
15380 Author: Jose Rostagno <joserostagno@vijona.com.ar>
15381 Date: Sun Apr 29 12:56:50 2012 -0300
15383 pygtkcompat: Correct Userlist module use
15385 https://bugzilla.gnome.org/show_bug.cgi?id=675084
15387 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15389 gi/pygtkcompat.py | 2 +-
15390 tests/test_pygtkcompat.py | 4 ++++
15391 2 files changed, 5 insertions(+), 1 deletion(-)
15393 commit 3551462a429ef30274fa01fc8111da5025f9c342
15394 Author: Martin Pitt <martinpitt@gnome.org>
15395 Date: Sun Apr 29 20:17:47 2012 +0200
15397 Add release-news make rule
15399 This produces a commit log since the previous release in our
15401 format. This does not currently wrap long lines automatically, though.
15403 Do include bug numbers from now on, as they are very useful.
15405 Makefile.am | 12 ++++++++++--
15406 1 file changed, 10 insertions(+), 2 deletions(-)
15408 commit fe79ef612a7853f024b73c7997b8ec89015ae94c
15409 Author: Martin Pitt <martinpitt@gnome.org>
15410 Date: Wed Apr 25 13:07:59 2012 +0200
15412 Add "make check.nemiver" target
15414 Similar to "check.gdb", but invokes nemiver.
15416 Makefile.am | 3 +++
15417 tests/Makefile.am | 3 +++
15418 2 files changed, 6 insertions(+)
15420 commit 3090cc70a7ce8df38dd6cf6c17350417a7367c0b
15421 Author: Martin Pitt <martinpitt@gnome.org>
15422 Date: Tue Apr 24 13:24:00 2012 +0200
15424 Test flags and enums in GHash values
15426 https://bugzilla.gnome.org/show_bug.cgi?id=637466
15428 tests/test_everything.py | 18 ++++++++++++------
15429 1 file changed, 12 insertions(+), 6 deletions(-)
15431 commit 88d189ec3e3d900a96496a50c1d6e76615b19558
15432 Author: Martin Pitt <martinpitt@gnome.org>
15433 Date: Tue Apr 24 13:03:36 2012 +0200
15435 tests: Activate test_hash_in and apply workaround
15437 Work around pygobject's current inability to produce a GStrv object
15439 string array by explicitly producing a GStrV object, and reactivate
15442 https://bugzilla.gnome.org/show_bug.cgi?id=666636
15444 tests/test_everything.py | 24 +++++++++++++-----------
15445 1 file changed, 13 insertions(+), 11 deletions(-)
15447 commit 8ee21619b3cfc179cf114813478470d9aa3f6fb8
15448 Author: Martin Pitt <martinpitt@gnome.org>
15449 Date: Mon Apr 23 12:33:09 2012 +0200
15451 Add special case for Gdk.Atom array entries from Python
15453 Gdk.Atom pretends to be a struct pointer, but is really just an
15455 into a pointer. So we must not dereference it directly, nor free
15457 instead just copy the pointer value.
15459 Also add a few other test cases for "single Atom return", "single
15461 in", and Atom GList return", which already work fine.
15463 https://bugzilla.gnome.org/show_bug.cgi?id=661709
15465 gi/pygi-marshal-from-py.c | 18 ++++++++++++++----
15466 tests/Makefile.am | 1 +
15467 tests/test_atoms.py | 41 +++++++++++++++++++++++++++++++++++++++++
15468 3 files changed, 56 insertions(+), 4 deletions(-)
15470 commit b9f24b4fbc2ca9f9b94b86f029c59b2fc3e8590f
15471 Author: Martin Pitt <martinpitt@gnome.org>
15472 Date: Mon Apr 23 20:09:43 2012 +0200
15474 test_gdbus: Call GetConnectionUnixProcessID() with correct signature
15476 https://bugzilla.gnome.org/show_bug.cgi?id=667954
15478 tests/test_gdbus.py | 2 +-
15479 1 file changed, 1 insertion(+), 1 deletion(-)
15481 commit 3ae38d7519524288a57e5d522954b9d6725f0185
15482 Author: Martin Pitt <martinpitt@gnome.org>
15483 Date: Mon Apr 23 18:47:34 2012 +0200
15485 Add test case for Gtk.ListStore custom sort
15487 This works in Python 2, but crashes in Python 3, another case of
15489 we get when C calls a Python callback in Python 3.
15491 https://bugzilla.gnome.org/show_bug.cgi?id=674475
15493 tests/test_overrides.py | 31 +++++++++++++++++++++++++++++++
15494 1 file changed, 31 insertions(+)
15496 commit c12b10ca0feaaf61f23354c7b6631a9ef3635c36
15497 Author: Martin Pitt <martinpitt@gnome.org>
15498 Date: Mon Apr 23 17:40:23 2012 +0200
15500 GTK overrides: Add missing keyword arguments
15502 Add missing **kwargs to overridden __init__() constructors, to
15504 arbitrary widget properties.
15506 https://bugzilla.gnome.org/show_bug.cgi?id=660018
15508 gi/overrides/Gtk.py | 34 ++++++++++++++++++----------------
15509 tests/test_overrides.py | 6 ++++++
15510 2 files changed, 24 insertions(+), 16 deletions(-)
15512 commit d37680bb9390426f7f58ea3d352c3e5e2106e978
15513 Author: Martin Pitt <martinpitt@gnome.org>
15514 Date: Mon Apr 23 15:24:04 2012 +0200
15516 Add missing override for TreeModel.iter_previous()
15518 This should behave like the override for TreeModel.iter_next().
15520 https://bugzilla.gnome.org/show_bug.cgi?id=660018
15522 gi/overrides/Gtk.py | 6 ++++++
15523 tests/test_overrides.py | 4 ++++
15524 2 files changed, 10 insertions(+)
15526 commit e03284f852f0e404cc91374f3e2e42b0ac1977b4
15527 Author: Martin Pitt <martinpitt@gnome.org>
15528 Date: Sun Apr 22 16:45:06 2012 +0200
15530 pygi-convert.py: Drop obsolete drag method conversions
15532 Drop conversion of drag_source_unset() and drag_dest_{,un}set(). These
15534 fixed a while ago to be proper Widget methods again.
15536 https://bugzilla.gnome.org/show_bug.cgi?id=652860
15538 pygi-convert.sh | 3 ---
15539 1 file changed, 3 deletions(-)
15541 commit f82eca6006dec21624796074af8ffe9b2256f7a4
15542 Author: Martin Pitt <martinpitt@gnome.org>
15543 Date: Sat Apr 21 14:00:50 2012 +0200
15545 tests: Replace deprecated assertEquals() with assertEqual()
15547 tests/test_everything.py | 144 ++++++-------
15548 tests/test_gi.py | 502
15549 +++++++++++++++++++++++-----------------------
15550 tests/test_gobject.py | 58 +++---
15551 tests/test_option.py | 6 +-
15552 tests/test_overrides.py | 352 ++++++++++++++++----------------
15553 tests/test_properties.py | 18 +-
15554 tests/test_pygtkcompat.py | 42 ++--
15555 7 files changed, 561 insertions(+), 561 deletions(-)
15557 commit ddb0bf01e694585d58af52673a21796e7c9578ea
15558 Author: Paolo Borelli <pborelli@gnome.org>
15559 Date: Sat Apr 21 12:02:54 2012 +0200
15561 Plug tiny leak in constant_info_get_value
15563 Fixes https://bugzilla.gnome.org/show_bug.cgi?id=642754
15565 gi/pygi-info.c | 1 +
15566 1 file changed, 1 insertion(+)
15568 commit 9c48a561c5ee010410df7d6e430353b41d5fbd88
15569 Author: Bastian Winkler <buz@netbuz.org>
15570 Date: Thu Apr 12 20:30:05 2012 +0200
15572 Fix len_arg_index for array arguments
15574 Don't set len_arg_index for arrays without the length annotation
15576 This fixes methods like Clutter.Texture.set_from_rgb_data() and
15577 Clutter.Image.set_data()
15579 https://bugzilla.gnome.org/show_bug.cgi?id=674271
15581 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15583 gi/pygi-cache.c | 4 +++-
15584 gi/pygi-marshal-cleanup.c | 4 ++--
15585 tests/test_gi.py | 3 +++
15586 3 files changed, 8 insertions(+), 3 deletions(-)
15588 commit 71246ca0568bf3e9b81e88dd13b6d29e9417e313
15589 Author: Martin Pitt <martinpitt@gnome.org>
15590 Date: Thu Apr 19 13:11:56 2012 +0200
15592 Support defining GType properties from Python
15594 Commit 84e3471 fixed the handling of GType properties for properties
15596 defined in the C library already. Add the missing support for
15598 properties in Python as well.
15600 https://bugzilla.gnome.org/show_bug.cgi?id=674351
15602 gi/_gobject/gobjectmodule.c | 5 ++++-
15603 gi/_gobject/propertyhelper.py | 9 ++++++---
15604 tests/test_properties.py | 42
15605 +++++++++++++++++++++++++++++++++++++++---
15606 3 files changed, 49 insertions(+), 7 deletions(-)
15608 commit 2158ecd05a2770d6538bae67d01d1f718855a7d4
15609 Author: Martin Pitt <martinpitt@gnome.org>
15610 Date: Thu Apr 19 16:12:29 2012 +0200
15612 Fix typo in previous commit
15614 In the test case, actually assign the newly created object, so that
15616 properties of the right object.
15618 tests/test_everything.py | 2 +-
15619 1 file changed, 1 insertion(+), 1 deletion(-)
15621 commit 84e3471ba4595534cbe6875f1c8b77776e1d1814
15622 Author: Bastian Winkler <buz@netbuz.org>
15623 Date: Wed Apr 18 21:44:08 2012 +0200
15625 Handle GType properties correctly
15627 Fix conversion from/to properties of type G_TYPE_GTYPE
15629 https://bugzilla.gnome.org/show_bug.cgi?id=674351
15631 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15633 gi/_gobject/pygtype.c | 9 +++++++--
15634 tests/test_everything.py | 15 +++++++++++++++
15635 2 files changed, 22 insertions(+), 2 deletions(-)
15637 commit d1362451e070e156d2f49c9cde930cc38befb12b
15638 Author: Martin Pitt <martinpitt@gnome.org>
15639 Date: Thu Apr 19 07:27:10 2012 +0200
15641 Add missing GObject.TYPE_GTYPE
15643 gi/_gobject/__init__.py | 1 +
15644 gi/_gobject/constants.py | 1 +
15645 2 files changed, 2 insertions(+)
15647 commit d3225f1540e09719caa73e52d402e946da3add24
15648 Author: Martin Pitt <martinpitt@gnome.org>
15649 Date: Tue Apr 10 12:44:00 2012 +0200
15651 Fix test_mainloop.py for Python 3
15653 tests/test_mainloop.py | 9 +++++++--
15654 1 file changed, 7 insertions(+), 2 deletions(-)
15656 commit 903283119896f3e054694484da4147788b02ce60
15657 Author: Martin Pitt <martinpitt@gnome.org>
15658 Date: Mon Apr 9 15:20:39 2012 +0200
15660 Make callback exception propagation test stricter
15662 Propagating Python exceptions from callbacks through the C context
15664 original caller does not currently happen, is nontrivial/unsafe
15666 and not desirable at this point any more as by now we have established
15668 current behaviour. So remove the catching of ZeroDivisionError in
15671 https://bugzilla.gnome.org/show_bug.cgi?id=616279
15673 tests/test_everything.py | 16 ++++++++--------
15674 1 file changed, 8 insertions(+), 8 deletions(-)
15676 commit 0fd900d351c8d7d57dc6a1b049ee05f342f6ab1d
15677 Author: Simon Feltman <s.feltman@gmail.com>
15678 Date: Sun Mar 18 15:59:58 2012 -0700
15680 Add context management to freeze_notify() and handler_block().
15682 These methods now return a context manager object. Within the
15684 thaw_notify() and handler_unblock() are called respectively. This
15686 statements like the following:
15688 with obj.freeze_notify():
15689 obj.props.width = 100
15690 obj.props.height = 100
15691 obj.props.opacity = 0.5
15693 This does not affect standard usage of these methods.
15695 https://bugzilla.gnome.org/show_bug.cgi?id=672324
15697 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15699 gi/_gobject/pygobject.c | 138 +++++++++++++++++++++++++++++++++++++++---
15700 tests/test_gobject.py | 158
15701 ++++++++++++++++++++++++++++++++++++++++++++++++
15702 2 files changed, 288 insertions(+), 8 deletions(-)
15704 commit c0922589964c1d8bffe5a56d2f56df96eedfac10
15705 Author: Martin Pitt <martinpitt@gnome.org>
15706 Date: Wed Apr 4 19:08:54 2012 +0200
15708 Add support for GFlags properties
15710 https://bugzilla.gnome.org/show_bug.cgi?id=620943
15712 gi/_gobject/propertyhelper.py | 9 +++++++--
15713 tests/test_properties.py | 28 +++++++++++++++++++++++++++-
15714 2 files changed, 34 insertions(+), 3 deletions(-)
15716 commit d4054be9de3b7e4ed64c8172ebbde0a697462c79
15717 Author: Martin Pitt <martinpitt@gnome.org>
15718 Date: Wed Apr 4 17:54:52 2012 +0200
15720 Wrap GLib.Source.is_destroyed() method
15722 Based on original patch from Bryan Silverthorn.
15724 https://bugzilla.gnome.org/show_bug.cgi?id=524719
15726 gi/_glib/pygsource.c | 15 +++++++++++++++
15727 tests/test_source.py | 24 ++++++++++++++++++++++++
15728 2 files changed, 39 insertions(+)
15730 commit 05030a95a4d3090162ed5f510a26d69bbb152942
15731 Author: Martin Pitt <martinpitt@gnome.org>
15732 Date: Wed Apr 4 15:59:24 2012 +0200
15734 Fix error message when trying to override a non-GI class
15736 Based on original patch by Juanje Ojeda <jojeda@emergya.es>.
15738 https://bugzilla.gnome.org/show_bug.cgi?id=646667
15740 gi/overrides/__init__.py | 7 ++++---
15741 tests/test_overrides.py | 13 +++++++++++++
15742 2 files changed, 17 insertions(+), 3 deletions(-)
15744 commit 96f14989baea76fe8692f10c1a37e2dfc45fecbf
15745 Author: Steve Frécinaux <code@istique.net>
15746 Date: Wed Apr 4 15:30:55 2012 +0200
15748 Fix segfault when accessing __grefcount__ before creating the GObject
15750 When creating a new instance using Type() and trying to access
15751 __grefcount__ before calling the subclass's __init__ function, there
15752 used to be a segmentation fault because we were trying to access the
15753 not yet created object. Now raise a proper exception instead.
15755 https://bugzilla.gnome.org/show_bug.cgi?id=640434
15757 Co-authored-by: Martin Pitt <martinpitt@gnome.org>
15759 gi/_gobject/pygobject.c | 4 ++++
15760 tests/test_gobject.py | 11 +++++++++++
15761 2 files changed, 15 insertions(+)
15763 commit 24cc09a7105299805fcc5bc151f53ac69958d728
15764 Author: Steve Frécinaux <code@istique.net>
15765 Date: Wed Feb 9 18:37:33 2011 +0100
15767 Do not bind gobject_get_data() and gobject_set_data()
15769 They will basically cause a crash if misused, and you can always use a
15770 python member attribute instead.
15772 https://bugzilla.gnome.org/show_bug.cgi?id=641944
15774 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15776 gi/_gobject/pygobject.c | 40 ----------------------------------------
15777 1 file changed, 40 deletions(-)
15779 commit 2a5a33a9c9c170830c98c2e32fa8dcea3c35f2e6
15780 Author: Martin Pitt <martinpitt@gnome.org>
15781 Date: Tue Apr 3 22:26:34 2012 +0200
15783 Add test case for multiple GLib.MainLoop instances
15785 Commit 832f16f9 fixed a lockup with multiple GLib.MainLoops. Add
15789 https://bugzilla.gnome.org/show_bug.cgi?id=663068
15791 tests/test_mainloop.py | 25 ++++++++++++++++++++++++-
15792 1 file changed, 24 insertions(+), 1 deletion(-)
15794 commit d03696c1aaa7e66f8f16554cf4a4b97addb5aea1
15795 Author: John (J5) Palmieri <johnp@redhat.com>
15796 Date: Tue Feb 21 15:13:42 2012 +0100
15798 Add a ccallback type which is used to invoke callbacks passed to
15801 Used when overriding methods like gtk_container_forall wich pass in a
15802 callback that needs to be executed on internal children:
15803 def do_forall(self, callback, userdata):
15804 callback(self.custom_child, userdata)
15806 https://bugzilla.gnome.org/show_bug.cgi?id=644926
15808 Co-authored-by: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
15809 Co-authored-by: Simon Schampijer <simon@laptop.org>
15811 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15813 gi/Makefile.am | 2 +
15814 gi/gimodule.c | 1 +
15815 gi/module.py | 5 +++
15816 gi/pygi-argument.c | 12 +----
15817 gi/pygi-cache.c | 28 ++++++++++--
15818 gi/pygi-cache.h | 9 ++--
15819 gi/pygi-ccallback.c | 100
15820 ++++++++++++++++++++++++++++++++++++++++++
15821 gi/pygi-ccallback.h | 41 +++++++++++++++++
15822 gi/pygi-closure.c | 50 ++++++++++++++++++++-
15823 gi/pygi-invoke-state-struct.h | 2 +
15824 gi/pygi-invoke.c | 73 ++++++++++++++++++++----------
15825 gi/pygi-invoke.h | 3 ++
15826 gi/pygi-private.h | 1 +
15827 gi/pygi.h | 10 +++++
15828 tests/test_gi.py | 16 +++++++
15829 15 files changed, 312 insertions(+), 41 deletions(-)
15831 commit db7e1d078db16b6f11dee51aa97525c451346632
15832 Author: Alberto Mardegan <alberto.mardegan@canonical.com>
15833 Date: Tue Mar 27 17:34:48 2012 +0200
15835 Regression test: marshalling GValues in GHashTable
15837 https://bugzilla.gnome.org/show_bug.cgi?id=668903
15839 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15841 tests/test_everything.py | 19 +++++++++++++++++++
15842 1 file changed, 19 insertions(+)
15844 commit 7c0017c30129a8db391f902ed592782200d69c64
15845 Author: Martin Pitt <martin.pitt@ubuntu.com>
15846 Date: Mon Mar 26 17:55:41 2012 +0200
15848 Bump version to 3.3.1
15850 3.2.x is built from the pygobject-3-2 branch now, and 3.2.0 is
15852 continue with 3.3.x on master.
15854 configure.ac | 4 ++--
15855 1 file changed, 2 insertions(+), 2 deletions(-)
15857 commit 8309f305e5ce508fc5f6411c8153bea2cee5f741
15858 Author: Martin Pitt <martin.pitt@ubuntu.com>
15859 Date: Mon Mar 26 17:51:37 2012 +0200
15863 - Ignore *.o, backup files, and generated Makefiles in all
15865 - Ignore *.pyc files.
15866 - Do not ignore .gitignore, we actually want to track this.
15869 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
15870 1 file changed, 61 insertions(+)
15872 commit 81de788a72b40acd2f857718d78bdeea01d12eb1
15873 Author: Martin Pitt <martin.pitt@ubuntu.com>
15874 Date: Mon Mar 26 17:45:08 2012 +0200
15876 Fix "distcheck" and tests with out-of-tree builds
15878 - Symlink *.py files from srcdir into builddir during build, as
15880 accept the extensions and modules in different paths.
15881 - "make clean" should remove *.pyc files
15882 - tests/runtests.py: Look for tests in srcdir, not in builddir
15884 Makefile.am | 6 ++++--
15885 gi/Makefile.am | 13 +++++++++++--
15886 gi/_glib/Makefile.am | 12 ++++++++++--
15887 gi/_gobject/Makefile.am | 12 ++++++++++--
15888 gi/overrides/Makefile.am | 10 ++++++++++
15889 gi/repository/Makefile.am | 11 +++++++++++
15890 tests/runtests.py | 6 ++++--
15891 7 files changed, 60 insertions(+), 10 deletions(-)
15893 commit f83d95e6fff572bda659a48e309b4524dafa4e83
15894 Author: Johan Dahlin <johan@gnome.org>
15895 Date: Thu Mar 22 11:14:03 2012 -0300
15897 Add a pep8 check to the makefile
15899 Also reorganize the pyflakes check, since target dependencies do not
15900 take the exit status of the shell command into account.
15902 https://bugzilla.gnome.org/show_bug.cgi?id=672627
15904 tests/Makefile.am | 9 ++++-----
15905 1 file changed, 4 insertions(+), 5 deletions(-)
15907 commit d1f5474c6c50163aefe660e0689dc7f30e6cd48b
15908 Author: Johan Dahlin <johan@gnome.org>
15909 Date: Thu Mar 22 10:56:59 2012 -0300
15911 PEP8: Remaining whitespace fixes
15913 https://bugzilla.gnome.org/show_bug.cgi?id=672627
15915 demos/gtk-demo/demos/Icon View/iconviewedit.py | 7 +++----
15916 demos/gtk-demo/demos/Tree View/liststore.py | 28
15917 +++++++++++++-------------
15918 demos/gtk-demo/demos/appwindow.py | 10 ++++-----
15919 demos/gtk-demo/demos/rotatedtext.py | 2 +-
15920 examples/cairo-demo.py | 4 ++--
15921 tests/test_gi.py | 12 +++++------
15922 tests/test_overrides.py | 2 +-
15923 7 files changed, 32 insertions(+), 33 deletions(-)
15925 commit 032fcce2bf6070a9001cbb780e90403051e303b1
15926 Author: Johan Dahlin <johan@gnome.org>
15927 Date: Thu Mar 22 10:56:03 2012 -0300
15929 PEP8: Add spaces before #
15931 https://bugzilla.gnome.org/show_bug.cgi?id=672627
15933 demos/gtk-demo/demos/drawingarea.py | 6 +++---
15934 demos/gtk-demo/demos/images.py | 10 +++++-----
15935 demos/gtk-demo/demos/rotatedtext.py | 2 +-
15936 gi/__init__.py | 2 +-
15937 gi/_glib/option.py | 2 +-
15938 gi/_gobject/__init__.py | 2 +-
15939 gi/overrides/GLib.py | 12 ++++++------
15940 gi/types.py | 4 ++--
15941 tests/runtests.py | 2 +-
15942 tests/test_gdbus.py | 4 ++--
15943 10 files changed, 23 insertions(+), 23 deletions(-)
15945 commit 6a58edbf11c612e9a14347b1556d1e0dd2ec1823
15946 Author: Johan Dahlin <johan@gnome.org>
15947 Date: Thu Mar 22 10:52:05 2012 -0300
15949 PEP8: Add missing whitespace after : and ,
15951 https://bugzilla.gnome.org/show_bug.cgi?id=672627
15953 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
15954 demos/gtk-demo/demos/appwindow.py | 2 +-
15955 tests/test_everything.py | 23 +++++++++--------------
15956 tests/test_gi.py | 2 +-
15957 tests/test_overrides.py | 2 +-
15958 5 files changed, 13 insertions(+), 18 deletions(-)
15960 commit a8d361e66b2a0e09cfa5dbade4725074b0cc2fd1
15961 Author: Johan Dahlin <johan@gnome.org>
15962 Date: Thu Mar 22 10:49:52 2012 -0300
15964 PEP8: Remove too whitespace before }
15966 https://bugzilla.gnome.org/show_bug.cgi?id=672627
15968 tests/test_overrides.py | 2 +-
15969 1 file changed, 1 insertion(+), 1 deletion(-)
15971 commit 2b8eb9fa5b9ca454d7130b3eec15a982fee1bdc9
15972 Author: Johan Dahlin <johan@gnome.org>
15973 Date: Thu Mar 22 10:49:27 2012 -0300
15975 PEP8: Remove too many blank lines
15977 https://bugzilla.gnome.org/show_bug.cgi?id=672627
15979 demos/gtk-demo/demos/rotatedtext.py | 1 -
15980 tests/test_overrides.py | 1 -
15981 2 files changed, 2 deletions(-)
15983 commit 03e597cb8f3b075efae556ee51a598695a883ad3
15984 Author: Johan Dahlin <johan@gnome.org>
15985 Date: Thu Mar 22 10:48:59 2012 -0300
15987 PEP8: Fix whitespace around operators
15989 https://bugzilla.gnome.org/show_bug.cgi?id=672627
15991 demos/gtk-demo/demos/images.py | 2 +-
15992 examples/cairo-demo.py | 8 ++++----
15993 tests/test_gi.py | 4 ++--
15994 tests/test_overrides.py | 8 ++++----
15995 tests/test_properties.py | 14 +++++++-------
15996 tests/test_signal.py | 2 +-
15997 6 files changed, 19 insertions(+), 19 deletions(-)
15999 commit 21aeb19107b718293116e51ecd6479d4d7198b8f
16000 Author: Johan Dahlin <johan@gnome.org>
16001 Date: Thu Mar 22 10:46:17 2012 -0300
16003 PEP8: Remove whitespace before (
16005 https://bugzilla.gnome.org/show_bug.cgi?id=672627
16007 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
16008 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
16009 demos/gtk-demo/demos/Entry/search_entry.py | 12 ++---
16010 demos/gtk-demo/demos/Icon View/iconviewedit.py | 4 +-
16011 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
16012 demos/gtk-demo/demos/dialogs.py | 12 ++---
16013 demos/gtk-demo/demos/pickers.py | 8 ++--
16014 demos/gtk-demo/demos/pixbuf.py | 4 +-
16015 demos/gtk-demo/demos/printing.py | 8 ++--
16016 demos/gtk-demo/demos/rotatedtext.py | 2 +-
16017 demos/gtk-demo/gtk-demo.py | 4 +-
16018 gi/module.py | 4 +-
16019 gi/overrides/Pango.py | 2 +-
16020 gi/pygtkcompat.py | 4 +-
16021 tests/test_everything.py | 4 +-
16022 tests/test_overrides.py | 62
16023 +++++++++++++-------------
16024 16 files changed, 68 insertions(+), 68 deletions(-)
16026 commit b04d209930ab01bae6563b0d714aec829739bdc6
16027 Author: Johan Dahlin <johan@gnome.org>
16028 Date: Thu Mar 22 10:40:46 2012 -0300
16030 PEP8: Remove whitespace around {}
16032 https://bugzilla.gnome.org/show_bug.cgi?id=672627
16034 tests/test_signal.py | 20 ++++++++++----------
16035 1 file changed, 10 insertions(+), 10 deletions(-)
16037 commit 725483a5dc36739dc7836716b5d6d48091564bf8
16038 Author: Johan Dahlin <johan@gnome.org>
16039 Date: Thu Mar 22 10:38:59 2012 -0300
16041 PEP8: run via --fix from craigds fork
16043 https://bugzilla.gnome.org/show_bug.cgi?id=672627
16045 demos/gtk-demo/demos/Entry/entry_buffer.py | 1 +
16046 demos/gtk-demo/demos/Entry/entry_completion.py | 1 +
16047 demos/gtk-demo/demos/Entry/search_entry.py | 3 +-
16048 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 1 +
16049 demos/gtk-demo/demos/Icon View/iconviewedit.py | 2 +
16050 demos/gtk-demo/demos/Tree View/liststore.py | 3 ++
16051 demos/gtk-demo/demos/appwindow.py | 13 +++++-
16052 demos/gtk-demo/demos/assistant.py | 1 +
16053 demos/gtk-demo/demos/builder.py | 1 +
16054 demos/gtk-demo/demos/button_box.py | 1 +
16055 demos/gtk-demo/demos/clipboard.py | 2 +-
16056 demos/gtk-demo/demos/colorselector.py | 1 +
16057 demos/gtk-demo/demos/combobox.py | 4 +-
16058 demos/gtk-demo/demos/dialogs.py | 2 +
16059 demos/gtk-demo/demos/drawingarea.py | 1 +
16060 demos/gtk-demo/demos/expander.py | 4 +-
16061 demos/gtk-demo/demos/images.py | 10 +++--
16062 demos/gtk-demo/demos/infobars.py | 2 +
16063 demos/gtk-demo/demos/links.py | 2 +
16064 demos/gtk-demo/demos/menus.py | 2 +
16065 demos/gtk-demo/demos/pickers.py | 2 +
16066 demos/gtk-demo/demos/pixbuf.py | 2 +
16067 demos/gtk-demo/demos/printing.py | 5 ++-
16068 demos/gtk-demo/demos/rotatedtext.py | 4 +-
16069 demos/gtk-demo/demos/test.py | 1 +
16070 demos/gtk-demo/gtk-demo.py | 9 ++--
16071 examples/cairo-demo.py | 57
16072 ++++++++++++++----------
16073 examples/option.py | 1 -
16074 examples/properties.py | 1 +
16075 examples/signal.py | 4 ++
16076 gi/__init__.py | 2 +
16077 gi/_glib/option.py | 4 +-
16078 gi/_gobject/__init__.py | 1 +
16079 gi/_gobject/propertyhelper.py | 5 ++-
16080 gi/module.py | 3 ++
16081 gi/overrides/GIMarshallingTests.py | 2 +
16082 gi/overrides/GLib.py | 12 +++--
16083 gi/overrides/Gdk.py | 9 ++++
16084 gi/overrides/Gio.py | 4 ++
16085 gi/overrides/Gtk.py | 56
16086 ++++++++++++++++++++---
16087 gi/overrides/Pango.py | 2 +
16088 gi/overrides/__init__.py | 5 ++-
16089 gi/pygtkcompat.py | 16 +++++--
16091 tests/test_everything.py | 30 +++++++++----
16092 tests/test_gdbus.py | 1 +
16093 tests/test_gi.py | 30 +++++++------
16094 tests/test_gobject.py | 3 +-
16095 tests/test_mainloop.py | 1 +
16096 tests/test_option.py | 1 +
16097 tests/test_overrides.py | 55
16098 ++++++++++++-----------
16099 tests/test_properties.py | 11 ++++-
16100 tests/test_signal.py | 32 ++++++++++++-
16101 tests/test_source.py | 1 +
16102 tests/test_subprocess.py | 1 +
16103 tests/test_thread.py | 1 +
16104 tests/test_uris.py | 1 +
16105 tests/testmodule.py | 1 +
16106 58 files changed, 326 insertions(+), 111 deletions(-)
16108 commit 917275d4aa81db39ccaca34fa514032fb80a3187
16109 Author: Johan Dahlin <johan@gnome.org>
16110 Date: Thu Mar 22 10:33:29 2012 -0300
16112 PEP8: Remove spaces around = for keyword arguments
16114 https://bugzilla.gnome.org/show_bug.cgi?id=672627
16116 demos/gtk-demo/demos/appwindow.py | 8 ++++----
16117 demos/gtk-demo/demos/colorselector.py | 4 ++--
16118 demos/gtk-demo/gtk-demo.py | 24 ++++++++++++------------
16119 examples/option.py | 4 ++--
16120 gi/_glib/option.py | 2 +-
16121 gi/overrides/Gtk.py | 2 +-
16122 tests/test_gi.py | 26 +++++++++++++-------------
16123 tests/test_option.py | 2 +-
16124 tests/test_overrides.py | 8 ++++----
16125 9 files changed, 40 insertions(+), 40 deletions(-)
16127 commit 0c85656f95d3cb31becff10bbee7faae7b0b875b
16128 Author: Johan Dahlin <johan@gnome.org>
16129 Date: Thu Mar 22 10:28:28 2012 -0300
16131 PEP8: Remove trailing ;
16133 https://bugzilla.gnome.org/show_bug.cgi?id=672627
16135 demos/gtk-demo/demos/appwindow.py | 4 ++--
16136 demos/gtk-demo/demos/dialogs.py | 30 +++++++++++++++---------------
16137 demos/gtk-demo/demos/links.py | 2 +-
16138 demos/gtk-demo/demos/pixbuf.py | 2 +-
16139 demos/gtk-demo/demos/printing.py | 8 ++++----
16140 gi/overrides/Gtk.py | 4 ++--
16141 tests/test_everything.py | 22 +++++++++++-----------
16142 tests/test_gi.py | 2 +-
16143 tests/test_overrides.py | 8 ++++----
16144 9 files changed, 41 insertions(+), 41 deletions(-)
16146 commit 32cc594ab6dfbd4843f3db5ec8338d31ad5df6c6
16147 Author: Johan Dahlin <johan@gnome.org>
16148 Date: Thu Mar 22 10:24:40 2012 -0300
16150 Remove all tabs and fix indentation
16152 By running the whole source tree via the indent.py script found
16153 in the Python distribution.
16155 demos/gtk-demo/demos/Entry/search_entry.py | 4 +-
16156 demos/gtk-demo/demos/Icon View/iconviewedit.py | 41 +++----
16157 demos/gtk-demo/demos/Tree View/liststore.py | 8 +-
16158 demos/gtk-demo/demos/appwindow.py | 18 +--
16159 demos/gtk-demo/demos/dialogs.py | 26 ++---
16160 demos/gtk-demo/demos/expander.py | 6 +-
16161 demos/gtk-demo/demos/images.py | 2 +-
16162 demos/gtk-demo/demos/links.py | 2 +-
16163 demos/gtk-demo/demos/rotatedtext.py | 20 ++--
16164 gi/_glib/option.py | 2 +-
16165 gi/_gobject/constants.py | 1 -
16166 gi/importer.py | 1 -
16167 gi/module.py | 10 +-
16168 gi/overrides/GLib.py | 11 +-
16169 gi/overrides/Gdk.py | 30 ++---
16170 gi/overrides/Gio.py | 4 +-
16171 gi/overrides/Gtk.py | 150
16172 ++++++++++++-------------
16173 gi/overrides/Pango.py | 1 -
16174 gi/overrides/__init__.py | 10 +-
16175 gi/pygtkcompat.py | 2 +-
16176 tests/compathelper.py | 2 +-
16177 tests/runtests.py | 19 ++--
16178 tests/test_everything.py | 22 ++--
16179 tests/test_gdbus.py | 11 +-
16180 tests/test_gi.py | 38 +++----
16181 tests/test_gobject.py | 2 +-
16182 tests/test_interface.py | 1 -
16183 tests/test_option.py | 1 -
16184 tests/test_overrides.py | 78 ++++++-------
16185 tests/test_properties.py | 2 +-
16186 tests/test_uris.py | 1 -
16187 31 files changed, 255 insertions(+), 271 deletions(-)
16189 commit c375e3136f0f48eb8a6717c0053155db088b329d
16190 Author: Martin Pitt <martin.pitt@ubuntu.com>
16191 Date: Thu Mar 22 10:32:43 2012 +0100
16193 tests: Replace deprecated Python API
16195 failIf → assertFalse, failUnless → assertTrue
16197 Caught by the previous commit of making deprecations fatal.
16199 tests/test_option.py | 10 +++----
16200 tests/test_overrides.py | 66
16201 +++++++++++++++++++++++------------------------
16202 tests/test_properties.py | 14 +++++-----
16203 tests/test_pygtkcompat.py | 18 ++++++-------
16204 tests/test_signal.py | 4 +--
16205 5 files changed, 56 insertions(+), 56 deletions(-)
16207 commit 32525e565cc48454cdacbc44ad3fd751b81cb7e3
16208 Author: Martin Pitt <martin.pitt@ubuntu.com>
16209 Date: Thu Mar 22 10:31:22 2012 +0100
16211 Fail tests if they use or encounter deprecations
16213 tests/Makefile.am | 2 +-
16214 1 file changed, 1 insertion(+), 1 deletion(-)
16216 commit 65762243a34af014950527c323a51a29d40fb3e1
16217 Author: Martin Pitt <martin.pitt@ubuntu.com>
16218 Date: Thu Mar 22 10:15:16 2012 +0100
16220 Do not run tests in two phases any more
16222 As we dropped the static bindings a while ago, there is no need any
16224 the tests in two phases (static/GI). Now just run them all in one go,
16225 simplifying tests/Makefile.am.
16227 As this changes the order of the tests, defining $GSETTINGS_SCHEMA_DIR
16229 needs to happen even further, so move it from tests/test_overrides.py
16233 tests/Makefile.am | 33 ++++++++++++---------------------
16234 tests/runtests.py | 7 +++++++
16235 tests/test_overrides.py | 6 ------
16236 3 files changed, 19 insertions(+), 27 deletions(-)
16238 commit 3b4ae83a0ece8e3aed1de5452e2acd32841e629a
16239 Author: Martin Pitt <martin.pitt@ubuntu.com>
16240 Date: Thu Mar 22 09:58:21 2012 +0100
16242 test_overrides: Find local gsettings schema with current glib
16244 With current glib, gsettings now fails to find the gschemas.compiled
16246 tests. Move the setting of $GSETTINGS_SCHEMA_DIR before the module
16248 which makes this work again.
16250 tests/test_overrides.py | 9 +++++----
16251 1 file changed, 5 insertions(+), 4 deletions(-)
16253 commit 927f7877ffa5e16c4cabcecbc05656ee0ec6a167
16254 Author: Paolo Borelli <pborelli@gnome.org>
16255 Date: Wed Mar 21 21:09:24 2012 +0100
16257 Add GtkComboBoxEntry compatibility
16259 This widget has been removed in Gtk+ 3, add a small wrapper to the
16260 compat module to make at least basic pygtk programs that use it work.
16262 https://bugzilla.gnome.org/show_bug.cgi?id=672589
16264 gi/pygtkcompat.py | 19 +++++++++++++++++++
16265 tests/test_pygtkcompat.py | 22 ++++++++++++++++++++++
16266 2 files changed, 41 insertions(+)
16268 commit b322d6a1f6d44bace4eefb98558cfe94a73a727c
16269 Author: Johan Dahlin <johan@gnome.org>
16270 Date: Wed Mar 21 16:01:35 2012 -0300
16272 Correct review comments from Martin
16274 https://bugzilla.gnome.org/show_bug.cgi?id=672578
16276 tests/test_everything.py | 4 ++--
16277 tests/test_pygtkcompat.py | 18 ++++++++++++++++++
16278 2 files changed, 20 insertions(+), 2 deletions(-)
16280 commit c8bc6ae10cfe8b2eff4204ec2175907a6eb0585a
16281 Author: Johan Dahlin <johan@gnome.org>
16282 Date: Wed Mar 21 14:45:53 2012 -0300
16284 Correct pyflakes warnings/errors
16286 And add a target to make check that runs pyflakes.
16288 https://bugzilla.gnome.org/show_bug.cgi?id=672578
16290 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
16291 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
16292 demos/gtk-demo/demos/Entry/search_entry.py | 12 +-
16293 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 2 +-
16294 demos/gtk-demo/demos/Icon View/iconviewedit.py | 2 +-
16295 demos/gtk-demo/demos/Tree View/liststore.py | 3 +-
16296 demos/gtk-demo/demos/appwindow.py | 13 +-
16297 demos/gtk-demo/demos/assistant.py | 4 +-
16298 demos/gtk-demo/demos/builder.py | 4 +-
16299 demos/gtk-demo/demos/button_box.py | 2 +-
16300 demos/gtk-demo/demos/clipboard.py | 2 +-
16301 demos/gtk-demo/demos/colorselector.py | 2 +-
16302 demos/gtk-demo/demos/combobox.py | 4 +-
16303 demos/gtk-demo/demos/dialogs.py | 4 +-
16304 demos/gtk-demo/demos/drawingarea.py | 2 +-
16305 demos/gtk-demo/demos/expander.py | 4 +-
16306 demos/gtk-demo/demos/images.py | 8 +-
16307 demos/gtk-demo/demos/infobars.py | 2 +-
16308 demos/gtk-demo/demos/links.py | 2 +-
16309 demos/gtk-demo/demos/menus.py | 5 +-
16310 demos/gtk-demo/demos/pickers.py | 2 +-
16311 demos/gtk-demo/demos/pixbuf.py | 2 +-
16312 demos/gtk-demo/demos/printing.py | 3 +-
16313 demos/gtk-demo/demos/rotatedtext.py | 6 +-
16314 demos/gtk-demo/gtk-demo.py | 9 +-
16315 examples/cairo-demo.py | 2 +-
16316 gi/__init__.py | 4 +
16317 gi/_glib/__init__.py | 101 ++++++++++-
16318 gi/_glib/option.py | 1 +
16319 gi/_gobject/__init__.py | 203
16320 ++++++++++++++++++++---
16321 gi/_gobject/constants.py | 2 -
16322 gi/_gobject/propertyhelper.py | 4 +-
16323 gi/importer.py | 2 +-
16325 gi/overrides/Gtk.py | 1 -
16326 gi/overrides/__init__.py | 1 -
16327 gi/pygtkcompat.py | 2 +
16329 tests/Makefile.am | 5 +
16330 tests/test_everything.py | 6 +-
16331 tests/test_gi.py | 8 +-
16332 tests/test_option.py | 10 +-
16333 tests/test_overrides.py | 30 ++--
16334 tests/test_properties.py | 12 +-
16335 tests/test_pygtkcompat.py | 4 -
16336 tests/test_signal.py | 4 +-
16337 tests/test_source.py | 6 +-
16338 47 files changed, 377 insertions(+), 138 deletions(-)
16340 commit 39650906559fcc39b4be406fa7e25c4788d349a3
16341 Author: Martin Pitt <martin.pitt@ubuntu.com>
16342 Date: Wed Mar 21 16:59:33 2012 +0100
16344 Make tests fail on CRITICAL logs, too, and apply to all tests
16346 Instead of setting warnings/criticals to fatal in individual test
16348 it in runtests.py, so that it applies to all tests.
16350 We currently have some tests which are known to generate CRITICALs
16352 with FIXME), and some WARNINGs (as they test behaviour with known-bad
16354 For these, warnings/criticals are now explicitly permitted.
16356 tests/runtests.py | 1 +
16357 tests/test_gi.py | 7 ++++++-
16358 tests/test_overrides.py | 14 +++++++-------
16359 tests/test_properties.py | 36 +++++++++++++++++++++---------------
16360 4 files changed, 35 insertions(+), 23 deletions(-)
16362 commit efcb4b0b32c4dda06c3eeec83802fc0f302f0d27
16363 Author: Alberto Mardegan <alberto.mardegan@canonical.com>
16364 Date: Tue Mar 20 14:55:07 2012 +0400
16366 Support marshalling GI_TYPE_TAG_INTERFACE
16368 Marshalling of interfaces got broken with commit
16369 7746d2188ac4933c2c9011d84525d1e62fc18953.
16371 Also, do not abort on unsupported types, but log a critical failure
16375 https://bugzilla.gnome.org/show_bug.cgi?id=668903
16377 gi/pygi-marshal-from-py.c | 3 ++-
16378 gi/pygi-marshal-to-py.c | 3 ++-
16379 2 files changed, 4 insertions(+), 2 deletions(-)
16381 commit 8d85d6639778ec6364235071d272d67e7aae49ae
16382 Author: Martin Pitt <martin.pitt@ubuntu.com>
16383 Date: Wed Mar 21 14:34:36 2012 +0100
16385 Fix warnings on None values in added tree/list store rows
16387 Commit bf8c95836e1c changed the List/TreeStore overrides to use
16388 insert_with_valuesv(), but supplied all columns instead of just
16390 not None. With this, None values cause warnings like
16392 (runtests.py:12375): Gtk-WARNING **:
16393 /build/buildd/gtk+3.0-3.3.20/./gtk/gtkliststore.c:851: Unable to
16394 convert from (null) to gboolean
16396 Update the tests to make warnings fatal, to catch this better.
16398 Change _convert_row() to skip the None entries and return the list
16400 columns, and use the latter instead of a simple range(n_columns). This
16402 the behaviour before bf8c95836e1c, where columns with None values
16406 https://bugzilla.gnome.org/show_bug.cgi?id=672463
16408 gi/overrides/Gtk.py | 26 ++++++++++++++------------
16409 tests/test_overrides.py | 5 +++++
16410 2 files changed, 19 insertions(+), 12 deletions(-)
16412 commit 38aecc481741fd3a319a76a0ec8bf5329a483876
16413 Author: Martin Pitt <martin.pitt@ubuntu.com>
16414 Date: Wed Mar 21 15:21:02 2012 +0100
16416 pygtkcompat test: Properly clean up PixbufLoader
16418 Tests currently give
16420 (runtests.py:15072): GdkPixbuf-WARNING **: GdkPixbufLoader finalized
16421 without calling gdk_pixbuf_loader_close() - this is not allowed. You
16422 must explicitly end the data stream to the loader before dropping
16423 the last reference.
16425 Fix this by calling close().
16427 tests/test_pygtkcompat.py | 3 ++-
16428 1 file changed, 2 insertions(+), 1 deletion(-)
16430 commit 5e0e5e72a4436badd09f0aa07f62960afcdca8c6
16431 Author: Martin Pitt <martin.pitt@ubuntu.com>
16432 Date: Mon Mar 19 16:58:22 2012 +0100
16436 Use 3.1.93 for now, this will most likely become 3.2.0 as it is.
16438 configure.ac | 2 +-
16439 1 file changed, 1 insertion(+), 1 deletion(-)
16441 commit 88924e399d7ccf7af2e9a78720e0c508cd6080d8
16442 Author: Martin Pitt <martin.pitt@ubuntu.com>
16443 Date: Mon Mar 19 16:41:17 2012 +0100
16447 NEWS | 46 ++++++++++++++++++++++++++++++++++++++++++++++
16448 1 file changed, 46 insertions(+)
16450 commit b41e6139befb984c0b78bcefe2630ab1393b4b40
16451 Author: Martin Pitt <martin.pitt@ubuntu.com>
16452 Date: Mon Mar 19 16:14:54 2012 +0100
16454 README: Update current maintainers
16456 Also update Martin's email address.
16458 README | 10 ++++++----
16459 pygobject.doap | 2 +-
16460 2 files changed, 7 insertions(+), 5 deletions(-)
16462 commit 45e27ba7e447552057a2950fc768c63ff2e6612e
16463 Author: Martin Pitt <martin.pitt@ubuntu.com>
16464 Date: Mon Mar 19 16:11:22 2012 +0100
16466 Bump version to 3.1.92, in sync with GNOME
16468 configure.ac | 2 +-
16469 1 file changed, 1 insertion(+), 1 deletion(-)
16471 commit 77d358f8c5f524259249ea686899e3a4da05562e
16472 Author: Johan Dahlin <johan@gnome.org>
16473 Date: Mon Mar 19 11:54:07 2012 -0300
16475 Correct Gtk.TreePath.__iter__ to work with Python 3
16477 gi/overrides/Gtk.py | 2 +-
16478 1 file changed, 1 insertion(+), 1 deletion(-)
16480 commit 1f18bcb37bdc42368ad9a07c7f348f736c2f665d
16481 Author: Martin Pitt <martin.pitt@ubuntu.com>
16482 Date: Mon Mar 19 15:54:13 2012 +0100
16484 Fix pygtkcompat.py to work with Python 3
16486 gi/pygtkcompat.py | 20 +++++++++++++++-----
16487 1 file changed, 15 insertions(+), 5 deletions(-)
16489 commit 96a9f92da801989464fbcedf6d849819f6dbea64
16490 Author: Martin Pitt <martin.pitt@ubuntu.com>
16491 Date: Mon Mar 19 15:32:22 2012 +0100
16493 Fix test_everything.TestSignals.test_object_param_signal test case
16495 The callback gets two arguments, not one. This short-circuited
16497 assertions. Fix the arguments and update the refcount check, as it
16499 exactly two at the moment.
16501 tests/test_everything.py | 4 ++--
16502 1 file changed, 2 insertions(+), 2 deletions(-)
16504 commit ba00afb1e50759b2b321f16e05a15946053cdafa
16505 Author: Johan Dahlin <johan@gnome.org>
16506 Date: Mon Mar 19 10:58:09 2012 -0300
16508 pygtkcompat: Remove first argument for get_origin()
16510 gi/pygtkcompat.py | 5 +++++
16511 tests/test_pygtkcompat.py | 5 +++++
16512 2 files changed, 10 insertions(+)
16514 commit 65499246a862ce6a82bc3b0cc74fe8ff82dde687
16515 Author: Johan Dahlin <johan@gnome.org>
16516 Date: Fri Mar 16 16:08:44 2012 -0300
16518 GtkViewport: Add a default values for the adjustment constructor
16521 https://bugzilla.gnome.org/show_bug.cgi?id=672260
16523 gi/overrides/Gtk.py | 10 ++++++++++
16524 tests/test_overrides.py | 11 +++++++++++
16525 2 files changed, 21 insertions(+)
16527 commit 43c761d9f35252dcb58b9cf2278016d841eea4ec
16528 Author: Johan Dahlin <johan@gnome.org>
16529 Date: Fri Mar 16 16:08:23 2012 -0300
16531 GtkIconSet: Add a default value for the pixbuf constructor parameter
16533 https://bugzilla.gnome.org/show_bug.cgi?id=672260
16535 gi/overrides/Gtk.py | 11 +++++++++++
16536 tests/test_overrides.py | 6 ++++++
16537 2 files changed, 17 insertions(+)
16539 commit 116d3712251b1b8aa2d4f4a9e40e22f5b9fcbe4f
16540 Author: Johan Dahlin <johan@gnome.org>
16541 Date: Fri Mar 16 16:07:30 2012 -0300
16543 PangoLayout: Add a default value for set_markup()
16545 https://bugzilla.gnome.org/show_bug.cgi?id=672260
16547 gi/overrides/Pango.py | 3 +++
16548 tests/test_overrides.py | 4 ++++
16549 2 files changed, 7 insertions(+)
16551 commit a3ca47b086b7fcf084282be788c5d737dde847ac
16552 Author: Johan Dahlin <johan@gnome.org>
16553 Date: Fri Mar 16 16:06:37 2012 -0300
16555 Gtk[HV]Scrollbar: Add a default value for the adjustment constructor
16558 https://bugzilla.gnome.org/show_bug.cgi?id=672260
16560 gi/overrides/Gtk.py | 15 +++++++++++++++
16561 tests/test_overrides.py | 14 ++++++++++++++
16562 2 files changed, 29 insertions(+)
16564 commit 458dab08c78cb730dd95bcd67af20a0d73a3af2f
16565 Author: Johan Dahlin <johan@gnome.org>
16566 Date: Fri Mar 16 16:06:12 2012 -0300
16568 GtkToolButton: Add a default value for the stock_id constructor
16571 https://bugzilla.gnome.org/show_bug.cgi?id=672260
16573 gi/overrides/Gtk.py | 10 ++++++++++
16574 tests/test_overrides.py | 9 ++++++++-
16575 2 files changed, 18 insertions(+), 1 deletion(-)
16577 commit 2f7789a5a1f55ec38c5ff0f96bc5c9023679a333
16578 Author: Johan Dahlin <johan@gnome.org>
16579 Date: Fri Mar 16 16:05:55 2012 -0300
16581 GtkIconView: Add a default value for the model constructor parameter
16583 https://bugzilla.gnome.org/show_bug.cgi?id=672260
16585 gi/overrides/Gtk.py | 3 +++
16586 tests/test_overrides.py | 11 +++++++++++
16587 2 files changed, 14 insertions(+)
16589 commit 2dd9dadd1bd92c3324e9de209ba8205a9d4106d6
16590 Author: Johan Dahlin <johan@gnome.org>
16591 Date: Thu Mar 15 15:22:46 2012 -0300
16593 Add a default value for column in Gtk.TreeView.get_cell_area()
16595 https://bugzilla.gnome.org/show_bug.cgi?id=672260
16597 gi/overrides/Gtk.py | 5 +++++
16598 tests/test_overrides.py | 3 +++
16599 2 files changed, 8 insertions(+)
16601 commit bf8c95836e1cc1e1629937cbc69ea3027fb82746
16602 Author: Martin Pitt <martin.pitt@ubuntu.com>
16603 Date: Thu Mar 15 09:48:10 2012 +0100
16605 Atomic inserts in Gtk.{List,Tree}Store overrides
16607 Gtk.{List,Tree}Store's overrides provide append(), insert()
16609 take an optional data row array. If this is given, use
16610 insert_with_valuesv()
16611 instead of creating a new iter and then filling it with data. The
16613 row-added signal, at which time the row was still empty, and a
16615 row-changed signal. With this we only get a single row-added
16619 Note that this does not change insert_{before,after}(), as there is no
16620 counterpart of insert_with_valuesv() which takes a TreeIter instead
16622 position. For those you will still get two signals, and have to deal
16626 https://bugzilla.gnome.org/show_bug.cgi?id=671610
16628 gi/overrides/Gtk.py | 81
16629 ++++++++++++++++++++++++++++++-------------------
16630 tests/test_overrides.py | 74 ++++++++++++++++++++++++++++++++++++++++++++
16631 2 files changed, 124 insertions(+), 31 deletions(-)
16633 commit f7db4eaf8148f2dd8bf1718152a1dcae509470c7
16634 Author: Martin Pitt <martin.pitt@ubuntu.com>
16635 Date: Sun Mar 18 16:07:26 2012 +0100
16637 Fix Gtk.Button constructor to accept use_stock parameter
16639 Thanks to kalanzun@googlemail.com!
16641 https://bugzilla.gnome.org/show_bug.cgi?id=672318
16643 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
16645 gi/overrides/Gtk.py | 4 +---
16646 tests/test_overrides.py | 6 ++++++
16647 2 files changed, 7 insertions(+), 3 deletions(-)
16649 commit 466337cf2fd091738eeab12c10d250a9d0827284
16650 Author: Johan Dahlin <johan@gnome.org>
16651 Date: Fri Mar 16 16:55:47 2012 -0300
16653 Correct bad rebase, remove duplicate Window
16655 gi/overrides/Gtk.py | 7 -------
16656 1 file changed, 7 deletions(-)
16658 commit c60d5ee3c88bd8e1c68ea97f079947cf79d5bb7d
16659 Author: Johan Dahlin <johan@gnome.org>
16660 Date: Thu Mar 15 15:42:28 2012 -0300
16662 Add a PyGTK compatibility layer
16664 This module tries quite a bit harder to maintain compatibility
16665 with PyGTK, module names, enums, flags and some API.
16667 https://bugzilla.gnome.org/show_bug.cgi?id=653462
16669 gi/Makefile.am | 3 +-
16670 gi/pygtkcompat.py | 421
16671 ++++++++++++++++++++++++++++++++++++++++++++++
16672 tests/Makefile.am | 3 +-
16673 tests/test_pygtkcompat.py | 77 +++++++++
16674 4 files changed, 502 insertions(+), 2 deletions(-)
16676 commit 680a2e04ac4f80ad16e820d3f753519477c988aa
16677 Author: Johan Dahlin <johan@gnome.org>
16678 Date: Wed Mar 14 15:20:53 2012 -0300
16680 Add bw-compatible arguments to Gtk.Adjustment
16682 The argument used to be called page/step_incr, if they
16683 are found map them to the existing properties for extra
16686 https://bugzilla.gnome.org/show_bug.cgi?id=672087
16688 gi/overrides/Gtk.py | 8 +++++++-
16689 1 file changed, 7 insertions(+), 1 deletion(-)
16691 commit fbd21ee7176bc1b70547ea464b512c8ffd674187
16692 Author: Johan Dahlin <johan@gnome.org>
16693 Date: Wed Mar 14 17:13:04 2012 -0300
16695 GtkTreePath: make it iterable
16697 https://bugzilla.gnome.org/show_bug.cgi?id=672093
16699 gi/overrides/Gtk.py | 3 +++
16700 tests/test_overrides.py | 2 ++
16701 2 files changed, 5 insertions(+)
16703 commit a7b08cb75541612c78d123b1d968be7874e3c481
16704 Author: Johan Dahlin <johan@gnome.org>
16705 Date: Wed Mar 14 13:32:31 2012 -0300
16707 Add a default argument to TreeModelFilter.set_visible_func()
16709 https://bugzilla.gnome.org/show_bug.cgi?id=672081
16711 gi/overrides/Gtk.py | 14 ++++++++++++++
16712 1 file changed, 14 insertions(+)
16714 commit 02950cabb38b1b3c9378c42c069eefdbccbce17d
16715 Author: Johan Dahlin <johan@gnome.org>
16716 Date: Wed Mar 14 13:31:41 2012 -0300
16718 Add a default argument to Gtk.TreeView.set_cursor
16720 And also make sure that the path is a Gtk.TreePath.
16722 https://bugzilla.gnome.org/show_bug.cgi?id=672081
16724 gi/overrides/Gtk.py | 4 ++++
16725 tests/test_overrides.py | 10 ++++++++++
16726 2 files changed, 14 insertions(+)
16728 commit 7245bd0ae3f6243c79fa8543a0ed1e50e5015844
16729 Author: Johan Dahlin <johan@gnome.org>
16730 Date: Wed Mar 14 13:31:06 2012 -0300
16732 Add a default argument to Pango.Context.get_metrics()
16734 https://bugzilla.gnome.org/show_bug.cgi?id=672081
16736 gi/overrides/Pango.py | 9 +++++++++
16737 1 file changed, 9 insertions(+)
16739 commit bc1fd8814df6c1e85b586d0fb943c89f7e2b78b5
16740 Author: Martin Pitt <martin.pitt@ubuntu.com>
16741 Date: Fri Mar 16 13:27:56 2012 +0100
16743 Fix double-freeing GValues in arrays
16745 When marshalling a GValue array to C, the GValue items are copied
16747 GValue array, not a C GValue pointer
16748 array. _pygi_marshal_from_py_array()
16749 already calls the cleanup_func for the original item;
16750 _pygi_marshal_cleanup_from_py_array() must not do it again, as this
16752 to g_slice_free the array item.
16754 https://bugzilla.gnome.org/show_bug.cgi?id=672224
16756 gi/pygi-marshal-from-py.c | 7 ++++++-
16757 1 file changed, 6 insertions(+), 1 deletion(-)
16759 commit a906b7d1947ba905f959d3f738eb6c29b02f96e7
16760 Author: Simon Feltman <s.feltman@gmail.com>
16761 Date: Fri Mar 16 00:29:31 2012 -0700
16763 Renamed "property" class to "Property"
16765 Renamed to match the rest of the class names in GObject and also
16766 not clobber the builtin python property.
16768 Keep the old "property" identifier for backwards compatibility
16771 https://bugzilla.gnome.org/show_bug.cgi?id=672168
16773 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
16775 examples/properties.py | 6 +--
16776 gi/_gobject/__init__.py | 7 ++--
16777 gi/_gobject/propertyhelper.py | 12 +++---
16778 tests/test_interface.py | 4 +-
16779 tests/test_properties.py | 94
16780 +++++++++++++++++++++----------------------
16781 5 files changed, 62 insertions(+), 61 deletions(-)
16783 commit d7d28d717e38c0546529b09b8b571a5cc631c5b5
16784 Author: Martin Pitt <martin.pitt@ubuntu.com>
16785 Date: Wed Mar 14 22:52:47 2012 +0100
16787 Fix Python to C marshalling of GValue arrays
16789 For GValues we cannot just copy the GValue memory in
16790 _pygi_marshal_from_py_array(), as the from_py_cleanup() function
16792 releases the GValue and with it its v_pointer. Use g_value_copy()
16796 This uncovered another bug in _pygi_marshal_cleanup_from_py_array():
16798 assumed that C arrays contained pointers, but this is not the case
16800 arrays: these are actual struct arrays, not struct pointer arrays
16802 construction in _pygi_marshal_from_py_array()). Check if an array
16804 pointers or values and compute the correct array item pointer for
16807 Also add a corresponding test case for marshalling GValue arrays
16809 Python, which works fine.
16811 https://bugzilla.gnome.org/show_bug.cgi?id=672065
16813 gi/pygi-marshal-cleanup.c | 19 ++++++++++++++-----
16814 gi/pygi-marshal-from-py.c | 13 ++++++++++++-
16815 tests/test_gi.py | 8 ++++++++
16816 3 files changed, 34 insertions(+), 6 deletions(-)
16818 commit 27ac9c1de6487035b18ef4511c155d251cb6d39d
16819 Author: Johan Dahlin <johan@gnome.org>
16820 Date: Fri Mar 16 09:59:57 2012 +0100
16822 Correct the Gtk.Window hierarchy
16824 We need to make sure that all Gtk.Dialog subclasses inherit from
16825 the overridden Window class. For that to be done automaticly we need
16826 to create the Window class before the Dialog class.
16828 Now when it's inherited properly we need to avoid calling the Window
16829 constructor twice as it passes in a construct-only parameter. So add
16830 **kwargs to the Window constructor to allow us to pass in any kind
16831 of GObject property to it and refactor the Dialog subclasses to pass
16832 in all properties to the same constructor.
16834 Also adds a bunch of tests to make sure that the hiearchy is correct.
16836 https://bugzilla.gnome.org/show_bug.cgi?id=672158
16838 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
16840 gi/overrides/Gtk.py | 56
16841 ++++++++++++++++++++++++-------------------------
16842 tests/test_overrides.py | 35 +++++++++++++++++++++++++++++--
16843 2 files changed, 61 insertions(+), 30 deletions(-)
16845 commit 77ab27ab8a580d98f76730f075e083e1e870f55e
16846 Author: simon <simon@gerty>
16847 Date: Tue Mar 13 01:41:53 2012 -0700
16849 Renamed getter/setter instance attributes to fget/fset respectively.
16851 The python 'property' class allows for decoration of methods using
16852 .getter and .setter. These were added as methods to the
16854 class to match that of the python property class and allow for
16858 In addition, __call__ was added to allow an instantiated decorator
16860 args to also decorate a method:
16862 class C(GObject.GObject):
16864 @GObject.property(type=int, default=0)
16868 def propInt(self, value):
16869 self._value = value
16871 https://bugzilla.gnome.org/show_bug.cgi?id=586181
16873 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
16875 gi/_gobject/__init__.py | 10 ++++----
16876 gi/_gobject/propertyhelper.py | 59
16877 +++++++++++++++++++++++++++++++------------
16878 tests/test_properties.py | 41 ++++++++++++++++++++++++++++++
16879 3 files changed, 89 insertions(+), 21 deletions(-)
16881 commit 174a61fb3149c07dab5cc35e64825922cdefcb95
16882 Author: Johan Dahlin <johan@gnome.org>
16883 Date: Tue Mar 13 17:10:13 2012 -0300
16885 Add Gtk.Arrow/Gtk.Window constructor override
16887 Adds argument that makes them compatible with PyGTK.
16889 https://bugzilla.gnome.org/show_bug.cgi?id=672045
16891 gi/overrides/Gtk.py | 17 +++++++++++++++++
16892 1 file changed, 17 insertions(+)
16894 commit 7746d2188ac4933c2c9011d84525d1e62fc18953
16895 Author: Michel Dänzer <michel@daenzer.net>
16896 Date: Fri Mar 9 12:26:53 2012 +0100
16898 Fix marshalling to/from Python to work on big endian machines.
16900 https://bugzilla.gnome.org/show_bug.cgi?id=668903
16902 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
16904 gi/pygi-argument.c | 25 ++++++++++++++++---------
16905 gi/pygi-marshal-from-py.c | 32 +++++++++++++++++++++++++-------
16906 gi/pygi-marshal-to-py.c | 19 +++++++++++++++++++
16907 3 files changed, 60 insertions(+), 16 deletions(-)
16909 commit 0591cc6f160ae6e9d8c3970934ae105ef340d7d3
16910 Author: Michel Dänzer <michel@daenzer.net>
16911 Date: Thu Mar 8 12:21:28 2012 +0100
16913 Use gi_cclosure_marshal_generic instead of duplicating it.
16915 Bump gobject-introspection dependency to ensure that we have the
16919 https://bugzilla.gnome.org/show_bug.cgi?id=668903
16921 Signed-off-by: Michel Dänzer <michel@daenzer.net>
16922 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
16924 configure.ac | 3 +-
16925 gi/_gobject/Makefile.am | 7 +-
16926 gi/_gobject/ffi-marshaller.c | 194
16927 -------------------------------------------
16928 gi/_gobject/ffi-marshaller.h | 31 -------
16929 gi/_gobject/gobjectmodule.c | 12 +--
16930 5 files changed, 4 insertions(+), 243 deletions(-)
16932 commit 8ca828825a2c47080055c5f986979aac8da9a93f
16933 Author: René Stadler <rene.stadler@collabora.co.uk>
16934 Date: Mon Mar 5 21:10:55 2012 +0100
16936 Override Gtk.TreeView.get_visible_range to fix return
16938 Just like IconView.
16940 https://bugzilla.gnome.org/show_bug.cgi?id=671409
16942 gi/overrides/Gtk.py | 5 +++++
16943 1 file changed, 5 insertions(+)
16945 commit 4824ceaa77b59788325a2c1ee0f994d4e74d7a1c
16946 Author: Paolo Borelli <pborelli@gnome.org>
16947 Date: Sun Mar 4 16:41:18 2012 +0100
16949 Plug memory leak in _is_union_member
16951 When we found the member, unref the objects before breaking out of the
16954 gi/pygi-marshal-from-py.c | 9 +++------
16955 1 file changed, 3 insertions(+), 6 deletions(-)
16957 commit c6ae29ac157978a61b11cc2de9e8485d8a175105
16958 Author: Sebastian Pölsterl <sebp@k-d-w.org>
16959 Date: Tue Feb 21 15:37:18 2012 +0100
16961 tests: Split TestInterfaces into separate tests
16963 tests/test_gi.py | 36 +++++++++++++++++++-----------------
16964 1 file changed, 19 insertions(+), 17 deletions(-)
16966 commit de3299818ae5fdf1c7abbe05a36bfd5cdface7b8
16967 Author: Sebastian Pölsterl <sebp@k-d-w.org>
16968 Date: Mon Feb 20 19:37:32 2012 +0100
16970 Post release version bump to 3.1.2
16972 configure.ac | 2 +-
16973 1 file changed, 1 insertion(+), 1 deletion(-)
16975 commit fd020e783c0dacea3320225b4ddd57d6a0fce7ea
16976 Author: Sebastian Pölsterl <sebp@k-d-w.org>
16977 Date: Mon Feb 20 19:33:56 2012 +0100
16979 Prepare 3.1.1 release
16981 NEWS | 18 ++++++++++++++++++
16982 1 file changed, 18 insertions(+)
16984 commit 99485d96811667ef7a7a393b68b7361733157d61
16985 Author: Sebastian Pölsterl <sebp@k-d-w.org>
16986 Date: Sat Feb 18 00:38:05 2012 +0100
16988 Don't use C99 style
16990 gi/pygi-cache.c | 3 ++-
16991 1 file changed, 2 insertions(+), 1 deletion(-)
16993 commit 0739c39f6282d95fc17ee406fa1151d074b0450d
16994 Author: Martin Pitt <martin.pitt@ubuntu.com>
16995 Date: Thu Feb 16 16:42:53 2012 +0100
16997 Add test for GPtrArray with transfer full
16999 This complements the already existing test for a "transfer container"
17001 array. We can't verify the internal refcount as these arrays get
17003 internally, but at least we can verify that it does not crash due to
17006 tests/test_everything.py | 10 +++++++++-
17007 1 file changed, 9 insertions(+), 1 deletion(-)
17009 commit 087a104f66793a981a0c02f1c7ab9cc1cf659da3
17010 Author: Martin Pitt <martin.pitt@ubuntu.com>
17011 Date: Wed Feb 15 13:36:39 2012 +0100
17013 Drop obsolete g_thread_init()
17015 Not necessary any more since glib 2.24, and we depend on 2.31.
17017 gi/_glib/pyglib.c | 3 ---
17018 1 file changed, 3 deletions(-)
17020 commit 66fb610e45912a7def29e5848577d280ef55643a
17021 Author: Martin Pitt <martin.pitt@ubuntu.com>
17022 Date: Wed Feb 15 13:35:33 2012 +0100
17024 Fix deprecated g_source_get_current_time()
17026 Use g_get_real_time() instead as recommended by the
17027 documentation. This also
17028 simplifies the code.
17030 gi/_glib/pygsource.c | 4 +---
17031 1 file changed, 1 insertion(+), 3 deletions(-)
17033 commit 18342edded05d3d9cccf648ed92bc1cac95c51eb
17034 Author: Martin Pitt <martin.pitt@ubuntu.com>
17035 Date: Wed Feb 15 13:31:23 2012 +0100
17037 Fix deprecated g_value_[gs]et_char()
17039 Replace with _schar(). We depend on glib >= 2.31 already.
17041 gi/_gobject/ffi-marshaller.c | 2 +-
17042 gi/_gobject/pygtype.c | 6 +++---
17043 gi/pygi-argument.c | 2 +-
17044 3 files changed, 5 insertions(+), 5 deletions(-)
17046 commit 3dfb8dcbe7cf09dc170433fc48d3273c6ea9448e
17047 Author: Simon Schampijer <simon@schampijer.de>
17048 Date: Thu Feb 2 19:06:01 2012 +0100
17050 Make pygiconvert.sh correctly convert gtk.gdk.x11_*
17052 Looking at the gir file gtk.gdk.x11_* should get converted to
17053 GdkX11.x11_*. Fixing pygiconvert.sh to do so.
17055 pygi-convert.sh | 2 +-
17056 1 file changed, 1 insertion(+), 1 deletion(-)
17058 commit 3af5016978df598d5fd1c225cc49bb2c04dc4e35
17059 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17060 Date: Fri Feb 10 13:29:41 2012 +0100
17062 Raise required glib version to 2.31 because of g_value_(get|set)_schar
17064 Commit ee62df4d2fc0cc63c2f29d3ad9b47b875dbd5f89 introduced both calls
17066 configure.ac | 6 +++---
17067 1 file changed, 3 insertions(+), 3 deletions(-)
17069 commit 50c3b1bad3ea79750649f4b48fce0adbfaba5268
17070 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
17071 Date: Fri Feb 10 09:28:36 2012 +0100
17073 Fix cset_first typo
17075 https://bugzilla.gnome.org/show_bug.cgi?id=649267
17077 gi/_gobject/pygparamspec.c | 2 +-
17078 1 file changed, 1 insertion(+), 1 deletion(-)
17080 commit 6ab542fb3ec1031922ba65664d77bbaac0df453e
17081 Author: Bastian Winkler <buz@netbuz.org>
17082 Date: Mon Nov 14 14:41:08 2011 +0100
17084 pygi-convert: Handle Clutter and Cogl
17086 https://bugzilla.gnome.org/show_bug.cgi?id=664496
17088 pygi-convert.sh | 76
17089 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
17090 1 file changed, 76 insertions(+)
17092 commit 4aeb27efc43e131de5d0bc0f60dca7c1d34c3d45
17093 Author: Cédric Krier <cedric.krier@b2ck.com>
17094 Date: Fri Feb 10 09:04:18 2012 +0100
17096 Provide access to gpointer struct values
17098 https://bugzilla.gnome.org/show_bug.cgi?id=668356
17100 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
17102 gi/pygi-argument.c | 3 ++-
17103 gi/pygi-info.c | 13 +++++++++++++
17104 tests/test_everything.py | 21 +++++++++++++++++++++
17105 3 files changed, 36 insertions(+), 1 deletion(-)
17107 commit 5c0b20cc1a261cb7430a5251dffe60da698033b5
17108 Author: Paolo Borelli <pborelli@gnome.org>
17109 Date: Thu Feb 9 18:15:42 2012 +0100
17111 Add some GType tests
17113 Use what was recently added in g-i
17115 tests/test_gi.py | 17 +++++++++++++++--
17116 1 file changed, 15 insertions(+), 2 deletions(-)
17118 commit ea7778f6f37a6fc38f88d89d4b6cae8be0ed9753
17119 Author: Paolo Borelli <pborelli@gnome.org>
17120 Date: Thu Feb 9 18:14:52 2012 +0100
17122 Split GStrv and array variant tests in their own classes
17124 Also tidy up the spacing a bit
17126 tests/test_gi.py | 29 +++++++++++++++++++++++------
17127 1 file changed, 23 insertions(+), 6 deletions(-)
17129 commit db7f9be319d3cf52aef300fbac60cabb7ff57276
17130 Author: Paolo Borelli <pborelli@gnome.org>
17131 Date: Wed Feb 8 22:23:30 2012 +0100
17133 Add unit test for builder's connect_after
17135 tests/test_overrides.py | 8 ++++++++
17136 1 file changed, 8 insertions(+)
17138 commit 671f9b0dd73ac41a84caf9d1f04cec351bc01b47
17139 Author: Ryan Lortie <desrt@desrt.ca>
17140 Date: Wed Feb 8 16:06:22 2012 -0500
17142 fix GtkBuilder signal connection 'after' logic
17144 All GtkBuilder signals are presently being connected 'after', ignoring
17145 what is specified in the builder XML. This is due to an obvious logic
17148 https://bugzilla.gnome.org/show_bug.cgi?id=669705
17150 gi/overrides/Gtk.py | 2 +-
17151 1 file changed, 1 insertion(+), 1 deletion(-)
17153 commit 1d23d8006be98b77a0134fddd23b76df05e489fa
17154 Author: Patrick Welche <prlw1@cam.ac.uk>
17155 Date: Tue Feb 7 11:49:58 2012 +0000
17157 test(1) uses '=' to test if strings are identical
17159 https://bugzilla.gnome.org/show_bug.cgi?id=669598
17161 m4/python.m4 | 6 +++---
17162 1 file changed, 3 insertions(+), 3 deletions(-)
17164 commit 945fd18e531c2131440af93dcd89f6c63abbfd7c
17165 Author: Ryan Lortie <desrt@desrt.ca>
17166 Date: Tue Feb 7 13:42:19 2012 -0500
17168 pygspawn: improve error checking
17170 gspawn 'argv' and 'envp' parameters expect sequences of strings. This
17171 is enforced by checking that the passed argument is a sequence
17173 each item returned from it is a string.
17175 We do now, however, verify that each item can be successfully
17177 the sequence. 'os.environ' is an example of an object that passes
17178 PySequence_Check() but fails to return objects from PySequence_ITEM().
17180 Add a simple NULL check to avoid the crash.
17182 https://bugzilla.gnome.org/show_bug.cgi?id=669594
17184 gi/_glib/pygspawn.c | 4 ++--
17185 1 file changed, 2 insertions(+), 2 deletions(-)
17187 commit 8fc969c45d6d720400dc6c9ef391d0ca93f14b5a
17188 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17189 Date: Mon Feb 6 19:15:53 2012 +0100
17191 Post release version bump to 3.1.1
17193 configure.ac | 2 +-
17194 1 file changed, 1 insertion(+), 1 deletion(-)
17196 commit f76b2fe6d37be76bf129ee2adee90b2cc0eee56e
17197 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17198 Date: Mon Feb 6 19:11:52 2012 +0100
17200 Prepare 3.1.0 release
17202 NEWS | 34 ++++++++++++++++++++++++++++++++++
17203 1 file changed, 34 insertions(+)
17205 commit c09d0dffc5a570d5ae4df1ae07b2e5594c3ca1bf
17206 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17207 Date: Mon Feb 6 19:04:41 2012 +0100
17209 Updated DOAP file to only include people currently actively working
17212 Removed obsolete MAINTAINERS file
17214 MAINTAINERS | 19 -------------------
17215 pygobject.doap | 44 +++++++++++++++-----------------------------
17216 2 files changed, 15 insertions(+), 48 deletions(-)
17218 commit 0285e107be581c4d594127dc06cd05df1f02fb3f
17219 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17220 Date: Mon Feb 6 18:57:01 2012 +0100
17222 Revert "Convert all strings to utf-8 encoding when retrieving from
17225 This reverts commit 654711d0f940d7480d0f1cdb25a3dc9996f7a706.
17227 Due to this commit breaking backwards compatability, we decided to
17230 gi/overrides/Gtk.py | 15 ---------------
17231 tests/compathelper.py | 2 --
17232 tests/test_overrides.py | 31 +------------------------------
17233 3 files changed, 1 insertion(+), 47 deletions(-)
17235 commit 0e921cd26ed5a6e3bc6ef5f553e8b22b862d72a6
17236 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17237 Date: Sun Feb 5 13:47:10 2012 +0100
17239 tests: Fixed issues with python3
17241 tests/test_gi.py | 9 ++++++---
17242 1 file changed, 6 insertions(+), 3 deletions(-)
17244 commit ee62df4d2fc0cc63c2f29d3ad9b47b875dbd5f89
17245 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17246 Date: Sun Feb 5 11:59:51 2012 +0100
17248 Properly distinguish between different integer types for properties
17250 https://bugzilla.gnome.org/show_bug.cgi?id=664150
17252 gi/pygi-property.c | 48 ++++++++++++++++++++++++++++++++++++++----
17253 tests/test_gi.py | 62
17254 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
17255 2 files changed, 106 insertions(+), 4 deletions(-)
17257 commit c329bf2aee8d75ce452638db75e09197ff2b9b65
17258 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17259 Date: Sun Feb 5 11:46:21 2012 +0100
17261 Distinguish between GArray and GPtrArray when cleaning up
17263 This fixes a crash in test_gi.TestGPtrArray and makes sure
17264 memory is free'd correctly
17266 https://bugzilla.gnome.org/show_bug.cgi?id=669393
17268 gi/pygi-marshal-cleanup.c | 32 +++++++++++++++++++++++---------
17269 1 file changed, 23 insertions(+), 9 deletions(-)
17271 commit 4ea37c606f67df843788261b2c8acd6bac4c1e0c
17272 Author: Paolo Borelli <pborelli@gnome.org>
17273 Date: Sun Feb 5 18:51:53 2012 +0100
17275 Add null_gerror_callback unit test
17277 This models the case where the callback is successful and does not set
17280 https://bugzilla.gnome.org/show_bug.cgi?id=669415
17282 tests/test_everything.py | 9 +++++++++
17283 1 file changed, 9 insertions(+)
17285 commit a41984780ee49dcf02c718ca1be87bba747472e5
17286 Author: Martin Pitt <martin.pitt@ubuntu.com>
17287 Date: Mon Feb 6 09:34:28 2012 +0100
17289 pyglib_error_check: Re-add missing NULL check
17291 Commit adcfe96d49b09bc accidentally dropped the check if *error is
17293 any error is actually set. Due to that, pyglib_error_check()
17295 TRUE. Reintroduce the check.
17297 Thanks to Alberto Mardegan for spotting this!
17299 https://bugzilla.gnome.org/show_bug.cgi?id=669415
17301 gi/_glib/pyglib.c | 2 ++
17302 1 file changed, 2 insertions(+)
17304 commit 2c797c17913999379e277788d5e4cce8d68cebb0
17305 Author: Michael Culbertson <michael.culbertson@gmail.com>
17306 Date: Sat Feb 4 16:11:34 2012 +0100
17308 Add tests/runtests-windows.py to source tarball
17310 https://bugzilla.gnome.org/show_bug.cgi?id=663288
17312 tests/Makefile.am | 1 +
17313 1 file changed, 1 insertion(+)
17315 commit d6a899cdf70e978534326155e3fad75a705f4b20
17316 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17317 Date: Sat Feb 4 15:55:55 2012 +0100
17319 Don't issue a depreciation warning for GtkDialog's NO_SEPARATOR flag,
17322 https://bugzilla.gnome.org/show_bug.cgi?id=665553
17324 gi/overrides/Gtk.py | 6 ++----
17325 1 file changed, 2 insertions(+), 4 deletions(-)
17327 commit 534ec71c575a279ff1c05da20a8858bb1145b4d0
17328 Author: Nirbheek Chauhan <nirbheek@gentoo.org>
17329 Date: Sat Feb 4 15:42:36 2012 +0100
17331 Fix bool() operations on GLib.Variant objects
17333 Defines __nonzero__ (python2) and __bool__ (python3) for GLib.Variant
17335 Also adds some tests for boolean comparisons.
17337 https://bugzilla.gnome.org/show_bug.cgi?id=647723
17339 gi/overrides/GLib.py | 18 ++++++++++++++++++
17340 tests/test_overrides.py | 45
17341 +++++++++++++++++++++++++++++++++++++++++++++
17342 2 files changed, 63 insertions(+)
17344 commit 8d6a127df5dd1e5f26faeba8f977074b4496b24f
17345 Author: Nirbheek Chauhan <nirbheek@gentoo.org>
17346 Date: Sat Feb 4 15:41:08 2012 +0100
17348 Fix hash() and __eq__() for GLib.Variant objects
17350 Define __hash__, __eq__, __ne__ for GLib.Variant so that objects can
17351 be used in sets, dicts, and can be compared using == and != easily.
17353 Also adds some tests for this.
17355 https://bugzilla.gnome.org/show_bug.cgi?id=647725
17357 gi/overrides/GLib.py | 23 ++++++++++++++++++++
17358 tests/test_overrides.py | 56
17359 +++++++++++++++++++++++++++++++++++++++++++++++++
17360 2 files changed, 79 insertions(+)
17362 commit f82404034be042bf2026bbb7f1e33b11d6e17a6f
17363 Author: Martin Pitt <martin.pitt@ubuntu.com>
17364 Date: Wed Jan 25 07:01:06 2012 +0100
17366 Fix method names of callback tests
17368 Change test_everything.TestCallbacks.* test names from camelCase
17370 standard PEP-8 underscore_style. This is now consistent with all
17374 tests/test_everything.py | 30 +++++++++++++++---------------
17375 1 file changed, 15 insertions(+), 15 deletions(-)
17377 commit e37ee78fbf0aa72159a40da4165a26bea065faf1
17378 Author: Will Thompson <will.thompson@collabora.co.uk>
17379 Date: Mon Jan 23 13:10:30 2012 +0000
17381 Cairo: add missing braces around array-of-struct definition
17383 This triggered a -Wmissing-braces warning.
17385 https://bugzilla.gnome.org/show_bug.cgi?id=668497
17387 gi/pygi-foreign-cairo.c | 2 +-
17388 1 file changed, 1 insertion(+), 1 deletion(-)
17390 commit db24865d6b60351d72f5b8f47103d6d0a6c63b2e
17391 Author: Will Thompson <will.thompson@collabora.co.uk>
17392 Date: Mon Jan 23 13:06:41 2012 +0000
17394 g_instance_init: cast to PyGObject * as needed
17396 This squashes a compiler warning.
17398 https://bugzilla.gnome.org/show_bug.cgi?id=668497
17400 gi/_gobject/gobjectmodule.c | 2 +-
17401 1 file changed, 1 insertion(+), 1 deletion(-)
17403 commit a8408cfd68cd5e7cdb0b8a83e107d9a0d828e4bd
17404 Author: Will Thompson <will.thompson@collabora.co.uk>
17405 Date: Mon Jan 23 13:01:27 2012 +0000
17407 Fix a few set-but-not-used warnings.
17409 In a couple of cases, the variable in question was set to a value
17410 spelled out again later in the function.
17412 The 'sequence_cache' variable is re-declared five lines below.
17414 The return value of 'read' was previously completely ignored. The
17415 'gssize ret' variable was in fact added to squash an unused-result
17418 https://bugzilla.gnome.org/show_bug.cgi?id=668497
17420 gi/_glib/pygiochannel.c | 2 +-
17421 gi/_glib/pygmainloop.c | 3 +--
17422 gi/_gobject/pygobject.c | 2 +-
17423 gi/pygi-marshal-cleanup.c | 2 --
17424 4 files changed, 3 insertions(+), 6 deletions(-)
17426 commit 29a30490ed51e347e8f57d2bf9af69400734eee8
17427 Author: Stefano Facchini <stefano.facchini@gmail.com>
17428 Date: Thu Jan 19 18:09:07 2012 +0100
17430 pygmainloop: allow for extra arguments in 'quit' method
17432 To allow for the common syntax:
17434 object.connect('signal-name', main_loop.quit)
17436 https://bugzilla.gnome.org/show_bug.cgi?id=668288
17438 gi/_glib/pygmainloop.c | 4 ++--
17439 1 file changed, 2 insertions(+), 2 deletions(-)
17441 commit 557a61c12c01137a0d7c679c4b053973df09d445
17442 Author: Alexandre Rostovtsev <tetromino@gentoo.org>
17443 Date: Mon Dec 26 00:44:56 2011 -0500
17445 Fix bytearray test compatibility with python3
17447 https://bugs.gentoo.org/show_bug.cgi?id=321879
17449 https://bugzilla.gnome.org/show_bug.cgi?id=666852
17451 tests/test_gi.py | 4 ++--
17452 1 file changed, 2 insertions(+), 2 deletions(-)
17454 commit d69e5b3c7bdb9113382fd125c256b12bff4c24d2
17455 Author: Alberto Mardegan <mardy@users.sourceforge.net>
17456 Date: Mon Jan 23 12:37:26 2012 +0200
17458 Respect transfer-type when demarshalling GErrors
17460 The marshaller previously ignored "transfer full" on GError*
17462 crashes due to double-freeing them. This causes the
17463 testCallbackUserdata() test
17464 case to crash after the previous GError/GHashTable marshalling fix.
17466 https://bugzilla.gnome.org/show_bug.cgi?id=666270
17468 gi/pygi-argument.c | 12 +++++++++++-
17469 1 file changed, 11 insertions(+), 1 deletion(-)
17471 commit 77f32d9110bfeb6dad8457f565b4c70b5998fef6
17472 Author: Alberto Mardegan <mardy@users.sourceforge.net>
17473 Date: Thu Dec 15 16:12:01 2011 +0200
17475 Support GHashTable and GError as callback/closure arguments
17477 Marshalling of these types from C is already implemented, let's
17479 into use for calbacks and closures too.
17481 Add corresponding test cases.
17483 https://bugzilla.gnome.org/show_bug.cgi?id=666270
17485 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
17487 gi/pygi-closure.c | 2 ++
17488 tests/test_everything.py | 35 +++++++++++++++++++++++++++++++++++
17489 2 files changed, 37 insertions(+)
17491 commit 4b9dc03d0e49e9a1f4bf0f2df503bdff00d13a2b
17492 Author: Will Thompson <will.thompson@collabora.co.uk>
17493 Date: Mon Jan 23 13:56:02 2012 +0000
17495 Don't leak when marshalling GErrors to C
17497 Python-land GLib.GErrors are supposed to have three attributes:
17498 "message", "domain" and "code". If those attributes are missing,
17500 have the wrong types, the C GError is filled in with a message
17501 describing the error. The present-but-ill-typed code paths did not
17502 DECREF the ill-typed values.
17504 https://bugzilla.gnome.org/show_bug.cgi?id=666098
17506 gi/_glib/pyglib.c | 3 +++
17507 1 file changed, 3 insertions(+)
17509 commit adcfe96d49b09bcc550653d73de196610fd5144d
17510 Author: Will Thompson <will.thompson@collabora.co.uk>
17511 Date: Fri Jan 20 16:20:10 2012 +0000
17513 Support functions which return GError
17515 GStreamer has the following method:
17517 void gst_message_parse_error (
17518 GstMessage *message,
17520 gchar **debug_message);
17522 With this patch, we marshal the GError out parameter as a
17524 exception, but return it rather than throwing it. The test cases cover
17525 two variations on the theme of the function above (one with (transfer
17526 full), as in GStreamer, and another with (transfer none)) as well as a
17527 function with return type GError *.
17529 https://bugzilla.gnome.org/show_bug.cgi?id=666098
17531 gi/_glib/pyglib.c | 46
17532 +++++++++++++++++++++++++++++++++++-----------
17533 gi/_glib/pyglib.h | 1 +
17534 gi/pygi-marshal-to-py.c | 16 +++++++++++++---
17535 tests/test_gi.py | 32 ++++++++++++++++++++++++++++++++
17536 4 files changed, 81 insertions(+), 14 deletions(-)
17538 commit 09f003729eac9d553a208c343c2a14d253b77d9a
17539 Author: Alberto Mardegan <mardy@users.sourceforge.net>
17540 Date: Mon Jan 23 12:42:21 2012 +0200
17542 Fix indentation of _pygi_argument_to_object()
17544 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=666270
17546 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
17548 gi/pygi-argument.c | 26 +++++++++++++-------------
17549 1 file changed, 13 insertions(+), 13 deletions(-)
17551 commit c71c010be01d706f90bc200194325fd82f4071b2
17552 Author: Paolo Borelli <pborelli@gnome.org>
17553 Date: Sat Jan 14 14:24:23 2012 +0100
17557 gi/gimodule.c | 10 ++++++----
17558 1 file changed, 6 insertions(+), 4 deletions(-)
17560 commit c299d058c22385ececaec64c872d1dd1bc1ae17a
17561 Author: Paolo Borelli <pborelli@gnome.org>
17562 Date: Fri Jan 6 13:39:31 2012 +0100
17564 Connect to first action of a radio group.
17566 gi/overrides/Gtk.py | 4 ++--
17567 1 file changed, 2 insertions(+), 2 deletions(-)
17569 commit dee2f179037902a3883bd0e61ff1c350e1fd8a4f
17570 Author: Paolo Borelli <pborelli@gnome.org>
17571 Date: Wed Jan 4 16:40:51 2012 +0100
17573 Use g_slist_free_full in pygi-closure.
17575 gi/pygi-closure.c | 3 +--
17576 1 file changed, 1 insertion(+), 2 deletions(-)
17578 commit 2bee4207ab6f07dc9c0952affe72f0e304cfb624
17579 Author: Paolo Borelli <pborelli@gnome.org>
17580 Date: Wed Jan 4 15:24:13 2012 +0100
17582 Avoid O(n^2) behavior when marshalling lists
17584 Appending requires walking the list every time: just prepend and
17586 the list at the end.
17588 https://bugzilla.gnome.org/show_bug.cgi?id=667261
17590 gi/pygi-marshal-from-py.c | 8 ++++----
17591 1 file changed, 4 insertions(+), 4 deletions(-)
17593 commit d68455e99b1a9ebba31209b17a11317b1958678b
17594 Author: Paolo Borelli <pborelli@gnome.org>
17595 Date: Tue Jan 3 16:57:40 2012 +0100
17597 Handle NULL as a valid case of a char** array
17599 Treat NULL as an empty array and add the corresponding testcase
17601 gi/pygi-marshal-to-py.c | 9 +++++----
17602 tests/test_gi.py | 3 +++
17603 2 files changed, 8 insertions(+), 4 deletions(-)
17605 commit e3451b8e6018bb76e9992fb6af24a71725de5cfd
17606 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
17607 Date: Fri Dec 23 12:01:43 2011 +0100
17609 Branching, bump version to 3.1.0
17611 configure.ac | 4 ++--
17612 1 file changed, 2 insertions(+), 2 deletions(-)
17614 commit 8d1a36cc73f5f4df091ecb289c8a7b38ec2ab605
17615 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
17616 Date: Mon Dec 12 18:35:30 2011 +0100
17618 Add notes about branching to HACKING
17620 HACKING | 10 ++++++++++
17621 1 file changed, 10 insertions(+)
17623 commit 00030bc6f0fb961c716ed692144cd8e4bb9be7d0
17624 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17625 Date: Sat Dec 10 12:51:45 2011 +0100
17627 Fixed bug where GObject.property did not respect minimum and maximum
17630 https://bugzilla.gnome.org/show_bug.cgi?id=664864
17632 gi/_gobject/propertyhelper.py | 2 +-
17633 tests/test_properties.py | 31 +++++++++++++++++++++++++++++++
17634 2 files changed, 32 insertions(+), 1 deletion(-)
17636 commit 7b78abc6c399abd0daa4c11c644d107e1bb7b452
17637 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
17638 Date: Mon Dec 12 17:00:24 2011 +0100
17640 Remove mention of removed option --enable-docs
17643 1 file changed, 1 insertion(+), 1 deletion(-)
17645 commit 4cba52f5b5e79b7b6212cb0795e8976a9da9f21d
17646 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
17647 Date: Mon Dec 12 17:00:03 2011 +0100
17649 Fix sebp's name in NEWS
17652 1 file changed, 1 insertion(+), 1 deletion(-)
17654 commit 8c95981d0ba224a577f87998030c384b3dae3d80
17655 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
17656 Date: Mon Dec 12 16:20:09 2011 +0100
17660 NEWS | 15 +++++++++++++++
17661 1 file changed, 15 insertions(+)
17663 commit 58e47fd28c5d75bb78042c8f9eb5aae84de9c64d
17664 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
17665 Date: Mon Dec 12 16:16:44 2011 +0100
17667 Pre-release version bump
17669 configure.ac | 2 +-
17670 1 file changed, 1 insertion(+), 1 deletion(-)
17672 commit 884468d4816fc976c0c0c72651e7f81d13f3f78b
17673 Author: Manuel Quiñones <manuq@laptop.org>
17674 Date: Thu Dec 1 11:50:38 2011 -0300
17676 Convert all modifier constants to Gdk.ModifierType
17678 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
17680 pygi-convert.sh | 14 ++++++++++++++
17681 1 file changed, 14 insertions(+)
17683 commit 654711d0f940d7480d0f1cdb25a3dc9996f7a706
17684 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17685 Date: Tue Nov 8 12:38:12 2011 +0100
17687 Convert all strings to utf-8 encoding when retrieving from TreeModel
17689 https://bugzilla.gnome.org/show_bug.cgi?id=663610
17691 gi/overrides/Gtk.py | 15 +++++++++++++++
17692 tests/compathelper.py | 2 ++
17693 tests/test_overrides.py | 31 ++++++++++++++++++++++++++++++-
17694 3 files changed, 47 insertions(+), 1 deletion(-)
17696 commit 4f637212f13b197a95c824967a58496b9e3b877c
17697 Author: John (J5) Palmieri <johnp@redhat.com>
17698 Date: Wed Nov 2 14:51:24 2011 -0400
17700 add test for bytearray variants
17702 tests/test_gi.py | 4 ++++
17703 1 file changed, 4 insertions(+)
17705 commit 20ca3f129d6cc662285cce8c732b55596016aefa
17706 Author: John (J5) Palmieri <johnp@redhat.com>
17707 Date: Wed Nov 2 14:50:42 2011 -0400
17709 handle NULL arrays correctly for each array type
17711 gi/pygi-marshal-to-py.c | 11 ++++++-----
17712 1 file changed, 6 insertions(+), 5 deletions(-)
17714 commit ce2f780bffe44b1d4de617dcbce4b90c58b03c18
17715 Author: John (J5) Palmieri <johnp@redhat.com>
17716 Date: Wed Nov 2 14:17:21 2011 -0400
17718 Revert "Revert "Fix array termination and size calculation""
17720 This reverts commit cfda820e8d9604c5ef2ad1161c22b20080d5daf4.
17722 gi/pygi-marshal-from-py.c | 6 +++++-
17723 gi/pygi-marshal-to-py.c | 8 +++++++-
17724 2 files changed, 12 insertions(+), 2 deletions(-)
17726 commit 832f16f96815adc22cc3acbeb3fa969631795a29
17727 Author: Owen W. Taylor <otaylor@fishsoup.net>
17728 Date: Sun Oct 30 18:08:57 2011 -0400
17730 pygmainloop: avoid lockups if multiple glib.MainLoop exist
17732 If multiple glib.MainLoop() sources exist, then we will add multiple
17733 watches, and when python writes a byte to the wakeup pipe, all of the
17734 sources will try to read it; only one will succeed and the others
17735 will block. Set both ends of the pipe nonblocking to avoid this.
17737 https://bugzilla.gnome.org/show_bug.cgi?id=663068
17739 gi/_glib/pygmainloop.c | 5 ++++-
17740 1 file changed, 4 insertions(+), 1 deletion(-)
17742 commit 2fd3aa9d4ca0906a5e609845ee500ba72e358f94
17743 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
17744 Date: Sat Oct 29 15:08:03 2011 +0200
17746 Properly chain up to the class that implements a given vfunc.
17748 https://bugzilla.gnome.org/show_bug.cgi?id=662994
17750 gi/types.py | 22 +++++++++++++---------
17751 tests/test_gi.py | 20 ++++++++++----------
17752 2 files changed, 23 insertions(+), 19 deletions(-)
17754 commit cfda820e8d9604c5ef2ad1161c22b20080d5daf4
17755 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
17756 Date: Wed Nov 2 14:54:21 2011 +0100
17758 Revert "Fix array termination and size calculation"
17760 This reverts commit eef35b2df8023ffff2d195ee16c084f5cfcb6ba3.
17762 gi/pygi-marshal-from-py.c | 6 +-----
17763 gi/pygi-marshal-to-py.c | 8 +-------
17764 2 files changed, 2 insertions(+), 12 deletions(-)
17766 commit eef35b2df8023ffff2d195ee16c084f5cfcb6ba3
17767 Author: Holger Berndt <hb@gnome.org>
17768 Date: Sun Oct 30 16:36:32 2011 +0100
17770 Fix array termination and size calculation
17772 When creating an array of element type uint8 and setting it directly
17774 memcpy(), make sure that zero-termination is respected.
17776 When calculating the length of a zero-terminated array of type uint8,
17777 fall back to strlen() instead of g_strv_length().
17779 https://bugzilla.gnome.org/show_bug.cgi?id=662550
17781 gi/pygi-marshal-from-py.c | 6 +++++-
17782 gi/pygi-marshal-to-py.c | 8 +++++++-
17783 2 files changed, 12 insertions(+), 2 deletions(-)
17785 commit 4c1d9f01b8fa6702f73b290180f934250e179caa
17786 Author: Daniel Drake <dsd@laptop.org>
17787 Date: Sun Oct 30 09:20:45 2011 +0000
17789 pygi-convert: fix for Pango.Alignment
17791 pygi-convert.sh | 1 +
17792 1 file changed, 1 insertion(+)
17794 commit e3abd76096cc9f335681c7225f452c286b9c59e2
17795 Author: Daniel Drake <dsd@laptop.org>
17796 Date: Sun Oct 30 07:06:57 2011 +0000
17798 pygi-convert: fix for Gtk.Orientation
17800 pygi-convert.sh | 1 +
17801 1 file changed, 1 insertion(+)
17803 commit 52b82c5f78ef3755388457fa9440c36ccd2dfbbf
17804 Author: Martin Pitt <martin.pitt@ubuntu.com>
17805 Date: Thu Oct 27 07:16:24 2011 +0200
17807 Add tests for calling closures
17809 Add checks for correct handling of closure calls.
17810 Regress.test_closure_one_arg() is working fine and should continue
17812 Regress.test_closure_variant() is known to not work yet, so mark
17814 for now. (See https://bugzilla.gnome.org/show_bug.cgi?id=656554)
17816 tests/test_everything.py | 24 ++++++++++++++++++++++++
17817 1 file changed, 24 insertions(+)
17819 commit c7aa0e79dfb4c1092c51ae1464b8414083b4f3fc
17820 Author: Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com>
17821 Date: Tue Oct 4 12:28:26 2011 +0200
17823 fix marshaling of arrays of GVariants
17825 Add unit tests for marshaling of arrays of variants with all
17826 transfer modes. Requires latest gobject-introspection.
17828 Plug potential leaks of GArray data members
17830 Fix calling of wrong cleanup_from_py for arrays
17832 Simplify and fix logic for cleaning up arrays both in from_py()
17833 and to_py() code paths.
17835 https://bugzilla.gnome.org/show_bug.cgi?id=638915
17837 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
17839 gi/pygi-cache.c | 2 +-
17840 gi/pygi-marshal-cleanup.c | 81
17841 ++++++++++++++++++++++++++++++-----------------
17842 gi/pygi-marshal-from-py.c | 10 ++++--
17843 gi/pygi-marshal-to-py.c | 13 ++++++--
17844 tests/test_gi.py | 14 +++++++-
17845 5 files changed, 85 insertions(+), 35 deletions(-)
17847 commit c2ec4d8eb46ae2e6ee4372b2a4f9d5df0e5d82f3
17848 Author: Ignacio Casal Quinteiro <icq@gnome.org>
17849 Date: Sat Oct 22 00:20:57 2011 +0200
17854 1 file changed, 8 insertions(+)
17856 commit 5c24760b797e985721f7fe51d52252e4dd54a417
17857 Author: Martin Pitt <martin.pitt@ubuntu.com>
17858 Date: Fri Oct 21 17:31:41 2011 +0200
17860 Fix "Returns: (skip)" method calls without (out) arguments
17862 When we have a method call with a skipped return value, but no
17864 arguments, we previously returned NULL to Python, which causes
17866 error return without exception set". Return None instead.
17868 https://bugzilla.gnome.org/show_bug.cgi?id=662383
17870 gi/pygi-invoke.c | 10 ++++++++++
17871 tests/test_everything.py | 8 ++++++++
17872 2 files changed, 18 insertions(+)
17874 commit 585222915dc98b0e375de3db4771466278a32e81
17875 Author: John (J5) Palmieri <johnp@redhat.com>
17876 Date: Tue Oct 18 00:39:16 2011 -0400
17878 Do union member checks for unions that are parameters
17880 * before we were only doing checks if the union was an instance
17882 https://bugzilla.gnome.org/show_bug.cgi?id=661673
17884 gi/pygi-marshal-from-py.c | 121
17885 ++++++++++++++++++++++++++--------------------
17886 1 file changed, 68 insertions(+), 53 deletions(-)
17888 commit 8deaec6b9abd87f02060c9feec773d4693e89028
17889 Author: Martin Pitt <martin.pitt@ubuntu.com>
17890 Date: Wed Oct 19 14:35:11 2011 +0200
17892 Gdk overrides: Unbreak for Gdk-2.0
17894 Fix regression from commit 31db3ed: Gdk 2.0 did not yet have
17896 only do this for Gdk >= 3.0.
17898 https://launchpad.net/bugs/875399
17900 gi/overrides/Gdk.py | 95
17901 +++++++++++++++++++++++++++--------------------------
17902 1 file changed, 48 insertions(+), 47 deletions(-)
17904 commit f395fb131caf7ca550acd17138d8061926ef4f92
17905 Author: John (J5) Palmieri <johnp@redhat.com>
17906 Date: Fri Oct 14 17:19:45 2011 -0400
17908 unit test for checking ref count of object param in signals
17910 https://bugzilla.gnome.org/show_bug.cgi?id=661359
17912 tests/test_everything.py | 11 +++++++++++
17913 1 file changed, 11 insertions(+)
17915 commit 611f58b99851328653af4930f188c33eccaa9f6f
17916 Author: John (J5) Palmieri <johnp@redhat.com>
17917 Date: Fri Oct 14 16:42:32 2011 -0400
17919 when converting an object with transfer none, make sure the wrapper
17922 https://bugzilla.gnome.org/show_bug.cgi?id=661359
17924 gi/pygi-argument.c | 10 ++++++++++
17925 1 file changed, 10 insertions(+)
17927 commit 0f1eb9fa0e7aa5e7c22dabc709c0dfb469e404f1
17928 Author: Timo Vanwynsberghe <timovwb@gmail.com>
17929 Date: Tue Oct 4 11:13:43 2011 +0200
17931 Allow GBoxed types as property
17933 Add the GBoxed type as valid type to the gobject property helper
17934 https://bugzilla.gnome.org/show_bug.cgi?id=660798
17936 gi/_gobject/propertyhelper.py | 5 +++--
17937 1 file changed, 3 insertions(+), 2 deletions(-)
17939 commit bef8d385117dd0295c9ba7567710d76fc2bb729a
17940 Author: Ignacio Casal Quinteiro <icq@gnome.org>
17941 Date: Mon Oct 10 11:24:42 2011 +0200
17943 Add tests for boxed properties.
17945 tests/test_properties.py | 20 ++++++++++++++++++--
17946 1 file changed, 18 insertions(+), 2 deletions(-)
17948 commit 77123ffeb1585837033848f4d5a90cfa63fdaee0
17949 Author: Ignacio Casal Quinteiro <icq@gnome.org>
17950 Date: Fri Sep 30 20:21:07 2011 +0200
17952 Post release bump version
17954 configure.ac | 2 +-
17955 1 file changed, 1 insertion(+), 1 deletion(-)
17957 commit f5ccfec0a1bc4c999bfa49d75383ea06d3a068c4
17958 Author: Ignacio Casal Quinteiro <icq@gnome.org>
17959 Date: Fri Sep 30 20:19:46 2011 +0200
17964 configure.ac | 2 +-
17965 2 files changed, 6 insertions(+), 1 deletion(-)
17967 commit 56ac9339eb1d6950623dc4d8c3b9972874e7fa86
17968 Author: John (J5) Palmieri <johnp@redhat.com>
17969 Date: Thu Sep 22 19:03:20 2011 -0400
17971 when checking instances union members are same type as parent
17973 * this is so we can support sending Gdk.Event members in place of
17974 the Event union into methods
17975 * we only support this if the union member has a type of GI_INTERFACE
17978 https://bugzilla.gnome.org/show_bug.cgi?id=659879
17980 gi/pygi-marshal-from-py.c | 60
17981 +++++++++++++++++++++++++++++++++++++++++++----
17982 1 file changed, 56 insertions(+), 4 deletions(-)
17984 commit 311a4f8035a95b41bc3c0a836c32b7a5bf2d9959
17985 Author: John (J5) Palmieri <johnp@redhat.com>
17986 Date: Wed Sep 21 21:50:48 2011 -0400
17988 add a floating flag to pygobjects
17990 * this allows us to correctly refcount when custom gobjects are
17994 gi/_gobject/gobjectmodule.c | 5 +++++
17995 gi/_gobject/pygobject-private.h | 3 +++
17996 gi/_gobject/pygobject.c | 27 ++++++++++++++++++++++++++-
17997 gi/_gobject/pygobject.h | 3 ++-
17998 4 files changed, 36 insertions(+), 2 deletions(-)
18000 commit d2d29ae5845217254b9336fd8629f369cb119b25
18001 Author: John (J5) Palmieri <johnp@redhat.com>
18002 Date: Wed Sep 21 21:13:22 2011 -0400
18004 Revert "Fix refcount bug by not creating python wrapper during
18005 gobject init stage"
18007 This reverts commit f6fa5dd8f39af1b8a52d7600d257400b0983e8c5.
18009 gi/_gobject/gobjectmodule.c | 32 +++++++++++++++++---------------
18010 1 file changed, 17 insertions(+), 15 deletions(-)
18012 commit a24c10b779f2a1b0425d56d03d59c393389cad98
18013 Author: John (J5) Palmieri <johnp@redhat.com>
18014 Date: Wed Sep 21 21:10:00 2011 -0400
18016 make sure to commit the NEWS file
18019 1 file changed, 4 insertions(+)
18021 commit 2eed2940c9be099fb6305288d895265e6b35d3d2
18022 Author: John (J5) Palmieri <johnp@redhat.com>
18023 Date: Mon Sep 19 13:19:57 2011 -0400
18025 prep for 3.0 release
18027 configure.ac | 6 +++---
18028 1 file changed, 3 insertions(+), 3 deletions(-)
18030 commit fbd58b70c2c3c1128f95a87eb4cc8313b6a401b8
18031 Author: John (J5) Palmieri <johnp@redhat.com>
18032 Date: Fri Sep 16 14:19:15 2011 -0400
18034 up version required of gobject-introspection to 1.29.0
18036 configure.ac | 2 +-
18037 1 file changed, 1 insertion(+), 1 deletion(-)
18039 commit 225f21117b6b3546989abe22538c784291e86b2a
18040 Author: John (J5) Palmieri <johnp@redhat.com>
18041 Date: Fri Sep 16 12:26:10 2011 -0400
18045 * remove some unused vars
18046 * correctly cast vars
18047 * handle deprecated enums in switch statments by using default:
18048 * unused wanrings still remain in some places
18050 gi/pygi-argument.c | 2 +-
18051 gi/pygi-cache.c | 7 ++-----
18052 gi/pygi-info.c | 6 ++++++
18053 gi/pygi-invoke.c | 2 +-
18054 gi/pygi-marshal-from-py.c | 17 +++++++++--------
18055 gi/pygi-marshal-to-py.c | 3 +--
18056 6 files changed, 20 insertions(+), 17 deletions(-)
18058 commit 9a70f01288e1b049206d25d67938907f1b38a490
18059 Author: John (J5) Palmieri <johnp@redhat.com>
18060 Date: Fri Sep 16 12:24:38 2011 -0400
18064 configure.ac | 2 +-
18065 1 file changed, 1 insertion(+), 1 deletion(-)
18067 commit 3ec4020205e909ee4400650434f9ae7b89c2bde8
18068 Author: John (J5) Palmieri <johnp@redhat.com>
18069 Date: Thu Sep 15 18:12:01 2011 -0400
18071 edit HACKING file to show correct tag format
18074 1 file changed, 1 insertion(+), 1 deletion(-)
18076 commit 2e864fd05bc0adf48df9f65ab72785ebb1d0d3f0
18077 Author: John (J5) Palmieri <johnp@redhat.com>
18078 Date: Thu Sep 15 18:10:33 2011 -0400
18080 update NEWS file to prep for release
18082 NEWS | 35 +++++++++++++++++++++++++++++++++++
18083 1 file changed, 35 insertions(+)
18085 commit 0da687fa699aba4f42c42a924d6754e2bd47df50
18086 Author: John (J5) Palmieri <johnp@redhat.com>
18087 Date: Thu Sep 15 17:59:31 2011 -0400
18089 fix typo s/lenth/length
18091 gi/overrides/Gtk.py | 2 +-
18092 1 file changed, 1 insertion(+), 1 deletion(-)
18094 commit 0e4861abaff64d8e7e8d1aeedf9dd1e80de8aab2
18095 Author: John (J5) Palmieri <johnp@redhat.com>
18096 Date: Thu Sep 15 17:48:58 2011 -0400
18098 fix typo in docstring
18100 gi/_gobject/propertyhelper.py | 2 +-
18101 1 file changed, 1 insertion(+), 1 deletion(-)
18103 commit e7fcc326d64def610e5a1003cf6c7ca97023814d
18104 Author: John (J5) Palmieri <johnp@redhat.com>
18105 Date: Thu Sep 15 17:46:46 2011 -0400
18107 do not pass in len(str) to the length argument of
18108 gtk_test_buffer_insert* apis
18110 * in python 3 len(str) returns the number of characters while
18112 parameter is expecting the number of bytes. It also excepts -1
18114 terminated string. Since all of our strings are null terminated,
18116 set length to that.
18118 gi/overrides/Gtk.py | 6 ++----
18119 1 file changed, 2 insertions(+), 4 deletions(-)
18121 commit 6f380153afb3390f7da9f4b8befb1c4ee224da17
18122 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18123 Date: Mon Sep 12 21:07:20 2011 +0200
18125 Switch tarball compression format to tar.xz only.
18128 http://mail.gnome.org/archives/gnome-announce-list/2011-September/msg00031.html
18129 for more information.
18131 https://bugzilla.gnome.org/show_bug.cgi?id=659140
18133 configure.ac | 2 +-
18134 1 file changed, 1 insertion(+), 1 deletion(-)
18136 commit 11c45ac6dcb6ffad766d03bfc77f45a6d703a90d
18137 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18138 Date: Thu Sep 15 14:18:57 2011 +0200
18140 Remove pygtk_version attribute from internal gi._gobject module.
18142 This used to be provided for backwards compatibility with older PyGTK
18143 versions. As PyGObject3 no longer provides support for static bindings
18144 like PyGTK, the pygtk_version attribute has become obsolete.
18146 https://bugzilla.gnome.org/show_bug.cgi?id=659142
18148 gi/_gobject/gobjectmodule.c | 4 ----
18149 gi/_gobject/pygobject.h | 2 --
18150 2 files changed, 6 deletions(-)
18152 commit 7e48fd6dfd86b7082c3fd35d25d9693c56c9665a
18153 Author: John (J5) Palmieri <johnp@redhat.com>
18154 Date: Thu Sep 15 15:52:18 2011 -0400
18156 remove overridesdir from the .pc file and add it to the gi module
18158 * having the variable in the .pc file caused issues parallel
18160 for different versions of python
18161 * putting it into the module allows us to give the correct directory
18162 based on which version of python you run the script from
18163 * access the var as such:
18165 installdir = gi._overridesdir
18167 gi/__init__.py | 2 ++
18168 pygobject-3.0.pc.in | 10 +++++++++-
18169 2 files changed, 11 insertions(+), 1 deletion(-)
18171 commit beea7072a5a989be47a755ac46647380d4dbd6b4
18172 Author: John (J5) Palmieri <johnp@redhat.com>
18173 Date: Thu Sep 15 00:11:09 2011 -0400
18175 fix tests to correctly construct a dummy Gtk.TargetEntry
18177 * structs are sometimes a pain in gi. Simply constructing them
18179 the standard constructor (e.g. Gtk.TargetEntry()) will malloc
18181 but not correctly initialize the fields which can cause a crash.
18182 * tests didn't crash before because they were sending in bogus
18184 somehow did not trigger the issue
18185 * now with the C struct array marshallers doing the right thing,
18187 use of TargetEntry was causing a crash
18189 https://bugzilla.gnome.org/show_bug.cgi?id=627236
18191 tests/test_overrides.py | 4 ++--
18192 1 file changed, 2 insertions(+), 2 deletions(-)
18194 commit 46ba7f04ef3df08e07ddda5c10f0c98bec5fa183
18195 Author: John (J5) Palmieri <johnp@redhat.com>
18196 Date: Thu Sep 15 00:08:31 2011 -0400
18198 we now assume that C arrays of structs are flat so memcpy them
18201 * there is no way in GI to tell if a C array is flat or an array
18203 so we assume that all arrays of simple structs and gvalues are
18205 all arrays of objects and boxed structs are pointer arrays.
18206 * this will be removed once GI gets the ability to annotate level
18209 https://bugzilla.gnome.org/show_bug.cgi?id=627236
18211 gi/pygi-marshal-from-py.c | 35 ++++++++++++++++++++++++++++++++---
18212 tests/test_gi.py | 29 +++++++++++++++++++++++++++++
18213 2 files changed, 61 insertions(+), 3 deletions(-)
18215 commit e30a41592baa942188574e5c9f99572963e2e387
18216 Author: John (J5) Palmieri <johnp@redhat.com>
18217 Date: Thu Sep 15 00:02:34 2011 -0400
18219 only update the arg counts once if child arg comes before parent arg
18221 * if the child arg comes before the parent arg we need to update the
18222 argument counts and take the child arg out of the marshalling lists
18223 since it is handled by the parent
18224 * when two parents reference the same child arg as is the case with
18225 two arrays which have a single length argument we only want
18228 * to do this we introduce the PYGI_META_ARG_CHILD_NEEDS_UPDATE
18230 and only do the count update if this is set
18231 * APIs should keep in mind that this take extra processing so
18233 should really come after their parents
18235 https://bugzilla.gnome.org/show_bug.cgi?id=627236
18237 gi/pygi-cache.c | 30 ++++++++++++++++++++----------
18238 gi/pygi-cache.h | 9 +++++++--
18239 2 files changed, 27 insertions(+), 12 deletions(-)
18241 commit f6fa5dd8f39af1b8a52d7600d257400b0983e8c5
18242 Author: John (J5) Palmieri <johnp@redhat.com>
18243 Date: Wed Sep 14 20:26:15 2011 -0400
18245 Fix refcount bug by not creating python wrapper during gobject
18248 * This only applys to python subclasses of GObject which are
18251 * Because we were creating the wrapper when the gobject is
18253 and then again calling pygobject_new_full the wrapper would get
18255 * we could not simply Py_DECREF the wrapper due to the fact that
18256 non-subclassed objects (e.g. GObject.Object) instantiated via
18257 new do not run the same initialization code and would not have the
18259 * solution was to simply not create the wrapper during initialization
18260 because if it doesn't exist when pygobject_new_full is called
18261 it gets created and registered there
18262 * move the call to __init__ into pyg_object_new
18264 https://bugzilla.gnome.org/show_bug.cgi?id=657403
18266 gi/_gobject/gobjectmodule.c | 32 +++++++++++++++-----------------
18267 1 file changed, 15 insertions(+), 17 deletions(-)
18269 commit 61b64a65beee9011f8e4ed20f0a83e6630ba154f
18270 Author: John (J5) Palmieri <johnp@redhat.com>
18271 Date: Tue Sep 13 18:08:04 2011 -0400
18273 don't destroy just created wrapper when object is created via
18276 https://bugzilla.gnome.org/show_bug.cgi?id=657403
18278 gi/_gobject/gobjectmodule.c | 2 +-
18279 1 file changed, 1 insertion(+), 1 deletion(-)
18281 commit 93e12cc2eb7e7f2c18971da86e9c9452d3f566b7
18282 Author: Steve Frécinaux <code@istique.net>
18283 Date: Fri Aug 26 11:22:09 2011 +0200
18285 Remove deprecated API from pygobject.h
18287 https://bugzilla.gnome.org/show_bug.cgi?id=657416
18289 gi/_gobject/pygobject.h | 19 +------------------
18290 1 file changed, 1 insertion(+), 18 deletions(-)
18292 commit e1c71092af6e2cffa36248519adfceac1874051d
18293 Author: Marcin Owsiany <marcin@owsiany.pl>
18294 Date: Wed Aug 31 09:43:28 2011 +0100
18296 Convert gtk.TRUE/FALSE to Python True/False.
18298 https://bugzilla.gnome.org/show_bug.cgi?id=657785
18300 pygi-convert.sh | 2 ++
18301 1 file changed, 2 insertions(+)
18303 commit 3ace5c2e2268285a5dcb39889fcb2a71bc1063bd
18304 Author: Steve Frécinaux <code@istique.net>
18305 Date: Fri Sep 2 08:37:15 2011 +0200
18307 Drop legacy __gobject_init__ method of GObject.Object.
18309 This method was used in gobject initialization at some point, but now
18310 using GObject.__init__() is sufficient, so let's not keep this old
18311 method around and let people misuse it.
18313 https://bugzilla.gnome.org/show_bug.cgi?id=658032
18315 examples/signal.py | 2 --
18316 gi/_gobject/pygobject.c | 11 -----------
18317 2 files changed, 13 deletions(-)
18319 commit fcd457d1d1d8a813acb2ebfe5ee0e9aab2c9c88c
18320 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18321 Date: Tue Sep 13 12:05:30 2011 +0200
18323 AM_CHECK_PYTHON_LIBS does not work for lib64
18325 But on Windows, Python extension modules need to be explicitly
18326 linked to libpython.
18328 https://bugzilla.gnome.org/show_bug.cgi?id=658856
18330 configure.ac | 4 +++-
18331 gi/Makefile.am | 9 ++++++---
18332 gi/_glib/Makefile.am | 10 ++++++++--
18333 gi/_gobject/Makefile.am | 8 +++++++-
18334 4 files changed, 24 insertions(+), 7 deletions(-)
18336 commit 863c087911203a8f3ebaa8e77622a3437a7cd320
18337 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18338 Date: Mon Sep 12 23:03:05 2011 +0200
18340 Remove common_ldflags from Makefile.am as it is no longer used.
18342 https://bugzilla.gnome.org/show_bug.cgi?id=658856
18344 Makefile.am | 6 ------
18345 1 file changed, 6 deletions(-)
18347 commit 24b920f9922e367bdb8b3e56c2f61e0c8f5cdb66
18348 Author: John (J5) Palmieri <johnp@redhat.com>
18349 Date: Tue Sep 13 16:20:48 2011 -0400
18351 cast params for PyObject_IsInstance to suppress warnings
18353 gi/_gobject/pygobject-private.h | 4 ++--
18354 1 file changed, 2 insertions(+), 2 deletions(-)
18356 commit 861369ec59b17f67151813dc2e87c6e86126b954
18357 Author: John (J5) Palmieri <johnp@redhat.com>
18358 Date: Tue Sep 13 16:04:31 2011 -0400
18360 check if object is actually a PyGFlag before trying to access g_type
18362 * we are lucky this bit of code worked for as long as it did but when
18363 checking if an object is a PyGFlag we can't just rely on looking
18364 at the g_type field because if a regular gobject is passed in
18365 as is the case when you compare a long to a gflag, the gobject
18366 will not have a g_type field. Accessing a non-existant field
18367 could at best give you a false positive and at worse read
18368 memory beyond the bounds of the actual structure passed in
18370 gi/_gobject/pygobject-private.h | 4 ++--
18371 1 file changed, 2 insertions(+), 2 deletions(-)
18373 commit eea93e89fb064253bd8903c8b453daf4b3c87c2c
18374 Author: John (J5) Palmieri <johnp@redhat.com>
18375 Date: Tue Sep 13 16:03:02 2011 -0400
18377 fix regression - add instance type checks since Py3 no longer does
18380 gi/pygi-marshal-from-py.c | 21 +++++++++++++++++++--
18381 1 file changed, 19 insertions(+), 2 deletions(-)
18383 commit a4e4318b50a24a688e32579273fbcfa51d1b422a
18384 Author: John (J5) Palmieri <johnp@redhat.com>
18385 Date: Fri Sep 2 18:39:51 2011 -0400
18387 refactor in/out marshalling to be to_py/from_py
18389 * in/out make sense from a C perspective but when you get to the
18390 python layers it makes more sense to label them as to_py and
18391 from_py to denote which way we are marshalling
18392 * this helps clear up the difference between callbacks which
18393 call into python and invoked functions which call into C
18394 * in the callback case we marshal in values to Python objects
18395 and out values to C types but in the invoke case we do the
18396 reverse. Dealing with to_py/from_py makes the code much more
18397 resuable and consistant
18399 https://bugzilla.gnome.org/show_bug.cgi?id=658362
18401 gi/Makefile.am | 8 +-
18402 gi/pygi-cache.c | 673 ++++++++++-----------
18403 gi/pygi-cache.h | 62 +-
18404 gi/pygi-invoke.c | 144 ++---
18405 gi/pygi-marshal-cleanup.c | 168 +++---
18406 gi/pygi-marshal-cleanup.h | 128 ++--
18407 gi/pygi-marshal-from-py.c | 1412
18408 +++++++++++++++++++++++++++++++++++++++++++++
18409 gi/pygi-marshal-from-py.h | 186 ++++++
18410 gi/pygi-marshal-in.c | 1412
18411 ---------------------------------------------
18412 gi/pygi-marshal-in.h | 186 ------
18413 gi/pygi-marshal-out.c | 768 ------------------------
18414 gi/pygi-marshal-out.h | 144 -----
18415 gi/pygi-marshal-to-py.c | 768 ++++++++++++++++++++++++
18416 gi/pygi-marshal-to-py.h | 144 +++++
18417 14 files changed, 3122 insertions(+), 3081 deletions(-)
18419 commit 45b0fcff9e948c65a3903c32a3957802034c5e47
18420 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18421 Date: Fri Sep 9 16:50:25 2011 +0200
18423 Examples: fix cairo-demo.py imports
18425 examples/cairo-demo.py | 6 +++---
18426 1 file changed, 3 insertions(+), 3 deletions(-)
18428 commit 3ca19fc13e6024fd04851e6f269020a92b09fa17
18429 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18430 Date: Fri Sep 9 15:08:27 2011 +0200
18432 Fix paths and add missing overridesdir variable used in uninstalled
18435 https://bugzilla.gnome.org/show_bug.cgi?id=658654
18437 pygobject-3.0-uninstalled.pc.in | 14 +++++++-------
18438 1 file changed, 7 insertions(+), 7 deletions(-)
18440 commit 6e773175b9d2f46b3df5075ec952a8c5aff3c607
18441 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18442 Date: Fri Sep 9 15:08:04 2011 +0200
18444 Remove no longer used variables from pkgconfig files
18446 https://bugzilla.gnome.org/show_bug.cgi?id=658654
18448 pygobject-3.0-uninstalled.pc.in | 6 ------
18449 pygobject-3.0.pc.in | 5 +----
18450 2 files changed, 1 insertion(+), 10 deletions(-)
18452 commit 81d388780311311d8dc4a027a59d114edf9a00fc
18453 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18454 Date: Fri Sep 9 14:57:58 2011 +0200
18456 docs/Makefile.am and m4/python.m4: Python3 portability fixes
18458 https://bugzilla.gnome.org/show_bug.cgi?id=658652
18460 docs/Makefile.am | 2 +-
18461 m4/python.m4 | 2 +-
18462 2 files changed, 2 insertions(+), 2 deletions(-)
18464 commit 7e692ee061406e48e4862b98a0829650b1d6d585
18465 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18466 Date: Fri Sep 9 14:57:46 2011 +0200
18468 Refactor and clean Makefile.am files
18470 https://bugzilla.gnome.org/show_bug.cgi?id=658652
18473 gi/Makefile.am | 81 +++++++++++++++++++++++--------------
18474 gi/_glib/Makefile.am | 100
18475 ++++++++++++++++++++++++++++++----------------
18476 gi/_gobject/Makefile.am | 85 ++++++++++++++++++++-------------------
18477 gi/overrides/Makefile.am | 4 +-
18478 gi/repository/Makefile.am | 4 +-
18479 6 files changed, 162 insertions(+), 114 deletions(-)
18481 commit 3dd59b07d1f4a93ee1f65d6a64e1afb6f5e84232
18482 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18483 Date: Fri Sep 9 14:57:36 2011 +0200
18485 Remove all PLATFORM_VERSION = 2.0 traces
18487 https://bugzilla.gnome.org/show_bug.cgi?id=658652
18489 gi/Makefile.am | 2 --
18490 gi/overrides/Makefile.am | 1 -
18491 gi/repository/Makefile.am | 1 -
18492 3 files changed, 4 deletions(-)
18494 commit db1e484bfa157967de55ee2e0e18a82b8e388b61
18495 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18496 Date: Fri Sep 9 14:57:25 2011 +0200
18498 Remove gi/tests/ directory as all the tests now live in tests/
18500 https://bugzilla.gnome.org/show_bug.cgi?id=658652
18502 gi/tests/Makefile.am | 24 ------------------------
18503 gi/tests/runtests.py | 21 ---------------------
18504 2 files changed, 45 deletions(-)
18506 commit b0ecbf00138ef1147e478ebf3c66f0e9b3f85dfc
18507 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18508 Date: Fri Sep 9 14:55:25 2011 +0200
18510 autogen.sh: Use autoreconf instead of a custom script and honor
18513 https://bugzilla.gnome.org/show_bug.cgi?id=658652
18517 +++++++------------------------------------------------------
18518 2 files changed, 12 insertions(+), 85 deletions(-)
18520 commit 4671f5397003f376f00830e3fd1c214de594619f
18521 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18522 Date: Fri Sep 9 14:55:01 2011 +0200
18524 use improved python.m4 macros to search for Python headers and libs
18526 https://bugzilla.gnome.org/show_bug.cgi?id=658652
18528 configure.ac | 3 ++-
18529 m4/python.m4 | 47 +++++++++++++++++++++++++++++++++++++----------
18530 2 files changed, 39 insertions(+), 11 deletions(-)
18532 commit 2c9fd09da196d35db968bff4ae63fcce2d891e69
18533 Author: Javier Jardón <jjardon@gnome.org>
18534 Date: Fri Sep 9 15:38:22 2011 +0100
18536 Make maintiner mode enabled by default
18539 http://blogs.gnome.org/desrt/2011/09/08/am_maintainer_mode-is-not-cool/
18541 configure.ac | 2 +-
18542 1 file changed, 1 insertion(+), 1 deletion(-)
18544 commit b24dcb415406668931e02a1f669ef9861bb3a660
18545 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18546 Date: Wed Aug 24 09:58:10 2011 +0200
18548 Disable documentation for now since they are completely wrong for GI.
18550 https://bugzilla.gnome.org/show_bug.cgi?id=657054
18553 configure.ac | 25 -------------------------
18554 2 files changed, 1 insertion(+), 26 deletions(-)
18556 commit ecea2358a379c8ff44dff2f8f9c30a9092af1681
18557 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18558 Date: Wed Sep 7 10:38:28 2011 +0200
18560 Fix documentation installation directory
18562 https://bugzilla.gnome.org/show_bug.cgi?id=657054
18564 docs/Makefile.am | 5 +++--
18565 1 file changed, 3 insertions(+), 2 deletions(-)
18567 commit 8d3125c8ce9890c70400dd8a3ac273b590fe6a31
18568 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18569 Date: Tue Sep 6 22:22:11 2011 +0200
18571 Remove distutils based build system.
18573 The only reason this might be brought back to life again is when
18574 the whole stack can be built with Visual Studio (including
18575 gobject-introspection) again. Building with MinGW/MSYS can now
18576 be done with the usual autogen.sh/configure/make/make install dance.
18578 https://bugzilla.gnome.org/show_bug.cgi?id=657054
18581 Makefile.am | 25 +--
18582 README.win32 | 21 --
18584 -----------------------------------------------
18585 pygobject_postinstall.py | 9 -
18586 setup.py | 351 --------------------------------
18587 6 files changed, 7 insertions(+), 915 deletions(-)
18589 commit b82d916635aa0b732840548088a3fcfcb2e41bc4
18590 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18591 Date: Wed Sep 7 10:40:36 2011 +0200
18593 [gtk-demo] Fix syntax highlighter encoding issue
18595 With Python 3, Gtk.TextBuffer.get_text returns a str (not bytes), with
18596 Python 2 however we get a str (not unicode). So with Python 2 the
18597 tokenizer returned bogus data when ran over a demo that contains real
18598 UTF-8 codepoints (like rotatedtext.py for example).
18600 This patch thus fixes the "Gtk-CRITICAL **:
18601 gtk_text_iter_set_line_offset:
18602 assertion `char_on_line <= chars_in_line` failed" assertions when
18604 the rotated text demo in the treeview.
18606 demos/gtk-demo/gtk-demo.py | 3 +++
18607 1 file changed, 3 insertions(+)
18609 commit 31db3ed3d233bd495c3a2f99b3fa51031bfa30c6
18610 Author: Ignacio Casal Quinteiro <icq@gnome.org>
18611 Date: Tue Sep 6 22:13:54 2011 +0200
18613 overrides: add constants for atoms
18615 gi/overrides/Gdk.py | 49
18616 +++++++++++++++++++++++++++++++++++++++++++++++++
18617 1 file changed, 49 insertions(+)
18619 commit 81861bc2d664eb38d46e5c38ff755d436f040f63
18620 Author: Steve Frécinaux <code@istique.net>
18621 Date: Wed Aug 31 14:18:56 2011 +0200
18623 Drop pygobject_construct() from public API.
18625 These functions were introduced in 2005 because python objects
18627 "just" be instantiated using g_object_new(), but this is not true
18628 anymore since the introduction of new-style constructors. Hence
18630 has no reason to be there anymore.
18632 Nowadays, people who want to construct GObjects defined in python
18634 just use g_object_new().
18636 https://bugzilla.gnome.org/show_bug.cgi?id=657814
18638 gi/_gobject/gobjectmodule.c | 118
18639 +++++++++-------------------------------
18640 gi/_gobject/pygobject-private.h | 3 -
18641 gi/_gobject/pygobject.h | 8 ---
18642 3 files changed, 26 insertions(+), 103 deletions(-)
18644 commit c4c55a98ccf9e39ed0d10ed49b66a76dc7d7c509
18645 Author: Ignacio Casal Quinteiro <icq@gnome.org>
18646 Date: Wed Aug 31 18:00:44 2011 +0200
18648 post release version bump
18650 configure.ac | 2 +-
18651 1 file changed, 1 insertion(+), 1 deletion(-)
18653 commit ac5a0f46242abdd3cd98ec5f9f2bf8e5b05f3845
18654 Author: Ignacio Casal Quinteiro <icq@gnome.org>
18655 Date: Wed Aug 31 17:58:37 2011 +0200
18659 NEWS | 12 ++++++++++++
18660 1 file changed, 12 insertions(+)
18662 commit 429569abddada5a3bad554de707ddf35b349936e
18663 Author: John (J5) Palmieri <johnp@redhat.com>
18664 Date: Thu Aug 25 13:57:53 2011 -0400
18666 support skip annotation for return values
18668 * this is used for things like skiping gboolean returns that are
18669 useful is C but useless in python
18671 * cleans up after skipped returns that are also marked transfer
18673 https://bugzilla.gnome.org/show_bug.cgi?id=650135
18675 gi/pygi-cache.c | 1 +
18676 gi/pygi-cache.h | 1 +
18677 gi/pygi-invoke.c | 48
18678 ++++++++++++++++++++++++++++++------------------
18679 tests/test_everything.py | 8 ++++++++
18680 4 files changed, 40 insertions(+), 18 deletions(-)
18682 commit 7a234b185b131f3eb6a6e8a8c717ddf4d508b15e
18683 Author: Xavier Claessens <xclaesse@gmail.com>
18684 Date: Tue Aug 2 12:05:12 2011 +0200
18686 Test GPtrArray regression
18688 tests/test_everything.py | 3 +++
18689 1 file changed, 3 insertions(+)
18691 commit 42fc9fa437102c882844a0e70a081ab08de92658
18692 Author: Steve Frécinaux <code@istique.net>
18693 Date: Fri Aug 26 10:53:43 2011 +0200
18695 Drop support for old constructor style.
18697 Bindings don't write their own constructors anymore, and the old style
18698 has been deprecated for ages, so let's just drop them now and make
18701 https://bugzilla.gnome.org/show_bug.cgi?id=657413
18703 gi/_gobject/gobjectmodule.c | 20 --------------------
18704 gi/_gobject/pygobject-private.h | 1 -
18705 gi/_gobject/pygobject.c | 1 -
18706 gi/_gobject/pygobject.h | 2 --
18707 gi/gimodule.c | 28 ----------------------------
18709 tests/testhelpermodule.c | 5 -----
18710 7 files changed, 59 deletions(-)
18712 commit 3961a405e1bddef22e1a5a0c7aa3ae55e4ec09ad
18713 Author: Steve Frécinaux <code@istique.net>
18714 Date: Fri Aug 26 10:45:59 2011 +0200
18716 Drop support for sink functions.
18718 Sink functions were meant to deal with floating references in a custom
18719 way. They are not useful anymore with the dynamic bindings.
18721 https://bugzilla.gnome.org/show_bug.cgi?id=642233
18723 gi/_gobject/gobjectmodule.c | 1 -
18724 gi/_gobject/pygobject.c | 53 ----------------------------------------
18725 gi/_gobject/pygobject.h | 4 ---
18726 tests/test-floating.c | 59
18727 +++++++--------------------------------------
18728 tests/test-floating.h | 42 +++++++++-----------------------
18729 tests/test_gobject.py | 13 +++-------
18730 tests/testhelpermodule.c | 32 +++++++-----------------
18731 7 files changed, 32 insertions(+), 172 deletions(-)
18733 commit 631d8ef879a13492945a3e30b3df9863a4ba2f44
18734 Author: Mike Gorse <mgorse@novell.com>
18735 Date: Wed Aug 24 17:30:09 2011 -0500
18737 Reinstate copying of in-line structs in arrays
18739 For arrays of in-line, non-boxed structures with (transfer full),
18740 _pygi_marshal_free_out_array eventually gets called and frees
18742 data, so we should copy it (IE, BGO#653588).
18744 https://bugzilla.gnome.org/show_bug.cgi?id=657120
18746 gi/pygi-marshal-out.c | 8 +++++++-
18747 1 file changed, 7 insertions(+), 1 deletion(-)
18749 commit f38511f251602e18551c04617cc2e2d42e812e1e
18750 Author: John (J5) Palmieri <johnp@redhat.com>
18751 Date: Tue Aug 23 14:18:43 2011 -0400
18753 fix inline struct array handling
18755 * we now assume any non-boxed structs are inline in an array since
18757 no way to check in GI and this is the most common use for an
18761 https://bugzilla.gnome.org/show_bug.cgi?id=657120
18763 gi/pygi-marshal-out.c | 23 +++++++++--------------
18764 tests/test_gi.py | 8 ++++++++
18765 2 files changed, 17 insertions(+), 14 deletions(-)
18767 commit d92846a5446b0dd2e69c813f56224a1966ab1a33
18768 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18769 Date: Tue Aug 23 11:30:41 2011 +0200
18771 [gtk-demo] printing.py: set print and error dialog transient parent
18773 demos/gtk-demo/demos/printing.py | 8 ++++----
18774 1 file changed, 4 insertions(+), 4 deletions(-)
18776 commit 1aebc1565752840075027b9452fe2a67217bf53b
18777 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18778 Date: Tue Aug 23 11:28:05 2011 +0200
18780 [gtk-demo] printing.py: exit Gtk mainloop when done and correctly
18781 handle printing errors
18783 demos/gtk-demo/demos/printing.py | 14 ++++++++++----
18784 1 file changed, 10 insertions(+), 4 deletions(-)
18786 commit 1f9e4486c5b84209ce0038887738fc16a4ef7da3
18787 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18788 Date: Tue Aug 23 08:05:43 2011 +0200
18790 [gtk-demo] show "activated" demo's in italic font in the TreeView
18792 demos/gtk-demo/gtk-demo.py | 7 +++++--
18793 1 file changed, 5 insertions(+), 2 deletions(-)
18795 commit 971d063f7a36e13ef6621db7002b00af52f6292a
18796 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18797 Date: Mon Aug 22 14:52:28 2011 +0200
18799 [gtk-demo] source colorizer: Python3 does not have the BACKQUOTE
18800 token, so simply remove it
18802 demos/gtk-demo/gtk-demo.py | 5 +----
18803 1 file changed, 1 insertion(+), 4 deletions(-)
18805 commit c2979a37d6d505095b6e55789150a6498d95819d
18806 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18807 Date: Mon Aug 22 14:22:18 2011 +0200
18809 [gtk-demo] In Python3, GLib.file_get_contents returns a bytes object
18810 but Gtk.TextBuffer.insert expects a string.
18812 Fixed by using codes.open() as hinted in
18813 http://docs.python.org/dev/howto/pyporting.html#text-files
18814 section "If pre-2.6 compatibility is needed" (because configure.ac
18815 is still happy with Python 2.5.2).
18817 demos/gtk-demo/gtk-demo.py | 6 +++++-
18818 1 file changed, 5 insertions(+), 1 deletion(-)
18820 commit 9ea56535f35abbea4cd977dea4c89247e4b01694
18821 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18822 Date: Mon Aug 22 12:30:24 2011 +0200
18824 [gtk-demo] images.py: fix 'Insensitive 'button mnenomic
18826 demos/gtk-demo/demos/images.py | 2 +-
18827 1 file changed, 1 insertion(+), 1 deletion(-)
18829 commit 7829dae1cdb8697a19c2b5e158ef0e08f6c2558b
18830 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18831 Date: Mon Aug 22 10:38:04 2011 +0200
18833 [gtk-demo] printing.py: fix Pango.EllipsizeType > Pango.EllipsizeMode
18836 demos/gtk-demo/demos/printing.py | 4 ++--
18837 1 file changed, 2 insertions(+), 2 deletions(-)
18839 commit 07f0274301d77d9bf62b49a14b059d9a52afb445
18840 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18841 Date: Mon Aug 22 10:37:08 2011 +0200
18843 [gtk-demo] printing.py: fix text file loading
18845 demos/gtk-demo/demos/printing.py | 32 ++++++++++++++++----------------
18846 1 file changed, 16 insertions(+), 16 deletions(-)
18848 commit 135148a4c35aac1d132b0b8fa3adbf1fdcdb3a24
18849 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18850 Date: Mon Aug 22 10:20:35 2011 +0200
18852 [gtk-demo] pixbuf.py: fix image loading
18854 demos/gtk-demo/demos/pixbuf.py | 25 +++++++++++--------------
18855 1 file changed, 11 insertions(+), 14 deletions(-)
18857 commit a93cae2c80e30a408f86e7e6c4d15a538011a189
18858 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18859 Date: Mon Aug 22 10:10:02 2011 +0200
18861 [gtk-demo] images.py: fix logo loading
18863 demos/gtk-demo/demos/images.py | 70
18864 +++++++++++++++++-------------------------
18865 1 file changed, 29 insertions(+), 41 deletions(-)
18867 commit eddc0824e0e4c156fca5de05bdeb600c534d4b24
18868 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18869 Date: Wed Aug 24 12:19:21 2011 +0200
18871 [gtk-demo] appwindow.py: set AboutDialog parent
18873 demos/gtk-demo/demos/appwindow.py | 7 +++----
18874 1 file changed, 3 insertions(+), 4 deletions(-)
18876 commit 7fe10a5b33148b1f029f3d34f76b7f880c1c2e7a
18877 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18878 Date: Mon Aug 22 07:58:25 2011 +0200
18880 [gtk-demo] appwindow.py: fix logo loading
18882 demos/gtk-demo/demos/appwindow.py | 10 +++-------
18883 1 file changed, 3 insertions(+), 7 deletions(-)
18885 commit 62fda288c1c37167c589e8e9d49ed625f770a98a
18886 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18887 Date: Mon Aug 22 07:57:31 2011 +0200
18889 [gtk-demo] appwindow.py: fix callback signatures
18891 demos/gtk-demo/demos/appwindow.py | 6 +++---
18892 1 file changed, 3 insertions(+), 3 deletions(-)
18894 commit 87e9ab4d3a0aac4f4710aa0f8af0a1736f781ad9
18895 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18896 Date: Mon Aug 22 07:48:28 2011 +0200
18898 [gtk-demo] fix glib vs GLib usage
18900 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 2 +-
18901 demos/gtk-demo/demos/appwindow.py | 2 +-
18902 2 files changed, 2 insertions(+), 2 deletions(-)
18904 commit d29cad6976a80862e1fc590d3e7d190e8a234866
18905 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18906 Date: Wed Aug 24 12:19:02 2011 +0200
18908 [gtk-demo] iconviewedit.py: fix for Gdk.color_parse API breakage
18909 caused by improved GDK overrides
18911 demos/gtk-demo/demos/Icon View/iconviewedit.py | 6 +++---
18912 1 file changed, 3 insertions(+), 3 deletions(-)
18914 commit f29d3a85a275a39e8481484779264b0dea1160ab
18915 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18916 Date: Mon Aug 22 07:25:32 2011 +0200
18918 [gtk-demo] optimize source colorizer by only preparing iters for
18919 known colorized tokens
18921 demos/gtk-demo/gtk-demo.py | 20 +++++++++++++++-----
18922 1 file changed, 15 insertions(+), 5 deletions(-)
18924 commit ecd1eb00b19733da3f2e3d7935792378f34cab19
18925 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18926 Date: Fri Aug 19 18:31:20 2011 +0200
18928 [gtk-demo] small formatting fixes
18930 demos/gtk-demo/demos/Entry/entry_buffer.py | 1 +
18931 demos/gtk-demo/demos/Entry/entry_completion.py | 1 +
18932 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 8 ++++----
18933 demos/gtk-demo/demos/assistant.py | 1 +
18934 demos/gtk-demo/demos/builder.py | 4 +++-
18935 demos/gtk-demo/demos/button_box.py | 1 +
18936 demos/gtk-demo/demos/clipboard.py | 1 +
18937 demos/gtk-demo/demos/colorselector.py | 1 +
18938 demos/gtk-demo/demos/combobox.py | 1 +
18939 demos/gtk-demo/demos/drawingarea.py | 4 +++-
18940 demos/gtk-demo/demos/test.py | 2 ++
18941 11 files changed, 19 insertions(+), 6 deletions(-)
18943 commit c42cb4da399ff5732f4ca732b85134de796a60fa
18944 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18945 Date: Fri Aug 19 18:30:50 2011 +0200
18947 [gtk-demo] remove "is_fully_bound" from demos
18949 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 --
18950 demos/gtk-demo/demos/Entry/entry_completion.py | 2 --
18951 demos/gtk-demo/demos/appwindow.py | 3 ---
18952 demos/gtk-demo/demos/assistant.py | 2 --
18953 demos/gtk-demo/demos/builder.py | 2 --
18954 demos/gtk-demo/demos/button_box.py | 2 --
18955 demos/gtk-demo/demos/clipboard.py | 2 --
18956 demos/gtk-demo/demos/colorselector.py | 2 --
18957 demos/gtk-demo/demos/combobox.py | 2 --
18958 demos/gtk-demo/demos/drawingarea.py | 2 --
18959 demos/gtk-demo/demos/test.py | 1 -
18960 11 files changed, 22 deletions(-)
18962 commit cad6a62c63f455f0b1315465a9cd71c0f02b12a5
18963 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18964 Date: Fri Aug 19 18:26:31 2011 +0200
18966 [gtk-demo] add source colorizer loosely based on PyGTK's pygtk-demo
18967 and GTK+'s gtk-demo code
18969 demos/gtk-demo/gtk-demo.py | 116
18970 +++++++++++++++++++++++++++++++++++++++------
18971 1 file changed, 101 insertions(+), 15 deletions(-)
18973 commit 250c36f4a8352ff1b31c1c85b156d3e803d4b8ef
18974 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18975 Date: Fri Aug 19 15:08:15 2011 +0200
18977 [gtk-demo] remove C-isms
18979 demos/gtk-demo/gtk-demo.py | 28 ++++++++++++++--------------
18980 1 file changed, 14 insertions(+), 14 deletions(-)
18982 commit cf35fe8e259e786d0fa21b08b1f5c64c9bb0a84e
18983 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18984 Date: Fri Aug 19 14:54:39 2011 +0200
18986 [gtk-demo] fix text on info tab to be more like GTK+'s gtk-demo
18988 demos/gtk-demo/gtk-demo.py | 4 ++--
18989 1 file changed, 2 insertions(+), 2 deletions(-)
18991 commit 241827208e25c72a990d8edd95a3b879470d6409
18992 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18993 Date: Fri Aug 19 14:40:56 2011 +0200
18995 [gtk-demo] remove duplicate storage of demos by only storing them
18996 in a TreeStore subclass
18998 This also moves demos loading code into the TreeStore subclass and
18999 demo loading code into the Demo class
19001 demos/gtk-demo/gtk-demo.py | 151
19002 +++++++++++++++++++++------------------------
19003 1 file changed, 70 insertions(+), 81 deletions(-)
19005 commit 58797c355a08a35375988881a17958bb42ad54bb
19006 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19007 Date: Fri Aug 19 14:40:00 2011 +0200
19009 [gtk-demo] make GtkDemoApp a Gtk.Window subclass and adapt main()
19010 to demonstrate the GLib.MainLoop
19012 demos/gtk-demo/gtk-demo.py | 43
19013 ++++++++++++++++++++++++++-----------------
19014 1 file changed, 26 insertions(+), 17 deletions(-)
19016 commit 1e4fc1ea54527cff78f6c633db39e9a0bd3c64d2
19017 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19018 Date: Fri Aug 19 11:46:17 2011 +0200
19020 [gtk-demo] correctly load demo code when cwd != demos/gtk-demo/
19022 demos/gtk-demo/gtk-demo.py | 39 +++++++++++++++++++++++----------------
19023 1 file changed, 23 insertions(+), 16 deletions(-)
19025 commit 6ffc999fbd4c9990fb5bde53ddd46d139b53245e
19026 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19027 Date: Fri Aug 19 11:02:35 2011 +0200
19029 [gtk-demo] drawingarea: fix labels
19031 demos/gtk-demo/demos/drawingarea.py | 4 ++--
19032 1 file changed, 2 insertions(+), 2 deletions(-)
19034 commit 9fd3986affe11cbc5a816adcccdc56d0592f3618
19035 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19036 Date: Fri Aug 19 09:57:31 2011 +0200
19038 [gtk-demo] fix imports
19040 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 6 ++++--
19041 demos/gtk-demo/demos/appwindow.py | 9 ++++++---
19042 demos/gtk-demo/gtk-demo.py | 8 ++++----
19043 3 files changed, 14 insertions(+), 9 deletions(-)
19045 commit 9f314babfdee3b82799e00ea003972b0bbe6a8d5
19046 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19047 Date: Fri Aug 19 10:07:14 2011 +0200
19049 [gtk-demo] fix shebang
19051 demos/gtk-demo/gtk-demo.py | 2 +-
19052 1 file changed, 1 insertion(+), 1 deletion(-)
19054 commit 01142060ae7d71a8a1f7d3e9bbc6f52e65f01c8d
19055 Author: Sebastian Pölsterl <sebp@k-d-w.org>
19056 Date: Fri Aug 19 12:27:04 2011 +0200
19058 Added support for __setitem__ to TreeModel and support for slices
19061 https://bugzilla.gnome.org/show_bug.cgi?id=656891
19063 gi/overrides/Gtk.py | 26 ++++++++++++++++++++--
19064 tests/test_overrides.py | 57
19065 +++++++++++++++++++++++++++++++++++++++++++++++++
19066 2 files changed, 81 insertions(+), 2 deletions(-)
19068 commit d6da96c65b2ed3cda238886990a624fbc31f6987
19069 Author: Olav Vitters <olav@vitters.nl>
19070 Date: Wed Aug 24 16:31:12 2011 +0200
19072 Convert ACCEL_* constants into Gtk.AccelFlags.
19074 pygi-convert.sh | 1 +
19075 1 file changed, 1 insertion(+)
19077 commit 0841d41698302abb5d987849a5874252564ed428
19078 Author: Olav Vitters <olav@vitters.nl>
19079 Date: Wed Aug 24 16:22:17 2011 +0200
19081 Convert TREE_VIEW_DROP_* constants into Gtk.TreeViewDropPosition
19083 pygi-convert.sh | 1 +
19084 1 file changed, 1 insertion(+)
19086 commit 37b0d0f9dc3d485829cae6e50da369fdea91a2d1
19087 Author: John (J5) Palmieri <johnp@redhat.com>
19088 Date: Thu Aug 18 14:06:32 2011 -0400
19090 post commit version bump
19092 configure.ac | 2 +-
19093 1 file changed, 1 insertion(+), 1 deletion(-)
19095 commit e51efc50835a14e0418cc27cc928c52d1aa6a3cf
19096 Author: John (J5) Palmieri <johnp@redhat.com>
19097 Date: Thu Aug 18 14:02:30 2011 -0400
19101 NEWS | 10 ++++++++++
19102 1 file changed, 10 insertions(+)
19104 commit 74c727b53fcf64f465ee77b5a1ea04a69ca90968
19105 Author: John (J5) Palmieri <johnp@redhat.com>
19106 Date: Thu Aug 18 13:50:51 2011 -0400
19108 remove tests that were removed from gi
19110 tests/test_gi.py | 11 -----------
19111 1 file changed, 11 deletions(-)
19113 commit 11ea24dd30d8eeca11c8433c6bd75b06e52ae1ef
19114 Author: John (J5) Palmieri <johnp@redhat.com>
19115 Date: Thu Aug 18 13:48:57 2011 -0400
19117 don't calculate item_size using is_pointer
19119 * is_pointer is poorly defined and cacluating item_size for
19120 arrays causes a crash in the tests because of this
19121 * disregaurd is_pointer when cacluating item sizes
19123 gi/pygi-info.c | 8 ++------
19124 1 file changed, 2 insertions(+), 6 deletions(-)
19126 commit 493b4a21dd162d78cf572b548b58ba6a9ff22971
19127 Author: Timo Vanwynsberghe <timovwb@gmail.com>
19128 Date: Wed Jul 6 01:50:31 2011 +0200
19130 Updated signal example to use GObject introspection
19132 https://bugzilla.gnome.org/show_bug.cgi?id=654162
19134 examples/signal.py | 9 ++++-----
19135 1 file changed, 4 insertions(+), 5 deletions(-)
19137 commit 0332010e704e253380e993874eab9dd122e59a7e
19138 Author: Timo Vanwynsberghe <timovwb@gmail.com>
19139 Date: Wed Jul 6 01:54:50 2011 +0200
19141 Updated properties example to use GObject introspection
19143 https://bugzilla.gnome.org/show_bug.cgi?id=654162
19145 examples/properties.py | 14 +++++++-------
19146 1 file changed, 7 insertions(+), 7 deletions(-)
19148 commit c39f4555ebd703651eca6f978ed9870655b737f0
19149 Author: Martin Pitt <martin.pitt@ubuntu.com>
19150 Date: Fri Aug 12 22:55:02 2011 +0200
19152 Add override for GLib.Variant.split_signature()
19154 This is useful for e. g. iterating over method parameters which are
19156 single Variant. In particular we will need it for automatically
19158 introspection XML for exported DBus server objects.
19160 gi/overrides/GLib.py | 50
19161 +++++++++++++++++++++++++++++++++++++++++++++++++
19162 tests/test_overrides.py | 22 ++++++++++++++++++++++
19163 2 files changed, 72 insertions(+)
19165 commit 735f98d83c1c19df7457aa32a378e8c80cf2831f
19166 Author: Timo Vanwynsberghe <timovwb@gmail.com>
19167 Date: Mon Aug 15 18:58:31 2011 +0200
19169 [pygi-convert.sh] Handle the import of pygtk and require Gtk 3.0
19171 https://bugzilla.gnome.org/show_bug.cgi?id=654001
19173 pygi-convert.sh | 2 ++
19174 1 file changed, 2 insertions(+)
19176 commit d0a96a0a75f2bc969522abce2d326ef440cf143a
19177 Author: Ignacio Casal Quinteiro <icq@gnome.org>
19178 Date: Mon Aug 15 13:12:49 2011 +0200
19180 Install pygobject.h again.
19182 This is needed by libpeas.
19184 gi/_gobject/Makefile.am | 5 ++++-
19185 pygobject-3.0-uninstalled.pc.in | 4 ++--
19186 pygobject-3.0.pc.in | 6 +++---
19187 3 files changed, 9 insertions(+), 6 deletions(-)
19189 commit 081dc2eb03b677eac9f08d3ad05deecc7c51554c
19190 Author: John (J5) Palmieri <johnp@redhat.com>
19191 Date: Sun Aug 14 11:20:15 2011 -0400
19193 update the doap file
19195 pygobject.doap | 26 ++++++++++++++------------
19196 1 file changed, 14 insertions(+), 12 deletions(-)
19198 commit 762a36d2343bc39a502507d600fd1b9db9649dae
19199 Author: John (J5) Palmieri <johnp@redhat.com>
19200 Date: Sun Aug 14 11:13:25 2011 -0400
19204 configure.ac | 2 +-
19205 1 file changed, 1 insertion(+), 1 deletion(-)
19207 commit d3f85a61ec4b1a1d04838f73dc8d862258150048
19208 Author: John (J5) Palmieri <johnp@redhat.com>
19209 Date: Sun Aug 14 10:13:37 2011 -0400
19211 get things ready for release
19214 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
19215 1 file changed, 194 insertions(+)
19217 commit ffd057649380d4249c1c52e1225e3646f3994bc6
19218 Author: John (J5) Palmieri <johnp@redhat.com>
19219 Date: Sun Aug 14 05:26:18 2011 -0400
19221 pass exta keywords to the Box constructor
19223 gi/overrides/Gtk.py | 4 ++--
19224 1 file changed, 2 insertions(+), 2 deletions(-)
19226 commit cadbd4142bd0045368b5123d4b0a1876bdd5d798
19227 Author: John (J5) Palmieri <johnp@redhat.com>
19228 Date: Sat Aug 13 11:03:07 2011 -0400
19230 add (Tree|List)Store set method override
19232 gi/overrides/Gtk.py | 50 ++++++++++++++++++++++++
19233 tests/test_overrides.py | 102
19234 ++++++++++++++++++++++++++++++++++++++++++++++--
19235 2 files changed, 149 insertions(+), 3 deletions(-)
19237 commit 9ee9b22bd95e44bd2eca26e7bf3b0a9a988700c5
19238 Author: John (J5) Palmieri <johnp@redhat.com>
19239 Date: Sat Aug 13 09:19:29 2011 -0400
19241 add test for object arrays
19243 tests/test_everything.py | 6 ++++++
19244 1 file changed, 6 insertions(+)
19246 commit c9d9ffd0380878792cbdb13dec4e53be897e5fbc
19247 Author: John (J5) Palmieri <johnp@redhat.com>
19248 Date: Sat Aug 13 08:46:18 2011 -0400
19250 only support C pointer arrays for structs and objects
19252 * There is no way to know if an array of structs or objects are
19254 or flat arrays. Since pointer arrays are the most useful and
19256 it has been decided to only support those arrays
19258 gi/pygi-marshal-out.c | 2 +-
19259 tests/test_gi.py | 8 --------
19260 2 files changed, 1 insertion(+), 9 deletions(-)
19262 commit b12379de1790b72d51883bf7b63c892639a892e7
19263 Author: John (J5) Palmieri <johnp@redhat.com>
19264 Date: Sat Aug 13 06:31:52 2011 -0400
19266 revert Gtk.Window override because it causes issues with subclasses
19268 gi/overrides/Gtk.py | 9 ---------
19269 1 file changed, 9 deletions(-)
19271 commit 3e64a62d6d7f9e9d2820aad54187ef9c34710a1f
19272 Author: Jonathan Matthew <jonathan@d14n.org>
19273 Date: Thu Apr 7 21:05:32 2011 +1000
19275 take GIL in _pygi_invoke_closure_free (bug #647016)
19277 gi/pygi-closure.c | 3 +++
19278 1 file changed, 3 insertions(+)
19280 commit f8de9b8615f5dc30f492781d792aef5fc1e9ab73
19281 Author: Johan Dahlin <jdahlin@litl.com>
19282 Date: Mon Jun 27 00:41:24 2011 -0300
19284 Add a default parameter to GtkTreeModel.filter_new
19286 https://bugzilla.gnome.org/show_bug.cgi?id=653462
19288 gi/overrides/Gtk.py | 3 +++
19289 1 file changed, 3 insertions(+)
19291 commit 583d0b3c6b53712128d7c2d5f075000a2a76ae5f
19292 Author: Johan Dahlin <jdahlin@litl.com>
19293 Date: Mon Jun 27 00:40:12 2011 -0300
19295 Add vbox/action_area properties
19297 Accessing vbox/action_area directly creates segmentation fault,
19298 avoid that by mapping the fields to their getters for PyGTK
19301 https://bugzilla.gnome.org/show_bug.cgi?id=653462
19303 gi/overrides/Gtk.py | 3 +++
19304 1 file changed, 3 insertions(+)
19306 commit 017fdfc1dd06259006719e02ffa48883cee01ffd
19307 Author: Johan Dahlin <jdahlin@litl.com>
19308 Date: Mon Jun 27 00:39:41 2011 -0300
19310 Add a couple of constructors
19312 This is for PyGTK compatibility, so that gtk.HBox(True, 2) etc
19315 https://bugzilla.gnome.org/show_bug.cgi?id=653462
19317 gi/overrides/Gtk.py | 40 ++++++++++++++++++++++++++++++++++++++++
19318 1 file changed, 40 insertions(+)
19320 commit af8bc9d5cdba48a7ee728ccb7ea9039df3ecceba
19321 Author: Johan Dahlin <jdahlin@litl.com>
19322 Date: Mon Jun 27 00:38:30 2011 -0300
19324 Do not always pass in user_data to callbacks.
19326 This keeps API compatibility with PyGTK and avoids sending
19327 in user_data if it's None.
19329 https://bugzilla.gnome.org/show_bug.cgi?id=653462
19331 gi/overrides/Gtk.py | 15 ++++++++++++---
19332 1 file changed, 12 insertions(+), 3 deletions(-)
19334 commit 7914d814350af1a18bdeda64f049c8e9a68d1d18
19335 Author: Johan Dahlin <jdahlin@litl.com>
19336 Date: Mon Jun 27 00:38:20 2011 -0300
19338 Add a default detail value for Widget.render_icon
19340 https://bugzilla.gnome.org/show_bug.cgi?id=653462
19342 gi/overrides/Gtk.py | 3 +++
19343 1 file changed, 3 insertions(+)
19345 commit 5b1c875269b7979caae97e84919a690a34d92f29
19346 Author: Johan Dahlin <jdahlin@litl.com>
19347 Date: Mon Jun 27 00:36:20 2011 -0300
19349 Add an override for Gdk.color_parse()
19351 Change Gdk.color_parse() to not return a tuple, instead just
19352 return the created color or None if it wasn't possible to parse
19353 the name into a color.
19355 This keeps compatibility with PyGTK but breaks the current API.
19357 https://bugzilla.gnome.org/show_bug.cgi?id=653462
19359 gi/overrides/Gdk.py | 8 ++++++++
19360 1 file changed, 8 insertions(+)
19362 commit 187a2932bbf1e724f759ff3ed3392fc7341c6aa8
19363 Author: Laszlo Pandy <lpandy@src.gnome.org>
19364 Date: Mon Aug 8 12:06:18 2011 +0200
19366 Support function calling with keyword arguments in invoke.
19368 https://bugzilla.gnome.org/show_bug.cgi?id=625596
19370 gi/pygi-cache.c | 39 ++++++++++++
19371 gi/pygi-cache.h | 4 ++
19372 gi/pygi-invoke.c | 162
19373 +++++++++++++++++++++++++++++++++++++++++++++--
19374 gi/types.py | 12 ++--
19375 tests/test_everything.py | 2 +-
19376 tests/test_gi.py | 58 +++++++++++++++++
19377 6 files changed, 265 insertions(+), 12 deletions(-)
19379 commit e5df32ffbf37481dbb6a70c4d4e7b7b9778c5549
19380 Author: John (J5) Palmieri <johnp@redhat.com>
19381 Date: Sat Aug 13 04:13:28 2011 -0400
19383 remove references to deprecated GI_INFO_TYPE_ERROR_DOMAIN
19385 gi/pygi-info.c | 5 -----
19386 1 file changed, 5 deletions(-)
19388 commit 745001178fc72be5626c7211366d694f41162987
19389 Author: Martin Pitt <martin.pitt@ubuntu.com>
19390 Date: Thu Aug 11 15:11:42 2011 +0200
19392 Fix gobject vs. gi.repository warning
19394 Check the warning earlier and fix the operator, so that it actually
19396 update the warning to explain how to fix the problem.
19398 gi/_gobject/__init__.py | 8 ++++----
19399 1 file changed, 4 insertions(+), 4 deletions(-)
19401 commit 25d2d05cba05414cd4551e0e06f6286a9b97a509
19402 Author: John (J5) Palmieri <johnp@redhat.com>
19403 Date: Fri Jul 22 15:46:31 2011 -0400
19405 make GObject and GLib able to take overrides
19407 * derive directly from DynamicModule instead of InterfaceModule
19409 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19411 gi/importer.py | 11 +++---
19413 ++++++++++++++++++++++++++++-----------------------------
19414 2 files changed, 64 insertions(+), 65 deletions(-)
19416 commit 698b2284e29c0f699198cf6a22eeb0e399daba6e
19417 Author: John (J5) Palmieri <johnp@redhat.com>
19418 Date: Fri Jul 22 15:45:09 2011 -0400
19420 avoid dependency issue by importing the internal gobject
19422 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19424 gi/__init__.py | 2 +-
19425 1 file changed, 1 insertion(+), 1 deletion(-)
19427 commit 7b068ebe59884ebd9aeb4425dc80cdff73a66fb1
19428 Author: John (J5) Palmieri <johnp@redhat.com>
19429 Date: Fri Jul 22 14:13:02 2011 -0400
19431 fix tests to use the new GLib module
19433 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19435 tests/test_mainloop.py | 7 +++----
19436 tests/test_option.py | 3 ++-
19437 tests/test_source.py | 24 +++++++++++-------------
19438 tests/test_subprocess.py | 12 +++++-------
19439 tests/test_thread.py | 10 ++++------
19440 tests/test_uris.py | 4 ++--
19441 6 files changed, 27 insertions(+), 33 deletions(-)
19443 commit 191ef79315f8a5641699536fde58da18e23ef904
19444 Author: John (J5) Palmieri <johnp@redhat.com>
19445 Date: Fri Jul 22 14:11:53 2011 -0400
19447 add DynamicGLibModule which works like DynamicGObjectModule
19449 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19451 gi/importer.py | 7 +++++--
19452 gi/module.py | 32 +++++++++++++++++++++++++++++---
19453 2 files changed, 34 insertions(+), 5 deletions(-)
19455 commit fbd4a8263260c187211799454c08b1e55e2cb998
19456 Author: John (J5) Palmieri <johnp@redhat.com>
19457 Date: Fri Jul 22 12:27:41 2011 -0400
19459 refactor, add objects and types to the correct internal module
19461 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19463 gi/_glib/pygiochannel.c | 38 +++++++++++++++++++-------------------
19464 gi/_glib/pygmaincontext.c | 2 +-
19465 gi/_glib/pygmainloop.c | 4 ++--
19466 gi/_glib/pygoptioncontext.c | 4 ++--
19467 gi/_glib/pygoptiongroup.c | 4 ++--
19468 gi/_glib/pygsource.c | 14 +++++++-------
19469 gi/_glib/pygspawn.c | 14 +++++++-------
19470 7 files changed, 40 insertions(+), 40 deletions(-)
19472 commit 7431b49a161df9178c55b814d3adff992ac2d722
19473 Author: John (J5) Palmieri <johnp@redhat.com>
19474 Date: Fri Jul 22 12:26:32 2011 -0400
19476 rename the pyglib shared library so we don't load the old one
19478 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19480 gi/Makefile.am | 2 +-
19481 gi/_glib/Makefile.am | 10 +++++-----
19482 gi/_gobject/Makefile.am | 2 +-
19483 3 files changed, 7 insertions(+), 7 deletions(-)
19485 commit b8700451acd4a19b59b64fc8641fca748d2189e2
19486 Author: John (J5) Palmieri <johnp@redhat.com>
19487 Date: Fri Jul 22 11:20:09 2011 -0400
19489 refactor tests to only use PyGObject 3 syntax
19491 * for PyGObject 3 we want to discourage the use of legacy
19493 * Using interfaces like from gi.repository import GObject makes
19494 sure that the internal _gobject module is loaded and not
19495 PyGObject 2's gobject module which would cause the application
19496 to not work correctly
19498 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19500 tests/runtests-windows.py | 4 +-
19501 tests/test_gdbus.py | 12 ++---
19502 tests/test_gi.py | 4 +-
19503 tests/test_gobject.py | 31 ++++++------
19504 tests/test_interface.py | 16 +++---
19505 tests/test_mainloop.py | 3 +-
19506 tests/test_overrides.py | 8 +--
19507 tests/test_properties.py | 124
19508 +++++++++++++++++++++++-----------------------
19509 tests/test_signal.py | 98 ++++++++++++++++++------------------
19510 tests/test_source.py | 5 +-
19511 tests/test_subprocess.py | 3 +-
19512 tests/test_thread.py | 5 +-
19513 tests/test_unknown.py | 8 +--
19514 tests/testhelpermodule.c | 2 +-
19515 tests/testmodule.py | 10 ++--
19516 15 files changed, 169 insertions(+), 164 deletions(-)
19518 commit c980dae21468fe073cc8782608148c346bb90ad7
19519 Author: John (J5) Palmieri <johnp@redhat.com>
19520 Date: Fri Jul 22 11:16:00 2011 -0400
19522 refactor the internal _glib module to import correct modules
19524 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19526 gi/_glib/__init__.py | 3 ++-
19527 gi/_glib/glibmodule.c | 10 +++++-----
19528 gi/_glib/option.py | 4 ++--
19529 gi/_glib/pyglib.c | 18 +++++++++---------
19530 4 files changed, 18 insertions(+), 17 deletions(-)
19532 commit 65ac35cca8d24f4c133991e1c6ac02f49416a9a4
19533 Author: John (J5) Palmieri <johnp@redhat.com>
19534 Date: Fri Jul 22 11:10:46 2011 -0400
19536 refactor to use the new internal _glib and _gobject modules
19538 * use relative imports instead of aboslute
19539 * fix the C imports to import the internal _gobject libs
19540 * add a check to see if the PyGObject 2 gobject module
19541 was already imported
19543 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19545 gi/_gobject/__init__.py | 20 +++++++++++++-------
19546 gi/_gobject/constants.py | 3 +--
19547 gi/_gobject/gobjectmodule.c | 2 +-
19548 gi/_gobject/propertyhelper.py | 11 +++++------
19549 gi/_gobject/pygobject.c | 16 ++++++++--------
19550 gi/_gobject/pygobject.h | 2 +-
19551 6 files changed, 29 insertions(+), 25 deletions(-)
19553 commit 59ed1289f76bc287443b3974710ea0da3e2cc8cc
19554 Author: John (J5) Palmieri <johnp@redhat.com>
19555 Date: Fri Jul 22 11:07:10 2011 -0400
19557 refactor gi module to import and use internal _gobject module
19559 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19561 gi/importer.py | 2 --
19562 gi/module.py | 31 ++++++++++++++++---------------
19563 gi/overrides/Gtk.py | 2 +-
19564 gi/overrides/__init__.py | 6 +++---
19565 gi/pygobject-external.h | 2 +-
19566 gi/types.py | 12 ++++++------
19567 6 files changed, 27 insertions(+), 28 deletions(-)
19569 commit 6b9d738d78c6ac45d49f00402c89356887555069
19570 Author: John (J5) Palmieri <johnp@redhat.com>
19571 Date: Fri Jul 22 11:02:49 2011 -0400
19573 move the static bits internal to gi and refactor build files
19575 * the glib module now becomes the gi._glib module
19576 * the gobject module now becomes the gi._gobject module
19577 * we do this so we can install in parallel with PyGObject 2
19579 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19582 configure.ac | 6 +-
19583 gi/Makefile.am | 8 +-
19584 gi/_glib/Makefile.am | 58 +
19585 gi/_glib/__init__.py | 25 +
19586 gi/_glib/glibmodule.c | 969 ++++++++++++++
19587 gi/_glib/option.py | 358 ++++++
19588 gi/_glib/pygiochannel.c | 764 ++++++++++++
19589 gi/_glib/pygiochannel.h | 29 +
19590 gi/_glib/pyglib-private.h | 49 +
19591 gi/_glib/pyglib-python-compat.h | 245 ++++
19592 gi/_glib/pyglib.c | 633 ++++++++++
19593 gi/_glib/pyglib.h | 83 ++
19594 gi/_glib/pygmaincontext.c | 126 ++
19595 gi/_glib/pygmaincontext.h | 40 +
19596 gi/_glib/pygmainloop.c | 360 ++++++
19597 gi/_glib/pygmainloop.h | 36 +
19598 gi/_glib/pygoptioncontext.c | 337 +++++
19599 gi/_glib/pygoptioncontext.h | 39 +
19600 gi/_glib/pygoptiongroup.c | 298 +++++
19601 gi/_glib/pygoptiongroup.h | 42 +
19602 gi/_glib/pygsource.c | 725 +++++++++++
19603 gi/_glib/pygsource.h | 39 +
19604 gi/_glib/pygspawn.c | 264 ++++
19605 gi/_glib/pygspawn.h | 32 +
19606 gi/_gobject/Makefile.am | 71 ++
19607 gi/_gobject/__init__.py | 117 ++
19608 gi/_gobject/constants.py | 83 ++
19609 gi/_gobject/ffi-marshaller.c | 194 +++
19610 gi/_gobject/ffi-marshaller.h | 31 +
19611 gi/_gobject/gobjectmodule.c | 2638
19612 +++++++++++++++++++++++++++++++++++++++
19613 gi/_gobject/propertyhelper.py | 312 +++++
19614 gi/_gobject/pygboxed.c | 234 ++++
19615 gi/_gobject/pygboxed.h | 27 +
19616 gi/_gobject/pygenum.c | 366 ++++++
19617 gi/_gobject/pygenum.h | 27 +
19618 gi/_gobject/pygflags.c | 485 +++++++
19619 gi/_gobject/pygflags.h | 27 +
19620 gi/_gobject/pyginterface.c | 122 ++
19621 gi/_gobject/pyginterface.h | 40 +
19622 gi/_gobject/pygobject-private.h | 241 ++++
19623 gi/_gobject/pygobject.c | 2397
19624 +++++++++++++++++++++++++++++++++++
19625 gi/_gobject/pygobject.h | 667 ++++++++++
19626 gi/_gobject/pygparamspec.c | 404 ++++++
19627 gi/_gobject/pygparamspec.h | 31 +
19628 gi/_gobject/pygpointer.c | 198 +++
19629 gi/_gobject/pygpointer.h | 27 +
19630 gi/_gobject/pygtype.c | 1844 +++++++++++++++++++++++++++
19631 gi/_gobject/pygtype.h | 28 +
19632 glib/Makefile.am | 61 -
19633 glib/__init__.py | 25 -
19634 glib/glibmodule.c | 969 --------------
19635 glib/option.py | 358 ------
19636 glib/pygiochannel.c | 764 ------------
19637 glib/pygiochannel.h | 29 -
19638 glib/pyglib-private.h | 49 -
19639 glib/pyglib-python-compat.h | 245 ----
19640 glib/pyglib.c | 633 ----------
19641 glib/pyglib.h | 83 --
19642 glib/pygmaincontext.c | 126 --
19643 glib/pygmaincontext.h | 40 -
19644 glib/pygmainloop.c | 360 ------
19645 glib/pygmainloop.h | 36 -
19646 glib/pygoptioncontext.c | 337 -----
19647 glib/pygoptioncontext.h | 39 -
19648 glib/pygoptiongroup.c | 298 -----
19649 glib/pygoptiongroup.h | 42 -
19650 glib/pygsource.c | 725 -----------
19651 glib/pygsource.h | 39 -
19652 glib/pygspawn.c | 264 ----
19653 glib/pygspawn.h | 32 -
19654 gobject/Makefile.am | 73 --
19655 gobject/__init__.py | 117 --
19656 gobject/constants.py | 83 --
19657 gobject/ffi-marshaller.c | 194 ---
19658 gobject/ffi-marshaller.h | 31 -
19659 gobject/gobjectmodule.c | 2638
19660 ---------------------------------------
19661 gobject/propertyhelper.py | 312 -----
19662 gobject/pygboxed.c | 234 ----
19663 gobject/pygboxed.h | 27 -
19664 gobject/pygenum.c | 366 ------
19665 gobject/pygenum.h | 27 -
19666 gobject/pygflags.c | 485 -------
19667 gobject/pygflags.h | 27 -
19668 gobject/pyginterface.c | 122 --
19669 gobject/pyginterface.h | 40 -
19670 gobject/pygobject-private.h | 241 ----
19671 gobject/pygobject.c | 2397
19672 -----------------------------------
19673 gobject/pygobject.h | 667 ----------
19674 gobject/pygparamspec.c | 404 ------
19675 gobject/pygparamspec.h | 31 -
19676 gobject/pygpointer.c | 198 ---
19677 gobject/pygpointer.h | 27 -
19678 gobject/pygtype.c | 1844 ---------------------------
19679 gobject/pygtype.h | 28 -
19680 tests/Makefile.am | 2 +-
19681 96 files changed, 16172 insertions(+), 16175 deletions(-)
19683 commit f0d2ddcf7e61c36f79a9adf8ccc53bf3db9349d3
19684 Author: John (J5) Palmieri <johnp@redhat.com>
19685 Date: Mon Jul 18 18:46:31 2011 -0400
19689 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19691 Makefile.am | 5 ----
19693 -------------------------------------------------------------
19694 2 files changed, 100 deletions(-)
19696 commit 75e9f7d80d9224c05e6063b88479f1baee48c489
19697 Author: John (J5) Palmieri <johnp@redhat.com>
19698 Date: Mon Jul 18 18:41:41 2011 -0400
19700 introspection is no longer optional
19702 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19704 Makefile.am | 8 +-------
19705 configure.ac | 43 +++++++++++++++++--------------------------
19706 gi/pygi.h | 37 -------------------------------------
19707 gobject/Makefile.am | 5 +----
19708 tests/Makefile.am | 7 +------
19709 5 files changed, 20 insertions(+), 80 deletions(-)
19711 commit d862168d6a82edd59547d39f5b0ab8279b1e511c
19712 Author: John (J5) Palmieri <johnp@redhat.com>
19713 Date: Mon Jul 18 18:28:50 2011 -0400
19715 up platform version to 3.0
19717 https://bugzilla.gnome.org/show_bug.cgi?id=642048
19720 configure.ac | 4 ++--
19721 pygobject-2.0-uninstalled.pc.in | 18 ------------------
19722 pygobject-2.0.pc.in | 22 ----------------------
19723 pygobject-3.0-uninstalled.pc.in | 18 ++++++++++++++++++
19724 pygobject-3.0.pc.in | 22 ++++++++++++++++++++++
19725 6 files changed, 43 insertions(+), 43 deletions(-)
19727 commit 5189b360ccddbbaee267ce857968fbf1aafdd07a
19728 Author: Martin Pitt <martin.pitt@ubuntu.com>
19729 Date: Thu Aug 11 09:53:15 2011 +0200
19731 [gi] Handle GVariants from callback return values
19733 Callbacks still use GIArgument, add missing GVariant support for
19736 gi/pygi-argument.c | 6 ++++--
19737 1 file changed, 4 insertions(+), 2 deletions(-)
19739 commit 18a240cc492d2e5ebe2709a0d7155e27c8ff9e63
19740 Author: Martin Pitt <martin.pitt@ubuntu.com>
19741 Date: Wed Aug 10 14:11:10 2011 +0200
19743 Handle GVariants for callback arguments
19745 Callbacks still use GIArgument, add missing GVariant support. This
19747 equivalent of what commit 9d5604220bd56 did for pygi_marshall_*().
19749 gi/pygi-argument.c | 7 +++++++
19750 1 file changed, 7 insertions(+)
19752 commit aa820d6ce2fee83e61e3e9de7c6b7d2452e2847d
19753 Author: Laszlo Pandy <lpandy@src.gnome.org>
19754 Date: Mon Aug 8 01:58:10 2011 +0200
19756 [gi] Fix crash: check return value of
19757 _invoke_state_init_from_callable_cache() before continuing.
19759 gi/pygi-invoke.c | 4 +++-
19760 1 file changed, 3 insertions(+), 1 deletion(-)
19762 commit eaad9f3c71cedfe28ff2d2bb05ea6c64e323715f
19763 Author: Laszlo Pandy <lpandy@src.gnome.org>
19764 Date: Fri Aug 5 21:03:33 2011 +0200
19766 [gi] Pass gtype as first parameter to vfuncs (instead of using
19769 gi/pygi-invoke.c | 32 ++++++++++++++++++--------------
19771 2 files changed, 19 insertions(+), 15 deletions(-)
19773 commit 76edfd0d5776f61c92c84fd9fb8dcc246c580e93
19774 Author: John (J5) Palmieri <johnp@redhat.com>
19775 Date: Mon Jul 18 18:21:51 2011 -0400
19780 codegen/Makefile.am | 33 -
19781 codegen/README.defs | 351 --------
19782 codegen/__init__.py | 16 -
19783 codegen/argtypes.py | 1043 -----------------------
19784 codegen/code-coverage.py | 44 -
19785 codegen/codegen.py | 1722
19786 --------------------------------------
19787 codegen/createdefs.py | 17 -
19788 codegen/definitions.py | 575 -------------
19789 codegen/defsconvert.py | 132 ---
19790 codegen/defsgen.py | 737 ----------------
19791 codegen/defsparser.py | 153 ----
19792 codegen/docextract.py | 461 ----------
19793 codegen/docextract_to_xml.py | 142 ----
19794 codegen/docgen.py | 766 -----------------
19795 codegen/h2def.py | 631 --------------
19796 codegen/mergedefs.py | 26 -
19797 codegen/missingdefs.py | 17 -
19798 codegen/mkskel.py | 89 --
19799 codegen/override.py | 285 -------
19800 codegen/pygobject-codegen-2.0.in | 11 -
19801 codegen/reversewrapper.py | 912 --------------------
19802 codegen/scanvirtuals.py | 54 --
19803 codegen/scmexpr.py | 143 ----
19805 pygobject-2.0-uninstalled.pc.in | 1 -
19806 pygobject-2.0.pc.in | 1 -
19807 27 files changed, 1 insertion(+), 8368 deletions(-)
19809 commit bf284c7c47c3e52ab4d8700327a170903e9ebad2
19810 Author: John (J5) Palmieri <johnp@redhat.com>
19811 Date: Mon Jul 18 11:04:58 2011 -0400
19813 remove some left over ifdefs to complete merge of the invoke-rewrite
19816 gi/pygi-cache.h | 2 --
19817 gi/pygi-info.c | 2 --
19818 gi/pygi-private.h | 5 +----
19820 4 files changed, 1 insertion(+), 10 deletions(-)
19822 commit 8c653ec3033fab47c4bb4071b5732a349357141f
19823 Author: John (J5) Palmieri <johnp@redhat.com>
19824 Date: Mon Jul 18 10:59:45 2011 -0400
19826 rename pygi-invoke-ng to pygi-invoke
19828 gi/Makefile.am | 3 +-
19829 gi/pygi-invoke-ng.c | 464
19830 ----------------------------------------------------
19831 gi/pygi-invoke.c | 464
19832 ++++++++++++++++++++++++++++++++++++++++++++++++++++
19833 3 files changed, 466 insertions(+), 465 deletions(-)
19835 commit 62d59fa2c2b31d7a3cac8996d58234d4b13bb19f
19836 Author: John (J5) Palmieri <johnp@redhat.com>
19837 Date: Mon Jul 18 10:56:36 2011 -0400
19839 make invoke-ng the only invoker
19841 configure.ac | 11 -
19842 gi/Makefile.am | 10 +-
19843 gi/pygi-invoke.c | 1030
19844 ------------------------------------------------------
19845 3 files changed, 1 insertion(+), 1050 deletions(-)
19847 commit 2937cfe5bb7122dd3783c7919294d6a34a3dfc05
19848 Merge: 519e556 917ea2d
19849 Author: John (J5) Palmieri <johnp@redhat.com>
19850 Date: Mon Jul 18 10:45:18 2011 -0400
19852 Merge branch 'master' into invoke-rewrite
19854 commit 519e556dc1e5874e1668bad93043fb9258c7ee79
19855 Merge: bab7e88 38cca3c
19856 Author: John (J5) Palmieri <johnp@redhat.com>
19857 Date: Mon Jul 18 10:37:20 2011 -0400
19859 Merge branch 'master' into invoke-rewrite
19861 commit bab7e88251bffcd360186c6dedc26be8eb077084
19862 Author: John (J5) Palmieri <johnp@redhat.com>
19863 Date: Mon Jul 18 10:35:10 2011 -0400
19865 split the marshalling routines into two source files
19867 * update copy and paste copyright info to list the correct owner
19869 gi/Makefile.am | 6 +-
19870 gi/pygi-cache.c | 3 +-
19871 gi/pygi-marshal-in.c | 1412 ++++++++++++++++++++++++++++++++
19872 gi/pygi-marshal-in.h | 186 +++++
19873 gi/pygi-marshal-out.c | 767 ++++++++++++++++++
19874 gi/pygi-marshal-out.h | 144 ++++
19875 gi/pygi-marshal.c | 2145
19876 -------------------------------------------------
19877 gi/pygi-marshal.h | 303 -------
19878 8 files changed, 2515 insertions(+), 2451 deletions(-)
19880 commit 917ea2dfa2d097e563233145003a66b3e4423287
19881 Author: Martin Pitt <martin.pitt@ubuntu.com>
19882 Date: Thu Jul 14 11:21:10 2011 +0200
19884 Ship tests/te_ST@nouppera in release tarballs for tests to succeed
19886 tests/Makefile.am | 1 +
19887 1 file changed, 1 insertion(+)
19889 commit e024e832ab9c82d3e299cc6e1cb427de44f2d16e
19890 Author: John (J5) Palmieri <johnp@redhat.com>
19891 Date: Wed Jul 13 15:43:02 2011 -0400
19893 [invoke] break out caller_allocates allocating into its own function
19895 gi/pygi-invoke-ng.c | 78
19896 +++++++++++++++++++++++++++++++++--------------------
19897 1 file changed, 49 insertions(+), 29 deletions(-)
19899 commit fc8b8ce768ac780f7ed9edc63b70dd35194153c0
19900 Author: John (J5) Palmieri <johnp@redhat.com>
19901 Date: Wed Jul 13 15:42:26 2011 -0400
19903 [invoke] missed a bit when removing constructor_class usage
19905 gi/pygi-invoke-ng.c | 2 +-
19906 1 file changed, 1 insertion(+), 1 deletion(-)
19908 commit c94bcf4ae7e36f90c356c89712b00609f9f849bd
19909 Author: John (J5) Palmieri <johnp@redhat.com>
19910 Date: Wed Jul 13 15:16:17 2011 -0400
19912 [invoke] don't hold on to the constructor class, just add a TODO
19914 gi/pygi-invoke-ng.c | 11 +++++------
19915 gi/pygi-invoke-state-struct.h | 1 -
19916 2 files changed, 5 insertions(+), 7 deletions(-)
19918 commit c11d3195f324ea41e86e3da7ff99b55425c2faec
19919 Author: Martin Pitt <martin.pitt@ubuntu.com>
19920 Date: Wed Jul 13 10:40:25 2011 +0200
19922 [gi] Port test_properties from static gio to GI Gio
19924 As we ripped out the static gio bindings a while ago, this test case
19926 the system installed gio bindings with Python 2, and now fails
19928 Python 3. Rewrite it to use gi.repository.Gio.
19930 tests/test_properties.py | 38 +++++++++++++++++++-------------------
19931 1 file changed, 19 insertions(+), 19 deletions(-)
19933 commit 8f89ff24fcac627ce15ca93038711fded1a7c5ed
19934 Author: Martin Pitt <martin.pitt@ubuntu.com>
19935 Date: Wed Jul 13 08:42:22 2011 +0200
19937 [python3] Fix maketrans import
19939 Python3 moved the maketrans() function from the string module to a
19941 This unbreaks gi/module.py for Python 3 again.
19943 gi/module.py | 8 ++++++--
19944 1 file changed, 6 insertions(+), 2 deletions(-)
19946 commit 20aea4b052126fa0bface3e6e0dccfd77f9505b1
19947 Author: John (J5) Palmieri <johnp@redhat.com>
19948 Date: Fri Jul 8 14:39:22 2011 -0400
19950 [caching] remove all inline compiler flags
19952 gi/pygi-cache.c | 96
19953 ++++++++++++++++++++++++++++-----------------------------
19954 1 file changed, 48 insertions(+), 48 deletions(-)
19956 commit bf7bb79b66ad406063fb443e7452d830c55986ef
19957 Author: John (J5) Palmieri <johnp@redhat.com>
19958 Date: Fri Jul 8 14:35:20 2011 -0400
19960 [caching] refactor function names to be less confusing
19962 gi/pygi-cache.c | 307
19963 +++++++++++++++++++++++++++-----------------------------
19964 1 file changed, 150 insertions(+), 157 deletions(-)
19966 commit c167a9345b01c070bd5a84b4a4b3a53baf9e217d
19967 Author: John (J5) Palmieri <johnp@redhat.com>
19968 Date: Fri Jul 8 11:24:09 2011 -0400
19970 [overrides] deprecate the use of type keyword MessageDialog
19973 * pygtk used type to determine the "type" of message dialog to
19975 use the proper property name "message_type" since we should not be
19976 overriding a reserved word
19977 * to keep compat with pygtk we check the kwds hash for the key
19979 assign it to message_type while throwing a deprecation warning
19980 * also add a deprication warning when trying to use the depricated
19984 gi/overrides/Gtk.py | 13 ++++++++-----
19985 1 file changed, 8 insertions(+), 5 deletions(-)
19987 commit 367e4ededd4a45125157050bcc9e4e685fd4a82d
19988 Author: Martin Pitt <martin.pitt@ubuntu.com>
19989 Date: Fri Jul 8 10:15:53 2011 +0200
19991 gdbus tests: Fix hang if test case fails
19993 In the TestGDBusClient.test_native_calls_async() test case, the main
19995 never quit when the call failed.
19997 tests/test_gdbus.py | 6 ++++--
19998 1 file changed, 4 insertions(+), 2 deletions(-)
20000 commit 11b578400cbf9f7c270b662a5e8953ccd466e5ef
20001 Author: John (J5) Palmieri <johnp@redhat.com>
20002 Date: Thu Jul 7 19:30:11 2011 -0400
20004 use an enum instead of booleans to denote function type
20006 gi/pygi-cache.c | 85
20007 ++++++++++++++++++++++++++++++-----------------------
20008 gi/pygi-cache.h | 18 +++++++++---
20009 gi/pygi-invoke-ng.c | 8 ++---
20010 3 files changed, 67 insertions(+), 44 deletions(-)
20012 commit 10e31005baec26f61c0f8fca2b5c0337b0be6c70
20013 Author: John (J5) Palmieri <johnp@redhat.com>
20014 Date: Thu Jul 7 15:18:03 2011 -0400
20016 rename aux arguments to child arguments to make their purpose clearer
20018 gi/pygi-cache.c | 64
20019 ++++++++++++++++++++++++++---------------------------
20020 gi/pygi-cache.h | 29 ++++++++++++++++--------
20021 gi/pygi-invoke-ng.c | 10 ++++-----
20022 gi/pygi-marshal.c | 12 +++++-----
20023 4 files changed, 63 insertions(+), 52 deletions(-)
20025 commit b4ad91c40f713ebdc278ce40b011e4adf9ddbbd7
20026 Author: Timo Vanwynsberghe <timovwb@gmail.com>
20027 Date: Thu Jul 7 10:59:08 2011 +0200
20029 Fixed the cairo example
20031 https://bugzilla.gnome.org/show_bug.cgi?id=653844
20033 examples/cairo-demo.py | 6 ++----
20034 1 file changed, 2 insertions(+), 4 deletions(-)
20036 commit a606bab1ddc605167f2e9dc7c46c8f929fdce23b
20037 Author: Adam Dingle <adam@yorba.org>
20038 Date: Tue Jul 5 14:28:20 2011 -0700
20040 Add override binding for Gtk.ListStore.prepend().
20042 https://bugzilla.gnome.org/show_bug.cgi?id=654056
20044 gi/overrides/Gtk.py | 8 ++++++++
20045 tests/test_overrides.py | 13 ++++++++++++-
20046 2 files changed, 20 insertions(+), 1 deletion(-)
20048 commit fc5c869486c7f6929e285ea7a86623ec41ecd9bd
20049 Author: Martin Pitt <martin.pitt@ubuntu.com>
20050 Date: Thu Jul 7 13:39:19 2011 +0200
20052 Fix crash in Gtk.TextIter overrides
20054 With commit 17cd0fb3 Gtk.TextIter.{forward,backward}_search()
20056 pointers when the search was unsuccessful. Actually check the
20058 value; if it is False return None, just like PyGTK used to.
20060 Thanks to Michael Vogt for discovering this and writing the test case!
20064 -------------- 8< -----------------
20065 from gi.repository import Gtk
20067 win = Gtk.Window.new(Gtk.WindowType.TOPLEVEL)
20068 textview = Gtk.TextView()
20069 buffer = textview.get_buffer()
20070 buffer.set_text("hello world")
20075 iter = buffer.get_start_iter()
20076 end = buffer.get_end_iter()
20077 ret = iter.forward_search("foo",
20078 Gtk.TextSearchFlags.VISIBLE_ONLY,
20080 print "this is my return value"
20082 print "now I crash"
20083 print ret[0].get_offset()
20086 -------------- 8< -----------------
20088 gi/overrides/Gtk.py | 10 ++++++++--
20089 1 file changed, 8 insertions(+), 2 deletions(-)
20091 commit 5c04fc5b2ca7e262c052426d5863d69d0c4a24da
20092 Author: John (J5) Palmieri <johnp@redhat.com>
20093 Date: Tue Jul 5 15:57:23 2011 -0400
20095 use gssize instead of int for arg indexes
20097 gi/pygi-cache.c | 24 ++++++++++++------------
20098 gi/pygi-cache.h | 6 +++---
20099 gi/pygi-invoke-ng.c | 6 +++---
20100 gi/pygi-marshal-cleanup.c | 6 +++---
20101 4 files changed, 21 insertions(+), 21 deletions(-)
20103 commit ecc09749c34cd4eabf47cc722d768b042dc0be9f
20104 Author: John (J5) Palmieri <johnp@redhat.com>
20105 Date: Tue Jul 5 14:17:30 2011 -0400
20107 [cache] remove refrence to default value as it is not implemented yet
20109 gi/pygi-cache.h | 1 -
20110 1 file changed, 1 deletion(-)
20112 commit 433e0fb259047d8c81e5949a31abb5e0feefd27b
20113 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20114 Date: Thu May 12 18:53:06 2011 +0200
20116 Handle arguments that are flags correctly
20118 https://bugzilla.gnome.org/show_bug.cgi?id=647581
20120 gi/pygi-argument.c | 2 ++
20121 1 file changed, 2 insertions(+)
20123 commit 38cca3c14e79fbc383e3fc65a120bee03714b99f
20124 Author: John (J5) Palmieri <johnp@redhat.com>
20125 Date: Fri Jul 1 05:19:15 2011 -0400
20127 correctly initialize the _gi_cairo_functions array to be zero filled
20129 gi/pygi-foreign-cairo.c | 2 +-
20130 1 file changed, 1 insertion(+), 1 deletion(-)
20132 commit 9ae43fdbcc547eb1e3c61bf9545da40555b2e2c6
20133 Author: John (J5) Palmieri <johnp@redhat.com>
20134 Date: Fri Jul 1 05:19:15 2011 -0400
20136 correctly initialize the _gi_cairo_functions array to be zero filled
20138 gi/pygi-foreign-cairo.c | 2 +-
20139 1 file changed, 1 insertion(+), 1 deletion(-)
20141 commit d3ee40b36b1718e6fb4544dbe07e291138ea1eb9
20142 Author: John (J5) Palmieri <johnp@redhat.com>
20143 Date: Wed Jun 29 18:14:40 2011 -0400
20145 pass in the address of the gerror, not the gerror itself
20147 gi/pygi-argument.c | 2 +-
20148 1 file changed, 1 insertion(+), 1 deletion(-)
20150 commit 49dc98eb9339ea64355cd752ca000c79da56f3a2
20151 Author: John (J5) Palmieri <johnp@redhat.com>
20152 Date: Wed Jun 29 18:01:44 2011 -0400
20154 [gi] handle marshalling gerrors arguments for signals
20156 gi/pygi-argument.c | 18 ++++++++++++++++--
20157 1 file changed, 16 insertions(+), 2 deletions(-)
20159 commit db9419fcef628e9ffee10591156007ea9c0bc1f0
20160 Author: John (J5) Palmieri <johnp@redhat.com>
20161 Date: Wed Jun 29 12:12:29 2011 -0400
20163 [gi-invoke-ng] fix NULL check to check before we access the cache
20166 gi/pygi-cache.c | 6 +++---
20167 1 file changed, 3 insertions(+), 3 deletions(-)
20169 commit 9027e1a20fd06df5c26edcec1893ef0814ec938a
20170 Author: John (J5) Palmieri <johnp@redhat.com>
20171 Date: Tue Jun 28 18:21:55 2011 -0400
20173 [gi-tests] add test for PyGObject->PyObject TreeModel storage
20175 * make sure we can store a custom GObject as a PyObject inside of
20178 tests/test_overrides.py | 26 +++++++++++++++-----------
20179 1 file changed, 15 insertions(+), 11 deletions(-)
20181 commit b6842e4b2a28733e143d4022864041ca82e91f7a
20182 Author: John (J5) Palmieri <johnp@redhat.com>
20183 Date: Tue Jun 28 18:13:38 2011 -0400
20185 [gtk-overrides] special case TreeModel columns of PYGOBJECT types
20187 * box the PYGOBJECT in a GValue so we can store PyGObjects in a
20190 gi/overrides/Gtk.py | 7 ++++---
20191 gobject/pygtype.c | 7 ++++---
20192 2 files changed, 8 insertions(+), 6 deletions(-)
20194 commit 7fc9d45860210fd9d333fd3769c6cf93a6a20eb6
20195 Author: John (J5) Palmieri <johnp@redhat.com>
20196 Date: Tue Jun 28 17:32:29 2011 -0400
20198 [gi-invoke-ng] copy structs when transfer is full for array
20200 gi/pygi-marshal.c | 21 ++++++++++++++++++---
20201 1 file changed, 18 insertions(+), 3 deletions(-)
20203 commit 8d60c0bc7b327aa757a8727f1146f02cc0b78af8
20204 Author: John (J5) Palmieri <johnp@redhat.com>
20205 Date: Tue Jun 28 13:54:48 2011 -0400
20207 [gtk-override] print warning if user imports Gtk 2.0
20209 * this is needed because people file bugs not realizing they are
20211 which is not supported
20213 gi/overrides/Gtk.py | 12 ++++++++++++
20214 1 file changed, 12 insertions(+)
20216 commit 7c589c0c1de1a786e00685afd5292b6fb1f93ed3
20217 Author: John (J5) Palmieri <johnp@redhat.com>
20218 Date: Tue Jun 28 13:08:49 2011 -0400
20220 [gtk-overrides] allow the message_type keyword to be used for
20223 * for pygtk compat we use the type keyword for message type but
20225 the use of message_type because it is more descriptive and does
20227 with a python reserved word
20228 * if you passed message_type into a MessageDialog constructor you
20230 an error because we also convert type to message_type when
20233 * this patch looks to see if message_type was passed in as a
20235 assigns it to type while removing message_type from the keywords
20237 to avoid name clashing
20239 gi/overrides/Gtk.py | 5 +++++
20240 1 file changed, 5 insertions(+)
20242 commit 2aa12267bee91aa696633a0cea2a0accae09250a
20243 Author: Johan Dahlin <jdahlin@litl.com>
20244 Date: Mon Jun 27 10:56:20 2011 -0300
20246 Add support for enums in gobject.property
20248 https://bugzilla.gnome.org/show_bug.cgi?id=653488
20250 gobject/propertyhelper.py | 23 ++++++++++++++++-------
20251 tests/test_properties.py | 40 ++++++++++++++++++++++++++++++++++++----
20252 2 files changed, 52 insertions(+), 11 deletions(-)
20254 commit dc62e67b447ef526a6f2d1aa8648ad101d95024b
20255 Author: Johan Dahlin <jdahlin@litl.com>
20256 Date: Mon Jun 27 10:56:20 2011 -0300
20258 Add support for enums in gobject.property
20260 https://bugzilla.gnome.org/show_bug.cgi?id=653488
20262 gobject/propertyhelper.py | 23 ++++++++++++++++-------
20263 tests/test_properties.py | 40 ++++++++++++++++++++++++++++++++++++----
20264 2 files changed, 52 insertions(+), 11 deletions(-)
20266 commit 50cfccb5801c1b9a0a42ffe2826cd245f21fd88d
20267 Author: John (J5) Palmieri <johnp@redhat.com>
20268 Date: Fri Jun 24 14:17:24 2011 -0400
20270 [gi-invoke-ng] use g_slice for allocating GValues that are caller
20273 gi/pygi-invoke-ng.c | 2 ++
20274 gi/pygi-marshal-cleanup.c | 2 ++
20275 2 files changed, 4 insertions(+)
20277 commit eff65cd2ce490296865441c3c78b7846f380459c
20278 Author: John (J5) Palmieri <johnp@redhat.com>
20279 Date: Fri Jun 24 11:49:05 2011 -0400
20281 [gi-invoke-ng] Convert Overflow errors to ValueErrors when marshalling
20284 gi/pygi-marshal.c | 56
20285 +++++++++++++++++++++++++++++++++++++++++++------------
20286 1 file changed, 44 insertions(+), 12 deletions(-)
20288 commit 05ed688d54e3ff04e961b60d0b5d3ed0b97c771d
20289 Author: John (J5) Palmieri <johnp@redhat.com>
20290 Date: Wed Jun 22 12:26:39 2011 -0400
20292 [gi-invoke-ng] only cache caller allocates for interfaces as some
20295 gi/pygi-cache.c | 6 ++++--
20296 1 file changed, 4 insertions(+), 2 deletions(-)
20298 commit 4fd957a5de364c0588168dee15e1e61d4f12e173
20299 Author: John (J5) Palmieri <johnp@redhat.com>
20300 Date: Fri Jun 17 17:07:56 2011 -0400
20302 [gi-invoke-ng] handle in pointer array marshalling
20304 gi/pygi-marshal.c | 28 ++++++++++++++++++++++------
20305 1 file changed, 22 insertions(+), 6 deletions(-)
20307 commit df3911ad2ce83af9bf9679ed1b221847b23ba2de
20308 Author: Alex Eftimie <alex@eftimie.ro>
20309 Date: Fri Jun 10 08:44:04 2011 +0300
20311 Adding GPtrArray tests
20313 tests/test_gi.py | 43 ++++++++++++++++++++++++++++++++++++++++++-
20314 1 file changed, 42 insertions(+), 1 deletion(-)
20316 commit e32c2be53175014399d89e1e85c9afc6e53c94be
20317 Author: John (J5) Palmieri <johnp@redhat.com>
20318 Date: Fri Jun 17 11:32:28 2011 -0400
20320 [gi-invoke-ng] fix array element offset calculations
20322 * use pointer arithmetic to calculate based on element size instead of
20323 relying on the size of GIArgument
20324 * special case GPtrArrays
20326 gi/pygi-marshal.c | 27 +++++++++------------------
20327 1 file changed, 9 insertions(+), 18 deletions(-)
20329 commit 6e8dc28cb261cafbfed40fc0797a0dd5f91f497b
20330 Author: John (J5) Palmieri <johnp@redhat.com>
20331 Date: Wed Jun 15 12:46:03 2011 -0400
20333 [gi] don't clean up arguments that weren't yet processed during in
20336 gi/pygi-marshal-cleanup.c | 2 +-
20337 1 file changed, 1 insertion(+), 1 deletion(-)
20339 commit af7c93ea98b7f492eef265e58c8b3c878805524f
20340 Author: John (J5) Palmieri <johnp@redhat.com>
20341 Date: Wed Jun 15 12:06:47 2011 -0400
20343 [gi-overrides] use new instead of init when constructing a
20344 GLib.VariantBuilder
20346 * init is now skipped in the gir
20348 gi/overrides/GLib.py | 18 ++++++++----------
20349 tests/test_overrides.py | 6 ++----
20350 2 files changed, 10 insertions(+), 14 deletions(-)
20352 commit c6112307f29f9a850e6e9efa5f55d5d4a363c6b0
20353 Author: John (J5) Palmieri <johnp@redhat.com>
20354 Date: Wed Jun 15 11:42:45 2011 -0400
20356 [gi-invoke-ng] actual code to import overrides
20358 gi/pygi-cache.c | 7 +------
20359 1 file changed, 1 insertion(+), 6 deletions(-)
20361 commit 902575d857beffb14e56821ea8a52f705385f6bb
20362 Author: John (J5) Palmieri <johnp@redhat.com>
20363 Date: Wed Jun 15 11:25:10 2011 -0400
20365 [gi-invoke-ng] import pytypes so we get overrides
20367 gi/pygi-marshal.c | 4 +++-
20368 1 file changed, 3 insertions(+), 1 deletion(-)
20370 commit 9d5604220bd56ae2708e9b74122c14208e0a30b4
20371 Author: John (J5) Palmieri <johnp@redhat.com>
20372 Date: Tue Jun 14 16:13:37 2011 -0400
20374 [gi-invoke-ng] handle gvariants now that they are not foreign
20376 gi/pygi-marshal.c | 7 ++++++-
20377 1 file changed, 6 insertions(+), 1 deletion(-)
20379 commit c1f5651062687e800a52b5d8d16c88c0acde2934
20380 Author: John (J5) Palmieri <johnp@redhat.com>
20381 Date: Tue Jun 14 16:12:43 2011 -0400
20383 [gi-invoke-ng] do not try to clean up NULL arguments
20385 gi/pygi-marshal-cleanup.c | 24 ++++++++++++++++--------
20386 1 file changed, 16 insertions(+), 8 deletions(-)
20388 commit fbf5382fbc1aed49ed491d2255d616a1643a45fc
20389 Merge: 499b68d 1491f62
20390 Author: John (J5) Palmieri <johnp@redhat.com>
20391 Date: Mon Jun 13 17:28:23 2011 -0400
20393 Merge branch 'master' into invoke-rewrite
20395 commit 499b68d6c9040cffc6e43dc87789d68446564a92
20396 Merge: 4c9bced 426c710
20397 Author: John (J5) Palmieri <johnp@redhat.com>
20398 Date: Mon Jun 13 17:26:37 2011 -0400
20400 Merge branch 'master' into invoke-rewrite
20402 commit 1491f6225b9906bd369b5a42e6369ab6884736b7
20403 Author: Ignacio Casal Quinteiro <icq@gnome.org>
20404 Date: Fri Jun 10 14:01:32 2011 +0200
20406 closure: avoid double free crash
20408 gi/pygi-closure.c | 12 ++++--------
20409 1 file changed, 4 insertions(+), 8 deletions(-)
20411 commit 929f4236f2b8601e7960a4a7b0a860d976ad83c6
20412 Author: Jason Siefken <siefkenj@gmail.com>
20413 Date: Fri Jun 3 23:11:17 2011 -0700
20415 Added __eq__ method for Gdk.Color and Gdk.RGBA
20417 Call Gdk.Color.equal and Gdk.RGBA.equal when
20418 == equality testing is used.
20420 gi/overrides/Gdk.py | 6 ++++++
20421 tests/test_overrides.py | 4 ++++
20422 2 files changed, 10 insertions(+)
20424 commit dff5961ba229c7c34bd7b0a18a446b56bbe39e3a
20425 Author: Ignacio Casal Quinteiro <icq@gnome.org>
20426 Date: Wed Jun 8 19:13:48 2011 +0200
20428 closure: Check the out arg is not null. Fixes bug #651812
20430 gi/pygi-closure.c | 3 +++
20431 1 file changed, 3 insertions(+)
20433 commit d7d178206bfbb0858556fcfd6c9ca8eefda3fdf5
20434 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20435 Date: Wed Jun 8 09:47:20 2011 +0200
20437 Use constants instead of literals
20439 tests/test_overrides.py | 8 ++++----
20440 1 file changed, 4 insertions(+), 4 deletions(-)
20442 commit fe386a0ad548a23e30e9cb947bfa2198fb48ef29
20443 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20444 Date: Mon Jun 6 19:07:22 2011 +0200
20446 GVariant has now a GType, take that into account
20448 https://bugzilla.gnome.org/show_bug.cgi?id=647509
20450 gi/pygi-argument.c | 8 ++++----
20451 gi/pygi-invoke.c | 20 +++++++++++++-------
20452 2 files changed, 17 insertions(+), 11 deletions(-)
20454 commit bd7b8d96a7420522c1fdc127ef8cfb7d6e8a1b31
20455 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20456 Date: Mon Jun 6 19:05:07 2011 +0200
20458 GVariantType is a boxed struct
20460 https://bugzilla.gnome.org/show_bug.cgi?id=647509
20462 gi/gimodule.c | 2 +-
20463 1 file changed, 1 insertion(+), 1 deletion(-)
20465 commit 2d73012e5dbcc45a5782a6c119dfb272c14b5a61
20466 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20467 Date: Mon Jun 6 17:38:21 2011 +0200
20469 Use _gi.Struct to wrap fundamentals
20471 https://bugzilla.gnome.org/show_bug.cgi?id=647509
20473 gi/module.py | 4 +++-
20474 1 file changed, 3 insertions(+), 1 deletion(-)
20476 commit d82e6c8d1d9f2fc48fdcc15b7d2a97e4f24cf3bf
20477 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20478 Date: Mon Jun 6 17:24:28 2011 +0200
20480 Merge gi/HACKING into /HACKING
20482 HACKING | 16 ++++++++++++++++
20483 gi/HACKING | 26 --------------------------
20484 2 files changed, 16 insertions(+), 26 deletions(-)
20486 commit 92aca4416a7930e5870b8d1a4016bae8140462ee
20487 Author: Daniel Drake <dsd@laptop.org>
20488 Date: Fri Jun 3 16:59:15 2011 +0100
20490 Fix GC-related crash during PyGObject deallocation
20492 Python-2.7.1's GC source has the following comment:
20494 /* Python's cyclic gc should never see an incoming refcount
20495 * of 0: if something decref'ed to 0, it should have been
20496 * deallocated immediately at that time.
20497 * Possible cause (if the assert triggers): a tp_dealloc
20498 * routine left a gc-aware object tracked during its teardown
20499 * phase, and did something-- or allowed something to
20501 * that called back into Python. gc can trigger then, and may
20502 * see the still-tracked dying object. Before this assert
20503 * was added, such mistakes went on to allow gc to try to
20504 * delete the object again. In a debug build, that caused
20505 * a mysterious segfault, when _Py_ForgetReference tried
20506 * to remove the object from the doubly-linked list of all
20507 * objects a second time. In a release build, an actual
20508 * double deallocation occurred, which leads to corruption
20509 * of the allocator's internal bookkeeping pointers. That's
20510 * so serious that maybe this should be a release-build
20511 * check instead of an assert?
20514 As shown in a backtrace at
20515 https://bugzilla.redhat.com/show_bug.cgi?id=640972 , pygobject
20517 this exact mistake. Before untracking its object, pygobject_dealloc
20518 calls PyObject_ClearWeakRefs() which can call back into python, create
20519 new allocations, and trigger the GC.
20521 This is causing Sugar (based on pygobject2 + pygtk2 static bindings)
20523 crash on a regular basis while interacting with widgets or launching
20526 Fix this by untracking the object early. Also fix the same issue
20528 in the GSource wrapper.
20530 Thanks to Bernie Innocenti for initial diagnosis.
20532 glib/pygsource.c | 6 ++++--
20533 gobject/pygobject.c | 8 +++++++-
20534 2 files changed, 11 insertions(+), 3 deletions(-)
20536 commit 4c9bcedb4e11ad66a4b86174e2425c7afcafc473
20537 Author: John (J5) Palmieri <johnp@redhat.com>
20538 Date: Tue May 31 16:59:41 2011 -0400
20540 [gi-invoke-ng] enable invoke-ng by default
20542 configure.ac | 8 ++++----
20543 1 file changed, 4 insertions(+), 4 deletions(-)
20545 commit 2e4cfb85a55ff205e263591d573ee5ecf0ffff3e
20546 Author: John (J5) Palmieri <johnp@redhat.com>
20547 Date: Tue May 31 16:37:21 2011 -0400
20549 [gi-invoke-ng] add code to clean up when input values fail to marshal
20551 gi/pygi-marshal-cleanup.c | 30 +++++++++++++++++++++++++-----
20552 1 file changed, 25 insertions(+), 5 deletions(-)
20554 commit 508b1b6ca1b143f1e123a3ddb83e8ce146758dfc
20555 Author: John (J5) Palmieri <johnp@redhat.com>
20556 Date: Tue May 31 16:01:03 2011 -0400
20558 [gi-invoke-ng] add hash cleanup routines
20560 gi/pygi-cache.c | 2 ++
20561 gi/pygi-marshal-cleanup.c | 64
20562 +++++++++++++++++++++++++++++++++++++++++++++++
20563 gi/pygi-marshal-cleanup.h | 10 ++++++--
20564 3 files changed, 74 insertions(+), 2 deletions(-)
20566 commit 1954c75b94a74259b4e5d28f5ff8d76aa4610832
20567 Author: John (J5) Palmieri <johnp@redhat.com>
20568 Date: Tue May 31 14:47:30 2011 -0400
20570 [gi-invoke-ng] handle arrays with transfers of GI_TRANSFER_CONTAINER
20572 gi/pygi-marshal-cleanup.c | 3 ++-
20573 1 file changed, 2 insertions(+), 1 deletion(-)
20575 commit b626c46b4a95602c7bf1278c2a39aacb7f5027d9
20576 Author: John (J5) Palmieri <johnp@redhat.com>
20577 Date: Tue May 31 14:40:49 2011 -0400
20579 [gi-invoke-ng] add list cleanup routines
20581 gi/pygi-cache.c | 8 ++---
20582 gi/pygi-marshal-cleanup.c | 84
20583 +++++++++++++++++++++++++++++++++++++++++++++++
20584 gi/pygi-marshal-cleanup.h | 8 +++++
20585 3 files changed, 96 insertions(+), 4 deletions(-)
20587 commit 2e542c327cd52c1f77af28905557dd25c64175d8
20588 Author: John (J5) Palmieri <johnp@redhat.com>
20589 Date: Thu May 26 16:10:13 2011 -0400
20593 gi/pygi-marshal.c | 8 ++++----
20594 1 file changed, 4 insertions(+), 4 deletions(-)
20596 commit 601aec11c49e821fe97dd30a2187fe3c75844712
20597 Author: John (J5) Palmieri <johnp@redhat.com>
20598 Date: Thu May 26 16:09:38 2011 -0400
20600 [gi-invoke-ng] add out array cleanup
20602 gi/pygi-cache.c | 2 +-
20603 gi/pygi-marshal-cleanup.c | 24 ++++++++++++++++++++++++
20604 gi/pygi-marshal.c | 37 +++++++++++++++++++++++++++++++------
20605 3 files changed, 56 insertions(+), 7 deletions(-)
20607 commit e9ad4428b769f8c9ace1cdc973c684de84fb1a5e
20608 Author: John (J5) Palmieri <johnp@redhat.com>
20609 Date: Thu May 26 13:22:38 2011 -0400
20611 [gi-invoke-ng] do not allocate null terminator for garray
20613 * We are simply setting our own array so we don't want any allocate
20616 gi/pygi-marshal.c | 2 +-
20617 1 file changed, 1 insertion(+), 1 deletion(-)
20619 commit a986b2b8e5ee37f2a330f5aabc85c73ebb0de508
20620 Author: John (J5) Palmieri <johnp@redhat.com>
20621 Date: Thu May 26 13:21:55 2011 -0400
20623 [gi-invoke-ng] add array cleanup for in arrays
20625 gi/pygi-cache.c | 2 +-
20626 gi/pygi-marshal-cleanup.c | 72
20627 ++++++++++++++++++++++++++++++++++++++++++++++-
20628 gi/pygi-marshal-cleanup.h | 9 ++++++
20629 gi/pygi-marshal.c | 13 +++++++--
20630 4 files changed, 91 insertions(+), 5 deletions(-)
20632 commit 990c60805c8ef718eb29e2e1b24f057552c6159e
20633 Author: John (J5) Palmieri <johnp@redhat.com>
20634 Date: Mon May 23 17:06:30 2011 -0400
20636 [gi-invoke-ng] remove remaining bits of the invoke stage state machine
20638 gi/pygi-invoke-ng.c | 7 +------
20639 gi/pygi-invoke-state-struct.h | 14 --------------
20640 2 files changed, 1 insertion(+), 20 deletions(-)
20642 commit dbbcf4a0e76fb572d85843ee31c3798df5cd5cc5
20643 Author: John (J5) Palmieri <johnp@redhat.com>
20644 Date: Mon May 23 16:59:57 2011 -0400
20646 [gi-invoke-ng] revamp cleanup framework to be orthogonal to cache
20649 * cleanup now has symmetry with setup so there are now in and out
20651 for each type that needs to be cleaned up
20652 * no longer use state machine but instead call different cleanup
20654 different stages of invoke, making it easier to understand what
20658 gi/pygi-cache.c | 19 ++-
20659 gi/pygi-cache.h | 7 +-
20660 gi/pygi-invoke-ng.c | 10 +-
20661 gi/pygi-invoke-state-struct.h | 2 +
20662 gi/pygi-marshal-cleanup.c | 301
20663 +++++++++++++++++-------------------------
20664 gi/pygi-marshal-cleanup.h | 45 ++++---
20665 gi/pygi-marshal.c | 15 +--
20666 7 files changed, 174 insertions(+), 225 deletions(-)
20668 commit 198714dc4585f7463f38929f1ca4e4b60a27dadb
20669 Author: John (J5) Palmieri <johnp@redhat.com>
20670 Date: Thu May 12 17:29:20 2011 -0400
20672 [gi-invoke-ng] stub out a cleaner way of cleaning up after ourselves
20674 * The state machine concept of cleaning up was getting a bit messy.
20675 It was like we took a big bowl of spaghetti code and dumped it.
20676 * Now we call specific cleanup functions at the point of failure (or
20677 successful completion of a marshalling stage)
20679 gi/pygi-invoke-ng.c | 59 +++++++++++++++++++++++++++++++-------
20680 gi/pygi-marshal-cleanup.c | 72
20681 +++++++++++++++++++++++++++++++++++++++++++++++
20682 gi/pygi-marshal-cleanup.h | 14 +++++++++
20683 3 files changed, 135 insertions(+), 10 deletions(-)
20685 commit c1389dadbf35afee3f28d90ef637efd8c1f071a5
20686 Author: José Alburquerque <jaalburqu@svn.gnome.org>
20687 Date: Thu May 12 11:53:40 2011 -0400
20689 Doc Extractor: Correct the logic of the --no-since option.
20691 * codegen/docextract.py (process_final_sections): If the
20693 option has been specified and a "Since:" is encountered during the
20694 processing of the final sections, simply don't append the
20696 instead of reading the next line. This preserves the logical
20700 codegen/docextract.py | 4 ++--
20701 1 file changed, 2 insertions(+), 2 deletions(-)
20703 commit 303d8e8ab9e60cb554de7fc0e8592cd9b2c50843
20704 Author: José Alburquerque <jaalburqu@svn.gnome.org>
20705 Date: Mon May 9 17:32:09 2011 -0400
20707 Doc Extractor: Add a --no-since option.
20709 * codegen/docextract.py:
20710 * codegen/docextract_to_xml.py: Modified so that if a --no-since
20711 option is specified at the command line, the "Since: ..." portion
20713 the gtkdoc function block is omitted. This is useful for C++
20715 such as gstreamermm where this information would not be useful
20717 as the C API is still unstable.
20719 codegen/docextract.py | 15 ++++++++++++++-
20720 codegen/docextract_to_xml.py | 9 ++++++---
20721 2 files changed, 20 insertions(+), 4 deletions(-)
20723 commit 4f615c6e300d6f2d7551b640efa301060206ab58
20724 Author: John (J5) Palmieri <johnp@redhat.com>
20725 Date: Thu May 5 14:04:34 2011 -0400
20727 [gi-invoke-ng] tweek cleanup routines
20729 gi/pygi-cache.c | 5 +++
20730 gi/pygi-marshal-cleanup.c | 87
20731 +++++++++++++++++++++++++++++++++++------------
20732 gi/pygi-marshal-cleanup.h | 6 ++--
20733 gi/pygi-marshal.c | 11 ++----
20734 4 files changed, 76 insertions(+), 33 deletions(-)
20736 commit 63c7f17c224821cb7136d06e8ef87eab7291848d
20737 Author: Martin Pitt <martin.pitt@ubuntu.com>
20738 Date: Mon May 2 15:49:52 2011 +0200
20740 Fix symbol names to be locale independent
20742 We currently use upper() to present enum values, which are usually
20744 lower case in the typelib, in upper cases. However, upper() is locale
20745 dependent, so that e. g. in tr_TR.UTF-8, "invalid" becomes "iNVALiD"
20746 because Turkish has some extra variants of "i".
20748 Use a local ASCII-only translate() call instead to avoid this. Thanks
20750 Philippsen for the idea!
20752 This also adds a test locale "te_ST@nouppera" which defines
20753 toupper('a') == 'a'.
20754 Run the Enum tests under this locale to reproduce the bug and verify
20757 https://bugzilla.gnome.org/show_bug.cgi?id=649165
20759 gi/module.py | 9 ++++++++-
20760 tests/te_ST@nouppera | 50
20761 ++++++++++++++++++++++++++++++++++++++++++++++++++
20762 tests/test_gi.py | 30 ++++++++++++++++++++++++++++++
20763 3 files changed, 88 insertions(+), 1 deletion(-)
20765 commit b5e150da76c3d4de1a75f58d03c3a761e9005a63
20766 Author: Martin Pitt <martin.pitt@ubuntu.com>
20767 Date: Wed May 4 08:35:27 2011 +0200
20769 [gi] pygi-convert.sh: Convert gtk.gdk.CROSSHAIR
20771 pygi-convert.sh | 1 +
20772 1 file changed, 1 insertion(+)
20774 commit fcc5ea201ab25da6db94ea8a37364a1d3c4d7c65
20775 Author: John (J5) Palmieri <johnp@redhat.com>
20776 Date: Fri Apr 29 17:41:08 2011 -0400
20778 [gi-invoke-ng] handle filename cleanup with the utf8 cleanup function
20780 gi/pygi-cache.c | 2 ++
20781 1 file changed, 2 insertions(+)
20783 commit dbe8c4fabc8ac19415a3be0e854d3a54c2317e0b
20784 Author: John (J5) Palmieri <johnp@redhat.com>
20785 Date: Fri Apr 29 17:40:13 2011 -0400
20787 [gi-invoke-ng] handle caller allocates cleanup
20789 gi/pygi-invoke-ng.c | 5 ++-
20790 gi/pygi-marshal-cleanup.c | 104
20791 ++++++++++++++++++++++++++++++++++++----------
20792 gi/pygi-marshal-cleanup.h | 7 ++--
20793 3 files changed, 90 insertions(+), 26 deletions(-)
20795 commit cdbf57f3b1f041a06cf545a5557424f701ed1ec7
20796 Author: John (J5) Palmieri <johnp@redhat.com>
20797 Date: Thu Apr 28 19:16:02 2011 -0400
20799 [gi-invoke-ng] refactor the cleanup code and add utf8 cleanup as
20802 gi/pygi-cache.c | 15 ++-----------
20803 gi/pygi-invoke-ng.c | 8 +++----
20804 gi/pygi-invoke-state-struct.h | 2 ++
20805 gi/pygi-marshal-cleanup.c | 51
20806 ++++++++++++++++++++++++++++++++++++++++++-
20807 gi/pygi-marshal-cleanup.h | 3 +++
20808 5 files changed, 60 insertions(+), 19 deletions(-)
20810 commit d1f1f4ccc55f9ecab73b7c0ee78762c4039b2c79
20811 Author: John (J5) Palmieri <johnp@redhat.com>
20812 Date: Wed Apr 27 15:47:19 2011 -0400
20814 use PyCapsule when importing pycairo/require pycairo 1.10.0 for
20817 * PyCObject is deprecated and pycairo 1.10.0 is first release to
20820 configure.ac | 15 +++++++++++----
20821 gi/pygi-foreign-cairo.c | 2 +-
20822 2 files changed, 12 insertions(+), 5 deletions(-)
20824 commit 83b7823a510b0b391560c6deaf9d15d8303c7b14
20825 Author: Ignacio Casal Quinteiro <icq@gnome.org>
20826 Date: Thu Apr 21 16:52:20 2011 +0200
20828 [python3] fix build. PYcairo_IMPORT doesn't exists anymore
20830 gi/pygi-foreign-cairo.c | 7 ++++++-
20831 1 file changed, 6 insertions(+), 1 deletion(-)
20833 commit 3e933784df423757e591d703614cb700adb0bbe0
20834 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20835 Date: Mon Apr 18 18:36:25 2011 +0200
20839 pygobject.doap | 15 +++++++++++++++
20840 1 file changed, 15 insertions(+)
20842 commit 399d06b4b20685eb38acfd7e43226e06737ab7d2
20843 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20844 Date: Sat Apr 16 16:02:05 2011 +0200
20846 [gi] Don't create variant twice
20848 gi/overrides/GLib.py | 2 +-
20849 1 file changed, 1 insertion(+), 1 deletion(-)
20851 commit 8d8a84ea23d28d25851c5870f261c020d762cef4
20852 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20853 Date: Fri Apr 15 16:14:43 2011 +0200
20855 pygi-convert.sh: Make sure the uppercase GObject module is imported
20856 instead of the lowercase
20858 https://bugzilla.gnome.org/show_bug.cgi?id=647736
20860 pygi-convert.sh | 1 +
20861 1 file changed, 1 insertion(+)
20863 commit 3b51d6426d0f59b2dd7e0dcdcded4bed43d6b9d8
20864 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20865 Date: Fri Apr 15 15:58:53 2011 +0200
20867 [gi] Removed hack to avoid using GLib.Variant.new_variant.
20869 The bug in the annotations of GLib is fixed now.
20870 https://bugzilla.gnome.org/show_bug.cgi?id=639952
20871 https://bugzilla.gnome.org/show_bug.cgi?id=647796
20873 gi/overrides/GLib.py | 14 +-------------
20874 1 file changed, 1 insertion(+), 13 deletions(-)
20876 commit bb4dce14ba666969815d4e56adbc38f0ac4f7ff7
20877 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20878 Date: Fri Apr 15 15:58:31 2011 +0200
20880 [gi] Added additional test case for GVariant handling
20882 tests/test_overrides.py | 15 +++++++++++++++
20883 1 file changed, 15 insertions(+)
20885 commit 138df2778543409752e229a09828a805f68a420d
20886 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20887 Date: Mon Apr 11 18:34:31 2011 +0200
20889 [gi] Added support for GVariant arguments
20891 This is required in order for the "g-signal" signal of GDBusProxy
20892 to work properly and thus to properly receive DBus signals with any
20895 https://bugzilla.gnome.org/show_bug.cgi?id=647477
20897 gi/pygi-argument.c | 2 ++
20898 1 file changed, 2 insertions(+)
20900 commit 985f239d891c7697d76ccecb797b189669ae6ee1
20901 Author: John (J5) Palmieri <johnp@redhat.com>
20902 Date: Tue Mar 22 18:46:28 2011 -0400
20904 fix static ABI for setting string gvalues from python objects
20906 * the static bindings used to be able to set a string gvalue to
20908 object that implemented __str__, for instance when setting a
20910 * this restores that code while still keeping unicode and python 3
20913 gobject/pygtype.c | 28 +++++++++++++++++++---------
20914 tests/test_properties.py | 8 ++++++++
20915 2 files changed, 27 insertions(+), 9 deletions(-)
20917 commit 58cfc3cd1152b4448b56a6ff597f954d8450b83e
20918 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20919 Date: Tue Mar 22 20:47:51 2011 +0100
20921 dsextras.py: ensure eol characters are preserved when writing template
20922 files (so \n does not become \r\n)
20925 1 file changed, 1 insertion(+), 1 deletion(-)
20927 commit 629d267478982c426ba61a639d5c9603fed856e6
20928 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20929 Date: Tue Mar 22 11:35:44 2011 +0100
20931 dsextras.py: remove \r as wel as \n character
20934 1 file changed, 1 insertion(+), 1 deletion(-)
20936 commit 426c7109d4c0dbf0d56cc075f97f33b3451f79a8
20937 Author: John (J5) Palmieri <johnp@redhat.com>
20938 Date: Wed Apr 27 15:47:19 2011 -0400
20940 use PyCapsule when importing pycairo/require pycairo 1.10.0 for
20943 * PyCObject is deprecated and pycairo 1.10.0 is first release to
20946 configure.ac | 15 +++++++++++----
20947 gi/pygi-foreign-cairo.c | 2 +-
20948 2 files changed, 12 insertions(+), 5 deletions(-)
20950 commit 4e5833d0c2fe548617e5ea510f05920fd0caf73b
20951 Author: Ignacio Casal Quinteiro <icq@gnome.org>
20952 Date: Thu Apr 21 16:52:20 2011 +0200
20954 [python3] fix build. PYcairo_IMPORT doesn't exists anymore
20956 gi/pygi-foreign-cairo.c | 7 ++++++-
20957 1 file changed, 6 insertions(+), 1 deletion(-)
20959 commit 91ec337359720839862d3f5a8a0ea98f760a0752
20960 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20961 Date: Mon Apr 18 18:36:25 2011 +0200
20965 pygobject.doap | 15 +++++++++++++++
20966 1 file changed, 15 insertions(+)
20968 commit 05c766044c83340c44564d0097514bfc1d1d9df7
20969 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20970 Date: Sat Apr 16 16:02:05 2011 +0200
20972 [gi] Don't create variant twice
20974 gi/overrides/GLib.py | 2 +-
20975 1 file changed, 1 insertion(+), 1 deletion(-)
20977 commit eb8f212e3687af30407cf01fcdfbf530257bcddb
20978 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20979 Date: Fri Apr 15 16:14:43 2011 +0200
20981 pygi-convert.sh: Make sure the uppercase GObject module is imported
20982 instead of the lowercase
20984 https://bugzilla.gnome.org/show_bug.cgi?id=647736
20986 pygi-convert.sh | 1 +
20987 1 file changed, 1 insertion(+)
20989 commit af31729573de24161ee90563e5738187c749783c
20990 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20991 Date: Fri Apr 15 15:58:53 2011 +0200
20993 [gi] Removed hack to avoid using GLib.Variant.new_variant.
20995 The bug in the annotations of GLib is fixed now.
20996 https://bugzilla.gnome.org/show_bug.cgi?id=639952
20997 https://bugzilla.gnome.org/show_bug.cgi?id=647796
20999 gi/overrides/GLib.py | 14 +-------------
21000 1 file changed, 1 insertion(+), 13 deletions(-)
21002 commit 070f6688be4afb926656038dcceac4c8b8ed97c7
21003 Author: Sebastian Pölsterl <sebp@k-d-w.org>
21004 Date: Fri Apr 15 15:58:31 2011 +0200
21006 [gi] Added additional test case for GVariant handling
21008 tests/test_overrides.py | 15 +++++++++++++++
21009 1 file changed, 15 insertions(+)
21011 commit 65aa040e86d94ee6bb227a2bce09668b60208027
21012 Author: John (J5) Palmieri <johnp@redhat.com>
21013 Date: Tue Apr 12 14:51:35 2011 -0400
21015 [gi-invoke-ng] fix prototype
21017 gi/pygi-cache.h | 2 +-
21018 1 file changed, 1 insertion(+), 1 deletion(-)
21020 commit 12aa4e6376366ca9d758434f6544c9c70a1e5df8
21021 Author: John (J5) Palmieri <johnp@redhat.com>
21022 Date: Tue Apr 12 14:48:16 2011 -0400
21024 [gi-invoke-ng] create new framework for cleaning up args
21026 * we now have a state machine so we know what point in the marshalling
21028 we are and which args need to be cleaned up
21029 * call the cleanup functions after invoking the gi callable, after
21031 the out parameters and at any time an error occures
21033 gi/Makefile.am | 4 ++-
21034 gi/pygi-cache.c | 25 +++++++------
21035 gi/pygi-cache.h | 5 ++-
21036 gi/pygi-invoke-ng.c | 34 ++++++++++++++----
21037 gi/pygi-invoke-state-struct.h | 13 +++++++
21038 gi/pygi-marshal-cleanup.c | 81
21039 +++++++++++++++++++++++++++++++++++++++++++
21040 gi/pygi-marshal-cleanup.h | 43 +++++++++++++++++++++++
21041 gi/pygi-marshal.c | 1 +
21042 8 files changed, 187 insertions(+), 19 deletions(-)
21044 commit 0463295cd046bd6382ad9dc71ea1518858d63c5f
21045 Author: Sebastian Pölsterl <sebp@k-d-w.org>
21046 Date: Mon Apr 11 18:34:31 2011 +0200
21048 [gi] Added support for GVariant arguments
21050 This is required in order for the "g-signal" signal of GDBusProxy
21051 to work properly and thus to properly receive DBus signals with any
21054 https://bugzilla.gnome.org/show_bug.cgi?id=647477
21056 gi/pygi-argument.c | 2 ++
21057 1 file changed, 2 insertions(+)
21059 commit 1d64c3d3db2ec17b9a48df55271f712db6c07060
21060 Author: John (J5) Palmieri <johnp@redhat.com>
21061 Date: Wed Mar 30 16:40:31 2011 -0400
21063 [gi-invoke-ng] fix marshal header that is no longer part of
21066 gi/pygi-marshal.h | 8 ++++----
21067 1 file changed, 4 insertions(+), 4 deletions(-)
21069 commit 3580cd1c7222022ebeef3476f9e609c8045f12a3
21070 Author: John (J5) Palmieri <johnp@redhat.com>
21071 Date: Wed Mar 30 15:53:13 2011 -0400
21073 [gi-invoke-ng] code style space fixes
21075 gi/pygi-cache.c | 420 +++++++++++++++++++-------------------
21076 gi/pygi-invoke-ng.c | 145 +++++++-------
21077 gi/pygi-marshal.c | 565
21078 ++++++++++++++++++++++++++--------------------------
21079 3 files changed, 566 insertions(+), 564 deletions(-)
21081 commit 81662fcd09f112bfffcdc5b7f01a5537b84cd9d4
21082 Author: John (J5) Palmieri <johnp@redhat.com>
21083 Date: Tue Mar 29 16:54:44 2011 -0400
21085 [gi-invoke-ng] don't decref value taken from a dict as it is borrowed
21087 gi/pygi-invoke-ng.c | 1 -
21088 1 file changed, 1 deletion(-)
21090 commit a456fc0adc1f8a0754bf59cde8924f905bfc7dc1
21091 Author: John (J5) Palmieri <johnp@redhat.com>
21092 Date: Tue Mar 29 15:23:06 2011 -0400
21094 [gi-invoke-ng] return None when appropriate so we don't crash
21096 gi/pygi-marshal.c | 18 +++++++++++++++++-
21097 1 file changed, 17 insertions(+), 1 deletion(-)
21099 commit e8c8c37e5587dc7ff62519df336988a12e6f5d0a
21100 Author: John (J5) Palmieri <johnp@redhat.com>
21101 Date: Tue Mar 29 15:21:41 2011 -0400
21103 [gi-invoke-ng] fix aux value caching
21105 gi/pygi-cache.c | 15 ++++++++++-----
21106 1 file changed, 10 insertions(+), 5 deletions(-)
21108 commit 4e4c1847c713a4eb4ab34d04488e94dac24d9167
21109 Author: John (J5) Palmieri <johnp@redhat.com>
21110 Date: Mon Mar 28 20:25:46 2011 -0400
21112 [gi-invoke-ng] backport handling flags with no gtype
21114 gi/pygi-marshal.c | 25 ++++++++++++++++++++++++-
21115 1 file changed, 24 insertions(+), 1 deletion(-)
21117 commit fd76423e655b3711e1ffbf9b61ea4e2c94040234
21118 Author: John (J5) Palmieri <johnp@redhat.com>
21119 Date: Mon Mar 28 18:32:00 2011 -0400
21121 [gi-invoke-ng] backport raw gvalue handling
21123 gi/pygi-marshal.c | 23 ++++++++++++++++++-----
21124 1 file changed, 18 insertions(+), 5 deletions(-)
21126 commit 507b5051c83f70ceae79e0fa693c86e5cbb9f442
21127 Author: John (J5) Palmieri <johnp@redhat.com>
21128 Date: Mon Mar 28 18:30:31 2011 -0400
21130 [gi-invoke-ng] marshal instances seperately since they differ slightly
21133 gi/pygi-cache.c | 2 +-
21134 gi/pygi-marshal.c | 38 ++++++++++++++++++++++++++++++++++++++
21135 2 files changed, 39 insertions(+), 1 deletion(-)
21137 commit 726a27c0e74ace3ff23d9cc4d393ae53e57f1fac
21138 Author: John (J5) Palmieri <johnp@redhat.com>
21139 Date: Mon Mar 28 18:26:09 2011 -0400
21141 [gi-invoke-ng] refactor FunctionCache to be more generic CallableCache
21143 gi/pygi-cache.c | 392
21144 +++++++++++++++++++++++++++-------------------------
21145 gi/pygi-cache.h | 12 +-
21146 gi/pygi-info.c | 2 +-
21147 gi/pygi-invoke-ng.c | 40 +++---
21148 gi/pygi-marshal.c | 140 +++++++++----------
21149 gi/pygi-marshal.h | 159 +++++++++------------
21151 7 files changed, 362 insertions(+), 385 deletions(-)
21153 commit 3d5d9ff5c18a850650992bdd52e8e4c722b23396
21154 Author: John (J5) Palmieri <johnp@redhat.com>
21155 Date: Mon Mar 28 15:01:12 2011 -0400
21157 [gi-invoke-rewrite] backport glib error handling
21159 gi/pygi-invoke-ng.c | 14 ++++++--------
21160 1 file changed, 6 insertions(+), 8 deletions(-)
21162 commit 37b14b28a5f2aec16ac7f321efbf07e1403e9531
21163 Author: John (J5) Palmieri <johnp@redhat.com>
21164 Date: Fri Mar 25 18:48:42 2011 -0400
21166 [gi-invoke-ng] backport closure passing from invoke
21168 gi/pygi-marshal.c | 13 ++++++++++---
21169 1 file changed, 10 insertions(+), 3 deletions(-)
21171 commit cf7f97eabc9c49773c2916929b8c43ef453d0652
21172 Author: John (J5) Palmieri <johnp@redhat.com>
21173 Date: Fri Mar 25 18:47:36 2011 -0400
21175 [gi-invoke-ng] handle vfuncs and fix cosntrutors
21177 gi/pygi-cache.c | 9 +++++++
21178 gi/pygi-cache.h | 2 ++
21179 gi/pygi-invoke-ng.c | 56
21180 ++++++++++++++++++++++++++++++++-----------
21181 gi/pygi-invoke-state-struct.h | 2 ++
21182 4 files changed, 55 insertions(+), 14 deletions(-)
21184 commit af2ce400fcf771ee6c9bc01aecfb59467be5a0ce
21185 Author: John (J5) Palmieri <johnp@redhat.com>
21186 Date: Fri Mar 25 18:39:06 2011 -0400
21188 [gi-invoke-ng] handle foreign types correctly
21190 gi/pygi-cache.c | 22 ++++++----------------
21191 gi/pygi-marshal.c | 3 +++
21192 2 files changed, 9 insertions(+), 16 deletions(-)
21194 commit 482553ae5d863ca523be3bd1eededa5d02a4f87e
21195 Author: John (J5) Palmieri <johnp@redhat.com>
21196 Date: Fri Mar 25 13:14:01 2011 -0400
21198 [gi] remove the class parameter from the argument list of constructors
21200 * constructors pass in their class to be constructed. Since we
21202 and g_object_new to do the construction we ignore this for now but
21203 keep it around in the state for future use.
21205 gi/pygi-invoke-ng.c | 46
21206 +++++++++++++++++++++++++++++++++++++------
21207 gi/pygi-invoke-state-struct.h | 1 +
21208 2 files changed, 41 insertions(+), 6 deletions(-)
21210 commit 0534eb0e843cdf09611143da184052f7e549e4dc
21211 Author: John (J5) Palmieri <johnp@redhat.com>
21212 Date: Tue Mar 22 18:46:28 2011 -0400
21214 fix static ABI for setting string gvalues from python objects
21216 * the static bindings used to be able to set a string gvalue to
21218 object that implemented __str__, for instance when setting a
21220 * this restores that code while still keeping unicode and python 3
21223 gobject/pygtype.c | 28 +++++++++++++++++++---------
21224 tests/test_properties.py | 8 ++++++++
21225 2 files changed, 27 insertions(+), 9 deletions(-)
21227 commit 5f0e130026a663a57ed1317e0fa0e1f78f9e6e0a
21228 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21229 Date: Tue Mar 22 20:47:51 2011 +0100
21231 dsextras.py: ensure eol characters are preserved when writing template
21232 files (so \n does not become \r\n)
21235 1 file changed, 1 insertion(+), 1 deletion(-)
21237 commit 62a6274105003ef386ddfe9ef38e8afa8c43d124
21238 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21239 Date: Tue Mar 22 11:35:44 2011 +0100
21241 dsextras.py: remove \r as wel as \n character
21244 1 file changed, 1 insertion(+), 1 deletion(-)
21246 commit 86c436978c933f6ebe17627abe98325ce66f6baa
21247 Author: John (J5) Palmieri <johnp@redhat.com>
21248 Date: Tue Mar 22 16:13:58 2011 -0400
21250 [gi] make new invoke-ng codepath compile correctly
21253 gi/Makefile.am | 5 +-
21254 gi/pygi-cache.c | 2 +-
21255 gi/pygi-invoke-ng.c | 841 ----------------------
21256 gi/pygi-marshal.c | 1962
21257 +--------------------------------------------------
21258 gi/pygi-private.h | 4 +-
21259 6 files changed, 9 insertions(+), 2809 deletions(-)
21261 commit 35619fec43f4df85edf5456f3fc9733b16f2ba90
21262 Author: John (J5) Palmieri <johnp@redhat.com>
21263 Date: Tue Mar 22 15:40:02 2011 -0400
21265 [gi] conditionalize invoke code paths
21267 configure.ac | 7 +++++++
21268 gi/Makefile.am | 20 +++++++++++++++-----
21269 gi/pygi-cache.h | 2 ++
21270 gi/pygi-info.c | 4 +++-
21271 gi/pygi-private.h | 9 +++++++--
21273 6 files changed, 37 insertions(+), 9 deletions(-)
21275 commit 83c51bd2bb6ca24ce610c04cff1527bcd2689d90
21276 Author: John (J5) Palmieri <johnp@redhat.com>
21277 Date: Tue Mar 22 15:37:24 2011 -0400
21279 [gi] revert back to the type.py from master
21281 gi/types.py | 21 +++++++++++++++------
21282 1 file changed, 15 insertions(+), 6 deletions(-)
21284 commit cb30d00d1c92e73d9bfb08cc7b600a5aa70f2fc0
21285 Author: John (J5) Palmieri <johnp@redhat.com>
21286 Date: Tue Mar 22 14:46:29 2011 -0400
21288 [gi] revert pygi-argument.h and move the invoke-ng code to
21291 gi/pygi-argument.h | 268 +-----------------------------------------
21292 gi/pygi-marshal.h | 336
21293 +++++++++++++++++++++++++++++++++++++++++++++++++++++
21294 2 files changed, 337 insertions(+), 267 deletions(-)
21296 commit 17cb714cfdaf45b6d7dd627b0189bd24e6578f74
21297 Merge: 7332a1b 01596a9
21298 Author: John (J5) Palmieri <johnp@redhat.com>
21299 Date: Tue Mar 22 13:34:36 2011 -0400
21301 Merge branch 'master' into invoke-rewrite
21306 gi/pygi-foreign-cairo.c
21307 gi/pygi-foreign-gvariant.c
21308 gi/pygi-foreign-gvariant.h
21314 commit 01596a9b7cc0ceef3904da5b96939140ee0732fd
21315 Author: John (J5) Palmieri <johnp@redhat.com>
21316 Date: Tue Mar 22 13:20:54 2011 -0400
21318 [gi] foreign types now take interface infos instead of type infos
21320 * this is a prep for the invoke-rewrite branch
21321 * when marshalling foreign structs we may not have the type info but
21322 we will always have the interface info to pass
21323 * this simplifies the code because we were simply converting the
21324 type info back to an interface info anyway so there is less
21325 refcounting to keep track of
21326 * also fixes a bug where we were leaking PyNone ref counts
21328 gi/pygi-argument.c | 4 ++--
21329 gi/pygi-foreign-cairo.c | 16 ++++++++--------
21330 gi/pygi-foreign-gvariant.c | 12 ++++++------
21331 gi/pygi-foreign.c | 32 +++++++++++++-------------------
21332 gi/pygi-foreign.h | 8 ++++----
21333 gi/pygi-invoke.c | 6 +++---
21334 gi/pygi.h | 12 ++++++------
21335 7 files changed, 42 insertions(+), 48 deletions(-)
21337 commit fbabc1fdafa1dcbd1f6aaea7b821bd1c64a546ab
21338 Author: Martin Pitt <martin.pitt@ubuntu.com>
21339 Date: Tue Mar 22 15:04:01 2011 +0100
21341 Fix GSchema tests for separate build tree
21343 When using a separate build tree, the compiled GSettings schema will
21345 build tree, but as the test scripts are only in the source tree they
21347 the compiled schema. Pass the build dir as environment variable and
21349 over test_overrides.py's directory.
21351 tests/Makefile.am | 3 ++-
21352 tests/test_overrides.py | 4 +++-
21353 2 files changed, 5 insertions(+), 2 deletions(-)
21355 commit 7332a1b99775519fdc5500cab6628b713e946a8c
21356 Author: John (J5) Palmieri <johnp@redhat.com>
21357 Date: Mon Mar 21 19:03:29 2011 -0400
21359 [gi] start of merge from master
21361 * move some of the modified files that will cause merge conflicts
21363 own, nonconflicting files
21364 * copy the old files out of master
21366 gi/pygi-argument.c | 2101 +++------------------------
21367 gi/pygi-invoke-ng.c | 1179 ++++++++++++++++
21368 gi/pygi-invoke.c | 421 ++----
21369 gi/pygi-marshal.c | 3916
21370 +++++++++++++++++++++++++++++++++++++++++++++++++++
21371 4 files changed, 5389 insertions(+), 2228 deletions(-)
21373 commit 62b49dae97441953452d097cb1751df14302547a
21374 Author: John (J5) Palmieri <johnp@redhat.com>
21375 Date: Wed Mar 16 17:34:18 2011 -0400
21377 [gi] marshal raw closures
21379 * before we were able to marshal python callables into methods
21381 GClosures but we had no way to take a GClosure returned from one
21382 method and pass it to another - this enables that usecase
21384 https://bugzilla.gnome.org/show_bug.cgi?id=644757
21386 gi/pygi-argument.c | 17 ++++++++++-------
21387 tests/test_gi.py | 4 ++++
21388 2 files changed, 14 insertions(+), 7 deletions(-)
21390 commit 1e70957c5470a0f4bceba38ca66a4e4274fdc8d8
21391 Author: John Stowers <john.stowers@gmail.com>
21392 Date: Sun Mar 6 23:41:01 2011 +1300
21394 pygi-convert.sh add GObject.xxx and webkit
21396 https://bugzilla.gnome.org/show_bug.cgi?id=644347
21398 pygi-convert.sh | 7 +++++++
21399 1 file changed, 7 insertions(+)
21401 commit 2292673c96e7973a0732ca15bbd5b0bf7a9c7dcf
21402 Author: John Stowers <john.stowers@gmail.com>
21403 Date: Sun Mar 6 23:41:30 2011 +1300
21405 pygi-convert.sh remove gobject tests, GObject works now
21407 https://bugzilla.gnome.org/show_bug.cgi?id=644347
21409 pygi-convert.sh | 28 ----------------------------
21410 1 file changed, 28 deletions(-)
21412 commit d26e5cc45f277f6b7edb32aa416520bb53bff9c2
21413 Author: John (J5) Palmieri <johnp@redhat.com>
21414 Date: Fri Mar 11 14:09:02 2011 -0500
21416 [gi-demos] add pickers demo
21418 demos/gtk-demo/demos/pickers.py | 74
21419 +++++++++++++++++++++++++++++++++++++++++
21420 1 file changed, 74 insertions(+)
21422 commit b8d926a458ed7d7e92719e41b5bc1c36f68882b3
21423 Author: John (J5) Palmieri <johnp@redhat.com>
21424 Date: Thu Mar 10 18:12:50 2011 -0500
21426 [gi-demos] add menu demo
21428 demos/gtk-demo/demos/menus.py | 122
21429 ++++++++++++++++++++++++++++++++++++++++++
21430 1 file changed, 122 insertions(+)
21432 commit 9baec8ed1c5d99c1677a75eaa1d38912f41f0b2d
21433 Author: John (J5) Palmieri <johnp@redhat.com>
21434 Date: Wed Mar 9 13:02:50 2011 -0500
21436 [gi-overrides] fix exception block so it works in Python 2.5
21438 gi/overrides/Gio.py | 5 ++++-
21439 1 file changed, 4 insertions(+), 1 deletion(-)
21441 commit 5ac534ac3ceee3cc19fe2297e3cd009817ed726f
21442 Author: Martin Pitt <martin.pitt@ubuntu.com>
21443 Date: Mon Mar 21 13:19:58 2011 +0100
21445 Revert "Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES"
21447 This reverts commit fc7d7f7f153d57ff3866b7bfd5e6479d702cc4d9.
21449 This introduces additional libpython dependencies, which breaks
21451 which support multiple Python versions, and also causes the python
21453 to be in memory twice in some cases.
21455 https://bugzilla.gnome.org/show_bug.cgi?id=620215
21457 gi/Makefile.am | 4 +---
21458 glib/Makefile.am | 2 +-
21459 m4/python.m4 | 7 ++-----
21460 tests/Makefile.am | 2 +-
21461 4 files changed, 5 insertions(+), 10 deletions(-)
21463 commit cd01f8ce1373f28b1427dd847bef44f747f1e6b3
21464 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21465 Date: Fri Mar 18 17:06:08 2011 +0100
21467 setup.py: fix user_access_control option
21470 1 file changed, 1 insertion(+), 1 deletion(-)
21472 commit 2da60baec4f43c41f43527cbfde4e21e0eea728c
21473 Author: Martin Pitt <martin.pitt@ubuntu.com>
21474 Date: Wed Mar 16 10:22:35 2011 +0100
21476 [gi] Respect the MessageType for Gtk.MessageDialog
21478 Don't just ignore the type argument, actually pass it on. Thanks
21480 Chou for spotting this!
21482 gi/overrides/Gtk.py | 1 +
21483 1 file changed, 1 insertion(+)
21485 commit 029a79d1af1e0998aa6bc88ce1c1f48ce0ccd2a0
21486 Author: Martin Pitt <martin.pitt@ubuntu.com>
21487 Date: Tue Mar 15 10:22:39 2011 +0100
21489 [gi] Do not require signature for D-BUS methods without arguments
21491 Calling methods on DBusProxy objects usually requires specifying
21493 as first argument. However, if the D-BUS method does not take any
21495 specifying the empty '()' signature does not give any additional
21497 so allow the caller to just call the proxy method without any
21500 Also ensure that passing a non-string signature raises a
21502 exception, instead of crashing deep in the GVariant leaf constructor.
21504 https://bugzilla.gnome.org/show_bug.cgi?id=644260
21506 gi/overrides/Gio.py | 16 +++++++++++++++-
21507 tests/test_gdbus.py | 13 +++++++++++++
21508 2 files changed, 28 insertions(+), 1 deletion(-)
21510 commit 5bf66ce79267b25bcc80251f9170498fa1d765f6
21511 Author: John Stowers <john.stowers@gmail.com>
21512 Date: Sun Mar 6 23:05:33 2011 +1300
21514 [gi-overrides] TreeViewColumn.set_cell_data_func func_data can be None
21516 https://bugzilla.gnome.org/show_bug.cgi?id=644343
21518 gi/overrides/Gtk.py | 2 ++
21519 1 file changed, 2 insertions(+)
21521 commit 8e4f86e17a1de533a93b0748fd8de3cbfa70ba62
21522 Author: John Stowers <john.stowers@gmail.com>
21523 Date: Sun Mar 6 17:48:04 2011 +1300
21525 [gi-demos] dont try and run demos that represent directories
21527 demos/gtk-demo/gtk-demo.py | 3 ++-
21528 1 file changed, 2 insertions(+), 1 deletion(-)
21530 commit 097e5efab29d3d2d91d0b9fc75bf00219e9b7810
21531 Author: John (J5) Palmieri <johnp@redhat.com>
21532 Date: Mon Mar 7 18:09:18 2011 -0500
21534 [gi-demos] some python 3 compat fixes
21536 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 6 ++++++
21537 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
21538 demos/gtk-demo/demos/rotatedtext.py | 4 ++--
21539 demos/gtk-demo/gtk-demo.py | 4 ++--
21540 4 files changed, 11 insertions(+), 5 deletions(-)
21542 commit fd5d5ef3abc947d3c6066eea6378514f87b7f0ce
21543 Author: John (J5) Palmieri <johnp@redhat.com>
21544 Date: Tue Feb 22 15:07:40 2011 -0500
21546 [gi-demos] add liststore demo
21548 demos/gtk-demo/demos/Tree View/__init__.py | 0
21549 demos/gtk-demo/demos/Tree View/liststore.py | 205
21550 ++++++++++++++++++++++++++++
21551 2 files changed, 205 insertions(+)
21553 commit 09de5cf99474fc8a34b5f4a61cede1fb47353ebb
21554 Author: John (J5) Palmieri <johnp@redhat.com>
21555 Date: Mon Mar 7 18:08:40 2011 -0500
21557 [gi-demos] catch the correct error class
21559 demos/gtk-demo/demos/images.py | 11 ++++++-----
21560 1 file changed, 6 insertions(+), 5 deletions(-)
21562 commit 7284d2d4622978fc9ddfd00f2714b3a572b7ab56
21563 Author: Steve Frécinaux <code@istique.net>
21564 Date: Sun Mar 6 21:18:36 2011 +0100
21566 Do not leak python references when using the gobject.property()
21569 Since this helper was storing plain references in a long-lived
21571 refcount for the instances would never drop to zero, and so they would
21572 never get finalized.
21574 https://bugzilla.gnome.org/show_bug.cgi?id=644039
21576 gobject/propertyhelper.py | 5 ++---
21577 tests/test_properties.py | 23 +++++++++++++++++++++++
21578 2 files changed, 25 insertions(+), 3 deletions(-)
21580 commit 618dbb0ee15b47e5e7cb16a34ffce0937d7fa26d
21581 Author: John (J5) Palmieri <johnp@redhat.com>
21582 Date: Fri Mar 4 12:25:49 2011 -0500
21584 handle uchar as bytes, not strings in python 3
21586 * This worked in Python2 because bytes and strings are equivilant
21588 PYGLIB_PyString_FromStringAndSize evaluated to a PyString
21589 * In Python 3 PYGLIB_PyString_FromStringAndSize evaluates to
21591 * PYGLIB_PyBytes_FromStringAndSize evaluates to a PyString in Python 2
21592 and a PyBytes object in Python 3
21594 gobject/pygtype.c | 2 +-
21595 1 file changed, 1 insertion(+), 1 deletion(-)
21597 commit 7e9483ff75b7a63ddda0fa9a9847f9f22ad71240
21598 Author: John (J5) Palmieri <johnp@redhat.com>
21599 Date: Fri Mar 4 12:24:35 2011 -0500
21601 [gi-overrides] handle unichar gvalues when setting treemodels
21603 gi/overrides/Gtk.py | 10 ++++++++++
21604 1 file changed, 10 insertions(+)
21606 commit 6367bffa006e94dc667d7008fccad8d47d8d3646
21607 Author: John (J5) Palmieri <johnp@redhat.com>
21608 Date: Fri Mar 4 11:43:51 2011 -0500
21610 [gi-overrides] special case python 2 keywords that crept in
21612 gi/overrides/Gtk.py | 6 +++++-
21613 tests/test_overrides.py | 8 ++++----
21614 2 files changed, 9 insertions(+), 5 deletions(-)
21616 commit 83b0f8a37d5f3236780d87a1ca466c5e44ae2bc0
21617 Author: John (J5) Palmieri <johnp@redhat.com>
21618 Date: Fri Mar 4 11:10:16 2011 -0500
21620 check for the py3 _thread module in configure.ac if thread is
21623 configure.ac | 6 +++++-
21624 1 file changed, 5 insertions(+), 1 deletion(-)
21626 commit 4645af87d3c587f535404867dab56608719e5c7b
21627 Author: John (J5) Palmieri <johnp@redhat.com>
21628 Date: Fri Mar 4 00:39:23 2011 -0500
21630 [gi-demos] add iconview demo
21632 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 212
21633 +++++++++++++++++++++++
21634 1 file changed, 212 insertions(+)
21636 commit 761dcb516a04f7a89b3c7d68e88fff23055e2a80
21637 Author: John (J5) Palmieri <johnp@redhat.com>
21638 Date: Thu Mar 3 18:39:16 2011 -0500
21640 [gi] wrap the keyword argument in a dict so we don't break Python 2.5
21642 * python < 2.6 does not allow sending in keyword litterals after
21644 *args. You can only send in **kwds.
21647 1 file changed, 1 insertion(+), 1 deletion(-)
21649 commit f9604e90af12a1b9dbe7d7f311308e87cd0ed7dd
21650 Author: John (J5) Palmieri <johnp@redhat.com>
21651 Date: Thu Mar 3 18:30:40 2011 -0500
21653 [gi-demos] add the combobox with string ids section to the demos
21655 demos/gtk-demo/demos/combobox.py | 49
21656 +++++++++++++++++++++++++++++++++++++++-
21657 1 file changed, 48 insertions(+), 1 deletion(-)
21659 commit b70f4daf071cf77a4561b57f5521eb928f66d1ce
21660 Author: John (J5) Palmieri <johnp@redhat.com>
21661 Date: Thu Mar 3 16:47:51 2011 -0500
21663 [gi-overrides] add an override for Gdk.RGBA
21665 gi/overrides/Gdk.py | 18 ++++++++++++++++++
21666 tests/test_overrides.py | 10 ++++++++++
21667 2 files changed, 28 insertions(+)
21669 commit ee2b63f60f350332ed21927721ed9ddff3a8034e
21670 Author: John (J5) Palmieri <johnp@redhat.com>
21671 Date: Thu Mar 3 16:10:17 2011 -0500
21673 [gi-demos] fix up search-entry to reflect annotations fixed in Gtk+
21676 demos/gtk-demo/demos/Entry/search_entry.py | 23 +++++++++--------------
21677 1 file changed, 9 insertions(+), 14 deletions(-)
21679 commit cd046e4c355706ead5f512b810a2a48317f8c32e
21680 Author: John (J5) Palmieri <johnp@redhat.com>
21681 Date: Wed Mar 2 18:13:43 2011 -0500
21683 [gi-demos] add search entry demo
21685 demos/gtk-demo/demos/Entry/search_entry.py | 257
21686 +++++++++++++++++++++++++++++
21687 1 file changed, 257 insertions(+)
21689 commit d5ddaa92e6349c2f52b67317326060973cb69661
21690 Author: John (J5) Palmieri <johnp@redhat.com>
21691 Date: Wed Mar 2 15:37:27 2011 -0500
21693 [gi] wrap map in a list for Python 3 compat
21696 1 file changed, 1 insertion(+), 1 deletion(-)
21698 commit 3e5ab72a2e1fa2d8c4c2864137c6251f264ff4af
21699 Author: John (J5) Palmieri <johnp@redhat.com>
21700 Date: Tue Mar 1 14:52:00 2011 -0500
21702 [gi-demos] fix up the validation combobox
21704 demos/gtk-demo/demos/combobox.py | 21 +++++++++++++++------
21705 1 file changed, 15 insertions(+), 6 deletions(-)
21707 commit 08af5f99f0838b3584f6a3b210d0a0304811e8ff
21708 Author: John (J5) Palmieri <johnp@redhat.com>
21709 Date: Tue Mar 1 12:31:35 2011 -0500
21711 add overridesdir variable in the .pc file for 3rd party overrides
21713 pygobject-2.0.pc.in | 1 +
21714 1 file changed, 1 insertion(+)
21716 commit 4a6b14a92a687a2311516b2c16c355216b5270a7
21717 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21718 Date: Fri Feb 11 17:14:11 2011 +0100
21720 setup.py: Set bdist_wininst user-access-control property
21723 1 file changed, 2 insertions(+), 1 deletion(-)
21725 commit ad3ab659b83cb985730e19a83651da319d4bcb9c
21726 Author: Martin Pitt <martin.pitt@ubuntu.com>
21727 Date: Wed Mar 2 16:29:00 2011 +0100
21729 Fix uninitialized variable in gi.require_version()
21731 gi/__init__.py | 3 ++-
21732 1 file changed, 2 insertions(+), 1 deletion(-)
21734 commit 6e7606ee8830f6f51b777f41f6df2f6ea1784e89
21735 Author: Martin Pitt <martin.pitt@ubuntu.com>
21736 Date: Tue Mar 1 23:26:07 2011 +0100
21738 Run tests with LC_MESSAGES="C"
21740 Some tests, such as tests/test_gdbus.py check parts of error messages
21742 visible strings. Ensure that these do not get translated in the
21745 tests/runtests.py | 2 ++
21746 1 file changed, 2 insertions(+)
21748 commit 0461e05174637ae02f34029b85ba217d5ae48c53
21749 Author: John (J5) Palmieri <johnp@redhat.com>
21750 Date: Mon Feb 28 18:21:43 2011 -0500
21752 [gi-overrides] override Gtk.stock_lookup to not return success
21754 demos/gtk-demo/demos/combobox.py | 2 +-
21755 gi/overrides/Gtk.py | 9 +++++++++
21756 2 files changed, 10 insertions(+), 1 deletion(-)
21758 commit 40decf3501823004a6e4d3acbbf204c4d4d0a7ec
21759 Author: John (J5) Palmieri <johnp@redhat.com>
21760 Date: Mon Feb 28 14:16:00 2011 -0500
21762 update NEWS to reflect changes in the 2.27.91 release (PYGOBJECT_2_28
21765 NEWS | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
21766 1 file changed, 50 insertions(+)
21768 commit c2d5122b8e3cf51ec52418f90f1788895b842b6a
21769 Author: John (J5) Palmieri <johnp@redhat.com>
21770 Date: Mon Feb 28 14:08:05 2011 -0500
21772 [gi-tests] use Gdk.test_simulate_button instead of emitting event
21775 * this function is available specifically so we can test events so
21777 instead of creating our own button press event
21779 tests/test_overrides.py | 9 +++++----
21780 1 file changed, 5 insertions(+), 4 deletions(-)
21782 commit 1be1a2ea2787dffeb71ab4a38233fb71e761bd21
21783 Author: Laszlo Pandy <lpandy@src.gnome.org>
21784 Date: Thu Feb 24 19:30:32 2011 +0100
21786 [gi-tests] tests for EventButton override.
21788 * John (J5) Palmieri - fixed up original patch so that we actually
21789 emit the event instead of just creating a Gdk.ButtonEvent object
21791 https://bugzilla.gnome.org/show_bug.cgi?id=642554
21793 tests/test_overrides.py | 21 +++++++++++++++++++++
21794 1 file changed, 21 insertions(+)
21796 commit 99044a4860dd65c97f52b41b7cd3f216f4a97cd4
21797 Author: John (J5) Palmieri <johnp@redhat.com>
21798 Date: Wed Feb 23 18:43:27 2011 -0500
21800 [gi-overrides] Add event methods to all event union members
21802 https://bugzilla.gnome.org/show_bug.cgi?id=642554
21804 gi/overrides/Gdk.py | 70
21805 +++++++++++++++++++++++++++++++++++++++++++++++++++++
21806 1 file changed, 70 insertions(+)
21808 commit 6e30c69d38fd382414eb820097c297a80be547ac
21809 Author: John (J5) Palmieri <johnp@redhat.com>
21810 Date: Wed Feb 23 14:14:16 2011 -0500
21812 [gi] check to see if object is a member of a union when validating
21815 * union members are not subclasses of the union they belong to so
21817 inteface requires you pass a union but you pass one of its members
21818 there will be a type error
21819 * this patch checks to see if the type you are passing is a member
21821 union and passes the checks if it is
21822 * this works in python 3 but in python 2 methods do their own
21824 check on the instance parameter (e.g. self) so we need to figure
21825 out how to override that for union methods
21826 (e.g. Gdk.Event.get_state)
21828 https://bugzilla.gnome.org/show_bug.cgi?id=642554
21830 gi/pygi-argument.c | 38 ++++++++++++++++++++++++++++++++++++++
21831 1 file changed, 38 insertions(+)
21833 commit 525f21d1365c24488b768955362085bf82512dee
21834 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21835 Date: Wed Feb 16 09:44:12 2011 +0100
21837 Skip interfaces when checking for conflicts in the MRO
21839 https://bugzilla.gnome.org/show_bug.cgi?id=642437
21841 gi/types.py | 40 ++++++++++++++++++++++++++++++++++++++++
21842 gobject/gobjectmodule.c | 9 +++++++--
21843 tests/test_gi.py | 16 ++++++++++++++++
21844 3 files changed, 63 insertions(+), 2 deletions(-)
21846 commit da212024772a7a0c32f04f3589bfb24d2eb5706f
21847 Author: Laszlo Pandy <lpandy@src.gnome.org>
21848 Date: Thu Feb 24 18:46:15 2011 +0100
21850 [gi] Remove DyanmicModule.load() to _load() to prevent overriding
21853 gi/importer.py | 2 +-
21854 gi/module.py | 2 +-
21855 2 files changed, 2 insertions(+), 2 deletions(-)
21857 commit 2ce6b58c7427cf67ba4f55731ba0a4c04703e495
21858 Author: Laszlo Pandy <lpandy@src.gnome.org>
21859 Date: Wed Feb 23 12:05:03 2011 +0100
21861 Test case with John's fix for crash with C arrays and a GError is set.
21863 I have added a test case, and made a few fixes to John's patch,
21865 solution is the same his.
21867 Workaround a bug when freeing C array types
21869 * This is a hack and there is really no way around it without
21871 the current array handling code which spans between pygi-invoke.c
21873 pygi-argument.c and completely rewriting it.
21874 * The is no time before our stable release
21875 * This patch trades a segfault for a leak in the very unusual
21877 an error occures inside an interface that takes one or more C
21879 we wrap C arrays in GArrays internally but have to unwrap them
21881 to the introspected C function, there is a period of time where
21883 can occure with the C array in an unknown state (some being true
21885 and others still wrapped in a GArray)
21886 * This patch adds a c_arrays_are_wrapped state to signal that it
21888 free them. However since c_arrays_are_wrapped can only track
21890 as a group, not individually, if it is set to FALSE we can
21892 that every array is a pure C array, so instead we will simply
21894 to avoid incorrectly freeing one and causing a segfault.
21895 * This issue is fixed in the invoke rewrite branch as it treats
21897 GArrays separately, however that branch is not yet ready to be
21899 won't be until the next release.
21901 https://bugzilla.gnome.org/show_bug.cgi?id=642708
21903 gi/pygi-invoke.c | 54
21904 ++++++++++++++++++++++++++++++++++++++++++++++++++----
21905 tests/test_gi.py | 9 +++++++++
21906 2 files changed, 59 insertions(+), 4 deletions(-)
21908 commit 702a89beca92cab6b0142829b20281b9245f28b8
21909 Author: John (J5) Palmieri <johnp@redhat.com>
21910 Date: Wed Feb 23 15:11:59 2011 -0500
21912 [gi-overrides] fix setting rows in treeview to accept None as a value
21914 * as done in PyGTK None indicates the column should not be set
21916 gi/overrides/Gtk.py | 3 +++
21917 tests/test_overrides.py | 18 +++++++++++++-----
21918 2 files changed, 16 insertions(+), 5 deletions(-)
21920 commit 498f0d9c903131aca5efe27ffaad7620e40f72ea
21921 Author: Laszlo Pandy <lpandy@src.gnome.org>
21922 Date: Wed Feb 23 14:23:19 2011 +0100
21924 [gi] Add value_name for enum and flags from introspection
21925 "c:identifier" (if attr is available).
21927 gi/gimodule.c | 22 ++++++++++++++++++----
21928 tests/test_gi.py | 36 ++++++++++++++++++++++++++++++++++++
21929 2 files changed, 54 insertions(+), 4 deletions(-)
21931 commit 824aeb7fab17d6590e5babf2d1f64298f2d0e16b
21932 Author: Laszlo Pandy <lpandy@src.gnome.org>
21933 Date: Wed Feb 23 11:40:55 2011 +0100
21935 Fix flags with multiple names for the same value.
21937 Flags constructs a dict __flags_values__ and uses it to cache
21938 instances. However some flags in Glib such as G_IO_FLAG_MASK and
21939 G_IO_FLAG_GET_MASK are aliases for the same int value, and will
21940 override each other's place in the dictionary.
21942 The dict length check is not necessary. It only reduces the number
21943 of duplicate instances we keep, because if an instance is not
21944 found in the dict, a new one is created anyway.
21946 gobject/pygflags.c | 2 +-
21947 1 file changed, 1 insertion(+), 1 deletion(-)
21949 commit 3afbebeee486e14fd3f48552368903eb78f6b10c
21950 Author: Laszlo Pandy <lpandy@src.gnome.org>
21951 Date: Tue Feb 22 21:37:33 2011 +0100
21953 Don't force loading of DynamicModule until set in sys.modules
21955 This fixes Tomeu's previous commit, which removed lazy loading.
21956 Forcing the loading of a module before it is installed in sys.modules
21957 prevents some overrides from being registered (namely Gtk.main_quit).
21959 https://bugzilla.gnome.org/show_bug.cgi?id=642305
21961 gi/importer.py | 2 +-
21962 1 file changed, 1 insertion(+), 1 deletion(-)
21964 commit 2a9cbfb435b47dc646e2c6ffe630464b560229a6
21965 Author: John (J5) Palmieri <johnp@redhat.com>
21966 Date: Mon Feb 21 17:20:57 2011 -0500
21968 use GValue support to marshal GtkTreeModel values correctly
21970 * needs patch from https://bugzilla.gnome.org/show_bug.cgi?id=642914
21972 https://bugzilla.gnome.org/show_bug.cgi?id=642921
21974 gi/overrides/Gtk.py | 37 ++++++++++++++++++---
21975 tests/test_overrides.py | 87
21976 +++++++++++++++++++++++++++++++++++++++++--------
21977 2 files changed, 107 insertions(+), 17 deletions(-)
21979 commit 9e4ce7dc0f03ea407654c4af028122f57cbc4c5e
21980 Author: John (J5) Palmieri <johnp@redhat.com>
21981 Date: Mon Feb 21 16:14:20 2011 -0500
21983 [gi] pass raw GValues instead of trying to marshal them
21985 * Right now GValues are transparent to the user but this leave us no
21986 way to describe fundimental types other than those supported
21988 by python (e.g. int, str, etc)
21989 * If an interface is expecting a uint or other GValue type a user
21991 the raw GValue interfaces and expect paramaters that take
21993 marshal them correctly e.g.:
21994 value = GObject.Value()
21995 value.int(GObject.TYPE_UINT)
21996 value.set_uint(1234)
21997 * The objective here is to not for users to use this API but for
21999 to be able to utilize them. For instance in the TreeModel API
22001 get the expected type for a column and them create a GValue with
22003 type so that he underlying python object is marshalled correctly.
22005 https://bugzilla.gnome.org/show_bug.cgi?id=642914
22007 gi/pygi-argument.c | 24 ++++++++++++++++++------
22008 tests/test_gi.py | 9 ++++++++-
22009 2 files changed, 26 insertions(+), 7 deletions(-)
22011 commit b458f6f3424a04f6ceece09d443009372d70544c
22012 Author: John (J5) Palmieri <johnp@redhat.com>
22013 Date: Sat Feb 19 19:42:41 2011 -0500
22015 [gi-demos] add icon view edit and drag-and-drop demo
22017 demos/gtk-demo/demos/Icon View/__init__.py | 0
22018 demos/gtk-demo/demos/Icon View/iconviewedit.py | 101
22019 +++++++++++++++++++++++++
22020 2 files changed, 101 insertions(+)
22022 commit 7b47289e25d1dd57ce15556ccfbb3ede1c4bfe8b
22023 Author: John (J5) Palmieri <johnp@redhat.com>
22024 Date: Sat Feb 19 17:26:42 2011 -0500
22026 [gi-demos] add info bars demo
22028 demos/gtk-demo/demos/infobars.py | 99
22029 ++++++++++++++++++++++++++++++++++++++++
22030 1 file changed, 99 insertions(+)
22032 commit 76758efb6579752237a0dc4d56cf9518de6c6e55
22033 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22034 Date: Wed Feb 16 11:53:18 2011 +0100
22036 Load typelibs at import time, add gi.require_version()
22038 also adds Repository.get_loaded_namespaces()
22040 https://bugzilla.gnome.org/show_bug.cgi?id=642305
22042 gi/__init__.py | 29 ++++++++++++++++++++++++++++-
22043 gi/importer.py | 1 +
22044 gi/module.py | 21 ++++-----------------
22045 gi/pygi-repository.c | 23 +++++++++++++++++++++++
22046 4 files changed, 56 insertions(+), 18 deletions(-)
22048 commit 96f7d1aed732db09a74cd463ed894b7347dbcb15
22049 Author: Laszlo Pandy <lpandy@src.gnome.org>
22050 Date: Sat Feb 19 23:11:25 2011 +0100
22052 [gi] Register GType for non-GType enums and flags at runtime.
22054 Note: rebuild of gobject-introspection is required for new tests.
22056 Previously non-GType enums used a separate type implemented in
22057 Python, and non-GType flags had no implementation at all. This
22058 removes the separate type for enums, and registers a new GType at
22059 runtime if there isn't one.
22061 This allows non-GType enums and flags to use the same Python type
22062 as GType enums and flags. This removes duplication of code, and
22063 make both kinds behave identically.
22065 https://bugzilla.gnome.org/show_bug.cgi?id=642607
22067 gi/gimodule.c | 117
22068 +++++++++++++++++++++++++++++++++++++++++++++++++++++
22069 gi/module.py | 24 ++++++-----
22070 gi/pygi-info.c | 15 +++++++
22071 gi/types.py | 16 --------
22072 gobject/pygflags.c | 13 ++++--
22073 tests/test_gi.py | 35 ++++++++++++++++
22074 6 files changed, 191 insertions(+), 29 deletions(-)
22076 commit 63a60bcc20e724f96ea8d565ee0cf13a228b72b9
22077 Author: Martin Pitt <martin.pitt@ubuntu.com>
22078 Date: Tue Feb 8 15:38:21 2011 +0100
22080 [gi] Add Pythonic gdbus method invocation
22082 Provide a wrapper for Gio.DBusProxy for calling D-Bus methods like
22084 Python object. This will handle the Python object <-> GVariant
22086 optional keyword arguments for flags, timeout, and a result handler
22088 asynchronous calls.
22090 Require specifying the input argument signature as the first argument
22092 method call. This ensures that the types of e. g. integers are
22094 and avoids having to do expensive D-Bus introspection for each call.
22096 https://bugzilla.gnome.org/show_bug.cgi?id=640181
22098 gi/overrides/Gio.py | 99
22099 ++++++++++++++++++++++++++++++++++++++++++++++++++
22100 tests/test_gdbus.py | 102
22101 ++++++++++++++++++++++++++++++++++++++++++++++++++--
22102 2 files changed, 199 insertions(+), 2 deletions(-)
22104 commit ed5cdbb6f52bdbd13521a814516b15687955d6f7
22105 Author: Laszlo Pandy <lpandy@src.gnome.org>
22106 Date: Fri Feb 18 22:48:59 2011 +0100
22108 Skip GError out parameters in Python closure.
22110 Python code should have never have to explicitely return a GError.
22111 Once we are able to marshal exceptions the Python code should
22112 throw an exception instead. Until then, set GError to NULL, and
22113 don't complain if a Python function doesn't return an arg for it.
22115 https://bugzilla.gnome.org/show_bug.cgi?id=642715
22117 gi/pygi-closure.c | 8 ++++++++
22118 1 file changed, 8 insertions(+)
22120 commit 5a5ee3877e22939a697772a7f0630ef8cae3d52f
22121 Author: Laszlo Pandy <lpandy@src.gnome.org>
22122 Date: Fri Feb 18 10:15:59 2011 +0100
22124 Fix runtests.py to work with Python3 (print function syntax error).
22126 tests/runtests.py | 2 +-
22127 1 file changed, 1 insertion(+), 1 deletion(-)
22129 commit ad5d3fccff9433e2dadac89d731dac5cafb0eac3
22130 Author: John (J5) Palmieri <johnp@redhat.com>
22131 Date: Thu Feb 17 19:46:49 2011 -0500
22133 [gi-demos] added rotate text demo
22135 * needs some Pango Attr fixes to be 100% done, See FIXME
22137 demos/gtk-demo/demos/rotatedtext.py | 196
22138 ++++++++++++++++++++++++++++++++++++
22139 1 file changed, 196 insertions(+)
22141 commit 9ac11c3c3b1c0399c85ece57c0983ed60d419d7a
22142 Author: John (J5) Palmieri <johnp@redhat.com>
22143 Date: Thu Feb 17 17:25:00 2011 -0500
22145 [gi-demos] add images demo
22147 * needs annotation fix from GdkPixbuf for ImageLoader to work
22149 demos/gtk-demo/demos/images.py | 311
22150 +++++++++++++++++++++++++++++++++++++++++
22151 1 file changed, 311 insertions(+)
22153 commit 13b06170b89b3468e6255be32af4833ffc675c9d
22154 Author: John (J5) Palmieri <johnp@redhat.com>
22155 Date: Thu Feb 17 14:48:24 2011 -0500
22157 [gi-demos] add pixbuf demo
22159 demos/gtk-demo/demos/pixbuf.py | 183
22160 +++++++++++++++++++++++++++++++++++++++++
22161 1 file changed, 183 insertions(+)
22163 commit 7abcfd5b4db99bb0f50c5a47d346a2de3836f994
22164 Author: John (J5) Palmieri <johnp@redhat.com>
22165 Date: Thu Feb 17 14:47:12 2011 -0500
22167 [gi-demos] remove fixmes from print demo, fixed in pango
22169 demos/gtk-demo/demos/printing.py | 10 +++-------
22170 1 file changed, 3 insertions(+), 7 deletions(-)
22172 commit 9b13f49356da7d71c69b82da2a59d92f456a6913
22173 Author: John (J5) Palmieri <johnp@redhat.com>
22174 Date: Wed Feb 16 19:39:30 2011 -0500
22176 [gi-demos] add printing demo
22178 * needs some annotations for pango before it is 100% useful
22180 demos/gtk-demo/demos/printing.py | 177
22181 +++++++++++++++++++++++++++++++++++++++
22182 1 file changed, 177 insertions(+)
22184 commit 6025b62ee662af347e48b6752e6d5be74b4a8215
22185 Author: John (J5) Palmieri <johnp@redhat.com>
22186 Date: Wed Feb 16 17:52:38 2011 -0500
22188 [gi-overrides] add cursor overrides
22190 https://bugzilla.gnome.org/show_bug.cgi?id=635947
22192 gi/overrides/Gdk.py | 41 +++++++++++++++++++++++++++++++++++++++++
22193 tests/test_overrides.py | 23 +++++++++++++++++++++++
22194 2 files changed, 64 insertions(+)
22196 commit 03c0aa498470037ef2aa6a8233198ff521f8d42f
22197 Author: John (J5) Palmieri <johnp@redhat.com>
22198 Date: Wed Feb 16 16:18:24 2011 -0500
22200 [gi-demos] add the links demo
22202 demos/gtk-demo/demos/links.py | 74
22203 +++++++++++++++++++++++++++++++++++++++++++
22204 1 file changed, 74 insertions(+)
22206 commit 79ecddf8d54b3f4f8b5ef05d302675152622c832
22207 Author: John (J5) Palmieri <johnp@redhat.com>
22208 Date: Wed Feb 16 15:48:40 2011 -0500
22210 [gi-demos] add expander demo
22212 demos/gtk-demo/demos/expander.py | 60
22213 ++++++++++++++++++++++++++++++++++++++++
22214 1 file changed, 60 insertions(+)
22216 commit 76cdb13ab872f91f8384d26b0f2932087a746117
22217 Author: John (J5) Palmieri <johnp@redhat.com>
22218 Date: Wed Feb 16 15:14:35 2011 -0500
22220 [gi-overrides] use pop instead of del and add extra tests for
22223 gi/overrides/Gtk.py | 6 ++----
22224 tests/test_overrides.py | 8 ++++++++
22225 2 files changed, 10 insertions(+), 4 deletions(-)
22227 commit 6ef83c049735689c42f085ca9d7b8e1f251c410f
22228 Author: Laszlo Pandy <lpandy@src.gnome.org>
22229 Date: Tue Feb 15 20:07:42 2011 +0100
22231 [tests] Separate processes for GI and static binding tests.
22233 Importing and using both static gobject bindings and
22234 introspection GObject bindings in the same process can cause
22235 conflicts with types which otherwise wouldn't be there.
22237 This patch changes "make check" to call runtests.py twice -- once
22238 for each set of tests.
22240 In the case of a test failure, runtests.py now sets the exit code
22241 so that make does not continue. Otherwise you might miss the
22242 failures from the first batch of tests in the scrollback.
22244 tests/Makefile.am | 19 +++++++++++--------
22245 tests/runtests.py | 4 +++-
22246 2 files changed, 14 insertions(+), 9 deletions(-)
22248 commit e0896b45f60f37097ec521f1bc38778383b78dd8
22249 Author: John (J5) Palmieri <johnp@redhat.com>
22250 Date: Tue Feb 15 14:47:10 2011 -0500
22252 [gi-demos] add dialogs demo
22254 demos/gtk-demo/demos/dialogs.py | 153
22255 ++++++++++++++++++++++++++++++++++++++++
22256 1 file changed, 153 insertions(+)
22258 commit 2dea743e82f6b18697950c34f116b2d0f1d6b1dd
22259 Author: John (J5) Palmieri <johnp@redhat.com>
22260 Date: Tue Feb 15 14:46:41 2011 -0500
22262 [gi-overrides] fix typo in GtkTable constructor
22264 gi/overrides/Gtk.py | 8 ++++----
22265 1 file changed, 4 insertions(+), 4 deletions(-)
22267 commit 9c277e1782c5a9d672d91fabf5289c5415891682
22268 Author: John (J5) Palmieri <johnp@redhat.com>
22269 Date: Tue Feb 15 13:26:38 2011 -0500
22271 [gi-demos] keep popup menu from destroying itself by holding a ref
22274 demos/gtk-demo/demos/clipboard.py | 8 ++++----
22275 1 file changed, 4 insertions(+), 4 deletions(-)
22277 commit 18800c4db0e1faea38fd84f635d26a7ded5d10de
22278 Author: John (J5) Palmieri <johnp@redhat.com>
22279 Date: Tue Feb 15 13:25:13 2011 -0500
22281 [gi-overrides] add a Gtk.Menu override for the popup method
22283 gi/overrides/Gtk.py | 7 +++++++
22284 1 file changed, 7 insertions(+)
22286 commit ad93386ba9f73ef4c3826544b3868cf03c01225e
22287 Author: John (J5) Palmieri <johnp@redhat.com>
22288 Date: Tue Feb 15 13:24:33 2011 -0500
22290 [gi-demos] fix the about dialog in appwindow demo
22292 demos/gtk-demo/demos/appwindow.py | 22 +++++++++-------------
22293 1 file changed, 9 insertions(+), 13 deletions(-)
22295 commit d0c45c80974f05b6adfd3bb01d785be268a53a98
22296 Author: John (J5) Palmieri <johnp@redhat.com>
22297 Date: Tue Feb 15 11:21:13 2011 -0500
22299 [gi-demos] fix clipboard demo so DnD works
22301 * menu popups don't work because the API takes a callback without
22305 demos/gtk-demo/demos/clipboard.py | 20 ++++++++++----------
22306 1 file changed, 10 insertions(+), 10 deletions(-)
22308 commit 02d0327508234ab2e3b7dc6de506d70e6fcaaa17
22309 Author: John (J5) Palmieri <johnp@redhat.com>
22310 Date: Tue Feb 15 10:18:53 2011 -0500
22312 [gi-demos] fix clipboard demo to reflect new API
22314 demos/gtk-demo/demos/clipboard.py | 6 +++---
22315 1 file changed, 3 insertions(+), 3 deletions(-)
22317 commit aa006cad6990eff0cbb68fa9550e428f2bc96473
22318 Author: John (J5) Palmieri <johnp@redhat.com>
22319 Date: Mon Feb 14 18:17:20 2011 -0500
22321 [gi-demo] Fix color dialog demo to run with new draw, style and
22324 demos/gtk-demo/demos/colorselector.py | 44
22325 ++++++++++++++---------------------
22326 1 file changed, 17 insertions(+), 27 deletions(-)
22328 commit f94a96c53e9432ac085bd05acee7ebdd2803fbad
22329 Author: John (J5) Palmieri <johnp@redhat.com>
22330 Date: Mon Feb 14 17:58:25 2011 -0500
22332 [gi-demos] fix most of the combobox app
22334 * Still having some issues with filtering the ComboBoxText widget
22336 demos/gtk-demo/demos/combobox.py | 17 ++++++++---------
22337 1 file changed, 8 insertions(+), 9 deletions(-)
22339 commit 3606eb20ad1651af621bf1aa429ec102082565eb
22340 Author: Laszlo Pandy <lpandy@src.gnome.org>
22341 Date: Mon Feb 14 19:36:27 2011 +0100
22343 Use PyGI type conversion (to fix foreign types) for signal callbacks.
22345 First attempt at patch to fix foreign types in signal callbacks.
22346 Tests are not implemented yet.
22348 https://bugzilla.gnome.org/show_bug.cgi?id=637601
22350 gi/Makefile.am | 2 +
22351 gi/gimodule.c | 1 +
22352 gi/pygi-argument.c | 91 ++++++++++++++++++
22353 gi/pygi-argument.h | 2 +
22354 gi/pygi-private.h | 1 +
22355 gi/pygi-signal-closure.c | 245
22356 +++++++++++++++++++++++++++++++++++++++++++++++
22357 gi/pygi-signal-closure.h | 46 +++++++++
22358 gi/pygi.h | 28 ++++++
22359 gobject/pygobject.c | 24 ++++-
22360 9 files changed, 436 insertions(+), 4 deletions(-)
22362 commit 2e39d5e8f96be2253acb2f34a0d0b5b9c9adb8ff
22363 Author: John (J5) Palmieri <johnp@redhat.com>
22364 Date: Mon Feb 14 16:47:03 2011 -0500
22366 [gi-demos] fix drawingarea app to use the new draw api
22368 demos/gtk-demo/demos/drawingarea.py | 144
22369 +++++++++++++-----------------------
22370 1 file changed, 50 insertions(+), 94 deletions(-)
22372 commit 8385afbbc5df295d9b7cd3b5d19c90faa1f7ea8e
22373 Author: John (J5) Palmieri <johnp@redhat.com>
22374 Date: Mon Feb 14 16:43:35 2011 -0500
22376 [gi-overrides] for Gtk 3 alias Gdk.Rectangle to cairo.RectangleInt
22378 * note this is the introspected gobject-cairo boxed type not the
22381 * we alias this so people do not get confused
22383 gi/overrides/Gdk.py | 5 +++++
22384 1 file changed, 5 insertions(+)
22386 commit d491c369e049ab726f09002af0462391d5c2f3ec
22387 Author: John (J5) Palmieri <johnp@redhat.com>
22388 Date: Mon Feb 14 15:07:11 2011 -0500
22390 [gi-overrides] let user set the proper property names in Gtk.Table
22392 * the old override added a columns and rows parameters to the Table
22394 to be in sync with PyGtk.
22395 * The GTK properties are n_columns and n_rows
22398 gi/overrides/Gtk.py | 8 ++++++++
22399 1 file changed, 8 insertions(+)
22401 commit 95bc2b2b025d659725d701c3b759c0c4d9681a36
22402 Author: John (J5) Palmieri <johnp@redhat.com>
22403 Date: Mon Feb 14 15:06:38 2011 -0500
22405 [gi-demos] get appwindow demo working again
22407 demos/gtk-demo/demos/appwindow.py | 24 ++++--------------------
22408 1 file changed, 4 insertions(+), 20 deletions(-)
22410 commit 015185f502c498c21cb108d3bb288c5b6dbf202f
22411 Author: John (J5) Palmieri <johnp@redhat.com>
22412 Date: Mon Feb 14 15:05:44 2011 -0500
22414 [gi-demos] fixed use of tree_iter_get
22416 demos/gtk-demo/gtk-demo.py | 2 +-
22417 1 file changed, 1 insertion(+), 1 deletion(-)
22419 commit 0c20977e4598e5447dd07c069e91226efacb1160
22420 Author: Simon van der Linden <svdlinden@gnome.org>
22421 Date: Fri Feb 11 22:02:03 2011 +0100
22423 Remove last GIO-related bits
22425 https://bugzilla.gnome.org/show_bug.cgi?id=638899
22429 configure.ac | 3 --
22430 examples/gio/directory-async.py | 33 ------------------
22431 examples/gio/downloader.py | 77
22432 -----------------------------------------
22433 pygobject.doap | 2 +-
22434 6 files changed, 3 insertions(+), 117 deletions(-)
22436 commit e4ebbd7de5570af1abf41bdf9469d4ce3edd48cb
22437 Author: Simon van der Linden <svdlinden@gnome.org>
22438 Date: Fri Feb 11 18:38:27 2011 +0100
22440 Remove GIO documentation
22442 https://bugzilla.gnome.org/show_bug.cgi?id=638899
22444 docs/Makefile.am | 82 +-
22445 docs/reference/pygio-appinfo.xml | 894 -----
22446 docs/reference/pygio-applaunchcontext.xml | 194 --
22447 docs/reference/pygio-asyncresult.xml | 117 -
22448 docs/reference/pygio-bufferedinputstream.xml | 461 ---
22449 docs/reference/pygio-bufferedoutputstream.xml | 275 --
22450 docs/reference/pygio-cancellable.xml | 290 --
22451 docs/reference/pygio-classes.xml | 47 -
22452 docs/reference/pygio-constants.xml | 1540 ---------
22453 docs/reference/pygio-datainputstream.xml | 799 -----
22454 docs/reference/pygio-dataoutputstream.xml | 504 ---
22455 docs/reference/pygio-drive.xml | 546 ---
22456 docs/reference/pygio-emblem.xml | 232 --
22457 docs/reference/pygio-emblemedicon.xml | 160 -
22458 docs/reference/pygio-file.xml | 4534
22459 -------------------------
22460 docs/reference/pygio-fileattributeinfo.xml | 73 -
22461 docs/reference/pygio-fileenumerator.xml | 488 ---
22462 docs/reference/pygio-fileicon.xml | 109 -
22463 docs/reference/pygio-fileinfo.xml | 346 --
22464 docs/reference/pygio-fileinputstream.xml | 214 --
22465 docs/reference/pygio-filemonitor.xml | 128 -
22466 docs/reference/pygio-fileoutputstream.xml | 257 --
22467 docs/reference/pygio-filterinputstream.xml | 152 -
22468 docs/reference/pygio-filteroutputstream.xml | 152 -
22469 docs/reference/pygio-functions.xml | 395 ---
22470 docs/reference/pygio-icon.xml | 217 --
22471 docs/reference/pygio-inputstream.xml | 730 ----
22472 docs/reference/pygio-loadableicon.xml | 198 --
22473 docs/reference/pygio-memoryinputstream.xml | 151 -
22474 docs/reference/pygio-memoryoutputstream.xml | 175 -
22475 docs/reference/pygio-mount.xml | 962 ------
22476 docs/reference/pygio-mountoperation.xml | 726 ----
22477 docs/reference/pygio-outputstream.xml | 140 -
22478 docs/reference/pygio-seekable.xml | 231 --
22479 docs/reference/pygio-simpleasyncresult.xml | 317 --
22480 docs/reference/pygio-themedicon.xml | 204 --
22481 docs/reference/pygio-unixinputstream.xml | 202 --
22482 docs/reference/pygio-unixoutputstream.xml | 202 --
22483 docs/reference/pygio-volume.xml | 718 ----
22484 docs/reference/pygio-volumemonitor.xml | 844 -----
22485 docs/reference/pygiounix-classes.xml | 13 -
22486 docs/reference/pygobject-ref.xml | 2 -
22487 42 files changed, 1 insertion(+), 19020 deletions(-)
22489 commit abdebc7f6515f9658812c0355d8ad0892e5371e4
22490 Author: John (J5) Palmieri <johnp@redhat.com>
22491 Date: Fri Feb 11 11:05:04 2011 -0500
22493 bump version to reflect the master branch moving towards pygobject 3.0
22495 * added NEWS file from branch pygobject-2-28
22497 * this branch will drop support for the static binding
22498 * use the pygobject-2-28 branch for static binding fixes
22501 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
22502 configure.ac | 4 +-
22503 2 files changed, 291 insertions(+), 2 deletions(-)
22505 commit 16140237aa45b4f188923da9f95b9d2af971011b
22506 Author: John (J5) Palmieri <johnp@redhat.com>
22507 Date: Thu Feb 10 16:46:08 2011 -0500
22509 fix build to correctly use python-config
22512 configure.ac | 6 ------
22513 m4/python.m4 | 9 +++++----
22514 tests/runtests.py | 1 +
22515 4 files changed, 9 insertions(+), 10 deletions(-)
22517 commit c2079f415638ef892b1e51f25eaafa3e1621667f
22518 Author: Simon van der Linden <svdlinden@gnome.org>
22519 Date: Thu Feb 10 22:26:00 2011 +0100
22521 Add missing libraries to link against
22523 glib/Makefile.am | 2 +-
22524 gobject/Makefile.am | 1 +
22525 2 files changed, 2 insertions(+), 1 deletion(-)
22527 commit 3cca62a9e7afd3d3d302c66f4fafe253f7743d4e
22528 Author: Steve Frécinaux <code@istique.net>
22529 Date: Wed Jan 19 15:00:56 2011 +0100
22531 Make runtests.py able to run command-line provided test files
22533 With this patch we are now able to run ./runtests.py <somefile>, which
22534 is more friendly than defining an environment variable to run some
22537 https://bugzilla.gnome.org/show_bug.cgi?id=639948
22539 tests/runtests.py | 9 +++++++++
22540 1 file changed, 9 insertions(+)
22542 commit 14c4cf8e6edae893538680964380d543bde4a14d
22543 Author: Martin Pitt <martin.pitt@ubuntu.com>
22544 Date: Wed Feb 9 11:34:59 2011 +0100
22546 Run test suite under dbus-launch
22548 When available, run the test suite in dbus-launch, so that the
22550 succeed even when building this in an environment without a running
22552 D-BUS (such as distribution package builds).
22554 tests/Makefile.am | 3 ++-
22555 1 file changed, 2 insertions(+), 1 deletion(-)
22557 commit 0858f550e2b6f75e3f583f963f5952f5ddae4e0e
22558 Author: Martin Pitt <martin.pitt@ubuntu.com>
22559 Date: Tue Feb 8 15:46:36 2011 +0100
22561 Fix test_gdbus.py to be Python3 friendly
22563 - TestCase.assert_() has been deprecated by assertTrue().
22564 - Exceptions don't have a message attribute any more, use str(e)
22566 tests/test_gdbus.py | 34 +++++++++++++++-------------------
22567 1 file changed, 15 insertions(+), 19 deletions(-)
22569 commit b7f32e4cca0cef201489b55653f96ac64a8f9ab9
22570 Author: Martin Pitt <martin.pitt@ubuntu.com>
22571 Date: Sat Jan 29 12:20:50 2011 +0100
22573 [gi] Provide comfortable GSettings API
22575 Make Gio.Settings behave like a dictionary, with transparent
22577 GVariants. Also provide a more comfortable constructor.
22579 https://bugzilla.gnome.org/show_bug.cgi?id=640838
22581 gi/overrides/Gio.py | 54 +++++++++++++++++++++++++++++
22582 tests/org.gnome.test.gschema.xml | 9 +++++
22583 tests/test_overrides.py | 73
22584 ++++++++++++++++++++++++++++++++--------
22585 3 files changed, 122 insertions(+), 14 deletions(-)
22587 commit 8dad0eaed60a9de26e9a729a48a1f6bc74be486e
22588 Author: Laszlo Pandy <lpandy@src.gnome.org>
22589 Date: Fri Feb 4 16:36:07 2011 +0100
22591 Fix vfunc search bug when using GInterfaces and a do_* method.
22593 If a class inherits from a GInterface, as well as implements a do_*
22594 method (which is not in a super class), all the base interfaces
22595 will be searched for an __info__ attribute. GInterface doesn't
22596 have one, causing an error on class creation.
22598 https://bugzilla.gnome.org/show_bug.cgi?id=641493
22600 gi/types.py | 4 +++-
22601 tests/test_gi.py | 8 ++++++++
22602 2 files changed, 11 insertions(+), 1 deletion(-)
22604 commit 2660be1f227be7a53092483bc9d8ead1bd1fb266
22605 Author: Laszlo Pandy <lpandy@src.gnome.org>
22606 Date: Thu Feb 3 15:31:42 2011 +0100
22608 [GI] Add tests for Gtk.Widget.drag_* methods.
22610 Previously all the drag_* methods were accessible as Gtk.drag_*.
22611 Now that the (method) attribute has been included for these
22612 methods in Gtk+, this test checks that they are included as class
22613 methods when using pygobject introspection.
22615 https://bugzilla.gnome.org/show_bug.cgi?id=639945
22617 tests/test_overrides.py | 40 ++++++++++++++++++++++++++++++++++++++++
22618 1 file changed, 40 insertions(+)
22620 commit d57500537014b3da624be33b40401ba289fa22b8
22621 Author: John (J5) Palmieri <johnp@redhat.com>
22622 Date: Thu Feb 3 09:02:16 2011 -0500
22624 [gi] make caller allocates work again
22626 gi/pygi-cache.c | 18 +++---------------
22627 gi/pygi-invoke.c | 37 ++++++++++++++++++++++++++++++++++---
22628 2 files changed, 37 insertions(+), 18 deletions(-)
22630 commit 99d6e6c8d806e6f9e48c3c2380024fb3511d110a
22631 Author: John (J5) Palmieri <johnp@redhat.com>
22632 Date: Wed Feb 2 19:27:40 2011 -0500
22634 [gi] fix container object reffing
22636 gi/pygi-argument.c | 7 +++----
22637 gi/pygi-cache.c | 12 ++++--------
22638 2 files changed, 7 insertions(+), 12 deletions(-)
22640 commit 09acaff29dfaabc77477cffca2c7137f68991e7f
22641 Author: Ignacio Casal Quinteiro <icq@gnome.org>
22642 Date: Wed Feb 2 21:00:48 2011 +0100
22644 [python 3] use the right syntaxis to raise exceptions
22646 codegen/argtypes.py | 8 ++++----
22647 codegen/definitions.py | 14 +++++++-------
22648 gi/overrides/Gtk.py | 2 +-
22649 3 files changed, 12 insertions(+), 12 deletions(-)
22651 commit 36094e5982d3e05d5662843b6d401f0974f5235f
22652 Author: Ignacio Casal Quinteiro <icq@gnome.org>
22653 Date: Wed Feb 2 20:50:12 2011 +0100
22655 [gi] return PYGLIB_MODULE_ERROR_RETURN on error and use pygobject_init
22657 tests/testhelpermodule.c | 6 +++---
22658 1 file changed, 3 insertions(+), 3 deletions(-)
22660 commit c913c1789296310c2cf27554ce719d7f6e9c94cd
22661 Author: Ignacio Casal Quinteiro <icq@gnome.org>
22662 Date: Wed Feb 2 20:37:21 2011 +0100
22664 [gi] return PYGLIB_MODULE_ERROR_RETURN on error
22666 This is to avoid some warnings when building with python 3
22668 gi/gimodule.c | 6 +++---
22669 1 file changed, 3 insertions(+), 3 deletions(-)
22671 commit 7bc4122897d9d05172a2bd5b56bded87e2afaec4
22672 Author: Steve Frécinaux <code@istique.net>
22673 Date: Sat Jan 29 00:16:50 2011 +0100
22675 Fix wrong refcount when calling introspected widget constructors
22677 Introspected widget constructors, like Gtk.Button.new(), can return
22678 objects with a floating reference, which was then reffed by pygobject,
22679 resulting in two references, despite the object is not owned by
22682 This patch uses ref_sink() when pygobject takes its own reference, to
22683 avoid adding that extra reference. Hence we now claim ownership on
22684 objects returned by constructors with transfer=none (which is the case
22685 for nearly all the widget constructors, despite the floating ref).
22687 https://bugzilla.gnome.org/show_bug.cgi?id=640868
22689 gobject/pygobject.c | 4 +++-
22690 tests/test_everything.py | 9 ++++++++-
22691 2 files changed, 11 insertions(+), 2 deletions(-)
22693 commit afeaaa126f7cd6556fb855ecd0facc174c0f946c
22694 Author: Simon Schampijer <simon@laptop.org>
22695 Date: Wed Jan 19 16:19:46 2011 +0100
22697 Gdk.Window: Map the standard constructor to the *new* constructor
22699 Gdk.Window had to be made abstract
22700 (see c4a36d875235e0bf1e52dbf2fa14d08bfc8bd4ec in gtk),
22701 this override allows using the standard constructor
22703 This commit adds as well a testcase.
22705 https://bugzilla.gnome.org/show_bug.cgi?id=639936
22707 gi/overrides/Gdk.py | 6 ++++++
22708 tests/test_overrides.py | 8 ++++++++
22709 2 files changed, 14 insertions(+)
22711 commit 4a67f45880433905de33632fe0c32a13b44c0b33
22712 Author: John (J5) Palmieri <johnp@redhat.com>
22713 Date: Mon Jan 31 16:51:37 2011 -0500
22715 [gi] handle hash being NULL
22717 gi/pygi-argument.c | 6 ++++++
22718 1 file changed, 6 insertions(+)
22720 commit 2fbfe410f4b4394a2018ada0e538585c1bec23ae
22721 Author: John (J5) Palmieri <johnp@redhat.com>
22722 Date: Mon Jan 31 16:50:52 2011 -0500
22724 [gi] handle the situation where an aux arg comes before its parent
22726 gi/pygi-cache.c | 70
22727 ++++++++++++++++++++++++++++++++++++++++----------------
22728 gi/pygi-invoke.c | 2 +-
22729 2 files changed, 51 insertions(+), 21 deletions(-)
22731 commit 858669f92c9907dd70b4966d6a8521ed122225be
22732 Author: Martin Pitt <martin.pitt@ubuntu.com>
22733 Date: Mon Jan 31 17:38:52 2011 +0100
22735 Ship tests/org.gnome.test.gschema.xml in dist tarballs
22737 tests/Makefile.am | 3 ++-
22738 1 file changed, 2 insertions(+), 1 deletion(-)
22740 commit 77d76df59606e470808085e977fb199cc76e8251
22741 Author: John (J5) Palmieri <johnp@redhat.com>
22742 Date: Sun Jan 30 18:21:24 2011 -0500
22744 [gi] allow caching and marshalling of ghash out
22746 gi/pygi-argument.c | 155
22747 +++++++++++++++++++++++++++++++++++++++++++++++++----
22748 gi/pygi-cache.c | 27 ++++++----
22749 2 files changed, 162 insertions(+), 20 deletions(-)
22751 commit bd66af67f248a3ca90d2fa2626605263c2392e16
22752 Author: John (J5) Palmieri <johnp@redhat.com>
22753 Date: Sun Jan 30 17:06:44 2011 -0500
22755 [gi] whitespace fixes
22757 gi/pygi-cache.c | 60
22758 ++++++++++++++++++++++++++++-----------------------------
22759 1 file changed, 30 insertions(+), 30 deletions(-)
22761 commit 1cdbd4be9b015f792c2c02afa5ac7e24edbdae86
22762 Author: John (J5) Palmieri <johnp@redhat.com>
22763 Date: Sun Jan 30 17:04:13 2011 -0500
22765 [gi] added ugly aux arg counters
22767 * we need to simplify the ffi invoke so we can simply reference args
22768 at their position in the C parameter list
22769 * this works for now but is fragile if new aux values are added in
22772 gi/pygi-argument.c | 12 ++++++++--
22773 gi/pygi-cache.c | 66
22774 +++++++++++++++++++++++++++++++++++++-----------------
22775 gi/pygi-cache.h | 2 ++
22776 gi/pygi-invoke.c | 12 +++++++---
22777 4 files changed, 66 insertions(+), 26 deletions(-)
22779 commit c51447f4efde2ce4caf39c1ffac905ec428d1d64
22780 Author: John (J5) Palmieri <johnp@redhat.com>
22781 Date: Sun Jan 30 11:30:54 2011 -0500
22783 [gi] make inout marshalling work
22785 * refactor cache generation so we can create caches and then fill
22787 values based on if they are in, out or inout
22788 * in invoke we order the pointers based on their direction
22790 gi/pygi-cache.c | 1445
22791 ++++++++++++++++++++++++++----------------------------
22792 gi/pygi-invoke.c | 19 +-
22793 2 files changed, 711 insertions(+), 753 deletions(-)
22795 commit 2b185362de45f46ce0f0b8816499aef06ab1ad1e
22796 Author: John (J5) Palmieri <johnp@redhat.com>
22797 Date: Sat Jan 29 13:49:36 2011 -0500
22799 [gi] marshal arrays out
22801 gi/pygi-argument.c | 101
22802 +++++++++++++++++++++++++++++++++++++++++++++++++++--
22803 1 file changed, 99 insertions(+), 2 deletions(-)
22805 commit e62e7062d5cfd782eac64852f681c63e2776b8d4
22806 Author: John (J5) Palmieri <johnp@redhat.com>
22807 Date: Sat Jan 29 13:48:23 2011 -0500
22809 [gi] fix sequence caching to support out
22811 gi/pygi-cache.c | 111
22812 ++++++++++++++++++++++++++++++++++++++++++++------------
22813 1 file changed, 87 insertions(+), 24 deletions(-)
22815 commit 69207910209ebfe450df616aeb8fa4cc2e7eccf3
22816 Author: Martin Pitt <martin.pitt@ubuntu.com>
22817 Date: Fri Jan 28 17:14:19 2011 +0100
22819 [gi] Add GSettings tests
22821 Ryan Lortie proposed an override for more convenient GSettings access,
22823 first make sure that the canonical GLib API works.
22825 tests/Makefile.am | 7 +++++--
22826 tests/org.gnome.test.gschema.xml | 16 ++++++++++++++++
22827 tests/test_overrides.py | 31 +++++++++++++++++++++++++++++++
22828 3 files changed, 52 insertions(+), 2 deletions(-)
22830 commit 488478a83640d50baee963337fcc870fec76b784
22831 Author: Martin Pitt <martin.pitt@ubuntu.com>
22832 Date: Fri Jan 28 07:20:26 2011 +0100
22834 [gi] Provide GtkTextBuffer.insert_with_tags_by_name()
22836 Provide an actual insert_with_tags_by_name() instead of overloading
22837 insert_with_tags() to handle both types. This keeps the overrides
22839 with the actual GTK API.
22841 gi/overrides/Gtk.py | 19 ++++++++++++++-----
22842 tests/test_overrides.py | 4 ++--
22843 2 files changed, 16 insertions(+), 7 deletions(-)
22845 commit dace1a553793fb7fb054b60760f02c9e5cf00b38
22846 Author: Martin Pitt <martin.pitt@ubuntu.com>
22847 Date: Thu Jan 27 13:37:18 2011 +0100
22849 [gi] Support tag names in GtkTextBuffer.insert_with_tags()
22851 Neither insert_with_tags() nor insert_with_tags_by_name() are
22853 due to using varargs. As both are useful, support both cases in
22856 gi/overrides/Gtk.py | 5 +++++
22857 tests/test_overrides.py | 9 +++++++++
22858 2 files changed, 14 insertions(+)
22860 commit 91d34124b2a5128e93e13c7fee8693d5edc4e9bb
22861 Author: Ignacio Casal Quinteiro <icq@gnome.org>
22862 Date: Thu Jan 27 12:23:18 2011 +0100
22864 Add MAINTAINERCLEANFILES
22866 This var behaves like .gitignore and allows us to skip some specific
22869 Makefile.am | 27 +++++++++++++++++++++++++++
22870 1 file changed, 27 insertions(+)
22872 commit 8a98d26981ce68809a21c64cac4962e58c927905
22873 Author: Ignacio Casal Quinteiro <icq@gnome.org>
22874 Date: Thu Jan 27 12:15:30 2011 +0100
22876 Remove .gitignore files and use git.mk
22878 git.mk is a script maintained in pango. From time to time we must
22879 check if it was updated and update it here.
22881 .gitignore | 46 -----------
22883 codegen/.gitignore | 2 -
22884 codegen/Makefile.am | 2 +
22885 docs/.gitignore | 7 --
22886 docs/Makefile.am | 2 +
22887 examples/Makefile.am | 2 +
22888 gi/.gitignore | 40 ----------
22889 gi/Makefile.am | 2 +
22890 gi/overrides/Makefile.am | 2 +
22891 gi/repository/Makefile.am | 2 +
22892 gi/tests/Makefile.am | 2 +
22894 ++++++++++++++++++++++++++++++++++++++++++++++
22895 glib/Makefile.am | 2 +
22896 gobject/.gitignore | 3 -
22897 gobject/Makefile.am | 2 +
22898 tests/.gitignore | 2 -
22899 tests/Makefile.am | 2 +
22900 18 files changed, 222 insertions(+), 100 deletions(-)
22902 commit 331c42b63bc60a3b906fa21e1c0a7c1b9428f347
22903 Author: Martin Pitt <martin.pitt@ubuntu.com>
22904 Date: Thu Jan 27 12:04:19 2011 +0100
22906 pygi-convert.sh: Convert Pango.TabAlign.*
22908 pygi-convert.sh | 1 +
22909 1 file changed, 1 insertion(+)
22911 commit be1a2959fa0a3d8682e0e8aef389d73dacab0689
22912 Author: Martin Pitt <martin.pitt@ubuntu.com>
22913 Date: Thu Jan 27 12:02:39 2011 +0100
22915 pygi-convert.sh: Drop window -> get_window() conversion
22917 It is doing more harm than good for projects which use things like
22920 pygi-convert.sh | 1 -
22921 1 file changed, 1 deletion(-)
22923 commit dd7deb4b658c56857c26b1a278a3d688f2ea6a2a
22924 Author: Martin Pitt <martin.pitt@ubuntu.com>
22925 Date: Thu Jan 27 11:58:26 2011 +0100
22927 pygi-convert.sh: Don't convert self.window assignments
22929 pygi-convert.sh | 2 +-
22930 1 file changed, 1 insertion(+), 1 deletion(-)
22932 commit 975341a26772966d4afc87a88a6a566d61237fa0
22933 Author: Steve Frécinaux <code@istique.net>
22934 Date: Fri Jan 21 18:41:54 2011 +0100
22936 Fix leaked python reference in python-defined subclasses
22938 https://bugzilla.gnome.org/show_bug.cgi?id=640184
22940 gobject/gobjectmodule.c | 1 +
22941 tests/test_gobject.py | 4 ++++
22942 2 files changed, 5 insertions(+)
22944 commit a59e2d58bdb3f31a4f415dbe14b7d9988ac28ce3
22945 Author: Steve Frécinaux <code@istique.net>
22946 Date: Fri Jan 21 15:54:43 2011 +0100
22948 Add some tests for the number of python refs held at creation time
22950 https://bugzilla.gnome.org/show_bug.cgi?id=640184
22952 tests/test_gobject.py | 21 +++++++++++++++++++++
22953 1 file changed, 21 insertions(+)
22955 commit 7d70105eb324ea4b6a58c2d3fb3f2dda36e7ab33
22956 Author: Steve Frécinaux <code@istique.net>
22957 Date: Fri Jan 21 17:24:49 2011 +0100
22959 Factor out parameter marshalling from construction functions.
22961 https://bugzilla.gnome.org/show_bug.cgi?id=640197
22963 gobject/gobjectmodule.c | 35 ++--------------------
22964 gobject/pygobject-private.h | 5 ++++
22965 gobject/pygobject.c | 71
22966 +++++++++++++++++++++++++++------------------
22967 3 files changed, 50 insertions(+), 61 deletions(-)
22969 commit a3e0cfe8924887ecd1e07cedd2cfb999c853ac62
22970 Author: John (J5) Palmieri <johnp@redhat.com>
22971 Date: Wed Jan 26 15:34:24 2011 -0500
22973 [gi] in python 3 an array of uint8 can be bytes but not string
22975 tests/test_gi.py | 4 +++-
22976 1 file changed, 3 insertions(+), 1 deletion(-)
22978 commit 843553ea958eddec185bb660851a310dc050a14b
22979 Author: John (J5) Palmieri <johnp@redhat.com>
22980 Date: Wed Jan 26 15:30:06 2011 -0500
22982 [gi] fix Gio.FileEnumerator to reflect the Python 3 iter protocol
22984 gi/overrides/Gio.py | 6 +++++-
22985 1 file changed, 5 insertions(+), 1 deletion(-)
22987 commit 6ff357839feb39930a5f3175de3d0ed35f24d3f4
22988 Author: John (J5) Palmieri <johnp@redhat.com>
22989 Date: Wed Jan 26 15:17:03 2011 -0500
22991 [gi] python 3 fixes
22993 Patches need to work in Python 3 - here are some of the issues I
22995 Patch submitters should keep this in mind. When I note to only
22997 in tests it means that there is a compat module that is only available
22999 tests. Actuall code should either add the workaround to the top
23001 module or try not to have a distinction between things such as
23003 longs which no longer exist in Python 3
23005 * use range instead of xrange - loss of performance in Python 2 but
23007 treats range similarly to python 2's xrange
23008 * use dict.items() instead of dict.iteritems() - same as the xrange
23010 * callable does not exist in 3.x, use hasattr(obj, '__call__') or
23012 if sys.version_info > (3, 0):
23014 return hasattr(obj, '__call__')
23016 * using unicode in tests is tricky, you can't use u'' even in
23018 conditional as python3's parser chokes on it. Do this in tests
23022 from compathelper import _unicode
23023 unicode_string = _unicode('this is a unicode string')
23025 * exception caching changed in 2.7, instead of except Exception,
23027 except Exception as e. Do this to be compatible with older
23031 etype, e = sys.exc_info()[:2]
23033 * Unbound methods with an im_func attribute no longer exits in 3.x.
23034 Unbound methods are now just functions so class.method in 3.x is
23035 equivalent to class.method.im_func in 2.x. If you have to go this
23038 func = class1.method
23039 if sys.version_info < (3,0):
23040 func = func.im_func
23042 * all numbers are long in 3.x so 42L is invalid in 3.x. In tests (and
23043 only in tests) do this:
23045 from compathelper import _long
23048 gi/overrides/GLib.py | 16 ++++++++--------
23049 gi/types.py | 5 ++++-
23050 tests/compathelper.py | 19 +++++++++++++++++++
23051 tests/test_gdbus.py | 12 ++++++++----
23052 tests/test_gi.py | 19 ++++++++++++-------
23053 tests/test_overrides.py | 8 +++++---
23054 6 files changed, 56 insertions(+), 23 deletions(-)
23056 commit 832d662b9f90f5762bbf28b3cca73f947c1f83ce
23057 Author: John (J5) Palmieri <johnp@redhat.com>
23058 Date: Wed Jan 26 14:00:08 2011 -0500
23060 [gi] fix try/except blocks using depricated raise format
23062 gi/overrides/GLib.py | 4 ++--
23063 gi/overrides/Gdk.py | 2 +-
23064 2 files changed, 3 insertions(+), 3 deletions(-)
23066 commit d3e30e240fed6ef1dd40fd29fd13dc2effc6c7b1
23067 Author: Martin Pitt <martin.pitt@ubuntu.com>
23068 Date: Wed Jan 26 19:03:48 2011 +0100
23070 [gi] Add docstring to GLib.Variant constructor
23072 gi/overrides/GLib.py | 11 +++++++++++
23073 1 file changed, 11 insertions(+)
23075 commit 963cd52fec26f7a4fb34414f8ac6662932ede322
23076 Author: Martin Pitt <martin.pitt@ubuntu.com>
23077 Date: Wed Jan 26 18:45:38 2011 +0100
23079 [gi] update gdbus test cases for previous GVariant change
23081 tests/test_gdbus.py | 4 ++--
23082 1 file changed, 2 insertions(+), 2 deletions(-)
23084 commit 27e3a6276ff5f2cdc03ddf69ee80d44c3bf2c094
23085 Author: Martin Pitt <martin.pitt@ubuntu.com>
23086 Date: Wed Jan 26 18:39:17 2011 +0100
23088 [gi] Accept only a single object in GLib.Variant constructor
23090 We previously allowed flat arguments for tuple signatures, e. g.
23092 GLib.Variant('(ii)', 1, 2)
23094 However, that's not how GVariant is supposed to work. Remove the
23096 to handle flat argument lists, and only accept a single value, i. e.
23098 GLib.Variant('(ii)', (1, 2))
23100 Note that this breaks the current API, but as it is not used widely
23104 Thanks to Ryan Lortie for pointing this out!
23106 gi/overrides/GLib.py | 25 ++++++++++---------------
23107 tests/test_overrides.py | 32 +++++++++++++-------------------
23108 2 files changed, 23 insertions(+), 34 deletions(-)
23110 commit b15e8e2c0c933d0f827a70280faf875ac383d81b
23111 Author: Laszlo Pandy <lpandy@src.gnome.org>
23112 Date: Wed Jan 26 00:40:49 2011 +0100
23114 Speed up _setup_native_vfuncs()
23116 This changes _setup_native_vfuncs() to only install native
23117 vfunc wrappers from the current class on the current class.
23118 Native vfuncs will not be propogated up or down the class
23119 hierarchy as this is unnecessary and wastes CPU and memory.
23121 Since the normal process in python to retrieve a method or
23122 attribute recurses to the base classes if an attribute is not
23123 found in the subclass, there is no need to setup all base class
23124 virtual functions on a subclass.
23126 This patch removes the recursion in _setup_native_vfuncs()
23127 and lets Python find them in the base classes like a normal
23128 Python class would work. This significantly increases the speed
23129 of any class which is or inherits from a C class which includes
23132 https://bugzilla.gnome.org/show_bug.cgi?id=640629
23134 gi/types.py | 26 +++++++++++++-------------
23135 tests/test_gi.py | 13 +++++++++++++
23136 2 files changed, 26 insertions(+), 13 deletions(-)
23138 commit 569d42ac2f50fb706ef289ff631db743483f40ee
23139 Author: Laszlo Pandy <lpandy@src.gnome.org>
23140 Date: Thu Jan 20 16:26:18 2011 +0100
23142 Speed up class creation: rewrite _setup_vfuncs() to be much more
23145 This patch rewrites the _setup_vfuncs() method to remove recursion and
23146 make the running time linear in the number of virtual functions to
23148 (ie. methods starting with "do_") instead of linear in the number of
23149 virtual functions in the base class which could possibly be
23152 Since most classes do not override all of the virtual functions in the
23153 base class (and many override none), this runs much faster.
23155 It is possible to not recurse on all base classes because
23157 base classes will have the virtual function installed as an attribute.
23158 Thus getattr() can be called, which recurses to the base classes much
23159 faster than a custom implementation in Python. If the method cannot be
23160 found with getattr(), all interface bases classes are searched
23163 The function is_function_in_classes() has been deleted. Because of the
23164 above changes, it is not used anymore.
23166 https://bugzilla.gnome.org/show_bug.cgi?id=640073
23169 ++++++++++++++++++++++++++++++++++---------------------
23170 tests/test_gi.py | 13 +++++++
23171 2 files changed, 77 insertions(+), 40 deletions(-)
23173 commit 8f4e6536f3c2edf38a45632d1c23eb7c6681c3be
23174 Author: Sebastian Pölsterl <sebp@k-d-w.org>
23175 Date: Mon Jan 24 19:23:19 2011 +0100
23177 pygi-convert.sh: Convert gtk.UI_MANAGER_*
23179 pygi-convert.sh | 1 +
23180 1 file changed, 1 insertion(+)
23182 commit 1f473b5164407a178203eb8cc7f3c786e0d0e5c2
23183 Author: Sebastian Pölsterl <sebp@k-d-w.org>
23184 Date: Fri Jan 21 18:41:54 2011 +0100
23186 pygi-convert.sh: Convert gdk.GRAB_*
23188 pygi-convert.sh | 1 +
23189 1 file changed, 1 insertion(+)
23191 commit f5d0b7b9d189f65503c0bf66d8bda4186ca3223a
23192 Author: Ignacio Casal Quinteiro <icq@gnome.org>
23193 Date: Fri Jan 21 16:45:07 2011 +0100
23195 [gi] set the gtype GValue correctly
23197 gi/pygi-property.c | 4 ++--
23198 1 file changed, 2 insertions(+), 2 deletions(-)
23200 commit ce521011d7f6d7f082aaea76fa05c5af9f6e93f5
23201 Author: Ignacio Casal Quinteiro <icq@gnome.org>
23202 Date: Fri Jan 21 16:20:23 2011 +0100
23204 [gi] use the right argument type for callback
23206 gi/pygi-foreign-cairo.c | 8 ++++----
23207 gi/pygi-foreign-gvariant.c | 4 ++--
23208 gi/pygi-foreign-gvariant.h | 2 +-
23209 gi/pygi-foreign.c | 2 +-
23211 5 files changed, 9 insertions(+), 9 deletions(-)
23213 commit 9f101baaa63a75acf62f955cfc4b311ff0dd5464
23214 Author: John (J5) Palmieri <johnp@redhat.com>
23215 Date: Fri Jan 21 09:23:54 2011 -0500
23217 [gi] marshal out flags and enum
23219 gi/pygi-argument.c | 14 +++++++++-----
23220 gi/pygi-cache.c | 24 ++++++++++++------------
23221 2 files changed, 21 insertions(+), 17 deletions(-)
23223 commit 4c93bdeae76830aa4029dfc86e32e6f277d5271d
23224 Author: John (J5) Palmieri <johnp@redhat.com>
23225 Date: Fri Jan 21 08:18:37 2011 -0500
23227 [gi] marshal unions
23229 gi/pygi-cache.c | 27 +++++++++++++--------------
23230 1 file changed, 13 insertions(+), 14 deletions(-)
23232 commit a060287d1a6d190acb9d344f08fd5662e3296da5
23233 Author: Martin Pitt <martin.pitt@ubuntu.com>
23234 Date: Fri Jan 21 11:00:27 2011 +0100
23236 [gi] Add test cases for GDBus client operations
23238 tests/Makefile.am | 1 +
23239 tests/test_gdbus.py | 94
23240 +++++++++++++++++++++++++++++++++++++++++++++++++++++
23241 2 files changed, 95 insertions(+)
23243 commit e7699d9af41f8c374326b8a4ec0939ef1426e386
23244 Author: John (J5) Palmieri <johnp@redhat.com>
23245 Date: Fri Jan 21 04:28:15 2011 -0500
23247 [gi] error out if the constructor returns NULL
23249 gi/pygi-invoke.c | 7 +++++++
23250 1 file changed, 7 insertions(+)
23252 commit 58ff2b2c38c1004861083ca88633be76767229f0
23253 Author: John (J5) Palmieri <johnp@redhat.com>
23254 Date: Fri Jan 21 04:26:45 2011 -0500
23256 [gi] throw error for caller allocates until we can write code to
23259 gi/pygi-cache.c | 11 +++++++++++
23260 1 file changed, 11 insertions(+)
23262 commit 5eb779439daa8bf1e86df689377dc10ef1430eab
23263 Author: John (J5) Palmieri <johnp@redhat.com>
23264 Date: Fri Jan 21 04:26:11 2011 -0500
23266 [gi] support struct out
23268 gi/pygi-argument.c | 30 ++++++++++++++++++++++++++----
23269 gi/pygi-cache.c | 15 ++-------------
23270 2 files changed, 28 insertions(+), 17 deletions(-)
23272 commit 3133dc595adf44279397d30712c0f8595f0e1acc
23273 Author: John (J5) Palmieri <johnp@redhat.com>
23274 Date: Fri Jan 21 04:22:06 2011 -0500
23276 [gi] move to using type_info and interface_info instead of arg_info
23278 * only arguments have arg_infos, not return types and instances so
23279 type_info is much better to pass. In fact most API that took an
23280 arg_info simply converted it to a type_info
23281 * In the case of instances for methods we don't even have a type_info.
23282 Since all instances are interfaces, we also attach the
23284 to the interface cache
23286 gi/pygi-argument.c | 20 ++++----------------
23287 gi/pygi-cache.c | 43
23288 ++++++++++++++++++++++++++++++++-----------
23289 gi/pygi-cache.h | 4 +++-
23290 gi/pygi-foreign-cairo.c | 24 ++++++++++++------------
23291 gi/pygi-foreign-gvariant.c | 11 +++++------
23292 gi/pygi-foreign-gvariant.h | 10 +++++-----
23293 gi/pygi-foreign.c | 21 +++++++++------------
23294 gi/pygi-foreign.h | 6 +++---
23295 gi/pygi.h | 8 ++++----
23296 9 files changed, 77 insertions(+), 70 deletions(-)
23298 commit e97e28048efb966ecc1a03277d36cbaa81b8db7d
23299 Author: Martin Pitt <martin.pitt@ubuntu.com>
23300 Date: Fri Jan 21 09:54:14 2011 +0100
23302 [gi] Add Variant construction/unpack support for boxed Variants
23304 Construction uses a GVariantBuilder for now, as the new_variant()
23306 currently does not work (see
23307 https://bugzilla.gnome.org/show_bug.cgi?id=639952)
23309 gi/overrides/GLib.py | 18 +++++++++++++++++-
23310 tests/test_overrides.py | 26 ++++++++++++++++++++++++++
23311 2 files changed, 43 insertions(+), 1 deletion(-)
23313 commit 71dd03261fc06b8180c14cd31b54d8e4b200be3a
23314 Merge: bc29600 bd002c7
23315 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
23316 Date: Fri Jan 21 09:33:16 2011 +0100
23318 Merge branch 'windows-setup-fixes'
23320 commit bc29600a2a04c972ceab7ef8d3292e8633977591
23321 Author: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
23322 Date: Thu Jan 20 19:48:23 2011 +0100
23324 pygi-convert.sh: GdkPixbuf methods
23328 pygi-convert.sh | 1 +
23329 1 file changed, 1 insertion(+)
23331 commit d1b0fa501cc431baa530d96fb50f4c35590890ac
23332 Author: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
23333 Date: Thu Jan 20 19:45:01 2011 +0100
23335 pygi-convert.sh: Gdk.COLORSPACE_RGB
23339 pygi-convert.sh | 1 +
23340 1 file changed, 1 insertion(+)
23342 commit 6d8ff4d5bdda5480089543869535cc3ee83da2f5
23343 Author: Martin Pitt <martin.pitt@ubuntu.com>
23344 Date: Wed Jan 19 11:41:11 2011 +0100
23346 [gi] Support nested objects and empty sequences in GLib.Variant
23349 The GVariant constructor (in the overrides) previously did not
23351 arrays/dictionaries or nested structures. Rewrite the VariantCreator
23353 be fully recursive and determine the element types of
23354 arrays/dictionaries.
23356 This now also allows you to use actual tuples as input values for
23358 tuple types. Taking values from the flat argument list is still
23360 convenience, though.
23362 https://bugzilla.gnome.org/show_bug.cgi?id=639939
23364 gi/overrides/GLib.py | 229
23365 ++++++++++++++++++++++++++----------------------
23366 tests/test_overrides.py | 159 +++++++++++++++++++++++++++++++--
23367 2 files changed, 273 insertions(+), 115 deletions(-)
23369 commit ac095f5435f106e175fa3297cb273e63c85d2809
23370 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23371 Date: Thu Jan 20 15:55:45 2011 +0100
23373 Uncomment test_gi.TestInterfaceClash
23375 tests/test_gi.py | 22 +++++++++++-----------
23376 1 file changed, 11 insertions(+), 11 deletions(-)
23378 commit 1239f3709ba257c404dda72b7067b77b19c240fa
23379 Author: John (J5) Palmieri <johnp@redhat.com>
23380 Date: Thu Jan 20 09:05:02 2011 -0500
23382 [gi] add support for enum and flags
23384 gi/pygi-argument.c | 121
23385 +++++++++++++++++++++++++++++++++++++++++------------
23386 gi/pygi-cache.c | 30 ++++++-------
23387 2 files changed, 111 insertions(+), 40 deletions(-)
23389 commit f0a0b6c2eda89622de2b1e5ebb6a48103ad72a42
23390 Author: Steve Frécinaux <code@istique.net>
23391 Date: Thu Jan 20 14:14:15 2011 +0100
23393 Fix reference leaks for GInitiallyUnowned objects
23395 References were leaked for GInitiallyUnowned objects which got their
23396 wrappers created several times, because someone else holds reference
23397 on it and it got out of python scope at some point.
23399 https://bugzilla.gnome.org/show_bug.cgi?id=639949
23401 gobject/gobjectmodule.c | 2 ++
23402 gobject/pygobject.c | 14 +++++------
23403 tests/test-floating.c | 36 +++++++++++++++++++++++++++
23404 tests/test-floating.h | 21 ++++++++++++++++
23405 tests/test_gobject.py | 63
23406 ++++++++++++++++++++++++++++++++++++++++++++++++
23407 tests/testhelpermodule.c | 50 ++++++++++++++++++++++++++++++++++++++
23408 6 files changed, 179 insertions(+), 7 deletions(-)
23410 commit cae2cf3d4fb049c94389bf8f84d7d97a544d7a3f
23411 Author: Steve Frécinaux <code@istique.net>
23412 Date: Wed Jan 19 16:57:57 2011 +0100
23414 Add tests for refcount of a GObject owned by a library
23416 When the object is constructed, its refcount is 2 because the library
23417 refs it once. It should remain around until we ask the library to
23418 release its reference.
23420 https://bugzilla.gnome.org/show_bug.cgi?id=639949
23422 tests/test-floating.c | 30 +++++++++++++++++++++++
23423 tests/test-floating.h | 20 ++++++++++++++++
23424 tests/test_gobject.py | 62
23425 ++++++++++++++++++++++++++++++++++++++++++++++++
23426 tests/testhelpermodule.c | 51 +++++++++++++++++++++++++++++++++++++++
23427 4 files changed, 163 insertions(+)
23429 commit b6737b91938d527872eff1d645a205cacf94e15d
23430 Author: Steve Frécinaux <code@istique.net>
23431 Date: Wed Jan 19 14:52:41 2011 +0100
23433 Add a test to check for regular object reference count
23435 https://bugzilla.gnome.org/show_bug.cgi?id=639949
23437 tests/test_gobject.py | 8 +++++++-
23438 1 file changed, 7 insertions(+), 1 deletion(-)
23440 commit 2b0f1ede820414ef1cfd6b37569fcb946d2031fc
23441 Author: Martin Pitt <martin.pitt@ubuntu.com>
23442 Date: Thu Jan 20 14:15:52 2011 +0100
23444 [gi] Update TreeView.enable_model_drag_{source,dest} to current GTK
23446 GTK master now landed a lot of annotation fixes which also correctly
23448 array length argument of
23449 Gtk.TreeView.enable_model_drag_{source,dest}(). Thus
23450 drop the explicit array length argument from the call in the override.
23452 gi/overrides/Gtk.py | 2 --
23453 1 file changed, 2 deletions(-)
23455 commit b59edf4f0f7cab44033f9d704d476e10ee0d0c0a
23456 Author: Steve Frécinaux <code@istique.net>
23457 Date: Wed Jan 19 18:04:10 2011 +0100
23459 Fix a typo in a private symbol name.
23461 gobject/gobjectmodule.c | 6 +++---
23462 1 file changed, 3 insertions(+), 3 deletions(-)
23464 commit 6447688e283a8fb22de3ab68cbc06e34ad23d198
23465 Author: Martin Pitt <martin.pitt@ubuntu.com>
23466 Date: Thu Jan 20 11:49:08 2011 +0100
23468 pygi-convert.sh: Convert glib.source_remove()
23470 pygi-convert.sh | 1 +
23471 1 file changed, 1 insertion(+)
23473 commit 84ee8de4bc00a8f901926cc6386d73c12dbd0b0b
23474 Author: Martin Pitt <martin.pitt@ubuntu.com>
23475 Date: Thu Jan 20 11:42:34 2011 +0100
23477 Fix typo in previous commit to actually convert glib.GError
23479 pygi-convert.sh | 2 +-
23480 1 file changed, 1 insertion(+), 1 deletion(-)
23482 commit b238cb614338f46e6feb7935cca0a55c7a929418
23483 Author: Martin Pitt <martin.pitt@ubuntu.com>
23484 Date: Thu Jan 20 11:40:14 2011 +0100
23486 pygi-convert.sh: Move some glib bits which are better handled
23489 pygi-convert.sh | 3 +++
23490 1 file changed, 3 insertions(+)
23492 commit 21c09a7ee294b59abb3eca6f64f13bf5c8a2fa0e
23493 Author: Laszlo Pandy <lpandy@src.gnome.org>
23494 Date: Wed Jan 19 12:00:02 2011 +0100
23496 Modify override for Gtk.Adjustment to allow position or keyword
23497 arguments in __init__().
23499 Previously passing no arguments was not working, because the default
23500 value for each parameter was None, and GObject.__init__() refuses to
23501 allow None for integer properties. This patch does not pass None up
23502 to GObject.__init__. Instead it does not pass the parameter at all,
23503 and uses the class's default values.
23505 https://bugzilla.gnome.org/show_bug.cgi?id=639934
23507 gi/overrides/Gtk.py | 14 ++++++++++++--
23508 tests/test_overrides.py | 34 +++++++++++++++++++++++++++-------
23509 2 files changed, 39 insertions(+), 9 deletions(-)
23511 commit d465e25297ad6589ff2cd0c00e11e8bd8ffe3f78
23512 Author: Martin Pitt <martin.pitt@ubuntu.com>
23513 Date: Wed Jan 19 22:52:51 2011 +0100
23515 [gi] Fix small typo in previous commit
23517 The GVariant signature of the self test had a trailing 'i'. The
23519 GVariant builder doesn't mind, but the new implementation proposed
23523 tests/test_overrides.py | 2 +-
23524 1 file changed, 1 insertion(+), 1 deletion(-)
23526 commit 2b8e1d0531dcb8f57dc9f2fddf25970bee3daa90
23527 Author: Martin Pitt <martin.pitt@ubuntu.com>
23528 Date: Wed Jan 19 20:18:19 2011 +0100
23530 [gi] Add pythonic iterator and indexing for string GVariants
23532 This extends commit b1a98083c to also work for strings.
23534 gi/overrides/GLib.py | 8 +++++++-
23535 tests/test_overrides.py | 13 +++++++++++++
23536 2 files changed, 20 insertions(+), 1 deletion(-)
23538 commit 8efd14c87b35072cdd039bf223f8ced8f51be9bb
23539 Author: John (J5) Palmieri <johnp@redhat.com>
23540 Date: Wed Jan 19 14:08:03 2011 -0500
23542 [gi] return NULL if out_marshaller fails
23544 gi/pygi-invoke.c | 5 +++++
23545 1 file changed, 5 insertions(+)
23547 commit 5b1db41d60204c8021f47f43b85dac126c389c8d
23548 Author: John (J5) Palmieri <johnp@redhat.com>
23549 Date: Wed Jan 19 13:57:54 2011 -0500
23551 [gi] fix some transfer issues and test case failures
23553 gi/pygi-argument.c | 4 ++++
23554 gi/pygi-cache.c | 11 ++++++++---
23555 gi/pygi-invoke.c | 17 +++++++++--------
23556 3 files changed, 21 insertions(+), 11 deletions(-)
23558 commit 7c2f48bb6d67ec9a1ee5ac03a5aee34b54c6ebdd
23559 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23560 Date: Wed Jan 19 18:09:23 2011 +0100
23562 Construct structs using default API constructor
23564 If the struct has something that looks like a default constructor,
23565 use it instead of trying to directly allocate it, as it will fail
23566 if the struct fields are not exposed.
23568 https://bugzilla.gnome.org/show_bug.cgi?id=627444
23570 gi/pygi-info.c | 37 +++++++++++++++++++++++++++++++++++++
23571 gi/types.py | 7 +++++++
23572 2 files changed, 44 insertions(+)
23574 commit db7300e173388d9557dcd2333781bfaa6b021605
23575 Author: Martin Pitt <martin.pitt@ubuntu.com>
23576 Date: Wed Jan 19 18:54:39 2011 +0100
23578 pygi-convert.sh: Migrate Gdk.Cursor constructor, and some cursor names
23580 pygi-convert.sh | 2 ++
23581 1 file changed, 2 insertions(+)
23583 commit 4c1d4faddf1c9cb233c484da3eadd8e31c231f70
23584 Author: Martin Pitt <martin.pitt@ubuntu.com>
23585 Date: Wed Jan 19 18:43:29 2011 +0100
23587 pygi-convert.sh: Handle .window attributes
23589 In general, convert them to .get_window(). For some of them, prefer
23591 GtkWidget methods instead.
23593 pygi-convert.sh | 5 ++++-
23594 1 file changed, 4 insertions(+), 1 deletion(-)
23596 commit b1049b947d073fb569ba900a4d5c8519482d831e
23597 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23598 Date: Wed Jan 19 17:35:09 2011 +0100
23600 Also deal with foreign boxed structs
23602 cairo.Context has been boxed and our tests started failing
23604 https://bugzilla.gnome.org/show_bug.cgi?id=639967
23606 gi/pygi-argument.c | 4 ++--
23607 1 file changed, 2 insertions(+), 2 deletions(-)
23609 commit 25b69ae257a12b6dc97ed3f2f7ea54b166ddbba1
23610 Author: Laszlo Pandy <lpandy@src.gnome.org>
23611 Date: Wed Jan 19 17:45:11 2011 +0100
23613 [gi] Convert GErrors to GObject.GError exceptions, and throw them
23614 upon returning from calling the C function.
23616 This changes gi to make use of pyglib_error_check() which already
23619 The included tests make use of the other patch attached to this bug,
23620 to check that the right exception is thrown from the new function
23621 in GIMarshallingTests.
23622 two Gtk C functions.
23624 https://bugzilla.gnome.org/show_bug.cgi?id=639834
23626 gi/Makefile.am | 3 ++-
23627 gi/pygi-invoke.c | 12 +++---------
23628 tests/test_gi.py | 10 ++++++++++
23629 3 files changed, 15 insertions(+), 10 deletions(-)
23631 commit 18b84767db1d66e3d6f09067ab19ffd4b82539ca
23632 Author: John (J5) Palmieri <johnp@redhat.com>
23633 Date: Wed Jan 19 12:05:45 2011 -0500
23635 [gi] fix out marshalling for a couple of int types
23637 gi/pygi-argument.c | 2 +-
23638 gi/pygi-cache.c | 2 +-
23639 2 files changed, 2 insertions(+), 2 deletions(-)
23641 commit c5d7c730008275b2c585b2609fc2ff5e051cce47
23642 Author: John (J5) Palmieri <johnp@redhat.com>
23643 Date: Wed Jan 19 11:59:09 2011 -0500
23645 [gi] fixed range checking and type conversion with unsigned and
23648 gi/pygi-argument.c | 90
23649 +++++++++++++++++++++++++++++++++++++++++++++---------
23650 gi/pygi-cache.c | 2 +-
23651 2 files changed, 76 insertions(+), 16 deletions(-)
23653 commit e6fcafc6179e963cbae7774e7ee50415bde2c523
23654 Author: Martin Pitt <martin.pitt@ubuntu.com>
23655 Date: Wed Jan 19 17:03:06 2011 +0100
23657 pygi-convert.sh: Don't convert glib -> GLib for now
23659 This currently leads to a load of crashes, MemoryErrors, etc, as
23661 very well introspectable, due to the low-level operations that
23664 John Palmieri confirms that using the static "glib" binding is
23666 now, so disable the replacement rules.
23668 pygi-convert.sh | 19 ++++++++++---------
23669 1 file changed, 10 insertions(+), 9 deletions(-)
23671 commit 167261d556eab0d2e448c7ed28eef540a024ba1d
23672 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23673 Date: Wed Jan 19 16:47:08 2011 +0100
23675 Link libregress.so to GIO_LIBS again
23677 configure.ac | 5 +++++
23678 1 file changed, 5 insertions(+)
23680 commit d143afa6da4f5b5f47be8df11fa41d7b47ab1794
23681 Author: Laszlo Pandy <lpandy@src.gnome.org>
23682 Date: Wed Jan 19 16:14:42 2011 +0100
23684 Fix attributes 2BUTTON_PRESS and 3BUTTON_PRESS of Gdk.EventType.
23686 This puts an underscore in front of 2BUTTON_PRESS and 3BUTTON_PRESS
23687 because in Python attributes starting with a numeral causes a
23690 gi/overrides/Gdk.py | 7 +++++--
23691 1 file changed, 5 insertions(+), 2 deletions(-)
23693 commit 4f5d20966d4a8c649e5fae584039621edab178f3
23694 Author: John (J5) Palmieri <johnp@redhat.com>
23695 Date: Wed Jan 19 10:02:40 2011 -0500
23697 [gi] use correct format stings when setting errors
23699 gi/pygi-argument.c | 12 ++++++------
23700 1 file changed, 6 insertions(+), 6 deletions(-)
23702 commit 7f08fd5c33ee5c9907f5becbe2f21fb7122d6e19
23703 Author: John (J5) Palmieri <johnp@redhat.com>
23704 Date: Wed Jan 19 09:45:09 2011 -0500
23706 [gi] allow marshalling strings as None
23708 gi/pygi-argument.c | 5 +++++
23709 1 file changed, 5 insertions(+)
23711 commit 093242a9e125998cd07bf66fc4b2880f532a2e4d
23712 Author: John (J5) Palmieri <johnp@redhat.com>
23713 Date: Wed Jan 19 09:41:56 2011 -0500
23715 [gi] make error messages more detailed
23717 gi/pygi-argument.c | 2 +-
23718 gi/pygi-cache.c | 18 +++++++++---------
23719 2 files changed, 10 insertions(+), 10 deletions(-)
23721 commit f0b17605ed2eb917b350654b070984beb553eae3
23722 Author: John (J5) Palmieri <johnp@redhat.com>
23723 Date: Wed Jan 19 09:41:13 2011 -0500
23725 [gi] allow marshalling None for hashes
23727 gi/pygi-argument.c | 5 +++++
23728 1 file changed, 5 insertions(+)
23730 commit 93f1b787ab8420300d1064c0237a0c2d8a2ac98f
23731 Author: John (J5) Palmieri <johnp@redhat.com>
23732 Date: Wed Jan 19 09:40:37 2011 -0500
23734 [gi] add marshalling to some out values
23736 gi/pygi-argument.c | 50
23737 +++++++++++++++++++++++++++++++++++++++++---------
23738 1 file changed, 41 insertions(+), 9 deletions(-)
23740 commit 614b6ca7f45c4acbee088fe74fecf279ed50cc0c
23741 Author: Sebastian Pölsterl <sebp@k-d-w.org>
23742 Date: Wed Jan 19 15:27:33 2011 +0100
23744 [gi] Fixed typo in exception
23746 gi/overrides/Gtk.py | 2 +-
23747 1 file changed, 1 insertion(+), 1 deletion(-)
23749 commit 5f16df31b5a5a9f45f702eee48c3a18899ea3f71
23750 Author: John (J5) Palmieri <johnp@redhat.com>
23751 Date: Wed Jan 19 09:13:44 2011 -0500
23753 [gi] fix marshalling structs
23755 gi/pygi-argument.c | 47 +++++++++++++++++++++++++++++++++++------------
23756 gi/pygi-foreign.c | 18 ++++++++++++------
23757 gi/pygi-foreign.h | 8 ++++----
23758 3 files changed, 51 insertions(+), 22 deletions(-)
23760 commit b2189424f9dd6d3a4a5b9792f0d5843fc27657d1
23761 Author: Sebastian Pölsterl <sebp@k-d-w.org>
23762 Date: Wed Jan 19 15:12:25 2011 +0100
23764 [gi] Enable handling of Gdk.EventType.2BUTTON_PRESS and 3BUTTON_PRESS
23766 gi/overrides/Gdk.py | 4 ++--
23767 1 file changed, 2 insertions(+), 2 deletions(-)
23769 commit 5eca5ff2c9509ec96158fe43b29f0fd951243efe
23770 Author: Martin Pitt <martin.pitt@ubuntu.com>
23771 Date: Wed Jan 19 14:54:57 2011 +0100
23773 Revert "Fix Pango FontDescription override"
23776 http://library.gnome.org/devel/pango/1.28/pango-Fonts.html#pango-font-description-new
23777 the default constructor actually does take no arguments; we should
23779 the MemoryError. Add a test case for this.
23781 Remove the FIXME though, as pango_font_description_from_string()
23783 FontDescription constructor, but a static factory method.
23785 Thanks to Paolo Borelli for pointing this out!
23787 This reverts commit 8878c57676091c08e66bc6cbe735d898cb420582.
23789 gi/overrides/Pango.py | 5 ++++-
23790 tests/test_overrides.py | 5 +++++
23791 2 files changed, 9 insertions(+), 1 deletion(-)
23793 commit 9e7b95b3676a1b502662523a9bd4ebe40ccb4845
23794 Author: Tony Young <rofflwaffls@gmail.com>
23795 Date: Thu Dec 16 23:39:33 2010 +0000
23797 Python iterator interface support for GFileEnumerator.
23799 gi/overrides/Gio.py | 41 +++++++++++++++++++++++++++++++++++++++++
23800 gi/overrides/Makefile.am | 1 +
23801 tests/test_overrides.py | 20 ++++++++++++++++++++
23802 3 files changed, 62 insertions(+)
23804 commit bca5834fc8fa342149e0eec7b396877a2abe6d33
23805 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23806 Date: Fri Jan 7 12:10:37 2011 +0100
23808 Remove gio static bindings
23810 https://bugzilla.gnome.org/show_bug.cgi?id=638899
23813 configure.ac | 25 -
23814 gio/.gitignore | 3 -
23815 gio/Makefile.am | 117 -
23816 gio/__init__.py | 40 -
23817 gio/gappinfo.override | 213 --
23818 gio/gapplaunchcontext.override | 99 -
23819 gio/gbufferedinputstream.override | 70 -
23820 gio/gcancellable.override | 38 -
23821 gio/gdatainputstream.override | 250 --
23822 gio/gdrive.override | 347 --
23823 gio/gfile.override | 2215 -----------
23824 gio/gfileattribute.override | 153 -
23825 gio/gfileenumerator.override | 184 -
23826 gio/gfileinfo.override | 121 -
23827 gio/gfileinputstream.override | 68 -
23828 gio/gfileiostream.override | 68 -
23829 gio/gfileoutputstream.override | 68 -
23830 gio/gicon.override | 310 --
23831 gio/ginputstream.override | 344 --
23832 gio/gio-types.defs | 807 ----
23833 gio/gio.defs | 7465
23834 -------------------------------------
23835 gio/gio.override | 409 --
23836 gio/giomodule.c | 208 --
23837 gio/giostream.override | 68 -
23838 gio/gmemoryinputstream.override | 91 -
23839 gio/gmemoryoutputstream.override | 45 -
23840 gio/gmount.override | 454 ---
23841 gio/goutputstream.override | 292 --
23842 gio/gresolver.override | 312 --
23843 gio/gsocket.override | 575 ---
23844 gio/gvolume.override | 237 --
23845 gio/gvolumemonitor.override | 94 -
23846 gio/pygio-utils.c | 236 --
23847 gio/pygio-utils.h | 49 -
23848 gio/unix-types.defs | 55 -
23849 gio/unix.defs | 475 ---
23850 gio/unix.override | 62 -
23851 gio/unixmodule.c | 52 -
23852 tests/Makefile.am | 9 -
23853 tests/runtests-windows.py | 3 -
23854 tests/test_gcancellable.py | 15 -
23855 tests/test_gicon.py | 112 -
23856 tests/test_gio.py | 1138 ------
23857 tests/test_gresolver.py | 68 -
23858 tests/test_gsocket.py | 126 -
23859 46 files changed, 1 insertion(+), 18191 deletions(-)
23861 commit 6ab3d8d286573289cf8e41eee31eb806621f6f43
23862 Author: John (J5) Palmieri <johnp@redhat.com>
23863 Date: Wed Jan 19 07:56:16 2011 -0500
23865 [gi] switch from using (*arg). to arg-> when referencing union
23868 gi/pygi-argument.c | 54
23869 +++++++++++++++++++++++++++---------------------------
23870 1 file changed, 27 insertions(+), 27 deletions(-)
23872 commit 762ccb3d2620ea22023446b6ae79f3a111d8b56a
23873 Author: John (J5) Palmieri <johnp@redhat.com>
23874 Date: Wed Jan 19 07:49:52 2011 -0500
23876 [gi] return FALSE when setting errors in the marshaller
23878 gi/pygi-argument.c | 3 ++-
23879 1 file changed, 2 insertions(+), 1 deletion(-)
23881 commit cbaba6357937cbed3ebd34d2db1cdd59d37df118
23882 Author: John (J5) Palmieri <johnp@redhat.com>
23883 Date: Wed Jan 19 07:14:18 2011 -0500
23885 [gi] do arg counting in new invoke
23887 gi/pygi-cache.c | 2 ++
23888 gi/pygi-cache.h | 14 ++++++++------
23889 gi/pygi-invoke-state-struct.h | 2 +-
23890 gi/pygi-invoke.c | 20 +++++++++++++++++++-
23891 4 files changed, 30 insertions(+), 8 deletions(-)
23893 commit f45033858bed70d7defec3f71f26aa5b3999d680
23894 Author: John (J5) Palmieri <johnp@redhat.com>
23895 Date: Wed Jan 19 06:35:45 2011 -0500
23897 [gi] set length for uint8 in arrays in new invoke marshaller
23899 gi/pygi-argument.c | 1 +
23900 1 file changed, 1 insertion(+)
23902 commit 09f7ca7e2378e6679002677ac3f4802f4cc7d9d5
23903 Author: Ignacio Casal Quinteiro <icq@gnome.org>
23904 Date: Wed Jan 19 12:04:15 2011 +0100
23906 [gi] set length when marshalling guint8 erases
23908 gi/pygi-argument.c | 1 +
23909 tests/test_gi.py | 4 ++++
23910 2 files changed, 5 insertions(+)
23912 commit 22eee43e50a150ace80694213fb87be9f0c72f51
23913 Author: Sebastian Pölsterl <sebp@k-d-w.org>
23914 Date: Wed Jan 19 10:27:47 2011 +0100
23916 Convert Gdk.Pixbuf to GdkPixbuf.Pixbuf
23918 pygi-convert.sh | 1 +
23919 1 file changed, 1 insertion(+)
23921 commit a4b210d69c832629894090b7154ae194209b0c60
23922 Author: Arnaud Charlet <charlet@adacore.com>
23923 Date: Tue Jan 18 18:31:29 2011 +0100
23925 Disable calls to PyGILState_* when threads are disabled
23927 Since threads may also be disabled in Python too, those symbols
23931 https://bugzilla.gnome.org/show_bug.cgi?id=374603
23933 glib/pyglib.c | 12 ++++++++++++
23934 gobject/pygobject-private.h | 6 ++++++
23935 2 files changed, 18 insertions(+)
23937 commit 329afb6fb1b3c325a6a9de2b6aca91c64d51dd9f
23938 Author: John (J5) Palmieri <johnp@redhat.com>
23939 Date: Tue Jan 18 12:31:57 2011 -0500
23941 [gi] fix handling of garrays vs c arrays
23943 gi/pygi-argument.c | 9 +++++++--
23944 gi/pygi-cache.c | 2 ++
23945 gi/pygi-cache.h | 1 +
23946 3 files changed, 10 insertions(+), 2 deletions(-)
23948 commit a000627ec3904b9414ce375aec8d144fc0c26248
23949 Author: Martin Pitt <martin.pitt@ubuntu.com>
23950 Date: Tue Jan 18 18:29:50 2011 +0100
23952 pygi-convert.sh: Do not comment out set_cell_data_func() calls;
23953 these should be ported properly
23955 pygi-convert.sh | 1 -
23956 1 file changed, 1 deletion(-)
23958 commit 99ff4610fb5ece2fc8d2f9eba13e661968adf3f0
23959 Author: Martin Pitt <martin.pitt@ubuntu.com>
23960 Date: Tue Jan 18 18:26:01 2011 +0100
23962 pygi-convert.sh: Fix match for adding missing imports
23964 pygi-convert.sh | 8 ++++----
23965 1 file changed, 4 insertions(+), 4 deletions(-)
23967 commit 3aa95011fad67df20370e92bf25236a34d7d08d3
23968 Author: Martin Pitt <martin.pitt@ubuntu.com>
23969 Date: Tue Jan 18 18:09:30 2011 +0100
23971 pygi-convert.sh: Fix Gtk.Label handling to be idempotent
23973 As we are not replacing line by line, but the whole file at once,
23975 hackish unfortunately. We can't use a match test or a lookahead/behind
23978 pygi-convert.sh | 5 +++--
23979 1 file changed, 3 insertions(+), 2 deletions(-)
23981 commit f66051380c0432bf142774542ade2144adcd455e
23982 Author: John (J5) Palmieri <johnp@redhat.com>
23983 Date: Tue Jan 18 11:44:27 2011 -0500
23985 [gi] use correct union memeber when marshalling floats
23987 gi/pygi-argument.c | 2 +-
23988 1 file changed, 1 insertion(+), 1 deletion(-)
23990 commit 36bc1c17e7d4189059337cc6a73c64edd819ec12
23991 Author: Laszlo Pandy <lpandy@src.gnome.org>
23992 Date: Tue Jan 18 17:29:52 2011 +0100
23994 Remove trailing whitespace from gi/overrides/Gtk.py
23996 gi/overrides/Gtk.py | 10 +++++-----
23997 1 file changed, 5 insertions(+), 5 deletions(-)
23999 commit 1006df1929a667716c25e74b35b8f14643358732
24000 Author: John (J5) Palmieri <johnp@redhat.com>
24001 Date: Tue Jan 18 11:24:06 2011 -0500
24003 [gi] fix constructor invoking and add some support for interface
24006 * constructors are now simplified and are treated like normal
24008 which happen to return an instance
24010 gi/pygi-argument.c | 8 ++--
24011 gi/pygi-cache.c | 132
24012 +++++++++++++++++++++++++++++++++++++++++++++++++++--
24013 gi/pygi-invoke.c | 9 ++--
24014 gi/types.py | 21 +++------
24015 4 files changed, 142 insertions(+), 28 deletions(-)
24017 commit 8878c57676091c08e66bc6cbe735d898cb420582
24018 Author: Martin Pitt <martin.pitt@ubuntu.com>
24019 Date: Tue Jan 18 16:47:10 2011 +0100
24021 Fix Pango FontDescription override
24023 Trying to call __new__() on a record crashes with a MemoryError,
24025 the intended static factory method for a None argument as well
24029 gi/overrides/Pango.py | 7 +------
24030 1 file changed, 1 insertion(+), 6 deletions(-)
24032 commit efbbe71634037fa100b17327389b883b259cca54
24033 Author: Martin Pitt <martin.pitt@ubuntu.com>
24034 Date: Tue Jan 18 16:23:39 2011 +0100
24036 tests: Respect existing $GI_TYPELIB_PATH
24038 This allows us to run the test suite against local typelibs.
24040 tests/Makefile.am | 2 +-
24041 1 file changed, 1 insertion(+), 1 deletion(-)
24043 commit c96ca383350e5b9b079d9a86464922314939c006
24044 Author: John (J5) Palmieri <johnp@redhat.com>
24045 Date: Tue Jan 18 07:16:40 2011 -0500
24047 [gi] fix aux value offsets for methods and element size crashers
24049 * if the callable is a method we need to add 1 to the aux index
24050 for in values so we grab the right argument cache
24051 * use _pygi_g_type_info_size instead of _pygi_g_type_tag_size to
24054 gi/pygi-cache.c | 42 ++++++++++++++++++++++++------------------
24055 1 file changed, 24 insertions(+), 18 deletions(-)
24057 commit f56d85a7f39c2088bf9fd50b1b1e5b67c03104d3
24058 Merge: 84d6142 7d997b6
24059 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24060 Date: Tue Jan 18 13:14:45 2011 +0100
24062 Merge branch 'value'
24064 commit 7d997b6fe88343776c4d67a9f3437ba0c4122da0
24065 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24066 Date: Tue Jan 18 13:12:36 2011 +0100
24068 GTK overrides: Do type conversion to column types of ListStore and
24069 TreeStore in set_value
24071 gi/overrides/Gtk.py | 28 ++++++++++++++++++----------
24072 tests/test_overrides.py | 12 +++++++++++-
24073 2 files changed, 29 insertions(+), 11 deletions(-)
24075 commit 84d6142c14a7ebfb7284d3db52e14d3393f93905
24076 Author: Steve Frécinaux <code@istique.net>
24077 Date: Mon Jan 17 18:57:58 2011 +0100
24079 Always register a new GType when a GObject class is subclassed
24081 This patch makes the GType <-> python mapping much more predictible,
24082 and fixes the bug caused by overriding methods without specifying a
24083 __gtype_name__ member in the subclass, and makes type_register useless
24086 It is still possible to provide an explicit __gtype_name__ member
24088 subclass as it allows having a predictible GType name, which is handy
24089 for some of our tests. There is also an explicit special case for
24090 overrides because we obviously do not want to register new GTypes for
24091 those ones as it would clearly defeat the purpose of overrides.
24093 https://bugzilla.gnome.org/show_bug.cgi?id=543056
24095 gobject/__init__.py | 6 +++---
24096 tests/test_gi.py | 21 ++-------------------
24097 2 files changed, 5 insertions(+), 22 deletions(-)
24099 commit 30750ccef31e6c864628f418fc00e8c573d29a1b
24100 Author: Simon van der Linden <svdlinden@gnome.org>
24101 Date: Tue Jan 18 12:57:13 2011 +0100
24103 Raise required versions of GLib and GObject-Introspection
24105 https://bugzilla.gnome.org/show_bug.cgi?id=612126
24107 configure.ac | 6 +++---
24108 1 file changed, 3 insertions(+), 3 deletions(-)
24110 commit 761e98d32729f5894f4c75a54c65ed11329dc9d5
24111 Author: Martin Pitt <martin.pitt@ubuntu.com>
24112 Date: Tue Jan 18 12:52:32 2011 +0100
24114 pygi-convert.sh: Handle keysyms
24116 pygi-convert.sh | 1 +
24117 1 file changed, 1 insertion(+)
24119 commit d62cdfa38a675c1daf3bc12d5cd769434eea5dc8
24120 Author: Martin Pitt <martin.pitt@ubuntu.com>
24121 Date: Tue Jan 18 12:14:09 2011 +0100
24123 GLib overrides: Add test case for array variant building
24125 tests/test_overrides.py | 7 +++++++
24126 1 file changed, 7 insertions(+)
24128 commit 69a78307f3762e3f54d28d98514cec7d31ff20db
24129 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24130 Date: Tue Jan 18 10:21:03 2011 +0100
24132 Remove cairo.RectangleInt from the foreign module
24134 https://bugzilla.gnome.org/show_bug.cgi?id=639824
24136 gi/pygi-foreign-cairo.c | 96
24137 -------------------------------------------------
24138 1 file changed, 96 deletions(-)
24140 commit 017680c9a5e163021628bf29543598861a3b600a
24141 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24142 Date: Tue Jan 18 10:20:25 2011 +0100
24144 Dont try to guess the transfer if its a boxed
24146 https://bugzilla.gnome.org/show_bug.cgi?id=639823
24148 gi/pygi-invoke.c | 5 ++++-
24149 1 file changed, 4 insertions(+), 1 deletion(-)
24151 commit 771ef76574690eb98926249f38661d741d1ebbb0
24152 Author: Ignacio Casal Quinteiro <icq@gnome.org>
24153 Date: Tue Jan 18 12:02:01 2011 +0100
24155 The tags can be Empty not None.
24157 gi/overrides/Gtk.py | 2 +-
24158 1 file changed, 1 insertion(+), 1 deletion(-)
24160 commit b1a98083cdc50653e1d7bfb809bdf089f833df3d
24161 Author: Martin Pitt <martin.pitt@ubuntu.com>
24162 Date: Tue Jan 18 12:01:28 2011 +0100
24164 Add Pythonic iterators and indexing to GVariant
24166 Add the usual set of iterators and index accessors to GLib.Variant
24168 which are containers.
24170 Add corresponding test cases.
24172 gi/overrides/GLib.py | 50 ++++++++++++++++++++++++++++++++++++++++++++
24173 tests/test_overrides.py | 55
24174 +++++++++++++++++++++++++++++++++++++++++++++++++
24175 2 files changed, 105 insertions(+)
24177 commit ecb9f824c503c529d43e585b4cdb4c1c9ab14593
24178 Author: Martin Pitt <martin.pitt@ubuntu.com>
24179 Date: Tue Jan 18 10:48:03 2011 +0100
24181 Add GLib.Variant.unpack()
24183 This method decomposes a GLib.Variant into a native Python object,
24185 counterpart of _VariantCreator. This makes it a lot nicer for
24187 developers to use e. g. return values from gdbus calls.
24189 Add appropriate test case.
24191 gi/overrides/GLib.py | 45
24192 +++++++++++++++++++++++++++++++++++++++++++++
24193 tests/test_overrides.py | 33 ++++++++++++++++++++++++++++++++-
24194 2 files changed, 77 insertions(+), 1 deletion(-)
24196 commit 31c73dee34a52fd22b5ff3a23adce92cea5ddc3d
24197 Author: Ignacio Casal Quinteiro <icq@gnome.org>
24198 Date: Tue Jan 18 10:56:18 2011 +0100
24200 Add override for gtk_text_buffer_insert_with_tags
24202 gi/overrides/Gtk.py | 12 ++++++++++++
24203 tests/test_overrides.py | 6 ++++++
24204 2 files changed, 18 insertions(+)
24206 commit fc7d7f7f153d57ff3866b7bfd5e6479d702cc4d9
24207 Author: Simon van der Linden <svdlinden@gnome.org>
24208 Date: Mon Jan 17 14:35:14 2011 +0100
24210 Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES
24212 https://bugzilla.gnome.org/show_bug.cgi?id=620215
24214 gi/Makefile.am | 6 ++++--
24215 gio/Makefile.am | 2 +-
24216 glib/Makefile.am | 2 +-
24217 m4/python.m4 | 7 +++++--
24218 tests/Makefile.am | 2 +-
24219 5 files changed, 12 insertions(+), 7 deletions(-)
24221 commit bceec758b27e6c396d17a79424633b5dc9116f54
24222 Author: Simon van der Linden <svdlinden@gnome.org>
24223 Date: Mon Jan 17 14:20:55 2011 +0100
24225 Kill JD_CHECK_PYTHON_HEADERS
24227 Use AM_CHECK_PYTHON_HEADERS instead, which is identical.
24229 https://bugzilla.gnome.org/show_bug.cgi?id=620215
24231 configure.ac | 2 +-
24232 m4/python.m4 | 31 +------------------------------
24233 2 files changed, 2 insertions(+), 31 deletions(-)
24235 commit e2dea065da94d17a915abe1ce4671b1dc48e02c0
24236 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24237 Date: Mon Jan 17 19:09:27 2011 +0100
24239 Revert "Override Gtk.Box.pack_start and pack_end to set default
24240 values to be compliant with pygtk"
24242 This reverts commit a8c727b9c4195d8085a45661683a18614ae84485.
24246 gi/overrides/Gtk.py
24248 gi/overrides/Gtk.py | 10 ----------
24249 1 file changed, 10 deletions(-)
24251 commit 4fbae9629adc166627de05bb0946b71485343d69
24252 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24253 Date: Mon Jan 17 19:08:23 2011 +0100
24255 Revert "Override Gtk.CellLayout.pack_start and pack_end to add
24256 default values to be compliant with pygtk"
24258 This reverts commit 232841148f35684be83a2f47b5b18da4fb74f63a.
24260 gi/overrides/Gtk.py | 13 ++-----------
24261 1 file changed, 2 insertions(+), 11 deletions(-)
24263 commit c054f0aca67952876b3519bb75ddc62c5517f7cb
24264 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24265 Date: Mon Jan 17 19:08:06 2011 +0100
24267 Revert "Override Gtk.TreeViewColumn.pack_start, pack_end and
24268 set_cell_data_func to add default values to be compliant with pygtk"
24270 This reverts commit ed7e7a8f22b1481acf78c0c2e4c489dbad72f599.
24272 gi/overrides/Gtk.py | 9 ---------
24273 1 file changed, 9 deletions(-)
24275 commit 2d9534f347505573da46743b47318e08bf073aef
24276 Author: Martin Pitt <martin.pitt@ubuntu.com>
24277 Date: Mon Jan 17 18:54:10 2011 +0100
24279 pygi-convert.sh: Handle gtk.combo_box_new_text()
24281 pygi-convert.sh | 1 +
24282 1 file changed, 1 insertion(+)
24284 commit 0586a83212a9f9234fe00659ae744ab04e7ccc67
24285 Author: John (J5) Palmieri <johnp@redhat.com>
24286 Date: Mon Jan 17 12:31:03 2011 -0500
24290 gi/pygi-argument.c | 68 ++++++++++++++++++++++++++++++++++++++++++++--
24291 gi/pygi-cache.c | 80
24292 +++++++++++++++++++++++++++++++++++++++++-------------
24293 gi/pygi-cache.h | 13 +++++++--
24294 gi/pygi-invoke.c | 2 +-
24295 4 files changed, 138 insertions(+), 25 deletions(-)
24297 commit 914d3a0a29680f4d3aa0e1f8afdd625b017b013a
24298 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24299 Date: Mon Jan 17 16:57:53 2011 +0100
24301 Override TreeSortable.set_sort_func and set_default_sort_func to
24302 add default values to be pygtk compliant
24304 gi/overrides/Gtk.py | 6 ++++++
24305 1 file changed, 6 insertions(+)
24307 commit ed7e7a8f22b1481acf78c0c2e4c489dbad72f599
24308 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24309 Date: Mon Jan 17 16:29:28 2011 +0100
24311 Override Gtk.TreeViewColumn.pack_start, pack_end and
24312 set_cell_data_func to add default values to be compliant with pygtk
24314 gi/overrides/Gtk.py | 9 +++++++++
24315 1 file changed, 9 insertions(+)
24317 commit 232841148f35684be83a2f47b5b18da4fb74f63a
24318 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24319 Date: Mon Jan 17 16:28:51 2011 +0100
24321 Override Gtk.CellLayout.pack_start and pack_end to add default values
24322 to be compliant with pygtk
24324 gi/overrides/Gtk.py | 13 +++++++++++--
24325 1 file changed, 11 insertions(+), 2 deletions(-)
24327 commit 1dec12826753756fcadefc8ef8c756fc902c320b
24328 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24329 Date: Mon Jan 17 15:54:32 2011 +0100
24331 Override Gtk.Paned pack1 and pack2 to add default values to be
24332 compliant with pygtk
24334 gi/overrides/Gtk.py | 10 ++++++++++
24335 1 file changed, 10 insertions(+)
24337 commit a8c727b9c4195d8085a45661683a18614ae84485
24338 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24339 Date: Mon Jan 17 15:46:25 2011 +0100
24341 Override Gtk.Box.pack_start and pack_end to set default values to
24342 be compliant with pygtk
24344 gi/overrides/Gtk.py | 10 ++++++++++
24345 1 file changed, 10 insertions(+)
24347 commit 7cc8ac35bb0d8dbf7d66f014f8cd7ff070b3acb8
24348 Author: Steve Frécinaux <code@istique.net>
24349 Date: Wed Aug 4 00:30:05 2010 +0200
24351 Handle GObject subclasses in the property helper.
24353 https://bugzilla.gnome.org/show_bug.cgi?id=625982
24355 gobject/propertyhelper.py | 26 +++++++++++++-------------
24356 tests/test_properties.py | 9 +++++++++
24357 2 files changed, 22 insertions(+), 13 deletions(-)
24359 commit 7a0548dbfbdfe481f75315b6bc7824a9f1a8a87b
24360 Author: Martin Pitt <martin.pitt@ubuntu.com>
24361 Date: Mon Jan 17 17:52:15 2011 +0100
24363 Fix handling of unicode for GtkTreeModels
24365 The code previously converted an unicode object into unicode, but
24367 models actually have to specify 'str' (GTK expects a gchararray). So
24369 UTF-8 instead to get what GTK expects.
24371 Add corresponding test case.
24373 gi/overrides/Gtk.py | 2 +-
24374 tests/test_overrides.py | 12 +++++++++++-
24375 2 files changed, 12 insertions(+), 2 deletions(-)
24377 commit 09c21c79fb6063c8451f53d4588363d2be7239f4
24378 Author: Laszlo Pandy <lpandy@src.gnome.org>
24379 Date: Mon Jan 17 16:46:08 2011 +0100
24381 In IntrospectionModule and DynamicModule classes, make all instance
24382 attributes start with an underscore.
24384 This changes IntrospectionModule.version to _version and
24385 DynamicModule.introspection_module to _introspection_module.
24386 This is done to mark the attributes as private, and also avoid name
24387 collisions with attributes from the typelib.
24388 In Gstreamer, there is a function gst_version, which was previously
24389 inaccessible because of IntrospectionModule.version overriding it.
24391 gi/module.py | 26 +++++++++++++-------------
24392 gi/overrides/GIMarshallingTests.py | 2 +-
24393 gi/overrides/GLib.py | 2 +-
24394 gi/overrides/Gdk.py | 10 +++++-----
24395 gi/overrides/Gtk.py | 2 +-
24396 gi/overrides/Pango.py | 2 +-
24397 gi/overrides/__init__.py | 2 +-
24398 tests/test_everything.py | 2 +-
24399 8 files changed, 24 insertions(+), 24 deletions(-)
24401 commit 2c70beca9e76e4dc253453c556e6985ce59a3dd9
24402 Author: Laszlo Pandy <lpandy@src.gnome.org>
24403 Date: Mon Jan 17 16:17:25 2011 +0100
24405 Amend previous enum wrapping commit to remove redundant setting of
24406 __info__ attribute.
24408 gi/module.py | 2 +-
24409 gi/types.py | 6 +++---
24410 2 files changed, 4 insertions(+), 4 deletions(-)
24412 commit 6fbb6be5a5d0d9cd43e1504b8dda5aa75feb95ca
24413 Author: Martin Pitt <martin.pitt@ubuntu.com>
24414 Date: Mon Jan 17 16:16:45 2011 +0100
24416 pygi-convert.sh: Handle GdkPixbuf.InterpType
24418 pygi-convert.sh | 2 ++
24419 1 file changed, 2 insertions(+)
24421 commit 66a5784f4ab5de5b6d8d51eb4ce869fa26f6a601
24422 Author: Laszlo Pandy <laszlok2@gmail.com>
24423 Date: Mon Jan 17 15:43:34 2011 +0100
24425 Fix wrapping of enums: Create new Python type for each non-gtype enum.
24427 Previously non-gtype enums used the same class, which meant they
24428 were all the same type.
24429 This caused another problem that since they were all the same class,
24430 attributes from different enums were available from each other.
24432 A new test case is created to check for this bug. It requires a new
24433 enum from the GIMarshallingTests (updating gobject-introspection
24436 gi/module.py | 2 +-
24438 tests/test_gi.py | 10 ++++++++++
24439 3 files changed, 13 insertions(+), 1 deletion(-)
24441 commit da50d5620a42046d4fc905bb28a0890d73533cb1
24442 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24443 Date: Mon Dec 13 18:03:51 2010 +0100
24445 Use g_vfunc_info_invoke for chaining up in vfuncs
24447 https://bugzilla.gnome.org/show_bug.cgi?id=637165
24449 gi/pygi-info.c | 4 ++--
24450 gi/pygi-invoke.c | 72
24451 +++++++++++++++++++++++++++++++++++++++++++-------------
24452 gi/pygi-invoke.h | 3 ++-
24453 gi/types.py | 28 +++++++++++++++++++++-
24454 tests/test_gi.py | 5 ++--
24455 5 files changed, 89 insertions(+), 23 deletions(-)
24457 commit 8ceef79c98a1c2e22ed8ab655ef1169f1763dd23
24458 Author: Simon van der Linden <svdlinden@gnome.org>
24459 Date: Fri Dec 31 18:38:04 2010 +0100
24461 Move pyglib_{main_context, option_context, option_group}_new into
24464 _PyG{MainContext, OptionContext, and OptionGroup_Type} were not
24466 when used inside the glib module, since pyglib_init is not called.
24468 pyglib.c is compiled as a stand-alone library loaded by the _glib
24470 declares the above-mentioned types. Hence, they cannot be accessed
24472 former. This patch moves the functions that need those symbols
24474 glib._glib module and exports them to the pyglib library through
24477 https://bugzilla.gnome.org/show_bug.cgi?id=636656
24479 glib/glibmodule.c | 5 ++++-
24480 glib/pyglib-private.h | 3 +++
24482 +++---------------------------------------------
24483 glib/pygmaincontext.c | 22 ++++++++++++++++++++++
24484 glib/pygmaincontext.h | 2 +-
24485 glib/pygmainloop.c | 2 +-
24486 glib/pygoptioncontext.c | 21 +++++++++++++++++++++
24487 glib/pygoptioncontext.h | 2 ++
24488 glib/pygoptiongroup.c | 26 ++++++++++++++++++++++++++
24489 glib/pygoptiongroup.h | 2 ++
24490 glib/pygsource.c | 2 +-
24491 11 files changed, 86 insertions(+), 49 deletions(-)
24493 commit 17caffe4eeefeaf33a56ececbc6c7454f60b9d76
24494 Author: Martin Pitt <martin.pitt@ubuntu.com>
24495 Date: Mon Jan 17 14:51:26 2011 +0100
24497 pygi-convert.sh: Handle Gdk.DragAction
24499 pygi-convert.sh | 1 +
24500 1 file changed, 1 insertion(+)
24502 commit aa390aa80f06ac83ec89e5c5ee143d21ace97917
24503 Author: Martin Pitt <martin.pitt@ubuntu.com>
24504 Date: Mon Jan 17 14:46:58 2011 +0100
24506 pygi-convert.sh: Generalize Gtk.Settings migration
24508 There are other GSettings.get_* functions like get_for_screen().
24510 pygi-convert.sh | 2 +-
24511 1 file changed, 1 insertion(+), 1 deletion(-)
24513 commit 2e6d5bb49425e6087ca61765ecb72e7a760f2ab2
24514 Author: Martin Pitt <martin.pitt@ubuntu.com>
24515 Date: Mon Jan 17 11:22:46 2011 +0100
24517 pygi-convert.sh: Don't change the name of "glib" submodules
24519 This particular affects dbus.mainloop.glib.*
24521 pygi-convert.sh | 2 +-
24522 1 file changed, 1 insertion(+), 1 deletion(-)
24524 commit 3887b030fc19d25e0cd7b4ed504f4ed23363c3d6
24525 Author: Paolo Borelli <pborelli@gnome.org>
24526 Date: Sun Jan 16 22:09:56 2011 +0100
24528 Plug another memory leak
24530 Do not leak interface info in (g|s)_et_property.
24532 gi/pygi-property.c | 4 ++++
24533 1 file changed, 4 insertions(+)
24535 commit a4950b4cbb3c7567a8586061bb361adb7d9afb98
24536 Author: Paolo Borelli <pborelli@gnome.org>
24537 Date: Sun Jan 16 21:43:30 2011 +0100
24539 Plug a small memory leak.
24541 Do not leak type_info in find_vfunc_info
24543 gi/gimodule.c | 10 +++++-----
24544 1 file changed, 5 insertions(+), 5 deletions(-)
24546 commit d0cbcc45366d40702c69cef207d3c0f361260c02
24547 Author: Paolo Borelli <pborelli@gnome.org>
24548 Date: Sun Jan 16 12:16:31 2011 +0100
24550 Override Table.attach() to behave like pygtk
24552 It is fairly common and even gtk itself still has attach_defaults.
24554 gi/overrides/Gtk.py | 3 +++
24555 tests/test_overrides.py | 4 ++++
24556 2 files changed, 7 insertions(+)
24558 commit 6409d659326bf3cefdf6051379e8bc2031f16733
24559 Author: Martin Pitt <martin.pitt@ubuntu.com>
24560 Date: Sat Jan 15 11:20:23 2011 -0600
24562 pygi-convert.sh: Convert Pango.WrapMode
24564 pygi-convert.sh | 1 +
24565 1 file changed, 1 insertion(+)
24567 commit 6aaa6a38198e84a189ca1e8d26b1871d5b6bb711
24568 Author: Martin Pitt <martin.pitt@ubuntu.com>
24569 Date: Sat Jan 15 11:17:09 2011 -0600
24571 pygi-convert.sh: Don't change the name of "gtk" submodules
24573 Some projects have local modules like "myproject.ui.gtk". Avoid
24575 just change module names which start with "gtk" or "gdk".
24577 pygi-convert.sh | 4 ++--
24578 1 file changed, 2 insertions(+), 2 deletions(-)
24580 commit 9be0f1f2dfb89150faf1827ef482feea03645149
24581 Author: John (J5) Palmieri <johnp@redhat.com>
24582 Date: Thu Jan 13 23:56:19 2011 -0500
24584 [gi] implement aux arg handling for array lengths
24586 gi/pygi-argument.c | 8 ++++++++
24587 gi/pygi-cache.c | 36 ++++++++++++++++++++++++++++--------
24588 gi/pygi-cache.h | 1 -
24589 gi/pygi-invoke.c | 8 ++++++--
24590 4 files changed, 42 insertions(+), 11 deletions(-)
24592 commit cfca2f0a53a5c29f543875ca4cb83a2e18d3bc72
24593 Author: John (J5) Palmieri <johnp@redhat.com>
24594 Date: Thu Jan 13 21:07:25 2011 -0500
24596 [gi] marshal in hashes
24598 gi/pygi-argument.c | 93 ++++++++++++++++++++++++++++++++++++++--
24599 gi/pygi-cache.c | 122
24600 +++++++++++++++++++++++++++++++++++++----------------
24601 2 files changed, 176 insertions(+), 39 deletions(-)
24603 commit c36fbf4918c8557a8e274a12004a412da3b22b2c
24604 Author: Laszlo Pandy <git@laszlopandy.com>
24605 Date: Tue Jan 11 21:41:47 2011 +0100
24607 Fix the __dir__() methods on DynamicModule and IntrospectionModule
24609 Previously the __dir__() methods did not list all attributes.
24610 A simple test case is included. It does not test to see if
24611 every attribute is listed, it just tests a few of each kind:
24612 - (wrapped) typelib attributes
24613 - class attributes and methods
24614 - instance attributes
24616 A set() is used to avoid returning duplicate attributes.
24617 The test case checks for this as well.
24619 https://bugzilla.gnome.org/show_bug.cgi?id=639229
24621 gi/module.py | 28 +++++++++++++++++++++-------
24622 tests/test_everything.py | 18 ++++++++++++++++++
24623 2 files changed, 39 insertions(+), 7 deletions(-)
24625 commit 1679e6af3f212e4d4644e048dc3c6177ed3fac6b
24626 Author: Paolo Borelli <pborelli@gnome.org>
24627 Date: Thu Jan 13 00:02:20 2011 +0100
24629 pygi-convert.sh: handle ReliefStyle
24631 pygi-convert.sh | 1 +
24632 1 file changed, 1 insertion(+)
24634 commit e9166ba5d19f2b586f65a3b83a671a5afd486d8f
24635 Author: John (J5) Palmieri <johnp@redhat.com>
24636 Date: Wed Jan 12 16:50:30 2011 -0500
24638 [gi] support for GList and GSList in
24640 gi/pygi-argument.c | 122
24641 ++++++++++++++++++++++++++++++++++++++++++++++++++---
24642 1 file changed, 116 insertions(+), 6 deletions(-)
24644 commit 9baf3240fbac103823ad0feaaf1c82e46d276722
24645 Author: John (J5) Palmieri <johnp@redhat.com>
24646 Date: Wed Jan 12 16:24:17 2011 -0500
24648 [gi] handle allow_none for all args
24650 gi/pygi-cache.c | 3 ++-
24651 gi/pygi-cache.h | 1 +
24652 gi/pygi-invoke.c | 7 +++++++
24653 3 files changed, 10 insertions(+), 1 deletion(-)
24655 commit d54d12c66226910952b0dc44c8d9514a7edaa6f2
24656 Author: John (J5) Palmieri <johnp@redhat.com>
24657 Date: Wed Jan 12 16:23:02 2011 -0500
24659 [gi] fix marshalling fixed arrays
24661 * get the correct item_size and pass the GArray data not the GArray
24663 gi/pygi-argument.c | 39 ++++++++++++++++++++++-----------------
24664 gi/pygi-cache.c | 3 ++-
24665 2 files changed, 24 insertions(+), 18 deletions(-)
24667 commit 3b0eff80d2ee35e0417476f0a170b9e178e3d1ee
24668 Author: John (J5) Palmieri <johnp@redhat.com>
24669 Date: Tue Jan 11 17:20:43 2011 -0500
24671 [gi] implement out arg handling
24673 gi/pygi-argument.c | 43 ++++++++++---------------------------
24674 gi/pygi-cache.c | 22 ++++++++++++++-----
24675 gi/pygi-invoke-state-struct.h | 13 +++++++++++
24676 gi/pygi-invoke.c | 50
24677 +++++++++++++++++++++++++++++++++++++++++--
24678 4 files changed, 89 insertions(+), 39 deletions(-)
24680 commit bd002c72675d35b5e60ab773181e7c36c30d2625
24681 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24682 Date: Tue Jan 11 22:21:18 2011 +0100
24684 setup.py: fix the provides keyword argument
24687 1 file changed, 1 insertion(+), 1 deletion(-)
24689 commit 59dac72d0fa8e1d68bbbc13d76c2747f1cb11857
24690 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24691 Date: Tue Jan 11 22:19:18 2011 +0100
24693 setup.py: use the same spaces-less format for all setup() parameters
24695 setup.py | 8 ++++----
24696 1 file changed, 4 insertions(+), 4 deletions(-)
24698 commit c5c149be171895d292852df364541f14f0ec423a
24699 Author: John (J5) Palmieri <johnp@redhat.com>
24700 Date: Tue Jan 11 15:39:09 2011 -0500
24702 [gi] implemented return marshalling and started on out marshalling
24704 gi/pygi-argument.c | 387
24705 ++++++++++++++++++++++++++++++++++++++++++++++++++++-
24706 gi/pygi-argument.h | 117 ++++++++++++++++
24707 gi/pygi-cache.c | 316 ++++++++++++++++++++++++++++++++++++++++++-
24708 gi/pygi-cache.h | 8 +-
24709 gi/pygi-invoke.c | 12 +-
24710 5 files changed, 829 insertions(+), 11 deletions(-)
24712 commit 4fcca8518774ab89607196dfc52037e3da30ac8a
24713 Author: John (J5) Palmieri <johnp@redhat.com>
24714 Date: Tue Jan 11 13:49:58 2011 -0500
24716 [gi] flesh out interface in marshalling a bit more
24718 gi/pygi-argument.c | 74
24719 ++++++++++++++++++++++++++++++++++++++++----------
24720 gi/pygi-cache.c | 79
24721 ++++++++++++++++++++++++++++++++++++++++++------------
24722 gi/pygi-cache.h | 1 +
24723 3 files changed, 123 insertions(+), 31 deletions(-)
24725 commit 4992dca9f5cea68d85eb2ed86105c9c6b8311d79
24726 Author: Laszlo Pandy <laszlok2@gmail.com>
24727 Date: Tue Jan 11 19:30:38 2011 +0100
24729 Add a __repr__() method to DynamicModule.
24731 This patch adds a __repr__() method to DynamicModule so that modules
24733 meaningful string with the typelib path included:
24735 >>> from gi.repository import Gtk
24737 <gi.module.DynamicModule 'Gtk' from
24738 '/home/laszlo/Dev/gnome-jh-install/lib64/girepository-1.0/Gtk-3.0.typelib'>
24740 https://bugzilla.gnome.org/show_bug.cgi?id=639232
24742 gi/module.py | 9 +++++++++
24743 1 file changed, 9 insertions(+)
24745 commit 2ffaec59e7349c145a0e2a5edba2ffb7d8628369
24746 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24747 Date: Tue Jan 11 19:40:19 2011 +0100
24749 Go back to using getattr() in DynamicModule.__getattr__
24751 Breaks marshalling of some types
24753 gi/module.py | 2 +-
24754 1 file changed, 1 insertion(+), 1 deletion(-)
24756 commit 52a298cc0f05ceec96457f17f9a801e9838fb757
24757 Author: Laszlo Pandy <laszlok2@gmail.com>
24758 Date: Tue Jan 11 19:26:50 2011 +0100
24760 Change __dir__() to report all the attributes that __getattr__
24763 Change DynamicModule.__dir__() to return the local class members as
24765 typelib attributes.
24767 Change DynamicModule.__getattr__() to call
24768 IntrospectionModule.__getattr__()
24769 directly, so that it won't inadvertently return class attributes from
24770 IntrospectionModule.
24772 https://bugzilla.gnome.org/show_bug.cgi?id=639229
24774 gi/module.py | 10 +++++++---
24775 1 file changed, 7 insertions(+), 3 deletions(-)
24777 commit 369a75ba5fb64ff7a7c95d21f8bfe359e639e9ff
24778 Author: John (J5) Palmieri <johnp@redhat.com>
24779 Date: Mon Jan 10 17:55:03 2011 -0500
24781 [gi] add object and interface in marshalling
24783 * also remove the PyGIArgCleanup sinature as GDestroyNotify works
24786 gi/pygi-argument.c | 15 +++--
24787 gi/pygi-cache.c | 182
24788 ++++++++++++++++++++++++++++++++++++++++++++++++-----
24789 gi/pygi-cache.h | 1 -
24790 gi/pygi-invoke.c | 1 +
24791 4 files changed, 178 insertions(+), 21 deletions(-)
24793 commit 88531c58d0491a31dd319387237a03df5c9edc07
24794 Author: John (J5) Palmieri <johnp@redhat.com>
24795 Date: Mon Jan 10 15:33:56 2011 -0500
24797 [gi] fix casting when marshaling a char to uint8
24799 gi/pygi-argument.c | 2 +-
24800 1 file changed, 1 insertion(+), 1 deletion(-)
24802 commit 441da4a7346ca059630dbc820c5b46e4d0222f4b
24803 Author: John (J5) Palmieri <johnp@redhat.com>
24804 Date: Mon Jan 10 15:07:16 2011 -0500
24806 [gi] hook up invoke to the cache
24808 * We now can invoke with in values
24809 * out, constructors and returns still don't work along with numerous
24813 gi/Makefile.am | 1 +
24814 gi/pygi-argument.c | 60 +++++++++--------
24815 gi/pygi-argument.h | 60 ++++++++---------
24816 gi/pygi-cache.h | 6 +-
24817 gi/pygi-invoke-state-struct.h | 26 ++++++++
24818 gi/pygi-invoke.c | 149
24819 ++++++++++++++++++++++++++++++++----------
24820 gi/pygi-invoke.h | 2 +-
24821 gi/pygi-private.h | 1 +
24822 8 files changed, 208 insertions(+), 97 deletions(-)
24824 commit f32b1f494aa5d09b9b198f607722c819c6bbd808
24825 Author: John (J5) Palmieri <johnp@redhat.com>
24826 Date: Sun Jan 9 19:37:55 2011 -0500
24828 hooked up caching stage and fixed segfaults
24830 * caching stage is hooked up but not used yet
24831 * throws exceptions for everything that can not be cached yet
24833 gi/pygi-cache.c | 59
24834 +++++++++++++++++++++++++++++++++++++++++++-------------
24835 gi/pygi-info.c | 3 +++
24836 gi/pygi-invoke.c | 5 +++++
24838 4 files changed, 56 insertions(+), 13 deletions(-)
24840 commit c2bf1d4d9cf2e9f8e313528fe717f6279dad5da1
24841 Author: John (J5) Palmieri <johnp@redhat.com>
24842 Date: Sun Jan 9 18:05:31 2011 -0500
24844 [gi] fix some function names
24846 gi/pygi-cache.c | 5 ++---
24847 1 file changed, 2 insertions(+), 3 deletions(-)
24849 commit 2ec4230a5180f048c26c2e4234b2a098d42f030b
24850 Author: John (J5) Palmieri <johnp@redhat.com>
24851 Date: Sun Jan 9 15:58:06 2011 -0500
24853 [gi] refactor cache structs so they inherit from ArgCache
24855 gi/pygi-argument.c | 122 +++++++++----------
24856 gi/pygi-cache.c | 344
24857 +++++++++++++++++++++++++++++------------------------
24858 gi/pygi-cache.h | 50 ++++----
24859 3 files changed, 273 insertions(+), 243 deletions(-)
24861 commit f4cdf0c0321285da015686fcb7115bd91bfd5c7c
24862 Author: John (J5) Palmieri <johnp@redhat.com>
24863 Date: Sat Jan 8 20:45:11 2011 -0500
24865 [gi]fix cache compile error - now compiles but cache still not
24868 gi/Makefile.am | 2 +
24869 gi/pygi-argument.c | 100 +++++++++++++++---------------
24870 gi/pygi-argument.h | 174
24871 ++++++++++++++++++++++++++++++++++++++++++++---------
24872 gi/pygi-cache.c | 169
24873 +++++++++++++++++++++++++--------------------------
24874 gi/pygi-cache.h | 25 ++++----
24875 5 files changed, 293 insertions(+), 177 deletions(-)
24877 commit 5f8f3044dd8085b2e8ce0bf70e9d52f05abf909d
24878 Author: John (J5) Palmieri <johnp@redhat.com>
24879 Date: Sat Jan 8 19:10:29 2011 -0500
24881 add sequence caching and array marshalling w/ item marshalling
24883 * simplify what we pass into the arg cache generators so we may
24885 for geneating marshalling caches for container items, not just
24888 gi/pygi-argument.c | 76 ++++++++++++++++-
24889 gi/pygi-cache.c | 242
24890 ++++++++++++++++++++++-------------------------------
24891 gi/pygi-cache.h | 4 +-
24892 3 files changed, 175 insertions(+), 147 deletions(-)
24894 commit 202a268db7f98f5a3c525c6e65ec4bff1917257e
24895 Author: Emilio Pozuelo Monfort <pochu27@gmail.com>
24896 Date: Sat Jan 8 02:19:52 2011 +0000
24898 Bump the minimum gio dependency
24900 Needed for G_TYPE_CONVERTER_FLAGS and others.
24902 configure.ac | 2 +-
24903 1 file changed, 1 insertion(+), 1 deletion(-)
24905 commit c3aa36151fdef9ed9884d93114786bbe86387983
24906 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24907 Date: Fri Jan 7 12:58:11 2011 +0100
24909 Add test for incorrect attributes in Gdk.Event
24911 tests/test_overrides.py | 4 ++++
24912 1 file changed, 4 insertions(+)
24914 commit 204b45c7e95eb50d9e3843127fb10e13b1b17fee
24915 Author: Simon van der Linden <svdlinden@gnome.org>
24916 Date: Sun Jan 2 19:25:55 2011 +0100
24918 Don't call getattr again in gi.overrides.Gdk.Event.__getattr__
24920 __getattr__ is only called when the attribute is not found through
24922 mechanism, so getattr must not be called again in __getattr__
24924 create an infinite loop).
24926 Another possibility would be to implement __getattribute__ instead,
24928 called in place of the normal mechanism. In that case, calling
24930 needed for normal attributes.
24932 https://bugzilla.gnome.org/show_bug.cgi?id=638523
24934 gi/overrides/Gdk.py | 2 +-
24935 1 file changed, 1 insertion(+), 1 deletion(-)
24937 commit 6cf298ca5565d0eb99824f050ff47407e50a5c01
24938 Author: Mike Gorse <mgorse@novell.com>
24939 Date: Fri Jan 7 09:08:31 2011 +0100
24941 Release allocated array of arguments when handling closures
24943 https://bugzilla.gnome.org/show_bug.cgi?id=638847
24945 gi/pygi-closure.c | 3 +++
24946 1 file changed, 3 insertions(+)
24948 commit 1be76d5e006efa24598ff7bf26153660dbe0a890
24949 Author: Mike Gorse <mgorse@novell.com>
24950 Date: Fri Jan 7 09:07:35 2011 +0100
24952 Release GIValueInfo when checking an enum argument
24954 https://bugzilla.gnome.org/show_bug.cgi?id=638847
24956 gi/pygi-argument.c | 1 +
24957 1 file changed, 1 insertion(+)
24959 commit 43849c51391fc9cd239697065c3d40fa02fb6783
24960 Author: John (J5) Palmieri <johnp@redhat.com>
24961 Date: Thu Jan 6 17:30:14 2011 -0500
24965 gi/pygi-cache.c | 24 ++++++++++++------------
24966 gi/pygi-cache.h | 42 +++++++++++++++++++++---------------------
24967 2 files changed, 33 insertions(+), 33 deletions(-)
24969 commit 8b5b3d2bbbbdf5d26c83e9a6fe67121cbd77ebe1
24970 Author: John (J5) Palmieri <johnp@redhat.com>
24971 Date: Thu Jan 6 17:29:00 2011 -0500
24973 add marshalling for basic types and add more skeleton code
24975 * still doesn't compile
24977 gi/pygi-argument.c | 708
24978 +++++++++++++++++++++++++++++++++++++++++++++++++++++
24979 gi/pygi-argument.h | 35 ++-
24980 gi/pygi-cache.c | 82 +++++--
24981 gi/pygi-cache.h | 41 +++-
24982 4 files changed, 832 insertions(+), 34 deletions(-)
24984 commit f554cf62848104d31518138ae85bc51acaafda67
24985 Author: John (J5) Palmieri <johnp@redhat.com>
24986 Date: Tue Jan 4 18:49:53 2011 -0500
24988 first checkin of the new caching branch
24990 * this does not compile and is not hooked up to the build system
24991 * lays out the caching data structures and some skeleton functions
24993 gi/pygi-cache.c | 480
24994 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
24995 gi/pygi-cache.h | 104 ++++++++++++
24996 2 files changed, 584 insertions(+)
24998 commit 8d5a7857876669f56bb03bf618bcfdcc290721c0
24999 Author: Eitan Isaacson <eitan@monotonous.org>
25000 Date: Wed Dec 22 12:34:10 2010 -0800
25002 Respect different type lengths when assigning out-argument pointers.
25004 https://bugzilla.gnome.org/show_bug.cgi?id=637832
25006 gi/pygi-closure.c | 66
25007 ++++++++++++++++++++++++++++++++++++++++++++++---------
25008 1 file changed, 56 insertions(+), 10 deletions(-)
25010 commit f14976ffabec28f6cafe1e37dc81d207a947d4ca
25011 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25012 Date: Tue Dec 28 18:34:25 2010 +0100
25014 Fix stupid name clash
25016 gi/module.py | 7 +++++--
25017 1 file changed, 5 insertions(+), 2 deletions(-)
25019 commit 01b2a193d403beb861eab524300b4f1af63157ce
25020 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25021 Date: Tue Dec 28 13:49:18 2010 +0100
25023 Add /usr/share to XDG_DATA_DIRS when running the tests
25025 tests/Makefile.am | 7 ++++++-
25026 1 file changed, 6 insertions(+), 1 deletion(-)
25028 commit efc186f692f9eac781cc47456be74a3da7f14dcd
25029 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25030 Date: Tue Dec 28 13:25:34 2010 +0100
25032 Comment out tests that require SRV lookups
25034 tests/test_gresolver.py | 5 ++++-
25035 1 file changed, 4 insertions(+), 1 deletion(-)
25037 commit d2462cc1ab51d76fb4625c47c3d34de1d5d0dee8
25038 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25039 Date: Tue Dec 28 13:00:16 2010 +0100
25041 Use suppresion file when running valgrind
25043 tests/Makefile.am | 2 +-
25044 tests/python.supp | 387
25045 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
25046 2 files changed, 388 insertions(+), 1 deletion(-)
25048 commit 0ee58113ecbea72784c52de928c041fc8fc88984
25049 Author: Ignacio Casal Quinteiro <icq@gnome.org>
25050 Date: Thu Dec 23 00:10:41 2010 +0100
25054 gi/pygi-argument.c | 16 +++++++---------
25055 gi/pygi-foreign-cairo.c | 13 ++-----------
25056 gio/gfile.override | 5 ++---
25057 glib/pyglib-python-compat.h | 3 +++
25058 glib/pyglib.c | 2 +-
25059 glib/pygmainloop.c | 3 ++-
25060 6 files changed, 17 insertions(+), 25 deletions(-)
25062 commit 78ea84cd91392400ebac5a361ef8793bfe928fd0
25063 Author: Jesse van den Kieboom <jesse.vandenkieboom@epfl.ch>
25064 Date: Sun Dec 19 23:10:57 2010 +0100
25066 Allow comparing Gtk.TreePath to None
25068 https://bugzilla.gnome.org/show_bug.cgi?id=637615
25070 gi/overrides/Gtk.py | 12 ++++++------
25071 tests/test_overrides.py | 6 ++++++
25072 2 files changed, 12 insertions(+), 6 deletions(-)
25074 commit 046cc5915286e042d1040271a90676b77632409e
25075 Author: John (J5) Palmieri <johnp@redhat.com>
25076 Date: Thu Dec 16 15:41:10 2010 -0500
25078 handle unicode objects in properties
25080 * There are still some cavets in Python 2:
25081 - properties are returned as String objects with the unicode
25083 - you must add # coding=utf-8 to the top of your python file
25085 will error out if it sees embeded unicode charaters (such as when
25086 supporting python 3 and python 2 from the same source)
25088 https://bugzilla.gnome.org/show_bug.cgi?id=620579
25090 gobject/pygtype.c | 35 ++++++++++++++++++++++++++---------
25091 tests/test_properties.py | 16 ++++++++++++++++
25092 2 files changed, 42 insertions(+), 9 deletions(-)
25094 commit 7aa783d5cd674f34da318f826bd5f4a0e09d24cb
25095 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
25096 Date: Tue Dec 14 12:29:54 2010 +0100
25098 dsextras.py: check if gcc is there when platform is win32 and compiler
25101 dsextras.py | 6 ++++++
25102 1 file changed, 6 insertions(+)
25104 commit cebf5f09a6c5018ced64f35e7747fc81b93b823e
25105 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
25106 Date: Tue Dec 14 12:29:01 2010 +0100
25108 dsextras.py: be consistent in how distutils imports are done
25110 dsextras.py | 6 +++---
25111 1 file changed, 3 insertions(+), 3 deletions(-)
25113 commit 35e590d48c78f2e76c47c2b4eaf0f7e8d1ed5c93
25114 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
25115 Date: Tue Dec 14 12:25:07 2010 +0100
25117 dsextras.py: add have_gcc() function
25119 dsextras.py | 5 +++++
25120 1 file changed, 5 insertions(+)
25122 commit 637c2c287cfb0e89365026531c651111f5593ac7
25123 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
25124 Date: Tue Dec 14 12:24:41 2010 +0100
25126 dsextras.py: use distutils.spawn.find_executable for have_pkgconfig()
25128 dsextras.py | 8 ++------
25129 1 file changed, 2 insertions(+), 6 deletions(-)
25131 commit 020d00bc0ce7b77006b4d4f42d63122d79bcbf89
25132 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
25133 Date: Tue Dec 14 12:22:54 2010 +0100
25135 setup.py: fix another case of use True/False instead of 1/0
25138 1 file changed, 1 insertion(+), 1 deletion(-)
25140 commit b03cc9e0d66d8caea3cd6a63db198c43de9267e9
25141 Author: Paolo Borelli <pborelli@gnome.org>
25142 Date: Mon Dec 13 10:21:52 2010 +0100
25144 pygi-convert.sh: improve GtkSourceView conversion
25146 pygi-convert.sh | 7 +++++++
25147 1 file changed, 7 insertions(+)
25149 commit fbc12cd7c09a67de9e28b7b0b28de9dc0e0e3418
25150 Author: Paolo Borelli <pborelli@gnome.org>
25151 Date: Mon Dec 13 10:27:56 2010 +0100
25153 pygi-convert.sh: Gtk.DialogFlags conversion
25155 pygi-convert.sh | 1 +
25156 1 file changed, 1 insertion(+)
25158 commit 73e933d2429aea4d14e15350a538da1c5c3f71eb
25159 Author: José Alburquerque <jaalburqu@svn.gnome.org>
25160 Date: Sun Dec 12 20:38:46 2010 -0500
25162 Doc Extractor: Print the gtk-doc blocks sorted by function name.
25164 * codegen/docextract_to_xml.py: Print the xml of the gtk-doc
25166 alphabetical order according to the identifier (function name)
25168 the generation of xml files in the C++ bindings is deterministic.
25169 Thanks to Krzesimir Nowak for suggesting this in a gtksourceviewmm
25172 codegen/docextract_to_xml.py | 2 +-
25173 1 file changed, 1 insertion(+), 1 deletion(-)
25175 commit db7ffa75b007074cb6b33b547c6d8140da300a3e
25176 Author: Paolo Borelli <pborelli@gnome.org>
25177 Date: Mon Dec 13 00:17:26 2010 +0100
25179 pygi-convert.sh: add more Gtk conversions and sort
25181 pygi-convert.sh | 50 ++++++++++++++++++++++++++------------------------
25182 1 file changed, 26 insertions(+), 24 deletions(-)
25184 commit f4bfe73d0ccedf7f671d3acd6d9e262d5383b733
25185 Author: Paolo Borelli <pborelli@gnome.org>
25186 Date: Mon Dec 13 00:01:40 2010 +0100
25188 pygi-convert.sh: convert Atk
25190 pygi-convert.sh | 12 ++++++++++++
25191 1 file changed, 12 insertions(+)
25193 commit e55ce3667eb1d352bf96f265bf018ffe8aea75f9
25194 Author: Paolo Borelli <pborelli@gnome.org>
25195 Date: Sun Dec 12 23:48:48 2010 +0100
25197 pygi-convert.sh: convert a few more Gio types
25199 pygi-convert.sh | 9 +++++++++
25200 1 file changed, 9 insertions(+)
25202 commit acc9f84bc6e13d76c6516cefe393d4a4f868aa24
25203 Author: Paolo Borelli <pborelli@gnome.org>
25204 Date: Sun Dec 12 14:19:00 2010 +0100
25206 pygi-convert.sh: more GLib conversion
25208 pygi-convert.sh | 7 +++++++
25209 1 file changed, 7 insertions(+)
25211 commit c903390814bebdc62d530472f6f94feecc59b8b3
25212 Author: Paolo Borelli <pborelli@gnome.org>
25213 Date: Sun Dec 12 14:00:34 2010 +0100
25215 pygi-convert.sh: remove two cases handled by overrides
25217 pygi-convert.sh | 2 --
25218 1 file changed, 2 deletions(-)
25220 commit d33c987e505ec8ddffa2b8cb5526f05b9b5f62be
25221 Author: Paolo Borelli <pborelli@gnome.org>
25222 Date: Sun Dec 12 13:38:56 2010 +0100
25224 Override Gtk.ScrolledWindow constructor
25226 gi/overrides/Gtk.py | 7 +++++++
25227 tests/test_overrides.py | 7 +++++++
25228 2 files changed, 14 insertions(+)
25230 commit 1c24bb089fcd69e3104ae72a0e7560a8c5a3f05b
25231 Author: Paolo Borelli <pborelli@gnome.org>
25232 Date: Sun Dec 12 12:32:39 2010 +0100
25234 pygi-convert.sh: Fix 'find' syntax
25236 pygi-convert.sh | 2 +-
25237 1 file changed, 1 insertion(+), 1 deletion(-)
25239 commit f0a1d6b6bb53d0fa2788d8b9027d737b0aef8dfc
25240 Author: Paolo Borelli <pborelli@gnome.org>
25241 Date: Sun Dec 12 12:29:38 2010 +0100
25243 pygi-convert.sh: start handling Gio and GLib
25245 pygi-convert.sh | 8 ++++++++
25246 1 file changed, 8 insertions(+)
25248 commit 365bf3251af3498dc797a58cce071805451b49b1
25249 Author: Paolo Borelli <pborelli@gnome.org>
25250 Date: Sat Dec 11 23:05:31 2010 +0100
25252 pygi-convert.sh: convert Gdk.ScrollDirection.
25254 pygi-convert.sh | 1 +
25255 1 file changed, 1 insertion(+)
25257 commit bca603de0f217fb290189a0ea330f82961c46d5d
25258 Author: Paolo Borelli <pborelli@gnome.org>
25259 Date: Sat Dec 11 15:03:21 2010 +0100
25261 Override Pango.Layout constructor.
25263 I must take a Pango.Context argument. Unfortumately the context is
25265 gobject property so we need to jump through some oops.
25267 gi/overrides/Pango.py | 13 +++++++++++++
25268 tests/test_overrides.py | 6 ++++++
25269 2 files changed, 19 insertions(+)
25271 commit df233301802e3f7f9ce338cde015ca2a2fc648ab
25272 Author: Paolo Borelli <pborelli@gnome.org>
25273 Date: Sat Dec 11 14:18:53 2010 +0100
25275 Remove Pango.FontDescription() conversion.
25277 It is now properly handled by an override.
25279 pygi-convert.sh | 1 -
25280 1 file changed, 1 deletion(-)
25282 commit d8abcc9463542af9cd43d71849d0ad4c183b570b
25283 Author: Paolo Borelli <pborelli@gnome.org>
25284 Date: Fri Dec 10 14:05:20 2010 +0100
25286 Override GtkAction and GtkRadioAction constructors.
25288 gi/overrides/Gtk.py | 20 +++++++++++++++++---
25289 tests/test_overrides.py | 18 ++++++++++++++++++
25290 2 files changed, 35 insertions(+), 3 deletions(-)
25292 commit 7924b18a99a0680c04aca46be4b64a7aa507dfe5
25293 Author: Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com>
25294 Date: Sat Dec 4 22:13:28 2010 +0000
25296 Override Adjustment constructor to behave like pygtk
25298 https://bugzilla.gnome.org/show_bug.cgi?id=636486
25300 gi/overrides/Gtk.py | 7 +++++++
25301 tests/test_overrides.py | 9 +++++++++
25302 2 files changed, 16 insertions(+)
25304 commit e76352dd83c8706e68ad57d00d185da9afea99c4
25305 Author: John (J5) Palmieri <johnp@redhat.com>
25306 Date: Thu Dec 9 13:23:10 2010 -0500
25308 add secondary_text apis to MessageDialog
25310 gi/overrides/Gtk.py | 8 ++++++++
25311 tests/test_overrides.py | 8 ++++++++
25312 2 files changed, 16 insertions(+)
25314 commit de682b2d36c362140ab7d43c0743b01ec0865a74
25315 Author: John (J5) Palmieri <johnp@redhat.com>
25316 Date: Wed Dec 8 16:39:27 2010 -0500
25318 [gi] get rid of some debug prints and fix error messages
25320 gi/overrides/Gtk.py | 7 +++----
25321 1 file changed, 3 insertions(+), 4 deletions(-)
25323 commit dbb16571803bf51f497768bf80944514f4290ee5
25324 Author: Paolo Borelli <pborelli@gnome.org>
25325 Date: Wed Dec 8 18:25:15 2010 +0100
25327 Fix demo for override changes.
25329 demos/gtk-demo/gtk-demo.py | 5 +++--
25330 1 file changed, 3 insertions(+), 2 deletions(-)
25332 commit 2adcd95762944a4e27123093d3c8d080e49be1ea
25333 Author: Paolo Borelli <pborelli@gnome.org>
25334 Date: Wed Dec 8 18:06:01 2010 +0100
25336 Override Pango.FontDescription.
25338 demos/gtk-demo/gtk-demo.py | 2 +-
25339 gi/overrides/Makefile.am | 1 +
25340 gi/overrides/Pango.py | 40 ++++++++++++++++++++++++++++++++++++++++
25341 tests/test_overrides.py | 7 +++++++
25342 4 files changed, 49 insertions(+), 1 deletion(-)
25344 commit 769da968c9187414d0420412d8fb8c833d12042a
25345 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25346 Date: Wed Dec 8 17:38:11 2010 +0100
25348 Stop checking that all vfuncs are implemented
25350 Because some methods are optionally implementable but g-i won't
25353 https://bugzilla.gnome.org/show_bug.cgi?id=619606
25355 gi/gimodule.c | 4 +++-
25356 gi/types.py | 12 ++----------
25357 tests/test_gi.py | 10 ----------
25358 3 files changed, 5 insertions(+), 21 deletions(-)
25360 commit 167a01c46b3fa0b3c8339502c875d32bd2bca974
25361 Author: Paolo Borelli <pborelli@gnome.org>
25362 Date: Wed Dec 8 17:37:00 2010 +0100
25364 Fix usage of TreeIter api that is now an override.
25366 demos/gtk-demo/gtk-demo.py | 6 +++---
25367 1 file changed, 3 insertions(+), 3 deletions(-)
25369 commit d2cfd6e9250d40de7c715ac74e299deddf137683
25370 Author: Paolo Borelli <pborelli@gnome.org>
25371 Date: Wed Dec 8 17:34:54 2010 +0100
25373 Fix Gtk.Label(label="Foo")
25375 Use 'label' as an argument name instead of 'str', otherwise we may
25376 end up up with two 'label' in the kwds dict. Besides 'str' is a
25379 gi/overrides/Gtk.py | 4 ++--
25380 1 file changed, 2 insertions(+), 2 deletions(-)
25382 commit c0c684c9bb4e2bc08d7cb6ac246705e8a3b77656
25383 Author: Paolo Borelli <pborelli@gnome.org>
25384 Date: Wed Dec 8 14:16:39 2010 +0100
25386 Fix typo when raising an exception
25389 1 file changed, 1 insertion(+), 1 deletion(-)
25391 commit 88c9a3ad49d9fcf779c3523672d8bf4767910301
25392 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25393 Date: Wed Dec 8 10:46:27 2010 +0100
25395 pygi-convert.sh: Added more conversions
25397 pygi-convert.sh | 14 ++++++++++++++
25398 1 file changed, 14 insertions(+)
25400 commit 4d8d96326b2cac91e6d75e6601b92e202d1918ff
25401 Author: Paolo Borelli <pborelli@gnome.org>
25402 Date: Tue Dec 7 20:39:15 2010 +0100
25404 Override LinkButton constructor to make 'uri' mandatory
25406 gi/overrides/Gtk.py | 7 +++++++
25407 tests/test_overrides.py | 6 ++++++
25408 2 files changed, 13 insertions(+)
25410 commit f4f7fb35af1b41598dc050f5df155a01c370a920
25411 Author: Dmitry Morozov <dmitry.a.morozov@yandex.ru>
25412 Date: Sat Dec 4 19:19:19 2010 +0600
25414 Container should be iterable.
25416 gi/overrides/Gtk.py | 9 +++++++++
25417 tests/test_overrides.py | 6 +++++-
25418 2 files changed, 14 insertions(+), 1 deletion(-)
25420 commit d2ad05d6d8d53b941e0ad33fcb200f1245a2d308
25421 Author: Paolo Borelli <pborelli@gnome.org>
25422 Date: Tue Dec 7 14:13:00 2010 +0100
25424 No need to import Gdk
25426 gi/overrides/Gtk.py | 1 -
25427 1 file changed, 1 deletion(-)
25429 commit b6a40badf0b2b59e690ce818efb03c7c816b8a04
25430 Author: Paolo Borelli <pborelli@gnome.org>
25431 Date: Tue Dec 7 14:07:53 2010 +0100
25435 gi/overrides/Gtk.py | 7 +++----
25436 1 file changed, 3 insertions(+), 4 deletions(-)
25438 commit cdc9c26553bf47ea488676e7bdc5f8ab0a2c906b
25439 Author: John (J5) Palmieri <johnp@redhat.com>
25440 Date: Mon Dec 6 16:05:30 2010 -0500
25442 [gi] make sure Gtk.Button override passes all keywords to parent
25445 gi/overrides/Gtk.py | 4 ++--
25446 1 file changed, 2 insertions(+), 2 deletions(-)
25448 commit cede81ad65db017e95543d8d35715751aa202fed
25449 Author: Paolo Borelli <pborelli@gnome.org>
25450 Date: Sun Dec 5 13:31:20 2010 +0100
25452 Fix cut&paste error in the Label override
25454 gi/overrides/Gtk.py | 2 +-
25455 1 file changed, 1 insertion(+), 1 deletion(-)
25457 commit 607c59b74ebbc1e39cb4121c870b689e1888c106
25458 Author: Paolo Borelli <pborelli@gnome.org>
25459 Date: Sat Dec 4 16:03:27 2010 +0100
25461 pygi-convert.sh: handle TextWindowType
25463 pygi-convert.sh | 1 +
25464 1 file changed, 1 insertion(+)
25466 commit dfeabe0b68938e27da2e65903983b5113dc422f1
25467 Author: Paolo Borelli <pborelli@gnome.org>
25468 Date: Sat Dec 4 15:49:15 2010 +0100
25470 Override Label constructor to behave like pygtk
25472 gi/overrides/Gtk.py | 7 +++++++
25473 tests/test_overrides.py | 4 ++++
25474 2 files changed, 11 insertions(+)
25476 commit da4e045e5abbed2796cc4ed39df35a0dde2de31b
25477 Author: Paolo Borelli <pborelli@gnome.org>
25478 Date: Sat Dec 4 15:40:35 2010 +0100
25480 Override GtkTable constructor to behave like pygtk
25482 gi/overrides/Gtk.py | 7 +++++++
25483 tests/test_overrides.py | 12 ++++++++++++
25484 2 files changed, 19 insertions(+)
25486 commit 81452c23ab1befa59ff375692e582791432796a5
25487 Author: Paolo Borelli <pborelli@gnome.org>
25488 Date: Sat Dec 4 12:59:43 2010 +0100
25490 pygi-convert.sh: convert MovementStep
25492 pygi-convert.sh | 1 +
25493 1 file changed, 1 insertion(+)
25495 commit 4d097eea94258eda0c328711491fd456cbd6741b
25496 Author: Paolo Borelli <pborelli@gnome.org>
25497 Date: Sat Dec 4 11:57:02 2010 +0100
25499 Update Gdk overrides to work with latest Gtk+ 3
25501 For now added consitionals on version == 2.0, but maybe at some
25503 shuld just clean up the old stuff.
25505 gi/overrides/Gdk.py | 22 ++++++++++++++++------
25506 1 file changed, 16 insertions(+), 6 deletions(-)
25508 commit cda317195566711d66190145b545e26ed7226172
25509 Author: Johan Dahlin <johan@gnome.org>
25510 Date: Thu Dec 2 23:47:40 2010 -0200
25512 Gtk: add an override for Gtk.main_quit
25514 Override gtk.main_quit so that it can be used as a callback
25515 to signals, most importantly to the destroy signal of a widget:
25517 widget.connect('destroy', gtk.main_quit)
25519 This is compatible with what PyGTK does.
25521 https://bugzilla.gnome.org/show_bug.cgi?id=636336
25523 gi/overrides/Gtk.py | 5 ++++-
25524 gi/overrides/__init__.py | 27 +++++++++++++++++++++++++--
25525 2 files changed, 29 insertions(+), 3 deletions(-)
25527 commit 82689cbf53d92b1b951a459fe3de0e1d3a91791a
25528 Author: John (J5) Palmieri <johnp@redhat.com>
25529 Date: Thu Dec 2 16:27:04 2010 -0500
25531 [gi] handle subtypes when inserting into tree models
25533 * Often modules will give back basic types wrapped in a subtype.
25534 This is the case with D-Bus where you may want to keep some of the
25535 metadata around. More often than not, the developer is just looking
25536 to use the basetype.
25538 * This override checks the column type and handles basic types such as
25539 gchararrays, ints, longs, floats and doubles, converting them
25541 base types before sending them to the generic GI type marshaller.
25543 * More types may need to be supported but these are the common
25547 https://bugzilla.gnome.org/show_bug.cgi?id=635172
25549 gi/overrides/Gtk.py | 38 ++++++++++++++++++++++++++++++++++++--
25550 tests/test_overrides.py | 8 +++++++-
25551 2 files changed, 43 insertions(+), 3 deletions(-)
25553 commit 677490e9402bad7b7c2a832345ef54f7f0c5fc7f
25554 Author: Paolo Borelli <pborelli@gnome.org>
25555 Date: Fri Dec 3 23:39:50 2010 +0100
25557 Override TreeSelection.select_path and TreeView.scroll_to_cell
25559 The "path" argument may also be a string or a tuple
25561 gi/overrides/Gtk.py | 10 ++++++++++
25562 tests/test_overrides.py | 29 +++++++++++++++++++++++++++++
25563 2 files changed, 39 insertions(+)
25565 commit dacfe618fa244445c979f1a5efa80c1f9a5a4ae9
25566 Author: Paolo Borelli <pborelli@gnome.org>
25567 Date: Fri Dec 3 23:29:00 2010 +0100
25569 Override TreePath.__new__
25571 Instead of having a private _tree_path_from_string it is cleaner to
25572 override __new__ and it will be useful for all the api that take a
25573 TreePath or a string or a tuple.
25575 gi/overrides/Gtk.py | 33 +++++++++++++++------------------
25576 tests/test_overrides.py | 18 ++++++++++++++++++
25577 2 files changed, 33 insertions(+), 18 deletions(-)
25579 commit 7a8af9e220ee48aa28f6b025c5dae324b14fe128
25580 Author: Paolo Borelli <pborelli@gnome.org>
25581 Date: Sun Nov 28 13:02:30 2010 +0100
25583 Override Container to behave like a sequence
25585 gi/overrides/Gtk.py | 6 ++++++
25586 tests/test_overrides.py | 11 +++++++++++
25587 2 files changed, 17 insertions(+)
25589 commit 94e8befc935d4a6c7f766e34195e10fc3fb3b93a
25590 Author: John (J5) Palmieri <johnp@redhat.com>
25591 Date: Tue Nov 30 16:57:05 2010 -0500
25593 refactor Jonathan Matthew recurse vfunc patch so it applys and clean
25596 * this patch does the recursion using the previous patche's support
25599 gi/types.py | 55 +++++++++++++++++++++++++++++++++++++++++++++----------
25600 1 file changed, 45 insertions(+), 10 deletions(-)
25602 commit 9c5aee4f06f92457f9ae987656c0c469f76d0ee8
25603 Author: Jonathan Matthew <jonathan@d14n.org>
25604 Date: Thu Jul 22 23:19:51 2010 +1000
25606 Recurse up through base classes when setting up vfuncs
25608 * this patch adds the support methods to do the recursion
25610 https://bugzilla.gnome.org/show_bug.cgi?id=625033
25612 gi/gimodule.c | 130
25613 ++++++++++++++++++++++++++++++++++++++++---------------
25614 tests/test_gi.py | 37 ++++++++++++++++
25615 2 files changed, 131 insertions(+), 36 deletions(-)
25617 commit 78358e1ab54d02317f397276adee03ecb2187588
25618 Author: John (J5) Palmieri <johnp@redhat.com>
25619 Date: Mon Nov 29 18:29:57 2010 -0500
25621 add a profiling torture test for when we fix up invoke
25623 tests/test_everything.py | 67
25624 ++++++++++++++++++++++++++++++++++++++++++++++++
25625 1 file changed, 67 insertions(+)
25627 commit 792e679c06df4357843fd310c7953a931172fc99
25628 Author: John (J5) Palmieri <johnp@redhat.com>
25629 Date: Mon Nov 29 16:41:38 2010 -0500
25631 moved dynamic and base modules outside of gtk-2.0 directory
25633 * do not move header files yet as they are mostly used by static
25635 * do not remove pygtk.pth and pygtk.py files yet - there is a debate
25637 these back to pygtk but you might want to import gio static
25639 having to have pygtk installed
25640 * I have not tested this with pygtk, committing it so we can find
25642 causes any issues with legacy modules and code
25644 gi/Makefile.am | 2 +-
25645 gi/overrides/Makefile.am | 2 +-
25646 gi/repository/Makefile.am | 2 +-
25647 glib/Makefile.am | 2 +-
25648 gobject/Makefile.am | 2 +-
25649 tests/test_gi.py | 2 --
25650 tests/test_overrides.py | 3 ---
25651 7 files changed, 5 insertions(+), 10 deletions(-)
25653 commit c587e1ace7429195ac6fd4db03d2f33e2af09838
25654 Author: John (J5) Palmieri <johnp@redhat.com>
25655 Date: Mon Nov 29 15:11:46 2010 -0500
25657 add test for inout argument count
25659 tests/test_gi.py | 1 +
25660 1 file changed, 1 insertion(+)
25662 commit 5de88b4bcffdafcf8c7c20033cdf95dc690199ce
25663 Author: John (J5) Palmieri <johnp@redhat.com>
25664 Date: Mon Nov 22 19:17:23 2010 -0500
25666 [gi] add check for UNICHAR
25668 https://bugzilla.gnome.org/show_bug.cgi?id=623615
25670 gi/pygi-argument.c | 27 ++++++++++++++++++++++++++-
25671 tests/test_everything.py | 17 +++++++++++++++--
25672 2 files changed, 41 insertions(+), 3 deletions(-)
25674 commit f129b3db2c78d3cce3614993fdd1619fb9eb9c79
25675 Author: Paolo Borelli <pborelli@gnome.org>
25676 Date: Sun Nov 21 12:16:53 2010 +0100
25680 https://bugzilla.gnome.org/show_bug.cgi?id=623615
25682 gi/pygi-argument.c | 60
25683 ++++++++++++++++++++++++++++++++++++++++++++++++
25684 gi/pygi-info.c | 5 ++++
25685 tests/test_everything.py | 5 ++++
25686 3 files changed, 70 insertions(+)
25688 commit fd2c0288eb67823fca1265348a27a9f8f147ae50
25689 Author: Paolo Borelli <pborelli@gnome.org>
25690 Date: Sat Nov 27 23:01:42 2010 +0100
25692 pygi-convert.sh: gtk.accel_map -> Gtk.AccelMap._
25694 pygi-convert.sh | 1 +
25695 1 file changed, 1 insertion(+)
25697 commit 13d0ff1d9c129bb458e234b630ebe920b50e2e0f
25698 Author: Paolo Borelli <pborelli@gnome.org>
25699 Date: Sat Nov 27 22:34:13 2010 +0100
25701 pygi-convert.sh: handle "from gtk import gdk"
25703 pygi-convert.sh | 2 ++
25704 1 file changed, 2 insertions(+)
25706 commit 63a97634031c3d159ad77fdaa1f6341d7656eb07
25707 Author: Paolo Borelli <pborelli@gnome.org>
25708 Date: Sat Nov 27 22:23:24 2010 +0100
25710 pygi-convert.sh: add some Pango special cases
25712 pygi-convert.sh | 3 +++
25713 1 file changed, 3 insertions(+)
25715 commit 57e42bf4230d1aa20a47e3b0df2e509602333892
25716 Author: Paolo Borelli <pborelli@gnome.org>
25717 Date: Sat Nov 27 19:51:38 2010 +0100
25719 Override TextIter (begins|ends|toggles)_tag()
25721 Make the tag argument optional.
25723 gi/overrides/Gtk.py | 9 +++++++++
25724 tests/test_overrides.py | 17 +++++++++++++++++
25725 2 files changed, 26 insertions(+)
25727 commit 828b698e47ee819a60d24a772a3cc51ff9cd6601
25728 Author: Paolo Borelli <pborelli@gnome.org>
25729 Date: Sat Nov 27 19:32:48 2010 +0100
25731 Override TextBuffer.set_text() to make length optional
25733 gi/overrides/Gtk.py | 3 +++
25734 tests/test_overrides.py | 11 ++++++++++-
25735 2 files changed, 13 insertions(+), 1 deletion(-)
25737 commit bf55dc862755a57bb1b998702d284fc460e88a30
25738 Author: Paolo Borelli <pborelli@gnome.org>
25739 Date: Sat Nov 27 16:46:40 2010 +0100
25741 Override TextBuffer.create_mark()
25743 Override create_mark to make the left_gravity argument optional
25745 gi/overrides/Gtk.py | 3 +++
25746 tests/test_overrides.py | 3 +++
25747 2 files changed, 6 insertions(+)
25749 commit 94c0e2f71636d055bdebe3ec378f3d339eea66c9
25750 Author: Paolo Borelli <pborelli@gnome.org>
25751 Date: Sat Nov 27 16:10:33 2010 +0100
25753 Fix TextBuffer.get_selection_bounds() override
25755 Fix the override and add unit test
25757 gi/overrides/Gtk.py | 8 +++++---
25758 tests/test_overrides.py | 7 +++++++
25759 2 files changed, 12 insertions(+), 3 deletions(-)
25761 commit 0cd717e3926276540b9145e58a4a3368136b00de
25762 Author: John (J5) Palmieri <johnp@redhat.com>
25763 Date: Mon Nov 22 18:35:09 2010 -0500
25765 [gi] fix ActionGroup constructor to allow other keyword properties
25768 gi/overrides/Gtk.py | 4 ++--
25769 1 file changed, 2 insertions(+), 2 deletions(-)
25771 commit 226777cdb70fc72d206664ffd8b6737f7239d23f
25772 Author: John (J5) Palmieri <johnp@redhat.com>
25773 Date: Mon Nov 22 18:32:28 2010 -0500
25775 [gi] require the name parameter when creatin a Gtk.ActionGroup
25777 gi/overrides/Gtk.py | 3 +++
25778 tests/test_overrides.py | 2 ++
25779 2 files changed, 5 insertions(+)
25781 commit d0049fa9982d13b3553b05569fb0a227e48b6647
25782 Author: Paolo Borelli <pborelli@gnome.org>
25783 Date: Sun Nov 21 15:20:58 2010 +0100
25785 Override UIManager.insert_action_group
25787 https://bugzilla.gnome.org/show_bug.cgi?id=635437
25789 gi/overrides/Gtk.py | 3 +++
25790 tests/test_overrides.py | 34 +++++++++++++++++++++-------------
25791 2 files changed, 24 insertions(+), 13 deletions(-)
25793 commit e1db544e46aeed984133896af34b671a6a5547df
25794 Author: Paolo Borelli <pborelli@gnome.org>
25795 Date: Sun Nov 21 23:03:25 2010 +0100
25797 Override TreeModel.get() to return a tuple
25799 https://bugzilla.gnome.org/show_bug.cgi?id=635466
25801 gi/overrides/Gtk.py | 15 +++++++++++++++
25802 tests/test_overrides.py | 6 ++++++
25803 2 files changed, 21 insertions(+)
25805 commit a5e806ad8a8b279402ff7adb1c1cdc04f9f3da76
25806 Author: Paolo Borelli <pborelli@gnome.org>
25807 Date: Sun Nov 21 21:57:40 2010 +0100
25809 Make TreeSelection.get_selected_rows compatible with PyGtk
25811 https://bugzilla.gnome.org/show_bug.cgi?id=635464
25813 gi/overrides/Gtk.py | 6 ++++++
25814 1 file changed, 6 insertions(+)
25816 commit 1c537bc67107948c92b51ba6ba749747e84263e2
25817 Author: John (J5) Palmieri <johnp@redhat.com>
25818 Date: Mon Nov 22 15:04:00 2010 -0500
25820 [gi] switch to using sequences/tuples when marshalling
25821 cairo_rectangle_int_t
25823 * Upstream pycairo didn't want to add a new wrapper for
25824 cairo_rectangle_int_t
25825 * this works around that issue by using 4 element squences instead
25827 should be accepted by pycairo for any API that takes a rect
25829 gi/pygi-foreign-cairo.c | 85
25830 +++++++++++++++++++++++++++++++++++++------------
25831 1 file changed, 64 insertions(+), 21 deletions(-)
25833 commit 4cede8f12321bed6c3b71813a62c01b61853ba69
25834 Author: John (J5) Palmieri <johnp@redhat.com>
25835 Date: Fri Nov 19 16:46:53 2010 -0500
25837 [gi] overrides for treeview Drag and Drop
25839 https://bugzilla.gnome.org/show_bug.cgi?id=627367
25841 gi/overrides/Gdk.py | 7 +++++++
25842 gi/overrides/Gtk.py | 25 +++++++++++++++++++++++++
25843 2 files changed, 32 insertions(+)
25845 commit 3fd51bb903724b752f72f49c7cb35652b819791d
25846 Author: John (J5) Palmieri <johnp@redhat.com>
25847 Date: Fri Nov 19 16:44:32 2010 -0500
25849 [gi] when encountering guint8 arrays treat them as byte arrays
25851 * In Python 2 this means returning a PyString object
25852 * In Python 3 we return a PyBytes object
25854 https://bugzilla.gnome.org/show_bug.cgi?id=627367
25856 gi/pygi-argument.c | 65
25857 ++++++++++++++++++++++++++++++++++++++++++++----------
25858 tests/test_gi.py | 6 +++--
25859 2 files changed, 57 insertions(+), 14 deletions(-)
25861 commit 7ddb0f7fd8b1b9e8f691c6d42a83cb16c6561d26
25862 Author: Martin Pitt <martin.pitt@ubuntu.com>
25863 Date: Fri Nov 19 18:19:38 2010 +0100
25865 pygi-convert.sh: Add pynotify -> Notify
25867 pygi-convert.sh | 3 +++
25868 1 file changed, 3 insertions(+)
25870 commit bf03d4db03a7739ac16ddc4e614441557ede554d
25871 Author: Martin Pitt <martin.pitt@ubuntu.com>
25872 Date: Fri Nov 19 09:08:07 2010 +0100
25874 pygi-convert.sh: Remove sugar specifics, and allow command line
25877 This script is generally useful for converting pygtk2 projects,
25879 sugar. Remove the sugar specific bits, since they will just cause
25882 Also allow the user to specify the files to convert as command line
25883 arguments. If not given, all *.py files will be processed.
25885 https://bugzilla.gnome.org/show_bug.cgi?id=635244
25887 pygi-convert.sh | 25 +++++--------------------
25888 1 file changed, 5 insertions(+), 20 deletions(-)
25890 commit 18f5d229d3a4b9520c1c456be2635c8e36015c12
25891 Author: Martin Pitt <martin.pitt@ubuntu.com>
25892 Date: Fri Nov 19 09:00:35 2010 +0100
25894 pygi-convert.sh: Cover Message and Buttons types
25896 https://bugzilla.gnome.org/show_bug.cgi?id=635244
25898 pygi-convert.sh | 2 ++
25899 1 file changed, 2 insertions(+)
25901 commit ef74273c2043944708515e59a654ebe4944b46ff
25902 Author: John (J5) Palmieri <johnp@redhat.com>
25903 Date: Thu Nov 18 13:54:48 2010 -0500
25905 [gi] fix actiongroup test since actions are hashed
25907 * when actions are listed they may not show up in the order they
25909 since they reside in an unordered hash internally
25911 tests/test_overrides.py | 9 +++++----
25912 1 file changed, 5 insertions(+), 4 deletions(-)
25914 commit 2c25886bf6710568d0646f82dce4770faa44c40d
25915 Author: John (J5) Palmieri <johnp@redhat.com>
25916 Date: Wed Nov 17 14:38:09 2010 -0500
25918 [gi] when converting to UTF-8 accept Python Unicode objects as input
25921 https://bugzilla.gnome.org/show_bug.cgi?id=620579
25923 gi/pygi-argument.c | 14 ++++++++++++--
25924 glib/pyglib-python-compat.h | 5 +++++
25925 tests/test_gi.py | 3 +++
25926 3 files changed, 20 insertions(+), 2 deletions(-)
25928 commit 8c2d32c8205b971b4353e3d5d2ed1efa6ef0e06c
25929 Author: Damien Caliste <damien.caliste@cea.fr>
25930 Date: Fri Nov 12 10:20:32 2010 +0100
25932 Correct a bug in the freeing of memory in pygi-invoke.c.
25934 When a method with inout arguments is called from Python with
25935 a wrong number of arguments, the system crashs because of an
25936 assertion fail. This patch corrects this behaviour.
25938 https://bugzilla.gnome.org/show_bug.cgi?id=634671
25940 gi/pygi-invoke.c | 25 ++++++++++++++-----------
25941 1 file changed, 14 insertions(+), 11 deletions(-)
25943 commit d9bab3b185bb59bd29e3c3f6225f3636f58ec45e
25944 Author: John (J5) Palmieri <johnp@redhat.com>
25945 Date: Wed Nov 10 14:11:56 2010 -0500
25947 update news for release
25950 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
25951 1 file changed, 73 insertions(+)
25953 commit 1338a95339e21cc02b9df6d10166996c8b97a6bf
25954 Author: Jonathan Matthew <jonathan@d14n.org>
25955 Date: Tue Sep 28 13:44:13 2010 +1000
25957 Implement richcompare for GIBaseInfo
25959 https://bugzilla.gnome.org/show_bug.cgi?id=625033
25961 gi/pygi-info.c | 29 +++++++++++++++++++++++++++++
25962 1 file changed, 29 insertions(+)
25964 commit 9ce3edf69824935aeca9e676eaa9782786c22a97
25965 Author: John (J5) Palmieri <johnp@redhat.com>
25966 Date: Tue Nov 9 22:57:41 2010 -0500
25968 [gi] add the rectangle_int_t forign cairo type
25970 * the pycairo maintainer is not being responsive so you will need
25972 https://bugs.freedesktop.org/show_bug.cgi?id=31111
25973 * added conditionals, if the api doesn't exist in PyCairo we will
25975 without the forign structs
25977 gi/pygi-foreign-cairo.c | 4 ++++
25978 1 file changed, 4 insertions(+)
25980 commit 68b8211d8b014cf26ca7e9ab751fb3f61f228290
25981 Author: John (J5) Palmieri <johnp@redhat.com>
25982 Date: Mon Oct 25 18:28:36 2010 -0400
25984 add a foreign type for cairo_rectangle_int_t and allow it to be
25987 * this is needed because Gdk and Gtk switched from returning a
25989 to a CairoRectangleInt structure
25990 * the patch in https://bugs.freedesktop.org/show_bug.cgi?id=31111
25992 for pycairo (however there is currently no patch for python 2)
25993 * added fix for foreign types to allow them to be caller allocated
25994 * in order for a type to be caller allocated it must be able to take
25996 and create an empty struct in foreign_struct_from_arg and it must
25998 to handle GI_TRANFER_EVERYTHING in foreign_struct_to_arg.
26000 https://bugzilla.gnome.org/show_bug.cgi?id=627545
26002 gi/pygi-foreign-cairo.c | 57
26003 +++++++++++++++++++++++++++++++++++++++++++++++++
26004 gi/pygi-invoke.c | 15 +++++++++++--
26005 2 files changed, 70 insertions(+), 2 deletions(-)
26007 commit ce8b948310220288e9eef904eef4ec8f4e24a376
26008 Author: John (J5) Palmieri <johnp@redhat.com>
26009 Date: Tue Nov 9 22:11:51 2010 -0500
26011 [gi] add overrides to Gtk.Editable
26013 gi/overrides/Gtk.py | 17 +++++++++++++++++
26014 tests/test_overrides.py | 12 ++++++++++++
26015 2 files changed, 29 insertions(+)
26017 commit 87dbc716f26cefc0e9427c3d6e8befe8eabd3d1e
26018 Author: John (J5) Palmieri <johnp@redhat.com>
26019 Date: Tue Nov 9 21:12:54 2010 -0500
26021 [gi] handle virtual invokers
26023 * right now we check to see if there is an method with the same name
26024 as the virtual method and assume that is the invoker
26025 * some invokers are named different so we now ask the VFuncInfo if
26026 the vfunc has an invoker
26027 * this is still not completly correct, gi needs to support telling
26028 us which vfuncs must be overridden.
26029 * this keeps the old way of checking vfuncs while adding the edge case
26030 where vfunc is named differently from their invoker
26032 gi/pygi-info.c | 16 ++++++++++++++++
26034 2 files changed, 17 insertions(+), 1 deletion(-)
26036 commit 540e9f1f349ba3625e28b7673c92210eb8974098
26037 Author: John (J5) Palmieri <johnp@redhat.com>
26038 Date: Tue Nov 9 12:17:05 2010 -0500
26040 add overrides for the insert* apis of list_store and tree_store
26042 * add set_row to tree_model as convinience method for both list and
26045 https://bugzilla.gnome.org/show_bug.cgi?id=634423
26047 gi/overrides/Gtk.py | 80
26048 ++++++++++++++++++++++++++++++++++++++-----------
26049 tests/test_overrides.py | 53 +++++++++++++++++++++++++++++++-
26050 2 files changed, 114 insertions(+), 19 deletions(-)
26052 commit 0bcb58b9541d9ae52e1d96e6239e9dbe0698872a
26053 Author: John (J5) Palmieri <johnp@redhat.com>
26054 Date: Fri Nov 5 13:56:12 2010 -0400
26056 fix dialogs overrides which were relying on broken inheritance
26059 gi/overrides/Gtk.py | 14 ++++++++++++--
26060 1 file changed, 12 insertions(+), 2 deletions(-)
26062 commit 89c104d17d79d7b935cd76101cba19d49390f7be
26063 Author: John (J5) Palmieri <johnp@redhat.com>
26064 Date: Thu Nov 4 12:00:14 2010 -0400
26066 Add a overrides registry so we can refrence overrides inside the
26069 * Overrides have a reentrancy issue when doing inheritance. If an
26071 inherits from another override down the stack it won't see the
26073 because the module is not finished loading and will inherit from the
26074 non-overriden object instead. This causes type errors later.
26075 * By adding the overrides to a registry outside of the module we
26077 registration and make the override available as soon as the class
26079 not when the whole module is parsed.
26081 https://bugzilla.gnome.org/show_bug.cgi?id=633347
26083 gi/module.py | 12 ++++++++++-
26084 gi/overrides/GIMarshallingTests.py | 2 +-
26085 gi/overrides/Gdk.py | 2 +-
26086 gi/overrides/Gtk.py | 2 +-
26087 gi/overrides/__init__.py | 43
26088 ++++++++++++++++++++++++++++++++++++++
26089 gi/types.py | 8 -------
26090 tests/test_overrides.py | 27 ++++++++++++++++++++++++
26091 7 files changed, 84 insertions(+), 12 deletions(-)
26093 commit 878b8f630acd2146bee364054acd45cd33eea37a
26094 Merge: cdacaa9 e317838
26095 Author: John Stowers <john.stowers@gmail.com>
26096 Date: Fri Nov 5 11:40:22 2010 +1300
26098 Merge remote branch 'dieterv/setup-fixes-for-merge'
26100 commit e317838178fba5f0590fb8bd323f49602d564b53
26101 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26102 Date: Thu Nov 4 11:16:43 2010 +0100
26104 setup.py: ease maintenance burden for tests installation
26106 setup.py | 23 +++--------------------
26107 1 file changed, 3 insertions(+), 20 deletions(-)
26109 commit cdacaa9572893796e0f3aa3730d0191911cb29ee
26110 Author: John (J5) Palmieri <johnp@redhat.com>
26111 Date: Wed Nov 3 09:51:09 2010 -0400
26113 fix inheritence issues in overrides
26115 gi/overrides/Gtk.py | 79
26116 +++++++++++++++++++++++++++--------------------------
26117 1 file changed, 40 insertions(+), 39 deletions(-)
26119 commit 3d5955767d81f45e796ab2af0707533375681774
26120 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26121 Date: Wed Nov 3 09:38:56 2010 +0100
26123 tests: add runtests-windows.py script
26125 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26127 tests/runtests-windows.py | 47
26128 +++++++++++++++++++++++++++++++++++++++++++++++
26129 1 file changed, 47 insertions(+)
26131 commit 8cb3f2e78161639c568110aad6a807dcf59f3ae8
26132 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26133 Date: Wed Nov 3 09:35:52 2010 +0100
26135 pygobject_postinstall.py: remove pygobject-2.0.pc treatment from
26136 postinstall as pkg-config on windows figures out the correct prefix
26139 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26141 pygobject_postinstall.py | 26 +++-----------------------
26142 1 file changed, 3 insertions(+), 23 deletions(-)
26144 commit 63167574df53eb481cc11b6a097b2bfe7d5747f5
26145 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26146 Date: Wed Nov 3 09:34:38 2010 +0100
26148 pygobject_postinstall.py: remove shortcut creation
26150 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26152 pygobject_postinstall.py | 35 +----------------------------------
26153 1 file changed, 1 insertion(+), 34 deletions(-)
26155 commit f7b12611f94fd8c27fb67a03746c10149ce6e0ef
26156 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26157 Date: Wed Nov 3 09:31:14 2010 +0100
26159 setup.py: formatting cleanup, makes things readable
26161 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26163 setup.py | 56 ++++++++++++++++++++++++++------------------------------
26164 1 file changed, 26 insertions(+), 30 deletions(-)
26166 commit a31b4196fbb4638a245430f2fdeafd7534b1d84d
26167 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26168 Date: Wed Nov 3 09:28:36 2010 +0100
26170 setup.py: build and install tests
26172 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26175 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
26176 1 file changed, 61 insertions(+)
26178 commit 7c3b0c20b83c05833d73c240690dce3daf43fde8
26179 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26180 Date: Wed Nov 3 09:26:59 2010 +0100
26182 setup.py: install documentation when available on build system
26184 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26187 1 file changed, 3 insertions(+)
26189 commit 78533d851ee1314686f18cfa793613a9cf7d6686
26190 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26191 Date: Wed Nov 3 09:25:56 2010 +0100
26193 setup.py: install pygobject-codegen script
26195 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26197 setup.py | 25 +++++++++++++++++++++++++
26198 1 file changed, 25 insertions(+)
26200 commit ad40688df533dda0b1f7be8ea37c542b8796a26b
26201 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26202 Date: Wed Nov 3 09:24:45 2010 +0100
26204 setup.py: install fixxref.py script
26206 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26209 1 file changed, 3 insertions(+)
26211 commit 21ddfc66e4e18c002a33154eb4ab81170ed71ecc
26212 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26213 Date: Wed Nov 3 09:23:05 2010 +0100
26215 setup.py: rearrange constants
26217 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26219 setup.py | 37 ++++++++++++++++++++-----------------
26220 1 file changed, 20 insertions(+), 17 deletions(-)
26222 commit 7d353d04892de67265bf693f591f37fd393de639
26223 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26224 Date: Wed Nov 3 09:18:11 2010 +0100
26226 setup.py: check python version and pkgconig availability before
26229 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26231 setup.py | 18 ++++++++++--------
26232 1 file changed, 10 insertions(+), 8 deletions(-)
26234 commit 286364ed39953e942e24d5911519bcac2f90975a
26235 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26236 Date: Wed Nov 3 09:05:59 2010 +0100
26238 setup.py: simplify sys.platform != 'win32' detection and error
26241 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26243 setup.py | 29 +++++++++--------------------
26244 1 file changed, 9 insertions(+), 20 deletions(-)
26246 commit 3f70f92904c123e6cc40929c0affd3f75d061828
26247 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26248 Date: Wed Nov 3 09:02:30 2010 +0100
26250 setup.py: rearrange imports
26252 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26254 setup.py | 31 ++++++++++++++++++++++---------
26255 1 file changed, 22 insertions(+), 9 deletions(-)
26257 commit 9aa54b65f729c0f3b0e96ab7ff797f87dad6a455
26258 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26259 Date: Wed Nov 3 08:58:00 2010 +0100
26261 README.win32: update build instructions
26263 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26265 README.win32 | 13 +++++--------
26266 1 file changed, 5 insertions(+), 8 deletions(-)
26268 commit 5a33105f690ba84b2e4bb15d73d3467e92fa06e0
26269 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26270 Date: Wed Nov 3 07:59:18 2010 +0100
26272 dsextras.py: formatting cleanup, makes things readable
26274 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26277 ++++++++++++++++++++++++++++++++++++++----------------------
26278 1 file changed, 93 insertions(+), 55 deletions(-)
26280 commit d03503d0412d173acb383926ab3c2d640dad3e3f
26281 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26282 Date: Wed Nov 3 07:00:40 2010 +0100
26284 dsextras.py: add ggc4 to MSVC compatible struct packing comment
26286 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26288 dsextras.py | 4 ++--
26289 1 file changed, 2 insertions(+), 2 deletions(-)
26291 commit 8c62968e9f8467e24870b8c4f61112676eef4630
26292 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26293 Date: Wed Nov 3 06:56:32 2010 +0100
26295 dsextras.py: use the pkgc_ functions instead of repeating pgk-config
26296 incantations all over the place
26298 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26300 dsextras.py | 15 ++++++---------
26301 1 file changed, 6 insertions(+), 9 deletions(-)
26303 commit b98277afc24886bbda400e0ad360992bffa77b7c
26304 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26305 Date: Wed Nov 3 06:49:48 2010 +0100
26307 dsextras.py: add pkgc_get_version and pkgc_get_defs_dir functions
26309 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26311 dsextras.py | 10 ++++++++++
26312 1 file changed, 10 insertions(+)
26314 commit a565558652ebc3fa49d7aea40d399b06bbe376c4
26315 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26316 Date: Wed Nov 3 06:45:05 2010 +0100
26318 dsextras.py: PEP8: Comparisons to singletons like None should always
26319 be done with 'is' or 'is not', never the equality operators.
26321 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26323 dsextras.py | 4 ++--
26324 1 file changed, 2 insertions(+), 2 deletions(-)
26326 commit 4b1ff0c7f9953f925d2178069263cca67ca7db02
26327 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26328 Date: Wed Nov 3 06:44:21 2010 +0100
26330 dsextras.py: use True/False instead of 1/0
26332 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26334 dsextras.py | 25 +++++++++++++------------
26335 1 file changed, 13 insertions(+), 12 deletions(-)
26337 commit 819a21cea831c3892040390e9446b78a91d1cbbe
26338 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26339 Date: Wed Nov 3 06:28:04 2010 +0100
26341 dsextras.py: rearrange imports
26343 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26346 +++++++++++++++++++++++++++++++---------------------------
26347 1 file changed, 31 insertions(+), 27 deletions(-)
26349 commit d20edbfdde2819f8d4fee8cb3170c126fcd31d5f
26350 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26351 Date: Wed Nov 3 06:16:21 2010 +0100
26353 Add distutils generated build/dist directories and eclipse
26354 configuration files to .gitignore
26356 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
26358 .gitignore | 7 +++++++
26359 1 file changed, 7 insertions(+)
26361 commit 268d6ed2b0b1d266c612da4453b6117d9e14437e
26362 Author: John (J5) Palmieri <johnp@redhat.com>
26363 Date: Thu Oct 28 15:32:28 2010 -0400
26365 [gi] add tests for calling dir on a dynamic module
26367 tests/test_gi.py | 24 ++++++++++++++++++++++++
26368 1 file changed, 24 insertions(+)
26370 commit f6386a6e0d225c83cdbe1add4c4d3ea51d3ec2f0
26371 Author: Deepankar Sharma <deepankar.sharma@gmail.com>
26372 Date: Wed Oct 27 18:28:11 2010 -0400
26374 [gi] dir() now works for modules
26376 https://bugzilla.gnome.org/show_bug.cgi?id=625093
26378 gi/module.py | 8 ++++++++
26379 1 file changed, 8 insertions(+)
26381 commit 28ed01c34c503cfb4f14fe7af7912060ca70aba6
26382 Author: Simón Pena <spenap@gmail.com>
26383 Date: Mon Sep 20 23:10:14 2010 +0200
26385 Don't check the inner type when comparing gpointers
26387 When using pyg_pointer_richcompare to compare two objects,
26388 don't check their inner types. As we can't compare their private
26389 fields, nor get a proper compare function, we can consider them
26390 gpointers and compare them that way.
26392 https://bugzilla.gnome.org/show_bug.cgi?id=629552
26394 gobject/pygpointer.c | 2 +-
26395 1 file changed, 1 insertion(+), 1 deletion(-)
26397 commit 1731f89e4b5a20c33976963e12a1f39a21d33fde
26398 Author: John (J5) Palmieri <johnp@redhat.com>
26399 Date: Thu Oct 28 14:21:12 2010 -0400
26401 Release GIL when calling into C functions
26403 Author: Daniel P. Berrange <dan@berrange.com>
26405 https://bugzilla.gnome.org/show_bug.cgi?id=629042
26407 gi/pygi-invoke.c | 10 +++++++++-
26408 1 file changed, 9 insertions(+), 1 deletion(-)
26410 commit 783e2e351ec7470bda6b441e51f387dd61543c4b
26411 Author: José Aliste <jaliste@src.gnome.org>
26412 Date: Fri Oct 15 14:30:10 2010 -0300
26414 _gi.Repository : Implement missing info bindings.
26416 https://bugzilla.gnome.org/show_bug.cgi?id=632185
26418 gi/pygi-info.c | 91
26419 +++++++++++++++++++++++++++++++++++++++++++++++++---------
26420 gi/pygi-info.h | 7 +++++
26421 2 files changed, 84 insertions(+), 14 deletions(-)
26423 commit 2ca897273f52ae38f5e06e72c773a048e199eee5
26424 Author: John (J5) Palmieri <johnp@redhat.com>
26425 Date: Thu Oct 28 13:49:15 2010 -0400
26427 include Python.h so that PY_VERSION_HEX gets defined
26429 gi/pygi-foreign-cairo.c | 1 +
26430 1 file changed, 1 insertion(+)
26432 commit 8b28b1d713df33931e255600ab98feda37a8e02a
26433 Author: John (J5) Palmieri <johnp@redhat.com>
26434 Date: Thu Oct 28 13:47:34 2010 -0400
26436 [gi] make overrides work for python 3.x protocols and alias for
26439 gi/overrides/Gtk.py | 9 +++++++--
26440 1 file changed, 7 insertions(+), 2 deletions(-)
26442 commit 3c09710d2f68af9c16ce39fd25656147656a486a
26443 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26444 Date: Sat Oct 23 14:24:24 2010 +0200
26446 Override Gtk.Widget.translate_coordinates to not return success value
26448 gi/overrides/Gtk.py | 11 +++++++++++
26449 1 file changed, 11 insertions(+)
26451 commit 9d4443b3de8c327d8645ddde0a7a6dc5b977d7b4
26452 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26453 Date: Sat Oct 23 14:22:36 2010 +0200
26455 Override Gtk.TreeViewColumn.cell_get_position to not return success
26458 gi/overrides/Gtk.py | 5 +++++
26459 1 file changed, 5 insertions(+)
26461 commit 6679d39ace06294e98f9d6fc911ed6fb27656010
26462 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26463 Date: Sat Oct 23 14:21:36 2010 +0200
26465 Override get_path_at_pos and get_dest_row_at_pos of Gtk.TreeView to
26466 not return success value
26468 gi/overrides/Gtk.py | 15 +++++++++++++++
26469 1 file changed, 15 insertions(+)
26471 commit 80b1b266fa68a5c67106871502017166628f71e4
26472 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26473 Date: Sat Oct 23 14:20:38 2010 +0200
26475 Override Gtk.TreeSortable.get_sort_column_id to not return success
26478 gi/overrides/Gtk.py | 12 ++++++++++++
26479 1 file changed, 12 insertions(+)
26481 commit 17cd0fb3a2d2ca0c6109c41727ba0b8c42217cd5
26482 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26483 Date: Sat Oct 23 14:19:20 2010 +0200
26485 Override forward_search and backward_search of Gtk.TextIter to not
26486 return success value
26488 gi/overrides/Gtk.py | 15 +++++++++++++++
26489 1 file changed, 15 insertions(+)
26491 commit 95c86fa31da3d2fe84db0e2b5bc2a6dc896c9223
26492 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26493 Date: Sat Oct 23 14:18:09 2010 +0200
26495 Override Gtk.TextBuffer.get_selection_bounds to not return success
26498 gi/overrides/Gtk.py | 5 +++++
26499 1 file changed, 5 insertions(+)
26501 commit da6d87460b9392c29d025a7eed9249fb604204bc
26502 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26503 Date: Sat Oct 23 14:17:04 2010 +0200
26505 Override Gtk.RecentInfo.get_application_info to not return success
26508 gi/overrides/Gtk.py | 10 ++++++++++
26509 1 file changed, 10 insertions(+)
26511 commit 0ed2e8772bdc405b0d0c7e0b2803e0e141abcb6a
26512 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26513 Date: Sat Oct 23 14:16:21 2010 +0200
26515 Override Gtk.IMContext.get_surrounding to not return success value
26517 gi/overrides/Gtk.py | 10 ++++++++++
26518 1 file changed, 10 insertions(+)
26520 commit b85b445f15421209c0b4adf676d7c8218d6437c5
26521 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26522 Date: Sat Oct 23 14:15:24 2010 +0200
26524 Override get_item_at_pos, get_visible_range, get_dest_item_at_pos
26525 of Gtk.IconView to not return success value
26527 gi/overrides/Gtk.py | 19 +++++++++++++++++++
26528 1 file changed, 19 insertions(+)
26530 commit 684d716192d58c972083e579e909bcd97f8a5025
26531 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26532 Date: Sat Oct 23 14:13:47 2010 +0200
26534 Override Gtk.Container.get_focus_chain to not return success value
26536 gi/overrides/Gtk.py | 10 ++++++++++
26537 1 file changed, 10 insertions(+)
26539 commit 8ec830c57fafbfe50d9619c6caba3cb95a00d688
26540 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26541 Date: Sat Oct 23 14:12:44 2010 +0200
26543 Override Gtk.ComboBox.get_active_iter to not return success value
26545 gi/overrides/Gtk.py | 10 ++++++++++
26546 1 file changed, 10 insertions(+)
26548 commit b483852904468722230903989e3451c7c6a24c0f
26549 Author: John (J5) Palmieri <johnp@redhat.com>
26550 Date: Tue Oct 12 12:18:33 2010 -0400
26552 [gi] make parameter check less strict when dealing with GValue params
26554 * Some GValue API can store a pointer to a python object for later
26555 use but our parameter checking was too strict to allow this
26556 * Add pyg_type_from_object_strict API which takes a strict boolean and
26557 returns PY_TYPE_OBJECT if no other GType can be found
26558 * Since we don't have enough info to genrically check GValue
26560 use the less strict type guessing when encountering a GValue param
26561 * Other API stays the same and continues to do strict testing
26563 https://bugzilla.gnome.org/show_bug.cgi?id=622987
26565 gi/pygi-argument.c | 17 ++++++---------
26566 gobject/gobjectmodule.c | 4 ++--
26567 gobject/pygobject-private.h | 1 +
26568 gobject/pygobject.h | 2 ++
26569 gobject/pygtype.c | 37 +++++++++++++++++++++++++++++----
26570 tests/test_gi.py | 1 -
26571 tests/test_overrides.py | 50
26572 +++++++++++++++++++++++++++++++++++++++++----
26573 7 files changed, 90 insertions(+), 22 deletions(-)
26575 commit 8c87d622dcc6d76a981edfc5818fe67bb2e114e2
26576 Author: John Stowers <john.stowers@gmail.com>
26577 Date: Fri Oct 22 13:28:31 2010 +1300
26579 Shortcut removal is not needed on post-uninstall
26581 pygobject_postinstall.py | 14 ++------------
26582 1 file changed, 2 insertions(+), 12 deletions(-)
26584 commit a3ed97fe6f80548801739fe6b72771b9eb6d93f7
26585 Author: John Stowers <john.stowers@gmail.com>
26586 Date: Thu Oct 21 13:25:35 2010 +1300
26588 Disable shortcut creation in windows installer
26590 pygobject_postinstall.py | 2 +-
26591 1 file changed, 1 insertion(+), 1 deletion(-)
26593 commit a3d6212b0abccef58f05d454c091936776413d98
26594 Author: John (J5) Palmieri <johnp@redhat.com>
26595 Date: Thu Oct 7 11:43:27 2010 -0400
26597 overrides for all subclasses of dialog
26599 https://bugzilla.gnome.org/show_bug.cgi?id=631634
26601 gi/overrides/Gtk.py | 94
26602 +++++++++++++++++++++++++++++++++++++++++++++----
26603 tests/test_overrides.py | 64 ++++++++++++++++++++++++++++++++-
26604 2 files changed, 151 insertions(+), 7 deletions(-)
26606 commit a87e3ba64b54e6df0b5b96af47c34e3be790b58f
26607 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26608 Date: Thu Oct 7 19:37:53 2010 +0200
26610 Make TreeModel behave like in GTK-2.x
26612 Moved stuff from __getitem__ to get_iter.
26613 Added TreePath.__cmp__
26615 get_iter_from_string throws ValueError.
26616 iterchildren() does not return None.
26618 Adjusted tests to new TreeModel and added TestGtk.test_tree_model
26621 Added support for negative row and column indices
26623 Use rich comparison methods instead of __cmp__
26625 Added TreeModel.__bool__/__nonzero__
26627 Raise Error if tree path string is empty
26629 https://bugzilla.gnome.org/show_bug.cgi?id=631547
26631 gi/overrides/Gtk.py | 195
26632 ++++++++++++++++++++++++++++++++++++++++++++++++
26633 tests/test_overrides.py | 160 +++++++++++++++++++++++++++++++++++++--
26634 2 files changed, 349 insertions(+), 6 deletions(-)
26636 commit acfcc29af727fb67d0dfbbcc7cc14963ef21f1ea
26637 Author: John Stowers <john.stowers@gmail.com>
26638 Date: Sat Oct 16 18:59:25 2010 +1300
26640 Correctly build GIO on windows
26642 setup.py | 6 +++---
26643 1 file changed, 3 insertions(+), 3 deletions(-)
26645 commit 33b59fd7437009b6c3ed43412e171d2cc91ee317
26646 Author: John Stowers <john.stowers@gmail.com>
26647 Date: Sat Oct 16 18:17:28 2010 +1300
26649 Require Python >= 2.6.0 for Windows build
26652 1 file changed, 1 insertion(+), 1 deletion(-)
26654 commit 544e0e4de4f5f97b0584eaf72ae8a081eca28ab6
26655 Author: John Stowers <john.stowers@gmail.com>
26656 Date: Sat Oct 16 17:41:01 2010 +1300
26658 Fix depreciation warning in dsextras.py
26661 1 file changed, 1 insertion(+), 1 deletion(-)
26663 commit 239ff961778e4e1587404d8a70dfbe8630ab0623
26664 Author: John Stowers <john.stowers@gmail.com>
26665 Date: Sat Oct 16 17:34:50 2010 +1300
26667 Fix build on windows
26669 gi/pygi-foreign.c | 5 ++++-
26670 gi/pygi.h | 5 ++++-
26672 3 files changed, 10 insertions(+), 4 deletions(-)
26674 commit 9a2f81d63012fef23fdde2b4d903bd69601c07c6
26675 Author: Michael Culbertson <michael.culbertson@gmail.com>
26676 Date: Sat Oct 16 17:08:11 2010 +1300
26678 Support for GCC4 in Windows distutils build - bug 626548
26680 dsextras.py | 3 ++-
26681 1 file changed, 2 insertions(+), 1 deletion(-)
26683 commit 27367c8dc3a3a31fdd778505b319cd3f4afb9e27
26684 Author: John Stowers <john.stowers@gmail.com>
26685 Date: Fri Oct 15 09:39:02 2010 +1300
26687 Remove obsolete comments in dsextras.py
26689 dsextras.py | 11 ++---------
26690 1 file changed, 2 insertions(+), 9 deletions(-)
26692 commit b5f383f854fb8f72677828b029589320c59006d1
26693 Author: John Stowers <john.stowers@gmail.com>
26694 Date: Fri Oct 15 09:21:03 2010 +1300
26696 Broken dsextras.py pkg-config check error message
26701 1 file changed, 1 insertion(+), 1 deletion(-)
26703 commit e1981da105b574e273ae6500fc6d25caf6af6aae
26704 Author: John (J5) Palmieri <johnp@redhat.com>
26705 Date: Tue Sep 28 15:31:03 2010 -0400
26707 add compat functions for the deprecated PyCObject api
26709 * Moved to using the PyCapsule API for python >= 3
26710 * PyCObject is removed from Python 3.2
26711 * It has also been deprecated in 2.7 but since we use the API in
26713 which are consumed by static binding modules, appling this for
26715 causes crashes unless the modules are recompiled, breaking ABI.
26717 to rely on for 2.7 because it will never be removed and there is
26719 undeprecating it upstream.
26720 * There is no issues with static bindings under python 3 because
26722 supported yet and most likely never will be.
26723 * Even if PyCObject is brought back in 3.2, PyCapsule is a much
26725 which adds a poorman's type check when unboxing.
26727 https://bugzilla.gnome.org/show_bug.cgi?id=630844
26729 gi/gimodule.c | 2 +-
26730 gi/pygi.h | 5 ++++-
26731 glib/glibmodule.c | 2 +-
26732 glib/pyglib-python-compat.h | 28 ++++++++++++++++++++++++++++
26733 glib/pyglib.c | 6 +++---
26734 glib/pygoptioncontext.c | 2 +-
26735 gobject/gobjectmodule.c | 2 +-
26736 gobject/pygobject.h | 6 ++++++
26737 gobject/pygtype.c | 10 +++++-----
26738 9 files changed, 50 insertions(+), 13 deletions(-)
26740 commit 03d2e2924e27a9d6cae89e5748f70e0a51be91c6
26741 Author: Damien Caliste <damien.caliste@cea.fr>
26742 Date: Tue Sep 28 12:44:42 2010 +0200
26744 Add __path__ attributes.
26746 Add an attribute __path__ to DynamicModule and IntrospectionModule,
26747 using the path of the typelib.
26749 https://bugzilla.gnome.org/show_bug.cgi?id=630807
26751 gi/module.py | 2 ++
26752 1 file changed, 2 insertions(+)
26754 commit 28f9366c9cb382801bad080864f667c867daa3c7
26755 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26756 Date: Sat Oct 9 17:40:40 2010 +0200
26758 Override Gtk.TreeSelection.get_selected to not return success value.
26760 https://bugzilla.gnome.org/show_bug.cgi?id=631765
26762 gi/overrides/Gtk.py | 12 ++++++++++++
26763 1 file changed, 12 insertions(+)
26765 commit f01a7d9e8222663ce52100e061033f2745a5e7af
26766 Author: Vincent Untz <vuntz@gnome.org>
26767 Date: Thu Oct 7 09:42:24 2010 +0200
26769 Make row optional in Gtk.TreeStore/ListStore.append override
26771 https://bugzilla.gnome.org/show_bug.cgi?id=631548
26773 gi/overrides/Gtk.py | 36 ++++++++++++++++++++++--------------
26774 1 file changed, 22 insertions(+), 14 deletions(-)
26776 commit 1e1357f5fa1a034b0b707040d664ac46be6e23f7
26777 Author: John (J5) Palmieri <johnp@redhat.com>
26778 Date: Mon Oct 4 12:50:55 2010 -0400
26780 Revert "add compat functions for the deprecated PyCObject api"
26782 This reverts commit f25e763d53e5cdd4de08e90b04aea4b4c4720ac0.
26784 I ment to commit another patch and ended up comitting both
26786 gi/gimodule.c | 2 +-
26787 gi/pygi.h | 5 +----
26788 glib/glibmodule.c | 2 +-
26789 glib/pyglib-python-compat.h | 19 -------------------
26790 glib/pyglib.c | 6 +++---
26791 glib/pygoptioncontext.c | 2 +-
26792 gobject/gobjectmodule.c | 2 +-
26793 gobject/pygobject.h | 6 ------
26794 gobject/pygtype.c | 10 +++++-----
26795 9 files changed, 13 insertions(+), 41 deletions(-)
26797 commit 97774cb149c5b03d5ef82a5af3f19e2ce4d79d0b
26798 Author: John (J5) Palmieri <johnp@redhat.com>
26799 Date: Mon Oct 4 12:43:31 2010 -0400
26801 return NULL instead of -1 which fixes crash when introspection is
26804 * see https://bugzilla.gnome.org/show_bug.cgi?id=631158
26807 1 file changed, 1 insertion(+), 1 deletion(-)
26809 commit f25e763d53e5cdd4de08e90b04aea4b4c4720ac0
26810 Author: John (J5) Palmieri <johnp@redhat.com>
26811 Date: Tue Sep 28 15:31:03 2010 -0400
26813 add compat functions for the deprecated PyCObject api
26815 * Moved to using the PyCapsule API for python >= 2.7
26817 https://bugzilla.gnome.org/show_bug.cgi?id=630844
26819 gi/gimodule.c | 2 +-
26820 gi/pygi.h | 5 ++++-
26821 glib/glibmodule.c | 2 +-
26822 glib/pyglib-python-compat.h | 19 +++++++++++++++++++
26823 glib/pyglib.c | 6 +++---
26824 glib/pygoptioncontext.c | 2 +-
26825 gobject/gobjectmodule.c | 2 +-
26826 gobject/pygobject.h | 6 ++++++
26827 gobject/pygtype.c | 10 +++++-----
26828 9 files changed, 41 insertions(+), 13 deletions(-)
26830 commit 80b8ccd450fe4e3ea77b27e58bb63cabc2a2bb2b
26831 Author: John (J5) Palmieri <johnp@redhat.com>
26832 Date: Tue Sep 28 15:28:16 2010 -0400
26834 fix commit 7fe83108 which didn't use the compat functions for
26837 glib/glibmodule.c | 2 +-
26838 1 file changed, 1 insertion(+), 1 deletion(-)
26840 commit 9562842907a9d94f6adae2c1bb20d6b1f189abda
26841 Author: John (J5) Palmieri <johnp@redhat.com>
26842 Date: Tue Sep 28 13:15:57 2010 -0400
26844 Python 3 fixes for dsextras and the python.m4 distribution files
26846 dsextras.py | 13 +++++++------
26847 m4/python.m4 | 4 ++--
26848 2 files changed, 9 insertions(+), 8 deletions(-)
26850 commit 98f69957ee9e3037b0a05a037098e4d2133ca256
26851 Author: John (J5) Palmieri <johnp@redhat.com>
26852 Date: Mon Sep 27 14:01:31 2010 -0400
26854 post release bump to 2.27.0 unstable
26856 * update hacking to fill in some holes in the release instructions
26859 configure.ac | 2 +-
26860 2 files changed, 5 insertions(+), 3 deletions(-)
26862 commit fd38010101411e6bc1ca9314657f418de660fa13
26863 Author: John (J5) Palmieri <johnp@redhat.com>
26864 Date: Mon Sep 27 12:03:10 2010 -0400
26866 update NEWS for release
26869 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
26870 1 file changed, 93 insertions(+)
26872 commit 7072d56b6cba13da97a052c75d1ae0c2cc417fd1
26873 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26874 Date: Sun Sep 26 08:37:31 2010 +0200
26876 Pre-release version bump 2.26.0
26878 configure.ac | 4 ++--
26879 1 file changed, 2 insertions(+), 2 deletions(-)
26881 commit a549f429d2ced7a78d5baa5e2f28f6750b4788f2
26882 Author: John Stowers <john.stowers@gmail.com>
26883 Date: Fri Sep 24 22:44:03 2010 +1200
26885 Wrap g_get_system_{config,data}_dirs ()
26887 * Also tidy up g_get_{cache,config,data}_dir
26888 to share common code
26890 glib/glibmodule.c | 68
26891 ++++++++++++++++++++++++++++++++++++++++---------------
26892 1 file changed, 50 insertions(+), 18 deletions(-)
26894 commit 328aca600714bdca89dfdb531c222ee561ede27e
26895 Author: John (J5) Palmieri <johnp@redhat.com>
26896 Date: Fri Sep 24 12:16:22 2010 -0400
26898 fixed make check and make dist
26900 tests/Makefile.am | 31 ++++++++++++++++++-------------
26901 1 file changed, 18 insertions(+), 13 deletions(-)
26903 commit 27023fd56148dd17b5576c1e81e0fe851d9b8727
26904 Author: John Stowers <john.stowers@gmail.com>
26905 Date: Fri Sep 24 21:20:53 2010 +1200
26907 Disable GI tests when introspection disabled
26909 tests/Makefile.am | 2 ++
26910 1 file changed, 2 insertions(+)
26912 commit 7fe831081cdd2e26f5d948326b9f89ea0694e752
26913 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
26914 Date: Sat Jul 18 19:35:08 2009 +0200
26916 Wrap g_uri_list_extract_uris. Fixes bug #584431
26918 glib/glibmodule.c | 38 ++++++++++++++++++++++++++++++++++++++
26919 gobject/__init__.py | 2 +-
26920 tests/Makefile.am | 3 ++-
26921 tests/test_uris.py | 15 +++++++++++++++
26922 4 files changed, 56 insertions(+), 2 deletions(-)
26924 commit d6721a59c294f2471142b8c32de2f647b7084bca
26925 Author: Paul Bolle <pebolle@tiscali.nl>
26926 Date: Thu Sep 23 15:38:40 2010 -0400
26928 Fix a few uses of TRUE and FALSE in the docs
26930 docs/reference/pygio-mount.xml | 5 +++--
26931 docs/reference/pyglib-functions.xml | 18 +++++++++---------
26932 docs/reference/pyglib-maincontext.xml | 12 ++++++------
26933 docs/reference/pyglib-mainloop.xml | 6 +++---
26934 docs/reference/pygobject-functions.xml | 6 +++---
26935 docs/reference/pygobject.xml | 4 ++--
26936 6 files changed, 26 insertions(+), 25 deletions(-)
26938 commit a08c9fffb4262ae678e17f90bbfb2d5f880cfad0
26939 Author: Damien Caliste <damien.caliste@cea.fr>
26940 Date: Tue Sep 21 17:52:14 2010 +0200
26942 pygi: always free the invocation_state struct
26944 In pygi-invoke.c, the invocation_state struct is never freed
26945 in case of success. Thus, always call _free_invocation_state()
26947 Modify _free_invocation_state to avoid double free in case of
26948 caller-allocated GValue, once as a released argument in the
26949 _process routine and another time in the _free as the special
26950 case. So move all argument releasing code from the _process
26951 routine to the _free one.
26952 Modify the tests for the callback routines to return an integer
26953 value as specified in the GIR file.
26955 Make check is as successful as before (already existing error
26956 related to GVariant is still there).
26958 https://bugzilla.gnome.org/show_bug.cgi?id=630271
26960 gi/pygi-invoke.c | 83
26961 +++++++++++++++++++++---------------------------
26962 tests/test_everything.py | 4 ++-
26963 2 files changed, 40 insertions(+), 47 deletions(-)
26965 commit 9714d765a34e246899f11b6792eea3aecce0b7ec
26966 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26967 Date: Mon Sep 13 16:36:47 2010 +0200
26969 Start implementing something equivalent to g_variant_new
26971 https://bugzilla.gnome.org/show_bug.cgi?id=629367
26973 gi/gimodule.c | 20 +++++++
26974 gi/overrides/GLib.py | 131
26975 ++++++++++++++++++++++++++++++++++++++++++---
26976 gi/pygi-foreign-gvariant.c | 2 +-
26977 tests/test_everything.py | 16 ------
26978 tests/test_overrides.py | 25 +++++++++
26979 5 files changed, 170 insertions(+), 24 deletions(-)
26981 commit fc45abdd9b55ab63556798ab0f04715be79dba08
26982 Author: John (J5) Palmieri <johnp@redhat.com>
26983 Date: Thu Sep 23 10:49:36 2010 -0400
26985 fixed typo - missing comma in glib.option module
26987 * https://bugzilla.gnome.org/show_bug.cgi?id=627449
26989 glib/option.py | 2 +-
26990 1 file changed, 1 insertion(+), 1 deletion(-)
26992 commit 4ed100f3183c6325dd04461484e877bb7d4131b1
26993 Author: John (J5) Palmieri <johnp@redhat.com>
26994 Date: Fri Sep 17 12:08:09 2010 -0400
26996 add checks so we can compile under python 3 by setting PYTHON=python3
26998 * compile for python 3
26999 * disables gio if compiling under python 3.x
27000 * runs only pertinant tests
27002 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27004 configure.ac | 32 +++++++++++++++++++++++++++++---
27005 tests/Makefile.am | 35 ++++++++++++++++++++---------------
27006 tests/runtests.py | 4 ++++
27007 3 files changed, 53 insertions(+), 18 deletions(-)
27009 commit 269ff8564eeb597dc06c27e293354b7ff7a71a82
27010 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27011 Date: Fri Sep 17 15:50:47 2010 +0200
27013 Rename static methods as functions
27015 In recent gobject-introspection releases, static methods have been
27016 removed and placed as functions in the namespace level. In a future
27017 releases it's planned to become static methods again but for now
27018 let's fix the tests.
27020 tests/test_gi.py | 14 +++++++-------
27021 1 file changed, 7 insertions(+), 7 deletions(-)
27023 commit 2da8da589644d6125101210712defb1272a8abb1
27024 Author: John (J5) Palmieri <johnp@redhat.com>
27025 Date: Thu Sep 9 13:52:14 2010 -0400
27027 fix a couple of compiler warnings
27029 https://bugzilla.gnome.org/show_bug.cgi?id=629199
27031 gi/pygi-argument.c | 4 ++--
27032 gi/pygi-struct.c | 2 +-
27033 gobject/gobjectmodule.c | 2 +-
27034 3 files changed, 4 insertions(+), 4 deletions(-)
27036 commit 6769a4704f0876ac3baacd4da03ff16d9f0906be
27037 Author: John (J5) Palmieri <johnp@redhat.com>
27038 Date: Thu Sep 9 13:55:17 2010 -0400
27042 * we use richcompare now
27044 https://bugzilla.gnome.org/show_bug.cgi?id=629198
27046 gobject/pygtype.c | 9 ---------
27047 1 file changed, 9 deletions(-)
27049 commit 98f54f9d33996baeaa8c8c1240310f5396d03a1d
27050 Author: John (J5) Palmieri <johnp@redhat.com>
27051 Date: Tue Sep 14 14:10:49 2010 -0400
27053 Check the type of the instance object
27055 * in python 2 methods were added to classes as unbound methods and
27057 check the instance type to make sure it was correct
27058 * in python 3 for perfomance reasons methods are added to classes
27060 functions which treat the instance as an untyped argument so
27063 * this patch adds a type check so that the correct errors are
27065 python 3 (python 2 this just adds another layer of redundancy should
27066 something change with type checking in the future)
27067 * since GI handles regular args and the instance arg slightly
27069 we had to split out the interface checks in
27070 _pygi_g_type_info_check_object
27071 in order to not duplicate code
27073 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27075 gi/pygi-argument.c | 182
27076 ++++++++++++++++++++++++++++-------------------------
27077 gi/pygi-argument.h | 2 +
27078 gi/pygi-invoke.c | 14 +++++
27079 3 files changed, 112 insertions(+), 86 deletions(-)
27081 commit 5d79498d38b147b66ae72c1481e397160491e8d6
27082 Author: John (J5) Palmieri <johnp@redhat.com>
27083 Date: Wed Sep 15 10:26:20 2010 -0400
27085 include the correct pycairo version
27087 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27089 gi/pygi-foreign-cairo.c | 6 ++++++
27090 1 file changed, 6 insertions(+)
27092 commit b855562e5c0019cd7e4982fe00c467ede9e3926d
27093 Author: John (J5) Palmieri <johnp@redhat.com>
27094 Date: Thu Sep 9 22:16:58 2010 -0400
27096 Use PyMapping_Keys to determine if an object is a dict (py3k fix)
27098 * in Py3k PyMapping_Check returns true for sequences such as strings
27099 and lists. Since we need to get the keys anyway, and it returns
27100 NULL if this is not a dict, this is a much better test, even in
27103 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27105 gi/pygi-argument.c | 10 +++-------
27106 1 file changed, 3 insertions(+), 7 deletions(-)
27108 commit 0e72e28c6c5502c7db5103cf1299c9f0e6689fdd
27109 Author: John (J5) Palmieri <johnp@redhat.com>
27110 Date: Thu Sep 9 18:44:11 2010 -0400
27112 fix handling of UINT64 and INT64 arguments in py3k
27114 * decode to the right sized C long
27116 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27118 gi/pygi-argument.c | 20 ++++++++++++--------
27119 1 file changed, 12 insertions(+), 8 deletions(-)
27121 commit d5666d99a1c0396b7da0cb14f9f4ff8892da7e2e
27122 Author: John (J5) Palmieri <johnp@redhat.com>
27123 Date: Thu Sep 9 17:35:10 2010 -0400
27125 properly handle ulongs properties in py3k
27127 * If this is a PyLong object pull use AsUnsignedLong
27129 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27131 gobject/pygtype.c | 29 ++++++++++++++++-------------
27132 1 file changed, 16 insertions(+), 13 deletions(-)
27134 commit 3d431c7dd0de97db10cb0c00c39d9c1837bed2f2
27135 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27136 Date: Fri Sep 17 12:14:56 2010 +0200
27138 Specify encoding of tests/test_gi.py
27140 tests/test_gi.py | 3 ++-
27141 1 file changed, 2 insertions(+), 1 deletion(-)
27143 commit a808bdabb9fa6f4a9b9ce42e1cce05fb37403f0f
27144 Author: John (J5) Palmieri <johnp@redhat.com>
27145 Date: Thu Sep 9 13:24:30 2010 -0400
27147 use actual unicode in the tests on py3k, not the byte representation
27149 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27151 tests/test_gi.py | 6 +++++-
27152 1 file changed, 5 insertions(+), 1 deletion(-)
27154 commit 928f4485041d80d0c36ff2daeae4bcd09bd0bde4
27155 Author: John (J5) Palmieri <johnp@redhat.com>
27156 Date: Thu Sep 9 12:45:21 2010 -0400
27158 s/METH_KEYWORDS/METH_VARARGS|METH_KEYWORDS/ when defining object
27161 * in Py3k the METH_KEYWORDS flag by itself is invalid. A method
27163 with both the METH_VARARGS and METH_KEYWORDS flags.
27165 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27167 glib/pygiochannel.c | 30 +++++++++++++++---------------
27168 glib/pygsource.c | 4 ++--
27169 gobject/pygobject.c | 2 +-
27170 3 files changed, 18 insertions(+), 18 deletions(-)
27172 commit b5ee20afa4399c7689fbec8939fa20b927eeb782
27173 Author: John (J5) Palmieri <johnp@redhat.com>
27174 Date: Thu Sep 9 08:04:40 2010 -0400
27176 fix subclassing PyLong by calling __new__ correctly
27178 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27180 glib/pygspawn.c | 4 ++--
27181 1 file changed, 2 insertions(+), 2 deletions(-)
27183 commit a499b2f0d622b671bd154544f66b73f1278e66ed
27184 Author: John (J5) Palmieri <johnp@redhat.com>
27185 Date: Thu Sep 9 07:56:44 2010 -0400
27187 minor py3k fixups for python modules
27189 * add _basestring and _bytes and _callable wrappers
27190 * use items instead of iteritems and range instead of xrange
27194 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27196 gi/overrides/Gtk.py | 24 ++++++++++++++++--------
27197 glib/option.py | 16 ++++++++++++----
27198 2 files changed, 28 insertions(+), 12 deletions(-)
27200 commit dec9001d26c97949e7b3578086cb35e98075c047
27201 Author: John (J5) Palmieri <johnp@redhat.com>
27202 Date: Thu Sep 9 07:36:04 2010 -0400
27204 minor fixes in tests for py3k compat
27206 * add a _bytes wrapper for API that expects bytes in py3k but str
27208 * fix some more exception handling using sys.exc_info()[:2]
27209 * use range instead of xrange, items instead of iteritems since py3k
27210 dropped support for the different ways of accessing iterators
27211 - this is less efficient in py2 but we plan to target py3k as the
27213 * use list(dict.items()) since py3k only returns iterables which
27216 * missed some _long wrapping
27218 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27220 tests/compathelper.py | 18 ++++++++++++++++++
27221 tests/test_everything.py | 5 +++--
27222 tests/test_mainloop.py | 3 ++-
27223 tests/test_option.py | 6 ++++--
27224 tests/test_overrides.py | 4 ++--
27225 tests/test_properties.py | 6 +++---
27226 6 files changed, 32 insertions(+), 10 deletions(-)
27228 commit 09a0daeedf49eaf376c1288be5743b57fbc76d51
27229 Author: Colin Walters <walters@verbum.org>
27230 Date: Thu Sep 9 16:25:51 2010 -0400
27232 compilation: Fix syntax error
27234 gi/pygi-info.c | 2 +-
27235 1 file changed, 1 insertion(+), 1 deletion(-)
27237 commit 9f7afd6d5afd8c1a5f36bf1295814757b71c8cbc
27238 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27239 Date: Thu Sep 9 22:17:00 2010 +0200
27243 gi/overrides/GLib.py | 48
27244 ++++++++++++++++++++++++++++++++++++++++++++++++
27245 1 file changed, 48 insertions(+)
27247 commit 306b792ac97a458ddee59fb86d66453495117f3e
27248 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27249 Date: Thu Jul 22 13:48:51 2010 +0100
27251 Add override for GLib.Variant.new_tuple
27253 * gi/gimodule.c: Add _wrap_pyg_variant_new_tuple
27254 * gi/overrides/GLib.py: Override Variant.new_tuple and
27256 * gi/pygi-type.[hc]: split _pygi_type_import_by_name out from
27257 _pygi_type_import_by_gi_info
27258 * gi/types.py: Never override gobject.TYPE_NONE
27259 * tests/test_everything.py: Add tests for GVariant tuples
27261 https://bugzilla.gnome.org/show_bug.cgi?id=625050
27263 gi/gimodule.c | 38 ++++++++++++++++++++++++++++++++++++++
27264 gi/overrides/Makefile.am | 1 +
27265 gi/pygi-type.c | 15 +++++++++------
27266 gi/pygi-type.h | 2 ++
27268 tests/test_everything.py | 9 +++++++++
27269 6 files changed, 60 insertions(+), 6 deletions(-)
27271 commit 22e53aa2ed9cf6173a877b0af6928d5ab8da2f4f
27272 Author: John (J5) Palmieri <johnp@redhat.com>
27273 Date: Wed Sep 8 13:08:48 2010 -0400
27275 fix for changes in the gi test libraries
27277 tests/test_everything.py | 2 +-
27278 1 file changed, 1 insertion(+), 1 deletion(-)
27280 commit 246877074617b0e9c3b2ba2a5395a73e0ed9cd5d
27281 Author: John (J5) Palmieri <johnp@redhat.com>
27282 Date: Wed Sep 8 13:08:07 2010 -0400
27284 Gtk.DialogFlags.NO_SEPARATOR has been removed in Gtk 3.0
27286 gi/overrides/Gtk.py | 10 ++++++++--
27287 1 file changed, 8 insertions(+), 2 deletions(-)
27289 commit f92fc48e7e2ec50996e994ccb7d08a61e7374f22
27290 Author: John (J5) Palmieri <johnp@redhat.com>
27291 Date: Wed Sep 8 12:35:09 2010 -0400
27293 no need to offset arg positions when is_method is true
27295 * The old GI libraries required we offset arg positions for the
27297 self argument. The new library fixes this so we don't have
27301 https://bugzilla.gnome.org/show_bug.cgi?id=629087
27303 gi/pygi-callbacks.c | 5 +----
27304 1 file changed, 1 insertion(+), 4 deletions(-)
27306 commit 8c517de2d278bdef641c72b8f2919a3924290ec1
27307 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27308 Date: Fri Aug 20 14:54:35 2010 +0200
27310 gi: Add support for more property types
27312 https://bugzilla.gnome.org/show_bug.cgi?id=627494
27314 gi/pygi-property.c | 156
27315 ++++++++++++++++++++++++++++++++++++-----------
27316 tests/test_everything.py | 34 +++++++++++
27317 2 files changed, 154 insertions(+), 36 deletions(-)
27319 commit 6d183d1fff55d54569ba3e1f90a10284df74fd40
27320 Author: John (J5) Palmieri <johnp@redhat.com>
27321 Date: Fri Sep 3 12:04:16 2010 -0400
27323 use PyObject_SetAttrString, not PyDict_SetItemString when setting
27326 * When registering a gtype wrapper we used to set tp_dict
27327 directly. This works
27328 in python 2 but python 3 seems to handle attributes in a slightly
27330 way where the tp_dict and attr get out of sync. By setting the attr
27331 directly we avoid this issue.
27332 * Note that there are many more places where we set __gtype__
27334 however for objects which are not instantiated yet we have to
27337 * Since this one change fixes a lot of failed tests, for now we
27339 other places where we set __gtype__. If we run into more issues
27341 with __gtype__ we can take a closer look later.
27343 https://bugzilla.gnome.org/show_bug.cgi?id=627878
27345 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27347 gobject/gobjectmodule.c | 2 +-
27348 1 file changed, 1 insertion(+), 1 deletion(-)
27350 commit b7bf4269682a3335f5e0a52b46fa721af134d09a
27351 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27352 Date: Wed Sep 1 11:03:40 2010 +0200
27354 Rename GArgument to GIArgument
27356 gi/pygi-argument.c | 52
27357 +++++++++++++++++++++++-----------------------
27358 gi/pygi-argument.h | 10 ++++-----
27359 gi/pygi-closure.c | 34 +++++++++++++++---------------
27360 gi/pygi-foreign-cairo.c | 8 +++----
27361 gi/pygi-foreign-gvariant.c | 4 ++--
27362 gi/pygi-foreign-gvariant.h | 4 ++--
27363 gi/pygi-foreign.c | 12 +++++------
27364 gi/pygi-foreign.h | 8 +++----
27365 gi/pygi-info.c | 8 +++----
27366 gi/pygi-invoke.c | 28 ++++++++++++-------------
27367 gi/pygi-property.c | 4 ++--
27368 gi/pygi.h | 16 +++++++-------
27369 12 files changed, 94 insertions(+), 94 deletions(-)
27371 commit 7197f85c9be2b03636639ac909ca2c3170653509
27372 Author: John (J5) Palmieri <johnp@redhat.com>
27373 Date: Wed Aug 18 10:29:19 2010 -0400
27375 fix up tests so they run in py3k
27377 * add a compat helper that should only be used by tests
27378 * fix long notation to use the compat helper instead
27379 * add parens to print statements
27380 * use compatable try/except pattern
27382 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27384 gobject/propertyhelper.py | 16 +++++++++++-----
27385 tests/compathelper.py | 32 ++++++++++++++++++++++++++++++++
27386 tests/test_option.py | 7 ++++++-
27387 tests/test_properties.py | 24 ++++++++++++++----------
27388 tests/test_signal.py | 14 +++++++-------
27389 tests/test_source.py | 4 ++--
27390 6 files changed, 72 insertions(+), 25 deletions(-)
27392 commit 720e614acdbcf734d4bcccc403e639b5a5bcae24
27393 Author: Colin Walters <walters@verbum.org>
27394 Date: Fri Aug 20 10:58:48 2010 -0400
27396 tests: Port to new introspection tests
27398 Everything is renamed "Regress", and both it and GIMarshallingTests
27399 are now in source form, so we compile them.
27401 The scanner now adds "static methods" to objects, structs, and unions,
27402 so update the test code to use those.
27404 In the tests, remove broken (inout) cases - the person writing these
27405 tests misunderstood the semantics of (inout). It's not acceptable for
27406 a C API to mutate e.g. a GSList* passed in, or unref an object.
27408 The invocation code needed to be updated for this - remove some
27411 https://bugzilla.gnome.org/show_bug.cgi?id=627878
27413 configure.ac | 5 +-
27414 gi/pygi-argument.c | 9 +--
27415 gi/pygi-invoke.c | 147
27416 +++++----------------------------------------
27417 tests/Makefile.am | 42 ++++++++++++-
27418 tests/test_everything.py | 6 +-
27419 tests/test_gi.py | 151
27420 +++++++++--------------------------------------
27421 6 files changed, 93 insertions(+), 267 deletions(-)
27423 commit f6c4d9e58c8f05cb2d82e158c9eb8480308565bd
27424 Author: John (J5) Palmieri <johnp@redhat.com>
27425 Date: Fri Aug 20 10:43:58 2010 -0400
27427 we need to specify tp_hash since we overide tp_richcompare
27429 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27431 gobject/pygenum.c | 1 +
27432 gobject/pygflags.c | 1 +
27433 2 files changed, 2 insertions(+)
27435 commit c03e6b482548aee99362356807c804f8834fad2b
27436 Author: John Ehresman <jpe@wingware.com>
27437 Date: Thu Apr 15 17:11:30 2010 -0400
27439 working enum/flags/pid subclasses of long
27441 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27443 glib/pygspawn.c | 7 ++---
27444 gobject/pygenum.c | 61 ++++++++++++++++++++++++-------------------
27445 gobject/pygflags.c | 76
27446 +++++++++++++++++++++++-------------------------------
27447 3 files changed, 71 insertions(+), 73 deletions(-)
27449 commit 0db676fd2296750a46ba0fb069e472da06ecc53a
27450 Author: John (J5) Palmieri <johnp@redhat.com>
27451 Date: Wed Aug 18 11:03:32 2010 -0400
27453 make vfuncs work in py3k
27455 * methods now export __func__ instead of im_func for getting the
27457 out of a method closure
27458 * however classes no longer return unbound methods in py3k and instead
27459 return the actual function
27460 * in python 2 we use im_func when getting the function from the
27462 * in py3k we simply assign vfunc to the function
27464 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27466 gi/types.py | 12 ++++++++----
27467 1 file changed, 8 insertions(+), 4 deletions(-)
27469 commit 286dcd0c6455961d818ac7f05f80f82435abc1dc
27470 Author: John (J5) Palmieri <johnp@redhat.com>
27471 Date: Tue Aug 17 15:43:42 2010 -0400
27473 make cairo module compile in py3k
27475 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27477 gi/Makefile.am | 2 +-
27478 gi/pygi-foreign-cairo.c | 17 +++++++----------
27479 2 files changed, 8 insertions(+), 11 deletions(-)
27481 commit bda58ec34fc443fe1108afc8532bec50f6fd0b44
27482 Author: John (J5) Palmieri <johnp@redhat.com>
27483 Date: Tue Aug 17 02:33:45 2010 -0400
27485 fix exceptions so they work in python 3.x
27487 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27489 gi/module.py | 2 +-
27491 2 files changed, 2 insertions(+), 2 deletions(-)
27493 commit 427a3c8053feca35ccd746575760ac8a0ed50a12
27494 Author: John (J5) Palmieri <johnp@redhat.com>
27495 Date: Tue Aug 17 02:24:44 2010 -0400
27497 make the gi module compile under 3.x
27499 * include the compat macros
27500 * use GLIB_MODULE_START/END to define module
27501 * add PyInit__gi to the exported symbols
27503 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27505 gi/Makefile.am | 2 +-
27506 gi/gimodule.c | 24 +++++++++---------------
27507 2 files changed, 10 insertions(+), 16 deletions(-)
27509 commit 1dee5dcd2b1747b4a4af438c0443d7930e4802db
27510 Author: John (J5) Palmieri <johnp@redhat.com>
27511 Date: Tue Aug 17 02:14:14 2010 -0400
27513 fix up testshelper module so it compiles in python 3.x
27515 * include the compat header
27516 * fix up PyInts to be PYGLIB_Long
27517 * Use PYGLIB_DEFINE_TYPE macros to define module objects
27518 * Use PYGLIB_MODULE_START/END to define modules
27520 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27522 tests/Makefile.am | 2 +-
27523 tests/testhelpermodule.c | 221
27524 ++++++-----------------------------------------
27525 2 files changed, 28 insertions(+), 195 deletions(-)
27527 commit 1ff83a2ccb7301c8f675913f1c4f6118ea50b9c7
27528 Author: John (J5) Palmieri <johnp@redhat.com>
27529 Date: Mon Aug 16 21:14:27 2010 -0400
27531 convert to using PYGLIB_DEFINE_TYPE for module objects
27533 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27535 gi/pygi-boxed.c | 43 ++-----------
27536 gi/pygi-info.c | 171
27537 ++++++++++++++++++++-------------------------------
27538 gi/pygi-repository.c | 39 +++---------
27539 gi/pygi-struct.c | 45 +++-----------
27540 4 files changed, 88 insertions(+), 210 deletions(-)
27542 commit 1efa2b12913b194d433c17014bc1077271a6ca32
27543 Author: John (J5) Palmieri <johnp@redhat.com>
27544 Date: Mon Aug 16 13:51:05 2010 -0400
27546 some more p3k PyString and PyInt eradication in GI
27548 * add the glib dir to the includes list in the build
27549 * make sure we include the compat macros
27550 * add GLIB_PyBytes_FromString to compat macros
27551 * add GLIB_PyNumber_Long to compat macros
27552 * use RichCompare instead of Compare
27554 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27556 gi/Makefile.am | 2 +-
27557 gi/pygi-argument.c | 96
27558 +++++++++++++++++++++++++++------------------
27559 gi/pygi-boxed.c | 1 +
27560 gi/pygi-info.c | 13 +++---
27561 gi/pygi-private.h | 23 +++++++++++
27562 gi/pygi-repository.c | 8 ++--
27563 gi/pygi-struct.c | 1 +
27564 glib/pyglib-python-compat.h | 6 +++
27565 8 files changed, 103 insertions(+), 47 deletions(-)
27567 commit 6b902c66200c1684513a9ef31bdef3f2ff64e4fa
27568 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27569 Date: Fri Aug 20 09:28:57 2010 +0200
27571 pyglib: Fix typo (Leo Singer)
27573 https://bugzilla.gnome.org/show_bug.cgi?id=627408
27575 glib/option.py | 4 ++--
27576 1 file changed, 2 insertions(+), 2 deletions(-)
27578 commit 3cefffecc1317b6ad77a5ed936bfb990d16bf9d3
27579 Author: Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
27580 Date: Thu Aug 19 18:45:05 2010 -0300
27582 Add defines for size_t and ssize_t conversion functions
27584 These missing defines cause the resulting module to have unresolved
27585 symbols, rendering it unusable.
27587 https://bugzilla.gnome.org/show_bug.cgi?id=627440
27589 glib/pyglib-python-compat.h | 2 ++
27590 1 file changed, 2 insertions(+)
27592 commit d45c7031876f355e15409f00f3e50e77d18f8f4b
27593 Author: Colin Walters <walters@verbum.org>
27594 Date: Thu Aug 19 17:50:35 2010 -0400
27596 pyglib: Fix a compiler warning
27598 glib/pyglib.c | 1 +
27599 1 file changed, 1 insertion(+)
27601 commit 0fe6828ddce187ac1897a1f02ca1c5480796d5b9
27602 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27603 Date: Wed Aug 18 20:36:51 2010 +0200
27605 Don't force gtk 2.0
27607 pygi-convert.sh | 11 +++++++----
27608 1 file changed, 7 insertions(+), 4 deletions(-)
27610 commit ac59c18a4f2bfff47c862b763aaf1d1cf136a4f5
27611 Author: Steve Frécinaux <code@istique.net>
27612 Date: Tue Aug 17 14:49:30 2010 +0200
27614 Fix some ref leaks in hook_up_vfunc_implementation()
27616 https://bugzilla.gnome.org/show_bug.cgi?id=627143
27618 gi/gimodule.c | 9 +++++++--
27619 1 file changed, 7 insertions(+), 2 deletions(-)
27621 commit 18ee0db673c2fa42244ab85950bbf4840edb674b
27622 Author: John (J5) Palmieri <johnp@redhat.com>
27623 Date: Thu Aug 12 12:16:31 2010 -0400
27625 handle strings correctly in gio
27627 gio/gappinfo.override | 5 +++++
27628 gio/pygio-utils.c | 42 +++++++++++++++++++++++++++++++++++-------
27629 2 files changed, 40 insertions(+), 7 deletions(-)
27631 commit 45ab0c03110c911b47519941dfd753326891b5e0
27632 Author: John (J5) Palmieri <johnp@redhat.com>
27633 Date: Wed Aug 11 16:13:59 2010 -0400
27635 make giomodule compile under py3k
27637 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27639 gio/giomodule.c | 153
27640 +++++++++++++++++++++++++++++---------------------------
27641 1 file changed, 78 insertions(+), 75 deletions(-)
27643 commit c52f8ed3ae8cb66a03b5695e980770c3f467f755
27644 Author: John (J5) Palmieri <johnp@redhat.com>
27645 Date: Wed Aug 11 16:04:48 2010 -0400
27647 for py3k we need to do some more processing to get bytes from a
27650 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27652 gi/pygi-argument.c | 31 +++++++++++++++++++++++++++----
27653 1 file changed, 27 insertions(+), 4 deletions(-)
27655 commit de9eae4dfcce856a42cc5c569a5b9683c28d0eeb
27656 Author: John (J5) Palmieri <johnp@redhat.com>
27657 Date: Wed Aug 11 15:03:55 2010 -0400
27659 use Bytes instead of Unicode when reading io
27661 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27663 glib/pygiochannel.c | 30 ++++++++++++++++++++++++------
27664 1 file changed, 24 insertions(+), 6 deletions(-)
27666 commit 5824ff98175b749dbcfa72d24b994230b6e05377
27667 Author: John (J5) Palmieri <johnp@redhat.com>
27668 Date: Mon Aug 9 15:16:51 2010 -0400
27670 prefix compat macros with PYGLIB
27672 * refactor from John Ehresman <jpe@wingware.com> py3k branch
27673 * fix up some extranious PyString calls
27674 * remove duplicate macros from pyglib.h that are in
27675 pyglib-python-compat.h
27676 * pygobject.h can't import pyglib-python-compat.h so add codepaths
27677 for both Py3k and legacy code instead of using macros
27679 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27681 glib/glibmodule.c | 48 +++++-----
27682 glib/pygiochannel.c | 46 +++++-----
27683 glib/pyglib-python-compat.h | 153 +++++++++++++++++++++++--------
27684 glib/pyglib.c | 22 ++---
27685 glib/pyglib.h | 14 ---
27686 glib/pygoptioncontext.c | 4 +-
27687 glib/pygsource.c | 16 ++--
27688 glib/pygspawn.c | 32 +++----
27689 gobject/gobjectmodule.c | 216
27690 ++++++++++++++++++++++----------------------
27691 gobject/pygboxed.c | 2 +-
27692 gobject/pygenum.c | 84 ++++++++---------
27693 gobject/pygflags.c | 122 ++++++++++++-------------
27694 gobject/pygobject-private.h | 12 +--
27695 gobject/pygobject.c | 46 +++++-----
27696 gobject/pygobject.h | 23 +++++
27697 gobject/pygparamspec.c | 24 ++---
27698 gobject/pygpointer.c | 2 +-
27699 gobject/pygtype.c | 170 +++++++++++++++++-----------------
27700 18 files changed, 563 insertions(+), 473 deletions(-)
27702 commit 231e934cc01d061e81bb60d35127a133cd0e1793
27703 Author: John (J5) Palmieri <johnp@redhat.com>
27704 Date: Mon Aug 16 10:14:04 2010 +0200
27706 Gtk.Button unit tests
27708 https://bugzilla.gnome.org/show_bug.cgi?id=622606
27710 tests/test_overrides.py | 10 ++++++++++
27711 1 file changed, 10 insertions(+)
27713 commit f07cfde377e42686c6b80f56cac62338ee333e61
27714 Author: Johan Dahlin <johan@gnome.org>
27715 Date: Mon Aug 16 10:08:38 2010 +0200
27717 [Gtk] Add overrides for Button
27719 https://bugzilla.gnome.org/show_bug.cgi?id=622606
27721 gi/overrides/Gtk.py | 13 +++++++++++++
27722 1 file changed, 13 insertions(+)
27724 commit 65a06a7216163c7e65b32c5b5f3388faa7fda5d6
27725 Author: Simon van der Linden <svdlinden@gnome.org>
27726 Date: Thu Aug 12 16:18:58 2010 +0200
27728 Make Cairo an optional dependency
27730 Add the --enable-cairo configure argument.
27732 https://bugzilla.gnome.org/show_bug.cgi?id=616732
27734 configure.ac | 15 ++++++++++++---
27735 gi/Makefile.am | 20 ++++++++++++--------
27736 2 files changed, 24 insertions(+), 11 deletions(-)
27738 commit b83507263231d9bf47f6c8450583e3d03f0a3b5b
27739 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27740 Date: Mon Aug 16 09:55:35 2010 +0200
27742 Don't import again PyGObject (John Ralls)
27744 https://bugzilla.gnome.org/show_bug.cgi?id=626996
27747 1 file changed, 1 insertion(+)
27749 commit 0dc3656070f496431829c6e8441ca17129c569f8
27750 Author: John (J5) Palmieri <johnp@redhat.com>
27751 Date: Mon Aug 9 16:11:55 2010 -0400
27753 move to using richcompare slot instead of compare
27755 https://bugzilla.gnome.org/show_bug.cgi?id=615872
27757 glib/pygiochannel.c | 18 +++++++----
27759 +++++++++++++++++++++++++++++++++++++++++++++++++
27760 glib/pyglib.h | 3 ++
27761 glib/pygmaincontext.c | 17 ++++++----
27762 glib/pygmainloop.c | 17 ++++++----
27763 glib/pygoptioncontext.c | 18 +++++++----
27764 glib/pygoptiongroup.c | 22 +++++++------
27765 gobject/pygboxed.c | 18 +++++++----
27766 gobject/pygobject.c | 44 ++++++++++++++++++-------
27767 gobject/pygparamspec.c | 19 +++++++----
27768 gobject/pygpointer.c | 17 ++++++----
27769 gobject/pygtype.c | 26 +++++++++++----
27770 12 files changed, 233 insertions(+), 71 deletions(-)
27772 commit b426e531dc53d4b50e572a2da19733479635e662
27773 Author: Simon van der Linden <svdlinden@gnome.org>
27774 Date: Thu Aug 12 18:09:33 2010 +0200
27776 Replace autogen.sh by a newer version
27778 It pulls automake 1.10 or 1.11.
27779 Greatly inspired from GLib's.
27781 https://bugzilla.gnome.org/show_bug.cgi?id=625661
27784 +++++++------------------------------------------------------
27785 1 file changed, 58 insertions(+), 448 deletions(-)
27787 commit 769645e00d6d055a4cd802454dbfc1bbfcbee691
27788 Author: Simon van der Linden <svdlinden@gnome.org>
27789 Date: Thu Aug 12 14:11:55 2010 +0200
27793 pyglib.c: In function ‘pyglib_gerror_exception_check’:
27794 pyglib.c:362: warning: format not a string literal and no format
27796 pyglib.c:371: warning: format not a string literal and no format
27799 gio.override: In function 'pygio_notify_allocate_buffer':
27800 gio.override:144:13: warning: format '%d' expects type 'int', but
27804 https://bugzilla.gnome.org/show_bug.cgi?id=625437
27806 gio/gio.override | 2 +-
27807 glib/pyglib.c | 4 ++--
27808 2 files changed, 3 insertions(+), 3 deletions(-)
27810 commit e4c4cccb588b258dbcd21702e6cddcfe9ebe4ffc
27811 Author: Simon van der Linden <svdlinden@gnome.org>
27812 Date: Thu Aug 12 11:09:37 2010 +0200
27814 Fix caller-allocates emergency free.
27816 In the state, args, args[i], arg_infos[i], and arg_type_infos[i]
27818 NULL in order to be able caller-allocates. This patch adds those
27821 Moreover, the interface info needs to be freed afterwards.
27823 https://bugzilla.gnome.org/show_bug.cgi?id=626684
27825 gi/pygi-invoke.c | 9 ++++++++-
27826 1 file changed, 8 insertions(+), 1 deletion(-)
27828 commit 0ab967ca40ddcffc2834d4e656bb2010c6b9bdda
27829 Author: Simon van der Linden <svdlinden@gnome.org>
27830 Date: Thu Aug 12 10:46:17 2010 +0200
27832 Remove useless checks.
27834 No need to check for state->arg_infos, state->arg_type_infos, and
27835 state->args_is_auxiliary to be NULL, they are always allocated.
27837 https://bugzilla.gnome.org/show_bug.cgi?id=626684
27839 gi/pygi-invoke.c | 14 +++-----------
27840 1 file changed, 3 insertions(+), 11 deletions(-)
27842 commit e17be9cd288fee5d7cb174d9d577eb9279044c67
27843 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27844 Date: Tue Aug 10 17:40:16 2010 +0200
27846 Call valgrind with G_SLICE=always-malloc G_DEBUG=gc-friendly
27848 tests/Makefile.am | 2 +-
27849 1 file changed, 1 insertion(+), 1 deletion(-)
27851 commit 8be59c37dd57acc51875c7189ca09d728b729013
27852 Author: Ignacio Casal Quinteiro <icq@gnome.org>
27853 Date: Wed Aug 4 13:43:17 2010 +0200
27857 gi/pygi-argument.c | 2 --
27858 gi/pygi-invoke.c | 2 +-
27859 gi/pygi-struct.c | 1 -
27860 3 files changed, 1 insertion(+), 4 deletions(-)
27862 commit 529eca6054e9a7e2267f1529e317c2373932762f
27863 Author: Simon van der Linden <svdlinden@gnome.org>
27864 Date: Fri Jul 30 22:39:40 2010 +0200
27866 Add myself as a maintainer
27868 MAINTAINERS | 4 ++++
27869 1 file changed, 4 insertions(+)
27871 commit caac75a6ed6f671b37e38a78e71b87906a00ac1b
27872 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27873 Date: Fri Jul 30 14:14:16 2010 +0200
27875 Properly allocate boxed structs that are (caller-allocates)
27877 * gi/pygi-boxed.[hc]: Refactor out the allocation of boxed structs
27878 * gi/pygi-invoke.c: Don't use g_malloc0 for boxed structs that
27879 are (caller-allocates)
27880 * tests/test_overrides.py: Split the TreeView tests
27882 https://bugzilla.gnome.org/show_bug.cgi?id=625653
27884 gi/pygi-boxed.c | 50
27885 ++++++++++++++++++++++++++++++++-----------------
27886 gi/pygi-boxed.h | 10 ++++++----
27887 gi/pygi-invoke.c | 16 ++++++----------
27888 tests/test_overrides.py | 39 +++++++++++++++++++-------------------
27889 4 files changed, 64 insertions(+), 51 deletions(-)
27891 commit 99c7322898c00a576c7319ea0a7c808446253133
27892 Author: Toms Baugis <toms.baugis@gmail.com>
27893 Date: Fri Jul 30 15:44:21 2010 +0200
27895 override gdk.Event to return attribute from the proper event object
27897 https://bugzilla.gnome.org/show_bug.cgi?id=620593
27899 gi/overrides/Gdk.py | 48
27900 ++++++++++++++++++++++++++++++++++++++++++++++++
27901 gi/pygi-invoke.c | 4 ----
27902 tests/test_overrides.py | 10 ++++++++++
27903 3 files changed, 58 insertions(+), 4 deletions(-)
27905 commit 55814e722c2ae11310f346790c9221e4fad92b50
27906 Author: John (J5) Palmieri <johnp@redhat.com>
27907 Date: Fri Jul 30 06:30:48 2010 -0400
27909 check if z# needs an int or Py_ssize_t
27911 https://bugzilla.gnome.org/show_bug.cgi?id=625438
27913 gio/gio.override | 5 +++++
27914 1 file changed, 5 insertions(+)
27916 commit 477315465d0a6d84b51e146e86e254873bc564ff
27917 Author: John (J5) Palmieri <johnp@redhat.com>
27918 Date: Fri Jul 30 06:43:06 2010 -0400
27920 make sure we parse parameters to python object vars not glib vars
27922 * py_flags was already set up but due to a typo &flags was being
27926 https://bugzilla.gnome.org/show_bug.cgi?id=625438
27928 gio/gfile.override | 8 ++++----
27929 1 file changed, 4 insertions(+), 4 deletions(-)
27931 commit faa7d4eece7ddb698725098970c2478a3b45c4d5
27932 Author: Paul Bolle <pebolle@tiscali.nl>
27933 Date: Fri Jul 30 10:56:01 2010 +0200
27935 Make an example and a demo work out of the box
27937 cairo-demo.py and gtk-demo.py need the two (kind of) magic lines
27938 regarding pygtk to work out of the box. So add those.
27940 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
27942 https://bugzilla.gnome.org/show_bug.cgi?id=625638
27944 demos/gtk-demo/gtk-demo.py | 2 ++
27945 examples/cairo-demo.py | 2 ++
27946 2 files changed, 4 insertions(+)
27948 commit c9da5782e6c633d9af43ee85075e9ee65db09780
27949 Author: John (J5) Palmieri <johnp@redhat.com>
27950 Date: Fri Jul 9 13:14:42 2010 -0400
27952 make sure caller allocated structs are freed when they go out of scope
27954 * Move struct transfer checks from pygi-arguments to pygi-invoke
27955 * add better warning if an unknown struct is fully transfered
27956 * only free GValues we create in the invoke cleanup. All other
27958 get cleaned up when they go out of scope in python
27959 * Fixes issues with caller allocated treeiters getting freed to early
27960 * this is a fix to crashes in the current test suite when API's
27962 TreeIters were annotated as out caller-allocates so no new tests
27965 https://bugzilla.gnome.org/show_bug.cgi?id=623969
27967 gi/pygi-argument.c | 13 +++++--------
27968 gi/pygi-invoke.c | 46 ++++++++++++++++++++++++++++++++++++++++------
27969 2 files changed, 45 insertions(+), 14 deletions(-)
27971 commit e0a85305cd107aae5902e524afd074cd8c329927
27972 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27973 Date: Fri Jul 30 10:35:33 2010 +0200
27975 Revert "override gdk.Event to return attribute from the proper
27978 Pushed by mistake, we still need testcases
27980 This reverts commit e7bb3954880568884ca66e7751ede689dc2f24f6.
27982 gi/overrides/Gdk.py | 44 --------------------------------------------
27983 1 file changed, 44 deletions(-)
27985 commit 61ffb8d6d08fcfe638f71ea97ceac3a366e5536d
27986 Author: Paul Bolle <pebolle@tiscali.nl>
27987 Date: Thu Jul 29 22:55:28 2010 +0200
27989 PyGI: properly quit cairo-demo
27991 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
27993 https://bugzilla.gnome.org/show_bug.cgi?id=625619
27995 examples/cairo-demo.py | 2 +-
27996 1 file changed, 1 insertion(+), 1 deletion(-)
27998 commit e7bb3954880568884ca66e7751ede689dc2f24f6
27999 Author: Toms Baugis <toms.baugis@gmail.com>
28000 Date: Tue Jul 27 21:37:16 2010 +0200
28002 override gdk.Event to return attribute from the proper event object.
28004 https://bugzilla.gnome.org/show_bug.cgi?id=620593
28006 gi/overrides/Gdk.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
28007 1 file changed, 44 insertions(+)
28009 commit 0a9f1da052fd33dcef81d0e267fc7972f02c7888
28010 Author: Simon van der Linden <svdlinden@gnome.org>
28011 Date: Wed Jul 28 14:56:00 2010 +0200
28013 Clean and improve the test infrastructure
28015 To run select tests, use for instance:
28016 % make check TEST_NAMES='test_everything test_gi.TestConstant'
28018 It works with check.gdb and check.valgrind too.
28020 https://bugzilla.gnome.org/show_bug.cgi?id=625488
28022 Makefile.am | 5 ----
28023 tests/Makefile.am | 65
28024 +++++++++++++++++++++-------------------------
28025 tests/common.py | 47 ---------------------------------
28026 tests/runtests.py | 43 ++++++++++++------------------
28027 tests/test_gcancellable.py | 4 +--
28028 tests/test_gi.py | 3 ---
28029 tests/test_gicon.py | 3 ++-
28030 tests/test_gio.py | 3 ++-
28031 tests/test_gobject.py | 3 ++-
28032 tests/test_gresolver.py | 4 +--
28033 tests/test_gsocket.py | 4 ++-
28034 tests/test_interface.py | 6 ++++-
28035 tests/test_mainloop.py | 11 +++-----
28036 tests/test_signal.py | 4 ++-
28037 tests/test_source.py | 4 +--
28038 tests/test_subprocess.py | 5 +---
28039 tests/test_thread.py | 5 +++-
28040 tests/test_unknown.py | 5 +++-
28041 18 files changed, 82 insertions(+), 142 deletions(-)
28043 commit 82f4cb5ebf5d992493b7a2f74cfd5f175e19eb76
28044 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28045 Date: Thu Jul 29 12:34:19 2010 +0200
28047 Add some more transformations to pygi-convert.sh
28049 pygi-convert.sh | 37 +++++++++++++++++++++++++++++--------
28050 1 file changed, 29 insertions(+), 8 deletions(-)
28052 commit de519adcd21947a0aef7932cdecb78cef200c85e
28053 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28054 Date: Wed Jul 28 14:42:36 2010 +0200
28056 Adapt to API changes: g_irepository_enumerate_versions
28058 gi/importer.py | 2 +-
28059 gi/pygi-repository.c | 12 ++++++------
28060 2 files changed, 7 insertions(+), 7 deletions(-)
28062 commit 01cd9abb43f93f9a57a5a05b6dc9560614e666e3
28063 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28064 Date: Wed Jul 28 12:26:48 2010 +0200
28066 Add GValue<->GArgument marshalling for some more types
28068 gi/pygi-property.c | 37 ++++++++++++++++++++++++++++++++++++-
28069 1 file changed, 36 insertions(+), 1 deletion(-)
28071 commit ddffa70c3ee0e837070f390632bc692430f79171
28072 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28073 Date: Wed Jul 28 11:10:42 2010 +0200
28075 Chain up with the non-introspection implementation for properties
28078 gobject/pygobject.c | 7 ++++++-
28079 1 file changed, 6 insertions(+), 1 deletion(-)
28081 commit 045433a1f8167205dc8eae613dcb8835d02c8916
28082 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28083 Date: Wed Jul 28 10:59:49 2010 +0200
28085 Improve error reporting for missing attributes in introspection
28088 gi/module.py | 4 ++--
28089 1 file changed, 2 insertions(+), 2 deletions(-)
28091 commit 6655a79b2f13fe417aefdf6aebab0f2d6162ba00
28092 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28093 Date: Tue Jul 27 21:52:49 2010 +0200
28095 Implement getting and setting properties using introspection
28098 This allows us to use information not present in GObject such as
28099 transfer and element types.
28101 https://bugzilla.gnome.org/show_bug.cgi?id=620808
28103 gi/Makefile.am | 2 +
28104 gi/gimodule.c | 2 +
28105 gi/pygi-argument.c | 2 +
28106 gi/pygi-private.h | 1 +
28107 gi/pygi-property.c | 226
28108 +++++++++++++++++++++++++++++++++++++++++++++++
28109 gi/pygi-property.h | 39 ++++++++
28110 gi/pygi.h | 41 +++++++++
28111 gobject/pygobject.c | 9 ++
28112 tests/test_everything.py | 19 ++++
28113 9 files changed, 341 insertions(+)
28115 commit 85f4572b3ffbfa364ebb2e470eab759edc557b36
28116 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28117 Date: Tue Jul 27 21:32:41 2010 +0200
28119 Readd Gdk.Rectangle override for Gtk-2.0
28121 gi/overrides/Gdk.py | 19 +++++++++++++++++++
28122 1 file changed, 19 insertions(+)
28124 commit 2082ee35e2a33f52bf1e8ec49cb4a43398e91989
28125 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28126 Date: Tue Jul 27 18:25:27 2010 +0200
28128 Allow specifying a version when loading a typelib
28130 * gi/importer.py: Defer loading the typelib until first usage.
28131 * gi/module.py: Load the typelib in IntrospectionModule().
28132 * gi/overrides/*.py: Adapt to API change.
28133 * gi/pygi-repository.c: Add wrappers for g_irepository_enumerate and
28134 g_irepository_get_version.
28136 gi/importer.py | 26 ++++++-----------
28138 +++++++++++++++++++++++++-------------
28139 gi/overrides/GIMarshallingTests.py | 2 +-
28140 gi/overrides/Gdk.py | 2 +-
28141 gi/overrides/Gtk.py | 2 +-
28142 gi/pygi-repository.c | 56
28143 +++++++++++++++++++++++++++++++++++-
28144 6 files changed, 105 insertions(+), 41 deletions(-)
28146 commit 6d7ed6c322234c240b1063a1dfaadd17157432a9
28147 Author: Jonathan Matthew <jonathan@d14n.org>
28148 Date: Tue Jul 13 20:27:28 2010 +1000
28150 treat GFreeFunc as equivalent to GDestroyNotify when scanning
28153 https://bugzilla.gnome.org/show_bug.cgi?id=624232
28155 gi/pygi-callbacks.c | 3 ++-
28156 1 file changed, 2 insertions(+), 1 deletion(-)
28158 commit 7e9cbd5601ad548b78d106bac1a1576d33b91c65
28159 Author: Simon van der Linden <svdlinden@gnome.org>
28160 Date: Mon Jul 26 17:00:23 2010 +0200
28162 Don't use == to compare doubles, use <= and =>.
28164 This avoids inequality due to small precisions difference.
28166 https://bugzilla.gnome.org/show_bug.cgi?id=625326
28168 tests/testhelpermodule.c | 2 +-
28169 1 file changed, 1 insertion(+), 1 deletion(-)
28171 commit 5ca2a41f16f4a5fcc3ab4d00bec46b077c7eb384
28172 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28173 Date: Thu Jul 8 11:36:12 2010 +0200
28175 Allow passing ints as enum args
28177 https://bugzilla.gnome.org/show_bug.cgi?id=622584
28179 gi/pygi-argument.c | 23 +++++++++++++++++++++--
28180 tests/test_gi.py | 6 ++++--
28181 2 files changed, 25 insertions(+), 4 deletions(-)
28183 commit 890c3233f8a9f884b045a294bf0122bb3afcd54a
28184 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28185 Date: Sun Jul 25 17:30:40 2010 +0100
28187 Make error message less ambiguous
28189 https://bugzilla.gnome.org/show_bug.cgi?id=625095
28191 gi/pygi-callbacks.c | 3 ++-
28192 1 file changed, 2 insertions(+), 1 deletion(-)
28194 commit 1162e436273ff8e9e4e24bd8ba74615fd4624753
28195 Author: John (J5) Palmieri <johnp@redhat.com>
28196 Date: Thu Jun 24 10:07:12 2010 -0400
28198 fix passing in type names as a GType and add gtype unit tests
28200 * a simple call to pyg_type_from_object covers all the bases
28201 * added unit tests to check for correct GType value passing
28202 * fixed up tree override tests to also check different ways of
28205 https://bugzilla.gnome.org/show_bug.cgi?id=622605
28207 gi/pygi-argument.c | 8 +-------
28208 tests/test_everything.py | 27 +++++++++++++++++++++++++++
28209 tests/test_overrides.py | 6 ++----
28210 3 files changed, 30 insertions(+), 11 deletions(-)
28212 commit 8becd32fc042445d62b885bac12dac326b2dc1fa
28213 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28214 Date: Mon Jul 26 11:54:47 2010 +0200
28216 Increase a bit verbosity of tests so people know which test failed
28218 tests/runtests.py | 2 +-
28219 1 file changed, 1 insertion(+), 1 deletion(-)
28221 commit 3b3c63514f311592e6769a373d37a2bde7ea6b38
28222 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28223 Date: Thu Jul 15 15:17:53 2010 +0200
28225 Actually add the files for GVariant foreign structs
28227 gi/pygi-foreign-gvariant.c | 63
28228 ++++++++++++++++++++++++++++++++++++++++++++++
28229 gi/pygi-foreign-gvariant.h | 41 ++++++++++++++++++++++++++++++
28230 2 files changed, 104 insertions(+)
28232 commit e65275bc57f345c111eb12a6b4476ff1ddc3bc24
28233 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28234 Date: Thu Jul 15 13:31:33 2010 +0200
28236 Add foreign struct support for GVariant
28238 * gi/pygi-invoke.c: Wrap foreign structs returned by constructors
28239 * gi/pygi-foreign.c: Register foreign support for GVariant
28240 * gi/pygi-struct.c: properly release foreign structs
28241 * gi/pygi-argument.c, gi/pygi-foreign-cairo.c, gi/pygi.h: Adapt to
28243 * tests/test_everything.py: Add basic tests for GVariant
28245 https://bugzilla.gnome.org/show_bug.cgi?id=619501
28247 gi/Makefile.am | 2 +
28248 gi/pygi-argument.c | 2 +-
28249 gi/pygi-foreign-cairo.c | 16 +++----
28250 gi/pygi-foreign.c | 107
28251 +++++++++++++++++++++++++++++------------------
28252 gi/pygi-foreign.h | 7 ++--
28253 gi/pygi-invoke.c | 18 ++++----
28254 gi/pygi-struct.c | 10 ++++-
28256 tests/test_everything.py | 8 ++++
28257 9 files changed, 110 insertions(+), 69 deletions(-)
28259 commit 3b3bd4da3fbc993fa7f7cfb46ed4e67671c94cc0
28260 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28261 Date: Mon Jul 12 11:19:06 2010 +0200
28263 Add HACKING to MANIFEST.in
28266 1 file changed, 1 insertion(+), 1 deletion(-)
28268 commit 40bf08ff001b119c7daf709197005ef6480216c5
28269 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28270 Date: Mon Jul 12 11:18:04 2010 +0200
28272 Add HACKING file with instructions for releasing
28274 HACKING | 14 ++++++++++++++
28275 1 file changed, 14 insertions(+)
28277 commit 3b9dffe7cc3820dfb84fd968fc604899601c5dc4
28278 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28279 Date: Mon Jul 12 11:09:58 2010 +0200
28281 Post release version bump to 2.21.6
28283 configure.ac | 2 +-
28284 1 file changed, 1 insertion(+), 1 deletion(-)
28286 commit 42a5a0897b38156ae010c396ea254abf502f35de
28287 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28288 Date: Mon Jul 12 11:00:29 2010 +0200
28290 Update NEWS and release PyGObject-2.21.5
28292 NEWS | 17 +++++++++++++++++
28293 1 file changed, 17 insertions(+)
28295 commit 5857f25c1c6e25b79e6134558bd7151bc6c30ef7
28296 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28297 Date: Mon Jul 12 11:00:20 2010 +0200
28299 Pre-release version bump to 2.21.5
28301 configure.ac | 2 +-
28302 1 file changed, 1 insertion(+), 1 deletion(-)
28304 commit e500adc3ac19ef6f436809e5a8828ac7e8db28f6
28305 Author: Florian Müllner <florian.muellner@gmail.com>
28306 Date: Sat Jul 10 22:35:13 2010 +0200
28308 Shut up some compiler warnings
28310 Remove unused variables, make sure variables are properly initialized.
28312 https://bugzilla.gnome.org/show_bug.cgi?id=624066
28314 gi/pygi-callbacks.c | 1 -
28315 gi/pygi-closure.c | 2 +-
28316 gi/pygi-invoke.c | 1 -
28317 3 files changed, 1 insertion(+), 3 deletions(-)
28319 commit 2efa18afbcc2fac1c90958535b2f80e6e730ee56
28320 Author: =?UTF-8?q?Florian=20M=C3=BCllner?= <florian.muellner@gmail.com>
28321 Date: Mon Jul 12 10:31:42 2010 +0200
28323 Adjust to API break in GObject-Introspection
28325 As of commit 5cb925b20, many type_tags for standard C types have
28326 been removed - namely machine-dependent integer types and derived
28327 types (size_t, time_t).
28329 Most removals are just synonyms of other types, so their removal
28330 should not have too much impact, with the exception of time_t,
28331 which was translated to a native datetime object before.
28333 Also remove time_t tests (Tomeu Vizoso).
28335 https://bugzilla.gnome.org/show_bug.cgi?id=624065
28337 configure.ac | 2 +-
28338 gi/importer.py | 7 +--
28339 gi/pygi-argument.c | 146
28340 -----------------------------------------------------
28341 gi/pygi-closure.c | 10 ----
28342 gi/pygi-info.c | 37 --------------
28343 tests/test_gi.py | 21 --------
28344 6 files changed, 5 insertions(+), 218 deletions(-)
28346 commit 27a417c71f8c122e46c7472663bb25c17413f103
28347 Author: John (J5) Palmieri <johnp@redhat.com>
28348 Date: Thu Jul 8 16:01:25 2010 -0400
28350 pass in the demo app so demos can use utility methods like requesting
28353 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
28354 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
28355 demos/gtk-demo/demos/appwindow.py | 13 +++++++++++--
28356 demos/gtk-demo/demos/assistant.py | 2 +-
28357 demos/gtk-demo/demos/builder.py | 14 ++++++++++----
28358 demos/gtk-demo/demos/button_box.py | 2 +-
28359 demos/gtk-demo/demos/clipboard.py | 8 +-------
28360 demos/gtk-demo/demos/colorselector.py | 2 +-
28361 demos/gtk-demo/demos/combobox.py | 8 +++++---
28362 demos/gtk-demo/demos/drawingarea.py | 2 +-
28363 demos/gtk-demo/demos/test.py | 2 +-
28364 demos/gtk-demo/gtk-demo.py | 6 +++---
28365 12 files changed, 37 insertions(+), 26 deletions(-)
28367 commit e7daae919c2c6ae35d3927f0006252aacd49ea86
28368 Author: John (J5) Palmieri <johnp@redhat.com>
28369 Date: Thu Jul 8 15:38:07 2010 -0400
28371 demo fixes to keep up with Gtk+
28373 * treeiter changes to reflect caller-allocate annotations
28374 * fix some flag handling
28375 * use get_indicies_with_depth instead of get_indices for paths
28377 demos/gtk-demo/demos/appwindow.py | 10 +++++++---
28378 demos/gtk-demo/demos/combobox.py | 24 ++++++++++++------------
28379 demos/gtk-demo/gtk-demo.py | 13 +++++--------
28380 3 files changed, 24 insertions(+), 23 deletions(-)
28382 commit 3d9fd6391710cc33058394d6821e4d4e11f09b22
28383 Author: John (J5) Palmieri <johnp@redhat.com>
28384 Date: Thu Jul 8 12:54:43 2010 -0400
28386 override test fixes for new GTK+ annotations
28388 tests/test_overrides.py | 23 +++++++++++++----------
28389 1 file changed, 13 insertions(+), 10 deletions(-)
28391 commit 7a400f8139b70ddfe7c949035e0851689951c647
28392 Author: Ignacio Casal Quinteiro <icq@gnome.org>
28393 Date: Thu Jul 8 12:42:25 2010 +0200
28397 gi/pygi-argument.c | 4 ++--
28398 1 file changed, 2 insertions(+), 2 deletions(-)
28400 commit 39fd0a85a3de06b1b877d1125f91036409886373
28401 Author: John (J5) Palmieri <johnp@redhat.com>
28402 Date: Wed Jul 7 15:48:36 2010 -0400
28404 fix up treeiter usage due to caller-allocates annotations in gtk+
28406 * we still don't pass tests because the caller-allocates code path
28408 handle the case where the parameter is followed by a regular
28411 gi/overrides/Gtk.py | 7 +++----
28412 tests/test_overrides.py | 21 +++++++++++----------
28413 2 files changed, 14 insertions(+), 14 deletions(-)
28415 commit 4d970b75dc5c75c1bec04cb2954c9985b476070c
28416 Author: John (J5) Palmieri <johnp@redhat.com>
28417 Date: Tue Jul 6 17:50:10 2010 -0400
28419 add entry completion demo
28421 demos/gtk-demo/demos/Entry/entry_completion.py | 87
28422 ++++++++++++++++++++++++++
28423 1 file changed, 87 insertions(+)
28425 commit f3531eaa1bfa4e01651d35cd587384d30a398ba8
28426 Author: John (J5) Palmieri <johnp@redhat.com>
28427 Date: Tue Jul 6 17:49:18 2010 -0400
28431 demos/gtk-demo/demos/Entry/entry_buffer.py | 4 ++--
28432 1 file changed, 2 insertions(+), 2 deletions(-)
28434 commit baf1e9bb550c7bf45e2ac0b70ba29c434ef1ccc6
28435 Author: John (J5) Palmieri <johnp@redhat.com>
28436 Date: Tue Jul 6 17:27:04 2010 -0400
28438 add the Entry demo directory and the entry_buffer demo
28440 demos/gtk-demo/demos/Entry/__init__.py | 0
28441 demos/gtk-demo/demos/Entry/entry_buffer.py | 73
28442 ++++++++++++++++++++++++++++++
28443 2 files changed, 73 insertions(+)
28445 commit f2b1d222120f055bec9339cca55c9cc90f538c00
28446 Author: John (J5) Palmieri <johnp@redhat.com>
28447 Date: Tue Jul 6 17:26:03 2010 -0400
28449 fix loading of demo modules to support sub modules
28451 demos/gtk-demo/gtk-demo.py | 9 +++++++--
28452 1 file changed, 7 insertions(+), 2 deletions(-)
28454 commit 4f9390fb1892b13ab2ea00ed66c5000a40f09029
28455 Author: John (J5) Palmieri <johnp@redhat.com>
28456 Date: Tue Jul 6 15:56:34 2010 -0400
28458 add the ability to have demos in sub catagories
28460 demos/gtk-demo/gtk-demo.py | 76
28461 ++++++++++++++++++++++++++++++++--------------
28462 1 file changed, 54 insertions(+), 22 deletions(-)
28464 commit dc2249a3ecf339008351316217191d0551ccc588
28465 Author: Jose Aliste <jaliste@src.gnome.org>
28466 Date: Mon Jul 5 14:36:59 2010 -0400
28468 Add __name__ to DynamicModule class.
28473 1 file changed, 1 insertion(+)
28475 commit 2357bca8d14539894b6bd0acfdc18d30b4bb4db6
28476 Author: Ignacio Casal Quinteiro <icq@gnome.org>
28477 Date: Mon Jul 5 16:11:07 2010 +0200
28479 Do not override GdkRectangle.
28481 This class was lately removed from gtk+ 3, so there is no need
28485 gi/overrides/Gdk.py | 19 -------------------
28486 1 file changed, 19 deletions(-)
28488 commit daca09dc2c2306d4fa82a68bbdd147d4b170a1e7
28489 Author: Philip Withnall <philip.withnall@collabora.co.uk>
28490 Date: Tue Jun 29 16:37:36 2010 +0100
28492 Add override for TreeModel implementing __len__()
28496 gi/overrides/Gtk.py | 11 +++++++++--
28497 tests/test_overrides.py | 5 +++++
28498 2 files changed, 14 insertions(+), 2 deletions(-)
28500 commit bb8adb7f02f0c5494df2cb6e535e44d23902e8f5
28501 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28502 Date: Tue Jun 29 11:27:13 2010 +0200
28504 Update NEWS and release PyGObject-2.21.4
28506 NEWS | 27 +++++++++++++++++++++++++--
28507 1 file changed, 25 insertions(+), 2 deletions(-)
28509 commit 2d473ee17be4671244bb4a2a0953a21ccf2a0df6
28510 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28511 Date: Tue Jun 29 10:55:03 2010 +0200
28513 Remove files from the makefiles
28515 gi/Makefile.am | 4 +---
28516 gobject/Makefile.am | 3 +--
28517 2 files changed, 2 insertions(+), 5 deletions(-)
28519 commit 89827314fd183eac07443c8e9d275ca9d4ce59df
28520 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28521 Date: Tue Jun 29 10:27:39 2010 +0200
28523 Build the cairo shim as a python module so the _gi module stops
28526 https://bugzilla.gnome.org/show_bug.cgi?id=623021
28529 gi/Makefile.am | 38 ++++++++++-----
28530 gi/gimodule.c | 8 +---
28531 gi/pygi-argument.c | 10 +---
28532 gi/pygi-foreign-cairo.c | 56 ++++++++++++++++------
28533 gi/pygi-foreign-cairo.h | 55 ---------------------
28534 gi/pygi-foreign.c | 125
28535 ++++++++++++++++++++++++++++--------------------
28536 gi/pygi-foreign.h | 31 ++++++------
28537 gi/pygi.h | 40 ++++++++++++++--
28538 9 files changed, 196 insertions(+), 169 deletions(-)
28540 commit a6a90551311bc64f037cbd442e13f70c30060871
28541 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28542 Date: Mon Jun 28 14:20:43 2010 +0200
28544 Remove pygi-external.h
28546 https://bugzilla.gnome.org/show_bug.cgi?id=623021
28548 gi/gimodule.c | 8 +++---
28549 gi/pygi-type.c | 4 +--
28550 gi/pygi-type.h | 2 +-
28551 gi/pygi.h | 54 ++++++++++++++++-----------------------
28552 gobject/Makefile.am | 6 +++++
28553 gobject/pygboxed.c | 2 +-
28554 gobject/pygenum.c | 2 +-
28555 gobject/pygflags.c | 2 +-
28556 gobject/pygi-external.h | 67
28557 -------------------------------------------------
28558 gobject/pygobject.c | 2 +-
28559 gobject/pygpointer.c | 2 +-
28560 11 files changed, 40 insertions(+), 111 deletions(-)
28562 commit 8b3a3baacb45cb3f9112f7597607602fa89c6634
28563 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28564 Date: Fri Jun 25 13:54:57 2010 +0200
28566 Revert "correctly handle floating objects in gtk"
28568 This reverts commit 60fdf4b8f738dd0f5c190bc18ddf010032d3c5ca.
28573 tests/test_everything.py
28575 gi/gimodule.c | 13 -------------
28576 tests/test_everything.py | 3 ++-
28577 2 files changed, 2 insertions(+), 14 deletions(-)
28579 commit 0f2a09d7eae63abb71723b7cd8fb290dcba33426
28580 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28581 Date: Fri Jun 25 13:49:04 2010 +0200
28583 Make valgrind happy again
28585 * gi/pygi-argument.c, gi/pygi-info.c: Zero two GArgument instances.
28586 * gi/pygi-invoke.c: workaround bgo#622711 and zero invocation_state.
28588 gi/pygi-argument.c | 1 +
28589 gi/pygi-info.c | 2 ++
28590 gi/pygi-invoke.c | 8 ++++++--
28591 3 files changed, 9 insertions(+), 2 deletions(-)
28593 commit 63afe55906c8637e913783e65b82b540b81bed65
28594 Author: John (J5) Palmieri <johnp@redhat.com>
28595 Date: Thu Jun 24 16:13:37 2010 -0400
28597 add drawing area demo
28599 demos/gtk-demo/demos/drawingarea.py | 249
28600 ++++++++++++++++++++++++++++++++++++
28601 1 file changed, 249 insertions(+)
28603 commit 8bba5f842393a284367cdd15f3d32a8c7745516a
28604 Author: John (J5) Palmieri <johnp@redhat.com>
28605 Date: Thu Jun 24 14:11:00 2010 -0400
28609 demos/gtk-demo/gtk-demo.py | 2 ++
28610 1 file changed, 2 insertions(+)
28612 commit b9da82742701ed276b01dee39626cd71cbef8556
28613 Author: John (J5) Palmieri <johnp@redhat.com>
28614 Date: Thu Jun 24 13:56:18 2010 -0400
28616 rename iter to treeiter so we aren't using a python reserved word
28618 demos/gtk-demo/gtk-demo.py | 12 ++++++------
28619 1 file changed, 6 insertions(+), 6 deletions(-)
28621 commit c93935621f2fb1ff5e8c424ae884bd684ea68e50
28622 Author: John (J5) Palmieri <johnp@redhat.com>
28623 Date: Thu Jun 24 13:47:54 2010 -0400
28625 Fixup for change in buffer API
28627 * Part of buffer API dealing with TextIter now marked (out
28630 demos/gtk-demo/gtk-demo.py | 10 ++++------
28631 1 file changed, 4 insertions(+), 6 deletions(-)
28633 commit 8d9516a593a515290109401a9db7aa259b5aa35c
28634 Author: John (J5) Palmieri <johnp@redhat.com>
28635 Date: Wed Jun 23 17:04:33 2010 -0400
28637 add ListStore, TreeStore and TreeViewColumn APIs
28639 * this is enough to support the gtk-demo.py shell
28640 * TreeStore and ListStore allow passing in as an argument list
28641 of either python or GLib types to the constructor as a description
28642 of the columns in the model
28643 * TreeStore and ListStore override the append method, allowing
28644 the application developer to send in a list of column values
28645 for one row in the model. Unlike the append in C which
28646 just returns an iter that you can then add data to,
28647 this append actualy appends data in one step
28648 * TreeViewColumn overrides the constructor to allow the adding
28649 of attributes and a cell renderer when constructing the
28652 https://bugzilla.gnome.org/show_bug.cgi?id=620405
28654 gi/overrides/Gtk.py | 59 ++++++++++++++++++++++++++++++++++++++++++
28655 tests/test_overrides.py | 69
28656 +++++++++++++++++++++++++++++++++++++++++++++++++
28657 2 files changed, 128 insertions(+)
28659 commit c305fbeb7bdb44623d5198f4a8f0a374d529fdf4
28660 Author: Johan Dahlin <johan@gnome.org>
28661 Date: Wed Jun 23 14:34:28 2010 -0300
28663 [gi] Add -I../gobject to cflags
28665 Since we're no longer pulling in pygobject cflags,
28666 add this to be able to include pygobject.h
28668 gi/Makefile.am | 3 +++
28669 1 file changed, 3 insertions(+)
28671 commit 53a093198851e3ba5abd1f6c3314737decd401d8
28672 Author: Ignacio Casal Quinteiro <icq@gnome.org>
28673 Date: Wed Jun 23 18:09:19 2010 +0200
28675 Add unit test for add_actions user data.
28677 tests/test_overrides.py | 20 +++++++++++++++-----
28678 1 file changed, 15 insertions(+), 5 deletions(-)
28680 commit 7f829af620cba768de619dd9f228d5d2ebf7fee4
28681 Author: Paolo Borelli <pborelli@gnome.org>
28682 Date: Wed Jun 23 18:06:46 2010 +0200
28684 Pass user_data param when adding actions
28686 gi/overrides/Gtk.py | 12 ++++++------
28687 1 file changed, 6 insertions(+), 6 deletions(-)
28689 commit 8f537ccd62f41ebe0db3853e2ae08080666f598f
28690 Author: John (J5) Palmieri <johnp@redhat.com>
28691 Date: Wed Jun 23 12:02:04 2010 -0400
28693 add an exception type to the try/except block
28695 * we should always specify what exception types we are expecting
28697 gi/overrides/Gtk.py | 6 +++---
28698 1 file changed, 3 insertions(+), 3 deletions(-)
28700 commit f140a8ebf59347162b67b550bd6f62d2eafad29a
28701 Author: Johan Dahlin <johan@gnome.org>
28702 Date: Wed Jun 23 12:31:51 2010 -0300
28704 Avoid duplicating required versions
28706 Avoid duplicating the version of all required packages.
28707 Also remove cyclic dependency of pygobject
28709 https://bugzilla.gnome.org/show_bug.cgi?id=622503
28711 configure.ac | 9 +++++----
28712 1 file changed, 5 insertions(+), 4 deletions(-)
28714 commit e8bd25355fbe7de38a28b7a0583167a2c0ffc31f
28715 Author: John (J5) Palmieri <johnp@redhat.com>
28716 Date: Tue Jun 22 15:03:08 2010 -0400
28718 return PyList instead of PyTuple for array, return empty list for
28721 * returns an empty list when a NULL array (empty array) is encountered
28722 * fix tests to check for lists instead of tuples or None
28723 * test the ability to send in both None and empty list for arrays
28726 gi/pygi-argument.c | 7 ++--
28727 tests/test_everything.py | 5 ++-
28728 tests/test_gi.py | 84
28729 ++++++++++++++++++++++++------------------------
28730 3 files changed, 49 insertions(+), 47 deletions(-)
28732 commit f312e6a49505eca07815146cfbdb0e48e5b3b8a8
28733 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28734 Date: Wed Jun 23 15:42:29 2010 +0200
28736 Fix 'make distcheck'
28738 * Makefile.am: put the tests dir to the end
28739 * g*/Makefile.am: build the .so when running make check
28740 * tests/Makefile.am: Don't pass the src dir to runtests.py and
28741 remove (hopefully) unneeded cruft.
28742 * tests/common.py: Don't add the src dir to the python path
28743 * tests/runtests.py: Don't pass the src dir to common.py
28745 Makefile.am | 4 +++-
28746 gi/Makefile.am | 1 +
28747 gio/Makefile.am | 1 +
28748 glib/Makefile.am | 2 +-
28749 gobject/Makefile.am | 1 +
28750 tests/Makefile.am | 17 ++---------------
28751 tests/common.py | 3 +--
28752 tests/runtests.py | 12 +++++-------
28753 8 files changed, 15 insertions(+), 26 deletions(-)
28755 commit 5f82e7d2909cbbbecbf5dbee2342f516c0d1f371
28756 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28757 Date: Wed Jun 23 13:59:14 2010 +0200
28759 Allow building pygobject without introspection support by providing
28760 --disable-introspection to configure.
28762 Makefile.am | 6 +++++-
28763 configure.ac | 15 ++++++++-------
28764 gobject/pygi-external.h | 4 ++--
28765 tests/Makefile.am | 8 ++++++--
28766 tests/runtests.py | 21 +++++++--------------
28767 5 files changed, 28 insertions(+), 26 deletions(-)
28769 commit cc3ea77318ee572673d2a044deca9001366b0f08
28770 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28771 Date: Wed Jun 23 12:26:51 2010 +0200
28773 Make sure that sys.argv is a list and not a sequence.
28775 Because Python's optparse will try to do things on it that can
28776 only be done with list.
28778 gi/overrides/Gtk.py | 2 +-
28779 1 file changed, 1 insertion(+), 1 deletion(-)
28781 commit 3d72b8248cc534a689dee5679a729b2fba56c528
28782 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28783 Date: Wed Jun 23 12:26:02 2010 +0200
28785 Force loading the GObject typelib so we have available the wrappers
28786 for base classes such as GInitiallyUnowned.
28788 gi/__init__.py | 3 +++
28789 1 file changed, 3 insertions(+)
28791 commit c7c94ef349c30597f2f10d90f74718d678ec7add
28792 Author: John (J5) Palmieri <johnp@redhat.com>
28793 Date: Tue Jun 22 14:45:48 2010 -0400
28795 we shouldn't g_array_free NULL pointers
28797 https://bugzilla.gnome.org/show_bug.cgi?id=622425
28799 gi/pygi-info.c | 5 +++--
28800 1 file changed, 3 insertions(+), 2 deletions(-)
28802 commit fb1ee243493616d7a7e4f6924c574db39f5a423d
28803 Merge: acf7b43 5f9cb91
28804 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28805 Date: Wed Jun 23 12:53:05 2010 +0200
28807 Merge branch 'pygi'
28809 commit 5f9cb91c2b3851056d5e2d7ff1401d4ce2be7c1f
28810 Author: John (J5) Palmieri <johnp@redhat.com>
28811 Date: Tue Jun 22 15:39:46 2010 -0400
28813 remove unneeded TextIter creation in the tests
28815 tests/test_overrides.py | 3 ---
28816 1 file changed, 3 deletions(-)
28818 commit 53c355d2cc0894e7f551e9b4eb719b89188a978e
28819 Author: John (J5) Palmieri <johnp@redhat.com>
28820 Date: Mon Jun 21 11:42:12 2010 -0400
28822 add override for TextBuffer
28824 * TextBuffer.create_tag takes vargs which we can't bind yet so
28826 to except a keyword list of properties
28827 * override the insert* methods so the developer does not have to
28829 - lengths are already encapsulated by a string in Python
28831 https://bugzilla.gnome.org/show_bug.cgi?id=620583
28833 gi/overrides/Gtk.py | 51
28834 +++++++++++++++++++++++++++++++++++++++++++++++++
28835 tests/test_overrides.py | 25 ++++++++++++++++++++++++
28836 2 files changed, 76 insertions(+)
28838 commit 1d89a88b212c7411ad28e74eda80ae751de92e50
28839 Author: John (J5) Palmieri <johnp@redhat.com>
28840 Date: Tue Jun 22 12:46:39 2010 -0400
28842 fix up some build issues
28844 * configure.ac: moved AM_PROG_CC_C_O below AM_PROG_CC_STDC because
28846 was complaining that AM_PROG_CC_STDC can't come after AM_PROC_CC_C_0
28847 * tests/Makefile.am: fix check-local target to use EXEC_NAME so
28849 make check.gdb work
28851 configure.ac | 2 +-
28852 tests/Makefile.am | 2 +-
28853 2 files changed, 2 insertions(+), 2 deletions(-)
28855 commit 4fe0d94c219deb69a2309693202309c53a0e5e69
28856 Author: John (J5) Palmieri <johnp@redhat.com>
28857 Date: Tue Jun 22 11:50:30 2010 -0400
28859 make the overrides file git friendly by appending to __all__ after
28862 * modifying the __all__ line for each override would confuse git as
28863 each override needs to get seperate approval before comitting.
28865 this commits would not always go in in the same order as they
28867 Also different people working on the same file would start from
28869 commit states. This caused conflicts when patches were merged.
28870 * instead of modifying a single hard coded list we now append to
28872 after each override. This creates distinct blocks of changed text
28873 which will not conflict
28875 gi/overrides/GIMarshallingTests.py | 10 ++++------
28876 gi/overrides/Gdk.py | 8 ++++----
28877 gi/overrides/Gtk.py | 7 +++++--
28878 3 files changed, 13 insertions(+), 12 deletions(-)
28880 commit 49321b934603e1ec69fb04082c63902970907d2b
28881 Author: Paolo Borelli <pborelli@gnome.org>
28882 Date: Sun Jun 20 13:27:34 2010 +0200
28884 Override Dialog constructor and add_buttons method
28886 gi/overrides/Gtk.py | 46
28887 +++++++++++++++++++++++++++++++++++++++++++++-
28888 tests/test_overrides.py | 16 ++++++++++++++++
28889 2 files changed, 61 insertions(+), 1 deletion(-)
28891 commit acf7b43a41ce814f0c57ce609a090826f04771db
28892 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28893 Date: Mon Jun 21 18:17:38 2010 +0200
28895 Post release version bump to 2.21.4
28897 configure.ac | 2 +-
28898 1 file changed, 1 insertion(+), 1 deletion(-)
28900 commit a7fa8b80406227a06cf18f8675dbc1f471283829
28901 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28902 Date: Mon Jun 21 18:10:32 2010 +0200
28904 Update NEWS and release PyGObject-2.21.3
28907 1 file changed, 7 insertions(+)
28909 commit 79acac7b86ec52cd3681d94d7f116314c3f00167
28910 Author: Ludovic L'Hours <ludovic.lhours@gmail.com>
28911 Date: Tue Jul 21 16:28:34 2009 +0200
28913 Proper handling of null-ok in virtual methods
28915 https://bugzilla.gnome.org/show_bug.cgi?id=589253
28917 codegen/codegen.py | 2 ++
28918 codegen/reversewrapper.py | 18 +++++++++++++++---
28919 2 files changed, 17 insertions(+), 3 deletions(-)
28921 commit 259a4b08f009aa01451caed20dbb6e68b402da2a
28922 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28923 Date: Mon Jun 21 17:34:54 2010 +0200
28925 Add *~ and *.orig to .gitignore
28927 .gitignore | 5 ++++-
28928 1 file changed, 4 insertions(+), 1 deletion(-)
28930 commit 00a85f6a844714d1715e2f67431747d1a4cdacb1
28931 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28932 Date: Mon Jun 21 17:33:56 2010 +0200
28934 Fall back to use the floating references API in glib if there isn't
28935 a sinkfunc defined.
28937 * tests/*: Add ref counting tests for floating objects
28938 * gobject/gobjectmodule.c, gobject/pygobject.c: Fall back to
28940 or g_object_ref if there isn't a sinkfunc defined. Make sure that
28941 pygobject_sink gets called only once per GObject instance.
28943 https://bugzilla.gnome.org/show_bug.cgi?id=583909
28945 gobject/gobjectmodule.c | 2 -
28946 gobject/pygobject.c | 50 +++++++++++++---------
28947 gobject/pygobject.h | 1 +
28948 tests/Makefile.am | 2 +
28949 tests/test-floating.c | 95 +++++++++++++++++++++++++++++++++++++++++
28950 tests/test-floating.h | 60 ++++++++++++++++++++++++++
28951 tests/test_gobject.py | 19 ++++++++-
28952 tests/testhelpermodule.c | 109
28953 +++++++++++++++++++++++++++++++++++++++++++++++
28954 8 files changed, 315 insertions(+), 23 deletions(-)
28956 commit e71238a699ae783fd1a59c8a76e3555d8066cf82
28957 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28958 Date: Mon Jun 21 13:06:13 2010 +0200
28960 Revert "Drop sinkfuncs."
28962 This reverts commit 04627488220b4f2a16e11f8982af7866fea9f7eb.
28964 gobject/gobjectmodule.c | 3 ++-
28965 gobject/pygobject.c | 42 ++++++++++++++++++++++++++++++++++--------
28966 gobject/pygobject.h | 1 -
28967 3 files changed, 36 insertions(+), 10 deletions(-)
28969 commit b2661054d6bde673484eab472e69ca021124528d
28970 Author: Johan Dahlin <johan@gnome.org>
28971 Date: Sun Jun 20 11:09:57 2010 -0300
28975 For reasons outlined at:
28976 http://mail.gnome.org/archives/python-hackers-list/2010-June/msg00009.html
28978 Makefile.am | 14 +-
28979 configure.ac | 29 +-
28980 demos/gtk-demo/demos/__init__.py | 0
28981 demos/gtk-demo/demos/appwindow.py | 411 +++++
28982 demos/gtk-demo/demos/assistant.py | 134 ++
28983 demos/gtk-demo/demos/builder.py | 57 +
28984 demos/gtk-demo/demos/button_box.py | 121 ++
28985 demos/gtk-demo/demos/clipboard.py | 238 +++
28986 demos/gtk-demo/demos/colorselector.py | 121 ++
28987 demos/gtk-demo/demos/combobox.py | 282 ++++
28988 demos/gtk-demo/demos/data/alphatest.png | Bin 0 ->
28990 demos/gtk-demo/demos/data/apple-red.png | Bin 0 -> 3545 bytes
28991 demos/gtk-demo/demos/data/background.jpg | Bin 0 ->
28993 demos/gtk-demo/demos/data/demo.ui | 258 ++++
28994 demos/gtk-demo/demos/data/floppybuddy.gif | Bin 0 -> 5216 bytes
28995 demos/gtk-demo/demos/data/gnome-applets.png | Bin 0 -> 3090 bytes
28996 demos/gtk-demo/demos/data/gnome-calendar.png | Bin 0 -> 2755 bytes
28997 demos/gtk-demo/demos/data/gnome-foot.png | Bin 0 -> 2916 bytes
28998 demos/gtk-demo/demos/data/gnome-fs-directory.png | Bin 0 -> 2044 bytes
28999 demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 0 -> 1795 bytes
29000 demos/gtk-demo/demos/data/gnome-gimp.png | Bin 0 -> 3410 bytes
29001 demos/gtk-demo/demos/data/gnome-gmush.png | Bin 0 -> 3244 bytes
29002 demos/gtk-demo/demos/data/gnome-gsame.png | Bin 0 -> 4263 bytes
29003 demos/gtk-demo/demos/data/gnu-keys.png | Bin 0 -> 3852 bytes
29004 demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 0 -> 6427 bytes
29005 demos/gtk-demo/demos/test.py | 14 +
29006 demos/gtk-demo/gtk-demo.py | 266 ++++
29007 examples/Makefile.am | 2 +-
29008 examples/cairo-demo.py | 121 ++
29009 gi/Makefile.am | 4 +-
29010 gi/demos/gtk-demo/demos/__init__.py | 0
29011 gi/demos/gtk-demo/demos/appwindow.py | 411 -----
29012 gi/demos/gtk-demo/demos/assistant.py | 134 --
29013 gi/demos/gtk-demo/demos/builder.py | 57 -
29014 gi/demos/gtk-demo/demos/button_box.py | 121 --
29015 gi/demos/gtk-demo/demos/clipboard.py | 238 ---
29016 gi/demos/gtk-demo/demos/colorselector.py | 121 --
29017 gi/demos/gtk-demo/demos/combobox.py | 282 ----
29018 gi/demos/gtk-demo/demos/data/alphatest.png | Bin 26529 ->
29020 gi/demos/gtk-demo/demos/data/apple-red.png | Bin 3545 -> 0 bytes
29021 gi/demos/gtk-demo/demos/data/background.jpg | Bin 22219 ->
29023 gi/demos/gtk-demo/demos/data/demo.ui | 258 ----
29024 gi/demos/gtk-demo/demos/data/floppybuddy.gif | Bin 5216 -> 0 bytes
29025 gi/demos/gtk-demo/demos/data/gnome-applets.png | Bin 3090 -> 0 bytes
29026 gi/demos/gtk-demo/demos/data/gnome-calendar.png | Bin 2755 -> 0 bytes
29027 gi/demos/gtk-demo/demos/data/gnome-foot.png | Bin 2916 -> 0 bytes
29028 .../gtk-demo/demos/data/gnome-fs-directory.png | Bin 2044 -> 0 bytes
29029 gi/demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 1795 -> 0 bytes
29030 gi/demos/gtk-demo/demos/data/gnome-gimp.png | Bin 3410 -> 0 bytes
29031 gi/demos/gtk-demo/demos/data/gnome-gmush.png | Bin 3244 -> 0 bytes
29032 gi/demos/gtk-demo/demos/data/gnome-gsame.png | Bin 4263 -> 0 bytes
29033 gi/demos/gtk-demo/demos/data/gnu-keys.png | Bin 3852 -> 0 bytes
29034 gi/demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 6427 -> 0 bytes
29035 gi/demos/gtk-demo/demos/test.py | 14 -
29036 gi/demos/gtk-demo/gtk-demo.py | 266 ----
29037 gi/examples/Makefile.am | 2 -
29038 gi/examples/cairo-demo.py | 121 --
29039 gi/tests/test_everything.py | 270 ----
29040 gi/tests/test_gi.py | 1624
29041 --------------------
29042 gi/tests/test_overrides.py | 132 --
29043 pygi-Makefile.am | 28 -
29044 pygi-configure.ac | 60 -
29046 pygobject.doap | 16 +-
29047 tests/Makefile.am | 23 +-
29048 tests/test_everything.py | 270 ++++
29049 tests/test_gi.py | 1624
29050 ++++++++++++++++++++
29051 tests/test_overrides.py | 132 ++
29052 68 files changed, 4124 insertions(+), 4186 deletions(-)
29054 commit 597bd64319d7966045b5b8613ca6fc85668c3f56
29055 Merge: ec8d148 fa91dfd
29056 Author: Johan Dahlin <johan@gnome.org>
29057 Date: Sun Jun 20 10:53:46 2010 -0300
29059 Merge branch 'pygi-merge'
29061 commit fa91dfd3ec79ecd03c9fb59b9363eab4a5b3ff2b
29062 Author: Johan Dahlin <johan@gnome.org>
29063 Date: Sun Jun 20 10:53:36 2010 -0300
29070 autogen.sh | 166 --
29071 configure.ac | 60 -
29072 demos/gtk-demo/demos/__init__.py | 0
29073 demos/gtk-demo/demos/appwindow.py | 411 -----
29074 demos/gtk-demo/demos/assistant.py | 134 --
29075 demos/gtk-demo/demos/builder.py | 57 -
29076 demos/gtk-demo/demos/button_box.py | 121 --
29077 demos/gtk-demo/demos/clipboard.py | 238 ---
29078 demos/gtk-demo/demos/colorselector.py | 121 --
29079 demos/gtk-demo/demos/combobox.py | 282 ----
29080 demos/gtk-demo/demos/data/alphatest.png | Bin 26529 ->
29082 demos/gtk-demo/demos/data/apple-red.png | Bin 3545 -> 0 bytes
29083 demos/gtk-demo/demos/data/background.jpg | Bin 22219 ->
29085 demos/gtk-demo/demos/data/demo.ui | 258 ----
29086 demos/gtk-demo/demos/data/floppybuddy.gif | Bin 5216 -> 0 bytes
29087 demos/gtk-demo/demos/data/gnome-applets.png | Bin 3090 -> 0 bytes
29088 demos/gtk-demo/demos/data/gnome-calendar.png | Bin 2755 -> 0 bytes
29089 demos/gtk-demo/demos/data/gnome-foot.png | Bin 2916 -> 0 bytes
29090 demos/gtk-demo/demos/data/gnome-fs-directory.png | Bin 2044 -> 0 bytes
29091 demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 1795 -> 0 bytes
29092 demos/gtk-demo/demos/data/gnome-gimp.png | Bin 3410 -> 0 bytes
29093 demos/gtk-demo/demos/data/gnome-gmush.png | Bin 3244 -> 0 bytes
29094 demos/gtk-demo/demos/data/gnome-gsame.png | Bin 4263 -> 0 bytes
29095 demos/gtk-demo/demos/data/gnu-keys.png | Bin 3852 -> 0 bytes
29096 demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 6427 -> 0 bytes
29097 demos/gtk-demo/demos/test.py | 14 -
29098 demos/gtk-demo/gtk-demo.py | 266 ----
29099 examples/Makefile.am | 2 -
29100 examples/cairo-demo.py | 121 --
29101 gi/.gitignore | 40 +
29103 gi/demos/gtk-demo/demos/__init__.py | 0
29104 gi/demos/gtk-demo/demos/appwindow.py | 411 +++++
29105 gi/demos/gtk-demo/demos/assistant.py | 134 ++
29106 gi/demos/gtk-demo/demos/builder.py | 57 +
29107 gi/demos/gtk-demo/demos/button_box.py | 121 ++
29108 gi/demos/gtk-demo/demos/clipboard.py | 238 +++
29109 gi/demos/gtk-demo/demos/colorselector.py | 121 ++
29110 gi/demos/gtk-demo/demos/combobox.py | 282 ++++
29111 gi/demos/gtk-demo/demos/data/alphatest.png | Bin 0 ->
29113 gi/demos/gtk-demo/demos/data/apple-red.png | Bin 0 -> 3545 bytes
29114 gi/demos/gtk-demo/demos/data/background.jpg | Bin 0 ->
29116 gi/demos/gtk-demo/demos/data/demo.ui | 258 ++++
29117 gi/demos/gtk-demo/demos/data/floppybuddy.gif | Bin 0 -> 5216 bytes
29118 gi/demos/gtk-demo/demos/data/gnome-applets.png | Bin 0 -> 3090 bytes
29119 gi/demos/gtk-demo/demos/data/gnome-calendar.png | Bin 0 -> 2755 bytes
29120 gi/demos/gtk-demo/demos/data/gnome-foot.png | Bin 0 -> 2916 bytes
29121 .../gtk-demo/demos/data/gnome-fs-directory.png | Bin 0 -> 2044 bytes
29122 gi/demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 0 -> 1795 bytes
29123 gi/demos/gtk-demo/demos/data/gnome-gimp.png | Bin 0 -> 3410 bytes
29124 gi/demos/gtk-demo/demos/data/gnome-gmush.png | Bin 0 -> 3244 bytes
29125 gi/demos/gtk-demo/demos/data/gnome-gsame.png | Bin 0 -> 4263 bytes
29126 gi/demos/gtk-demo/demos/data/gnu-keys.png | Bin 0 -> 3852 bytes
29127 gi/demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 0 -> 6427 bytes
29128 gi/demos/gtk-demo/demos/test.py | 14 +
29129 gi/demos/gtk-demo/gtk-demo.py | 266 ++++
29130 gi/examples/Makefile.am | 2 +
29131 gi/examples/cairo-demo.py | 121 ++
29132 gi/tests/Makefile.am | 22 +
29133 gi/tests/runtests.py | 21 +
29134 gi/tests/test_everything.py | 270 ++++
29135 gi/tests/test_gi.py | 1624
29136 ++++++++++++++++++++
29137 gi/tests/test_overrides.py | 132 ++
29138 pygi-Makefile.am | 28 +
29139 pygi-configure.ac | 60 +
29140 tests/Makefile.am | 22 -
29141 tests/runtests.py | 21 -
29142 tests/test_everything.py | 270 ----
29143 tests/test_gi.py | 1624
29144 --------------------
29145 tests/test_overrides.py | 132 --
29146 73 files changed, 4248 insertions(+), 4414 deletions(-)
29148 commit ec8d148eccbb3714093f21b595ea77ae4c7c3bce
29149 Author: Johan Dahlin <johan@gnome.org>
29150 Date: Sun Jun 20 10:49:55 2010 -0300
29152 [giounix] Make it possible to compile on glib 2.20
29154 gio/unix.override | 2 ++
29155 1 file changed, 2 insertions(+)
29157 commit 606018a2c551d890fc2bb987d99683f777598bda
29158 Author: John (J5) Palmieri <johnp@redhat.com>
29159 Date: Mon Jun 7 16:32:29 2010 -0400
29161 Don't free transfer full struct pointers because we can't do it safely
29163 * Most libraries which are sending back structs as transfer-full
29164 are either annotated incorrectly or should be sending boxed types
29165 * It is much better to throw a warning and leak memory than it is to
29166 call free on an unknown struct pointer. Doing so may cause
29168 * Specific case is gdk_atom_intern where a GdkAtom is not actually
29170 but an integer stuffed into a pointer type
29172 https://bugzilla.gnome.org/show_bug.cgi?id=620898
29174 gi/pygi-argument.c | 9 ++++++++-
29175 gi/pygi-invoke.c | 11 +++++++++--
29176 2 files changed, 17 insertions(+), 3 deletions(-)
29178 commit 433ee2aa029a1482961f478252a06492bd3498e6
29179 Author: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
29180 Date: Tue Jun 15 11:42:28 2010 +0200
29182 Release the lock when potentially invoking Python code.
29184 * gobject/pygobject.c: Release GIL lock when retrieving properties
29185 and when clearing a PyGObject.
29187 https://bugzilla.gnome.org/show_bug.cgi?id=530935
29189 gobject/pygobject.c | 11 ++++++++++-
29190 1 file changed, 10 insertions(+), 1 deletion(-)
29192 commit aa1e82c7eb87620bd73e1edb486f5b9e0d49aa96
29193 Author: John (J5) Palmieri <johnp@redhat.com>
29194 Date: Mon Jun 14 18:36:57 2010 -0400
29196 add combobox example
29198 demos/gtk-demo/demos/combobox.py | 282
29199 +++++++++++++++++++++++++++++++++++++++
29200 1 file changed, 282 insertions(+)
29202 commit a8668694da59c2dd959c875f13337e64ca22f7e9
29203 Author: John (J5) Palmieri <johnp@redhat.com>
29204 Date: Mon Jun 14 13:43:53 2010 -0400
29206 fix leak in the allow None callbacks patch
29208 gi/pygi-callbacks.c | 4 ++--
29209 1 file changed, 2 insertions(+), 2 deletions(-)
29211 commit 729072e73d65e7fd5b5197ebe5a8c53a449d0ec0
29212 Author: John (J5) Palmieri <johnp@redhat.com>
29213 Date: Mon Jun 7 17:12:09 2010 -0400
29215 Allow passing None for callbacks which are annotated allow-none
29217 * Many callbacks are optional parameters yet we were asserting on
29219 * We now check to see if allow_none is set when setting up callbacks,
29220 if it is set and py_function == Py_None, we set the closure to NULL
29222 * pygi-invoke.c now checks to see if the closure == NULL when setting
29224 * if it is NULL there is no reason to set the the destroy notify
29226 so we skip that too
29228 https://bugzilla.gnome.org/show_bug.cgi?id=620906
29230 gi/pygi-callbacks.c | 7 +++++++
29231 gi/pygi-invoke.c | 14 +++++++++++---
29232 tests/test_everything.py | 4 ++++
29233 3 files changed, 22 insertions(+), 3 deletions(-)
29235 commit a3eb5c7de5836c37aa7ae01dbe98996ec2632c17
29236 Author: Paolo Borelli <pborelli@gnome.org>
29237 Date: Mon Jun 14 19:06:45 2010 +0200
29239 Fix to match latest gtk annotations
29241 demos/gtk-demo/demos/appwindow.py | 3 +--
29242 1 file changed, 1 insertion(+), 2 deletions(-)
29244 commit 6306dd73cc74aa9202569eac0eaaa5f825c8dc59
29245 Author: John (J5) Palmieri <johnp@redhat.com>
29246 Date: Tue Jun 8 15:03:49 2010 -0400
29248 fix variable member names in Gdk.Color override
29250 * override was using r, g, and b for the red, green, blue components
29252 the struct specifies red, green, blue so we need to use those names
29254 https://bugzilla.gnome.org/show_bug.cgi?id=621007
29256 gi/overrides/Gdk.py | 10 +++++-----
29257 tests/test_overrides.py | 6 +++---
29258 2 files changed, 8 insertions(+), 8 deletions(-)
29260 commit d182630e1128fef6f1c2aea28ccd8da4bddd2c8f
29261 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29262 Date: Thu Jun 10 20:23:13 2010 +0200
29264 Post release version bump to 2.21.3
29266 configure.ac | 2 +-
29267 1 file changed, 1 insertion(+), 1 deletion(-)
29269 commit c4e64d5d264593051b9a3131e4985a58e8e76f8b
29270 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29271 Date: Thu Jun 10 20:21:13 2010 +0200
29273 Update NEWS and release PyGObject-2.21.2
29275 NEWS | 26 ++++++++++++++++++++++++++
29276 1 file changed, 26 insertions(+)
29278 commit e0fe844d5fe8f7e26316f197444fd4143ed36adf
29279 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29280 Date: Thu Jun 10 20:09:07 2010 +0200
29282 Remove deleted files from the Makefile.
29289 tests/Makefile.am | 4 ----
29290 1 file changed, 4 deletions(-)
29292 commit 495a301cb81c5e914bcef905999265604faa27fc
29293 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29294 Date: Thu Jun 10 19:39:09 2010 +0200
29296 Add myself to the maintainers list in the README
29299 1 file changed, 1 insertion(+)
29301 commit 04627488220b4f2a16e11f8982af7866fea9f7eb
29302 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29303 Date: Thu Jun 10 19:24:31 2010 +0200
29307 * use g_object methods to sink floating refs instead of allowing
29308 custom sink functions to be registered
29309 * we now sink inside of pygobject_new_full to handle cases where
29310 a library creates its own gobject via g_object_new and just
29311 needs a python wrapper
29312 - a previous patch had done the sink when creating the gobject,
29313 since it needs to call pygobject_new_full to wrap the object,
29314 this patch handles both cases (e.g. pygobject created object
29315 and externally created gobject)
29317 https://bugzilla.gnome.org/show_bug.cgi?id=583909
29319 gobject/gobjectmodule.c | 3 +--
29320 gobject/pygobject.c | 42 ++++++++----------------------------------
29321 gobject/pygobject.h | 1 +
29322 3 files changed, 10 insertions(+), 36 deletions(-)
29324 commit 07df124dc06cf506634e95d08397f50a2d07fce2
29325 Author: Steve Frécinaux <code@istique.net>
29326 Date: Mon Jun 7 09:47:23 2010 +0200
29328 Make the "wrong argument count" exception more explicit.
29330 Previously we had messages like this one:
29331 TypeError: takes exactly 2 argument(s) (1 given)
29333 With this patch, they become like this:
29334 TypeError: get_end_iter() takes exactly 2 argument(s) (1 given)
29336 It makes things much easier to debug when there are several pygi calls
29339 https://bugzilla.gnome.org/show_bug.cgi?id=620804
29341 gi/pygi-invoke.c | 3 ++-
29342 tests/test_everything.py | 6 ++++++
29343 2 files changed, 8 insertions(+), 1 deletion(-)
29345 commit b435319fe830a909cc4d414533b3b66574931e24
29346 Author: Steve Frécinaux <code@istique.net>
29347 Date: Mon Jun 7 09:54:06 2010 +0200
29349 Use bash explicitely in the pre-commit hook.
29351 The "builtin" command is not available in all sh flavours, so the
29352 pre-commit hook is going to fail if you use dash or others instead of
29353 bash as your default 'sh' alias.
29355 https://bugzilla.gnome.org/show_bug.cgi?id=620805
29357 pre-commit.hook | 2 +-
29358 1 file changed, 1 insertion(+), 1 deletion(-)
29360 commit e9ee2916494eb7654004925c1ee1e94f99b14f1a
29361 Author: John (J5) Palmieri <johnp@redhat.com>
29362 Date: Tue Jun 8 16:55:26 2010 -0400
29366 demos/gtk-demo/demos/colorselector.py | 121
29367 ++++++++++++++++++++++++++++++++++
29368 1 file changed, 121 insertions(+)
29370 commit ec598128de9e90dccab662ed2f5511c8d659e156
29371 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29372 Date: Tue Jun 8 15:48:33 2010 +0200
29374 Update PyGObject dependency to 2.21.1
29376 configure.ac | 2 +-
29377 1 file changed, 1 insertion(+), 1 deletion(-)
29379 commit 87774a17bd607724a56e18c2eb1ac71b04b7079d
29380 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29381 Date: Tue Jun 8 10:40:39 2010 +0200
29383 Add myself to maintainers
29385 MAINTAINERS | 4 ++++
29386 pygobject.doap | 7 +++++++
29387 2 files changed, 11 insertions(+)
29389 commit 46c91a11d448e5e11d142d3362aff1483226bca4
29390 Author: Colin Walters <walters@verbum.org>
29391 Date: Wed May 5 13:54:27 2010 -0400
29393 Clear error if we failed the import
29395 Otherwise we leave the exception set which causes bizarre problems
29396 later in unrelated code.
29398 https://bugzilla.redhat.com/show_bug.cgi?id=569885
29400 https://bugzilla.gnome.org/show_bug.cgi?id=617796
29402 gobject/pygi-external.h | 2 ++
29403 1 file changed, 2 insertions(+)
29405 commit c1c41576d053cc1cdd8366d8cd1e59fff1c3a9c6
29406 Author: John (J5) Palmieri <johnp@redhat.com>
29407 Date: Mon Jun 7 17:19:30 2010 -0400
29409 fix some typos and add a link to a patch which fixes a FIXME
29411 demos/gtk-demo/demos/clipboard.py | 7 +++++--
29412 1 file changed, 5 insertions(+), 2 deletions(-)
29414 commit e7fabb5024d94a3166766e5fca740741bc50380a
29415 Author: John (J5) Palmieri <johnp@redhat.com>
29416 Date: Mon Jun 7 16:21:42 2010 -0400
29420 demos/gtk-demo/demos/clipboard.py | 235
29421 ++++++++++++++++++++++++++++++++++++++
29422 1 file changed, 235 insertions(+)
29424 commit e0f1dce5ec58d071759f886697501da6eeea549d
29425 Author: John (J5) Palmieri <johnp@redhat.com>
29426 Date: Sun Jun 6 13:27:46 2010 -0400
29428 set is_fully_bound to false
29430 demos/gtk-demo/demos/button_box.py | 2 +-
29431 1 file changed, 1 insertion(+), 1 deletion(-)
29433 commit 986db1c73746d3a8ad7d8d5141c7eed194e7b948
29434 Author: John (J5) Palmieri <johnp@redhat.com>
29435 Date: Sat Jun 5 23:53:36 2010 -0400
29437 new button box demo
29439 demos/gtk-demo/demos/button_box.py | 121
29440 +++++++++++++++++++++++++++++++++++++
29441 1 file changed, 121 insertions(+)
29443 commit e9f5f8a829121e59367bae690442150f144946ad
29444 Author: John (J5) Palmieri <johnp@redhat.com>
29445 Date: Sat Jun 5 23:26:03 2010 -0400
29447 set is_fully_bound to True fro builder example
29449 demos/gtk-demo/demos/builder.py | 2 +-
29450 1 file changed, 1 insertion(+), 1 deletion(-)
29452 commit d9968c3a4dea1d4a73a9376009cf486c80ea3da6
29453 Author: John (J5) Palmieri <johnp@redhat.com>
29454 Date: Sat Jun 5 23:24:36 2010 -0400
29456 fix up formatting in demos
29458 demos/gtk-demo/demos/appwindow.py | 16 ++++++++--------
29459 demos/gtk-demo/demos/assistant.py | 24 ++++++++++++------------
29460 demos/gtk-demo/demos/builder.py | 2 +-
29461 3 files changed, 21 insertions(+), 21 deletions(-)
29463 commit ffca02536bafb55e8c3bce31cd992365207429f6
29464 Author: John (J5) Palmieri <johnp@redhat.com>
29465 Date: Sat Jun 5 14:54:47 2010 -0400
29467 add the builder demo
29469 demos/gtk-demo/demos/builder.py | 57
29470 +++++++++++++++++++++++++++++++++++++++++
29471 1 file changed, 57 insertions(+)
29473 commit a96dbafdf562a2ac6bde4df27919d3628689dbdb
29474 Author: John (J5) Palmieri <johnp@redhat.com>
29475 Date: Fri Jun 4 17:48:24 2010 -0400
29479 demos/gtk-demo/demos/assistant.py | 134
29480 ++++++++++++++++++++++++++++++++++++++
29481 1 file changed, 134 insertions(+)
29483 commit 7e1b8cf32f33d45603aaec76afb0d14be84ffd94
29484 Author: John (J5) Palmieri <johnp@redhat.com>
29485 Date: Fri Jun 4 16:56:46 2010 -0400
29487 add formatting rules and copyright notice
29489 demos/gtk-demo/demos/appwindow.py | 19 +++++++++++++++++++
29490 1 file changed, 19 insertions(+)
29492 commit 03b99692b81631d397ab62dcd263341465bcee88
29493 Author: John (J5) Palmieri <johnp@redhat.com>
29494 Date: Fri Jun 4 16:26:54 2010 -0400
29496 add the gtk-demo app along with a couple of demos
29498 * note there are still a couple of patches in bugzilla that are
29501 - http://bugzilla-attachments.gnome.org/attachment.cgi?id=162682
29502 - http://bugzilla-attachments.gnome.org/attachment.cgi?id=162764
29504 demos/gtk-demo/demos/__init__.py | 0
29505 demos/gtk-demo/demos/appwindow.py | 393
29506 +++++++++++++++++++++++
29507 demos/gtk-demo/demos/data/alphatest.png | Bin 0 -> 26529 bytes
29508 demos/gtk-demo/demos/data/apple-red.png | Bin 0 -> 3545 bytes
29509 demos/gtk-demo/demos/data/background.jpg | Bin 0 -> 22219 bytes
29510 demos/gtk-demo/demos/data/demo.ui | 258 +++++++++++++++
29511 demos/gtk-demo/demos/data/floppybuddy.gif | Bin 0 -> 5216 bytes
29512 demos/gtk-demo/demos/data/gnome-applets.png | Bin 0 -> 3090 bytes
29513 demos/gtk-demo/demos/data/gnome-calendar.png | Bin 0 -> 2755 bytes
29514 demos/gtk-demo/demos/data/gnome-foot.png | Bin 0 -> 2916 bytes
29515 demos/gtk-demo/demos/data/gnome-fs-directory.png | Bin 0 -> 2044 bytes
29516 demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 0 -> 1795 bytes
29517 demos/gtk-demo/demos/data/gnome-gimp.png | Bin 0 -> 3410 bytes
29518 demos/gtk-demo/demos/data/gnome-gmush.png | Bin 0 -> 3244 bytes
29519 demos/gtk-demo/demos/data/gnome-gsame.png | Bin 0 -> 4263 bytes
29520 demos/gtk-demo/demos/data/gnu-keys.png | Bin 0 -> 3852 bytes
29521 demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 0 -> 6427 bytes
29522 demos/gtk-demo/demos/test.py | 14 +
29523 demos/gtk-demo/gtk-demo.py | 266 +++++++++++++++
29524 19 files changed, 931 insertions(+)
29526 commit b3b1f029d8d16cf9bd74160009808147d07e3b3f
29527 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29528 Date: Fri Jun 4 11:25:08 2010 +0200
29530 Update gobject-introspection dependency to 0.6.14
29532 configure.ac | 2 +-
29533 1 file changed, 1 insertion(+), 1 deletion(-)
29535 commit 45c4e46ae93bd83a0e3f3550df6c64ce96bbedb4
29536 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29537 Date: Fri Jun 4 11:23:41 2010 +0200
29539 Post-release version bump to 0.6.1
29541 configure.ac | 2 +-
29542 1 file changed, 1 insertion(+), 1 deletion(-)
29544 commit 7a94270dac48b67aabc7dbad156cf1180db9cb5e
29545 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29546 Date: Fri Jun 4 08:29:42 2010 +0200
29548 Pre-release version bump 0.6.0
29550 configure.ac | 2 +-
29551 1 file changed, 1 insertion(+), 1 deletion(-)
29553 commit 1e42ee6eb25a07a5201f24ffeac18d298a98477e
29554 Author: John (J5) Palmieri <johnp@redhat.com>
29555 Date: Fri May 28 10:03:11 2010 -0400
29557 support for caller-allocates annotations for structs
29559 * out caller-allocates parameters expect an already constructed
29561 to be passed in by reference. It is then modified and the caller
29563 modified value. We support this by using only one level of pointer
29565 * Only structs are considered to be caller-allocates parameters
29567 they are marked as such by GI. This is because the GI scanner
29569 enough to correctly guess 100% of the time
29570 * GValues are a special case of a caller-allocates parameter when
29572 up (e.g. g_value_unset is called). GValues make no sense in
29574 language. Developers should never deal with them.
29576 https://bugzilla.gnome.org/show_bug.cgi?id=620406
29578 gi/pygi-invoke.c | 73
29579 +++++++++++++++++++++++++++++++++++++++++++++---
29580 tests/test_everything.py | 28 +++++++++++++++++++
29581 2 files changed, 97 insertions(+), 4 deletions(-)
29583 commit c3f467e0ae99aa78c2fdb91b973a272d2fe970bd
29584 Author: John (J5) Palmieri <johnp@redhat.com>
29585 Date: Wed Jun 2 14:14:16 2010 -0400
29587 don't import gobject directly in the tests
29589 * use from gi.repository import GObject
29591 tests/test_overrides.py | 5 ++---
29592 1 file changed, 2 insertions(+), 3 deletions(-)
29594 commit 46b5133fea4cd5db57a360b3cbe9ee923e27560c
29595 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29596 Date: Tue Jun 1 14:28:57 2010 +0200
29598 Wrap C arrays in structs as GArrays before converting to Python
29600 https://bugzilla.gnome.org/show_bug.cgi?id=620247
29602 gi/pygi-info.c | 11 +++++++++++
29603 tests/test_gi.py | 17 +++++++++++++++++
29604 2 files changed, 28 insertions(+)
29606 commit 5f0f9a9c9145a129a063b041424c3109a24d9ead
29607 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29608 Date: Wed May 26 13:20:27 2010 +0200
29610 Install pre-commit hook that checks the code changes for style
29613 autogen.sh | 7 +++++++
29614 pre-commit.hook | 39 +++++++++++++++++++++++++++++++++++++++
29615 2 files changed, 46 insertions(+)
29617 commit 1319da5b7f483e48a90b0b7489f77236ba26f479
29618 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29619 Date: Wed May 26 12:19:17 2010 +0200
29621 Apply consistent whitespace formatting with:
29623 astyle -p -d -c -S -U -M60
29625 This won't affect git blame nor git diff if the switch -w is used.
29627 gi/gimodule.c | 138 +++----
29628 gi/pygi-argument.c | 960
29629 ++++++++++++++++++++++++------------------------
29630 gi/pygi-boxed.c | 108 +++---
29631 gi/pygi-callbacks.c | 154 ++++----
29632 gi/pygi-callbacks.h | 8 +-
29633 gi/pygi-closure.c | 270 +++++++-------
29634 gi/pygi-closure.h | 18 +-
29635 gi/pygi-foreign-cairo.c | 36 +-
29636 gi/pygi-foreign-cairo.h | 36 +-
29637 gi/pygi-foreign.c | 54 +--
29638 gi/pygi-foreign.h | 10 +-
29639 gi/pygi-info.c | 646 ++++++++++++++++----------------
29640 gi/pygi-invoke.c | 380 +++++++++----------
29641 gi/pygi-repository.c | 114 +++---
29642 gi/pygi-struct.c | 88 ++---
29643 gi/pygi-type.c | 32 +-
29645 gi/pygobject-external.h | 14 +-
29646 18 files changed, 1544 insertions(+), 1542 deletions(-)
29648 commit 6156f15cb15b4c20e975527227135d49207c520a
29649 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29650 Date: Tue May 25 14:08:51 2010 +0200
29652 Prepend gi.repository to the __module__ attribute of wrapper classes.
29654 https://bugzilla.gnome.org/show_bug.cgi?id=619597
29656 gi/module.py | 4 ++--
29657 tests/test_gi.py | 4 +++-
29658 2 files changed, 5 insertions(+), 3 deletions(-)
29660 commit 097b92983b7a322c58fecb1e691ba6ddf5035548
29661 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29662 Date: Tue May 25 14:17:13 2010 +0200
29664 Correctly identify at creation time:
29666 * if the class is defined in python -> hook up vfuncs
29667 * if the class wraps a type from a .typelib -> set atributes
29668 * else (GLocalFile) -> do nothing
29670 https://bugzilla.gnome.org/show_bug.cgi?id=619604
29672 gi/types.py | 15 +++++++++++----
29673 1 file changed, 11 insertions(+), 4 deletions(-)
29675 commit 686e10fcdb108af9758eb025a3447813c3513a93
29676 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
29677 Date: Thu Apr 29 10:55:13 2010 +0200
29679 Dont complain if another base has implemented the method
29681 https://bugzilla.gnome.org/show_bug.cgi?id=617153
29683 gi/types.py | 3 ++-
29684 1 file changed, 2 insertions(+), 1 deletion(-)
29686 commit 9f34d120845d936b04546a5cea599ec67e9181a7
29687 Author: John (J5) Palmieri <johnp@redhat.com>
29688 Date: Mon May 24 16:16:50 2010 -0400
29690 fix up Builder override, add new override methods, and add unit tests
29692 * check for flags when connecting signals now that we get gi
29694 * override the add_from_string and add_objects_from string overrides
29696 that you don't have to pass in the length of the buffer
29697 * add test that loads objects from strings and connects them to
29700 gi/overrides/Gtk.py | 19 +++++++++++--
29701 tests/test_overrides.py | 72
29702 ++++++++++++++++++++++++++++++++++++++++++++++---
29703 2 files changed, 86 insertions(+), 5 deletions(-)
29705 commit 1561d2977691f1cb8684f183a2e274c47960d931
29706 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29707 Date: Mon May 24 18:48:10 2010 +0200
29709 Improve handling of subclasses without __gtype_name__
29711 Gives a better message at type registration.
29713 https://bugzilla.gnome.org/show_bug.cgi?id=616849
29715 gi/gimodule.c | 9 +++++++++
29716 tests/test_gi.py | 13 ++++++++++++-
29717 2 files changed, 21 insertions(+), 1 deletion(-)
29719 commit c9d44d4d46c3da3a445000b1db592baa9c378a92
29720 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
29721 Date: Fri Apr 30 18:17:50 2010 +0200
29723 Add support for GArray args
29725 https://bugzilla.gnome.org/show_bug.cgi?id=617054
29727 gi/pygi-invoke.c | 11 +++++++----
29728 tests/test_gi.py | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
29729 2 files changed, 57 insertions(+), 4 deletions(-)
29731 commit c171579ee22681e1ee4ad33441c89f1053bdc3d1
29732 Author: John (J5) Palmieri <johnp@redhat.com>
29733 Date: Mon May 24 11:48:16 2010 -0400
29735 check refcounting of callback userdata in unit tests
29737 tests/test_everything.py | 18 ++++++++++++++++++
29738 1 file changed, 18 insertions(+)
29740 commit 8eb809468fe3e1f8e4f92bd7f25d96f9cf802cd4
29741 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29742 Date: Sat May 22 15:12:37 2010 +0200
29744 Add support for out args in callbacks
29746 This patch refactors argument marshalling for closures in
29747 preparation for more complete support.
29749 Also fixes a bug in the memory management of user_data args.
29751 https://bugzilla.gnome.org/show_bug.cgi?id=617780
29753 gi/pygi-closure.c | 335
29754 +++++++++++++++++++++++++++++++++++++++++-------------
29755 tests/test_gi.py | 4 +
29756 2 files changed, 263 insertions(+), 76 deletions(-)
29758 commit 0df0c956bb2476392c9d81f0a243a7e84c067166
29759 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29760 Date: Sun May 23 10:59:27 2010 +0200
29762 If None is passed to an interface which takes an object, convert it to
29765 * without this patch PyGI treats the None object as a PyGObject
29767 extracting garbage data causing a crash
29768 * None's equivalent in C is NULL so we must provide a special case
29770 marshal the None as NULL
29772 https://bugzilla.gnome.org/show_bug.cgi?id=617880
29774 gi/pygi-argument.c | 5 +++++
29775 tests/test_everything.py | 6 ++++++
29776 2 files changed, 11 insertions(+)
29778 commit 60fdf4b8f738dd0f5c190bc18ddf010032d3c5ca
29779 Author: John (J5) Palmieri <johnp@redhat.com>
29780 Date: Sat May 22 14:06:37 2010 +0200
29782 correctly handle floating objects in gtk
29784 * this is a stopgap so we work with older pygobject libraries
29785 * there is a patch at
29786 https://bugzilla.gnome.org/show_bug.cgi?id=583909
29787 which adds the correct fix to pygobject
29788 * once pygobject accepts the above patch this patch does not need to
29789 be reverted because pygobject_register_sinkfunc becomes a noop
29790 * add tests (Tomeu)
29792 https://bugzilla.gnome.org/show_bug.cgi?id=619007
29794 gi/gimodule.c | 12 ++++++++++++
29795 tests/test_everything.py | 3 +++
29796 2 files changed, 15 insertions(+)
29798 commit 4b369f8aca980fc6a582094d6648f40fe4af5e9f
29799 Author: John (J5) Palmieri <johnp@redhat.com>
29800 Date: Sat May 22 13:21:30 2010 +0200
29802 Return an empty list when a NULL GList and GSList is returned
29804 * In GTK a GList * and GSList set to NULL is equivilant to empty
29806 GTK list methods can take a NULL and treat it as an empty list. e.g.
29807 g_list_length(NULL) returns 0
29808 * PyGtk consitently returns empty list when a NULL is returned for
29811 * Many PyGtk apps do this:
29812 for i in range(len(obj.get_list())):
29814 * If we were to continue to return None, they would have to add
29816 which is needlessly verbose and isn't very "pythonic"
29818 https://bugzilla.gnome.org/show_bug.cgi?id=619232
29820 gi/pygi-argument.c | 6 ------
29821 tests/test_everything.py | 4 ++--
29822 2 files changed, 2 insertions(+), 8 deletions(-)
29824 commit 71a2148b00dfdda99e0d961ae39b901608724e59
29825 Author: Steve Frécinaux <code@istique.net>
29826 Date: Fri May 21 19:05:03 2010 +0200
29828 Fix warning in configure.
29830 The warning is caused by the use of the construction 'CFLAGS+=' in a
29831 sh version that doesn't understand it (in this case, 'dash').
29833 https://bugzilla.gnome.org/show_bug.cgi?id=619311
29835 configure.ac | 2 +-
29836 1 file changed, 1 insertion(+), 1 deletion(-)
29838 commit aa0357e468eb91e0f3707346e9b32f312fbf51d3
29839 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
29840 Date: Thu Apr 29 13:06:15 2010 +0200
29842 GTypeInterface cannot be unrefed
29844 https://bugzilla.gnome.org/show_bug.cgi?id=617159
29846 gi/gimodule.c | 4 +++-
29847 1 file changed, 3 insertions(+), 1 deletion(-)
29849 commit ab1aaff108d23aabd28c3634edfb67236eb55460
29850 Author: John (J5) Palmieri <johnp@redhat.com>
29851 Date: Sat May 22 13:09:48 2010 +0200
29853 fix NULL array unit tests and fix crasher when sending None as
29856 * Unit tests were wrong given the annotation for
29857 test_array_int_null_in and
29858 test_array_int_null_out:
29861 * test_array_int_null_in:
29862 * @arr: (array length=len) (allow-none):
29869 * test_array_int_null_out:
29870 * @arr: (out) (array length=len) (allow-none):
29871 * @len: (out) : length
29874 The (array length=len) annotation meant we don't pass in or
29875 receive the len argument as this is handled under the hood
29876 (Python's representation of an array, the list type, encapsulates
29877 the length inside the type)
29879 * Fixing up the tests revealed a latent crasher bug when passing
29881 interface that accepts an array. The fix was to check for NULL
29883 the length argument to 0 when invoking the bound method.
29885 https://bugzilla.gnome.org/show_bug.cgi?id=619235
29887 gi/pygi-invoke.c | 6 +++++-
29888 tests/test_everything.py | 4 ++--
29889 2 files changed, 7 insertions(+), 3 deletions(-)
29891 commit e928ea9b1df9d87314ff8e93479530e26be9bd87
29892 Author: John (J5) Palmieri <johnp@redhat.com>
29893 Date: Fri May 14 14:57:27 2010 -0400
29895 don't error out on methods with callbacks as return type
29897 * Right now we just throw an error which means API's like
29898 gtk_about_dialog_set_url_hook aren't able to be called,
29899 * this allows us to call such APIs while printing a warning, in
29901 API such as this doesn't need to be used anymore and is a result of
29902 early GTK development
29904 gi/pygi-argument.c | 14 +++++++++++---
29905 1 file changed, 11 insertions(+), 3 deletions(-)
29907 commit d963007aab123f4e53a944a66a935db2d22907c2
29908 Author: John (J5) Palmieri <johnp@redhat.com>
29909 Date: Mon May 17 11:54:34 2010 -0400
29911 reset sys.argv to the return value of Gtk.init_check
29913 * applications which check command line arguments will error out if it
29914 encounters a GTK command line switch such as --g-fatal-warnings.
29915 * The Gtk.init* API reads these switches and returns a new argv with
29917 switches stripped out
29918 * In C argv is modified in place but in Python we must set sys.argv
29920 new modified argument list
29921 * fixes https://bugzilla.gnome.org/show_bug.cgi?id=618889
29923 gi/overrides/Gtk.py | 1 +
29924 1 file changed, 1 insertion(+)
29926 commit 897420ed97cc4a7b8a806894df5e76ed72617614
29927 Author: John (J5) Palmieri <johnp@redhat.com>
29928 Date: Wed May 12 14:25:32 2010 -0400
29930 add GtkUIManager and GtkActionGroup overrides
29932 * fixes bug https://bugzilla.gnome.org/show_bug.cgi?id=618476
29934 gi/overrides/Gtk.py | 167
29935 +++++++++++++++++++++++++++++++++++++++++++++++-
29936 tests/test_overrides.py | 45 +++++++++++++
29937 2 files changed, 211 insertions(+), 1 deletion(-)
29939 commit 865939d29c1e9d69dbe6b9cf89477b5516dbff1f
29940 Author: Zach Goldberg <zach@zachgoldberg.com>
29941 Date: Thu May 13 01:02:24 2010 -0400
29943 Bump version for development to 0.5.2 (hopefully 0.6)
29945 configure.ac | 2 +-
29946 1 file changed, 1 insertion(+), 1 deletion(-)
29948 commit 2674a9546b0246d4a75d71cf1708df77dc0173f9
29949 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
29950 Date: Wed May 5 15:54:39 2010 +0200
29952 Fix overrides.Gdk.Color.__new__ args
29954 https://bugzilla.gnome.org/show_bug.cgi?id=617757
29956 gi/overrides/Gdk.py | 2 +-
29957 tests/Makefile.am | 3 ++-
29958 tests/test_overrides.py | 22 ++++++++++++++++++++++
29959 3 files changed, 25 insertions(+), 2 deletions(-)
29961 commit c20b9f632a35bada1320ccc10fb7d5b2c06b9a88
29962 Author: John (J5) Palmieri <johnp@redhat.com>
29963 Date: Thu Apr 29 14:55:33 2010 -0400
29965 wrap GObject module so we can go through GI when requesting attrs
29967 * This gives us the best of both worlds.
29968 - We remain backwards compatable with pygobject by checking for
29970 attrs in the gobject module
29971 - If an attr does not exist we use the GI mechanism to look it up
29973 things like flags look the same whether exported from GObject, Gtk
29974 or any GI managed library
29976 * add DynamicGObjectModule tests and make tests use the new module
29977 - change import gobject to from gi.repository import GObject
29979 gi/importer.py | 6 ++--
29980 gi/module.py | 30 ++++++++++++++++
29981 tests/test_everything.py | 6 ++--
29982 tests/test_gi.py | 93
29983 ++++++++++++++++++++++++++----------------------
29984 4 files changed, 87 insertions(+), 48 deletions(-)
29986 commit 64324a4c629432b2e688299b6edbfd5da4439a2a
29987 Author: John (J5) Palmieri <johnp@redhat.com>
29988 Date: Fri Apr 30 14:11:55 2010 -0400
29990 override Gdk.Drawable to add cairo_create convinience method
29992 gi/overrides/Gdk.py | 7 ++++++-
29993 1 file changed, 6 insertions(+), 1 deletion(-)
29995 commit 17fa1289b1e2ed841dd5de09a2ec7c25d401886e
29996 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
29997 Date: Mon May 3 19:13:46 2010 +0200
29999 Fix passing callbacks as constructor args
30001 https://bugzilla.gnome.org/show_bug.cgi?id=617551
30003 gi/pygi-callbacks.c | 3 ++-
30004 gi/pygi-callbacks.h | 1 +
30005 gi/pygi-invoke.c | 7 +++++--
30006 tests/test_everything.py | 21 +++++++++++++++++++++
30007 4 files changed, 29 insertions(+), 3 deletions(-)
30009 commit f9fff978d56ddf2c012b906169ae16abb7fdc2a5
30010 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30011 Date: Wed May 5 08:06:03 2010 +0200
30013 Avoid freeing garbage
30015 gi/pygi-invoke.c | 6 ++++--
30016 1 file changed, 4 insertions(+), 2 deletions(-)
30018 commit 5e20c018ae09a936f5ff140df5d1c133c98e98ba
30019 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30020 Date: Thu Apr 29 13:09:03 2010 +0200
30022 Only hookup vfunc implementations for locally-defined methods
30024 https://bugzilla.gnome.org/show_bug.cgi?id=617160
30026 gi/types.py | 10 +++++++++-
30027 tests/test_gi.py | 10 ++++++++++
30028 2 files changed, 19 insertions(+), 1 deletion(-)
30030 commit 3e61e7d4450a2bb133c7f3862e0962a35339ce8d
30031 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30032 Date: Mon May 3 18:35:13 2010 +0200
30034 Fix passing GDestroyNotify
30036 https://bugzilla.gnome.org/show_bug.cgi?id=617542
30038 gi/pygi-invoke.c | 3 ++-
30039 tests/test_everything.py | 10 ++++++++++
30040 2 files changed, 12 insertions(+), 1 deletion(-)
30042 commit 9669acd0fad193013ef3505ae231588307f9834c
30043 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30044 Date: Mon May 3 12:23:58 2010 +0200
30046 Move invocation code to its own file
30048 https://bugzilla.gnome.org/show_bug.cgi?id=617107
30050 gi/Makefile.am | 2 +
30051 gi/pygi-info.c | 884
30052 ----------------------------------------------------
30053 gi/pygi-invoke.c | 909
30054 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
30055 gi/pygi-invoke.h | 37 +++
30056 gi/pygi-private.h | 1 +
30057 5 files changed, 949 insertions(+), 884 deletions(-)
30059 commit 9b923a68dfde06fc2df6321b3f1e53f1c57b3666
30060 Author: John (J5) Palmieri <johnp@redhat.com>
30061 Date: Tue Apr 27 19:13:08 2010 -0400
30063 Add the Gtk.Builder override
30065 gi/overrides/Gtk.py | 37 ++++++++++++++++++++++++++++++++++++-
30066 1 file changed, 36 insertions(+), 1 deletion(-)
30068 commit 9fc6783406b8263ebd67ceae2730b4e86689b43e
30069 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30070 Date: Fri Apr 30 15:00:52 2010 +0200
30072 Fix GAsyncReadyCallback
30074 https://bugzilla.gnome.org/show_bug.cgi?id=616236
30076 gi/pygi-closure.c | 8 +++++++-
30077 tests/test_everything.py | 16 ++++++++++++++++
30078 2 files changed, 23 insertions(+), 1 deletion(-)
30080 commit 5657ccaaec09e2a3194ea2e9a923724bcc66759e
30081 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30082 Date: Thu Apr 29 18:32:50 2010 +0200
30084 Add override for Gdk.Color
30086 https://bugzilla.gnome.org/show_bug.cgi?id=617162
30088 gi/overrides/Gdk.py | 20 +++++++++++++++++++-
30089 1 file changed, 19 insertions(+), 1 deletion(-)
30091 commit 4410abd589a2f64cfbd7bbcb4013fae9e4aa734f
30092 Author: John (J5) Palmieri <johnp@redhat.com>
30093 Date: Wed Apr 28 13:19:48 2010 -0400
30095 make __all__ be a list of strings, fix override mechanism to use
30098 * before we were adding classes to the __all__ module property but
30099 the convention is to use the name of the class
30100 * simplified the check to just check the name against __all__
30101 instead of trying to get the class and then checking the class
30102 against None as well as in __all__
30103 * went through all the overrides and made __all__ be a list of strings
30105 gi/module.py | 9 ++++-----
30106 gi/overrides/GIMarshallingTests.py | 2 +-
30107 gi/overrides/Gdk.py | 2 +-
30108 3 files changed, 6 insertions(+), 7 deletions(-)
30110 commit 64fa8f936bad9a90628df446e690d67d947a0a22
30111 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30112 Date: Mon Apr 26 11:41:06 2010 +0200
30114 One more step at refactoring _wrap_g_function_info_invoke
30116 https://bugzilla.gnome.org/show_bug.cgi?id=616357
30118 gi/pygi-callbacks.c | 22 +-
30119 gi/pygi-callbacks.h | 4 +-
30120 gi/pygi-info.c | 582
30121 ++++++++++++++++++++++++++++++----------------------
30122 3 files changed, 346 insertions(+), 262 deletions(-)
30124 commit 7fc5528273edae5ecdd5d8bdf0e5b898eec7a624
30125 Author: Zach Goldberg <zach@zachgoldberg.com>
30126 Date: Tue Apr 20 23:23:38 2010 -0400
30128 Step 1 of refactoring _wrap_g_function_info_invoke
30130 Original patch by David Malcom <dmalcolm@redhat.com>
30132 This patch bitrots *REALLY* fast.
30134 https://bugzilla.gnome.org/show_bug.cgi?id=616357
30136 gi/pygi-info.c | 417
30137 +++++++++++++++++++++++++++++----------------------------
30138 1 file changed, 214 insertions(+), 203 deletions(-)
30140 commit 1d9c6b6d76a3e27f66e6f0cfc7b16c5191e4fc22
30141 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30142 Date: Tue Apr 27 10:24:35 2010 +0200
30144 Dont force subclasses to implement all virtual methods of their bases
30146 https://bugzilla.gnome.org/show_bug.cgi?id=616674
30148 gi/types.py | 4 ++--
30149 tests/test_gi.py | 15 +++++++++++++++
30150 2 files changed, 17 insertions(+), 2 deletions(-)
30152 commit 8a0c48f4dd512797e5cf132f8ec6fb6d4d1e7aaa
30153 Author: Zach Goldberg <zach@zachgoldberg.com>
30154 Date: Sun Apr 25 15:09:08 2010 -0400
30156 Correct the reference counting of userdata in closure handling
30158 Without this we lose references on every call and eventually end up
30160 while they are still in use.
30162 https://bugzilla.gnome.org/show_bug.cgi?id=616786
30164 gi/pygi-closure.c | 3 +++
30165 tests/test_everything.py | 13 +++++++++++++
30166 2 files changed, 16 insertions(+)
30168 commit 2b12049306bf57513c43d08017185468bf897a4a
30169 Author: Zach Goldberg <zach@zachgoldberg.com>
30170 Date: Tue Apr 20 22:57:14 2010 -0400
30172 Change SCOPE_TYPE_INVALID handling to be a more verbose error.
30174 (Previous commit did not include the proper error message. I blame
30177 https://bugzilla.gnome.org/show_bug.cgi?id=616356
30179 gi/pygi-closure.c | 4 ++--
30180 1 file changed, 2 insertions(+), 2 deletions(-)
30182 commit 8240320d0b67074ce91bdf7aadcf5951c5a8c45a
30183 Author: Zach Goldberg <zach@zachgoldberg.com>
30184 Date: Tue Apr 20 23:53:57 2010 -0400
30186 Force out arguments to be initialized as NULL. Comes with a test.
30188 This fix was motivated by a real world library which had a transfer
30190 utf8 out argument which sometimes was not set. We would leave
30192 dangling and try and free it at the end of invoke() and crash.
30194 to change their behavior so we're forced to take care of it on
30197 https://bugzilla.gnome.org/show_bug.cgi?id=616043
30199 gi/pygi-info.c | 1 +
30200 tests/test_gi.py | 3 +++
30201 2 files changed, 4 insertions(+)
30203 commit 10e558ca283cdd06725bb0d24b5071ccbecc7d13
30204 Author: Zach Goldberg <zach@zachgoldberg.com>
30205 Date: Tue Apr 20 22:57:14 2010 -0400
30207 Change SCOPE_TYPE_INVALID handling to be a warning and not an error
30209 Be slightly nicer to library maintainers. It really isn't a fatal
30211 if we don't have a proper scope type, better to leave a good code
30213 and a warning than to cause their code to segv.
30215 https://bugzilla.gnome.org/show_bug.cgi?id=616356
30217 gi/pygi-closure.c | 3 ++-
30218 1 file changed, 2 insertions(+), 1 deletion(-)
30220 commit d3b5fae9d609dbcd83deb0fa9102b24faf76787c
30221 Author: Zach Goldberg <zach@zachgoldberg.com>
30222 Date: Tue Apr 20 22:43:20 2010 -0400
30224 Refactor implementation of scope call to allow for multiple calls
30225 during lifetime of function invocation.
30227 https://bugzilla.gnome.org/show_bug.cgi?id=616343
30229 gi/pygi-closure.c | 10 +++++-----
30230 gi/pygi-info.c | 9 +++++++--
30231 tests/test_everything.py | 9 +++++++++
30232 3 files changed, 21 insertions(+), 7 deletions(-)
30234 commit 3ba666b7ab9c393963922c272e7d87bff50a93f9
30235 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30236 Date: Sat Jan 2 16:31:55 2010 +0100
30238 Add basic support for unions
30240 https://bugzilla.gnome.org/show_bug.cgi?id=603598
30242 gi/module.py | 3 +-
30243 gi/pygi-argument.c | 24 +++-----------
30244 gi/pygi-boxed.c | 18 +++++++++--
30245 gi/pygi-info.c | 94
30246 ++++++++++++++++++++++++++++++++++++++++++++++++------
30247 gi/pygi-info.h | 1 +
30248 tests/test_gi.py | 56 ++++++++++++++++++++++++++++++++
30249 6 files changed, 165 insertions(+), 31 deletions(-)
30251 commit af9e4e086d160fe7fb24758ed81753e784b198a8
30252 Author: Simon van der Linden <svdlinden@src.gnome.org>
30253 Date: Fri Jan 22 22:16:32 2010 +0100
30255 Bump required GLib version to 2.22
30257 Since PyGObject now depends on GLib 2.22.4, there is no need to
30259 backward-compatible.
30261 configure.ac | 2 +-
30262 gi/pygi-private.h | 20 --------------------
30263 2 files changed, 1 insertion(+), 21 deletions(-)
30265 commit c0f40de5648e2ebc556c449342a0025ffce2e33b
30266 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30267 Date: Sun Apr 18 11:50:14 2010 -0400
30269 Refactor get_* methods in the *Info wrappers
30271 https://bugzilla.gnome.org/show_bug.cgi?id=616108
30273 gi/pygi-info.c | 360
30274 +++++++++++++++++++++++++++------------------------------
30275 1 file changed, 168 insertions(+), 192 deletions(-)
30277 commit 24bb89f1310dc2fc8ee6ddaf945342ebf80055cd
30278 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30279 Date: Tue Apr 20 15:12:47 2010 +0200
30281 Print any error messages raised inside _pygi_closure_handle
30283 https://bugzilla.gnome.org/show_bug.cgi?id=616279
30285 gi/pygi-closure.c | 9 +++++----
30286 1 file changed, 5 insertions(+), 4 deletions(-)
30288 commit d1ba23cdd05686ea721425f233371d573a2e9cce
30289 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30290 Date: Thu Apr 22 19:57:17 2010 +0200
30292 Rename variable with a very generic name
30294 gi/module.py | 28 ++++++++++++++--------------
30295 1 file changed, 14 insertions(+), 14 deletions(-)
30297 commit 391640b30ede50af3667b1019edb72bd79f2c68c
30298 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30299 Date: Thu Apr 22 19:53:06 2010 +0200
30301 Add support for enums without GType
30303 https://bugzilla.gnome.org/show_bug.cgi?id=616520
30305 gi/module.py | 6 +++++-
30306 gi/pygi-argument.c | 22 +++++++++++++++++++++-
30307 gi/types.py | 14 ++++++++++++++
30308 tests/test_gi.py | 30 ++++++++++++++++++++++++++++--
30309 4 files changed, 68 insertions(+), 4 deletions(-)
30311 commit 89704f60ddae0c81f1383d86491ef2785590a353
30312 Author: Zach Goldberg <zach@zachgoldberg.com>
30313 Date: Tue Apr 20 22:20:42 2010 -0400
30315 Bump version during development to 0.5.1
30317 This follows what is, according to Colin Walters,
30318 standard versioning practice. During development the
30319 version in your config is the *next* version you will release,
30320 not the version after. Thus after a release you make a new commit
30321 bumping to the next development version.
30323 configure.ac | 2 +-
30324 1 file changed, 1 insertion(+), 1 deletion(-)
30326 commit e203dc7c8f524c16aa52e15758dc3a2b09fbac75
30327 Author: John Ehresman <jpe@wingware.com>
30328 Date: Tue Apr 20 20:40:02 2010 -0400
30330 Added missing , to keyword list of gio.GFile.set_attribute
30332 gio/gresolver.override | 2 +-
30333 1 file changed, 1 insertion(+), 1 deletion(-)
30335 commit 0b222f01ac9ceea1d127083623ad532ecc75bf7e
30336 Author: John Ehresman <jpe@wingware.com>
30337 Date: Tue Apr 20 20:37:12 2010 -0400
30339 Fix arg conversion in gio.GFile.set_attribute
30341 gio/gfile.override | 232
30342 +++++++++++++++++++++++++++++++++++++++++++++++++++--
30343 1 file changed, 227 insertions(+), 5 deletions(-)
30345 commit a579ccc8bea90937bf970be3d461e2b650b0c7d6
30346 Author: John Ehresman <jpe@wingware.com>
30347 Date: Tue Apr 20 20:01:53 2010 -0400
30349 Set constants under python 2.5 or before
30351 gobject/gobjectmodule.c | 8 ++++++++
30352 1 file changed, 8 insertions(+)
30354 commit 11fa39a861abf679e01b5f0da97be93ae0adf0f0
30355 Author: José Alburquerque <jaalburqu@svn.gnome.org>
30356 Date: Sun Apr 18 20:22:21 2010 -0400
30358 Doc Extractor: Use replacements that make sense for &...;
30361 * codegen/docextract_to_xml.py: Use # and   respectively
30363 # (#) and . These are interpreted correctly in XML
30365 not make the parsing crash.
30367 codegen/docextract_to_xml.py | 4 ++--
30368 1 file changed, 2 insertions(+), 2 deletions(-)
30370 commit 8dbc2cb016acef7b364804cd9bc8f0b1da37e84b
30371 Author: Zach Goldberg <zach@zachgoldberg.com>
30372 Date: Sun Apr 18 14:32:06 2010 -0400
30374 Bump version for release 0.5.0
30376 HACKING | 7 +++++++
30377 configure.ac | 4 ++--
30378 2 files changed, 9 insertions(+), 2 deletions(-)
30380 commit 3293c91d90c5c497b45e42a527d7f79f7435823e
30381 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30382 Date: Sun Apr 18 14:28:13 2010 -0400
30384 One more missing file...
30386 examples/Makefile.am | 2 ++
30387 1 file changed, 2 insertions(+)
30389 commit 1dc575af19fe985cc3fa3ec0cf18aeab1f43c16d
30390 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30391 Date: Sun Apr 18 14:18:44 2010 -0400
30393 Add more stuff to the tarballs
30395 Makefile.am | 8 +++++++-
30397 2 files changed, 8 insertions(+), 1 deletion(-)
30399 commit 8a9bb04755057e934b7f46c917af6ef281a2fedd
30400 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30401 Date: Sun Apr 18 13:48:45 2010 -0400
30403 Add one more missing file to tarballs
30405 gi/overrides/GIMarshallingTests.py | 0
30406 gi/overrides/Makefile.am | 1 +
30407 2 files changed, 1 insertion(+)
30409 commit 979e01852fc7f830ee91093accdc387fa535075f
30410 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30411 Date: Sun Apr 18 13:45:29 2010 -0400
30413 Add missing file to tarballs
30415 tests/Makefile.am | 1 +
30416 1 file changed, 1 insertion(+)
30418 commit 8b70faa7a9a32b9ea8862f28a503e38f496cfd89
30419 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30420 Date: Sun Apr 18 13:11:11 2010 -0400
30424 https://bugzilla.gnome.org/show_bug.cgi?id=602736
30427 +++++++++++++++++++++++++++++++++++++++++++++++++++++
30428 gi/pygi-argument.c | 1 +
30429 gi/pygi-callbacks.c | 3 +-
30430 gi/pygi-closure.c | 4 +--
30431 gi/pygi-closure.h | 2 +-
30432 gi/pygi-info.c | 86
30433 +++++++++++++++++++++++++++++++++++++++++++++++++--
30434 gi/pygi-info.h | 1 +
30435 gi/types.py | 44 +++++++++++++++++---------
30436 tests/test_gi.py | 18 +++++++++++
30437 9 files changed, 227 insertions(+), 21 deletions(-)
30439 commit e239faacb4798fe2d166233ca1a19a843a6225e3
30440 Author: Zach Goldberg <zach@zachgoldberg.com>
30441 Date: Sun Apr 18 11:59:06 2010 -0400
30443 Fix a typo in pygi-callbacks.c header
30445 gi/pygi-callbacks.c | 2 +-
30446 1 file changed, 1 insertion(+), 1 deletion(-)
30448 commit 79aa416ae8632b123da61d79fb820d9e2704209c
30449 Author: Zach Goldberg <zach@zachgoldberg.com>
30450 Date: Sat Apr 17 12:00:05 2010 -0400
30452 Implement nullable argument support, including tests
30454 https://bugzilla.gnome.org/show_bug.cgi?id=616035
30456 gi/pygi-argument.c | 43 +++++++++++++++++++++++++++++++++++++------
30457 gi/pygi-argument.h | 3 ++-
30458 gi/pygi-info.c | 19 +++++++++++++------
30459 tests/test_everything.py | 28 ++++++++++++++++++++++++++++
30460 4 files changed, 80 insertions(+), 13 deletions(-)
30462 commit 7d533b8893bc4a8a82fd9708278fa1dce5d3551e
30463 Author: Zach Goldberg <zach@zachgoldberg.com>
30464 Date: Sat Apr 17 12:56:19 2010 -0400
30466 Move some tests from test_gi to test_everything
30468 tests/test_everything.py | 60
30469 ++++++++++++++++++++++++++++++++++++++++++++++
30470 tests/test_gi.py | 62
30471 +-----------------------------------------------
30472 2 files changed, 61 insertions(+), 61 deletions(-)
30474 commit a90298cc9e6c0f336f887a71d80b1efd07ec2811
30475 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30476 Date: Sun Apr 18 10:44:35 2010 -0400
30478 Update to latest version of the pygi-convert.sh script
30480 pygi-convert.sh | 193
30481 ++++++++++++++++++++++++++++++++++++++++----------------
30482 1 file changed, 137 insertions(+), 56 deletions(-)
30484 commit 34a39318c674737c6d64f2430456daef86ba1626
30485 Author: Colin Walters <walters@verbum.org>
30486 Date: Sun Apr 18 10:40:44 2010 -0400
30488 Add Tomeu's prototype script for converting pygtk to pygi
30490 pygi-convert.sh | 71
30491 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
30492 1 file changed, 71 insertions(+)
30494 commit a3afdb5fd33de0bf11d63857a245a8f5edec242c
30495 Author: Olav Vitters <olav@vitters.nl>
30496 Date: Sun Apr 18 13:01:58 2010 +0200
30501 1 file changed, 4 insertions(+)
30503 commit 0de73d0bba79f92af22f43693f3575c596712416
30504 Author: Zach Goldberg <zach@zachgoldberg.com>
30505 Date: Sat Apr 17 16:01:31 2010 -0400
30507 Add Zach Goldberg as a pygi maintainer
30509 pygi.doap | 5 +++++
30510 1 file changed, 5 insertions(+)
30512 commit a0e22e36e8cf0c1e0da3c0ec48c821fdb5a07ccd
30513 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30514 Date: Sat Apr 17 11:47:54 2010 -0400
30518 configure.ac | 7 +------
30519 1 file changed, 1 insertion(+), 6 deletions(-)
30521 commit 2778f8a1bf6379a46beec6546c8efcb0fec2d7ad
30522 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30523 Date: Sat Apr 17 11:40:14 2010 -0400
30525 Add examples/cairo-demo.py
30527 examples/cairo-demo.py | 121
30528 +++++++++++++++++++++++++++++++++++++++++++++++++
30529 1 file changed, 121 insertions(+)
30531 commit 610dd1eec87fab5c8c3badb4d104cba74477c745
30532 Author: Zach Goldberg <zach@zachgoldberg.com>
30533 Date: Sat Apr 17 09:17:14 2010 -0400
30535 Implementation callback support with scoping and basic argument
30538 This patch was originally written by
30539 Zach Goldberg <zach@zachgoldberg.com> with modifications and
30540 review by Simon van der Linden <svdlinden@src.gnome.org> and
30541 Colin Walters <walters@verbum.org>.
30543 This impementation enforces the assumption that any one function
30544 signature can only have one (callback, userdata, destronotify) tuple.
30545 This allows us to move callback creation into the actual function
30546 invoke pipeline and also to keep just one destroy notify callback
30547 around, vastly simplifying the code.
30549 https://bugzilla.gnome.org/show_bug.cgi?id=603095
30552 gi/Makefile.am | 4 +
30553 gi/pygi-argument.c | 12 ++-
30554 gi/pygi-callbacks.c | 216
30555 ++++++++++++++++++++++++++++++++++++++++++++++++++++
30556 gi/pygi-callbacks.h | 47 ++++++++++++
30557 gi/pygi-closure.c | 205
30558 +++++++++++++++++++++++++++++++++++++++++++++++++
30559 gi/pygi-closure.h | 57 ++++++++++++++
30560 gi/pygi-info.c | 49 ++++++++++--
30561 gi/pygi-private.h | 2 +
30562 tests/test_gi.py | 64 +++++++++++++++-
30563 10 files changed, 648 insertions(+), 10 deletions(-)
30565 commit a34cb9f0038a6c89e5e6c5f7761d48a5a833044f
30566 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30567 Date: Sat Apr 17 10:54:45 2010 -0400
30569 Add support for foreign structs
30571 https://bugzilla.gnome.org/show_bug.cgi?id=603712
30573 configure.ac | 6 +++
30574 gi/Makefile.am | 10 +++-
30575 gi/gimodule.c | 7 +++
30576 gi/pygi-argument.c | 27 ++++++++++-
30577 gi/pygi-foreign-cairo.c | 103 +++++++++++++++++++++++++++++++++++++++
30578 gi/pygi-foreign-cairo.h | 55 +++++++++++++++++++++
30579 gi/pygi-foreign.c | 123
30580 +++++++++++++++++++++++++++++++++++++++++++++++
30581 gi/pygi-foreign.h | 52 ++++++++++++++++++++
30582 gi/pygi-private.h | 1 +
30583 tests/test_everything.py | 48 ++++++++++++++++++
30584 10 files changed, 428 insertions(+), 4 deletions(-)
30586 commit e73b6f6fe8b5f23a2a390ae0a6bbced593ded155
30587 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30588 Date: Fri Apr 16 14:35:13 2010 -0400
30590 Allow creating structs with pointers
30592 https://bugzilla.gnome.org/show_bug.cgi?id=603537
30594 gi/pygi-struct.c | 6 ------
30595 tests/test_gi.py | 3 ++-
30596 2 files changed, 2 insertions(+), 7 deletions(-)
30598 commit fc9ff02e53aacf9e77625c70985e99813544912a
30599 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30600 Date: Fri Apr 16 10:40:40 2010 -0400
30602 Add gdb and valgrind variants for the tests
30604 HACKING | 19 +++++++++++++++++++
30605 Makefile.am | 12 ++++++++++++
30606 tests/Makefile.am | 14 +++++++++++++-
30607 3 files changed, 44 insertions(+), 1 deletion(-)
30609 commit 695ac7bc5c60371a32538d690c7a15509f3c9637
30610 Author: John Stowers <john.stowers@gmail.com>
30611 Date: Fri Apr 16 14:36:11 2010 +1200
30613 Add build docs for windows
30616 README.win32 | 24 ++++++++++++++++++++++++
30617 2 files changed, 25 insertions(+)
30619 commit e580da87f0b2fd36cb5d8008fb2fb0c3b01f456a
30620 Author: John Stowers <john.stowers@gmail.com>
30621 Date: Thu Apr 15 13:40:39 2010 +1200
30623 Setup.py cosmetic tidy
30625 * Remove local doc install, point to website instead
30626 * link to versioned docs
30628 pygobject_postinstall.py | 43 ++++++++++++++++++++++++++-----------------
30629 setup.py | 39 ++++++++++++++-------------------------
30630 2 files changed, 40 insertions(+), 42 deletions(-)
30632 commit 69ecd506c83ddf180c6cc9a2a8dc753a02543959
30633 Author: John Stowers <john.stowers@gmail.com>
30634 Date: Sat Jul 25 14:12:30 2009 +1200
30636 Fix crash when importing gio
30638 Only seems to be necessary on windows, but
30639 no harm on linux as multiple calls to init
30642 gio/giomodule.c | 3 +++
30643 1 file changed, 3 insertions(+)
30645 commit 5d159a13d89587cba189a0ca3203ac003e2f1f2b
30646 Author: John Stowers <john.stowers@gmail.com>
30647 Date: Thu Apr 15 22:52:48 2010 +1200
30649 Bug 589671 - Dont use generate-constants
30651 This breaks the build using distutils, and it is
30652 largely unneeded. Just add the G_XXX constants
30653 to the module directly
30655 gobject/Makefile.am | 16 +--------
30656 gobject/constants.py | 83
30657 ++++++++++++++++++++++++++++++++++++++++++++
30658 gobject/constants.py.in | 50 --------------------------
30659 gobject/generate-constants.c | 44 -----------------------
30660 gobject/gobjectmodule.c | 35 +++++++++++++++++++
30662 tests/runtests.py | 3 +-
30663 7 files changed, 121 insertions(+), 112 deletions(-)
30665 commit 6d7a3ab9ce352692d0faccbf106974d264fa953d
30666 Author: John Stowers <john.stowers@gmail.com>
30667 Date: Thu Apr 15 22:49:17 2010 +1200
30669 Bug 589671 - Fix setup.py for windows build
30671 * Building pyglib as a static private library
30672 * Update to include new defs
30673 * Modernise setup.py and add more util functions
30676 dsextras.py | 32 ++++++++++++++++---
30678 +++++++++++++++++++++++++++++++++++++++++++++++++++---------
30679 2 files changed, 116 insertions(+), 18 deletions(-)
30681 commit d11ef47072acae5801ce25c68d1289e425eb9fc2
30682 Author: John Stowers <john.stowers@gmail.com>
30683 Date: Thu Apr 15 22:48:28 2010 +1200
30685 Include pygsource.h
30687 glib/pygiochannel.c | 1 +
30688 1 file changed, 1 insertion(+)
30690 commit c5f6af4844c74354abc508d17969d9d45153acf2
30691 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30692 Date: Thu Apr 15 14:25:59 2010 -0400
30694 Add metadata to the .doap file
30697 1 file changed, 3 insertions(+)
30699 commit 81796cb77cbe6b9598a652bd63c047af93e747ee
30700 Author: John (J5) Palmieri <johnp@redhat.com>
30701 Date: Wed Apr 14 12:01:43 2010 -0400
30703 override that wasn't checked in - fixes some test cases
30705 gi/overrides/GIMarshallingTests.py | 69
30706 ++++++++++++++++++++++++++++++++++++++
30707 1 file changed, 69 insertions(+)
30709 commit de5d2ea1584b01af809346316c7fbd4955a9db1d
30710 Author: Colin Walters <walters@verbum.org>
30711 Date: Wed Apr 14 10:06:07 2010 -0400
30713 [Makefile.am] Clean up CFLAGS handling, don't override all: target
30715 First, we should move the CFLAGS into AM_CFLAGS, otherwise the
30716 per-target CFLAGS forces Automake to prefix object files, which
30717 is unnecessary since we only have one target.
30719 More importantly, avoid overriding the all: target here; that's
30720 owned by Automake. Use all-local instead to append things to
30721 the end of the normal build.
30723 gi/Makefile.am | 15 +++++++++------
30724 1 file changed, 9 insertions(+), 6 deletions(-)
30726 commit 5a47e96e3f580c973e6880dafa747f54c144c760
30727 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30728 Date: Tue Apr 13 19:15:49 2010 -0400
30730 Use GIMarshallingTests (old TestGI) in gobject-introspection
30732 gi/overrides/TestGI.py | 69 --
30733 tests/Makefile.am | 40 -
30734 tests/libtestgi.c | 2924
30735 ------------------------------------------------
30736 tests/libtestgi.h | 628 -----------
30737 tests/test_gi.py | 832 +++++++-------
30738 5 files changed, 416 insertions(+), 4077 deletions(-)
30740 commit 681832c3cd040433a488a400693b68f213bf7078
30741 Author: José Alburquerque <jaalburqu@svn.gnome.org>
30742 Date: Tue Apr 13 13:33:12 2010 -0400
30744 codegen/docextract_to_xml.py: One more &...; replacement ( ).
30746 * codegen/docextract_to_xml.py: Replace which also causes
30747 errors with a regular space.
30749 codegen/docextract_to_xml.py | 1 +
30750 1 file changed, 1 insertion(+)
30752 commit bd4e7f2459e34957aaae59b9be807d6dff5ec1eb
30753 Author: José Alburquerque <jaalburqu@svn.gnome.org>
30754 Date: Tue Apr 13 12:28:10 2010 -0400
30756 codegen/docextract_to_xml.py: Replace some &..; that cause errors.
30758 * codegen/docextract_to_xml.py (escape_text): Replace some &..;
30759 expressions that cause errors with more appropriate output.
30761 codegen/docextract_to_xml.py | 4 ++++
30762 1 file changed, 4 insertions(+)
30764 commit f00b9ce91fc9c3aabd4af4132fc112d9e415e12e
30765 Author: José Alburquerque <jaalburqu@svn.gnome.org>
30766 Date: Sun Apr 11 17:46:40 2010 -0400
30768 codegen/docextract_to_xml.py: Handle C++ multi-line comments.
30770 * codegen/docextract_to_xml.py (escape_text): Translate '/*'
30772 in text to '/ *' and '* /' respectively so that comment errors
30774 show up when the descriptions that include C++ code with C++
30775 multi-line comments are used in Doxygen blocks.
30777 codegen/docextract_to_xml.py | 9 +++++++++
30778 1 file changed, 9 insertions(+)
30780 commit a2fcdecbb5e109da5568084d7acb2332af83b6f5
30781 Author: José Alburquerque <jaalburqu@svn.gnome.org>
30782 Date: Sun Apr 11 16:15:01 2010 -0400
30784 codegen/docextract.py: Stop final section processing on first
30787 * codegen/docextract.py (process_final_sections): Modify the final
30788 section pattern matching for loop to stop on first match so
30790 doesn't match both a colon return ('Returns: ...') and a no colon
30791 return ('Returns ...') which leads to annotation extraction
30794 codegen/docextract.py | 4 ++++
30795 1 file changed, 4 insertions(+)
30797 commit 825fd305f03b726665edca34963978ce27448182
30798 Author: José Alburquerque <jaalburqu@svn.gnome.org>
30799 Date: Sun Apr 11 15:45:09 2010 -0400
30801 Update doc extraction tool to handle GObjectIntrospection
30804 * codegen/docextract.py (FunctionDoc): Renamed class to GtkDoc.
30805 (GtkDoc::annotations): Added a list field to store annotations
30807 are 2-tuples of (name, value).
30808 (GtkDoc::ret): Modified field to store the return description
30810 with a list of annotations as described above.
30811 (GtkDoc::params): Now holds a list of 3-tupples: name,
30813 annotations (as described above).
30814 (GtkDoc::block_type): Add a field to tell if the comment block
30816 function block, signal block or property block.
30817 (GtkDoc::set_type):
30818 (GtkDoc::get_type): Add methods for setting/getting the block
30820 (GtkDoc::add_param): Modified to also accept a list of
30822 be added with the parameter.
30823 (GtkDoc::add_annotation):
30824 (GtkDoc::get_annotations): Added methods to add/get annotations
30827 (GtkDoc::append_description): Renamed to append_to_description().
30828 (GtkDoc::get_param_description): Removed unused method.
30829 (GtkDoc::get_description): Added method to get block description.
30830 (GtkDoc::add_return): Added method to add a return accepting
30832 line of the description and its annotations.
30833 (GtkDoc::append_return): Renamed to append_to_return().
30834 (Regular expressions):
30835 - Made the names of the variables un-abbreviated.
30837 - Added 'since', 'deprecated' and 'rename to' regular
30840 - Modified the return matching regular expression so that
30842 match descriptions that begin with 'Returns ...'.
30844 the docs of many function.
30846 - Added signal and property comment block identifier matching
30848 expressions in case those are useful.
30850 - Modified existing identifier matching regular expressions
30852 signal, and property regular expressions) to properly parse
30853 annotations. Also added a regular expression for extracting
30854 annotations from the parameter and return descriptions.
30856 - Refined the function name matching regular expression to
30858 identifiers that begin with a lowercase letter. This eliminates
30859 'SECTION:' matches.
30861 - Finally, grouped commonly related expressions like
30863 since_pattern, etc. into groups (in lists) so that matching
30865 sections can be done using loops.
30867 (Parsing algorithm): Modified the algorithm to use a functional
30868 approach to parsing. Extra methods like skip_to_comment() and
30869 processs_params() have been added and used in the parse_file()
30870 function to now process the comment blocks.
30871 (parse_dir): Added file processing output to stderr.
30872 * codegen/docextract_to_xml.py (usage): Added function to
30875 (print_annotations): Added function to print the given list of
30877 (options): Added --with-signals (-i), with-properties (-p) and
30878 --with-annotation (-a) to the existing --source-dir (-s) option.
30880 (algorithm): Now prints annotations, if specified. Also, prints
30881 signals and properties correctly (using names like
30883 for signals and Classs:property) with xml such as <signal
30884 name="...">...</signal>. The return xml is slightly modified with
30885 annotations but this would only be exhibited if annotation xml is
30888 codegen/docextract.py | 439
30889 ++++++++++++++++++++++++++++++++++---------
30890 codegen/docextract_to_xml.py | 87 ++++++---
30891 2 files changed, 414 insertions(+), 112 deletions(-)
30893 commit 9fef1acb42cd900d4a814a7378f60bc189121785
30894 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30895 Date: Fri Apr 9 13:47:03 2010 +0200
30897 Always create the .so link
30899 gi/Makefile.am | 2 +-
30900 1 file changed, 1 insertion(+), 1 deletion(-)
30902 commit e9f7fd414e94595e40eb1ba0fc471ca69136d82f
30903 Author: Paul Bolle <pebolle@tiscali.nl>
30904 Date: Thu Apr 8 11:52:25 2010 +0200
30906 Docs: replace gio.IO_ERROR_* with gio.ERROR_*
30908 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
30910 docs/reference/pygio-file.xml | 58
30911 ++++++++++++++++++------------------
30912 docs/reference/pygio-inputstream.xml | 22 +++++++-------
30913 docs/reference/pygio-mount.xml | 10 +++----
30914 3 files changed, 45 insertions(+), 45 deletions(-)
30916 commit 4cbd9941c5705970a9f7a429e236e1203d3155a1
30917 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
30918 Date: Mon Apr 5 18:10:42 2010 +0200
30920 Bug 613341 - pygobject tests seem to require pygtk causing a circular
30921 dependencies problem
30923 move tests that require pygtk to pygtk itself
30925 tests/test_conversion.py | 83 --------------
30926 tests/test_enum.py | 234 --------------------------------------
30927 tests/test_gtype.py | 112 ------------------
30928 tests/test_subtype.py | 289
30929 -----------------------------------------------
30930 4 files changed, 718 deletions(-)
30932 commit ef0ceb266a45715ece58642fb0042e3376416755
30933 Author: Simon van der Linden <svdlinden@src.gnome.org>
30934 Date: Wed Feb 3 20:33:03 2010 +0100
30936 Add modelines and copyright information to overrides modules
30938 gi/overrides/Gdk.py | 21 +++++++++++++++++++++
30939 gi/overrides/Gtk.py | 21 +++++++++++++++++++++
30940 gi/overrides/TestGI.py | 20 ++++++++++++++++++++
30941 3 files changed, 62 insertions(+)
30943 commit 5106523a4b8378997a1e6cb0488398aa73e7d9d5
30944 Author: Simon van der Linden <svdlinden@src.gnome.org>
30945 Date: Wed Feb 3 20:29:55 2010 +0100
30947 Fix and complete overrides tests
30949 Those tests were missing in the last commit
30951 https://bugzilla.gnome.org/show_bug.cgi?id=602830
30953 gi/overrides/TestGI.py | 49
30954 +++++++++++++++++++++++++++++++++++++++++++++++++
30955 tests/test_gi.py | 8 +++++++-
30956 2 files changed, 56 insertions(+), 1 deletion(-)
30958 commit 23fc0f615d87994acafd9d39e92dd92b587fc2eb
30959 Author: Simon van der Linden <svdlinden@src.gnome.org>
30960 Date: Thu Jan 21 17:30:51 2010 +0100
30962 Don't raise an error in _pygi_import if pygi support is disabled
30964 http://bugzilla.gnome.org/show_bug.cgi?id=607674
30966 gobject/pygboxed.c | 6 +-----
30967 gobject/pygi-external.h | 1 -
30968 gobject/pygobject.c | 6 +-----
30969 gobject/pygpointer.c | 6 +-----
30970 4 files changed, 3 insertions(+), 16 deletions(-)
30972 commit aefac8c5f64bf059dd6652f8a843d17b34fa0854
30973 Author: Simon van der Linden <svdlinden@src.gnome.org>
30974 Date: Fri Jan 22 22:22:37 2010 +0100
30976 Remove support for pointers to basic types as input-only argument
30979 There is no reason for an API to use such things, and
30980 g_function_info_invoke
30981 broke such features.
30983 https://bugzilla.gnome.org/show_bug.cgi?id=607759
30985 gi/pygi-argument.c | 586 ++++-------------------------------------------
30986 gi/pygi-argument.h | 1 -
30987 gi/pygi-info.c | 8 +-
30988 tests/libtestgi.c | 660
30989 -----------------------------------------------------
30990 tests/libtestgi.h | 86 -------
30991 tests/test_gi.py | 144 ------------
30992 6 files changed, 47 insertions(+), 1438 deletions(-)
30994 commit eaf7cb8ebb7e34f9493ac83b2f04af4dcf45f40f
30995 Author: Simon van der Linden <svdlinden@src.gnome.org>
30996 Date: Fri Jan 22 13:41:21 2010 +0100
30998 Restore the overrides support
31000 Add a ModuleProxy in front of the DynamicModule when an overrides
31002 present. There is no need for an overrides module to be a class;
31003 it can just be a module.
31005 Add an override decorator to override the wrapper of a registered
31008 Adapt Gdk and Gtk accordingly.
31012 https://bugzilla.gnome.org/show_bug.cgi?id=602830
31014 gi/importer.py | 40 +++++++-------------
31015 gi/module.py | 43 ++++++++++++++-------
31016 gi/overrides/Gdk.py | 42 +++++++++++++--------
31017 gi/overrides/Gtk.py | 16 ++++----
31018 gi/types.py | 6 +++
31019 tests/libtestgi.c | 105
31020 ++++++++++++++++++++++++++++++++++++++++++++++++++++
31021 tests/libtestgi.h | 49 ++++++++++++++++++++++++
31022 tests/test_gi.py | 36 ++++++++++++++++++
31023 8 files changed, 273 insertions(+), 64 deletions(-)
31025 commit 289d641775d1ea52d2a5379126b70b7fcee46683
31026 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31027 Date: Sun Jan 10 21:01:59 2010 +0100
31029 Initialize PyGPollFD_Type.fd_obj to NULL
31031 https://bugzilla.gnome.org/show_bug.cgi?id=606582
31033 gio/gcancellable.override | 1 +
31034 1 file changed, 1 insertion(+)
31036 commit b11cf2595987c1f0fc4ffd834f07c98b92aa2355
31037 Author: Simon van der Linden <svdlinden@src.gnome.org>
31038 Date: Fri Jan 8 21:10:28 2010 +0100
31040 Initialize struct fields to 0 when allocating
31042 gi/pygi-struct.c | 2 +-
31043 tests/test_gi.py | 5 +++++
31044 2 files changed, 6 insertions(+), 1 deletion(-)
31046 commit b4189be2b2d3c350fdf33e27309bee5a72e4f72a
31047 Author: Simon van der Linden <svdlinden@src.gnome.org>
31048 Date: Fri Jan 8 20:33:44 2010 +0100
31050 Don't set a default constructor for structures.
31052 Update tests accordingly.
31054 The reason for this change is that setting __new__ in the metaclass
31056 one overrides it afterwards, in a subclass (in my experience, at
31058 though it seems weird).
31060 https://bugzilla.gnome.org/show_bug.cgi?id=603536
31062 gi/types.py | 35 +++++++----------------------------
31063 tests/libtestgi.c | 33 ---------------------------------
31064 tests/libtestgi.h | 7 -------
31065 tests/test_gi.py | 21 ++++++++++-----------
31066 4 files changed, 17 insertions(+), 79 deletions(-)
31068 commit 4db68b958ea11bd2c3a88067cae03fd6bdd1d24b
31069 Author: Simon van der Linden <svdlinden@src.gnome.org>
31070 Date: Tue Jan 5 13:36:44 2010 +0100
31072 Suppress compilation warnings
31074 gi/pygi-argument.c | 3 ++-
31075 gi/pygi-boxed.c | 2 --
31076 gi/pygobject-external.h | 2 +-
31077 3 files changed, 3 insertions(+), 4 deletions(-)
31079 commit 4e2efa91d101bf755739e1cca8eee41eb0ad20fd
31080 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31081 Date: Mon Jan 4 08:35:14 2010 +0100
31083 Bug 605937 - pygobject: Makefile.am sets $TMPDIR, disrupting distcc
31085 Committed a patch from Kevin Pyle
31087 Makefile.am | 27 +++++++++++++--------------
31088 1 file changed, 13 insertions(+), 14 deletions(-)
31090 commit 8ddcbca0e98e0b0c082170a2b2b6cfcbd7864b40
31091 Author: Simon van der Linden <svdlinden@src.gnome.org>
31092 Date: Fri Dec 11 22:24:30 2009 +0100
31094 sys.path must be modified after pygtk is imported
31096 Otherwise, sys.path is overridden by pygtk and gi.repository is
31098 system's default site-package directory.
31100 tests/runtests.py | 1 -
31101 tests/test_gi.py | 3 +++
31102 2 files changed, 3 insertions(+), 1 deletion(-)
31104 commit 284a1e1c0143c95d3007cf58e6c248b5d11fb4d1
31105 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31106 Date: Sun Jan 3 11:02:57 2010 +0100
31108 Wrap gio.Cancellable.make_pollfd() and add a test
31110 gio/Makefile.am | 1 +
31111 gio/gcancellable.override | 37 +++++++++++++++++++++++++++++++++++++
31112 gio/gio.override | 3 +++
31113 tests/test_gcancellable.py | 15 +++++++++++++++
31114 4 files changed, 56 insertions(+)
31116 commit 82d7bcbf37200ee2ef5892dd12bebd2f39965c56
31117 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31118 Date: Sat Jan 2 23:15:56 2010 +0100
31120 Make cancellable an optional parameter in many methods
31123 +++++++++++++++++++++++++++++------------------------------
31124 1 file changed, 51 insertions(+), 51 deletions(-)
31126 commit 49a078cd22d55dc33a03ecfda235d63955edc741
31127 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31128 Date: Sat Jan 2 23:15:21 2010 +0100
31130 Post release version bump to 2.21.2
31132 configure.ac | 2 +-
31133 1 file changed, 1 insertion(+), 1 deletion(-)
31135 commit 4f9f1f43ab4e2cfb204ffa0e257a34cfd95d84e2
31136 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31137 Date: Sat Jan 2 22:58:36 2010 +0100
31139 Update NEWS and release PyGObject-2.21.1
31141 NEWS | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
31142 1 file changed, 55 insertions(+)
31144 commit c1f34be73bd186d7b4682dfef133da2c4229d213
31145 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31146 Date: Fri Jan 1 20:25:35 2010 +0100
31148 Wrap gio.Volume.eject_with_operation()
31150 gio/gvolume.override | 54
31151 ++++++++++++++++++++++++++++++++++++++++++++++++++++
31152 1 file changed, 54 insertions(+)
31154 commit 9b76fbff6f6897aaf26ed4644c1f19efc2826917
31155 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31156 Date: Fri Jan 1 20:22:21 2010 +0100
31158 gio.Mount.unmount_with_operation() fix a copy/paste leftover
31160 gio/gmount.override | 4 ++--
31161 1 file changed, 2 insertions(+), 2 deletions(-)
31163 commit 6f459786dd641cd49d81eba403d940620f961cab
31164 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31165 Date: Fri Jan 1 20:21:05 2010 +0100
31167 Wrap gio.Mount.eject_with_operation()
31169 gio/gmount.override | 54
31170 +++++++++++++++++++++++++++++++++++++++++++++++++++++
31171 1 file changed, 54 insertions(+)
31173 commit d4b5d1b4839364e5676eb2da28f1d21db7e2552d
31174 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31175 Date: Fri Jan 1 20:15:38 2010 +0100
31177 Wrap gio.Mount.unmount_mountable_with_operation()
31179 gio/gmount.override | 54
31180 +++++++++++++++++++++++++++++++++++++++++++++++++++++
31181 1 file changed, 54 insertions(+)
31183 commit e919d47c2430451b436cec955e9b99237f97028c
31184 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31185 Date: Fri Jan 1 18:22:46 2010 +0100
31187 Wrap File.unmount_mountable_with_operation()
31189 gio/gfile.override | 54
31190 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
31191 1 file changed, 54 insertions(+)
31193 commit 5a614df9c5507d67f240462f7bf71b4cd411addf
31194 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31195 Date: Fri Jan 1 18:14:11 2010 +0100
31197 Wrap gio.File.stop_mountable()
31199 gio/gfile.override | 52
31200 ++++++++++++++++++++++++++++++++++++++++++++++++++++
31201 1 file changed, 52 insertions(+)
31203 commit 6af506647f36f2b825bc6556df5ee57fa7721906
31204 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31205 Date: Fri Jan 1 18:10:49 2010 +0100
31207 Wrap gio.File.start_mountable()
31209 gio/gfile.override | 52
31210 ++++++++++++++++++++++++++++++++++++++++++++++++++++
31211 1 file changed, 52 insertions(+)
31213 commit e700efc839fc0b651fc9794a1611190bffa80263
31214 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31215 Date: Fri Jan 1 18:02:46 2010 +0100
31217 Wrap gio.File.replace_readwrite_async()
31219 gio/gfile.override | 55
31220 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
31221 1 file changed, 55 insertions(+)
31223 commit 92662f129fc728258fd5e34f53dcb081e3715017
31224 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31225 Date: Fri Jan 1 17:00:26 2010 +0100
31227 Wrap gio.File.poll_mountable()
31229 gio/gfile.override | 41 +++++++++++++++++++++++++++++++++++++++++
31230 1 file changed, 41 insertions(+)
31232 commit 99902b786500948c3278779841e4db54223b9256
31233 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31234 Date: Fri Jan 1 16:56:26 2010 +0100
31236 Wrap gio.File.open_readwrite_async()
31238 gio/gfile.override | 44 ++++++++++++++++++++++++++++++++++++++++++++
31239 1 file changed, 44 insertions(+)
31241 commit 8cff5d53183ae81364ac74a34a1d52e55e082eb4
31242 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31243 Date: Fri Jan 1 16:50:15 2010 +0100
31245 Wrap gio.File.eject_mountable_with_operation()
31247 gio/gfile.override | 54
31248 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
31249 1 file changed, 54 insertions(+)
31251 commit ca436fe7785fd24b0f0e65f2f8c9fa6478277682
31252 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31253 Date: Fri Jan 1 13:30:24 2010 +0100
31255 Wrap gio.File.create_readwrite_async() and add a test
31257 gio/gfile.override | 51
31258 +++++++++++++++++++++++++++++++++++++++++++++++++++
31259 tests/test_gio.py | 24 ++++++++++++++++++++++++
31260 2 files changed, 75 insertions(+)
31262 commit f72c5e451dfaeb01b3c3d9243fed2732d3620462
31263 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31264 Date: Fri Jan 1 13:20:11 2010 +0100
31266 Wrap gio.Drive.stop()
31268 gio/gdrive.override | 52
31269 ++++++++++++++++++++++++++++++++++++++++++++++++++++
31270 1 file changed, 52 insertions(+)
31272 commit 29043bade408338cefa13fb4b0c875aabd3ef05e
31273 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31274 Date: Fri Jan 1 13:00:42 2010 +0100
31276 Wrap gio.Drive.start()
31278 gio/gdrive.override | 52
31279 ++++++++++++++++++++++++++++++++++++++++++++++++++++
31280 1 file changed, 52 insertions(+)
31282 commit dff374287bbecc8af782bbc726fad86c6c867754
31283 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31284 Date: Fri Jan 1 12:45:29 2010 +0100
31286 Add more remainders on missing methods of gio.Socket and related types
31288 gio/gsocket.override | 3 +++
31289 1 file changed, 3 insertions(+)
31291 commit b8c7e996498bd72df551011af85ff05ef7335b4f
31292 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31293 Date: Fri Jan 1 12:41:08 2010 +0100
31295 Wrap gio.SocketListener.accept_socket_async|finish() and add a test
31297 gio/gsocket.override | 86
31298 +++++++++++++++++++++++++++++++++++++++++++++++++--
31299 tests/test_gsocket.py | 24 ++++++++++++++
31300 2 files changed, 108 insertions(+), 2 deletions(-)
31302 commit a5ae2d5ba3db34967fe07a3cc97b75df2793988c
31303 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31304 Date: Fri Jan 1 12:28:53 2010 +0100
31306 Wrap gio.SocketListener.accept_finish() and add a test
31308 gio/gsocket.override | 44 ++++++++++++++++++++++++++++++++++++++++++--
31309 tests/test_gsocket.py | 24 ++++++++++++++++++++++++
31310 2 files changed, 66 insertions(+), 2 deletions(-)
31312 commit a5ab26cc1bb3e9dd57e2fdb26ef5c02e8066d097
31313 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31314 Date: Fri Jan 1 11:19:34 2010 +0100
31316 Wrap gio.SocketListener.accept_async()
31318 gio/gsocket.override | 42 ++++++++++++++++++++++++++++++++++++++++++
31319 1 file changed, 42 insertions(+)
31321 commit c9496b29ef9ef232020a4044577d2947353953a5
31322 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31323 Date: Fri Jan 1 11:14:35 2010 +0100
31325 Wrap gio.SocketListener.accept_socket() and add a test
31327 gio/gsocket.override | 48
31328 +++++++++++++++++++++++++++++++++++++++++++++++-
31329 tests/test_gsocket.py | 13 +++++++++++++
31330 2 files changed, 60 insertions(+), 1 deletion(-)
31332 commit 1aa5e301c49f11e1c5ef58de44b4b03f714d1a70
31333 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31334 Date: Thu Dec 31 16:35:18 2009 +0100
31336 Wrap gio.SocketListener.accept() and add a test
31338 gio/gsocket.override | 46 +++++++++++++++++++++++++++++++++++++++++++++-
31339 tests/test_gsocket.py | 13 +++++++++++++
31340 2 files changed, 58 insertions(+), 1 deletion(-)
31342 commit aaedcf166c78baf5449ef59d0ade4a29077fedc7
31343 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31344 Date: Thu Dec 31 16:25:33 2009 +0100
31346 Make cancellable optional in gio.SocketClient.connect_to_host()
31348 gio/gio.defs | 2 +-
31349 1 file changed, 1 insertion(+), 1 deletion(-)
31351 commit 3829d7667b19126fb74562b28d271e616b154c99
31352 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31353 Date: Thu Dec 31 15:25:10 2009 +0100
31355 Wrap gio.SocketListener.add_address() and add a test
31357 gio/gsocket.override | 57
31358 ++++++++++++++++++++++++++++++++++++++++++++++++++-
31359 tests/test_gsocket.py | 9 ++++++++
31360 2 files changed, 65 insertions(+), 1 deletion(-)
31362 commit 5bec72f34ea75bc56158cae5c39d61a2a4e7e601
31363 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31364 Date: Thu Dec 31 10:19:47 2009 +0100
31366 Add more remainders on missing methods of gio.Socket and related types
31368 gio/gsocket.override | 8 ++++++++
31369 1 file changed, 8 insertions(+)
31371 commit b08b20f2b1a57bcbf400d6fe8e87cf052bdb719d
31372 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31373 Date: Thu Dec 31 10:16:18 2009 +0100
31375 Wrap gio.SocketClient.connect_to_service_async()
31377 gio/gsocket.override | 47 +++++++++++++++++++++++++++++++++++++++++++++++
31378 1 file changed, 47 insertions(+)
31380 commit 116ea1bfe32946e67aa54eb8dc7b977e57f254c2
31381 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31382 Date: Thu Dec 31 10:10:43 2009 +0100
31384 Wrap gio.SocketClient.connect_to_host_async()
31386 gio/gsocket.override | 48
31387 ++++++++++++++++++++++++++++++++++++++++++++++++
31388 1 file changed, 48 insertions(+)
31390 commit 9c930910505d5b9001b8cec17ff98fadeaa799e2
31391 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31392 Date: Thu Dec 31 09:59:46 2009 +0100
31394 Wrap gio.SocketClient.connect_async()
31396 gio/gsocket.override | 45 +++++++++++++++++++++++++++++++++++++++++++++
31397 1 file changed, 45 insertions(+)
31399 commit dff024256295c15e49888ad9d5fef74a7746edd7
31400 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31401 Date: Wed Dec 30 23:44:25 2009 +0100
31403 Wrap gio.SocketAddressEnumerator.next_async() and add a test
31405 gio/gsocket.override | 42 ++++++++++++++++++++++++++++++++++++++++++
31406 tests/test_gsocket.py | 16 ++++++++++++++++
31407 2 files changed, 58 insertions(+)
31409 commit e2330bd0d6cbc49b0ecb27b30e3b0593935ce229
31410 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31411 Date: Wed Dec 30 23:43:14 2009 +0100
31413 Add a missing object gio.InetSocketAddress new in GIO 2.22
31415 gio/gio-types.defs | 7 +++++++
31416 gio/gio.defs | 31 +++++++++++++++++++++++++++++++
31417 2 files changed, 38 insertions(+)
31419 commit 6040b33467ea381c6cb02f6a5efc0745fa8fa47b
31420 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31421 Date: Wed Dec 30 22:54:47 2009 +0100
31423 Make cancellable optional for gio.SocketAddressEnumerator.next()
31425 gio/gio.defs | 2 +-
31426 1 file changed, 1 insertion(+), 1 deletion(-)
31428 commit b19f59790b9de943d69b6c5e483928e0443c3d20
31429 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31430 Date: Wed Dec 30 22:17:44 2009 +0100
31432 Add a remainder of the Socket methods that needs manual wrapping still
31434 gio/gsocket.override | 5 +++++
31435 1 file changed, 5 insertions(+)
31437 commit 771a7c3fdef7b2e98e509293a8376a81c1282286
31438 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31439 Date: Wed Dec 30 17:20:35 2009 +0100
31441 Wrap gio.Socket.condition_wait() and add a test
31443 gio/gsocket.override | 27 +++++++++++++++++++++++++++
31444 tests/test_gsocket.py | 6 +++++-
31445 2 files changed, 32 insertions(+), 1 deletion(-)
31447 commit 50960656815b0897a5ebe5f011537b8dcbdc857e
31448 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31449 Date: Wed Dec 30 16:21:49 2009 +0100
31451 Wrap gio.Socket.condition_check() and add a test
31453 gio/Makefile.am | 1 +
31454 gio/gio.override | 1 +
31455 gio/gsocket.override | 41 +++++++++++++++++++++++++++++++++++++++++
31456 tests/test_gsocket.py | 21 +++++++++++++++++++++
31457 4 files changed, 64 insertions(+)
31459 commit de7a359e81792ae8573ac944455ea289985449ed
31460 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31461 Date: Wed Dec 30 14:07:52 2009 +0100
31463 Wrap gio.Resolver.lookup_service_finish() and add a test
31465 gio/gresolver.override | 37 +++++++++++++++++++++++++++++++++++++
31466 tests/test_gresolver.py | 13 +++++++++++++
31467 2 files changed, 50 insertions(+)
31469 commit 308421789ce849040d645077c41c80b6e2e65e83
31470 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31471 Date: Wed Dec 30 14:00:22 2009 +0100
31473 Wrap gio.Resolver.lookup_service_async()
31475 gio/gresolver.override | 48
31476 ++++++++++++++++++++++++++++++++++++++++++++++++
31477 1 file changed, 48 insertions(+)
31479 commit 9d56ce775f56fff1b1ef3c75843c0583e39f75c3
31480 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31481 Date: Wed Dec 30 11:11:32 2009 +0100
31483 Wrap gio.Resolver.lookup_service() and add a test
31485 gio/gresolver.override | 42 ++++++++++++++++++++++++++++++++++++++++++
31486 tests/test_gresolver.py | 5 +++++
31487 2 files changed, 47 insertions(+)
31489 commit 7fc71f490494dae73a5264869a97a9d30814930e
31490 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31491 Date: Tue Dec 29 22:12:50 2009 +0100
31493 Wrap gio.Resolver.lookup_by_address_async() and add a test
31495 gio/gresolver.override | 46
31496 ++++++++++++++++++++++++++++++++++++++++++++++
31497 tests/test_gresolver.py | 14 ++++++++++++++
31498 2 files changed, 60 insertions(+)
31500 commit c91656dbe56f07d3ebbad5113467c22427cf212a
31501 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31502 Date: Tue Dec 29 21:41:30 2009 +0100
31504 Wrap gio.Resolver.lookup_by_name_finish() and add a test
31506 gio/gresolver.override | 82
31507 +++++++++++++++++++++++++++++++++++++++++++++++++
31508 tests/test_gresolver.py | 16 ++++++++--
31509 2 files changed, 96 insertions(+), 2 deletions(-)
31511 commit 45b477342fa1c2435917c6d97745ad57665c4734
31512 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31513 Date: Tue Dec 29 17:15:44 2009 +0100
31515 Wrap gio.Drive.eject_with_data()
31517 gio/gdrive.override | 54
31518 +++++++++++++++++++++++++++++++++++++++++++++++++++++
31519 1 file changed, 54 insertions(+)
31521 commit 635227480f9659a1f91ab1ec12536d3ed012a976
31522 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31523 Date: Tue Dec 29 17:06:52 2009 +0100
31525 Deprecate old gio.Drive methods
31527 gio/gdrive.override | 7 ++++++-
31529 2 files changed, 7 insertions(+), 1 deletion(-)
31531 commit 3c0cbc95af29b1e192ed4b5963e96e39c70b349c
31532 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31533 Date: Tue Dec 29 13:51:54 2009 +0100
31535 Small fix in the header
31537 gio/gdrive.override | 2 +-
31538 1 file changed, 1 insertion(+), 1 deletion(-)
31540 commit 7589128515b79d836365247dc876538c6352da23
31541 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31542 Date: Tue Dec 29 12:40:50 2009 +0100
31544 Wrap gio.Resolver.lookup_by_name() and add a couple of tests
31546 gio/Makefile.am | 1 +
31547 gio/gio.override | 1 +
31548 gio/gresolver.override | 57
31549 +++++++++++++++++++++++++++++++++++++++++++++++++
31550 tests/test_gresolver.py | 21 ++++++++++++++++++
31551 4 files changed, 80 insertions(+)
31553 commit 604d2bf220b1fefa415baaedbdb2882dbaf9e07e
31554 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31555 Date: Tue Dec 29 12:39:13 2009 +0100
31557 Make cancellable an optional parameter in
31558 gio.Resolver.lookup_by_address()
31560 gio/gio.defs | 2 +-
31561 1 file changed, 1 insertion(+), 1 deletion(-)
31563 commit 00029145f4cd10759b37b38fb9f72435bf26b28b
31564 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31565 Date: Tue Dec 29 10:15:14 2009 +0100
31567 Strip g_ prefix for many other functions
31570 ++++++++++++++++++++++++++++++------------------------------
31571 1 file changed, 47 insertions(+), 47 deletions(-)
31573 commit 56d5dfc4fd862e32c19f944a0feb7a00a9154f06
31574 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31575 Date: Tue Dec 29 10:12:53 2009 +0100
31577 Strip g_prefix from InetAddress functions
31579 gio/gio.defs | 8 ++++----
31580 1 file changed, 4 insertions(+), 4 deletions(-)
31582 commit 1d360301d51a587a36a59f5d62e354484bbd2b31
31583 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31584 Date: Tue Dec 29 10:03:59 2009 +0100
31586 Fix function name gio.resolver_get_default()
31588 Strip the g_ prefix from function name
31590 gio/gio.defs | 2 +-
31591 1 file changed, 1 insertion(+), 1 deletion(-)
31593 commit 0fe00109c4f6fc27cbaae9b0a24ecfac71355d2f
31594 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31595 Date: Tue Dec 29 09:54:05 2009 +0100
31597 Wrap gio.FileIOStream.query_info_async() and add a test
31599 gio/Makefile.am | 1 +
31600 gio/gfileiostream.override | 68
31601 ++++++++++++++++++++++++++++++++++++++++++++++
31602 gio/gio.override | 1 +
31603 tests/test_gio.py | 18 ++++++++++++
31604 4 files changed, 88 insertions(+)
31606 commit 86783c695f3641b9491962e8f95a4dcb91f4017c
31607 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31608 Date: Tue Dec 29 13:08:29 2009 +0100
31610 Register enums and flags in PyGI if needed
31612 https://bugzilla.gnome.org/show_bug.cgi?id=603534
31614 gobject/pygenum.c | 20 ++++++++++++++------
31615 gobject/pygflags.c | 19 +++++++++++++------
31616 2 files changed, 27 insertions(+), 12 deletions(-)
31618 commit b90c01cff5ff5cb2796182f2ffd7b5248eaeed6a
31619 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31620 Date: Mon Dec 28 22:41:54 2009 +0100
31622 Wrap GIOStream.close_async() and add a test
31624 gio/Makefile.am | 1 +
31625 gio/gio.override | 1 +
31626 gio/giostream.override | 68
31627 ++++++++++++++++++++++++++++++++++++++++++++++++++
31628 tests/test_gio.py | 21 ++++++++++++++++
31629 4 files changed, 91 insertions(+)
31631 commit 0bff01bcee73a0e0d18342331136119c4e8bf151
31632 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31633 Date: Mon Dec 28 22:39:09 2009 +0100
31635 Make cancellable an optional parameter in GFile.create_readwrite()
31637 gio/gio.defs | 2 +-
31638 1 file changed, 1 insertion(+), 1 deletion(-)
31640 commit 1cabd733cde269ce3164834933f4a226673ecb0b
31641 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31642 Date: Mon Dec 28 21:39:50 2009 +0100
31644 Remove a duplicate entry in gio.defs
31646 gio/gio.defs | 9 ---------
31647 1 file changed, 9 deletions(-)
31649 commit 9ac372ad0bcfdec4bb1c96bc152246542a59a9b1
31650 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31651 Date: Mon Dec 28 21:37:49 2009 +0100
31653 Wrap gio.FileInfo.set_modification_time and add a test
31655 gio/gfileinfo.override | 33 ++++++++++++++++++++++++++++++++-
31656 tests/test_gio.py | 7 ++++++-
31657 2 files changed, 38 insertions(+), 2 deletions(-)
31659 commit 7bc2673f92138b1804d8eba091942d14d8884f90
31660 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31661 Date: Mon Dec 28 18:28:03 2009 +0100
31663 Wrap gio.EmblemedIcon.get_emblems() and add a test
31665 gio/gicon.override | 14 ++++++++++++++
31666 tests/test_gicon.py | 7 +++++++
31667 2 files changed, 21 insertions(+)
31669 commit 3d5056ad766d6856d8d6459fe9b377de2f0fd172
31670 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31671 Date: Sat Dec 26 22:27:48 2009 +0100
31673 Update Enums and Flags with new API
31675 gio/gio-types.defs | 153
31676 +++++++++++++++++++++++++++++++++++++++++++++++++++--
31677 1 file changed, 149 insertions(+), 4 deletions(-)
31679 commit 62a9d660a4a2d5fab1d57c6c96c984ff02d25ccd
31680 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31681 Date: Fri Dec 25 18:06:39 2009 +0100
31683 Post release version bump to 2.21.1
31685 configure.ac | 2 +-
31686 1 file changed, 1 insertion(+), 1 deletion(-)
31688 commit 2bd92cba5b028f0f78c35ecb34e648e95248f9d3
31689 Author: Bastian Winkler <buz@netbuz.org>
31690 Date: Fri Aug 14 15:10:26 2009 +0200
31692 Fix handling of uchar in pyg_value_from_pyobject
31694 Set the value by g_value_set_uchar and allow to use integer types
31697 gobject/pygtype.c | 15 +++++++++++----
31698 1 file changed, 11 insertions(+), 4 deletions(-)
31700 commit 828d0f042b59ea0319f33a23803c179af34ef2f1
31701 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31702 Date: Tue Dec 22 18:05:47 2009 +0100
31704 Add Gtk.keysyms to overrides
31706 gi/overrides/Gtk.py | 2 +
31707 gi/overrides/Makefile.am | 1 +
31708 gi/overrides/keysyms.py | 1499
31709 ++++++++++++++++++++++++++++++++++++++++++++++
31710 3 files changed, 1502 insertions(+)
31712 commit 24fa1224ff00b9da177e0bfaa1e14e1b899e4976
31713 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31714 Date: Wed Nov 25 10:33:56 2009 +0100
31716 The array field 'length' starts to count from the C arg list, so
31717 need to decrement when it's a method
31719 https://bugzilla.gnome.org/show_bug.cgi?id=602640
31721 gi/pygi-argument.c | 11 +++++++++-
31722 gi/pygi-argument.h | 3 ++-
31723 gi/pygi-info.c | 14 +++++++++++--
31724 tests/libtestgi.c | 60
31725 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
31726 tests/libtestgi.h | 4 ++++
31727 tests/test_gi.py | 15 ++++++++++++++
31728 6 files changed, 103 insertions(+), 4 deletions(-)
31730 commit 867536c6734e606d045760837ed22583da06566e
31731 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31732 Date: Fri Dec 18 10:50:09 2009 +0100
31734 Update NEWS and README, release pygobject 2.21.0
31736 NEWS | 18 ++++++++++++++++++
31738 2 files changed, 21 insertions(+), 3 deletions(-)
31740 commit f50fbd24fa61863aaefa4ae1e12e0b314ecd43ae
31741 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31742 Date: Fri Dec 18 10:31:48 2009 +0100
31744 Add pygi-external.h into Makefile SOURCES
31746 gobject/Makefile.am | 3 ++-
31747 1 file changed, 2 insertions(+), 1 deletion(-)
31749 commit 108c03b78f04b4bcfe066a6cb4d941e172bd32fe
31750 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31751 Date: Fri Dec 18 01:20:34 2009 +0100
31753 Bug 598435 - No wrapping for g_find_program_in_path ()
31755 glib/glibmodule.c | 20 ++++++++++++++++++++
31756 1 file changed, 20 insertions(+)
31758 commit d3d5cb3a4a2c2cb2bd0c2571304d59e19bc08452
31759 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31760 Date: Thu Dec 17 21:54:36 2009 +0100
31762 Wrap new API added in GIO-UNIX 2.22
31764 gio/unix-types.defs | 22 ++++++++++
31765 gio/unix.defs | 115
31766 +++++++++++++++++++++++++++++++++++++++++++++++++++-
31767 gio/unix.override | 8 ++++
31768 3 files changed, 144 insertions(+), 1 deletion(-)
31770 commit c87c8a81947a68507e8f3bcaf8e0e969b3e5331b
31771 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31772 Date: Thu Dec 17 21:52:11 2009 +0100
31774 Bump required glib version to 2.22.4
31776 I've committed a patch to glib which will be released in the stable
31778 Without the patch the unix module will fail, so I'm forced to bump.
31780 configure.ac | 6 +++---
31781 1 file changed, 3 insertions(+), 3 deletions(-)
31783 commit b630c8d4b1e55938dac89729768c4a877b305215
31784 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31785 Date: Thu Dec 17 02:24:45 2009 +0100
31787 Properly define Connectable as interface type and not object type
31789 gio/gio-types.defs | 12 ++++++------
31790 1 file changed, 6 insertions(+), 6 deletions(-)
31792 commit e955b931b07113c7432f7a85f882f69f12d263ad
31793 Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
31794 Date: Mon Nov 30 22:01:25 2009 +0100
31796 Depend on GLib 2.20 rather than 2.22
31798 Backport g_array_get_element_size.
31800 https://bugzilla.gnome.org/show_bug.cgi?id=603411
31802 configure.ac | 2 +-
31803 gi/pygi-private.h | 19 +++++++++++++++++++
31804 2 files changed, 20 insertions(+), 1 deletion(-)
31806 commit 542fdf6da4ad8f2d28d0d50152bd93cb4d8ee39a
31807 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31808 Date: Sat Nov 28 18:48:19 2009 +0000
31810 Use the limit constants from glib and interpret G_MAXUINT32 as
31811 PyLong_FromLongLong
31813 https://bugzilla.gnome.org/show_bug.cgi?id=602384
31815 gi/pygi-argument.c | 14 +++++++-------
31816 tests/test_gi.py | 18 +++++++++---------
31817 2 files changed, 16 insertions(+), 16 deletions(-)
31819 commit 38e89942d29f2a1dba47ab4a8d5edc84322707cd
31820 Author: Simon van der Linden <svdlinden@src.gnome.org>
31821 Date: Mon Nov 30 00:10:56 2009 +0100
31823 Suppress warnings about format conversion
31825 https://bugzilla.gnome.org/show_bug.cgi?id=603355
31827 gobject/generate-constants.c | 32 ++++++++++++++++----------------
31828 1 file changed, 16 insertions(+), 16 deletions(-)
31830 commit cfa7d005487e17e8f7c1ceb14282d3a5baadb736
31831 Author: Simon van der Linden <svdlinden@src.gnome.org>
31832 Date: Sat Nov 28 00:22:21 2009 +0100
31834 Remove global checks for pointers and move them in type cases that
31837 gi/pygi-argument.c | 516
31838 +++++++++++++++++++++++++++++++++++++++++++----------
31839 gi/pygi-info.c | 333 +++++++++++++++++-----------------
31840 2 files changed, 596 insertions(+), 253 deletions(-)
31842 commit d1ae73f3cf7cebdb74c9ec56b08928a2a53b9de6
31843 Author: Johan Dahlin <johan@gnome.org>
31844 Date: Mon Nov 23 15:58:17 2009 -0200
31846 Pythonify. Avoid ; and () around if statements
31848 https://bugzilla.gnome.org/show_bug.cgi?id=602830
31850 gi/types.py | 8 ++++----
31851 1 file changed, 4 insertions(+), 4 deletions(-)
31853 commit a8660621679c629fc81320a8ddf5bf2c7ee1f177
31854 Author: Johan Dahlin <johan@gnome.org>
31855 Date: Tue Nov 24 10:36:18 2009 -0200
31857 Remove trailing whitespace
31859 https://bugzilla.gnome.org/show_bug.cgi?id=602830
31861 gi/module.py | 4 ++--
31862 1 file changed, 2 insertions(+), 2 deletions(-)
31864 commit 66c34805223af9e63c7d61f21a3dbd7505a8f256
31865 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31866 Date: Mon Nov 30 10:03:34 2009 +0000
31868 Set a default constructor for boxed structs that don't have one
31870 https://bugzilla.gnome.org/show_bug.cgi?id=602735
31872 gi/Makefile.am | 2 +
31873 gi/gimodule.c | 1 +
31874 gi/module.py | 2 +-
31875 gi/pygi-argument.c | 14 +++-
31876 gi/pygi-boxed.c | 184
31877 +++++++++++++++++++++++++++++++++++++++++++++++++++++
31878 gi/pygi-boxed.h | 40 ++++++++++++
31879 gi/pygi-info.c | 2 +-
31880 gi/pygi-private.h | 1 +
31882 gi/types.py | 18 ------
31883 tests/libtestgi.c | 72 ++++++++++-----------
31884 tests/libtestgi.h | 18 +++---
31885 tests/test_gi.py | 47 ++++++++------
31886 13 files changed, 321 insertions(+), 86 deletions(-)
31888 commit e7e2fccae36c28c7e9f288fcd4c90a001140e307
31889 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31890 Date: Mon Nov 30 10:53:57 2009 +0000
31892 Revert "Use the limit constants from glib and interpret G_MAXUINT32
31893 as PyLong_FromLongLong"
31895 This reverts commit 05a2ed55f3e5d2620de8b3b6b0d99e928ef3b041.
31897 gi/pygi-argument.c | 14 +++++++-------
31898 tests/test_gi.py | 18 +++++++++---------
31899 2 files changed, 16 insertions(+), 16 deletions(-)
31901 commit 05a2ed55f3e5d2620de8b3b6b0d99e928ef3b041
31902 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31903 Date: Sat Nov 28 18:48:19 2009 +0000
31905 Use the limit constants from glib and interpret G_MAXUINT32 as
31906 PyLong_FromLongLong
31908 https://bugzilla.gnome.org/show_bug.cgi?id=602384
31910 gi/pygi-argument.c | 14 +++++++-------
31911 tests/test_gi.py | 18 +++++++++---------
31912 2 files changed, 16 insertions(+), 16 deletions(-)
31914 commit e24d155dd7b4a5b9c25c054137d1370c369d3192
31915 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31916 Date: Sat Nov 28 18:45:54 2009 +0000
31918 Add the missing limit constants from glibconfig.h
31920 https://bugzilla.gnome.org/show_bug.cgi?id=603244
31922 gobject/generate-constants.c | 17 ++++++++++++++++-
31923 1 file changed, 16 insertions(+), 1 deletion(-)
31925 commit 3a295cb7ffaaaf29c71b8833cf0ee5ec7ceaa909
31926 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31927 Date: Sat Nov 28 18:48:49 2009 +0100
31929 Fix bad name when rebuilding the unix source module
31931 gio/Makefile.am | 2 +-
31932 1 file changed, 1 insertion(+), 1 deletion(-)
31934 commit a8cbb6fb72dbe6630d1265b18095c9a96f496b86
31935 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31936 Date: Sat Nov 28 18:47:26 2009 +0100
31938 Wrap new API added in GIO 2.22
31940 gio/gio-types.defs | 138 +++
31941 gio/gio.defs | 2444
31942 +++++++++++++++++++++++++++++++++++++++++++++++-----
31943 2 files changed, 2360 insertions(+), 222 deletions(-)
31945 commit 96f6c638709636d7e2ddf560b877879691da3314
31946 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31947 Date: Sat Nov 28 11:03:51 2009 +0000
31949 A few tests about interfaces
31951 https://bugzilla.gnome.org/show_bug.cgi?id=601181
31953 tests/libtestgi.c | 23 +++++++++++++++++++++++
31954 tests/libtestgi.h | 16 ++++++++++++++++
31955 tests/test_gi.py | 21 +++++++++++++++++++++
31956 3 files changed, 60 insertions(+)
31958 commit 076ba3156c13375a75983cef7a409c8c8afea119
31959 Author: Simon van der Linden <svdlinden@src.gnome.org>
31960 Date: Thu Nov 26 23:50:54 2009 +0100
31962 Fix members initialization in metaclasses
31964 In metaclasses, the test for the name of the class was wrong, since it
31965 prevented one to create a subclass with the same name (especially
31967 overrides). Now, if a GType is available from the info, the fact
31969 doesn't have any wrapper yet means that the metaclass is creating
31971 class, which will be registerd just after its creation. This is
31973 objects, and for structures registered as boxed or pointer too.
31975 This patch includes a test for basic subclassing in Python. It
31977 that methods don't get overridden by the metaclass.
31979 gi/types.py | 5 +++--
31980 tests/test_gi.py | 19 +++++++++++++++++++
31981 2 files changed, 22 insertions(+), 2 deletions(-)
31983 commit ac80e64c9f7d257865aa820753e52d56cf2871c8
31984 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31985 Date: Fri Nov 27 12:06:59 2009 +0000
31987 Structs in arrays are not marshalled correctly
31989 https://bugzilla.gnome.org/show_bug.cgi?id=602709
31991 gi/pygi-argument.c | 29 ++++++++++++++++++++++++-----
31992 tests/libtestgi.c | 23 ++++++++++++++++++++++-
31993 tests/libtestgi.h | 7 +++++--
31994 tests/test_gi.py | 8 ++++++++
31995 4 files changed, 59 insertions(+), 8 deletions(-)
31997 commit 4a373b8ad6ec137e911b92a3e745e0fd76541292
31998 Author: Simon van der Linden <svdlinden@src.gnome.org>
31999 Date: Wed Nov 25 16:53:55 2009 +0100
32001 Use the right variable when looking up in sys.modules
32003 gi/importer.py | 2 +-
32004 1 file changed, 1 insertion(+), 1 deletion(-)
32006 commit fc3dca018e85aee34ade79d104ebd8cdd1dd5968
32007 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32008 Date: Tue Nov 24 15:52:47 2009 +0100
32010 Accept 0 as a valid value for flag and enum arguments
32012 https://bugzilla.gnome.org/show_bug.cgi?id=602638
32014 gi/pygi-argument.c | 19 ++++++++++++++++++-
32015 tests/libtestgi.c | 6 ++++++
32016 tests/libtestgi.h | 1 +
32017 tests/test_gi.py | 1 +
32018 4 files changed, 26 insertions(+), 1 deletion(-)
32020 commit 33081c29a1c2fdec2b8bfe17ae0a72b8db7a8d84
32021 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32022 Date: Tue Nov 24 13:10:11 2009 +0100
32024 Add stuff to .gitignore
32026 .gitignore | 7 +++++++
32027 1 file changed, 7 insertions(+)
32029 commit 5c010fe673d9bd01c27c8d7d312064665275888c
32030 Author: Simon van der Linden <svdlinden@src.gnome.org>
32031 Date: Mon Nov 23 22:39:12 2009 +0100
32033 Remove the girepository module
32036 configure.ac | 17 -
32037 girepository/Makefile.am | 54 --
32038 girepository/__init__.py | 24 -
32039 girepository/bank-argument.c | 379 ------------
32040 girepository/bank-info.c | 1194
32041 ------------------------------------
32042 girepository/bank-repository.c | 236 -------
32043 girepository/bank.c | 155 -----
32044 girepository/bank.h | 80 ---
32045 girepository/btypes.py | 300 ---------
32046 girepository/importer.py | 51 --
32047 girepository/module.py | 224 -------
32048 girepository/overrides/Gdk.py | 14 -
32049 girepository/overrides/Gtk.py | 8 -
32050 girepository/overrides/__init__.py | 0
32051 girepository/repository.py | 51 --
32052 tests/test_girepository.py | 386 ------------
32053 17 files changed, 1 insertion(+), 3174 deletions(-)
32055 commit a644edf0515c26ed027522891ccf02aceac764e8
32056 Author: Johan Dahlin <johan@gnome.org>
32057 Date: Mon Nov 23 15:32:16 2009 -0200
32059 Create overridden modules in two passes
32061 This patch splits overridden module creation into two passes. The
32063 creates the auto-generated module normally before the overridden
32065 attempted to be imported. The second pass imports the overridden
32067 replaces the auto-generated module with the overridden. This is
32069 for the overridden modules to be able to access the auto-generated
32072 gi/importer.py | 34 +++++++++++++++++++++-------------
32073 1 file changed, 21 insertions(+), 13 deletions(-)
32075 commit fad89e12a744b57e6348968f351d25d167de8248
32076 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32077 Date: Sun Nov 22 17:56:20 2009 +0100
32079 Add support for Any arguments
32081 https://bugzilla.gnome.org/show_bug.cgi?id=601253
32083 gi/pygi-argument.c | 20 ++++++++++++--------
32084 tests/libtestgi.c | 5 +++++
32085 tests/libtestgi.h | 5 +++++
32086 tests/test_gi.py | 5 +++++
32087 4 files changed, 27 insertions(+), 8 deletions(-)
32089 commit 1dc62a998dd8d2a0a397f8309011a8d79cb56034
32090 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32091 Date: Sun Nov 22 17:25:04 2009 +0100
32093 Register interfaces
32095 https://bugzilla.gnome.org/show_bug.cgi?id=601181
32097 gi/gimodule.c | 33 +++++++++++++++++++++++++++++++++
32098 gi/types.py | 5 ++++-
32099 2 files changed, 37 insertions(+), 1 deletion(-)
32101 commit d67d5afb5115c1d8294415b2e1a82af2c737ba17
32102 Author: Paul Pogonyshev <pogonyshev@gmx.net>
32103 Date: Sun Nov 22 18:23:02 2009 +0200
32105 Ignore one more file.
32108 1 file changed, 1 insertion(+)
32110 commit 408b2186aea58a41ec26b9d0ca29ecd42df5ef7e
32111 Author: Paul Pogonyshev <pogonyshev@gmx.net>
32112 Date: Sun Nov 22 18:22:23 2009 +0200
32114 Fix wrong minimum checking in float properties
32116 Bug #587637. Test the fix.
32118 gobject/propertyhelper.py | 5 +++--
32119 tests/test_properties.py | 6 ++++++
32120 2 files changed, 9 insertions(+), 2 deletions(-)
32122 commit 6ccf58afcf58e118903ced0135f0fe69b00e09ad
32123 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32124 Date: Mon Oct 26 18:06:06 2009 +0000
32126 Treat GI_INFO_TYPE_INTERFACE same as GI_INFO_TYPE_OBJECT
32128 gi/pygi-argument.c | 3 +++
32129 1 file changed, 3 insertions(+)
32131 commit e6f730d6e1431e36bd5f6b503a1038617f8d1e7d
32132 Author: Simon van der Linden <svdlinden@src.gnome.org>
32133 Date: Sat Nov 14 21:42:43 2009 +0100
32135 Import pygtk properly to avoid failure on some setups
32137 tests/test_gi.py | 3 +++
32138 1 file changed, 3 insertions(+)
32140 commit e604a89e9dc1a79687ef5fb94af7a2182be07dfb
32141 Author: Alex Dedul <rotmer@gmail.com>
32142 Date: Sat Nov 14 21:39:15 2009 +0100
32144 Search for python-config-${VERSION} when python${VERSION}-config is
32147 On Gentoo, notably, the config tool is named python-config-${VERSION},
32149 Fedora and Ubuntu, it is named python${VERSION}-config.
32151 Signed-off-by: Simon van der Linden <svdlinden@src.gnome.org>
32153 configure.ac | 7 +++++--
32154 1 file changed, 5 insertions(+), 2 deletions(-)
32156 commit 4a887cfabb326cb99dc65073d592c03f59e2f141
32157 Author: Simon van der Linden <svdlinden@src.gnome.org>
32158 Date: Sat Nov 14 21:36:19 2009 +0100
32160 Fix silent rules setup
32162 configure.ac | 2 +-
32163 1 file changed, 1 insertion(+), 1 deletion(-)
32165 commit 602afea88c338a38327cd84e08703c5daa384ec6
32166 Author: Paul Pogonyshev <pogonyshev@gmx.net>
32167 Date: Tue Nov 10 22:32:33 2009 +0200
32169 Move threads_init() function from 'gobject' to 'glib'
32171 Retain in original place for backward compatibility, but remove it
32174 docs/reference/pygobject-functions.xml | 36
32175 +++++++---------------------------
32176 glib/glibmodule.c | 16 +++++++++++++++
32177 2 files changed, 23 insertions(+), 29 deletions(-)
32179 commit 734755912fff11332dc0e96317b7d6b7c4014e6a
32180 Author: Simon van der Linden <svdlinden@src.gnome.org>
32181 Date: Mon Nov 9 22:44:12 2009 +0100
32183 Remove PyGObject patches since they've been merged to master
32185 ...pytype-aware-of-the-interface-enum-flags-.patch | 78 --------
32186 patches/0002-Fix-girpository-build-setup.patch | 186
32187 -------------------
32188 ...capabilities-to-import-wrappers-from-pygi.patch | 200
32189 ---------------------
32190 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 29 ---
32191 4 files changed, 493 deletions(-)
32193 commit 6a69288941e65312fe82649ec72d2f21b2dc618f
32194 Author: Simon van der Linden <svdlinden@src.gnome.org>
32195 Date: Sat Nov 7 23:42:07 2009 +0100
32197 Create instances by calling tp_alloc rather than PyObject_NEW
32199 PyObject_NEW calls a generic allocator and should only be called by
32201 that the type's free function agrees. In pyg_boxed_new, we may
32203 PyGBoxed subtypes, so the subtype's allocation function must be
32206 gobject/pygboxed.c | 3 ++-
32207 1 file changed, 2 insertions(+), 1 deletion(-)
32209 commit 000f7c36e667c6e078e3370769ea868e56a1b4ee
32210 Author: Simon van der Linden <svdlinden@src.gnome.org>
32211 Date: Sat Nov 7 16:43:35 2009 +0100
32213 Add capabilities to import wrappers from pygi
32215 At instance creation for boxed and pointers, at lookup for objects,
32216 when the gtype has no wrapper yet, a wrapper may be imported from
32219 The feature is turned on at configure time by --enable-pygi.
32221 Because we couldn't create a circular build dependency, PyGI's import
32223 API definition had to be copied in this tree.
32225 configure.ac | 8 ++++++
32226 gobject/pygboxed.c | 10 ++++++++
32227 gobject/pygi-external.h | 66
32228 +++++++++++++++++++++++++++++++++++++++++++++++++
32229 gobject/pygobject.c | 10 ++++++++
32230 gobject/pygpointer.c | 11 +++++++++
32231 5 files changed, 105 insertions(+)
32233 commit fdfbc90dbc9e305646b62d73de506b5e0e99cc91
32234 Author: Simon van der Linden <svdlinden@src.gnome.org>
32235 Date: Sun Nov 8 20:03:58 2009 +0100
32237 Update PyGObject patches
32239 A file, pygi-external.h, was missing in patch #3.
32241 ...capabilities-to-import-wrappers-from-pygi.patch | 74
32242 ++++++++++++++++++++--
32243 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 2 +-
32244 2 files changed, 69 insertions(+), 7 deletions(-)
32246 commit 8f53ca8a72f9958711765281dd5c5bdfb7042d7d
32247 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32248 Date: Sun Nov 8 16:52:18 2009 +0100
32250 Add myself to pygi.doap
32252 pygi.doap | 5 +++++
32253 1 file changed, 5 insertions(+)
32255 commit 6f50d5102aec9288e1851f12e9d232b9c141d524
32256 Author: Simon van der Linden <svdlinden@src.gnome.org>
32257 Date: Sun Nov 8 15:40:51 2009 +0100
32261 pygi.doap | 17 +++++++++++++++++
32262 1 file changed, 17 insertions(+)
32264 commit ce673b9027868e6add4eeb438bc707eb40bfd046
32265 Author: Simon van der Linden <svdlinden@src.gnome.org>
32266 Date: Sun Nov 8 13:06:54 2009 +0100
32268 Add PyGObject patches
32270 ...pytype-aware-of-the-interface-enum-flags-.patch | 78 +++++++++
32271 patches/0002-Fix-girpository-build-setup.patch | 186
32272 +++++++++++++++++++++
32273 ...capabilities-to-import-wrappers-from-pygi.patch | 138 +++++++++++++++
32274 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 29 ++++
32275 4 files changed, 431 insertions(+)
32277 commit b24fd9633cabe1d95cde173a04e9a49833b06a26
32278 Author: Simon van der Linden <svdlinden@src.gnome.org>
32279 Date: Sun Nov 8 12:35:08 2009 +0100
32285 autogen.sh | 159 +++
32286 configure.ac | 53 +
32287 gi/Makefile.am | 50 +
32288 gi/__init__.py | 24 +
32289 gi/gimodule.c | 144 ++
32290 gi/importer.py | 89 ++
32291 gi/module.py | 167 +++
32292 gi/overrides/Gdk.py | 21 +
32293 gi/overrides/Gtk.py | 13 +
32294 gi/overrides/Makefile.am | 10 +
32295 gi/overrides/__init__.py | 0
32296 gi/pygi-argument.c | 1976 ++++++++++++++++++++++++++
32297 gi/pygi-argument.h | 65 +
32298 gi/pygi-info.c | 2093 ++++++++++++++++++++++++++++
32299 gi/pygi-info.h | 64 +
32300 gi/pygi-private.h | 55 +
32301 gi/pygi-repository.c | 238 ++++
32302 gi/pygi-repository.h | 39 +
32303 gi/pygi-struct.c | 175 +++
32304 gi/pygi-struct.h | 40 +
32305 gi/pygi-type.c | 96 ++
32306 gi/pygi-type.h | 43 +
32308 gi/pygobject-external.h | 83 ++
32309 gi/repository/Makefile.am | 8 +
32310 gi/repository/__init__.py | 30 +
32311 gi/types.py | 163 +++
32312 tests/Makefile.am | 48 +
32313 tests/libtestgi.c | 3397
32314 +++++++++++++++++++++++++++++++++++++++++++++
32315 tests/libtestgi.h | 643 +++++++++
32316 tests/runtests.py | 22 +
32317 tests/test_gi.py | 1416 +++++++++++++++++++
32318 34 files changed, 11566 insertions(+)
32320 commit bfd3100a580b8bea9db25b8bb7443fb8c3dbe1cc
32321 Author: Simon van der Linden <svdlinden@src.gnome.org>
32322 Date: Sat Nov 7 13:23:53 2009 +0100
32324 Fix girpository build setup
32326 configure.ac | 21 ++++++-----
32327 girepository/Makefile.am | 13 ++++---
32328 m4/introspection.m4 | 92
32329 ++++++++++++++++++++++++++++++++++++++++++++++++
32330 3 files changed, 111 insertions(+), 15 deletions(-)
32332 commit 421c03b1c5b69f90c778663df901b45ca3ee8ba5
32333 Author: Simon van der Linden <svdlinden@src.gnome.org>
32334 Date: Fri Nov 6 19:17:36 2009 +0100
32336 Make GType.pytype aware of the interface, enum, flags, pointer and
32339 gobject/pygtype.c | 39 +++++++++++++++++++++++++++++++++------
32340 1 file changed, 33 insertions(+), 6 deletions(-)
32342 commit a9c168c58cc6a449b51653417bf3f58bdd41457c
32343 Author: Philippe Normad <phil@base-art.net>
32344 Date: Wed Oct 21 18:01:16 2009 +0200
32346 pygmainloop: fix use of PySignal_WakeUpFD API for nested loops
32350 glib/pygmainloop.c | 95
32351 ++++++++++++++++++++++++++++--------------------------
32352 1 file changed, 50 insertions(+), 45 deletions(-)
32354 commit c6a5750379354c12e2599b3c73b4f9a23fd39114
32355 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32356 Date: Fri Sep 25 20:12:21 2009 +0200
32358 Post release version bump to 2.21.0
32360 configure.ac | 2 +-
32361 1 file changed, 1 insertion(+), 1 deletion(-)
32363 commit 33920eb013628a5e22b7b32403fb965ae3210f47
32364 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32365 Date: Wed Sep 23 21:52:04 2009 +0200
32367 Update NEWS and release 2.20.0
32370 1 file changed, 6 insertions(+)
32372 commit 66b12f7d2f54143ea80b4f8aec863b26800363d6
32373 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32374 Date: Wed Sep 23 21:51:43 2009 +0200
32376 Bump version to 2.20.0
32378 configure.ac | 2 +-
32379 1 file changed, 1 insertion(+), 1 deletion(-)
32381 commit 7bf87338a026ac82f908aa5fddf2bfea2daf6617
32382 Author: Brian Cameron <Brian.Cameron@sun.com>
32383 Date: Wed Sep 23 12:11:50 2009 -0500
32385 Updated uninstalled.pc file so that it contains the right paths for
32386 defsdir files and codegen files. See bug #596023.
32388 pygobject-2.0-uninstalled.pc.in | 4 ++--
32389 1 file changed, 2 insertions(+), 2 deletions(-)
32391 commit d042402b7c649b2bed7f20038eb82518ec7cc9b3
32392 Author: Paul Pogonyshev <pogonyshev@gmx.net>
32393 Date: Tue Sep 22 22:02:27 2009 +0300
32395 Plug reference leak of GSource in pyg_main_loop_init()
32397 Bug #579406, second change.
32399 glib/pygmainloop.c | 1 +
32400 1 file changed, 1 insertion(+)
32402 commit 640be8109d066e85ed77c810830a5f73c750415b
32403 Author: Frédéric Péters <fpeters@0d.be>
32404 Date: Sun Aug 30 16:46:02 2009 +0200
32406 Specify programming language in .devhelp file
32408 This add a new language attribute (hardcoded to python) in the
32410 file that is produced when using ref-html-style.xsl.
32412 docs/xsl/devhelp.xsl | 2 +-
32413 1 file changed, 1 insertion(+), 1 deletion(-)
32415 commit c888b5ca722fcad6a03de585606c677c2969ebd6
32416 Author: Paolo Borelli <pborelli@gnome.org>
32417 Date: Thu Aug 13 21:32:07 2009 +0200
32419 Allow to use automake 1.11
32421 autogen.sh | 13 +++++++------
32422 1 file changed, 7 insertions(+), 6 deletions(-)
32424 commit 30deaba4bd1e199aab75cb346ee9237237807fbd
32425 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32426 Date: Tue Aug 11 22:19:50 2009 +0200
32430 README | 10 ++++++++--
32431 1 file changed, 8 insertions(+), 2 deletions(-)
32433 commit af165d350d0d1bb493be5140bf84376d3da1e4d8
32434 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32435 Date: Tue Aug 11 22:16:52 2009 +0200
32439 AUTHORS | 8 +++++---
32440 1 file changed, 5 insertions(+), 3 deletions(-)
32442 commit 5f9f87f276b97964b525a501d8584ea8b4d8bfd2
32443 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32444 Date: Tue Aug 11 22:11:43 2009 +0200
32446 Add myself and Paul as maintainers
32448 MAINTAINERS | 8 ++++++++
32449 pygobject.doap | 14 ++++++++++++++
32450 2 files changed, 22 insertions(+)
32452 commit 3bfae47fbcb5523d91fb2d1ed7ea347eeddd1775
32453 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32454 Date: Tue Aug 11 20:52:44 2009 +0200
32456 Update NEWS release 2.19.0
32458 NEWS | 29 +++++++++++++++++++++++++++++
32459 1 file changed, 29 insertions(+)
32461 commit e82a1841f31ad54dd50569d0d45290713409e0bf
32462 Author: John Finlay <finlay@moeraki.com>
32463 Date: Tue Aug 11 00:04:31 2009 -0700
32465 Add macros to help with Python list to/from GList/GSList conversions.
32467 gobject/pygobject.h | 242
32468 +++++++++++++++++++++++++++++++++++++++++++++++++++-
32469 1 file changed, 241 insertions(+), 1 deletion(-)
32471 commit f1fad96da2c531fbd3218923baa4fe806a2942d4
32472 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32473 Date: Sat Aug 8 21:37:54 2009 +0200
32475 Bug 590063 – GFileInfo.list_attributes should accept None/NULL
32477 gio/gfileinfo.override | 4 ++--
32478 1 file changed, 2 insertions(+), 2 deletions(-)
32480 commit b7907cf6ff6ccf8d38b5206f09f5c864c205e5de
32481 Author: Johan Dahlin <johan@gnome.org>
32482 Date: Fri Jul 24 14:30:37 2009 -0300
32484 Remove myself as a maintainer
32486 MAINTAINERS | 4 ----
32487 pygobject.doap | 7 -------
32488 2 files changed, 11 deletions(-)
32490 commit be6eb21320b4688bcfcd8cbea33f7be29a76f2a2
32491 Author: John Finlay <finlay@moeraki.com>
32492 Date: Wed Jul 8 15:47:44 2009 -0700
32494 * codegen/defsgen.py (clean_patterns): Strip out Windows
32497 codegen/defsgen.py | 6 +++---
32498 1 file changed, 3 insertions(+), 3 deletions(-)
32500 commit 2214cad3529979e29342a7e1fdc2915b90ce9c10
32501 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32502 Date: Tue Jun 23 21:18:23 2009 +0200
32504 Fix the gio.unix namespace in docs
32506 docs/Makefile.am | 2 ++
32507 docs/reference/pygio-classes.xml | 2 --
32508 docs/reference/pygio-unixinputstream.xml | 26 +++++++++++++-------------
32509 docs/reference/pygio-unixoutputstream.xml | 26 +++++++++++++-------------
32510 docs/reference/pygiounix-classes.xml | 13 +++++++++++++
32511 docs/reference/pygobject-ref.xml | 1 +
32512 6 files changed, 42 insertions(+), 28 deletions(-)
32514 commit c0acaedfe7f4e488a490e07e3184f0709e1fadc2
32515 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32516 Date: Mon Jun 22 23:13:36 2009 +0200
32518 Add docs for gio functions (mostly for content types)
32520 docs/Makefile.am | 2 +
32521 docs/reference/pygio-classes.xml | 1 +
32522 docs/reference/pygio-functions.xml | 395
32523 +++++++++++++++++++++++++++++++++++++
32524 3 files changed, 398 insertions(+)
32526 commit ebddee47fb7f3e06f9e0a7a14b9532d5cf8a3881
32527 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32528 Date: Sun Jun 21 18:35:56 2009 +0200
32530 Add docs for gio.Unix[In|Out]putStream classes
32532 docs/Makefile.am | 4 +
32533 docs/reference/pygio-classes.xml | 2 +
32534 docs/reference/pygio-unixinputstream.xml | 202
32535 ++++++++++++++++++++++++++++++
32536 docs/reference/pygio-unixoutputstream.xml | 202
32537 ++++++++++++++++++++++++++++++
32538 4 files changed, 410 insertions(+)
32540 commit 5b71e58117c85634d95d08449eb54079b246e5be
32541 Author: Paul Pogonyshev <pogonyshev@gmx.net>
32542 Date: Sun Jun 21 16:50:03 2009 +0300
32544 Document that many functions got moved gobject -> glib
32546 docs/reference/pygobject-functions.xml | 7 +++++++
32547 1 file changed, 7 insertions(+)
32549 commit b270dc43f2cef5260b0bbc71356fd8e6a2b7f754
32550 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32551 Date: Sat Jun 20 19:23:25 2009 +0200
32553 Add docs for class gio.DataOutputStream
32555 docs/Makefile.am | 2 +
32556 docs/reference/pygio-classes.xml | 1 +
32557 docs/reference/pygio-dataoutputstream.xml | 504
32558 ++++++++++++++++++++++++++++++
32559 3 files changed, 507 insertions(+)
32561 commit 549313fc4886fa3deb31761de6f5400708165d86
32562 Author: Murray Cumming <murrayc@murrayc.com>
32563 Date: Thu Jun 18 18:48:37 2009 +0200
32565 Allow h2def.py to work when there are tabs or multiple spaces after
32566 the struct keyword.
32568 codegen/h2def.py | 8 ++++----
32569 1 file changed, 4 insertions(+), 4 deletions(-)
32571 commit 5c36ef20dca8cd1793f2d3e88949675299097f40
32572 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32573 Date: Mon Jun 15 23:02:34 2009 +0200
32575 Add dpcs for class gio.DataInputStream
32577 docs/Makefile.am | 2 +
32578 docs/reference/pygio-classes.xml | 1 +
32579 docs/reference/pygio-constants.xml | 66 +++
32580 docs/reference/pygio-datainputstream.xml | 799
32581 +++++++++++++++++++++++++++++++
32582 4 files changed, 868 insertions(+)
32584 commit a8b36c343c6850af929c1d5a930f923831b4e637
32585 Author: Theppitak Karoonboonyanan <thep@linux.thai.net>
32586 Date: Mon Jun 15 23:25:01 2009 +0300
32588 Fix build when builddir is not the same as srcdir
32592 girepository/Makefile.am | 2 +-
32593 1 file changed, 1 insertion(+), 1 deletion(-)
32595 commit 9d9ae97b8a49836ec1f3b8d6529bafe1cc06d4d7
32596 Author: Paul Pogonyshev <pogonyshev@gmx.net>
32597 Date: Mon Jun 15 23:19:47 2009 +0300
32599 Make gio.Emblem constructor new-style
32601 Add optional 'origin' parameter. Expand gio.Emblem documentation and
32602 mark gio.emblem_new_with_origin as sort-of-deprecated.
32604 docs/reference/pygio-emblem.xml | 51
32605 +++++++++++++++++++++++++++++++++++++++--
32606 gio/gio.defs | 5 ++--
32607 2 files changed, 52 insertions(+), 4 deletions(-)
32609 commit 268e1681fd5b46e6412d3a8db84f3f1cb02fdbde
32610 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32611 Date: Sat Jun 13 14:44:47 2009 +0200
32613 Add docs for gio.BufferedOutputStream class
32615 docs/Makefile.am | 96 ++++-----
32616 docs/reference/pygio-bufferedoutputstream.xml | 275
32617 ++++++++++++++++++++++++++
32618 docs/reference/pygio-classes.xml | 1 +
32619 3 files changed, 325 insertions(+), 47 deletions(-)
32621 commit a6e25aaa7c8f27d62f2917b06728d7ccfcd46416
32622 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32623 Date: Sat Jun 13 14:38:34 2009 +0200
32625 Fix gio.BufferedInputStream docs
32627 Added the constructor reference and fixed a typo in properties header
32629 docs/reference/pygio-bufferedinputstream.xml | 34
32630 ++++++++++++++++++++++++++--
32631 1 file changed, 32 insertions(+), 2 deletions(-)
32633 commit a9b13b60a5aad726d7d7dd7fdc5153b1561fb591
32634 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32635 Date: Sat Jun 13 01:25:06 2009 +0200
32637 Add docs for gio.BufferedInputStream
32639 docs/Makefile.am | 2 +
32640 docs/reference/pygio-bufferedinputstream.xml | 431
32641 +++++++++++++++++++++++++++
32642 docs/reference/pygio-classes.xml | 1 +
32643 3 files changed, 434 insertions(+)
32645 commit 7766daa59b0e2b85413cee368bf2ebd2afe198e1
32646 Author: Paul Pogonyshev <pogonyshev@gmx.net>
32647 Date: Sun May 31 18:25:47 2009 +0300
32649 Cleanup GIO overrides to use Python function/method names
32651 Also move several gio.Mount overrides over from 'gio.override' to
32652 existing 'gmount.override'. Part of bug #584289.
32654 gio/gfile.override | 20 ++---
32655 gio/gfileenumerator.override | 6 +-
32656 gio/ginputstream.override | 2 +-
32657 gio/gio.override | 204
32658 -------------------------------------------
32659 gio/gmount.override | 204
32660 +++++++++++++++++++++++++++++++++++++++++++
32661 5 files changed, 218 insertions(+), 218 deletions(-)
32663 commit 07e9c18dc092f6546230168b6b69c1b3454e120a
32664 Author: Paul Pogonyshev <pogonyshev@gmx.net>
32665 Date: Sun May 31 18:56:55 2009 +0300
32667 Make codegen report errors using Python function/method names
32669 Part of bug #584289.
32671 codegen/codegen.py | 9 +++++----
32672 codegen/definitions.py | 10 +++++++++-
32673 2 files changed, 14 insertions(+), 5 deletions(-)
32675 commit 235fde85d015382f2ba38b21968e82b3ac0b6612
32676 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32677 Date: Fri Jun 12 00:12:17 2009 +0200
32679 Fix object type in gio.BufferedInputStream_fill_async
32681 gio/gbufferedinputstream.override | 2 +-
32682 1 file changed, 1 insertion(+), 1 deletion(-)
32684 commit 407b0e909056f15960e6a4e549896d786ce0a0b2
32685 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32686 Date: Tue Jun 9 00:08:21 2009 +0200
32688 Wrap gio.BufferedInputStream.fill_async
32690 Wrap the method gio.BufferedInputStream.fill_async and add a test
32692 gio/Makefile.am | 1 +
32693 gio/gbufferedinputstream.override | 70
32694 +++++++++++++++++++++++++++++++++++++++
32695 gio/gio.override | 1 +
32696 tests/test_gio.py | 25 ++++++++++++++
32697 4 files changed, 97 insertions(+)
32699 commit b7c96b41b287685fe57504e0add3a6f16e649975
32700 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32701 Date: Mon Jun 8 15:42:40 2009 +0200
32703 Add gio.BufferedOutputStream which was forgotten in the types
32706 gio/gio-types.defs | 7 +++++++
32707 1 file changed, 7 insertions(+)
32709 commit 3666f75af4ef2c8e038116aee5afada59d59f689
32710 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32711 Date: Mon Jun 8 14:20:02 2009 +0200
32713 Add docs for gio.MemoryOutputStream
32715 docs/Makefile.am | 2 +
32716 docs/reference/pygio-classes.xml | 1 +
32717 docs/reference/pygio-memoryoutputstream.xml | 175
32718 ++++++++++++++++++++++++++++
32719 3 files changed, 178 insertions(+)
32721 commit 6eb5e3988cbddb4afb3d5747364d6eb80370bb78
32722 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32723 Date: Mon Jun 8 13:30:15 2009 +0200
32725 Split overrides for gio.MemoryOutputStream
32727 gio/Makefile.am | 1 +
32728 gio/gio.override | 1 +
32729 gio/gmemoryoutputstream.override | 45
32730 ++++++++++++++++++++++++++++++++++++++++
32731 gio/goutputstream.override | 24 ---------------------
32732 4 files changed, 47 insertions(+), 24 deletions(-)
32734 commit dfbdf23633a772e78b47b0e7b0c3e3b87855d9ff
32735 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32736 Date: Mon Jun 8 11:45:11 2009 +0200
32738 Wrap gio.memory_input_stream_new_from_data
32740 Add the wrapper for gio.memory_input_stream_new_from_data including
32743 docs/Makefile.am | 4 +-
32744 docs/reference/pygio-classes.xml | 1 +
32745 docs/reference/pygio-memoryinputstream.xml | 151
32746 +++++++++++++++++++++++++++++
32747 gio/Makefile.am | 1 +
32748 gio/ginputstream.override | 34 -------
32749 gio/gio.override | 1 +
32750 gio/gmemoryinputstream.override | 91 +++++++++++++++++
32751 tests/test_gio.py | 4 +
32752 8 files changed, 252 insertions(+), 35 deletions(-)
32754 commit fcc3cb0e167789746a1a9db0cba54ea7a97c7259
32755 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
32756 Date: Mon Jun 8 19:15:24 2009 +0200
32758 Fixes whitespaces style issues with girepository.
32760 girepository/Makefile.am | 2 +-
32761 girepository/bank-repository.c | 67
32762 +++++++++++++++++++++---------------------
32763 girepository/bank.h | 2 +-
32764 girepository/btypes.py | 6 ++--
32765 girepository/module.py | 2 +-
32766 5 files changed, 39 insertions(+), 40 deletions(-)
32768 commit fb4b2c8cdad2853e6bfe9526529e3a3ab052c5e0
32769 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
32770 Date: Fri Jun 5 19:03:59 2009 +0200
32772 Removes the header but the modeline in test_girepository.py.
32774 tests/test_girepository.py | 26 +-------------------------
32775 1 file changed, 1 insertion(+), 25 deletions(-)
32777 commit abe4828f52c7eb3a08f5b592e7ced1e97a58ef5c
32778 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
32779 Date: Wed Jun 3 10:47:58 2009 +0200
32781 Adds overrides modules from PyBank.
32783 girepository/Makefile.am | 3 +++
32784 girepository/importer.py | 3 +--
32785 girepository/overrides/Gdk.py | 14 ++++++++++++++
32786 girepository/overrides/Gtk.py | 8 ++++++++
32787 girepository/overrides/__init__.py | 0
32788 5 files changed, 26 insertions(+), 2 deletions(-)
32790 commit c12964e6a3354d8063355225c94e6d21d621e08b
32791 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
32792 Date: Tue Jun 2 23:40:41 2009 +0200
32794 Disables the tests that fail in tests/test_girepository.py.
32796 tests/test_girepository.py | 242
32797 ++++++++++++++++++++++++++++++++++-----------
32798 1 file changed, 182 insertions(+), 60 deletions(-)
32800 commit a4469a3f7d32a25156bae5e7aef9ec4ae5f6e140
32801 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
32802 Date: Tue Jun 2 23:03:26 2009 +0200
32804 Imports test_girepository.py from former PyBank's
32805 everything_unittest.py.
32807 tests/test_girepository.py | 288
32808 +++++++++++++++++++++++++++++++++++++++++++++
32809 1 file changed, 288 insertions(+)
32811 commit e4f2a5ef8734cf40cf8345d442612db1f6c62d5a
32812 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
32813 Date: Thu May 28 17:45:11 2009 +0200
32815 Introduces the girepository module from the former PyBank.
32819 configure.ac | 12 +
32820 girepository/Makefile.am | 52 ++
32821 girepository/__init__.py | 24 +
32822 girepository/bank-argument.c | 379 +++++++++++++
32823 girepository/bank-info.c | 1194
32824 ++++++++++++++++++++++++++++++++++++++++
32825 girepository/bank-repository.c | 237 ++++++++
32826 girepository/bank.c | 155 ++++++
32827 girepository/bank.h | 80 +++
32828 girepository/btypes.py | 300 ++++++++++
32829 girepository/importer.py | 52 ++
32830 girepository/module.py | 224 ++++++++
32831 girepository/repository.py | 51 ++
32832 14 files changed, 2799 insertions(+), 32 deletions(-)
32834 commit f5ab5046fe9b67ec5e8fc64679e1a3d01787af7e
32835 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32836 Date: Tue Jun 2 18:28:22 2009 +0200
32838 Fix the docs for gio.FilterOutputStream
32840 docs/reference/pygio-filteroutputstream.xml | 6 +++---
32841 1 file changed, 3 insertions(+), 3 deletions(-)
32843 commit fded60d8376fc45d19bf6cd8be6b927cc3f2e8c6
32844 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32845 Date: Tue Jun 2 18:27:00 2009 +0200
32847 Add gio.FilterOutputStream docs
32849 docs/Makefile.am | 2 +
32850 docs/reference/pygio-classes.xml | 1 +
32851 docs/reference/pygio-filteroutputstream.xml | 152
32852 ++++++++++++++++++++++++++++
32853 3 files changed, 155 insertions(+)
32855 commit e2c31f916967229b6547e68013628ce0082cf875
32856 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32857 Date: Tue Jun 2 13:29:59 2009 +0200
32859 Add gio.FilterInputStream docs
32861 docs/Makefile.am | 2 +
32862 docs/reference/pygio-classes.xml | 1 +
32863 docs/reference/pygio-filterinputstream.xml | 152
32864 +++++++++++++++++++++++++++++
32865 3 files changed, 155 insertions(+)
32867 commit 49a467eee445bc75554db0374006722ac075194b
32868 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32869 Date: Tue Jun 2 11:33:20 2009 +0200
32871 Add API appeared in 2.20 but not marked as such in gio docs
32873 gio/gio.defs | 30 ++++++++++++++++++++++++++++++
32874 1 file changed, 30 insertions(+)
32876 commit 180c157f2a20b7d2dd9af05bfb5f515fd23870a0
32877 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32878 Date: Tue Jun 2 10:41:26 2009 +0200
32880 Wrap gio.FileOutputStream.query_info_async
32882 Add the wrapper for gio.FileOutputStream.query_info_async
32883 including docs and a test.
32885 docs/Makefile.am | 2 +
32886 docs/reference/pygio-classes.xml | 1 +
32887 docs/reference/pygio-fileoutputstream.xml | 257
32888 ++++++++++++++++++++++++++++++
32889 gio/Makefile.am | 3 +-
32890 gio/gfileoutputstream.override | 68 ++++++++
32891 gio/gio.override | 1 +
32892 tests/test_gio.py | 27 ++++
32893 7 files changed, 358 insertions(+), 1 deletion(-)
32895 commit 4673577d1f6c3d54423808dd575987092fb05ad2
32896 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32897 Date: Tue Jun 2 10:17:41 2009 +0200
32899 Fix gio.FileInputStream docs
32901 Add implemented interface section and remove a method description
32903 docs/reference/pygio-fileinputstream.xml | 25 +++++++++----------------
32904 1 file changed, 9 insertions(+), 16 deletions(-)
32906 commit 1e1cad02879d514745b5233658654cbe944530a5
32907 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32908 Date: Mon Jun 1 22:54:26 2009 +0200
32910 Fix the method name
32912 gio/gfileinputstream.override | 14 +++++++-------
32913 1 file changed, 7 insertions(+), 7 deletions(-)
32915 commit f605811afe8c91f121e89b6f9ec28c70b62f4110
32916 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32917 Date: Mon Jun 1 22:40:56 2009 +0200
32919 Wrap gio.FileInputStream.query_async
32921 Add the wrapper for gio.FileInputStream.query_async including docs and
32924 docs/Makefile.am | 2 +
32925 docs/reference/pygio-classes.xml | 1 +
32926 docs/reference/pygio-fileinputstream.xml | 221
32927 +++++++++++++++++++++++++++++++
32928 gio/Makefile.am | 1 +
32929 gio/gfileinputstream.override | 68 ++++++++++
32930 gio/gio.override | 1 +
32931 tests/test_gio.py | 27 ++++
32932 7 files changed, 321 insertions(+)
32934 commit 08623e54a426377c1504b5c364aabae5a17f8ad8
32935 Author: Paul Pogonyshev <pogonyshev@gmx.net>
32936 Date: Sun May 31 17:43:16 2009 +0300
32938 Install executable codegen parts with executing permissions
32940 Also add shebang where it was missing. Bug #583979.
32942 codegen/Makefile.am | 23 ++++++++++++-----------
32943 codegen/code-coverage.py | 2 ++
32944 codegen/codegen.py | 2 ++
32945 codegen/createdefs.py | 0
32946 codegen/defsconvert.py | 2 ++
32947 codegen/defsgen.py | 0
32948 codegen/docgen.py | 0
32949 codegen/scmexpr.py | 0
32950 8 files changed, 18 insertions(+), 11 deletions(-)
32952 commit 833d4da202bcfcb01a414f8aec4b751ec8e1ccb2
32953 Author: Paul Pogonyshev <pogonyshev@gmx.net>
32954 Date: Sat May 30 16:57:49 2009 +0300
32956 Wrap gio.DataInputStream.read_line_async and read_until_async
32958 Wrap the functions and their corresponding *_finish() functions.
32959 Create 'gdatainputstream.override' for these and move two existing
32960 functions there. Add unit tests. Re-enable synchronous read_line
32961 unit test and adjust it for new official GIO behavior. Bug #584285.
32963 gio/Makefile.am | 1 +
32964 gio/gdatainputstream.override | 250
32965 ++++++++++++++++++++++++++++++++++++++++++
32966 gio/ginputstream.override | 65 -----------
32967 gio/gio.defs | 4 +-
32968 gio/gio.override | 1 +
32969 tests/test_gio.py | 51 ++++++++-
32970 6 files changed, 300 insertions(+), 72 deletions(-)
32972 commit 2cb569c0ced49f9ed5ca83292d5f15c837066688
32973 Author: Paul Pogonyshev <pogonyshev@gmx.net>
32974 Date: Sat May 30 17:24:15 2009 +0300
32976 Fix gio.OutputStream.splice_async
32980 gio/goutputstream.override | 8 ++++----
32981 1 file changed, 4 insertions(+), 4 deletions(-)
32983 commit e43fa429f6b4019a432acb481bbc07c8201cc46d
32984 Author: Paul Pogonyshev <pogonyshev@gmx.net>
32985 Date: Wed May 27 21:19:27 2009 +0300
32987 Code maintenance: ignore one more file created by unit tests
32989 tests/.gitignore | 1 +
32990 1 file changed, 1 insertion(+)
32992 commit 76e9dc74ac706a9207f9d31f887d6e38df2a678f
32993 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32994 Date: Mon May 25 20:20:38 2009 +0200
32996 Update the docs with new 2.20 API
32998 docs/reference/pygio-appinfo.xml | 115 +++++++++++++++++++++++++++++
32999 docs/reference/pygio-icon.xml | 99 ++++++++++++++++++++++++-
33000 docs/reference/pygio-mount.xml | 156
33001 +++++++++++++++++++++++++++++++++++++++
33002 3 files changed, 367 insertions(+), 3 deletions(-)
33004 commit 8e40d71ac23deb7d91789486ee8cad440a6be1dd
33005 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33006 Date: Mon May 25 01:33:08 2009 +0200
33010 add the new API added in gio 2.20, some needs to be wrapped manually
33013 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
33014 gio/unix.defs | 48 +++++++++++++++++++++-----
33015 2 files changed, 146 insertions(+), 8 deletions(-)
33017 commit 0d08df42514fba6abc896814abfee0d2d083c29e
33018 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33019 Date: Mon May 25 00:14:21 2009 +0200
33021 Post release version bump 2.19.0
33023 configure.ac | 2 +-
33024 1 file changed, 1 insertion(+), 1 deletion(-)
33026 commit edfb09e3de7baf294b3beba84b4ecb94e1f16764
33027 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33028 Date: Sun May 24 23:56:29 2009 +0200
33030 Update NEWS, release 2.18.0
33032 NEWS | 14 ++++++++++++++
33033 configure.ac | 4 ++--
33034 2 files changed, 16 insertions(+), 2 deletions(-)
33036 commit e0648ea435e0b309cdd5bb0ebe56d4534efd26e4
33037 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33038 Date: Sun May 24 22:18:40 2009 +0200
33040 Add documentation for the gio.OutputStream class
33042 The docs for this class are not completed, missing methods
33044 The index is complete though, it will be completed once all the
33046 are in place so we can ship a (almost) complete reference.
33048 docs/Makefile.am | 2 +
33049 docs/reference/pygio-classes.xml | 3 +-
33050 docs/reference/pygio-outputstream.xml | 140
33051 ++++++++++++++++++++++++++++++++++
33052 3 files changed, 144 insertions(+), 1 deletion(-)
33054 commit 11524cdf6472d9115a812ce431f6767aec5627bc
33055 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33056 Date: Sun May 24 22:12:04 2009 +0200
33058 Wrap gio.OutputStream.splice_async()
33060 wrap gio.OutputStream.splice_async() and add a test.
33062 gio/goutputstream.override | 58
33063 +++++++++++++++++++++++++++++++++++++++++++++-
33064 tests/test_gio.py | 20 ++++++++++++++++
33065 2 files changed, 77 insertions(+), 1 deletion(-)
33067 commit 82ad6b8c8ea4d6694126f5e0e67b826717e38f19
33068 Author: Emilio Pozuelo Monfort <pochu@ubuntu.com>
33069 Date: Sun May 24 22:55:16 2009 +0300
33071 Add Python version into installed libpyglib name
33073 Do this now, while no-one (as far as we know) links to the library
33074 besides PyGObject itself. Bug #550235.
33076 configure.ac | 2 ++
33077 gio/Makefile.am | 2 +-
33078 glib/Makefile.am | 10 +++++-----
33079 gobject/Makefile.am | 2 +-
33080 4 files changed, 9 insertions(+), 7 deletions(-)
33082 commit 59da8cd24ea390b6c983995833ec6b0e5d028b35
33083 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33084 Date: Sun May 24 11:44:24 2009 +0200
33086 Wrap gio.OutputStream.flush_async()
33088 wrap gio.OutputStream.flush_async() and add a test.
33090 gio/goutputstream.override | 47
33091 +++++++++++++++++++++++++++++++++++++++++++++-
33092 tests/test_gio.py | 11 +++++++++++
33093 2 files changed, 57 insertions(+), 1 deletion(-)
33095 commit 84ab6178ed0033f69932df5bc73c86bdff80c953
33096 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33097 Date: Sun May 17 17:29:37 2009 +0200
33099 Add documentation for the gio.FileMonitor class
33101 The docs for this class are not completed, missing methods
33103 The index is complete though, it will be completed once all the
33105 are in place so we can ship a (almost) complete reference.
33107 docs/Makefile.am | 2 +
33108 docs/reference/pygio-classes.xml | 1 +
33109 docs/reference/pygio-filemonitor.xml | 128
33110 +++++++++++++++++++++++++++++++++++
33111 3 files changed, 131 insertions(+)
33113 commit 629496a5617d30e4dfa494b05a62c85a6af77b9a
33114 Author: Josselin Mouette <joss@malsain.org>
33115 Date: Sun May 17 18:03:44 2009 +0300
33117 Use 'Requires.private' for libffi in '.pc' files
33119 Correction for patch in bug #550231.
33121 pygobject-2.0-uninstalled.pc.in | 3 ++-
33122 pygobject-2.0.pc.in | 3 ++-
33123 2 files changed, 4 insertions(+), 2 deletions(-)
33125 commit 90cd8b7c4a25cd2ecb751f8337b401c98538272b
33126 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33127 Date: Wed May 13 21:54:39 2009 +0200
33129 Add wrapper for gio.FileAttributeMatcher
33131 added a boxed type for gio.FileAttributeMatcher which has been
33133 wrapping the gio API. This should probably be done in gio itself.
33135 gio/gfileinfo.override | 24 ++++++++++++++++++++++--
33136 gio/gio-types.defs | 7 +++++++
33137 gio/gio.override | 2 ++
33138 3 files changed, 31 insertions(+), 2 deletions(-)
33140 commit e707447d9313f2f2ecba395cfe3682d5a5e859f4
33141 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33142 Date: Wed May 13 22:06:25 2009 +0300
33144 Mark relevant glib.IOChannel methods as METH_NOARGS
33146 Additionally fix glib.IOChannel.set_close_on_unref: was marked
33147 METH_NOARGS but actually accepted arguments. Fixes bug #582427.
33149 glib/pygiochannel.c | 83
33150 +++++++++++++----------------------------------------
33151 1 file changed, 20 insertions(+), 63 deletions(-)
33153 commit 002915e5f458fec5a89766a54e8119a70a80caa7
33154 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33155 Date: Tue May 12 20:37:24 2009 +0200
33157 Add documentation for the gio.FileInfo class
33159 The docs for this class are not completed, missing methods
33161 The index is complete though, it will be completed once all the
33163 are in place so we can ship a (almost) complete reference.
33165 docs/Makefile.am | 2 +
33166 docs/reference/pygio-classes.xml | 1 +
33167 docs/reference/pygio-fileinfo.xml | 346
33168 ++++++++++++++++++++++++++++++++++++++
33169 3 files changed, 349 insertions(+)
33171 commit 8cd25c871609580425c6c4c9e5bc6ec8d40862a1
33172 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33173 Date: Sat May 9 16:46:04 2009 +0300
33175 Retire hand-written ChangeLog; autocreate from Git history
33177 Basically copied over from GLib source tree.
33180 ---------------------------------------------------
33181 ChangeLog.pre-2.18 | 3608
33182 ++++++++++++++++++++++++++++++++++++++++++++++++++++
33184 3 files changed, 3640 insertions(+), 3606 deletions(-)
33186 commit 23556bdbcf9cf06db866901fb822dd78a9043648
33187 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33188 Date: Sat May 9 00:03:05 2009 +0200
33190 Fix a bug in InputStream.skip_async
33192 use the count argument instead of buffer_size which is always zero
33194 gio/ginputstream.override | 3 ++-
33195 1 file changed, 2 insertions(+), 1 deletion(-)
33197 commit ed6b06315c17441b41c001d38537c904b8fe18de
33198 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33199 Date: Sat May 9 00:02:33 2009 +0200
33201 Add docs for the gio.InputStream class
33203 docs/Makefile.am | 2 +
33204 docs/reference/pygio-classes.xml | 1 +
33205 docs/reference/pygio-inputstream.xml | 730
33206 +++++++++++++++++++++++++++++++++++
33207 3 files changed, 733 insertions(+)
33209 commit d58322b84d47da7905f95b43e9e0daf9f7c4b507
33210 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33211 Date: Mon May 4 23:40:28 2009 +0200
33213 Wrap gio.InputStream.skip_async()
33215 wrap gio.InputStream.skip_async() and add a test.
33217 gio/ginputstream.override | 50
33218 ++++++++++++++++++++++++++++++++++++++++++++++-
33219 tests/test_gio.py | 20 +++++++++++++++++++
33220 2 files changed, 69 insertions(+), 1 deletion(-)
33222 commit 2311187824d1b48a996ee2620fd3c9a63e3edd66
33223 Author: Siavash Safi <siavash@siavashs.org>
33224 Date: Mon May 4 15:46:49 2009 +0430
33226 Add -n --namespace option and the code to remove
33227 dll API in headers, Added documentation
33229 Patch from bug #579275
33232 codegen/h2def.py | 133
33233 +++++++++++++++++++++++++++++++++++++++++++++----------
33234 2 files changed, 117 insertions(+), 24 deletions(-)
33236 commit 442ec5bb997bb7dab55baeea6e54e79d3ce0d3c1
33237 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33238 Date: Sat May 2 23:54:52 2009 +0300
33240 Properly mark glib.get_user_special_dir() as a keywords method
33244 glib/glibmodule.c | 2 +-
33245 1 file changed, 1 insertion(+), 1 deletion(-)
33247 commit f466dca880cc6ea68b9fe236943eea7a07d33520
33248 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33249 Date: Sun May 3 11:03:25 2009 +0200
33251 Add docs for the gio.LoadableIcon class
33253 docs/Makefile.am | 2 +
33254 docs/reference/pygio-classes.xml | 1 +
33255 docs/reference/pygio-loadableicon.xml | 198
33256 ++++++++++++++++++++++++++++++++++
33257 3 files changed, 201 insertions(+)
33259 commit eab4ebf7f6c82580b61205f34e1cfe535aeada60
33260 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33261 Date: Sun May 3 01:21:55 2009 +0200
33263 Add docs for the gio.ThemedIcon class
33265 docs/Makefile.am | 2 +
33266 docs/reference/pygio-classes.xml | 1 +
33267 docs/reference/pygio-themedicon.xml | 204
33268 ++++++++++++++++++++++++++++++++++++
33269 3 files changed, 207 insertions(+)
33271 commit 22d7de8b620055f14b30f9c3c99160c8b4ebe672
33272 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33273 Date: Sat May 2 12:25:19 2009 +0200
33275 post release version bump to 2.17.1
33277 configure.ac | 2 +-
33278 1 file changed, 1 insertion(+), 1 deletion(-)
33280 commit 282ac3c76e1e3513bd76f819f320ec56aba15d9e
33281 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33282 Date: Fri May 1 23:40:31 2009 +0200
33284 Fix the class title
33286 docs/reference/pygio-mountoperation.xml | 2 +-
33287 1 file changed, 1 insertion(+), 1 deletion(-)
33289 commit d8b70dec1e5c09b73ae277f4f5b246315841fb8e
33290 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33291 Date: Fri May 1 22:24:33 2009 +0200
33293 Add docs for the gio.MountOperation class
33295 docs/Makefile.am | 2 +
33296 docs/reference/pygio-classes.xml | 1 +
33297 docs/reference/pygio-constants.xml | 107 +++++
33298 docs/reference/pygio-mountoperation.xml | 726
33299 ++++++++++++++++++++++++++++++++
33300 4 files changed, 836 insertions(+)
33302 commit fceea8e843e880f0469e454df23141e7dd2bc0cf
33303 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33304 Date: Thu Apr 30 22:13:06 2009 +0200
33306 Update NEWS, release 2.17.0
33309 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
33310 1 file changed, 93 insertions(+)
33312 commit 47389217d1a65a8e3f404d486c508cf5d3164756
33313 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33314 Date: Thu Apr 30 22:47:19 2009 +0300
33316 Fix memory leak in gio.File.query_info_async()
33318 After the recent patch it would leak exception data if old argument
33319 order was used. Properly decref the objects.
33321 gio/gfile.override | 4 ++++
33322 1 file changed, 4 insertions(+)