1 commit 2a9c8ddfdbdc1503e72e621a0c934c383bd619bf
2 Author: Martin Pitt <martinpitt@gnome.org>
3 Date: Fri Jul 5 07:45:06 2013 +0200
7 NEWS | 16 ++++++++++++++++
8 1 file changed, 16 insertions(+)
10 commit 991b0b0d581aa7bd1ea069c3938dfc903bb7c799
11 Author: Martin Pitt <martinpitt@gnome.org>
12 Date: Fri May 24 13:03:07 2013 +0200
14 examples/option.py: Port to GI and Python 3
16 examples/option.py | 38 +++++++++++++++++++-------------------
17 1 file changed, 19 insertions(+), 19 deletions(-)
19 commit 7ef801da0559131d155858b44da0514637e5f119
20 Author: Simon Feltman <sfeltman@src.gnome.org>
21 Date: Wed Jul 3 05:26:12 2013 -0700
23 Add marshalling of GI_TYPE_TAG_VOID held in a GValue to int
25 Replace assertion for this case with a simple marshalling of the
26 pointer value to a Python int. While not particularly useful
27 this allows some callbacks in WebKit to function without causing
30 https://bugzilla.gnome.org/show_bug.cgi?id=694233
32 gi/pygi-argument.c | 4 ++--
33 1 file changed, 2 insertions(+), 2 deletions(-)
35 commit b560d6aa628bc006e9ff6adc5d495cf519cc575b
36 Author: Martin Pitt <martinpitt@gnome.org>
37 Date: Fri Jun 21 07:27:48 2013 +0200
39 pygtkcompat: Fix for missing methods on Windows
41 Deal with non-existing Gtk.Clipboard.get() and
42 GdkPixbuf.Pixbuf.new_from_file_at_scale() methods.
44 https://bugzilla.gnome.org/show_bug.cgi?id=702787
46 pygtkcompat/pygtkcompat.py | 10 ++++++++--
47 1 file changed, 8 insertions(+), 2 deletions(-)
49 commit 957f525b9252098e31bd7a8dd5505e3d3e571761
50 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
51 Date: Fri Jun 21 12:32:33 2013 +0800
53 gi/pygi-info.c: Avoid C99-style variable declaration
55 https://bugzilla.gnome.org/show_bug.cgi?id=702786
57 gi/pygi-info.c | 3 ++-
58 1 file changed, 2 insertions(+), 1 deletion(-)
60 commit 1aa76b846d311544311a48fc10261d9ac24229f5
61 Author: Simon Feltman <sfeltman@src.gnome.org>
62 Date: Tue Jul 2 23:02:17 2013 -0700
64 Clear return value of closures to zero when an exception occures
66 For return types other than void, set the ffi closure return argument
67 to 0 when a Python exception occures. This a good default in general
68 but also has the side affect of fixing failing idle callbacks
69 by causing them to be removed from main loops (after their stack
72 https://bugzilla.gnome.org/show_bug.cgi?id=702552
74 gi/pygi-closure.c | 14 ++++++++++++++
75 tests/test_gi.py | 8 ++++++++
76 2 files changed, 22 insertions(+)
78 commit 2a530f795d2b2e35ed09f94904da435c5aa7f470
79 Author: Simon Feltman <sfeltman@src.gnome.org>
80 Date: Tue Jul 2 18:06:01 2013 -0700
82 Re-add support for passing GValue's by reference
84 Fix special casing when marshaling from a Python held GValue
85 to a GValue argument intended for a function call.
86 The re-factoring of GValue marshaling in commit #9e47afe459df942d9f
87 broke this by always making a copy of the GValue. This removed the
88 ability to retrieve values with functions like
89 gtk_style_context_get_style_property.
91 https://bugzilla.gnome.org/show_bug.cgi?id=701058
93 gi/pygi-argument.c | 2 +-
94 gi/pygi-marshal-from-py.c | 28 +++++++++++++---------------
95 2 files changed, 14 insertions(+), 16 deletions(-)
97 commit 6445cac9132b9fab041fc5d031d538f7446a20b7
98 Author: Martin Pitt <martinpitt@gnome.org>
99 Date: Wed Jul 3 10:40:28 2013 +0200
101 Don't use doctest syntax in docstrings for examples
103 These are not actual doctests, so don't use the >>> syntax there. Just
107 This fixes pyflakes 0.7 failures.
109 https://bugzilla.gnome.org/show_bug.cgi?id=701009
111 gi/_gobject/propertyhelper.py | 11 +++++------
112 gi/overrides/GObject.py | 8 ++++----
113 gi/overrides/Gtk.py | 2 +-
114 3 files changed, 10 insertions(+), 11 deletions(-)
116 commit 24b2421d5f648504abdb30293a40788e4ccc8cf6
117 Author: Martin Pitt <martinpitt@gnome.org>
118 Date: Mon May 13 17:34:16 2013 +0200
120 configure.ac: post-release bump to 3.8.3
123 1 file changed, 1 insertion(+), 1 deletion(-)
125 commit 163ed24cabe2be8812076c96dc75a0d4fc8b1948
126 Author: Martin Pitt <martinpitt@gnome.org>
127 Date: Mon May 13 17:32:18 2013 +0200
131 NEWS | 16 ++++++++++++++++
132 1 file changed, 16 insertions(+)
134 commit 33030b4495c290c3f59a47fd7dc54bba0e617faa
135 Author: Simon Feltman <sfeltman@src.gnome.org>
136 Date: Sun May 12 18:58:06 2013 -0700
138 Fix vfunc info search for classes with multiple inheritance
140 Ensure the search for vfunc GI info continues recursively even if the
141 current class being looked at does not contain GI info of type
142 InterfaceInfo. This more exhaustive search is needed for setups with
143 multiple sub-classes and multiple inheritance.
145 https://bugzilla.gnome.org/show_bug.cgi?id=700092
147 gi/types.py | 12 +++++++-----
148 tests/test_gi.py | 1 -
149 2 files changed, 7 insertions(+), 6 deletions(-)
151 commit 02ae144067561f74e71bb7690d058de4852187bd
152 Author: Simon Feltman <sfeltman@src.gnome.org>
153 Date: Sat May 11 21:47:54 2013 -0700
155 tests: Add tests for overriding vfunc implementations
157 Add tests for overriding vfuncs for both single inheritance
158 and multiple inheritance with an interface (currently failing).
160 https://bugzilla.gnome.org/show_bug.cgi?id=700092
162 tests/test_gi.py | 23 +++++++++++++++++++++++
163 1 file changed, 23 insertions(+)
165 commit a760eae17e550940867d17ea890eb8254267f53d
166 Author: Simon Feltman <sfeltman@src.gnome.org>
167 Date: Sun May 12 22:19:38 2013 -0700
169 Fix closure argument conversion for enum and flag in args
171 Replace incorrect cast and assignment of double with uint for flags
174 gi/pygi-closure.c | 2 +-
175 1 file changed, 1 insertion(+), 1 deletion(-)
177 commit 3935878d9f3ecead42e706d0ba7bf1b9cb0fa4a3
178 Author: Simon Feltman <sfeltman@src.gnome.org>
179 Date: Sat May 11 20:28:22 2013 -0700
181 Fix marshaling Python to FFI return value for enum and flags
183 Add break to GI_TYPE_TAG_INTERFACE case. This was falling through
185 assignment of arg.v_pointer to the ffi return arg.
187 gi/pygi-closure.c | 1 +
188 1 file changed, 1 insertion(+)
190 commit a63f4783e3d94240e7ec8aec711dfcc6be7de9c3
191 Author: Mike Ruprecht <mike.ruprecht@collabora.co.uk>
192 Date: Sun Apr 28 01:40:34 2013 -0500
194 Use correct class for GtkEditable's get_selection_bounds() function
196 https://bugzilla.gnome.org/show_bug.cgi?id=699096
198 gi/overrides/Gtk.py | 2 +-
199 1 file changed, 1 insertion(+), 1 deletion(-)
201 commit 83d98a3f2edb64170d7ab2252707184db680080d
202 Author: Simon Feltman <sfeltman@src.gnome.org>
203 Date: Thu Apr 25 05:27:35 2013 -0700
205 Test results of g_base_info_get_name for NULL
207 Block against potential NULL result when generating type hint with
208 _g_arg_get_pytype_hint.
210 https://bugzilla.gnome.org/show_bug.cgi?id=698829
212 gi/pygi-info.c | 12 ++++++++++--
213 1 file changed, 10 insertions(+), 2 deletions(-)
215 commit 2a1c09fea76b3a1e696d9bb82c46e6c64ec574f9
216 Author: Simon Feltman <sfeltman@src.gnome.org>
217 Date: Mon Apr 22 03:43:23 2013 -0700
219 Change interpretation of NULL pointer field from None to 0
221 The usage of 0 is needed because these fields should generally
222 be used to store integer indices or hashes, not necessarily
223 pointers to actual data.
225 https://bugzilla.gnome.org/show_bug.cgi?id=698366
227 gi/pygi-argument.c | 11 +----------
228 tests/test_everything.py | 5 +++--
229 2 files changed, 4 insertions(+), 12 deletions(-)
231 commit 059702f14f5cfc1a5592998d015f39ed62f1a130
232 Author: Simon Feltman <sfeltman@src.gnome.org>
233 Date: Thu Apr 11 04:09:59 2013 -0700
235 Remove Python keyword escapement in Repository.find_by_name
237 Strip trailing underscore from module level items before
238 calling g_irepository_find_by_name. This fixes a problem
239 with GI module level items having the same name as a Python
240 keyword raising an AttributeError during access (Pango.break_).
242 https://bugzilla.gnome.org/show_bug.cgi?id=697363
244 gi/pygi-info.c | 32 ++++++++++++++++++++++----------
245 gi/pygi-info.h | 2 ++
246 gi/pygi-repository.c | 16 ++++++++++++++++
247 tests/test_overrides_pango.py | 5 +++++
248 4 files changed, 45 insertions(+), 10 deletions(-)
250 commit db4d7db437eadd879d9479c0e3a3fc1afcc1262a
251 Author: Martin Pitt <martinpitt@gnome.org>
252 Date: Mon Apr 15 17:02:54 2013 +0200
254 configure.ac: post-release bump to 3.8.2
257 1 file changed, 1 insertion(+), 1 deletion(-)
259 commit 38f82f16cbb2a4764ca530752474d88a2bbf9c58
260 Author: Martin Pitt <martinpitt@gnome.org>
261 Date: Mon Apr 15 16:19:27 2013 +0200
267 2 files changed, 9 insertions(+), 1 deletion(-)
269 commit ad2a78b3087fb9639ca4fdef6a300be066797482
270 Author: Christoph Reiter <reiter.christoph@gmail.com>
271 Date: Sat Apr 13 16:04:17 2013 +0200
273 pygi-convert.sh: Add GStreamer rules
275 https://bugzilla.gnome.org/show_bug.cgi?id=697951
277 pygi-convert.sh | 17 +++++++++++++++++
278 1 file changed, 17 insertions(+)
280 commit a81babbd26dd3afe767c32adcb340471ffb09296
281 Author: Jussi Kukkonen <jussi.kukkonen@intel.com>
282 Date: Sun Mar 10 15:04:40 2013 +0200
284 pygi-convert: Add rule for TreeModelFlags
286 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
288 pygi-convert.sh | 1 +
289 1 file changed, 1 insertion(+)
291 commit d74bf3038f12b7b974ea5b46c155405f1d0350a1
292 Author: Simon Feltman <sfeltman@src.gnome.org>
293 Date: Thu Apr 4 15:57:12 2013 -0700
295 Fix enum and flags marshaling type assumptions
297 Replace assignments of GFlags and GEnum values to various GIArgument
298 members with v_uint and v_int respectively.
300 gi/pygi-argument.c | 6 +++---
301 gi/pygi-property.c | 4 ++--
302 2 files changed, 5 insertions(+), 5 deletions(-)
304 commit 3d78f705e5db91614aa53a949249bde8b6a31043
305 Author: Martin Pitt <martinpitt@gnome.org>
306 Date: Thu Apr 4 06:47:56 2013 +0200
308 Use g_strdup() consistently
310 https://bugzilla.gnome.org/show_bug.cgi?id=696650
312 gi/pygi-marshal-from-py.c | 2 +-
313 1 file changed, 1 insertion(+), 1 deletion(-)
315 commit c1fb6516031d3c32abd640f09a4814ae4363f979
316 Author: Simon Feltman <sfeltman@src.gnome.org>
317 Date: Sun Mar 31 01:32:34 2013 -0700
319 Fix stack corruption due to incorrect format for argument parser
321 Fix call to PyArg_ParseTupleAndKeywords that used a format parser
322 of "l" meaning long (8 bytes) in combination with an output pointer
323 of guint (4 bytes). Change to use gulong with a format of "k".
325 https://bugzilla.gnome.org/show_bug.cgi?id=696892
327 gi/_gobject/pygflags.c | 4 ++--
328 1 file changed, 2 insertions(+), 2 deletions(-)
330 commit 5f82e007e2dcdbfd82a20d8c4d54f9cd7b3b77ac
331 Author: Martin Pitt <martinpitt@gnome.org>
332 Date: Mon Mar 25 08:12:10 2013 +0100
337 1 file changed, 4 insertions(+)
339 commit bb4fa093d59173f68a0b16e10016bafe7cd18f62
340 Author: Simon Feltman <sfeltman@src.gnome.org>
341 Date: Wed Mar 20 23:45:01 2013 -0700
343 tests: Fix incorrect assumption when testing pyglib version
345 Replace version test of 3.7.2 with 3.0.0 as it is the only reasonable
346 value that can be used for a future proof unittest here.
348 tests/test_glib.py | 4 ++--
349 1 file changed, 2 insertions(+), 2 deletions(-)
351 commit 78b7b0bea3068b81ba67deea4d06b1fb27434841
352 Author: Martin Pitt <martinpitt@gnome.org>
353 Date: Mon Mar 18 14:02:29 2013 +0100
355 configure.ac: post-release bump to 3.8.0
357 configure.ac | 4 ++--
358 1 file changed, 2 insertions(+), 2 deletions(-)
360 commit defbd63e95faafaa84230f160bc95dad0f55e37d
361 Author: Martin Pitt <martinpitt@gnome.org>
362 Date: Mon Mar 18 14:01:05 2013 +0100
366 NEWS | 18 ++++++++++++++++++
367 1 file changed, 18 insertions(+)
369 commit a0844a896603c5c91bed24cf94106765f0ced74e
370 Author: Simon Feltman <sfeltman@src.gnome.org>
371 Date: Sun Mar 17 23:22:38 2013 -0700
373 Fix stack smasher when marshaling enums as a vfunc return value
375 Add special case for marshaling GI_TYPE_TAG_INTERFACE with enum or
376 flag types. Default interfaces to marshal as a pointer.
377 Add explicit cases for GType and Unichar out/return marshaling.
378 Fix leaking of GIBaseInfo when marshaling interface as out arg.
380 https://bugzilla.gnome.org/show_bug.cgi?id=637832
382 gi/pygi-closure.c | 69
383 ++++++++++++++++++++++++++++++++++++++++++++++---------
384 tests/test_gi.py | 19 +++++++++++++++
385 2 files changed, 77 insertions(+), 11 deletions(-)
387 commit 669e15c35213dbce6ceb0a4a3d474aae620910ce
388 Author: Simon Feltman <sfeltman@src.gnome.org>
389 Date: Sun Mar 17 15:37:09 2013 -0700
391 Change base class of PyGIDeprecationWarning based on minor version
393 Use RuntimeWarning as the base class of PyGIDeprecationWarning
394 for unstable (odd minor version) and use DeprecationWarning for
395 stable (even minor version). This is so PyGObject deprecations
396 behave the same as regular Python deprecations in stable releases.
398 https://bugzilla.gnome.org/show_bug.cgi?id=696011
400 gi/__init__.py | 14 +++++++++++---
401 1 file changed, 11 insertions(+), 3 deletions(-)
403 commit 755b2e6fc635489d98d48254ea60b2631b43dfbd
404 Author: Alban Browaeys <prahal@yahoo.com>
405 Date: Thu Feb 28 18:57:21 2013 +0100
407 autogen.sh: Source gnome-autogen to fix out of source builddir
409 https://bugzilla.gnome.org/show_bug.cgi?id=694889
412 1 file changed, 1 insertion(+), 1 deletion(-)
414 commit a38392a9d713b0001cf30066d337b1abbbbbc59e
415 Author: Martin Pitt <martinpitt@gnome.org>
416 Date: Tue Mar 5 12:22:15 2013 +0100
418 Add 3.7.91.1 NEWS entry
420 Forgot to push this back then.
423 1 file changed, 3 insertions(+)
425 commit 85f8aae849dd0fb21de8722a3af9234ca20ea1e0
426 Author: Simon Feltman <sfeltman@src.gnome.org>
427 Date: Sun Mar 17 04:19:57 2013 -0700
429 pygtkcompat: Make gdk.Window.get_geometry return tuple of 5
431 Make get_geometry return a tuple of (x, y, width, height, depth)
432 as it did in pygtk 2.
433 Update pygtkcompat.enable_gtk() to default to version 3.0 because
434 version 2.0 core dumps trying to use introspection with gtk 2.
436 pygtkcompat/pygtkcompat.py | 8 +++++++-
437 1 file changed, 7 insertions(+), 1 deletion(-)
439 commit 38683f721c33cc35f0260868e58643fd35f04cbe
440 Author: Simon Feltman <sfeltman@src.gnome.org>
441 Date: Sun Mar 17 02:08:03 2013 -0700
443 testhelpermodule: Fix build warning for PyGObject_Type redefinition
445 Remove dynamic retrieval of PyGObject_Type as it is available
446 in pygobject.h since commit 2656bc47 (causing this compile warning)
448 tests/testhelpermodule.c | 14 +-------------
449 1 file changed, 1 insertion(+), 13 deletions(-)
451 commit a3ec8867945da7722beebb7e77c6255ee3ba8bb8
452 Author: Simon Feltman <sfeltman@src.gnome.org>
453 Date: Sun Mar 17 01:51:33 2013 -0700
455 pygtkcompat: Initialize hint to zero in set_geometry_hints
457 pygtkcompat/pygtkcompat.py | 2 +-
458 1 file changed, 1 insertion(+), 1 deletion(-)
460 commit 471204953d6fc93b3d311afd133d40f7d75ec541
461 Author: Simon Feltman <sfeltman@src.gnome.org>
462 Date: Fri Mar 15 04:33:22 2013 -0700
464 Remove incorrect bounds check with property helper flags
466 Remove bounds check for flags as it is not necessary for the
467 helper to make these kind of judgement calls in general.
468 e.g. leave it to marshaling/internals to complain about potential
469 problems. The flags were being bounds checked to a maximum
470 value of 32 (the intention was most likely to limit it to 32 bits).
472 gi/_gobject/propertyhelper.py | 3 ---
473 tests/test_properties.py | 1 -
474 2 files changed, 4 deletions(-)
476 commit 2656bc47ca1219b329066da1c2c58018ae624866
477 Author: Simon Feltman <sfeltman@src.gnome.org>
478 Date: Thu Mar 7 18:07:17 2013 -0800
480 Fix crash when setting property of type object to an incorrect type
482 Add type check when marshaling an object from Python for GObject
484 Add PyGObject_Type as part of the pygobject API to check for this.
486 https://bugzilla.gnome.org/show_bug.cgi?id=695420
488 gi/_gobject/gobjectmodule.c | 3 ++-
489 gi/_gobject/pygobject.h | 2 ++
490 gi/pygi-marshal-from-py.c | 8 ++++++++
491 tests/test_object_marshaling.py | 4 ++++
492 4 files changed, 16 insertions(+), 1 deletion(-)
494 commit 44587f42224a44a480629223c8d78a426bc32a12
495 Author: Simon Feltman <sfeltman@src.gnome.org>
496 Date: Thu Mar 7 17:59:02 2013 -0800
498 Remove skipping of object property tests
500 These were showing up as unexpected successes now that bug 675726
503 https://bugzilla.gnome.org/show_bug.cgi?id=695420
505 tests/test_object_marshaling.py | 7 ++-----
506 1 file changed, 2 insertions(+), 5 deletions(-)
508 commit 10214ba2d96fd6d66eeea159219f585abff8632a
509 Author: Simon Feltman <sfeltman@src.gnome.org>
510 Date: Thu Mar 7 15:34:49 2013 -0800
512 Give more informative error when setting property to incorrect type
514 https://bugzilla.gnome.org/show_bug.cgi?id=695420
516 gi/_gobject/pygobject.c | 10 ++++++++--
517 1 file changed, 8 insertions(+), 2 deletions(-)
519 commit 9ab6e5451aea43ed086c0d26324c4efed24476d7
520 Author: Martin Pitt <martinpitt@gnome.org>
521 Date: Tue Mar 5 12:04:55 2013 +0100
523 Revert "Drop gi.overrides.overridefunc()"
525 This reverts commit 1dc2bc9f65669417ae1964d70b85f115928b2963. External
527 like GEdit plugins use @overrides for functions as well, we must
531 https://bugzilla.gnome.org/show_bug.cgi?id=695199
533 gi/overrides/Gtk.py | 7 ++++---
534 gi/overrides/__init__.py | 24 ++++++++++++++++++++++--
535 2 files changed, 26 insertions(+), 5 deletions(-)
537 commit 862de794bf01a66aa6d796c674bce375cad37ba7
538 Author: Martin Pitt <martinpitt@gnome.org>
539 Date: Mon Mar 4 17:33:51 2013 +0100
541 configure.ac: Post-release bump to 3.7.92
544 1 file changed, 1 insertion(+), 1 deletion(-)
546 commit bb12e652d661cf6ce931b44a89c11951894101bf
547 Author: Martin Pitt <martinpitt@gnome.org>
548 Date: Mon Mar 4 17:27:50 2013 +0100
552 NEWS | 33 +++++++++++++++++++++++++++++++++
553 1 file changed, 33 insertions(+)
555 commit 25a6f90f28b065dd4f1cd352826598577402dc0b
556 Author: Martin Pitt <martinpitt@gnome.org>
557 Date: Mon Mar 4 17:16:22 2013 +0100
559 Dot not clobber original Gdk/Gtk functions with overrides
561 https://bugzilla.gnome.org/show_bug.cgi?id=686835
563 gi/overrides/Gdk.py | 3 ++-
564 gi/overrides/Gtk.py | 3 ++-
565 2 files changed, 4 insertions(+), 2 deletions(-)
567 commit d50d16428edf42799489fe1befbc4ce56f0fa181
568 Author: Martin Pitt <martinpitt@gnome.org>
569 Date: Mon Mar 4 15:30:31 2013 +0100
571 tests: Reorganize GError and GClosure tests
573 Split TestGClosure.test_gclosure_in() into its three components.
575 Merge the various TestGError* classes into one, to match the structure
579 tests/test_gi.py | 59
580 +++++++++++++++++++++++++-------------------------------
581 1 file changed, 26 insertions(+), 33 deletions(-)
583 commit 8cfd596c7849bf78a74fee04630fbbb104f02080
584 Author: Martin Pitt <martinpitt@gnome.org>
585 Date: Mon Mar 4 15:16:25 2013 +0100
587 Fix memory leaks in property setting/getting
589 Do not leak GValues and string arrays, free them properly. As we
591 the intermediate GValues, use g_value_dup_boxed() instead of
592 g_value_get_boxed() when appropriate.
594 Detected by test_gi.TestPropertiesObject.test_strv test case.
596 gi/pygi-property.c | 21 ++++++++++++++++-----
597 1 file changed, 16 insertions(+), 5 deletions(-)
599 commit eec8c3a932d42e92ccaf7f97d3d90948842e263f
600 Author: Martin Pitt <martinpitt@gnome.org>
601 Date: Mon Mar 4 12:43:24 2013 +0100
603 Fix memory leak in pyg_flags_get_value_nicks()
605 Discovered by test_gi.TestKeywords.test_uppercase() test.
607 gi/_gobject/pygflags.c | 7 +++++--
608 1 file changed, 5 insertions(+), 2 deletions(-)
610 commit 002a834dd993b82508a4fe262269befcf1a6d341
611 Author: Martin Pitt <martinpitt@gnome.org>
612 Date: Mon Mar 4 12:10:03 2013 +0100
614 Fix memory leak in _pygi_argument_to_array()
616 Free the originally allocated GArray data before setting it to
620 Discovered by test_gi.TestStructure.test_boxed_struct_return test
623 gi/pygi-argument.c | 1 +
624 1 file changed, 1 insertion(+)
626 commit d32b410a1b1fcca6d10d75fbd771ea789999da64
627 Author: Martin Pitt <martinpitt@gnome.org>
628 Date: Mon Mar 4 10:19:34 2013 +0100
630 Fix leaking inout C arrays
632 g_*_info_invoke() changes the original state->in_args and state->args
634 to the output values for (inout) arguments, thus losing the pointer
636 originally allocated array. Remember that in state->args_data,
638 free it in _pygi_marshal_cleanup_from_py_array().
640 Reproduced by test_gi.TestArray.test_array_fixed_inout test case.
642 gi/pygi-marshal-cleanup.c | 6 ++++++
643 gi/pygi-marshal-from-py.c | 4 ++++
644 2 files changed, 10 insertions(+)
646 commit e4098cbc28ff9324fa851bca2e423da4e51b5091
647 Author: Martin Pitt <martinpitt@gnome.org>
648 Date: Fri Mar 1 15:12:31 2013 +0100
650 Fix leak in _PyGI_ERROR_PREFIX()
652 Properly clean up our allocated py_error_prefix string.
654 Fixes memory leak in e. g. test_gi.TestArray.test_array_fixed_int_in.
656 gi/pygi-private.h | 1 +
657 1 file changed, 1 insertion(+)
659 commit b388c3e87ce86d26560337c88eb33d0a95647db8
660 Author: Martin Pitt <martinpitt@gnome.org>
661 Date: Fri Mar 1 15:01:06 2013 +0100
663 Fix leaking of boxed array elements
665 Commit 631d8ef879a copies struct array elements, but this needlessly
667 and leaks the array element for boxed types. So only do it for
670 This fixes the memory leak with
671 test_gi.TestGValue.test_gvalue_flat_array_out.
673 https://bugzilla.gnome.org/show_bug.cgi?id=693402
675 gi/pygi-marshal-to-py.c | 3 ++-
676 1 file changed, 2 insertions(+), 1 deletion(-)
678 commit 1dc2bc9f65669417ae1964d70b85f115928b2963
679 Author: Martin Pitt <martinpitt@gnome.org>
680 Date: Fri Mar 1 14:04:34 2013 +0100
682 Drop gi.overrides.overridefunc()
684 This just adds an unnecessary extra function call and is not really
686 Drop it from the only remaining function which uses this
690 https://bugzilla.gnome.org/show_bug.cgi?id=686835
692 gi/overrides/Gtk.py | 7 +++----
693 gi/overrides/__init__.py | 24 ++----------------------
694 2 files changed, 5 insertions(+), 26 deletions(-)
696 commit 1edc4ba31b3f9375ec3920aab5b71eb066ee3739
697 Author: Martin Pitt <martinpitt@gnome.org>
698 Date: Fri Mar 1 14:02:02 2013 +0100
700 Add some tests for overridden Gdk/Gtk functions
702 Add tests for Gtk.main_quit, Gtk.stock_parse(), and Gdk.color_parse(),
704 have overrides for them.
706 tests/test_overrides_gdk.py | 7 +++++++
707 tests/test_overrides_gtk.py | 15 +++++++++++++++
708 2 files changed, 22 insertions(+)
710 commit 6f6c0ceff00fea83bc85756b10694f7c96039abc
711 Author: Martin Pitt <martinpitt@gnome.org>
712 Date: Fri Mar 1 11:10:01 2013 +0100
714 Fix GLib.Source ref leak upon destruction
716 In GLib.Source.__del__(), manually unref the source if we are a
718 As we use a static binding to create it, the GI part won't unref it
720 leading to finalize() method not being called and the GSource
723 https://bugzilla.gnome.org/show_bug.cgi?id=510511
725 gi/overrides/GLib.py | 4 ++++
726 tests/test_source.py | 31 +++++++++++++++++++++++++++++++
727 2 files changed, 35 insertions(+)
729 commit 91f76dd94fb0afc6888a821a31c3a4e2e053360e
730 Author: Martin Pitt <martinpitt@gnome.org>
731 Date: Thu Feb 28 15:08:56 2013 +0100
733 Add performance test for Gtk.ListStore.append
735 We are going to optimize this in various ways, so let's measure it.
737 tests/test_overrides_gtk.py | 14 ++++++++++++++
738 1 file changed, 14 insertions(+)
740 commit b1ff74b085bdca72c272f019be4dd387073a991a
741 Author: Simon Feltman <sfeltman@src.gnome.org>
742 Date: Thu Feb 28 04:32:30 2013 -0800
744 Optimize GValue.get/set_value by setting GValue.g_type to a local
746 This increases performance by a factor of 2x for types later
749 https://bugzilla.gnome.org/show_bug.cgi?id=694857
751 gi/overrides/GObject.py | 98
752 +++++++++++++++++++++++++------------------------
753 1 file changed, 51 insertions(+), 47 deletions(-)
755 commit 105e6738ee249b64904da26ae45dd273ca4eeba8
756 Author: Martin Pitt <martinpitt@gnome.org>
757 Date: Thu Feb 28 11:43:47 2013 +0100
759 Fix leak of caller-allocated boxed values
761 Add a new "allocated_slice" argument to _pygi_boxed_new() which
763 whether its "boxed" pointer was allocated using a slice (by giving
765 malloc (by specifying 0), as _pygi_boxed_new cannot determine that
769 Use this in _pygi_marshal_to_py_interface_struct() for
770 caller-allocated boxed
771 values, as _caller_alloc() uses _pygi_boxed_alloc() for those
773 which would otherwise leak.
775 Thanks to Mike Gorse <mgorse@suse.com> for the original patch!
777 https://bugzilla.gnome.org/show_bug.cgi?id=691501
780 gi/pygi-argument.c | 2 +-
781 gi/pygi-boxed.c | 14 ++++++++++----
782 gi/pygi-boxed.h | 3 ++-
783 gi/pygi-marshal-to-py.c | 6 ++++--
784 gi/pygi-source.c | 3 ++-
785 6 files changed, 20 insertions(+), 10 deletions(-)
787 commit 64bcca2d39fed1734ad1abbe291406387e901f5c
788 Author: Martin Pitt <martinpitt@gnome.org>
789 Date: Thu Feb 28 10:48:18 2013 +0100
791 Fix memory handling of caller-allocated boxed types
793 _pygi_marshal_to_py_interface_struct() and other places treat
795 G_TYPE_BOXED as boxed values and wrap them with _pygi_boxed_new(). Fix
796 _caller_alloc() and _cleanup_caller_allocates() to consider
798 subtypes as well and use the slice allocator instead of malloc()'ing
800 This avoids trying to free an malloc'ed struct with g_slice_free()
802 cleans up the boxed values.
804 The leak was produced with:
806 G_SLICE=debug-blocks PYTHONPATH=. valgrind --tool=memcheck
807 --leak-check=full --show-possibly-lost=no \
808 python3 -c 'from gi.repository import Gtk; b=Gtk.TextBuffer();
809 (s,e) = b.get_bounds()'
811 gi/pygi-invoke.c | 2 +-
812 gi/pygi-marshal-cleanup.c | 2 +-
813 2 files changed, 2 insertions(+), 2 deletions(-)
815 commit 4f5e8b7554b6388aa2d0eb4a3b285d99499163be
816 Author: Martin Pitt <martinpitt@gnome.org>
817 Date: Wed Feb 27 23:21:34 2013 +0100
819 Fix cleanup of GValue arrays
821 Commit bc1fd8 introduced a thinko: We must not change
822 item_arg_cache->from_py_cleanup, as it's a global cache. Revert
824 change, and instead put the hack into
825 _pygi_marshal_cleanup_from_py_array(),
826 which now short-circuits
827 _pygi_marshal_cleanup_from_py_interface_struct_gvalue() to avoid
828 trying to release a slice which has never been allocated in
829 _pygi_marshal_from_py_array().
831 https://bugzilla.gnome.org/show_bug.cgi?id=672224
833 gi/pygi-marshal-cleanup.c | 11 ++++++++++-
834 gi/pygi-marshal-from-py.c | 10 +++-------
835 2 files changed, 13 insertions(+), 8 deletions(-)
837 commit 70118c3840b10e1585d066a4be485c097cd23e99
838 Author: Martin Pitt <martinpitt@gnome.org>
839 Date: Wed Feb 27 21:52:43 2013 +0100
841 Revert "Mark caller-allocated boxed structures as having a slice
844 This is wrong after all, as it sets slice_allocated to TRUE, but
846 corresponding size. Also, poking in internal fields from that place
848 this should rather be fixed in gi/pygi-marshal-cleanup.c
849 _cleanup_caller_allocates().
851 This reverts commit dc3d21173b75232f7ea0b9913f7309486456a69d.
853 gi/pygi-marshal-to-py.c | 4 +---
854 1 file changed, 1 insertion(+), 3 deletions(-)
856 commit a51c72c771dafc0c13d7990f1ff3e428dca729a1
857 Author: Martin Pitt <martinpitt@gnome.org>
858 Date: Wed Feb 27 21:51:30 2013 +0100
860 Run tests with G_SLICE=debug_blocks
862 This will help finding regressions in slice management, like in
863 https://bugzilla.gnome.org/show_bug.cgi?id=691501
865 tests/Makefile.am | 3 ++-
866 1 file changed, 2 insertions(+), 1 deletion(-)
868 commit 4f6ebcfe0605a7a593dc3f9dd322a4da9bd091a3
869 Author: Martin Pitt <martinpitt@gnome.org>
870 Date: Wed Feb 27 18:30:23 2013 +0100
872 Add override helper for stripping boolean returns
874 Introduce a gi.overrides.strip_boolean_result() helper which checks
876 return value and if True, return the remaining arguments, otherwise
878 default. This pattern is being used by a lot of overrides, which get
879 significantly smaller and more consistent that way.
881 https://bugzilla.gnome.org/show_bug.cgi?id=694431
883 gi/overrides/Gdk.py | 27 +-------
884 gi/overrides/Gtk.py | 156
885 +++++++++--------------------------------------
886 gi/overrides/__init__.py | 22 +++++++
887 3 files changed, 53 insertions(+), 152 deletions(-)
889 commit 08c97b0bd3140921f1b5c74f7764e23d3a9bf0ee
890 Author: Martin Pitt <martinpitt@gnome.org>
891 Date: Wed Feb 27 15:39:23 2013 +0100
893 Drop obsolete pygobject_register_sinkfunc() declaration
895 There is no definition for this any more, nor is it being used
898 https://bugzilla.gnome.org/show_bug.cgi?id=639849
900 gi/_gobject/pygobject-private.h | 2 --
901 1 file changed, 2 deletions(-)
903 commit b6fefd625b843d4fc3dabc456584a2ad27a48c8c
904 Author: Martin Pitt <martinpitt@gnome.org>
905 Date: Wed Feb 27 13:41:55 2013 +0100
907 Fix marshalling of C arrays with explicit length in signal arguments
909 We need _pygi_argument_to_array() from both closure marshalling
911 the arguments as GIArgument array) and signal closure marshalling
913 have the arguments in a GValue array). Add an alternative
915 parameter to _pygi_argument_to_array() so that callers can specify
917 other depending on which type they have available.
919 This allows us to pass on the full argument list for signal closures,
921 _pygi_argument_to_array() can access the explicit length argument
925 This fixes the GSettings:change-event signal.
927 https://bugzilla.gnome.org/show_bug.cgi?id=662241
929 gi/pygi-argument.c | 36 ++++++++++++++++++++++++++++--------
930 gi/pygi-argument.h | 1 +
931 gi/pygi-closure.c | 2 +-
932 gi/pygi-info.c | 4 ++--
933 gi/pygi-signal-closure.c | 3 ++-
934 tests/test_gio.py | 18 ++++++++++++++++++
935 6 files changed, 52 insertions(+), 12 deletions(-)
937 commit caeeeb7e4282e183eefc3c53b2d53c8c2bb7de89
938 Author: Martin Pitt <martinpitt@gnome.org>
939 Date: Wed Feb 27 08:07:20 2013 +0100
941 Fix signedness, overflow checking, and 32 bit overflow of GFlags
943 GFlagsValue.value is a guint, so we must access it as unsigned
945 new macros PYGLIB_PyLong_FromUnsignedLong() and
946 PYGLIB_PyLong_AsUnsignedLong()
947 for that purpose, and consistently use them for handling flag
949 checked variant of these functions which produce OverflowErrors
951 of the unchecked PYGLIB_PyLong_AS_LONG().
953 Insert zero padding after the PyLongObject in PyGFlags and
955 this, the directly adjacent GType field seems to confuse
956 PyLong_FromUnsignedLong() and includes the GType into the numeric
959 https://bugzilla.gnome.org/show_bug.cgi?id=693121
961 gi/_glib/pyglib-python-compat.h | 8 +++++++
962 gi/_gobject/gobjectmodule.c | 2 +-
963 gi/_gobject/pygflags.c | 52
964 +++++++++++++++++++++++++----------------
965 gi/_gobject/pygobject-private.h | 10 ++++----
966 gi/_gobject/pygobject.h | 4 ++--
967 gi/_gobject/pygtype.c | 6 ++---
968 tests/test_overrides_gdk.py | 15 ++++++++++++
969 7 files changed, 67 insertions(+), 30 deletions(-)
971 commit b3a3da37e369f3f5d434c8dc9f3c7f1e74d537ac
972 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
973 Date: Tue Feb 26 16:15:36 2013 +0800
975 gi/pygi-marshal-from-py.c: Fix build on Visual C++
977 Since Visual C++ does not provide the INFINITY and NAN constants
979 math.h (they are items defined by C99), provide fallback
981 for it here. The INFINITY constant can be provided with HUGE_VAL,
983 we are using INFINITY to check the value of a variable of double
985 we could use a rather simple workaround for NAN.
987 Also avoid declaring variables in the middle of the block.
989 https://bugzilla.gnome.org/show_bug.cgi?id=692856
991 gi/pygi-marshal-from-py.c | 19 ++++++++++++++++++-
992 1 file changed, 18 insertions(+), 1 deletion(-)
994 commit 5210e3d5bb7936a21b6a2c938ede505bf1d848c9
995 Author: Martin Pitt <martinpitt@gnome.org>
996 Date: Tue Feb 26 16:42:19 2013 +0100
998 Fix some style issues with previous patch
1000 gi/pygi-cache.c | 6 +++---
1001 1 file changed, 3 insertions(+), 3 deletions(-)
1003 commit 999679beaa9f5b36d9483abdbd30cd5e113b6bf6
1004 Author: Martin Pitt <martinpitt@gnome.org>
1005 Date: Tue Feb 26 10:15:22 2013 +0100
1007 Raise DeprecationWarning on deprecated callables
1009 Check if a callable is marked as deprecated and raise a
1010 DeprecationWarning in
1014 - Python hides DeprecationWarning by default, you need to enable
1016 - The deprecation message is currently not in the typelib (bug
1019 https://bugzilla.gnome.org/show_bug.cgi?id=665084
1021 gi/pygi-cache.c | 14 ++++++++++++++
1022 tests/test_gi.py | 10 ++++++++++
1023 2 files changed, 24 insertions(+)
1025 commit 9f8258cfdcf562aa6cf37b9e66075b7f6a6ed97a
1026 Author: Simon Feltman <sfeltman@src.gnome.org>
1027 Date: Mon Feb 18 00:39:45 2013 -0800
1029 pygtkcompat: Add Widget.window, scroll_to_mark, and window methods
1031 Fix gi.pygtkcompat attempting relative import in Python < 3.0.
1032 Add Gtk.Widget.window property which uses get_window()
1033 Add Gtk.TextView.scroll_to_mark with defaults
1034 Add Gtk.window_list_toplevels and Gtk.window_set_default_icon_name
1036 https://bugzilla.gnome.org/show_bug.cgi?id=694067
1038 gi/pygtkcompat.py | 2 ++
1039 pygtkcompat/pygtkcompat.py | 14 ++++++++++++++
1040 2 files changed, 16 insertions(+)
1042 commit e8e2bbee7bb79039bbd9a968f7db88438bd937f9
1043 Author: Simon Feltman <sfeltman@src.gnome.org>
1044 Date: Sun Dec 16 02:56:06 2012 -0800
1046 pygtkcompat: Add Gtk.Window.set_geometry_hints which accepts keyword
1049 Monkey patch a keyword argument version of set_geometry_hints onto
1051 This version is compatible with pygtk and takes keywords instead of a
1052 Gdk.Geometry and Gdk.GeometryMask.
1054 https://bugzilla.gnome.org/show_bug.cgi?id=694067
1056 pygtkcompat/pygtkcompat.py | 44
1057 ++++++++++++++++++++++++++++++++++++++++++++
1058 1 file changed, 44 insertions(+)
1060 commit 1ca0e142709843cdae9ca965dfa6cc292ef53ab5
1061 Author: Martin Pitt <martinpitt@gnome.org>
1062 Date: Tue Feb 26 10:09:47 2013 +0100
1064 tests: Fix warning behaviour
1066 -Werror::* does not seem to do what it says on the tin, these
1068 ignored entirely apparently. Just keep -Wd to actually show all
1070 including DeprecationWarning, which is hidden by default.
1072 tests/Makefile.am | 2 +-
1073 1 file changed, 1 insertion(+), 1 deletion(-)
1075 commit e7ea6952c7a2d8da68ed8b66770d889cd756df9a
1076 Author: Martin Pitt <martinpitt@gnome.org>
1077 Date: Tue Feb 26 08:49:10 2013 +0100
1079 Ship pygobject.doap for autogen.sh
1081 https://bugzilla.gnome.org/show_bug.cgi?id=694591
1084 1 file changed, 1 insertion(+)
1086 commit 80ed803dab3ad914d7214a475e3c6ed743dfdccc
1087 Author: Simon Feltman <sfeltman@src.gnome.org>
1088 Date: Tue Feb 19 03:07:19 2013 -0800
1090 Fix crashes in various GObject signal handler functions
1092 Fix crashes in a large amount of signal handler functions exposed
1093 on the GObject module. This is possible now that the underlying
1094 GObject pointer is exposed to Python as a PyCapsule which marshaling
1095 can handle. The following functions in the GObject module have been
1098 signal_handler_unblock
1099 signal_handler_disconnect
1100 signal_handler_is_connected
1101 signal_stop_emission
1102 signal_stop_emission_by_name
1103 signal_has_handler_pending
1104 signal_connect_closure
1105 signal_connect_closure_by_id
1107 signal_handlers_destroy
1109 https://bugzilla.gnome.org/show_bug.cgi?id=633927
1111 gi/_gobject/gobjectmodule.c | 57 ++--------------
1112 gi/overrides/GObject.py | 158
1113 ++++++++++++++++++++++++++++++++++----------
1114 tests/test_signal.py | 121 ++++++++++++++++++++++++++++++++-
1115 3 files changed, 247 insertions(+), 89 deletions(-)
1117 commit e9c578c1d47375cb2249ccdd86873faad04b89e1
1118 Author: Olivier Crête <olivier.crete@collabora.com>
1119 Date: Fri Sep 14 21:29:53 2012 -0400
1121 pygi-closure: Protect the GSList prepend with the GIL
1123 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
1125 https://bugzilla.gnome.org/show_bug.cgi?id=684060
1127 gi/pygi-closure.c | 4 ++--
1128 1 file changed, 2 insertions(+), 2 deletions(-)
1130 commit 6e0a32f6d9febbd782dc56a619974f009e79abd9
1131 Author: Simon Feltman <sfeltman@src.gnome.org>
1132 Date: Wed Feb 20 01:21:32 2013 -0800
1134 generictreemodel: Fix bad default return type for get_column_type
1136 pygtkcompat/generictreemodel.py | 2 +-
1137 1 file changed, 1 insertion(+), 1 deletion(-)
1139 commit 8ec5c335e223bdf00c7bb6c9aac3e7ac7791e38e
1140 Author: Martin Pitt <martinpitt@gnome.org>
1141 Date: Tue Feb 19 12:23:13 2013 +0100
1143 configure.ac: post-release bump to 3.7.91
1146 1 file changed, 1 insertion(+), 1 deletion(-)
1148 commit f2fb7f6142cd7112db9c2526d7f1c642a50cfc2a
1149 Author: Martin Pitt <martinpitt@gnome.org>
1150 Date: Tue Feb 19 12:19:35 2013 +0100
1154 NEWS | 17 +++++++++++++++++
1156 2 files changed, 18 insertions(+), 1 deletion(-)
1158 commit 840c871441cb215f24cc6e7ed26b9f38e5aad0df
1159 Author: Simon Feltman <sfeltman@src.gnome.org>
1160 Date: Mon Feb 18 01:46:22 2013 -0800
1162 overrides: Fix inconsistencies with drag and drop target list API
1164 Add support to Gtk.Widget.drag_dest_set_target_list and
1165 Gtk.Widget.drag_source_set_target_list to accept iterables containing
1166 mixed TargetEntry or a tuple of (target, flags, info).
1167 Add support to Gtk.TreeView.enable_model_drag_source and
1168 Gtk.TreeView.enable_model_drag_dest to accept a list of
1172 https://bugzilla.gnome.org/show_bug.cgi?id=680640
1174 gi/overrides/Gtk.py | 40 +++++++++++++++++++++++++++++-----------
1175 tests/test_overrides_gtk.py | 32 ++++++++++++++++++++++++++++++++
1176 2 files changed, 61 insertions(+), 11 deletions(-)
1178 commit 62e94b0f87845bb7a1cfddf70dcdc89ff7a80bf7
1179 Author: Simon Feltman <sfeltman@src.gnome.org>
1180 Date: Mon Feb 18 03:19:34 2013 -0800
1182 tests: Add test_marshaling_object to Makefile.am
1184 tests/Makefile.am | 1 +
1185 1 file changed, 1 insertion(+)
1187 commit a10fb7216de57046d1ecacb73dd032eaadcbad09
1188 Author: Simon Feltman <s.feltman@gmail.com>
1189 Date: Wed Aug 29 03:46:23 2012 -0700
1191 pygtkcompat: Add pygtk compatible GenericTreeModel implementation
1193 Add Python implementation of the GenericTreeModel that was
1194 available in pygtk. The implementation attempts a better job
1195 than the original at ref counting by guaranteeing no leaks
1196 upon deletion of the model itself. Or by using the extra "node"
1197 argument to the row_deleted signal. The model is available in
1198 the pygtkcompat package directly as
1199 pygtkcompat.generictreemodel.GenericTreeModel or with as
1200 gtk.GenericTreeModel when pygtkcompat.enable_gtk() is set.
1202 Add file list and tree demos making use of GenericTreeModel
1205 Auto-expand gtk-demo app tree to give a better overview of
1206 the demos available.
1208 https://bugzilla.gnome.org/show_bug.cgi?id=682933
1210 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 234 ++++++++++++
1211 .../gtk-demo/demos/Tree View/treemodel_filetree.py | 279 ++++++++++++++
1212 demos/gtk-demo/gtk-demo.py | 2 +-
1213 gi/pygtkcompat.py | 2 +-
1214 pygtkcompat/Makefile.am | 1 +
1215 pygtkcompat/generictreemodel.py | 420
1216 +++++++++++++++++++++
1217 pygtkcompat/pygtkcompat.py | 3 +
1218 tests/Makefile.am | 1 +
1219 tests/test_generictreemodel.py | 406
1220 ++++++++++++++++++++
1221 9 files changed, 1346 insertions(+), 2 deletions(-)
1223 commit 871878c7a1e18fbdbf0744e0dd52cbcc6b610cdb
1224 Author: Simon Feltman <sfeltman@src.gnome.org>
1225 Date: Mon Feb 18 02:54:14 2013 -0800
1227 overrides: Add support for iterables besides tuples for TreePath
1230 Allow Gtk.TreePath to accept any iterable for creation of the path.
1232 https://bugzilla.gnome.org/show_bug.cgi?id=682933
1234 gi/overrides/Gtk.py | 2 +-
1235 1 file changed, 1 insertion(+), 1 deletion(-)
1237 commit 93c1536b45f56c20b6d874c41c4cacd2b6cdca0a
1238 Author: Simon Feltman <sfeltman@src.gnome.org>
1239 Date: Fri Feb 15 22:56:29 2013 -0800
1241 Unify Python callable to GClosure GI marshaling code
1243 Add pygi_marshal_from_py_gclosure which can be used for direct
1245 call args and vfunc out args.
1247 https://bugzilla.gnome.org/show_bug.cgi?id=693405
1249 gi/pygi-argument.c | 14 +-----------
1250 gi/pygi-marshal-from-py.c | 55
1251 ++++++++++++++++++++++++++++-------------------
1252 gi/pygi-marshal-from-py.h | 3 +++
1253 3 files changed, 37 insertions(+), 35 deletions(-)
1255 commit 9e47afe459df942d9ffc4f71b39f1443976293df
1256 Author: Simon Feltman <sfeltman@src.gnome.org>
1257 Date: Fri Feb 15 20:56:12 2013 -0800
1259 Unify Python object to GValue GI marshaling code
1261 Add pygi_marshal_from_py_g_value which can be used for direct
1263 call args and vfunc out args. The new method also adds an
1265 parameter that will be used to fix leaks in the future.
1267 https://bugzilla.gnome.org/show_bug.cgi?id=693405
1269 gi/pygi-argument.c | 43 +++++++--------------------
1270 gi/pygi-marshal-from-py.c | 74
1271 ++++++++++++++++++++++++++++++++---------------
1272 gi/pygi-marshal-from-py.h | 5 ++++
1273 3 files changed, 65 insertions(+), 57 deletions(-)
1275 commit 15cd7be5ad80e2411d6c13b04f5e2c33e4f5605e
1276 Author: Simon Feltman <sfeltman@src.gnome.org>
1277 Date: Fri Feb 15 23:07:57 2013 -0800
1279 Rename pygi_marshal_from_py_object to make it more explicit
1281 Rename pygi_marshal_from_py_object to pygi_marshal_from_py_gobject
1282 to make it more explicit and give consistency with future refactoring.
1284 https://bugzilla.gnome.org/show_bug.cgi?id=693405
1286 gi/pygi-argument.c | 2 +-
1287 gi/pygi-marshal-from-py.c | 22 +++++++++++++---------
1288 gi/pygi-marshal-from-py.h | 6 +++---
1289 3 files changed, 17 insertions(+), 13 deletions(-)
1291 commit 84103dfabd05742d1a18729663a609e9bf7c45f8
1292 Author: Niklas Koep <niklas.koep@gmail.com>
1293 Date: Fri Feb 15 21:23:01 2013 -0800
1295 Prefix __module__ attribute of function objects with gi.repository
1297 This allows gi module methods to work with pydoc and help().
1298 Additionally correct typo in two docstrings of the same module.
1300 Co-authored-by: Simon Feltman <sfeltman@src.gnome.org>
1302 https://bugzilla.gnome.org/show_bug.cgi?id=693839
1304 gi/overrides/__init__.py | 3 ++-
1305 gi/types.py | 6 +++---
1306 2 files changed, 5 insertions(+), 4 deletions(-)
1308 commit f6d4d2da676ae63d7a24dd172775b488ce665fe4
1309 Author: Jonathan Ballet <jon@multani.info>
1310 Date: Thu Feb 14 07:50:02 2013 +0100
1312 configure.ac: only enable code coverage when available
1314 When building with an older gnome-common which does not yet provide
1316 coverage support, disable it instead of breaking the configure script.
1318 https://bugzilla.gnome.org/show_bug.cgi?id=693328
1320 configure.ac | 10 +++++++++-
1321 1 file changed, 9 insertions(+), 1 deletion(-)
1323 commit 42cbff60e2032f715d9be6ab280954211899e03c
1324 Author: Jonathan Ballet <jon@multani.info>
1325 Date: Tue Feb 12 23:03:00 2013 +0100
1327 Correctly set properties on object with statically defined properties
1329 Fix failures in GObject.Object.set_properties() when used with
1330 statically defined properties:
1332 * Calling the method was raising a "SystemError: error return without
1333 exception set" since `result` was (most of the time) still NULL at the
1334 end of pygobject_set_properties()
1336 * Calling the method with several properties would only set one of
1337 the properties, since the function was exiting too early.
1339 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
1341 https://bugzilla.gnome.org/show_bug.cgi?id=693618
1343 gi/_gobject/pygobject.c | 19 +++++++++++--------
1344 tests/test_gi.py | 6 ++++++
1345 2 files changed, 17 insertions(+), 8 deletions(-)
1347 commit 2384769810a61d6ed08d8742b7ae976ebfaa8cb5
1348 Author: Martin Pitt <martinpitt@gnome.org>
1349 Date: Mon Feb 11 18:08:37 2013 +0100
1351 autogen.sh: Use gnome-autogen.sh
1353 We depend on gnome-common now anyway, so use gnome-autogen.sh. This
1355 in a much better error message when gnome-common is not installed,
1358 https://bugzilla.gnome.org/show_bug.cgi?id=693328
1360 autogen.sh | 30 +++++++++++++++++-------------
1361 1 file changed, 17 insertions(+), 13 deletions(-)
1363 commit c107bb1f9275a748b494d3f32818f227e07cadf0
1364 Author: Christoph Reiter <christoph.reiter@gmx.at>
1365 Date: Mon Feb 11 10:07:47 2013 +0100
1367 GTK tests: Add and use context manager for realized widgets
1369 https://bugzilla.gnome.org/show_bug.cgi?id=693377
1371 tests/test_overrides_gtk.py | 91
1372 +++++++++++++++++++++++++--------------------
1373 1 file changed, 50 insertions(+), 41 deletions(-)
1375 commit e6670ee26b7682e6213f71deef813ce2e7cd6730
1376 Author: Martin Pitt <martinpitt@gnome.org>
1377 Date: Mon Feb 11 08:55:19 2013 +0100
1379 _pygi_marshal_from_py_array: Fix uninitialized variable
1381 gi/pygi-marshal-from-py.c | 2 +-
1382 1 file changed, 1 insertion(+), 1 deletion(-)
1384 commit a37bfdcb3d9dcc8bcdd8126ad55d80fab4729c62
1385 Author: Christoph Reiter <christoph.reiter@gmx.at>
1386 Date: Mon Feb 11 08:34:42 2013 +0100
1388 Skip some vfunc tests with gi 1.34
1390 https://bugzilla.gnome.org/show_bug.cgi?id=693374
1392 tests/test_object_marshaling.py | 14 ++++++++++++++
1393 1 file changed, 14 insertions(+)
1395 commit aff2ea1b681c3019f7dbdc841c2e33de78dbb88f
1396 Author: Simon Feltman <sfeltman@src.gnome.org>
1397 Date: Sun Feb 10 13:40:45 2013 -0800
1399 Remove workaround for g_struct_info_get_size reporting incorrect size
1401 Remove workaround for g_struct_info_get_size reporting incorrect size
1402 for boxed GValues. Verified this now returns the correct size of 24.
1404 https://bugzilla.gnome.org/show_bug.cgi?id=622711
1406 gi/pygi-boxed.c | 31 +++++++++++++------------------
1407 1 file changed, 13 insertions(+), 18 deletions(-)
1409 commit 5efe2e5c8458d9f4d72329ea1209d96b5ebecfb4
1410 Author: Simon Feltman <sfeltman@src.gnome.org>
1411 Date: Mon Feb 4 20:50:10 2013 -0800
1413 Fix reference leaks with transient floating objects
1415 Unify and refactor caller and callee GObject argument marshalers.
1416 Combine code from the large switch statement used to marshal
1417 arguments to and from vfuncs/closures with the marshalers used
1418 for direct calls to gi functions. This fixes a reference leak
1419 when marshalling GObjects to Python with transfer=full due to
1420 the diverging code paths.
1421 Replace ability in gobject_new_full to optionally sink objects
1422 with ability to optionaly "steal" objects. This fits the premise
1423 that binding layers should always sink objects initially. The
1424 steal argument is then used for marshalling arguments which are
1426 Add hacks and comments to work around GTK+ bugs 693393 and 693400.
1428 https://bugzilla.gnome.org/show_bug.cgi?id=687522
1430 gi/_gobject/gobjectmodule.c | 10 +++++--
1431 gi/_gobject/pygobject-private.h | 2 +-
1432 gi/_gobject/pygobject.c | 45 ++++++++++++++++++++----------
1433 gi/_gobject/pygobject.h | 8 ++++--
1434 gi/pygi-argument.c | 52 +++++++++++++++++------------------
1435 gi/pygi-marshal-from-py.c | 61
1436 +++++++++++++++++++++++++++++++++++++----
1437 gi/pygi-marshal-from-py.h | 6 ++++
1438 gi/pygi-marshal-to-py.c | 45 +++++++++++++++---------------
1439 gi/pygi-marshal-to-py.h | 5 ++++
1440 tests/test_object_marshaling.py | 44 ++++++++++++++---------------
1441 10 files changed, 181 insertions(+), 97 deletions(-)
1443 commit bd54b8ab30fc957849e7f57e9ee4c4b41aa37013
1444 Author: Simon Feltman <sfeltman@src.gnome.org>
1445 Date: Wed Feb 6 12:56:44 2013 -0800
1447 tests: Fix spelling mistakes in new vfunc object marshalling tests
1449 tests/test_object_marshaling.py | 12 ++++++------
1450 1 file changed, 6 insertions(+), 6 deletions(-)
1452 commit cd96fd8b8e10add9890f36ec237bb78548de7002
1453 Author: Martin Pitt <martinpitt@gnome.org>
1454 Date: Tue Feb 5 07:53:38 2013 +0100
1456 configure.ac: post-release bump to 3.7.6
1459 1 file changed, 1 insertion(+), 1 deletion(-)
1461 commit 92b1404e61f46348168f32720eff4a482531e5e3
1462 Author: Martin Pitt <martinpitt@gnome.org>
1463 Date: Tue Feb 5 07:46:46 2013 +0100
1469 2 files changed, 4 insertions(+), 1 deletion(-)
1471 commit a3a30559240077194f23c4651d6f382fa59b7d63
1472 Author: Simon Feltman <sfeltman@src.gnome.org>
1473 Date: Mon Feb 4 15:16:37 2013 -0800
1475 Fix API break with pygobject.h
1477 Move pygobject_new_full after everything in the public API table.
1478 This fixes a break that went in along with bug 675726.
1480 https://bugzilla.gnome.org/show_bug.cgi?id=675726
1482 gi/_gobject/gobjectmodule.c | 5 +++--
1483 gi/_gobject/pygobject.h | 2 +-
1484 2 files changed, 4 insertions(+), 3 deletions(-)
1486 commit b3ca7e27494c35620995840d777037a097082661
1487 Author: Martin Pitt <martinpitt@gnome.org>
1488 Date: Mon Feb 4 19:53:26 2013 +0100
1490 configure.ac: post-release bump to 3.7.6
1493 1 file changed, 1 insertion(+), 1 deletion(-)
1495 commit 77f638411314218748f349b337a36e2864eed1f4
1496 Author: Martin Pitt <martinpitt@gnome.org>
1497 Date: Mon Feb 4 19:37:14 2013 +0100
1501 NEWS | 24 ++++++++++++++++++++++++
1502 1 file changed, 24 insertions(+)
1504 commit 50da4fca1435f8c27072e15875227c5e7fb9b7e4
1505 Author: Simon Feltman <sfeltman@src.gnome.org>
1506 Date: Sun Feb 3 23:56:14 2013 -0800
1508 Fix pointer cast warning that was missed in bug 675726
1510 https://bugzilla.gnome.org/show_bug.cgi?id=675726
1512 gi/_gobject/pygobject.h | 2 +-
1513 1 file changed, 1 insertion(+), 1 deletion(-)
1515 commit b31d8a952cd57dc92b06a381e054199660a2d570
1516 Author: Simon Feltman <sfeltman@src.gnome.org>
1517 Date: Thu Jan 31 02:35:36 2013 -0800
1519 Move various signal methods from static bindings to gi and python
1521 Move disconnect, handler_is_connected, handler_block, handler_unblock,
1522 and stop_emission from static to gi python overrides.
1524 https://bugzilla.gnome.org/show_bug.cgi?id=692918
1526 gi/_gobject/pygobject.c | 90
1527 -------------------------------------------------
1528 gi/overrides/GObject.py | 44 +++++++++++++++++-------
1529 tests/test_signal.py | 19 ++++++-----
1530 3 files changed, 42 insertions(+), 111 deletions(-)
1532 commit 3a6a4a7a21a0f5e851518b7912d8ff455aa3ede4
1533 Author: Paolo Borelli <pborelli@gnome.org>
1534 Date: Fri Feb 1 21:09:26 2013 +0100
1536 GLib overrides: Support unpacking 'maybe' variants
1538 Automatically unpack 'maybe' variants to None or to their actual value
1539 as we do for other kind of variants
1541 https://bugzilla.gnome.org/show_bug.cgi?id=693032
1543 gi/overrides/GLib.py | 5 +++++
1544 tests/test_overrides_glib.py | 8 ++++++++
1545 2 files changed, 13 insertions(+)
1547 commit 9bc3e6807f6c14fb0e132a90ff8f9984229896f6
1548 Author: Mike Gorse <mgorse@suse.com>
1549 Date: Mon Jan 21 16:45:52 2013 -0600
1551 Fix ref count leak when creating pygobject wrappers for input args
1553 Only sink input references for closures and vfuncs when transfer is
1554 everything. This fixes cases where incoming floating references for
1555 callbacks need to maintain their floating state throughout the
1556 callback so they don't leak a strong reference. Re-introduce a
1557 working "sink" argument to pygobject_new_full which allows for this.
1558 Change existing callers to always sink in order maintain behavior.
1560 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
1562 https://bugzilla.gnome.org/show_bug.cgi?id=675726
1564 gi/_gobject/gobjectmodule.c | 5 +--
1565 gi/_gobject/pygobject.c | 7 ++--
1566 gi/_gobject/pygobject.h | 2 ++
1567 gi/pygi-argument.c | 13 +++----
1568 tests/test_object_marshaling.py | 76
1569 +++++++++++++++++++++++++++++++++++++----
1570 5 files changed, 85 insertions(+), 18 deletions(-)
1572 commit a53a9176a3f87cfb26f3ad98ea746ada0f1a39fa
1573 Author: Simon Feltman <sfeltman@src.gnome.org>
1574 Date: Thu Jan 31 01:50:44 2013 -0800
1576 Add tests for signal stop_emission, disconnect, and
1577 handler_is_connected
1579 Add tests for methods which will be moving from static bindings to gi
1580 by using the new __gpointer__ attribute of GObject.
1582 https://bugzilla.gnome.org/show_bug.cgi?id=692918
1584 tests/test_signal.py | 51
1585 ++++++++++++++++++++++++++++++++++++++++++++++++++-
1586 1 file changed, 50 insertions(+), 1 deletion(-)
1588 commit df18f9cc3828d1bcf6b6cdf26af786fd9f36d77e
1589 Author: Simon Feltman <sfeltman@src.gnome.org>
1590 Date: Wed Jan 30 21:37:07 2013 -0800
1592 Add __gpointer__ property to GObject static binding
1594 Add access to the underlying C GObject pointer by wrapping it in a
1595 PyCapsule/PyCPointer and exposing it as __gpointer__.
1596 Add special case marshaling for gi parameters annotated as gpointer
1597 to accept a PyCapsule and extract the underlying pointer as the arg.
1598 This allows usage of methods like GObject.signal_handler_disconnect
1599 which we can start replacing the static bindings with.
1601 https://bugzilla.gnome.org/show_bug.cgi?id=692918
1603 gi/_gobject/pygobject.c | 11 +++++++++--
1604 gi/pygi-marshal-from-py.c | 6 +++++-
1605 2 files changed, 14 insertions(+), 3 deletions(-)
1607 commit 571e0cb246baa4ef7db179b20da6b325f358fe5b
1608 Author: Simon Feltman <sfeltman@src.gnome.org>
1609 Date: Sun Jan 27 01:22:37 2013 -0800
1611 Prefix names of typeless enums and flags for GType registration
1613 Prefix names given to g_flags_register_static and
1614 g_enum_register_static
1615 with "Py". This avoids conflicts with GTypes of the same name being
1616 registered later by a library which does not provide a "get-type"
1619 https://bugzilla.gnome.org/show_bug.cgi?id=692515
1621 gi/gimodule.c | 10 ++++++++--
1622 tests/test_gi.py | 4 ++--
1623 2 files changed, 10 insertions(+), 4 deletions(-)
1625 commit 97f48f5dcabc8dad4480727a78416b1c2a220777
1626 Author: Simon Feltman <sfeltman@src.gnome.org>
1627 Date: Wed Jan 30 04:35:32 2013 -0800
1629 Add tests for vfunc object arguments and returns
1631 Add tests which use different combinations of floating, transfer full,
1632 transfer none, and held wrapper as in, out, or return arguments
1634 Most of these are marked as skip or expectedFailure due to various
1638 https://bugzilla.gnome.org/show_bug.cgi?id=687522
1640 gi/overrides/GObject.py | 15 +-
1641 tests/test_object_marshaling.py | 540
1642 ++++++++++++++++++++++++++++++++++++++++
1643 2 files changed, 550 insertions(+), 5 deletions(-)
1645 commit 73a83186329ede7702501d5bc49df269482461e4
1646 Author: Paolo Borelli <pborelli@gnome.org>
1647 Date: Wed Jan 30 17:48:12 2013 +0100
1649 Cosmetic fix to last patch
1651 gi/pygi-argument.c | 7 +++++--
1652 1 file changed, 5 insertions(+), 2 deletions(-)
1654 commit 9e0c41509d62e8df7d0d82608a8be75f3defe05c
1655 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
1656 Date: Fri Jan 25 13:05:18 2013 +0800
1658 gi/pygi-info.c, gi/pygi-repository.c: Deal with C99isms
1660 Drop the array forward static declarations. They are not necessary
1664 Also move declarations of variables to the top of their respective
1667 https://bugzilla.gnome.org/show_bug.cgi?id=692856
1669 gi/pygi-info.c | 18 ++++++++++--------
1670 gi/pygi-repository.c | 2 --
1671 2 files changed, 10 insertions(+), 10 deletions(-)
1673 commit 2e7c458ef6377a872043634b47737ef12eed744a
1674 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
1675 Date: Fri Jan 25 13:00:48 2013 +0800
1677 Move variable declaration to top of blocks (C99ism)
1679 Move variable declarations to the top of their respective blocks,
1681 code will build under C89 compilers such as Visual C++.
1683 https://bugzilla.gnome.org/show_bug.cgi?id=692856
1685 gi/pygi-argument.c | 10 ++++++----
1686 gi/pygi-closure.c | 23 +++++++++++++++--------
1687 gi/pygi-invoke.c | 3 ++-
1688 gi/pygi-marshal-cleanup.c | 3 ++-
1689 gi/pygi-property.c | 3 ++-
1690 5 files changed, 27 insertions(+), 15 deletions(-)
1692 commit 20fc5aa7514215fc7807adceb603d17f7943304a
1693 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
1694 Date: Fri Jan 25 12:58:26 2013 +0800
1696 gi/pygobject-external.h: Remove GCCism
1698 We can use G_GNUC_UNUSED from GLib that does the same purpose of
1699 __attribute__ ( (unused)) when we are using a GCC that provides this.
1701 The GLib headers that defines that macro should have already been
1703 before this header is included (due to use of gboolean).
1705 https://bugzilla.gnome.org/show_bug.cgi?id=692856
1707 gi/pygobject-external.h | 2 +-
1708 1 file changed, 1 insertion(+), 1 deletion(-)
1710 commit 5d2f453f3fdb167a4b4a833011ae777bfd228eb9
1711 Author: Martin Pitt <martinpitt@gnome.org>
1712 Date: Wed Jan 30 14:59:11 2013 +0100
1714 tests: Update test_double() after e65c1248
1716 Commit e65c1248 introduced support for NaN and ±inf as valid
1718 rendering the "expect ValueError on 2*double" check broken. Just
1721 tests/test_everything.py | 1 -
1722 1 file changed, 1 deletion(-)
1724 commit b8bf4ec6c2478275dc9c813946a90b82ded6d9ce
1725 Author: Martin Pitt <martinpitt@gnome.org>
1726 Date: Wed Jan 23 07:14:16 2013 +0100
1728 Do not immediately initialize Gdk and Gtk on import
1730 Raising an exception if Gdk/Gtk cannot be imported makes it
1732 merely import a module for e. g. nosetests without actually running
1735 Programs who want to provide a proper error message should check
1736 Gtk.initialized explicitly after importing. Check initialized
1738 Window.__init__() instead to provide a reasonably early error message
1742 https://bugzilla.gnome.org/show_bug.cgi?id=692300
1744 gi/overrides/Gdk.py | 2 --
1745 gi/overrides/Gtk.py | 5 +++--
1746 2 files changed, 3 insertions(+), 4 deletions(-)
1748 commit 93d5cc2986cb3d3d979694b1beb1719d2d8fed53
1749 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
1750 Date: Fri Jan 25 12:49:18 2013 +0800
1752 gi/overrides/Glib.py: Fix running on Windows/non-Unix
1754 The definition of self._signal_source uses a Unix-specific GLib
1756 does not exist or have a direct equivilant on Windows.
1758 Only define and use that variable when we aren't on Windows.
1760 gi/overrides/GLib.py | 18 ++++++++++--------
1761 1 file changed, 10 insertions(+), 8 deletions(-)
1763 commit e65c124893ceaa9c97eb4c8c743fbeb756b9a6e6
1764 Author: Martin Pitt <martinpitt@gnome.org>
1765 Date: Wed Jan 23 14:56:02 2013 +0100
1767 Accept ±inf and NaN as float and double values
1769 Also fix the broken error message when a float value is out of range.
1770 PyErr_Format() does not support float macros.
1772 https://bugzilla.gnome.org/show_bug.cgi?id=692381
1774 gi/pygi-marshal-from-py.c | 37 +++++++++++++++++++------------------
1775 tests/test_gobject.py | 14 ++++++++++++++
1776 2 files changed, 33 insertions(+), 18 deletions(-)
1778 commit a52245381fab3c2aebd330cc9c5e717a93c9607d
1779 Author: Martin Pitt <martinpitt@gnome.org>
1780 Date: Wed Jan 23 14:28:42 2013 +0100
1782 Fix repr() of GLib.Variant
1784 When using a standard constructor like GLib.Variant.new_*(), the
1786 not have a format_string property, and previously repr() would
1788 to get_type_string() instead.
1790 Also drop the unintended type annotations in repr().
1792 gi/overrides/GLib.py | 6 +++++-
1793 tests/test_overrides_glib.py | 15 ++++++++++++++-
1794 2 files changed, 19 insertions(+), 2 deletions(-)
1796 commit 2270cf15012005362dc47456213c5d9e7f6ed28a
1797 Author: Martin Pitt <martinpitt@gnome.org>
1798 Date: Wed Jan 23 14:14:29 2013 +0100
1800 Fix gtk-demo for Python 3
1802 It was crashing with
1804 package = __import__(packagename, globals(), locals(),
1806 ValueError: level must be >= 0
1808 Using level zero works with both Python 2 and 3.
1810 demos/gtk-demo/gtk-demo.py | 2 +-
1811 1 file changed, 1 insertion(+), 1 deletion(-)
1813 commit b24d07577da1e17c8e27f758fc1a23d7f2d0f668
1814 Author: Colin Walters <walters@verbum.org>
1815 Date: Tue Jan 22 10:49:57 2013 -0500
1817 build: Add autogen.sh to EXTRA_DIST
1819 So downstreams that patch the autotools can use it.
1822 1 file changed, 1 insertion(+)
1824 commit ed7fb99efa81854d947ae548d41a03f5275c5884
1825 Author: Martin Pitt <martinpitt@gnome.org>
1826 Date: Thu Jan 17 08:23:02 2013 +0100
1828 Define GObject.TYPE_VALUE gtype constant
1830 gi/overrides/GObject.py | 4 +++-
1831 tests/test_gobject.py | 4 ++++
1832 2 files changed, 7 insertions(+), 1 deletion(-)
1834 commit fd32acdd97f49f086a8ad5cf2b65862c4e6ccc44
1835 Author: Olivier Crête <olivier.crete@collabora.com>
1836 Date: Mon Sep 17 15:37:04 2012 -0400
1838 gobject: Go through introspection on property setting
1840 Consider introspected properties in object.set_property().
1842 https://bugzilla.gnome.org/show_bug.cgi?id=684062
1844 gi/_gobject/pygobject.c | 18 +++++++++++++++++-
1845 tests/test_properties.py | 13 ++++++++++---
1846 2 files changed, 27 insertions(+), 4 deletions(-)
1848 commit 9a2060f26c2cc2f9ef79ab6fb9f512c317004856
1849 Author: Mike Gorse <mgorse@suse.com>
1850 Date: Tue Jan 15 20:04:46 2013 -0600
1852 Clean up caller-allocated GValues and their memory
1854 When space for a GValue is allocated by the caller (as in
1855 gtk_tree_model_get_value), we need to free the space allocated for the
1856 value along with its contents. The GValue is not needed after
1857 Pyg_value_as_pyobject is called, so call _cleanup_caller_allocates and
1858 have it unset the value and deallocate the memory.
1860 https://bugzilla.gnome.org/show_bug.cgi?id=691820
1862 gi/pygi-marshal-cleanup.c | 20 ++++++++++++++++++--
1863 1 file changed, 18 insertions(+), 2 deletions(-)
1865 commit 45b7975d0a3d78f01f1112ae7b3f4208f15694d8
1866 Author: Dmitry Shachnev <mitya57@ubuntu.com>
1867 Date: Wed Jan 16 13:44:42 2013 +0400
1869 tests: define correct unittest.skipIf for python 2.6
1871 tests/runtests.py | 2 +-
1872 1 file changed, 1 insertion(+), 1 deletion(-)
1874 commit 4706cd686ea1b25260c9ecc77abd324d6e4cf505
1875 Author: Martin Pitt <martinpitt@gnome.org>
1876 Date: Wed Jan 16 09:17:13 2013 +0100
1878 tests: More robust tree view realization
1880 With current GNOME git head, the Gtk.TreeViews were not realized
1882 more to receive property values. Put them into a Gtk.Dialog now and
1884 ensure that they are realized.
1886 tests/test_overrides_gtk.py | 16 ++++++++++------
1887 1 file changed, 10 insertions(+), 6 deletions(-)
1889 commit 90c6f596df2a96f9c8059ae9157bc467a80b7574
1890 Author: Martin Pitt <martinpitt@gnome.org>
1891 Date: Tue Jan 15 10:42:49 2013 +0100
1893 Drop deprecated g_thread_create()
1895 Replace with g_thread_new(). This is available with glib >= 2.32,
1897 already require >= 2.34.
1899 tests/test-thread.c | 3 +--
1900 1 file changed, 1 insertion(+), 2 deletions(-)
1902 commit 98504273dead9eade6e53c2297bcaec7bea6265a
1903 Author: Martin Pitt <martinpitt@gnome.org>
1904 Date: Tue Jan 15 10:37:52 2013 +0100
1906 Drop usage of deprecated GStaticPrivate
1908 Replace with GPrivate.
1910 gi/_gobject/gobjectmodule.c | 6 +++---
1911 1 file changed, 3 insertions(+), 3 deletions(-)
1913 commit 655e2eece14f5de3baf4505f524d17484b8b5a75
1914 Author: Martin Pitt <martinpitt@gnome.org>
1915 Date: Tue Jan 15 10:29:47 2013 +0100
1917 Don't call g_type_init() with glib >= 2.35.x
1919 This fixes a deprecation warning.
1921 gi/_gobject/gobjectmodule.c | 2 ++
1922 1 file changed, 2 insertions(+)
1924 commit 206e736380ba798c68de09f661d75c8e27451117
1925 Author: Martin Pitt <martinpitt@gnome.org>
1926 Date: Tue Jan 15 09:47:11 2013 +0100
1928 Use GNOME_COMPILE_WARNINGS from gnome-common
1930 As we are now using gnome-common anyway for the code coverage macro,
1932 GNOME_COMPILE_WARNINGS, and only manually specify the extra options
1936 This also enables -Wstrict-prototypes.
1938 configure.ac | 14 ++++----------
1939 1 file changed, 4 insertions(+), 10 deletions(-)
1941 commit 137679426ff39507e15f08e9e6428d851fee06b7
1942 Author: Martin Pitt <martinpitt@gnome.org>
1943 Date: Tue Jan 15 09:46:01 2013 +0100
1945 Fix function prototypes and static functions
1947 These cause errors/warnings with -Wstrict-prototypes.
1949 gi/_glib/pyglib-python-compat.h | 2 ++
1950 gi/pygi-foreign.c | 2 +-
1951 gi/pygi-marshal-from-py.c | 4 ++--
1952 gi/pygi-marshal-to-py.c | 4 ++--
1953 gi/pygi-source.c | 2 +-
1954 gi/pygi-source.h | 2 +-
1955 6 files changed, 9 insertions(+), 7 deletions(-)
1957 commit d47927f1701a11aec8566425f22688c5df73d7f2
1958 Author: Martin Pitt <martinpitt@gnome.org>
1959 Date: Mon Jan 14 17:38:23 2013 +0100
1961 configure.ac: post-release bump to 3.7.5
1964 1 file changed, 1 insertion(+), 1 deletion(-)
1966 commit bd6da84a4aec74e47f5d70e8ed18695c37e746c6
1967 Author: Martin Pitt <martinpitt@gnome.org>
1968 Date: Mon Jan 14 17:30:48 2013 +0100
1972 NEWS | 38 ++++++++++++++++++++++++++++++++++++++
1973 1 file changed, 38 insertions(+)
1975 commit c90ef9dfac7dd51ec82c99c3605915996bea0f73
1976 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
1977 Date: Tue Dec 4 15:45:00 2012 +0200
1979 Allow setting values through GtkTreeModelFilter
1981 Previously, trying to set a value through filter throwed an exception
1983 model has no set_value() method. You had to first retrieve the
1985 model and set value to it.
1987 https://bugzilla.gnome.org/show_bug.cgi?id=689624
1989 gi/overrides/Gtk.py | 5 +++++
1990 tests/test_overrides_gtk.py | 11 +++++++++++
1991 2 files changed, 16 insertions(+)
1993 commit b092630efc691a6f7ae94ae896193254f5a961a6
1994 Author: Martin Pitt <martinpitt@gnome.org>
1995 Date: Mon Jan 14 12:37:18 2013 +0100
1997 tests: Add (failing) test case for GParamSpec arguments
2000 https://bugzilla.gnome.org/show_bug.cgi?id=682355
2002 tests/test_gi.py | 9 +++++++++
2003 1 file changed, 9 insertions(+)
2005 commit 52d84b5da7f9fd4f65faea4e6fe3d250f937a208
2006 Author: Martin Pitt <martinpitt@gnome.org>
2007 Date: Mon Jan 14 12:20:27 2013 +0100
2009 tests: Skip struct string member tests with g-i 1.34
2011 We still support building against gobject-introspection 1.34, so
2013 which do not work with that version yet.
2015 tests/test_gi.py | 8 ++++++++
2016 1 file changed, 8 insertions(+)
2018 commit f9429192cb1002725a11a75a7b8f9300375b9caf
2019 Author: Martin Pitt <martinpitt@gnome.org>
2020 Date: Mon Jan 14 12:15:27 2013 +0100
2022 Support GParamSpec signal arguments from Python
2024 In pyg_value_from_pyobject(), recognize both the real GI
2025 GObject.ParamSpec type
2026 as well as the statically wrapped _gobject.GParamSpec type.
2028 This fixes marshalling GObject.ParamSpec signal/vfunc arguments.
2030 https://bugzilla.gnome.org/show_bug.cgi?id=683099
2032 gi/_gobject/pygtype.c | 6 +++++-
2033 tests/test_signal.py | 12 ++++++++++++
2034 tests/testhelpermodule.c | 13 +++++++++++++
2035 3 files changed, 30 insertions(+), 1 deletion(-)
2037 commit 99f72925c7de76611f7592bce9d8217a9ff46809
2038 Author: Martin Pitt <martinpitt@gnome.org>
2039 Date: Mon Jan 14 11:48:11 2013 +0100
2041 pygobject_emit(): Fix cleanup on error
2043 Dot not try to unset GValues which have not been initialized yet,
2045 conversion fails for a parameter.
2047 gi/_gobject/pygobject.c | 8 ++++----
2048 1 file changed, 4 insertions(+), 4 deletions(-)
2050 commit acef1d3266d11b2465d61185a55526df879a5c62
2051 Author: Simon Feltman <sfeltman@src.gnome.org>
2052 Date: Mon Dec 31 19:01:57 2012 -0800
2054 Add signal emission methods to TreeModel which coerce the path
2057 Override TreeModel row_changed, row_inserted, row_has_child_toggled,
2058 row_deleted, and rows_reordered methods to accept python iterables as
2059 the path parameter. This is for compatibility with pygtk and
2061 with the rest of the TreeModel and TreePath overrides.
2063 https://bugzilla.gnome.org/show_bug.cgi?id=682933
2065 gi/overrides/Gtk.py | 31 ++++++++++++++++++++++++++++---
2066 tests/test_overrides_gtk.py | 27 +++++++++++++++++++++++++++
2067 2 files changed, 55 insertions(+), 3 deletions(-)
2069 commit 9cfba517e1a6dced5e66786b28ed5e101b7b4a29
2070 Author: Martin Pitt <martinpitt@gnome.org>
2071 Date: Mon Jan 14 10:36:36 2013 +0100
2073 Simplify overrides and tests using the new GObject.Value override
2075 The previous commit added support for constructing a GObject.Value
2077 GType and Python object conversion. Use this to simplify the Gtk
2079 the tests that construct GValues.
2081 See https://bugzilla.gnome.org/show_bug.cgi?id=677473
2083 gi/overrides/Gtk.py | 88
2084 +++------------------------------------------
2085 tests/test_gi.py | 26 +++++---------
2086 tests/test_overrides_gtk.py | 2 +-
2087 tests/test_signal.py | 12 ++-----
2088 4 files changed, 17 insertions(+), 111 deletions(-)
2090 commit f62b98398177991bfdbe0b6753342e79e6cf170a
2091 Author: Bastian Winkler <buz@netbuz.org>
2092 Date: Mon Jan 14 10:26:08 2013 +0100
2094 Add override for GValue
2096 Override GValue with a custom constructor and set_value()/get_value()
2097 methods. This allows you to call
2099 >>> GObject.Value(GObject.TYPE_FLOAT, 42.23)
2103 >>> value = GObject.Value()
2104 >>> value.init(GObject.TYPE_FLOAT)
2105 >>> value.set_float(42.23)
2107 This is especially useful for overrides that need to convert a Python
2108 value to a expected type like G_TYPE_FLOAT.
2110 https://bugzilla.gnome.org/show_bug.cgi?id=677473
2112 gi/overrides/GObject.py | 127
2113 +++++++++++++++++++++++++++++++++++++++++++++++-
2114 tests/test_gobject.py | 47 +++++++++++++++++-
2115 2 files changed, 172 insertions(+), 2 deletions(-)
2117 commit dc3d21173b75232f7ea0b9913f7309486456a69d
2118 Author: Mike Gorse <mgorse@suse.com>
2119 Date: Thu Jan 10 15:48:30 2013 -0600
2121 Mark caller-allocated boxed structures as having a slice allocated
2123 When a C function takes a pointer and fills it with a boxed structure
2125 gtk_tree_store_insert_with_values), pygi should deallocate the slice
2127 box is no longer being used.
2129 https://bugzilla.gnome.org/show_bug.cgi?id=699501
2131 gi/pygi-marshal-to-py.c | 4 +++-
2132 1 file changed, 3 insertions(+), 1 deletion(-)
2134 commit 0c496d230fee7fd3ada90ee9af10e0bc1e29ee12
2135 Author: Olivier Crête <olivier.crete@collabora.com>
2136 Date: Fri Sep 14 21:31:32 2012 -0400
2138 pygi-property: Support boxed GSList/GList types
2140 Note that this does not yet work for construct properties.
2142 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
2144 https://bugzilla.gnome.org/show_bug.cgi?id=684059
2146 gi/pygi-property.c | 10 ++++++++--
2147 tests/test_gi.py | 21 +++++++++++++++++++++
2148 2 files changed, 29 insertions(+), 2 deletions(-)
2150 commit 074f10d815453e58f4bee2f440c5db799add3876
2151 Author: Martin Pitt <martinpitt@gnome.org>
2152 Date: Mon Jan 14 07:48:31 2013 +0100
2154 test_gio: Fix for Python 2
2156 Python 2 does not yet take an "encoding" argument for str(), while
2158 requires it. Use a less fancy static test string instead.
2160 tests/test_gio.py | 2 +-
2161 1 file changed, 1 insertion(+), 1 deletion(-)
2163 commit 734979d0c8317201148a7e94a323225fba2d1635
2164 Author: Martin Pitt <martinpitt@gnome.org>
2165 Date: Mon Jan 14 07:40:10 2013 +0100
2167 tests: Add missing backwards compat methods for Python 2.6
2169 Define skipIf(), assertLess(), and assertLessEqual() for running
2173 https://bugzilla.gnome.org/show_bug.cgi?id=691646
2175 tests/runtests.py | 17 +++++++++++++++++
2176 1 file changed, 17 insertions(+)
2178 commit dc0dafd1f6ca3ebbf04210768a45587387e44551
2179 Author: Martin Pitt <martinpitt@gnome.org>
2180 Date: Mon Jan 14 07:34:46 2013 +0100
2182 tests: Stop using assertSequenceEqual()
2184 assertSequenceEqual() does not yet exist in Python 2.6, and is
2186 either as assertEqual() on sequences automatically does list
2189 Part of https://bugzilla.gnome.org/show_bug.cgi?id=691646
2191 tests/test_gtype.py | 6 ++----
2192 tests/test_signal.py | 6 ++----
2193 2 files changed, 4 insertions(+), 8 deletions(-)
2195 commit 0a5587b6a56d417a6703e342f153596f08cd5889
2196 Author: Simon Feltman <sfeltman@src.gnome.org>
2197 Date: Sun Jan 13 18:19:51 2013 -0800
2199 Allow setting TreeModel values to None
2201 Change TreeModel.set_value to use an empty but initialized GValue when
2202 None is used as the value argument. This allows clearing of cell data
2203 which was not accessible due to auto-coercion.
2205 https://bugzilla.gnome.org/show_bug.cgi?id=684094
2207 gi/overrides/Gtk.py | 11 ++++++++---
2208 tests/test_overrides_gtk.py | 8 ++++++++
2209 2 files changed, 16 insertions(+), 3 deletions(-)
2211 commit 5ae129da436793478750f0dc9427a174a980e10b
2212 Author: Mike Gorse <mgorse@suse.com>
2213 Date: Thu Jan 10 16:42:17 2013 -0600
2215 Set clean-up handler for marshalled arrays
2217 Arrays did not have a cleanup handler set in some cases, resulting
2220 https://bugzilla.gnome.org/show_bug.cgi?id=691509
2222 gi/pygi-cache.c | 1 +
2223 1 file changed, 1 insertion(+)
2225 commit 58bd307c57d542a8f69867dea2d0a0eb51230c7b
2226 Author: Vadim Rutkovsky <vrutkovs@redhat.com>
2227 Date: Fri Jan 11 15:41:27 2013 +0100
2229 Support setting string fields in structs
2231 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
2233 https://bugzilla.gnome.org/show_bug.cgi?id=678401
2235 gi/pygi-info.c | 3 ++-
2236 tests/test_gi.py | 16 ++++++++++++++++
2237 2 files changed, 18 insertions(+), 1 deletion(-)
2239 commit f2bcaa43c1158040a8c2cbc3a2ba5070d126a410
2240 Author: Martin Pitt <martinpitt@gnome.org>
2241 Date: Fri Jan 11 14:58:44 2013 +0100
2243 Re-enable test_gi.TestPropertiesObject.test_char test
2245 The gobject-introspection bug got fixed:
2246 https://bugzilla.gnome.org/show_bug.cgi?id=691524
2248 tests/test_gi.py | 14 +++-----------
2249 1 file changed, 3 insertions(+), 11 deletions(-)
2251 commit 9a8c49087cf400e01c1f78241fa4d74b4d15f54e
2252 Author: Martin Pitt <martinpitt@gnome.org>
2253 Date: Fri Jan 11 09:46:56 2013 +0100
2255 tests: Re-enable test_callback_scope_call_array() check
2257 Drop the expected failure from test_callback_scope_call_array()
2259 the explicit array length arguments. While it would look cleaner to
2261 them, it is probably not worth breaking the API for this.
2263 tests/test_everything.py | 9 +++------
2264 1 file changed, 3 insertions(+), 6 deletions(-)
2266 commit 609636424b5f9b659e99a4bb53a48c165187c430
2267 Author: Martin Pitt <martinpitt@gnome.org>
2268 Date: Fri Jan 11 09:13:36 2013 +0100
2270 Permit plain integers for "gchar" values
2272 Similar to guchar/guint8, allow plain integers (withing correct
2274 values for gchar/gint8 types.
2276 This is covered by the test_gi.TestPropertiesObject.test_char
2278 removing the "expected failure" flag.
2280 gi/_gobject/pygtype.c | 16 ++++++++++++----
2281 1 file changed, 12 insertions(+), 4 deletions(-)
2283 commit a558d3d3a9274aeccfc54705bf5effdf71dee06b
2284 Author: Martin Pitt <martinpitt@gnome.org>
2285 Date: Fri Jan 11 09:09:41 2013 +0100
2287 Allow single byte values for int8 types
2289 When fixing gobject-introspection to consider "gchar" as signed (see
2290 https://bugzilla.gnome.org/show_bug.cgi?id=691524), we must also
2292 single-element "bytes" array as a valid value for int8, not just
2295 This is caught by the test_overrides_gtk.TestTreeModel.test_tree_store
2298 gi/pygi-argument.c | 4 ++--
2299 gi/pygi-marshal-from-py.c | 34 +++++++++++++++++++++-------------
2300 2 files changed, 23 insertions(+), 15 deletions(-)
2302 commit aa7f6cd12fe403acb2cffc7890724af7abb9b990
2303 Author: Mike Gorse <mgorse@suse.com>
2304 Date: Thu Jan 10 14:11:56 2013 -0600
2306 Fix invalid memory access handling errors when registering an
2309 Don't free the name until we are done with it.
2311 gi/gimodule.c | 8 ++++----
2312 1 file changed, 4 insertions(+), 4 deletions(-)
2314 commit ecd235959317d39b6d598662c00829e0ec717b17
2315 Author: Martin Pitt <martinpitt@gnome.org>
2316 Date: Thu Jan 10 16:42:46 2013 +0100
2318 Fix (out) arguments in callbacks
2320 Do not ignore the first argument in _pygi_closure_set_out_arguments().
2321 Presumably that has been done to skip over "self", but callbacks
2323 required to have a self argument. As self is never (out), we can
2327 gi/pygi-closure.c | 2 +-
2328 tests/test_gi.py | 4 ----
2329 2 files changed, 1 insertion(+), 5 deletions(-)
2331 commit d8e241e24a816691acbd592775b73defd9aa4f44
2332 Author: Martin Pitt <martinpitt@gnome.org>
2333 Date: Thu Jan 10 15:14:05 2013 +0100
2335 Fix C to Python marshalling of struct pointer arrays
2337 Do not treat an array of pointers to values like an array of values on
2338 marshalling from C. This makes the test_array_boxed_struct_return()
2342 gi/pygi-marshal-to-py.c | 5 +++--
2343 tests/test_gi.py | 2 --
2344 2 files changed, 3 insertions(+), 4 deletions(-)
2346 commit 60544b02f6f98c0b212625ae83b94a4c6debddeb
2347 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
2348 Date: Tue Jan 8 23:22:54 2013 +0200
2352 Most notably this commit contains a test for
2353 Gio.File.replace_contents_async(),
2354 which currently fails. Disable the tests for now as it breaks the
2357 https://bugzilla.gnome.org/show_bug.cgi?id=690525
2359 tests/test_gio.py | 64
2360 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
2361 1 file changed, 64 insertions(+)
2363 commit 118c5eaad045580455515876ba73b9537a8468b4
2364 Author: Martin Pitt <martinpitt@gnome.org>
2365 Date: Thu Jan 10 13:56:11 2013 +0100
2367 Rename test_overrides_gio.py to test_gio.py
2369 As we want to add more tests for non-overridden API.
2371 tests/Makefile.am | 2 +-
2372 tests/test_gio.py | 121
2373 ++++++++++++++++++++++++++++++++++++++++++++
2374 tests/test_overrides_gio.py | 121
2375 --------------------------------------------
2376 3 files changed, 122 insertions(+), 122 deletions(-)
2378 commit 8117e6bce73581e89211371708ff7d5de7d870d4
2379 Author: Martin Pitt <martinpitt@gnome.org>
2380 Date: Thu Jan 10 12:13:16 2013 +0100
2382 Don't let Property.setter() method names define property names
2384 Defining property names in install_properties() is too late when using
2385 @propname.setter decorators; their method names don't define a
2387 nor are they even required to be a valid property identifier.
2389 So change the logic to already fix the property name when using
2391 decorator and use that instead of the member name in
2392 install_properties().
2394 https://bugzilla.gnome.org/show_bug.cgi?id=688971
2396 gi/_gobject/propertyhelper.py | 29 ++++++++++++++++++++++-------
2397 tests/test_properties.py | 18 ++++++++++++++++++
2398 2 files changed, 40 insertions(+), 7 deletions(-)
2400 commit c0bd060521cc1b481995648dbe286b7e2f9ecd80
2401 Author: Martin Pitt <martinpitt@gnome.org>
2402 Date: Wed Jan 9 10:39:36 2013 +0100
2404 tests: Force UTF-8 file name encoding
2406 The test_gi.TestFilename tests fail if the environment specifies
2408 file name encoding. Force it to "UTF-8" for the tests.
2410 https://bugzilla.gnome.org/show_bug.cgi?id=691355
2412 tests/runtests.py | 1 +
2413 1 file changed, 1 insertion(+)
2415 commit c02a00ae9599a661076630b21b7e24e78fb88c29
2416 Author: Martin Pitt <martinpitt@gnome.org>
2417 Date: Tue Jan 8 16:56:40 2013 +0100
2419 Use g-i stack allocation API
2421 Where possible, i. e. when not keeping references across functions,
2423 _load_() methods instead of the _get_() ones from
2424 gobject-introspection, which
2425 is faster and less prone to memory leaks:
2427 g_callable_info_get_arg () → g_callable_info_load_arg ()
2428 g_callable_info_get_return_type() →
2429 g_callable_info_load_return_type ()
2430 g_arg_info_get_type() → g_arg_info_load_type ()
2432 https://bugzilla.gnome.org/show_bug.cgi?id=615982
2434 gi/pygi-argument.c | 16 ++++------
2435 gi/pygi-closure.c | 88
2436 ++++++++++++++++++++++++------------------------------
2437 2 files changed, 45 insertions(+), 59 deletions(-)
2439 commit 23d1f14f553069740465c82eaa937b877c41e0cb
2440 Author: Ray Strode <rstrode@redhat.com>
2441 Date: Wed Dec 19 13:04:32 2012 -0500
2443 pyg_value_from_pyobject: support GArray
2445 This commit adds support for marshalling a python list (or other
2447 returned from signal handlers to GArray, if necessary.
2449 This parallels the implementation written to marshal to (the now
2453 This fixes a crash in rhythmbox as seen downstream here:
2454 https://bugzilla.redhat.com/show_bug.cgi?id=872851
2456 https://bugzilla.gnome.org/show_bug.cgi?id=690514
2458 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
2460 gi/_gobject/pygtype.c | 60
2461 ++++++++++++++++++++++++++++++++++++++++++++++++
2462 tests/test_everything.py | 22 ++++++++++++++++++
2463 2 files changed, 82 insertions(+)
2465 commit 2089dbb117bae769b0303411c2630b6f86dc7d2d
2466 Author: Marko Lindqvist <cazfi74@gmail.com>
2467 Date: Fri Jan 4 07:01:29 2013 +0100
2469 Fix obsolete automake macros
2471 https://bugzilla.gnome.org/show_bug.cgi?id=691101
2473 configure.ac | 3 +--
2474 1 file changed, 1 insertion(+), 2 deletions(-)
2476 commit 6c02ab0ad720780f176192fdc6372aaa178812fd
2477 Author: Simon Feltman <sfeltman@src.gnome.org>
2478 Date: Mon Dec 31 02:53:07 2012 -0800
2480 Change dynamic enum and flag gtype creation to use namespaced naming
2482 Use the combination of g_base_info_get_namespace and
2483 g_base_info_get_name
2484 as the name for registering enum and flag types with glib through
2485 g_enum_register_static and g_flags_register_static. This avoids
2487 with types like GLib.SeekType and Gst.SeekType. Add better exceptions
2488 and memory cleanup for invalid registration problems.
2490 https://bugzilla.gnome.org/show_bug.cgi?id=690455
2492 gi/_gobject/pygenum.c | 6 ++--
2494 ++++++++++++++++++++++++++++++++++++++++++++-------
2495 tests/test_gi.py | 35 +++++++++++++++++++++++
2496 3 files changed, 106 insertions(+), 13 deletions(-)
2498 commit 692c80e11a05e2fb0515580acb22fd6fe65cede1
2499 Author: Dan Horák <dan@danny.cz>
2500 Date: Fri Dec 28 22:12:32 2012 +0100
2502 Fix test for GBytes.compare()
2504 The result of the compare method is defined as equal, less than or
2506 and the test must match to that. The underlaying memcmp() function
2508 values than -1, 0 and 1. For example on architectures where it is
2509 implemented directly
2510 via a CPU instruction like on s390(x) where I can see -2 as a result
2514 https://bugzilla.gnome.org/show_bug.cgi?id=690837
2516 tests/test_gi.py | 4 ++--
2517 1 file changed, 2 insertions(+), 2 deletions(-)
2519 commit 948dbcb223249a08f4398d4ad8861e92e3de0dfa
2520 Author: Jonathan Ballet <jon@multani.info>
2521 Date: Thu Dec 27 16:04:51 2012 +0100
2523 Fix Gtk.UIManager.add_ui_from_string() override for non-ASCII chars
2525 The length argument is the size of the buffer in bytes, not in
2528 https://bugzilla.gnome.org/show_bug.cgi?id=690329
2530 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
2532 gi/overrides/Gtk.py | 2 +-
2533 tests/test_overrides_gtk.py | 7 +++++++
2534 2 files changed, 8 insertions(+), 1 deletion(-)
2536 commit 53bc12a87da824cbfb006a4fd65731edec12ecc7
2537 Author: Mike Gorse <mgorse@suse.com>
2538 Date: Wed Dec 19 20:51:03 2012 -0500
2540 Don't dup strings before passing them to type registration functions
2542 Strings passed to g_enum_register_static and g_flags_register_static
2544 eventually passed to g_quark_from_string, which dups the string
2546 needed and does not take ownership of it, so passing in a
2547 dynamically-allocated
2548 string without freeing it results in a small leak.
2550 https://bugzilla.gnome.org/show_bug.cgi?id=690532
2552 gi/gimodule.c | 2 --
2553 1 file changed, 2 deletions(-)
2555 commit 9454c01f2b1b82d43eea0f72fe9a28ef50065fc9
2556 Author: Carlos Garnacho <carlos@lanedo.com>
2557 Date: Tue Dec 18 22:47:09 2012 +0100
2559 Fix marshalling of arrays of boxed struct values
2561 This fixes methods like gtk_selection_set_with_data(). In such cases
2562 data is passed as an array of struct pointers, so it must be converted
2563 to an array of structs.
2565 https://bugzilla.gnome.org/show_bug.cgi?id=656312
2567 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
2569 gi/pygi-marshal-from-py.c | 6 ++++++
2570 tests/test_gi.py | 12 ++++++++++++
2571 2 files changed, 18 insertions(+)
2573 commit 231d5a7cfc73518b4e2b0c926d4c1ce9a804797e
2574 Author: Simon Feltman <sfeltman@src.gnome.org>
2575 Date: Tue Dec 18 02:03:41 2012 -0800
2577 Add reference counting tests for Object.bind_property
2579 Add tests which ensure transform callbacks and user_data
2580 are propertly ref-counted.
2582 https://bugzilla.gnome.org/show_bug.cgi?id=690397
2584 tests/test_gobject.py | 40 ++++++++++++++++++++++++++++++++++++----
2585 1 file changed, 36 insertions(+), 4 deletions(-)
2587 commit c29e11812d176b1f057074c9bab22c9614ae4f8c
2588 Author: Martin Pitt <martinpitt@gnome.org>
2589 Date: Tue Dec 18 11:43:04 2012 +0100
2591 testhelpermodule.c: Do not unref called method
2593 In _wrap_test_gerror_exception(), do not unref the method
2595 causes a crash when being run with the stricter refcounting/memory
2597 debug-enabled Python builds.
2599 tests/testhelpermodule.c | 1 -
2600 1 file changed, 1 deletion(-)
2602 commit ff0d9106bcd02a6b2c67cc3722481218c599a9f4
2603 Author: Martin Pitt <martinpitt@gnome.org>
2604 Date: Mon Dec 17 23:20:50 2012 +0100
2606 configure.ac: post-release bump to 3.7.4
2609 1 file changed, 1 insertion(+), 1 deletion(-)
2611 commit 061b23d14386c0e54d2c3af113554231bbe85f16
2612 Author: Martin Pitt <martinpitt@gnome.org>
2613 Date: Mon Dec 17 23:18:31 2012 +0100
2617 NEWS | 19 +++++++++++++++++++
2618 1 file changed, 19 insertions(+)
2620 commit a242f02823a63c9dca5d0b1ce84b031221053690
2621 Author: Martin Pitt <martinpitt@gnome.org>
2622 Date: Mon Dec 17 23:11:29 2012 +0100
2624 Add (failing) tests for callbacks with out arguments
2626 Most of these fail and need marshalling fixes.
2628 tests/test_gi.py | 36 ++++++++++++++++++++++++++++++++++++
2629 1 file changed, 36 insertions(+)
2631 commit 449b1ef0d94450c1e457770a093abd6d6c9e6291
2632 Author: Martin Pitt <martinpitt@gnome.org>
2633 Date: Mon Dec 17 22:50:59 2012 +0100
2635 Add tests for internal API
2637 These cover functions like pygobject_new(), pyg_value_from_pyobject()
2639 pyg_value_as_pyobject() that are wrapped by testhelpermodule.c. With
2641 functions can be tested in isolation without the whole GI stack
2644 tests/Makefile.am | 1 +
2645 tests/test_internal_api.py | 73
2646 ++++++++++++++++++++++++++++++++++++++++++++++
2647 2 files changed, 74 insertions(+)
2649 commit e44312139426f51e576ef9e880819542cc224383
2650 Author: Martin Pitt <martinpitt@gnome.org>
2651 Date: Mon Dec 17 18:02:15 2012 +0100
2653 Add support for caller-allocated GArray out arguments
2655 https://bugzilla.gnome.org/show_bug.cgi?id=690041
2657 gi/pygi-cache.c | 2 +-
2658 gi/pygi-invoke.c | 57
2659 ++++++++++++++++++++++++++++++--------------------------
2660 tests/test_gi.py | 5 +++--
2661 3 files changed, 35 insertions(+), 29 deletions(-)
2663 commit f262320ac22b48a9d007c425633f3ca426b7fb4a
2664 Author: Martin Pitt <martinpitt@gnome.org>
2665 Date: Mon Dec 17 16:18:24 2012 +0100
2667 Add (failing) test for caller-allocated GArray return value
2669 Call new GIMarshallingTests.garray_utf8_full_out_caller_allocated()
2671 which reproduces https://bugzilla.gnome.org/show_bug.cgi?id=690041.
2673 The test is failing and causing a segfault right now, so disable it
2677 tests/test_gi.py | 4 ++++
2678 1 file changed, 4 insertions(+)
2680 commit 1cb4c30c3cf19690210010d39b6272965f489c58
2681 Author: Martin Pitt <martinpitt@gnome.org>
2682 Date: Mon Dec 17 15:56:44 2012 +0100
2684 GLib overrides: Avoid calling deprecated GLib.unix_signal_add_full()
2686 glib 2.35.x fixed the API to be GLib.unix_signal_add(). Call the
2688 available, but fall back to GLib.unix_signal_add_full() until we
2692 gi/overrides/GLib.py | 8 ++++++--
2693 1 file changed, 6 insertions(+), 2 deletions(-)
2695 commit 945263a89c3adee61f95d4211cf13b254ad6d51f
2696 Author: Martin Pitt <martinpitt@gnome.org>
2697 Date: Fri Nov 30 14:17:18 2012 +0100
2699 Re-support calling GLib.io_add_watch with an fd or Python file
2701 This does not strictly adhere to the GLib API, but it's very
2703 unlike the other modes, does not change the number or order of
2705 let's keep support for this and drop the deprecation warning.
2707 gi/overrides/GLib.py | 9 +++------
2708 1 file changed, 3 insertions(+), 6 deletions(-)
2710 commit 263b9f97e748746e1d26847a82a4d6e53a42798a
2711 Author: Martin Pitt <martinpitt@gnome.org>
2712 Date: Fri Nov 30 09:04:20 2012 +0100
2714 Robustify test_glib.TestGLib.test_io_add_watch_pyfile
2716 Use a longer timeout to avoid races on slow architectures, and cut
2718 loop as soon as we received all expected events.
2720 tests/test_glib.py | 5 ++++-
2721 1 file changed, 4 insertions(+), 1 deletion(-)
2723 commit 8e4e822cb273db4eb7e6e40f4739eeebee00798a
2724 Author: Martin Pitt <martinpitt@gnome.org>
2725 Date: Fri Nov 30 08:44:56 2012 +0100
2727 test_overrides_gtk: Ignore GVFS warnings from FileChooserDialog
2729 Do not cause GVFS warnings from Gtk.FileChooserDialog (which may
2731 unavailable monitor backends in the test environment) to fail
2734 tests/test_overrides_gtk.py | 12 +++++++++---
2735 1 file changed, 9 insertions(+), 3 deletions(-)
2737 commit d47283936b4c0b5e8b6ede8886c4badbf6d6e694
2738 Author: Martin Pitt <martinpitt@gnome.org>
2739 Date: Thu Nov 29 16:45:49 2012 +0100
2741 pygtkcompat: Work around IndexError on large flags
2743 On 32 bit systems pygtkcompat currently fails with
2745 File "pygtkcompat/pygtkcompat.py", line 74, in _install_enums
2746 name = flag.value_names[-1].replace(modname + '_', '')
2747 IndexError: cannot fit 'int' into an index-sized integer
2749 on 32 bit systems as some flags in Gdk are too large to fit into a
2751 "long". Work around this crash until this gets fixed properly
2755 pygtkcompat/pygtkcompat.py | 7 ++++++-
2756 1 file changed, 6 insertions(+), 1 deletion(-)
2758 commit 3fa31b1a7936c556e76bd8a42030567c6a867e0d
2759 Author: Martin Pitt <martinpitt@gnome.org>
2760 Date: Thu Nov 29 14:11:29 2012 +0100
2762 Fix pyg_value_from_pyobject() range check for uint
2764 We cannot use PYGLIB_PyLong_AsLong() for the range check, as on 32
2766 this overflows large uints. Use PyLong_AsLongLong() separately to
2768 negative values, and PyLong_AsUnsignedLong() for the actual
2771 gi/_gobject/pygtype.c | 12 ++++++++----
2772 1 file changed, 8 insertions(+), 4 deletions(-)
2774 commit 05d767a602571805e80099f1db47ad4164575c53
2775 Author: Martin Pitt <martinpitt@gnome.org>
2776 Date: Thu Nov 29 13:30:56 2012 +0100
2778 Fix tests to work with g-i 1.34.2
2780 Do not try to call GIMarshallingTests API which isn't present
2782 against g-i 1.34.2. This can be dropped when the g-i dependency gets
2786 tests/test_gi.py | 8 +++++---
2787 1 file changed, 5 insertions(+), 3 deletions(-)
2789 commit a107c928ef85b4e3b9075a408774b74879586029
2790 Author: Martin Pitt <martinpitt@gnome.org>
2791 Date: Thu Nov 29 13:13:14 2012 +0100
2793 Fix wrong refcount for GVariant property defaults
2795 Drop the bogus DECREF for the GVariant default argument, as we need
2797 around in the class. Otherwise the refcount drops to zero, and
2799 garbage collection run causes segfaults.
2801 https://bugzilla.gnome.org/show_bug.cgi?id=689267
2803 gi/_gobject/gobjectmodule.c | 1 -
2804 1 file changed, 1 deletion(-)
2806 commit 9b7dd1318cf540d5f8d03655da03534ed72707ec
2807 Author: Martin Pitt <martinpitt@gnome.org>
2808 Date: Thu Nov 29 11:44:22 2012 +0100
2810 test_gi: Fix TestFilename failure under C locale
2812 tests/test_gi.py | 1 +
2813 1 file changed, 1 insertion(+)
2815 commit 37ab227555ba8628b4fa99aa286bd046208745ed
2816 Author: Martin Pitt <martinpitt@gnome.org>
2817 Date: Thu Nov 29 11:16:26 2012 +0100
2819 Fix array arguments on 32 bit
2821 In _pygi_argument_from_object() we never put the actual element
2823 constructed array. The array contains GIArguments, or bytes in the
2825 passing a string as an array.
2827 This happened to work on 64 bit machines where GIArgument and char*
2829 same size, but not on 32 bit machines
2830 (test_gi.TestPropertiesObject.test_strv
2833 gi/pygi-argument.c | 6 +++++-
2834 1 file changed, 5 insertions(+), 1 deletion(-)
2836 commit 7bd852fc82f92dac8723e18b61a56ed1b1a1b81c
2837 Author: Martin Pitt <martinpitt@gnome.org>
2838 Date: Thu Nov 29 10:20:27 2012 +0100
2840 test_gi: Disable failing check in test_module_name()
2842 When calling this under some conditions, such as
2844 TEST_NAMES='test_thread test_gi.TestOverrides'
2846 then the module name of GObject.InitiallyUnowned comes out as
2847 "importlib._bootstrap" instead of "gi.repository.GObject". To be
2849 Add a couple of other tests to ensure that it is not broken in
2852 tests/test_gi.py | 10 +++++++++-
2853 1 file changed, 9 insertions(+), 1 deletion(-)
2855 commit 94a6cc93a104b22dcee2ac73cae36b83a4b5d9c1
2856 Author: Martin Pitt <martinpitt@gnome.org>
2857 Date: Thu Nov 29 09:40:32 2012 +0100
2859 test_gdbus: Drop failure if timeout=0 works differently
2861 In some test environments we do not actually get a timeout exceptions
2863 timeout=0, but a different error message. So only ensure that we
2867 tests/test_gdbus.py | 4 +++-
2868 1 file changed, 3 insertions(+), 1 deletion(-)
2870 commit c3b2f5fee573aa03a8a9563efbbbc1bc4fa25da7
2871 Author: Martin Pitt <martinpitt@gnome.org>
2872 Date: Thu Nov 29 09:29:05 2012 +0100
2874 test_glib: Drop some assumptions about XDG dirs
2876 Some directories do not exist in minimal test environments, and this
2878 important for testing that calling these GLib functions works.
2880 tests/test_glib.py | 8 +++++---
2881 1 file changed, 5 insertions(+), 3 deletions(-)
2883 commit e45c690bc83b6d513887649de88965a9752e316d
2884 Author: Martin Pitt <martinpitt@gnome.org>
2885 Date: Wed Nov 28 12:20:31 2012 +0100
2887 Add backwards compatible API for GLib.unix_signal_add_full()
2889 This was renamed to GLib.unix_signal_add() in
2890 http://git.gnome.org/browse/glib/commit/?id=fca30c3e165
2892 Provide a backwards compatible shim with a deprecation message.
2894 gi/overrides/GLib.py | 10 ++++++++++
2895 1 file changed, 10 insertions(+)
2897 commit 00b9ea32d766ae486249f402d9dee511fd9f53a9
2898 Author: Martin Pitt <martinpitt@gnome.org>
2899 Date: Mon Nov 26 08:11:36 2012 +0100
2901 Drop MININT64/MAXUINT64 workaround
2903 g-i 1.34.2 properly handles 64 bit constants now, so bug 685022 has
2905 properly now. Drop the workaround in the overrides to manually
2909 gi/overrides/GLib.py | 7 -------
2910 1 file changed, 7 deletions(-)
2912 commit d16604f64d25d18409270d7537fc993113b65c19
2913 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
2914 Date: Fri Nov 23 19:57:56 2012 +0200
2916 Fix maximum and minimum ranges of TYPE_(U)INT64 properties
2918 In corner case where properties use values 2 ** 62 < ±x < 2 ** 63 for
2919 TYPE_INT64 and 2 ** 63 < x < 2 ** 64 for TYPE_UINT64 they will raise
2920 warnings even tough values are valid.
2922 https://bugzilla.gnome.org/show_bug.cgi?id=688949
2924 gi/_gobject/propertyhelper.py | 6 +++---
2925 tests/test_properties.py | 11 ++++-------
2926 2 files changed, 7 insertions(+), 10 deletions(-)
2928 commit 93e9e309d8ba54884881cfca203e8bc355c2727e
2929 Author: Martin Pitt <martinpitt@gnome.org>
2930 Date: Wed Nov 21 12:58:07 2012 +0100
2932 Test virtual methods with in and out arguments
2934 ... and both caller and callee out argument allocation.
2936 This came up in https://bugzilla.gnome.org/show_bug.cgi?id=688783
2938 tests/test_gi.py | 13 +++++++++++++
2939 1 file changed, 13 insertions(+)
2941 commit 25a9cfb043448efbab9168ef66f852cc34b9909b
2942 Author: Martin Pitt <martinpitt@gnome.org>
2943 Date: Tue Nov 20 07:00:44 2012 +0100
2945 Ship pygi-convert.sh in tarballs
2947 https://bugzilla.gnome.org/show_bug.cgi?id=688697
2950 1 file changed, 1 insertion(+)
2952 commit 4a8d31e6f56a3f1360bdb880ffd9a6eb139c02d8
2953 Author: Martin Pitt <martinpitt@gnome.org>
2954 Date: Mon Nov 19 15:25:38 2012 +0100
2956 Post-release version bump to 3.7.3
2959 1 file changed, 1 insertion(+), 1 deletion(-)
2961 commit d0ed62afbc4cada0bf6abc4f8754e5a8d73036e4
2962 Author: Martin Pitt <martinpitt@gnome.org>
2963 Date: Mon Nov 19 15:13:28 2012 +0100
2967 NEWS | 47 +++++++++++++++++++++++++++++++++++++++++++++++
2968 1 file changed, 47 insertions(+)
2970 commit 29dc7425dd7584411b52ef07b50f929ed119a000
2971 Author: Martin Pitt <martinpitt@gnome.org>
2972 Date: Mon Nov 19 14:37:02 2012 +0100
2976 Commit e617f76e forgot to rename the file in EXTRA_DIST
2978 tests/Makefile.am | 2 +-
2979 1 file changed, 1 insertion(+), 1 deletion(-)
2981 commit 567aae6e7c56bb89f53fcfccb1b0bc732f85b847
2982 Author: Martin Pitt <martinpitt@gnome.org>
2983 Date: Mon Nov 19 14:34:13 2012 +0100
2985 tests: Fix unicode vs. str issues in Python 2
2987 Some of the tests assumed a system default encoding of UTF-8, which
2989 in Python 2 unless pygtkcompat is imported. Commit e617f76 uncovered
2992 tests/test_gi.py | 8 ++++----
2993 tests/test_iochannel.py | 16 +++++++++-------
2994 2 files changed, 13 insertions(+), 11 deletions(-)
2996 commit 509e5ac1a6dd8504e89c33c559fe4f72156a1ddf
2997 Author: Martin Pitt <martinpitt@gnome.org>
2998 Date: Mon Nov 19 14:20:56 2012 +0100
3000 tests: Fix previous commit to fail properly on test failures
3002 tests/Makefile.am | 2 +-
3003 1 file changed, 1 insertion(+), 1 deletion(-)
3005 commit e617f76e5b0c301c3ae92e1091aa86792de4d8e8
3006 Author: Martin Pitt <martinpitt@gnome.org>
3007 Date: Mon Nov 19 14:09:14 2012 +0100
3009 tests: Run pygtkcompat tests separately
3011 pygtkcompat changes the global namespace, in particular patching
3013 overrides. Run the tests in a separate process so that the main
3015 potentially affected by the pygtkcompat test.
3017 runtests.py runs all tests/test_*.py by default, so rename to
3018 compat_test_pygtk.py and run that explicitly after successfully
3022 See https://bugzilla.gnome.org/show_bug.cgi?id=688219
3024 tests/Makefile.am | 3 +
3025 tests/compat_test_pygtk.py | 147
3026 +++++++++++++++++++++++++++++++++++++++++++++
3027 tests/test_pygtkcompat.py | 147
3028 ---------------------------------------------
3029 3 files changed, 150 insertions(+), 147 deletions(-)
3031 commit 8180b8092f99b7c9f0dee1742418efdbd23ab330
3032 Author: Simon Feltman <sfeltman@src.gnome.org>
3033 Date: Thu Nov 15 02:51:52 2012 -0800
3035 Move pygtkcompat into sibling package of gi
3037 Move the pygtkcompat module out of the gi package and into
3038 a sibling package as follows:
3044 This allows for pygtkcompat to grow without affecting the gi package.
3045 Add deprecation message to gi/pygtkcompat.py
3047 https://bugzilla.gnome.org/show_bug.cgi?id=688219
3051 gi/pygtkcompat.py | 524
3052 +++------------------------------------------
3053 pygtkcompat/Makefile.am | 15 ++
3054 pygtkcompat/__init__.py | 20 ++
3055 pygtkcompat/pygtkcompat.py | 501
3056 +++++++++++++++++++++++++++++++++++++++++++
3057 tests/test_pygtkcompat.py | 6 +-
3058 7 files changed, 565 insertions(+), 504 deletions(-)
3060 commit f736694d09e9d0fca4769d9f1f34ec34e6354d87
3061 Author: Martin Pitt <martinpitt@gnome.org>
3062 Date: Mon Nov 19 13:59:20 2012 +0100
3064 Bump g-i dependency to >= 1.34.2
3066 We need this for updated GLib annotations and new test API.
3069 1 file changed, 1 insertion(+), 1 deletion(-)
3071 commit f6c994c76cd8010460b76bf455e1a341348d735b
3072 Author: Martin Pitt <martinpitt@gnome.org>
3073 Date: Mon Nov 19 10:39:26 2012 +0100
3075 test_gi: Fix failing tests with g-i 1.34.x
3077 Skip tests which require g-i test API from 1.35.x when building
3081 tests/test_gi.py | 6 ++++++
3082 1 file changed, 6 insertions(+)
3084 commit 8ce0d028fe79e2ce52cfecbb682afba6651a7a70
3085 Author: Martin Pitt <martinpitt@gnome.org>
3086 Date: Wed Nov 14 11:57:21 2012 +0100
3088 test_gi: Add tests for type "filename"
3090 tests/test_gi.py | 30 ++++++++++++++++++++++++++++++
3091 1 file changed, 30 insertions(+)
3093 commit 3408a151e49d9520f54ad9bc04f620c7777125ec
3094 Author: Martin Pitt <martinpitt@gnome.org>
3095 Date: Wed Nov 14 11:09:33 2012 +0100
3097 Drop foreign GVariant registration/support
3099 This is dead code. We have tests for GVariant in and out method
3101 callback arguments and return values, properties, etc to ensure that
3105 gi/Makefile.am | 2 --
3106 gi/pygi-foreign-gvariant.c | 63
3107 ----------------------------------------------
3108 gi/pygi-foreign-gvariant.h | 41 ------------------------------
3109 gi/pygi-foreign.c | 8 +-----
3110 4 files changed, 1 insertion(+), 113 deletions(-)
3112 commit 47c46d847bb69ebc139d5e0b6c609da6f27201f2
3113 Author: Martin Pitt <martinpitt@gnome.org>
3114 Date: Wed Nov 14 10:33:24 2012 +0100
3116 test_properties.py: Fix PEP-8 errors
3118 tests/test_properties.py | 3 +--
3119 1 file changed, 1 insertion(+), 2 deletions(-)
3121 commit 78f49e6253500bfa382ce6c07412613d8f7f9d7f
3122 Author: Martin Pitt <martinpitt@gnome.org>
3123 Date: Wed Nov 14 10:14:36 2012 +0100
3125 Add support for GVariant properties defined in Python
3127 gi/_gobject/gobjectmodule.c | 13 +++++++
3128 gi/_gobject/propertyhelper.py | 11 ++++--
3129 tests/test_properties.py | 81
3130 +++++++++++++++++++++++++++++++++++++------
3131 3 files changed, 91 insertions(+), 14 deletions(-)
3133 commit f3b77f4304be20b7422c262b973f3eeb540c4bf6
3134 Author: Martin Pitt <martinpitt@gnome.org>
3135 Date: Wed Nov 14 09:33:43 2012 +0100
3137 pyg_value_from_pyobject(): Simplify GVariant type check
3139 Use pyg_type_from_object_strict() instead of the much more expensive
3141 pyg_get_gvariant_type().
3143 gi/_gobject/pygtype.c | 23 +----------------------
3144 1 file changed, 1 insertion(+), 22 deletions(-)
3146 commit 0c0fb8ef88a2c61cf95cd1cb96f6d5f296cad5fc
3147 Author: Martin Pitt <martinpitt@gnome.org>
3148 Date: Wed Nov 14 09:27:42 2012 +0100
3150 test_everything: Add test for callback returning wrong type
3152 This covers the "expected a GVariant, got something else" check in
3153 pyg_value_from_pyobject().
3155 tests/test_everything.py | 16 ++++++++++++++++
3156 1 file changed, 16 insertions(+)
3158 commit 84db7109dfbaf443758a5a4871ee385686d2703d
3159 Author: Martin Pitt <martinpitt@gnome.org>
3160 Date: Wed Nov 14 08:42:53 2012 +0100
3162 Add type checking to GVariant argument assignment
3164 gi/pygi-argument.c | 7 ++++++-
3165 tests/test_gi.py | 5 ++---
3166 2 files changed, 8 insertions(+), 4 deletions(-)
3168 commit e944caf5ff53143a98dd4a5578530996358013ec
3169 Author: Martin Pitt <martinpitt@gnome.org>
3170 Date: Wed Nov 14 08:22:35 2012 +0100
3172 Add support for GVariant properties defined in C
3174 Note that trying to assign a non-GVariant value to a GVariant property
3177 gi/pygi-property.c | 6 +++++-
3178 tests/test_gi.py | 21 +++++++++++++++++++++
3179 2 files changed, 26 insertions(+), 1 deletion(-)
3181 commit 614cc9594cb34d92a6d4b00773427d4fb023c65e
3182 Author: Martin Pitt <martinpitt@gnome.org>
3183 Date: Wed Nov 14 07:09:58 2012 +0100
3185 test_unknown.py: Check property interface
3187 NB that the property implementation in test-unknown.c does not
3189 anything, we just want to assert that the properties are properly
3192 tests/test_unknown.py | 10 ++++++++++
3193 1 file changed, 10 insertions(+)
3195 commit 9d7771affcf788d251cced65da56fc2773a278b3
3196 Author: Martin Pitt <martinpitt@gnome.org>
3197 Date: Wed Nov 14 07:01:24 2012 +0100
3199 Fix previous commit for Python 2
3201 gi/pygi-foreign-cairo.c | 2 +-
3202 1 file changed, 1 insertion(+), 1 deletion(-)
3204 commit 997d4e70b2793039d916acf8921087576622152e
3205 Author: Martin Pitt <martinpitt@gnome.org>
3206 Date: Wed Nov 14 06:57:04 2012 +0100
3208 pygi-foreign-cairo.c: Use official py3cairo API
3210 Do not clobber py3cairo's Pycairo_CAPI global variable, and use
3212 instead of our own code.
3214 gi/pygi-foreign-cairo.c | 4 ++--
3215 1 file changed, 2 insertions(+), 2 deletions(-)
3217 commit cec5d1a55347b81c1ae4ddc47ea2b4fbf964d239
3218 Author: Martin Pitt <martinpitt@gnome.org>
3219 Date: Wed Nov 14 06:47:23 2012 +0100
3221 Drop dead code from pygi-callbacks.[hc]
3223 _pygi_create_callback() and _pygi_scan_for_callbacks() are not
3225 _pygi_destroy_notify_create() fits better in pygi-marshal-from-py.c,
3227 there, and drop pygi-callbacks.[hc] completely.
3229 gi/Makefile.am | 2 -
3230 gi/pygi-callbacks.c | 217
3231 ----------------------------------------------
3232 gi/pygi-callbacks.h | 48 ----------
3233 gi/pygi-marshal-from-py.c | 44 ++++++++++
3234 gi/pygi-private.h | 1 -
3235 5 files changed, 44 insertions(+), 268 deletions(-)
3237 commit 55070cc9c98993ccda7ebcb05783fad182b2eb11
3238 Author: Carlos Garnacho <carlos@lanedo.com>
3239 Date: Tue Nov 13 18:24:28 2012 +0100
3241 Fix marshalling of arrays of struct pointers to Python
3243 Fill in the pointer to the struct, not the pointer to the
3244 array position. This makes the GdkAtom** argument in
3245 gtk_clipboard_wait_for_targets() work.
3247 https://bugzilla.gnome.org/show_bug.cgi?id=678620
3249 gi/pygi-marshal-to-py.c | 5 ++++-
3250 1 file changed, 4 insertions(+), 1 deletion(-)
3252 commit fc021516552b1720bacc4afe6b7a610c413194c4
3253 Author: Martin Pitt <martinpitt@gnome.org>
3254 Date: Wed Nov 14 06:27:17 2012 +0100
3256 test_atoms.py: Add test for out array
3258 This reproduces https://bugzilla.gnome.org/show_bug.cgi?id=678620
3260 tests/test_atoms.py | 19 +++++++++++++++++++
3261 1 file changed, 19 insertions(+)
3263 commit e2790d22610aae773635d4caef2458082a307283
3264 Author: Martin Pitt <martinpitt@gnome.org>
3265 Date: Tue Nov 13 16:38:36 2012 +0100
3267 Fix Gdk.Atom str()/repr() fallback
3269 Fix regression in commit 6713618: If an atom does not have a name,
3271 recursively call our own str()/repr() methods, but just print
3272 "Gdk.Atom<atom_id>".
3274 gi/overrides/Gdk.py | 6 ++++--
3275 1 file changed, 4 insertions(+), 2 deletions(-)
3277 commit 9879fd41a7d8d72f8db9cadf5b1ee29fc4d5d6bf
3278 Author: Martin Pitt <martinpitt@gnome.org>
3279 Date: Tue Nov 13 13:16:14 2012 +0100
3281 test_gi: Stop using GLib.bytes.unref_to_array()
3283 This method isn't safe for GI, and should be (skip)ed. Use get_data()
3285 which is safe and works fine.
3287 See https://bugzilla.gnome.org/show_bug.cgi?id=688242
3289 tests/test_gi.py | 6 ------
3290 1 file changed, 6 deletions(-)
3292 commit 671361841de797ef62b59d1d7568fc3d431898c7
3293 Author: Martin Pitt <martinpitt@gnome.org>
3294 Date: Tue Nov 13 12:56:11 2012 +0100
3296 Fix Gdk.Atom to have a proper str() and repr()
3298 Gdk.Atom is not proper GType'd class, so we cannot override the
3300 Just override its __str__() and __repr__() methods so that printing
3302 something sensible. For nameless/invalid atoms, fall back to the old
3303 <void at 0xdeadbeef> output to help with debugging.
3305 https://bugzilla.gnome.org/show_bug.cgi?id=678620
3307 gi/overrides/Gdk.py | 21 +++++++++++++++++++++
3308 tests/test_atoms.py | 12 ++++++++++++
3309 2 files changed, 33 insertions(+)
3311 commit 56e62858e9c2bdde3186f5cf4e83be94fb4e5306
3312 Author: Simon Feltman <sfeltman@src.gnome.org>
3313 Date: Tue Nov 13 02:53:34 2012 -0800
3315 Make sure g_value_set_boxed does not cause a buffer overrun with
3318 Add NULL terminator to gchar** passed to g_value_set_boxed to
3319 make sure it does not overrun memory in pygi_set_property_value_real.
3320 Add MALLOC_CHECK_=3 to "make check" which prints an error and aborts
3323 https://bugzilla.gnome.org/show_bug.cgi?id=688232
3325 gi/pygi-property.c | 8 ++++++--
3326 tests/Makefile.am | 1 +
3327 2 files changed, 7 insertions(+), 2 deletions(-)
3329 commit ca11ec124fdd3fb2b67efdeb3ac93aaeb8b3fd83
3330 Author: Martin Pitt <martinpitt@gnome.org>
3331 Date: Mon Nov 12 08:35:28 2012 +0100
3333 types.py: Fix PEP-8 violation
3336 1 file changed, 1 insertion(+), 1 deletion(-)
3338 commit df589458358d7e7bf178dff4e6ad937a70f806e3
3339 Author: Simon Feltman <sfeltman@src.gnome.org>
3340 Date: Sun Nov 11 22:26:19 2012 -0800
3342 Fix leaks with GValues holding boxed and object types
3344 Expose read access to PyGIBoxed.free_on_dealloc.
3345 Add GObject.Value.__del__ override and call unset() to
3346 correctly free reference counts.
3348 https://bugzilla.gnome.org/show_bug.cgi?id=688137
3350 gi/overrides/GObject.py | 9 +++++++++
3351 gi/pygi-boxed.c | 12 ++++++++++++
3352 tests/test_gi.py | 2 --
3353 3 files changed, 21 insertions(+), 2 deletions(-)
3355 commit c01c95b9fb3d726385efac945f6d1270ae65d109
3356 Author: Simon Feltman <sfeltman@src.gnome.org>
3357 Date: Sun Nov 11 19:46:15 2012 -0800
3359 Add expectantly failing unittests for GValue boxed/object leaks
3361 https://bugzilla.gnome.org/show_bug.cgi?id=688137
3363 tests/test_gi.py | 80
3364 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3365 1 file changed, 80 insertions(+)
3367 commit 13629f5a9c9a7022f3521a3616d9ce8fa4a6161b
3368 Author: Simon Feltman <s.feltman@gmail.com>
3369 Date: Thu Aug 16 15:09:08 2012 -0700
3371 Add doc strings showing method signatures for gi methods
3373 Add signature based doc string to all methods pulled in from
3374 introspection. For example: Gtk.SpinButton.get_icon_area.__doc__
3375 get_icon_area(self, icon_pos:Gtk.EntryIconPosition) ->
3376 icon_area:cairo.RectangleInt
3378 https://bugzilla.gnome.org/show_bug.cgi?id=681967
3380 gi/overrides/GIMarshallingTests.py | 1 +
3381 gi/pygi-info.c | 103
3382 +++++++++++++++++++++++++++++++++----
3383 gi/pygi-type.c | 60 +++++++++++++++++++++
3384 gi/pygi-type.h | 1 +
3386 ++++++++++++++++++++++++++-------
3387 tests/test_gi.py | 30 +++++++++++
3388 6 files changed, 259 insertions(+), 28 deletions(-)
3390 commit 7b7277f3cc099280f8e2d6cf6693490290fedc24
3391 Author: Simon Feltman <sfeltman@src.gnome.org>
3392 Date: Fri Nov 9 19:17:03 2012 -0800
3394 Set Property instance doc string and blurb to getter doc string
3396 Assign Property getter __doc__ strings or explicit blurb parameters
3397 to the Property instances __doc__ attribute. This clobbers the
3398 default Property classes lengthy and unhelpful doc string in the case
3401 https://bugzilla.gnome.org/show_bug.cgi?id=688025
3403 gi/_gobject/propertyhelper.py | 10 +++++++---
3404 tests/test_properties.py | 14 ++++++++++----
3405 2 files changed, 17 insertions(+), 7 deletions(-)
3407 commit c5343d329ebb452d97afac30e4120ebab8477556
3408 Author: Martin Pitt <martinpitt@gnome.org>
3409 Date: Mon Nov 12 07:47:02 2012 +0100
3411 tests: Fix for Python 2
3413 Add quirks for Python 2's string handling, and disable the
3414 Everything.test_array_gint8_in() as there seems to be no way of
3418 tests/test_everything.py | 7 +++++--
3419 1 file changed, 5 insertions(+), 2 deletions(-)
3421 commit 964f33ca3a74bfb7d850f136d0844ac1551d36e9
3422 Author: Martin Pitt <martinpitt@gnome.org>
3423 Date: Sat Nov 10 15:52:15 2012 +0100
3425 test_everything: Add tests for more Regress data and container types
3427 Add more tests for Regress' data and container type test API.
3429 This detects a number of bugs, which have been marked as expected
3431 disabled completely for the cases where they cause crashes:
3433 * unsigned enums with values >= 0x80000000 do not work
3434 * nested ghashes in return values do not work
3435 * array length arguments in callbacks are passed instead of
3438 tests/test_everything.py | 156
3439 ++++++++++++++++++++++++++++++++++++++++++++++-
3440 1 file changed, 154 insertions(+), 2 deletions(-)
3442 commit 476e29d1ba3eda92cc021710017bce4ec252e5b5
3443 Author: Martin Pitt <martinpitt@gnome.org>
3444 Date: Fri Nov 9 18:45:22 2012 +0100
3446 test_everything: Add tests for Regress type tests
3448 Add tests for all the data type handling tests of g-i's Regress
3451 tests/test_everything.py | 183
3452 +++++++++++++++++++++++++++++++++++++++++++++++
3453 1 file changed, 183 insertions(+)
3455 commit 0d7974396e8379b518403983d9d13629066680d7
3456 Author: Martin Pitt <martinpitt@gnome.org>
3457 Date: Fri Nov 9 18:44:50 2012 +0100
3459 Add GObject.G_MINSSIZE
3461 gi/_gobject/gobjectmodule.c | 1 +
3462 gi/overrides/GObject.py | 2 +-
3463 2 files changed, 2 insertions(+), 1 deletion(-)
3465 commit b800a6903300dbe9435ed8eb3677eb9c0536ec31
3466 Author: Martin Pitt <martinpitt@gnome.org>
3467 Date: Fri Nov 9 16:02:00 2012 +0100
3469 Fix marshalling of GByteArrays
3471 In _pygi_marshal_from_py_array(), set the array length after copying
3473 in the GI_TYPE_TAG_UINT8 case (which applies for GByteArrays),
3475 will always come out as zero length.
3477 Enable the TestGByteArray.test_bytearray_none_in() test case as that
3480 gi/pygi-marshal-from-py.c | 1 +
3481 tests/test_gi.py | 3 +--
3482 2 files changed, 2 insertions(+), 2 deletions(-)
3484 commit fa568949c46dd4b537357f1af74d1f675294b760
3485 Author: Martin Pitt <martinpitt@gnome.org>
3486 Date: Fri Nov 9 15:23:37 2012 +0100
3488 Fix marshalling of ssize_t to smaller ints
3490 Add missing marshalling cases for (u)int8 and (u)int16. This fixes the
3491 TestArray.test_array_in test, so drop the expected failure.
3493 gi/pygi-marshal-from-py.c | 30 +++++++++++++++++++++++++++++-
3494 tests/test_gi.py | 2 --
3495 2 files changed, 29 insertions(+), 3 deletions(-)
3497 commit 5a5940a0a0704be8e222d4cad6cedda1ad3e0f71
3498 Author: Martin Pitt <martinpitt@gnome.org>
3499 Date: Fri Nov 9 09:37:00 2012 +0100
3501 test_gi: Enable GByteArray constructor tests
3503 GByteArray annotations have been fixed in GLib now, enable the
3506 Drop the redundant disabled_test_bytearray_none_in_from_bytes()
3508 is the same as disabled_test_bytearray_none_in().
3510 tests/test_gi.py | 16 ++++------------
3511 1 file changed, 4 insertions(+), 12 deletions(-)
3513 commit e2c545896ab08b1f1885b502a8472db83f193d08
3514 Author: Martin Pitt <martinpitt@gnome.org>
3515 Date: Fri Nov 9 09:11:38 2012 +0100
3517 test_gi: Enable GBytes test cases
3519 GBytes annotations are fixed in GLib now, enable the test case and
3521 for g_bytes_new_take() and g_bytes_{compare,equal}().
3523 Please note that calling unref_to_array() on a GBytes object that
3525 ourselves currently causes a double free crash, so disable that part
3528 tests/test_gi.py | 30 +++++++++++++++++++++++++-----
3529 1 file changed, 25 insertions(+), 5 deletions(-)
3531 commit 1ba4e201f86ffa28c645d7c9eea99cf31080ea43
3532 Author: Martin Pitt <martinpitt@gnome.org>
3533 Date: Fri Nov 9 08:26:29 2012 +0100
3535 test_gi: Add missing data type tests from GIMarshallingTests
3537 Add tests for types time_t, GBytes, GByteArray, and various variants
3539 around GValues, flags, enums, arrays, and boxed structs. This tests
3541 is provided by GIMarshallingTests, but which we did not cover yet.
3543 This detects a number of bugs in annotations and our
3544 marshalling. These have
3545 been marked as expected failure, or disabled completely for the
3549 tests/test_gi.py | 152
3550 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
3551 1 file changed, 152 insertions(+)
3553 commit 0456d9c892b76ed79134230a4a8610a23c602964
3554 Author: Martin Pitt <martinpitt@gnome.org>
3555 Date: Fri Nov 9 06:44:46 2012 +0100
3557 autogen.sh: Only enable code coverage if lcov is installed
3559 Otherwise we break minimal build environments.
3561 autogen.sh | 8 +++++++-
3562 1 file changed, 7 insertions(+), 1 deletion(-)
3564 commit 76a3acebf73f930c541d0f30249f67d254f948ab
3565 Author: Martin Pitt <martinpitt@gnome.org>
3566 Date: Fri Nov 9 06:41:58 2012 +0100
3568 Lower autoconf dependency to 2.68 again
3571 1 file changed, 1 insertion(+), 1 deletion(-)
3573 commit f1a5f1b92d577c542d4258e63e595d4da9acd484
3574 Author: Martin Pitt <martinpitt@gnome.org>
3575 Date: Thu Nov 8 14:54:30 2012 +0100
3577 Add support for lcov code coverage
3579 Use gnome-common's new code coverage flags. Default to enabling
3581 in autogen.sh (but not for dist).
3583 To use this, run "make check-code-coverage" after building.
3588 configure.ac | 6 ++++++
3589 4 files changed, 10 insertions(+), 1 deletion(-)
3591 commit e46af4aba220cfaf4b84a9be847f3363da556993
3592 Author: Martin Pitt <martinpitt@gnome.org>
3593 Date: Wed Nov 7 17:14:22 2012 +0100
3595 Update documentation files
3597 Update AUTHORS to have the current maintainers.
3599 Update HACKING to drop Tomeu's GNOME login (this should be set in
3602 Update INSTALL to current upstream version.
3607 +++++++++++++++++++++++++++++++++++++++++++---------------------
3608 3 files changed, 267 insertions(+), 130 deletions(-)
3610 commit 06f5ed0ebabce34eca6bc6de80221cba6453feec
3611 Author: Martin Pitt <martinpitt@gnome.org>
3612 Date: Wed Nov 7 17:08:11 2012 +0100
3614 Quiesce automake output
3616 Use $(AM_V_GEN) with custom $(LINK) commands, and avoid error
3618 existing symlinks on rebuilds.
3620 gi/Makefile.am | 2 +-
3621 gi/_glib/Makefile.am | 2 +-
3622 gi/_gobject/Makefile.am | 2 +-
3623 tests/Makefile.am | 6 +++---
3624 4 files changed, 6 insertions(+), 6 deletions(-)
3626 commit 37270de8ead0b281a1824ff204a4aa9686a7225b
3627 Author: Martin Pitt <martinpitt@gnome.org>
3628 Date: Wed Nov 7 16:50:07 2012 +0100
3630 Drop unused variable, fail builds on those
3632 Build with -Werror=unused-variable, as these could hide programming
3634 incomplete refactoring, and are not platform dependent.
3636 Drop unused variable in pyg_type_add_interfaces().
3639 gi/_gobject/gobjectmodule.c | 1 -
3640 2 files changed, 1 insertion(+), 1 deletion(-)
3642 commit 495fd98555e0c89724bb8fa9478dc096c5d61e22
3643 Author: Martin Pitt <martinpitt@gnome.org>
3644 Date: Wed Nov 7 16:37:04 2012 +0100
3646 configure.ac: Drop maintainer mode, modernize libtool declarations
3648 Use all arguments of AC_INIT.
3650 AM_MAINTAINER_MODE is discouraged now, drop it.
3652 Use LT_PREREQ and LT_INIT for libtool initialization instead of
3656 See https://live.gnome.org/GnomeGoals/ModernAutotools
3658 configure.ac | 19 ++++++-------------
3659 1 file changed, 6 insertions(+), 13 deletions(-)
3661 commit 059d0cb879fe5a7b0296ec21f3bfcb64c8596cb0
3662 Author: Martin Pitt <martinpitt@gnome.org>
3663 Date: Wed Nov 7 16:21:13 2012 +0100
3665 autoupdate configure.ac
3667 Result of "autoupdate", with slight manual beautification.
3669 See https://live.gnome.org/GnomeGoals/ModernAutotools
3671 configure.ac | 21 +++++++++------------
3672 1 file changed, 9 insertions(+), 12 deletions(-)
3674 commit a932446e6648ecd98c9038298b18c6fbd36c01aa
3675 Author: Jose Rostagno <joserostagno@vijona.com.ar>
3676 Date: Mon Nov 5 14:26:05 2012 -0300
3678 pygi-convert: remove deprecated GLib → GObject conversions
3680 Using these functions from the GObject module is deprecated now,
3684 pygi-convert.sh | 5 -----
3685 1 file changed, 5 deletions(-)
3687 commit 21076d4b8f3ec8e253ca236fa3b20b07fde237fe
3688 Author: Simon Feltman <sfeltman@src.gnome.org>
3689 Date: Wed Nov 7 03:49:24 2012 -0800
3691 Use hasattr when testing for __info__ when finding vfuncs
3693 Change gi.types.find_vfunc_info_in_interface to use hasattr
3694 when finding vfuncs. Using '__info__' in __dict__ was skipping
3695 overridden interfaces which don't directly contain the __info__.
3698 1 file changed, 1 insertion(+), 1 deletion(-)
3700 commit 1b5c9b3d1499b3bc59afb297672abc671e175546
3701 Author: Martin Pitt <martinpitt@gnome.org>
3702 Date: Wed Nov 7 12:05:24 2012 +0100
3704 tests: Ensure that the fatal mask is always reset
3706 On test case failures the fatal mask might be left in a wrong state,
3708 with "finally" that it is reset on failed tests as well, to avoid
3712 tests/test_gi.py | 11 ++++++-----
3713 tests/test_overrides_gtk.py | 33 +++++++++++++++++++--------------
3714 tests/test_pygtkcompat.py | 6 ++++--
3715 tests/test_signal.py | 6 ++++--
3716 4 files changed, 33 insertions(+), 23 deletions(-)
3718 commit 463f660cd6bb78ae7f2ea7c70c0491e6b4744942
3719 Author: Simon Feltman <sfeltman@src.gnome.org>
3720 Date: Tue Nov 6 21:34:06 2012 -0800
3722 Replace GObject notify methods with introspection and python
3724 Replace static context managers for freeze_notify and
3725 handler_block with python context managers. Remove notify,
3726 freeze_notify, thaw_notify static methods as the introspection
3729 https://bugzilla.gnome.org/show_bug.cgi?id=672727
3731 gi/_gobject/pygobject.c | 173
3732 ++----------------------------------------------
3733 gi/overrides/GObject.py | 61 +++++++++++++++--
3734 tests/test_gobject.py | 26 ++++++--
3735 tests/test_signal.py | 13 +++-
3736 4 files changed, 91 insertions(+), 182 deletions(-)
3738 commit 3fcd987272a779e5ee9173a2c3a043b4b7475842
3739 Author: Simon Feltman <sfeltman@src.gnome.org>
3740 Date: Tue Oct 23 13:56:32 2012 -0700
3742 Add support for overriding GObject.Object
3744 Shift pygi module mechanics so the introspection generated 'Object'
3745 class becomes derived from the static GObject class. Add initial
3746 GObject.Object override which sets all static methods back essentially
3747 leapfrogging the introspection methods. This sets the stage for having
3748 the ability to remove static methods piecemeal in favor of
3749 introspection/python in future commits.
3751 https://bugzilla.gnome.org/show_bug.cgi?id=672727
3753 gi/module.py | 30 +++++++++++---------
3754 gi/overrides/GObject.py | 74
3755 ++++++++++++++++++++++++++++++++++++++++++++++++
3756 gi/pygobject-external.h | 10 +------
3757 gi/types.py | 7 +++++
3758 tests/test_gobject.py | 31 ++++++++++++++++----
3759 tests/testhelpermodule.c | 2 +-
3760 6 files changed, 126 insertions(+), 28 deletions(-)
3762 commit 4da6f93d86b104941c5533c3da5edb4a00ec62e9
3763 Author: Martin Pitt <martinpitt@gnome.org>
3764 Date: Tue Nov 6 13:55:21 2012 +0100
3766 Bump glib dependency to >= 2.34.2
3768 We need 2.34.2 or 2.35.2 as we now depend on the GIOChannel annotation
3772 configure.ac | 4 ++--
3773 2 files changed, 3 insertions(+), 3 deletions(-)
3775 commit 85c8dd7a9bc81fb5df5abc6d8a95f966955ec775
3776 Author: Martin Pitt <martinpitt@gnome.org>
3777 Date: Tue Nov 6 11:28:42 2012 +0100
3781 Point to python-hackers-list instead of the old pygtk list, update
3783 versions, and point to wiki page and IRC.
3785 README | 19 ++++++++++---------
3786 1 file changed, 10 insertions(+), 9 deletions(-)
3788 commit 6d8b29ba56fb085948a155c75af36dcea9c71da8
3789 Author: Martin Pitt <martinpitt@gnome.org>
3790 Date: Tue Nov 6 11:21:32 2012 +0100
3792 Add --with-python configure option
3794 This behaves like setting $PYTHON, but also works in build systems
3796 which do not support setting environment variables.
3798 Update README accordingly.
3800 README | 15 +++++++++------
3801 configure.ac | 43 ++++++++++++++++++++++++++++++++++---------
3802 2 files changed, 43 insertions(+), 15 deletions(-)
3804 commit 4e5556a5238a3b86da9a0e40fd0e23004ed6af75
3805 Author: Martin Pitt <martinpitt@gnome.org>
3806 Date: Tue Nov 6 10:39:27 2012 +0100
3808 python.m4: Add python3.3, do not prefer unversioned "python"
3810 Add python 3.3 to the search list.
3812 http://www.python.org/dev/peps/pep-0394/ broke the well-defined
3814 "python", so use that as last fallback if more specific versions do
3819 2 files changed, 2 insertions(+), 2 deletions(-)
3821 commit e71c046ed8f5b06e6b7383ddc0fc18f06de6abee
3822 Author: Martin Pitt <martinpitt@gnome.org>
3823 Date: Tue Nov 6 09:48:50 2012 +0100
3825 m4: Update py-compile to current upstream version
3827 Update py-compile to current versions from automake 1.11.6.
3830 +++++++++++++++++++++++++++++++++++------------------------
3831 1 file changed, 48 insertions(+), 33 deletions(-)
3833 commit 8406b39f4e9ff98e0d59e880dde3ddb5e5131726
3834 Author: Martin Pitt <martinpitt@gnome.org>
3835 Date: Tue Nov 6 09:57:00 2012 +0100
3837 m4: Update introspection.m4 to current upstream version
3839 m4/introspection.m4 | 4 ++++
3840 1 file changed, 4 insertions(+)
3842 commit 4ffa61b7c39cf038440dc9acfe8d214c9b77c3a6
3843 Author: Martin Pitt <martinpitt@gnome.org>
3844 Date: Tue Nov 6 09:53:15 2012 +0100
3846 option.py: Fix PEP-8 error
3848 gi/_glib/option.py | 2 +-
3849 1 file changed, 1 insertion(+), 1 deletion(-)
3851 commit 2cbb54e79c23b96486d4a2bfa170460df5bd6c84
3852 Author: Simon Feltman <sfeltman@src.gnome.org>
3853 Date: Mon Nov 5 18:27:56 2012 -0800
3855 Remove DynamicGLibModule and DynamicGObjectModule
3857 Move final bits of _glib static binding imports directly into
3858 the GLib override. Change _glib/option use the .so directly
3859 rather than the staged variables in _glib/__init__.py.
3860 Remove DynamicGLibModule and DynamicGObjectModule and update
3863 https://bugzilla.gnome.org/show_bug.cgi?id=687488
3865 gi/_glib/__init__.py | 11 ----------
3866 gi/_glib/option.py | 16 +++++++-------
3867 gi/importer.py | 12 ++---------
3869 ----------------------------------------------------
3870 gi/overrides/GLib.py | 14 ++++++++++++
3871 tests/test_gi.py | 9 ++------
3872 6 files changed, 26 insertions(+), 96 deletions(-)
3874 commit 901c1b6e3722a9cd999e4948297e2c460f101d20
3875 Author: Daniel Drake <dsd@laptop.org>
3876 Date: Thu Nov 1 14:46:22 2012 +0000
3878 Fix property lookup in class hierarchy
3880 Commit 4bfe7972546413f46f5c36737ff03bb5612c1921 introduced a bug where
3881 a Python subclass of a gi-provided base class overrides a property
3885 The new behaviour in the above commit causes pygobject to seek
3887 in the base class and try to read it from there (resulting in
3889 rather than noticing that the property is overridden and present
3891 Python object instance.
3893 To provide a nicer solution here, we can exploit the fact that
3894 g_object_class_find_property() will traverse the hierarchy in order to
3895 find the right GParamSpec, and the returned GParamSpec can tell
3897 which GType introduces the property. The strategy is:
3899 1. Find pspec with g_object_class_find_property()
3900 2. Find the class that owns that property (pspec->owner_type)
3901 3. See if girepository owns that class.
3902 3a. If yes, get property from there.
3903 3b. If not, get property "directly"
3905 And the same for property setting.
3907 Now that _pygi_lookup_property_from_g_type is always passed the
3909 implements the property, it no longer has to go recursing through
3911 classes, which was the original cause of confusion.
3913 https://bugzilla.gnome.org/show_bug.cgi?id=686942
3915 gi/_gobject/pygobject.c | 92 +++++++++++++++++++++++----------
3916 gi/pygi-property.c | 130
3917 ++++++++++++++++++++++-------------------------
3918 gi/pygi-property.h | 4 +-
3919 gi/pygi.h | 12 ++---
3920 tests/test_properties.py | 30 +++++++++++
3921 5 files changed, 164 insertions(+), 104 deletions(-)
3923 commit efcb0f9fda65e24ae98438d61487d06db9eac1b1
3924 Author: Martin Pitt <martinpitt@gnome.org>
3925 Date: Sat Nov 3 16:14:01 2012 +0100
3927 Move property and signal creation into _class_init()
3929 We must not add class interfaces after g_type_class_ref() has been
3931 first time. Move signal and property creation from pyg_type_register()
3933 pyg_object_class_init(), and drop the hack of registering interfaces
3936 This changed class initialization order now exposes GLib's warning
3938 unknown signals, so adjust
3939 test_signal.TestGSignalsError.test_invalid_name() to
3942 https://bugzilla.gnome.org/show_bug.cgi?id=686149
3944 gi/_gobject/gobjectmodule.c | 177
3945 ++++++++++++++++++--------------------------
3946 tests/test_signal.py | 6 +-
3947 2 files changed, 75 insertions(+), 108 deletions(-)
3949 commit 655a5002ffaa088b775adbc59e5125444f7bc1ca
3950 Author: Jose Rostagno <joserostagno@vijona.com.ar>
3951 Date: Sat Nov 3 13:21:52 2012 -0300
3953 Remove unused macro definitions
3955 PYGLIB_*_VERSION are not used anywhere any more, remove those.
3956 (dropped in commit 8d52bceb1)
3958 gi/_glib/glibmodule.c | 5 -----
3959 1 file changed, 5 deletions(-)
3961 commit fa054fd15b8874760bee97d9af168a2969e6ece4
3962 Author: Martin Pitt <martinpitt@gnome.org>
3963 Date: Mon Nov 5 14:38:07 2012 +0100
3965 testhelpermodule.c: Drop obsolete g_thread_init()
3967 We already require a new enough glib version as we dropped
3969 the main code a long time ago. But for formality's sake, bump glib
3973 configure.ac | 4 ++--
3974 tests/testhelpermodule.c | 1 -
3975 2 files changed, 2 insertions(+), 3 deletions(-)
3977 commit 2e57530a27a44e94927d487cf2f2d9e543777654
3978 Author: Martin Pitt <martinpitt@gnome.org>
3979 Date: Mon Nov 5 14:37:11 2012 +0100
3981 pygi-source.c: Drop dead code
3983 gi/pygi-source.c | 2 --
3984 1 file changed, 2 deletions(-)
3986 commit 2a24c9ccd59bff719fa817a0ec5c959f6da03e1c
3987 Author: Simon Feltman <sfeltman@src.gnome.org>
3988 Date: Sun Nov 4 22:22:53 2012 -0800
3990 Move TYPE constants from _gobject to GObject
3992 Clear out TYPE constants from _gobject/__init__.py and move them
3994 GObject overrides. Disperse class imports among modules that use
3996 of using _gobject/__init__.py as a staging area (e.g. GInterface).
3998 https://bugzilla.gnome.org/show_bug.cgi?id=687487
4000 gi/_gobject/__init__.py | 30 ------------------------------
4001 gi/_gobject/constants.py | 2 +-
4002 gi/module.py | 38 +++++++++++++++++++++++++-------------
4003 gi/overrides/__init__.py | 9 ++++++---
4004 gi/types.py | 10 ++++++----
4005 5 files changed, 38 insertions(+), 51 deletions(-)
4007 commit c2aa6f0d0ed4c4e60f081b106dc7a65513963fce
4008 Author: Martin Pitt <martinpitt@gnome.org>
4009 Date: Mon Nov 5 13:10:05 2012 +0100
4011 Move G_MIN/MAX constants into GObject overrides
4013 These really ought to come from GLib's typelib, but are not right
4015 need to keep the static bindings for those. But drop them from
4017 move them into the overrides where they belong.
4019 gi/_gobject/__init__.py | 17 -----------------
4020 gi/_gobject/constants.py | 21 ---------------------
4021 gi/_gobject/propertyhelper.py | 2 +-
4022 gi/overrides/GObject.py | 9 +++++++++
4023 tests/test_gi.py | 32 ++++++++++++++++----------------
4024 5 files changed, 26 insertions(+), 55 deletions(-)
4026 commit 12b84727edc36f686a7031b5c4c6bf662838908d
4027 Author: Martin Pitt <martinpitt@gnome.org>
4028 Date: Mon Nov 5 11:04:54 2012 +0100
4030 Replace static OPTION_* constants with GI
4032 Drop static definitions of GLib.OPTION_* constants and use the ones
4036 https://bugzilla.gnome.org/show_bug.cgi?id=686765
4038 gi/_glib/__init__.py | 13 -------------
4039 gi/_glib/glibmodule.c | 32 --------------------------------
4040 gi/_glib/option.py | 46
4041 ++++++++++++++++++++++++----------------------
4042 gi/overrides/GLib.py | 13 +++++++++++++
4043 gi/overrides/GObject.py | 2 +-
4044 5 files changed, 38 insertions(+), 68 deletions(-)
4046 commit 7372e3c9ecb8e836894c32975eab8c4107ba0b28
4047 Author: Martin Pitt <martinpitt@gnome.org>
4048 Date: Mon Nov 5 10:14:52 2012 +0100
4050 tests: Do not use deprecated assertRaisesRegexp()
4052 Use assertRaisesRegex() instead and provide 2.7 compatibility in
4055 tests/runtests.py | 3 +++
4056 tests/test_signal.py | 8 ++++----
4057 2 files changed, 7 insertions(+), 4 deletions(-)
4059 commit da2106902eb3dabebdff1674743cb3040566a745
4060 Author: Simon Feltman <sfeltman@src.gnome.org>
4061 Date: Sun Nov 4 02:57:29 2012 -0800
4063 Move gobject static functions and constants to gi
4065 Replace the following functions with gi and overrides:
4066 type_children, type_interfaces, signal_list_ids, signal_list_names,
4067 signal_lookup, signal_name, type_parent. Assign SIGNAL_* and
4068 PARAM_* from gi SignalFlags and ParamFlags respectively.
4069 Move module level assignments of a number of static functions to
4070 the GObject.py overrides file.
4072 https://bugzilla.gnome.org/show_bug.cgi?id=687487
4074 docs/reference/pygobject-functions.xml | 25 ---
4075 gi/_gobject/__init__.py | 72 +--------
4076 gi/_gobject/gobjectmodule.c | 272
4077 ---------------------------------
4078 gi/overrides/GObject.py | 208 ++++++++++++++++++++++++-
4079 gi/overrides/__init__.py | 5 +-
4080 tests/test_signal.py | 11 +-
4081 6 files changed, 215 insertions(+), 378 deletions(-)
4083 commit f4acd6a9d14248d459708f61fd01f6d4735f087d
4084 Author: Simon Feltman <sfeltman@src.gnome.org>
4085 Date: Sun Nov 4 02:52:19 2012 -0800
4087 Make unitests for gobject functions moving to gi more strict
4089 Add expected failure test for invalid SystemError's coming from
4090 signal_lookup and signal_list_ids. Remove excessive type_name
4091 tests and type_from_name tests.
4093 https://bugzilla.gnome.org/show_bug.cgi?id=687487
4095 tests/test_gtype.py | 53
4096 ----------------------------------------------------
4097 tests/test_signal.py | 40 ++++++++++++++++++++++++---------------
4098 2 files changed, 25 insertions(+), 68 deletions(-)
4100 commit 3267808318b284814e52f2803b17af56fca648ad
4101 Author: Martin Pitt <martinpitt@gnome.org>
4102 Date: Sat Nov 3 14:17:25 2012 +0100
4104 [API change] Remove static filename_from_utf8() binding
4106 Replace static GLib.filename_from_utf8() with GI. The old static
4108 tried to convert the result to an Unicode object, which will fail
4110 is not UTF-8 encoded (which is the whole point of this function
4114 Although the static binding was rather useless before, this is
4118 docs/reference/pyglib-functions.xml | 32 --------------------------------
4119 gi/_glib/__init__.py | 1 -
4120 gi/_glib/glibmodule.c | 26 --------------------------
4121 gi/_gobject/__init__.py | 1 -
4122 gi/overrides/GLib.py | 8 ++++++++
4123 gi/overrides/GObject.py | 3 ++-
4124 tests/test_glib.py | 8 ++++++++
4125 7 files changed, 18 insertions(+), 61 deletions(-)
4127 commit 8d52bceb1e0aa0dc79cf77f36dda9f953f170459
4128 Author: Martin Pitt <martinpitt@gnome.org>
4129 Date: Sat Nov 3 13:14:15 2012 +0100
4131 Drop static glib_version and pyglib_version constants
4133 Use the GLib version from GI instead, and the already existing
4136 docs/reference/pyglib-constants.xml | 50
4137 ----------------------------------
4138 docs/reference/pygobject-constants.xml | 19 -------------
4139 gi/_glib/__init__.py | 2 --
4140 gi/_glib/glibmodule.c | 21 --------------
4141 gi/_gobject/__init__.py | 1 -
4142 gi/overrides/GLib.py | 8 +++++-
4143 gi/overrides/GObject.py | 3 +-
4144 tests/test_glib.py | 12 ++++++++
4145 8 files changed, 21 insertions(+), 95 deletions(-)
4147 commit 9f96325e75f7c5f88789ea3f74a068e73cfde1a2
4148 Author: Martin Pitt <martinpitt@gnome.org>
4149 Date: Sat Nov 3 12:12:44 2012 +0100
4151 Drop static G_MININT8 and related constants
4153 Use the introspected constants from GLib instead.
4155 gi/_gobject/__init__.py | 12 ------------
4156 gi/_gobject/constants.py | 12 ------------
4157 gi/_gobject/gobjectmodule.c | 18 +-----------------
4158 gi/overrides/GObject.py | 17 +++++++++++++++++
4159 tests/test_gobject.py | 4 ++++
4160 5 files changed, 22 insertions(+), 41 deletions(-)
4162 commit 3354c4eda0f098d1a8f744264ef9a2565a38b50d
4163 Author: Martin Pitt <martinpitt@gnome.org>
4164 Date: Sat Nov 3 11:58:40 2012 +0100
4166 test_gobject: Add test case for min/max int constants
4168 Related to https://bugzilla.gnome.org/show_bug.cgi?id=685022
4170 tests/test_gobject.py | 9 +++++++++
4171 1 file changed, 9 insertions(+)
4173 commit d70cb32789e057fe5a16e61a0cce77d9c54a3ee1
4174 Author: Jose Rostagno <joserostagno@vijona.com.ar>
4175 Date: Sat Oct 27 15:37:32 2012 -0300
4177 Use g_object_info_find_signal()
4179 Replace our custom code with a call to the corresponding
4180 gobject-instrospection
4183 https://bugzilla.gnome.org/show_bug.cgi?id=687371
4185 gi/pygi-signal-closure.c | 21 ++++-----------------
4186 1 file changed, 4 insertions(+), 17 deletions(-)
4188 commit ae6d0aada9587cd4dca168375527b80785b604a0
4189 Author: Martin Pitt <martinpitt@gnome.org>
4190 Date: Sat Nov 3 11:23:06 2012 +0100
4192 GLib overrides: code cleanup
4194 Factorize the logic to handle zero or multiple user_data arguments
4196 user_data_varargs_shim(), and put code that handles deprecated API
4198 corresponding "then" branches, to improve readability.
4200 gi/overrides/GLib.py | 87
4201 ++++++++++++++++++++++++++++------------------------
4202 1 file changed, 47 insertions(+), 40 deletions(-)
4204 commit d7f095b01e7208273703c880f4f0dfcc1a152a9a
4205 Author: Martin Pitt <martinpitt@gnome.org>
4206 Date: Sat Nov 3 09:33:08 2012 +0100
4208 Restore actual GLib API after previous fix
4210 Re-fix the acceptance of priority as first argument for idle_add(),
4211 io_add_watch() and timeout_add(), as that is the real GLib API. Ensure
4213 this keeps supporting the backwards compatible API with supplying
4217 https://bugzilla.gnome.org/show_bug.cgi?id=687047
4219 gi/overrides/GLib.py | 117
4220 +++++++++++++++++++++++++-----------------------
4221 tests/test_iochannel.py | 74 +++++++++++++++++++++++++++---
4222 tests/test_source.py | 30 +++++++++++++
4223 3 files changed, 158 insertions(+), 63 deletions(-)
4225 commit 648b653d85bf3bc28dc59c6d309f15d388076af9
4226 Author: Simon Feltman <sfeltman@src.gnome.org>
4227 Date: Fri Nov 2 21:01:38 2012 -0700
4229 Add unittests for module level type and signal functions
4231 Add tests for the following methods: signal_list_ids,
4232 signal_name, signal_lookup, signal_query, type_children,
4233 type_from_name, type_name, type_is_a, and type_interfaces.
4235 https://bugzilla.gnome.org/show_bug.cgi?id=687487
4237 tests/Makefile.am | 1 +
4238 tests/test_gtype.py | 106
4239 +++++++++++++++++++++++++++++++++++++++++++++++++++
4240 tests/test_signal.py | 43 +++++++++++++++++++++
4241 3 files changed, 150 insertions(+)
4243 commit 80db2a50feab9898d7c5f88ea27aadc3dfb5bec3
4244 Author: Simon Feltman <sfeltman@src.gnome.org>
4245 Date: Tue Oct 30 18:33:44 2012 -0700
4247 Fix GLib override incompatibilities with old static API
4249 Change idle_add, timeout_add, timeout_add_seconds, and
4250 io_add_watch to accept *args and **kwargs as arguments
4251 to the callback functions instead of only accepting a single
4252 user_data arg. This ensures the new overridden introspection
4253 methods are backwards compatible with the static versions
4256 https://bugzilla.gnome.org/show_bug.cgi?id=687047
4258 gi/overrides/GLib.py | 98
4259 ++++++++++++++++++++++++++++---------------------
4260 tests/test_iochannel.py | 37 +++++++++++++++++--
4261 2 files changed, 90 insertions(+), 45 deletions(-)
4263 commit 9c6399bbf75c312b1ef4933d079712ea5b05a935
4264 Author: Simon Feltman <sfeltman@src.gnome.org>
4265 Date: Tue Oct 30 12:01:44 2012 -0700
4267 Fix IOChannel unittests for python 2.7
4269 Use __future__ unicode_literals to minimize difference
4270 between python 2.7 and 3. Comparisons need to encode arguments as
4271 'UTF-8' for testing readline operations.
4272 Add backwards compatible "next" to support the python 2.7 iteration.
4273 Change isinstance(channel, file) to hasattr(channel, 'fileno') to
4274 support all python versions (and duck typing).
4276 https://bugzilla.gnome.org/show_bug.cgi?id=687047
4278 gi/overrides/GLib.py | 4 +++-
4279 tests/test_iochannel.py | 1 +
4280 2 files changed, 4 insertions(+), 1 deletion(-)
4282 commit 0f94a0a4ebd2bbfd06d8f9a2bb2b17dabf7678ef
4283 Author: Martin Pitt <martinpitt@gnome.org>
4284 Date: Mon Oct 29 23:00:31 2012 +0100
4286 Allow calling io_add_watch with a file object
4288 The old static bindings allowed that, so we need to allow it to
4290 backwards compatibility. Deprecate this mode as well, so that we
4294 https://bugzilla.gnome.org/show_bug.cgi?id=687047
4296 gi/overrides/GLib.py | 7 +++++++
4297 tests/test_glib.py | 26 ++++++++++++++++++++++++++
4298 2 files changed, 33 insertions(+)
4300 commit 3ba67fd41944309077eb81c4c03397519ed29dc4
4301 Author: John Ralls <jralls@ceridwen.us>
4302 Date: Mon Oct 29 14:57:22 2012 -0700
4304 Fix duplicate symbols error on OSX
4306 gi/pygi-source.c | 1 +
4307 1 file changed, 1 insertion(+)
4309 commit 5a367aa067e369f2b1e713199614e3426fecc10e
4310 Author: Martin Pitt <martinpitt@gnome.org>
4311 Date: Sun Oct 28 17:42:34 2012 +0100
4313 Drop removed markup-escape-text() from reference documentation
4315 docs/reference/pyglib-functions.xml | 36
4316 ------------------------------------
4317 1 file changed, 36 deletions(-)
4319 commit 057b3d3791e6f1947004f2482c0ae40529de03ae
4320 Author: Martin Pitt <martinpitt@gnome.org>
4321 Date: Sun Oct 28 17:41:03 2012 +0100
4323 Drop some dead code from gi/_glib/glibmodule.c
4325 gi/_glib/glibmodule.c | 45 ---------------------------------------------
4326 1 file changed, 45 deletions(-)
4328 commit 7b12803bce3418bb487127f497f022c973f35888
4329 Author: Martin Pitt <martinpitt@gnome.org>
4330 Date: Sun Oct 28 17:37:29 2012 +0100
4332 Remove static get_current_time() binding
4334 Use GLib.get_real_time() through GI instead. Deprecate the function,
4336 GLib.get_real_time() should be called directly.
4338 docs/reference/pyglib-functions.xml | 26 --------------------------
4339 gi/_glib/__init__.py | 1 -
4340 gi/_glib/glibmodule.c | 11 -----------
4341 gi/_glib/pyglib.c | 16 ----------------
4342 gi/_glib/pyglib.h | 1 -
4343 gi/_gobject/__init__.py | 1 -
4344 gi/overrides/GLib.py | 8 ++++++++
4345 gi/overrides/GObject.py | 2 +-
4346 tests/test_glib.py | 6 +++++-
4347 9 files changed, 14 insertions(+), 58 deletions(-)
4349 commit b3dfb780b3a74f6933e3afcd2ba512b36dfbe514
4350 Author: Martin Pitt <martinpitt@gnome.org>
4351 Date: Sun Oct 28 17:23:23 2012 +0100
4353 Add more tests for GLib.spawn_async()
4355 Check spawn_async() with getting stdin/out/err pipes and specifying
4358 tests/test_subprocess.py | 29 +++++++++++++++++++++++++++++
4359 1 file changed, 29 insertions(+)
4361 commit 70d78eee4a04dcaefea4615fe351e33fa717dffa
4362 Author: Martin Pitt <martinpitt@gnome.org>
4363 Date: Sun Oct 28 14:15:05 2012 +0100
4365 Remove static child_add_watch() binding
4367 Use the GLib API through GI instead, and provide override to keep
4369 compatible API. Also allow using the actual GLib API, and deprecate
4371 static API of calling without a priority as first argument.
4373 docs/reference/pyglib-functions.xml | 61 ---------------------------
4374 gi/_glib/__init__.py | 1 -
4375 gi/_glib/glibmodule.c | 72 -------------------------------
4376 gi/_gobject/__init__.py | 1 -
4377 gi/overrides/GLib.py | 46 ++++++++++++++++++++
4378 gi/overrides/GObject.py | 2 +-
4379 tests/test_mainloop.py | 2 +-
4380 tests/test_subprocess.py | 84
4381 ++++++++++++++++++++++++++++++++++---
4382 8 files changed, 127 insertions(+), 142 deletions(-)
4384 commit 4b16427714b850e33c6020d8de1833bae19a3b87
4385 Author: Martin Pitt <martinpitt@gnome.org>
4386 Date: Sun Oct 28 13:44:23 2012 +0100
4388 test_subprocess: Cover more child_watch_add() cases
4390 Verify that priority is set correctly, and also test calling without
4393 tests/test_subprocess.py | 24 +++++++++++++++++++-----
4394 1 file changed, 19 insertions(+), 5 deletions(-)
4396 commit 83ff5938612d37d52f112867a472777dd6786d69
4397 Author: Colin Walters <walters@verbum.org>
4398 Date: Sat Oct 27 12:22:53 2012 -0400
4400 gi/__init__.py: Pacify pep8 style checker
4402 It was complaining about finding only 1 blank line. Regression
4403 likely introduced by f976d05b.
4405 https://bugzilla.gnome.org/show_bug.cgi?id=686991
4407 gi/__init__.py | 1 +
4408 1 file changed, 1 insertion(+)
4410 commit f976d05b04f26e733d19988e68989e340eb3a29e
4411 Author: Martin Pitt <martinpitt@gnome.org>
4412 Date: Fri Oct 26 10:39:28 2012 +0200
4414 Use a custom deprecation warning to make them visible by default
4416 DeprecationWarning is not shown by default, and is thus rather
4418 developers. Use a custom PyGIDeprecationWarning class and derive
4420 RuntimeWarning to make it visible.
4422 gi/__init__.py | 5 +++++
4423 gi/overrides/GLib.py | 5 +++--
4424 gi/overrides/Gtk.py | 5 +++--
4425 gi/overrides/__init__.py | 4 ++--
4426 gi/pygtkcompat.py | 4 ++--
4427 tests/Makefile.am | 2 +-
4428 tests/test_glib.py | 5 +++--
4429 tests/test_gobject.py | 3 ++-
4430 tests/test_iochannel.py | 5 +++--
4431 tests/test_source.py | 3 ++-
4432 10 files changed, 26 insertions(+), 15 deletions(-)
4434 commit 366f5d2d3902c6293d0031e0b7dc5d6641a05ac7
4435 Author: Martin Pitt <martinpitt@gnome.org>
4436 Date: Fri Oct 26 09:26:17 2012 +0200
4438 Remove static io_add_watch() binding
4440 Use the GLib API through GI instead, and provide override to keep
4442 compatible API. Also allow using the actual GLib API, and deprecate
4445 - calling with an fd as first argument instead of an IOChannel
4446 - calling without a priority as second argument
4448 docs/reference/pyglib-functions.xml | 106
4449 ------------------------------------
4450 gi/_glib/__init__.py | 1 -
4451 gi/_glib/glibmodule.c | 98
4452 ---------------------------------
4453 gi/_gobject/__init__.py | 1 -
4454 gi/overrides/GLib.py | 51 ++++++++++++++---
4455 gi/overrides/GObject.py | 3 +-
4456 tests/test_glib.py | 15 ++++-
4457 tests/test_iochannel.py | 70 +++++++++++++++++++++++-
4458 8 files changed, 126 insertions(+), 219 deletions(-)
4460 commit 284de1eb5c37a3f6caa7d846dbd439f1eac410a2
4461 Author: Martin Pitt <martinpitt@gnome.org>
4462 Date: Fri Oct 26 08:48:35 2012 +0200
4464 Add tests for GLib.io_add_watch()
4466 tests/test_glib.py | 36 ++++++++++++++++++++++++++++++++++++
4467 1 file changed, 36 insertions(+)
4469 commit 15e717ce2c2a26c02c913f79bc7cf6876d943e92
4470 Author: Martin Pitt <martinpitt@gnome.org>
4471 Date: Thu Oct 25 15:55:46 2012 +0200
4473 Remove static GIOChannel bindings
4475 Use the GLib API through GI instead, and provide overrides to keep
4477 compatible API, including its bugs.
4479 We still need to keep a static wrapper around
4480 g_io_channel_read_chars() until
4481 we teach PyGObject to correctly handle caller allocated out array
4484 https://bugzilla.gnome.org/show_bug.cgi?id=686795
4486 gi/_glib/Makefile.am | 2 -
4487 gi/_glib/__init__.py | 1 -
4488 gi/_glib/glibmodule.c | 2 -
4489 gi/_glib/pygiochannel.c | 748
4490 ------------------------------------------------
4491 gi/_glib/pygiochannel.h | 29 --
4492 gi/_gobject/__init__.py | 1 -
4493 gi/gimodule.c | 72 +++++
4494 gi/overrides/GLib.py | 95 +++++-
4495 8 files changed, 161 insertions(+), 789 deletions(-)
4497 commit 0bfa6b44b808d9f8f55199216c29c1aec96c7719
4498 Author: Martin Pitt <martinpitt@gnome.org>
4499 Date: Thu Oct 25 12:59:46 2012 +0200
4501 test_iochannel.py: Fix data type of IOFlags
4503 ~GLib.IOFlags.NONBLOCK yields an int instead of a GLib.IOFlags,
4505 the result is of type GLib.IOFlags again.
4507 tests/test_iochannel.py | 2 +-
4508 1 file changed, 1 insertion(+), 1 deletion(-)
4510 commit 25d12afd06863ce223a161ba1317bfe5503bca5c
4511 Author: Martin Pitt <martinpitt@gnome.org>
4512 Date: Thu Oct 25 08:24:31 2012 +0200
4514 Add environment variable to disable pep8 checks
4516 pep8 takes quite long for "make check". Skip it if $SKIP_PEP8 is
4518 makes the test/fix turnaround time faster.
4520 tests/Makefile.am | 6 ++++--
4521 1 file changed, 4 insertions(+), 2 deletions(-)
4523 commit e9624ed1d38c777de2b430e3b0fbae2acbf34956
4524 Author: Simon Feltman <sfeltman@src.gnome.org>
4525 Date: Wed Oct 24 04:31:26 2012 -0700
4527 [API add] Add get_introspection_module for getting un-overridden
4530 Add gi.module.get_introspection_module to explicitly get a
4531 wrapped module pulled in through introspection without static
4532 and python override handling. This API is intended for python
4533 overrides to use rather than having them access
4534 gi.importer.modules['<name>']._introspection_module directly.
4535 Replace aforementioned usage in all overrides.
4537 https://bugzilla.gnome.org/show_bug.cgi?id=686828
4540 +++++++++++++++++++++++++++++++++++---
4541 gi/overrides/GIMarshallingTests.py | 4 ++--
4542 gi/overrides/GLib.py | 4 ++--
4543 gi/overrides/Gdk.py | 6 +++---
4544 gi/overrides/Gio.py | 4 ++--
4545 gi/overrides/Gtk.py | 5 +++--
4546 gi/overrides/Pango.py | 4 ++--
4547 tests/test_overrides.py | 29 +++++++++++++++++++++++++++++
4548 8 files changed, 78 insertions(+), 16 deletions(-)
4550 commit e6e047ef9b8575c852b3cdc3f5d4dfbb548cc648
4551 Author: Martin Pitt <martinpitt@gnome.org>
4552 Date: Wed Oct 24 15:16:13 2012 +0200
4554 test_option: Use public API
4556 Use GLib.option, not gi._glib.option.
4558 tests/test_option.py | 42 ++++++++++++++++++++----------------------
4559 1 file changed, 20 insertions(+), 22 deletions(-)
4561 commit 6a586af41b8740c4ba590591d1068d80071ff2dc
4562 Author: Martin Pitt <martinpitt@gnome.org>
4563 Date: Wed Oct 24 14:12:05 2012 +0200
4565 Drop static SPAWN_* constants
4567 Use the introspected constants instead, which are identical. Add
4571 These constants are covered by tests/test_subprocess.py.
4573 https://bugzilla.gnome.org/show_bug.cgi?id=686765
4575 docs/reference/pyglib-constants.xml | 68
4576 ----------------------------------
4577 docs/reference/pyglib-functions.xml | 26 ++++++-------
4578 docs/reference/pygobject-constants.xml | 67
4579 ---------------------------------
4580 gi/_glib/__init__.py | 7 ----
4581 gi/_glib/glibmodule.c | 15 --------
4582 gi/_gobject/__init__.py | 7 ----
4583 gi/overrides/GLib.py | 6 +++
4584 gi/overrides/GObject.py | 6 ++-
4585 tests/test_subprocess.py | 6 ++-
4586 9 files changed, 29 insertions(+), 179 deletions(-)
4588 commit 0137a7af7bf69421e0c8e94120a1f8cff01fbeea
4589 Author: Martin Pitt <martinpitt@gnome.org>
4590 Date: Wed Oct 24 13:59:31 2012 +0200
4592 Drop static IO_* constants
4594 Use the introspected constants instead, which are identical. Add
4598 These constants are covered by tests/test_iochannel.py.
4600 docs/reference/pyglib-constants.xml | 52
4601 -------------------------------------
4602 gi/_glib/__init__.py | 19 --------------
4603 gi/_glib/glibmodule.c | 32 -----------------------
4604 gi/_gobject/__init__.py | 18 -------------
4605 gi/overrides/GLib.py | 18 ++++++++++++-
4606 gi/overrides/GObject.py | 8 +++++-
4607 tests/test_iochannel.py | 1 +
4608 tests/test_source.py | 2 +-
4609 8 files changed, 26 insertions(+), 124 deletions(-)
4611 commit 0e1a6ccee45ae2239da1c44de1866596343165ba
4612 Author: Martin Pitt <martinpitt@gnome.org>
4613 Date: Wed Oct 24 12:50:50 2012 +0200
4615 Fix various bugs in GLib.IOChannel
4617 - Fix segfault when using an IOChannel as an iterator: PyIter_Next()
4619 NULL on the last element, instead of raising a StopIteration.
4621 - The default encoding of a stream is 'UTF-8', not NULL. NULL means
4623 stream is being used in binary mode; in that case, we should not
4625 do any automagic conversion to an Unicode object. As this special
4627 inconsistent and has never worked anyway, and the current buggy
4628 implementation breaks binary streams, just drop it without
4630 (Introduced in commit de9eae4dfcce8)
4632 These bugs were uncovered by the previously committed tests.
4634 gi/_glib/pygiochannel.c | 25 +++++--------------------
4635 1 file changed, 5 insertions(+), 20 deletions(-)
4637 commit a98c37937a4f7cb81a0b02c023d12097f386a22c
4638 Author: Martin Pitt <martinpitt@gnome.org>
4639 Date: Wed Oct 24 12:49:04 2012 +0200
4641 Add tests for GLib.IOChannel
4643 This did not have any code coverage at all. The tests uncover a
4645 which will be fixed in the next commit.
4647 tests/Makefile.am | 1 +
4648 tests/test_iochannel.py | 262
4649 ++++++++++++++++++++++++++++++++++++++++++++++++
4650 2 files changed, 263 insertions(+)
4652 commit 1b27432abf6004553e9476d5ffeb2bf603534419
4653 Author: Martin Pitt <martinpitt@gnome.org>
4654 Date: Wed Oct 24 08:50:37 2012 +0200
4656 Remove static idle_add/timeout_add bindings
4658 Use the GLib functions through GI instead. Add overrides to ensure
4660 arguments continue to work as before, and that callbacks are called
4662 userdata argument if it wasn't specified.
4664 docs/reference/pyglib-functions.xml | 165
4665 ------------------------------------
4666 gi/_glib/__init__.py | 3 -
4667 gi/_glib/glibmodule.c | 139 ------------------------------
4668 gi/_gobject/__init__.py | 3 -
4669 gi/overrides/GLib.py | 31 +++++++
4670 gi/overrides/GObject.py | 3 +-
4671 tests/test_source.py | 19 +++++
4672 7 files changed, 52 insertions(+), 311 deletions(-)
4674 commit 2357f4a0237feabcf6886f2a448aa3f42f6781b9
4675 Author: Martin Pitt <martinpitt@gnome.org>
4676 Date: Wed Oct 24 09:14:57 2012 +0200
4678 Add tests for priority argument of idle_add/timeout_add
4680 There is a potential to treat the priority as user data in a call like
4681 "GLib.idle_add(cb, GLib.PRIORITY_HIGH)". The current static bindings
4683 using a keyword argument for the priority (but silently ignore it
4685 specify both userdata and priority as a positional argument).
4687 Test the correct handling of priority as well.
4689 tests/test_source.py | 63
4690 ++++++++++++++++++++++++++++++++++++++++++++++++----
4691 1 file changed, 59 insertions(+), 4 deletions(-)
4693 commit dceb4d60e210cb1531ad81935733a3f0be0c8edb
4694 Author: Martin Pitt <martinpitt@gnome.org>
4695 Date: Wed Oct 24 08:40:50 2012 +0200
4697 Drop old ChangeLog.pre-2.18
4699 This is ancient by now, quite sizable, and the complete history can
4701 seen in the git log.
4703 ChangeLog.pre-2.18 | 3608
4704 ----------------------------------------------------
4706 2 files changed, 3609 deletions(-)
4708 commit 127ef91f1563caa346bc2ac2adb064487a84e6a0
4709 Author: Martin Pitt <martinpitt@gnome.org>
4710 Date: Wed Oct 24 08:39:05 2012 +0200
4712 Fix PEP-8 whitespace in previous commit
4714 tests/test_source.py | 4 ++++
4715 1 file changed, 4 insertions(+)
4717 commit 0bc0b55be0dae7528c2fc7439d672ad4e417335d
4718 Author: Martin Pitt <martinpitt@gnome.org>
4719 Date: Wed Oct 24 08:33:49 2012 +0200
4721 Add tests for idle_add()/timeout_add with and without user data
4723 This is implicitly spread over various test cases, but let's test
4725 to ensure that the behaviour stays consistent when moving this to GI.
4727 tests/test_source.py | 35 +++++++++++++++++++++++++++++++++++
4728 1 file changed, 35 insertions(+)
4730 commit d0a0332feb7946f4bb6b43211d6fe3ae67e7dba5
4731 Author: Martin Pitt <martinpitt@gnome.org>
4732 Date: Wed Oct 24 08:05:43 2012 +0200
4734 tests: consitent naming style
4736 Stop mixing camel case and underline naming, use the latter
4740 tests/test_gobject.py | 64
4741 +++++++++++++++++++++++------------------------
4742 tests/test_interface.py | 4 +--
4743 tests/test_option.py | 14 +++++------
4744 tests/test_pygtkcompat.py | 32 ++++++++++++------------
4745 tests/test_signal.py | 10 ++++----
4746 tests/test_source.py | 23 ++++++++---------
4747 tests/test_subprocess.py | 2 +-
4748 tests/test_thread.py | 2 +-
4749 tests/test_unknown.py | 2 +-
4750 9 files changed, 76 insertions(+), 77 deletions(-)
4752 commit 4b460e2eb18b8340fe99252063fdb08b0c222968
4753 Author: Martin Pitt <martinpitt@gnome.org>
4754 Date: Wed Oct 24 07:28:10 2012 +0200
4756 Work around wrong 64 bit constants in GLib Gir
4758 GLib's gir currently has wrong constants for MININT64 and MAXUINT64;
4760 set them in an override, until this gets fixed properly.
4762 https://bugzilla.gnome.org/show_bug.cgi?id=685022
4764 gi/overrides/GLib.py | 8 ++++++++
4765 tests/test_gi.py | 9 +++++++++
4766 2 files changed, 17 insertions(+)
4768 commit f30efd2619911c89ca873fac6bec06a1b60fab82
4769 Author: Martin Pitt <martinpitt@gnome.org>
4770 Date: Tue Oct 23 13:32:14 2012 +0200
4772 Mark GLib.Source.get_current_time() as deprecated
4774 This method has been deprecated in GLib long ago. We have a workaround
4775 implementation using GLib.get_real_time(), but eventually this should
4778 gi/overrides/GLib.py | 5 ++++-
4779 tests/test_source.py | 8 +++++++-
4780 2 files changed, 11 insertions(+), 2 deletions(-)
4782 commit 483c86267f2623eaa88d6a9e685c96ec3ba4f121
4783 Author: Martin Pitt <martinpitt@gnome.org>
4784 Date: Tue Oct 23 08:56:19 2012 +0200
4786 Mark GLib API that is exposed in GObject as deprecated
4788 A lot of API in GObject really belongs into GLib and is just there for
4789 historical/backwards compatible reasons. Mark these methods as
4791 that at some point we can drop them.
4793 gi/overrides/GObject.py | 3 ++-
4794 gi/overrides/__init__.py | 13 +++++++++++++
4795 tests/test_gobject.py | 24 ++++++++++++++----------
4796 3 files changed, 29 insertions(+), 11 deletions(-)
4798 commit 191cf45af44850fc29f2392ae2f0042aed6d13a9
4799 Author: Martin Pitt <martinpitt@gnome.org>
4800 Date: Fri Oct 19 09:55:05 2012 +0200
4802 Remove static MainLoop, MainContext, and some GSource bindings
4804 glib's MainLoop and MainContext are fully introspectable these days,
4806 our static bindings. This reduces our code, as well enables GLib
4808 hasn't been available through the static bindings before.
4810 This also requires dropping our custom static types for GLib Source,
4812 and Idle. The latter two work fine with introspection and just
4814 overrides for a backwards compatible API. g_source_new() is not
4816 though, so we need to keep our static wrappers for that. Move
4818 gi/_glib/pygsource.c to gi/pygi-source.c, so that it can use the
4821 Note that gi/_glib/pygsource.[hc] is still required for the static
4823 which is used by the static IOChannel binding. Once the latter
4825 PollFD can be dropped as well.
4827 https://bugzilla.gnome.org/show_bug.cgi?id=686443
4829 docs/Makefile.am | 6 +-
4830 docs/reference/pyglib-classes.xml | 2 -
4831 docs/reference/pyglib-constants.xml | 53 ---
4832 docs/reference/pyglib-functions.xml | 58 ---
4833 docs/reference/pyglib-maincontext.xml | 152 --------
4834 docs/reference/pyglib-mainloop.xml | 202 -----------
4835 gi/Makefile.am | 2 +
4836 gi/_glib/Makefile.am | 4 -
4837 gi/_glib/__init__.py | 12 -
4838 gi/_glib/glibmodule.c | 45 +--
4839 gi/_glib/pyglib.c | 15 -
4840 gi/_glib/pyglib.h | 1 -
4841 gi/_glib/pygmaincontext.c | 126 -------
4842 gi/_glib/pygmaincontext.h | 40 ---
4843 gi/_glib/pygmainloop.c | 362 -------------------
4844 gi/_glib/pygmainloop.h | 36 --
4845 gi/_glib/pygsource.c | 640
4846 ----------------------------------
4847 gi/_glib/pygsource.h | 3 -
4848 gi/_gobject/__init__.py | 13 -
4850 gi/overrides/GLib.py | 116 +++++-
4851 gi/overrides/GObject.py | 10 +-
4852 gi/pygi-private.h | 1 +
4853 gi/pygi-source.c | 247 +++++++++++++
4854 gi/pygi-source.h | 31 ++
4855 tests/test_glib.py | 22 +-
4856 tests/test_gobject.py | 2 +
4857 tests/test_source.py | 3 -
4858 28 files changed, 437 insertions(+), 1776 deletions(-)
4860 commit 326218a20681c1f2234a6eea1ed800382be57626
4861 Author: Simon Feltman <s.feltman@gmail.com>
4862 Date: Wed Sep 19 15:37:14 2012 -0700
4864 Deprecate void pointer fields as general PyObject storage.
4866 Complete deprecation of gpointer struct fields as general
4867 PyObject storage. Only int types are now allowed.
4868 Assignment of anything other than an int or None raises
4869 a TypeError stating the error and associated bug URL.
4871 https://bugzilla.gnome.org/show_bug.cgi?id=683599
4873 gi/pygi-argument.c | 25 ++++++++++++++++-----
4874 gi/pygi-info.c | 28 ++++--------------------
4875 tests/test_everything.py | 53
4876 +++++++++++++++++++++++++--------------------
4877 tests/test_overrides_gtk.py | 41 -----------------------------------
4878 4 files changed, 54 insertions(+), 93 deletions(-)
4880 commit 3dba328010a4ffd9259700ffec95871c7341d491
4881 Author: Martin Pitt <martinpitt@gnome.org>
4882 Date: Tue Oct 23 11:59:08 2012 +0200
4884 Add some MainLoop, MainContext, and Source test cases
4886 These cover the remaining static API and behaviour, so that we
4888 regression tests for converting them to GI.
4890 See https://bugzilla.gnome.org/show_bug.cgi?id=686443
4892 tests/test_glib.py | 21 +++++++++++++++++++++
4893 tests/test_gobject.py | 11 +++++++++++
4894 tests/test_mainloop.py | 16 ++++++++++++++++
4895 tests/test_source.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
4896 4 files changed, 92 insertions(+)
4898 commit 7635340271df0a135873459e6a2a365fd4b187a2
4899 Author: Steve Frécinaux <code@istique.net>
4900 Date: Wed Feb 9 18:37:33 2011 +0100
4902 [API change] Do not bind gobject_get_data() and gobject_set_data()
4904 They will basically cause a crash if misused, and you can always use a
4905 python member attribute instead.
4907 These methods were marked as deprecated for 3.4 and throwing a
4909 let's remove them for good now.
4911 https://bugzilla.gnome.org/show_bug.cgi?id=641944
4913 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
4915 docs/reference/pygobject.xml | 63
4916 --------------------------------------------
4917 gi/_gobject/pygobject.c | 44 -------------------------------
4918 2 files changed, 107 deletions(-)
4920 commit cfec113e3b3eabf8db834f48b2f16792d1e841a3
4921 Author: Martin Pitt <martinpitt@gnome.org>
4922 Date: Tue Oct 23 08:17:40 2012 +0200
4924 Add test for GLib.get_current_time()
4926 This adds a plausibility test, as well as ensuring the documented
4928 This will be useful if/once we drop the static _glib binding.
4930 tests/test_glib.py | 5 +++++
4931 1 file changed, 5 insertions(+)
4933 commit fb473b31054744e5ab59e9d4ed3b74571e27d3ff
4934 Author: Martin Pitt <martinpitt@gnome.org>
4935 Date: Tue Oct 23 07:48:52 2012 +0200
4937 Drop unnecessary static _glib bindings
4939 Drop static pyglib bindings which have straightforward and working
4941 bindings. Add tests for all dropped functions to ensure they keep
4944 docs/reference/pyglib-constants.xml | 59 -------
4945 docs/reference/pyglib-functions.xml | 270 ------------------------------
4946 gi/_glib/__init__.py | 24 ---
4947 gi/_glib/glibmodule.c | 319
4948 ------------------------------------
4949 gi/_gobject/__init__.py | 9 -
4950 gi/overrides/GLib.py | 16 ++
4951 gi/overrides/GObject.py | 32 ++++
4952 gi/overrides/Makefile.am | 1 +
4953 tests/Makefile.am | 1 -
4954 tests/test_glib.py | 46 ++++++
4955 tests/test_gobject.py | 4 +
4956 tests/test_uris.py | 16 --
4957 12 files changed, 99 insertions(+), 698 deletions(-)
4959 commit 126a10f765af3d3a6f08ce5db7ed9f3ef647848f
4960 Author: Martin Pitt <martinpitt@gnome.org>
4961 Date: Tue Oct 23 06:12:08 2012 +0200
4963 Fix OverflowError in source_remove()
4965 GSource IDs are unsigned, so we must use 'I' for parsing then, not
4968 https://bugzilla.gnome.org/show_bug.cgi?id=684526
4970 gi/_glib/glibmodule.c | 2 +-
4971 tests/test_source.py | 13 ++++++++++++-
4972 2 files changed, 13 insertions(+), 2 deletions(-)
4974 commit 15f7442bd0c45db25073e3d8494094f1c284ffa4
4975 Author: Martin Pitt <martinpitt@gnome.org>
4976 Date: Mon Oct 22 13:38:23 2012 +0200
4978 Fix TestSource.testSources() test case
4980 PyGObject has established the assumption that the destruction of
4982 Python object does not destroy the actual GSource, as shown in
4983 TestSource.setup_timeout(), TestTimeout.test504337(), and
4984 https://bugzilla.gnome.org/show_bug.cgi?id=504337.
4986 So we need to explicitly destroy our MySource and Idle objects
4988 them, as their callbacks always return True and we do not want them
4990 over into other tests.
4992 Also fix the assertions to actually verify that MySources' callback
4994 (pos > 0, not pos >= 0), and use the unittest comparison API instead
4996 simple assert statement.
4998 https://bugzilla.gnome.org/show_bug.cgi?id=686627
5000 tests/test_source.py | 8 +++++++-
5001 1 file changed, 7 insertions(+), 1 deletion(-)
5003 commit b984a5fe0d065818a153f259db4dbde79534f084
5004 Author: Martin Pitt <martinpitt@gnome.org>
5005 Date: Mon Oct 22 17:38:56 2012 +0200
5007 configure.ac: post-release bump to 3.7.2
5010 1 file changed, 1 insertion(+), 1 deletion(-)
5012 commit ce0825f58c3eba6084143e430605ffb597622369
5013 Author: Martin Pitt <martinpitt@gnome.org>
5014 Date: Mon Oct 22 17:37:17 2012 +0200
5018 NEWS | 42 ++++++++++++++++++++++++++++++++++++++++++
5019 1 file changed, 42 insertions(+)
5021 commit a93763337ba7f952d787c42f45bfbb3ff02cc80d
5022 Author: Martin Pitt <martinpitt@gnome.org>
5023 Date: Mon Oct 22 17:33:12 2012 +0200
5025 Bump version to 3.7.1
5027 Let's follow the real GNOME versioning from now on.
5030 1 file changed, 1 insertion(+), 1 deletion(-)
5032 commit 3fb13cc05a281970c3a624c2dd152996031b482c
5033 Author: Martin Pitt <martinpitt@gnome.org>
5034 Date: Mon Oct 22 11:36:49 2012 +0200
5036 test_mainloop code cleanup
5038 Ensure that sys.excepthook is always restored, even if the test
5040 assert{True,False,Equal} unittest API instead of simple asserts for
5044 tests/test_mainloop.py | 19 ++++++++++---------
5045 1 file changed, 10 insertions(+), 9 deletions(-)
5047 commit 31061f20083aa60919f6763a12addbf2b052cab7
5048 Author: Simon Feltman <sfeltman@src.gnome.org>
5049 Date: Sun Oct 21 18:55:24 2012 -0700
5051 Change install_properties to not use getattr on classes
5053 The usage of getattr for accessing a classes __gproperties__
5054 variable can be problematic due to the potential of it returning
5055 the parent classes variable when it does not exist on the sub-class.
5056 Similar to the fix for
5057 https://bugzilla.gnome.org/show_bug.cgi?id=686496,
5058 cls.__dict__.get is used to ensure this does not happen.
5060 https://bugzilla.gnome.org/show_bug.cgi?id=686559
5062 gi/_gobject/propertyhelper.py | 2 +-
5063 tests/test_properties.py | 6 ++++--
5064 2 files changed, 5 insertions(+), 3 deletions(-)
5066 commit 438d3e68f19e2af5d027e18842ab05e0421d088d
5067 Author: Simon Feltman <sfeltman@src.gnome.org>
5068 Date: Sat Oct 20 19:56:04 2012 -0700
5070 Move property install function into propertyhelper.py
5072 Move _install_properties() into gi/_gobject/propertyhelper.py
5075 https://bugzilla.gnome.org/show_bug.cgi?id=686559
5077 gi/_gobject/__init__.py | 45 +++----------------------------
5078 gi/_gobject/propertyhelper.py | 45 +++++++++++++++++++++++++++++++
5079 tests/test_properties.py | 63
5080 +++++++++++++++++++++++++++++++++++++++++++
5081 3 files changed, 111 insertions(+), 42 deletions(-)
5083 commit 695a9077aa8f40357e050f090caa5e2b8c5c9593
5084 Author: Simon Feltman <s.feltman@gmail.com>
5085 Date: Sat Oct 20 03:11:07 2012 -0700
5087 Fix Signal decorator to not use base class gsignals dict
5089 Fix install_signals to not use the parent classes __gsignals__
5090 dict if one does not exist on the given class.
5092 https://bugzilla.gnome.org/show_bug.cgi?id=686496
5094 gi/_gobject/signalhelper.py | 2 +-
5095 tests/test_signal.py | 43
5096 +++++++++++++++++++++++++++++++++++++++++++
5097 2 files changed, 44 insertions(+), 1 deletion(-)
5099 commit 1ff04e846d50b948df6fa3260c548ef4f4779c58
5100 Author: Martin Pitt <martinpitt@gnome.org>
5101 Date: Fri Oct 19 09:05:01 2012 +0200
5103 tests: Consistently use GLib.MainLoop
5105 ... instead of mixing GObject.MainLoop and GLib.MainLoop.
5107 tests/test_everything.py | 4 ++--
5108 tests/test_gdbus.py | 11 +++++------
5109 2 files changed, 7 insertions(+), 8 deletions(-)
5111 commit ff7e7401b4cf50532fef70263f7559ea513b8333
5112 Author: Kalev Lember <kalevlember@gmail.com>
5113 Date: Wed Oct 17 18:27:14 2012 +0200
5115 Install the .egg-info files into correct multilib directory
5117 This makes sure the .egg-info files end up in the same python
5119 directory as the rest of the gi .py files.
5121 https://bugzilla.gnome.org/show_bug.cgi?id=686315
5123 Makefile.am | 6 +++---
5124 1 file changed, 3 insertions(+), 3 deletions(-)
5126 commit 91e4cb2063d4e83fb1f6586a4396471d64f234f4
5127 Author: Simon Feltman <s.feltman@gmail.com>
5128 Date: Mon Oct 15 04:03:50 2012 -0700
5130 Fix leaked vfunc return values
5132 Simple fix to dec ref returned values from closures wrapping
5135 https://bugzilla.gnome.org/show_bug.cgi?id=686140
5137 gi/pygi-closure.c | 1 +
5138 tests/test_gi.py | 21 +++++++++++++++++++--
5139 2 files changed, 20 insertions(+), 2 deletions(-)
5141 commit 75e373b99c3cb66dd60b13c803e5f7eec77cc415
5142 Author: Martin Pitt <martinpitt@gnome.org>
5143 Date: Mon Oct 15 07:42:05 2012 +0200
5145 Skip Regress tests with --disable-cairo
5147 We need cairo to build g-i's Regress library, gir, and typelib. Update
5148 configure.ac to only require cairo if --disable-cairo was not
5150 --disable-cairo, skip building the Regress library and skip all
5154 https://bugzilla.gnome.org/show_bug.cgi?id=685094
5156 configure.ac | 5 ++---
5157 tests/Makefile.am | 45
5158 +++++++++++++++++++++++++++------------------
5159 tests/test_everything.py | 15 +++++++++++----
5160 tests/test_overrides.py | 7 ++++++-
5161 4 files changed, 46 insertions(+), 26 deletions(-)
5163 commit a2ab72aa39824579d1767d1fdba7e1031341f86c
5164 Author: Martin Pitt <martinpitt@gnome.org>
5165 Date: Fri Oct 12 11:05:24 2012 +0200
5167 _pygi_marshal_from_py_uint64: Re-fix check of negative values
5169 Fix regression from commit 1bfcd5d94 (exposed by several test cases)
5173 https://bugzilla.gnome.org/show_bug.cgi?id=685000
5175 gi/pygi-marshal-from-py.c | 6 +++---
5176 1 file changed, 3 insertions(+), 3 deletions(-)
5178 commit 22c22124b787ae67638aff89796d7ce14900ea8e
5179 Author: Simon Feltman <s.feltman@gmail.com>
5180 Date: Mon Oct 8 05:54:30 2012 -0700
5182 Fix leak with python callables as closure argument.
5184 The fix adds an extra args_data list to the PyGIInvokeState
5185 structure. This list is used to track dynamically generated
5186 closures that wrap python callables. This allows the ffi closure
5187 and python callable to be freed when call scope has finished.
5189 https://bugzilla.gnome.org/show_bug.cgi?id=685598
5191 gi/pygi-cache.c | 1 +
5192 gi/pygi-closure.c | 41 +++++++++----
5193 gi/pygi-invoke-state-struct.h | 4 ++
5194 gi/pygi-invoke.c | 7 +++
5195 gi/pygi-marshal-cleanup.c | 14 +++++
5196 gi/pygi-marshal-cleanup.h | 4 ++
5197 gi/pygi-marshal-from-py.c | 57 ++++++++++++++----
5198 tests/test_everything.py | 137
5199 +++++++++++++++++++++++++++++++-----------
5200 8 files changed, 206 insertions(+), 59 deletions(-)
5202 commit c0bc69906df2db64560f7c054277ad1956aab57f
5203 Author: Martin Pitt <martinpitt@gnome.org>
5204 Date: Thu Oct 11 17:49:30 2012 +0200
5206 Gio overrides: Handle setting GSettings enum keys
5208 https://bugzilla.gnome.org/show_bug.cgi?id=685947
5210 gi/overrides/Gio.py | 9 ++++++++-
5211 tests/test_overrides_gio.py | 3 +++
5212 2 files changed, 11 insertions(+), 1 deletion(-)
5214 commit bbbb7c9ed047a22ac3c43f2b0331d3b5ea32e812
5215 Author: Martin Pitt <martinpitt@gnome.org>
5216 Date: Thu Oct 11 17:20:38 2012 +0200
5218 tests: Check reading GSettings enums in Gio overrides
5220 Also split test_override() into several smaller test cases.
5222 tests/org.gnome.test.gschema.xml | 9 +++++++++
5223 tests/test_overrides_gio.py | 14 +++++++++-----
5224 2 files changed, 18 insertions(+), 5 deletions(-)
5226 commit 8a2e96cd4e33b6c119a368d73a9d5504576cdccb
5227 Author: Martin Pitt <martinpitt@gnome.org>
5228 Date: Thu Oct 11 16:08:11 2012 +0200
5230 Fix unsigned values in GArray/GList/GSList/GHash
5232 _pygi_hash_pointer_to_arg() needs to handle unsigned integers as well.
5234 https://bugzilla.gnome.org/show_bug.cgi?id=685860
5236 gi/pygi-argument.c | 9 +++++++++
5237 tests/test_gi.py | 12 ++++++++++++
5238 2 files changed, 21 insertions(+)
5240 commit d394acbb58b38e6f52ee71e8e663a892676ab9e4
5241 Author: Colin Walters <walters@verbum.org>
5242 Date: Thu Oct 4 20:13:55 2012 -0400
5244 build: Fix srcdir != builddir
5247 1 file changed, 1 insertion(+), 1 deletion(-)
5249 commit 1bfcd5d94b71edc9f03c8b3e87952a8bc8097586
5250 Author: Alban Browaeys <prahal@yahoo.com>
5251 Date: Thu Sep 27 22:44:22 2012 +0200
5253 _pygi_marshal_from_py_uint64(): Use correct data type in py2.7 check
5255 Casting an unsigned to signed and checking if positive was not
5257 unsigned 64 is below G_MAXUINT64 instead.
5259 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=685000
5261 gi/pygi-marshal-from-py.c | 4 ++--
5262 1 file changed, 2 insertions(+), 2 deletions(-)
5264 commit f0870336b9fc7797895f206e0d3ef17a19efe253
5265 Author: Johan Dahlin <johan@gnome.org>
5266 Date: Tue Oct 2 05:30:16 2012 -0700
5268 Install an .egg-info file
5270 This will help easy_install and pip to figure out that PyGObject
5271 is already installed.
5273 https://bugzilla.gnome.org/show_bug.cgi?id=680138
5275 Makefile.am | 13 ++++++++-----
5276 1 file changed, 8 insertions(+), 5 deletions(-)
5278 commit 4c9318d97aa34051a0460e8db2ed0f963126b7f5
5279 Author: Johan Dahlin <johan@gnome.org>
5280 Date: Thu Oct 4 09:42:41 2012 +0200
5282 PyGProps_getattro(): Fix GObjectClass leak
5284 https://bugzilla.gnome.org/show_bug.cgi?id=685218
5286 gi/_gobject/pygobject.c | 4 +++-
5287 1 file changed, 3 insertions(+), 1 deletion(-)
5289 commit 2aa61520eb4f293ce94d54605d7642a39e18e03d
5290 Author: Olivier Crête <olivier.crete@collabora.com>
5291 Date: Mon Sep 17 15:16:32 2012 -0400
5293 pygobject.c: Don't leak GObjectClass reference
5295 https://bugzilla.gnome.org/show_bug.cgi?id=684062
5297 gi/_gobject/pygobject.c | 6 +++++-
5298 1 file changed, 5 insertions(+), 1 deletion(-)
5300 commit 43d356d03d4c83e9de3c56f98a70d387b46f17af
5301 Author: Alban Browaeys <prahal@yahoo.com>
5302 Date: Sat Sep 29 01:17:14 2012 +0200
5304 Fix memory leak in _pygi_argument_to_array()
5306 Length arg and type info need to be unref'ed.
5308 https://bugzilla.gnome.org/show_bug.cgi?id=685082
5310 gi/pygi-argument.c | 3 +++
5311 1 file changed, 3 insertions(+)
5313 commit 34270a109d2af20391c80e88874ee7303eaf5c09
5314 Author: Martin Pitt <martinpitt@gnome.org>
5315 Date: Fri Sep 28 07:42:51 2012 +0200
5317 Fix error messages for out of range numbers
5319 PyErr_Format() does not understand %lli and %li, it needs to be %lld
5321 So we cannot use those and G_GINT64_FORMAT.
5323 Also remove the "if (long_ < G_MININT64 || long_ > G_MAXINT64)"
5325 is a gint64 which can't possibly overflow its own data type. It
5327 an unprintable error message.
5329 https://bugzilla.gnome.org/show_bug.cgi?id=684314
5331 gi/pygi-marshal-from-py.c | 21 ++++++++-------------
5332 1 file changed, 8 insertions(+), 13 deletions(-)
5334 commit 7f1422bf929976722edd6144beb0b4c96d74391b
5335 Author: Martin Pitt <martinpitt@gnome.org>
5336 Date: Fri Sep 28 06:59:38 2012 +0200
5338 Kill dbus-daemon after running tests
5340 dbus-launch does not kill the spawned dbus-daemon by itself (see
5341 https://bugs.freedesktop.org/show_bug.cgi?id=39196), so do that
5343 our tests. Take care to preserve the exit code.
5345 https://bugzilla.gnome.org/show_bug.cgi?id=685009
5347 tests/Makefile.am | 5 ++++-
5348 1 file changed, 4 insertions(+), 1 deletion(-)
5350 commit bfd9c8fac1ea240b29fbcd4185dc1702539c1e96
5351 Author: Martin Pitt <martinpitt@gnome.org>
5352 Date: Thu Sep 27 08:18:34 2012 +0200
5354 GVariant overrides: Support empty tuple arrays
5356 Implement the "empty value" branch in _create_tuple(), so that
5358 can call it for parsing the element type for an empty array.
5360 This fixes creating variants such as GLib.Variant('a(ii)', []).
5362 https://bugzilla.gnome.org/show_bug.cgi?id=684928
5364 gi/overrides/GLib.py | 30 +++++++++++++++++++++++-------
5365 tests/test_overrides_glib.py | 31 +++++++++++++++++++++++++++++++
5366 2 files changed, 54 insertions(+), 7 deletions(-)
5368 commit 75d452ea5b179c3585adcf95356b4316c9180768
5369 Author: Martin Pitt <martinpitt@gnome.org>
5370 Date: Thu Sep 27 06:50:12 2012 +0200
5372 TestGVariant: Split creation test case into several smaller ones
5374 tests/test_overrides_glib.py | 20 ++++++--------------
5375 1 file changed, 6 insertions(+), 14 deletions(-)
5377 commit 4a20bcb3f97614044d351f8e436a81d332db55ba
5378 Author: Martin Pitt <martinpitt@gnome.org>
5379 Date: Tue Sep 25 09:10:10 2012 +0200
5381 Fix unused variables and results
5383 This gets rid of all warnings except the deprecated symbol ones.
5385 gi/_glib/pygiochannel.c | 9 +++------
5386 gi/pygi-argument.c | 4 +---
5387 gi/pygi-callbacks.c | 4 ----
5388 gi/pygi-ccallback.c | 1 -
5389 gi/pygi-repository.c | 3 +--
5390 5 files changed, 5 insertions(+), 16 deletions(-)
5392 commit 5285f14fee93d2729d4422c40a945adc2be69c14
5393 Author: Martin Pitt <martinpitt@gnome.org>
5394 Date: Tue Sep 25 08:56:20 2012 +0200
5396 tests: Fix wrong return type in test_int64_callback()
5398 https://bugzilla.gnome.org/show_bug.cgi?id=684700
5400 tests/testhelpermodule.c | 2 +-
5401 1 file changed, 1 insertion(+), 1 deletion(-)
5403 commit e14ebab6099d082466ec11ca21d44de0d6017216
5404 Author: Giovanni Campagna <gcampagna@src.gnome.org>
5405 Date: Wed Sep 19 00:10:57 2012 +0200
5407 Fix GValue marshalling of long and unsigned long
5409 long can be equivalent to int64 or int32, depending on the
5411 and GI conflates this distinction in the typelib, but GType does
5413 warns if the wrong accessor is used.
5415 https://bugzilla.gnome.org/show_bug.cgi?id=684331
5417 gi/pygi-argument.c | 25 +++++++++++++++++++++----
5418 1 file changed, 21 insertions(+), 4 deletions(-)
5420 commit 50571dd27d1f7c6bed8c5aaa518b504c9f4c4ab6
5421 Author: Simon Feltman <s.feltman@gmail.com>
5422 Date: Wed Sep 19 19:07:00 2012 -0700
5424 Clean up deprecation message for assigning gpointers to objects.
5426 The previous deprecation message was worded as if the deprecation
5427 had already occurred and it has not.
5429 https://bugzilla.gnome.org/show_bug.cgi?id=683599
5431 gi/pygi-info.c | 4 ++--
5432 1 file changed, 2 insertions(+), 2 deletions(-)
5434 commit 4bfe7972546413f46f5c36737ff03bb5612c1921
5435 Author: Olivier Crête <olivier.crete@collabora.com>
5436 Date: Tue Sep 18 08:52:02 2012 +0200
5438 pygi-property: Lookup property in base classes of non-introspected
5441 Look for introspection data in the base classes of non-introspected
5443 This is necessary to look up introspection data for plugins.
5445 https://bugzilla.gnome.org/show_bug.cgi?id=684058
5447 gi/pygi-property.c | 28 ++++++++++++++--------------
5448 tests/test_everything.py | 12 ++++++++++++
5449 2 files changed, 26 insertions(+), 14 deletions(-)
5451 commit 7aa94cc861082147b9c382b930f3257f0a842c84
5452 Author: Martin Pitt <martinpitt@gnome.org>
5453 Date: Mon Sep 24 09:41:10 2012 +0200
5455 post-release bump to 3.4.1
5458 1 file changed, 1 insertion(+), 1 deletion(-)
5460 commit fcceed3adb8d78baba68861a1408627321b2c1ef
5461 Author: Martin Pitt <martinpitt@gnome.org>
5462 Date: Mon Sep 24 09:35:33 2012 +0200
5467 configure.ac | 4 ++--
5468 2 files changed, 5 insertions(+), 2 deletions(-)
5470 commit 645a9d9d4712f8f0d1b63899b309bbc97eb1f216
5471 Author: Martin Pitt <martinpitt@gnome.org>
5472 Date: Mon Sep 24 09:27:47 2012 +0200
5474 Bump g-i dependency to 1.33.14
5476 To ensure we have all the Regress test APIs that we use.
5479 1 file changed, 1 insertion(+), 1 deletion(-)
5481 commit b6f4ef327fbeaa10fd74571c3df540311834d6ae
5482 Author: Martin Pitt <martinpitt@gnome.org>
5483 Date: Mon Sep 17 22:52:49 2012 +0200
5485 post-release bump to 3.3.93
5488 1 file changed, 1 insertion(+), 1 deletion(-)
5490 commit 7e154cf01cf0ce7a8b52c45ba4db755f73b45d1d
5491 Author: Martin Pitt <martinpitt@gnome.org>
5492 Date: Mon Sep 17 22:48:13 2012 +0200
5496 NEWS | 12 ++++++++++++
5497 1 file changed, 12 insertions(+)
5499 commit adbe30dc72b4d88bb31055f6ee33fddf32638af9
5500 Author: Martin Pitt <martinpitt@gnome.org>
5501 Date: Mon Sep 17 22:32:55 2012 +0200
5503 release-news: Generate HTML changelog
5505 In addition to producing a NEWS paragraph from the changelog,
5507 changelog HTML which can be put into blog announcements.
5509 Update HACKING to point this out, too.
5512 Makefile.am | 22 ++++++++++++++++------
5513 2 files changed, 17 insertions(+), 7 deletions(-)
5515 commit be4a0682bdd189ee908ab1961001f759a80e133c
5516 Author: Simon Feltman <s.feltman@gmail.com>
5517 Date: Sun Sep 16 17:27:25 2012 -0700
5519 [API add] Add ObjectInfo.get_abstract method
5521 Adds exposure of g_object_info_get_abstract to python for
5522 helping with analysis of non-constructable objects from
5525 https://bugzilla.gnome.org/show_bug.cgi?id=675581
5527 gi/pygi-info.c | 8 ++++++++
5528 tests/test_gi.py | 12 ++++++++++++
5529 2 files changed, 20 insertions(+)
5531 commit 3ada408434860d0c8eee6c6a869b5a3d801cfbc8
5532 Author: Simon Feltman <s.feltman@gmail.com>
5533 Date: Thu Sep 13 20:53:22 2012 -0700
5535 Add deprecation warning when setting gpointers to anything other
5538 This is a first pass which does not change anything except add
5540 when anything other than an int is set on a gpointer on a boxed type.
5542 https://bugzilla.gnome.org/show_bug.cgi?id=683599
5544 gi/pygi-info.c | 8 ++++++++
5545 1 file changed, 8 insertions(+)
5547 commit a047f61f26d9c78b82d22948199313e5a389e918
5548 Author: Martin Pitt <martinpitt@gnome.org>
5549 Date: Mon Sep 17 09:41:24 2012 +0200
5551 test_properties: Test accessing a property from a superclass
5553 We already cover accessing the superclass' property if that was
5555 Python. Add a corresponding test case for a property defined in C.
5557 See https://bugzilla.gnome.org/show_bug.cgi?id=684058
5559 tests/test_properties.py | 12 ++++++++++++
5560 1 file changed, 12 insertions(+)
5562 commit 3e6a4000cbc4b0cb503fcd89b50202ed0b70d3a7
5563 Author: Martin Pitt <martinpitt@gnome.org>
5564 Date: Mon Sep 17 09:31:05 2012 +0200
5566 test_properties.py: Consistent test names
5568 Use underscore style method/test case names consistently. Also rename
5570 cases to better describe what they do.
5572 tests/test_properties.py | 78
5573 ++++++++++++++++++++++++------------------------
5574 1 file changed, 39 insertions(+), 39 deletions(-)
5576 commit 4069c3d8547f35437e0cee175a5912febe25326d
5577 Author: Martin Pitt <martinpitt@gnome.org>
5578 Date: Wed Sep 12 06:51:24 2012 +0200
5580 test_everything: Ensure TestSignals callback does get called
5582 tests/test_everything.py | 3 +++
5583 1 file changed, 3 insertions(+)
5585 commit 4e4c87e3868948743e0446abe2ba0cf5626374c4
5586 Author: Nicolas Dufresne <nicolas.dufresne@collabora.com>
5587 Date: Fri Sep 7 17:17:09 2012 -0400
5589 argument: Fix 64bit integer convertion from GValue
5591 Trying to get a 64bit integer using the wrong getter was resulting
5593 assertion and 0 being returned.
5595 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
5597 https://bugzilla.gnome.org/show_bug.cgi?id=683596
5599 gi/pygi-argument.c | 8 ++++++--
5600 tests/test_everything.py | 52
5601 ++++++++++++++++++++++++++++++++++++++++++++++++
5602 2 files changed, 58 insertions(+), 2 deletions(-)
5604 commit e474ce243ea7a58358af344ccadb1418f4d2c8eb
5605 Author: Martin Pitt <martinpitt@gnome.org>
5606 Date: Tue Sep 11 12:32:10 2012 +0200
5608 Add Simon Feltman as a project maintainer
5610 Signed-off-By: Martin Pitt <martinpitt@gnome.org>
5611 Signed-off-By: Paolo Borelli <pborelli@gnome.org>
5613 pygobject.doap | 7 +++++++
5614 1 file changed, 7 insertions(+)
5616 commit ee1fc78258f10e8a7872ee3da6c9ad6e7984706e
5617 Author: Martin Pitt <martinpitt@gnome.org>
5618 Date: Tue Sep 11 10:17:50 2012 +0200
5620 test_signals.py: Drop global type variables
5622 Just use the real types and flags from GObject instead of redefining
5624 for them. They weren't used consistently, make the tests harder to
5626 really do not want global single-letter variables like "f" and "l".
5628 tests/test_signal.py | 38 ++++++++++++++++----------------------
5629 1 file changed, 16 insertions(+), 22 deletions(-)
5631 commit 3688cf6efe7161585b943cfaafcfd4610b7ad768
5632 Author: Martin Pitt <martinpitt@gnome.org>
5633 Date: Tue Sep 11 10:11:58 2012 +0200
5635 test_signals.py: Consistent test names
5637 Use underscore style method/test case names consistently.
5639 tests/test_signal.py | 88
5640 ++++++++++++++++++++++++++--------------------------
5641 1 file changed, 44 insertions(+), 44 deletions(-)
5643 commit 4559247553b792db956f69c9674c12344d719c82
5644 Author: Martin Pitt <martinpitt@gnome.org>
5645 Date: Tue Sep 11 09:43:14 2012 +0200
5647 Add test cases for GValue signal arguments
5649 These cover various types, (u)int(64) and string.
5651 Keep the test case for implicit int64 GValues disabled, as this
5653 not work and it is not clear whether it should:
5654 https://bugzilla.gnome.org/show_bug.cgi?id=683775
5656 tests/test_signal.py | 41 +++++++++++++++++++++++++++++++++++++++++
5657 tests/testhelpermodule.c | 17 +++++++++++++++++
5658 2 files changed, 58 insertions(+)
5660 commit fddb01b0b71b68d154d130cf40fd5f38647b1a4d
5661 Author: Martin Pitt <martinpitt@gnome.org>
5662 Date: Tue Sep 11 09:31:18 2012 +0200
5664 Add test for GValue signal return values
5666 Another attempt to reproduce the reported error in
5667 https://bugzilla.gnome.org/show_bug.cgi?id=683596
5668 but this works already.
5670 tests/test_signal.py | 13 +++++++++++++
5671 tests/testhelpermodule.c | 36 ++++++++++++++++++++++++++++++++++++
5672 2 files changed, 49 insertions(+)
5674 commit 4f77c7798563ea436ff5b6306a987f03de50b211
5675 Author: Simon Feltman <s.feltman@gmail.com>
5676 Date: Fri Sep 7 02:32:15 2012 -0700
5678 Improve setting pointer fields/arguments to NULL using None
5680 Setting gi pointers will set them to the address of the python object.
5681 This is good except in the case of None which should be used to NULL
5682 the pointer out as a special case.
5684 Commit 21b1d17d2a already fixed this. This improved patch
5685 does that in a cleaner and safer way and adds more comments.
5687 https://bugzilla.gnome.org/show_bug.cgi?id=683150
5689 gi/pygi-argument.c | 8 +-------
5690 gi/pygi-info.c | 14 +++++++++++++-
5691 2 files changed, 14 insertions(+), 8 deletions(-)
5693 commit 15046b5a11f6c58a3e5a9c50cf0ce7f31f2cd55f
5694 Author: Martin Pitt <martinpitt@gnome.org>
5695 Date: Mon Sep 10 16:46:30 2012 +0200
5697 Test gint64 C signal arguments and return values
5699 tests/test_signal.py | 12 ++++++++++++
5700 tests/testhelpermodule.c | 14 ++++++++++++++
5701 2 files changed, 26 insertions(+)
5703 commit 822d9e07a95f706a40f64335765293542787da90
5704 Author: Martin Pitt <martinpitt@gnome.org>
5705 Date: Mon Sep 10 16:29:32 2012 +0200
5707 Test in/out int64 GValue method arguments.
5709 See https://bugzilla.gnome.org/show_bug.cgi?id=683596
5711 tests/test_gi.py | 9 +++++++++
5712 1 file changed, 9 insertions(+)
5714 commit 2d83e52233812618493af4b165615e8741ba41c8
5715 Author: Martin Pitt <martinpitt@gnome.org>
5716 Date: Wed Sep 5 08:54:53 2012 +0200
5718 Bump g-i dependency to 1.33.10
5720 To ensure we have all the Regress test APIs that we use.
5723 1 file changed, 1 insertion(+), 1 deletion(-)
5725 commit 6a4f4dc9a3d21c3ac8a0aa51432fb8952b4e1ebf
5726 Author: Thibault Saunier <thibault.saunier@collabora.com>
5727 Date: Wed Aug 8 12:57:41 2012 -0400
5729 Fix -uninstalled.pc.in file
5731 https://bugzilla.gnome.org/show_bug.cgi?id=683379
5733 pygobject-3.0-uninstalled.pc.in | 6 +++---
5734 1 file changed, 3 insertions(+), 3 deletions(-)
5736 commit d8f1398dbc7fa7803639c542a607f24f18614ad6
5737 Author: Martin Pitt <martinpitt@gnome.org>
5738 Date: Mon Sep 3 22:16:47 2012 +0200
5740 post-release bump to 3.3.92
5743 1 file changed, 1 insertion(+), 1 deletion(-)
5745 commit ea992324b8197b2d04ff2849b9ab46f8a04b4ed7
5746 Author: Martin Pitt <martinpitt@gnome.org>
5747 Date: Mon Sep 3 22:04:01 2012 +0200
5751 NEWS | 32 ++++++++++++++++++++++++++++++++
5752 1 file changed, 32 insertions(+)
5754 commit 1e1f5b2f2f15547c1f2cbc948d2b764bd0a37c44
5755 Author: Martin Pitt <martinpitt@gnome.org>
5756 Date: Mon Sep 3 21:57:00 2012 +0200
5758 Fix exception test case for Python 2
5760 Regression from commit 77844c5 which did not work with Python 2.
5762 tests/test_everything.py | 12 +++++++-----
5763 1 file changed, 7 insertions(+), 5 deletions(-)
5765 commit 41bb687c058e08b05108b4b2f081cd83d4f93da8
5766 Author: Martin Pitt <martinpitt@gnome.org>
5767 Date: Mon Sep 3 21:16:01 2012 +0200
5771 Require at least 1.33.9, as we got a couple of bug fixes there which
5773 and for some cases the code, depend on. We actually require 1.33.10
5775 tests to succeed, but that hasn't been released yet.
5778 1 file changed, 1 insertion(+), 1 deletion(-)
5780 commit 77844c571ad0badc189428b93de9f2572051b67e
5781 Author: Martin Pitt <martinpitt@gnome.org>
5782 Date: Mon Sep 3 17:58:38 2012 +0200
5784 Show proper exception when trying to allocate a disguised struct
5786 Instead of a simple "MemoryError" with no details, raise a proper
5787 TypeError with a traceback and an explanation what happened.
5789 https://bugzilla.gnome.org/show_bug.cgi?id=639972
5791 gi/pygi-struct.c | 7 +++++++
5792 tests/test_everything.py | 13 +++++++++++++
5793 2 files changed, 20 insertions(+)
5795 commit 0d099bdb3f4bbd962e5e60b583673d9e6f5673cc
5796 Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
5797 Date: Mon Sep 3 16:47:22 2012 +0200
5799 Support marshalling GParamSpec signal arguments
5801 Fix marshalling GParamSpec arguments from C to Python.
5803 https://bugzilla.gnome.org/show_bug.cgi?id=683099
5805 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
5807 gi/pygi-argument.c | 10 +++++++++-
5808 tests/test_signal.py | 14 ++++++++++++++
5809 2 files changed, 23 insertions(+), 1 deletion(-)
5811 commit 69fb92c22b3f3d1d5e8c3e14134eee3242fdc5fc
5812 Author: Martin Pitt <martinpitt@gnome.org>
5813 Date: Mon Sep 3 16:06:49 2012 +0200
5815 Add test for a signal that returns a GParamSpec
5817 https://bugzilla.gnome.org/show_bug.cgi?id=683265
5819 tests/test_signal.py | 6 ++++++
5820 tests/testhelpermodule.c | 12 ++++++++++++
5821 2 files changed, 18 insertions(+)
5823 commit a7c524219987fbf37e455a91e4c78d2b9b4db12d
5824 Author: Simon Feltman <s.feltman@gmail.com>
5825 Date: Tue Mar 20 04:33:50 2012 -0700
5827 [API add] Add Signal class for adding and connecting custom signals.
5829 The Signal class provides easy creation of signals and removes the
5830 need for __gsignals__ in client code. The Signal class can also be
5831 used as a decorator for wrapping up the custom closure. As well as
5832 providing a "BoundSignal" when accessed on an instance for making
5833 connections without specifying a signal name string.
5834 Python3 annotations can also be used to supply closure argument and
5835 return types when Signal is used as a decorator. For example:
5837 class Eggs(GObject.GObject):
5839 def spam(self, count:int):
5842 https://bugzilla.gnome.org/show_bug.cgi?id=434924
5844 examples/signal.py | 34 ++++--
5845 gi/_gobject/Makefile.am | 3 +-
5846 gi/_gobject/__init__.py | 5 +
5847 gi/_gobject/signalhelper.py | 251
5848 ++++++++++++++++++++++++++++++++++++++++++++
5849 tests/test_signal.py | 208 ++++++++++++++++++++++++++++++++++--
5850 5 files changed, 482 insertions(+), 19 deletions(-)
5852 commit 96fa22369fd188465559fc904c7f76e73040e6dd
5853 Author: Martin Pitt <martinpitt@gnome.org>
5854 Date: Mon Sep 3 15:32:12 2012 +0200
5856 Fix pygtkcompat's Gtk.TreeView.insert_column_with_attributes()
5858 We have a proper implementation for insert_column_with_attributes()
5860 drop pygtkcompat's empty stub for it.
5862 Also improve test case for
5863 Gtk.TreeView.insert_column_with_attributes().
5865 gi/pygtkcompat.py | 6 ------
5866 tests/test_overrides_gtk.py | 16 ++++++++--------
5867 2 files changed, 8 insertions(+), 14 deletions(-)
5869 commit 542cf22c9de9b2094868c4e879b0f24b15c4c012
5870 Author: Marta Maria Casetti <mmcasetti@gmail.com>
5871 Date: Mon Sep 3 13:06:22 2012 +0200
5873 Add override for Gtk.TreeView.insert_column_with_attributes()
5875 https://bugzilla.gnome.org/show_bug.cgi?id=679415
5877 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
5879 gi/overrides/Gtk.py | 7 +++++++
5880 tests/test_overrides_gtk.py | 38 ++++++++++++++++++++++++++++++++++++++
5881 2 files changed, 45 insertions(+)
5883 commit 1c73e845361e471b1c3a3f17e40e6a6cfa740877
5884 Author: Martin Pitt <martinpitt@gnome.org>
5885 Date: Mon Sep 3 11:09:55 2012 +0200
5887 .gitignore: Add missing built files
5889 .gitignore | 9 +++++++--
5890 1 file changed, 7 insertions(+), 2 deletions(-)
5892 commit 96431f393036a688666dcf67911bf12b9824b264
5893 Author: Martin Pitt <martinpitt@gnome.org>
5894 Date: Mon Sep 3 11:07:32 2012 +0200
5896 Ship tests/gi in tarball
5898 Spotted by distcheck.
5900 tests/Makefile.am | 6 +++++-
5901 1 file changed, 5 insertions(+), 1 deletion(-)
5903 commit dc2c6e6f60d2757462cbceef6176b0b3013904d3
5904 Author: Martin Pitt <martinpitt@gnome.org>
5905 Date: Mon Sep 3 10:18:45 2012 +0200
5907 Fix separate build tree and distcheck
5909 Fix regression from c7c95a79: We must set sys.path in runtests.py
5911 cannot rely on setting $PYTHONPATH from Makefile.am only. Python
5913 prepends the directory of the source file to sys.path, but that
5915 source dir, not the build dir. The build dir has to take precedence,
5917 we fail to import the built libraries.
5919 tests/runtests-windows.py | 10 +++++++---
5920 tests/runtests.py | 13 ++++++++-----
5921 2 files changed, 15 insertions(+), 8 deletions(-)
5923 commit 2d8f48f4ff56bb75985136452b50b75895258608
5924 Author: Martin Pitt <martinpitt@gnome.org>
5925 Date: Mon Sep 3 07:57:01 2012 +0200
5927 Split test_overrides.py
5929 Split the huge test_overrides.py into separate files for gdk, gtk,
5931 and pango. Further split the monolithic classes for Gtk and Gio
5935 https://bugzilla.gnome.org/show_bug.cgi?id=683188
5937 tests/Makefile.am | 5 +
5938 tests/test_overrides.py | 2198
5939 +----------------------------------------
5940 tests/test_overrides_gdk.py | 119 +++
5941 tests/test_overrides_gio.py | 114 +++
5942 tests/test_overrides_glib.py | 445 +++++++++
5943 tests/test_overrides_gtk.py | 1517 ++++++++++++++++++++++++++++
5944 tests/test_overrides_pango.py | 32 +
5945 7 files changed, 2234 insertions(+), 2196 deletions(-)
5947 commit 1223358e2c558dd7ac3300126f989054ec5a5b3f
5948 Author: Martin Pitt <martinpitt@gnome.org>
5949 Date: Mon Sep 3 07:17:57 2012 +0200
5951 _pygi_argument_to_object(): Clean up array unmarshalling
5953 The NULL case is already handled at the top, so it does not need to be
5956 Emit a critical if we fail to allocate a Python array of the
5959 gi/pygi-argument.c | 47 ++++++++++++++++-------------------------------
5960 1 file changed, 16 insertions(+), 31 deletions(-)
5962 commit 65bfbc624bc9da6e18ff2945b14099ab8eeb7601
5963 Author: Alban Browaeys <prahal@yahoo.com>
5964 Date: Wed Aug 29 21:24:17 2012 +0200
5966 Fix memory leak in _pygi_argument_to_object()
5968 Avoid leaking the item_type_info when breaking out of the
5969 switch in _pygi_argument_to_object() for unmarshalling arrays.
5971 https://bugzilla.gnome.org/show_bug.cgi?id=682979
5973 gi/pygi-argument.c | 4 ++++
5974 1 file changed, 4 insertions(+)
5976 commit 21b1d17d2ada2edf4063a4262b3436c279da3dc2
5977 Author: Simon Feltman <s.feltman@gmail.com>
5978 Date: Sat Sep 1 03:40:31 2012 -0700
5980 Fix setting pointer fields/arguments to NULL using None.
5982 Setting gi pointers will set them to the address of the python object.
5983 This is good except in the case of None which should be used to NULL
5984 the pointer out as a special case.
5986 https://bugzilla.gnome.org/show_bug.cgi?id=683150
5988 gi/pygi-argument.c | 8 +++++++-
5989 tests/test_overrides.py | 41 +++++++++++++++++++++++++++++++++++++++++
5990 2 files changed, 48 insertions(+), 1 deletion(-)
5992 commit 6123e6f5001ca5eaea18123d8a53525abab31a45
5993 Author: Martin Pitt <martinpitt@gnome.org>
5994 Date: Thu Aug 23 06:44:27 2012 +0200
5996 Fix for python 2.6, drop support for < 2.6
5998 Replace sys.version_info.major access to tuple access which also
6002 When building for Python 2.6, inject some missing unittest API such as
6003 @unittest.skipUnless and assertGreaterEqual() into the unittest
6005 runtests.py, so that the tests have a chance to run.
6007 As building with Python 2.5 has been broken for a long time with
6009 complaining, and 2.5 is ancient, bump minimum Python requirement to
6011 obsolete #ifdef paths which only apply to <= 2.5.
6013 https://bugzilla.gnome.org/show_bug.cgi?id=682422
6016 gi/_glib/pyglib-python-compat.h | 8 --------
6017 gi/_gobject/gobjectmodule.c | 8 --------
6019 tests/runtests.py | 27 +++++++++++++++++++++++++++
6020 tests/test_gi.py | 2 +-
6021 6 files changed, 30 insertions(+), 19 deletions(-)
6023 commit b1a9848a7a7255e6b1ccd98712dd62b1514078b9
6024 Author: Thibault Saunier <thibault.saunier@collabora.com>
6025 Date: Tue Aug 21 07:54:09 2012 +0200
6027 Allow overrides in other directories than gi itself
6029 Use pkgutil.extend_path() for the gi and gi.overrides modules, so that
6030 libraries can install overrides in a path that is different from
6032 pygobject installs itself into. These overrides need to put this
6034 __init__.py at the top:
6036 from pkgutil import extend_path
6037 __path__ = extend_path(__path__, __name__)
6039 and put themselves somewhere into the default PYTHONPATH.
6041 https://bugzilla.gnome.org/show_bug.cgi?id=680913
6043 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
6044 Co-Authored-By: Simon Feltman <s.feltman@gmail.com>
6046 gi/__init__.py | 4 ++++
6047 gi/overrides/__init__.py | 4 ++++
6048 tests/gi/__init__.py | 2 ++
6049 tests/gi/overrides/Regress.py | 26 ++++++++++++++++++++++++++
6050 tests/gi/overrides/__init__.py | 2 ++
6051 tests/test_overrides.py | 6 ++++++
6052 6 files changed, 44 insertions(+)
6054 commit c7c95a795eee499373499ea5b771447746317bfb
6055 Author: Simon Feltman <s.feltman@gmail.com>
6056 Date: Thu Aug 23 06:03:09 2012 +0200
6058 Clean up sys.path handling in tests
6060 Only set sys.path once in runtests.py, not in the individual test
6062 reduces hidden dependencies between tests by building up a run
6064 search path, and also makes it easier in the future to run the
6066 the installed system libraries.
6068 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=680913
6070 tests/runtests-windows.py | 6 +++++-
6071 tests/runtests.py | 3 +++
6072 tests/test_everything.py | 1 -
6073 tests/test_gdbus.py | 3 ---
6074 tests/test_overrides.py | 3 ---
6075 tests/test_pygtkcompat.py | 3 ---
6076 6 files changed, 8 insertions(+), 11 deletions(-)
6078 commit 3e3525e93d852cde0f63e835b774a9b004773c69
6079 Author: Simon Feltman <s.feltman@gmail.com>
6080 Date: Sun Aug 19 02:30:39 2012 -0700
6082 Fix dynamic creation of enum and flag gi types for Python 3.3
6084 Importing Gtk was crashing on instantiation of dynamic Enum and Flag
6085 subclasses due to what looks to be an unsupported technique. Change
6086 tp_new() method for classes dynamically derived from PyGEnum_Type and
6087 PyGFlags_Type to call PyLong_Type.tp_new() instead of attempting
6089 __new__() as a python method. This technique seems to work with all
6090 versions of python so the previous python version checking also became
6093 https://bugzilla.gnome.org/show_bug.cgi?id=682323
6095 gi/_gobject/pygenum.c | 29 ++++++++++++++++-------------
6096 gi/_gobject/pygflags.c | 21 +++++++++------------
6097 2 files changed, 25 insertions(+), 25 deletions(-)
6099 commit dd31b67e821f92b5f1c2ee0382cac5edd477cd11
6100 Author: Paolo Borelli <pborelli@gnome.org>
6101 Date: Wed Aug 22 10:45:39 2012 +0200
6103 [API add] Override g_menu_item_set_attribute
6105 This C utility API take a vararg, add a corresponding override that
6106 takes a list of tuples
6108 https://bugzilla.gnome.org/show_bug.cgi?id=682436
6110 gi/overrides/Gio.py | 10 ++++++++++
6111 tests/test_overrides.py | 11 +++++++++++
6112 2 files changed, 21 insertions(+)
6114 commit 836902801373e386d370c44e7487aac3432f19f6
6115 Author: Martin Pitt <martinpitt@gnome.org>
6116 Date: Mon Aug 20 23:37:40 2012 +0200
6118 post-release bump to 3.3.91
6121 1 file changed, 1 insertion(+), 1 deletion(-)
6123 commit 6a629e23ff7b0d6f532184017577c7427d577e28
6124 Author: Martin Pitt <martinpitt@gnome.org>
6125 Date: Mon Aug 20 23:05:49 2012 +0200
6129 NEWS | 13 +++++++++++++
6131 2 files changed, 14 insertions(+), 1 deletion(-)
6133 commit 5cd18c9bd59a60b930ced0b35d728c12bb3291c7
6134 Author: Mathieu Duponchelle <mathieu.duponchelle@epitech.eu>
6135 Date: Mon Aug 20 22:54:52 2012 +0200
6137 Implement marshalling for GParamSpec
6139 https://bugzilla.gnome.org/show_bug.cgi?id=681565
6141 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
6143 gi/pygi-marshal-to-py.c | 16 ++++++++++++----
6144 tests/test_gi.py | 14 ++++++++++++++
6145 2 files changed, 26 insertions(+), 4 deletions(-)
6147 commit 16462de3f025f14706ec23fa9b3653feb66ad57f
6148 Author: Martin Pitt <martinpitt@gnome.org>
6149 Date: Mon Aug 20 15:24:10 2012 +0200
6151 Fix pep8/pyflakes invocation
6153 Fix regression from commit 1e056e4f4a: Do fail the tests if
6157 tests/Makefile.am | 4 ++--
6158 1 file changed, 2 insertions(+), 2 deletions(-)
6160 commit 1bee194274bcda9ba5f6751fa921218a92c8ac72
6161 Author: Simon Feltman <s.feltman@gmail.com>
6162 Date: Thu Aug 16 16:05:52 2012 -0700
6164 Fix erronous import statements for Python 3.3
6166 Update pygobject-external.h to use GType (which is what GTypeWrapper
6168 exposed as) instead of GTypeWrapper when attempting import.
6170 Catch ImportError around attempted imports of a typelibs override file
6171 which don't always exist (GObject...). This is a behavioural change in
6172 Python 3.3 (http://bugs.python.org/issue15715), but let's fix
6175 https://bugzilla.gnome.org/show_bug.cgi?id=682051
6177 gi/module.py | 7 +++++--
6178 gi/pygobject-external.h | 2 +-
6179 2 files changed, 6 insertions(+), 3 deletions(-)
6181 commit 1e056e4f4a19fd1139187467677c2592c2722290
6182 Author: Martin Pitt <martinpitt@gnome.org>
6183 Date: Mon Aug 20 11:52:08 2012 +0200
6185 Do not fail tests if pyflakes or pep8 are not installed
6187 These tools might not be desirable in restricted build environments or
6188 backports, and e. g. Fedora patches those out. So let the tests
6192 tests/Makefile.am | 4 ++--
6193 1 file changed, 2 insertions(+), 2 deletions(-)
6195 commit c219fa6da89a7d55c5c111751684aae6876a9fe3
6196 Author: Martin Pitt <martinpitt@gnome.org>
6197 Date: Mon Aug 20 11:42:47 2012 +0200
6199 gtk-demo: Fix some PEP-8 whitespace issues
6201 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 3 +--
6202 demos/gtk-demo/demos/dialogs.py | 2 +-
6203 demos/gtk-demo/demos/rotatedtext.py | 3 +--
6204 3 files changed, 3 insertions(+), 5 deletions(-)
6206 commit 0ac2a85cae368c046839b5619a96efc9e0b91ba3
6207 Author: Martin Pitt <martinpitt@gnome.org>
6208 Date: Mon Aug 20 11:38:50 2012 +0200
6210 test_overrides.py: Fix PEP8 whitespacing
6212 tests/test_overrides.py | 48
6213 +++++++++++++++++++++++++-----------------------
6214 1 file changed, 25 insertions(+), 23 deletions(-)
6216 commit 631a9cd05cbc7dc3d0f743a84b948ef7d93c0ed4
6217 Author: Martin Pitt <martinpitt@gnome.org>
6218 Date: Mon Aug 20 11:36:19 2012 +0200
6220 Ignore E124 pep8 error
6222 This is "closing bracket does not match visual indentation" which
6224 stupid. We do want the closing bracket at the same indentation level
6226 opening bracket, not the indentation level of the whole statement.
6228 tests/Makefile.am | 2 +-
6229 1 file changed, 1 insertion(+), 1 deletion(-)
6231 commit 266d37719bb54e6f04d23ff21bcceb9514e20ff2
6232 Author: David Malcolm <dmalcolm@redhat.com>
6233 Date: Mon Aug 20 11:27:52 2012 +0200
6235 Fix unmarshalling of gssize
6237 Do not assume that the v_int union member always corresponds to a
6239 is not true on big-endian 64 bit machines like ppc64, so add a new
6240 gi_argument_to_gssize() and use it properly.
6242 https://bugzilla.gnome.org/show_bug.cgi?id=680693
6243 https://bugzilla.redhat.com/show_bug.cgi?id=842880
6245 gi/pygi-argument.c | 53
6246 +++++++++++++++++++++++++++++++++++++++++++++---
6247 gi/pygi-argument.h | 1 +
6248 gi/pygi-closure.c | 2 +-
6249 gi/pygi-info.c | 4 ++--
6250 gi/pygi-signal-closure.c | 2 +-
6251 5 files changed, 55 insertions(+), 7 deletions(-)
6253 commit 1c5d497d3c354f4d02f1d4570df2c61d6f47300c
6254 Author: David Malcolm <dmalcolm@redhat.com>
6255 Date: Mon Aug 20 11:19:27 2012 +0200
6257 Fix various endianess errors
6259 Fix code which assumed little endian behaviour when mixing different
6261 ints, putting ints into pointers, etc.
6263 https://bugzilla.gnome.org/show_bug.cgi?id=680692
6264 https://bugzilla.redhat.com/show_bug.cgi?id=841596
6266 gi/pygi-argument.c | 64 +++++++++++++--
6267 gi/pygi-argument.h | 6 ++
6268 gi/pygi-cache.c | 2 +
6269 gi/pygi-closure.c | 57 ++++++++++++-
6270 gi/pygi-marshal-from-py.c | 203
6271 ++++++++++++++++++++++++++++++++++++----------
6272 gi/pygi-marshal-from-py.h | 3 +
6273 gi/pygi-marshal-to-py.c | 137 ++++++++++++++++++++++++-------
6274 7 files changed, 391 insertions(+), 81 deletions(-)
6276 commit ee6da6f1aa2cd6e55834f9edc17f785613d00031
6277 Author: Paolo Borelli <pborelli@gnome.org>
6278 Date: Wed Aug 15 13:16:11 2012 +0200
6280 Add unit test for the TreeModelSort override
6282 tests/test_overrides.py | 7 +++++++
6283 1 file changed, 7 insertions(+)
6285 commit 9f027daa5737107b5959964b699c0089aec8ab1e
6286 Author: Simon Feltman <s.feltman@gmail.com>
6287 Date: Thu Aug 9 03:33:06 2012 -0700
6289 Gtk overrides: Add TreeModelSort.__init__(self, model)
6291 This adds "model" as a required argument to TreeModelSort
6292 instead of it being a hidden keyword argument. This is needed
6293 because the model property is set to construct only and the
6294 default value of None/NULL makes the object useless anyhow.
6296 https://bugzilla.gnome.org/show_bug.cgi?id=681477
6298 gi/overrides/Gtk.py | 8 ++++++++
6299 1 file changed, 8 insertions(+)
6301 commit c8424c2bb19356679e250e73542682dd5f4c74a5
6302 Author: Manuel Quiñones <manuq@laptop.org>
6303 Date: Fri Aug 10 09:38:24 2012 -0300
6305 Convert Gtk.CellRendererState in the pygi-convert script
6307 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
6309 https://bugzilla.gnome.org/show_bug.cgi?id=681596
6311 pygi-convert.sh | 5 +++++
6312 1 file changed, 5 insertions(+)
6314 commit 54d829b34a0d32d852db370f61cc7f25c149f373
6315 Author: Paolo Borelli <pborelli@gnome.org>
6316 Date: Mon Aug 6 16:19:28 2012 +0200
6318 More updates to the HACKING file
6320 module-install has been replaced with 'ftpadmin install' and other
6324 HACKING | 26 ++++++++++----------------
6325 1 file changed, 10 insertions(+), 16 deletions(-)
6327 commit 0788880c6cf4070d3db09896c165fe470d2ec186
6328 Author: Paolo Borelli <pborelli@gnome.org>
6329 Date: Mon Aug 6 16:00:39 2012 +0200
6331 Post-release version bump to 3.3.6
6334 1 file changed, 1 insertion(+), 1 deletion(-)
6336 commit 664403d953c3e07077d0db90bfae3b51c7f1767c
6337 Author: Paolo Borelli <pborelli@gnome.org>
6338 Date: Mon Aug 6 15:52:22 2012 +0200
6342 NEWS | 29 +++++++++++++++++++++++++++++
6343 1 file changed, 29 insertions(+)
6345 commit b748753a2a9af018001213e2e58c48d6c8bfadbd
6346 Author: Paolo Borelli <pborelli@gnome.org>
6347 Date: Mon Aug 6 15:44:32 2012 +0200
6349 Update HACKING file to mention "make release-news"
6352 1 file changed, 3 insertions(+), 4 deletions(-)
6354 commit 587a0c33901383b891f8eb77351c17f06af20b4f
6355 Author: Paolo Borelli <pborelli@gnome.org>
6356 Date: Mon Aug 6 15:38:23 2012 +0200
6358 pygi-closure: remove unused variables
6360 These variables are assigned but never actually used
6362 gi/pygi-closure.c | 8 --------
6363 1 file changed, 8 deletions(-)
6365 commit dbc6df6aad7197fcf8721ade429baadd749f7069
6366 Author: Martin Pitt <martinpitt@gnome.org>
6367 Date: Fri Aug 3 07:13:55 2012 +0200
6369 tests: Do not break on Pango warnings
6371 In some restricted environments (like chroots) we sometimes get
6373 Pango when it cannot find an appropriate font. Do not make the tests
6377 tests/test_overrides.py | 4 ++++
6378 tests/test_pygtkcompat.py | 6 ++++++
6379 2 files changed, 10 insertions(+)
6381 commit 770e6abfd5bc5dad7d5f56a18f1ef63f9754ada9
6382 Author: Martin Pitt <martinpitt@gnome.org>
6383 Date: Fri Aug 3 06:45:48 2012 +0200
6385 Fix list marshalling on big-endian machines
6387 On big endian machines we cannot simply set e. g. GIArgument.v_int8
6389 GIArgument.v_pointer to be a correct representation. This needs to use
6390 GINT_TO_POINTER/GPOINTER_TO_INT properly, so use the already existing
6391 _pygi_hash_pointer_to_arg()/_pygi_arg_to_hash_pointer() methods
6393 to and from GList and GSList, and handle int8 and int16 as well.
6395 Part of porting pygobject to ppc64:
6396 https://bugzilla.redhat.com/show_bug.cgi?id=842880
6397 https://bugzilla.gnome.org/show_bug.cgi?id=680693
6399 gi/pygi-marshal-from-py.c | 48 ++++++++++++++++++++++++-----------------
6400 gi/pygi-marshal-to-py.c | 54
6401 +++++++++++++++++++++++++++--------------------
6402 2 files changed, 60 insertions(+), 42 deletions(-)
6404 commit b5cd13f47309ec26727b7574e33595a357602468
6405 Author: Colin Walters <walters@verbum.org>
6406 Date: Tue Jul 31 11:47:02 2012 -0400
6408 pygi-marshal: One more 32-bit -Werror=format fix
6410 gi/pygi-marshal-from-py.c | 6 +++---
6411 1 file changed, 3 insertions(+), 3 deletions(-)
6413 commit 526bf43691cb6ed908589312b1693a6389eba00c
6414 Author: Martin Pitt <martinpitt@gnome.org>
6415 Date: Tue Jul 31 17:14:37 2012 +0200
6417 Beautify class/interface type mismatch error messages
6419 Avoid saying "<unknown module>.int", just skip the module name
6420 completely if we do not have one.
6422 gi/pygi-marshal-from-py.c | 20 ++++++++++++--------
6423 1 file changed, 12 insertions(+), 8 deletions(-)
6425 commit 8fb18c62d9c7faff38df3886cb4289b618c81b85
6426 Author: Martin Pitt <martinpitt@gnome.org>
6427 Date: Tue Jul 31 13:13:21 2012 +0200
6429 Skip instead of fail tests which need Pango, Atk, Gdk, Gtk
6431 On initial jhbuild bootstrap or restricted environments, the Pango,
6433 and Gtk typelibs might not be available. Skip tests which need these
6435 failing the testsuite.
6437 tests/test_atoms.py | 7 ++++++-
6438 tests/test_everything.py | 9 ++++++++-
6439 tests/test_overrides.py | 32 ++++++++++++++++++++++++++------
6440 tests/test_pygtkcompat.py | 30 ++++++++++++++++++++----------
6441 4 files changed, 60 insertions(+), 18 deletions(-)
6443 commit a2e73c109f3ed6080eabc85810e624b9f984317e
6444 Author: Colin Walters <walters@verbum.org>
6445 Date: Tue Jul 31 09:02:24 2012 -0400
6447 pygi-argument: Fix -Wformat warning on 32 bit builds
6449 gi/pygi-argument.c | 4 ++--
6450 1 file changed, 2 insertions(+), 2 deletions(-)
6452 commit 7563bb9f8ed5740f52ddf0ca59daf7839853505b
6453 Author: Martin Pitt <martinpitt@gnome.org>
6454 Date: Tue Jul 31 11:14:36 2012 +0200
6456 Fix tests for Python 2
6458 In Python 2 we get different error messages for a mismatching self
6460 check after commit 121b14028.
6462 tests/test_gi.py | 32 ++++++++++++++++++++------------
6463 1 file changed, 20 insertions(+), 12 deletions(-)
6465 commit 5c5b066854cc0b3b7702f31d212aa3f511c62127
6466 Author: Martin Pitt <martinpitt@gnome.org>
6467 Date: Tue Jul 31 10:30:22 2012 +0200
6469 Build with -Werror=format
6471 This catches format string problems on particular architectures like
6473 dea24f8e12 much more insistently.
6476 1 file changed, 1 insertion(+)
6478 commit 6e84a3052667fdc88c2081e20cc6dc3257ec9d6c
6479 Author: Simon Feltman <s.feltman@gmail.com>
6480 Date: Mon Jul 30 02:00:16 2012 -0700
6482 [API add] pygtkcompat: Add more pixbuf creation functions
6484 Add the following functions:
6485 pixbuf_new_from_data
6486 pixbuf_new_from_file_at_scale
6487 pixbuf_new_from_file_at_size
6488 pixbuf_new_from_inline
6489 pixbuf_new_from_stream
6490 pixbuf_new_from_stream_at_scale
6491 pixbuf_new_from_xpm_data
6492 pixbuf_get_file_info
6494 https://bugzilla.gnome.org/show_bug.cgi?id=680814
6496 gi/pygtkcompat.py | 10 +++++++++-
6497 1 file changed, 9 insertions(+), 1 deletion(-)
6499 commit dea24f8e1221516b2d8ea578e55124b0409d6a76
6500 Author: Colin Walters <walters@verbum.org>
6501 Date: Mon Jul 30 22:17:44 2012 -0400
6503 marshal: Fix a lot of format string warnings on 32 bit
6505 G_GUINT64_FORMAT and friends handle "%lld" portably.
6507 https://bugzilla.gnome.org/show_bug.cgi?id=680878
6509 gi/pygi-marshal-from-py.c | 18 +++++++++---------
6510 1 file changed, 9 insertions(+), 9 deletions(-)
6512 commit b630038d9a1c8cb7e5914c77fbacbed646c154d1
6513 Author: Colin Walters <walters@verbum.org>
6514 Date: Mon Jul 30 22:30:07 2012 -0400
6516 marshal: Fix build break on Python 2
6518 I *think* using this wrapper function instead is right.
6520 https://bugzilla.gnome.org/show_bug.cgi?id=680879
6522 gi/pygi-marshal-from-py.c | 8 ++++----
6523 1 file changed, 4 insertions(+), 4 deletions(-)
6525 commit a8338a991bbe919f0e2d9b92f7b71f89ccd2c875
6526 Author: Manuel Quiñones <manuq@laptop.org>
6527 Date: Mon Jul 30 12:53:36 2012 -0300
6529 Improve testcase for tree_view_column_set_attributes
6531 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
6533 https://bugzilla.gnome.org/show_bug.cgi?id=680320
6535 tests/test_overrides.py | 20 ++++++++++++++++++--
6536 1 file changed, 18 insertions(+), 2 deletions(-)
6538 commit 121b1402860407fe46f7501e42447bf3607872ec
6539 Author: Martin Pitt <martinpitt@gnome.org>
6540 Date: Tue Jul 31 00:37:55 2012 +0200
6542 Fix error messages on interface/class type mismatches
6544 Previously, when you called a function with an argument which was not
6545 compatible with the expected class/interface type, you got an
6549 TypeError: Expected Gtk.TreeViewColumn, but got GObjectMeta
6551 which had the wrong (and useless) class name for the actual type,
6553 tell you which argument caused the problem. With this it says e. g.
6555 TypeError: argument column: Expected Gtk.TreeViewColumn, but
6560 gi/pygi-marshal-from-py.c | 41 ++++++++++++++++++++++++++--------
6561 tests/test_gi.py | 57
6562 ++++++++++++++++++++++++++++++++++++++++++++++-
6563 2 files changed, 88 insertions(+), 10 deletions(-)
6565 commit 8f31e85db1392eb7222593fc0d05144c2bca06a3
6566 Author: Simon Feltman <s.feltman@gmail.com>
6567 Date: Sun Jul 29 23:36:25 2012 -0700
6569 Fix crash when returning (False, None) from
6570 Gtk.TreeModel.do_get_iter()
6572 Add a Py_None check before attempting memcpy().
6574 https://bugzilla.gnome.org/show_bug.cgi?id=680812
6576 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
6578 gi/pygi-closure.c | 10 +++++++---
6579 tests/test_overrides.py | 9 +++++++++
6580 2 files changed, 16 insertions(+), 3 deletions(-)
6582 commit 94e5d58e7794de91d3291e0e51c42070da4fc92b
6583 Author: Martin Pitt <martinpitt@gnome.org>
6584 Date: Mon Jul 30 11:58:24 2012 +0200
6586 Add test case for Gtk.TextIter.forward_search()
6588 https://bugzilla.gnome.org/show_bug.cgi?id=679415
6590 tests/test_overrides.py | 19 +++++++++++++++++++
6591 1 file changed, 19 insertions(+)
6593 commit aae4e77482c02e21154ab02b159f380f5f0f74be
6594 Author: Martin Pitt <martinpitt@gnome.org>
6595 Date: Fri Jul 27 23:06:39 2012 +0200
6597 Add missing static declarations
6599 This fixes a lot of -Wmissing-prototype warnings.
6601 Also remove _pygi_marshal_cleanup_closure_unref() which is not
6604 gi/_gobject/gobjectmodule.c | 4 ++--
6605 gi/_gobject/pygobject.c | 2 +-
6606 gi/pygi-cache.c | 2 +-
6607 gi/pygi-foreign-cairo.c | 24 ++++++++++++------------
6608 gi/pygi-foreign.c | 2 +-
6609 gi/pygi-marshal-cleanup.c | 9 ---------
6610 tests/test-unknown.c | 2 +-
6611 tests/testhelpermodule.c | 4 ++--
6612 8 files changed, 20 insertions(+), 29 deletions(-)
6614 commit 5f88d3017f853c4ff5e9fd89ef39e4569a9b9c16
6615 Author: Martin Pitt <martinpitt@gnome.org>
6616 Date: Fri Jul 27 23:01:08 2012 +0200
6618 Fix more missing #includes
6620 Add missing includes which caused -Wmissing-prototypes warnings.
6622 gi/_gobject/pygenum.c | 2 ++
6623 gi/_gobject/pyginterface.c | 2 ++
6624 2 files changed, 4 insertions(+)
6626 commit 97b5184c6650964ae8a7616353f5ce8e3ca19af3
6627 Author: Martin Pitt <martinpitt@gnome.org>
6628 Date: Fri Jul 27 22:59:21 2012 +0200
6630 Make some warnings fatal
6632 Add -Werror for some warnings which are real errors in the source
6634 really want to avoid. This includes -Wmissing-prototypes, but that
6636 breaks on building g-i's regress.c.
6638 configure.ac | 5 +++++
6639 1 file changed, 5 insertions(+)
6641 commit c2ee8c550199de59dd220561ed028ec6fb8e1daf
6642 Author: Martin Pitt <martinpitt@gnome.org>
6643 Date: Fri Jul 27 22:08:47 2012 +0200
6645 Fix missing #includes
6647 Add missing includes which caused -Wmissing-prototypes warnings.
6649 gi/_glib/pygiochannel.c | 2 ++
6650 gi/_glib/pygspawn.c | 2 ++
6651 2 files changed, 4 insertions(+)
6653 commit 8bc98fc6665ebab763ee92361929139a0ebe66b5
6654 Author: Martin Pitt <martinpitt@gnome.org>
6655 Date: Fri Jul 27 20:52:00 2012 +0200
6657 pygi-info.c: Robustify pointer arithmetic
6659 In _wrap_g_field_info_{get,set}_value(), use explicit char* casts
6661 that we are using byte offsets. Fixes warnings:
6663 pygi-info.c:1277:43: warning: pointer of type 'void *' used in
6664 arithmetic [-Werror=pointer-arith]
6666 gi/pygi-info.c | 4 ++--
6667 1 file changed, 2 insertions(+), 2 deletions(-)
6669 commit d0a561057b727ebcc1fd06fa6a3b48f2a1f8338e
6670 Author: Martin Pitt <martinpitt@gnome.org>
6671 Date: Fri Jul 27 20:50:30 2012 +0200
6673 pyglib.c: Remove some dead code
6675 Drop unused pyglib_gil_state_ensure_py23() and
6676 pyglib_gil_state_release_py23().
6678 gi/_glib/pyglib.c | 18 ------------------
6679 1 file changed, 18 deletions(-)
6681 commit a46d165d906d0ac7613f4d946542423e979f39d5
6682 Author: Manuel Quiñones <manuq@laptop.org>
6683 Date: Fri Jul 20 10:37:04 2012 -0300
6685 Add set_attributes() override to Gtk.TreeViewColumn
6687 Looking at the C code, gtk_tree_view_column_set_attributesv just calls
6688 gtk_cell_layout_clear_attributes and then
6689 gtk_cell_layout_add_attribute for each (name, value) passed. This
6690 patch makes the same in the overrides.
6692 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
6693 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
6695 gi/overrides/Gtk.py | 7 +++++++
6696 tests/test_overrides.py | 6 ++++++
6697 2 files changed, 13 insertions(+)
6699 commit 4df676e10a5ea595a0d491af10268f557dd722d7
6700 Author: Daniel Narvaez <dwnarvaez@gmail.com>
6701 Date: Tue Jul 24 13:49:15 2012 +0200
6705 The autogenerated gitignores was missing several files. So we
6706 was using a manual .gitignore at the root. But since it's
6707 enough to add a couple of entries to it to cover the whole
6708 tree, there is no much point in using git.mk at all.
6710 https://bugzilla.gnome.org/show_bug.cgi?id=678192
6713 docs/Makefile.am | 2 -
6714 examples/Makefile.am | 3 -
6715 gi/Makefile.am | 3 -
6716 gi/_glib/Makefile.am | 3 -
6717 gi/_gobject/Makefile.am | 2 -
6718 gi/overrides/Makefile.am | 2 -
6719 gi/repository/Makefile.am | 2 -
6721 ----------------------------------------------
6722 tests/Makefile.am | 2 -
6723 10 files changed, 222 deletions(-)
6725 commit 0d729c1534c7f3226b492f549d8f6ad3bb3ac8b7
6726 Author: Simon Feltman <s.feltman@gmail.com>
6727 Date: Fri Jul 20 19:55:46 2012 -0700
6729 Gtk overrides: Add TreePath.__getitem__()
6731 Use pythons sub-script operator for indexing into TreePaths
6732 as was the case in PyGtk. Also changed __iter__ to use
6733 TreePath.get_indices as opposed to formatting and re-parsing
6734 a string for getting an index list.
6736 https://bugzilla.gnome.org/show_bug.cgi?id=680353
6738 gi/overrides/Gtk.py | 5 ++++-
6739 tests/test_overrides.py | 4 ++++
6740 2 files changed, 8 insertions(+), 1 deletion(-)
6742 commit affc7faa3fa7250e2e8c2c65e6860906f6fbc4fb
6743 Author: Simon Feltman <s.feltman@gmail.com>
6744 Date: Fri Jul 20 21:34:33 2012 -0700
6746 Fix property type mapping from int to TYPE_INT for python3.
6748 Python3 does not have a long type, however, propertyhelper.py was
6749 using long_ = int; to get things working. Type mapping code
6750 was then checking for long_ first and always returning TYPE_LONG.
6751 Additional refactoring was done to move large if/elif statements
6752 into dictionary lookups and usage of tuples instead of lists
6753 for simple 'in' list of items tests.
6755 https://bugzilla.gnome.org/show_bug.cgi?id=679939
6757 gi/_gobject/propertyhelper.py | 117
6758 +++++++++++++++++++-----------------------
6759 tests/test_properties.py | 55 +++++++++++++++-----
6760 2 files changed, 96 insertions(+), 76 deletions(-)
6762 commit 6fddba5bc5ea02938677a89ffeb0cfc53229b894
6763 Author: Manuel Quiñones <manuq@laptop.org>
6764 Date: Thu Jul 19 12:11:34 2012 -0300
6766 Convert Gtk.DestDefaults constants in pygi-convert.sh script
6768 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
6770 https://bugzilla.gnome.org/show_bug.cgi?id=680259
6772 pygi-convert.sh | 1 +
6773 1 file changed, 1 insertion(+)
6775 commit d58c3553062fd8704a81a8233b4a1563a6611718
6776 Author: Manuel Quiñones <manuq@laptop.org>
6777 Date: Thu Jul 19 12:04:03 2012 -0300
6779 Convert all Gdk.WindowState constants in pygi-convert.sh
6781 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
6783 https://bugzilla.gnome.org/show_bug.cgi?id=680257
6785 pygi-convert.sh | 1 +
6786 1 file changed, 1 insertion(+)
6788 commit a3aae2e152c0b955037b7b85e16d14d00881d870
6789 Author: Joe R. Nassimian <placidrage@gmail.com>
6790 Date: Thu Jul 19 15:48:20 2012 +0200
6792 [API add] Add API for checking pygobject's version
6794 Add a gi.__version__ attribute for the textual version, and
6796 a version triple similar to sys.version_info.
6798 Also add a gi.require_version(<minimum_version>) which raises an
6800 the pygobject version is older.
6802 https://bugzilla.gnome.org/show_bug.cgi?id=680176
6804 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
6806 gi/__init__.py | 16 ++++++++++++++++
6807 tests/test_gi.py | 16 ++++++++++++++++
6808 2 files changed, 32 insertions(+)
6810 commit a2d9b71d84f0fcb7aaf5ce483ffee3b3a1ccaca1
6811 Author: Manuel Quiñones <manuq@laptop.org>
6812 Date: Mon Jul 16 17:14:46 2012 -0300
6814 pygi-convert.sh: Add some missing Gdk.CursorTypes
6816 This patch adds WATCH, ARROW and CLOCK.
6818 https://bugzilla.gnome.org/show_bug.cgi?id=680050
6820 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
6821 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
6823 pygi-convert.sh | 3 +++
6824 1 file changed, 3 insertions(+)
6826 commit 0b08c01414ac73a4604acd9a846e7af09574929f
6827 Author: Manuel Kaufmann <humitos@gmail.com>
6828 Date: Tue Jul 17 09:05:27 2012 -0300
6830 pygi-convert.sh: convert rsvg.Handle(data=...)
6832 Replace rsvg.Handle(data=data) with Rsvg.Handle.new_from_data(data)
6834 https://bugzilla.gnome.org/show_bug.cgi?id=680092
6836 Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
6837 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
6839 pygi-convert.sh | 2 ++
6840 1 file changed, 2 insertions(+)
6842 commit 975855d0fff7f2042fe1f0e843f96b9a37cc6b79
6843 Author: Martin Pitt <martinpitt@gnome.org>
6844 Date: Mon Jul 16 17:35:38 2012 +0200
6846 configure.ac: post-release bump to 3.3.5
6849 1 file changed, 1 insertion(+), 1 deletion(-)
6851 commit 126842b7227fcc1381dc158acdc5a96d0a465515
6852 Author: Martin Pitt <martinpitt@gnome.org>
6853 Date: Mon Jul 16 17:33:08 2012 +0200
6857 NEWS | 28 ++++++++++++++++++++++++++++
6858 1 file changed, 28 insertions(+)
6860 commit 079b73b3eb9083bd53e06d095f9dccc02acf2a6e
6861 Author: Martin Pitt <martinpitt@gnome.org>
6862 Date: Mon Jul 16 17:29:22 2012 +0200
6864 test_gi: Fix for Python 2
6866 tests/test_gi.py | 7 +++++--
6867 1 file changed, 5 insertions(+), 2 deletions(-)
6869 commit 30935fe31bfe201bbfdb7734f09fdd2bbaf80e08
6870 Author: Martin Pitt <martinpitt@gnome.org>
6871 Date: Mon Jul 16 16:35:33 2012 +0200
6873 pygi-convert.sh: Drop bogus filter_new() conversion
6875 my_tree_model.filter_new() is still a method on GtkTreeModel, not a
6876 constructor, so do not try to convert it to a constructor call.
6878 https://bugzilla.gnome.org/show_bug.cgi?id=679999
6880 pygi-convert.sh | 1 -
6881 1 file changed, 1 deletion(-)
6883 commit c0607d970fc59528ca27d518282cf2871b92e909
6884 Author: Martin Pitt <martinpitt@gnome.org>
6885 Date: Mon Jul 16 16:00:40 2012 +0200
6887 Fix help() for GI modules
6889 Derive DynamicModule from types.ModuleType, so that the inspect
6891 ismodule() actually succeeds on those and generates useful help on
6895 https://bugzilla.gnome.org/show_bug.cgi?id=679804
6897 gi/module.py | 3 ++-
6898 tests/test_gi.py | 15 +++++++++++++++
6899 2 files changed, 17 insertions(+), 1 deletion(-)
6901 commit 3235f1a397c334de5a7570f5ceed4da709fe1714
6902 Author: Martin Pitt <martinpitt@gnome.org>
6903 Date: Mon Jul 16 15:53:31 2012 +0200
6905 Skip gi.CallbackInfo objects from a module's dir()
6907 Skip gi.CallbackInfo items from IntrospectionModule's __dir__(),
6909 implement __getattr__ for those.
6911 Add a test case that dir() works on GI modules, contain expected
6913 and that all identifiers in dir() can actually be retrieved.
6915 Prerequisite for https://bugzilla.gnome.org/show_bug.cgi?id=679804
6917 gi/module.py | 7 +++++--
6918 tests/test_gi.py | 14 ++++++++++++++
6919 2 files changed, 19 insertions(+), 2 deletions(-)
6921 commit f6cc039e014448a553d626aac4020ee69717edab
6922 Author: Martin Pitt <martinpitt@gnome.org>
6923 Date: Mon Jul 16 15:38:05 2012 +0200
6925 Fix __path__ module attribute
6927 get_typelib_path() returns bytes, not strings, so in Python 3 we
6929 it to get a proper __path__ attribute.
6931 gi/module.py | 17 +++++++++++++++++
6932 tests/test_gi.py | 10 ++++++++++
6933 2 files changed, 27 insertions(+)
6935 commit 858048f7cec78129aa914e2341ab80aac0e95cc5
6936 Author: Joe R. Nassimian <placidrage@gmail.com>
6937 Date: Mon Jul 16 15:02:10 2012 +0200
6939 pygi-convert.sh: Fix some child → getChild() false positives
6941 https://bugzilla.gnome.org/show_bug.cgi?id=680004
6943 pygi-convert.sh | 2 +-
6944 1 file changed, 1 insertion(+), 1 deletion(-)
6946 commit a31fabdc12f1da301c8df0af319ca3f4181671ee
6947 Author: Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com>
6948 Date: Thu Jul 12 09:19:42 2012 +0200
6950 Fix array handling for interfaces, properties, and signals
6952 Fix lots of corner cases where arrays are not handled properly.
6953 _pygi_argument_to_object() now has the documented expectation of
6955 packed in GArrays. This was implicit before and not correctly done
6959 The helper _pygi_argument_to_array() has been improved to work on
6961 array. Fix all call sites of _pygi_argument_to_object() to do the
6962 array conversion appropriately before calling
6963 _pygi_argument_to_object().
6965 Adds a test case that implements a GInterface with a method that
6967 of variants as input.
6969 https://bugzilla.gnome.org/show_bug.cgi?id=667244
6971 gi/pygi-argument.c | 156
6972 ++++++++++++++++++++++++++++++++---------------
6973 gi/pygi-argument.h | 4 +-
6974 gi/pygi-closure.c | 11 ++++
6975 gi/pygi-info.c | 20 ++++--
6976 gi/pygi-property.c | 1 +
6977 gi/pygi-signal-closure.c | 14 ++++-
6978 tests/test_gi.py | 18 ++++++
6979 7 files changed, 167 insertions(+), 57 deletions(-)
6981 commit bb80d124269ee2389c04d03a478475868fd9ff7b
6982 Author: Manuel Quiñones <manuq@laptop.org>
6983 Date: Wed Jul 11 22:05:41 2012 -0300
6985 Add conversion of the Gdk.PropMode constants to pygi-convert.sh script
6987 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
6989 https://bugzilla.gnome.org/show_bug.cgi?id=679775
6991 pygi-convert.sh | 3 +++
6992 1 file changed, 3 insertions(+)
6994 commit e3a63eefa5fb2abeabd210790e12642e577363c8
6995 Author: Manuel Quiñones <manuq@laptop.org>
6996 Date: Wed Jul 11 13:18:16 2012 -0300
6998 Add the same rules for pack_start to convert pack_end
7000 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
7002 https://bugzilla.gnome.org/show_bug.cgi?id=679760
7004 pygi-convert.sh | 5 +++++
7005 1 file changed, 5 insertions(+)
7007 commit b4bef457c2d0ca6899e06a021f1f06252a37e326
7008 Author: Dave Malcolm <dmalcolm@redhat.com>
7009 Date: Wed Jul 11 08:21:27 2012 +0200
7011 Add error-checking for the case where _arg_cache_new() fails
7013 This can happen when a typelib and its underlying library are
7015 converts the segfault into a more helpful traceback.
7017 https://bugzilla.gnome.org/show_bug.cgi?id=678914
7019 gi/pygi-cache.c | 2 ++
7020 1 file changed, 2 insertions(+)
7022 commit 41287d8a439c656e4ac60361fddec643c713234c
7023 Author: Manuel Quiñones <manuq@laptop.org>
7024 Date: Wed Jul 11 11:13:38 2012 -0300
7026 Add conversion of the Gdk.NotifyType constants to pygi-convert.sh
7029 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
7031 https://bugzilla.gnome.org/show_bug.cgi?id=679754
7033 pygi-convert.sh | 6 ++++++
7034 1 file changed, 6 insertions(+)
7036 commit 5403149b900d1b73cbc78767dc43be2eb344c836
7037 Author: Simon Feltman <s.feltman@gmail.com>
7038 Date: Tue Jul 10 19:07:32 2012 -0700
7040 Fix PyObject_Repr and PyObject_Str reference leaks
7042 Fix all calls to PyObject_Repr() and PyObject_Str() to be properly
7045 https://bugzilla.gnome.org/show_bug.cgi?id=675857
7047 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
7049 gi/_glib/glibmodule.c | 10 +++++++--
7050 gi/_gobject/gobjectmodule.c | 17 ++++++++++-----
7051 gi/_gobject/pygobject.c | 53
7052 ++++++++++++++++++++++++++++++---------------
7053 gi/pygi-marshal-from-py.c | 9 +++++---
7054 4 files changed, 62 insertions(+), 27 deletions(-)
7056 commit 0ddfecf3bf0a5d7893cd02cff41503d810ef6ce8
7057 Author: Martin Pitt <martinpitt@gnome.org>
7058 Date: Wed Jul 4 08:46:30 2012 +0200
7060 [API add] Gtk overrides: Add TreePath.__len__()
7062 Use the path depth as length of a Gtk.TreePath object.
7064 https://bugzilla.gnome.org/show_bug.cgi?id=679199
7066 gi/overrides/Gtk.py | 3 +++
7067 tests/test_overrides.py | 4 ++++
7068 2 files changed, 7 insertions(+)
7070 commit e1e849d1a9af77c29ee35971db8d439bac60d573
7071 Author: Martin Pitt <martinpitt@gnome.org>
7072 Date: Wed Jul 4 08:35:16 2012 +0200
7074 GLib.Variant: Fix repr(), add proper str()
7076 Fix the GLib.Variant override's repr() after commit 16280d6985. Also
7078 proper __str__() method, and tests for both.
7080 Thanks to Rul Matos for spotting this!
7082 https://bugzilla.gnome.org/show_bug.cgi?id=679336
7084 gi/overrides/GLib.py | 6 +++++-
7085 tests/test_overrides.py | 5 +++++
7086 2 files changed, 10 insertions(+), 1 deletion(-)
7088 commit af20d7c929b9c1888454b52932a308d346e1c12b
7089 Author: Martin Pitt <martinpitt@gnome.org>
7090 Date: Thu Jun 28 06:51:22 2012 +0200
7092 m4/python.m4: Update Python version list
7094 Thanks to Dieter Verfaillie for pointing this out.
7096 m4/python.m4 | 3 +--
7097 1 file changed, 1 insertion(+), 2 deletions(-)
7099 commit a96a26234e2aaa157837d26094864e3ad9b63edf
7100 Author: Micah Carrick <micah@quixotix.com>
7101 Date: Mon Jun 25 09:05:59 2012 -0700
7103 Remove "label" property from Gtk.MenuItem if it is not set
7105 The Gtk.MenuItem will not render as a separator if the "label" or
7106 "user-underline" properties have been accessed. The constructor
7107 for Gtk.MenuItem override should not pass the "label" property
7108 as an argument if it is None since that will still result in an
7109 empty label widget which breaks Gtk.SeparatorMenuItem.
7111 https://bugzilla.gnome.org/show_bug.cgi?id=670575
7113 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
7115 gi/overrides/Gtk.py | 5 ++++-
7116 1 file changed, 4 insertions(+), 1 deletion(-)
7118 commit afa12faf339efb4f7780168e884ecf49b630644a
7119 Author: Martin Pitt <martinpitt@gnome.org>
7120 Date: Mon Jun 25 16:36:31 2012 +0200
7122 configure.ac: Post-release bump to 3.3.4.
7125 1 file changed, 1 insertion(+), 1 deletion(-)
7127 commit 198066effc0ca44ccb897e9f0738ab627e8b3275
7128 Author: Martin Pitt <martinpitt@gnome.org>
7129 Date: Mon Jun 25 16:35:49 2012 +0200
7135 2 files changed, 4 insertions(+), 1 deletion(-)
7137 commit cb70ae0aa52ab7624b2b8c30297d8a52a7db7f44
7138 Author: Martin Pitt <martinpitt@gnome.org>
7139 Date: Mon Jun 25 16:32:45 2012 +0200
7141 Do not escape enum and flag names that are Python keywords
7143 These are translated to upper case, and thus can never be
7144 keywords. This broke
7145 existing API such as Gtk.ShadowType.IN.
7148 gi/pygi-info.c | 7 +++++++
7149 tests/test_gi.py | 3 +++
7150 3 files changed, 11 insertions(+), 1 deletion(-)
7152 commit f2524a982b0b8ba7cdbb77003372416af0b7a978
7153 Author: Martin Pitt <martinpitt@gnome.org>
7154 Date: Mon Jun 25 15:39:50 2012 +0200
7156 configure.ac: Post-release version bump to 3.3.4
7159 1 file changed, 1 insertion(+), 1 deletion(-)
7161 commit fe56faa346c8e8f9fd5915602424778d458a776d
7162 Author: Martin Pitt <martinpitt@gnome.org>
7163 Date: Mon Jun 25 15:36:37 2012 +0200
7167 NEWS | 15 +++++++++++++++
7168 1 file changed, 15 insertions(+)
7170 commit 299a2fd726f0aceaf67b1cec7a0ef8b21ff7bcbc
7171 Author: Martin Pitt <martinpitt@gnome.org>
7172 Date: Mon Jun 25 15:35:19 2012 +0200
7174 Bring back ChangeLog make target
7176 This is being used by "make dist".
7178 Makefile.am | 15 +++++++++++++++
7179 1 file changed, 15 insertions(+)
7181 commit 760118e4ed73de2f022706ef897fcc848e90c005
7182 Author: Martin Pitt <martinpitt@gnome.org>
7183 Date: Mon Jun 25 15:31:14 2012 +0200
7185 Remove obsolete ChangeLog and release-tag make targets
7187 Makefile.am | 23 -----------------------
7188 1 file changed, 23 deletions(-)
7190 commit e92278692bb51679d6e957c2ac36db64498a7c73
7191 Author: Simon Schampijer <simon@schampijer.de>
7192 Date: Fri Jun 15 16:11:21 2012 +0200
7194 Do not do any python calls when GObjects are destroyed after the
7195 python interpreter has been finalized
7197 This happens when pygobject_data_free () function is called after
7199 interpreter shuts down, we can't do python calls after that.
7201 Benzea did the findings because of a bug in Sugar, and commented
7203 SugarLabs ticket: http://bugs.sugarlabs.org/ticket/3670
7205 https://bugzilla.gnome.org/show_bug.cgi?id=678046
7207 Signed-off-by: Benjamin Berg <benzea@sugarlabs.org>
7208 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
7210 gi/_gobject/pygobject.c | 27 ++++++++++++++++++++++-----
7211 1 file changed, 22 insertions(+), 5 deletions(-)
7213 commit de4aa426002eeb09a060f8fd70bd6cb25a17766a
7214 Author: Martin Pitt <martinpitt@gnome.org>
7215 Date: Mon Jun 25 15:06:47 2012 +0200
7217 Do not change constructor-only "type" Window property
7219 When reading a Gtk.Window subclass from a GtkBuilder object,
7221 properties are already set at __init__ time. Do not try to set it
7225 https://bugzilla.gnome.org/show_bug.cgi?id=678510
7227 gi/overrides/Gtk.py | 8 +++++++-
7228 tests/test_overrides.py | 36 ++++++++++++++++++++++++++++++++++++
7229 2 files changed, 43 insertions(+), 1 deletion(-)
7231 commit 16280d6985f2cf4db9cf062e857650e620fd9da8
7232 Author: Martin Pitt <martinpitt@gnome.org>
7233 Date: Mon Jun 25 09:40:38 2012 +0200
7235 Escape identifiers which are Python keywords
7237 Add a trailing underscore to identifiers which are Python keywords.
7239 We use a per-major-version static identifier list derived from
7241 instead of calling out to Python's keyword.iskeyword(). This is
7243 and also allows us to tweak the result. For example, Python 3 dropped
7245 as a keyword, but we still want to escape that to avoid breaking
7247 between different Python versions.
7249 Error out when building with a major Python version not covered yet,
7251 do not forget to update the list in the future.
7253 https://bugzilla.gnome.org/show_bug.cgi?id=676746
7255 gi/pygi-info.c | 38 +++++++++++++++++++++++++++++++++++++-
7256 tests/test_gi.py | 17 +++++++++++++++++
7257 2 files changed, 54 insertions(+), 1 deletion(-)
7259 commit 3864d7a3b7def035ee2daf22ba717371c8d261de
7260 Author: Martin Pitt <martinpitt@gnome.org>
7261 Date: Fri Jun 22 13:13:37 2012 +0200
7263 Ignore E123 in pep8 tests
7265 This is "closing bracket does not match indentation of opening
7267 but it really looks better to have the closing bracket on the
7269 of the opening bracket instead of the indentation level of the
7271 contains the opening bracket.
7273 tests/Makefile.am | 2 +-
7274 1 file changed, 1 insertion(+), 1 deletion(-)
7276 commit fb436dd6d3b40b3f2a8ba6f402e2987752ad1902
7277 Author: Martin Pitt <martinpitt@gnome.org>
7278 Date: Fri Jun 22 13:08:34 2012 +0200
7280 PEP8: Fix indentation
7282 Spotted by current pep8 checker.
7284 demos/gtk-demo/demos/Entry/entry_buffer.py | 6 +--
7285 demos/gtk-demo/demos/Entry/entry_completion.py | 6 +--
7286 demos/gtk-demo/demos/Entry/search_entry.py | 4 +-
7287 demos/gtk-demo/demos/appwindow.py | 2 +-
7288 demos/gtk-demo/demos/clipboard.py | 8 +--
7289 demos/gtk-demo/demos/colorselector.py | 6 +--
7290 demos/gtk-demo/demos/rotatedtext.py | 8 +--
7291 demos/gtk-demo/gtk-demo.py | 6 +--
7292 examples/option.py | 29 ++++++-----
7293 examples/signal.py | 3 +-
7294 gi/_glib/option.py | 6 +--
7295 gi/_gobject/propertyhelper.py | 18 +++----
7296 gi/module.py | 14 +++---
7297 gi/overrides/GLib.py | 2 +-
7298 gi/overrides/Gio.py | 11 +++--
7299 gi/overrides/Gtk.py | 16 +++---
7300 gi/pygtkcompat.py | 7 ++-
7301 gi/types.py | 17 ++++---
7302 tests/runtests.py | 2 +-
7303 tests/test_gdbus.py | 55 +++++++++++----------
7304 tests/test_gi.py | 15 +++---
7305 tests/test_gobject.py | 18 +++----
7306 tests/test_option.py | 26 +++++-----
7307 tests/test_overrides.py | 67
7308 +++++++++++++-------------
7309 tests/test_properties.py | 30 ++++++------
7310 tests/test_signal.py | 2 +-
7311 tests/test_uris.py | 9 ++--
7312 27 files changed, 200 insertions(+), 193 deletions(-)
7314 commit 129462ccc4a2191ecbb42247030c91bd0f1454f6
7315 Author: Martin Pitt <martinpitt@gnome.org>
7316 Date: Fri Jun 22 12:36:54 2012 +0200
7318 PEP8: Use isinstance() instead of direct type comparisons
7320 Spotted by current pep8 checker.
7322 gi/overrides/GLib.py | 2 +-
7323 gi/overrides/__init__.py | 2 +-
7324 2 files changed, 2 insertions(+), 2 deletions(-)
7326 commit 50e45a624e6301e65c150e137aad6d092f203f3f
7327 Author: Martin Pitt <martinpitt@gnome.org>
7328 Date: Fri Jun 22 12:30:10 2012 +0200
7330 PEP8: Fix continuation lines
7332 Spotted by current pep8 checker.
7334 demos/gtk-demo/demos/Entry/search_entry.py | 6 +++---
7335 gi/__init__.py | 6 +++---
7336 gi/_gobject/__init__.py | 6 ++----
7337 gi/module.py | 6 +++---
7338 tests/test_overrides.py | 11 +++--------
7339 5 files changed, 14 insertions(+), 21 deletions(-)
7341 commit ef06548b0dc6aee0e8ab208a78966dc1d5d917ee
7342 Author: Martin Pitt <martinpitt@gnome.org>
7343 Date: Fri Jun 22 12:24:32 2012 +0200
7345 PEP8: Consistent comparisons against True, False, and None
7347 Spotted by current pep8 checker.
7349 demos/gtk-demo/demos/clipboard.py | 4 ++--
7350 demos/gtk-demo/demos/drawingarea.py | 4 ++--
7351 demos/gtk-demo/gtk-demo.py | 8 ++++----
7352 gi/overrides/Gdk.py | 2 +-
7353 gi/overrides/Gtk.py | 2 +-
7354 tests/test_gi.py | 4 ++--
7355 tests/test_overrides.py | 3 +--
7356 7 files changed, 13 insertions(+), 14 deletions(-)
7358 commit 379c1474a071292a1e8da413af2f5438cff09fc8
7359 Author: Martin Pitt <martinpitt@gnome.org>
7360 Date: Wed Jun 20 12:23:12 2012 +0200
7362 Fix crash in GLib.find_program_in_path()
7364 We need to handle a NULL return value properly.
7366 https://bugzilla.gnome.org/show_bug.cgi?id=678119
7368 gi/_glib/glibmodule.c | 10 ++++++++--
7369 tests/Makefile.am | 1 +
7370 tests/test_glib.py | 15 +++++++++++++++
7371 3 files changed, 24 insertions(+), 2 deletions(-)
7373 commit 73531fd7820bd1922347bd856298d68205a27877
7374 Author: Martin Pitt <martinpitt@gnome.org>
7375 Date: Wed Jun 20 11:16:39 2012 +0200
7377 Revert "Do not bind gobject_get_data() and gobject_set_data()"
7379 We should have some deprecation period for this, so bring back
7381 methods and add deprecation warnings.
7383 This reverts commit 24cc09a7105299805fcc5bc151f53ac69958d728.
7385 https://bugzilla.gnome.org/show_bug.cgi?id=641944
7387 gi/_gobject/pygobject.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
7388 1 file changed, 44 insertions(+)
7390 commit a0daa843801658929ffee5bcb9eb67d955dc7921
7391 Author: David Keijser <keijser@gmail.com>
7392 Date: Mon Jun 18 15:09:34 2012 +0200
7394 GVariant: Raise proper TypeError on invalid tuple input
7396 https://bugzilla.gnome.org/show_bug.cgi?id=678317
7398 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
7400 gi/overrides/GLib.py | 4 ++--
7401 tests/test_overrides.py | 1 +
7402 2 files changed, 3 insertions(+), 2 deletions(-)
7404 commit fb39ba934180e1e48fd15774e69d1cecf47a4c84
7405 Author: Martin Pitt <martinpitt@gnome.org>
7406 Date: Tue Jun 5 19:11:38 2012 +0200
7408 configure.ac: Post-release bump to 3.3.3
7411 1 file changed, 1 insertion(+), 1 deletion(-)
7413 commit 7f0995e7fa865ebde7490d0570a7135a2f962cdf
7414 Author: Martin Pitt <martinpitt@gnome.org>
7415 Date: Tue Jun 5 19:09:12 2012 +0200
7419 NEWS | 44 ++++++++++++++++++++++++++++++++++++++++++++
7420 1 file changed, 44 insertions(+)
7422 commit 8209c1ae1632c77768699481e574d5d378956e71
7423 Author: Martin Pitt <martinpitt@gnome.org>
7424 Date: Tue Jun 5 19:04:49 2012 +0200
7426 Fix "release-news" make target
7428 Actually list changes since the previous release, not since 3.1.92.
7431 1 file changed, 1 insertion(+), 1 deletion(-)
7433 commit b21f66d2a399b8c9a36a1758107b7bdff0ec8eaa
7434 Author: Bastian Winkler <buz@netbuz.org>
7435 Date: Wed May 9 19:04:01 2012 +0200
7437 foreign: Register cairo.Path and cairo.FontOptions foreign structs
7439 They are rarely used, but they are used at least by Gdk, PangoCairo
7443 clutter.Path is not used by any API that the test suite uses, so
7445 without a test for now.
7447 https://bugzilla.gnome.org/show_bug.cgi?id=677388
7449 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
7451 gi/pygi-foreign-cairo.c | 85
7452 ++++++++++++++++++++++++++++++++++++++++++++++++
7453 tests/test_everything.py | 8 +++++
7454 2 files changed, 93 insertions(+)
7456 commit 635a7d1b48d99ddd1ea123797c493b18b0cdfd45
7457 Author: Marien Zwart <marien.zwart@gmail.com>
7458 Date: Wed May 23 01:51:46 2012 +0200
7460 Check types in GBoxed assignments
7462 Check if the Python value is GBoxed instead of assuming it is.
7463 Without this, the following segfaults:
7465 from gi.repository import Soup
7467 msg = Soup.Message()
7468 msg.props.uri = 'http://www.gnome.org'
7470 as we assume the new property is a GBoxed while it is actually a
7473 https://bugzilla.gnome.org/show_bug.cgi?id=676603
7475 Co-authored-by: Martin Pitt <martinpitt@gnome.org>
7476 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
7478 gi/pygi-argument.c | 10 +++++++---
7479 tests/test_gi.py | 19 +++++++++++++++++++
7480 2 files changed, 26 insertions(+), 3 deletions(-)
7482 commit 2305dcd7e8841f87dc2fc683390df78453a5dc2a
7483 Author: Bastian Winkler <buz@netbuz.org>
7484 Date: Sat May 12 14:08:51 2012 +0200
7486 [API add] Gtk overrides: Add TreeModelRow.get_previous()
7488 TreeModelRow has get_next() and a next property, it should also have
7489 get_previous() and previous.
7491 https://bugzilla.gnome.org/show_bug.cgi?id=677389
7493 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
7495 gi/overrides/Gtk.py | 9 +++++++++
7496 1 file changed, 9 insertions(+)
7498 commit 5501fba534696974899f2591929bff9e1b6ecd65
7499 Author: Bastian Winkler <buz@netbuz.org>
7500 Date: Sat May 12 13:50:02 2012 +0200
7502 [API add] Add missing GObject.TYPE_VARIANT
7504 Add TYPE_VARIANT to constants to make it accessible as
7505 GObject.TYPE_VARIANT.
7507 https://bugzilla.gnome.org/show_bug.cgi?id=677387
7509 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
7511 gi/_gobject/__init__.py | 1 +
7512 gi/_gobject/constants.py | 1 +
7513 2 files changed, 2 insertions(+)
7515 commit 4c51a5411092f8ab6f8f6e9692a9b49692f621a7
7516 Author: Jasper St. Pierre <jstpierre@mecheye.net>
7517 Date: Fri Jun 1 02:53:13 2012 -0400
7519 Fix boxed type equality
7521 Each boxed type has its own Python type, not PyGBoxed_Type. Use
7522 PyObject_IsInstance instead of comparing against PyGBoxed_Type
7525 https://bugzilla.gnome.org/show_bug.cgi?id=677249
7527 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
7529 gi/_gobject/pygboxed.c | 3 ++-
7530 tests/test_everything.py | 8 ++++++++
7531 2 files changed, 10 insertions(+), 1 deletion(-)
7533 commit dc8eef26906753fcb3ce057b23ca110137897fa5
7534 Author: Jose Rostagno <joserostagno@vijona.com.ar>
7535 Date: Fri Jun 1 13:43:38 2012 +0200
7537 Fix TestProperties.testBoxed test
7539 A typo was preventing the test from being run.
7541 https://bugzilla.gnome.org/show_bug.cgi?id=676644
7543 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
7545 tests/test_properties.py | 4 ++--
7546 1 file changed, 2 insertions(+), 2 deletions(-)
7548 commit 853e6a71234ebd66af5a64dfb296e323c2c905a6
7549 Author: Carlos Garnacho <carlos@lanedo.com>
7550 Date: Thu May 17 17:09:15 2012 +0200
7552 Fix handling of by-reference structs as out parameters
7554 When marshalling back from python, copy the result of by-reference
7555 structs into the memory expected by the native caller, instead of
7556 attempting to handle it as a pointer.
7558 https://bugzilla.gnome.org/show_bug.cgi?id=653151
7560 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
7562 gi/pygi-closure.c | 17 +++++++++++++++++
7563 tests/test_gi.py | 5 +++++
7564 2 files changed, 22 insertions(+)
7566 commit bac9d526f6a9774821d1c9c0e7b35cc6db942975
7567 Author: Martin Pitt <martinpitt@gnome.org>
7568 Date: Fri Jun 1 12:28:53 2012 +0200
7570 tests: Add more vfunc checks for GIMarshallingTestsObject
7572 tests/test_gi.py | 25 +++++++++++++++++++++++++
7573 1 file changed, 25 insertions(+)
7575 commit e1aaf4a48453be0e69e7f3a70a2e7a790871a4d2
7576 Author: Martin Pitt <martinpitt@gnome.org>
7577 Date: Fri Jun 1 12:02:55 2012 +0200
7579 Test caller-allocated GValue out parameter
7581 This came up as a side issue in
7582 https://bugzilla.gnome.org/show_bug.cgi?id=653151
7584 tests/test_gi.py | 3 +++
7585 1 file changed, 3 insertions(+)
7587 commit edc17e703e1a05e20545d3df9167ceb076450443
7588 Author: Bastian Winkler <buz@netbuz.org>
7589 Date: Wed May 16 11:13:05 2012 +0200
7591 GObject.bind_property: Support transform functions
7593 Add support for optional transformation functions to
7594 pygobject_bind_property(). It uses a custom PyGClosure to marshal the
7595 return value correctly.
7597 https://bugzilla.gnome.org/show_bug.cgi?id=676169
7599 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
7601 gi/_gobject/pygobject.c | 130
7602 +++++++++++++++++++++++++++++++++++++++++++++---
7603 tests/test_gobject.py | 59 ++++++++++++++++++++++
7604 2 files changed, 181 insertions(+), 8 deletions(-)
7606 commit 07a08b49aae83a297e2f91240448314e4663f724
7607 Author: Carlos Garnacho <carlos@lanedo.com>
7608 Date: Mon May 14 15:31:14 2012 +0200
7610 Fix lookup of vfuncs in parent classes
7612 https://bugzilla.gnome.org/show_bug.cgi?id=672864.
7614 As subclasses implemented in python override the attribute for the
7615 vfunc, __mro__ has to be used so subclasses of the subclass overriding
7616 methods may find the corresponding VFuncInfo.
7618 Co-Authored-by: Martin Pitt <martinpitt@gnome.org>
7620 gi/types.py | 6 +++---
7621 tests/test_gi.py | 27 +++++++++++++++++++++++++++
7622 2 files changed, 30 insertions(+), 3 deletions(-)
7624 commit b965ee15bac6cd28d16d32205d96d2b1bdd3f0e1
7625 Author: Martin Pitt <martinpitt@gnome.org>
7626 Date: Fri Jun 1 08:18:40 2012 +0200
7628 tests/test_properties.py: Fix whitespace
7630 The pep8 check failed on this.
7632 tests/test_properties.py | 2 +-
7633 1 file changed, 1 insertion(+), 1 deletion(-)
7635 commit 274d60a7c08d74a299f4b83d8054c00eadb4bdbd
7636 Author: Jasper St. Pierre <jstpierre@mecheye.net>
7637 Date: Wed May 30 16:45:53 2012 -0400
7639 gi: Support zero-terminated arrays with length arguments
7641 Sometimes, you may see (array zero-terminated=1 length=length)
7643 Don't expose the length argument to the user in this case.
7645 https://bugzilla.gnome.org/show_bug.cgi?id=677124
7647 gi/pygi-cache.c | 13 ++++---------
7648 tests/test_gi.py | 3 +++
7649 2 files changed, 7 insertions(+), 9 deletions(-)
7651 commit 62c2e962a225ec2527aa3d7406aa0dae232a0886
7652 Author: Jasper St. Pierre <jstpierre@mecheye.net>
7653 Date: Fri May 25 17:09:55 2012 -0400
7657 libregress now needs cairo-gobject
7660 1 file changed, 1 insertion(+), 1 deletion(-)
7662 commit 9477f0f2f17a6d9b97e5ee08378bc009b8d4c30a
7663 Author: Martin Pitt <martinpitt@gnome.org>
7664 Date: Mon May 14 15:48:34 2012 +0200
7666 Fix comment in previous commit
7668 tests/test_gobject.py | 2 +-
7669 1 file changed, 1 insertion(+), 1 deletion(-)
7671 commit 6610428394d0c65987de5021bf2c38641cdb7116
7672 Author: Simon Feltman <s.feltman@gmail.com>
7673 Date: Tue May 8 20:04:09 2012 -0700
7675 [API add] Add GObject.bind_property method
7677 This adds the "bind_property" method for binding two gobject
7679 together. The method returns a weak reference to a GBinding object.
7680 The BindingWeakRef object is used to manage GBinding objects within
7682 created through GObject.bind_property. It is a sub-class
7684 that we can maintain the same reference counting semantics between
7686 and GObject Binding objects. This gives explicit direct control of the
7687 binding lifetime by using the "unbind" method on the BindingWeakRef
7689 along with implicit management based on the lifetime of the source or
7692 Note this does not yet include support for converter closures. This
7694 later after the initial implementation is accepted.
7696 https://bugzilla.gnome.org/show_bug.cgi?id=675582
7698 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
7700 gi/_gobject/pygobject.c | 104
7701 +++++++++++++++++++++++++++++++++++++++++++++++-
7702 tests/test_gobject.py | 90 +++++++++++++++++++++++++++++++++++++++++
7703 2 files changed, 193 insertions(+), 1 deletion(-)
7705 commit 88babe7377402f6e6f912a8b83615aab848eae81
7706 Author: Jose Rostagno <joserostagno@vijona.com.ar>
7707 Date: Fri May 11 19:08:47 2012 -0300
7709 pygtkcompat: Correctly set flags
7711 https://bugzilla.gnome.org/show_bug.cgi?id=675911
7713 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
7715 gi/pygtkcompat.py | 5 ++---
7716 tests/test_pygtkcompat.py | 1 +
7717 2 files changed, 3 insertions(+), 3 deletions(-)
7719 commit 3f712b56397296bca2f5358cd52977b1a2011964
7720 Author: Jose Rostagno <joserostagno@vijona.com.ar>
7721 Date: Fri May 11 12:39:05 2012 -0300
7723 Gtk overrides: Implement __delitem__ on TreeModel
7725 https://bugzilla.gnome.org/show_bug.cgi?id=675892
7727 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
7729 gi/overrides/Gtk.py | 16 ++++++++++++----
7730 tests/test_overrides.py | 9 +++++++++
7731 2 files changed, 21 insertions(+), 4 deletions(-)
7733 commit 9a1a07742ec0b1821d469603f9996a2b7d832f40
7734 Author: Simon Feltman <s.feltman@gmail.com>
7735 Date: Sun May 6 18:10:39 2012 -0700
7737 Gdk Color override should support red/green/blue_float properties
7739 Added red_float, green_float, and blue_float properties to Color.
7740 Also added Color.from_floats, RGBA.to_color, and RGBA.from_color.
7742 https://bugzilla.gnome.org/show_bug.cgi?id=675579
7744 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
7746 gi/overrides/Gdk.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
7747 tests/Makefile.am | 2 +-
7748 tests/test_overrides.py | 17 +++++++++++++++++
7749 3 files changed, 62 insertions(+), 1 deletion(-)
7751 commit d9608c332d9592f03545b110cfac8105453ea035
7752 Author: Martin Pitt <martinpitt@gnome.org>
7753 Date: Sat May 5 12:42:42 2012 -0700
7755 Support marshalling of GVariants for closures
7757 Add GVariant handling to pyg_value_{as,from}_pyobject(), so that
7759 be called with GVariant arguments and return GVariant.
7761 Unmark the corresponding test case as "expected failure", and also
7763 for None values and type mismatches.
7765 https://bugzilla.gnome.org/show_bug.cgi?id=656554
7767 gi/_gobject/pygtype.c | 47
7768 +++++++++++++++++++++++++++++++++++++++++++++--
7769 tests/test_everything.py | 16 ++++++++++++----
7770 2 files changed, 57 insertions(+), 6 deletions(-)
7772 commit e7a909c16dc1c625ab11e270f23d540f15c71767
7773 Author: Johan Dahlin <johan@gnome.org>
7774 Date: Mon May 7 10:33:40 2012 -0300
7776 Require gobject-introspection 1.33.0
7779 1 file changed, 1 insertion(+), 1 deletion(-)
7781 commit 9e8239684433631e0d1650d25416e4d7bf92a058
7782 Author: Martin Pitt <martinpitt@gnome.org>
7783 Date: Sun May 6 18:28:23 2012 -0700
7785 NEWS: Add API additions since 3.2.0
7788 1 file changed, 4 insertions(+), 3 deletions(-)
7790 commit d1a2bf51eb25b54028fbf496d20dfad9546bcb5e
7791 Author: Martin Pitt <martinpitt@gnome.org>
7792 Date: Sun May 6 18:25:23 2012 -0700
7794 NEWS: Mark API changes since 3.2.0
7797 1 file changed, 3 insertions(+), 3 deletions(-)
7799 commit a3329539291bd8ea9aa6cb184a05ea7c21f8885a
7800 Author: Martin Pitt <martinpitt@gnome.org>
7801 Date: Sun May 6 18:19:35 2012 -0700
7803 Fix commit 168a087 for Python 3
7805 Simplify the type check and use the already existing one. Fix the
7807 to work with both Python 2 and 3.
7809 gi/pygi-argument.c | 42 +++++++++---------------------------------
7810 1 file changed, 9 insertions(+), 33 deletions(-)
7812 commit 42c717ed77613e02f3c8ef2685bc071462b87d73
7813 Author: Martin Pitt <martinpitt@gnome.org>
7814 Date: Sun May 6 18:08:57 2012 -0700
7816 pygtkcompat.py: Typo fix
7818 Was missing a space around operator, causing the PEP8 check to fail.
7820 gi/pygtkcompat.py | 2 +-
7821 1 file changed, 1 insertion(+), 1 deletion(-)
7823 commit 168a08753cec1ff77ccca5d81b9a5fd2af5d3720
7824 Author: Martin Pitt <martinpitt@gnome.org>
7825 Date: Sun May 6 18:02:04 2012 -0700
7827 _pygi_argument_from_object(): Check for compatible data type
7829 Verify that the passed PyObject actually matches the expected type
7831 argument. With this, trying to assign a wrong type to a property
7835 gi/pygi-argument.c | 39 +++++++++++++++++++++++++++++++++++++++
7836 gi/pygi-property.c | 3 +++
7837 tests/test_gi.py | 40 ++++++++++++++++++++++++++++++++++++++++
7838 3 files changed, 82 insertions(+)
7840 commit 5948b62ba3e08ea943e6965ee38c94c363186226
7841 Author: Martin Pitt <martinpitt@gnome.org>
7842 Date: Sun May 6 17:59:57 2012 -0700
7844 pygtkcompat: Fix color conversion
7846 gtk_style_context_get_background_color() returns a GdkRGBA value,
7848 float values between 0 and 1. However, we construct a GdkColor
7850 that, so we need to scale to 0..65535 and round to int.
7852 gi/pygtkcompat.py | 6 +++---
7853 1 file changed, 3 insertions(+), 3 deletions(-)
7855 commit 6af74c501bc604559f8b5b4e0d856d022ed882bb
7856 Author: Martin Pitt <martinpitt@gnome.org>
7857 Date: Sun May 6 06:02:31 2012 -0700
7859 test_gi: Check setting properties in constructor
7861 tests/test_gi.py | 33 +++++++++++++++++++++++++++++++++
7862 1 file changed, 33 insertions(+)
7864 commit 9f50fd214e4214f83959b2883a0c667f7f157c97
7865 Author: Martin Pitt <martinpitt@gnome.org>
7866 Date: Sun May 6 05:50:00 2012 -0700
7868 Support getting and setting GStrv properties
7870 gi/pygi-property.c | 36 ++++++++++++++++++++++++++++++++++++
7871 tests/test_gi.py | 11 +++++++++++
7872 2 files changed, 47 insertions(+)
7874 commit 8321af2c7df499291e664c676376f149a0c3dcac
7875 Author: Martin Pitt <martinpitt@gnome.org>
7876 Date: Sat May 5 13:58:29 2012 -0700
7878 Support defining GStrv properties from Python
7880 gi/_gobject/propertyhelper.py | 10 ++++++--
7881 tests/test_properties.py | 58
7882 +++++++++++++++++++++++++++++++++++++++++--
7883 2 files changed, 64 insertions(+), 4 deletions(-)
7885 commit f2494526e1c579c41babfe7ff67deef0f6966adf
7886 Author: Martin Pitt <martinpitt@gnome.org>
7887 Date: Sat May 5 13:21:20 2012 -0700
7889 Add GObject.TYPE_STRV constant
7891 gi/_gobject/__init__.py | 1 +
7892 gi/_gobject/constants.py | 1 +
7893 tests/test_everything.py | 2 +-
7894 tests/test_signal.py | 2 +-
7895 4 files changed, 4 insertions(+), 2 deletions(-)
7897 commit 8c7306e4d6355ca45f8f1b4adf7d0595b4e8bcf8
7898 Author: Martin Pitt <martinpitt@gnome.org>
7899 Date: Sat May 5 09:28:36 2012 +0200
7901 Unref GVariants when destroying the wrapper
7903 https://bugzilla.gnome.org/show_bug.cgi?id=675472
7905 gi/overrides/GLib.py | 3 +++
7906 1 file changed, 3 insertions(+)
7908 commit d6c091d87c86c8ccc7cb54347fbceccedac61633
7909 Author: Martin Pitt <martinpitt@gnome.org>
7910 Date: Sat May 5 09:23:55 2012 +0200
7912 Fix TestArrayGVariant test cases
7914 test_array_gvariant_container_in() and test_array_gvariant_full_in()
7916 GIMarshallingTests.array_gvariant_none_in(), presumably a copy&paste
7918 Actually do what they mean to do now and call the corresponding
7919 GIMarshallingTests methods.
7921 tests/test_gi.py | 4 ++--
7922 1 file changed, 2 insertions(+), 2 deletions(-)
7924 commit fda8a069d503e63c76a6b1ba285a181822549059
7925 Author: Jose Rostagno <joserostagno@vijona.com.ar>
7926 Date: Sat May 5 08:52:41 2012 +0200
7928 pygtkcompat: Add gdk.pixbuf_get_formats compat code
7930 https://bugzilla.gnome.org/show_bug.cgi?id=675489
7932 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
7934 gi/pygtkcompat.py | 20 ++++++++++++++++++++
7935 tests/test_pygtkcompat.py | 8 ++++++++
7936 2 files changed, 28 insertions(+)
7938 commit 2b49c5f58bb841de7a9077eeeaf996eb9851dab3
7939 Author: Jose Rostagno <joserostagno@vijona.com.ar>
7940 Date: Mon Apr 30 13:44:19 2012 -0300
7942 pygtkcompat: Add some more compat functions
7944 https://bugzilla.gnome.org/show_bug.cgi?id=675489
7946 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
7948 gi/pygtkcompat.py | 14 ++++++++++++++
7949 1 file changed, 14 insertions(+)
7951 commit 16fbb17a9fd17eeb9f886af99e89a214d328dae1
7952 Author: Martin Pitt <martinpitt@gnome.org>
7953 Date: Thu May 3 12:25:04 2012 +0200
7955 Fix tests for Python 3
7957 cmp() does not exist any more in Python 3, replace with comparison
7960 GIMarshallingTests.array_in_nonzero_nonlen() expects a guint8 array,
7962 can't pass a str (which is an Unicode object in Python 3). Pass a
7966 tests/test_gi.py | 2 +-
7967 tests/test_overrides.py | 2 +-
7968 2 files changed, 2 insertions(+), 2 deletions(-)
7970 commit fd7f8eefbe8aba0b29d80e3eb9d985d33a268c8a
7971 Author: Martin Pitt <martinpitt@gnome.org>
7972 Date: Thu May 3 09:38:56 2012 +0200
7974 Fix building with --disable-cairo
7976 Build gobject-introspection's regress.c against cairo, not
7977 pycairo/py3cairo. We
7978 always need cairo to build, so unconditionally check for this in
7981 In test_everything.py, gracefully handle the absence of the "cairo"
7983 module, which we do not have when building without cairo support.
7985 configure.ac | 3 +++
7986 tests/Makefile.am | 4 ++--
7987 tests/test_everything.py | 8 +++++++-
7988 3 files changed, 12 insertions(+), 3 deletions(-)
7990 commit 1c5634e6d98c8b67b37a2747951c66f5d8f1907d
7991 Author: Martin Pitt <martinpitt@gnome.org>
7992 Date: Thu May 3 09:28:51 2012 +0200
7994 tests: Fix deprecated assertions
7996 assertAlmostEquals → assertAlmostEqual
7997 assertNotEquals → assertNotEqual
7999 tests/test_everything.py | 4 ++--
8000 tests/test_gi.py | 12 ++++++------
8001 tests/test_overrides.py | 10 +++++-----
8002 3 files changed, 13 insertions(+), 13 deletions(-)
8004 commit 07f312e66c07357168098d3f96813d2c997e8dc7
8005 Author: Martin Pitt <martinpitt@gnome.org>
8006 Date: Wed May 2 12:08:19 2012 +0200
8008 Run tests with MALLOC_PERTURB_
8010 We mostly use the glib allocation functions, but this might
8011 help to uncover access to already freed or uninitialized memory in
8015 tests/Makefile.am | 1 +
8016 1 file changed, 1 insertion(+)
8018 commit b0740d386c2cbbd153878209b584b568968e4d98
8019 Author: Martin Pitt <martinpitt@gnome.org>
8020 Date: Mon Apr 30 16:26:57 2012 +0200
8022 configure.ac: Post-release bump to 3.3.2
8025 1 file changed, 1 insertion(+), 1 deletion(-)
8027 commit d3977266faadacd3d05705497c1cf51a01a6606f
8028 Author: Martin Pitt <martinpitt@gnome.org>
8029 Date: Mon Apr 30 16:08:09 2012 +0200
8034 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
8035 1 file changed, 66 insertions(+)
8037 commit a8e222f04aac3bcf7e4421c4da8d080eeb8b5f56
8038 Author: Giovanni Campagna <gcampagna@src.gnome.org>
8039 Date: Sun Apr 29 23:55:15 2012 +0200
8041 GSettings: allow extra keyword arguments
8043 All GObject constructors are expected to accept any construct
8044 property as keyword argument, and overrides should respect that.
8045 In particular, not doing this for GSettings prevents using a custom
8048 https://bugzilla.gnome.org/show_bug.cgi?id=675105
8050 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
8052 gi/overrides/Gio.py | 4 ++--
8053 1 file changed, 2 insertions(+), 2 deletions(-)
8055 commit 592c67482c254f65817c1a1b5c5de5dfcaab31b4
8056 Author: Jose Rostagno <joserostagno@vijona.com.ar>
8057 Date: Sun Apr 29 12:56:50 2012 -0300
8059 pygtkcompat: Correct Userlist module use
8061 https://bugzilla.gnome.org/show_bug.cgi?id=675084
8063 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
8065 gi/pygtkcompat.py | 2 +-
8066 tests/test_pygtkcompat.py | 4 ++++
8067 2 files changed, 5 insertions(+), 1 deletion(-)
8069 commit 3551462a429ef30274fa01fc8111da5025f9c342
8070 Author: Martin Pitt <martinpitt@gnome.org>
8071 Date: Sun Apr 29 20:17:47 2012 +0200
8073 Add release-news make rule
8075 This produces a commit log since the previous release in our
8077 format. This does not currently wrap long lines automatically, though.
8079 Do include bug numbers from now on, as they are very useful.
8081 Makefile.am | 12 ++++++++++--
8082 1 file changed, 10 insertions(+), 2 deletions(-)
8084 commit fe79ef612a7853f024b73c7997b8ec89015ae94c
8085 Author: Martin Pitt <martinpitt@gnome.org>
8086 Date: Wed Apr 25 13:07:59 2012 +0200
8088 Add "make check.nemiver" target
8090 Similar to "check.gdb", but invokes nemiver.
8093 tests/Makefile.am | 3 +++
8094 2 files changed, 6 insertions(+)
8096 commit 3090cc70a7ce8df38dd6cf6c17350417a7367c0b
8097 Author: Martin Pitt <martinpitt@gnome.org>
8098 Date: Tue Apr 24 13:24:00 2012 +0200
8100 Test flags and enums in GHash values
8102 https://bugzilla.gnome.org/show_bug.cgi?id=637466
8104 tests/test_everything.py | 18 ++++++++++++------
8105 1 file changed, 12 insertions(+), 6 deletions(-)
8107 commit 88d189ec3e3d900a96496a50c1d6e76615b19558
8108 Author: Martin Pitt <martinpitt@gnome.org>
8109 Date: Tue Apr 24 13:03:36 2012 +0200
8111 tests: Activate test_hash_in and apply workaround
8113 Work around pygobject's current inability to produce a GStrv object
8115 string array by explicitly producing a GStrV object, and reactivate
8118 https://bugzilla.gnome.org/show_bug.cgi?id=666636
8120 tests/test_everything.py | 24 +++++++++++++-----------
8121 1 file changed, 13 insertions(+), 11 deletions(-)
8123 commit 8ee21619b3cfc179cf114813478470d9aa3f6fb8
8124 Author: Martin Pitt <martinpitt@gnome.org>
8125 Date: Mon Apr 23 12:33:09 2012 +0200
8127 Add special case for Gdk.Atom array entries from Python
8129 Gdk.Atom pretends to be a struct pointer, but is really just an
8131 into a pointer. So we must not dereference it directly, nor free
8133 instead just copy the pointer value.
8135 Also add a few other test cases for "single Atom return", "single
8137 in", and Atom GList return", which already work fine.
8139 https://bugzilla.gnome.org/show_bug.cgi?id=661709
8141 gi/pygi-marshal-from-py.c | 18 ++++++++++++++----
8142 tests/Makefile.am | 1 +
8143 tests/test_atoms.py | 41 +++++++++++++++++++++++++++++++++++++++++
8144 3 files changed, 56 insertions(+), 4 deletions(-)
8146 commit b9f24b4fbc2ca9f9b94b86f029c59b2fc3e8590f
8147 Author: Martin Pitt <martinpitt@gnome.org>
8148 Date: Mon Apr 23 20:09:43 2012 +0200
8150 test_gdbus: Call GetConnectionUnixProcessID() with correct signature
8152 https://bugzilla.gnome.org/show_bug.cgi?id=667954
8154 tests/test_gdbus.py | 2 +-
8155 1 file changed, 1 insertion(+), 1 deletion(-)
8157 commit 3ae38d7519524288a57e5d522954b9d6725f0185
8158 Author: Martin Pitt <martinpitt@gnome.org>
8159 Date: Mon Apr 23 18:47:34 2012 +0200
8161 Add test case for Gtk.ListStore custom sort
8163 This works in Python 2, but crashes in Python 3, another case of
8165 we get when C calls a Python callback in Python 3.
8167 https://bugzilla.gnome.org/show_bug.cgi?id=674475
8169 tests/test_overrides.py | 31 +++++++++++++++++++++++++++++++
8170 1 file changed, 31 insertions(+)
8172 commit c12b10ca0feaaf61f23354c7b6631a9ef3635c36
8173 Author: Martin Pitt <martinpitt@gnome.org>
8174 Date: Mon Apr 23 17:40:23 2012 +0200
8176 GTK overrides: Add missing keyword arguments
8178 Add missing **kwargs to overridden __init__() constructors, to
8180 arbitrary widget properties.
8182 https://bugzilla.gnome.org/show_bug.cgi?id=660018
8184 gi/overrides/Gtk.py | 34 ++++++++++++++++++----------------
8185 tests/test_overrides.py | 6 ++++++
8186 2 files changed, 24 insertions(+), 16 deletions(-)
8188 commit d37680bb9390426f7f58ea3d352c3e5e2106e978
8189 Author: Martin Pitt <martinpitt@gnome.org>
8190 Date: Mon Apr 23 15:24:04 2012 +0200
8192 Add missing override for TreeModel.iter_previous()
8194 This should behave like the override for TreeModel.iter_next().
8196 https://bugzilla.gnome.org/show_bug.cgi?id=660018
8198 gi/overrides/Gtk.py | 6 ++++++
8199 tests/test_overrides.py | 4 ++++
8200 2 files changed, 10 insertions(+)
8202 commit e03284f852f0e404cc91374f3e2e42b0ac1977b4
8203 Author: Martin Pitt <martinpitt@gnome.org>
8204 Date: Sun Apr 22 16:45:06 2012 +0200
8206 pygi-convert.py: Drop obsolete drag method conversions
8208 Drop conversion of drag_source_unset() and drag_dest_{,un}set(). These
8210 fixed a while ago to be proper Widget methods again.
8212 https://bugzilla.gnome.org/show_bug.cgi?id=652860
8214 pygi-convert.sh | 3 ---
8215 1 file changed, 3 deletions(-)
8217 commit f82eca6006dec21624796074af8ffe9b2256f7a4
8218 Author: Martin Pitt <martinpitt@gnome.org>
8219 Date: Sat Apr 21 14:00:50 2012 +0200
8221 tests: Replace deprecated assertEquals() with assertEqual()
8223 tests/test_everything.py | 144 ++++++-------
8224 tests/test_gi.py | 502
8225 +++++++++++++++++++++++-----------------------
8226 tests/test_gobject.py | 58 +++---
8227 tests/test_option.py | 6 +-
8228 tests/test_overrides.py | 352 ++++++++++++++++----------------
8229 tests/test_properties.py | 18 +-
8230 tests/test_pygtkcompat.py | 42 ++--
8231 7 files changed, 561 insertions(+), 561 deletions(-)
8233 commit ddb0bf01e694585d58af52673a21796e7c9578ea
8234 Author: Paolo Borelli <pborelli@gnome.org>
8235 Date: Sat Apr 21 12:02:54 2012 +0200
8237 Plug tiny leak in constant_info_get_value
8239 Fixes https://bugzilla.gnome.org/show_bug.cgi?id=642754
8241 gi/pygi-info.c | 1 +
8242 1 file changed, 1 insertion(+)
8244 commit 9c48a561c5ee010410df7d6e430353b41d5fbd88
8245 Author: Bastian Winkler <buz@netbuz.org>
8246 Date: Thu Apr 12 20:30:05 2012 +0200
8248 Fix len_arg_index for array arguments
8250 Don't set len_arg_index for arrays without the length annotation
8252 This fixes methods like Clutter.Texture.set_from_rgb_data() and
8253 Clutter.Image.set_data()
8255 https://bugzilla.gnome.org/show_bug.cgi?id=674271
8257 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
8259 gi/pygi-cache.c | 4 +++-
8260 gi/pygi-marshal-cleanup.c | 4 ++--
8261 tests/test_gi.py | 3 +++
8262 3 files changed, 8 insertions(+), 3 deletions(-)
8264 commit 71246ca0568bf3e9b81e88dd13b6d29e9417e313
8265 Author: Martin Pitt <martinpitt@gnome.org>
8266 Date: Thu Apr 19 13:11:56 2012 +0200
8268 Support defining GType properties from Python
8270 Commit 84e3471 fixed the handling of GType properties for properties
8272 defined in the C library already. Add the missing support for
8274 properties in Python as well.
8276 https://bugzilla.gnome.org/show_bug.cgi?id=674351
8278 gi/_gobject/gobjectmodule.c | 5 ++++-
8279 gi/_gobject/propertyhelper.py | 9 ++++++---
8280 tests/test_properties.py | 42
8281 +++++++++++++++++++++++++++++++++++++++---
8282 3 files changed, 49 insertions(+), 7 deletions(-)
8284 commit 2158ecd05a2770d6538bae67d01d1f718855a7d4
8285 Author: Martin Pitt <martinpitt@gnome.org>
8286 Date: Thu Apr 19 16:12:29 2012 +0200
8288 Fix typo in previous commit
8290 In the test case, actually assign the newly created object, so that
8292 properties of the right object.
8294 tests/test_everything.py | 2 +-
8295 1 file changed, 1 insertion(+), 1 deletion(-)
8297 commit 84e3471ba4595534cbe6875f1c8b77776e1d1814
8298 Author: Bastian Winkler <buz@netbuz.org>
8299 Date: Wed Apr 18 21:44:08 2012 +0200
8301 Handle GType properties correctly
8303 Fix conversion from/to properties of type G_TYPE_GTYPE
8305 https://bugzilla.gnome.org/show_bug.cgi?id=674351
8307 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
8309 gi/_gobject/pygtype.c | 9 +++++++--
8310 tests/test_everything.py | 15 +++++++++++++++
8311 2 files changed, 22 insertions(+), 2 deletions(-)
8313 commit d1362451e070e156d2f49c9cde930cc38befb12b
8314 Author: Martin Pitt <martinpitt@gnome.org>
8315 Date: Thu Apr 19 07:27:10 2012 +0200
8317 Add missing GObject.TYPE_GTYPE
8319 gi/_gobject/__init__.py | 1 +
8320 gi/_gobject/constants.py | 1 +
8321 2 files changed, 2 insertions(+)
8323 commit d3225f1540e09719caa73e52d402e946da3add24
8324 Author: Martin Pitt <martinpitt@gnome.org>
8325 Date: Tue Apr 10 12:44:00 2012 +0200
8327 Fix test_mainloop.py for Python 3
8329 tests/test_mainloop.py | 9 +++++++--
8330 1 file changed, 7 insertions(+), 2 deletions(-)
8332 commit 903283119896f3e054694484da4147788b02ce60
8333 Author: Martin Pitt <martinpitt@gnome.org>
8334 Date: Mon Apr 9 15:20:39 2012 +0200
8336 Make callback exception propagation test stricter
8338 Propagating Python exceptions from callbacks through the C context
8340 original caller does not currently happen, is nontrivial/unsafe
8342 and not desirable at this point any more as by now we have established
8344 current behaviour. So remove the catching of ZeroDivisionError in
8347 https://bugzilla.gnome.org/show_bug.cgi?id=616279
8349 tests/test_everything.py | 16 ++++++++--------
8350 1 file changed, 8 insertions(+), 8 deletions(-)
8352 commit 0fd900d351c8d7d57dc6a1b049ee05f342f6ab1d
8353 Author: Simon Feltman <s.feltman@gmail.com>
8354 Date: Sun Mar 18 15:59:58 2012 -0700
8356 Add context management to freeze_notify() and handler_block().
8358 These methods now return a context manager object. Within the
8360 thaw_notify() and handler_unblock() are called respectively. This
8362 statements like the following:
8364 with obj.freeze_notify():
8365 obj.props.width = 100
8366 obj.props.height = 100
8367 obj.props.opacity = 0.5
8369 This does not affect standard usage of these methods.
8371 https://bugzilla.gnome.org/show_bug.cgi?id=672324
8373 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
8375 gi/_gobject/pygobject.c | 138 +++++++++++++++++++++++++++++++++++++++---
8376 tests/test_gobject.py | 158
8377 ++++++++++++++++++++++++++++++++++++++++++++++++
8378 2 files changed, 288 insertions(+), 8 deletions(-)
8380 commit c0922589964c1d8bffe5a56d2f56df96eedfac10
8381 Author: Martin Pitt <martinpitt@gnome.org>
8382 Date: Wed Apr 4 19:08:54 2012 +0200
8384 Add support for GFlags properties
8386 https://bugzilla.gnome.org/show_bug.cgi?id=620943
8388 gi/_gobject/propertyhelper.py | 9 +++++++--
8389 tests/test_properties.py | 28 +++++++++++++++++++++++++++-
8390 2 files changed, 34 insertions(+), 3 deletions(-)
8392 commit d4054be9de3b7e4ed64c8172ebbde0a697462c79
8393 Author: Martin Pitt <martinpitt@gnome.org>
8394 Date: Wed Apr 4 17:54:52 2012 +0200
8396 Wrap GLib.Source.is_destroyed() method
8398 Based on original patch from Bryan Silverthorn.
8400 https://bugzilla.gnome.org/show_bug.cgi?id=524719
8402 gi/_glib/pygsource.c | 15 +++++++++++++++
8403 tests/test_source.py | 24 ++++++++++++++++++++++++
8404 2 files changed, 39 insertions(+)
8406 commit 05030a95a4d3090162ed5f510a26d69bbb152942
8407 Author: Martin Pitt <martinpitt@gnome.org>
8408 Date: Wed Apr 4 15:59:24 2012 +0200
8410 Fix error message when trying to override a non-GI class
8412 Based on original patch by Juanje Ojeda <jojeda@emergya.es>.
8414 https://bugzilla.gnome.org/show_bug.cgi?id=646667
8416 gi/overrides/__init__.py | 7 ++++---
8417 tests/test_overrides.py | 13 +++++++++++++
8418 2 files changed, 17 insertions(+), 3 deletions(-)
8420 commit 96f14989baea76fe8692f10c1a37e2dfc45fecbf
8421 Author: Steve Frécinaux <code@istique.net>
8422 Date: Wed Apr 4 15:30:55 2012 +0200
8424 Fix segfault when accessing __grefcount__ before creating the GObject
8426 When creating a new instance using Type() and trying to access
8427 __grefcount__ before calling the subclass's __init__ function, there
8428 used to be a segmentation fault because we were trying to access the
8429 not yet created object. Now raise a proper exception instead.
8431 https://bugzilla.gnome.org/show_bug.cgi?id=640434
8433 Co-authored-by: Martin Pitt <martinpitt@gnome.org>
8435 gi/_gobject/pygobject.c | 4 ++++
8436 tests/test_gobject.py | 11 +++++++++++
8437 2 files changed, 15 insertions(+)
8439 commit 24cc09a7105299805fcc5bc151f53ac69958d728
8440 Author: Steve Frécinaux <code@istique.net>
8441 Date: Wed Feb 9 18:37:33 2011 +0100
8443 Do not bind gobject_get_data() and gobject_set_data()
8445 They will basically cause a crash if misused, and you can always use a
8446 python member attribute instead.
8448 https://bugzilla.gnome.org/show_bug.cgi?id=641944
8450 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
8452 gi/_gobject/pygobject.c | 40 ----------------------------------------
8453 1 file changed, 40 deletions(-)
8455 commit 2a5a33a9c9c170830c98c2e32fa8dcea3c35f2e6
8456 Author: Martin Pitt <martinpitt@gnome.org>
8457 Date: Tue Apr 3 22:26:34 2012 +0200
8459 Add test case for multiple GLib.MainLoop instances
8461 Commit 832f16f9 fixed a lockup with multiple GLib.MainLoops. Add
8465 https://bugzilla.gnome.org/show_bug.cgi?id=663068
8467 tests/test_mainloop.py | 25 ++++++++++++++++++++++++-
8468 1 file changed, 24 insertions(+), 1 deletion(-)
8470 commit d03696c1aaa7e66f8f16554cf4a4b97addb5aea1
8471 Author: John (J5) Palmieri <johnp@redhat.com>
8472 Date: Tue Feb 21 15:13:42 2012 +0100
8474 Add a ccallback type which is used to invoke callbacks passed to
8477 Used when overriding methods like gtk_container_forall wich pass in a
8478 callback that needs to be executed on internal children:
8479 def do_forall(self, callback, userdata):
8480 callback(self.custom_child, userdata)
8482 https://bugzilla.gnome.org/show_bug.cgi?id=644926
8484 Co-authored-by: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
8485 Co-authored-by: Simon Schampijer <simon@laptop.org>
8487 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
8489 gi/Makefile.am | 2 +
8491 gi/module.py | 5 +++
8492 gi/pygi-argument.c | 12 +----
8493 gi/pygi-cache.c | 28 ++++++++++--
8494 gi/pygi-cache.h | 9 ++--
8495 gi/pygi-ccallback.c | 100
8496 ++++++++++++++++++++++++++++++++++++++++++
8497 gi/pygi-ccallback.h | 41 +++++++++++++++++
8498 gi/pygi-closure.c | 50 ++++++++++++++++++++-
8499 gi/pygi-invoke-state-struct.h | 2 +
8500 gi/pygi-invoke.c | 73 ++++++++++++++++++++----------
8501 gi/pygi-invoke.h | 3 ++
8502 gi/pygi-private.h | 1 +
8503 gi/pygi.h | 10 +++++
8504 tests/test_gi.py | 16 +++++++
8505 15 files changed, 312 insertions(+), 41 deletions(-)
8507 commit db7e1d078db16b6f11dee51aa97525c451346632
8508 Author: Alberto Mardegan <alberto.mardegan@canonical.com>
8509 Date: Tue Mar 27 17:34:48 2012 +0200
8511 Regression test: marshalling GValues in GHashTable
8513 https://bugzilla.gnome.org/show_bug.cgi?id=668903
8515 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
8517 tests/test_everything.py | 19 +++++++++++++++++++
8518 1 file changed, 19 insertions(+)
8520 commit 7c0017c30129a8db391f902ed592782200d69c64
8521 Author: Martin Pitt <martin.pitt@ubuntu.com>
8522 Date: Mon Mar 26 17:55:41 2012 +0200
8524 Bump version to 3.3.1
8526 3.2.x is built from the pygobject-3-2 branch now, and 3.2.0 is
8528 continue with 3.3.x on master.
8530 configure.ac | 4 ++--
8531 1 file changed, 2 insertions(+), 2 deletions(-)
8533 commit 8309f305e5ce508fc5f6411c8153bea2cee5f741
8534 Author: Martin Pitt <martin.pitt@ubuntu.com>
8535 Date: Mon Mar 26 17:51:37 2012 +0200
8539 - Ignore *.o, backup files, and generated Makefiles in all
8541 - Ignore *.pyc files.
8542 - Do not ignore .gitignore, we actually want to track this.
8545 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
8546 1 file changed, 61 insertions(+)
8548 commit 81de788a72b40acd2f857718d78bdeea01d12eb1
8549 Author: Martin Pitt <martin.pitt@ubuntu.com>
8550 Date: Mon Mar 26 17:45:08 2012 +0200
8552 Fix "distcheck" and tests with out-of-tree builds
8554 - Symlink *.py files from srcdir into builddir during build, as
8556 accept the extensions and modules in different paths.
8557 - "make clean" should remove *.pyc files
8558 - tests/runtests.py: Look for tests in srcdir, not in builddir
8560 Makefile.am | 6 ++++--
8561 gi/Makefile.am | 13 +++++++++++--
8562 gi/_glib/Makefile.am | 12 ++++++++++--
8563 gi/_gobject/Makefile.am | 12 ++++++++++--
8564 gi/overrides/Makefile.am | 10 ++++++++++
8565 gi/repository/Makefile.am | 11 +++++++++++
8566 tests/runtests.py | 6 ++++--
8567 7 files changed, 60 insertions(+), 10 deletions(-)
8569 commit f83d95e6fff572bda659a48e309b4524dafa4e83
8570 Author: Johan Dahlin <johan@gnome.org>
8571 Date: Thu Mar 22 11:14:03 2012 -0300
8573 Add a pep8 check to the makefile
8575 Also reorganize the pyflakes check, since target dependencies do not
8576 take the exit status of the shell command into account.
8578 https://bugzilla.gnome.org/show_bug.cgi?id=672627
8580 tests/Makefile.am | 9 ++++-----
8581 1 file changed, 4 insertions(+), 5 deletions(-)
8583 commit d1f5474c6c50163aefe660e0689dc7f30e6cd48b
8584 Author: Johan Dahlin <johan@gnome.org>
8585 Date: Thu Mar 22 10:56:59 2012 -0300
8587 PEP8: Remaining whitespace fixes
8589 https://bugzilla.gnome.org/show_bug.cgi?id=672627
8591 demos/gtk-demo/demos/Icon View/iconviewedit.py | 7 +++----
8592 demos/gtk-demo/demos/Tree View/liststore.py | 28
8593 +++++++++++++-------------
8594 demos/gtk-demo/demos/appwindow.py | 10 ++++-----
8595 demos/gtk-demo/demos/rotatedtext.py | 2 +-
8596 examples/cairo-demo.py | 4 ++--
8597 tests/test_gi.py | 12 +++++------
8598 tests/test_overrides.py | 2 +-
8599 7 files changed, 32 insertions(+), 33 deletions(-)
8601 commit 032fcce2bf6070a9001cbb780e90403051e303b1
8602 Author: Johan Dahlin <johan@gnome.org>
8603 Date: Thu Mar 22 10:56:03 2012 -0300
8605 PEP8: Add spaces before #
8607 https://bugzilla.gnome.org/show_bug.cgi?id=672627
8609 demos/gtk-demo/demos/drawingarea.py | 6 +++---
8610 demos/gtk-demo/demos/images.py | 10 +++++-----
8611 demos/gtk-demo/demos/rotatedtext.py | 2 +-
8612 gi/__init__.py | 2 +-
8613 gi/_glib/option.py | 2 +-
8614 gi/_gobject/__init__.py | 2 +-
8615 gi/overrides/GLib.py | 12 ++++++------
8616 gi/types.py | 4 ++--
8617 tests/runtests.py | 2 +-
8618 tests/test_gdbus.py | 4 ++--
8619 10 files changed, 23 insertions(+), 23 deletions(-)
8621 commit 6a58edbf11c612e9a14347b1556d1e0dd2ec1823
8622 Author: Johan Dahlin <johan@gnome.org>
8623 Date: Thu Mar 22 10:52:05 2012 -0300
8625 PEP8: Add missing whitespace after : and ,
8627 https://bugzilla.gnome.org/show_bug.cgi?id=672627
8629 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
8630 demos/gtk-demo/demos/appwindow.py | 2 +-
8631 tests/test_everything.py | 23 +++++++++--------------
8632 tests/test_gi.py | 2 +-
8633 tests/test_overrides.py | 2 +-
8634 5 files changed, 13 insertions(+), 18 deletions(-)
8636 commit a8d361e66b2a0e09cfa5dbade4725074b0cc2fd1
8637 Author: Johan Dahlin <johan@gnome.org>
8638 Date: Thu Mar 22 10:49:52 2012 -0300
8640 PEP8: Remove too whitespace before }
8642 https://bugzilla.gnome.org/show_bug.cgi?id=672627
8644 tests/test_overrides.py | 2 +-
8645 1 file changed, 1 insertion(+), 1 deletion(-)
8647 commit 2b8eb9fa5b9ca454d7130b3eec15a982fee1bdc9
8648 Author: Johan Dahlin <johan@gnome.org>
8649 Date: Thu Mar 22 10:49:27 2012 -0300
8651 PEP8: Remove too many blank lines
8653 https://bugzilla.gnome.org/show_bug.cgi?id=672627
8655 demos/gtk-demo/demos/rotatedtext.py | 1 -
8656 tests/test_overrides.py | 1 -
8657 2 files changed, 2 deletions(-)
8659 commit 03e597cb8f3b075efae556ee51a598695a883ad3
8660 Author: Johan Dahlin <johan@gnome.org>
8661 Date: Thu Mar 22 10:48:59 2012 -0300
8663 PEP8: Fix whitespace around operators
8665 https://bugzilla.gnome.org/show_bug.cgi?id=672627
8667 demos/gtk-demo/demos/images.py | 2 +-
8668 examples/cairo-demo.py | 8 ++++----
8669 tests/test_gi.py | 4 ++--
8670 tests/test_overrides.py | 8 ++++----
8671 tests/test_properties.py | 14 +++++++-------
8672 tests/test_signal.py | 2 +-
8673 6 files changed, 19 insertions(+), 19 deletions(-)
8675 commit 21aeb19107b718293116e51ecd6479d4d7198b8f
8676 Author: Johan Dahlin <johan@gnome.org>
8677 Date: Thu Mar 22 10:46:17 2012 -0300
8679 PEP8: Remove whitespace before (
8681 https://bugzilla.gnome.org/show_bug.cgi?id=672627
8683 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
8684 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
8685 demos/gtk-demo/demos/Entry/search_entry.py | 12 ++---
8686 demos/gtk-demo/demos/Icon View/iconviewedit.py | 4 +-
8687 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
8688 demos/gtk-demo/demos/dialogs.py | 12 ++---
8689 demos/gtk-demo/demos/pickers.py | 8 ++--
8690 demos/gtk-demo/demos/pixbuf.py | 4 +-
8691 demos/gtk-demo/demos/printing.py | 8 ++--
8692 demos/gtk-demo/demos/rotatedtext.py | 2 +-
8693 demos/gtk-demo/gtk-demo.py | 4 +-
8695 gi/overrides/Pango.py | 2 +-
8696 gi/pygtkcompat.py | 4 +-
8697 tests/test_everything.py | 4 +-
8698 tests/test_overrides.py | 62
8699 +++++++++++++-------------
8700 16 files changed, 68 insertions(+), 68 deletions(-)
8702 commit b04d209930ab01bae6563b0d714aec829739bdc6
8703 Author: Johan Dahlin <johan@gnome.org>
8704 Date: Thu Mar 22 10:40:46 2012 -0300
8706 PEP8: Remove whitespace around {}
8708 https://bugzilla.gnome.org/show_bug.cgi?id=672627
8710 tests/test_signal.py | 20 ++++++++++----------
8711 1 file changed, 10 insertions(+), 10 deletions(-)
8713 commit 725483a5dc36739dc7836716b5d6d48091564bf8
8714 Author: Johan Dahlin <johan@gnome.org>
8715 Date: Thu Mar 22 10:38:59 2012 -0300
8717 PEP8: run via --fix from craigds fork
8719 https://bugzilla.gnome.org/show_bug.cgi?id=672627
8721 demos/gtk-demo/demos/Entry/entry_buffer.py | 1 +
8722 demos/gtk-demo/demos/Entry/entry_completion.py | 1 +
8723 demos/gtk-demo/demos/Entry/search_entry.py | 3 +-
8724 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 1 +
8725 demos/gtk-demo/demos/Icon View/iconviewedit.py | 2 +
8726 demos/gtk-demo/demos/Tree View/liststore.py | 3 ++
8727 demos/gtk-demo/demos/appwindow.py | 13 +++++-
8728 demos/gtk-demo/demos/assistant.py | 1 +
8729 demos/gtk-demo/demos/builder.py | 1 +
8730 demos/gtk-demo/demos/button_box.py | 1 +
8731 demos/gtk-demo/demos/clipboard.py | 2 +-
8732 demos/gtk-demo/demos/colorselector.py | 1 +
8733 demos/gtk-demo/demos/combobox.py | 4 +-
8734 demos/gtk-demo/demos/dialogs.py | 2 +
8735 demos/gtk-demo/demos/drawingarea.py | 1 +
8736 demos/gtk-demo/demos/expander.py | 4 +-
8737 demos/gtk-demo/demos/images.py | 10 +++--
8738 demos/gtk-demo/demos/infobars.py | 2 +
8739 demos/gtk-demo/demos/links.py | 2 +
8740 demos/gtk-demo/demos/menus.py | 2 +
8741 demos/gtk-demo/demos/pickers.py | 2 +
8742 demos/gtk-demo/demos/pixbuf.py | 2 +
8743 demos/gtk-demo/demos/printing.py | 5 ++-
8744 demos/gtk-demo/demos/rotatedtext.py | 4 +-
8745 demos/gtk-demo/demos/test.py | 1 +
8746 demos/gtk-demo/gtk-demo.py | 9 ++--
8747 examples/cairo-demo.py | 57
8748 ++++++++++++++----------
8749 examples/option.py | 1 -
8750 examples/properties.py | 1 +
8751 examples/signal.py | 4 ++
8752 gi/__init__.py | 2 +
8753 gi/_glib/option.py | 4 +-
8754 gi/_gobject/__init__.py | 1 +
8755 gi/_gobject/propertyhelper.py | 5 ++-
8757 gi/overrides/GIMarshallingTests.py | 2 +
8758 gi/overrides/GLib.py | 12 +++--
8759 gi/overrides/Gdk.py | 9 ++++
8760 gi/overrides/Gio.py | 4 ++
8761 gi/overrides/Gtk.py | 56
8762 ++++++++++++++++++++---
8763 gi/overrides/Pango.py | 2 +
8764 gi/overrides/__init__.py | 5 ++-
8765 gi/pygtkcompat.py | 16 +++++--
8767 tests/test_everything.py | 30 +++++++++----
8768 tests/test_gdbus.py | 1 +
8769 tests/test_gi.py | 30 +++++++------
8770 tests/test_gobject.py | 3 +-
8771 tests/test_mainloop.py | 1 +
8772 tests/test_option.py | 1 +
8773 tests/test_overrides.py | 55
8774 ++++++++++++-----------
8775 tests/test_properties.py | 11 ++++-
8776 tests/test_signal.py | 32 ++++++++++++-
8777 tests/test_source.py | 1 +
8778 tests/test_subprocess.py | 1 +
8779 tests/test_thread.py | 1 +
8780 tests/test_uris.py | 1 +
8781 tests/testmodule.py | 1 +
8782 58 files changed, 326 insertions(+), 111 deletions(-)
8784 commit 917275d4aa81db39ccaca34fa514032fb80a3187
8785 Author: Johan Dahlin <johan@gnome.org>
8786 Date: Thu Mar 22 10:33:29 2012 -0300
8788 PEP8: Remove spaces around = for keyword arguments
8790 https://bugzilla.gnome.org/show_bug.cgi?id=672627
8792 demos/gtk-demo/demos/appwindow.py | 8 ++++----
8793 demos/gtk-demo/demos/colorselector.py | 4 ++--
8794 demos/gtk-demo/gtk-demo.py | 24 ++++++++++++------------
8795 examples/option.py | 4 ++--
8796 gi/_glib/option.py | 2 +-
8797 gi/overrides/Gtk.py | 2 +-
8798 tests/test_gi.py | 26 +++++++++++++-------------
8799 tests/test_option.py | 2 +-
8800 tests/test_overrides.py | 8 ++++----
8801 9 files changed, 40 insertions(+), 40 deletions(-)
8803 commit 0c85656f95d3cb31becff10bbee7faae7b0b875b
8804 Author: Johan Dahlin <johan@gnome.org>
8805 Date: Thu Mar 22 10:28:28 2012 -0300
8807 PEP8: Remove trailing ;
8809 https://bugzilla.gnome.org/show_bug.cgi?id=672627
8811 demos/gtk-demo/demos/appwindow.py | 4 ++--
8812 demos/gtk-demo/demos/dialogs.py | 30 +++++++++++++++---------------
8813 demos/gtk-demo/demos/links.py | 2 +-
8814 demos/gtk-demo/demos/pixbuf.py | 2 +-
8815 demos/gtk-demo/demos/printing.py | 8 ++++----
8816 gi/overrides/Gtk.py | 4 ++--
8817 tests/test_everything.py | 22 +++++++++++-----------
8818 tests/test_gi.py | 2 +-
8819 tests/test_overrides.py | 8 ++++----
8820 9 files changed, 41 insertions(+), 41 deletions(-)
8822 commit 32cc594ab6dfbd4843f3db5ec8338d31ad5df6c6
8823 Author: Johan Dahlin <johan@gnome.org>
8824 Date: Thu Mar 22 10:24:40 2012 -0300
8826 Remove all tabs and fix indentation
8828 By running the whole source tree via the indent.py script found
8829 in the Python distribution.
8831 demos/gtk-demo/demos/Entry/search_entry.py | 4 +-
8832 demos/gtk-demo/demos/Icon View/iconviewedit.py | 41 +++----
8833 demos/gtk-demo/demos/Tree View/liststore.py | 8 +-
8834 demos/gtk-demo/demos/appwindow.py | 18 +--
8835 demos/gtk-demo/demos/dialogs.py | 26 ++---
8836 demos/gtk-demo/demos/expander.py | 6 +-
8837 demos/gtk-demo/demos/images.py | 2 +-
8838 demos/gtk-demo/demos/links.py | 2 +-
8839 demos/gtk-demo/demos/rotatedtext.py | 20 ++--
8840 gi/_glib/option.py | 2 +-
8841 gi/_gobject/constants.py | 1 -
8842 gi/importer.py | 1 -
8843 gi/module.py | 10 +-
8844 gi/overrides/GLib.py | 11 +-
8845 gi/overrides/Gdk.py | 30 ++---
8846 gi/overrides/Gio.py | 4 +-
8847 gi/overrides/Gtk.py | 150
8848 ++++++++++++-------------
8849 gi/overrides/Pango.py | 1 -
8850 gi/overrides/__init__.py | 10 +-
8851 gi/pygtkcompat.py | 2 +-
8852 tests/compathelper.py | 2 +-
8853 tests/runtests.py | 19 ++--
8854 tests/test_everything.py | 22 ++--
8855 tests/test_gdbus.py | 11 +-
8856 tests/test_gi.py | 38 +++----
8857 tests/test_gobject.py | 2 +-
8858 tests/test_interface.py | 1 -
8859 tests/test_option.py | 1 -
8860 tests/test_overrides.py | 78 ++++++-------
8861 tests/test_properties.py | 2 +-
8862 tests/test_uris.py | 1 -
8863 31 files changed, 255 insertions(+), 271 deletions(-)
8865 commit c375e3136f0f48eb8a6717c0053155db088b329d
8866 Author: Martin Pitt <martin.pitt@ubuntu.com>
8867 Date: Thu Mar 22 10:32:43 2012 +0100
8869 tests: Replace deprecated Python API
8871 failIf → assertFalse, failUnless → assertTrue
8873 Caught by the previous commit of making deprecations fatal.
8875 tests/test_option.py | 10 +++----
8876 tests/test_overrides.py | 66
8877 +++++++++++++++++++++++------------------------
8878 tests/test_properties.py | 14 +++++-----
8879 tests/test_pygtkcompat.py | 18 ++++++-------
8880 tests/test_signal.py | 4 +--
8881 5 files changed, 56 insertions(+), 56 deletions(-)
8883 commit 32525e565cc48454cdacbc44ad3fd751b81cb7e3
8884 Author: Martin Pitt <martin.pitt@ubuntu.com>
8885 Date: Thu Mar 22 10:31:22 2012 +0100
8887 Fail tests if they use or encounter deprecations
8889 tests/Makefile.am | 2 +-
8890 1 file changed, 1 insertion(+), 1 deletion(-)
8892 commit 65762243a34af014950527c323a51a29d40fb3e1
8893 Author: Martin Pitt <martin.pitt@ubuntu.com>
8894 Date: Thu Mar 22 10:15:16 2012 +0100
8896 Do not run tests in two phases any more
8898 As we dropped the static bindings a while ago, there is no need any
8900 the tests in two phases (static/GI). Now just run them all in one go,
8901 simplifying tests/Makefile.am.
8903 As this changes the order of the tests, defining $GSETTINGS_SCHEMA_DIR
8905 needs to happen even further, so move it from tests/test_overrides.py
8909 tests/Makefile.am | 33 ++++++++++++---------------------
8910 tests/runtests.py | 7 +++++++
8911 tests/test_overrides.py | 6 ------
8912 3 files changed, 19 insertions(+), 27 deletions(-)
8914 commit 3b4ae83a0ece8e3aed1de5452e2acd32841e629a
8915 Author: Martin Pitt <martin.pitt@ubuntu.com>
8916 Date: Thu Mar 22 09:58:21 2012 +0100
8918 test_overrides: Find local gsettings schema with current glib
8920 With current glib, gsettings now fails to find the gschemas.compiled
8922 tests. Move the setting of $GSETTINGS_SCHEMA_DIR before the module
8924 which makes this work again.
8926 tests/test_overrides.py | 9 +++++----
8927 1 file changed, 5 insertions(+), 4 deletions(-)
8929 commit 927f7877ffa5e16c4cabcecbc05656ee0ec6a167
8930 Author: Paolo Borelli <pborelli@gnome.org>
8931 Date: Wed Mar 21 21:09:24 2012 +0100
8933 Add GtkComboBoxEntry compatibility
8935 This widget has been removed in Gtk+ 3, add a small wrapper to the
8936 compat module to make at least basic pygtk programs that use it work.
8938 https://bugzilla.gnome.org/show_bug.cgi?id=672589
8940 gi/pygtkcompat.py | 19 +++++++++++++++++++
8941 tests/test_pygtkcompat.py | 22 ++++++++++++++++++++++
8942 2 files changed, 41 insertions(+)
8944 commit b322d6a1f6d44bace4eefb98558cfe94a73a727c
8945 Author: Johan Dahlin <johan@gnome.org>
8946 Date: Wed Mar 21 16:01:35 2012 -0300
8948 Correct review comments from Martin
8950 https://bugzilla.gnome.org/show_bug.cgi?id=672578
8952 tests/test_everything.py | 4 ++--
8953 tests/test_pygtkcompat.py | 18 ++++++++++++++++++
8954 2 files changed, 20 insertions(+), 2 deletions(-)
8956 commit c8bc6ae10cfe8b2eff4204ec2175907a6eb0585a
8957 Author: Johan Dahlin <johan@gnome.org>
8958 Date: Wed Mar 21 14:45:53 2012 -0300
8960 Correct pyflakes warnings/errors
8962 And add a target to make check that runs pyflakes.
8964 https://bugzilla.gnome.org/show_bug.cgi?id=672578
8966 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
8967 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
8968 demos/gtk-demo/demos/Entry/search_entry.py | 12 +-
8969 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 2 +-
8970 demos/gtk-demo/demos/Icon View/iconviewedit.py | 2 +-
8971 demos/gtk-demo/demos/Tree View/liststore.py | 3 +-
8972 demos/gtk-demo/demos/appwindow.py | 13 +-
8973 demos/gtk-demo/demos/assistant.py | 4 +-
8974 demos/gtk-demo/demos/builder.py | 4 +-
8975 demos/gtk-demo/demos/button_box.py | 2 +-
8976 demos/gtk-demo/demos/clipboard.py | 2 +-
8977 demos/gtk-demo/demos/colorselector.py | 2 +-
8978 demos/gtk-demo/demos/combobox.py | 4 +-
8979 demos/gtk-demo/demos/dialogs.py | 4 +-
8980 demos/gtk-demo/demos/drawingarea.py | 2 +-
8981 demos/gtk-demo/demos/expander.py | 4 +-
8982 demos/gtk-demo/demos/images.py | 8 +-
8983 demos/gtk-demo/demos/infobars.py | 2 +-
8984 demos/gtk-demo/demos/links.py | 2 +-
8985 demos/gtk-demo/demos/menus.py | 5 +-
8986 demos/gtk-demo/demos/pickers.py | 2 +-
8987 demos/gtk-demo/demos/pixbuf.py | 2 +-
8988 demos/gtk-demo/demos/printing.py | 3 +-
8989 demos/gtk-demo/demos/rotatedtext.py | 6 +-
8990 demos/gtk-demo/gtk-demo.py | 9 +-
8991 examples/cairo-demo.py | 2 +-
8992 gi/__init__.py | 4 +
8993 gi/_glib/__init__.py | 101 ++++++++++-
8994 gi/_glib/option.py | 1 +
8995 gi/_gobject/__init__.py | 203
8996 ++++++++++++++++++++---
8997 gi/_gobject/constants.py | 2 -
8998 gi/_gobject/propertyhelper.py | 4 +-
8999 gi/importer.py | 2 +-
9001 gi/overrides/Gtk.py | 1 -
9002 gi/overrides/__init__.py | 1 -
9003 gi/pygtkcompat.py | 2 +
9005 tests/Makefile.am | 5 +
9006 tests/test_everything.py | 6 +-
9007 tests/test_gi.py | 8 +-
9008 tests/test_option.py | 10 +-
9009 tests/test_overrides.py | 30 ++--
9010 tests/test_properties.py | 12 +-
9011 tests/test_pygtkcompat.py | 4 -
9012 tests/test_signal.py | 4 +-
9013 tests/test_source.py | 6 +-
9014 47 files changed, 377 insertions(+), 138 deletions(-)
9016 commit 39650906559fcc39b4be406fa7e25c4788d349a3
9017 Author: Martin Pitt <martin.pitt@ubuntu.com>
9018 Date: Wed Mar 21 16:59:33 2012 +0100
9020 Make tests fail on CRITICAL logs, too, and apply to all tests
9022 Instead of setting warnings/criticals to fatal in individual test
9024 it in runtests.py, so that it applies to all tests.
9026 We currently have some tests which are known to generate CRITICALs
9028 with FIXME), and some WARNINGs (as they test behaviour with known-bad
9030 For these, warnings/criticals are now explicitly permitted.
9032 tests/runtests.py | 1 +
9033 tests/test_gi.py | 7 ++++++-
9034 tests/test_overrides.py | 14 +++++++-------
9035 tests/test_properties.py | 36 +++++++++++++++++++++---------------
9036 4 files changed, 35 insertions(+), 23 deletions(-)
9038 commit efcb4b0b32c4dda06c3eeec83802fc0f302f0d27
9039 Author: Alberto Mardegan <alberto.mardegan@canonical.com>
9040 Date: Tue Mar 20 14:55:07 2012 +0400
9042 Support marshalling GI_TYPE_TAG_INTERFACE
9044 Marshalling of interfaces got broken with commit
9045 7746d2188ac4933c2c9011d84525d1e62fc18953.
9047 Also, do not abort on unsupported types, but log a critical failure
9051 https://bugzilla.gnome.org/show_bug.cgi?id=668903
9053 gi/pygi-marshal-from-py.c | 3 ++-
9054 gi/pygi-marshal-to-py.c | 3 ++-
9055 2 files changed, 4 insertions(+), 2 deletions(-)
9057 commit 8d85d6639778ec6364235071d272d67e7aae49ae
9058 Author: Martin Pitt <martin.pitt@ubuntu.com>
9059 Date: Wed Mar 21 14:34:36 2012 +0100
9061 Fix warnings on None values in added tree/list store rows
9063 Commit bf8c95836e1c changed the List/TreeStore overrides to use
9064 insert_with_valuesv(), but supplied all columns instead of just
9066 not None. With this, None values cause warnings like
9068 (runtests.py:12375): Gtk-WARNING **:
9069 /build/buildd/gtk+3.0-3.3.20/./gtk/gtkliststore.c:851: Unable to
9070 convert from (null) to gboolean
9072 Update the tests to make warnings fatal, to catch this better.
9074 Change _convert_row() to skip the None entries and return the list
9076 columns, and use the latter instead of a simple range(n_columns). This
9078 the behaviour before bf8c95836e1c, where columns with None values
9082 https://bugzilla.gnome.org/show_bug.cgi?id=672463
9084 gi/overrides/Gtk.py | 26 ++++++++++++++------------
9085 tests/test_overrides.py | 5 +++++
9086 2 files changed, 19 insertions(+), 12 deletions(-)
9088 commit 38aecc481741fd3a319a76a0ec8bf5329a483876
9089 Author: Martin Pitt <martin.pitt@ubuntu.com>
9090 Date: Wed Mar 21 15:21:02 2012 +0100
9092 pygtkcompat test: Properly clean up PixbufLoader
9094 Tests currently give
9096 (runtests.py:15072): GdkPixbuf-WARNING **: GdkPixbufLoader finalized
9097 without calling gdk_pixbuf_loader_close() - this is not allowed. You
9098 must explicitly end the data stream to the loader before dropping
9101 Fix this by calling close().
9103 tests/test_pygtkcompat.py | 3 ++-
9104 1 file changed, 2 insertions(+), 1 deletion(-)
9106 commit 5e0e5e72a4436badd09f0aa07f62960afcdca8c6
9107 Author: Martin Pitt <martin.pitt@ubuntu.com>
9108 Date: Mon Mar 19 16:58:22 2012 +0100
9112 Use 3.1.93 for now, this will most likely become 3.2.0 as it is.
9115 1 file changed, 1 insertion(+), 1 deletion(-)
9117 commit 88924e399d7ccf7af2e9a78720e0c508cd6080d8
9118 Author: Martin Pitt <martin.pitt@ubuntu.com>
9119 Date: Mon Mar 19 16:41:17 2012 +0100
9123 NEWS | 46 ++++++++++++++++++++++++++++++++++++++++++++++
9124 1 file changed, 46 insertions(+)
9126 commit b41e6139befb984c0b78bcefe2630ab1393b4b40
9127 Author: Martin Pitt <martin.pitt@ubuntu.com>
9128 Date: Mon Mar 19 16:14:54 2012 +0100
9130 README: Update current maintainers
9132 Also update Martin's email address.
9134 README | 10 ++++++----
9135 pygobject.doap | 2 +-
9136 2 files changed, 7 insertions(+), 5 deletions(-)
9138 commit 45e27ba7e447552057a2950fc768c63ff2e6612e
9139 Author: Martin Pitt <martin.pitt@ubuntu.com>
9140 Date: Mon Mar 19 16:11:22 2012 +0100
9142 Bump version to 3.1.92, in sync with GNOME
9145 1 file changed, 1 insertion(+), 1 deletion(-)
9147 commit 77d358f8c5f524259249ea686899e3a4da05562e
9148 Author: Johan Dahlin <johan@gnome.org>
9149 Date: Mon Mar 19 11:54:07 2012 -0300
9151 Correct Gtk.TreePath.__iter__ to work with Python 3
9153 gi/overrides/Gtk.py | 2 +-
9154 1 file changed, 1 insertion(+), 1 deletion(-)
9156 commit 1f18bcb37bdc42368ad9a07c7f348f736c2f665d
9157 Author: Martin Pitt <martin.pitt@ubuntu.com>
9158 Date: Mon Mar 19 15:54:13 2012 +0100
9160 Fix pygtkcompat.py to work with Python 3
9162 gi/pygtkcompat.py | 20 +++++++++++++++-----
9163 1 file changed, 15 insertions(+), 5 deletions(-)
9165 commit 96a9f92da801989464fbcedf6d849819f6dbea64
9166 Author: Martin Pitt <martin.pitt@ubuntu.com>
9167 Date: Mon Mar 19 15:32:22 2012 +0100
9169 Fix test_everything.TestSignals.test_object_param_signal test case
9171 The callback gets two arguments, not one. This short-circuited
9173 assertions. Fix the arguments and update the refcount check, as it
9175 exactly two at the moment.
9177 tests/test_everything.py | 4 ++--
9178 1 file changed, 2 insertions(+), 2 deletions(-)
9180 commit ba00afb1e50759b2b321f16e05a15946053cdafa
9181 Author: Johan Dahlin <johan@gnome.org>
9182 Date: Mon Mar 19 10:58:09 2012 -0300
9184 pygtkcompat: Remove first argument for get_origin()
9186 gi/pygtkcompat.py | 5 +++++
9187 tests/test_pygtkcompat.py | 5 +++++
9188 2 files changed, 10 insertions(+)
9190 commit 65499246a862ce6a82bc3b0cc74fe8ff82dde687
9191 Author: Johan Dahlin <johan@gnome.org>
9192 Date: Fri Mar 16 16:08:44 2012 -0300
9194 GtkViewport: Add a default values for the adjustment constructor
9197 https://bugzilla.gnome.org/show_bug.cgi?id=672260
9199 gi/overrides/Gtk.py | 10 ++++++++++
9200 tests/test_overrides.py | 11 +++++++++++
9201 2 files changed, 21 insertions(+)
9203 commit 43c761d9f35252dcb58b9cf2278016d841eea4ec
9204 Author: Johan Dahlin <johan@gnome.org>
9205 Date: Fri Mar 16 16:08:23 2012 -0300
9207 GtkIconSet: Add a default value for the pixbuf constructor parameter
9209 https://bugzilla.gnome.org/show_bug.cgi?id=672260
9211 gi/overrides/Gtk.py | 11 +++++++++++
9212 tests/test_overrides.py | 6 ++++++
9213 2 files changed, 17 insertions(+)
9215 commit 116d3712251b1b8aa2d4f4a9e40e22f5b9fcbe4f
9216 Author: Johan Dahlin <johan@gnome.org>
9217 Date: Fri Mar 16 16:07:30 2012 -0300
9219 PangoLayout: Add a default value for set_markup()
9221 https://bugzilla.gnome.org/show_bug.cgi?id=672260
9223 gi/overrides/Pango.py | 3 +++
9224 tests/test_overrides.py | 4 ++++
9225 2 files changed, 7 insertions(+)
9227 commit a3ca47b086b7fcf084282be788c5d737dde847ac
9228 Author: Johan Dahlin <johan@gnome.org>
9229 Date: Fri Mar 16 16:06:37 2012 -0300
9231 Gtk[HV]Scrollbar: Add a default value for the adjustment constructor
9234 https://bugzilla.gnome.org/show_bug.cgi?id=672260
9236 gi/overrides/Gtk.py | 15 +++++++++++++++
9237 tests/test_overrides.py | 14 ++++++++++++++
9238 2 files changed, 29 insertions(+)
9240 commit 458dab08c78cb730dd95bcd67af20a0d73a3af2f
9241 Author: Johan Dahlin <johan@gnome.org>
9242 Date: Fri Mar 16 16:06:12 2012 -0300
9244 GtkToolButton: Add a default value for the stock_id constructor
9247 https://bugzilla.gnome.org/show_bug.cgi?id=672260
9249 gi/overrides/Gtk.py | 10 ++++++++++
9250 tests/test_overrides.py | 9 ++++++++-
9251 2 files changed, 18 insertions(+), 1 deletion(-)
9253 commit 2f7789a5a1f55ec38c5ff0f96bc5c9023679a333
9254 Author: Johan Dahlin <johan@gnome.org>
9255 Date: Fri Mar 16 16:05:55 2012 -0300
9257 GtkIconView: Add a default value for the model constructor parameter
9259 https://bugzilla.gnome.org/show_bug.cgi?id=672260
9261 gi/overrides/Gtk.py | 3 +++
9262 tests/test_overrides.py | 11 +++++++++++
9263 2 files changed, 14 insertions(+)
9265 commit 2dd9dadd1bd92c3324e9de209ba8205a9d4106d6
9266 Author: Johan Dahlin <johan@gnome.org>
9267 Date: Thu Mar 15 15:22:46 2012 -0300
9269 Add a default value for column in Gtk.TreeView.get_cell_area()
9271 https://bugzilla.gnome.org/show_bug.cgi?id=672260
9273 gi/overrides/Gtk.py | 5 +++++
9274 tests/test_overrides.py | 3 +++
9275 2 files changed, 8 insertions(+)
9277 commit bf8c95836e1cc1e1629937cbc69ea3027fb82746
9278 Author: Martin Pitt <martin.pitt@ubuntu.com>
9279 Date: Thu Mar 15 09:48:10 2012 +0100
9281 Atomic inserts in Gtk.{List,Tree}Store overrides
9283 Gtk.{List,Tree}Store's overrides provide append(), insert()
9285 take an optional data row array. If this is given, use
9286 insert_with_valuesv()
9287 instead of creating a new iter and then filling it with data. The
9289 row-added signal, at which time the row was still empty, and a
9291 row-changed signal. With this we only get a single row-added
9295 Note that this does not change insert_{before,after}(), as there is no
9296 counterpart of insert_with_valuesv() which takes a TreeIter instead
9298 position. For those you will still get two signals, and have to deal
9302 https://bugzilla.gnome.org/show_bug.cgi?id=671610
9304 gi/overrides/Gtk.py | 81
9305 ++++++++++++++++++++++++++++++-------------------
9306 tests/test_overrides.py | 74 ++++++++++++++++++++++++++++++++++++++++++++
9307 2 files changed, 124 insertions(+), 31 deletions(-)
9309 commit f7db4eaf8148f2dd8bf1718152a1dcae509470c7
9310 Author: Martin Pitt <martin.pitt@ubuntu.com>
9311 Date: Sun Mar 18 16:07:26 2012 +0100
9313 Fix Gtk.Button constructor to accept use_stock parameter
9315 Thanks to kalanzun@googlemail.com!
9317 https://bugzilla.gnome.org/show_bug.cgi?id=672318
9319 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
9321 gi/overrides/Gtk.py | 4 +---
9322 tests/test_overrides.py | 6 ++++++
9323 2 files changed, 7 insertions(+), 3 deletions(-)
9325 commit 466337cf2fd091738eeab12c10d250a9d0827284
9326 Author: Johan Dahlin <johan@gnome.org>
9327 Date: Fri Mar 16 16:55:47 2012 -0300
9329 Correct bad rebase, remove duplicate Window
9331 gi/overrides/Gtk.py | 7 -------
9332 1 file changed, 7 deletions(-)
9334 commit c60d5ee3c88bd8e1c68ea97f079947cf79d5bb7d
9335 Author: Johan Dahlin <johan@gnome.org>
9336 Date: Thu Mar 15 15:42:28 2012 -0300
9338 Add a PyGTK compatibility layer
9340 This module tries quite a bit harder to maintain compatibility
9341 with PyGTK, module names, enums, flags and some API.
9343 https://bugzilla.gnome.org/show_bug.cgi?id=653462
9345 gi/Makefile.am | 3 +-
9346 gi/pygtkcompat.py | 421
9347 ++++++++++++++++++++++++++++++++++++++++++++++
9348 tests/Makefile.am | 3 +-
9349 tests/test_pygtkcompat.py | 77 +++++++++
9350 4 files changed, 502 insertions(+), 2 deletions(-)
9352 commit 680a2e04ac4f80ad16e820d3f753519477c988aa
9353 Author: Johan Dahlin <johan@gnome.org>
9354 Date: Wed Mar 14 15:20:53 2012 -0300
9356 Add bw-compatible arguments to Gtk.Adjustment
9358 The argument used to be called page/step_incr, if they
9359 are found map them to the existing properties for extra
9362 https://bugzilla.gnome.org/show_bug.cgi?id=672087
9364 gi/overrides/Gtk.py | 8 +++++++-
9365 1 file changed, 7 insertions(+), 1 deletion(-)
9367 commit fbd21ee7176bc1b70547ea464b512c8ffd674187
9368 Author: Johan Dahlin <johan@gnome.org>
9369 Date: Wed Mar 14 17:13:04 2012 -0300
9371 GtkTreePath: make it iterable
9373 https://bugzilla.gnome.org/show_bug.cgi?id=672093
9375 gi/overrides/Gtk.py | 3 +++
9376 tests/test_overrides.py | 2 ++
9377 2 files changed, 5 insertions(+)
9379 commit a7b08cb75541612c78d123b1d968be7874e3c481
9380 Author: Johan Dahlin <johan@gnome.org>
9381 Date: Wed Mar 14 13:32:31 2012 -0300
9383 Add a default argument to TreeModelFilter.set_visible_func()
9385 https://bugzilla.gnome.org/show_bug.cgi?id=672081
9387 gi/overrides/Gtk.py | 14 ++++++++++++++
9388 1 file changed, 14 insertions(+)
9390 commit 02950cabb38b1b3c9378c42c069eefdbccbce17d
9391 Author: Johan Dahlin <johan@gnome.org>
9392 Date: Wed Mar 14 13:31:41 2012 -0300
9394 Add a default argument to Gtk.TreeView.set_cursor
9396 And also make sure that the path is a Gtk.TreePath.
9398 https://bugzilla.gnome.org/show_bug.cgi?id=672081
9400 gi/overrides/Gtk.py | 4 ++++
9401 tests/test_overrides.py | 10 ++++++++++
9402 2 files changed, 14 insertions(+)
9404 commit 7245bd0ae3f6243c79fa8543a0ed1e50e5015844
9405 Author: Johan Dahlin <johan@gnome.org>
9406 Date: Wed Mar 14 13:31:06 2012 -0300
9408 Add a default argument to Pango.Context.get_metrics()
9410 https://bugzilla.gnome.org/show_bug.cgi?id=672081
9412 gi/overrides/Pango.py | 9 +++++++++
9413 1 file changed, 9 insertions(+)
9415 commit bc1fd8814df6c1e85b586d0fb943c89f7e2b78b5
9416 Author: Martin Pitt <martin.pitt@ubuntu.com>
9417 Date: Fri Mar 16 13:27:56 2012 +0100
9419 Fix double-freeing GValues in arrays
9421 When marshalling a GValue array to C, the GValue items are copied
9423 GValue array, not a C GValue pointer
9424 array. _pygi_marshal_from_py_array()
9425 already calls the cleanup_func for the original item;
9426 _pygi_marshal_cleanup_from_py_array() must not do it again, as this
9428 to g_slice_free the array item.
9430 https://bugzilla.gnome.org/show_bug.cgi?id=672224
9432 gi/pygi-marshal-from-py.c | 7 ++++++-
9433 1 file changed, 6 insertions(+), 1 deletion(-)
9435 commit a906b7d1947ba905f959d3f738eb6c29b02f96e7
9436 Author: Simon Feltman <s.feltman@gmail.com>
9437 Date: Fri Mar 16 00:29:31 2012 -0700
9439 Renamed "property" class to "Property"
9441 Renamed to match the rest of the class names in GObject and also
9442 not clobber the builtin python property.
9444 Keep the old "property" identifier for backwards compatibility
9447 https://bugzilla.gnome.org/show_bug.cgi?id=672168
9449 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
9451 examples/properties.py | 6 +--
9452 gi/_gobject/__init__.py | 7 ++--
9453 gi/_gobject/propertyhelper.py | 12 +++---
9454 tests/test_interface.py | 4 +-
9455 tests/test_properties.py | 94
9456 +++++++++++++++++++++----------------------
9457 5 files changed, 62 insertions(+), 61 deletions(-)
9459 commit d7d28d717e38c0546529b09b8b571a5cc631c5b5
9460 Author: Martin Pitt <martin.pitt@ubuntu.com>
9461 Date: Wed Mar 14 22:52:47 2012 +0100
9463 Fix Python to C marshalling of GValue arrays
9465 For GValues we cannot just copy the GValue memory in
9466 _pygi_marshal_from_py_array(), as the from_py_cleanup() function
9468 releases the GValue and with it its v_pointer. Use g_value_copy()
9472 This uncovered another bug in _pygi_marshal_cleanup_from_py_array():
9474 assumed that C arrays contained pointers, but this is not the case
9476 arrays: these are actual struct arrays, not struct pointer arrays
9478 construction in _pygi_marshal_from_py_array()). Check if an array
9480 pointers or values and compute the correct array item pointer for
9483 Also add a corresponding test case for marshalling GValue arrays
9485 Python, which works fine.
9487 https://bugzilla.gnome.org/show_bug.cgi?id=672065
9489 gi/pygi-marshal-cleanup.c | 19 ++++++++++++++-----
9490 gi/pygi-marshal-from-py.c | 13 ++++++++++++-
9491 tests/test_gi.py | 8 ++++++++
9492 3 files changed, 34 insertions(+), 6 deletions(-)
9494 commit 27ac9c1de6487035b18ef4511c155d251cb6d39d
9495 Author: Johan Dahlin <johan@gnome.org>
9496 Date: Fri Mar 16 09:59:57 2012 +0100
9498 Correct the Gtk.Window hierarchy
9500 We need to make sure that all Gtk.Dialog subclasses inherit from
9501 the overridden Window class. For that to be done automaticly we need
9502 to create the Window class before the Dialog class.
9504 Now when it's inherited properly we need to avoid calling the Window
9505 constructor twice as it passes in a construct-only parameter. So add
9506 **kwargs to the Window constructor to allow us to pass in any kind
9507 of GObject property to it and refactor the Dialog subclasses to pass
9508 in all properties to the same constructor.
9510 Also adds a bunch of tests to make sure that the hiearchy is correct.
9512 https://bugzilla.gnome.org/show_bug.cgi?id=672158
9514 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
9516 gi/overrides/Gtk.py | 56
9517 ++++++++++++++++++++++++-------------------------
9518 tests/test_overrides.py | 35 +++++++++++++++++++++++++++++--
9519 2 files changed, 61 insertions(+), 30 deletions(-)
9521 commit 77ab27ab8a580d98f76730f075e083e1e870f55e
9522 Author: simon <simon@gerty>
9523 Date: Tue Mar 13 01:41:53 2012 -0700
9525 Renamed getter/setter instance attributes to fget/fset respectively.
9527 The python 'property' class allows for decoration of methods using
9528 .getter and .setter. These were added as methods to the
9530 class to match that of the python property class and allow for
9534 In addition, __call__ was added to allow an instantiated decorator
9536 args to also decorate a method:
9538 class C(GObject.GObject):
9540 @GObject.property(type=int, default=0)
9544 def propInt(self, value):
9547 https://bugzilla.gnome.org/show_bug.cgi?id=586181
9549 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
9551 gi/_gobject/__init__.py | 10 ++++----
9552 gi/_gobject/propertyhelper.py | 59
9553 +++++++++++++++++++++++++++++++------------
9554 tests/test_properties.py | 41 ++++++++++++++++++++++++++++++
9555 3 files changed, 89 insertions(+), 21 deletions(-)
9557 commit 174a61fb3149c07dab5cc35e64825922cdefcb95
9558 Author: Johan Dahlin <johan@gnome.org>
9559 Date: Tue Mar 13 17:10:13 2012 -0300
9561 Add Gtk.Arrow/Gtk.Window constructor override
9563 Adds argument that makes them compatible with PyGTK.
9565 https://bugzilla.gnome.org/show_bug.cgi?id=672045
9567 gi/overrides/Gtk.py | 17 +++++++++++++++++
9568 1 file changed, 17 insertions(+)
9570 commit 7746d2188ac4933c2c9011d84525d1e62fc18953
9571 Author: Michel Dänzer <michel@daenzer.net>
9572 Date: Fri Mar 9 12:26:53 2012 +0100
9574 Fix marshalling to/from Python to work on big endian machines.
9576 https://bugzilla.gnome.org/show_bug.cgi?id=668903
9578 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
9580 gi/pygi-argument.c | 25 ++++++++++++++++---------
9581 gi/pygi-marshal-from-py.c | 32 +++++++++++++++++++++++++-------
9582 gi/pygi-marshal-to-py.c | 19 +++++++++++++++++++
9583 3 files changed, 60 insertions(+), 16 deletions(-)
9585 commit 0591cc6f160ae6e9d8c3970934ae105ef340d7d3
9586 Author: Michel Dänzer <michel@daenzer.net>
9587 Date: Thu Mar 8 12:21:28 2012 +0100
9589 Use gi_cclosure_marshal_generic instead of duplicating it.
9591 Bump gobject-introspection dependency to ensure that we have the
9595 https://bugzilla.gnome.org/show_bug.cgi?id=668903
9597 Signed-off-by: Michel Dänzer <michel@daenzer.net>
9598 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
9601 gi/_gobject/Makefile.am | 7 +-
9602 gi/_gobject/ffi-marshaller.c | 194
9603 -------------------------------------------
9604 gi/_gobject/ffi-marshaller.h | 31 -------
9605 gi/_gobject/gobjectmodule.c | 12 +--
9606 5 files changed, 4 insertions(+), 243 deletions(-)
9608 commit 8ca828825a2c47080055c5f986979aac8da9a93f
9609 Author: René Stadler <rene.stadler@collabora.co.uk>
9610 Date: Mon Mar 5 21:10:55 2012 +0100
9612 Override Gtk.TreeView.get_visible_range to fix return
9616 https://bugzilla.gnome.org/show_bug.cgi?id=671409
9618 gi/overrides/Gtk.py | 5 +++++
9619 1 file changed, 5 insertions(+)
9621 commit 4824ceaa77b59788325a2c1ee0f994d4e74d7a1c
9622 Author: Paolo Borelli <pborelli@gnome.org>
9623 Date: Sun Mar 4 16:41:18 2012 +0100
9625 Plug memory leak in _is_union_member
9627 When we found the member, unref the objects before breaking out of the
9630 gi/pygi-marshal-from-py.c | 9 +++------
9631 1 file changed, 3 insertions(+), 6 deletions(-)
9633 commit c6ae29ac157978a61b11cc2de9e8485d8a175105
9634 Author: Sebastian Pölsterl <sebp@k-d-w.org>
9635 Date: Tue Feb 21 15:37:18 2012 +0100
9637 tests: Split TestInterfaces into separate tests
9639 tests/test_gi.py | 36 +++++++++++++++++++-----------------
9640 1 file changed, 19 insertions(+), 17 deletions(-)
9642 commit de3299818ae5fdf1c7abbe05a36bfd5cdface7b8
9643 Author: Sebastian Pölsterl <sebp@k-d-w.org>
9644 Date: Mon Feb 20 19:37:32 2012 +0100
9646 Post release version bump to 3.1.2
9649 1 file changed, 1 insertion(+), 1 deletion(-)
9651 commit fd020e783c0dacea3320225b4ddd57d6a0fce7ea
9652 Author: Sebastian Pölsterl <sebp@k-d-w.org>
9653 Date: Mon Feb 20 19:33:56 2012 +0100
9655 Prepare 3.1.1 release
9657 NEWS | 18 ++++++++++++++++++
9658 1 file changed, 18 insertions(+)
9660 commit 99485d96811667ef7a7a393b68b7361733157d61
9661 Author: Sebastian Pölsterl <sebp@k-d-w.org>
9662 Date: Sat Feb 18 00:38:05 2012 +0100
9666 gi/pygi-cache.c | 3 ++-
9667 1 file changed, 2 insertions(+), 1 deletion(-)
9669 commit 0739c39f6282d95fc17ee406fa1151d074b0450d
9670 Author: Martin Pitt <martin.pitt@ubuntu.com>
9671 Date: Thu Feb 16 16:42:53 2012 +0100
9673 Add test for GPtrArray with transfer full
9675 This complements the already existing test for a "transfer container"
9677 array. We can't verify the internal refcount as these arrays get
9679 internally, but at least we can verify that it does not crash due to
9682 tests/test_everything.py | 10 +++++++++-
9683 1 file changed, 9 insertions(+), 1 deletion(-)
9685 commit 087a104f66793a981a0c02f1c7ab9cc1cf659da3
9686 Author: Martin Pitt <martin.pitt@ubuntu.com>
9687 Date: Wed Feb 15 13:36:39 2012 +0100
9689 Drop obsolete g_thread_init()
9691 Not necessary any more since glib 2.24, and we depend on 2.31.
9693 gi/_glib/pyglib.c | 3 ---
9694 1 file changed, 3 deletions(-)
9696 commit 66fb610e45912a7def29e5848577d280ef55643a
9697 Author: Martin Pitt <martin.pitt@ubuntu.com>
9698 Date: Wed Feb 15 13:35:33 2012 +0100
9700 Fix deprecated g_source_get_current_time()
9702 Use g_get_real_time() instead as recommended by the
9703 documentation. This also
9704 simplifies the code.
9706 gi/_glib/pygsource.c | 4 +---
9707 1 file changed, 1 insertion(+), 3 deletions(-)
9709 commit 18342edded05d3d9cccf648ed92bc1cac95c51eb
9710 Author: Martin Pitt <martin.pitt@ubuntu.com>
9711 Date: Wed Feb 15 13:31:23 2012 +0100
9713 Fix deprecated g_value_[gs]et_char()
9715 Replace with _schar(). We depend on glib >= 2.31 already.
9717 gi/_gobject/ffi-marshaller.c | 2 +-
9718 gi/_gobject/pygtype.c | 6 +++---
9719 gi/pygi-argument.c | 2 +-
9720 3 files changed, 5 insertions(+), 5 deletions(-)
9722 commit 3dfb8dcbe7cf09dc170433fc48d3273c6ea9448e
9723 Author: Simon Schampijer <simon@schampijer.de>
9724 Date: Thu Feb 2 19:06:01 2012 +0100
9726 Make pygiconvert.sh correctly convert gtk.gdk.x11_*
9728 Looking at the gir file gtk.gdk.x11_* should get converted to
9729 GdkX11.x11_*. Fixing pygiconvert.sh to do so.
9731 pygi-convert.sh | 2 +-
9732 1 file changed, 1 insertion(+), 1 deletion(-)
9734 commit 3af5016978df598d5fd1c225cc49bb2c04dc4e35
9735 Author: Sebastian Pölsterl <sebp@k-d-w.org>
9736 Date: Fri Feb 10 13:29:41 2012 +0100
9738 Raise required glib version to 2.31 because of g_value_(get|set)_schar
9740 Commit ee62df4d2fc0cc63c2f29d3ad9b47b875dbd5f89 introduced both calls
9742 configure.ac | 6 +++---
9743 1 file changed, 3 insertions(+), 3 deletions(-)
9745 commit 50c3b1bad3ea79750649f4b48fce0adbfaba5268
9746 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
9747 Date: Fri Feb 10 09:28:36 2012 +0100
9751 https://bugzilla.gnome.org/show_bug.cgi?id=649267
9753 gi/_gobject/pygparamspec.c | 2 +-
9754 1 file changed, 1 insertion(+), 1 deletion(-)
9756 commit 6ab542fb3ec1031922ba65664d77bbaac0df453e
9757 Author: Bastian Winkler <buz@netbuz.org>
9758 Date: Mon Nov 14 14:41:08 2011 +0100
9760 pygi-convert: Handle Clutter and Cogl
9762 https://bugzilla.gnome.org/show_bug.cgi?id=664496
9764 pygi-convert.sh | 76
9765 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
9766 1 file changed, 76 insertions(+)
9768 commit 4aeb27efc43e131de5d0bc0f60dca7c1d34c3d45
9769 Author: Cédric Krier <cedric.krier@b2ck.com>
9770 Date: Fri Feb 10 09:04:18 2012 +0100
9772 Provide access to gpointer struct values
9774 https://bugzilla.gnome.org/show_bug.cgi?id=668356
9776 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
9778 gi/pygi-argument.c | 3 ++-
9779 gi/pygi-info.c | 13 +++++++++++++
9780 tests/test_everything.py | 21 +++++++++++++++++++++
9781 3 files changed, 36 insertions(+), 1 deletion(-)
9783 commit 5c0b20cc1a261cb7430a5251dffe60da698033b5
9784 Author: Paolo Borelli <pborelli@gnome.org>
9785 Date: Thu Feb 9 18:15:42 2012 +0100
9787 Add some GType tests
9789 Use what was recently added in g-i
9791 tests/test_gi.py | 17 +++++++++++++++--
9792 1 file changed, 15 insertions(+), 2 deletions(-)
9794 commit ea7778f6f37a6fc38f88d89d4b6cae8be0ed9753
9795 Author: Paolo Borelli <pborelli@gnome.org>
9796 Date: Thu Feb 9 18:14:52 2012 +0100
9798 Split GStrv and array variant tests in their own classes
9800 Also tidy up the spacing a bit
9802 tests/test_gi.py | 29 +++++++++++++++++++++++------
9803 1 file changed, 23 insertions(+), 6 deletions(-)
9805 commit db7f9be319d3cf52aef300fbac60cabb7ff57276
9806 Author: Paolo Borelli <pborelli@gnome.org>
9807 Date: Wed Feb 8 22:23:30 2012 +0100
9809 Add unit test for builder's connect_after
9811 tests/test_overrides.py | 8 ++++++++
9812 1 file changed, 8 insertions(+)
9814 commit 671f9b0dd73ac41a84caf9d1f04cec351bc01b47
9815 Author: Ryan Lortie <desrt@desrt.ca>
9816 Date: Wed Feb 8 16:06:22 2012 -0500
9818 fix GtkBuilder signal connection 'after' logic
9820 All GtkBuilder signals are presently being connected 'after', ignoring
9821 what is specified in the builder XML. This is due to an obvious logic
9824 https://bugzilla.gnome.org/show_bug.cgi?id=669705
9826 gi/overrides/Gtk.py | 2 +-
9827 1 file changed, 1 insertion(+), 1 deletion(-)
9829 commit 1d23d8006be98b77a0134fddd23b76df05e489fa
9830 Author: Patrick Welche <prlw1@cam.ac.uk>
9831 Date: Tue Feb 7 11:49:58 2012 +0000
9833 test(1) uses '=' to test if strings are identical
9835 https://bugzilla.gnome.org/show_bug.cgi?id=669598
9837 m4/python.m4 | 6 +++---
9838 1 file changed, 3 insertions(+), 3 deletions(-)
9840 commit 945fd18e531c2131440af93dcd89f6c63abbfd7c
9841 Author: Ryan Lortie <desrt@desrt.ca>
9842 Date: Tue Feb 7 13:42:19 2012 -0500
9844 pygspawn: improve error checking
9846 gspawn 'argv' and 'envp' parameters expect sequences of strings. This
9847 is enforced by checking that the passed argument is a sequence
9849 each item returned from it is a string.
9851 We do now, however, verify that each item can be successfully
9853 the sequence. 'os.environ' is an example of an object that passes
9854 PySequence_Check() but fails to return objects from PySequence_ITEM().
9856 Add a simple NULL check to avoid the crash.
9858 https://bugzilla.gnome.org/show_bug.cgi?id=669594
9860 gi/_glib/pygspawn.c | 4 ++--
9861 1 file changed, 2 insertions(+), 2 deletions(-)
9863 commit 8fc969c45d6d720400dc6c9ef391d0ca93f14b5a
9864 Author: Sebastian Pölsterl <sebp@k-d-w.org>
9865 Date: Mon Feb 6 19:15:53 2012 +0100
9867 Post release version bump to 3.1.1
9870 1 file changed, 1 insertion(+), 1 deletion(-)
9872 commit f76b2fe6d37be76bf129ee2adee90b2cc0eee56e
9873 Author: Sebastian Pölsterl <sebp@k-d-w.org>
9874 Date: Mon Feb 6 19:11:52 2012 +0100
9876 Prepare 3.1.0 release
9878 NEWS | 34 ++++++++++++++++++++++++++++++++++
9879 1 file changed, 34 insertions(+)
9881 commit c09d0dffc5a570d5ae4df1ae07b2e5594c3ca1bf
9882 Author: Sebastian Pölsterl <sebp@k-d-w.org>
9883 Date: Mon Feb 6 19:04:41 2012 +0100
9885 Updated DOAP file to only include people currently actively working
9888 Removed obsolete MAINTAINERS file
9890 MAINTAINERS | 19 -------------------
9891 pygobject.doap | 44 +++++++++++++++-----------------------------
9892 2 files changed, 15 insertions(+), 48 deletions(-)
9894 commit 0285e107be581c4d594127dc06cd05df1f02fb3f
9895 Author: Sebastian Pölsterl <sebp@k-d-w.org>
9896 Date: Mon Feb 6 18:57:01 2012 +0100
9898 Revert "Convert all strings to utf-8 encoding when retrieving from
9901 This reverts commit 654711d0f940d7480d0f1cdb25a3dc9996f7a706.
9903 Due to this commit breaking backwards compatability, we decided to
9906 gi/overrides/Gtk.py | 15 ---------------
9907 tests/compathelper.py | 2 --
9908 tests/test_overrides.py | 31 +------------------------------
9909 3 files changed, 1 insertion(+), 47 deletions(-)
9911 commit 0e921cd26ed5a6e3bc6ef5f553e8b22b862d72a6
9912 Author: Sebastian Pölsterl <sebp@k-d-w.org>
9913 Date: Sun Feb 5 13:47:10 2012 +0100
9915 tests: Fixed issues with python3
9917 tests/test_gi.py | 9 ++++++---
9918 1 file changed, 6 insertions(+), 3 deletions(-)
9920 commit ee62df4d2fc0cc63c2f29d3ad9b47b875dbd5f89
9921 Author: Sebastian Pölsterl <sebp@k-d-w.org>
9922 Date: Sun Feb 5 11:59:51 2012 +0100
9924 Properly distinguish between different integer types for properties
9926 https://bugzilla.gnome.org/show_bug.cgi?id=664150
9928 gi/pygi-property.c | 48 ++++++++++++++++++++++++++++++++++++++----
9929 tests/test_gi.py | 62
9930 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
9931 2 files changed, 106 insertions(+), 4 deletions(-)
9933 commit c329bf2aee8d75ce452638db75e09197ff2b9b65
9934 Author: Sebastian Pölsterl <sebp@k-d-w.org>
9935 Date: Sun Feb 5 11:46:21 2012 +0100
9937 Distinguish between GArray and GPtrArray when cleaning up
9939 This fixes a crash in test_gi.TestGPtrArray and makes sure
9940 memory is free'd correctly
9942 https://bugzilla.gnome.org/show_bug.cgi?id=669393
9944 gi/pygi-marshal-cleanup.c | 32 +++++++++++++++++++++++---------
9945 1 file changed, 23 insertions(+), 9 deletions(-)
9947 commit 4ea37c606f67df843788261b2c8acd6bac4c1e0c
9948 Author: Paolo Borelli <pborelli@gnome.org>
9949 Date: Sun Feb 5 18:51:53 2012 +0100
9951 Add null_gerror_callback unit test
9953 This models the case where the callback is successful and does not set
9956 https://bugzilla.gnome.org/show_bug.cgi?id=669415
9958 tests/test_everything.py | 9 +++++++++
9959 1 file changed, 9 insertions(+)
9961 commit a41984780ee49dcf02c718ca1be87bba747472e5
9962 Author: Martin Pitt <martin.pitt@ubuntu.com>
9963 Date: Mon Feb 6 09:34:28 2012 +0100
9965 pyglib_error_check: Re-add missing NULL check
9967 Commit adcfe96d49b09bc accidentally dropped the check if *error is
9969 any error is actually set. Due to that, pyglib_error_check()
9971 TRUE. Reintroduce the check.
9973 Thanks to Alberto Mardegan for spotting this!
9975 https://bugzilla.gnome.org/show_bug.cgi?id=669415
9977 gi/_glib/pyglib.c | 2 ++
9978 1 file changed, 2 insertions(+)
9980 commit 2c797c17913999379e277788d5e4cce8d68cebb0
9981 Author: Michael Culbertson <michael.culbertson@gmail.com>
9982 Date: Sat Feb 4 16:11:34 2012 +0100
9984 Add tests/runtests-windows.py to source tarball
9986 https://bugzilla.gnome.org/show_bug.cgi?id=663288
9988 tests/Makefile.am | 1 +
9989 1 file changed, 1 insertion(+)
9991 commit d6a899cdf70e978534326155e3fad75a705f4b20
9992 Author: Sebastian Pölsterl <sebp@k-d-w.org>
9993 Date: Sat Feb 4 15:55:55 2012 +0100
9995 Don't issue a depreciation warning for GtkDialog's NO_SEPARATOR flag,
9998 https://bugzilla.gnome.org/show_bug.cgi?id=665553
10000 gi/overrides/Gtk.py | 6 ++----
10001 1 file changed, 2 insertions(+), 4 deletions(-)
10003 commit 534ec71c575a279ff1c05da20a8858bb1145b4d0
10004 Author: Nirbheek Chauhan <nirbheek@gentoo.org>
10005 Date: Sat Feb 4 15:42:36 2012 +0100
10007 Fix bool() operations on GLib.Variant objects
10009 Defines __nonzero__ (python2) and __bool__ (python3) for GLib.Variant
10011 Also adds some tests for boolean comparisons.
10013 https://bugzilla.gnome.org/show_bug.cgi?id=647723
10015 gi/overrides/GLib.py | 18 ++++++++++++++++++
10016 tests/test_overrides.py | 45
10017 +++++++++++++++++++++++++++++++++++++++++++++
10018 2 files changed, 63 insertions(+)
10020 commit 8d6a127df5dd1e5f26faeba8f977074b4496b24f
10021 Author: Nirbheek Chauhan <nirbheek@gentoo.org>
10022 Date: Sat Feb 4 15:41:08 2012 +0100
10024 Fix hash() and __eq__() for GLib.Variant objects
10026 Define __hash__, __eq__, __ne__ for GLib.Variant so that objects can
10027 be used in sets, dicts, and can be compared using == and != easily.
10029 Also adds some tests for this.
10031 https://bugzilla.gnome.org/show_bug.cgi?id=647725
10033 gi/overrides/GLib.py | 23 ++++++++++++++++++++
10034 tests/test_overrides.py | 56
10035 +++++++++++++++++++++++++++++++++++++++++++++++++
10036 2 files changed, 79 insertions(+)
10038 commit f82404034be042bf2026bbb7f1e33b11d6e17a6f
10039 Author: Martin Pitt <martin.pitt@ubuntu.com>
10040 Date: Wed Jan 25 07:01:06 2012 +0100
10042 Fix method names of callback tests
10044 Change test_everything.TestCallbacks.* test names from camelCase
10046 standard PEP-8 underscore_style. This is now consistent with all
10050 tests/test_everything.py | 30 +++++++++++++++---------------
10051 1 file changed, 15 insertions(+), 15 deletions(-)
10053 commit e37ee78fbf0aa72159a40da4165a26bea065faf1
10054 Author: Will Thompson <will.thompson@collabora.co.uk>
10055 Date: Mon Jan 23 13:10:30 2012 +0000
10057 Cairo: add missing braces around array-of-struct definition
10059 This triggered a -Wmissing-braces warning.
10061 https://bugzilla.gnome.org/show_bug.cgi?id=668497
10063 gi/pygi-foreign-cairo.c | 2 +-
10064 1 file changed, 1 insertion(+), 1 deletion(-)
10066 commit db24865d6b60351d72f5b8f47103d6d0a6c63b2e
10067 Author: Will Thompson <will.thompson@collabora.co.uk>
10068 Date: Mon Jan 23 13:06:41 2012 +0000
10070 g_instance_init: cast to PyGObject * as needed
10072 This squashes a compiler warning.
10074 https://bugzilla.gnome.org/show_bug.cgi?id=668497
10076 gi/_gobject/gobjectmodule.c | 2 +-
10077 1 file changed, 1 insertion(+), 1 deletion(-)
10079 commit a8408cfd68cd5e7cdb0b8a83e107d9a0d828e4bd
10080 Author: Will Thompson <will.thompson@collabora.co.uk>
10081 Date: Mon Jan 23 13:01:27 2012 +0000
10083 Fix a few set-but-not-used warnings.
10085 In a couple of cases, the variable in question was set to a value
10086 spelled out again later in the function.
10088 The 'sequence_cache' variable is re-declared five lines below.
10090 The return value of 'read' was previously completely ignored. The
10091 'gssize ret' variable was in fact added to squash an unused-result
10094 https://bugzilla.gnome.org/show_bug.cgi?id=668497
10096 gi/_glib/pygiochannel.c | 2 +-
10097 gi/_glib/pygmainloop.c | 3 +--
10098 gi/_gobject/pygobject.c | 2 +-
10099 gi/pygi-marshal-cleanup.c | 2 --
10100 4 files changed, 3 insertions(+), 6 deletions(-)
10102 commit 29a30490ed51e347e8f57d2bf9af69400734eee8
10103 Author: Stefano Facchini <stefano.facchini@gmail.com>
10104 Date: Thu Jan 19 18:09:07 2012 +0100
10106 pygmainloop: allow for extra arguments in 'quit' method
10108 To allow for the common syntax:
10110 object.connect('signal-name', main_loop.quit)
10112 https://bugzilla.gnome.org/show_bug.cgi?id=668288
10114 gi/_glib/pygmainloop.c | 4 ++--
10115 1 file changed, 2 insertions(+), 2 deletions(-)
10117 commit 557a61c12c01137a0d7c679c4b053973df09d445
10118 Author: Alexandre Rostovtsev <tetromino@gentoo.org>
10119 Date: Mon Dec 26 00:44:56 2011 -0500
10121 Fix bytearray test compatibility with python3
10123 https://bugs.gentoo.org/show_bug.cgi?id=321879
10125 https://bugzilla.gnome.org/show_bug.cgi?id=666852
10127 tests/test_gi.py | 4 ++--
10128 1 file changed, 2 insertions(+), 2 deletions(-)
10130 commit d69e5b3c7bdb9113382fd125c256b12bff4c24d2
10131 Author: Alberto Mardegan <mardy@users.sourceforge.net>
10132 Date: Mon Jan 23 12:37:26 2012 +0200
10134 Respect transfer-type when demarshalling GErrors
10136 The marshaller previously ignored "transfer full" on GError*
10138 crashes due to double-freeing them. This causes the
10139 testCallbackUserdata() test
10140 case to crash after the previous GError/GHashTable marshalling fix.
10142 https://bugzilla.gnome.org/show_bug.cgi?id=666270
10144 gi/pygi-argument.c | 12 +++++++++++-
10145 1 file changed, 11 insertions(+), 1 deletion(-)
10147 commit 77f32d9110bfeb6dad8457f565b4c70b5998fef6
10148 Author: Alberto Mardegan <mardy@users.sourceforge.net>
10149 Date: Thu Dec 15 16:12:01 2011 +0200
10151 Support GHashTable and GError as callback/closure arguments
10153 Marshalling of these types from C is already implemented, let's
10155 into use for calbacks and closures too.
10157 Add corresponding test cases.
10159 https://bugzilla.gnome.org/show_bug.cgi?id=666270
10161 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
10163 gi/pygi-closure.c | 2 ++
10164 tests/test_everything.py | 35 +++++++++++++++++++++++++++++++++++
10165 2 files changed, 37 insertions(+)
10167 commit 4b9dc03d0e49e9a1f4bf0f2df503bdff00d13a2b
10168 Author: Will Thompson <will.thompson@collabora.co.uk>
10169 Date: Mon Jan 23 13:56:02 2012 +0000
10171 Don't leak when marshalling GErrors to C
10173 Python-land GLib.GErrors are supposed to have three attributes:
10174 "message", "domain" and "code". If those attributes are missing,
10176 have the wrong types, the C GError is filled in with a message
10177 describing the error. The present-but-ill-typed code paths did not
10178 DECREF the ill-typed values.
10180 https://bugzilla.gnome.org/show_bug.cgi?id=666098
10182 gi/_glib/pyglib.c | 3 +++
10183 1 file changed, 3 insertions(+)
10185 commit adcfe96d49b09bcc550653d73de196610fd5144d
10186 Author: Will Thompson <will.thompson@collabora.co.uk>
10187 Date: Fri Jan 20 16:20:10 2012 +0000
10189 Support functions which return GError
10191 GStreamer has the following method:
10193 void gst_message_parse_error (
10194 GstMessage *message,
10196 gchar **debug_message);
10198 With this patch, we marshal the GError out parameter as a
10200 exception, but return it rather than throwing it. The test cases cover
10201 two variations on the theme of the function above (one with (transfer
10202 full), as in GStreamer, and another with (transfer none)) as well as a
10203 function with return type GError *.
10205 https://bugzilla.gnome.org/show_bug.cgi?id=666098
10207 gi/_glib/pyglib.c | 46
10208 +++++++++++++++++++++++++++++++++++-----------
10209 gi/_glib/pyglib.h | 1 +
10210 gi/pygi-marshal-to-py.c | 16 +++++++++++++---
10211 tests/test_gi.py | 32 ++++++++++++++++++++++++++++++++
10212 4 files changed, 81 insertions(+), 14 deletions(-)
10214 commit 09f003729eac9d553a208c343c2a14d253b77d9a
10215 Author: Alberto Mardegan <mardy@users.sourceforge.net>
10216 Date: Mon Jan 23 12:42:21 2012 +0200
10218 Fix indentation of _pygi_argument_to_object()
10220 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=666270
10222 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
10224 gi/pygi-argument.c | 26 +++++++++++++-------------
10225 1 file changed, 13 insertions(+), 13 deletions(-)
10227 commit c71c010be01d706f90bc200194325fd82f4071b2
10228 Author: Paolo Borelli <pborelli@gnome.org>
10229 Date: Sat Jan 14 14:24:23 2012 +0100
10233 gi/gimodule.c | 10 ++++++----
10234 1 file changed, 6 insertions(+), 4 deletions(-)
10236 commit c299d058c22385ececaec64c872d1dd1bc1ae17a
10237 Author: Paolo Borelli <pborelli@gnome.org>
10238 Date: Fri Jan 6 13:39:31 2012 +0100
10240 Connect to first action of a radio group.
10242 gi/overrides/Gtk.py | 4 ++--
10243 1 file changed, 2 insertions(+), 2 deletions(-)
10245 commit dee2f179037902a3883bd0e61ff1c350e1fd8a4f
10246 Author: Paolo Borelli <pborelli@gnome.org>
10247 Date: Wed Jan 4 16:40:51 2012 +0100
10249 Use g_slist_free_full in pygi-closure.
10251 gi/pygi-closure.c | 3 +--
10252 1 file changed, 1 insertion(+), 2 deletions(-)
10254 commit 2bee4207ab6f07dc9c0952affe72f0e304cfb624
10255 Author: Paolo Borelli <pborelli@gnome.org>
10256 Date: Wed Jan 4 15:24:13 2012 +0100
10258 Avoid O(n^2) behavior when marshalling lists
10260 Appending requires walking the list every time: just prepend and
10262 the list at the end.
10264 https://bugzilla.gnome.org/show_bug.cgi?id=667261
10266 gi/pygi-marshal-from-py.c | 8 ++++----
10267 1 file changed, 4 insertions(+), 4 deletions(-)
10269 commit d68455e99b1a9ebba31209b17a11317b1958678b
10270 Author: Paolo Borelli <pborelli@gnome.org>
10271 Date: Tue Jan 3 16:57:40 2012 +0100
10273 Handle NULL as a valid case of a char** array
10275 Treat NULL as an empty array and add the corresponding testcase
10277 gi/pygi-marshal-to-py.c | 9 +++++----
10278 tests/test_gi.py | 3 +++
10279 2 files changed, 8 insertions(+), 4 deletions(-)
10281 commit e3451b8e6018bb76e9992fb6af24a71725de5cfd
10282 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
10283 Date: Fri Dec 23 12:01:43 2011 +0100
10285 Branching, bump version to 3.1.0
10287 configure.ac | 4 ++--
10288 1 file changed, 2 insertions(+), 2 deletions(-)
10290 commit 8d1a36cc73f5f4df091ecb289c8a7b38ec2ab605
10291 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
10292 Date: Mon Dec 12 18:35:30 2011 +0100
10294 Add notes about branching to HACKING
10296 HACKING | 10 ++++++++++
10297 1 file changed, 10 insertions(+)
10299 commit 00030bc6f0fb961c716ed692144cd8e4bb9be7d0
10300 Author: Sebastian Pölsterl <sebp@k-d-w.org>
10301 Date: Sat Dec 10 12:51:45 2011 +0100
10303 Fixed bug where GObject.property did not respect minimum and maximum
10306 https://bugzilla.gnome.org/show_bug.cgi?id=664864
10308 gi/_gobject/propertyhelper.py | 2 +-
10309 tests/test_properties.py | 31 +++++++++++++++++++++++++++++++
10310 2 files changed, 32 insertions(+), 1 deletion(-)
10312 commit 7b78abc6c399abd0daa4c11c644d107e1bb7b452
10313 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
10314 Date: Mon Dec 12 17:00:24 2011 +0100
10316 Remove mention of removed option --enable-docs
10319 1 file changed, 1 insertion(+), 1 deletion(-)
10321 commit 4cba52f5b5e79b7b6212cb0795e8976a9da9f21d
10322 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
10323 Date: Mon Dec 12 17:00:03 2011 +0100
10325 Fix sebp's name in NEWS
10328 1 file changed, 1 insertion(+), 1 deletion(-)
10330 commit 8c95981d0ba224a577f87998030c384b3dae3d80
10331 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
10332 Date: Mon Dec 12 16:20:09 2011 +0100
10336 NEWS | 15 +++++++++++++++
10337 1 file changed, 15 insertions(+)
10339 commit 58e47fd28c5d75bb78042c8f9eb5aae84de9c64d
10340 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
10341 Date: Mon Dec 12 16:16:44 2011 +0100
10343 Pre-release version bump
10345 configure.ac | 2 +-
10346 1 file changed, 1 insertion(+), 1 deletion(-)
10348 commit 884468d4816fc976c0c0c72651e7f81d13f3f78b
10349 Author: Manuel Quiñones <manuq@laptop.org>
10350 Date: Thu Dec 1 11:50:38 2011 -0300
10352 Convert all modifier constants to Gdk.ModifierType
10354 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
10356 pygi-convert.sh | 14 ++++++++++++++
10357 1 file changed, 14 insertions(+)
10359 commit 654711d0f940d7480d0f1cdb25a3dc9996f7a706
10360 Author: Sebastian Pölsterl <sebp@k-d-w.org>
10361 Date: Tue Nov 8 12:38:12 2011 +0100
10363 Convert all strings to utf-8 encoding when retrieving from TreeModel
10365 https://bugzilla.gnome.org/show_bug.cgi?id=663610
10367 gi/overrides/Gtk.py | 15 +++++++++++++++
10368 tests/compathelper.py | 2 ++
10369 tests/test_overrides.py | 31 ++++++++++++++++++++++++++++++-
10370 3 files changed, 47 insertions(+), 1 deletion(-)
10372 commit 4f637212f13b197a95c824967a58496b9e3b877c
10373 Author: John (J5) Palmieri <johnp@redhat.com>
10374 Date: Wed Nov 2 14:51:24 2011 -0400
10376 add test for bytearray variants
10378 tests/test_gi.py | 4 ++++
10379 1 file changed, 4 insertions(+)
10381 commit 20ca3f129d6cc662285cce8c732b55596016aefa
10382 Author: John (J5) Palmieri <johnp@redhat.com>
10383 Date: Wed Nov 2 14:50:42 2011 -0400
10385 handle NULL arrays correctly for each array type
10387 gi/pygi-marshal-to-py.c | 11 ++++++-----
10388 1 file changed, 6 insertions(+), 5 deletions(-)
10390 commit ce2f780bffe44b1d4de617dcbce4b90c58b03c18
10391 Author: John (J5) Palmieri <johnp@redhat.com>
10392 Date: Wed Nov 2 14:17:21 2011 -0400
10394 Revert "Revert "Fix array termination and size calculation""
10396 This reverts commit cfda820e8d9604c5ef2ad1161c22b20080d5daf4.
10398 gi/pygi-marshal-from-py.c | 6 +++++-
10399 gi/pygi-marshal-to-py.c | 8 +++++++-
10400 2 files changed, 12 insertions(+), 2 deletions(-)
10402 commit 832f16f96815adc22cc3acbeb3fa969631795a29
10403 Author: Owen W. Taylor <otaylor@fishsoup.net>
10404 Date: Sun Oct 30 18:08:57 2011 -0400
10406 pygmainloop: avoid lockups if multiple glib.MainLoop exist
10408 If multiple glib.MainLoop() sources exist, then we will add multiple
10409 watches, and when python writes a byte to the wakeup pipe, all of the
10410 sources will try to read it; only one will succeed and the others
10411 will block. Set both ends of the pipe nonblocking to avoid this.
10413 https://bugzilla.gnome.org/show_bug.cgi?id=663068
10415 gi/_glib/pygmainloop.c | 5 ++++-
10416 1 file changed, 4 insertions(+), 1 deletion(-)
10418 commit 2fd3aa9d4ca0906a5e609845ee500ba72e358f94
10419 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
10420 Date: Sat Oct 29 15:08:03 2011 +0200
10422 Properly chain up to the class that implements a given vfunc.
10424 https://bugzilla.gnome.org/show_bug.cgi?id=662994
10426 gi/types.py | 22 +++++++++++++---------
10427 tests/test_gi.py | 20 ++++++++++----------
10428 2 files changed, 23 insertions(+), 19 deletions(-)
10430 commit cfda820e8d9604c5ef2ad1161c22b20080d5daf4
10431 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
10432 Date: Wed Nov 2 14:54:21 2011 +0100
10434 Revert "Fix array termination and size calculation"
10436 This reverts commit eef35b2df8023ffff2d195ee16c084f5cfcb6ba3.
10438 gi/pygi-marshal-from-py.c | 6 +-----
10439 gi/pygi-marshal-to-py.c | 8 +-------
10440 2 files changed, 2 insertions(+), 12 deletions(-)
10442 commit eef35b2df8023ffff2d195ee16c084f5cfcb6ba3
10443 Author: Holger Berndt <hb@gnome.org>
10444 Date: Sun Oct 30 16:36:32 2011 +0100
10446 Fix array termination and size calculation
10448 When creating an array of element type uint8 and setting it directly
10450 memcpy(), make sure that zero-termination is respected.
10452 When calculating the length of a zero-terminated array of type uint8,
10453 fall back to strlen() instead of g_strv_length().
10455 https://bugzilla.gnome.org/show_bug.cgi?id=662550
10457 gi/pygi-marshal-from-py.c | 6 +++++-
10458 gi/pygi-marshal-to-py.c | 8 +++++++-
10459 2 files changed, 12 insertions(+), 2 deletions(-)
10461 commit 4c1d9f01b8fa6702f73b290180f934250e179caa
10462 Author: Daniel Drake <dsd@laptop.org>
10463 Date: Sun Oct 30 09:20:45 2011 +0000
10465 pygi-convert: fix for Pango.Alignment
10467 pygi-convert.sh | 1 +
10468 1 file changed, 1 insertion(+)
10470 commit e3abd76096cc9f335681c7225f452c286b9c59e2
10471 Author: Daniel Drake <dsd@laptop.org>
10472 Date: Sun Oct 30 07:06:57 2011 +0000
10474 pygi-convert: fix for Gtk.Orientation
10476 pygi-convert.sh | 1 +
10477 1 file changed, 1 insertion(+)
10479 commit 52b82c5f78ef3755388457fa9440c36ccd2dfbbf
10480 Author: Martin Pitt <martin.pitt@ubuntu.com>
10481 Date: Thu Oct 27 07:16:24 2011 +0200
10483 Add tests for calling closures
10485 Add checks for correct handling of closure calls.
10486 Regress.test_closure_one_arg() is working fine and should continue
10488 Regress.test_closure_variant() is known to not work yet, so mark
10490 for now. (See https://bugzilla.gnome.org/show_bug.cgi?id=656554)
10492 tests/test_everything.py | 24 ++++++++++++++++++++++++
10493 1 file changed, 24 insertions(+)
10495 commit c7aa0e79dfb4c1092c51ae1464b8414083b4f3fc
10496 Author: Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com>
10497 Date: Tue Oct 4 12:28:26 2011 +0200
10499 fix marshaling of arrays of GVariants
10501 Add unit tests for marshaling of arrays of variants with all
10502 transfer modes. Requires latest gobject-introspection.
10504 Plug potential leaks of GArray data members
10506 Fix calling of wrong cleanup_from_py for arrays
10508 Simplify and fix logic for cleaning up arrays both in from_py()
10509 and to_py() code paths.
10511 https://bugzilla.gnome.org/show_bug.cgi?id=638915
10513 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
10515 gi/pygi-cache.c | 2 +-
10516 gi/pygi-marshal-cleanup.c | 81
10517 ++++++++++++++++++++++++++++++-----------------
10518 gi/pygi-marshal-from-py.c | 10 ++++--
10519 gi/pygi-marshal-to-py.c | 13 ++++++--
10520 tests/test_gi.py | 14 +++++++-
10521 5 files changed, 85 insertions(+), 35 deletions(-)
10523 commit c2ec4d8eb46ae2e6ee4372b2a4f9d5df0e5d82f3
10524 Author: Ignacio Casal Quinteiro <icq@gnome.org>
10525 Date: Sat Oct 22 00:20:57 2011 +0200
10530 1 file changed, 8 insertions(+)
10532 commit 5c24760b797e985721f7fe51d52252e4dd54a417
10533 Author: Martin Pitt <martin.pitt@ubuntu.com>
10534 Date: Fri Oct 21 17:31:41 2011 +0200
10536 Fix "Returns: (skip)" method calls without (out) arguments
10538 When we have a method call with a skipped return value, but no
10540 arguments, we previously returned NULL to Python, which causes
10542 error return without exception set". Return None instead.
10544 https://bugzilla.gnome.org/show_bug.cgi?id=662383
10546 gi/pygi-invoke.c | 10 ++++++++++
10547 tests/test_everything.py | 8 ++++++++
10548 2 files changed, 18 insertions(+)
10550 commit 585222915dc98b0e375de3db4771466278a32e81
10551 Author: John (J5) Palmieri <johnp@redhat.com>
10552 Date: Tue Oct 18 00:39:16 2011 -0400
10554 Do union member checks for unions that are parameters
10556 * before we were only doing checks if the union was an instance
10558 https://bugzilla.gnome.org/show_bug.cgi?id=661673
10560 gi/pygi-marshal-from-py.c | 121
10561 ++++++++++++++++++++++++++--------------------
10562 1 file changed, 68 insertions(+), 53 deletions(-)
10564 commit 8deaec6b9abd87f02060c9feec773d4693e89028
10565 Author: Martin Pitt <martin.pitt@ubuntu.com>
10566 Date: Wed Oct 19 14:35:11 2011 +0200
10568 Gdk overrides: Unbreak for Gdk-2.0
10570 Fix regression from commit 31db3ed: Gdk 2.0 did not yet have
10572 only do this for Gdk >= 3.0.
10574 https://launchpad.net/bugs/875399
10576 gi/overrides/Gdk.py | 95
10577 +++++++++++++++++++++++++++--------------------------
10578 1 file changed, 48 insertions(+), 47 deletions(-)
10580 commit f395fb131caf7ca550acd17138d8061926ef4f92
10581 Author: John (J5) Palmieri <johnp@redhat.com>
10582 Date: Fri Oct 14 17:19:45 2011 -0400
10584 unit test for checking ref count of object param in signals
10586 https://bugzilla.gnome.org/show_bug.cgi?id=661359
10588 tests/test_everything.py | 11 +++++++++++
10589 1 file changed, 11 insertions(+)
10591 commit 611f58b99851328653af4930f188c33eccaa9f6f
10592 Author: John (J5) Palmieri <johnp@redhat.com>
10593 Date: Fri Oct 14 16:42:32 2011 -0400
10595 when converting an object with transfer none, make sure the wrapper
10598 https://bugzilla.gnome.org/show_bug.cgi?id=661359
10600 gi/pygi-argument.c | 10 ++++++++++
10601 1 file changed, 10 insertions(+)
10603 commit 0f1eb9fa0e7aa5e7c22dabc709c0dfb469e404f1
10604 Author: Timo Vanwynsberghe <timovwb@gmail.com>
10605 Date: Tue Oct 4 11:13:43 2011 +0200
10607 Allow GBoxed types as property
10609 Add the GBoxed type as valid type to the gobject property helper
10610 https://bugzilla.gnome.org/show_bug.cgi?id=660798
10612 gi/_gobject/propertyhelper.py | 5 +++--
10613 1 file changed, 3 insertions(+), 2 deletions(-)
10615 commit bef8d385117dd0295c9ba7567710d76fc2bb729a
10616 Author: Ignacio Casal Quinteiro <icq@gnome.org>
10617 Date: Mon Oct 10 11:24:42 2011 +0200
10619 Add tests for boxed properties.
10621 tests/test_properties.py | 20 ++++++++++++++++++--
10622 1 file changed, 18 insertions(+), 2 deletions(-)
10624 commit 77123ffeb1585837033848f4d5a90cfa63fdaee0
10625 Author: Ignacio Casal Quinteiro <icq@gnome.org>
10626 Date: Fri Sep 30 20:21:07 2011 +0200
10628 Post release bump version
10630 configure.ac | 2 +-
10631 1 file changed, 1 insertion(+), 1 deletion(-)
10633 commit f5ccfec0a1bc4c999bfa49d75383ea06d3a068c4
10634 Author: Ignacio Casal Quinteiro <icq@gnome.org>
10635 Date: Fri Sep 30 20:19:46 2011 +0200
10640 configure.ac | 2 +-
10641 2 files changed, 6 insertions(+), 1 deletion(-)
10643 commit 56ac9339eb1d6950623dc4d8c3b9972874e7fa86
10644 Author: John (J5) Palmieri <johnp@redhat.com>
10645 Date: Thu Sep 22 19:03:20 2011 -0400
10647 when checking instances union members are same type as parent
10649 * this is so we can support sending Gdk.Event members in place of
10650 the Event union into methods
10651 * we only support this if the union member has a type of GI_INTERFACE
10654 https://bugzilla.gnome.org/show_bug.cgi?id=659879
10656 gi/pygi-marshal-from-py.c | 60
10657 +++++++++++++++++++++++++++++++++++++++++++----
10658 1 file changed, 56 insertions(+), 4 deletions(-)
10660 commit 311a4f8035a95b41bc3c0a836c32b7a5bf2d9959
10661 Author: John (J5) Palmieri <johnp@redhat.com>
10662 Date: Wed Sep 21 21:50:48 2011 -0400
10664 add a floating flag to pygobjects
10666 * this allows us to correctly refcount when custom gobjects are
10670 gi/_gobject/gobjectmodule.c | 5 +++++
10671 gi/_gobject/pygobject-private.h | 3 +++
10672 gi/_gobject/pygobject.c | 27 ++++++++++++++++++++++++++-
10673 gi/_gobject/pygobject.h | 3 ++-
10674 4 files changed, 36 insertions(+), 2 deletions(-)
10676 commit d2d29ae5845217254b9336fd8629f369cb119b25
10677 Author: John (J5) Palmieri <johnp@redhat.com>
10678 Date: Wed Sep 21 21:13:22 2011 -0400
10680 Revert "Fix refcount bug by not creating python wrapper during
10681 gobject init stage"
10683 This reverts commit f6fa5dd8f39af1b8a52d7600d257400b0983e8c5.
10685 gi/_gobject/gobjectmodule.c | 32 +++++++++++++++++---------------
10686 1 file changed, 17 insertions(+), 15 deletions(-)
10688 commit a24c10b779f2a1b0425d56d03d59c393389cad98
10689 Author: John (J5) Palmieri <johnp@redhat.com>
10690 Date: Wed Sep 21 21:10:00 2011 -0400
10692 make sure to commit the NEWS file
10695 1 file changed, 4 insertions(+)
10697 commit 2eed2940c9be099fb6305288d895265e6b35d3d2
10698 Author: John (J5) Palmieri <johnp@redhat.com>
10699 Date: Mon Sep 19 13:19:57 2011 -0400
10701 prep for 3.0 release
10703 configure.ac | 6 +++---
10704 1 file changed, 3 insertions(+), 3 deletions(-)
10706 commit fbd58b70c2c3c1128f95a87eb4cc8313b6a401b8
10707 Author: John (J5) Palmieri <johnp@redhat.com>
10708 Date: Fri Sep 16 14:19:15 2011 -0400
10710 up version required of gobject-introspection to 1.29.0
10712 configure.ac | 2 +-
10713 1 file changed, 1 insertion(+), 1 deletion(-)
10715 commit 225f21117b6b3546989abe22538c784291e86b2a
10716 Author: John (J5) Palmieri <johnp@redhat.com>
10717 Date: Fri Sep 16 12:26:10 2011 -0400
10721 * remove some unused vars
10722 * correctly cast vars
10723 * handle deprecated enums in switch statments by using default:
10724 * unused wanrings still remain in some places
10726 gi/pygi-argument.c | 2 +-
10727 gi/pygi-cache.c | 7 ++-----
10728 gi/pygi-info.c | 6 ++++++
10729 gi/pygi-invoke.c | 2 +-
10730 gi/pygi-marshal-from-py.c | 17 +++++++++--------
10731 gi/pygi-marshal-to-py.c | 3 +--
10732 6 files changed, 20 insertions(+), 17 deletions(-)
10734 commit 9a70f01288e1b049206d25d67938907f1b38a490
10735 Author: John (J5) Palmieri <johnp@redhat.com>
10736 Date: Fri Sep 16 12:24:38 2011 -0400
10740 configure.ac | 2 +-
10741 1 file changed, 1 insertion(+), 1 deletion(-)
10743 commit 3ec4020205e909ee4400650434f9ae7b89c2bde8
10744 Author: John (J5) Palmieri <johnp@redhat.com>
10745 Date: Thu Sep 15 18:12:01 2011 -0400
10747 edit HACKING file to show correct tag format
10750 1 file changed, 1 insertion(+), 1 deletion(-)
10752 commit 2e864fd05bc0adf48df9f65ab72785ebb1d0d3f0
10753 Author: John (J5) Palmieri <johnp@redhat.com>
10754 Date: Thu Sep 15 18:10:33 2011 -0400
10756 update NEWS file to prep for release
10758 NEWS | 35 +++++++++++++++++++++++++++++++++++
10759 1 file changed, 35 insertions(+)
10761 commit 0da687fa699aba4f42c42a924d6754e2bd47df50
10762 Author: John (J5) Palmieri <johnp@redhat.com>
10763 Date: Thu Sep 15 17:59:31 2011 -0400
10765 fix typo s/lenth/length
10767 gi/overrides/Gtk.py | 2 +-
10768 1 file changed, 1 insertion(+), 1 deletion(-)
10770 commit 0e4861abaff64d8e7e8d1aeedf9dd1e80de8aab2
10771 Author: John (J5) Palmieri <johnp@redhat.com>
10772 Date: Thu Sep 15 17:48:58 2011 -0400
10774 fix typo in docstring
10776 gi/_gobject/propertyhelper.py | 2 +-
10777 1 file changed, 1 insertion(+), 1 deletion(-)
10779 commit e7fcc326d64def610e5a1003cf6c7ca97023814d
10780 Author: John (J5) Palmieri <johnp@redhat.com>
10781 Date: Thu Sep 15 17:46:46 2011 -0400
10783 do not pass in len(str) to the length argument of
10784 gtk_test_buffer_insert* apis
10786 * in python 3 len(str) returns the number of characters while
10788 parameter is expecting the number of bytes. It also excepts -1
10790 terminated string. Since all of our strings are null terminated,
10792 set length to that.
10794 gi/overrides/Gtk.py | 6 ++----
10795 1 file changed, 2 insertions(+), 4 deletions(-)
10797 commit 6f380153afb3390f7da9f4b8befb1c4ee224da17
10798 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
10799 Date: Mon Sep 12 21:07:20 2011 +0200
10801 Switch tarball compression format to tar.xz only.
10804 http://mail.gnome.org/archives/gnome-announce-list/2011-September/msg00031.html
10805 for more information.
10807 https://bugzilla.gnome.org/show_bug.cgi?id=659140
10809 configure.ac | 2 +-
10810 1 file changed, 1 insertion(+), 1 deletion(-)
10812 commit 11c45ac6dcb6ffad766d03bfc77f45a6d703a90d
10813 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
10814 Date: Thu Sep 15 14:18:57 2011 +0200
10816 Remove pygtk_version attribute from internal gi._gobject module.
10818 This used to be provided for backwards compatibility with older PyGTK
10819 versions. As PyGObject3 no longer provides support for static bindings
10820 like PyGTK, the pygtk_version attribute has become obsolete.
10822 https://bugzilla.gnome.org/show_bug.cgi?id=659142
10824 gi/_gobject/gobjectmodule.c | 4 ----
10825 gi/_gobject/pygobject.h | 2 --
10826 2 files changed, 6 deletions(-)
10828 commit 7e48fd6dfd86b7082c3fd35d25d9693c56c9665a
10829 Author: John (J5) Palmieri <johnp@redhat.com>
10830 Date: Thu Sep 15 15:52:18 2011 -0400
10832 remove overridesdir from the .pc file and add it to the gi module
10834 * having the variable in the .pc file caused issues parallel
10836 for different versions of python
10837 * putting it into the module allows us to give the correct directory
10838 based on which version of python you run the script from
10839 * access the var as such:
10841 installdir = gi._overridesdir
10843 gi/__init__.py | 2 ++
10844 pygobject-3.0.pc.in | 10 +++++++++-
10845 2 files changed, 11 insertions(+), 1 deletion(-)
10847 commit beea7072a5a989be47a755ac46647380d4dbd6b4
10848 Author: John (J5) Palmieri <johnp@redhat.com>
10849 Date: Thu Sep 15 00:11:09 2011 -0400
10851 fix tests to correctly construct a dummy Gtk.TargetEntry
10853 * structs are sometimes a pain in gi. Simply constructing them
10855 the standard constructor (e.g. Gtk.TargetEntry()) will malloc
10857 but not correctly initialize the fields which can cause a crash.
10858 * tests didn't crash before because they were sending in bogus
10860 somehow did not trigger the issue
10861 * now with the C struct array marshallers doing the right thing,
10863 use of TargetEntry was causing a crash
10865 https://bugzilla.gnome.org/show_bug.cgi?id=627236
10867 tests/test_overrides.py | 4 ++--
10868 1 file changed, 2 insertions(+), 2 deletions(-)
10870 commit 46ba7f04ef3df08e07ddda5c10f0c98bec5fa183
10871 Author: John (J5) Palmieri <johnp@redhat.com>
10872 Date: Thu Sep 15 00:08:31 2011 -0400
10874 we now assume that C arrays of structs are flat so memcpy them
10877 * there is no way in GI to tell if a C array is flat or an array
10879 so we assume that all arrays of simple structs and gvalues are
10881 all arrays of objects and boxed structs are pointer arrays.
10882 * this will be removed once GI gets the ability to annotate level
10885 https://bugzilla.gnome.org/show_bug.cgi?id=627236
10887 gi/pygi-marshal-from-py.c | 35 ++++++++++++++++++++++++++++++++---
10888 tests/test_gi.py | 29 +++++++++++++++++++++++++++++
10889 2 files changed, 61 insertions(+), 3 deletions(-)
10891 commit e30a41592baa942188574e5c9f99572963e2e387
10892 Author: John (J5) Palmieri <johnp@redhat.com>
10893 Date: Thu Sep 15 00:02:34 2011 -0400
10895 only update the arg counts once if child arg comes before parent arg
10897 * if the child arg comes before the parent arg we need to update the
10898 argument counts and take the child arg out of the marshalling lists
10899 since it is handled by the parent
10900 * when two parents reference the same child arg as is the case with
10901 two arrays which have a single length argument we only want
10904 * to do this we introduce the PYGI_META_ARG_CHILD_NEEDS_UPDATE
10906 and only do the count update if this is set
10907 * APIs should keep in mind that this take extra processing so
10909 should really come after their parents
10911 https://bugzilla.gnome.org/show_bug.cgi?id=627236
10913 gi/pygi-cache.c | 30 ++++++++++++++++++++----------
10914 gi/pygi-cache.h | 9 +++++++--
10915 2 files changed, 27 insertions(+), 12 deletions(-)
10917 commit f6fa5dd8f39af1b8a52d7600d257400b0983e8c5
10918 Author: John (J5) Palmieri <johnp@redhat.com>
10919 Date: Wed Sep 14 20:26:15 2011 -0400
10921 Fix refcount bug by not creating python wrapper during gobject
10924 * This only applys to python subclasses of GObject which are
10927 * Because we were creating the wrapper when the gobject is
10929 and then again calling pygobject_new_full the wrapper would get
10931 * we could not simply Py_DECREF the wrapper due to the fact that
10932 non-subclassed objects (e.g. GObject.Object) instantiated via
10933 new do not run the same initialization code and would not have the
10935 * solution was to simply not create the wrapper during initialization
10936 because if it doesn't exist when pygobject_new_full is called
10937 it gets created and registered there
10938 * move the call to __init__ into pyg_object_new
10940 https://bugzilla.gnome.org/show_bug.cgi?id=657403
10942 gi/_gobject/gobjectmodule.c | 32 +++++++++++++++-----------------
10943 1 file changed, 15 insertions(+), 17 deletions(-)
10945 commit 61b64a65beee9011f8e4ed20f0a83e6630ba154f
10946 Author: John (J5) Palmieri <johnp@redhat.com>
10947 Date: Tue Sep 13 18:08:04 2011 -0400
10949 don't destroy just created wrapper when object is created via
10952 https://bugzilla.gnome.org/show_bug.cgi?id=657403
10954 gi/_gobject/gobjectmodule.c | 2 +-
10955 1 file changed, 1 insertion(+), 1 deletion(-)
10957 commit 93e12cc2eb7e7f2c18971da86e9c9452d3f566b7
10958 Author: Steve Frécinaux <code@istique.net>
10959 Date: Fri Aug 26 11:22:09 2011 +0200
10961 Remove deprecated API from pygobject.h
10963 https://bugzilla.gnome.org/show_bug.cgi?id=657416
10965 gi/_gobject/pygobject.h | 19 +------------------
10966 1 file changed, 1 insertion(+), 18 deletions(-)
10968 commit e1c71092af6e2cffa36248519adfceac1874051d
10969 Author: Marcin Owsiany <marcin@owsiany.pl>
10970 Date: Wed Aug 31 09:43:28 2011 +0100
10972 Convert gtk.TRUE/FALSE to Python True/False.
10974 https://bugzilla.gnome.org/show_bug.cgi?id=657785
10976 pygi-convert.sh | 2 ++
10977 1 file changed, 2 insertions(+)
10979 commit 3ace5c2e2268285a5dcb39889fcb2a71bc1063bd
10980 Author: Steve Frécinaux <code@istique.net>
10981 Date: Fri Sep 2 08:37:15 2011 +0200
10983 Drop legacy __gobject_init__ method of GObject.Object.
10985 This method was used in gobject initialization at some point, but now
10986 using GObject.__init__() is sufficient, so let's not keep this old
10987 method around and let people misuse it.
10989 https://bugzilla.gnome.org/show_bug.cgi?id=658032
10991 examples/signal.py | 2 --
10992 gi/_gobject/pygobject.c | 11 -----------
10993 2 files changed, 13 deletions(-)
10995 commit fcd457d1d1d8a813acb2ebfe5ee0e9aab2c9c88c
10996 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
10997 Date: Tue Sep 13 12:05:30 2011 +0200
10999 AM_CHECK_PYTHON_LIBS does not work for lib64
11001 But on Windows, Python extension modules need to be explicitly
11002 linked to libpython.
11004 https://bugzilla.gnome.org/show_bug.cgi?id=658856
11006 configure.ac | 4 +++-
11007 gi/Makefile.am | 9 ++++++---
11008 gi/_glib/Makefile.am | 10 ++++++++--
11009 gi/_gobject/Makefile.am | 8 +++++++-
11010 4 files changed, 24 insertions(+), 7 deletions(-)
11012 commit 863c087911203a8f3ebaa8e77622a3437a7cd320
11013 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11014 Date: Mon Sep 12 23:03:05 2011 +0200
11016 Remove common_ldflags from Makefile.am as it is no longer used.
11018 https://bugzilla.gnome.org/show_bug.cgi?id=658856
11020 Makefile.am | 6 ------
11021 1 file changed, 6 deletions(-)
11023 commit 24b920f9922e367bdb8b3e56c2f61e0c8f5cdb66
11024 Author: John (J5) Palmieri <johnp@redhat.com>
11025 Date: Tue Sep 13 16:20:48 2011 -0400
11027 cast params for PyObject_IsInstance to suppress warnings
11029 gi/_gobject/pygobject-private.h | 4 ++--
11030 1 file changed, 2 insertions(+), 2 deletions(-)
11032 commit 861369ec59b17f67151813dc2e87c6e86126b954
11033 Author: John (J5) Palmieri <johnp@redhat.com>
11034 Date: Tue Sep 13 16:04:31 2011 -0400
11036 check if object is actually a PyGFlag before trying to access g_type
11038 * we are lucky this bit of code worked for as long as it did but when
11039 checking if an object is a PyGFlag we can't just rely on looking
11040 at the g_type field because if a regular gobject is passed in
11041 as is the case when you compare a long to a gflag, the gobject
11042 will not have a g_type field. Accessing a non-existant field
11043 could at best give you a false positive and at worse read
11044 memory beyond the bounds of the actual structure passed in
11046 gi/_gobject/pygobject-private.h | 4 ++--
11047 1 file changed, 2 insertions(+), 2 deletions(-)
11049 commit eea93e89fb064253bd8903c8b453daf4b3c87c2c
11050 Author: John (J5) Palmieri <johnp@redhat.com>
11051 Date: Tue Sep 13 16:03:02 2011 -0400
11053 fix regression - add instance type checks since Py3 no longer does
11056 gi/pygi-marshal-from-py.c | 21 +++++++++++++++++++--
11057 1 file changed, 19 insertions(+), 2 deletions(-)
11059 commit a4e4318b50a24a688e32579273fbcfa51d1b422a
11060 Author: John (J5) Palmieri <johnp@redhat.com>
11061 Date: Fri Sep 2 18:39:51 2011 -0400
11063 refactor in/out marshalling to be to_py/from_py
11065 * in/out make sense from a C perspective but when you get to the
11066 python layers it makes more sense to label them as to_py and
11067 from_py to denote which way we are marshalling
11068 * this helps clear up the difference between callbacks which
11069 call into python and invoked functions which call into C
11070 * in the callback case we marshal in values to Python objects
11071 and out values to C types but in the invoke case we do the
11072 reverse. Dealing with to_py/from_py makes the code much more
11073 resuable and consistant
11075 https://bugzilla.gnome.org/show_bug.cgi?id=658362
11077 gi/Makefile.am | 8 +-
11078 gi/pygi-cache.c | 673 ++++++++++-----------
11079 gi/pygi-cache.h | 62 +-
11080 gi/pygi-invoke.c | 144 ++---
11081 gi/pygi-marshal-cleanup.c | 168 +++---
11082 gi/pygi-marshal-cleanup.h | 128 ++--
11083 gi/pygi-marshal-from-py.c | 1412
11084 +++++++++++++++++++++++++++++++++++++++++++++
11085 gi/pygi-marshal-from-py.h | 186 ++++++
11086 gi/pygi-marshal-in.c | 1412
11087 ---------------------------------------------
11088 gi/pygi-marshal-in.h | 186 ------
11089 gi/pygi-marshal-out.c | 768 ------------------------
11090 gi/pygi-marshal-out.h | 144 -----
11091 gi/pygi-marshal-to-py.c | 768 ++++++++++++++++++++++++
11092 gi/pygi-marshal-to-py.h | 144 +++++
11093 14 files changed, 3122 insertions(+), 3081 deletions(-)
11095 commit 45b0fcff9e948c65a3903c32a3957802034c5e47
11096 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11097 Date: Fri Sep 9 16:50:25 2011 +0200
11099 Examples: fix cairo-demo.py imports
11101 examples/cairo-demo.py | 6 +++---
11102 1 file changed, 3 insertions(+), 3 deletions(-)
11104 commit 3ca19fc13e6024fd04851e6f269020a92b09fa17
11105 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11106 Date: Fri Sep 9 15:08:27 2011 +0200
11108 Fix paths and add missing overridesdir variable used in uninstalled
11111 https://bugzilla.gnome.org/show_bug.cgi?id=658654
11113 pygobject-3.0-uninstalled.pc.in | 14 +++++++-------
11114 1 file changed, 7 insertions(+), 7 deletions(-)
11116 commit 6e773175b9d2f46b3df5075ec952a8c5aff3c607
11117 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11118 Date: Fri Sep 9 15:08:04 2011 +0200
11120 Remove no longer used variables from pkgconfig files
11122 https://bugzilla.gnome.org/show_bug.cgi?id=658654
11124 pygobject-3.0-uninstalled.pc.in | 6 ------
11125 pygobject-3.0.pc.in | 5 +----
11126 2 files changed, 1 insertion(+), 10 deletions(-)
11128 commit 81d388780311311d8dc4a027a59d114edf9a00fc
11129 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11130 Date: Fri Sep 9 14:57:58 2011 +0200
11132 docs/Makefile.am and m4/python.m4: Python3 portability fixes
11134 https://bugzilla.gnome.org/show_bug.cgi?id=658652
11136 docs/Makefile.am | 2 +-
11137 m4/python.m4 | 2 +-
11138 2 files changed, 2 insertions(+), 2 deletions(-)
11140 commit 7e692ee061406e48e4862b98a0829650b1d6d585
11141 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11142 Date: Fri Sep 9 14:57:46 2011 +0200
11144 Refactor and clean Makefile.am files
11146 https://bugzilla.gnome.org/show_bug.cgi?id=658652
11149 gi/Makefile.am | 81 +++++++++++++++++++++++--------------
11150 gi/_glib/Makefile.am | 100
11151 ++++++++++++++++++++++++++++++----------------
11152 gi/_gobject/Makefile.am | 85 ++++++++++++++++++++-------------------
11153 gi/overrides/Makefile.am | 4 +-
11154 gi/repository/Makefile.am | 4 +-
11155 6 files changed, 162 insertions(+), 114 deletions(-)
11157 commit 3dd59b07d1f4a93ee1f65d6a64e1afb6f5e84232
11158 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11159 Date: Fri Sep 9 14:57:36 2011 +0200
11161 Remove all PLATFORM_VERSION = 2.0 traces
11163 https://bugzilla.gnome.org/show_bug.cgi?id=658652
11165 gi/Makefile.am | 2 --
11166 gi/overrides/Makefile.am | 1 -
11167 gi/repository/Makefile.am | 1 -
11168 3 files changed, 4 deletions(-)
11170 commit db1e484bfa157967de55ee2e0e18a82b8e388b61
11171 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11172 Date: Fri Sep 9 14:57:25 2011 +0200
11174 Remove gi/tests/ directory as all the tests now live in tests/
11176 https://bugzilla.gnome.org/show_bug.cgi?id=658652
11178 gi/tests/Makefile.am | 24 ------------------------
11179 gi/tests/runtests.py | 21 ---------------------
11180 2 files changed, 45 deletions(-)
11182 commit b0ecbf00138ef1147e478ebf3c66f0e9b3f85dfc
11183 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11184 Date: Fri Sep 9 14:55:25 2011 +0200
11186 autogen.sh: Use autoreconf instead of a custom script and honor
11189 https://bugzilla.gnome.org/show_bug.cgi?id=658652
11193 +++++++------------------------------------------------------
11194 2 files changed, 12 insertions(+), 85 deletions(-)
11196 commit 4671f5397003f376f00830e3fd1c214de594619f
11197 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11198 Date: Fri Sep 9 14:55:01 2011 +0200
11200 use improved python.m4 macros to search for Python headers and libs
11202 https://bugzilla.gnome.org/show_bug.cgi?id=658652
11204 configure.ac | 3 ++-
11205 m4/python.m4 | 47 +++++++++++++++++++++++++++++++++++++----------
11206 2 files changed, 39 insertions(+), 11 deletions(-)
11208 commit 2c9fd09da196d35db968bff4ae63fcce2d891e69
11209 Author: Javier Jardón <jjardon@gnome.org>
11210 Date: Fri Sep 9 15:38:22 2011 +0100
11212 Make maintiner mode enabled by default
11215 http://blogs.gnome.org/desrt/2011/09/08/am_maintainer_mode-is-not-cool/
11217 configure.ac | 2 +-
11218 1 file changed, 1 insertion(+), 1 deletion(-)
11220 commit b24dcb415406668931e02a1f669ef9861bb3a660
11221 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11222 Date: Wed Aug 24 09:58:10 2011 +0200
11224 Disable documentation for now since they are completely wrong for GI.
11226 https://bugzilla.gnome.org/show_bug.cgi?id=657054
11229 configure.ac | 25 -------------------------
11230 2 files changed, 1 insertion(+), 26 deletions(-)
11232 commit ecea2358a379c8ff44dff2f8f9c30a9092af1681
11233 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11234 Date: Wed Sep 7 10:38:28 2011 +0200
11236 Fix documentation installation directory
11238 https://bugzilla.gnome.org/show_bug.cgi?id=657054
11240 docs/Makefile.am | 5 +++--
11241 1 file changed, 3 insertions(+), 2 deletions(-)
11243 commit 8d3125c8ce9890c70400dd8a3ac273b590fe6a31
11244 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11245 Date: Tue Sep 6 22:22:11 2011 +0200
11247 Remove distutils based build system.
11249 The only reason this might be brought back to life again is when
11250 the whole stack can be built with Visual Studio (including
11251 gobject-introspection) again. Building with MinGW/MSYS can now
11252 be done with the usual autogen.sh/configure/make/make install dance.
11254 https://bugzilla.gnome.org/show_bug.cgi?id=657054
11257 Makefile.am | 25 +--
11258 README.win32 | 21 --
11260 -----------------------------------------------
11261 pygobject_postinstall.py | 9 -
11262 setup.py | 351 --------------------------------
11263 6 files changed, 7 insertions(+), 915 deletions(-)
11265 commit b82d916635aa0b732840548088a3fcfcb2e41bc4
11266 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11267 Date: Wed Sep 7 10:40:36 2011 +0200
11269 [gtk-demo] Fix syntax highlighter encoding issue
11271 With Python 3, Gtk.TextBuffer.get_text returns a str (not bytes), with
11272 Python 2 however we get a str (not unicode). So with Python 2 the
11273 tokenizer returned bogus data when ran over a demo that contains real
11274 UTF-8 codepoints (like rotatedtext.py for example).
11276 This patch thus fixes the "Gtk-CRITICAL **:
11277 gtk_text_iter_set_line_offset:
11278 assertion `char_on_line <= chars_in_line` failed" assertions when
11280 the rotated text demo in the treeview.
11282 demos/gtk-demo/gtk-demo.py | 3 +++
11283 1 file changed, 3 insertions(+)
11285 commit 31db3ed3d233bd495c3a2f99b3fa51031bfa30c6
11286 Author: Ignacio Casal Quinteiro <icq@gnome.org>
11287 Date: Tue Sep 6 22:13:54 2011 +0200
11289 overrides: add constants for atoms
11291 gi/overrides/Gdk.py | 49
11292 +++++++++++++++++++++++++++++++++++++++++++++++++
11293 1 file changed, 49 insertions(+)
11295 commit 81861bc2d664eb38d46e5c38ff755d436f040f63
11296 Author: Steve Frécinaux <code@istique.net>
11297 Date: Wed Aug 31 14:18:56 2011 +0200
11299 Drop pygobject_construct() from public API.
11301 These functions were introduced in 2005 because python objects
11303 "just" be instantiated using g_object_new(), but this is not true
11304 anymore since the introduction of new-style constructors. Hence
11306 has no reason to be there anymore.
11308 Nowadays, people who want to construct GObjects defined in python
11310 just use g_object_new().
11312 https://bugzilla.gnome.org/show_bug.cgi?id=657814
11314 gi/_gobject/gobjectmodule.c | 118
11315 +++++++++-------------------------------
11316 gi/_gobject/pygobject-private.h | 3 -
11317 gi/_gobject/pygobject.h | 8 ---
11318 3 files changed, 26 insertions(+), 103 deletions(-)
11320 commit c4c55a98ccf9e39ed0d10ed49b66a76dc7d7c509
11321 Author: Ignacio Casal Quinteiro <icq@gnome.org>
11322 Date: Wed Aug 31 18:00:44 2011 +0200
11324 post release version bump
11326 configure.ac | 2 +-
11327 1 file changed, 1 insertion(+), 1 deletion(-)
11329 commit ac5a0f46242abdd3cd98ec5f9f2bf8e5b05f3845
11330 Author: Ignacio Casal Quinteiro <icq@gnome.org>
11331 Date: Wed Aug 31 17:58:37 2011 +0200
11335 NEWS | 12 ++++++++++++
11336 1 file changed, 12 insertions(+)
11338 commit 429569abddada5a3bad554de707ddf35b349936e
11339 Author: John (J5) Palmieri <johnp@redhat.com>
11340 Date: Thu Aug 25 13:57:53 2011 -0400
11342 support skip annotation for return values
11344 * this is used for things like skiping gboolean returns that are
11345 useful is C but useless in python
11347 * cleans up after skipped returns that are also marked transfer
11349 https://bugzilla.gnome.org/show_bug.cgi?id=650135
11351 gi/pygi-cache.c | 1 +
11352 gi/pygi-cache.h | 1 +
11353 gi/pygi-invoke.c | 48
11354 ++++++++++++++++++++++++++++++------------------
11355 tests/test_everything.py | 8 ++++++++
11356 4 files changed, 40 insertions(+), 18 deletions(-)
11358 commit 7a234b185b131f3eb6a6e8a8c717ddf4d508b15e
11359 Author: Xavier Claessens <xclaesse@gmail.com>
11360 Date: Tue Aug 2 12:05:12 2011 +0200
11362 Test GPtrArray regression
11364 tests/test_everything.py | 3 +++
11365 1 file changed, 3 insertions(+)
11367 commit 42fc9fa437102c882844a0e70a081ab08de92658
11368 Author: Steve Frécinaux <code@istique.net>
11369 Date: Fri Aug 26 10:53:43 2011 +0200
11371 Drop support for old constructor style.
11373 Bindings don't write their own constructors anymore, and the old style
11374 has been deprecated for ages, so let's just drop them now and make
11377 https://bugzilla.gnome.org/show_bug.cgi?id=657413
11379 gi/_gobject/gobjectmodule.c | 20 --------------------
11380 gi/_gobject/pygobject-private.h | 1 -
11381 gi/_gobject/pygobject.c | 1 -
11382 gi/_gobject/pygobject.h | 2 --
11383 gi/gimodule.c | 28 ----------------------------
11385 tests/testhelpermodule.c | 5 -----
11386 7 files changed, 59 deletions(-)
11388 commit 3961a405e1bddef22e1a5a0c7aa3ae55e4ec09ad
11389 Author: Steve Frécinaux <code@istique.net>
11390 Date: Fri Aug 26 10:45:59 2011 +0200
11392 Drop support for sink functions.
11394 Sink functions were meant to deal with floating references in a custom
11395 way. They are not useful anymore with the dynamic bindings.
11397 https://bugzilla.gnome.org/show_bug.cgi?id=642233
11399 gi/_gobject/gobjectmodule.c | 1 -
11400 gi/_gobject/pygobject.c | 53 ----------------------------------------
11401 gi/_gobject/pygobject.h | 4 ---
11402 tests/test-floating.c | 59
11403 +++++++--------------------------------------
11404 tests/test-floating.h | 42 +++++++++-----------------------
11405 tests/test_gobject.py | 13 +++-------
11406 tests/testhelpermodule.c | 32 +++++++-----------------
11407 7 files changed, 32 insertions(+), 172 deletions(-)
11409 commit 631d8ef879a13492945a3e30b3df9863a4ba2f44
11410 Author: Mike Gorse <mgorse@novell.com>
11411 Date: Wed Aug 24 17:30:09 2011 -0500
11413 Reinstate copying of in-line structs in arrays
11415 For arrays of in-line, non-boxed structures with (transfer full),
11416 _pygi_marshal_free_out_array eventually gets called and frees
11418 data, so we should copy it (IE, BGO#653588).
11420 https://bugzilla.gnome.org/show_bug.cgi?id=657120
11422 gi/pygi-marshal-out.c | 8 +++++++-
11423 1 file changed, 7 insertions(+), 1 deletion(-)
11425 commit f38511f251602e18551c04617cc2e2d42e812e1e
11426 Author: John (J5) Palmieri <johnp@redhat.com>
11427 Date: Tue Aug 23 14:18:43 2011 -0400
11429 fix inline struct array handling
11431 * we now assume any non-boxed structs are inline in an array since
11433 no way to check in GI and this is the most common use for an
11437 https://bugzilla.gnome.org/show_bug.cgi?id=657120
11439 gi/pygi-marshal-out.c | 23 +++++++++--------------
11440 tests/test_gi.py | 8 ++++++++
11441 2 files changed, 17 insertions(+), 14 deletions(-)
11443 commit d92846a5446b0dd2e69c813f56224a1966ab1a33
11444 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11445 Date: Tue Aug 23 11:30:41 2011 +0200
11447 [gtk-demo] printing.py: set print and error dialog transient parent
11449 demos/gtk-demo/demos/printing.py | 8 ++++----
11450 1 file changed, 4 insertions(+), 4 deletions(-)
11452 commit 1aebc1565752840075027b9452fe2a67217bf53b
11453 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11454 Date: Tue Aug 23 11:28:05 2011 +0200
11456 [gtk-demo] printing.py: exit Gtk mainloop when done and correctly
11457 handle printing errors
11459 demos/gtk-demo/demos/printing.py | 14 ++++++++++----
11460 1 file changed, 10 insertions(+), 4 deletions(-)
11462 commit 1f9e4486c5b84209ce0038887738fc16a4ef7da3
11463 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11464 Date: Tue Aug 23 08:05:43 2011 +0200
11466 [gtk-demo] show "activated" demo's in italic font in the TreeView
11468 demos/gtk-demo/gtk-demo.py | 7 +++++--
11469 1 file changed, 5 insertions(+), 2 deletions(-)
11471 commit 971d063f7a36e13ef6621db7002b00af52f6292a
11472 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11473 Date: Mon Aug 22 14:52:28 2011 +0200
11475 [gtk-demo] source colorizer: Python3 does not have the BACKQUOTE
11476 token, so simply remove it
11478 demos/gtk-demo/gtk-demo.py | 5 +----
11479 1 file changed, 1 insertion(+), 4 deletions(-)
11481 commit c2979a37d6d505095b6e55789150a6498d95819d
11482 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11483 Date: Mon Aug 22 14:22:18 2011 +0200
11485 [gtk-demo] In Python3, GLib.file_get_contents returns a bytes object
11486 but Gtk.TextBuffer.insert expects a string.
11488 Fixed by using codes.open() as hinted in
11489 http://docs.python.org/dev/howto/pyporting.html#text-files
11490 section "If pre-2.6 compatibility is needed" (because configure.ac
11491 is still happy with Python 2.5.2).
11493 demos/gtk-demo/gtk-demo.py | 6 +++++-
11494 1 file changed, 5 insertions(+), 1 deletion(-)
11496 commit 9ea56535f35abbea4cd977dea4c89247e4b01694
11497 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11498 Date: Mon Aug 22 12:30:24 2011 +0200
11500 [gtk-demo] images.py: fix 'Insensitive 'button mnenomic
11502 demos/gtk-demo/demos/images.py | 2 +-
11503 1 file changed, 1 insertion(+), 1 deletion(-)
11505 commit 7829dae1cdb8697a19c2b5e158ef0e08f6c2558b
11506 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11507 Date: Mon Aug 22 10:38:04 2011 +0200
11509 [gtk-demo] printing.py: fix Pango.EllipsizeType > Pango.EllipsizeMode
11512 demos/gtk-demo/demos/printing.py | 4 ++--
11513 1 file changed, 2 insertions(+), 2 deletions(-)
11515 commit 07f0274301d77d9bf62b49a14b059d9a52afb445
11516 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11517 Date: Mon Aug 22 10:37:08 2011 +0200
11519 [gtk-demo] printing.py: fix text file loading
11521 demos/gtk-demo/demos/printing.py | 32 ++++++++++++++++----------------
11522 1 file changed, 16 insertions(+), 16 deletions(-)
11524 commit 135148a4c35aac1d132b0b8fa3adbf1fdcdb3a24
11525 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11526 Date: Mon Aug 22 10:20:35 2011 +0200
11528 [gtk-demo] pixbuf.py: fix image loading
11530 demos/gtk-demo/demos/pixbuf.py | 25 +++++++++++--------------
11531 1 file changed, 11 insertions(+), 14 deletions(-)
11533 commit a93cae2c80e30a408f86e7e6c4d15a538011a189
11534 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11535 Date: Mon Aug 22 10:10:02 2011 +0200
11537 [gtk-demo] images.py: fix logo loading
11539 demos/gtk-demo/demos/images.py | 70
11540 +++++++++++++++++-------------------------
11541 1 file changed, 29 insertions(+), 41 deletions(-)
11543 commit eddc0824e0e4c156fca5de05bdeb600c534d4b24
11544 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11545 Date: Wed Aug 24 12:19:21 2011 +0200
11547 [gtk-demo] appwindow.py: set AboutDialog parent
11549 demos/gtk-demo/demos/appwindow.py | 7 +++----
11550 1 file changed, 3 insertions(+), 4 deletions(-)
11552 commit 7fe10a5b33148b1f029f3d34f76b7f880c1c2e7a
11553 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11554 Date: Mon Aug 22 07:58:25 2011 +0200
11556 [gtk-demo] appwindow.py: fix logo loading
11558 demos/gtk-demo/demos/appwindow.py | 10 +++-------
11559 1 file changed, 3 insertions(+), 7 deletions(-)
11561 commit 62fda288c1c37167c589e8e9d49ed625f770a98a
11562 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11563 Date: Mon Aug 22 07:57:31 2011 +0200
11565 [gtk-demo] appwindow.py: fix callback signatures
11567 demos/gtk-demo/demos/appwindow.py | 6 +++---
11568 1 file changed, 3 insertions(+), 3 deletions(-)
11570 commit 87e9ab4d3a0aac4f4710aa0f8af0a1736f781ad9
11571 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11572 Date: Mon Aug 22 07:48:28 2011 +0200
11574 [gtk-demo] fix glib vs GLib usage
11576 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 2 +-
11577 demos/gtk-demo/demos/appwindow.py | 2 +-
11578 2 files changed, 2 insertions(+), 2 deletions(-)
11580 commit d29cad6976a80862e1fc590d3e7d190e8a234866
11581 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11582 Date: Wed Aug 24 12:19:02 2011 +0200
11584 [gtk-demo] iconviewedit.py: fix for Gdk.color_parse API breakage
11585 caused by improved GDK overrides
11587 demos/gtk-demo/demos/Icon View/iconviewedit.py | 6 +++---
11588 1 file changed, 3 insertions(+), 3 deletions(-)
11590 commit f29d3a85a275a39e8481484779264b0dea1160ab
11591 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11592 Date: Mon Aug 22 07:25:32 2011 +0200
11594 [gtk-demo] optimize source colorizer by only preparing iters for
11595 known colorized tokens
11597 demos/gtk-demo/gtk-demo.py | 20 +++++++++++++++-----
11598 1 file changed, 15 insertions(+), 5 deletions(-)
11600 commit ecd1eb00b19733da3f2e3d7935792378f34cab19
11601 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11602 Date: Fri Aug 19 18:31:20 2011 +0200
11604 [gtk-demo] small formatting fixes
11606 demos/gtk-demo/demos/Entry/entry_buffer.py | 1 +
11607 demos/gtk-demo/demos/Entry/entry_completion.py | 1 +
11608 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 8 ++++----
11609 demos/gtk-demo/demos/assistant.py | 1 +
11610 demos/gtk-demo/demos/builder.py | 4 +++-
11611 demos/gtk-demo/demos/button_box.py | 1 +
11612 demos/gtk-demo/demos/clipboard.py | 1 +
11613 demos/gtk-demo/demos/colorselector.py | 1 +
11614 demos/gtk-demo/demos/combobox.py | 1 +
11615 demos/gtk-demo/demos/drawingarea.py | 4 +++-
11616 demos/gtk-demo/demos/test.py | 2 ++
11617 11 files changed, 19 insertions(+), 6 deletions(-)
11619 commit c42cb4da399ff5732f4ca732b85134de796a60fa
11620 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11621 Date: Fri Aug 19 18:30:50 2011 +0200
11623 [gtk-demo] remove "is_fully_bound" from demos
11625 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 --
11626 demos/gtk-demo/demos/Entry/entry_completion.py | 2 --
11627 demos/gtk-demo/demos/appwindow.py | 3 ---
11628 demos/gtk-demo/demos/assistant.py | 2 --
11629 demos/gtk-demo/demos/builder.py | 2 --
11630 demos/gtk-demo/demos/button_box.py | 2 --
11631 demos/gtk-demo/demos/clipboard.py | 2 --
11632 demos/gtk-demo/demos/colorselector.py | 2 --
11633 demos/gtk-demo/demos/combobox.py | 2 --
11634 demos/gtk-demo/demos/drawingarea.py | 2 --
11635 demos/gtk-demo/demos/test.py | 1 -
11636 11 files changed, 22 deletions(-)
11638 commit cad6a62c63f455f0b1315465a9cd71c0f02b12a5
11639 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11640 Date: Fri Aug 19 18:26:31 2011 +0200
11642 [gtk-demo] add source colorizer loosely based on PyGTK's pygtk-demo
11643 and GTK+'s gtk-demo code
11645 demos/gtk-demo/gtk-demo.py | 116
11646 +++++++++++++++++++++++++++++++++++++++------
11647 1 file changed, 101 insertions(+), 15 deletions(-)
11649 commit 250c36f4a8352ff1b31c1c85b156d3e803d4b8ef
11650 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11651 Date: Fri Aug 19 15:08:15 2011 +0200
11653 [gtk-demo] remove C-isms
11655 demos/gtk-demo/gtk-demo.py | 28 ++++++++++++++--------------
11656 1 file changed, 14 insertions(+), 14 deletions(-)
11658 commit cf35fe8e259e786d0fa21b08b1f5c64c9bb0a84e
11659 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11660 Date: Fri Aug 19 14:54:39 2011 +0200
11662 [gtk-demo] fix text on info tab to be more like GTK+'s gtk-demo
11664 demos/gtk-demo/gtk-demo.py | 4 ++--
11665 1 file changed, 2 insertions(+), 2 deletions(-)
11667 commit 241827208e25c72a990d8edd95a3b879470d6409
11668 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11669 Date: Fri Aug 19 14:40:56 2011 +0200
11671 [gtk-demo] remove duplicate storage of demos by only storing them
11672 in a TreeStore subclass
11674 This also moves demos loading code into the TreeStore subclass and
11675 demo loading code into the Demo class
11677 demos/gtk-demo/gtk-demo.py | 151
11678 +++++++++++++++++++++------------------------
11679 1 file changed, 70 insertions(+), 81 deletions(-)
11681 commit 58797c355a08a35375988881a17958bb42ad54bb
11682 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11683 Date: Fri Aug 19 14:40:00 2011 +0200
11685 [gtk-demo] make GtkDemoApp a Gtk.Window subclass and adapt main()
11686 to demonstrate the GLib.MainLoop
11688 demos/gtk-demo/gtk-demo.py | 43
11689 ++++++++++++++++++++++++++-----------------
11690 1 file changed, 26 insertions(+), 17 deletions(-)
11692 commit 1e4fc1ea54527cff78f6c633db39e9a0bd3c64d2
11693 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11694 Date: Fri Aug 19 11:46:17 2011 +0200
11696 [gtk-demo] correctly load demo code when cwd != demos/gtk-demo/
11698 demos/gtk-demo/gtk-demo.py | 39 +++++++++++++++++++++++----------------
11699 1 file changed, 23 insertions(+), 16 deletions(-)
11701 commit 6ffc999fbd4c9990fb5bde53ddd46d139b53245e
11702 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11703 Date: Fri Aug 19 11:02:35 2011 +0200
11705 [gtk-demo] drawingarea: fix labels
11707 demos/gtk-demo/demos/drawingarea.py | 4 ++--
11708 1 file changed, 2 insertions(+), 2 deletions(-)
11710 commit 9fd3986affe11cbc5a816adcccdc56d0592f3618
11711 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11712 Date: Fri Aug 19 09:57:31 2011 +0200
11714 [gtk-demo] fix imports
11716 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 6 ++++--
11717 demos/gtk-demo/demos/appwindow.py | 9 ++++++---
11718 demos/gtk-demo/gtk-demo.py | 8 ++++----
11719 3 files changed, 14 insertions(+), 9 deletions(-)
11721 commit 9f314babfdee3b82799e00ea003972b0bbe6a8d5
11722 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11723 Date: Fri Aug 19 10:07:14 2011 +0200
11725 [gtk-demo] fix shebang
11727 demos/gtk-demo/gtk-demo.py | 2 +-
11728 1 file changed, 1 insertion(+), 1 deletion(-)
11730 commit 01142060ae7d71a8a1f7d3e9bbc6f52e65f01c8d
11731 Author: Sebastian Pölsterl <sebp@k-d-w.org>
11732 Date: Fri Aug 19 12:27:04 2011 +0200
11734 Added support for __setitem__ to TreeModel and support for slices
11737 https://bugzilla.gnome.org/show_bug.cgi?id=656891
11739 gi/overrides/Gtk.py | 26 ++++++++++++++++++++--
11740 tests/test_overrides.py | 57
11741 +++++++++++++++++++++++++++++++++++++++++++++++++
11742 2 files changed, 81 insertions(+), 2 deletions(-)
11744 commit d6da96c65b2ed3cda238886990a624fbc31f6987
11745 Author: Olav Vitters <olav@vitters.nl>
11746 Date: Wed Aug 24 16:31:12 2011 +0200
11748 Convert ACCEL_* constants into Gtk.AccelFlags.
11750 pygi-convert.sh | 1 +
11751 1 file changed, 1 insertion(+)
11753 commit 0841d41698302abb5d987849a5874252564ed428
11754 Author: Olav Vitters <olav@vitters.nl>
11755 Date: Wed Aug 24 16:22:17 2011 +0200
11757 Convert TREE_VIEW_DROP_* constants into Gtk.TreeViewDropPosition
11759 pygi-convert.sh | 1 +
11760 1 file changed, 1 insertion(+)
11762 commit 37b0d0f9dc3d485829cae6e50da369fdea91a2d1
11763 Author: John (J5) Palmieri <johnp@redhat.com>
11764 Date: Thu Aug 18 14:06:32 2011 -0400
11766 post commit version bump
11768 configure.ac | 2 +-
11769 1 file changed, 1 insertion(+), 1 deletion(-)
11771 commit e51efc50835a14e0418cc27cc928c52d1aa6a3cf
11772 Author: John (J5) Palmieri <johnp@redhat.com>
11773 Date: Thu Aug 18 14:02:30 2011 -0400
11777 NEWS | 10 ++++++++++
11778 1 file changed, 10 insertions(+)
11780 commit 74c727b53fcf64f465ee77b5a1ea04a69ca90968
11781 Author: John (J5) Palmieri <johnp@redhat.com>
11782 Date: Thu Aug 18 13:50:51 2011 -0400
11784 remove tests that were removed from gi
11786 tests/test_gi.py | 11 -----------
11787 1 file changed, 11 deletions(-)
11789 commit 11ea24dd30d8eeca11c8433c6bd75b06e52ae1ef
11790 Author: John (J5) Palmieri <johnp@redhat.com>
11791 Date: Thu Aug 18 13:48:57 2011 -0400
11793 don't calculate item_size using is_pointer
11795 * is_pointer is poorly defined and cacluating item_size for
11796 arrays causes a crash in the tests because of this
11797 * disregaurd is_pointer when cacluating item sizes
11799 gi/pygi-info.c | 8 ++------
11800 1 file changed, 2 insertions(+), 6 deletions(-)
11802 commit 493b4a21dd162d78cf572b548b58ba6a9ff22971
11803 Author: Timo Vanwynsberghe <timovwb@gmail.com>
11804 Date: Wed Jul 6 01:50:31 2011 +0200
11806 Updated signal example to use GObject introspection
11808 https://bugzilla.gnome.org/show_bug.cgi?id=654162
11810 examples/signal.py | 9 ++++-----
11811 1 file changed, 4 insertions(+), 5 deletions(-)
11813 commit 0332010e704e253380e993874eab9dd122e59a7e
11814 Author: Timo Vanwynsberghe <timovwb@gmail.com>
11815 Date: Wed Jul 6 01:54:50 2011 +0200
11817 Updated properties example to use GObject introspection
11819 https://bugzilla.gnome.org/show_bug.cgi?id=654162
11821 examples/properties.py | 14 +++++++-------
11822 1 file changed, 7 insertions(+), 7 deletions(-)
11824 commit c39f4555ebd703651eca6f978ed9870655b737f0
11825 Author: Martin Pitt <martin.pitt@ubuntu.com>
11826 Date: Fri Aug 12 22:55:02 2011 +0200
11828 Add override for GLib.Variant.split_signature()
11830 This is useful for e. g. iterating over method parameters which are
11832 single Variant. In particular we will need it for automatically
11834 introspection XML for exported DBus server objects.
11836 gi/overrides/GLib.py | 50
11837 +++++++++++++++++++++++++++++++++++++++++++++++++
11838 tests/test_overrides.py | 22 ++++++++++++++++++++++
11839 2 files changed, 72 insertions(+)
11841 commit 735f98d83c1c19df7457aa32a378e8c80cf2831f
11842 Author: Timo Vanwynsberghe <timovwb@gmail.com>
11843 Date: Mon Aug 15 18:58:31 2011 +0200
11845 [pygi-convert.sh] Handle the import of pygtk and require Gtk 3.0
11847 https://bugzilla.gnome.org/show_bug.cgi?id=654001
11849 pygi-convert.sh | 2 ++
11850 1 file changed, 2 insertions(+)
11852 commit d0a96a0a75f2bc969522abce2d326ef440cf143a
11853 Author: Ignacio Casal Quinteiro <icq@gnome.org>
11854 Date: Mon Aug 15 13:12:49 2011 +0200
11856 Install pygobject.h again.
11858 This is needed by libpeas.
11860 gi/_gobject/Makefile.am | 5 ++++-
11861 pygobject-3.0-uninstalled.pc.in | 4 ++--
11862 pygobject-3.0.pc.in | 6 +++---
11863 3 files changed, 9 insertions(+), 6 deletions(-)
11865 commit 081dc2eb03b677eac9f08d3ad05deecc7c51554c
11866 Author: John (J5) Palmieri <johnp@redhat.com>
11867 Date: Sun Aug 14 11:20:15 2011 -0400
11869 update the doap file
11871 pygobject.doap | 26 ++++++++++++++------------
11872 1 file changed, 14 insertions(+), 12 deletions(-)
11874 commit 762a36d2343bc39a502507d600fd1b9db9649dae
11875 Author: John (J5) Palmieri <johnp@redhat.com>
11876 Date: Sun Aug 14 11:13:25 2011 -0400
11880 configure.ac | 2 +-
11881 1 file changed, 1 insertion(+), 1 deletion(-)
11883 commit d3f85a61ec4b1a1d04838f73dc8d862258150048
11884 Author: John (J5) Palmieri <johnp@redhat.com>
11885 Date: Sun Aug 14 10:13:37 2011 -0400
11887 get things ready for release
11890 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
11891 1 file changed, 194 insertions(+)
11893 commit ffd057649380d4249c1c52e1225e3646f3994bc6
11894 Author: John (J5) Palmieri <johnp@redhat.com>
11895 Date: Sun Aug 14 05:26:18 2011 -0400
11897 pass exta keywords to the Box constructor
11899 gi/overrides/Gtk.py | 4 ++--
11900 1 file changed, 2 insertions(+), 2 deletions(-)
11902 commit cadbd4142bd0045368b5123d4b0a1876bdd5d798
11903 Author: John (J5) Palmieri <johnp@redhat.com>
11904 Date: Sat Aug 13 11:03:07 2011 -0400
11906 add (Tree|List)Store set method override
11908 gi/overrides/Gtk.py | 50 ++++++++++++++++++++++++
11909 tests/test_overrides.py | 102
11910 ++++++++++++++++++++++++++++++++++++++++++++++--
11911 2 files changed, 149 insertions(+), 3 deletions(-)
11913 commit 9ee9b22bd95e44bd2eca26e7bf3b0a9a988700c5
11914 Author: John (J5) Palmieri <johnp@redhat.com>
11915 Date: Sat Aug 13 09:19:29 2011 -0400
11917 add test for object arrays
11919 tests/test_everything.py | 6 ++++++
11920 1 file changed, 6 insertions(+)
11922 commit c9d9ffd0380878792cbdb13dec4e53be897e5fbc
11923 Author: John (J5) Palmieri <johnp@redhat.com>
11924 Date: Sat Aug 13 08:46:18 2011 -0400
11926 only support C pointer arrays for structs and objects
11928 * There is no way to know if an array of structs or objects are
11930 or flat arrays. Since pointer arrays are the most useful and
11932 it has been decided to only support those arrays
11934 gi/pygi-marshal-out.c | 2 +-
11935 tests/test_gi.py | 8 --------
11936 2 files changed, 1 insertion(+), 9 deletions(-)
11938 commit b12379de1790b72d51883bf7b63c892639a892e7
11939 Author: John (J5) Palmieri <johnp@redhat.com>
11940 Date: Sat Aug 13 06:31:52 2011 -0400
11942 revert Gtk.Window override because it causes issues with subclasses
11944 gi/overrides/Gtk.py | 9 ---------
11945 1 file changed, 9 deletions(-)
11947 commit 3e64a62d6d7f9e9d2820aad54187ef9c34710a1f
11948 Author: Jonathan Matthew <jonathan@d14n.org>
11949 Date: Thu Apr 7 21:05:32 2011 +1000
11951 take GIL in _pygi_invoke_closure_free (bug #647016)
11953 gi/pygi-closure.c | 3 +++
11954 1 file changed, 3 insertions(+)
11956 commit f8de9b8615f5dc30f492781d792aef5fc1e9ab73
11957 Author: Johan Dahlin <jdahlin@litl.com>
11958 Date: Mon Jun 27 00:41:24 2011 -0300
11960 Add a default parameter to GtkTreeModel.filter_new
11962 https://bugzilla.gnome.org/show_bug.cgi?id=653462
11964 gi/overrides/Gtk.py | 3 +++
11965 1 file changed, 3 insertions(+)
11967 commit 583d0b3c6b53712128d7c2d5f075000a2a76ae5f
11968 Author: Johan Dahlin <jdahlin@litl.com>
11969 Date: Mon Jun 27 00:40:12 2011 -0300
11971 Add vbox/action_area properties
11973 Accessing vbox/action_area directly creates segmentation fault,
11974 avoid that by mapping the fields to their getters for PyGTK
11977 https://bugzilla.gnome.org/show_bug.cgi?id=653462
11979 gi/overrides/Gtk.py | 3 +++
11980 1 file changed, 3 insertions(+)
11982 commit 017fdfc1dd06259006719e02ffa48883cee01ffd
11983 Author: Johan Dahlin <jdahlin@litl.com>
11984 Date: Mon Jun 27 00:39:41 2011 -0300
11986 Add a couple of constructors
11988 This is for PyGTK compatibility, so that gtk.HBox(True, 2) etc
11991 https://bugzilla.gnome.org/show_bug.cgi?id=653462
11993 gi/overrides/Gtk.py | 40 ++++++++++++++++++++++++++++++++++++++++
11994 1 file changed, 40 insertions(+)
11996 commit af8bc9d5cdba48a7ee728ccb7ea9039df3ecceba
11997 Author: Johan Dahlin <jdahlin@litl.com>
11998 Date: Mon Jun 27 00:38:30 2011 -0300
12000 Do not always pass in user_data to callbacks.
12002 This keeps API compatibility with PyGTK and avoids sending
12003 in user_data if it's None.
12005 https://bugzilla.gnome.org/show_bug.cgi?id=653462
12007 gi/overrides/Gtk.py | 15 ++++++++++++---
12008 1 file changed, 12 insertions(+), 3 deletions(-)
12010 commit 7914d814350af1a18bdeda64f049c8e9a68d1d18
12011 Author: Johan Dahlin <jdahlin@litl.com>
12012 Date: Mon Jun 27 00:38:20 2011 -0300
12014 Add a default detail value for Widget.render_icon
12016 https://bugzilla.gnome.org/show_bug.cgi?id=653462
12018 gi/overrides/Gtk.py | 3 +++
12019 1 file changed, 3 insertions(+)
12021 commit 5b1c875269b7979caae97e84919a690a34d92f29
12022 Author: Johan Dahlin <jdahlin@litl.com>
12023 Date: Mon Jun 27 00:36:20 2011 -0300
12025 Add an override for Gdk.color_parse()
12027 Change Gdk.color_parse() to not return a tuple, instead just
12028 return the created color or None if it wasn't possible to parse
12029 the name into a color.
12031 This keeps compatibility with PyGTK but breaks the current API.
12033 https://bugzilla.gnome.org/show_bug.cgi?id=653462
12035 gi/overrides/Gdk.py | 8 ++++++++
12036 1 file changed, 8 insertions(+)
12038 commit 187a2932bbf1e724f759ff3ed3392fc7341c6aa8
12039 Author: Laszlo Pandy <lpandy@src.gnome.org>
12040 Date: Mon Aug 8 12:06:18 2011 +0200
12042 Support function calling with keyword arguments in invoke.
12044 https://bugzilla.gnome.org/show_bug.cgi?id=625596
12046 gi/pygi-cache.c | 39 ++++++++++++
12047 gi/pygi-cache.h | 4 ++
12048 gi/pygi-invoke.c | 162
12049 +++++++++++++++++++++++++++++++++++++++++++++--
12050 gi/types.py | 12 ++--
12051 tests/test_everything.py | 2 +-
12052 tests/test_gi.py | 58 +++++++++++++++++
12053 6 files changed, 265 insertions(+), 12 deletions(-)
12055 commit e5df32ffbf37481dbb6a70c4d4e7b7b9778c5549
12056 Author: John (J5) Palmieri <johnp@redhat.com>
12057 Date: Sat Aug 13 04:13:28 2011 -0400
12059 remove references to deprecated GI_INFO_TYPE_ERROR_DOMAIN
12061 gi/pygi-info.c | 5 -----
12062 1 file changed, 5 deletions(-)
12064 commit 745001178fc72be5626c7211366d694f41162987
12065 Author: Martin Pitt <martin.pitt@ubuntu.com>
12066 Date: Thu Aug 11 15:11:42 2011 +0200
12068 Fix gobject vs. gi.repository warning
12070 Check the warning earlier and fix the operator, so that it actually
12072 update the warning to explain how to fix the problem.
12074 gi/_gobject/__init__.py | 8 ++++----
12075 1 file changed, 4 insertions(+), 4 deletions(-)
12077 commit 25d2d05cba05414cd4551e0e06f6286a9b97a509
12078 Author: John (J5) Palmieri <johnp@redhat.com>
12079 Date: Fri Jul 22 15:46:31 2011 -0400
12081 make GObject and GLib able to take overrides
12083 * derive directly from DynamicModule instead of InterfaceModule
12085 https://bugzilla.gnome.org/show_bug.cgi?id=642048
12087 gi/importer.py | 11 +++---
12089 ++++++++++++++++++++++++++++-----------------------------
12090 2 files changed, 64 insertions(+), 65 deletions(-)
12092 commit 698b2284e29c0f699198cf6a22eeb0e399daba6e
12093 Author: John (J5) Palmieri <johnp@redhat.com>
12094 Date: Fri Jul 22 15:45:09 2011 -0400
12096 avoid dependency issue by importing the internal gobject
12098 https://bugzilla.gnome.org/show_bug.cgi?id=642048
12100 gi/__init__.py | 2 +-
12101 1 file changed, 1 insertion(+), 1 deletion(-)
12103 commit 7b068ebe59884ebd9aeb4425dc80cdff73a66fb1
12104 Author: John (J5) Palmieri <johnp@redhat.com>
12105 Date: Fri Jul 22 14:13:02 2011 -0400
12107 fix tests to use the new GLib module
12109 https://bugzilla.gnome.org/show_bug.cgi?id=642048
12111 tests/test_mainloop.py | 7 +++----
12112 tests/test_option.py | 3 ++-
12113 tests/test_source.py | 24 +++++++++++-------------
12114 tests/test_subprocess.py | 12 +++++-------
12115 tests/test_thread.py | 10 ++++------
12116 tests/test_uris.py | 4 ++--
12117 6 files changed, 27 insertions(+), 33 deletions(-)
12119 commit 191ef79315f8a5641699536fde58da18e23ef904
12120 Author: John (J5) Palmieri <johnp@redhat.com>
12121 Date: Fri Jul 22 14:11:53 2011 -0400
12123 add DynamicGLibModule which works like DynamicGObjectModule
12125 https://bugzilla.gnome.org/show_bug.cgi?id=642048
12127 gi/importer.py | 7 +++++--
12128 gi/module.py | 32 +++++++++++++++++++++++++++++---
12129 2 files changed, 34 insertions(+), 5 deletions(-)
12131 commit fbd4a8263260c187211799454c08b1e55e2cb998
12132 Author: John (J5) Palmieri <johnp@redhat.com>
12133 Date: Fri Jul 22 12:27:41 2011 -0400
12135 refactor, add objects and types to the correct internal module
12137 https://bugzilla.gnome.org/show_bug.cgi?id=642048
12139 gi/_glib/pygiochannel.c | 38 +++++++++++++++++++-------------------
12140 gi/_glib/pygmaincontext.c | 2 +-
12141 gi/_glib/pygmainloop.c | 4 ++--
12142 gi/_glib/pygoptioncontext.c | 4 ++--
12143 gi/_glib/pygoptiongroup.c | 4 ++--
12144 gi/_glib/pygsource.c | 14 +++++++-------
12145 gi/_glib/pygspawn.c | 14 +++++++-------
12146 7 files changed, 40 insertions(+), 40 deletions(-)
12148 commit 7431b49a161df9178c55b814d3adff992ac2d722
12149 Author: John (J5) Palmieri <johnp@redhat.com>
12150 Date: Fri Jul 22 12:26:32 2011 -0400
12152 rename the pyglib shared library so we don't load the old one
12154 https://bugzilla.gnome.org/show_bug.cgi?id=642048
12156 gi/Makefile.am | 2 +-
12157 gi/_glib/Makefile.am | 10 +++++-----
12158 gi/_gobject/Makefile.am | 2 +-
12159 3 files changed, 7 insertions(+), 7 deletions(-)
12161 commit b8700451acd4a19b59b64fc8641fca748d2189e2
12162 Author: John (J5) Palmieri <johnp@redhat.com>
12163 Date: Fri Jul 22 11:20:09 2011 -0400
12165 refactor tests to only use PyGObject 3 syntax
12167 * for PyGObject 3 we want to discourage the use of legacy
12169 * Using interfaces like from gi.repository import GObject makes
12170 sure that the internal _gobject module is loaded and not
12171 PyGObject 2's gobject module which would cause the application
12172 to not work correctly
12174 https://bugzilla.gnome.org/show_bug.cgi?id=642048
12176 tests/runtests-windows.py | 4 +-
12177 tests/test_gdbus.py | 12 ++---
12178 tests/test_gi.py | 4 +-
12179 tests/test_gobject.py | 31 ++++++------
12180 tests/test_interface.py | 16 +++---
12181 tests/test_mainloop.py | 3 +-
12182 tests/test_overrides.py | 8 +--
12183 tests/test_properties.py | 124
12184 +++++++++++++++++++++++-----------------------
12185 tests/test_signal.py | 98 ++++++++++++++++++------------------
12186 tests/test_source.py | 5 +-
12187 tests/test_subprocess.py | 3 +-
12188 tests/test_thread.py | 5 +-
12189 tests/test_unknown.py | 8 +--
12190 tests/testhelpermodule.c | 2 +-
12191 tests/testmodule.py | 10 ++--
12192 15 files changed, 169 insertions(+), 164 deletions(-)
12194 commit c980dae21468fe073cc8782608148c346bb90ad7
12195 Author: John (J5) Palmieri <johnp@redhat.com>
12196 Date: Fri Jul 22 11:16:00 2011 -0400
12198 refactor the internal _glib module to import correct modules
12200 https://bugzilla.gnome.org/show_bug.cgi?id=642048
12202 gi/_glib/__init__.py | 3 ++-
12203 gi/_glib/glibmodule.c | 10 +++++-----
12204 gi/_glib/option.py | 4 ++--
12205 gi/_glib/pyglib.c | 18 +++++++++---------
12206 4 files changed, 18 insertions(+), 17 deletions(-)
12208 commit 65ac35cca8d24f4c133991e1c6ac02f49416a9a4
12209 Author: John (J5) Palmieri <johnp@redhat.com>
12210 Date: Fri Jul 22 11:10:46 2011 -0400
12212 refactor to use the new internal _glib and _gobject modules
12214 * use relative imports instead of aboslute
12215 * fix the C imports to import the internal _gobject libs
12216 * add a check to see if the PyGObject 2 gobject module
12217 was already imported
12219 https://bugzilla.gnome.org/show_bug.cgi?id=642048
12221 gi/_gobject/__init__.py | 20 +++++++++++++-------
12222 gi/_gobject/constants.py | 3 +--
12223 gi/_gobject/gobjectmodule.c | 2 +-
12224 gi/_gobject/propertyhelper.py | 11 +++++------
12225 gi/_gobject/pygobject.c | 16 ++++++++--------
12226 gi/_gobject/pygobject.h | 2 +-
12227 6 files changed, 29 insertions(+), 25 deletions(-)
12229 commit 59ed1289f76bc287443b3974710ea0da3e2cc8cc
12230 Author: John (J5) Palmieri <johnp@redhat.com>
12231 Date: Fri Jul 22 11:07:10 2011 -0400
12233 refactor gi module to import and use internal _gobject module
12235 https://bugzilla.gnome.org/show_bug.cgi?id=642048
12237 gi/importer.py | 2 --
12238 gi/module.py | 31 ++++++++++++++++---------------
12239 gi/overrides/Gtk.py | 2 +-
12240 gi/overrides/__init__.py | 6 +++---
12241 gi/pygobject-external.h | 2 +-
12242 gi/types.py | 12 ++++++------
12243 6 files changed, 27 insertions(+), 28 deletions(-)
12245 commit 6b9d738d78c6ac45d49f00402c89356887555069
12246 Author: John (J5) Palmieri <johnp@redhat.com>
12247 Date: Fri Jul 22 11:02:49 2011 -0400
12249 move the static bits internal to gi and refactor build files
12251 * the glib module now becomes the gi._glib module
12252 * the gobject module now becomes the gi._gobject module
12253 * we do this so we can install in parallel with PyGObject 2
12255 https://bugzilla.gnome.org/show_bug.cgi?id=642048
12258 configure.ac | 6 +-
12259 gi/Makefile.am | 8 +-
12260 gi/_glib/Makefile.am | 58 +
12261 gi/_glib/__init__.py | 25 +
12262 gi/_glib/glibmodule.c | 969 ++++++++++++++
12263 gi/_glib/option.py | 358 ++++++
12264 gi/_glib/pygiochannel.c | 764 ++++++++++++
12265 gi/_glib/pygiochannel.h | 29 +
12266 gi/_glib/pyglib-private.h | 49 +
12267 gi/_glib/pyglib-python-compat.h | 245 ++++
12268 gi/_glib/pyglib.c | 633 ++++++++++
12269 gi/_glib/pyglib.h | 83 ++
12270 gi/_glib/pygmaincontext.c | 126 ++
12271 gi/_glib/pygmaincontext.h | 40 +
12272 gi/_glib/pygmainloop.c | 360 ++++++
12273 gi/_glib/pygmainloop.h | 36 +
12274 gi/_glib/pygoptioncontext.c | 337 +++++
12275 gi/_glib/pygoptioncontext.h | 39 +
12276 gi/_glib/pygoptiongroup.c | 298 +++++
12277 gi/_glib/pygoptiongroup.h | 42 +
12278 gi/_glib/pygsource.c | 725 +++++++++++
12279 gi/_glib/pygsource.h | 39 +
12280 gi/_glib/pygspawn.c | 264 ++++
12281 gi/_glib/pygspawn.h | 32 +
12282 gi/_gobject/Makefile.am | 71 ++
12283 gi/_gobject/__init__.py | 117 ++
12284 gi/_gobject/constants.py | 83 ++
12285 gi/_gobject/ffi-marshaller.c | 194 +++
12286 gi/_gobject/ffi-marshaller.h | 31 +
12287 gi/_gobject/gobjectmodule.c | 2638
12288 +++++++++++++++++++++++++++++++++++++++
12289 gi/_gobject/propertyhelper.py | 312 +++++
12290 gi/_gobject/pygboxed.c | 234 ++++
12291 gi/_gobject/pygboxed.h | 27 +
12292 gi/_gobject/pygenum.c | 366 ++++++
12293 gi/_gobject/pygenum.h | 27 +
12294 gi/_gobject/pygflags.c | 485 +++++++
12295 gi/_gobject/pygflags.h | 27 +
12296 gi/_gobject/pyginterface.c | 122 ++
12297 gi/_gobject/pyginterface.h | 40 +
12298 gi/_gobject/pygobject-private.h | 241 ++++
12299 gi/_gobject/pygobject.c | 2397
12300 +++++++++++++++++++++++++++++++++++
12301 gi/_gobject/pygobject.h | 667 ++++++++++
12302 gi/_gobject/pygparamspec.c | 404 ++++++
12303 gi/_gobject/pygparamspec.h | 31 +
12304 gi/_gobject/pygpointer.c | 198 +++
12305 gi/_gobject/pygpointer.h | 27 +
12306 gi/_gobject/pygtype.c | 1844 +++++++++++++++++++++++++++
12307 gi/_gobject/pygtype.h | 28 +
12308 glib/Makefile.am | 61 -
12309 glib/__init__.py | 25 -
12310 glib/glibmodule.c | 969 --------------
12311 glib/option.py | 358 ------
12312 glib/pygiochannel.c | 764 ------------
12313 glib/pygiochannel.h | 29 -
12314 glib/pyglib-private.h | 49 -
12315 glib/pyglib-python-compat.h | 245 ----
12316 glib/pyglib.c | 633 ----------
12317 glib/pyglib.h | 83 --
12318 glib/pygmaincontext.c | 126 --
12319 glib/pygmaincontext.h | 40 -
12320 glib/pygmainloop.c | 360 ------
12321 glib/pygmainloop.h | 36 -
12322 glib/pygoptioncontext.c | 337 -----
12323 glib/pygoptioncontext.h | 39 -
12324 glib/pygoptiongroup.c | 298 -----
12325 glib/pygoptiongroup.h | 42 -
12326 glib/pygsource.c | 725 -----------
12327 glib/pygsource.h | 39 -
12328 glib/pygspawn.c | 264 ----
12329 glib/pygspawn.h | 32 -
12330 gobject/Makefile.am | 73 --
12331 gobject/__init__.py | 117 --
12332 gobject/constants.py | 83 --
12333 gobject/ffi-marshaller.c | 194 ---
12334 gobject/ffi-marshaller.h | 31 -
12335 gobject/gobjectmodule.c | 2638
12336 ---------------------------------------
12337 gobject/propertyhelper.py | 312 -----
12338 gobject/pygboxed.c | 234 ----
12339 gobject/pygboxed.h | 27 -
12340 gobject/pygenum.c | 366 ------
12341 gobject/pygenum.h | 27 -
12342 gobject/pygflags.c | 485 -------
12343 gobject/pygflags.h | 27 -
12344 gobject/pyginterface.c | 122 --
12345 gobject/pyginterface.h | 40 -
12346 gobject/pygobject-private.h | 241 ----
12347 gobject/pygobject.c | 2397
12348 -----------------------------------
12349 gobject/pygobject.h | 667 ----------
12350 gobject/pygparamspec.c | 404 ------
12351 gobject/pygparamspec.h | 31 -
12352 gobject/pygpointer.c | 198 ---
12353 gobject/pygpointer.h | 27 -
12354 gobject/pygtype.c | 1844 ---------------------------
12355 gobject/pygtype.h | 28 -
12356 tests/Makefile.am | 2 +-
12357 96 files changed, 16172 insertions(+), 16175 deletions(-)
12359 commit f0d2ddcf7e61c36f79a9adf8ccc53bf3db9349d3
12360 Author: John (J5) Palmieri <johnp@redhat.com>
12361 Date: Mon Jul 18 18:46:31 2011 -0400
12365 https://bugzilla.gnome.org/show_bug.cgi?id=642048
12367 Makefile.am | 5 ----
12369 -------------------------------------------------------------
12370 2 files changed, 100 deletions(-)
12372 commit 75e9f7d80d9224c05e6063b88479f1baee48c489
12373 Author: John (J5) Palmieri <johnp@redhat.com>
12374 Date: Mon Jul 18 18:41:41 2011 -0400
12376 introspection is no longer optional
12378 https://bugzilla.gnome.org/show_bug.cgi?id=642048
12380 Makefile.am | 8 +-------
12381 configure.ac | 43 +++++++++++++++++--------------------------
12382 gi/pygi.h | 37 -------------------------------------
12383 gobject/Makefile.am | 5 +----
12384 tests/Makefile.am | 7 +------
12385 5 files changed, 20 insertions(+), 80 deletions(-)
12387 commit d862168d6a82edd59547d39f5b0ab8279b1e511c
12388 Author: John (J5) Palmieri <johnp@redhat.com>
12389 Date: Mon Jul 18 18:28:50 2011 -0400
12391 up platform version to 3.0
12393 https://bugzilla.gnome.org/show_bug.cgi?id=642048
12396 configure.ac | 4 ++--
12397 pygobject-2.0-uninstalled.pc.in | 18 ------------------
12398 pygobject-2.0.pc.in | 22 ----------------------
12399 pygobject-3.0-uninstalled.pc.in | 18 ++++++++++++++++++
12400 pygobject-3.0.pc.in | 22 ++++++++++++++++++++++
12401 6 files changed, 43 insertions(+), 43 deletions(-)
12403 commit 5189b360ccddbbaee267ce857968fbf1aafdd07a
12404 Author: Martin Pitt <martin.pitt@ubuntu.com>
12405 Date: Thu Aug 11 09:53:15 2011 +0200
12407 [gi] Handle GVariants from callback return values
12409 Callbacks still use GIArgument, add missing GVariant support for
12412 gi/pygi-argument.c | 6 ++++--
12413 1 file changed, 4 insertions(+), 2 deletions(-)
12415 commit 18a240cc492d2e5ebe2709a0d7155e27c8ff9e63
12416 Author: Martin Pitt <martin.pitt@ubuntu.com>
12417 Date: Wed Aug 10 14:11:10 2011 +0200
12419 Handle GVariants for callback arguments
12421 Callbacks still use GIArgument, add missing GVariant support. This
12423 equivalent of what commit 9d5604220bd56 did for pygi_marshall_*().
12425 gi/pygi-argument.c | 7 +++++++
12426 1 file changed, 7 insertions(+)
12428 commit aa820d6ce2fee83e61e3e9de7c6b7d2452e2847d
12429 Author: Laszlo Pandy <lpandy@src.gnome.org>
12430 Date: Mon Aug 8 01:58:10 2011 +0200
12432 [gi] Fix crash: check return value of
12433 _invoke_state_init_from_callable_cache() before continuing.
12435 gi/pygi-invoke.c | 4 +++-
12436 1 file changed, 3 insertions(+), 1 deletion(-)
12438 commit eaad9f3c71cedfe28ff2d2bb05ea6c64e323715f
12439 Author: Laszlo Pandy <lpandy@src.gnome.org>
12440 Date: Fri Aug 5 21:03:33 2011 +0200
12442 [gi] Pass gtype as first parameter to vfuncs (instead of using
12445 gi/pygi-invoke.c | 32 ++++++++++++++++++--------------
12447 2 files changed, 19 insertions(+), 15 deletions(-)
12449 commit 76edfd0d5776f61c92c84fd9fb8dcc246c580e93
12450 Author: John (J5) Palmieri <johnp@redhat.com>
12451 Date: Mon Jul 18 18:21:51 2011 -0400
12456 codegen/Makefile.am | 33 -
12457 codegen/README.defs | 351 --------
12458 codegen/__init__.py | 16 -
12459 codegen/argtypes.py | 1043 -----------------------
12460 codegen/code-coverage.py | 44 -
12461 codegen/codegen.py | 1722
12462 --------------------------------------
12463 codegen/createdefs.py | 17 -
12464 codegen/definitions.py | 575 -------------
12465 codegen/defsconvert.py | 132 ---
12466 codegen/defsgen.py | 737 ----------------
12467 codegen/defsparser.py | 153 ----
12468 codegen/docextract.py | 461 ----------
12469 codegen/docextract_to_xml.py | 142 ----
12470 codegen/docgen.py | 766 -----------------
12471 codegen/h2def.py | 631 --------------
12472 codegen/mergedefs.py | 26 -
12473 codegen/missingdefs.py | 17 -
12474 codegen/mkskel.py | 89 --
12475 codegen/override.py | 285 -------
12476 codegen/pygobject-codegen-2.0.in | 11 -
12477 codegen/reversewrapper.py | 912 --------------------
12478 codegen/scanvirtuals.py | 54 --
12479 codegen/scmexpr.py | 143 ----
12481 pygobject-2.0-uninstalled.pc.in | 1 -
12482 pygobject-2.0.pc.in | 1 -
12483 27 files changed, 1 insertion(+), 8368 deletions(-)
12485 commit bf284c7c47c3e52ab4d8700327a170903e9ebad2
12486 Author: John (J5) Palmieri <johnp@redhat.com>
12487 Date: Mon Jul 18 11:04:58 2011 -0400
12489 remove some left over ifdefs to complete merge of the invoke-rewrite
12492 gi/pygi-cache.h | 2 --
12493 gi/pygi-info.c | 2 --
12494 gi/pygi-private.h | 5 +----
12496 4 files changed, 1 insertion(+), 10 deletions(-)
12498 commit 8c653ec3033fab47c4bb4071b5732a349357141f
12499 Author: John (J5) Palmieri <johnp@redhat.com>
12500 Date: Mon Jul 18 10:59:45 2011 -0400
12502 rename pygi-invoke-ng to pygi-invoke
12504 gi/Makefile.am | 3 +-
12505 gi/pygi-invoke-ng.c | 464
12506 ----------------------------------------------------
12507 gi/pygi-invoke.c | 464
12508 ++++++++++++++++++++++++++++++++++++++++++++++++++++
12509 3 files changed, 466 insertions(+), 465 deletions(-)
12511 commit 62d59fa2c2b31d7a3cac8996d58234d4b13bb19f
12512 Author: John (J5) Palmieri <johnp@redhat.com>
12513 Date: Mon Jul 18 10:56:36 2011 -0400
12515 make invoke-ng the only invoker
12517 configure.ac | 11 -
12518 gi/Makefile.am | 10 +-
12519 gi/pygi-invoke.c | 1030
12520 ------------------------------------------------------
12521 3 files changed, 1 insertion(+), 1050 deletions(-)
12523 commit 2937cfe5bb7122dd3783c7919294d6a34a3dfc05
12524 Merge: 519e556 917ea2d
12525 Author: John (J5) Palmieri <johnp@redhat.com>
12526 Date: Mon Jul 18 10:45:18 2011 -0400
12528 Merge branch 'master' into invoke-rewrite
12530 commit 519e556dc1e5874e1668bad93043fb9258c7ee79
12531 Merge: bab7e88 38cca3c
12532 Author: John (J5) Palmieri <johnp@redhat.com>
12533 Date: Mon Jul 18 10:37:20 2011 -0400
12535 Merge branch 'master' into invoke-rewrite
12537 commit bab7e88251bffcd360186c6dedc26be8eb077084
12538 Author: John (J5) Palmieri <johnp@redhat.com>
12539 Date: Mon Jul 18 10:35:10 2011 -0400
12541 split the marshalling routines into two source files
12543 * update copy and paste copyright info to list the correct owner
12545 gi/Makefile.am | 6 +-
12546 gi/pygi-cache.c | 3 +-
12547 gi/pygi-marshal-in.c | 1412 ++++++++++++++++++++++++++++++++
12548 gi/pygi-marshal-in.h | 186 +++++
12549 gi/pygi-marshal-out.c | 767 ++++++++++++++++++
12550 gi/pygi-marshal-out.h | 144 ++++
12551 gi/pygi-marshal.c | 2145
12552 -------------------------------------------------
12553 gi/pygi-marshal.h | 303 -------
12554 8 files changed, 2515 insertions(+), 2451 deletions(-)
12556 commit 917ea2dfa2d097e563233145003a66b3e4423287
12557 Author: Martin Pitt <martin.pitt@ubuntu.com>
12558 Date: Thu Jul 14 11:21:10 2011 +0200
12560 Ship tests/te_ST@nouppera in release tarballs for tests to succeed
12562 tests/Makefile.am | 1 +
12563 1 file changed, 1 insertion(+)
12565 commit e024e832ab9c82d3e299cc6e1cb427de44f2d16e
12566 Author: John (J5) Palmieri <johnp@redhat.com>
12567 Date: Wed Jul 13 15:43:02 2011 -0400
12569 [invoke] break out caller_allocates allocating into its own function
12571 gi/pygi-invoke-ng.c | 78
12572 +++++++++++++++++++++++++++++++++--------------------
12573 1 file changed, 49 insertions(+), 29 deletions(-)
12575 commit fc8b8ce768ac780f7ed9edc63b70dd35194153c0
12576 Author: John (J5) Palmieri <johnp@redhat.com>
12577 Date: Wed Jul 13 15:42:26 2011 -0400
12579 [invoke] missed a bit when removing constructor_class usage
12581 gi/pygi-invoke-ng.c | 2 +-
12582 1 file changed, 1 insertion(+), 1 deletion(-)
12584 commit c94bcf4ae7e36f90c356c89712b00609f9f849bd
12585 Author: John (J5) Palmieri <johnp@redhat.com>
12586 Date: Wed Jul 13 15:16:17 2011 -0400
12588 [invoke] don't hold on to the constructor class, just add a TODO
12590 gi/pygi-invoke-ng.c | 11 +++++------
12591 gi/pygi-invoke-state-struct.h | 1 -
12592 2 files changed, 5 insertions(+), 7 deletions(-)
12594 commit c11d3195f324ea41e86e3da7ff99b55425c2faec
12595 Author: Martin Pitt <martin.pitt@ubuntu.com>
12596 Date: Wed Jul 13 10:40:25 2011 +0200
12598 [gi] Port test_properties from static gio to GI Gio
12600 As we ripped out the static gio bindings a while ago, this test case
12602 the system installed gio bindings with Python 2, and now fails
12604 Python 3. Rewrite it to use gi.repository.Gio.
12606 tests/test_properties.py | 38 +++++++++++++++++++-------------------
12607 1 file changed, 19 insertions(+), 19 deletions(-)
12609 commit 8f89ff24fcac627ce15ca93038711fded1a7c5ed
12610 Author: Martin Pitt <martin.pitt@ubuntu.com>
12611 Date: Wed Jul 13 08:42:22 2011 +0200
12613 [python3] Fix maketrans import
12615 Python3 moved the maketrans() function from the string module to a
12617 This unbreaks gi/module.py for Python 3 again.
12619 gi/module.py | 8 ++++++--
12620 1 file changed, 6 insertions(+), 2 deletions(-)
12622 commit 20aea4b052126fa0bface3e6e0dccfd77f9505b1
12623 Author: John (J5) Palmieri <johnp@redhat.com>
12624 Date: Fri Jul 8 14:39:22 2011 -0400
12626 [caching] remove all inline compiler flags
12628 gi/pygi-cache.c | 96
12629 ++++++++++++++++++++++++++++-----------------------------
12630 1 file changed, 48 insertions(+), 48 deletions(-)
12632 commit bf7bb79b66ad406063fb443e7452d830c55986ef
12633 Author: John (J5) Palmieri <johnp@redhat.com>
12634 Date: Fri Jul 8 14:35:20 2011 -0400
12636 [caching] refactor function names to be less confusing
12638 gi/pygi-cache.c | 307
12639 +++++++++++++++++++++++++++-----------------------------
12640 1 file changed, 150 insertions(+), 157 deletions(-)
12642 commit c167a9345b01c070bd5a84b4a4b3a53baf9e217d
12643 Author: John (J5) Palmieri <johnp@redhat.com>
12644 Date: Fri Jul 8 11:24:09 2011 -0400
12646 [overrides] deprecate the use of type keyword MessageDialog
12649 * pygtk used type to determine the "type" of message dialog to
12651 use the proper property name "message_type" since we should not be
12652 overriding a reserved word
12653 * to keep compat with pygtk we check the kwds hash for the key
12655 assign it to message_type while throwing a deprecation warning
12656 * also add a deprication warning when trying to use the depricated
12660 gi/overrides/Gtk.py | 13 ++++++++-----
12661 1 file changed, 8 insertions(+), 5 deletions(-)
12663 commit 367e4ededd4a45125157050bcc9e4e685fd4a82d
12664 Author: Martin Pitt <martin.pitt@ubuntu.com>
12665 Date: Fri Jul 8 10:15:53 2011 +0200
12667 gdbus tests: Fix hang if test case fails
12669 In the TestGDBusClient.test_native_calls_async() test case, the main
12671 never quit when the call failed.
12673 tests/test_gdbus.py | 6 ++++--
12674 1 file changed, 4 insertions(+), 2 deletions(-)
12676 commit 11b578400cbf9f7c270b662a5e8953ccd466e5ef
12677 Author: John (J5) Palmieri <johnp@redhat.com>
12678 Date: Thu Jul 7 19:30:11 2011 -0400
12680 use an enum instead of booleans to denote function type
12682 gi/pygi-cache.c | 85
12683 ++++++++++++++++++++++++++++++-----------------------
12684 gi/pygi-cache.h | 18 +++++++++---
12685 gi/pygi-invoke-ng.c | 8 ++---
12686 3 files changed, 67 insertions(+), 44 deletions(-)
12688 commit 10e31005baec26f61c0f8fca2b5c0337b0be6c70
12689 Author: John (J5) Palmieri <johnp@redhat.com>
12690 Date: Thu Jul 7 15:18:03 2011 -0400
12692 rename aux arguments to child arguments to make their purpose clearer
12694 gi/pygi-cache.c | 64
12695 ++++++++++++++++++++++++++---------------------------
12696 gi/pygi-cache.h | 29 ++++++++++++++++--------
12697 gi/pygi-invoke-ng.c | 10 ++++-----
12698 gi/pygi-marshal.c | 12 +++++-----
12699 4 files changed, 63 insertions(+), 52 deletions(-)
12701 commit b4ad91c40f713ebdc278ce40b011e4adf9ddbbd7
12702 Author: Timo Vanwynsberghe <timovwb@gmail.com>
12703 Date: Thu Jul 7 10:59:08 2011 +0200
12705 Fixed the cairo example
12707 https://bugzilla.gnome.org/show_bug.cgi?id=653844
12709 examples/cairo-demo.py | 6 ++----
12710 1 file changed, 2 insertions(+), 4 deletions(-)
12712 commit a606bab1ddc605167f2e9dc7c46c8f929fdce23b
12713 Author: Adam Dingle <adam@yorba.org>
12714 Date: Tue Jul 5 14:28:20 2011 -0700
12716 Add override binding for Gtk.ListStore.prepend().
12718 https://bugzilla.gnome.org/show_bug.cgi?id=654056
12720 gi/overrides/Gtk.py | 8 ++++++++
12721 tests/test_overrides.py | 13 ++++++++++++-
12722 2 files changed, 20 insertions(+), 1 deletion(-)
12724 commit fc5c869486c7f6929e285ea7a86623ec41ecd9bd
12725 Author: Martin Pitt <martin.pitt@ubuntu.com>
12726 Date: Thu Jul 7 13:39:19 2011 +0200
12728 Fix crash in Gtk.TextIter overrides
12730 With commit 17cd0fb3 Gtk.TextIter.{forward,backward}_search()
12732 pointers when the search was unsuccessful. Actually check the
12734 value; if it is False return None, just like PyGTK used to.
12736 Thanks to Michael Vogt for discovering this and writing the test case!
12740 -------------- 8< -----------------
12741 from gi.repository import Gtk
12743 win = Gtk.Window.new(Gtk.WindowType.TOPLEVEL)
12744 textview = Gtk.TextView()
12745 buffer = textview.get_buffer()
12746 buffer.set_text("hello world")
12751 iter = buffer.get_start_iter()
12752 end = buffer.get_end_iter()
12753 ret = iter.forward_search("foo",
12754 Gtk.TextSearchFlags.VISIBLE_ONLY,
12756 print "this is my return value"
12758 print "now I crash"
12759 print ret[0].get_offset()
12762 -------------- 8< -----------------
12764 gi/overrides/Gtk.py | 10 ++++++++--
12765 1 file changed, 8 insertions(+), 2 deletions(-)
12767 commit 5c04fc5b2ca7e262c052426d5863d69d0c4a24da
12768 Author: John (J5) Palmieri <johnp@redhat.com>
12769 Date: Tue Jul 5 15:57:23 2011 -0400
12771 use gssize instead of int for arg indexes
12773 gi/pygi-cache.c | 24 ++++++++++++------------
12774 gi/pygi-cache.h | 6 +++---
12775 gi/pygi-invoke-ng.c | 6 +++---
12776 gi/pygi-marshal-cleanup.c | 6 +++---
12777 4 files changed, 21 insertions(+), 21 deletions(-)
12779 commit ecc09749c34cd4eabf47cc722d768b042dc0be9f
12780 Author: John (J5) Palmieri <johnp@redhat.com>
12781 Date: Tue Jul 5 14:17:30 2011 -0400
12783 [cache] remove refrence to default value as it is not implemented yet
12785 gi/pygi-cache.h | 1 -
12786 1 file changed, 1 deletion(-)
12788 commit 433e0fb259047d8c81e5949a31abb5e0feefd27b
12789 Author: Sebastian Pölsterl <sebp@k-d-w.org>
12790 Date: Thu May 12 18:53:06 2011 +0200
12792 Handle arguments that are flags correctly
12794 https://bugzilla.gnome.org/show_bug.cgi?id=647581
12796 gi/pygi-argument.c | 2 ++
12797 1 file changed, 2 insertions(+)
12799 commit 38cca3c14e79fbc383e3fc65a120bee03714b99f
12800 Author: John (J5) Palmieri <johnp@redhat.com>
12801 Date: Fri Jul 1 05:19:15 2011 -0400
12803 correctly initialize the _gi_cairo_functions array to be zero filled
12805 gi/pygi-foreign-cairo.c | 2 +-
12806 1 file changed, 1 insertion(+), 1 deletion(-)
12808 commit 9ae43fdbcc547eb1e3c61bf9545da40555b2e2c6
12809 Author: John (J5) Palmieri <johnp@redhat.com>
12810 Date: Fri Jul 1 05:19:15 2011 -0400
12812 correctly initialize the _gi_cairo_functions array to be zero filled
12814 gi/pygi-foreign-cairo.c | 2 +-
12815 1 file changed, 1 insertion(+), 1 deletion(-)
12817 commit d3ee40b36b1718e6fb4544dbe07e291138ea1eb9
12818 Author: John (J5) Palmieri <johnp@redhat.com>
12819 Date: Wed Jun 29 18:14:40 2011 -0400
12821 pass in the address of the gerror, not the gerror itself
12823 gi/pygi-argument.c | 2 +-
12824 1 file changed, 1 insertion(+), 1 deletion(-)
12826 commit 49dc98eb9339ea64355cd752ca000c79da56f3a2
12827 Author: John (J5) Palmieri <johnp@redhat.com>
12828 Date: Wed Jun 29 18:01:44 2011 -0400
12830 [gi] handle marshalling gerrors arguments for signals
12832 gi/pygi-argument.c | 18 ++++++++++++++++--
12833 1 file changed, 16 insertions(+), 2 deletions(-)
12835 commit db9419fcef628e9ffee10591156007ea9c0bc1f0
12836 Author: John (J5) Palmieri <johnp@redhat.com>
12837 Date: Wed Jun 29 12:12:29 2011 -0400
12839 [gi-invoke-ng] fix NULL check to check before we access the cache
12842 gi/pygi-cache.c | 6 +++---
12843 1 file changed, 3 insertions(+), 3 deletions(-)
12845 commit 9027e1a20fd06df5c26edcec1893ef0814ec938a
12846 Author: John (J5) Palmieri <johnp@redhat.com>
12847 Date: Tue Jun 28 18:21:55 2011 -0400
12849 [gi-tests] add test for PyGObject->PyObject TreeModel storage
12851 * make sure we can store a custom GObject as a PyObject inside of
12854 tests/test_overrides.py | 26 +++++++++++++++-----------
12855 1 file changed, 15 insertions(+), 11 deletions(-)
12857 commit b6842e4b2a28733e143d4022864041ca82e91f7a
12858 Author: John (J5) Palmieri <johnp@redhat.com>
12859 Date: Tue Jun 28 18:13:38 2011 -0400
12861 [gtk-overrides] special case TreeModel columns of PYGOBJECT types
12863 * box the PYGOBJECT in a GValue so we can store PyGObjects in a
12866 gi/overrides/Gtk.py | 7 ++++---
12867 gobject/pygtype.c | 7 ++++---
12868 2 files changed, 8 insertions(+), 6 deletions(-)
12870 commit 7fc9d45860210fd9d333fd3769c6cf93a6a20eb6
12871 Author: John (J5) Palmieri <johnp@redhat.com>
12872 Date: Tue Jun 28 17:32:29 2011 -0400
12874 [gi-invoke-ng] copy structs when transfer is full for array
12876 gi/pygi-marshal.c | 21 ++++++++++++++++++---
12877 1 file changed, 18 insertions(+), 3 deletions(-)
12879 commit 8d60c0bc7b327aa757a8727f1146f02cc0b78af8
12880 Author: John (J5) Palmieri <johnp@redhat.com>
12881 Date: Tue Jun 28 13:54:48 2011 -0400
12883 [gtk-override] print warning if user imports Gtk 2.0
12885 * this is needed because people file bugs not realizing they are
12887 which is not supported
12889 gi/overrides/Gtk.py | 12 ++++++++++++
12890 1 file changed, 12 insertions(+)
12892 commit 7c589c0c1de1a786e00685afd5292b6fb1f93ed3
12893 Author: John (J5) Palmieri <johnp@redhat.com>
12894 Date: Tue Jun 28 13:08:49 2011 -0400
12896 [gtk-overrides] allow the message_type keyword to be used for
12899 * for pygtk compat we use the type keyword for message type but
12901 the use of message_type because it is more descriptive and does
12903 with a python reserved word
12904 * if you passed message_type into a MessageDialog constructor you
12906 an error because we also convert type to message_type when
12909 * this patch looks to see if message_type was passed in as a
12911 assigns it to type while removing message_type from the keywords
12913 to avoid name clashing
12915 gi/overrides/Gtk.py | 5 +++++
12916 1 file changed, 5 insertions(+)
12918 commit 2aa12267bee91aa696633a0cea2a0accae09250a
12919 Author: Johan Dahlin <jdahlin@litl.com>
12920 Date: Mon Jun 27 10:56:20 2011 -0300
12922 Add support for enums in gobject.property
12924 https://bugzilla.gnome.org/show_bug.cgi?id=653488
12926 gobject/propertyhelper.py | 23 ++++++++++++++++-------
12927 tests/test_properties.py | 40 ++++++++++++++++++++++++++++++++++++----
12928 2 files changed, 52 insertions(+), 11 deletions(-)
12930 commit dc62e67b447ef526a6f2d1aa8648ad101d95024b
12931 Author: Johan Dahlin <jdahlin@litl.com>
12932 Date: Mon Jun 27 10:56:20 2011 -0300
12934 Add support for enums in gobject.property
12936 https://bugzilla.gnome.org/show_bug.cgi?id=653488
12938 gobject/propertyhelper.py | 23 ++++++++++++++++-------
12939 tests/test_properties.py | 40 ++++++++++++++++++++++++++++++++++++----
12940 2 files changed, 52 insertions(+), 11 deletions(-)
12942 commit 50cfccb5801c1b9a0a42ffe2826cd245f21fd88d
12943 Author: John (J5) Palmieri <johnp@redhat.com>
12944 Date: Fri Jun 24 14:17:24 2011 -0400
12946 [gi-invoke-ng] use g_slice for allocating GValues that are caller
12949 gi/pygi-invoke-ng.c | 2 ++
12950 gi/pygi-marshal-cleanup.c | 2 ++
12951 2 files changed, 4 insertions(+)
12953 commit eff65cd2ce490296865441c3c78b7846f380459c
12954 Author: John (J5) Palmieri <johnp@redhat.com>
12955 Date: Fri Jun 24 11:49:05 2011 -0400
12957 [gi-invoke-ng] Convert Overflow errors to ValueErrors when marshalling
12960 gi/pygi-marshal.c | 56
12961 +++++++++++++++++++++++++++++++++++++++++++------------
12962 1 file changed, 44 insertions(+), 12 deletions(-)
12964 commit 05ed688d54e3ff04e961b60d0b5d3ed0b97c771d
12965 Author: John (J5) Palmieri <johnp@redhat.com>
12966 Date: Wed Jun 22 12:26:39 2011 -0400
12968 [gi-invoke-ng] only cache caller allocates for interfaces as some
12971 gi/pygi-cache.c | 6 ++++--
12972 1 file changed, 4 insertions(+), 2 deletions(-)
12974 commit 4fd957a5de364c0588168dee15e1e61d4f12e173
12975 Author: John (J5) Palmieri <johnp@redhat.com>
12976 Date: Fri Jun 17 17:07:56 2011 -0400
12978 [gi-invoke-ng] handle in pointer array marshalling
12980 gi/pygi-marshal.c | 28 ++++++++++++++++++++++------
12981 1 file changed, 22 insertions(+), 6 deletions(-)
12983 commit df3911ad2ce83af9bf9679ed1b221847b23ba2de
12984 Author: Alex Eftimie <alex@eftimie.ro>
12985 Date: Fri Jun 10 08:44:04 2011 +0300
12987 Adding GPtrArray tests
12989 tests/test_gi.py | 43 ++++++++++++++++++++++++++++++++++++++++++-
12990 1 file changed, 42 insertions(+), 1 deletion(-)
12992 commit e32c2be53175014399d89e1e85c9afc6e53c94be
12993 Author: John (J5) Palmieri <johnp@redhat.com>
12994 Date: Fri Jun 17 11:32:28 2011 -0400
12996 [gi-invoke-ng] fix array element offset calculations
12998 * use pointer arithmetic to calculate based on element size instead of
12999 relying on the size of GIArgument
13000 * special case GPtrArrays
13002 gi/pygi-marshal.c | 27 +++++++++------------------
13003 1 file changed, 9 insertions(+), 18 deletions(-)
13005 commit 6e8dc28cb261cafbfed40fc0797a0dd5f91f497b
13006 Author: John (J5) Palmieri <johnp@redhat.com>
13007 Date: Wed Jun 15 12:46:03 2011 -0400
13009 [gi] don't clean up arguments that weren't yet processed during in
13012 gi/pygi-marshal-cleanup.c | 2 +-
13013 1 file changed, 1 insertion(+), 1 deletion(-)
13015 commit af7c93ea98b7f492eef265e58c8b3c878805524f
13016 Author: John (J5) Palmieri <johnp@redhat.com>
13017 Date: Wed Jun 15 12:06:47 2011 -0400
13019 [gi-overrides] use new instead of init when constructing a
13020 GLib.VariantBuilder
13022 * init is now skipped in the gir
13024 gi/overrides/GLib.py | 18 ++++++++----------
13025 tests/test_overrides.py | 6 ++----
13026 2 files changed, 10 insertions(+), 14 deletions(-)
13028 commit c6112307f29f9a850e6e9efa5f55d5d4a363c6b0
13029 Author: John (J5) Palmieri <johnp@redhat.com>
13030 Date: Wed Jun 15 11:42:45 2011 -0400
13032 [gi-invoke-ng] actual code to import overrides
13034 gi/pygi-cache.c | 7 +------
13035 1 file changed, 1 insertion(+), 6 deletions(-)
13037 commit 902575d857beffb14e56821ea8a52f705385f6bb
13038 Author: John (J5) Palmieri <johnp@redhat.com>
13039 Date: Wed Jun 15 11:25:10 2011 -0400
13041 [gi-invoke-ng] import pytypes so we get overrides
13043 gi/pygi-marshal.c | 4 +++-
13044 1 file changed, 3 insertions(+), 1 deletion(-)
13046 commit 9d5604220bd56ae2708e9b74122c14208e0a30b4
13047 Author: John (J5) Palmieri <johnp@redhat.com>
13048 Date: Tue Jun 14 16:13:37 2011 -0400
13050 [gi-invoke-ng] handle gvariants now that they are not foreign
13052 gi/pygi-marshal.c | 7 ++++++-
13053 1 file changed, 6 insertions(+), 1 deletion(-)
13055 commit c1f5651062687e800a52b5d8d16c88c0acde2934
13056 Author: John (J5) Palmieri <johnp@redhat.com>
13057 Date: Tue Jun 14 16:12:43 2011 -0400
13059 [gi-invoke-ng] do not try to clean up NULL arguments
13061 gi/pygi-marshal-cleanup.c | 24 ++++++++++++++++--------
13062 1 file changed, 16 insertions(+), 8 deletions(-)
13064 commit fbf5382fbc1aed49ed491d2255d616a1643a45fc
13065 Merge: 499b68d 1491f62
13066 Author: John (J5) Palmieri <johnp@redhat.com>
13067 Date: Mon Jun 13 17:28:23 2011 -0400
13069 Merge branch 'master' into invoke-rewrite
13071 commit 499b68d6c9040cffc6e43dc87789d68446564a92
13072 Merge: 4c9bced 426c710
13073 Author: John (J5) Palmieri <johnp@redhat.com>
13074 Date: Mon Jun 13 17:26:37 2011 -0400
13076 Merge branch 'master' into invoke-rewrite
13078 commit 1491f6225b9906bd369b5a42e6369ab6884736b7
13079 Author: Ignacio Casal Quinteiro <icq@gnome.org>
13080 Date: Fri Jun 10 14:01:32 2011 +0200
13082 closure: avoid double free crash
13084 gi/pygi-closure.c | 12 ++++--------
13085 1 file changed, 4 insertions(+), 8 deletions(-)
13087 commit 929f4236f2b8601e7960a4a7b0a860d976ad83c6
13088 Author: Jason Siefken <siefkenj@gmail.com>
13089 Date: Fri Jun 3 23:11:17 2011 -0700
13091 Added __eq__ method for Gdk.Color and Gdk.RGBA
13093 Call Gdk.Color.equal and Gdk.RGBA.equal when
13094 == equality testing is used.
13096 gi/overrides/Gdk.py | 6 ++++++
13097 tests/test_overrides.py | 4 ++++
13098 2 files changed, 10 insertions(+)
13100 commit dff5961ba229c7c34bd7b0a18a446b56bbe39e3a
13101 Author: Ignacio Casal Quinteiro <icq@gnome.org>
13102 Date: Wed Jun 8 19:13:48 2011 +0200
13104 closure: Check the out arg is not null. Fixes bug #651812
13106 gi/pygi-closure.c | 3 +++
13107 1 file changed, 3 insertions(+)
13109 commit d7d178206bfbb0858556fcfd6c9ca8eefda3fdf5
13110 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
13111 Date: Wed Jun 8 09:47:20 2011 +0200
13113 Use constants instead of literals
13115 tests/test_overrides.py | 8 ++++----
13116 1 file changed, 4 insertions(+), 4 deletions(-)
13118 commit fe386a0ad548a23e30e9cb947bfa2198fb48ef29
13119 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
13120 Date: Mon Jun 6 19:07:22 2011 +0200
13122 GVariant has now a GType, take that into account
13124 https://bugzilla.gnome.org/show_bug.cgi?id=647509
13126 gi/pygi-argument.c | 8 ++++----
13127 gi/pygi-invoke.c | 20 +++++++++++++-------
13128 2 files changed, 17 insertions(+), 11 deletions(-)
13130 commit bd7b8d96a7420522c1fdc127ef8cfb7d6e8a1b31
13131 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
13132 Date: Mon Jun 6 19:05:07 2011 +0200
13134 GVariantType is a boxed struct
13136 https://bugzilla.gnome.org/show_bug.cgi?id=647509
13138 gi/gimodule.c | 2 +-
13139 1 file changed, 1 insertion(+), 1 deletion(-)
13141 commit 2d73012e5dbcc45a5782a6c119dfb272c14b5a61
13142 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
13143 Date: Mon Jun 6 17:38:21 2011 +0200
13145 Use _gi.Struct to wrap fundamentals
13147 https://bugzilla.gnome.org/show_bug.cgi?id=647509
13149 gi/module.py | 4 +++-
13150 1 file changed, 3 insertions(+), 1 deletion(-)
13152 commit d82e6c8d1d9f2fc48fdcc15b7d2a97e4f24cf3bf
13153 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
13154 Date: Mon Jun 6 17:24:28 2011 +0200
13156 Merge gi/HACKING into /HACKING
13158 HACKING | 16 ++++++++++++++++
13159 gi/HACKING | 26 --------------------------
13160 2 files changed, 16 insertions(+), 26 deletions(-)
13162 commit 92aca4416a7930e5870b8d1a4016bae8140462ee
13163 Author: Daniel Drake <dsd@laptop.org>
13164 Date: Fri Jun 3 16:59:15 2011 +0100
13166 Fix GC-related crash during PyGObject deallocation
13168 Python-2.7.1's GC source has the following comment:
13170 /* Python's cyclic gc should never see an incoming refcount
13171 * of 0: if something decref'ed to 0, it should have been
13172 * deallocated immediately at that time.
13173 * Possible cause (if the assert triggers): a tp_dealloc
13174 * routine left a gc-aware object tracked during its teardown
13175 * phase, and did something-- or allowed something to
13177 * that called back into Python. gc can trigger then, and may
13178 * see the still-tracked dying object. Before this assert
13179 * was added, such mistakes went on to allow gc to try to
13180 * delete the object again. In a debug build, that caused
13181 * a mysterious segfault, when _Py_ForgetReference tried
13182 * to remove the object from the doubly-linked list of all
13183 * objects a second time. In a release build, an actual
13184 * double deallocation occurred, which leads to corruption
13185 * of the allocator's internal bookkeeping pointers. That's
13186 * so serious that maybe this should be a release-build
13187 * check instead of an assert?
13190 As shown in a backtrace at
13191 https://bugzilla.redhat.com/show_bug.cgi?id=640972 , pygobject
13193 this exact mistake. Before untracking its object, pygobject_dealloc
13194 calls PyObject_ClearWeakRefs() which can call back into python, create
13195 new allocations, and trigger the GC.
13197 This is causing Sugar (based on pygobject2 + pygtk2 static bindings)
13199 crash on a regular basis while interacting with widgets or launching
13202 Fix this by untracking the object early. Also fix the same issue
13204 in the GSource wrapper.
13206 Thanks to Bernie Innocenti for initial diagnosis.
13208 glib/pygsource.c | 6 ++++--
13209 gobject/pygobject.c | 8 +++++++-
13210 2 files changed, 11 insertions(+), 3 deletions(-)
13212 commit 4c9bcedb4e11ad66a4b86174e2425c7afcafc473
13213 Author: John (J5) Palmieri <johnp@redhat.com>
13214 Date: Tue May 31 16:59:41 2011 -0400
13216 [gi-invoke-ng] enable invoke-ng by default
13218 configure.ac | 8 ++++----
13219 1 file changed, 4 insertions(+), 4 deletions(-)
13221 commit 2e4cfb85a55ff205e263591d573ee5ecf0ffff3e
13222 Author: John (J5) Palmieri <johnp@redhat.com>
13223 Date: Tue May 31 16:37:21 2011 -0400
13225 [gi-invoke-ng] add code to clean up when input values fail to marshal
13227 gi/pygi-marshal-cleanup.c | 30 +++++++++++++++++++++++++-----
13228 1 file changed, 25 insertions(+), 5 deletions(-)
13230 commit 508b1b6ca1b143f1e123a3ddb83e8ce146758dfc
13231 Author: John (J5) Palmieri <johnp@redhat.com>
13232 Date: Tue May 31 16:01:03 2011 -0400
13234 [gi-invoke-ng] add hash cleanup routines
13236 gi/pygi-cache.c | 2 ++
13237 gi/pygi-marshal-cleanup.c | 64
13238 +++++++++++++++++++++++++++++++++++++++++++++++
13239 gi/pygi-marshal-cleanup.h | 10 ++++++--
13240 3 files changed, 74 insertions(+), 2 deletions(-)
13242 commit 1954c75b94a74259b4e5d28f5ff8d76aa4610832
13243 Author: John (J5) Palmieri <johnp@redhat.com>
13244 Date: Tue May 31 14:47:30 2011 -0400
13246 [gi-invoke-ng] handle arrays with transfers of GI_TRANSFER_CONTAINER
13248 gi/pygi-marshal-cleanup.c | 3 ++-
13249 1 file changed, 2 insertions(+), 1 deletion(-)
13251 commit b626c46b4a95602c7bf1278c2a39aacb7f5027d9
13252 Author: John (J5) Palmieri <johnp@redhat.com>
13253 Date: Tue May 31 14:40:49 2011 -0400
13255 [gi-invoke-ng] add list cleanup routines
13257 gi/pygi-cache.c | 8 ++---
13258 gi/pygi-marshal-cleanup.c | 84
13259 +++++++++++++++++++++++++++++++++++++++++++++++
13260 gi/pygi-marshal-cleanup.h | 8 +++++
13261 3 files changed, 96 insertions(+), 4 deletions(-)
13263 commit 2e542c327cd52c1f77af28905557dd25c64175d8
13264 Author: John (J5) Palmieri <johnp@redhat.com>
13265 Date: Thu May 26 16:10:13 2011 -0400
13269 gi/pygi-marshal.c | 8 ++++----
13270 1 file changed, 4 insertions(+), 4 deletions(-)
13272 commit 601aec11c49e821fe97dd30a2187fe3c75844712
13273 Author: John (J5) Palmieri <johnp@redhat.com>
13274 Date: Thu May 26 16:09:38 2011 -0400
13276 [gi-invoke-ng] add out array cleanup
13278 gi/pygi-cache.c | 2 +-
13279 gi/pygi-marshal-cleanup.c | 24 ++++++++++++++++++++++++
13280 gi/pygi-marshal.c | 37 +++++++++++++++++++++++++++++++------
13281 3 files changed, 56 insertions(+), 7 deletions(-)
13283 commit e9ad4428b769f8c9ace1cdc973c684de84fb1a5e
13284 Author: John (J5) Palmieri <johnp@redhat.com>
13285 Date: Thu May 26 13:22:38 2011 -0400
13287 [gi-invoke-ng] do not allocate null terminator for garray
13289 * We are simply setting our own array so we don't want any allocate
13292 gi/pygi-marshal.c | 2 +-
13293 1 file changed, 1 insertion(+), 1 deletion(-)
13295 commit a986b2b8e5ee37f2a330f5aabc85c73ebb0de508
13296 Author: John (J5) Palmieri <johnp@redhat.com>
13297 Date: Thu May 26 13:21:55 2011 -0400
13299 [gi-invoke-ng] add array cleanup for in arrays
13301 gi/pygi-cache.c | 2 +-
13302 gi/pygi-marshal-cleanup.c | 72
13303 ++++++++++++++++++++++++++++++++++++++++++++++-
13304 gi/pygi-marshal-cleanup.h | 9 ++++++
13305 gi/pygi-marshal.c | 13 +++++++--
13306 4 files changed, 91 insertions(+), 5 deletions(-)
13308 commit 990c60805c8ef718eb29e2e1b24f057552c6159e
13309 Author: John (J5) Palmieri <johnp@redhat.com>
13310 Date: Mon May 23 17:06:30 2011 -0400
13312 [gi-invoke-ng] remove remaining bits of the invoke stage state machine
13314 gi/pygi-invoke-ng.c | 7 +------
13315 gi/pygi-invoke-state-struct.h | 14 --------------
13316 2 files changed, 1 insertion(+), 20 deletions(-)
13318 commit dbbcf4a0e76fb572d85843ee31c3798df5cd5cc5
13319 Author: John (J5) Palmieri <johnp@redhat.com>
13320 Date: Mon May 23 16:59:57 2011 -0400
13322 [gi-invoke-ng] revamp cleanup framework to be orthogonal to cache
13325 * cleanup now has symmetry with setup so there are now in and out
13327 for each type that needs to be cleaned up
13328 * no longer use state machine but instead call different cleanup
13330 different stages of invoke, making it easier to understand what
13334 gi/pygi-cache.c | 19 ++-
13335 gi/pygi-cache.h | 7 +-
13336 gi/pygi-invoke-ng.c | 10 +-
13337 gi/pygi-invoke-state-struct.h | 2 +
13338 gi/pygi-marshal-cleanup.c | 301
13339 +++++++++++++++++-------------------------
13340 gi/pygi-marshal-cleanup.h | 45 ++++---
13341 gi/pygi-marshal.c | 15 +--
13342 7 files changed, 174 insertions(+), 225 deletions(-)
13344 commit 198714dc4585f7463f38929f1ca4e4b60a27dadb
13345 Author: John (J5) Palmieri <johnp@redhat.com>
13346 Date: Thu May 12 17:29:20 2011 -0400
13348 [gi-invoke-ng] stub out a cleaner way of cleaning up after ourselves
13350 * The state machine concept of cleaning up was getting a bit messy.
13351 It was like we took a big bowl of spaghetti code and dumped it.
13352 * Now we call specific cleanup functions at the point of failure (or
13353 successful completion of a marshalling stage)
13355 gi/pygi-invoke-ng.c | 59 +++++++++++++++++++++++++++++++-------
13356 gi/pygi-marshal-cleanup.c | 72
13357 +++++++++++++++++++++++++++++++++++++++++++++++
13358 gi/pygi-marshal-cleanup.h | 14 +++++++++
13359 3 files changed, 135 insertions(+), 10 deletions(-)
13361 commit c1389dadbf35afee3f28d90ef637efd8c1f071a5
13362 Author: José Alburquerque <jaalburqu@svn.gnome.org>
13363 Date: Thu May 12 11:53:40 2011 -0400
13365 Doc Extractor: Correct the logic of the --no-since option.
13367 * codegen/docextract.py (process_final_sections): If the
13369 option has been specified and a "Since:" is encountered during the
13370 processing of the final sections, simply don't append the
13372 instead of reading the next line. This preserves the logical
13376 codegen/docextract.py | 4 ++--
13377 1 file changed, 2 insertions(+), 2 deletions(-)
13379 commit 303d8e8ab9e60cb554de7fc0e8592cd9b2c50843
13380 Author: José Alburquerque <jaalburqu@svn.gnome.org>
13381 Date: Mon May 9 17:32:09 2011 -0400
13383 Doc Extractor: Add a --no-since option.
13385 * codegen/docextract.py:
13386 * codegen/docextract_to_xml.py: Modified so that if a --no-since
13387 option is specified at the command line, the "Since: ..." portion
13389 the gtkdoc function block is omitted. This is useful for C++
13391 such as gstreamermm where this information would not be useful
13393 as the C API is still unstable.
13395 codegen/docextract.py | 15 ++++++++++++++-
13396 codegen/docextract_to_xml.py | 9 ++++++---
13397 2 files changed, 20 insertions(+), 4 deletions(-)
13399 commit 4f615c6e300d6f2d7551b640efa301060206ab58
13400 Author: John (J5) Palmieri <johnp@redhat.com>
13401 Date: Thu May 5 14:04:34 2011 -0400
13403 [gi-invoke-ng] tweek cleanup routines
13405 gi/pygi-cache.c | 5 +++
13406 gi/pygi-marshal-cleanup.c | 87
13407 +++++++++++++++++++++++++++++++++++------------
13408 gi/pygi-marshal-cleanup.h | 6 ++--
13409 gi/pygi-marshal.c | 11 ++----
13410 4 files changed, 76 insertions(+), 33 deletions(-)
13412 commit 63c7f17c224821cb7136d06e8ef87eab7291848d
13413 Author: Martin Pitt <martin.pitt@ubuntu.com>
13414 Date: Mon May 2 15:49:52 2011 +0200
13416 Fix symbol names to be locale independent
13418 We currently use upper() to present enum values, which are usually
13420 lower case in the typelib, in upper cases. However, upper() is locale
13421 dependent, so that e. g. in tr_TR.UTF-8, "invalid" becomes "iNVALiD"
13422 because Turkish has some extra variants of "i".
13424 Use a local ASCII-only translate() call instead to avoid this. Thanks
13426 Philippsen for the idea!
13428 This also adds a test locale "te_ST@nouppera" which defines
13429 toupper('a') == 'a'.
13430 Run the Enum tests under this locale to reproduce the bug and verify
13433 https://bugzilla.gnome.org/show_bug.cgi?id=649165
13435 gi/module.py | 9 ++++++++-
13436 tests/te_ST@nouppera | 50
13437 ++++++++++++++++++++++++++++++++++++++++++++++++++
13438 tests/test_gi.py | 30 ++++++++++++++++++++++++++++++
13439 3 files changed, 88 insertions(+), 1 deletion(-)
13441 commit b5e150da76c3d4de1a75f58d03c3a761e9005a63
13442 Author: Martin Pitt <martin.pitt@ubuntu.com>
13443 Date: Wed May 4 08:35:27 2011 +0200
13445 [gi] pygi-convert.sh: Convert gtk.gdk.CROSSHAIR
13447 pygi-convert.sh | 1 +
13448 1 file changed, 1 insertion(+)
13450 commit fcc5ea201ab25da6db94ea8a37364a1d3c4d7c65
13451 Author: John (J5) Palmieri <johnp@redhat.com>
13452 Date: Fri Apr 29 17:41:08 2011 -0400
13454 [gi-invoke-ng] handle filename cleanup with the utf8 cleanup function
13456 gi/pygi-cache.c | 2 ++
13457 1 file changed, 2 insertions(+)
13459 commit dbe8c4fabc8ac19415a3be0e854d3a54c2317e0b
13460 Author: John (J5) Palmieri <johnp@redhat.com>
13461 Date: Fri Apr 29 17:40:13 2011 -0400
13463 [gi-invoke-ng] handle caller allocates cleanup
13465 gi/pygi-invoke-ng.c | 5 ++-
13466 gi/pygi-marshal-cleanup.c | 104
13467 ++++++++++++++++++++++++++++++++++++----------
13468 gi/pygi-marshal-cleanup.h | 7 ++--
13469 3 files changed, 90 insertions(+), 26 deletions(-)
13471 commit cdbf57f3b1f041a06cf545a5557424f701ed1ec7
13472 Author: John (J5) Palmieri <johnp@redhat.com>
13473 Date: Thu Apr 28 19:16:02 2011 -0400
13475 [gi-invoke-ng] refactor the cleanup code and add utf8 cleanup as
13478 gi/pygi-cache.c | 15 ++-----------
13479 gi/pygi-invoke-ng.c | 8 +++----
13480 gi/pygi-invoke-state-struct.h | 2 ++
13481 gi/pygi-marshal-cleanup.c | 51
13482 ++++++++++++++++++++++++++++++++++++++++++-
13483 gi/pygi-marshal-cleanup.h | 3 +++
13484 5 files changed, 60 insertions(+), 19 deletions(-)
13486 commit d1f1f4ccc55f9ecab73b7c0ee78762c4039b2c79
13487 Author: John (J5) Palmieri <johnp@redhat.com>
13488 Date: Wed Apr 27 15:47:19 2011 -0400
13490 use PyCapsule when importing pycairo/require pycairo 1.10.0 for
13493 * PyCObject is deprecated and pycairo 1.10.0 is first release to
13496 configure.ac | 15 +++++++++++----
13497 gi/pygi-foreign-cairo.c | 2 +-
13498 2 files changed, 12 insertions(+), 5 deletions(-)
13500 commit 83b7823a510b0b391560c6deaf9d15d8303c7b14
13501 Author: Ignacio Casal Quinteiro <icq@gnome.org>
13502 Date: Thu Apr 21 16:52:20 2011 +0200
13504 [python3] fix build. PYcairo_IMPORT doesn't exists anymore
13506 gi/pygi-foreign-cairo.c | 7 ++++++-
13507 1 file changed, 6 insertions(+), 1 deletion(-)
13509 commit 3e933784df423757e591d703614cb700adb0bbe0
13510 Author: Sebastian Pölsterl <sebp@k-d-w.org>
13511 Date: Mon Apr 18 18:36:25 2011 +0200
13515 pygobject.doap | 15 +++++++++++++++
13516 1 file changed, 15 insertions(+)
13518 commit 399d06b4b20685eb38acfd7e43226e06737ab7d2
13519 Author: Sebastian Pölsterl <sebp@k-d-w.org>
13520 Date: Sat Apr 16 16:02:05 2011 +0200
13522 [gi] Don't create variant twice
13524 gi/overrides/GLib.py | 2 +-
13525 1 file changed, 1 insertion(+), 1 deletion(-)
13527 commit 8d8a84ea23d28d25851c5870f261c020d762cef4
13528 Author: Sebastian Pölsterl <sebp@k-d-w.org>
13529 Date: Fri Apr 15 16:14:43 2011 +0200
13531 pygi-convert.sh: Make sure the uppercase GObject module is imported
13532 instead of the lowercase
13534 https://bugzilla.gnome.org/show_bug.cgi?id=647736
13536 pygi-convert.sh | 1 +
13537 1 file changed, 1 insertion(+)
13539 commit 3b51d6426d0f59b2dd7e0dcdcded4bed43d6b9d8
13540 Author: Sebastian Pölsterl <sebp@k-d-w.org>
13541 Date: Fri Apr 15 15:58:53 2011 +0200
13543 [gi] Removed hack to avoid using GLib.Variant.new_variant.
13545 The bug in the annotations of GLib is fixed now.
13546 https://bugzilla.gnome.org/show_bug.cgi?id=639952
13547 https://bugzilla.gnome.org/show_bug.cgi?id=647796
13549 gi/overrides/GLib.py | 14 +-------------
13550 1 file changed, 1 insertion(+), 13 deletions(-)
13552 commit bb4dce14ba666969815d4e56adbc38f0ac4f7ff7
13553 Author: Sebastian Pölsterl <sebp@k-d-w.org>
13554 Date: Fri Apr 15 15:58:31 2011 +0200
13556 [gi] Added additional test case for GVariant handling
13558 tests/test_overrides.py | 15 +++++++++++++++
13559 1 file changed, 15 insertions(+)
13561 commit 138df2778543409752e229a09828a805f68a420d
13562 Author: Sebastian Pölsterl <sebp@k-d-w.org>
13563 Date: Mon Apr 11 18:34:31 2011 +0200
13565 [gi] Added support for GVariant arguments
13567 This is required in order for the "g-signal" signal of GDBusProxy
13568 to work properly and thus to properly receive DBus signals with any
13571 https://bugzilla.gnome.org/show_bug.cgi?id=647477
13573 gi/pygi-argument.c | 2 ++
13574 1 file changed, 2 insertions(+)
13576 commit 985f239d891c7697d76ccecb797b189669ae6ee1
13577 Author: John (J5) Palmieri <johnp@redhat.com>
13578 Date: Tue Mar 22 18:46:28 2011 -0400
13580 fix static ABI for setting string gvalues from python objects
13582 * the static bindings used to be able to set a string gvalue to
13584 object that implemented __str__, for instance when setting a
13586 * this restores that code while still keeping unicode and python 3
13589 gobject/pygtype.c | 28 +++++++++++++++++++---------
13590 tests/test_properties.py | 8 ++++++++
13591 2 files changed, 27 insertions(+), 9 deletions(-)
13593 commit 58cfc3cd1152b4448b56a6ff597f954d8450b83e
13594 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
13595 Date: Tue Mar 22 20:47:51 2011 +0100
13597 dsextras.py: ensure eol characters are preserved when writing template
13598 files (so \n does not become \r\n)
13601 1 file changed, 1 insertion(+), 1 deletion(-)
13603 commit 629d267478982c426ba61a639d5c9603fed856e6
13604 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
13605 Date: Tue Mar 22 11:35:44 2011 +0100
13607 dsextras.py: remove \r as wel as \n character
13610 1 file changed, 1 insertion(+), 1 deletion(-)
13612 commit 426c7109d4c0dbf0d56cc075f97f33b3451f79a8
13613 Author: John (J5) Palmieri <johnp@redhat.com>
13614 Date: Wed Apr 27 15:47:19 2011 -0400
13616 use PyCapsule when importing pycairo/require pycairo 1.10.0 for
13619 * PyCObject is deprecated and pycairo 1.10.0 is first release to
13622 configure.ac | 15 +++++++++++----
13623 gi/pygi-foreign-cairo.c | 2 +-
13624 2 files changed, 12 insertions(+), 5 deletions(-)
13626 commit 4e5833d0c2fe548617e5ea510f05920fd0caf73b
13627 Author: Ignacio Casal Quinteiro <icq@gnome.org>
13628 Date: Thu Apr 21 16:52:20 2011 +0200
13630 [python3] fix build. PYcairo_IMPORT doesn't exists anymore
13632 gi/pygi-foreign-cairo.c | 7 ++++++-
13633 1 file changed, 6 insertions(+), 1 deletion(-)
13635 commit 91ec337359720839862d3f5a8a0ea98f760a0752
13636 Author: Sebastian Pölsterl <sebp@k-d-w.org>
13637 Date: Mon Apr 18 18:36:25 2011 +0200
13641 pygobject.doap | 15 +++++++++++++++
13642 1 file changed, 15 insertions(+)
13644 commit 05c766044c83340c44564d0097514bfc1d1d9df7
13645 Author: Sebastian Pölsterl <sebp@k-d-w.org>
13646 Date: Sat Apr 16 16:02:05 2011 +0200
13648 [gi] Don't create variant twice
13650 gi/overrides/GLib.py | 2 +-
13651 1 file changed, 1 insertion(+), 1 deletion(-)
13653 commit eb8f212e3687af30407cf01fcdfbf530257bcddb
13654 Author: Sebastian Pölsterl <sebp@k-d-w.org>
13655 Date: Fri Apr 15 16:14:43 2011 +0200
13657 pygi-convert.sh: Make sure the uppercase GObject module is imported
13658 instead of the lowercase
13660 https://bugzilla.gnome.org/show_bug.cgi?id=647736
13662 pygi-convert.sh | 1 +
13663 1 file changed, 1 insertion(+)
13665 commit af31729573de24161ee90563e5738187c749783c
13666 Author: Sebastian Pölsterl <sebp@k-d-w.org>
13667 Date: Fri Apr 15 15:58:53 2011 +0200
13669 [gi] Removed hack to avoid using GLib.Variant.new_variant.
13671 The bug in the annotations of GLib is fixed now.
13672 https://bugzilla.gnome.org/show_bug.cgi?id=639952
13673 https://bugzilla.gnome.org/show_bug.cgi?id=647796
13675 gi/overrides/GLib.py | 14 +-------------
13676 1 file changed, 1 insertion(+), 13 deletions(-)
13678 commit 070f6688be4afb926656038dcceac4c8b8ed97c7
13679 Author: Sebastian Pölsterl <sebp@k-d-w.org>
13680 Date: Fri Apr 15 15:58:31 2011 +0200
13682 [gi] Added additional test case for GVariant handling
13684 tests/test_overrides.py | 15 +++++++++++++++
13685 1 file changed, 15 insertions(+)
13687 commit 65aa040e86d94ee6bb227a2bce09668b60208027
13688 Author: John (J5) Palmieri <johnp@redhat.com>
13689 Date: Tue Apr 12 14:51:35 2011 -0400
13691 [gi-invoke-ng] fix prototype
13693 gi/pygi-cache.h | 2 +-
13694 1 file changed, 1 insertion(+), 1 deletion(-)
13696 commit 12aa4e6376366ca9d758434f6544c9c70a1e5df8
13697 Author: John (J5) Palmieri <johnp@redhat.com>
13698 Date: Tue Apr 12 14:48:16 2011 -0400
13700 [gi-invoke-ng] create new framework for cleaning up args
13702 * we now have a state machine so we know what point in the marshalling
13704 we are and which args need to be cleaned up
13705 * call the cleanup functions after invoking the gi callable, after
13707 the out parameters and at any time an error occures
13709 gi/Makefile.am | 4 ++-
13710 gi/pygi-cache.c | 25 +++++++------
13711 gi/pygi-cache.h | 5 ++-
13712 gi/pygi-invoke-ng.c | 34 ++++++++++++++----
13713 gi/pygi-invoke-state-struct.h | 13 +++++++
13714 gi/pygi-marshal-cleanup.c | 81
13715 +++++++++++++++++++++++++++++++++++++++++++
13716 gi/pygi-marshal-cleanup.h | 43 +++++++++++++++++++++++
13717 gi/pygi-marshal.c | 1 +
13718 8 files changed, 187 insertions(+), 19 deletions(-)
13720 commit 0463295cd046bd6382ad9dc71ea1518858d63c5f
13721 Author: Sebastian Pölsterl <sebp@k-d-w.org>
13722 Date: Mon Apr 11 18:34:31 2011 +0200
13724 [gi] Added support for GVariant arguments
13726 This is required in order for the "g-signal" signal of GDBusProxy
13727 to work properly and thus to properly receive DBus signals with any
13730 https://bugzilla.gnome.org/show_bug.cgi?id=647477
13732 gi/pygi-argument.c | 2 ++
13733 1 file changed, 2 insertions(+)
13735 commit 1d64c3d3db2ec17b9a48df55271f712db6c07060
13736 Author: John (J5) Palmieri <johnp@redhat.com>
13737 Date: Wed Mar 30 16:40:31 2011 -0400
13739 [gi-invoke-ng] fix marshal header that is no longer part of
13742 gi/pygi-marshal.h | 8 ++++----
13743 1 file changed, 4 insertions(+), 4 deletions(-)
13745 commit 3580cd1c7222022ebeef3476f9e609c8045f12a3
13746 Author: John (J5) Palmieri <johnp@redhat.com>
13747 Date: Wed Mar 30 15:53:13 2011 -0400
13749 [gi-invoke-ng] code style space fixes
13751 gi/pygi-cache.c | 420 +++++++++++++++++++-------------------
13752 gi/pygi-invoke-ng.c | 145 +++++++-------
13753 gi/pygi-marshal.c | 565
13754 ++++++++++++++++++++++++++--------------------------
13755 3 files changed, 566 insertions(+), 564 deletions(-)
13757 commit 81662fcd09f112bfffcdc5b7f01a5537b84cd9d4
13758 Author: John (J5) Palmieri <johnp@redhat.com>
13759 Date: Tue Mar 29 16:54:44 2011 -0400
13761 [gi-invoke-ng] don't decref value taken from a dict as it is borrowed
13763 gi/pygi-invoke-ng.c | 1 -
13764 1 file changed, 1 deletion(-)
13766 commit a456fc0adc1f8a0754bf59cde8924f905bfc7dc1
13767 Author: John (J5) Palmieri <johnp@redhat.com>
13768 Date: Tue Mar 29 15:23:06 2011 -0400
13770 [gi-invoke-ng] return None when appropriate so we don't crash
13772 gi/pygi-marshal.c | 18 +++++++++++++++++-
13773 1 file changed, 17 insertions(+), 1 deletion(-)
13775 commit e8c8c37e5587dc7ff62519df336988a12e6f5d0a
13776 Author: John (J5) Palmieri <johnp@redhat.com>
13777 Date: Tue Mar 29 15:21:41 2011 -0400
13779 [gi-invoke-ng] fix aux value caching
13781 gi/pygi-cache.c | 15 ++++++++++-----
13782 1 file changed, 10 insertions(+), 5 deletions(-)
13784 commit 4e4c1847c713a4eb4ab34d04488e94dac24d9167
13785 Author: John (J5) Palmieri <johnp@redhat.com>
13786 Date: Mon Mar 28 20:25:46 2011 -0400
13788 [gi-invoke-ng] backport handling flags with no gtype
13790 gi/pygi-marshal.c | 25 ++++++++++++++++++++++++-
13791 1 file changed, 24 insertions(+), 1 deletion(-)
13793 commit fd76423e655b3711e1ffbf9b61ea4e2c94040234
13794 Author: John (J5) Palmieri <johnp@redhat.com>
13795 Date: Mon Mar 28 18:32:00 2011 -0400
13797 [gi-invoke-ng] backport raw gvalue handling
13799 gi/pygi-marshal.c | 23 ++++++++++++++++++-----
13800 1 file changed, 18 insertions(+), 5 deletions(-)
13802 commit 507b5051c83f70ceae79e0fa693c86e5cbb9f442
13803 Author: John (J5) Palmieri <johnp@redhat.com>
13804 Date: Mon Mar 28 18:30:31 2011 -0400
13806 [gi-invoke-ng] marshal instances seperately since they differ slightly
13809 gi/pygi-cache.c | 2 +-
13810 gi/pygi-marshal.c | 38 ++++++++++++++++++++++++++++++++++++++
13811 2 files changed, 39 insertions(+), 1 deletion(-)
13813 commit 726a27c0e74ace3ff23d9cc4d393ae53e57f1fac
13814 Author: John (J5) Palmieri <johnp@redhat.com>
13815 Date: Mon Mar 28 18:26:09 2011 -0400
13817 [gi-invoke-ng] refactor FunctionCache to be more generic CallableCache
13819 gi/pygi-cache.c | 392
13820 +++++++++++++++++++++++++++-------------------------
13821 gi/pygi-cache.h | 12 +-
13822 gi/pygi-info.c | 2 +-
13823 gi/pygi-invoke-ng.c | 40 +++---
13824 gi/pygi-marshal.c | 140 +++++++++----------
13825 gi/pygi-marshal.h | 159 +++++++++------------
13827 7 files changed, 362 insertions(+), 385 deletions(-)
13829 commit 3d5d9ff5c18a850650992bdd52e8e4c722b23396
13830 Author: John (J5) Palmieri <johnp@redhat.com>
13831 Date: Mon Mar 28 15:01:12 2011 -0400
13833 [gi-invoke-rewrite] backport glib error handling
13835 gi/pygi-invoke-ng.c | 14 ++++++--------
13836 1 file changed, 6 insertions(+), 8 deletions(-)
13838 commit 37b14b28a5f2aec16ac7f321efbf07e1403e9531
13839 Author: John (J5) Palmieri <johnp@redhat.com>
13840 Date: Fri Mar 25 18:48:42 2011 -0400
13842 [gi-invoke-ng] backport closure passing from invoke
13844 gi/pygi-marshal.c | 13 ++++++++++---
13845 1 file changed, 10 insertions(+), 3 deletions(-)
13847 commit cf7f97eabc9c49773c2916929b8c43ef453d0652
13848 Author: John (J5) Palmieri <johnp@redhat.com>
13849 Date: Fri Mar 25 18:47:36 2011 -0400
13851 [gi-invoke-ng] handle vfuncs and fix cosntrutors
13853 gi/pygi-cache.c | 9 +++++++
13854 gi/pygi-cache.h | 2 ++
13855 gi/pygi-invoke-ng.c | 56
13856 ++++++++++++++++++++++++++++++++-----------
13857 gi/pygi-invoke-state-struct.h | 2 ++
13858 4 files changed, 55 insertions(+), 14 deletions(-)
13860 commit af2ce400fcf771ee6c9bc01aecfb59467be5a0ce
13861 Author: John (J5) Palmieri <johnp@redhat.com>
13862 Date: Fri Mar 25 18:39:06 2011 -0400
13864 [gi-invoke-ng] handle foreign types correctly
13866 gi/pygi-cache.c | 22 ++++++----------------
13867 gi/pygi-marshal.c | 3 +++
13868 2 files changed, 9 insertions(+), 16 deletions(-)
13870 commit 482553ae5d863ca523be3bd1eededa5d02a4f87e
13871 Author: John (J5) Palmieri <johnp@redhat.com>
13872 Date: Fri Mar 25 13:14:01 2011 -0400
13874 [gi] remove the class parameter from the argument list of constructors
13876 * constructors pass in their class to be constructed. Since we
13878 and g_object_new to do the construction we ignore this for now but
13879 keep it around in the state for future use.
13881 gi/pygi-invoke-ng.c | 46
13882 +++++++++++++++++++++++++++++++++++++------
13883 gi/pygi-invoke-state-struct.h | 1 +
13884 2 files changed, 41 insertions(+), 6 deletions(-)
13886 commit 0534eb0e843cdf09611143da184052f7e549e4dc
13887 Author: John (J5) Palmieri <johnp@redhat.com>
13888 Date: Tue Mar 22 18:46:28 2011 -0400
13890 fix static ABI for setting string gvalues from python objects
13892 * the static bindings used to be able to set a string gvalue to
13894 object that implemented __str__, for instance when setting a
13896 * this restores that code while still keeping unicode and python 3
13899 gobject/pygtype.c | 28 +++++++++++++++++++---------
13900 tests/test_properties.py | 8 ++++++++
13901 2 files changed, 27 insertions(+), 9 deletions(-)
13903 commit 5f0e130026a663a57ed1317e0fa0e1f78f9e6e0a
13904 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
13905 Date: Tue Mar 22 20:47:51 2011 +0100
13907 dsextras.py: ensure eol characters are preserved when writing template
13908 files (so \n does not become \r\n)
13911 1 file changed, 1 insertion(+), 1 deletion(-)
13913 commit 62a6274105003ef386ddfe9ef38e8afa8c43d124
13914 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
13915 Date: Tue Mar 22 11:35:44 2011 +0100
13917 dsextras.py: remove \r as wel as \n character
13920 1 file changed, 1 insertion(+), 1 deletion(-)
13922 commit 86c436978c933f6ebe17627abe98325ce66f6baa
13923 Author: John (J5) Palmieri <johnp@redhat.com>
13924 Date: Tue Mar 22 16:13:58 2011 -0400
13926 [gi] make new invoke-ng codepath compile correctly
13929 gi/Makefile.am | 5 +-
13930 gi/pygi-cache.c | 2 +-
13931 gi/pygi-invoke-ng.c | 841 ----------------------
13932 gi/pygi-marshal.c | 1962
13933 +--------------------------------------------------
13934 gi/pygi-private.h | 4 +-
13935 6 files changed, 9 insertions(+), 2809 deletions(-)
13937 commit 35619fec43f4df85edf5456f3fc9733b16f2ba90
13938 Author: John (J5) Palmieri <johnp@redhat.com>
13939 Date: Tue Mar 22 15:40:02 2011 -0400
13941 [gi] conditionalize invoke code paths
13943 configure.ac | 7 +++++++
13944 gi/Makefile.am | 20 +++++++++++++++-----
13945 gi/pygi-cache.h | 2 ++
13946 gi/pygi-info.c | 4 +++-
13947 gi/pygi-private.h | 9 +++++++--
13949 6 files changed, 37 insertions(+), 9 deletions(-)
13951 commit 83c51bd2bb6ca24ce610c04cff1527bcd2689d90
13952 Author: John (J5) Palmieri <johnp@redhat.com>
13953 Date: Tue Mar 22 15:37:24 2011 -0400
13955 [gi] revert back to the type.py from master
13957 gi/types.py | 21 +++++++++++++++------
13958 1 file changed, 15 insertions(+), 6 deletions(-)
13960 commit cb30d00d1c92e73d9bfb08cc7b600a5aa70f2fc0
13961 Author: John (J5) Palmieri <johnp@redhat.com>
13962 Date: Tue Mar 22 14:46:29 2011 -0400
13964 [gi] revert pygi-argument.h and move the invoke-ng code to
13967 gi/pygi-argument.h | 268 +-----------------------------------------
13968 gi/pygi-marshal.h | 336
13969 +++++++++++++++++++++++++++++++++++++++++++++++++++++
13970 2 files changed, 337 insertions(+), 267 deletions(-)
13972 commit 17cb714cfdaf45b6d7dd627b0189bd24e6578f74
13973 Merge: 7332a1b 01596a9
13974 Author: John (J5) Palmieri <johnp@redhat.com>
13975 Date: Tue Mar 22 13:34:36 2011 -0400
13977 Merge branch 'master' into invoke-rewrite
13982 gi/pygi-foreign-cairo.c
13983 gi/pygi-foreign-gvariant.c
13984 gi/pygi-foreign-gvariant.h
13990 commit 01596a9b7cc0ceef3904da5b96939140ee0732fd
13991 Author: John (J5) Palmieri <johnp@redhat.com>
13992 Date: Tue Mar 22 13:20:54 2011 -0400
13994 [gi] foreign types now take interface infos instead of type infos
13996 * this is a prep for the invoke-rewrite branch
13997 * when marshalling foreign structs we may not have the type info but
13998 we will always have the interface info to pass
13999 * this simplifies the code because we were simply converting the
14000 type info back to an interface info anyway so there is less
14001 refcounting to keep track of
14002 * also fixes a bug where we were leaking PyNone ref counts
14004 gi/pygi-argument.c | 4 ++--
14005 gi/pygi-foreign-cairo.c | 16 ++++++++--------
14006 gi/pygi-foreign-gvariant.c | 12 ++++++------
14007 gi/pygi-foreign.c | 32 +++++++++++++-------------------
14008 gi/pygi-foreign.h | 8 ++++----
14009 gi/pygi-invoke.c | 6 +++---
14010 gi/pygi.h | 12 ++++++------
14011 7 files changed, 42 insertions(+), 48 deletions(-)
14013 commit fbabc1fdafa1dcbd1f6aaea7b821bd1c64a546ab
14014 Author: Martin Pitt <martin.pitt@ubuntu.com>
14015 Date: Tue Mar 22 15:04:01 2011 +0100
14017 Fix GSchema tests for separate build tree
14019 When using a separate build tree, the compiled GSettings schema will
14021 build tree, but as the test scripts are only in the source tree they
14023 the compiled schema. Pass the build dir as environment variable and
14025 over test_overrides.py's directory.
14027 tests/Makefile.am | 3 ++-
14028 tests/test_overrides.py | 4 +++-
14029 2 files changed, 5 insertions(+), 2 deletions(-)
14031 commit 7332a1b99775519fdc5500cab6628b713e946a8c
14032 Author: John (J5) Palmieri <johnp@redhat.com>
14033 Date: Mon Mar 21 19:03:29 2011 -0400
14035 [gi] start of merge from master
14037 * move some of the modified files that will cause merge conflicts
14039 own, nonconflicting files
14040 * copy the old files out of master
14042 gi/pygi-argument.c | 2101 +++------------------------
14043 gi/pygi-invoke-ng.c | 1179 ++++++++++++++++
14044 gi/pygi-invoke.c | 421 ++----
14045 gi/pygi-marshal.c | 3916
14046 +++++++++++++++++++++++++++++++++++++++++++++++++++
14047 4 files changed, 5389 insertions(+), 2228 deletions(-)
14049 commit 62b49dae97441953452d097cb1751df14302547a
14050 Author: John (J5) Palmieri <johnp@redhat.com>
14051 Date: Wed Mar 16 17:34:18 2011 -0400
14053 [gi] marshal raw closures
14055 * before we were able to marshal python callables into methods
14057 GClosures but we had no way to take a GClosure returned from one
14058 method and pass it to another - this enables that usecase
14060 https://bugzilla.gnome.org/show_bug.cgi?id=644757
14062 gi/pygi-argument.c | 17 ++++++++++-------
14063 tests/test_gi.py | 4 ++++
14064 2 files changed, 14 insertions(+), 7 deletions(-)
14066 commit 1e70957c5470a0f4bceba38ca66a4e4274fdc8d8
14067 Author: John Stowers <john.stowers@gmail.com>
14068 Date: Sun Mar 6 23:41:01 2011 +1300
14070 pygi-convert.sh add GObject.xxx and webkit
14072 https://bugzilla.gnome.org/show_bug.cgi?id=644347
14074 pygi-convert.sh | 7 +++++++
14075 1 file changed, 7 insertions(+)
14077 commit 2292673c96e7973a0732ca15bbd5b0bf7a9c7dcf
14078 Author: John Stowers <john.stowers@gmail.com>
14079 Date: Sun Mar 6 23:41:30 2011 +1300
14081 pygi-convert.sh remove gobject tests, GObject works now
14083 https://bugzilla.gnome.org/show_bug.cgi?id=644347
14085 pygi-convert.sh | 28 ----------------------------
14086 1 file changed, 28 deletions(-)
14088 commit d26e5cc45f277f6b7edb32aa416520bb53bff9c2
14089 Author: John (J5) Palmieri <johnp@redhat.com>
14090 Date: Fri Mar 11 14:09:02 2011 -0500
14092 [gi-demos] add pickers demo
14094 demos/gtk-demo/demos/pickers.py | 74
14095 +++++++++++++++++++++++++++++++++++++++++
14096 1 file changed, 74 insertions(+)
14098 commit b8d926a458ed7d7e92719e41b5bc1c36f68882b3
14099 Author: John (J5) Palmieri <johnp@redhat.com>
14100 Date: Thu Mar 10 18:12:50 2011 -0500
14102 [gi-demos] add menu demo
14104 demos/gtk-demo/demos/menus.py | 122
14105 ++++++++++++++++++++++++++++++++++++++++++
14106 1 file changed, 122 insertions(+)
14108 commit 9baec8ed1c5d99c1677a75eaa1d38912f41f0b2d
14109 Author: John (J5) Palmieri <johnp@redhat.com>
14110 Date: Wed Mar 9 13:02:50 2011 -0500
14112 [gi-overrides] fix exception block so it works in Python 2.5
14114 gi/overrides/Gio.py | 5 ++++-
14115 1 file changed, 4 insertions(+), 1 deletion(-)
14117 commit 5ac534ac3ceee3cc19fe2297e3cd009817ed726f
14118 Author: Martin Pitt <martin.pitt@ubuntu.com>
14119 Date: Mon Mar 21 13:19:58 2011 +0100
14121 Revert "Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES"
14123 This reverts commit fc7d7f7f153d57ff3866b7bfd5e6479d702cc4d9.
14125 This introduces additional libpython dependencies, which breaks
14127 which support multiple Python versions, and also causes the python
14129 to be in memory twice in some cases.
14131 https://bugzilla.gnome.org/show_bug.cgi?id=620215
14133 gi/Makefile.am | 4 +---
14134 glib/Makefile.am | 2 +-
14135 m4/python.m4 | 7 ++-----
14136 tests/Makefile.am | 2 +-
14137 4 files changed, 5 insertions(+), 10 deletions(-)
14139 commit cd01f8ce1373f28b1427dd847bef44f747f1e6b3
14140 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
14141 Date: Fri Mar 18 17:06:08 2011 +0100
14143 setup.py: fix user_access_control option
14146 1 file changed, 1 insertion(+), 1 deletion(-)
14148 commit 2da60baec4f43c41f43527cbfde4e21e0eea728c
14149 Author: Martin Pitt <martin.pitt@ubuntu.com>
14150 Date: Wed Mar 16 10:22:35 2011 +0100
14152 [gi] Respect the MessageType for Gtk.MessageDialog
14154 Don't just ignore the type argument, actually pass it on. Thanks
14156 Chou for spotting this!
14158 gi/overrides/Gtk.py | 1 +
14159 1 file changed, 1 insertion(+)
14161 commit 029a79d1af1e0998aa6bc88ce1c1f48ce0ccd2a0
14162 Author: Martin Pitt <martin.pitt@ubuntu.com>
14163 Date: Tue Mar 15 10:22:39 2011 +0100
14165 [gi] Do not require signature for D-BUS methods without arguments
14167 Calling methods on DBusProxy objects usually requires specifying
14169 as first argument. However, if the D-BUS method does not take any
14171 specifying the empty '()' signature does not give any additional
14173 so allow the caller to just call the proxy method without any
14176 Also ensure that passing a non-string signature raises a
14178 exception, instead of crashing deep in the GVariant leaf constructor.
14180 https://bugzilla.gnome.org/show_bug.cgi?id=644260
14182 gi/overrides/Gio.py | 16 +++++++++++++++-
14183 tests/test_gdbus.py | 13 +++++++++++++
14184 2 files changed, 28 insertions(+), 1 deletion(-)
14186 commit 5bf66ce79267b25bcc80251f9170498fa1d765f6
14187 Author: John Stowers <john.stowers@gmail.com>
14188 Date: Sun Mar 6 23:05:33 2011 +1300
14190 [gi-overrides] TreeViewColumn.set_cell_data_func func_data can be None
14192 https://bugzilla.gnome.org/show_bug.cgi?id=644343
14194 gi/overrides/Gtk.py | 2 ++
14195 1 file changed, 2 insertions(+)
14197 commit 8e4f86e17a1de533a93b0748fd8de3cbfa70ba62
14198 Author: John Stowers <john.stowers@gmail.com>
14199 Date: Sun Mar 6 17:48:04 2011 +1300
14201 [gi-demos] dont try and run demos that represent directories
14203 demos/gtk-demo/gtk-demo.py | 3 ++-
14204 1 file changed, 2 insertions(+), 1 deletion(-)
14206 commit 097e5efab29d3d2d91d0b9fc75bf00219e9b7810
14207 Author: John (J5) Palmieri <johnp@redhat.com>
14208 Date: Mon Mar 7 18:09:18 2011 -0500
14210 [gi-demos] some python 3 compat fixes
14212 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 6 ++++++
14213 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
14214 demos/gtk-demo/demos/rotatedtext.py | 4 ++--
14215 demos/gtk-demo/gtk-demo.py | 4 ++--
14216 4 files changed, 11 insertions(+), 5 deletions(-)
14218 commit fd5d5ef3abc947d3c6066eea6378514f87b7f0ce
14219 Author: John (J5) Palmieri <johnp@redhat.com>
14220 Date: Tue Feb 22 15:07:40 2011 -0500
14222 [gi-demos] add liststore demo
14224 demos/gtk-demo/demos/Tree View/__init__.py | 0
14225 demos/gtk-demo/demos/Tree View/liststore.py | 205
14226 ++++++++++++++++++++++++++++
14227 2 files changed, 205 insertions(+)
14229 commit 09de5cf99474fc8a34b5f4a61cede1fb47353ebb
14230 Author: John (J5) Palmieri <johnp@redhat.com>
14231 Date: Mon Mar 7 18:08:40 2011 -0500
14233 [gi-demos] catch the correct error class
14235 demos/gtk-demo/demos/images.py | 11 ++++++-----
14236 1 file changed, 6 insertions(+), 5 deletions(-)
14238 commit 7284d2d4622978fc9ddfd00f2714b3a572b7ab56
14239 Author: Steve Frécinaux <code@istique.net>
14240 Date: Sun Mar 6 21:18:36 2011 +0100
14242 Do not leak python references when using the gobject.property()
14245 Since this helper was storing plain references in a long-lived
14247 refcount for the instances would never drop to zero, and so they would
14248 never get finalized.
14250 https://bugzilla.gnome.org/show_bug.cgi?id=644039
14252 gobject/propertyhelper.py | 5 ++---
14253 tests/test_properties.py | 23 +++++++++++++++++++++++
14254 2 files changed, 25 insertions(+), 3 deletions(-)
14256 commit 618dbb0ee15b47e5e7cb16a34ffce0937d7fa26d
14257 Author: John (J5) Palmieri <johnp@redhat.com>
14258 Date: Fri Mar 4 12:25:49 2011 -0500
14260 handle uchar as bytes, not strings in python 3
14262 * This worked in Python2 because bytes and strings are equivilant
14264 PYGLIB_PyString_FromStringAndSize evaluated to a PyString
14265 * In Python 3 PYGLIB_PyString_FromStringAndSize evaluates to
14267 * PYGLIB_PyBytes_FromStringAndSize evaluates to a PyString in Python 2
14268 and a PyBytes object in Python 3
14270 gobject/pygtype.c | 2 +-
14271 1 file changed, 1 insertion(+), 1 deletion(-)
14273 commit 7e9483ff75b7a63ddda0fa9a9847f9f22ad71240
14274 Author: John (J5) Palmieri <johnp@redhat.com>
14275 Date: Fri Mar 4 12:24:35 2011 -0500
14277 [gi-overrides] handle unichar gvalues when setting treemodels
14279 gi/overrides/Gtk.py | 10 ++++++++++
14280 1 file changed, 10 insertions(+)
14282 commit 6367bffa006e94dc667d7008fccad8d47d8d3646
14283 Author: John (J5) Palmieri <johnp@redhat.com>
14284 Date: Fri Mar 4 11:43:51 2011 -0500
14286 [gi-overrides] special case python 2 keywords that crept in
14288 gi/overrides/Gtk.py | 6 +++++-
14289 tests/test_overrides.py | 8 ++++----
14290 2 files changed, 9 insertions(+), 5 deletions(-)
14292 commit 83b0f8a37d5f3236780d87a1ca466c5e44ae2bc0
14293 Author: John (J5) Palmieri <johnp@redhat.com>
14294 Date: Fri Mar 4 11:10:16 2011 -0500
14296 check for the py3 _thread module in configure.ac if thread is
14299 configure.ac | 6 +++++-
14300 1 file changed, 5 insertions(+), 1 deletion(-)
14302 commit 4645af87d3c587f535404867dab56608719e5c7b
14303 Author: John (J5) Palmieri <johnp@redhat.com>
14304 Date: Fri Mar 4 00:39:23 2011 -0500
14306 [gi-demos] add iconview demo
14308 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 212
14309 +++++++++++++++++++++++
14310 1 file changed, 212 insertions(+)
14312 commit 761dcb516a04f7a89b3c7d68e88fff23055e2a80
14313 Author: John (J5) Palmieri <johnp@redhat.com>
14314 Date: Thu Mar 3 18:39:16 2011 -0500
14316 [gi] wrap the keyword argument in a dict so we don't break Python 2.5
14318 * python < 2.6 does not allow sending in keyword litterals after
14320 *args. You can only send in **kwds.
14323 1 file changed, 1 insertion(+), 1 deletion(-)
14325 commit f9604e90af12a1b9dbe7d7f311308e87cd0ed7dd
14326 Author: John (J5) Palmieri <johnp@redhat.com>
14327 Date: Thu Mar 3 18:30:40 2011 -0500
14329 [gi-demos] add the combobox with string ids section to the demos
14331 demos/gtk-demo/demos/combobox.py | 49
14332 +++++++++++++++++++++++++++++++++++++++-
14333 1 file changed, 48 insertions(+), 1 deletion(-)
14335 commit b70f4daf071cf77a4561b57f5521eb928f66d1ce
14336 Author: John (J5) Palmieri <johnp@redhat.com>
14337 Date: Thu Mar 3 16:47:51 2011 -0500
14339 [gi-overrides] add an override for Gdk.RGBA
14341 gi/overrides/Gdk.py | 18 ++++++++++++++++++
14342 tests/test_overrides.py | 10 ++++++++++
14343 2 files changed, 28 insertions(+)
14345 commit ee2b63f60f350332ed21927721ed9ddff3a8034e
14346 Author: John (J5) Palmieri <johnp@redhat.com>
14347 Date: Thu Mar 3 16:10:17 2011 -0500
14349 [gi-demos] fix up search-entry to reflect annotations fixed in Gtk+
14352 demos/gtk-demo/demos/Entry/search_entry.py | 23 +++++++++--------------
14353 1 file changed, 9 insertions(+), 14 deletions(-)
14355 commit cd046e4c355706ead5f512b810a2a48317f8c32e
14356 Author: John (J5) Palmieri <johnp@redhat.com>
14357 Date: Wed Mar 2 18:13:43 2011 -0500
14359 [gi-demos] add search entry demo
14361 demos/gtk-demo/demos/Entry/search_entry.py | 257
14362 +++++++++++++++++++++++++++++
14363 1 file changed, 257 insertions(+)
14365 commit d5ddaa92e6349c2f52b67317326060973cb69661
14366 Author: John (J5) Palmieri <johnp@redhat.com>
14367 Date: Wed Mar 2 15:37:27 2011 -0500
14369 [gi] wrap map in a list for Python 3 compat
14372 1 file changed, 1 insertion(+), 1 deletion(-)
14374 commit 3e5ab72a2e1fa2d8c4c2864137c6251f264ff4af
14375 Author: John (J5) Palmieri <johnp@redhat.com>
14376 Date: Tue Mar 1 14:52:00 2011 -0500
14378 [gi-demos] fix up the validation combobox
14380 demos/gtk-demo/demos/combobox.py | 21 +++++++++++++++------
14381 1 file changed, 15 insertions(+), 6 deletions(-)
14383 commit 08af5f99f0838b3584f6a3b210d0a0304811e8ff
14384 Author: John (J5) Palmieri <johnp@redhat.com>
14385 Date: Tue Mar 1 12:31:35 2011 -0500
14387 add overridesdir variable in the .pc file for 3rd party overrides
14389 pygobject-2.0.pc.in | 1 +
14390 1 file changed, 1 insertion(+)
14392 commit 4a6b14a92a687a2311516b2c16c355216b5270a7
14393 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
14394 Date: Fri Feb 11 17:14:11 2011 +0100
14396 setup.py: Set bdist_wininst user-access-control property
14399 1 file changed, 2 insertions(+), 1 deletion(-)
14401 commit ad3ab659b83cb985730e19a83651da319d4bcb9c
14402 Author: Martin Pitt <martin.pitt@ubuntu.com>
14403 Date: Wed Mar 2 16:29:00 2011 +0100
14405 Fix uninitialized variable in gi.require_version()
14407 gi/__init__.py | 3 ++-
14408 1 file changed, 2 insertions(+), 1 deletion(-)
14410 commit 6e7606ee8830f6f51b777f41f6df2f6ea1784e89
14411 Author: Martin Pitt <martin.pitt@ubuntu.com>
14412 Date: Tue Mar 1 23:26:07 2011 +0100
14414 Run tests with LC_MESSAGES="C"
14416 Some tests, such as tests/test_gdbus.py check parts of error messages
14418 visible strings. Ensure that these do not get translated in the
14421 tests/runtests.py | 2 ++
14422 1 file changed, 2 insertions(+)
14424 commit 0461e05174637ae02f34029b85ba217d5ae48c53
14425 Author: John (J5) Palmieri <johnp@redhat.com>
14426 Date: Mon Feb 28 18:21:43 2011 -0500
14428 [gi-overrides] override Gtk.stock_lookup to not return success
14430 demos/gtk-demo/demos/combobox.py | 2 +-
14431 gi/overrides/Gtk.py | 9 +++++++++
14432 2 files changed, 10 insertions(+), 1 deletion(-)
14434 commit 40decf3501823004a6e4d3acbbf204c4d4d0a7ec
14435 Author: John (J5) Palmieri <johnp@redhat.com>
14436 Date: Mon Feb 28 14:16:00 2011 -0500
14438 update NEWS to reflect changes in the 2.27.91 release (PYGOBJECT_2_28
14441 NEWS | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
14442 1 file changed, 50 insertions(+)
14444 commit c2d5122b8e3cf51ec52418f90f1788895b842b6a
14445 Author: John (J5) Palmieri <johnp@redhat.com>
14446 Date: Mon Feb 28 14:08:05 2011 -0500
14448 [gi-tests] use Gdk.test_simulate_button instead of emitting event
14451 * this function is available specifically so we can test events so
14453 instead of creating our own button press event
14455 tests/test_overrides.py | 9 +++++----
14456 1 file changed, 5 insertions(+), 4 deletions(-)
14458 commit 1be1a2ea2787dffeb71ab4a38233fb71e761bd21
14459 Author: Laszlo Pandy <lpandy@src.gnome.org>
14460 Date: Thu Feb 24 19:30:32 2011 +0100
14462 [gi-tests] tests for EventButton override.
14464 * John (J5) Palmieri - fixed up original patch so that we actually
14465 emit the event instead of just creating a Gdk.ButtonEvent object
14467 https://bugzilla.gnome.org/show_bug.cgi?id=642554
14469 tests/test_overrides.py | 21 +++++++++++++++++++++
14470 1 file changed, 21 insertions(+)
14472 commit 99044a4860dd65c97f52b41b7cd3f216f4a97cd4
14473 Author: John (J5) Palmieri <johnp@redhat.com>
14474 Date: Wed Feb 23 18:43:27 2011 -0500
14476 [gi-overrides] Add event methods to all event union members
14478 https://bugzilla.gnome.org/show_bug.cgi?id=642554
14480 gi/overrides/Gdk.py | 70
14481 +++++++++++++++++++++++++++++++++++++++++++++++++++++
14482 1 file changed, 70 insertions(+)
14484 commit 6e30c69d38fd382414eb820097c297a80be547ac
14485 Author: John (J5) Palmieri <johnp@redhat.com>
14486 Date: Wed Feb 23 14:14:16 2011 -0500
14488 [gi] check to see if object is a member of a union when validating
14491 * union members are not subclasses of the union they belong to so
14493 inteface requires you pass a union but you pass one of its members
14494 there will be a type error
14495 * this patch checks to see if the type you are passing is a member
14497 union and passes the checks if it is
14498 * this works in python 3 but in python 2 methods do their own
14500 check on the instance parameter (e.g. self) so we need to figure
14501 out how to override that for union methods
14502 (e.g. Gdk.Event.get_state)
14504 https://bugzilla.gnome.org/show_bug.cgi?id=642554
14506 gi/pygi-argument.c | 38 ++++++++++++++++++++++++++++++++++++++
14507 1 file changed, 38 insertions(+)
14509 commit 525f21d1365c24488b768955362085bf82512dee
14510 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
14511 Date: Wed Feb 16 09:44:12 2011 +0100
14513 Skip interfaces when checking for conflicts in the MRO
14515 https://bugzilla.gnome.org/show_bug.cgi?id=642437
14517 gi/types.py | 40 ++++++++++++++++++++++++++++++++++++++++
14518 gobject/gobjectmodule.c | 9 +++++++--
14519 tests/test_gi.py | 16 ++++++++++++++++
14520 3 files changed, 63 insertions(+), 2 deletions(-)
14522 commit da212024772a7a0c32f04f3589bfb24d2eb5706f
14523 Author: Laszlo Pandy <lpandy@src.gnome.org>
14524 Date: Thu Feb 24 18:46:15 2011 +0100
14526 [gi] Remove DyanmicModule.load() to _load() to prevent overriding
14529 gi/importer.py | 2 +-
14530 gi/module.py | 2 +-
14531 2 files changed, 2 insertions(+), 2 deletions(-)
14533 commit 2ce6b58c7427cf67ba4f55731ba0a4c04703e495
14534 Author: Laszlo Pandy <lpandy@src.gnome.org>
14535 Date: Wed Feb 23 12:05:03 2011 +0100
14537 Test case with John's fix for crash with C arrays and a GError is set.
14539 I have added a test case, and made a few fixes to John's patch,
14541 solution is the same his.
14543 Workaround a bug when freeing C array types
14545 * This is a hack and there is really no way around it without
14547 the current array handling code which spans between pygi-invoke.c
14549 pygi-argument.c and completely rewriting it.
14550 * The is no time before our stable release
14551 * This patch trades a segfault for a leak in the very unusual
14553 an error occures inside an interface that takes one or more C
14555 we wrap C arrays in GArrays internally but have to unwrap them
14557 to the introspected C function, there is a period of time where
14559 can occure with the C array in an unknown state (some being true
14561 and others still wrapped in a GArray)
14562 * This patch adds a c_arrays_are_wrapped state to signal that it
14564 free them. However since c_arrays_are_wrapped can only track
14566 as a group, not individually, if it is set to FALSE we can
14568 that every array is a pure C array, so instead we will simply
14570 to avoid incorrectly freeing one and causing a segfault.
14571 * This issue is fixed in the invoke rewrite branch as it treats
14573 GArrays separately, however that branch is not yet ready to be
14575 won't be until the next release.
14577 https://bugzilla.gnome.org/show_bug.cgi?id=642708
14579 gi/pygi-invoke.c | 54
14580 ++++++++++++++++++++++++++++++++++++++++++++++++++----
14581 tests/test_gi.py | 9 +++++++++
14582 2 files changed, 59 insertions(+), 4 deletions(-)
14584 commit 702a89beca92cab6b0142829b20281b9245f28b8
14585 Author: John (J5) Palmieri <johnp@redhat.com>
14586 Date: Wed Feb 23 15:11:59 2011 -0500
14588 [gi-overrides] fix setting rows in treeview to accept None as a value
14590 * as done in PyGTK None indicates the column should not be set
14592 gi/overrides/Gtk.py | 3 +++
14593 tests/test_overrides.py | 18 +++++++++++++-----
14594 2 files changed, 16 insertions(+), 5 deletions(-)
14596 commit 498f0d9c903131aca5efe27ffaad7620e40f72ea
14597 Author: Laszlo Pandy <lpandy@src.gnome.org>
14598 Date: Wed Feb 23 14:23:19 2011 +0100
14600 [gi] Add value_name for enum and flags from introspection
14601 "c:identifier" (if attr is available).
14603 gi/gimodule.c | 22 ++++++++++++++++++----
14604 tests/test_gi.py | 36 ++++++++++++++++++++++++++++++++++++
14605 2 files changed, 54 insertions(+), 4 deletions(-)
14607 commit 824aeb7fab17d6590e5babf2d1f64298f2d0e16b
14608 Author: Laszlo Pandy <lpandy@src.gnome.org>
14609 Date: Wed Feb 23 11:40:55 2011 +0100
14611 Fix flags with multiple names for the same value.
14613 Flags constructs a dict __flags_values__ and uses it to cache
14614 instances. However some flags in Glib such as G_IO_FLAG_MASK and
14615 G_IO_FLAG_GET_MASK are aliases for the same int value, and will
14616 override each other's place in the dictionary.
14618 The dict length check is not necessary. It only reduces the number
14619 of duplicate instances we keep, because if an instance is not
14620 found in the dict, a new one is created anyway.
14622 gobject/pygflags.c | 2 +-
14623 1 file changed, 1 insertion(+), 1 deletion(-)
14625 commit 3afbebeee486e14fd3f48552368903eb78f6b10c
14626 Author: Laszlo Pandy <lpandy@src.gnome.org>
14627 Date: Tue Feb 22 21:37:33 2011 +0100
14629 Don't force loading of DynamicModule until set in sys.modules
14631 This fixes Tomeu's previous commit, which removed lazy loading.
14632 Forcing the loading of a module before it is installed in sys.modules
14633 prevents some overrides from being registered (namely Gtk.main_quit).
14635 https://bugzilla.gnome.org/show_bug.cgi?id=642305
14637 gi/importer.py | 2 +-
14638 1 file changed, 1 insertion(+), 1 deletion(-)
14640 commit 2a9cbfb435b47dc646e2c6ffe630464b560229a6
14641 Author: John (J5) Palmieri <johnp@redhat.com>
14642 Date: Mon Feb 21 17:20:57 2011 -0500
14644 use GValue support to marshal GtkTreeModel values correctly
14646 * needs patch from https://bugzilla.gnome.org/show_bug.cgi?id=642914
14648 https://bugzilla.gnome.org/show_bug.cgi?id=642921
14650 gi/overrides/Gtk.py | 37 ++++++++++++++++++---
14651 tests/test_overrides.py | 87
14652 +++++++++++++++++++++++++++++++++++++++++--------
14653 2 files changed, 107 insertions(+), 17 deletions(-)
14655 commit 9e4ce7dc0f03ea407654c4af028122f57cbc4c5e
14656 Author: John (J5) Palmieri <johnp@redhat.com>
14657 Date: Mon Feb 21 16:14:20 2011 -0500
14659 [gi] pass raw GValues instead of trying to marshal them
14661 * Right now GValues are transparent to the user but this leave us no
14662 way to describe fundimental types other than those supported
14664 by python (e.g. int, str, etc)
14665 * If an interface is expecting a uint or other GValue type a user
14667 the raw GValue interfaces and expect paramaters that take
14669 marshal them correctly e.g.:
14670 value = GObject.Value()
14671 value.int(GObject.TYPE_UINT)
14672 value.set_uint(1234)
14673 * The objective here is to not for users to use this API but for
14675 to be able to utilize them. For instance in the TreeModel API
14677 get the expected type for a column and them create a GValue with
14679 type so that he underlying python object is marshalled correctly.
14681 https://bugzilla.gnome.org/show_bug.cgi?id=642914
14683 gi/pygi-argument.c | 24 ++++++++++++++++++------
14684 tests/test_gi.py | 9 ++++++++-
14685 2 files changed, 26 insertions(+), 7 deletions(-)
14687 commit b458f6f3424a04f6ceece09d443009372d70544c
14688 Author: John (J5) Palmieri <johnp@redhat.com>
14689 Date: Sat Feb 19 19:42:41 2011 -0500
14691 [gi-demos] add icon view edit and drag-and-drop demo
14693 demos/gtk-demo/demos/Icon View/__init__.py | 0
14694 demos/gtk-demo/demos/Icon View/iconviewedit.py | 101
14695 +++++++++++++++++++++++++
14696 2 files changed, 101 insertions(+)
14698 commit 7b47289e25d1dd57ce15556ccfbb3ede1c4bfe8b
14699 Author: John (J5) Palmieri <johnp@redhat.com>
14700 Date: Sat Feb 19 17:26:42 2011 -0500
14702 [gi-demos] add info bars demo
14704 demos/gtk-demo/demos/infobars.py | 99
14705 ++++++++++++++++++++++++++++++++++++++++
14706 1 file changed, 99 insertions(+)
14708 commit 76758efb6579752237a0dc4d56cf9518de6c6e55
14709 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
14710 Date: Wed Feb 16 11:53:18 2011 +0100
14712 Load typelibs at import time, add gi.require_version()
14714 also adds Repository.get_loaded_namespaces()
14716 https://bugzilla.gnome.org/show_bug.cgi?id=642305
14718 gi/__init__.py | 29 ++++++++++++++++++++++++++++-
14719 gi/importer.py | 1 +
14720 gi/module.py | 21 ++++-----------------
14721 gi/pygi-repository.c | 23 +++++++++++++++++++++++
14722 4 files changed, 56 insertions(+), 18 deletions(-)
14724 commit 96f7d1aed732db09a74cd463ed894b7347dbcb15
14725 Author: Laszlo Pandy <lpandy@src.gnome.org>
14726 Date: Sat Feb 19 23:11:25 2011 +0100
14728 [gi] Register GType for non-GType enums and flags at runtime.
14730 Note: rebuild of gobject-introspection is required for new tests.
14732 Previously non-GType enums used a separate type implemented in
14733 Python, and non-GType flags had no implementation at all. This
14734 removes the separate type for enums, and registers a new GType at
14735 runtime if there isn't one.
14737 This allows non-GType enums and flags to use the same Python type
14738 as GType enums and flags. This removes duplication of code, and
14739 make both kinds behave identically.
14741 https://bugzilla.gnome.org/show_bug.cgi?id=642607
14743 gi/gimodule.c | 117
14744 +++++++++++++++++++++++++++++++++++++++++++++++++++++
14745 gi/module.py | 24 ++++++-----
14746 gi/pygi-info.c | 15 +++++++
14747 gi/types.py | 16 --------
14748 gobject/pygflags.c | 13 ++++--
14749 tests/test_gi.py | 35 ++++++++++++++++
14750 6 files changed, 191 insertions(+), 29 deletions(-)
14752 commit 63a60bcc20e724f96ea8d565ee0cf13a228b72b9
14753 Author: Martin Pitt <martin.pitt@ubuntu.com>
14754 Date: Tue Feb 8 15:38:21 2011 +0100
14756 [gi] Add Pythonic gdbus method invocation
14758 Provide a wrapper for Gio.DBusProxy for calling D-Bus methods like
14760 Python object. This will handle the Python object <-> GVariant
14762 optional keyword arguments for flags, timeout, and a result handler
14764 asynchronous calls.
14766 Require specifying the input argument signature as the first argument
14768 method call. This ensures that the types of e. g. integers are
14770 and avoids having to do expensive D-Bus introspection for each call.
14772 https://bugzilla.gnome.org/show_bug.cgi?id=640181
14774 gi/overrides/Gio.py | 99
14775 ++++++++++++++++++++++++++++++++++++++++++++++++++
14776 tests/test_gdbus.py | 102
14777 ++++++++++++++++++++++++++++++++++++++++++++++++++--
14778 2 files changed, 199 insertions(+), 2 deletions(-)
14780 commit ed5cdbb6f52bdbd13521a814516b15687955d6f7
14781 Author: Laszlo Pandy <lpandy@src.gnome.org>
14782 Date: Fri Feb 18 22:48:59 2011 +0100
14784 Skip GError out parameters in Python closure.
14786 Python code should have never have to explicitely return a GError.
14787 Once we are able to marshal exceptions the Python code should
14788 throw an exception instead. Until then, set GError to NULL, and
14789 don't complain if a Python function doesn't return an arg for it.
14791 https://bugzilla.gnome.org/show_bug.cgi?id=642715
14793 gi/pygi-closure.c | 8 ++++++++
14794 1 file changed, 8 insertions(+)
14796 commit 5a5ee3877e22939a697772a7f0630ef8cae3d52f
14797 Author: Laszlo Pandy <lpandy@src.gnome.org>
14798 Date: Fri Feb 18 10:15:59 2011 +0100
14800 Fix runtests.py to work with Python3 (print function syntax error).
14802 tests/runtests.py | 2 +-
14803 1 file changed, 1 insertion(+), 1 deletion(-)
14805 commit ad5d3fccff9433e2dadac89d731dac5cafb0eac3
14806 Author: John (J5) Palmieri <johnp@redhat.com>
14807 Date: Thu Feb 17 19:46:49 2011 -0500
14809 [gi-demos] added rotate text demo
14811 * needs some Pango Attr fixes to be 100% done, See FIXME
14813 demos/gtk-demo/demos/rotatedtext.py | 196
14814 ++++++++++++++++++++++++++++++++++++
14815 1 file changed, 196 insertions(+)
14817 commit 9ac11c3c3b1c0399c85ece57c0983ed60d419d7a
14818 Author: John (J5) Palmieri <johnp@redhat.com>
14819 Date: Thu Feb 17 17:25:00 2011 -0500
14821 [gi-demos] add images demo
14823 * needs annotation fix from GdkPixbuf for ImageLoader to work
14825 demos/gtk-demo/demos/images.py | 311
14826 +++++++++++++++++++++++++++++++++++++++++
14827 1 file changed, 311 insertions(+)
14829 commit 13b06170b89b3468e6255be32af4833ffc675c9d
14830 Author: John (J5) Palmieri <johnp@redhat.com>
14831 Date: Thu Feb 17 14:48:24 2011 -0500
14833 [gi-demos] add pixbuf demo
14835 demos/gtk-demo/demos/pixbuf.py | 183
14836 +++++++++++++++++++++++++++++++++++++++++
14837 1 file changed, 183 insertions(+)
14839 commit 7abcfd5b4db99bb0f50c5a47d346a2de3836f994
14840 Author: John (J5) Palmieri <johnp@redhat.com>
14841 Date: Thu Feb 17 14:47:12 2011 -0500
14843 [gi-demos] remove fixmes from print demo, fixed in pango
14845 demos/gtk-demo/demos/printing.py | 10 +++-------
14846 1 file changed, 3 insertions(+), 7 deletions(-)
14848 commit 9b13f49356da7d71c69b82da2a59d92f456a6913
14849 Author: John (J5) Palmieri <johnp@redhat.com>
14850 Date: Wed Feb 16 19:39:30 2011 -0500
14852 [gi-demos] add printing demo
14854 * needs some annotations for pango before it is 100% useful
14856 demos/gtk-demo/demos/printing.py | 177
14857 +++++++++++++++++++++++++++++++++++++++
14858 1 file changed, 177 insertions(+)
14860 commit 6025b62ee662af347e48b6752e6d5be74b4a8215
14861 Author: John (J5) Palmieri <johnp@redhat.com>
14862 Date: Wed Feb 16 17:52:38 2011 -0500
14864 [gi-overrides] add cursor overrides
14866 https://bugzilla.gnome.org/show_bug.cgi?id=635947
14868 gi/overrides/Gdk.py | 41 +++++++++++++++++++++++++++++++++++++++++
14869 tests/test_overrides.py | 23 +++++++++++++++++++++++
14870 2 files changed, 64 insertions(+)
14872 commit 03c0aa498470037ef2aa6a8233198ff521f8d42f
14873 Author: John (J5) Palmieri <johnp@redhat.com>
14874 Date: Wed Feb 16 16:18:24 2011 -0500
14876 [gi-demos] add the links demo
14878 demos/gtk-demo/demos/links.py | 74
14879 +++++++++++++++++++++++++++++++++++++++++++
14880 1 file changed, 74 insertions(+)
14882 commit 79ecddf8d54b3f4f8b5ef05d302675152622c832
14883 Author: John (J5) Palmieri <johnp@redhat.com>
14884 Date: Wed Feb 16 15:48:40 2011 -0500
14886 [gi-demos] add expander demo
14888 demos/gtk-demo/demos/expander.py | 60
14889 ++++++++++++++++++++++++++++++++++++++++
14890 1 file changed, 60 insertions(+)
14892 commit 76cdb13ab872f91f8384d26b0f2932087a746117
14893 Author: John (J5) Palmieri <johnp@redhat.com>
14894 Date: Wed Feb 16 15:14:35 2011 -0500
14896 [gi-overrides] use pop instead of del and add extra tests for
14899 gi/overrides/Gtk.py | 6 ++----
14900 tests/test_overrides.py | 8 ++++++++
14901 2 files changed, 10 insertions(+), 4 deletions(-)
14903 commit 6ef83c049735689c42f085ca9d7b8e1f251c410f
14904 Author: Laszlo Pandy <lpandy@src.gnome.org>
14905 Date: Tue Feb 15 20:07:42 2011 +0100
14907 [tests] Separate processes for GI and static binding tests.
14909 Importing and using both static gobject bindings and
14910 introspection GObject bindings in the same process can cause
14911 conflicts with types which otherwise wouldn't be there.
14913 This patch changes "make check" to call runtests.py twice -- once
14914 for each set of tests.
14916 In the case of a test failure, runtests.py now sets the exit code
14917 so that make does not continue. Otherwise you might miss the
14918 failures from the first batch of tests in the scrollback.
14920 tests/Makefile.am | 19 +++++++++++--------
14921 tests/runtests.py | 4 +++-
14922 2 files changed, 14 insertions(+), 9 deletions(-)
14924 commit e0896b45f60f37097ec521f1bc38778383b78dd8
14925 Author: John (J5) Palmieri <johnp@redhat.com>
14926 Date: Tue Feb 15 14:47:10 2011 -0500
14928 [gi-demos] add dialogs demo
14930 demos/gtk-demo/demos/dialogs.py | 153
14931 ++++++++++++++++++++++++++++++++++++++++
14932 1 file changed, 153 insertions(+)
14934 commit 2dea743e82f6b18697950c34f116b2d0f1d6b1dd
14935 Author: John (J5) Palmieri <johnp@redhat.com>
14936 Date: Tue Feb 15 14:46:41 2011 -0500
14938 [gi-overrides] fix typo in GtkTable constructor
14940 gi/overrides/Gtk.py | 8 ++++----
14941 1 file changed, 4 insertions(+), 4 deletions(-)
14943 commit 9c277e1782c5a9d672d91fabf5289c5415891682
14944 Author: John (J5) Palmieri <johnp@redhat.com>
14945 Date: Tue Feb 15 13:26:38 2011 -0500
14947 [gi-demos] keep popup menu from destroying itself by holding a ref
14950 demos/gtk-demo/demos/clipboard.py | 8 ++++----
14951 1 file changed, 4 insertions(+), 4 deletions(-)
14953 commit 18800c4db0e1faea38fd84f635d26a7ded5d10de
14954 Author: John (J5) Palmieri <johnp@redhat.com>
14955 Date: Tue Feb 15 13:25:13 2011 -0500
14957 [gi-overrides] add a Gtk.Menu override for the popup method
14959 gi/overrides/Gtk.py | 7 +++++++
14960 1 file changed, 7 insertions(+)
14962 commit ad93386ba9f73ef4c3826544b3868cf03c01225e
14963 Author: John (J5) Palmieri <johnp@redhat.com>
14964 Date: Tue Feb 15 13:24:33 2011 -0500
14966 [gi-demos] fix the about dialog in appwindow demo
14968 demos/gtk-demo/demos/appwindow.py | 22 +++++++++-------------
14969 1 file changed, 9 insertions(+), 13 deletions(-)
14971 commit d0c45c80974f05b6adfd3bb01d785be268a53a98
14972 Author: John (J5) Palmieri <johnp@redhat.com>
14973 Date: Tue Feb 15 11:21:13 2011 -0500
14975 [gi-demos] fix clipboard demo so DnD works
14977 * menu popups don't work because the API takes a callback without
14981 demos/gtk-demo/demos/clipboard.py | 20 ++++++++++----------
14982 1 file changed, 10 insertions(+), 10 deletions(-)
14984 commit 02d0327508234ab2e3b7dc6de506d70e6fcaaa17
14985 Author: John (J5) Palmieri <johnp@redhat.com>
14986 Date: Tue Feb 15 10:18:53 2011 -0500
14988 [gi-demos] fix clipboard demo to reflect new API
14990 demos/gtk-demo/demos/clipboard.py | 6 +++---
14991 1 file changed, 3 insertions(+), 3 deletions(-)
14993 commit aa006cad6990eff0cbb68fa9550e428f2bc96473
14994 Author: John (J5) Palmieri <johnp@redhat.com>
14995 Date: Mon Feb 14 18:17:20 2011 -0500
14997 [gi-demo] Fix color dialog demo to run with new draw, style and
15000 demos/gtk-demo/demos/colorselector.py | 44
15001 ++++++++++++++---------------------
15002 1 file changed, 17 insertions(+), 27 deletions(-)
15004 commit f94a96c53e9432ac085bd05acee7ebdd2803fbad
15005 Author: John (J5) Palmieri <johnp@redhat.com>
15006 Date: Mon Feb 14 17:58:25 2011 -0500
15008 [gi-demos] fix most of the combobox app
15010 * Still having some issues with filtering the ComboBoxText widget
15012 demos/gtk-demo/demos/combobox.py | 17 ++++++++---------
15013 1 file changed, 8 insertions(+), 9 deletions(-)
15015 commit 3606eb20ad1651af621bf1aa429ec102082565eb
15016 Author: Laszlo Pandy <lpandy@src.gnome.org>
15017 Date: Mon Feb 14 19:36:27 2011 +0100
15019 Use PyGI type conversion (to fix foreign types) for signal callbacks.
15021 First attempt at patch to fix foreign types in signal callbacks.
15022 Tests are not implemented yet.
15024 https://bugzilla.gnome.org/show_bug.cgi?id=637601
15026 gi/Makefile.am | 2 +
15027 gi/gimodule.c | 1 +
15028 gi/pygi-argument.c | 91 ++++++++++++++++++
15029 gi/pygi-argument.h | 2 +
15030 gi/pygi-private.h | 1 +
15031 gi/pygi-signal-closure.c | 245
15032 +++++++++++++++++++++++++++++++++++++++++++++++
15033 gi/pygi-signal-closure.h | 46 +++++++++
15034 gi/pygi.h | 28 ++++++
15035 gobject/pygobject.c | 24 ++++-
15036 9 files changed, 436 insertions(+), 4 deletions(-)
15038 commit 2e39d5e8f96be2253acb2f34a0d0b5b9c9adb8ff
15039 Author: John (J5) Palmieri <johnp@redhat.com>
15040 Date: Mon Feb 14 16:47:03 2011 -0500
15042 [gi-demos] fix drawingarea app to use the new draw api
15044 demos/gtk-demo/demos/drawingarea.py | 144
15045 +++++++++++++-----------------------
15046 1 file changed, 50 insertions(+), 94 deletions(-)
15048 commit 8385afbbc5df295d9b7cd3b5d19c90faa1f7ea8e
15049 Author: John (J5) Palmieri <johnp@redhat.com>
15050 Date: Mon Feb 14 16:43:35 2011 -0500
15052 [gi-overrides] for Gtk 3 alias Gdk.Rectangle to cairo.RectangleInt
15054 * note this is the introspected gobject-cairo boxed type not the
15057 * we alias this so people do not get confused
15059 gi/overrides/Gdk.py | 5 +++++
15060 1 file changed, 5 insertions(+)
15062 commit d491c369e049ab726f09002af0462391d5c2f3ec
15063 Author: John (J5) Palmieri <johnp@redhat.com>
15064 Date: Mon Feb 14 15:07:11 2011 -0500
15066 [gi-overrides] let user set the proper property names in Gtk.Table
15068 * the old override added a columns and rows parameters to the Table
15070 to be in sync with PyGtk.
15071 * The GTK properties are n_columns and n_rows
15074 gi/overrides/Gtk.py | 8 ++++++++
15075 1 file changed, 8 insertions(+)
15077 commit 95bc2b2b025d659725d701c3b759c0c4d9681a36
15078 Author: John (J5) Palmieri <johnp@redhat.com>
15079 Date: Mon Feb 14 15:06:38 2011 -0500
15081 [gi-demos] get appwindow demo working again
15083 demos/gtk-demo/demos/appwindow.py | 24 ++++--------------------
15084 1 file changed, 4 insertions(+), 20 deletions(-)
15086 commit 015185f502c498c21cb108d3bb288c5b6dbf202f
15087 Author: John (J5) Palmieri <johnp@redhat.com>
15088 Date: Mon Feb 14 15:05:44 2011 -0500
15090 [gi-demos] fixed use of tree_iter_get
15092 demos/gtk-demo/gtk-demo.py | 2 +-
15093 1 file changed, 1 insertion(+), 1 deletion(-)
15095 commit 0c20977e4598e5447dd07c069e91226efacb1160
15096 Author: Simon van der Linden <svdlinden@gnome.org>
15097 Date: Fri Feb 11 22:02:03 2011 +0100
15099 Remove last GIO-related bits
15101 https://bugzilla.gnome.org/show_bug.cgi?id=638899
15105 configure.ac | 3 --
15106 examples/gio/directory-async.py | 33 ------------------
15107 examples/gio/downloader.py | 77
15108 -----------------------------------------
15109 pygobject.doap | 2 +-
15110 6 files changed, 3 insertions(+), 117 deletions(-)
15112 commit e4ebbd7de5570af1abf41bdf9469d4ce3edd48cb
15113 Author: Simon van der Linden <svdlinden@gnome.org>
15114 Date: Fri Feb 11 18:38:27 2011 +0100
15116 Remove GIO documentation
15118 https://bugzilla.gnome.org/show_bug.cgi?id=638899
15120 docs/Makefile.am | 82 +-
15121 docs/reference/pygio-appinfo.xml | 894 -----
15122 docs/reference/pygio-applaunchcontext.xml | 194 --
15123 docs/reference/pygio-asyncresult.xml | 117 -
15124 docs/reference/pygio-bufferedinputstream.xml | 461 ---
15125 docs/reference/pygio-bufferedoutputstream.xml | 275 --
15126 docs/reference/pygio-cancellable.xml | 290 --
15127 docs/reference/pygio-classes.xml | 47 -
15128 docs/reference/pygio-constants.xml | 1540 ---------
15129 docs/reference/pygio-datainputstream.xml | 799 -----
15130 docs/reference/pygio-dataoutputstream.xml | 504 ---
15131 docs/reference/pygio-drive.xml | 546 ---
15132 docs/reference/pygio-emblem.xml | 232 --
15133 docs/reference/pygio-emblemedicon.xml | 160 -
15134 docs/reference/pygio-file.xml | 4534
15135 -------------------------
15136 docs/reference/pygio-fileattributeinfo.xml | 73 -
15137 docs/reference/pygio-fileenumerator.xml | 488 ---
15138 docs/reference/pygio-fileicon.xml | 109 -
15139 docs/reference/pygio-fileinfo.xml | 346 --
15140 docs/reference/pygio-fileinputstream.xml | 214 --
15141 docs/reference/pygio-filemonitor.xml | 128 -
15142 docs/reference/pygio-fileoutputstream.xml | 257 --
15143 docs/reference/pygio-filterinputstream.xml | 152 -
15144 docs/reference/pygio-filteroutputstream.xml | 152 -
15145 docs/reference/pygio-functions.xml | 395 ---
15146 docs/reference/pygio-icon.xml | 217 --
15147 docs/reference/pygio-inputstream.xml | 730 ----
15148 docs/reference/pygio-loadableicon.xml | 198 --
15149 docs/reference/pygio-memoryinputstream.xml | 151 -
15150 docs/reference/pygio-memoryoutputstream.xml | 175 -
15151 docs/reference/pygio-mount.xml | 962 ------
15152 docs/reference/pygio-mountoperation.xml | 726 ----
15153 docs/reference/pygio-outputstream.xml | 140 -
15154 docs/reference/pygio-seekable.xml | 231 --
15155 docs/reference/pygio-simpleasyncresult.xml | 317 --
15156 docs/reference/pygio-themedicon.xml | 204 --
15157 docs/reference/pygio-unixinputstream.xml | 202 --
15158 docs/reference/pygio-unixoutputstream.xml | 202 --
15159 docs/reference/pygio-volume.xml | 718 ----
15160 docs/reference/pygio-volumemonitor.xml | 844 -----
15161 docs/reference/pygiounix-classes.xml | 13 -
15162 docs/reference/pygobject-ref.xml | 2 -
15163 42 files changed, 1 insertion(+), 19020 deletions(-)
15165 commit abdebc7f6515f9658812c0355d8ad0892e5371e4
15166 Author: John (J5) Palmieri <johnp@redhat.com>
15167 Date: Fri Feb 11 11:05:04 2011 -0500
15169 bump version to reflect the master branch moving towards pygobject 3.0
15171 * added NEWS file from branch pygobject-2-28
15173 * this branch will drop support for the static binding
15174 * use the pygobject-2-28 branch for static binding fixes
15177 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
15178 configure.ac | 4 +-
15179 2 files changed, 291 insertions(+), 2 deletions(-)
15181 commit 16140237aa45b4f188923da9f95b9d2af971011b
15182 Author: John (J5) Palmieri <johnp@redhat.com>
15183 Date: Thu Feb 10 16:46:08 2011 -0500
15185 fix build to correctly use python-config
15188 configure.ac | 6 ------
15189 m4/python.m4 | 9 +++++----
15190 tests/runtests.py | 1 +
15191 4 files changed, 9 insertions(+), 10 deletions(-)
15193 commit c2079f415638ef892b1e51f25eaafa3e1621667f
15194 Author: Simon van der Linden <svdlinden@gnome.org>
15195 Date: Thu Feb 10 22:26:00 2011 +0100
15197 Add missing libraries to link against
15199 glib/Makefile.am | 2 +-
15200 gobject/Makefile.am | 1 +
15201 2 files changed, 2 insertions(+), 1 deletion(-)
15203 commit 3cca62a9e7afd3d3d302c66f4fafe253f7743d4e
15204 Author: Steve Frécinaux <code@istique.net>
15205 Date: Wed Jan 19 15:00:56 2011 +0100
15207 Make runtests.py able to run command-line provided test files
15209 With this patch we are now able to run ./runtests.py <somefile>, which
15210 is more friendly than defining an environment variable to run some
15213 https://bugzilla.gnome.org/show_bug.cgi?id=639948
15215 tests/runtests.py | 9 +++++++++
15216 1 file changed, 9 insertions(+)
15218 commit 14c4cf8e6edae893538680964380d543bde4a14d
15219 Author: Martin Pitt <martin.pitt@ubuntu.com>
15220 Date: Wed Feb 9 11:34:59 2011 +0100
15222 Run test suite under dbus-launch
15224 When available, run the test suite in dbus-launch, so that the
15226 succeed even when building this in an environment without a running
15228 D-BUS (such as distribution package builds).
15230 tests/Makefile.am | 3 ++-
15231 1 file changed, 2 insertions(+), 1 deletion(-)
15233 commit 0858f550e2b6f75e3f583f963f5952f5ddae4e0e
15234 Author: Martin Pitt <martin.pitt@ubuntu.com>
15235 Date: Tue Feb 8 15:46:36 2011 +0100
15237 Fix test_gdbus.py to be Python3 friendly
15239 - TestCase.assert_() has been deprecated by assertTrue().
15240 - Exceptions don't have a message attribute any more, use str(e)
15242 tests/test_gdbus.py | 34 +++++++++++++++-------------------
15243 1 file changed, 15 insertions(+), 19 deletions(-)
15245 commit b7f32e4cca0cef201489b55653f96ac64a8f9ab9
15246 Author: Martin Pitt <martin.pitt@ubuntu.com>
15247 Date: Sat Jan 29 12:20:50 2011 +0100
15249 [gi] Provide comfortable GSettings API
15251 Make Gio.Settings behave like a dictionary, with transparent
15253 GVariants. Also provide a more comfortable constructor.
15255 https://bugzilla.gnome.org/show_bug.cgi?id=640838
15257 gi/overrides/Gio.py | 54 +++++++++++++++++++++++++++++
15258 tests/org.gnome.test.gschema.xml | 9 +++++
15259 tests/test_overrides.py | 73
15260 ++++++++++++++++++++++++++++++++--------
15261 3 files changed, 122 insertions(+), 14 deletions(-)
15263 commit 8dad0eaed60a9de26e9a729a48a1f6bc74be486e
15264 Author: Laszlo Pandy <lpandy@src.gnome.org>
15265 Date: Fri Feb 4 16:36:07 2011 +0100
15267 Fix vfunc search bug when using GInterfaces and a do_* method.
15269 If a class inherits from a GInterface, as well as implements a do_*
15270 method (which is not in a super class), all the base interfaces
15271 will be searched for an __info__ attribute. GInterface doesn't
15272 have one, causing an error on class creation.
15274 https://bugzilla.gnome.org/show_bug.cgi?id=641493
15276 gi/types.py | 4 +++-
15277 tests/test_gi.py | 8 ++++++++
15278 2 files changed, 11 insertions(+), 1 deletion(-)
15280 commit 2660be1f227be7a53092483bc9d8ead1bd1fb266
15281 Author: Laszlo Pandy <lpandy@src.gnome.org>
15282 Date: Thu Feb 3 15:31:42 2011 +0100
15284 [GI] Add tests for Gtk.Widget.drag_* methods.
15286 Previously all the drag_* methods were accessible as Gtk.drag_*.
15287 Now that the (method) attribute has been included for these
15288 methods in Gtk+, this test checks that they are included as class
15289 methods when using pygobject introspection.
15291 https://bugzilla.gnome.org/show_bug.cgi?id=639945
15293 tests/test_overrides.py | 40 ++++++++++++++++++++++++++++++++++++++++
15294 1 file changed, 40 insertions(+)
15296 commit d57500537014b3da624be33b40401ba289fa22b8
15297 Author: John (J5) Palmieri <johnp@redhat.com>
15298 Date: Thu Feb 3 09:02:16 2011 -0500
15300 [gi] make caller allocates work again
15302 gi/pygi-cache.c | 18 +++---------------
15303 gi/pygi-invoke.c | 37 ++++++++++++++++++++++++++++++++++---
15304 2 files changed, 37 insertions(+), 18 deletions(-)
15306 commit 99d6e6c8d806e6f9e48c3c2380024fb3511d110a
15307 Author: John (J5) Palmieri <johnp@redhat.com>
15308 Date: Wed Feb 2 19:27:40 2011 -0500
15310 [gi] fix container object reffing
15312 gi/pygi-argument.c | 7 +++----
15313 gi/pygi-cache.c | 12 ++++--------
15314 2 files changed, 7 insertions(+), 12 deletions(-)
15316 commit 09acaff29dfaabc77477cffca2c7137f68991e7f
15317 Author: Ignacio Casal Quinteiro <icq@gnome.org>
15318 Date: Wed Feb 2 21:00:48 2011 +0100
15320 [python 3] use the right syntaxis to raise exceptions
15322 codegen/argtypes.py | 8 ++++----
15323 codegen/definitions.py | 14 +++++++-------
15324 gi/overrides/Gtk.py | 2 +-
15325 3 files changed, 12 insertions(+), 12 deletions(-)
15327 commit 36094e5982d3e05d5662843b6d401f0974f5235f
15328 Author: Ignacio Casal Quinteiro <icq@gnome.org>
15329 Date: Wed Feb 2 20:50:12 2011 +0100
15331 [gi] return PYGLIB_MODULE_ERROR_RETURN on error and use pygobject_init
15333 tests/testhelpermodule.c | 6 +++---
15334 1 file changed, 3 insertions(+), 3 deletions(-)
15336 commit c913c1789296310c2cf27554ce719d7f6e9c94cd
15337 Author: Ignacio Casal Quinteiro <icq@gnome.org>
15338 Date: Wed Feb 2 20:37:21 2011 +0100
15340 [gi] return PYGLIB_MODULE_ERROR_RETURN on error
15342 This is to avoid some warnings when building with python 3
15344 gi/gimodule.c | 6 +++---
15345 1 file changed, 3 insertions(+), 3 deletions(-)
15347 commit 7bc4122897d9d05172a2bd5b56bded87e2afaec4
15348 Author: Steve Frécinaux <code@istique.net>
15349 Date: Sat Jan 29 00:16:50 2011 +0100
15351 Fix wrong refcount when calling introspected widget constructors
15353 Introspected widget constructors, like Gtk.Button.new(), can return
15354 objects with a floating reference, which was then reffed by pygobject,
15355 resulting in two references, despite the object is not owned by
15358 This patch uses ref_sink() when pygobject takes its own reference, to
15359 avoid adding that extra reference. Hence we now claim ownership on
15360 objects returned by constructors with transfer=none (which is the case
15361 for nearly all the widget constructors, despite the floating ref).
15363 https://bugzilla.gnome.org/show_bug.cgi?id=640868
15365 gobject/pygobject.c | 4 +++-
15366 tests/test_everything.py | 9 ++++++++-
15367 2 files changed, 11 insertions(+), 2 deletions(-)
15369 commit afeaaa126f7cd6556fb855ecd0facc174c0f946c
15370 Author: Simon Schampijer <simon@laptop.org>
15371 Date: Wed Jan 19 16:19:46 2011 +0100
15373 Gdk.Window: Map the standard constructor to the *new* constructor
15375 Gdk.Window had to be made abstract
15376 (see c4a36d875235e0bf1e52dbf2fa14d08bfc8bd4ec in gtk),
15377 this override allows using the standard constructor
15379 This commit adds as well a testcase.
15381 https://bugzilla.gnome.org/show_bug.cgi?id=639936
15383 gi/overrides/Gdk.py | 6 ++++++
15384 tests/test_overrides.py | 8 ++++++++
15385 2 files changed, 14 insertions(+)
15387 commit 4a67f45880433905de33632fe0c32a13b44c0b33
15388 Author: John (J5) Palmieri <johnp@redhat.com>
15389 Date: Mon Jan 31 16:51:37 2011 -0500
15391 [gi] handle hash being NULL
15393 gi/pygi-argument.c | 6 ++++++
15394 1 file changed, 6 insertions(+)
15396 commit 2fbfe410f4b4394a2018ada0e538585c1bec23ae
15397 Author: John (J5) Palmieri <johnp@redhat.com>
15398 Date: Mon Jan 31 16:50:52 2011 -0500
15400 [gi] handle the situation where an aux arg comes before its parent
15402 gi/pygi-cache.c | 70
15403 ++++++++++++++++++++++++++++++++++++++++----------------
15404 gi/pygi-invoke.c | 2 +-
15405 2 files changed, 51 insertions(+), 21 deletions(-)
15407 commit 858669f92c9907dd70b4966d6a8521ed122225be
15408 Author: Martin Pitt <martin.pitt@ubuntu.com>
15409 Date: Mon Jan 31 17:38:52 2011 +0100
15411 Ship tests/org.gnome.test.gschema.xml in dist tarballs
15413 tests/Makefile.am | 3 ++-
15414 1 file changed, 2 insertions(+), 1 deletion(-)
15416 commit 77d76df59606e470808085e977fb199cc76e8251
15417 Author: John (J5) Palmieri <johnp@redhat.com>
15418 Date: Sun Jan 30 18:21:24 2011 -0500
15420 [gi] allow caching and marshalling of ghash out
15422 gi/pygi-argument.c | 155
15423 +++++++++++++++++++++++++++++++++++++++++++++++++----
15424 gi/pygi-cache.c | 27 ++++++----
15425 2 files changed, 162 insertions(+), 20 deletions(-)
15427 commit bd66af67f248a3ca90d2fa2626605263c2392e16
15428 Author: John (J5) Palmieri <johnp@redhat.com>
15429 Date: Sun Jan 30 17:06:44 2011 -0500
15431 [gi] whitespace fixes
15433 gi/pygi-cache.c | 60
15434 ++++++++++++++++++++++++++++-----------------------------
15435 1 file changed, 30 insertions(+), 30 deletions(-)
15437 commit 1cdbd4be9b015f792c2c02afa5ac7e24edbdae86
15438 Author: John (J5) Palmieri <johnp@redhat.com>
15439 Date: Sun Jan 30 17:04:13 2011 -0500
15441 [gi] added ugly aux arg counters
15443 * we need to simplify the ffi invoke so we can simply reference args
15444 at their position in the C parameter list
15445 * this works for now but is fragile if new aux values are added in
15448 gi/pygi-argument.c | 12 ++++++++--
15449 gi/pygi-cache.c | 66
15450 +++++++++++++++++++++++++++++++++++++-----------------
15451 gi/pygi-cache.h | 2 ++
15452 gi/pygi-invoke.c | 12 +++++++---
15453 4 files changed, 66 insertions(+), 26 deletions(-)
15455 commit c51447f4efde2ce4caf39c1ffac905ec428d1d64
15456 Author: John (J5) Palmieri <johnp@redhat.com>
15457 Date: Sun Jan 30 11:30:54 2011 -0500
15459 [gi] make inout marshalling work
15461 * refactor cache generation so we can create caches and then fill
15463 values based on if they are in, out or inout
15464 * in invoke we order the pointers based on their direction
15466 gi/pygi-cache.c | 1445
15467 ++++++++++++++++++++++++++----------------------------
15468 gi/pygi-invoke.c | 19 +-
15469 2 files changed, 711 insertions(+), 753 deletions(-)
15471 commit 2b185362de45f46ce0f0b8816499aef06ab1ad1e
15472 Author: John (J5) Palmieri <johnp@redhat.com>
15473 Date: Sat Jan 29 13:49:36 2011 -0500
15475 [gi] marshal arrays out
15477 gi/pygi-argument.c | 101
15478 +++++++++++++++++++++++++++++++++++++++++++++++++++--
15479 1 file changed, 99 insertions(+), 2 deletions(-)
15481 commit e62e7062d5cfd782eac64852f681c63e2776b8d4
15482 Author: John (J5) Palmieri <johnp@redhat.com>
15483 Date: Sat Jan 29 13:48:23 2011 -0500
15485 [gi] fix sequence caching to support out
15487 gi/pygi-cache.c | 111
15488 ++++++++++++++++++++++++++++++++++++++++++++------------
15489 1 file changed, 87 insertions(+), 24 deletions(-)
15491 commit 69207910209ebfe450df616aeb8fa4cc2e7eccf3
15492 Author: Martin Pitt <martin.pitt@ubuntu.com>
15493 Date: Fri Jan 28 17:14:19 2011 +0100
15495 [gi] Add GSettings tests
15497 Ryan Lortie proposed an override for more convenient GSettings access,
15499 first make sure that the canonical GLib API works.
15501 tests/Makefile.am | 7 +++++--
15502 tests/org.gnome.test.gschema.xml | 16 ++++++++++++++++
15503 tests/test_overrides.py | 31 +++++++++++++++++++++++++++++++
15504 3 files changed, 52 insertions(+), 2 deletions(-)
15506 commit 488478a83640d50baee963337fcc870fec76b784
15507 Author: Martin Pitt <martin.pitt@ubuntu.com>
15508 Date: Fri Jan 28 07:20:26 2011 +0100
15510 [gi] Provide GtkTextBuffer.insert_with_tags_by_name()
15512 Provide an actual insert_with_tags_by_name() instead of overloading
15513 insert_with_tags() to handle both types. This keeps the overrides
15515 with the actual GTK API.
15517 gi/overrides/Gtk.py | 19 ++++++++++++++-----
15518 tests/test_overrides.py | 4 ++--
15519 2 files changed, 16 insertions(+), 7 deletions(-)
15521 commit dace1a553793fb7fb054b60760f02c9e5cf00b38
15522 Author: Martin Pitt <martin.pitt@ubuntu.com>
15523 Date: Thu Jan 27 13:37:18 2011 +0100
15525 [gi] Support tag names in GtkTextBuffer.insert_with_tags()
15527 Neither insert_with_tags() nor insert_with_tags_by_name() are
15529 due to using varargs. As both are useful, support both cases in
15532 gi/overrides/Gtk.py | 5 +++++
15533 tests/test_overrides.py | 9 +++++++++
15534 2 files changed, 14 insertions(+)
15536 commit 91d34124b2a5128e93e13c7fee8693d5edc4e9bb
15537 Author: Ignacio Casal Quinteiro <icq@gnome.org>
15538 Date: Thu Jan 27 12:23:18 2011 +0100
15540 Add MAINTAINERCLEANFILES
15542 This var behaves like .gitignore and allows us to skip some specific
15545 Makefile.am | 27 +++++++++++++++++++++++++++
15546 1 file changed, 27 insertions(+)
15548 commit 8a98d26981ce68809a21c64cac4962e58c927905
15549 Author: Ignacio Casal Quinteiro <icq@gnome.org>
15550 Date: Thu Jan 27 12:15:30 2011 +0100
15552 Remove .gitignore files and use git.mk
15554 git.mk is a script maintained in pango. From time to time we must
15555 check if it was updated and update it here.
15557 .gitignore | 46 -----------
15559 codegen/.gitignore | 2 -
15560 codegen/Makefile.am | 2 +
15561 docs/.gitignore | 7 --
15562 docs/Makefile.am | 2 +
15563 examples/Makefile.am | 2 +
15564 gi/.gitignore | 40 ----------
15565 gi/Makefile.am | 2 +
15566 gi/overrides/Makefile.am | 2 +
15567 gi/repository/Makefile.am | 2 +
15568 gi/tests/Makefile.am | 2 +
15570 ++++++++++++++++++++++++++++++++++++++++++++++
15571 glib/Makefile.am | 2 +
15572 gobject/.gitignore | 3 -
15573 gobject/Makefile.am | 2 +
15574 tests/.gitignore | 2 -
15575 tests/Makefile.am | 2 +
15576 18 files changed, 222 insertions(+), 100 deletions(-)
15578 commit 331c42b63bc60a3b906fa21e1c0a7c1b9428f347
15579 Author: Martin Pitt <martin.pitt@ubuntu.com>
15580 Date: Thu Jan 27 12:04:19 2011 +0100
15582 pygi-convert.sh: Convert Pango.TabAlign.*
15584 pygi-convert.sh | 1 +
15585 1 file changed, 1 insertion(+)
15587 commit be1a2959fa0a3d8682e0e8aef389d73dacab0689
15588 Author: Martin Pitt <martin.pitt@ubuntu.com>
15589 Date: Thu Jan 27 12:02:39 2011 +0100
15591 pygi-convert.sh: Drop window -> get_window() conversion
15593 It is doing more harm than good for projects which use things like
15596 pygi-convert.sh | 1 -
15597 1 file changed, 1 deletion(-)
15599 commit dd7deb4b658c56857c26b1a278a3d688f2ea6a2a
15600 Author: Martin Pitt <martin.pitt@ubuntu.com>
15601 Date: Thu Jan 27 11:58:26 2011 +0100
15603 pygi-convert.sh: Don't convert self.window assignments
15605 pygi-convert.sh | 2 +-
15606 1 file changed, 1 insertion(+), 1 deletion(-)
15608 commit 975341a26772966d4afc87a88a6a566d61237fa0
15609 Author: Steve Frécinaux <code@istique.net>
15610 Date: Fri Jan 21 18:41:54 2011 +0100
15612 Fix leaked python reference in python-defined subclasses
15614 https://bugzilla.gnome.org/show_bug.cgi?id=640184
15616 gobject/gobjectmodule.c | 1 +
15617 tests/test_gobject.py | 4 ++++
15618 2 files changed, 5 insertions(+)
15620 commit a59e2d58bdb3f31a4f415dbe14b7d9988ac28ce3
15621 Author: Steve Frécinaux <code@istique.net>
15622 Date: Fri Jan 21 15:54:43 2011 +0100
15624 Add some tests for the number of python refs held at creation time
15626 https://bugzilla.gnome.org/show_bug.cgi?id=640184
15628 tests/test_gobject.py | 21 +++++++++++++++++++++
15629 1 file changed, 21 insertions(+)
15631 commit 7d70105eb324ea4b6a58c2d3fb3f2dda36e7ab33
15632 Author: Steve Frécinaux <code@istique.net>
15633 Date: Fri Jan 21 17:24:49 2011 +0100
15635 Factor out parameter marshalling from construction functions.
15637 https://bugzilla.gnome.org/show_bug.cgi?id=640197
15639 gobject/gobjectmodule.c | 35 ++--------------------
15640 gobject/pygobject-private.h | 5 ++++
15641 gobject/pygobject.c | 71
15642 +++++++++++++++++++++++++++------------------
15643 3 files changed, 50 insertions(+), 61 deletions(-)
15645 commit a3e0cfe8924887ecd1e07cedd2cfb999c853ac62
15646 Author: John (J5) Palmieri <johnp@redhat.com>
15647 Date: Wed Jan 26 15:34:24 2011 -0500
15649 [gi] in python 3 an array of uint8 can be bytes but not string
15651 tests/test_gi.py | 4 +++-
15652 1 file changed, 3 insertions(+), 1 deletion(-)
15654 commit 843553ea958eddec185bb660851a310dc050a14b
15655 Author: John (J5) Palmieri <johnp@redhat.com>
15656 Date: Wed Jan 26 15:30:06 2011 -0500
15658 [gi] fix Gio.FileEnumerator to reflect the Python 3 iter protocol
15660 gi/overrides/Gio.py | 6 +++++-
15661 1 file changed, 5 insertions(+), 1 deletion(-)
15663 commit 6ff357839feb39930a5f3175de3d0ed35f24d3f4
15664 Author: John (J5) Palmieri <johnp@redhat.com>
15665 Date: Wed Jan 26 15:17:03 2011 -0500
15667 [gi] python 3 fixes
15669 Patches need to work in Python 3 - here are some of the issues I
15671 Patch submitters should keep this in mind. When I note to only
15673 in tests it means that there is a compat module that is only available
15675 tests. Actuall code should either add the workaround to the top
15677 module or try not to have a distinction between things such as
15679 longs which no longer exist in Python 3
15681 * use range instead of xrange - loss of performance in Python 2 but
15683 treats range similarly to python 2's xrange
15684 * use dict.items() instead of dict.iteritems() - same as the xrange
15686 * callable does not exist in 3.x, use hasattr(obj, '__call__') or
15688 if sys.version_info > (3, 0):
15690 return hasattr(obj, '__call__')
15692 * using unicode in tests is tricky, you can't use u'' even in
15694 conditional as python3's parser chokes on it. Do this in tests
15698 from compathelper import _unicode
15699 unicode_string = _unicode('this is a unicode string')
15701 * exception caching changed in 2.7, instead of except Exception,
15703 except Exception as e. Do this to be compatible with older
15707 etype, e = sys.exc_info()[:2]
15709 * Unbound methods with an im_func attribute no longer exits in 3.x.
15710 Unbound methods are now just functions so class.method in 3.x is
15711 equivalent to class.method.im_func in 2.x. If you have to go this
15714 func = class1.method
15715 if sys.version_info < (3,0):
15716 func = func.im_func
15718 * all numbers are long in 3.x so 42L is invalid in 3.x. In tests (and
15719 only in tests) do this:
15721 from compathelper import _long
15724 gi/overrides/GLib.py | 16 ++++++++--------
15725 gi/types.py | 5 ++++-
15726 tests/compathelper.py | 19 +++++++++++++++++++
15727 tests/test_gdbus.py | 12 ++++++++----
15728 tests/test_gi.py | 19 ++++++++++++-------
15729 tests/test_overrides.py | 8 +++++---
15730 6 files changed, 56 insertions(+), 23 deletions(-)
15732 commit 832d662b9f90f5762bbf28b3cca73f947c1f83ce
15733 Author: John (J5) Palmieri <johnp@redhat.com>
15734 Date: Wed Jan 26 14:00:08 2011 -0500
15736 [gi] fix try/except blocks using depricated raise format
15738 gi/overrides/GLib.py | 4 ++--
15739 gi/overrides/Gdk.py | 2 +-
15740 2 files changed, 3 insertions(+), 3 deletions(-)
15742 commit d3e30e240fed6ef1dd40fd29fd13dc2effc6c7b1
15743 Author: Martin Pitt <martin.pitt@ubuntu.com>
15744 Date: Wed Jan 26 19:03:48 2011 +0100
15746 [gi] Add docstring to GLib.Variant constructor
15748 gi/overrides/GLib.py | 11 +++++++++++
15749 1 file changed, 11 insertions(+)
15751 commit 963cd52fec26f7a4fb34414f8ac6662932ede322
15752 Author: Martin Pitt <martin.pitt@ubuntu.com>
15753 Date: Wed Jan 26 18:45:38 2011 +0100
15755 [gi] update gdbus test cases for previous GVariant change
15757 tests/test_gdbus.py | 4 ++--
15758 1 file changed, 2 insertions(+), 2 deletions(-)
15760 commit 27e3a6276ff5f2cdc03ddf69ee80d44c3bf2c094
15761 Author: Martin Pitt <martin.pitt@ubuntu.com>
15762 Date: Wed Jan 26 18:39:17 2011 +0100
15764 [gi] Accept only a single object in GLib.Variant constructor
15766 We previously allowed flat arguments for tuple signatures, e. g.
15768 GLib.Variant('(ii)', 1, 2)
15770 However, that's not how GVariant is supposed to work. Remove the
15772 to handle flat argument lists, and only accept a single value, i. e.
15774 GLib.Variant('(ii)', (1, 2))
15776 Note that this breaks the current API, but as it is not used widely
15780 Thanks to Ryan Lortie for pointing this out!
15782 gi/overrides/GLib.py | 25 ++++++++++---------------
15783 tests/test_overrides.py | 32 +++++++++++++-------------------
15784 2 files changed, 23 insertions(+), 34 deletions(-)
15786 commit b15e8e2c0c933d0f827a70280faf875ac383d81b
15787 Author: Laszlo Pandy <lpandy@src.gnome.org>
15788 Date: Wed Jan 26 00:40:49 2011 +0100
15790 Speed up _setup_native_vfuncs()
15792 This changes _setup_native_vfuncs() to only install native
15793 vfunc wrappers from the current class on the current class.
15794 Native vfuncs will not be propogated up or down the class
15795 hierarchy as this is unnecessary and wastes CPU and memory.
15797 Since the normal process in python to retrieve a method or
15798 attribute recurses to the base classes if an attribute is not
15799 found in the subclass, there is no need to setup all base class
15800 virtual functions on a subclass.
15802 This patch removes the recursion in _setup_native_vfuncs()
15803 and lets Python find them in the base classes like a normal
15804 Python class would work. This significantly increases the speed
15805 of any class which is or inherits from a C class which includes
15808 https://bugzilla.gnome.org/show_bug.cgi?id=640629
15810 gi/types.py | 26 +++++++++++++-------------
15811 tests/test_gi.py | 13 +++++++++++++
15812 2 files changed, 26 insertions(+), 13 deletions(-)
15814 commit 569d42ac2f50fb706ef289ff631db743483f40ee
15815 Author: Laszlo Pandy <lpandy@src.gnome.org>
15816 Date: Thu Jan 20 16:26:18 2011 +0100
15818 Speed up class creation: rewrite _setup_vfuncs() to be much more
15821 This patch rewrites the _setup_vfuncs() method to remove recursion and
15822 make the running time linear in the number of virtual functions to
15824 (ie. methods starting with "do_") instead of linear in the number of
15825 virtual functions in the base class which could possibly be
15828 Since most classes do not override all of the virtual functions in the
15829 base class (and many override none), this runs much faster.
15831 It is possible to not recurse on all base classes because
15833 base classes will have the virtual function installed as an attribute.
15834 Thus getattr() can be called, which recurses to the base classes much
15835 faster than a custom implementation in Python. If the method cannot be
15836 found with getattr(), all interface bases classes are searched
15839 The function is_function_in_classes() has been deleted. Because of the
15840 above changes, it is not used anymore.
15842 https://bugzilla.gnome.org/show_bug.cgi?id=640073
15845 ++++++++++++++++++++++++++++++++++---------------------
15846 tests/test_gi.py | 13 +++++++
15847 2 files changed, 77 insertions(+), 40 deletions(-)
15849 commit 8f4e6536f3c2edf38a45632d1c23eb7c6681c3be
15850 Author: Sebastian Pölsterl <sebp@k-d-w.org>
15851 Date: Mon Jan 24 19:23:19 2011 +0100
15853 pygi-convert.sh: Convert gtk.UI_MANAGER_*
15855 pygi-convert.sh | 1 +
15856 1 file changed, 1 insertion(+)
15858 commit 1f473b5164407a178203eb8cc7f3c786e0d0e5c2
15859 Author: Sebastian Pölsterl <sebp@k-d-w.org>
15860 Date: Fri Jan 21 18:41:54 2011 +0100
15862 pygi-convert.sh: Convert gdk.GRAB_*
15864 pygi-convert.sh | 1 +
15865 1 file changed, 1 insertion(+)
15867 commit f5d0b7b9d189f65503c0bf66d8bda4186ca3223a
15868 Author: Ignacio Casal Quinteiro <icq@gnome.org>
15869 Date: Fri Jan 21 16:45:07 2011 +0100
15871 [gi] set the gtype GValue correctly
15873 gi/pygi-property.c | 4 ++--
15874 1 file changed, 2 insertions(+), 2 deletions(-)
15876 commit ce521011d7f6d7f082aaea76fa05c5af9f6e93f5
15877 Author: Ignacio Casal Quinteiro <icq@gnome.org>
15878 Date: Fri Jan 21 16:20:23 2011 +0100
15880 [gi] use the right argument type for callback
15882 gi/pygi-foreign-cairo.c | 8 ++++----
15883 gi/pygi-foreign-gvariant.c | 4 ++--
15884 gi/pygi-foreign-gvariant.h | 2 +-
15885 gi/pygi-foreign.c | 2 +-
15887 5 files changed, 9 insertions(+), 9 deletions(-)
15889 commit 9f101baaa63a75acf62f955cfc4b311ff0dd5464
15890 Author: John (J5) Palmieri <johnp@redhat.com>
15891 Date: Fri Jan 21 09:23:54 2011 -0500
15893 [gi] marshal out flags and enum
15895 gi/pygi-argument.c | 14 +++++++++-----
15896 gi/pygi-cache.c | 24 ++++++++++++------------
15897 2 files changed, 21 insertions(+), 17 deletions(-)
15899 commit 4c93bdeae76830aa4029dfc86e32e6f277d5271d
15900 Author: John (J5) Palmieri <johnp@redhat.com>
15901 Date: Fri Jan 21 08:18:37 2011 -0500
15903 [gi] marshal unions
15905 gi/pygi-cache.c | 27 +++++++++++++--------------
15906 1 file changed, 13 insertions(+), 14 deletions(-)
15908 commit a060287d1a6d190acb9d344f08fd5662e3296da5
15909 Author: Martin Pitt <martin.pitt@ubuntu.com>
15910 Date: Fri Jan 21 11:00:27 2011 +0100
15912 [gi] Add test cases for GDBus client operations
15914 tests/Makefile.am | 1 +
15915 tests/test_gdbus.py | 94
15916 +++++++++++++++++++++++++++++++++++++++++++++++++++++
15917 2 files changed, 95 insertions(+)
15919 commit e7699d9af41f8c374326b8a4ec0939ef1426e386
15920 Author: John (J5) Palmieri <johnp@redhat.com>
15921 Date: Fri Jan 21 04:28:15 2011 -0500
15923 [gi] error out if the constructor returns NULL
15925 gi/pygi-invoke.c | 7 +++++++
15926 1 file changed, 7 insertions(+)
15928 commit 58ff2b2c38c1004861083ca88633be76767229f0
15929 Author: John (J5) Palmieri <johnp@redhat.com>
15930 Date: Fri Jan 21 04:26:45 2011 -0500
15932 [gi] throw error for caller allocates until we can write code to
15935 gi/pygi-cache.c | 11 +++++++++++
15936 1 file changed, 11 insertions(+)
15938 commit 5eb779439daa8bf1e86df689377dc10ef1430eab
15939 Author: John (J5) Palmieri <johnp@redhat.com>
15940 Date: Fri Jan 21 04:26:11 2011 -0500
15942 [gi] support struct out
15944 gi/pygi-argument.c | 30 ++++++++++++++++++++++++++----
15945 gi/pygi-cache.c | 15 ++-------------
15946 2 files changed, 28 insertions(+), 17 deletions(-)
15948 commit 3133dc595adf44279397d30712c0f8595f0e1acc
15949 Author: John (J5) Palmieri <johnp@redhat.com>
15950 Date: Fri Jan 21 04:22:06 2011 -0500
15952 [gi] move to using type_info and interface_info instead of arg_info
15954 * only arguments have arg_infos, not return types and instances so
15955 type_info is much better to pass. In fact most API that took an
15956 arg_info simply converted it to a type_info
15957 * In the case of instances for methods we don't even have a type_info.
15958 Since all instances are interfaces, we also attach the
15960 to the interface cache
15962 gi/pygi-argument.c | 20 ++++----------------
15963 gi/pygi-cache.c | 43
15964 ++++++++++++++++++++++++++++++++-----------
15965 gi/pygi-cache.h | 4 +++-
15966 gi/pygi-foreign-cairo.c | 24 ++++++++++++------------
15967 gi/pygi-foreign-gvariant.c | 11 +++++------
15968 gi/pygi-foreign-gvariant.h | 10 +++++-----
15969 gi/pygi-foreign.c | 21 +++++++++------------
15970 gi/pygi-foreign.h | 6 +++---
15971 gi/pygi.h | 8 ++++----
15972 9 files changed, 77 insertions(+), 70 deletions(-)
15974 commit e97e28048efb966ecc1a03277d36cbaa81b8db7d
15975 Author: Martin Pitt <martin.pitt@ubuntu.com>
15976 Date: Fri Jan 21 09:54:14 2011 +0100
15978 [gi] Add Variant construction/unpack support for boxed Variants
15980 Construction uses a GVariantBuilder for now, as the new_variant()
15982 currently does not work (see
15983 https://bugzilla.gnome.org/show_bug.cgi?id=639952)
15985 gi/overrides/GLib.py | 18 +++++++++++++++++-
15986 tests/test_overrides.py | 26 ++++++++++++++++++++++++++
15987 2 files changed, 43 insertions(+), 1 deletion(-)
15989 commit 71dd03261fc06b8180c14cd31b54d8e4b200be3a
15990 Merge: bc29600 bd002c7
15991 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
15992 Date: Fri Jan 21 09:33:16 2011 +0100
15994 Merge branch 'windows-setup-fixes'
15996 commit bc29600a2a04c972ceab7ef8d3292e8633977591
15997 Author: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
15998 Date: Thu Jan 20 19:48:23 2011 +0100
16000 pygi-convert.sh: GdkPixbuf methods
16004 pygi-convert.sh | 1 +
16005 1 file changed, 1 insertion(+)
16007 commit d1b0fa501cc431baa530d96fb50f4c35590890ac
16008 Author: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
16009 Date: Thu Jan 20 19:45:01 2011 +0100
16011 pygi-convert.sh: Gdk.COLORSPACE_RGB
16015 pygi-convert.sh | 1 +
16016 1 file changed, 1 insertion(+)
16018 commit 6d8ff4d5bdda5480089543869535cc3ee83da2f5
16019 Author: Martin Pitt <martin.pitt@ubuntu.com>
16020 Date: Wed Jan 19 11:41:11 2011 +0100
16022 [gi] Support nested objects and empty sequences in GLib.Variant
16025 The GVariant constructor (in the overrides) previously did not
16027 arrays/dictionaries or nested structures. Rewrite the VariantCreator
16029 be fully recursive and determine the element types of
16030 arrays/dictionaries.
16032 This now also allows you to use actual tuples as input values for
16034 tuple types. Taking values from the flat argument list is still
16036 convenience, though.
16038 https://bugzilla.gnome.org/show_bug.cgi?id=639939
16040 gi/overrides/GLib.py | 229
16041 ++++++++++++++++++++++++++----------------------
16042 tests/test_overrides.py | 159 +++++++++++++++++++++++++++++++--
16043 2 files changed, 273 insertions(+), 115 deletions(-)
16045 commit ac095f5435f106e175fa3297cb273e63c85d2809
16046 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
16047 Date: Thu Jan 20 15:55:45 2011 +0100
16049 Uncomment test_gi.TestInterfaceClash
16051 tests/test_gi.py | 22 +++++++++++-----------
16052 1 file changed, 11 insertions(+), 11 deletions(-)
16054 commit 1239f3709ba257c404dda72b7067b77b19c240fa
16055 Author: John (J5) Palmieri <johnp@redhat.com>
16056 Date: Thu Jan 20 09:05:02 2011 -0500
16058 [gi] add support for enum and flags
16060 gi/pygi-argument.c | 121
16061 +++++++++++++++++++++++++++++++++++++++++------------
16062 gi/pygi-cache.c | 30 ++++++-------
16063 2 files changed, 111 insertions(+), 40 deletions(-)
16065 commit f0a0b6c2eda89622de2b1e5ebb6a48103ad72a42
16066 Author: Steve Frécinaux <code@istique.net>
16067 Date: Thu Jan 20 14:14:15 2011 +0100
16069 Fix reference leaks for GInitiallyUnowned objects
16071 References were leaked for GInitiallyUnowned objects which got their
16072 wrappers created several times, because someone else holds reference
16073 on it and it got out of python scope at some point.
16075 https://bugzilla.gnome.org/show_bug.cgi?id=639949
16077 gobject/gobjectmodule.c | 2 ++
16078 gobject/pygobject.c | 14 +++++------
16079 tests/test-floating.c | 36 +++++++++++++++++++++++++++
16080 tests/test-floating.h | 21 ++++++++++++++++
16081 tests/test_gobject.py | 63
16082 ++++++++++++++++++++++++++++++++++++++++++++++++
16083 tests/testhelpermodule.c | 50 ++++++++++++++++++++++++++++++++++++++
16084 6 files changed, 179 insertions(+), 7 deletions(-)
16086 commit cae2cf3d4fb049c94389bf8f84d7d97a544d7a3f
16087 Author: Steve Frécinaux <code@istique.net>
16088 Date: Wed Jan 19 16:57:57 2011 +0100
16090 Add tests for refcount of a GObject owned by a library
16092 When the object is constructed, its refcount is 2 because the library
16093 refs it once. It should remain around until we ask the library to
16094 release its reference.
16096 https://bugzilla.gnome.org/show_bug.cgi?id=639949
16098 tests/test-floating.c | 30 +++++++++++++++++++++++
16099 tests/test-floating.h | 20 ++++++++++++++++
16100 tests/test_gobject.py | 62
16101 ++++++++++++++++++++++++++++++++++++++++++++++++
16102 tests/testhelpermodule.c | 51 +++++++++++++++++++++++++++++++++++++++
16103 4 files changed, 163 insertions(+)
16105 commit b6737b91938d527872eff1d645a205cacf94e15d
16106 Author: Steve Frécinaux <code@istique.net>
16107 Date: Wed Jan 19 14:52:41 2011 +0100
16109 Add a test to check for regular object reference count
16111 https://bugzilla.gnome.org/show_bug.cgi?id=639949
16113 tests/test_gobject.py | 8 +++++++-
16114 1 file changed, 7 insertions(+), 1 deletion(-)
16116 commit 2b0f1ede820414ef1cfd6b37569fcb946d2031fc
16117 Author: Martin Pitt <martin.pitt@ubuntu.com>
16118 Date: Thu Jan 20 14:15:52 2011 +0100
16120 [gi] Update TreeView.enable_model_drag_{source,dest} to current GTK
16122 GTK master now landed a lot of annotation fixes which also correctly
16124 array length argument of
16125 Gtk.TreeView.enable_model_drag_{source,dest}(). Thus
16126 drop the explicit array length argument from the call in the override.
16128 gi/overrides/Gtk.py | 2 --
16129 1 file changed, 2 deletions(-)
16131 commit b59edf4f0f7cab44033f9d704d476e10ee0d0c0a
16132 Author: Steve Frécinaux <code@istique.net>
16133 Date: Wed Jan 19 18:04:10 2011 +0100
16135 Fix a typo in a private symbol name.
16137 gobject/gobjectmodule.c | 6 +++---
16138 1 file changed, 3 insertions(+), 3 deletions(-)
16140 commit 6447688e283a8fb22de3ab68cbc06e34ad23d198
16141 Author: Martin Pitt <martin.pitt@ubuntu.com>
16142 Date: Thu Jan 20 11:49:08 2011 +0100
16144 pygi-convert.sh: Convert glib.source_remove()
16146 pygi-convert.sh | 1 +
16147 1 file changed, 1 insertion(+)
16149 commit 84ee8de4bc00a8f901926cc6386d73c12dbd0b0b
16150 Author: Martin Pitt <martin.pitt@ubuntu.com>
16151 Date: Thu Jan 20 11:42:34 2011 +0100
16153 Fix typo in previous commit to actually convert glib.GError
16155 pygi-convert.sh | 2 +-
16156 1 file changed, 1 insertion(+), 1 deletion(-)
16158 commit b238cb614338f46e6feb7935cca0a55c7a929418
16159 Author: Martin Pitt <martin.pitt@ubuntu.com>
16160 Date: Thu Jan 20 11:40:14 2011 +0100
16162 pygi-convert.sh: Move some glib bits which are better handled
16165 pygi-convert.sh | 3 +++
16166 1 file changed, 3 insertions(+)
16168 commit 21c09a7ee294b59abb3eca6f64f13bf5c8a2fa0e
16169 Author: Laszlo Pandy <lpandy@src.gnome.org>
16170 Date: Wed Jan 19 12:00:02 2011 +0100
16172 Modify override for Gtk.Adjustment to allow position or keyword
16173 arguments in __init__().
16175 Previously passing no arguments was not working, because the default
16176 value for each parameter was None, and GObject.__init__() refuses to
16177 allow None for integer properties. This patch does not pass None up
16178 to GObject.__init__. Instead it does not pass the parameter at all,
16179 and uses the class's default values.
16181 https://bugzilla.gnome.org/show_bug.cgi?id=639934
16183 gi/overrides/Gtk.py | 14 ++++++++++++--
16184 tests/test_overrides.py | 34 +++++++++++++++++++++++++++-------
16185 2 files changed, 39 insertions(+), 9 deletions(-)
16187 commit d465e25297ad6589ff2cd0c00e11e8bd8ffe3f78
16188 Author: Martin Pitt <martin.pitt@ubuntu.com>
16189 Date: Wed Jan 19 22:52:51 2011 +0100
16191 [gi] Fix small typo in previous commit
16193 The GVariant signature of the self test had a trailing 'i'. The
16195 GVariant builder doesn't mind, but the new implementation proposed
16199 tests/test_overrides.py | 2 +-
16200 1 file changed, 1 insertion(+), 1 deletion(-)
16202 commit 2b8e1d0531dcb8f57dc9f2fddf25970bee3daa90
16203 Author: Martin Pitt <martin.pitt@ubuntu.com>
16204 Date: Wed Jan 19 20:18:19 2011 +0100
16206 [gi] Add pythonic iterator and indexing for string GVariants
16208 This extends commit b1a98083c to also work for strings.
16210 gi/overrides/GLib.py | 8 +++++++-
16211 tests/test_overrides.py | 13 +++++++++++++
16212 2 files changed, 20 insertions(+), 1 deletion(-)
16214 commit 8efd14c87b35072cdd039bf223f8ced8f51be9bb
16215 Author: John (J5) Palmieri <johnp@redhat.com>
16216 Date: Wed Jan 19 14:08:03 2011 -0500
16218 [gi] return NULL if out_marshaller fails
16220 gi/pygi-invoke.c | 5 +++++
16221 1 file changed, 5 insertions(+)
16223 commit 5b1db41d60204c8021f47f43b85dac126c389c8d
16224 Author: John (J5) Palmieri <johnp@redhat.com>
16225 Date: Wed Jan 19 13:57:54 2011 -0500
16227 [gi] fix some transfer issues and test case failures
16229 gi/pygi-argument.c | 4 ++++
16230 gi/pygi-cache.c | 11 ++++++++---
16231 gi/pygi-invoke.c | 17 +++++++++--------
16232 3 files changed, 21 insertions(+), 11 deletions(-)
16234 commit 7c2f48bb6d67ec9a1ee5ac03a5aee34b54c6ebdd
16235 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
16236 Date: Wed Jan 19 18:09:23 2011 +0100
16238 Construct structs using default API constructor
16240 If the struct has something that looks like a default constructor,
16241 use it instead of trying to directly allocate it, as it will fail
16242 if the struct fields are not exposed.
16244 https://bugzilla.gnome.org/show_bug.cgi?id=627444
16246 gi/pygi-info.c | 37 +++++++++++++++++++++++++++++++++++++
16247 gi/types.py | 7 +++++++
16248 2 files changed, 44 insertions(+)
16250 commit db7300e173388d9557dcd2333781bfaa6b021605
16251 Author: Martin Pitt <martin.pitt@ubuntu.com>
16252 Date: Wed Jan 19 18:54:39 2011 +0100
16254 pygi-convert.sh: Migrate Gdk.Cursor constructor, and some cursor names
16256 pygi-convert.sh | 2 ++
16257 1 file changed, 2 insertions(+)
16259 commit 4c1d4faddf1c9cb233c484da3eadd8e31c231f70
16260 Author: Martin Pitt <martin.pitt@ubuntu.com>
16261 Date: Wed Jan 19 18:43:29 2011 +0100
16263 pygi-convert.sh: Handle .window attributes
16265 In general, convert them to .get_window(). For some of them, prefer
16267 GtkWidget methods instead.
16269 pygi-convert.sh | 5 ++++-
16270 1 file changed, 4 insertions(+), 1 deletion(-)
16272 commit b1049b947d073fb569ba900a4d5c8519482d831e
16273 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
16274 Date: Wed Jan 19 17:35:09 2011 +0100
16276 Also deal with foreign boxed structs
16278 cairo.Context has been boxed and our tests started failing
16280 https://bugzilla.gnome.org/show_bug.cgi?id=639967
16282 gi/pygi-argument.c | 4 ++--
16283 1 file changed, 2 insertions(+), 2 deletions(-)
16285 commit 25b69ae257a12b6dc97ed3f2f7ea54b166ddbba1
16286 Author: Laszlo Pandy <lpandy@src.gnome.org>
16287 Date: Wed Jan 19 17:45:11 2011 +0100
16289 [gi] Convert GErrors to GObject.GError exceptions, and throw them
16290 upon returning from calling the C function.
16292 This changes gi to make use of pyglib_error_check() which already
16295 The included tests make use of the other patch attached to this bug,
16296 to check that the right exception is thrown from the new function
16297 in GIMarshallingTests.
16298 two Gtk C functions.
16300 https://bugzilla.gnome.org/show_bug.cgi?id=639834
16302 gi/Makefile.am | 3 ++-
16303 gi/pygi-invoke.c | 12 +++---------
16304 tests/test_gi.py | 10 ++++++++++
16305 3 files changed, 15 insertions(+), 10 deletions(-)
16307 commit 18b84767db1d66e3d6f09067ab19ffd4b82539ca
16308 Author: John (J5) Palmieri <johnp@redhat.com>
16309 Date: Wed Jan 19 12:05:45 2011 -0500
16311 [gi] fix out marshalling for a couple of int types
16313 gi/pygi-argument.c | 2 +-
16314 gi/pygi-cache.c | 2 +-
16315 2 files changed, 2 insertions(+), 2 deletions(-)
16317 commit c5d7c730008275b2c585b2609fc2ff5e051cce47
16318 Author: John (J5) Palmieri <johnp@redhat.com>
16319 Date: Wed Jan 19 11:59:09 2011 -0500
16321 [gi] fixed range checking and type conversion with unsigned and
16324 gi/pygi-argument.c | 90
16325 +++++++++++++++++++++++++++++++++++++++++++++---------
16326 gi/pygi-cache.c | 2 +-
16327 2 files changed, 76 insertions(+), 16 deletions(-)
16329 commit e6fcafc6179e963cbae7774e7ee50415bde2c523
16330 Author: Martin Pitt <martin.pitt@ubuntu.com>
16331 Date: Wed Jan 19 17:03:06 2011 +0100
16333 pygi-convert.sh: Don't convert glib -> GLib for now
16335 This currently leads to a load of crashes, MemoryErrors, etc, as
16337 very well introspectable, due to the low-level operations that
16340 John Palmieri confirms that using the static "glib" binding is
16342 now, so disable the replacement rules.
16344 pygi-convert.sh | 19 ++++++++++---------
16345 1 file changed, 10 insertions(+), 9 deletions(-)
16347 commit 167261d556eab0d2e448c7ed28eef540a024ba1d
16348 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
16349 Date: Wed Jan 19 16:47:08 2011 +0100
16351 Link libregress.so to GIO_LIBS again
16353 configure.ac | 5 +++++
16354 1 file changed, 5 insertions(+)
16356 commit d143afa6da4f5b5f47be8df11fa41d7b47ab1794
16357 Author: Laszlo Pandy <lpandy@src.gnome.org>
16358 Date: Wed Jan 19 16:14:42 2011 +0100
16360 Fix attributes 2BUTTON_PRESS and 3BUTTON_PRESS of Gdk.EventType.
16362 This puts an underscore in front of 2BUTTON_PRESS and 3BUTTON_PRESS
16363 because in Python attributes starting with a numeral causes a
16366 gi/overrides/Gdk.py | 7 +++++--
16367 1 file changed, 5 insertions(+), 2 deletions(-)
16369 commit 4f5d20966d4a8c649e5fae584039621edab178f3
16370 Author: John (J5) Palmieri <johnp@redhat.com>
16371 Date: Wed Jan 19 10:02:40 2011 -0500
16373 [gi] use correct format stings when setting errors
16375 gi/pygi-argument.c | 12 ++++++------
16376 1 file changed, 6 insertions(+), 6 deletions(-)
16378 commit 7f08fd5c33ee5c9907f5becbe2f21fb7122d6e19
16379 Author: John (J5) Palmieri <johnp@redhat.com>
16380 Date: Wed Jan 19 09:45:09 2011 -0500
16382 [gi] allow marshalling strings as None
16384 gi/pygi-argument.c | 5 +++++
16385 1 file changed, 5 insertions(+)
16387 commit 093242a9e125998cd07bf66fc4b2880f532a2e4d
16388 Author: John (J5) Palmieri <johnp@redhat.com>
16389 Date: Wed Jan 19 09:41:56 2011 -0500
16391 [gi] make error messages more detailed
16393 gi/pygi-argument.c | 2 +-
16394 gi/pygi-cache.c | 18 +++++++++---------
16395 2 files changed, 10 insertions(+), 10 deletions(-)
16397 commit f0b17605ed2eb917b350654b070984beb553eae3
16398 Author: John (J5) Palmieri <johnp@redhat.com>
16399 Date: Wed Jan 19 09:41:13 2011 -0500
16401 [gi] allow marshalling None for hashes
16403 gi/pygi-argument.c | 5 +++++
16404 1 file changed, 5 insertions(+)
16406 commit 93f1b787ab8420300d1064c0237a0c2d8a2ac98f
16407 Author: John (J5) Palmieri <johnp@redhat.com>
16408 Date: Wed Jan 19 09:40:37 2011 -0500
16410 [gi] add marshalling to some out values
16412 gi/pygi-argument.c | 50
16413 +++++++++++++++++++++++++++++++++++++++++---------
16414 1 file changed, 41 insertions(+), 9 deletions(-)
16416 commit 614b6ca7f45c4acbee088fe74fecf279ed50cc0c
16417 Author: Sebastian Pölsterl <sebp@k-d-w.org>
16418 Date: Wed Jan 19 15:27:33 2011 +0100
16420 [gi] Fixed typo in exception
16422 gi/overrides/Gtk.py | 2 +-
16423 1 file changed, 1 insertion(+), 1 deletion(-)
16425 commit 5f16df31b5a5a9f45f702eee48c3a18899ea3f71
16426 Author: John (J5) Palmieri <johnp@redhat.com>
16427 Date: Wed Jan 19 09:13:44 2011 -0500
16429 [gi] fix marshalling structs
16431 gi/pygi-argument.c | 47 +++++++++++++++++++++++++++++++++++------------
16432 gi/pygi-foreign.c | 18 ++++++++++++------
16433 gi/pygi-foreign.h | 8 ++++----
16434 3 files changed, 51 insertions(+), 22 deletions(-)
16436 commit b2189424f9dd6d3a4a5b9792f0d5843fc27657d1
16437 Author: Sebastian Pölsterl <sebp@k-d-w.org>
16438 Date: Wed Jan 19 15:12:25 2011 +0100
16440 [gi] Enable handling of Gdk.EventType.2BUTTON_PRESS and 3BUTTON_PRESS
16442 gi/overrides/Gdk.py | 4 ++--
16443 1 file changed, 2 insertions(+), 2 deletions(-)
16445 commit 5eca5ff2c9509ec96158fe43b29f0fd951243efe
16446 Author: Martin Pitt <martin.pitt@ubuntu.com>
16447 Date: Wed Jan 19 14:54:57 2011 +0100
16449 Revert "Fix Pango FontDescription override"
16452 http://library.gnome.org/devel/pango/1.28/pango-Fonts.html#pango-font-description-new
16453 the default constructor actually does take no arguments; we should
16455 the MemoryError. Add a test case for this.
16457 Remove the FIXME though, as pango_font_description_from_string()
16459 FontDescription constructor, but a static factory method.
16461 Thanks to Paolo Borelli for pointing this out!
16463 This reverts commit 8878c57676091c08e66bc6cbe735d898cb420582.
16465 gi/overrides/Pango.py | 5 ++++-
16466 tests/test_overrides.py | 5 +++++
16467 2 files changed, 9 insertions(+), 1 deletion(-)
16469 commit 9e7b95b3676a1b502662523a9bd4ebe40ccb4845
16470 Author: Tony Young <rofflwaffls@gmail.com>
16471 Date: Thu Dec 16 23:39:33 2010 +0000
16473 Python iterator interface support for GFileEnumerator.
16475 gi/overrides/Gio.py | 41 +++++++++++++++++++++++++++++++++++++++++
16476 gi/overrides/Makefile.am | 1 +
16477 tests/test_overrides.py | 20 ++++++++++++++++++++
16478 3 files changed, 62 insertions(+)
16480 commit bca5834fc8fa342149e0eec7b396877a2abe6d33
16481 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
16482 Date: Fri Jan 7 12:10:37 2011 +0100
16484 Remove gio static bindings
16486 https://bugzilla.gnome.org/show_bug.cgi?id=638899
16489 configure.ac | 25 -
16490 gio/.gitignore | 3 -
16491 gio/Makefile.am | 117 -
16492 gio/__init__.py | 40 -
16493 gio/gappinfo.override | 213 --
16494 gio/gapplaunchcontext.override | 99 -
16495 gio/gbufferedinputstream.override | 70 -
16496 gio/gcancellable.override | 38 -
16497 gio/gdatainputstream.override | 250 --
16498 gio/gdrive.override | 347 --
16499 gio/gfile.override | 2215 -----------
16500 gio/gfileattribute.override | 153 -
16501 gio/gfileenumerator.override | 184 -
16502 gio/gfileinfo.override | 121 -
16503 gio/gfileinputstream.override | 68 -
16504 gio/gfileiostream.override | 68 -
16505 gio/gfileoutputstream.override | 68 -
16506 gio/gicon.override | 310 --
16507 gio/ginputstream.override | 344 --
16508 gio/gio-types.defs | 807 ----
16509 gio/gio.defs | 7465
16510 -------------------------------------
16511 gio/gio.override | 409 --
16512 gio/giomodule.c | 208 --
16513 gio/giostream.override | 68 -
16514 gio/gmemoryinputstream.override | 91 -
16515 gio/gmemoryoutputstream.override | 45 -
16516 gio/gmount.override | 454 ---
16517 gio/goutputstream.override | 292 --
16518 gio/gresolver.override | 312 --
16519 gio/gsocket.override | 575 ---
16520 gio/gvolume.override | 237 --
16521 gio/gvolumemonitor.override | 94 -
16522 gio/pygio-utils.c | 236 --
16523 gio/pygio-utils.h | 49 -
16524 gio/unix-types.defs | 55 -
16525 gio/unix.defs | 475 ---
16526 gio/unix.override | 62 -
16527 gio/unixmodule.c | 52 -
16528 tests/Makefile.am | 9 -
16529 tests/runtests-windows.py | 3 -
16530 tests/test_gcancellable.py | 15 -
16531 tests/test_gicon.py | 112 -
16532 tests/test_gio.py | 1138 ------
16533 tests/test_gresolver.py | 68 -
16534 tests/test_gsocket.py | 126 -
16535 46 files changed, 1 insertion(+), 18191 deletions(-)
16537 commit 6ab3d8d286573289cf8e41eee31eb806621f6f43
16538 Author: John (J5) Palmieri <johnp@redhat.com>
16539 Date: Wed Jan 19 07:56:16 2011 -0500
16541 [gi] switch from using (*arg). to arg-> when referencing union
16544 gi/pygi-argument.c | 54
16545 +++++++++++++++++++++++++++---------------------------
16546 1 file changed, 27 insertions(+), 27 deletions(-)
16548 commit 762ccb3d2620ea22023446b6ae79f3a111d8b56a
16549 Author: John (J5) Palmieri <johnp@redhat.com>
16550 Date: Wed Jan 19 07:49:52 2011 -0500
16552 [gi] return FALSE when setting errors in the marshaller
16554 gi/pygi-argument.c | 3 ++-
16555 1 file changed, 2 insertions(+), 1 deletion(-)
16557 commit cbaba6357937cbed3ebd34d2db1cdd59d37df118
16558 Author: John (J5) Palmieri <johnp@redhat.com>
16559 Date: Wed Jan 19 07:14:18 2011 -0500
16561 [gi] do arg counting in new invoke
16563 gi/pygi-cache.c | 2 ++
16564 gi/pygi-cache.h | 14 ++++++++------
16565 gi/pygi-invoke-state-struct.h | 2 +-
16566 gi/pygi-invoke.c | 20 +++++++++++++++++++-
16567 4 files changed, 30 insertions(+), 8 deletions(-)
16569 commit f45033858bed70d7defec3f71f26aa5b3999d680
16570 Author: John (J5) Palmieri <johnp@redhat.com>
16571 Date: Wed Jan 19 06:35:45 2011 -0500
16573 [gi] set length for uint8 in arrays in new invoke marshaller
16575 gi/pygi-argument.c | 1 +
16576 1 file changed, 1 insertion(+)
16578 commit 09f7ca7e2378e6679002677ac3f4802f4cc7d9d5
16579 Author: Ignacio Casal Quinteiro <icq@gnome.org>
16580 Date: Wed Jan 19 12:04:15 2011 +0100
16582 [gi] set length when marshalling guint8 erases
16584 gi/pygi-argument.c | 1 +
16585 tests/test_gi.py | 4 ++++
16586 2 files changed, 5 insertions(+)
16588 commit 22eee43e50a150ace80694213fb87be9f0c72f51
16589 Author: Sebastian Pölsterl <sebp@k-d-w.org>
16590 Date: Wed Jan 19 10:27:47 2011 +0100
16592 Convert Gdk.Pixbuf to GdkPixbuf.Pixbuf
16594 pygi-convert.sh | 1 +
16595 1 file changed, 1 insertion(+)
16597 commit a4b210d69c832629894090b7154ae194209b0c60
16598 Author: Arnaud Charlet <charlet@adacore.com>
16599 Date: Tue Jan 18 18:31:29 2011 +0100
16601 Disable calls to PyGILState_* when threads are disabled
16603 Since threads may also be disabled in Python too, those symbols
16607 https://bugzilla.gnome.org/show_bug.cgi?id=374603
16609 glib/pyglib.c | 12 ++++++++++++
16610 gobject/pygobject-private.h | 6 ++++++
16611 2 files changed, 18 insertions(+)
16613 commit 329afb6fb1b3c325a6a9de2b6aca91c64d51dd9f
16614 Author: John (J5) Palmieri <johnp@redhat.com>
16615 Date: Tue Jan 18 12:31:57 2011 -0500
16617 [gi] fix handling of garrays vs c arrays
16619 gi/pygi-argument.c | 9 +++++++--
16620 gi/pygi-cache.c | 2 ++
16621 gi/pygi-cache.h | 1 +
16622 3 files changed, 10 insertions(+), 2 deletions(-)
16624 commit a000627ec3904b9414ce375aec8d144fc0c26248
16625 Author: Martin Pitt <martin.pitt@ubuntu.com>
16626 Date: Tue Jan 18 18:29:50 2011 +0100
16628 pygi-convert.sh: Do not comment out set_cell_data_func() calls;
16629 these should be ported properly
16631 pygi-convert.sh | 1 -
16632 1 file changed, 1 deletion(-)
16634 commit 99ff4610fb5ece2fc8d2f9eba13e661968adf3f0
16635 Author: Martin Pitt <martin.pitt@ubuntu.com>
16636 Date: Tue Jan 18 18:26:01 2011 +0100
16638 pygi-convert.sh: Fix match for adding missing imports
16640 pygi-convert.sh | 8 ++++----
16641 1 file changed, 4 insertions(+), 4 deletions(-)
16643 commit 3aa95011fad67df20370e92bf25236a34d7d08d3
16644 Author: Martin Pitt <martin.pitt@ubuntu.com>
16645 Date: Tue Jan 18 18:09:30 2011 +0100
16647 pygi-convert.sh: Fix Gtk.Label handling to be idempotent
16649 As we are not replacing line by line, but the whole file at once,
16651 hackish unfortunately. We can't use a match test or a lookahead/behind
16654 pygi-convert.sh | 5 +++--
16655 1 file changed, 3 insertions(+), 2 deletions(-)
16657 commit f66051380c0432bf142774542ade2144adcd455e
16658 Author: John (J5) Palmieri <johnp@redhat.com>
16659 Date: Tue Jan 18 11:44:27 2011 -0500
16661 [gi] use correct union memeber when marshalling floats
16663 gi/pygi-argument.c | 2 +-
16664 1 file changed, 1 insertion(+), 1 deletion(-)
16666 commit 36bc1c17e7d4189059337cc6a73c64edd819ec12
16667 Author: Laszlo Pandy <lpandy@src.gnome.org>
16668 Date: Tue Jan 18 17:29:52 2011 +0100
16670 Remove trailing whitespace from gi/overrides/Gtk.py
16672 gi/overrides/Gtk.py | 10 +++++-----
16673 1 file changed, 5 insertions(+), 5 deletions(-)
16675 commit 1006df1929a667716c25e74b35b8f14643358732
16676 Author: John (J5) Palmieri <johnp@redhat.com>
16677 Date: Tue Jan 18 11:24:06 2011 -0500
16679 [gi] fix constructor invoking and add some support for interface
16682 * constructors are now simplified and are treated like normal
16684 which happen to return an instance
16686 gi/pygi-argument.c | 8 ++--
16687 gi/pygi-cache.c | 132
16688 +++++++++++++++++++++++++++++++++++++++++++++++++++--
16689 gi/pygi-invoke.c | 9 ++--
16690 gi/types.py | 21 +++------
16691 4 files changed, 142 insertions(+), 28 deletions(-)
16693 commit 8878c57676091c08e66bc6cbe735d898cb420582
16694 Author: Martin Pitt <martin.pitt@ubuntu.com>
16695 Date: Tue Jan 18 16:47:10 2011 +0100
16697 Fix Pango FontDescription override
16699 Trying to call __new__() on a record crashes with a MemoryError,
16701 the intended static factory method for a None argument as well
16705 gi/overrides/Pango.py | 7 +------
16706 1 file changed, 1 insertion(+), 6 deletions(-)
16708 commit efbbe71634037fa100b17327389b883b259cca54
16709 Author: Martin Pitt <martin.pitt@ubuntu.com>
16710 Date: Tue Jan 18 16:23:39 2011 +0100
16712 tests: Respect existing $GI_TYPELIB_PATH
16714 This allows us to run the test suite against local typelibs.
16716 tests/Makefile.am | 2 +-
16717 1 file changed, 1 insertion(+), 1 deletion(-)
16719 commit c96ca383350e5b9b079d9a86464922314939c006
16720 Author: John (J5) Palmieri <johnp@redhat.com>
16721 Date: Tue Jan 18 07:16:40 2011 -0500
16723 [gi] fix aux value offsets for methods and element size crashers
16725 * if the callable is a method we need to add 1 to the aux index
16726 for in values so we grab the right argument cache
16727 * use _pygi_g_type_info_size instead of _pygi_g_type_tag_size to
16730 gi/pygi-cache.c | 42 ++++++++++++++++++++++++------------------
16731 1 file changed, 24 insertions(+), 18 deletions(-)
16733 commit f56d85a7f39c2088bf9fd50b1b1e5b67c03104d3
16734 Merge: 84d6142 7d997b6
16735 Author: Sebastian Pölsterl <sebp@k-d-w.org>
16736 Date: Tue Jan 18 13:14:45 2011 +0100
16738 Merge branch 'value'
16740 commit 7d997b6fe88343776c4d67a9f3437ba0c4122da0
16741 Author: Sebastian Pölsterl <sebp@k-d-w.org>
16742 Date: Tue Jan 18 13:12:36 2011 +0100
16744 GTK overrides: Do type conversion to column types of ListStore and
16745 TreeStore in set_value
16747 gi/overrides/Gtk.py | 28 ++++++++++++++++++----------
16748 tests/test_overrides.py | 12 +++++++++++-
16749 2 files changed, 29 insertions(+), 11 deletions(-)
16751 commit 84d6142c14a7ebfb7284d3db52e14d3393f93905
16752 Author: Steve Frécinaux <code@istique.net>
16753 Date: Mon Jan 17 18:57:58 2011 +0100
16755 Always register a new GType when a GObject class is subclassed
16757 This patch makes the GType <-> python mapping much more predictible,
16758 and fixes the bug caused by overriding methods without specifying a
16759 __gtype_name__ member in the subclass, and makes type_register useless
16762 It is still possible to provide an explicit __gtype_name__ member
16764 subclass as it allows having a predictible GType name, which is handy
16765 for some of our tests. There is also an explicit special case for
16766 overrides because we obviously do not want to register new GTypes for
16767 those ones as it would clearly defeat the purpose of overrides.
16769 https://bugzilla.gnome.org/show_bug.cgi?id=543056
16771 gobject/__init__.py | 6 +++---
16772 tests/test_gi.py | 21 ++-------------------
16773 2 files changed, 5 insertions(+), 22 deletions(-)
16775 commit 30750ccef31e6c864628f418fc00e8c573d29a1b
16776 Author: Simon van der Linden <svdlinden@gnome.org>
16777 Date: Tue Jan 18 12:57:13 2011 +0100
16779 Raise required versions of GLib and GObject-Introspection
16781 https://bugzilla.gnome.org/show_bug.cgi?id=612126
16783 configure.ac | 6 +++---
16784 1 file changed, 3 insertions(+), 3 deletions(-)
16786 commit 761e98d32729f5894f4c75a54c65ed11329dc9d5
16787 Author: Martin Pitt <martin.pitt@ubuntu.com>
16788 Date: Tue Jan 18 12:52:32 2011 +0100
16790 pygi-convert.sh: Handle keysyms
16792 pygi-convert.sh | 1 +
16793 1 file changed, 1 insertion(+)
16795 commit d62cdfa38a675c1daf3bc12d5cd769434eea5dc8
16796 Author: Martin Pitt <martin.pitt@ubuntu.com>
16797 Date: Tue Jan 18 12:14:09 2011 +0100
16799 GLib overrides: Add test case for array variant building
16801 tests/test_overrides.py | 7 +++++++
16802 1 file changed, 7 insertions(+)
16804 commit 69a78307f3762e3f54d28d98514cec7d31ff20db
16805 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
16806 Date: Tue Jan 18 10:21:03 2011 +0100
16808 Remove cairo.RectangleInt from the foreign module
16810 https://bugzilla.gnome.org/show_bug.cgi?id=639824
16812 gi/pygi-foreign-cairo.c | 96
16813 -------------------------------------------------
16814 1 file changed, 96 deletions(-)
16816 commit 017680c9a5e163021628bf29543598861a3b600a
16817 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
16818 Date: Tue Jan 18 10:20:25 2011 +0100
16820 Dont try to guess the transfer if its a boxed
16822 https://bugzilla.gnome.org/show_bug.cgi?id=639823
16824 gi/pygi-invoke.c | 5 ++++-
16825 1 file changed, 4 insertions(+), 1 deletion(-)
16827 commit 771ef76574690eb98926249f38661d741d1ebbb0
16828 Author: Ignacio Casal Quinteiro <icq@gnome.org>
16829 Date: Tue Jan 18 12:02:01 2011 +0100
16831 The tags can be Empty not None.
16833 gi/overrides/Gtk.py | 2 +-
16834 1 file changed, 1 insertion(+), 1 deletion(-)
16836 commit b1a98083cdc50653e1d7bfb809bdf089f833df3d
16837 Author: Martin Pitt <martin.pitt@ubuntu.com>
16838 Date: Tue Jan 18 12:01:28 2011 +0100
16840 Add Pythonic iterators and indexing to GVariant
16842 Add the usual set of iterators and index accessors to GLib.Variant
16844 which are containers.
16846 Add corresponding test cases.
16848 gi/overrides/GLib.py | 50 ++++++++++++++++++++++++++++++++++++++++++++
16849 tests/test_overrides.py | 55
16850 +++++++++++++++++++++++++++++++++++++++++++++++++
16851 2 files changed, 105 insertions(+)
16853 commit ecb9f824c503c529d43e585b4cdb4c1c9ab14593
16854 Author: Martin Pitt <martin.pitt@ubuntu.com>
16855 Date: Tue Jan 18 10:48:03 2011 +0100
16857 Add GLib.Variant.unpack()
16859 This method decomposes a GLib.Variant into a native Python object,
16861 counterpart of _VariantCreator. This makes it a lot nicer for
16863 developers to use e. g. return values from gdbus calls.
16865 Add appropriate test case.
16867 gi/overrides/GLib.py | 45
16868 +++++++++++++++++++++++++++++++++++++++++++++
16869 tests/test_overrides.py | 33 ++++++++++++++++++++++++++++++++-
16870 2 files changed, 77 insertions(+), 1 deletion(-)
16872 commit 31c73dee34a52fd22b5ff3a23adce92cea5ddc3d
16873 Author: Ignacio Casal Quinteiro <icq@gnome.org>
16874 Date: Tue Jan 18 10:56:18 2011 +0100
16876 Add override for gtk_text_buffer_insert_with_tags
16878 gi/overrides/Gtk.py | 12 ++++++++++++
16879 tests/test_overrides.py | 6 ++++++
16880 2 files changed, 18 insertions(+)
16882 commit fc7d7f7f153d57ff3866b7bfd5e6479d702cc4d9
16883 Author: Simon van der Linden <svdlinden@gnome.org>
16884 Date: Mon Jan 17 14:35:14 2011 +0100
16886 Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES
16888 https://bugzilla.gnome.org/show_bug.cgi?id=620215
16890 gi/Makefile.am | 6 ++++--
16891 gio/Makefile.am | 2 +-
16892 glib/Makefile.am | 2 +-
16893 m4/python.m4 | 7 +++++--
16894 tests/Makefile.am | 2 +-
16895 5 files changed, 12 insertions(+), 7 deletions(-)
16897 commit bceec758b27e6c396d17a79424633b5dc9116f54
16898 Author: Simon van der Linden <svdlinden@gnome.org>
16899 Date: Mon Jan 17 14:20:55 2011 +0100
16901 Kill JD_CHECK_PYTHON_HEADERS
16903 Use AM_CHECK_PYTHON_HEADERS instead, which is identical.
16905 https://bugzilla.gnome.org/show_bug.cgi?id=620215
16907 configure.ac | 2 +-
16908 m4/python.m4 | 31 +------------------------------
16909 2 files changed, 2 insertions(+), 31 deletions(-)
16911 commit e2dea065da94d17a915abe1ce4671b1dc48e02c0
16912 Author: Sebastian Pölsterl <sebp@k-d-w.org>
16913 Date: Mon Jan 17 19:09:27 2011 +0100
16915 Revert "Override Gtk.Box.pack_start and pack_end to set default
16916 values to be compliant with pygtk"
16918 This reverts commit a8c727b9c4195d8085a45661683a18614ae84485.
16922 gi/overrides/Gtk.py
16924 gi/overrides/Gtk.py | 10 ----------
16925 1 file changed, 10 deletions(-)
16927 commit 4fbae9629adc166627de05bb0946b71485343d69
16928 Author: Sebastian Pölsterl <sebp@k-d-w.org>
16929 Date: Mon Jan 17 19:08:23 2011 +0100
16931 Revert "Override Gtk.CellLayout.pack_start and pack_end to add
16932 default values to be compliant with pygtk"
16934 This reverts commit 232841148f35684be83a2f47b5b18da4fb74f63a.
16936 gi/overrides/Gtk.py | 13 ++-----------
16937 1 file changed, 2 insertions(+), 11 deletions(-)
16939 commit c054f0aca67952876b3519bb75ddc62c5517f7cb
16940 Author: Sebastian Pölsterl <sebp@k-d-w.org>
16941 Date: Mon Jan 17 19:08:06 2011 +0100
16943 Revert "Override Gtk.TreeViewColumn.pack_start, pack_end and
16944 set_cell_data_func to add default values to be compliant with pygtk"
16946 This reverts commit ed7e7a8f22b1481acf78c0c2e4c489dbad72f599.
16948 gi/overrides/Gtk.py | 9 ---------
16949 1 file changed, 9 deletions(-)
16951 commit 2d9534f347505573da46743b47318e08bf073aef
16952 Author: Martin Pitt <martin.pitt@ubuntu.com>
16953 Date: Mon Jan 17 18:54:10 2011 +0100
16955 pygi-convert.sh: Handle gtk.combo_box_new_text()
16957 pygi-convert.sh | 1 +
16958 1 file changed, 1 insertion(+)
16960 commit 0586a83212a9f9234fe00659ae744ab04e7ccc67
16961 Author: John (J5) Palmieri <johnp@redhat.com>
16962 Date: Mon Jan 17 12:31:03 2011 -0500
16966 gi/pygi-argument.c | 68 ++++++++++++++++++++++++++++++++++++++++++++--
16967 gi/pygi-cache.c | 80
16968 +++++++++++++++++++++++++++++++++++++++++-------------
16969 gi/pygi-cache.h | 13 +++++++--
16970 gi/pygi-invoke.c | 2 +-
16971 4 files changed, 138 insertions(+), 25 deletions(-)
16973 commit 914d3a0a29680f4d3aa0e1f8afdd625b017b013a
16974 Author: Sebastian Pölsterl <sebp@k-d-w.org>
16975 Date: Mon Jan 17 16:57:53 2011 +0100
16977 Override TreeSortable.set_sort_func and set_default_sort_func to
16978 add default values to be pygtk compliant
16980 gi/overrides/Gtk.py | 6 ++++++
16981 1 file changed, 6 insertions(+)
16983 commit ed7e7a8f22b1481acf78c0c2e4c489dbad72f599
16984 Author: Sebastian Pölsterl <sebp@k-d-w.org>
16985 Date: Mon Jan 17 16:29:28 2011 +0100
16987 Override Gtk.TreeViewColumn.pack_start, pack_end and
16988 set_cell_data_func to add default values to be compliant with pygtk
16990 gi/overrides/Gtk.py | 9 +++++++++
16991 1 file changed, 9 insertions(+)
16993 commit 232841148f35684be83a2f47b5b18da4fb74f63a
16994 Author: Sebastian Pölsterl <sebp@k-d-w.org>
16995 Date: Mon Jan 17 16:28:51 2011 +0100
16997 Override Gtk.CellLayout.pack_start and pack_end to add default values
16998 to be compliant with pygtk
17000 gi/overrides/Gtk.py | 13 +++++++++++--
17001 1 file changed, 11 insertions(+), 2 deletions(-)
17003 commit 1dec12826753756fcadefc8ef8c756fc902c320b
17004 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17005 Date: Mon Jan 17 15:54:32 2011 +0100
17007 Override Gtk.Paned pack1 and pack2 to add default values to be
17008 compliant with pygtk
17010 gi/overrides/Gtk.py | 10 ++++++++++
17011 1 file changed, 10 insertions(+)
17013 commit a8c727b9c4195d8085a45661683a18614ae84485
17014 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17015 Date: Mon Jan 17 15:46:25 2011 +0100
17017 Override Gtk.Box.pack_start and pack_end to set default values to
17018 be compliant with pygtk
17020 gi/overrides/Gtk.py | 10 ++++++++++
17021 1 file changed, 10 insertions(+)
17023 commit 7cc8ac35bb0d8dbf7d66f014f8cd7ff070b3acb8
17024 Author: Steve Frécinaux <code@istique.net>
17025 Date: Wed Aug 4 00:30:05 2010 +0200
17027 Handle GObject subclasses in the property helper.
17029 https://bugzilla.gnome.org/show_bug.cgi?id=625982
17031 gobject/propertyhelper.py | 26 +++++++++++++-------------
17032 tests/test_properties.py | 9 +++++++++
17033 2 files changed, 22 insertions(+), 13 deletions(-)
17035 commit 7a0548dbfbdfe481f75315b6bc7824a9f1a8a87b
17036 Author: Martin Pitt <martin.pitt@ubuntu.com>
17037 Date: Mon Jan 17 17:52:15 2011 +0100
17039 Fix handling of unicode for GtkTreeModels
17041 The code previously converted an unicode object into unicode, but
17043 models actually have to specify 'str' (GTK expects a gchararray). So
17045 UTF-8 instead to get what GTK expects.
17047 Add corresponding test case.
17049 gi/overrides/Gtk.py | 2 +-
17050 tests/test_overrides.py | 12 +++++++++++-
17051 2 files changed, 12 insertions(+), 2 deletions(-)
17053 commit 09c21c79fb6063c8451f53d4588363d2be7239f4
17054 Author: Laszlo Pandy <lpandy@src.gnome.org>
17055 Date: Mon Jan 17 16:46:08 2011 +0100
17057 In IntrospectionModule and DynamicModule classes, make all instance
17058 attributes start with an underscore.
17060 This changes IntrospectionModule.version to _version and
17061 DynamicModule.introspection_module to _introspection_module.
17062 This is done to mark the attributes as private, and also avoid name
17063 collisions with attributes from the typelib.
17064 In Gstreamer, there is a function gst_version, which was previously
17065 inaccessible because of IntrospectionModule.version overriding it.
17067 gi/module.py | 26 +++++++++++++-------------
17068 gi/overrides/GIMarshallingTests.py | 2 +-
17069 gi/overrides/GLib.py | 2 +-
17070 gi/overrides/Gdk.py | 10 +++++-----
17071 gi/overrides/Gtk.py | 2 +-
17072 gi/overrides/Pango.py | 2 +-
17073 gi/overrides/__init__.py | 2 +-
17074 tests/test_everything.py | 2 +-
17075 8 files changed, 24 insertions(+), 24 deletions(-)
17077 commit 2c70beca9e76e4dc253453c556e6985ce59a3dd9
17078 Author: Laszlo Pandy <lpandy@src.gnome.org>
17079 Date: Mon Jan 17 16:17:25 2011 +0100
17081 Amend previous enum wrapping commit to remove redundant setting of
17082 __info__ attribute.
17084 gi/module.py | 2 +-
17085 gi/types.py | 6 +++---
17086 2 files changed, 4 insertions(+), 4 deletions(-)
17088 commit 6fbb6be5a5d0d9cd43e1504b8dda5aa75feb95ca
17089 Author: Martin Pitt <martin.pitt@ubuntu.com>
17090 Date: Mon Jan 17 16:16:45 2011 +0100
17092 pygi-convert.sh: Handle GdkPixbuf.InterpType
17094 pygi-convert.sh | 2 ++
17095 1 file changed, 2 insertions(+)
17097 commit 66a5784f4ab5de5b6d8d51eb4ce869fa26f6a601
17098 Author: Laszlo Pandy <laszlok2@gmail.com>
17099 Date: Mon Jan 17 15:43:34 2011 +0100
17101 Fix wrapping of enums: Create new Python type for each non-gtype enum.
17103 Previously non-gtype enums used the same class, which meant they
17104 were all the same type.
17105 This caused another problem that since they were all the same class,
17106 attributes from different enums were available from each other.
17108 A new test case is created to check for this bug. It requires a new
17109 enum from the GIMarshallingTests (updating gobject-introspection
17112 gi/module.py | 2 +-
17114 tests/test_gi.py | 10 ++++++++++
17115 3 files changed, 13 insertions(+), 1 deletion(-)
17117 commit da50d5620a42046d4fc905bb28a0890d73533cb1
17118 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
17119 Date: Mon Dec 13 18:03:51 2010 +0100
17121 Use g_vfunc_info_invoke for chaining up in vfuncs
17123 https://bugzilla.gnome.org/show_bug.cgi?id=637165
17125 gi/pygi-info.c | 4 ++--
17126 gi/pygi-invoke.c | 72
17127 +++++++++++++++++++++++++++++++++++++++++++-------------
17128 gi/pygi-invoke.h | 3 ++-
17129 gi/types.py | 28 +++++++++++++++++++++-
17130 tests/test_gi.py | 5 ++--
17131 5 files changed, 89 insertions(+), 23 deletions(-)
17133 commit 8ceef79c98a1c2e22ed8ab655ef1169f1763dd23
17134 Author: Simon van der Linden <svdlinden@gnome.org>
17135 Date: Fri Dec 31 18:38:04 2010 +0100
17137 Move pyglib_{main_context, option_context, option_group}_new into
17140 _PyG{MainContext, OptionContext, and OptionGroup_Type} were not
17142 when used inside the glib module, since pyglib_init is not called.
17144 pyglib.c is compiled as a stand-alone library loaded by the _glib
17146 declares the above-mentioned types. Hence, they cannot be accessed
17148 former. This patch moves the functions that need those symbols
17150 glib._glib module and exports them to the pyglib library through
17153 https://bugzilla.gnome.org/show_bug.cgi?id=636656
17155 glib/glibmodule.c | 5 ++++-
17156 glib/pyglib-private.h | 3 +++
17158 +++---------------------------------------------
17159 glib/pygmaincontext.c | 22 ++++++++++++++++++++++
17160 glib/pygmaincontext.h | 2 +-
17161 glib/pygmainloop.c | 2 +-
17162 glib/pygoptioncontext.c | 21 +++++++++++++++++++++
17163 glib/pygoptioncontext.h | 2 ++
17164 glib/pygoptiongroup.c | 26 ++++++++++++++++++++++++++
17165 glib/pygoptiongroup.h | 2 ++
17166 glib/pygsource.c | 2 +-
17167 11 files changed, 86 insertions(+), 49 deletions(-)
17169 commit 17caffe4eeefeaf33a56ececbc6c7454f60b9d76
17170 Author: Martin Pitt <martin.pitt@ubuntu.com>
17171 Date: Mon Jan 17 14:51:26 2011 +0100
17173 pygi-convert.sh: Handle Gdk.DragAction
17175 pygi-convert.sh | 1 +
17176 1 file changed, 1 insertion(+)
17178 commit aa390aa80f06ac83ec89e5c5ee143d21ace97917
17179 Author: Martin Pitt <martin.pitt@ubuntu.com>
17180 Date: Mon Jan 17 14:46:58 2011 +0100
17182 pygi-convert.sh: Generalize Gtk.Settings migration
17184 There are other GSettings.get_* functions like get_for_screen().
17186 pygi-convert.sh | 2 +-
17187 1 file changed, 1 insertion(+), 1 deletion(-)
17189 commit 2e6d5bb49425e6087ca61765ecb72e7a760f2ab2
17190 Author: Martin Pitt <martin.pitt@ubuntu.com>
17191 Date: Mon Jan 17 11:22:46 2011 +0100
17193 pygi-convert.sh: Don't change the name of "glib" submodules
17195 This particular affects dbus.mainloop.glib.*
17197 pygi-convert.sh | 2 +-
17198 1 file changed, 1 insertion(+), 1 deletion(-)
17200 commit 3887b030fc19d25e0cd7b4ed504f4ed23363c3d6
17201 Author: Paolo Borelli <pborelli@gnome.org>
17202 Date: Sun Jan 16 22:09:56 2011 +0100
17204 Plug another memory leak
17206 Do not leak interface info in (g|s)_et_property.
17208 gi/pygi-property.c | 4 ++++
17209 1 file changed, 4 insertions(+)
17211 commit a4950b4cbb3c7567a8586061bb361adb7d9afb98
17212 Author: Paolo Borelli <pborelli@gnome.org>
17213 Date: Sun Jan 16 21:43:30 2011 +0100
17215 Plug a small memory leak.
17217 Do not leak type_info in find_vfunc_info
17219 gi/gimodule.c | 10 +++++-----
17220 1 file changed, 5 insertions(+), 5 deletions(-)
17222 commit d0cbcc45366d40702c69cef207d3c0f361260c02
17223 Author: Paolo Borelli <pborelli@gnome.org>
17224 Date: Sun Jan 16 12:16:31 2011 +0100
17226 Override Table.attach() to behave like pygtk
17228 It is fairly common and even gtk itself still has attach_defaults.
17230 gi/overrides/Gtk.py | 3 +++
17231 tests/test_overrides.py | 4 ++++
17232 2 files changed, 7 insertions(+)
17234 commit 6409d659326bf3cefdf6051379e8bc2031f16733
17235 Author: Martin Pitt <martin.pitt@ubuntu.com>
17236 Date: Sat Jan 15 11:20:23 2011 -0600
17238 pygi-convert.sh: Convert Pango.WrapMode
17240 pygi-convert.sh | 1 +
17241 1 file changed, 1 insertion(+)
17243 commit 6aaa6a38198e84a189ca1e8d26b1871d5b6bb711
17244 Author: Martin Pitt <martin.pitt@ubuntu.com>
17245 Date: Sat Jan 15 11:17:09 2011 -0600
17247 pygi-convert.sh: Don't change the name of "gtk" submodules
17249 Some projects have local modules like "myproject.ui.gtk". Avoid
17251 just change module names which start with "gtk" or "gdk".
17253 pygi-convert.sh | 4 ++--
17254 1 file changed, 2 insertions(+), 2 deletions(-)
17256 commit 9be0f1f2dfb89150faf1827ef482feea03645149
17257 Author: John (J5) Palmieri <johnp@redhat.com>
17258 Date: Thu Jan 13 23:56:19 2011 -0500
17260 [gi] implement aux arg handling for array lengths
17262 gi/pygi-argument.c | 8 ++++++++
17263 gi/pygi-cache.c | 36 ++++++++++++++++++++++++++++--------
17264 gi/pygi-cache.h | 1 -
17265 gi/pygi-invoke.c | 8 ++++++--
17266 4 files changed, 42 insertions(+), 11 deletions(-)
17268 commit cfca2f0a53a5c29f543875ca4cb83a2e18d3bc72
17269 Author: John (J5) Palmieri <johnp@redhat.com>
17270 Date: Thu Jan 13 21:07:25 2011 -0500
17272 [gi] marshal in hashes
17274 gi/pygi-argument.c | 93 ++++++++++++++++++++++++++++++++++++++--
17275 gi/pygi-cache.c | 122
17276 +++++++++++++++++++++++++++++++++++++----------------
17277 2 files changed, 176 insertions(+), 39 deletions(-)
17279 commit c36fbf4918c8557a8e274a12004a412da3b22b2c
17280 Author: Laszlo Pandy <git@laszlopandy.com>
17281 Date: Tue Jan 11 21:41:47 2011 +0100
17283 Fix the __dir__() methods on DynamicModule and IntrospectionModule
17285 Previously the __dir__() methods did not list all attributes.
17286 A simple test case is included. It does not test to see if
17287 every attribute is listed, it just tests a few of each kind:
17288 - (wrapped) typelib attributes
17289 - class attributes and methods
17290 - instance attributes
17292 A set() is used to avoid returning duplicate attributes.
17293 The test case checks for this as well.
17295 https://bugzilla.gnome.org/show_bug.cgi?id=639229
17297 gi/module.py | 28 +++++++++++++++++++++-------
17298 tests/test_everything.py | 18 ++++++++++++++++++
17299 2 files changed, 39 insertions(+), 7 deletions(-)
17301 commit 1679e6af3f212e4d4644e048dc3c6177ed3fac6b
17302 Author: Paolo Borelli <pborelli@gnome.org>
17303 Date: Thu Jan 13 00:02:20 2011 +0100
17305 pygi-convert.sh: handle ReliefStyle
17307 pygi-convert.sh | 1 +
17308 1 file changed, 1 insertion(+)
17310 commit e9166ba5d19f2b586f65a3b83a671a5afd486d8f
17311 Author: John (J5) Palmieri <johnp@redhat.com>
17312 Date: Wed Jan 12 16:50:30 2011 -0500
17314 [gi] support for GList and GSList in
17316 gi/pygi-argument.c | 122
17317 ++++++++++++++++++++++++++++++++++++++++++++++++++---
17318 1 file changed, 116 insertions(+), 6 deletions(-)
17320 commit 9baf3240fbac103823ad0feaaf1c82e46d276722
17321 Author: John (J5) Palmieri <johnp@redhat.com>
17322 Date: Wed Jan 12 16:24:17 2011 -0500
17324 [gi] handle allow_none for all args
17326 gi/pygi-cache.c | 3 ++-
17327 gi/pygi-cache.h | 1 +
17328 gi/pygi-invoke.c | 7 +++++++
17329 3 files changed, 10 insertions(+), 1 deletion(-)
17331 commit d54d12c66226910952b0dc44c8d9514a7edaa6f2
17332 Author: John (J5) Palmieri <johnp@redhat.com>
17333 Date: Wed Jan 12 16:23:02 2011 -0500
17335 [gi] fix marshalling fixed arrays
17337 * get the correct item_size and pass the GArray data not the GArray
17339 gi/pygi-argument.c | 39 ++++++++++++++++++++++-----------------
17340 gi/pygi-cache.c | 3 ++-
17341 2 files changed, 24 insertions(+), 18 deletions(-)
17343 commit 3b0eff80d2ee35e0417476f0a170b9e178e3d1ee
17344 Author: John (J5) Palmieri <johnp@redhat.com>
17345 Date: Tue Jan 11 17:20:43 2011 -0500
17347 [gi] implement out arg handling
17349 gi/pygi-argument.c | 43 ++++++++++---------------------------
17350 gi/pygi-cache.c | 22 ++++++++++++++-----
17351 gi/pygi-invoke-state-struct.h | 13 +++++++++++
17352 gi/pygi-invoke.c | 50
17353 +++++++++++++++++++++++++++++++++++++++++--
17354 4 files changed, 89 insertions(+), 39 deletions(-)
17356 commit bd002c72675d35b5e60ab773181e7c36c30d2625
17357 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
17358 Date: Tue Jan 11 22:21:18 2011 +0100
17360 setup.py: fix the provides keyword argument
17363 1 file changed, 1 insertion(+), 1 deletion(-)
17365 commit 59dac72d0fa8e1d68bbbc13d76c2747f1cb11857
17366 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
17367 Date: Tue Jan 11 22:19:18 2011 +0100
17369 setup.py: use the same spaces-less format for all setup() parameters
17371 setup.py | 8 ++++----
17372 1 file changed, 4 insertions(+), 4 deletions(-)
17374 commit c5c149be171895d292852df364541f14f0ec423a
17375 Author: John (J5) Palmieri <johnp@redhat.com>
17376 Date: Tue Jan 11 15:39:09 2011 -0500
17378 [gi] implemented return marshalling and started on out marshalling
17380 gi/pygi-argument.c | 387
17381 ++++++++++++++++++++++++++++++++++++++++++++++++++++-
17382 gi/pygi-argument.h | 117 ++++++++++++++++
17383 gi/pygi-cache.c | 316 ++++++++++++++++++++++++++++++++++++++++++-
17384 gi/pygi-cache.h | 8 +-
17385 gi/pygi-invoke.c | 12 +-
17386 5 files changed, 829 insertions(+), 11 deletions(-)
17388 commit 4fcca8518774ab89607196dfc52037e3da30ac8a
17389 Author: John (J5) Palmieri <johnp@redhat.com>
17390 Date: Tue Jan 11 13:49:58 2011 -0500
17392 [gi] flesh out interface in marshalling a bit more
17394 gi/pygi-argument.c | 74
17395 ++++++++++++++++++++++++++++++++++++++++----------
17396 gi/pygi-cache.c | 79
17397 ++++++++++++++++++++++++++++++++++++++++++------------
17398 gi/pygi-cache.h | 1 +
17399 3 files changed, 123 insertions(+), 31 deletions(-)
17401 commit 4992dca9f5cea68d85eb2ed86105c9c6b8311d79
17402 Author: Laszlo Pandy <laszlok2@gmail.com>
17403 Date: Tue Jan 11 19:30:38 2011 +0100
17405 Add a __repr__() method to DynamicModule.
17407 This patch adds a __repr__() method to DynamicModule so that modules
17409 meaningful string with the typelib path included:
17411 >>> from gi.repository import Gtk
17413 <gi.module.DynamicModule 'Gtk' from
17414 '/home/laszlo/Dev/gnome-jh-install/lib64/girepository-1.0/Gtk-3.0.typelib'>
17416 https://bugzilla.gnome.org/show_bug.cgi?id=639232
17418 gi/module.py | 9 +++++++++
17419 1 file changed, 9 insertions(+)
17421 commit 2ffaec59e7349c145a0e2a5edba2ffb7d8628369
17422 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
17423 Date: Tue Jan 11 19:40:19 2011 +0100
17425 Go back to using getattr() in DynamicModule.__getattr__
17427 Breaks marshalling of some types
17429 gi/module.py | 2 +-
17430 1 file changed, 1 insertion(+), 1 deletion(-)
17432 commit 52a298cc0f05ceec96457f17f9a801e9838fb757
17433 Author: Laszlo Pandy <laszlok2@gmail.com>
17434 Date: Tue Jan 11 19:26:50 2011 +0100
17436 Change __dir__() to report all the attributes that __getattr__
17439 Change DynamicModule.__dir__() to return the local class members as
17441 typelib attributes.
17443 Change DynamicModule.__getattr__() to call
17444 IntrospectionModule.__getattr__()
17445 directly, so that it won't inadvertently return class attributes from
17446 IntrospectionModule.
17448 https://bugzilla.gnome.org/show_bug.cgi?id=639229
17450 gi/module.py | 10 +++++++---
17451 1 file changed, 7 insertions(+), 3 deletions(-)
17453 commit 369a75ba5fb64ff7a7c95d21f8bfe359e639e9ff
17454 Author: John (J5) Palmieri <johnp@redhat.com>
17455 Date: Mon Jan 10 17:55:03 2011 -0500
17457 [gi] add object and interface in marshalling
17459 * also remove the PyGIArgCleanup sinature as GDestroyNotify works
17462 gi/pygi-argument.c | 15 +++--
17463 gi/pygi-cache.c | 182
17464 ++++++++++++++++++++++++++++++++++++++++++++++++-----
17465 gi/pygi-cache.h | 1 -
17466 gi/pygi-invoke.c | 1 +
17467 4 files changed, 178 insertions(+), 21 deletions(-)
17469 commit 88531c58d0491a31dd319387237a03df5c9edc07
17470 Author: John (J5) Palmieri <johnp@redhat.com>
17471 Date: Mon Jan 10 15:33:56 2011 -0500
17473 [gi] fix casting when marshaling a char to uint8
17475 gi/pygi-argument.c | 2 +-
17476 1 file changed, 1 insertion(+), 1 deletion(-)
17478 commit 441da4a7346ca059630dbc820c5b46e4d0222f4b
17479 Author: John (J5) Palmieri <johnp@redhat.com>
17480 Date: Mon Jan 10 15:07:16 2011 -0500
17482 [gi] hook up invoke to the cache
17484 * We now can invoke with in values
17485 * out, constructors and returns still don't work along with numerous
17489 gi/Makefile.am | 1 +
17490 gi/pygi-argument.c | 60 +++++++++--------
17491 gi/pygi-argument.h | 60 ++++++++---------
17492 gi/pygi-cache.h | 6 +-
17493 gi/pygi-invoke-state-struct.h | 26 ++++++++
17494 gi/pygi-invoke.c | 149
17495 ++++++++++++++++++++++++++++++++----------
17496 gi/pygi-invoke.h | 2 +-
17497 gi/pygi-private.h | 1 +
17498 8 files changed, 208 insertions(+), 97 deletions(-)
17500 commit f32b1f494aa5d09b9b198f607722c819c6bbd808
17501 Author: John (J5) Palmieri <johnp@redhat.com>
17502 Date: Sun Jan 9 19:37:55 2011 -0500
17504 hooked up caching stage and fixed segfaults
17506 * caching stage is hooked up but not used yet
17507 * throws exceptions for everything that can not be cached yet
17509 gi/pygi-cache.c | 59
17510 +++++++++++++++++++++++++++++++++++++++++++-------------
17511 gi/pygi-info.c | 3 +++
17512 gi/pygi-invoke.c | 5 +++++
17514 4 files changed, 56 insertions(+), 13 deletions(-)
17516 commit c2bf1d4d9cf2e9f8e313528fe717f6279dad5da1
17517 Author: John (J5) Palmieri <johnp@redhat.com>
17518 Date: Sun Jan 9 18:05:31 2011 -0500
17520 [gi] fix some function names
17522 gi/pygi-cache.c | 5 ++---
17523 1 file changed, 2 insertions(+), 3 deletions(-)
17525 commit 2ec4230a5180f048c26c2e4234b2a098d42f030b
17526 Author: John (J5) Palmieri <johnp@redhat.com>
17527 Date: Sun Jan 9 15:58:06 2011 -0500
17529 [gi] refactor cache structs so they inherit from ArgCache
17531 gi/pygi-argument.c | 122 +++++++++----------
17532 gi/pygi-cache.c | 344
17533 +++++++++++++++++++++++++++++------------------------
17534 gi/pygi-cache.h | 50 ++++----
17535 3 files changed, 273 insertions(+), 243 deletions(-)
17537 commit f4cdf0c0321285da015686fcb7115bd91bfd5c7c
17538 Author: John (J5) Palmieri <johnp@redhat.com>
17539 Date: Sat Jan 8 20:45:11 2011 -0500
17541 [gi]fix cache compile error - now compiles but cache still not
17544 gi/Makefile.am | 2 +
17545 gi/pygi-argument.c | 100 +++++++++++++++---------------
17546 gi/pygi-argument.h | 174
17547 ++++++++++++++++++++++++++++++++++++++++++++---------
17548 gi/pygi-cache.c | 169
17549 +++++++++++++++++++++++++--------------------------
17550 gi/pygi-cache.h | 25 ++++----
17551 5 files changed, 293 insertions(+), 177 deletions(-)
17553 commit 5f8f3044dd8085b2e8ce0bf70e9d52f05abf909d
17554 Author: John (J5) Palmieri <johnp@redhat.com>
17555 Date: Sat Jan 8 19:10:29 2011 -0500
17557 add sequence caching and array marshalling w/ item marshalling
17559 * simplify what we pass into the arg cache generators so we may
17561 for geneating marshalling caches for container items, not just
17564 gi/pygi-argument.c | 76 ++++++++++++++++-
17565 gi/pygi-cache.c | 242
17566 ++++++++++++++++++++++-------------------------------
17567 gi/pygi-cache.h | 4 +-
17568 3 files changed, 175 insertions(+), 147 deletions(-)
17570 commit 202a268db7f98f5a3c525c6e65ec4bff1917257e
17571 Author: Emilio Pozuelo Monfort <pochu27@gmail.com>
17572 Date: Sat Jan 8 02:19:52 2011 +0000
17574 Bump the minimum gio dependency
17576 Needed for G_TYPE_CONVERTER_FLAGS and others.
17578 configure.ac | 2 +-
17579 1 file changed, 1 insertion(+), 1 deletion(-)
17581 commit c3aa36151fdef9ed9884d93114786bbe86387983
17582 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
17583 Date: Fri Jan 7 12:58:11 2011 +0100
17585 Add test for incorrect attributes in Gdk.Event
17587 tests/test_overrides.py | 4 ++++
17588 1 file changed, 4 insertions(+)
17590 commit 204b45c7e95eb50d9e3843127fb10e13b1b17fee
17591 Author: Simon van der Linden <svdlinden@gnome.org>
17592 Date: Sun Jan 2 19:25:55 2011 +0100
17594 Don't call getattr again in gi.overrides.Gdk.Event.__getattr__
17596 __getattr__ is only called when the attribute is not found through
17598 mechanism, so getattr must not be called again in __getattr__
17600 create an infinite loop).
17602 Another possibility would be to implement __getattribute__ instead,
17604 called in place of the normal mechanism. In that case, calling
17606 needed for normal attributes.
17608 https://bugzilla.gnome.org/show_bug.cgi?id=638523
17610 gi/overrides/Gdk.py | 2 +-
17611 1 file changed, 1 insertion(+), 1 deletion(-)
17613 commit 6cf298ca5565d0eb99824f050ff47407e50a5c01
17614 Author: Mike Gorse <mgorse@novell.com>
17615 Date: Fri Jan 7 09:08:31 2011 +0100
17617 Release allocated array of arguments when handling closures
17619 https://bugzilla.gnome.org/show_bug.cgi?id=638847
17621 gi/pygi-closure.c | 3 +++
17622 1 file changed, 3 insertions(+)
17624 commit 1be76d5e006efa24598ff7bf26153660dbe0a890
17625 Author: Mike Gorse <mgorse@novell.com>
17626 Date: Fri Jan 7 09:07:35 2011 +0100
17628 Release GIValueInfo when checking an enum argument
17630 https://bugzilla.gnome.org/show_bug.cgi?id=638847
17632 gi/pygi-argument.c | 1 +
17633 1 file changed, 1 insertion(+)
17635 commit 43849c51391fc9cd239697065c3d40fa02fb6783
17636 Author: John (J5) Palmieri <johnp@redhat.com>
17637 Date: Thu Jan 6 17:30:14 2011 -0500
17641 gi/pygi-cache.c | 24 ++++++++++++------------
17642 gi/pygi-cache.h | 42 +++++++++++++++++++++---------------------
17643 2 files changed, 33 insertions(+), 33 deletions(-)
17645 commit 8b5b3d2bbbbdf5d26c83e9a6fe67121cbd77ebe1
17646 Author: John (J5) Palmieri <johnp@redhat.com>
17647 Date: Thu Jan 6 17:29:00 2011 -0500
17649 add marshalling for basic types and add more skeleton code
17651 * still doesn't compile
17653 gi/pygi-argument.c | 708
17654 +++++++++++++++++++++++++++++++++++++++++++++++++++++
17655 gi/pygi-argument.h | 35 ++-
17656 gi/pygi-cache.c | 82 +++++--
17657 gi/pygi-cache.h | 41 +++-
17658 4 files changed, 832 insertions(+), 34 deletions(-)
17660 commit f554cf62848104d31518138ae85bc51acaafda67
17661 Author: John (J5) Palmieri <johnp@redhat.com>
17662 Date: Tue Jan 4 18:49:53 2011 -0500
17664 first checkin of the new caching branch
17666 * this does not compile and is not hooked up to the build system
17667 * lays out the caching data structures and some skeleton functions
17669 gi/pygi-cache.c | 480
17670 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
17671 gi/pygi-cache.h | 104 ++++++++++++
17672 2 files changed, 584 insertions(+)
17674 commit 8d5a7857876669f56bb03bf618bcfdcc290721c0
17675 Author: Eitan Isaacson <eitan@monotonous.org>
17676 Date: Wed Dec 22 12:34:10 2010 -0800
17678 Respect different type lengths when assigning out-argument pointers.
17680 https://bugzilla.gnome.org/show_bug.cgi?id=637832
17682 gi/pygi-closure.c | 66
17683 ++++++++++++++++++++++++++++++++++++++++++++++---------
17684 1 file changed, 56 insertions(+), 10 deletions(-)
17686 commit f14976ffabec28f6cafe1e37dc81d207a947d4ca
17687 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
17688 Date: Tue Dec 28 18:34:25 2010 +0100
17690 Fix stupid name clash
17692 gi/module.py | 7 +++++--
17693 1 file changed, 5 insertions(+), 2 deletions(-)
17695 commit 01b2a193d403beb861eab524300b4f1af63157ce
17696 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
17697 Date: Tue Dec 28 13:49:18 2010 +0100
17699 Add /usr/share to XDG_DATA_DIRS when running the tests
17701 tests/Makefile.am | 7 ++++++-
17702 1 file changed, 6 insertions(+), 1 deletion(-)
17704 commit efc186f692f9eac781cc47456be74a3da7f14dcd
17705 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
17706 Date: Tue Dec 28 13:25:34 2010 +0100
17708 Comment out tests that require SRV lookups
17710 tests/test_gresolver.py | 5 ++++-
17711 1 file changed, 4 insertions(+), 1 deletion(-)
17713 commit d2462cc1ab51d76fb4625c47c3d34de1d5d0dee8
17714 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
17715 Date: Tue Dec 28 13:00:16 2010 +0100
17717 Use suppresion file when running valgrind
17719 tests/Makefile.am | 2 +-
17720 tests/python.supp | 387
17721 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
17722 2 files changed, 388 insertions(+), 1 deletion(-)
17724 commit 0ee58113ecbea72784c52de928c041fc8fc88984
17725 Author: Ignacio Casal Quinteiro <icq@gnome.org>
17726 Date: Thu Dec 23 00:10:41 2010 +0100
17730 gi/pygi-argument.c | 16 +++++++---------
17731 gi/pygi-foreign-cairo.c | 13 ++-----------
17732 gio/gfile.override | 5 ++---
17733 glib/pyglib-python-compat.h | 3 +++
17734 glib/pyglib.c | 2 +-
17735 glib/pygmainloop.c | 3 ++-
17736 6 files changed, 17 insertions(+), 25 deletions(-)
17738 commit 78ea84cd91392400ebac5a361ef8793bfe928fd0
17739 Author: Jesse van den Kieboom <jesse.vandenkieboom@epfl.ch>
17740 Date: Sun Dec 19 23:10:57 2010 +0100
17742 Allow comparing Gtk.TreePath to None
17744 https://bugzilla.gnome.org/show_bug.cgi?id=637615
17746 gi/overrides/Gtk.py | 12 ++++++------
17747 tests/test_overrides.py | 6 ++++++
17748 2 files changed, 12 insertions(+), 6 deletions(-)
17750 commit 046cc5915286e042d1040271a90676b77632409e
17751 Author: John (J5) Palmieri <johnp@redhat.com>
17752 Date: Thu Dec 16 15:41:10 2010 -0500
17754 handle unicode objects in properties
17756 * There are still some cavets in Python 2:
17757 - properties are returned as String objects with the unicode
17759 - you must add # coding=utf-8 to the top of your python file
17761 will error out if it sees embeded unicode charaters (such as when
17762 supporting python 3 and python 2 from the same source)
17764 https://bugzilla.gnome.org/show_bug.cgi?id=620579
17766 gobject/pygtype.c | 35 ++++++++++++++++++++++++++---------
17767 tests/test_properties.py | 16 ++++++++++++++++
17768 2 files changed, 42 insertions(+), 9 deletions(-)
17770 commit 7aa783d5cd674f34da318f826bd5f4a0e09d24cb
17771 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
17772 Date: Tue Dec 14 12:29:54 2010 +0100
17774 dsextras.py: check if gcc is there when platform is win32 and compiler
17777 dsextras.py | 6 ++++++
17778 1 file changed, 6 insertions(+)
17780 commit cebf5f09a6c5018ced64f35e7747fc81b93b823e
17781 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
17782 Date: Tue Dec 14 12:29:01 2010 +0100
17784 dsextras.py: be consistent in how distutils imports are done
17786 dsextras.py | 6 +++---
17787 1 file changed, 3 insertions(+), 3 deletions(-)
17789 commit 35e590d48c78f2e76c47c2b4eaf0f7e8d1ed5c93
17790 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
17791 Date: Tue Dec 14 12:25:07 2010 +0100
17793 dsextras.py: add have_gcc() function
17795 dsextras.py | 5 +++++
17796 1 file changed, 5 insertions(+)
17798 commit 637c2c287cfb0e89365026531c651111f5593ac7
17799 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
17800 Date: Tue Dec 14 12:24:41 2010 +0100
17802 dsextras.py: use distutils.spawn.find_executable for have_pkgconfig()
17804 dsextras.py | 8 ++------
17805 1 file changed, 2 insertions(+), 6 deletions(-)
17807 commit 020d00bc0ce7b77006b4d4f42d63122d79bcbf89
17808 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
17809 Date: Tue Dec 14 12:22:54 2010 +0100
17811 setup.py: fix another case of use True/False instead of 1/0
17814 1 file changed, 1 insertion(+), 1 deletion(-)
17816 commit b03cc9e0d66d8caea3cd6a63db198c43de9267e9
17817 Author: Paolo Borelli <pborelli@gnome.org>
17818 Date: Mon Dec 13 10:21:52 2010 +0100
17820 pygi-convert.sh: improve GtkSourceView conversion
17822 pygi-convert.sh | 7 +++++++
17823 1 file changed, 7 insertions(+)
17825 commit fbc12cd7c09a67de9e28b7b0b28de9dc0e0e3418
17826 Author: Paolo Borelli <pborelli@gnome.org>
17827 Date: Mon Dec 13 10:27:56 2010 +0100
17829 pygi-convert.sh: Gtk.DialogFlags conversion
17831 pygi-convert.sh | 1 +
17832 1 file changed, 1 insertion(+)
17834 commit 73e933d2429aea4d14e15350a538da1c5c3f71eb
17835 Author: José Alburquerque <jaalburqu@svn.gnome.org>
17836 Date: Sun Dec 12 20:38:46 2010 -0500
17838 Doc Extractor: Print the gtk-doc blocks sorted by function name.
17840 * codegen/docextract_to_xml.py: Print the xml of the gtk-doc
17842 alphabetical order according to the identifier (function name)
17844 the generation of xml files in the C++ bindings is deterministic.
17845 Thanks to Krzesimir Nowak for suggesting this in a gtksourceviewmm
17848 codegen/docextract_to_xml.py | 2 +-
17849 1 file changed, 1 insertion(+), 1 deletion(-)
17851 commit db7ffa75b007074cb6b33b547c6d8140da300a3e
17852 Author: Paolo Borelli <pborelli@gnome.org>
17853 Date: Mon Dec 13 00:17:26 2010 +0100
17855 pygi-convert.sh: add more Gtk conversions and sort
17857 pygi-convert.sh | 50 ++++++++++++++++++++++++++------------------------
17858 1 file changed, 26 insertions(+), 24 deletions(-)
17860 commit f4bfe73d0ccedf7f671d3acd6d9e262d5383b733
17861 Author: Paolo Borelli <pborelli@gnome.org>
17862 Date: Mon Dec 13 00:01:40 2010 +0100
17864 pygi-convert.sh: convert Atk
17866 pygi-convert.sh | 12 ++++++++++++
17867 1 file changed, 12 insertions(+)
17869 commit e55ce3667eb1d352bf96f265bf018ffe8aea75f9
17870 Author: Paolo Borelli <pborelli@gnome.org>
17871 Date: Sun Dec 12 23:48:48 2010 +0100
17873 pygi-convert.sh: convert a few more Gio types
17875 pygi-convert.sh | 9 +++++++++
17876 1 file changed, 9 insertions(+)
17878 commit acc9f84bc6e13d76c6516cefe393d4a4f868aa24
17879 Author: Paolo Borelli <pborelli@gnome.org>
17880 Date: Sun Dec 12 14:19:00 2010 +0100
17882 pygi-convert.sh: more GLib conversion
17884 pygi-convert.sh | 7 +++++++
17885 1 file changed, 7 insertions(+)
17887 commit c903390814bebdc62d530472f6f94feecc59b8b3
17888 Author: Paolo Borelli <pborelli@gnome.org>
17889 Date: Sun Dec 12 14:00:34 2010 +0100
17891 pygi-convert.sh: remove two cases handled by overrides
17893 pygi-convert.sh | 2 --
17894 1 file changed, 2 deletions(-)
17896 commit d33c987e505ec8ddffa2b8cb5526f05b9b5f62be
17897 Author: Paolo Borelli <pborelli@gnome.org>
17898 Date: Sun Dec 12 13:38:56 2010 +0100
17900 Override Gtk.ScrolledWindow constructor
17902 gi/overrides/Gtk.py | 7 +++++++
17903 tests/test_overrides.py | 7 +++++++
17904 2 files changed, 14 insertions(+)
17906 commit 1c24bb089fcd69e3104ae72a0e7560a8c5a3f05b
17907 Author: Paolo Borelli <pborelli@gnome.org>
17908 Date: Sun Dec 12 12:32:39 2010 +0100
17910 pygi-convert.sh: Fix 'find' syntax
17912 pygi-convert.sh | 2 +-
17913 1 file changed, 1 insertion(+), 1 deletion(-)
17915 commit f0a1d6b6bb53d0fa2788d8b9027d737b0aef8dfc
17916 Author: Paolo Borelli <pborelli@gnome.org>
17917 Date: Sun Dec 12 12:29:38 2010 +0100
17919 pygi-convert.sh: start handling Gio and GLib
17921 pygi-convert.sh | 8 ++++++++
17922 1 file changed, 8 insertions(+)
17924 commit 365bf3251af3498dc797a58cce071805451b49b1
17925 Author: Paolo Borelli <pborelli@gnome.org>
17926 Date: Sat Dec 11 23:05:31 2010 +0100
17928 pygi-convert.sh: convert Gdk.ScrollDirection.
17930 pygi-convert.sh | 1 +
17931 1 file changed, 1 insertion(+)
17933 commit bca603de0f217fb290189a0ea330f82961c46d5d
17934 Author: Paolo Borelli <pborelli@gnome.org>
17935 Date: Sat Dec 11 15:03:21 2010 +0100
17937 Override Pango.Layout constructor.
17939 I must take a Pango.Context argument. Unfortumately the context is
17941 gobject property so we need to jump through some oops.
17943 gi/overrides/Pango.py | 13 +++++++++++++
17944 tests/test_overrides.py | 6 ++++++
17945 2 files changed, 19 insertions(+)
17947 commit df233301802e3f7f9ce338cde015ca2a2fc648ab
17948 Author: Paolo Borelli <pborelli@gnome.org>
17949 Date: Sat Dec 11 14:18:53 2010 +0100
17951 Remove Pango.FontDescription() conversion.
17953 It is now properly handled by an override.
17955 pygi-convert.sh | 1 -
17956 1 file changed, 1 deletion(-)
17958 commit d8abcc9463542af9cd43d71849d0ad4c183b570b
17959 Author: Paolo Borelli <pborelli@gnome.org>
17960 Date: Fri Dec 10 14:05:20 2010 +0100
17962 Override GtkAction and GtkRadioAction constructors.
17964 gi/overrides/Gtk.py | 20 +++++++++++++++++---
17965 tests/test_overrides.py | 18 ++++++++++++++++++
17966 2 files changed, 35 insertions(+), 3 deletions(-)
17968 commit 7924b18a99a0680c04aca46be4b64a7aa507dfe5
17969 Author: Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com>
17970 Date: Sat Dec 4 22:13:28 2010 +0000
17972 Override Adjustment constructor to behave like pygtk
17974 https://bugzilla.gnome.org/show_bug.cgi?id=636486
17976 gi/overrides/Gtk.py | 7 +++++++
17977 tests/test_overrides.py | 9 +++++++++
17978 2 files changed, 16 insertions(+)
17980 commit e76352dd83c8706e68ad57d00d185da9afea99c4
17981 Author: John (J5) Palmieri <johnp@redhat.com>
17982 Date: Thu Dec 9 13:23:10 2010 -0500
17984 add secondary_text apis to MessageDialog
17986 gi/overrides/Gtk.py | 8 ++++++++
17987 tests/test_overrides.py | 8 ++++++++
17988 2 files changed, 16 insertions(+)
17990 commit de682b2d36c362140ab7d43c0743b01ec0865a74
17991 Author: John (J5) Palmieri <johnp@redhat.com>
17992 Date: Wed Dec 8 16:39:27 2010 -0500
17994 [gi] get rid of some debug prints and fix error messages
17996 gi/overrides/Gtk.py | 7 +++----
17997 1 file changed, 3 insertions(+), 4 deletions(-)
17999 commit dbb16571803bf51f497768bf80944514f4290ee5
18000 Author: Paolo Borelli <pborelli@gnome.org>
18001 Date: Wed Dec 8 18:25:15 2010 +0100
18003 Fix demo for override changes.
18005 demos/gtk-demo/gtk-demo.py | 5 +++--
18006 1 file changed, 3 insertions(+), 2 deletions(-)
18008 commit 2adcd95762944a4e27123093d3c8d080e49be1ea
18009 Author: Paolo Borelli <pborelli@gnome.org>
18010 Date: Wed Dec 8 18:06:01 2010 +0100
18012 Override Pango.FontDescription.
18014 demos/gtk-demo/gtk-demo.py | 2 +-
18015 gi/overrides/Makefile.am | 1 +
18016 gi/overrides/Pango.py | 40 ++++++++++++++++++++++++++++++++++++++++
18017 tests/test_overrides.py | 7 +++++++
18018 4 files changed, 49 insertions(+), 1 deletion(-)
18020 commit 769da968c9187414d0420412d8fb8c833d12042a
18021 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
18022 Date: Wed Dec 8 17:38:11 2010 +0100
18024 Stop checking that all vfuncs are implemented
18026 Because some methods are optionally implementable but g-i won't
18029 https://bugzilla.gnome.org/show_bug.cgi?id=619606
18031 gi/gimodule.c | 4 +++-
18032 gi/types.py | 12 ++----------
18033 tests/test_gi.py | 10 ----------
18034 3 files changed, 5 insertions(+), 21 deletions(-)
18036 commit 167a01c46b3fa0b3c8339502c875d32bd2bca974
18037 Author: Paolo Borelli <pborelli@gnome.org>
18038 Date: Wed Dec 8 17:37:00 2010 +0100
18040 Fix usage of TreeIter api that is now an override.
18042 demos/gtk-demo/gtk-demo.py | 6 +++---
18043 1 file changed, 3 insertions(+), 3 deletions(-)
18045 commit d2cfd6e9250d40de7c715ac74e299deddf137683
18046 Author: Paolo Borelli <pborelli@gnome.org>
18047 Date: Wed Dec 8 17:34:54 2010 +0100
18049 Fix Gtk.Label(label="Foo")
18051 Use 'label' as an argument name instead of 'str', otherwise we may
18052 end up up with two 'label' in the kwds dict. Besides 'str' is a
18055 gi/overrides/Gtk.py | 4 ++--
18056 1 file changed, 2 insertions(+), 2 deletions(-)
18058 commit c0c684c9bb4e2bc08d7cb6ac246705e8a3b77656
18059 Author: Paolo Borelli <pborelli@gnome.org>
18060 Date: Wed Dec 8 14:16:39 2010 +0100
18062 Fix typo when raising an exception
18065 1 file changed, 1 insertion(+), 1 deletion(-)
18067 commit 88c9a3ad49d9fcf779c3523672d8bf4767910301
18068 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18069 Date: Wed Dec 8 10:46:27 2010 +0100
18071 pygi-convert.sh: Added more conversions
18073 pygi-convert.sh | 14 ++++++++++++++
18074 1 file changed, 14 insertions(+)
18076 commit 4d8d96326b2cac91e6d75e6601b92e202d1918ff
18077 Author: Paolo Borelli <pborelli@gnome.org>
18078 Date: Tue Dec 7 20:39:15 2010 +0100
18080 Override LinkButton constructor to make 'uri' mandatory
18082 gi/overrides/Gtk.py | 7 +++++++
18083 tests/test_overrides.py | 6 ++++++
18084 2 files changed, 13 insertions(+)
18086 commit f4f7fb35af1b41598dc050f5df155a01c370a920
18087 Author: Dmitry Morozov <dmitry.a.morozov@yandex.ru>
18088 Date: Sat Dec 4 19:19:19 2010 +0600
18090 Container should be iterable.
18092 gi/overrides/Gtk.py | 9 +++++++++
18093 tests/test_overrides.py | 6 +++++-
18094 2 files changed, 14 insertions(+), 1 deletion(-)
18096 commit d2ad05d6d8d53b941e0ad33fcb200f1245a2d308
18097 Author: Paolo Borelli <pborelli@gnome.org>
18098 Date: Tue Dec 7 14:13:00 2010 +0100
18100 No need to import Gdk
18102 gi/overrides/Gtk.py | 1 -
18103 1 file changed, 1 deletion(-)
18105 commit b6a40badf0b2b59e690ce818efb03c7c816b8a04
18106 Author: Paolo Borelli <pborelli@gnome.org>
18107 Date: Tue Dec 7 14:07:53 2010 +0100
18111 gi/overrides/Gtk.py | 7 +++----
18112 1 file changed, 3 insertions(+), 4 deletions(-)
18114 commit cdc9c26553bf47ea488676e7bdc5f8ab0a2c906b
18115 Author: John (J5) Palmieri <johnp@redhat.com>
18116 Date: Mon Dec 6 16:05:30 2010 -0500
18118 [gi] make sure Gtk.Button override passes all keywords to parent
18121 gi/overrides/Gtk.py | 4 ++--
18122 1 file changed, 2 insertions(+), 2 deletions(-)
18124 commit cede81ad65db017e95543d8d35715751aa202fed
18125 Author: Paolo Borelli <pborelli@gnome.org>
18126 Date: Sun Dec 5 13:31:20 2010 +0100
18128 Fix cut&paste error in the Label override
18130 gi/overrides/Gtk.py | 2 +-
18131 1 file changed, 1 insertion(+), 1 deletion(-)
18133 commit 607c59b74ebbc1e39cb4121c870b689e1888c106
18134 Author: Paolo Borelli <pborelli@gnome.org>
18135 Date: Sat Dec 4 16:03:27 2010 +0100
18137 pygi-convert.sh: handle TextWindowType
18139 pygi-convert.sh | 1 +
18140 1 file changed, 1 insertion(+)
18142 commit dfeabe0b68938e27da2e65903983b5113dc422f1
18143 Author: Paolo Borelli <pborelli@gnome.org>
18144 Date: Sat Dec 4 15:49:15 2010 +0100
18146 Override Label constructor to behave like pygtk
18148 gi/overrides/Gtk.py | 7 +++++++
18149 tests/test_overrides.py | 4 ++++
18150 2 files changed, 11 insertions(+)
18152 commit da4e045e5abbed2796cc4ed39df35a0dde2de31b
18153 Author: Paolo Borelli <pborelli@gnome.org>
18154 Date: Sat Dec 4 15:40:35 2010 +0100
18156 Override GtkTable constructor to behave like pygtk
18158 gi/overrides/Gtk.py | 7 +++++++
18159 tests/test_overrides.py | 12 ++++++++++++
18160 2 files changed, 19 insertions(+)
18162 commit 81452c23ab1befa59ff375692e582791432796a5
18163 Author: Paolo Borelli <pborelli@gnome.org>
18164 Date: Sat Dec 4 12:59:43 2010 +0100
18166 pygi-convert.sh: convert MovementStep
18168 pygi-convert.sh | 1 +
18169 1 file changed, 1 insertion(+)
18171 commit 4d097eea94258eda0c328711491fd456cbd6741b
18172 Author: Paolo Borelli <pborelli@gnome.org>
18173 Date: Sat Dec 4 11:57:02 2010 +0100
18175 Update Gdk overrides to work with latest Gtk+ 3
18177 For now added consitionals on version == 2.0, but maybe at some
18179 shuld just clean up the old stuff.
18181 gi/overrides/Gdk.py | 22 ++++++++++++++++------
18182 1 file changed, 16 insertions(+), 6 deletions(-)
18184 commit cda317195566711d66190145b545e26ed7226172
18185 Author: Johan Dahlin <johan@gnome.org>
18186 Date: Thu Dec 2 23:47:40 2010 -0200
18188 Gtk: add an override for Gtk.main_quit
18190 Override gtk.main_quit so that it can be used as a callback
18191 to signals, most importantly to the destroy signal of a widget:
18193 widget.connect('destroy', gtk.main_quit)
18195 This is compatible with what PyGTK does.
18197 https://bugzilla.gnome.org/show_bug.cgi?id=636336
18199 gi/overrides/Gtk.py | 5 ++++-
18200 gi/overrides/__init__.py | 27 +++++++++++++++++++++++++--
18201 2 files changed, 29 insertions(+), 3 deletions(-)
18203 commit 82689cbf53d92b1b951a459fe3de0e1d3a91791a
18204 Author: John (J5) Palmieri <johnp@redhat.com>
18205 Date: Thu Dec 2 16:27:04 2010 -0500
18207 [gi] handle subtypes when inserting into tree models
18209 * Often modules will give back basic types wrapped in a subtype.
18210 This is the case with D-Bus where you may want to keep some of the
18211 metadata around. More often than not, the developer is just looking
18212 to use the basetype.
18214 * This override checks the column type and handles basic types such as
18215 gchararrays, ints, longs, floats and doubles, converting them
18217 base types before sending them to the generic GI type marshaller.
18219 * More types may need to be supported but these are the common
18223 https://bugzilla.gnome.org/show_bug.cgi?id=635172
18225 gi/overrides/Gtk.py | 38 ++++++++++++++++++++++++++++++++++++--
18226 tests/test_overrides.py | 8 +++++++-
18227 2 files changed, 43 insertions(+), 3 deletions(-)
18229 commit 677490e9402bad7b7c2a832345ef54f7f0c5fc7f
18230 Author: Paolo Borelli <pborelli@gnome.org>
18231 Date: Fri Dec 3 23:39:50 2010 +0100
18233 Override TreeSelection.select_path and TreeView.scroll_to_cell
18235 The "path" argument may also be a string or a tuple
18237 gi/overrides/Gtk.py | 10 ++++++++++
18238 tests/test_overrides.py | 29 +++++++++++++++++++++++++++++
18239 2 files changed, 39 insertions(+)
18241 commit dacfe618fa244445c979f1a5efa80c1f9a5a4ae9
18242 Author: Paolo Borelli <pborelli@gnome.org>
18243 Date: Fri Dec 3 23:29:00 2010 +0100
18245 Override TreePath.__new__
18247 Instead of having a private _tree_path_from_string it is cleaner to
18248 override __new__ and it will be useful for all the api that take a
18249 TreePath or a string or a tuple.
18251 gi/overrides/Gtk.py | 33 +++++++++++++++------------------
18252 tests/test_overrides.py | 18 ++++++++++++++++++
18253 2 files changed, 33 insertions(+), 18 deletions(-)
18255 commit 7a8af9e220ee48aa28f6b025c5dae324b14fe128
18256 Author: Paolo Borelli <pborelli@gnome.org>
18257 Date: Sun Nov 28 13:02:30 2010 +0100
18259 Override Container to behave like a sequence
18261 gi/overrides/Gtk.py | 6 ++++++
18262 tests/test_overrides.py | 11 +++++++++++
18263 2 files changed, 17 insertions(+)
18265 commit 94e8befc935d4a6c7f766e34195e10fc3fb3b93a
18266 Author: John (J5) Palmieri <johnp@redhat.com>
18267 Date: Tue Nov 30 16:57:05 2010 -0500
18269 refactor Jonathan Matthew recurse vfunc patch so it applys and clean
18272 * this patch does the recursion using the previous patche's support
18275 gi/types.py | 55 +++++++++++++++++++++++++++++++++++++++++++++----------
18276 1 file changed, 45 insertions(+), 10 deletions(-)
18278 commit 9c5aee4f06f92457f9ae987656c0c469f76d0ee8
18279 Author: Jonathan Matthew <jonathan@d14n.org>
18280 Date: Thu Jul 22 23:19:51 2010 +1000
18282 Recurse up through base classes when setting up vfuncs
18284 * this patch adds the support methods to do the recursion
18286 https://bugzilla.gnome.org/show_bug.cgi?id=625033
18288 gi/gimodule.c | 130
18289 ++++++++++++++++++++++++++++++++++++++++---------------
18290 tests/test_gi.py | 37 ++++++++++++++++
18291 2 files changed, 131 insertions(+), 36 deletions(-)
18293 commit 78358e1ab54d02317f397276adee03ecb2187588
18294 Author: John (J5) Palmieri <johnp@redhat.com>
18295 Date: Mon Nov 29 18:29:57 2010 -0500
18297 add a profiling torture test for when we fix up invoke
18299 tests/test_everything.py | 67
18300 ++++++++++++++++++++++++++++++++++++++++++++++++
18301 1 file changed, 67 insertions(+)
18303 commit 792e679c06df4357843fd310c7953a931172fc99
18304 Author: John (J5) Palmieri <johnp@redhat.com>
18305 Date: Mon Nov 29 16:41:38 2010 -0500
18307 moved dynamic and base modules outside of gtk-2.0 directory
18309 * do not move header files yet as they are mostly used by static
18311 * do not remove pygtk.pth and pygtk.py files yet - there is a debate
18313 these back to pygtk but you might want to import gio static
18315 having to have pygtk installed
18316 * I have not tested this with pygtk, committing it so we can find
18318 causes any issues with legacy modules and code
18320 gi/Makefile.am | 2 +-
18321 gi/overrides/Makefile.am | 2 +-
18322 gi/repository/Makefile.am | 2 +-
18323 glib/Makefile.am | 2 +-
18324 gobject/Makefile.am | 2 +-
18325 tests/test_gi.py | 2 --
18326 tests/test_overrides.py | 3 ---
18327 7 files changed, 5 insertions(+), 10 deletions(-)
18329 commit c587e1ace7429195ac6fd4db03d2f33e2af09838
18330 Author: John (J5) Palmieri <johnp@redhat.com>
18331 Date: Mon Nov 29 15:11:46 2010 -0500
18333 add test for inout argument count
18335 tests/test_gi.py | 1 +
18336 1 file changed, 1 insertion(+)
18338 commit 5de88b4bcffdafcf8c7c20033cdf95dc690199ce
18339 Author: John (J5) Palmieri <johnp@redhat.com>
18340 Date: Mon Nov 22 19:17:23 2010 -0500
18342 [gi] add check for UNICHAR
18344 https://bugzilla.gnome.org/show_bug.cgi?id=623615
18346 gi/pygi-argument.c | 27 ++++++++++++++++++++++++++-
18347 tests/test_everything.py | 17 +++++++++++++++--
18348 2 files changed, 41 insertions(+), 3 deletions(-)
18350 commit f129b3db2c78d3cce3614993fdd1619fb9eb9c79
18351 Author: Paolo Borelli <pborelli@gnome.org>
18352 Date: Sun Nov 21 12:16:53 2010 +0100
18356 https://bugzilla.gnome.org/show_bug.cgi?id=623615
18358 gi/pygi-argument.c | 60
18359 ++++++++++++++++++++++++++++++++++++++++++++++++
18360 gi/pygi-info.c | 5 ++++
18361 tests/test_everything.py | 5 ++++
18362 3 files changed, 70 insertions(+)
18364 commit fd2c0288eb67823fca1265348a27a9f8f147ae50
18365 Author: Paolo Borelli <pborelli@gnome.org>
18366 Date: Sat Nov 27 23:01:42 2010 +0100
18368 pygi-convert.sh: gtk.accel_map -> Gtk.AccelMap._
18370 pygi-convert.sh | 1 +
18371 1 file changed, 1 insertion(+)
18373 commit 13d0ff1d9c129bb458e234b630ebe920b50e2e0f
18374 Author: Paolo Borelli <pborelli@gnome.org>
18375 Date: Sat Nov 27 22:34:13 2010 +0100
18377 pygi-convert.sh: handle "from gtk import gdk"
18379 pygi-convert.sh | 2 ++
18380 1 file changed, 2 insertions(+)
18382 commit 63a97634031c3d159ad77fdaa1f6341d7656eb07
18383 Author: Paolo Borelli <pborelli@gnome.org>
18384 Date: Sat Nov 27 22:23:24 2010 +0100
18386 pygi-convert.sh: add some Pango special cases
18388 pygi-convert.sh | 3 +++
18389 1 file changed, 3 insertions(+)
18391 commit 57e42bf4230d1aa20a47e3b0df2e509602333892
18392 Author: Paolo Borelli <pborelli@gnome.org>
18393 Date: Sat Nov 27 19:51:38 2010 +0100
18395 Override TextIter (begins|ends|toggles)_tag()
18397 Make the tag argument optional.
18399 gi/overrides/Gtk.py | 9 +++++++++
18400 tests/test_overrides.py | 17 +++++++++++++++++
18401 2 files changed, 26 insertions(+)
18403 commit 828b698e47ee819a60d24a772a3cc51ff9cd6601
18404 Author: Paolo Borelli <pborelli@gnome.org>
18405 Date: Sat Nov 27 19:32:48 2010 +0100
18407 Override TextBuffer.set_text() to make length optional
18409 gi/overrides/Gtk.py | 3 +++
18410 tests/test_overrides.py | 11 ++++++++++-
18411 2 files changed, 13 insertions(+), 1 deletion(-)
18413 commit bf55dc862755a57bb1b998702d284fc460e88a30
18414 Author: Paolo Borelli <pborelli@gnome.org>
18415 Date: Sat Nov 27 16:46:40 2010 +0100
18417 Override TextBuffer.create_mark()
18419 Override create_mark to make the left_gravity argument optional
18421 gi/overrides/Gtk.py | 3 +++
18422 tests/test_overrides.py | 3 +++
18423 2 files changed, 6 insertions(+)
18425 commit 94c0e2f71636d055bdebe3ec378f3d339eea66c9
18426 Author: Paolo Borelli <pborelli@gnome.org>
18427 Date: Sat Nov 27 16:10:33 2010 +0100
18429 Fix TextBuffer.get_selection_bounds() override
18431 Fix the override and add unit test
18433 gi/overrides/Gtk.py | 8 +++++---
18434 tests/test_overrides.py | 7 +++++++
18435 2 files changed, 12 insertions(+), 3 deletions(-)
18437 commit 0cd717e3926276540b9145e58a4a3368136b00de
18438 Author: John (J5) Palmieri <johnp@redhat.com>
18439 Date: Mon Nov 22 18:35:09 2010 -0500
18441 [gi] fix ActionGroup constructor to allow other keyword properties
18444 gi/overrides/Gtk.py | 4 ++--
18445 1 file changed, 2 insertions(+), 2 deletions(-)
18447 commit 226777cdb70fc72d206664ffd8b6737f7239d23f
18448 Author: John (J5) Palmieri <johnp@redhat.com>
18449 Date: Mon Nov 22 18:32:28 2010 -0500
18451 [gi] require the name parameter when creatin a Gtk.ActionGroup
18453 gi/overrides/Gtk.py | 3 +++
18454 tests/test_overrides.py | 2 ++
18455 2 files changed, 5 insertions(+)
18457 commit d0049fa9982d13b3553b05569fb0a227e48b6647
18458 Author: Paolo Borelli <pborelli@gnome.org>
18459 Date: Sun Nov 21 15:20:58 2010 +0100
18461 Override UIManager.insert_action_group
18463 https://bugzilla.gnome.org/show_bug.cgi?id=635437
18465 gi/overrides/Gtk.py | 3 +++
18466 tests/test_overrides.py | 34 +++++++++++++++++++++-------------
18467 2 files changed, 24 insertions(+), 13 deletions(-)
18469 commit e1db544e46aeed984133896af34b671a6a5547df
18470 Author: Paolo Borelli <pborelli@gnome.org>
18471 Date: Sun Nov 21 23:03:25 2010 +0100
18473 Override TreeModel.get() to return a tuple
18475 https://bugzilla.gnome.org/show_bug.cgi?id=635466
18477 gi/overrides/Gtk.py | 15 +++++++++++++++
18478 tests/test_overrides.py | 6 ++++++
18479 2 files changed, 21 insertions(+)
18481 commit a5e806ad8a8b279402ff7adb1c1cdc04f9f3da76
18482 Author: Paolo Borelli <pborelli@gnome.org>
18483 Date: Sun Nov 21 21:57:40 2010 +0100
18485 Make TreeSelection.get_selected_rows compatible with PyGtk
18487 https://bugzilla.gnome.org/show_bug.cgi?id=635464
18489 gi/overrides/Gtk.py | 6 ++++++
18490 1 file changed, 6 insertions(+)
18492 commit 1c537bc67107948c92b51ba6ba749747e84263e2
18493 Author: John (J5) Palmieri <johnp@redhat.com>
18494 Date: Mon Nov 22 15:04:00 2010 -0500
18496 [gi] switch to using sequences/tuples when marshalling
18497 cairo_rectangle_int_t
18499 * Upstream pycairo didn't want to add a new wrapper for
18500 cairo_rectangle_int_t
18501 * this works around that issue by using 4 element squences instead
18503 should be accepted by pycairo for any API that takes a rect
18505 gi/pygi-foreign-cairo.c | 85
18506 +++++++++++++++++++++++++++++++++++++------------
18507 1 file changed, 64 insertions(+), 21 deletions(-)
18509 commit 4cede8f12321bed6c3b71813a62c01b61853ba69
18510 Author: John (J5) Palmieri <johnp@redhat.com>
18511 Date: Fri Nov 19 16:46:53 2010 -0500
18513 [gi] overrides for treeview Drag and Drop
18515 https://bugzilla.gnome.org/show_bug.cgi?id=627367
18517 gi/overrides/Gdk.py | 7 +++++++
18518 gi/overrides/Gtk.py | 25 +++++++++++++++++++++++++
18519 2 files changed, 32 insertions(+)
18521 commit 3fd51bb903724b752f72f49c7cb35652b819791d
18522 Author: John (J5) Palmieri <johnp@redhat.com>
18523 Date: Fri Nov 19 16:44:32 2010 -0500
18525 [gi] when encountering guint8 arrays treat them as byte arrays
18527 * In Python 2 this means returning a PyString object
18528 * In Python 3 we return a PyBytes object
18530 https://bugzilla.gnome.org/show_bug.cgi?id=627367
18532 gi/pygi-argument.c | 65
18533 ++++++++++++++++++++++++++++++++++++++++++++----------
18534 tests/test_gi.py | 6 +++--
18535 2 files changed, 57 insertions(+), 14 deletions(-)
18537 commit 7ddb0f7fd8b1b9e8f691c6d42a83cb16c6561d26
18538 Author: Martin Pitt <martin.pitt@ubuntu.com>
18539 Date: Fri Nov 19 18:19:38 2010 +0100
18541 pygi-convert.sh: Add pynotify -> Notify
18543 pygi-convert.sh | 3 +++
18544 1 file changed, 3 insertions(+)
18546 commit bf03d4db03a7739ac16ddc4e614441557ede554d
18547 Author: Martin Pitt <martin.pitt@ubuntu.com>
18548 Date: Fri Nov 19 09:08:07 2010 +0100
18550 pygi-convert.sh: Remove sugar specifics, and allow command line
18553 This script is generally useful for converting pygtk2 projects,
18555 sugar. Remove the sugar specific bits, since they will just cause
18558 Also allow the user to specify the files to convert as command line
18559 arguments. If not given, all *.py files will be processed.
18561 https://bugzilla.gnome.org/show_bug.cgi?id=635244
18563 pygi-convert.sh | 25 +++++--------------------
18564 1 file changed, 5 insertions(+), 20 deletions(-)
18566 commit 18f5d229d3a4b9520c1c456be2635c8e36015c12
18567 Author: Martin Pitt <martin.pitt@ubuntu.com>
18568 Date: Fri Nov 19 09:00:35 2010 +0100
18570 pygi-convert.sh: Cover Message and Buttons types
18572 https://bugzilla.gnome.org/show_bug.cgi?id=635244
18574 pygi-convert.sh | 2 ++
18575 1 file changed, 2 insertions(+)
18577 commit ef74273c2043944708515e59a654ebe4944b46ff
18578 Author: John (J5) Palmieri <johnp@redhat.com>
18579 Date: Thu Nov 18 13:54:48 2010 -0500
18581 [gi] fix actiongroup test since actions are hashed
18583 * when actions are listed they may not show up in the order they
18585 since they reside in an unordered hash internally
18587 tests/test_overrides.py | 9 +++++----
18588 1 file changed, 5 insertions(+), 4 deletions(-)
18590 commit 2c25886bf6710568d0646f82dce4770faa44c40d
18591 Author: John (J5) Palmieri <johnp@redhat.com>
18592 Date: Wed Nov 17 14:38:09 2010 -0500
18594 [gi] when converting to UTF-8 accept Python Unicode objects as input
18597 https://bugzilla.gnome.org/show_bug.cgi?id=620579
18599 gi/pygi-argument.c | 14 ++++++++++++--
18600 glib/pyglib-python-compat.h | 5 +++++
18601 tests/test_gi.py | 3 +++
18602 3 files changed, 20 insertions(+), 2 deletions(-)
18604 commit 8c2d32c8205b971b4353e3d5d2ed1efa6ef0e06c
18605 Author: Damien Caliste <damien.caliste@cea.fr>
18606 Date: Fri Nov 12 10:20:32 2010 +0100
18608 Correct a bug in the freeing of memory in pygi-invoke.c.
18610 When a method with inout arguments is called from Python with
18611 a wrong number of arguments, the system crashs because of an
18612 assertion fail. This patch corrects this behaviour.
18614 https://bugzilla.gnome.org/show_bug.cgi?id=634671
18616 gi/pygi-invoke.c | 25 ++++++++++++++-----------
18617 1 file changed, 14 insertions(+), 11 deletions(-)
18619 commit d9bab3b185bb59bd29e3c3f6225f3636f58ec45e
18620 Author: John (J5) Palmieri <johnp@redhat.com>
18621 Date: Wed Nov 10 14:11:56 2010 -0500
18623 update news for release
18626 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
18627 1 file changed, 73 insertions(+)
18629 commit 1338a95339e21cc02b9df6d10166996c8b97a6bf
18630 Author: Jonathan Matthew <jonathan@d14n.org>
18631 Date: Tue Sep 28 13:44:13 2010 +1000
18633 Implement richcompare for GIBaseInfo
18635 https://bugzilla.gnome.org/show_bug.cgi?id=625033
18637 gi/pygi-info.c | 29 +++++++++++++++++++++++++++++
18638 1 file changed, 29 insertions(+)
18640 commit 9ce3edf69824935aeca9e676eaa9782786c22a97
18641 Author: John (J5) Palmieri <johnp@redhat.com>
18642 Date: Tue Nov 9 22:57:41 2010 -0500
18644 [gi] add the rectangle_int_t forign cairo type
18646 * the pycairo maintainer is not being responsive so you will need
18648 https://bugs.freedesktop.org/show_bug.cgi?id=31111
18649 * added conditionals, if the api doesn't exist in PyCairo we will
18651 without the forign structs
18653 gi/pygi-foreign-cairo.c | 4 ++++
18654 1 file changed, 4 insertions(+)
18656 commit 68b8211d8b014cf26ca7e9ab751fb3f61f228290
18657 Author: John (J5) Palmieri <johnp@redhat.com>
18658 Date: Mon Oct 25 18:28:36 2010 -0400
18660 add a foreign type for cairo_rectangle_int_t and allow it to be
18663 * this is needed because Gdk and Gtk switched from returning a
18665 to a CairoRectangleInt structure
18666 * the patch in https://bugs.freedesktop.org/show_bug.cgi?id=31111
18668 for pycairo (however there is currently no patch for python 2)
18669 * added fix for foreign types to allow them to be caller allocated
18670 * in order for a type to be caller allocated it must be able to take
18672 and create an empty struct in foreign_struct_from_arg and it must
18674 to handle GI_TRANFER_EVERYTHING in foreign_struct_to_arg.
18676 https://bugzilla.gnome.org/show_bug.cgi?id=627545
18678 gi/pygi-foreign-cairo.c | 57
18679 +++++++++++++++++++++++++++++++++++++++++++++++++
18680 gi/pygi-invoke.c | 15 +++++++++++--
18681 2 files changed, 70 insertions(+), 2 deletions(-)
18683 commit ce8b948310220288e9eef904eef4ec8f4e24a376
18684 Author: John (J5) Palmieri <johnp@redhat.com>
18685 Date: Tue Nov 9 22:11:51 2010 -0500
18687 [gi] add overrides to Gtk.Editable
18689 gi/overrides/Gtk.py | 17 +++++++++++++++++
18690 tests/test_overrides.py | 12 ++++++++++++
18691 2 files changed, 29 insertions(+)
18693 commit 87dbc716f26cefc0e9427c3d6e8befe8eabd3d1e
18694 Author: John (J5) Palmieri <johnp@redhat.com>
18695 Date: Tue Nov 9 21:12:54 2010 -0500
18697 [gi] handle virtual invokers
18699 * right now we check to see if there is an method with the same name
18700 as the virtual method and assume that is the invoker
18701 * some invokers are named different so we now ask the VFuncInfo if
18702 the vfunc has an invoker
18703 * this is still not completly correct, gi needs to support telling
18704 us which vfuncs must be overridden.
18705 * this keeps the old way of checking vfuncs while adding the edge case
18706 where vfunc is named differently from their invoker
18708 gi/pygi-info.c | 16 ++++++++++++++++
18710 2 files changed, 17 insertions(+), 1 deletion(-)
18712 commit 540e9f1f349ba3625e28b7673c92210eb8974098
18713 Author: John (J5) Palmieri <johnp@redhat.com>
18714 Date: Tue Nov 9 12:17:05 2010 -0500
18716 add overrides for the insert* apis of list_store and tree_store
18718 * add set_row to tree_model as convinience method for both list and
18721 https://bugzilla.gnome.org/show_bug.cgi?id=634423
18723 gi/overrides/Gtk.py | 80
18724 ++++++++++++++++++++++++++++++++++++++-----------
18725 tests/test_overrides.py | 53 +++++++++++++++++++++++++++++++-
18726 2 files changed, 114 insertions(+), 19 deletions(-)
18728 commit 0bcb58b9541d9ae52e1d96e6239e9dbe0698872a
18729 Author: John (J5) Palmieri <johnp@redhat.com>
18730 Date: Fri Nov 5 13:56:12 2010 -0400
18732 fix dialogs overrides which were relying on broken inheritance
18735 gi/overrides/Gtk.py | 14 ++++++++++++--
18736 1 file changed, 12 insertions(+), 2 deletions(-)
18738 commit 89c104d17d79d7b935cd76101cba19d49390f7be
18739 Author: John (J5) Palmieri <johnp@redhat.com>
18740 Date: Thu Nov 4 12:00:14 2010 -0400
18742 Add a overrides registry so we can refrence overrides inside the
18745 * Overrides have a reentrancy issue when doing inheritance. If an
18747 inherits from another override down the stack it won't see the
18749 because the module is not finished loading and will inherit from the
18750 non-overriden object instead. This causes type errors later.
18751 * By adding the overrides to a registry outside of the module we
18753 registration and make the override available as soon as the class
18755 not when the whole module is parsed.
18757 https://bugzilla.gnome.org/show_bug.cgi?id=633347
18759 gi/module.py | 12 ++++++++++-
18760 gi/overrides/GIMarshallingTests.py | 2 +-
18761 gi/overrides/Gdk.py | 2 +-
18762 gi/overrides/Gtk.py | 2 +-
18763 gi/overrides/__init__.py | 43
18764 ++++++++++++++++++++++++++++++++++++++
18765 gi/types.py | 8 -------
18766 tests/test_overrides.py | 27 ++++++++++++++++++++++++
18767 7 files changed, 84 insertions(+), 12 deletions(-)
18769 commit 878b8f630acd2146bee364054acd45cd33eea37a
18770 Merge: cdacaa9 e317838
18771 Author: John Stowers <john.stowers@gmail.com>
18772 Date: Fri Nov 5 11:40:22 2010 +1300
18774 Merge remote branch 'dieterv/setup-fixes-for-merge'
18776 commit e317838178fba5f0590fb8bd323f49602d564b53
18777 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18778 Date: Thu Nov 4 11:16:43 2010 +0100
18780 setup.py: ease maintenance burden for tests installation
18782 setup.py | 23 +++--------------------
18783 1 file changed, 3 insertions(+), 20 deletions(-)
18785 commit cdacaa9572893796e0f3aa3730d0191911cb29ee
18786 Author: John (J5) Palmieri <johnp@redhat.com>
18787 Date: Wed Nov 3 09:51:09 2010 -0400
18789 fix inheritence issues in overrides
18791 gi/overrides/Gtk.py | 79
18792 +++++++++++++++++++++++++++--------------------------
18793 1 file changed, 40 insertions(+), 39 deletions(-)
18795 commit 3d5955767d81f45e796ab2af0707533375681774
18796 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18797 Date: Wed Nov 3 09:38:56 2010 +0100
18799 tests: add runtests-windows.py script
18801 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
18803 tests/runtests-windows.py | 47
18804 +++++++++++++++++++++++++++++++++++++++++++++++
18805 1 file changed, 47 insertions(+)
18807 commit 8cb3f2e78161639c568110aad6a807dcf59f3ae8
18808 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18809 Date: Wed Nov 3 09:35:52 2010 +0100
18811 pygobject_postinstall.py: remove pygobject-2.0.pc treatment from
18812 postinstall as pkg-config on windows figures out the correct prefix
18815 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
18817 pygobject_postinstall.py | 26 +++-----------------------
18818 1 file changed, 3 insertions(+), 23 deletions(-)
18820 commit 63167574df53eb481cc11b6a097b2bfe7d5747f5
18821 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18822 Date: Wed Nov 3 09:34:38 2010 +0100
18824 pygobject_postinstall.py: remove shortcut creation
18826 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
18828 pygobject_postinstall.py | 35 +----------------------------------
18829 1 file changed, 1 insertion(+), 34 deletions(-)
18831 commit f7b12611f94fd8c27fb67a03746c10149ce6e0ef
18832 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18833 Date: Wed Nov 3 09:31:14 2010 +0100
18835 setup.py: formatting cleanup, makes things readable
18837 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
18839 setup.py | 56 ++++++++++++++++++++++++++------------------------------
18840 1 file changed, 26 insertions(+), 30 deletions(-)
18842 commit a31b4196fbb4638a245430f2fdeafd7534b1d84d
18843 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18844 Date: Wed Nov 3 09:28:36 2010 +0100
18846 setup.py: build and install tests
18848 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
18851 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
18852 1 file changed, 61 insertions(+)
18854 commit 7c3b0c20b83c05833d73c240690dce3daf43fde8
18855 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18856 Date: Wed Nov 3 09:26:59 2010 +0100
18858 setup.py: install documentation when available on build system
18860 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
18863 1 file changed, 3 insertions(+)
18865 commit 78533d851ee1314686f18cfa793613a9cf7d6686
18866 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18867 Date: Wed Nov 3 09:25:56 2010 +0100
18869 setup.py: install pygobject-codegen script
18871 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
18873 setup.py | 25 +++++++++++++++++++++++++
18874 1 file changed, 25 insertions(+)
18876 commit ad40688df533dda0b1f7be8ea37c542b8796a26b
18877 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18878 Date: Wed Nov 3 09:24:45 2010 +0100
18880 setup.py: install fixxref.py script
18882 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
18885 1 file changed, 3 insertions(+)
18887 commit 21ddfc66e4e18c002a33154eb4ab81170ed71ecc
18888 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18889 Date: Wed Nov 3 09:23:05 2010 +0100
18891 setup.py: rearrange constants
18893 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
18895 setup.py | 37 ++++++++++++++++++++-----------------
18896 1 file changed, 20 insertions(+), 17 deletions(-)
18898 commit 7d353d04892de67265bf693f591f37fd393de639
18899 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18900 Date: Wed Nov 3 09:18:11 2010 +0100
18902 setup.py: check python version and pkgconig availability before
18905 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
18907 setup.py | 18 ++++++++++--------
18908 1 file changed, 10 insertions(+), 8 deletions(-)
18910 commit 286364ed39953e942e24d5911519bcac2f90975a
18911 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18912 Date: Wed Nov 3 09:05:59 2010 +0100
18914 setup.py: simplify sys.platform != 'win32' detection and error
18917 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
18919 setup.py | 29 +++++++++--------------------
18920 1 file changed, 9 insertions(+), 20 deletions(-)
18922 commit 3f70f92904c123e6cc40929c0affd3f75d061828
18923 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18924 Date: Wed Nov 3 09:02:30 2010 +0100
18926 setup.py: rearrange imports
18928 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
18930 setup.py | 31 ++++++++++++++++++++++---------
18931 1 file changed, 22 insertions(+), 9 deletions(-)
18933 commit 9aa54b65f729c0f3b0e96ab7ff797f87dad6a455
18934 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18935 Date: Wed Nov 3 08:58:00 2010 +0100
18937 README.win32: update build instructions
18939 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
18941 README.win32 | 13 +++++--------
18942 1 file changed, 5 insertions(+), 8 deletions(-)
18944 commit 5a33105f690ba84b2e4bb15d73d3467e92fa06e0
18945 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18946 Date: Wed Nov 3 07:59:18 2010 +0100
18948 dsextras.py: formatting cleanup, makes things readable
18950 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
18953 ++++++++++++++++++++++++++++++++++++++----------------------
18954 1 file changed, 93 insertions(+), 55 deletions(-)
18956 commit d03503d0412d173acb383926ab3c2d640dad3e3f
18957 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18958 Date: Wed Nov 3 07:00:40 2010 +0100
18960 dsextras.py: add ggc4 to MSVC compatible struct packing comment
18962 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
18964 dsextras.py | 4 ++--
18965 1 file changed, 2 insertions(+), 2 deletions(-)
18967 commit 8c62968e9f8467e24870b8c4f61112676eef4630
18968 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18969 Date: Wed Nov 3 06:56:32 2010 +0100
18971 dsextras.py: use the pkgc_ functions instead of repeating pgk-config
18972 incantations all over the place
18974 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
18976 dsextras.py | 15 ++++++---------
18977 1 file changed, 6 insertions(+), 9 deletions(-)
18979 commit b98277afc24886bbda400e0ad360992bffa77b7c
18980 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18981 Date: Wed Nov 3 06:49:48 2010 +0100
18983 dsextras.py: add pkgc_get_version and pkgc_get_defs_dir functions
18985 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
18987 dsextras.py | 10 ++++++++++
18988 1 file changed, 10 insertions(+)
18990 commit a565558652ebc3fa49d7aea40d399b06bbe376c4
18991 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18992 Date: Wed Nov 3 06:45:05 2010 +0100
18994 dsextras.py: PEP8: Comparisons to singletons like None should always
18995 be done with 'is' or 'is not', never the equality operators.
18997 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
18999 dsextras.py | 4 ++--
19000 1 file changed, 2 insertions(+), 2 deletions(-)
19002 commit 4b1ff0c7f9953f925d2178069263cca67ca7db02
19003 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19004 Date: Wed Nov 3 06:44:21 2010 +0100
19006 dsextras.py: use True/False instead of 1/0
19008 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
19010 dsextras.py | 25 +++++++++++++------------
19011 1 file changed, 13 insertions(+), 12 deletions(-)
19013 commit 819a21cea831c3892040390e9446b78a91d1cbbe
19014 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19015 Date: Wed Nov 3 06:28:04 2010 +0100
19017 dsextras.py: rearrange imports
19019 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
19022 +++++++++++++++++++++++++++++++---------------------------
19023 1 file changed, 31 insertions(+), 27 deletions(-)
19025 commit d20edbfdde2819f8d4fee8cb3170c126fcd31d5f
19026 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19027 Date: Wed Nov 3 06:16:21 2010 +0100
19029 Add distutils generated build/dist directories and eclipse
19030 configuration files to .gitignore
19032 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
19034 .gitignore | 7 +++++++
19035 1 file changed, 7 insertions(+)
19037 commit 268d6ed2b0b1d266c612da4453b6117d9e14437e
19038 Author: John (J5) Palmieri <johnp@redhat.com>
19039 Date: Thu Oct 28 15:32:28 2010 -0400
19041 [gi] add tests for calling dir on a dynamic module
19043 tests/test_gi.py | 24 ++++++++++++++++++++++++
19044 1 file changed, 24 insertions(+)
19046 commit f6386a6e0d225c83cdbe1add4c4d3ea51d3ec2f0
19047 Author: Deepankar Sharma <deepankar.sharma@gmail.com>
19048 Date: Wed Oct 27 18:28:11 2010 -0400
19050 [gi] dir() now works for modules
19052 https://bugzilla.gnome.org/show_bug.cgi?id=625093
19054 gi/module.py | 8 ++++++++
19055 1 file changed, 8 insertions(+)
19057 commit 28ed01c34c503cfb4f14fe7af7912060ca70aba6
19058 Author: Simón Pena <spenap@gmail.com>
19059 Date: Mon Sep 20 23:10:14 2010 +0200
19061 Don't check the inner type when comparing gpointers
19063 When using pyg_pointer_richcompare to compare two objects,
19064 don't check their inner types. As we can't compare their private
19065 fields, nor get a proper compare function, we can consider them
19066 gpointers and compare them that way.
19068 https://bugzilla.gnome.org/show_bug.cgi?id=629552
19070 gobject/pygpointer.c | 2 +-
19071 1 file changed, 1 insertion(+), 1 deletion(-)
19073 commit 1731f89e4b5a20c33976963e12a1f39a21d33fde
19074 Author: John (J5) Palmieri <johnp@redhat.com>
19075 Date: Thu Oct 28 14:21:12 2010 -0400
19077 Release GIL when calling into C functions
19079 Author: Daniel P. Berrange <dan@berrange.com>
19081 https://bugzilla.gnome.org/show_bug.cgi?id=629042
19083 gi/pygi-invoke.c | 10 +++++++++-
19084 1 file changed, 9 insertions(+), 1 deletion(-)
19086 commit 783e2e351ec7470bda6b441e51f387dd61543c4b
19087 Author: José Aliste <jaliste@src.gnome.org>
19088 Date: Fri Oct 15 14:30:10 2010 -0300
19090 _gi.Repository : Implement missing info bindings.
19092 https://bugzilla.gnome.org/show_bug.cgi?id=632185
19094 gi/pygi-info.c | 91
19095 +++++++++++++++++++++++++++++++++++++++++++++++++---------
19096 gi/pygi-info.h | 7 +++++
19097 2 files changed, 84 insertions(+), 14 deletions(-)
19099 commit 2ca897273f52ae38f5e06e72c773a048e199eee5
19100 Author: John (J5) Palmieri <johnp@redhat.com>
19101 Date: Thu Oct 28 13:49:15 2010 -0400
19103 include Python.h so that PY_VERSION_HEX gets defined
19105 gi/pygi-foreign-cairo.c | 1 +
19106 1 file changed, 1 insertion(+)
19108 commit 8b28b1d713df33931e255600ab98feda37a8e02a
19109 Author: John (J5) Palmieri <johnp@redhat.com>
19110 Date: Thu Oct 28 13:47:34 2010 -0400
19112 [gi] make overrides work for python 3.x protocols and alias for
19115 gi/overrides/Gtk.py | 9 +++++++--
19116 1 file changed, 7 insertions(+), 2 deletions(-)
19118 commit 3c09710d2f68af9c16ce39fd25656147656a486a
19119 Author: Sebastian Pölsterl <sebp@k-d-w.org>
19120 Date: Sat Oct 23 14:24:24 2010 +0200
19122 Override Gtk.Widget.translate_coordinates to not return success value
19124 gi/overrides/Gtk.py | 11 +++++++++++
19125 1 file changed, 11 insertions(+)
19127 commit 9d4443b3de8c327d8645ddde0a7a6dc5b977d7b4
19128 Author: Sebastian Pölsterl <sebp@k-d-w.org>
19129 Date: Sat Oct 23 14:22:36 2010 +0200
19131 Override Gtk.TreeViewColumn.cell_get_position to not return success
19134 gi/overrides/Gtk.py | 5 +++++
19135 1 file changed, 5 insertions(+)
19137 commit 6679d39ace06294e98f9d6fc911ed6fb27656010
19138 Author: Sebastian Pölsterl <sebp@k-d-w.org>
19139 Date: Sat Oct 23 14:21:36 2010 +0200
19141 Override get_path_at_pos and get_dest_row_at_pos of Gtk.TreeView to
19142 not return success value
19144 gi/overrides/Gtk.py | 15 +++++++++++++++
19145 1 file changed, 15 insertions(+)
19147 commit 80b1b266fa68a5c67106871502017166628f71e4
19148 Author: Sebastian Pölsterl <sebp@k-d-w.org>
19149 Date: Sat Oct 23 14:20:38 2010 +0200
19151 Override Gtk.TreeSortable.get_sort_column_id to not return success
19154 gi/overrides/Gtk.py | 12 ++++++++++++
19155 1 file changed, 12 insertions(+)
19157 commit 17cd0fb3a2d2ca0c6109c41727ba0b8c42217cd5
19158 Author: Sebastian Pölsterl <sebp@k-d-w.org>
19159 Date: Sat Oct 23 14:19:20 2010 +0200
19161 Override forward_search and backward_search of Gtk.TextIter to not
19162 return success value
19164 gi/overrides/Gtk.py | 15 +++++++++++++++
19165 1 file changed, 15 insertions(+)
19167 commit 95c86fa31da3d2fe84db0e2b5bc2a6dc896c9223
19168 Author: Sebastian Pölsterl <sebp@k-d-w.org>
19169 Date: Sat Oct 23 14:18:09 2010 +0200
19171 Override Gtk.TextBuffer.get_selection_bounds to not return success
19174 gi/overrides/Gtk.py | 5 +++++
19175 1 file changed, 5 insertions(+)
19177 commit da6d87460b9392c29d025a7eed9249fb604204bc
19178 Author: Sebastian Pölsterl <sebp@k-d-w.org>
19179 Date: Sat Oct 23 14:17:04 2010 +0200
19181 Override Gtk.RecentInfo.get_application_info to not return success
19184 gi/overrides/Gtk.py | 10 ++++++++++
19185 1 file changed, 10 insertions(+)
19187 commit 0ed2e8772bdc405b0d0c7e0b2803e0e141abcb6a
19188 Author: Sebastian Pölsterl <sebp@k-d-w.org>
19189 Date: Sat Oct 23 14:16:21 2010 +0200
19191 Override Gtk.IMContext.get_surrounding to not return success value
19193 gi/overrides/Gtk.py | 10 ++++++++++
19194 1 file changed, 10 insertions(+)
19196 commit b85b445f15421209c0b4adf676d7c8218d6437c5
19197 Author: Sebastian Pölsterl <sebp@k-d-w.org>
19198 Date: Sat Oct 23 14:15:24 2010 +0200
19200 Override get_item_at_pos, get_visible_range, get_dest_item_at_pos
19201 of Gtk.IconView to not return success value
19203 gi/overrides/Gtk.py | 19 +++++++++++++++++++
19204 1 file changed, 19 insertions(+)
19206 commit 684d716192d58c972083e579e909bcd97f8a5025
19207 Author: Sebastian Pölsterl <sebp@k-d-w.org>
19208 Date: Sat Oct 23 14:13:47 2010 +0200
19210 Override Gtk.Container.get_focus_chain to not return success value
19212 gi/overrides/Gtk.py | 10 ++++++++++
19213 1 file changed, 10 insertions(+)
19215 commit 8ec830c57fafbfe50d9619c6caba3cb95a00d688
19216 Author: Sebastian Pölsterl <sebp@k-d-w.org>
19217 Date: Sat Oct 23 14:12:44 2010 +0200
19219 Override Gtk.ComboBox.get_active_iter to not return success value
19221 gi/overrides/Gtk.py | 10 ++++++++++
19222 1 file changed, 10 insertions(+)
19224 commit b483852904468722230903989e3451c7c6a24c0f
19225 Author: John (J5) Palmieri <johnp@redhat.com>
19226 Date: Tue Oct 12 12:18:33 2010 -0400
19228 [gi] make parameter check less strict when dealing with GValue params
19230 * Some GValue API can store a pointer to a python object for later
19231 use but our parameter checking was too strict to allow this
19232 * Add pyg_type_from_object_strict API which takes a strict boolean and
19233 returns PY_TYPE_OBJECT if no other GType can be found
19234 * Since we don't have enough info to genrically check GValue
19236 use the less strict type guessing when encountering a GValue param
19237 * Other API stays the same and continues to do strict testing
19239 https://bugzilla.gnome.org/show_bug.cgi?id=622987
19241 gi/pygi-argument.c | 17 ++++++---------
19242 gobject/gobjectmodule.c | 4 ++--
19243 gobject/pygobject-private.h | 1 +
19244 gobject/pygobject.h | 2 ++
19245 gobject/pygtype.c | 37 +++++++++++++++++++++++++++++----
19246 tests/test_gi.py | 1 -
19247 tests/test_overrides.py | 50
19248 +++++++++++++++++++++++++++++++++++++++++----
19249 7 files changed, 90 insertions(+), 22 deletions(-)
19251 commit 8c87d622dcc6d76a981edfc5818fe67bb2e114e2
19252 Author: John Stowers <john.stowers@gmail.com>
19253 Date: Fri Oct 22 13:28:31 2010 +1300
19255 Shortcut removal is not needed on post-uninstall
19257 pygobject_postinstall.py | 14 ++------------
19258 1 file changed, 2 insertions(+), 12 deletions(-)
19260 commit a3ed97fe6f80548801739fe6b72771b9eb6d93f7
19261 Author: John Stowers <john.stowers@gmail.com>
19262 Date: Thu Oct 21 13:25:35 2010 +1300
19264 Disable shortcut creation in windows installer
19266 pygobject_postinstall.py | 2 +-
19267 1 file changed, 1 insertion(+), 1 deletion(-)
19269 commit a3d6212b0abccef58f05d454c091936776413d98
19270 Author: John (J5) Palmieri <johnp@redhat.com>
19271 Date: Thu Oct 7 11:43:27 2010 -0400
19273 overrides for all subclasses of dialog
19275 https://bugzilla.gnome.org/show_bug.cgi?id=631634
19277 gi/overrides/Gtk.py | 94
19278 +++++++++++++++++++++++++++++++++++++++++++++----
19279 tests/test_overrides.py | 64 ++++++++++++++++++++++++++++++++-
19280 2 files changed, 151 insertions(+), 7 deletions(-)
19282 commit a87e3ba64b54e6df0b5b96af47c34e3be790b58f
19283 Author: Sebastian Pölsterl <sebp@k-d-w.org>
19284 Date: Thu Oct 7 19:37:53 2010 +0200
19286 Make TreeModel behave like in GTK-2.x
19288 Moved stuff from __getitem__ to get_iter.
19289 Added TreePath.__cmp__
19291 get_iter_from_string throws ValueError.
19292 iterchildren() does not return None.
19294 Adjusted tests to new TreeModel and added TestGtk.test_tree_model
19297 Added support for negative row and column indices
19299 Use rich comparison methods instead of __cmp__
19301 Added TreeModel.__bool__/__nonzero__
19303 Raise Error if tree path string is empty
19305 https://bugzilla.gnome.org/show_bug.cgi?id=631547
19307 gi/overrides/Gtk.py | 195
19308 ++++++++++++++++++++++++++++++++++++++++++++++++
19309 tests/test_overrides.py | 160 +++++++++++++++++++++++++++++++++++++--
19310 2 files changed, 349 insertions(+), 6 deletions(-)
19312 commit acfcc29af727fb67d0dfbbcc7cc14963ef21f1ea
19313 Author: John Stowers <john.stowers@gmail.com>
19314 Date: Sat Oct 16 18:59:25 2010 +1300
19316 Correctly build GIO on windows
19318 setup.py | 6 +++---
19319 1 file changed, 3 insertions(+), 3 deletions(-)
19321 commit 33b59fd7437009b6c3ed43412e171d2cc91ee317
19322 Author: John Stowers <john.stowers@gmail.com>
19323 Date: Sat Oct 16 18:17:28 2010 +1300
19325 Require Python >= 2.6.0 for Windows build
19328 1 file changed, 1 insertion(+), 1 deletion(-)
19330 commit 544e0e4de4f5f97b0584eaf72ae8a081eca28ab6
19331 Author: John Stowers <john.stowers@gmail.com>
19332 Date: Sat Oct 16 17:41:01 2010 +1300
19334 Fix depreciation warning in dsextras.py
19337 1 file changed, 1 insertion(+), 1 deletion(-)
19339 commit 239ff961778e4e1587404d8a70dfbe8630ab0623
19340 Author: John Stowers <john.stowers@gmail.com>
19341 Date: Sat Oct 16 17:34:50 2010 +1300
19343 Fix build on windows
19345 gi/pygi-foreign.c | 5 ++++-
19346 gi/pygi.h | 5 ++++-
19348 3 files changed, 10 insertions(+), 4 deletions(-)
19350 commit 9a2f81d63012fef23fdde2b4d903bd69601c07c6
19351 Author: Michael Culbertson <michael.culbertson@gmail.com>
19352 Date: Sat Oct 16 17:08:11 2010 +1300
19354 Support for GCC4 in Windows distutils build - bug 626548
19356 dsextras.py | 3 ++-
19357 1 file changed, 2 insertions(+), 1 deletion(-)
19359 commit 27367c8dc3a3a31fdd778505b319cd3f4afb9e27
19360 Author: John Stowers <john.stowers@gmail.com>
19361 Date: Fri Oct 15 09:39:02 2010 +1300
19363 Remove obsolete comments in dsextras.py
19365 dsextras.py | 11 ++---------
19366 1 file changed, 2 insertions(+), 9 deletions(-)
19368 commit b5f383f854fb8f72677828b029589320c59006d1
19369 Author: John Stowers <john.stowers@gmail.com>
19370 Date: Fri Oct 15 09:21:03 2010 +1300
19372 Broken dsextras.py pkg-config check error message
19377 1 file changed, 1 insertion(+), 1 deletion(-)
19379 commit e1981da105b574e273ae6500fc6d25caf6af6aae
19380 Author: John (J5) Palmieri <johnp@redhat.com>
19381 Date: Tue Sep 28 15:31:03 2010 -0400
19383 add compat functions for the deprecated PyCObject api
19385 * Moved to using the PyCapsule API for python >= 3
19386 * PyCObject is removed from Python 3.2
19387 * It has also been deprecated in 2.7 but since we use the API in
19389 which are consumed by static binding modules, appling this for
19391 causes crashes unless the modules are recompiled, breaking ABI.
19393 to rely on for 2.7 because it will never be removed and there is
19395 undeprecating it upstream.
19396 * There is no issues with static bindings under python 3 because
19398 supported yet and most likely never will be.
19399 * Even if PyCObject is brought back in 3.2, PyCapsule is a much
19401 which adds a poorman's type check when unboxing.
19403 https://bugzilla.gnome.org/show_bug.cgi?id=630844
19405 gi/gimodule.c | 2 +-
19406 gi/pygi.h | 5 ++++-
19407 glib/glibmodule.c | 2 +-
19408 glib/pyglib-python-compat.h | 28 ++++++++++++++++++++++++++++
19409 glib/pyglib.c | 6 +++---
19410 glib/pygoptioncontext.c | 2 +-
19411 gobject/gobjectmodule.c | 2 +-
19412 gobject/pygobject.h | 6 ++++++
19413 gobject/pygtype.c | 10 +++++-----
19414 9 files changed, 50 insertions(+), 13 deletions(-)
19416 commit 03d2e2924e27a9d6cae89e5748f70e0a51be91c6
19417 Author: Damien Caliste <damien.caliste@cea.fr>
19418 Date: Tue Sep 28 12:44:42 2010 +0200
19420 Add __path__ attributes.
19422 Add an attribute __path__ to DynamicModule and IntrospectionModule,
19423 using the path of the typelib.
19425 https://bugzilla.gnome.org/show_bug.cgi?id=630807
19427 gi/module.py | 2 ++
19428 1 file changed, 2 insertions(+)
19430 commit 28f9366c9cb382801bad080864f667c867daa3c7
19431 Author: Sebastian Pölsterl <sebp@k-d-w.org>
19432 Date: Sat Oct 9 17:40:40 2010 +0200
19434 Override Gtk.TreeSelection.get_selected to not return success value.
19436 https://bugzilla.gnome.org/show_bug.cgi?id=631765
19438 gi/overrides/Gtk.py | 12 ++++++++++++
19439 1 file changed, 12 insertions(+)
19441 commit f01a7d9e8222663ce52100e061033f2745a5e7af
19442 Author: Vincent Untz <vuntz@gnome.org>
19443 Date: Thu Oct 7 09:42:24 2010 +0200
19445 Make row optional in Gtk.TreeStore/ListStore.append override
19447 https://bugzilla.gnome.org/show_bug.cgi?id=631548
19449 gi/overrides/Gtk.py | 36 ++++++++++++++++++++++--------------
19450 1 file changed, 22 insertions(+), 14 deletions(-)
19452 commit 1e1357f5fa1a034b0b707040d664ac46be6e23f7
19453 Author: John (J5) Palmieri <johnp@redhat.com>
19454 Date: Mon Oct 4 12:50:55 2010 -0400
19456 Revert "add compat functions for the deprecated PyCObject api"
19458 This reverts commit f25e763d53e5cdd4de08e90b04aea4b4c4720ac0.
19460 I ment to commit another patch and ended up comitting both
19462 gi/gimodule.c | 2 +-
19463 gi/pygi.h | 5 +----
19464 glib/glibmodule.c | 2 +-
19465 glib/pyglib-python-compat.h | 19 -------------------
19466 glib/pyglib.c | 6 +++---
19467 glib/pygoptioncontext.c | 2 +-
19468 gobject/gobjectmodule.c | 2 +-
19469 gobject/pygobject.h | 6 ------
19470 gobject/pygtype.c | 10 +++++-----
19471 9 files changed, 13 insertions(+), 41 deletions(-)
19473 commit 97774cb149c5b03d5ef82a5af3f19e2ce4d79d0b
19474 Author: John (J5) Palmieri <johnp@redhat.com>
19475 Date: Mon Oct 4 12:43:31 2010 -0400
19477 return NULL instead of -1 which fixes crash when introspection is
19480 * see https://bugzilla.gnome.org/show_bug.cgi?id=631158
19483 1 file changed, 1 insertion(+), 1 deletion(-)
19485 commit f25e763d53e5cdd4de08e90b04aea4b4c4720ac0
19486 Author: John (J5) Palmieri <johnp@redhat.com>
19487 Date: Tue Sep 28 15:31:03 2010 -0400
19489 add compat functions for the deprecated PyCObject api
19491 * Moved to using the PyCapsule API for python >= 2.7
19493 https://bugzilla.gnome.org/show_bug.cgi?id=630844
19495 gi/gimodule.c | 2 +-
19496 gi/pygi.h | 5 ++++-
19497 glib/glibmodule.c | 2 +-
19498 glib/pyglib-python-compat.h | 19 +++++++++++++++++++
19499 glib/pyglib.c | 6 +++---
19500 glib/pygoptioncontext.c | 2 +-
19501 gobject/gobjectmodule.c | 2 +-
19502 gobject/pygobject.h | 6 ++++++
19503 gobject/pygtype.c | 10 +++++-----
19504 9 files changed, 41 insertions(+), 13 deletions(-)
19506 commit 80b8ccd450fe4e3ea77b27e58bb63cabc2a2bb2b
19507 Author: John (J5) Palmieri <johnp@redhat.com>
19508 Date: Tue Sep 28 15:28:16 2010 -0400
19510 fix commit 7fe83108 which didn't use the compat functions for
19513 glib/glibmodule.c | 2 +-
19514 1 file changed, 1 insertion(+), 1 deletion(-)
19516 commit 9562842907a9d94f6adae2c1bb20d6b1f189abda
19517 Author: John (J5) Palmieri <johnp@redhat.com>
19518 Date: Tue Sep 28 13:15:57 2010 -0400
19520 Python 3 fixes for dsextras and the python.m4 distribution files
19522 dsextras.py | 13 +++++++------
19523 m4/python.m4 | 4 ++--
19524 2 files changed, 9 insertions(+), 8 deletions(-)
19526 commit 98f69957ee9e3037b0a05a037098e4d2133ca256
19527 Author: John (J5) Palmieri <johnp@redhat.com>
19528 Date: Mon Sep 27 14:01:31 2010 -0400
19530 post release bump to 2.27.0 unstable
19532 * update hacking to fill in some holes in the release instructions
19535 configure.ac | 2 +-
19536 2 files changed, 5 insertions(+), 3 deletions(-)
19538 commit fd38010101411e6bc1ca9314657f418de660fa13
19539 Author: John (J5) Palmieri <johnp@redhat.com>
19540 Date: Mon Sep 27 12:03:10 2010 -0400
19542 update NEWS for release
19545 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
19546 1 file changed, 93 insertions(+)
19548 commit 7072d56b6cba13da97a052c75d1ae0c2cc417fd1
19549 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
19550 Date: Sun Sep 26 08:37:31 2010 +0200
19552 Pre-release version bump 2.26.0
19554 configure.ac | 4 ++--
19555 1 file changed, 2 insertions(+), 2 deletions(-)
19557 commit a549f429d2ced7a78d5baa5e2f28f6750b4788f2
19558 Author: John Stowers <john.stowers@gmail.com>
19559 Date: Fri Sep 24 22:44:03 2010 +1200
19561 Wrap g_get_system_{config,data}_dirs ()
19563 * Also tidy up g_get_{cache,config,data}_dir
19564 to share common code
19566 glib/glibmodule.c | 68
19567 ++++++++++++++++++++++++++++++++++++++++---------------
19568 1 file changed, 50 insertions(+), 18 deletions(-)
19570 commit 328aca600714bdca89dfdb531c222ee561ede27e
19571 Author: John (J5) Palmieri <johnp@redhat.com>
19572 Date: Fri Sep 24 12:16:22 2010 -0400
19574 fixed make check and make dist
19576 tests/Makefile.am | 31 ++++++++++++++++++-------------
19577 1 file changed, 18 insertions(+), 13 deletions(-)
19579 commit 27023fd56148dd17b5576c1e81e0fe851d9b8727
19580 Author: John Stowers <john.stowers@gmail.com>
19581 Date: Fri Sep 24 21:20:53 2010 +1200
19583 Disable GI tests when introspection disabled
19585 tests/Makefile.am | 2 ++
19586 1 file changed, 2 insertions(+)
19588 commit 7fe831081cdd2e26f5d948326b9f89ea0694e752
19589 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
19590 Date: Sat Jul 18 19:35:08 2009 +0200
19592 Wrap g_uri_list_extract_uris. Fixes bug #584431
19594 glib/glibmodule.c | 38 ++++++++++++++++++++++++++++++++++++++
19595 gobject/__init__.py | 2 +-
19596 tests/Makefile.am | 3 ++-
19597 tests/test_uris.py | 15 +++++++++++++++
19598 4 files changed, 56 insertions(+), 2 deletions(-)
19600 commit d6721a59c294f2471142b8c32de2f647b7084bca
19601 Author: Paul Bolle <pebolle@tiscali.nl>
19602 Date: Thu Sep 23 15:38:40 2010 -0400
19604 Fix a few uses of TRUE and FALSE in the docs
19606 docs/reference/pygio-mount.xml | 5 +++--
19607 docs/reference/pyglib-functions.xml | 18 +++++++++---------
19608 docs/reference/pyglib-maincontext.xml | 12 ++++++------
19609 docs/reference/pyglib-mainloop.xml | 6 +++---
19610 docs/reference/pygobject-functions.xml | 6 +++---
19611 docs/reference/pygobject.xml | 4 ++--
19612 6 files changed, 26 insertions(+), 25 deletions(-)
19614 commit a08c9fffb4262ae678e17f90bbfb2d5f880cfad0
19615 Author: Damien Caliste <damien.caliste@cea.fr>
19616 Date: Tue Sep 21 17:52:14 2010 +0200
19618 pygi: always free the invocation_state struct
19620 In pygi-invoke.c, the invocation_state struct is never freed
19621 in case of success. Thus, always call _free_invocation_state()
19623 Modify _free_invocation_state to avoid double free in case of
19624 caller-allocated GValue, once as a released argument in the
19625 _process routine and another time in the _free as the special
19626 case. So move all argument releasing code from the _process
19627 routine to the _free one.
19628 Modify the tests for the callback routines to return an integer
19629 value as specified in the GIR file.
19631 Make check is as successful as before (already existing error
19632 related to GVariant is still there).
19634 https://bugzilla.gnome.org/show_bug.cgi?id=630271
19636 gi/pygi-invoke.c | 83
19637 +++++++++++++++++++++---------------------------
19638 tests/test_everything.py | 4 ++-
19639 2 files changed, 40 insertions(+), 47 deletions(-)
19641 commit 9714d765a34e246899f11b6792eea3aecce0b7ec
19642 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
19643 Date: Mon Sep 13 16:36:47 2010 +0200
19645 Start implementing something equivalent to g_variant_new
19647 https://bugzilla.gnome.org/show_bug.cgi?id=629367
19649 gi/gimodule.c | 20 +++++++
19650 gi/overrides/GLib.py | 131
19651 ++++++++++++++++++++++++++++++++++++++++++---
19652 gi/pygi-foreign-gvariant.c | 2 +-
19653 tests/test_everything.py | 16 ------
19654 tests/test_overrides.py | 25 +++++++++
19655 5 files changed, 170 insertions(+), 24 deletions(-)
19657 commit fc45abdd9b55ab63556798ab0f04715be79dba08
19658 Author: John (J5) Palmieri <johnp@redhat.com>
19659 Date: Thu Sep 23 10:49:36 2010 -0400
19661 fixed typo - missing comma in glib.option module
19663 * https://bugzilla.gnome.org/show_bug.cgi?id=627449
19665 glib/option.py | 2 +-
19666 1 file changed, 1 insertion(+), 1 deletion(-)
19668 commit 4ed100f3183c6325dd04461484e877bb7d4131b1
19669 Author: John (J5) Palmieri <johnp@redhat.com>
19670 Date: Fri Sep 17 12:08:09 2010 -0400
19672 add checks so we can compile under python 3 by setting PYTHON=python3
19674 * compile for python 3
19675 * disables gio if compiling under python 3.x
19676 * runs only pertinant tests
19678 https://bugzilla.gnome.org/show_bug.cgi?id=615872
19680 configure.ac | 32 +++++++++++++++++++++++++++++---
19681 tests/Makefile.am | 35 ++++++++++++++++++++---------------
19682 tests/runtests.py | 4 ++++
19683 3 files changed, 53 insertions(+), 18 deletions(-)
19685 commit 269ff8564eeb597dc06c27e293354b7ff7a71a82
19686 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
19687 Date: Fri Sep 17 15:50:47 2010 +0200
19689 Rename static methods as functions
19691 In recent gobject-introspection releases, static methods have been
19692 removed and placed as functions in the namespace level. In a future
19693 releases it's planned to become static methods again but for now
19694 let's fix the tests.
19696 tests/test_gi.py | 14 +++++++-------
19697 1 file changed, 7 insertions(+), 7 deletions(-)
19699 commit 2da8da589644d6125101210712defb1272a8abb1
19700 Author: John (J5) Palmieri <johnp@redhat.com>
19701 Date: Thu Sep 9 13:52:14 2010 -0400
19703 fix a couple of compiler warnings
19705 https://bugzilla.gnome.org/show_bug.cgi?id=629199
19707 gi/pygi-argument.c | 4 ++--
19708 gi/pygi-struct.c | 2 +-
19709 gobject/gobjectmodule.c | 2 +-
19710 3 files changed, 4 insertions(+), 4 deletions(-)
19712 commit 6769a4704f0876ac3baacd4da03ff16d9f0906be
19713 Author: John (J5) Palmieri <johnp@redhat.com>
19714 Date: Thu Sep 9 13:55:17 2010 -0400
19718 * we use richcompare now
19720 https://bugzilla.gnome.org/show_bug.cgi?id=629198
19722 gobject/pygtype.c | 9 ---------
19723 1 file changed, 9 deletions(-)
19725 commit 98f54f9d33996baeaa8c8c1240310f5396d03a1d
19726 Author: John (J5) Palmieri <johnp@redhat.com>
19727 Date: Tue Sep 14 14:10:49 2010 -0400
19729 Check the type of the instance object
19731 * in python 2 methods were added to classes as unbound methods and
19733 check the instance type to make sure it was correct
19734 * in python 3 for perfomance reasons methods are added to classes
19736 functions which treat the instance as an untyped argument so
19739 * this patch adds a type check so that the correct errors are
19741 python 3 (python 2 this just adds another layer of redundancy should
19742 something change with type checking in the future)
19743 * since GI handles regular args and the instance arg slightly
19745 we had to split out the interface checks in
19746 _pygi_g_type_info_check_object
19747 in order to not duplicate code
19749 https://bugzilla.gnome.org/show_bug.cgi?id=615872
19751 gi/pygi-argument.c | 182
19752 ++++++++++++++++++++++++++++-------------------------
19753 gi/pygi-argument.h | 2 +
19754 gi/pygi-invoke.c | 14 +++++
19755 3 files changed, 112 insertions(+), 86 deletions(-)
19757 commit 5d79498d38b147b66ae72c1481e397160491e8d6
19758 Author: John (J5) Palmieri <johnp@redhat.com>
19759 Date: Wed Sep 15 10:26:20 2010 -0400
19761 include the correct pycairo version
19763 https://bugzilla.gnome.org/show_bug.cgi?id=615872
19765 gi/pygi-foreign-cairo.c | 6 ++++++
19766 1 file changed, 6 insertions(+)
19768 commit b855562e5c0019cd7e4982fe00c467ede9e3926d
19769 Author: John (J5) Palmieri <johnp@redhat.com>
19770 Date: Thu Sep 9 22:16:58 2010 -0400
19772 Use PyMapping_Keys to determine if an object is a dict (py3k fix)
19774 * in Py3k PyMapping_Check returns true for sequences such as strings
19775 and lists. Since we need to get the keys anyway, and it returns
19776 NULL if this is not a dict, this is a much better test, even in
19779 https://bugzilla.gnome.org/show_bug.cgi?id=615872
19781 gi/pygi-argument.c | 10 +++-------
19782 1 file changed, 3 insertions(+), 7 deletions(-)
19784 commit 0e72e28c6c5502c7db5103cf1299c9f0e6689fdd
19785 Author: John (J5) Palmieri <johnp@redhat.com>
19786 Date: Thu Sep 9 18:44:11 2010 -0400
19788 fix handling of UINT64 and INT64 arguments in py3k
19790 * decode to the right sized C long
19792 https://bugzilla.gnome.org/show_bug.cgi?id=615872
19794 gi/pygi-argument.c | 20 ++++++++++++--------
19795 1 file changed, 12 insertions(+), 8 deletions(-)
19797 commit d5666d99a1c0396b7da0cb14f9f4ff8892da7e2e
19798 Author: John (J5) Palmieri <johnp@redhat.com>
19799 Date: Thu Sep 9 17:35:10 2010 -0400
19801 properly handle ulongs properties in py3k
19803 * If this is a PyLong object pull use AsUnsignedLong
19805 https://bugzilla.gnome.org/show_bug.cgi?id=615872
19807 gobject/pygtype.c | 29 ++++++++++++++++-------------
19808 1 file changed, 16 insertions(+), 13 deletions(-)
19810 commit 3d431c7dd0de97db10cb0c00c39d9c1837bed2f2
19811 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
19812 Date: Fri Sep 17 12:14:56 2010 +0200
19814 Specify encoding of tests/test_gi.py
19816 tests/test_gi.py | 3 ++-
19817 1 file changed, 2 insertions(+), 1 deletion(-)
19819 commit a808bdabb9fa6f4a9b9ce42e1cce05fb37403f0f
19820 Author: John (J5) Palmieri <johnp@redhat.com>
19821 Date: Thu Sep 9 13:24:30 2010 -0400
19823 use actual unicode in the tests on py3k, not the byte representation
19825 https://bugzilla.gnome.org/show_bug.cgi?id=615872
19827 tests/test_gi.py | 6 +++++-
19828 1 file changed, 5 insertions(+), 1 deletion(-)
19830 commit 928f4485041d80d0c36ff2daeae4bcd09bd0bde4
19831 Author: John (J5) Palmieri <johnp@redhat.com>
19832 Date: Thu Sep 9 12:45:21 2010 -0400
19834 s/METH_KEYWORDS/METH_VARARGS|METH_KEYWORDS/ when defining object
19837 * in Py3k the METH_KEYWORDS flag by itself is invalid. A method
19839 with both the METH_VARARGS and METH_KEYWORDS flags.
19841 https://bugzilla.gnome.org/show_bug.cgi?id=615872
19843 glib/pygiochannel.c | 30 +++++++++++++++---------------
19844 glib/pygsource.c | 4 ++--
19845 gobject/pygobject.c | 2 +-
19846 3 files changed, 18 insertions(+), 18 deletions(-)
19848 commit b5ee20afa4399c7689fbec8939fa20b927eeb782
19849 Author: John (J5) Palmieri <johnp@redhat.com>
19850 Date: Thu Sep 9 08:04:40 2010 -0400
19852 fix subclassing PyLong by calling __new__ correctly
19854 https://bugzilla.gnome.org/show_bug.cgi?id=615872
19856 glib/pygspawn.c | 4 ++--
19857 1 file changed, 2 insertions(+), 2 deletions(-)
19859 commit a499b2f0d622b671bd154544f66b73f1278e66ed
19860 Author: John (J5) Palmieri <johnp@redhat.com>
19861 Date: Thu Sep 9 07:56:44 2010 -0400
19863 minor py3k fixups for python modules
19865 * add _basestring and _bytes and _callable wrappers
19866 * use items instead of iteritems and range instead of xrange
19870 https://bugzilla.gnome.org/show_bug.cgi?id=615872
19872 gi/overrides/Gtk.py | 24 ++++++++++++++++--------
19873 glib/option.py | 16 ++++++++++++----
19874 2 files changed, 28 insertions(+), 12 deletions(-)
19876 commit dec9001d26c97949e7b3578086cb35e98075c047
19877 Author: John (J5) Palmieri <johnp@redhat.com>
19878 Date: Thu Sep 9 07:36:04 2010 -0400
19880 minor fixes in tests for py3k compat
19882 * add a _bytes wrapper for API that expects bytes in py3k but str
19884 * fix some more exception handling using sys.exc_info()[:2]
19885 * use range instead of xrange, items instead of iteritems since py3k
19886 dropped support for the different ways of accessing iterators
19887 - this is less efficient in py2 but we plan to target py3k as the
19889 * use list(dict.items()) since py3k only returns iterables which
19892 * missed some _long wrapping
19894 https://bugzilla.gnome.org/show_bug.cgi?id=615872
19896 tests/compathelper.py | 18 ++++++++++++++++++
19897 tests/test_everything.py | 5 +++--
19898 tests/test_mainloop.py | 3 ++-
19899 tests/test_option.py | 6 ++++--
19900 tests/test_overrides.py | 4 ++--
19901 tests/test_properties.py | 6 +++---
19902 6 files changed, 32 insertions(+), 10 deletions(-)
19904 commit 09a0daeedf49eaf376c1288be5743b57fbc76d51
19905 Author: Colin Walters <walters@verbum.org>
19906 Date: Thu Sep 9 16:25:51 2010 -0400
19908 compilation: Fix syntax error
19910 gi/pygi-info.c | 2 +-
19911 1 file changed, 1 insertion(+), 1 deletion(-)
19913 commit 9f7afd6d5afd8c1a5f36bf1295814757b71c8cbc
19914 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
19915 Date: Thu Sep 9 22:17:00 2010 +0200
19919 gi/overrides/GLib.py | 48
19920 ++++++++++++++++++++++++++++++++++++++++++++++++
19921 1 file changed, 48 insertions(+)
19923 commit 306b792ac97a458ddee59fb86d66453495117f3e
19924 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
19925 Date: Thu Jul 22 13:48:51 2010 +0100
19927 Add override for GLib.Variant.new_tuple
19929 * gi/gimodule.c: Add _wrap_pyg_variant_new_tuple
19930 * gi/overrides/GLib.py: Override Variant.new_tuple and
19932 * gi/pygi-type.[hc]: split _pygi_type_import_by_name out from
19933 _pygi_type_import_by_gi_info
19934 * gi/types.py: Never override gobject.TYPE_NONE
19935 * tests/test_everything.py: Add tests for GVariant tuples
19937 https://bugzilla.gnome.org/show_bug.cgi?id=625050
19939 gi/gimodule.c | 38 ++++++++++++++++++++++++++++++++++++++
19940 gi/overrides/Makefile.am | 1 +
19941 gi/pygi-type.c | 15 +++++++++------
19942 gi/pygi-type.h | 2 ++
19944 tests/test_everything.py | 9 +++++++++
19945 6 files changed, 60 insertions(+), 6 deletions(-)
19947 commit 22e53aa2ed9cf6173a877b0af6928d5ab8da2f4f
19948 Author: John (J5) Palmieri <johnp@redhat.com>
19949 Date: Wed Sep 8 13:08:48 2010 -0400
19951 fix for changes in the gi test libraries
19953 tests/test_everything.py | 2 +-
19954 1 file changed, 1 insertion(+), 1 deletion(-)
19956 commit 246877074617b0e9c3b2ba2a5395a73e0ed9cd5d
19957 Author: John (J5) Palmieri <johnp@redhat.com>
19958 Date: Wed Sep 8 13:08:07 2010 -0400
19960 Gtk.DialogFlags.NO_SEPARATOR has been removed in Gtk 3.0
19962 gi/overrides/Gtk.py | 10 ++++++++--
19963 1 file changed, 8 insertions(+), 2 deletions(-)
19965 commit f92fc48e7e2ec50996e994ccb7d08a61e7374f22
19966 Author: John (J5) Palmieri <johnp@redhat.com>
19967 Date: Wed Sep 8 12:35:09 2010 -0400
19969 no need to offset arg positions when is_method is true
19971 * The old GI libraries required we offset arg positions for the
19973 self argument. The new library fixes this so we don't have
19977 https://bugzilla.gnome.org/show_bug.cgi?id=629087
19979 gi/pygi-callbacks.c | 5 +----
19980 1 file changed, 1 insertion(+), 4 deletions(-)
19982 commit 8c517de2d278bdef641c72b8f2919a3924290ec1
19983 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
19984 Date: Fri Aug 20 14:54:35 2010 +0200
19986 gi: Add support for more property types
19988 https://bugzilla.gnome.org/show_bug.cgi?id=627494
19990 gi/pygi-property.c | 156
19991 ++++++++++++++++++++++++++++++++++++-----------
19992 tests/test_everything.py | 34 +++++++++++
19993 2 files changed, 154 insertions(+), 36 deletions(-)
19995 commit 6d183d1fff55d54569ba3e1f90a10284df74fd40
19996 Author: John (J5) Palmieri <johnp@redhat.com>
19997 Date: Fri Sep 3 12:04:16 2010 -0400
19999 use PyObject_SetAttrString, not PyDict_SetItemString when setting
20002 * When registering a gtype wrapper we used to set tp_dict
20003 directly. This works
20004 in python 2 but python 3 seems to handle attributes in a slightly
20006 way where the tp_dict and attr get out of sync. By setting the attr
20007 directly we avoid this issue.
20008 * Note that there are many more places where we set __gtype__
20010 however for objects which are not instantiated yet we have to
20013 * Since this one change fixes a lot of failed tests, for now we
20015 other places where we set __gtype__. If we run into more issues
20017 with __gtype__ we can take a closer look later.
20019 https://bugzilla.gnome.org/show_bug.cgi?id=627878
20021 https://bugzilla.gnome.org/show_bug.cgi?id=615872
20023 gobject/gobjectmodule.c | 2 +-
20024 1 file changed, 1 insertion(+), 1 deletion(-)
20026 commit b7bf4269682a3335f5e0a52b46fa721af134d09a
20027 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20028 Date: Wed Sep 1 11:03:40 2010 +0200
20030 Rename GArgument to GIArgument
20032 gi/pygi-argument.c | 52
20033 +++++++++++++++++++++++-----------------------
20034 gi/pygi-argument.h | 10 ++++-----
20035 gi/pygi-closure.c | 34 +++++++++++++++---------------
20036 gi/pygi-foreign-cairo.c | 8 +++----
20037 gi/pygi-foreign-gvariant.c | 4 ++--
20038 gi/pygi-foreign-gvariant.h | 4 ++--
20039 gi/pygi-foreign.c | 12 +++++------
20040 gi/pygi-foreign.h | 8 +++----
20041 gi/pygi-info.c | 8 +++----
20042 gi/pygi-invoke.c | 28 ++++++++++++-------------
20043 gi/pygi-property.c | 4 ++--
20044 gi/pygi.h | 16 +++++++-------
20045 12 files changed, 94 insertions(+), 94 deletions(-)
20047 commit 7197f85c9be2b03636639ac909ca2c3170653509
20048 Author: John (J5) Palmieri <johnp@redhat.com>
20049 Date: Wed Aug 18 10:29:19 2010 -0400
20051 fix up tests so they run in py3k
20053 * add a compat helper that should only be used by tests
20054 * fix long notation to use the compat helper instead
20055 * add parens to print statements
20056 * use compatable try/except pattern
20058 https://bugzilla.gnome.org/show_bug.cgi?id=615872
20060 gobject/propertyhelper.py | 16 +++++++++++-----
20061 tests/compathelper.py | 32 ++++++++++++++++++++++++++++++++
20062 tests/test_option.py | 7 ++++++-
20063 tests/test_properties.py | 24 ++++++++++++++----------
20064 tests/test_signal.py | 14 +++++++-------
20065 tests/test_source.py | 4 ++--
20066 6 files changed, 72 insertions(+), 25 deletions(-)
20068 commit 720e614acdbcf734d4bcccc403e639b5a5bcae24
20069 Author: Colin Walters <walters@verbum.org>
20070 Date: Fri Aug 20 10:58:48 2010 -0400
20072 tests: Port to new introspection tests
20074 Everything is renamed "Regress", and both it and GIMarshallingTests
20075 are now in source form, so we compile them.
20077 The scanner now adds "static methods" to objects, structs, and unions,
20078 so update the test code to use those.
20080 In the tests, remove broken (inout) cases - the person writing these
20081 tests misunderstood the semantics of (inout). It's not acceptable for
20082 a C API to mutate e.g. a GSList* passed in, or unref an object.
20084 The invocation code needed to be updated for this - remove some
20087 https://bugzilla.gnome.org/show_bug.cgi?id=627878
20089 configure.ac | 5 +-
20090 gi/pygi-argument.c | 9 +--
20091 gi/pygi-invoke.c | 147
20092 +++++----------------------------------------
20093 tests/Makefile.am | 42 ++++++++++++-
20094 tests/test_everything.py | 6 +-
20095 tests/test_gi.py | 151
20096 +++++++++--------------------------------------
20097 6 files changed, 93 insertions(+), 267 deletions(-)
20099 commit f6c4d9e58c8f05cb2d82e158c9eb8480308565bd
20100 Author: John (J5) Palmieri <johnp@redhat.com>
20101 Date: Fri Aug 20 10:43:58 2010 -0400
20103 we need to specify tp_hash since we overide tp_richcompare
20105 https://bugzilla.gnome.org/show_bug.cgi?id=615872
20107 gobject/pygenum.c | 1 +
20108 gobject/pygflags.c | 1 +
20109 2 files changed, 2 insertions(+)
20111 commit c03e6b482548aee99362356807c804f8834fad2b
20112 Author: John Ehresman <jpe@wingware.com>
20113 Date: Thu Apr 15 17:11:30 2010 -0400
20115 working enum/flags/pid subclasses of long
20117 https://bugzilla.gnome.org/show_bug.cgi?id=615872
20119 glib/pygspawn.c | 7 ++---
20120 gobject/pygenum.c | 61 ++++++++++++++++++++++++-------------------
20121 gobject/pygflags.c | 76
20122 +++++++++++++++++++++++-------------------------------
20123 3 files changed, 71 insertions(+), 73 deletions(-)
20125 commit 0db676fd2296750a46ba0fb069e472da06ecc53a
20126 Author: John (J5) Palmieri <johnp@redhat.com>
20127 Date: Wed Aug 18 11:03:32 2010 -0400
20129 make vfuncs work in py3k
20131 * methods now export __func__ instead of im_func for getting the
20133 out of a method closure
20134 * however classes no longer return unbound methods in py3k and instead
20135 return the actual function
20136 * in python 2 we use im_func when getting the function from the
20138 * in py3k we simply assign vfunc to the function
20140 https://bugzilla.gnome.org/show_bug.cgi?id=615872
20142 gi/types.py | 12 ++++++++----
20143 1 file changed, 8 insertions(+), 4 deletions(-)
20145 commit 286dcd0c6455961d818ac7f05f80f82435abc1dc
20146 Author: John (J5) Palmieri <johnp@redhat.com>
20147 Date: Tue Aug 17 15:43:42 2010 -0400
20149 make cairo module compile in py3k
20151 https://bugzilla.gnome.org/show_bug.cgi?id=615872
20153 gi/Makefile.am | 2 +-
20154 gi/pygi-foreign-cairo.c | 17 +++++++----------
20155 2 files changed, 8 insertions(+), 11 deletions(-)
20157 commit bda58ec34fc443fe1108afc8532bec50f6fd0b44
20158 Author: John (J5) Palmieri <johnp@redhat.com>
20159 Date: Tue Aug 17 02:33:45 2010 -0400
20161 fix exceptions so they work in python 3.x
20163 https://bugzilla.gnome.org/show_bug.cgi?id=615872
20165 gi/module.py | 2 +-
20167 2 files changed, 2 insertions(+), 2 deletions(-)
20169 commit 427a3c8053feca35ccd746575760ac8a0ed50a12
20170 Author: John (J5) Palmieri <johnp@redhat.com>
20171 Date: Tue Aug 17 02:24:44 2010 -0400
20173 make the gi module compile under 3.x
20175 * include the compat macros
20176 * use GLIB_MODULE_START/END to define module
20177 * add PyInit__gi to the exported symbols
20179 https://bugzilla.gnome.org/show_bug.cgi?id=615872
20181 gi/Makefile.am | 2 +-
20182 gi/gimodule.c | 24 +++++++++---------------
20183 2 files changed, 10 insertions(+), 16 deletions(-)
20185 commit 1dee5dcd2b1747b4a4af438c0443d7930e4802db
20186 Author: John (J5) Palmieri <johnp@redhat.com>
20187 Date: Tue Aug 17 02:14:14 2010 -0400
20189 fix up testshelper module so it compiles in python 3.x
20191 * include the compat header
20192 * fix up PyInts to be PYGLIB_Long
20193 * Use PYGLIB_DEFINE_TYPE macros to define module objects
20194 * Use PYGLIB_MODULE_START/END to define modules
20196 https://bugzilla.gnome.org/show_bug.cgi?id=615872
20198 tests/Makefile.am | 2 +-
20199 tests/testhelpermodule.c | 221
20200 ++++++-----------------------------------------
20201 2 files changed, 28 insertions(+), 195 deletions(-)
20203 commit 1ff83a2ccb7301c8f675913f1c4f6118ea50b9c7
20204 Author: John (J5) Palmieri <johnp@redhat.com>
20205 Date: Mon Aug 16 21:14:27 2010 -0400
20207 convert to using PYGLIB_DEFINE_TYPE for module objects
20209 https://bugzilla.gnome.org/show_bug.cgi?id=615872
20211 gi/pygi-boxed.c | 43 ++-----------
20212 gi/pygi-info.c | 171
20213 ++++++++++++++++++++-------------------------------
20214 gi/pygi-repository.c | 39 +++---------
20215 gi/pygi-struct.c | 45 +++-----------
20216 4 files changed, 88 insertions(+), 210 deletions(-)
20218 commit 1efa2b12913b194d433c17014bc1077271a6ca32
20219 Author: John (J5) Palmieri <johnp@redhat.com>
20220 Date: Mon Aug 16 13:51:05 2010 -0400
20222 some more p3k PyString and PyInt eradication in GI
20224 * add the glib dir to the includes list in the build
20225 * make sure we include the compat macros
20226 * add GLIB_PyBytes_FromString to compat macros
20227 * add GLIB_PyNumber_Long to compat macros
20228 * use RichCompare instead of Compare
20230 https://bugzilla.gnome.org/show_bug.cgi?id=615872
20232 gi/Makefile.am | 2 +-
20233 gi/pygi-argument.c | 96
20234 +++++++++++++++++++++++++++------------------
20235 gi/pygi-boxed.c | 1 +
20236 gi/pygi-info.c | 13 +++---
20237 gi/pygi-private.h | 23 +++++++++++
20238 gi/pygi-repository.c | 8 ++--
20239 gi/pygi-struct.c | 1 +
20240 glib/pyglib-python-compat.h | 6 +++
20241 8 files changed, 103 insertions(+), 47 deletions(-)
20243 commit 6b902c66200c1684513a9ef31bdef3f2ff64e4fa
20244 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20245 Date: Fri Aug 20 09:28:57 2010 +0200
20247 pyglib: Fix typo (Leo Singer)
20249 https://bugzilla.gnome.org/show_bug.cgi?id=627408
20251 glib/option.py | 4 ++--
20252 1 file changed, 2 insertions(+), 2 deletions(-)
20254 commit 3cefffecc1317b6ad77a5ed936bfb990d16bf9d3
20255 Author: Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
20256 Date: Thu Aug 19 18:45:05 2010 -0300
20258 Add defines for size_t and ssize_t conversion functions
20260 These missing defines cause the resulting module to have unresolved
20261 symbols, rendering it unusable.
20263 https://bugzilla.gnome.org/show_bug.cgi?id=627440
20265 glib/pyglib-python-compat.h | 2 ++
20266 1 file changed, 2 insertions(+)
20268 commit d45c7031876f355e15409f00f3e50e77d18f8f4b
20269 Author: Colin Walters <walters@verbum.org>
20270 Date: Thu Aug 19 17:50:35 2010 -0400
20272 pyglib: Fix a compiler warning
20274 glib/pyglib.c | 1 +
20275 1 file changed, 1 insertion(+)
20277 commit 0fe6828ddce187ac1897a1f02ca1c5480796d5b9
20278 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20279 Date: Wed Aug 18 20:36:51 2010 +0200
20281 Don't force gtk 2.0
20283 pygi-convert.sh | 11 +++++++----
20284 1 file changed, 7 insertions(+), 4 deletions(-)
20286 commit ac59c18a4f2bfff47c862b763aaf1d1cf136a4f5
20287 Author: Steve Frécinaux <code@istique.net>
20288 Date: Tue Aug 17 14:49:30 2010 +0200
20290 Fix some ref leaks in hook_up_vfunc_implementation()
20292 https://bugzilla.gnome.org/show_bug.cgi?id=627143
20294 gi/gimodule.c | 9 +++++++--
20295 1 file changed, 7 insertions(+), 2 deletions(-)
20297 commit 18ee0db673c2fa42244ab85950bbf4840edb674b
20298 Author: John (J5) Palmieri <johnp@redhat.com>
20299 Date: Thu Aug 12 12:16:31 2010 -0400
20301 handle strings correctly in gio
20303 gio/gappinfo.override | 5 +++++
20304 gio/pygio-utils.c | 42 +++++++++++++++++++++++++++++++++++-------
20305 2 files changed, 40 insertions(+), 7 deletions(-)
20307 commit 45ab0c03110c911b47519941dfd753326891b5e0
20308 Author: John (J5) Palmieri <johnp@redhat.com>
20309 Date: Wed Aug 11 16:13:59 2010 -0400
20311 make giomodule compile under py3k
20313 https://bugzilla.gnome.org/show_bug.cgi?id=615872
20315 gio/giomodule.c | 153
20316 +++++++++++++++++++++++++++++---------------------------
20317 1 file changed, 78 insertions(+), 75 deletions(-)
20319 commit c52f8ed3ae8cb66a03b5695e980770c3f467f755
20320 Author: John (J5) Palmieri <johnp@redhat.com>
20321 Date: Wed Aug 11 16:04:48 2010 -0400
20323 for py3k we need to do some more processing to get bytes from a
20326 https://bugzilla.gnome.org/show_bug.cgi?id=615872
20328 gi/pygi-argument.c | 31 +++++++++++++++++++++++++++----
20329 1 file changed, 27 insertions(+), 4 deletions(-)
20331 commit de9eae4dfcce856a42cc5c569a5b9683c28d0eeb
20332 Author: John (J5) Palmieri <johnp@redhat.com>
20333 Date: Wed Aug 11 15:03:55 2010 -0400
20335 use Bytes instead of Unicode when reading io
20337 https://bugzilla.gnome.org/show_bug.cgi?id=615872
20339 glib/pygiochannel.c | 30 ++++++++++++++++++++++++------
20340 1 file changed, 24 insertions(+), 6 deletions(-)
20342 commit 5824ff98175b749dbcfa72d24b994230b6e05377
20343 Author: John (J5) Palmieri <johnp@redhat.com>
20344 Date: Mon Aug 9 15:16:51 2010 -0400
20346 prefix compat macros with PYGLIB
20348 * refactor from John Ehresman <jpe@wingware.com> py3k branch
20349 * fix up some extranious PyString calls
20350 * remove duplicate macros from pyglib.h that are in
20351 pyglib-python-compat.h
20352 * pygobject.h can't import pyglib-python-compat.h so add codepaths
20353 for both Py3k and legacy code instead of using macros
20355 https://bugzilla.gnome.org/show_bug.cgi?id=615872
20357 glib/glibmodule.c | 48 +++++-----
20358 glib/pygiochannel.c | 46 +++++-----
20359 glib/pyglib-python-compat.h | 153 +++++++++++++++++++++++--------
20360 glib/pyglib.c | 22 ++---
20361 glib/pyglib.h | 14 ---
20362 glib/pygoptioncontext.c | 4 +-
20363 glib/pygsource.c | 16 ++--
20364 glib/pygspawn.c | 32 +++----
20365 gobject/gobjectmodule.c | 216
20366 ++++++++++++++++++++++----------------------
20367 gobject/pygboxed.c | 2 +-
20368 gobject/pygenum.c | 84 ++++++++---------
20369 gobject/pygflags.c | 122 ++++++++++++-------------
20370 gobject/pygobject-private.h | 12 +--
20371 gobject/pygobject.c | 46 +++++-----
20372 gobject/pygobject.h | 23 +++++
20373 gobject/pygparamspec.c | 24 ++---
20374 gobject/pygpointer.c | 2 +-
20375 gobject/pygtype.c | 170 +++++++++++++++++-----------------
20376 18 files changed, 563 insertions(+), 473 deletions(-)
20378 commit 231e934cc01d061e81bb60d35127a133cd0e1793
20379 Author: John (J5) Palmieri <johnp@redhat.com>
20380 Date: Mon Aug 16 10:14:04 2010 +0200
20382 Gtk.Button unit tests
20384 https://bugzilla.gnome.org/show_bug.cgi?id=622606
20386 tests/test_overrides.py | 10 ++++++++++
20387 1 file changed, 10 insertions(+)
20389 commit f07cfde377e42686c6b80f56cac62338ee333e61
20390 Author: Johan Dahlin <johan@gnome.org>
20391 Date: Mon Aug 16 10:08:38 2010 +0200
20393 [Gtk] Add overrides for Button
20395 https://bugzilla.gnome.org/show_bug.cgi?id=622606
20397 gi/overrides/Gtk.py | 13 +++++++++++++
20398 1 file changed, 13 insertions(+)
20400 commit 65a06a7216163c7e65b32c5b5f3388faa7fda5d6
20401 Author: Simon van der Linden <svdlinden@gnome.org>
20402 Date: Thu Aug 12 16:18:58 2010 +0200
20404 Make Cairo an optional dependency
20406 Add the --enable-cairo configure argument.
20408 https://bugzilla.gnome.org/show_bug.cgi?id=616732
20410 configure.ac | 15 ++++++++++++---
20411 gi/Makefile.am | 20 ++++++++++++--------
20412 2 files changed, 24 insertions(+), 11 deletions(-)
20414 commit b83507263231d9bf47f6c8450583e3d03f0a3b5b
20415 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20416 Date: Mon Aug 16 09:55:35 2010 +0200
20418 Don't import again PyGObject (John Ralls)
20420 https://bugzilla.gnome.org/show_bug.cgi?id=626996
20423 1 file changed, 1 insertion(+)
20425 commit 0dc3656070f496431829c6e8441ca17129c569f8
20426 Author: John (J5) Palmieri <johnp@redhat.com>
20427 Date: Mon Aug 9 16:11:55 2010 -0400
20429 move to using richcompare slot instead of compare
20431 https://bugzilla.gnome.org/show_bug.cgi?id=615872
20433 glib/pygiochannel.c | 18 +++++++----
20435 +++++++++++++++++++++++++++++++++++++++++++++++++
20436 glib/pyglib.h | 3 ++
20437 glib/pygmaincontext.c | 17 ++++++----
20438 glib/pygmainloop.c | 17 ++++++----
20439 glib/pygoptioncontext.c | 18 +++++++----
20440 glib/pygoptiongroup.c | 22 +++++++------
20441 gobject/pygboxed.c | 18 +++++++----
20442 gobject/pygobject.c | 44 ++++++++++++++++++-------
20443 gobject/pygparamspec.c | 19 +++++++----
20444 gobject/pygpointer.c | 17 ++++++----
20445 gobject/pygtype.c | 26 +++++++++++----
20446 12 files changed, 233 insertions(+), 71 deletions(-)
20448 commit b426e531dc53d4b50e572a2da19733479635e662
20449 Author: Simon van der Linden <svdlinden@gnome.org>
20450 Date: Thu Aug 12 18:09:33 2010 +0200
20452 Replace autogen.sh by a newer version
20454 It pulls automake 1.10 or 1.11.
20455 Greatly inspired from GLib's.
20457 https://bugzilla.gnome.org/show_bug.cgi?id=625661
20460 +++++++------------------------------------------------------
20461 1 file changed, 58 insertions(+), 448 deletions(-)
20463 commit 769645e00d6d055a4cd802454dbfc1bbfcbee691
20464 Author: Simon van der Linden <svdlinden@gnome.org>
20465 Date: Thu Aug 12 14:11:55 2010 +0200
20469 pyglib.c: In function ‘pyglib_gerror_exception_check’:
20470 pyglib.c:362: warning: format not a string literal and no format
20472 pyglib.c:371: warning: format not a string literal and no format
20475 gio.override: In function 'pygio_notify_allocate_buffer':
20476 gio.override:144:13: warning: format '%d' expects type 'int', but
20480 https://bugzilla.gnome.org/show_bug.cgi?id=625437
20482 gio/gio.override | 2 +-
20483 glib/pyglib.c | 4 ++--
20484 2 files changed, 3 insertions(+), 3 deletions(-)
20486 commit e4c4cccb588b258dbcd21702e6cddcfe9ebe4ffc
20487 Author: Simon van der Linden <svdlinden@gnome.org>
20488 Date: Thu Aug 12 11:09:37 2010 +0200
20490 Fix caller-allocates emergency free.
20492 In the state, args, args[i], arg_infos[i], and arg_type_infos[i]
20494 NULL in order to be able caller-allocates. This patch adds those
20497 Moreover, the interface info needs to be freed afterwards.
20499 https://bugzilla.gnome.org/show_bug.cgi?id=626684
20501 gi/pygi-invoke.c | 9 ++++++++-
20502 1 file changed, 8 insertions(+), 1 deletion(-)
20504 commit 0ab967ca40ddcffc2834d4e656bb2010c6b9bdda
20505 Author: Simon van der Linden <svdlinden@gnome.org>
20506 Date: Thu Aug 12 10:46:17 2010 +0200
20508 Remove useless checks.
20510 No need to check for state->arg_infos, state->arg_type_infos, and
20511 state->args_is_auxiliary to be NULL, they are always allocated.
20513 https://bugzilla.gnome.org/show_bug.cgi?id=626684
20515 gi/pygi-invoke.c | 14 +++-----------
20516 1 file changed, 3 insertions(+), 11 deletions(-)
20518 commit e17be9cd288fee5d7cb174d9d577eb9279044c67
20519 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20520 Date: Tue Aug 10 17:40:16 2010 +0200
20522 Call valgrind with G_SLICE=always-malloc G_DEBUG=gc-friendly
20524 tests/Makefile.am | 2 +-
20525 1 file changed, 1 insertion(+), 1 deletion(-)
20527 commit 8be59c37dd57acc51875c7189ca09d728b729013
20528 Author: Ignacio Casal Quinteiro <icq@gnome.org>
20529 Date: Wed Aug 4 13:43:17 2010 +0200
20533 gi/pygi-argument.c | 2 --
20534 gi/pygi-invoke.c | 2 +-
20535 gi/pygi-struct.c | 1 -
20536 3 files changed, 1 insertion(+), 4 deletions(-)
20538 commit 529eca6054e9a7e2267f1529e317c2373932762f
20539 Author: Simon van der Linden <svdlinden@gnome.org>
20540 Date: Fri Jul 30 22:39:40 2010 +0200
20542 Add myself as a maintainer
20544 MAINTAINERS | 4 ++++
20545 1 file changed, 4 insertions(+)
20547 commit caac75a6ed6f671b37e38a78e71b87906a00ac1b
20548 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20549 Date: Fri Jul 30 14:14:16 2010 +0200
20551 Properly allocate boxed structs that are (caller-allocates)
20553 * gi/pygi-boxed.[hc]: Refactor out the allocation of boxed structs
20554 * gi/pygi-invoke.c: Don't use g_malloc0 for boxed structs that
20555 are (caller-allocates)
20556 * tests/test_overrides.py: Split the TreeView tests
20558 https://bugzilla.gnome.org/show_bug.cgi?id=625653
20560 gi/pygi-boxed.c | 50
20561 ++++++++++++++++++++++++++++++++-----------------
20562 gi/pygi-boxed.h | 10 ++++++----
20563 gi/pygi-invoke.c | 16 ++++++----------
20564 tests/test_overrides.py | 39 +++++++++++++++++++-------------------
20565 4 files changed, 64 insertions(+), 51 deletions(-)
20567 commit 99c7322898c00a576c7319ea0a7c808446253133
20568 Author: Toms Baugis <toms.baugis@gmail.com>
20569 Date: Fri Jul 30 15:44:21 2010 +0200
20571 override gdk.Event to return attribute from the proper event object
20573 https://bugzilla.gnome.org/show_bug.cgi?id=620593
20575 gi/overrides/Gdk.py | 48
20576 ++++++++++++++++++++++++++++++++++++++++++++++++
20577 gi/pygi-invoke.c | 4 ----
20578 tests/test_overrides.py | 10 ++++++++++
20579 3 files changed, 58 insertions(+), 4 deletions(-)
20581 commit 55814e722c2ae11310f346790c9221e4fad92b50
20582 Author: John (J5) Palmieri <johnp@redhat.com>
20583 Date: Fri Jul 30 06:30:48 2010 -0400
20585 check if z# needs an int or Py_ssize_t
20587 https://bugzilla.gnome.org/show_bug.cgi?id=625438
20589 gio/gio.override | 5 +++++
20590 1 file changed, 5 insertions(+)
20592 commit 477315465d0a6d84b51e146e86e254873bc564ff
20593 Author: John (J5) Palmieri <johnp@redhat.com>
20594 Date: Fri Jul 30 06:43:06 2010 -0400
20596 make sure we parse parameters to python object vars not glib vars
20598 * py_flags was already set up but due to a typo &flags was being
20602 https://bugzilla.gnome.org/show_bug.cgi?id=625438
20604 gio/gfile.override | 8 ++++----
20605 1 file changed, 4 insertions(+), 4 deletions(-)
20607 commit faa7d4eece7ddb698725098970c2478a3b45c4d5
20608 Author: Paul Bolle <pebolle@tiscali.nl>
20609 Date: Fri Jul 30 10:56:01 2010 +0200
20611 Make an example and a demo work out of the box
20613 cairo-demo.py and gtk-demo.py need the two (kind of) magic lines
20614 regarding pygtk to work out of the box. So add those.
20616 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
20618 https://bugzilla.gnome.org/show_bug.cgi?id=625638
20620 demos/gtk-demo/gtk-demo.py | 2 ++
20621 examples/cairo-demo.py | 2 ++
20622 2 files changed, 4 insertions(+)
20624 commit c9da5782e6c633d9af43ee85075e9ee65db09780
20625 Author: John (J5) Palmieri <johnp@redhat.com>
20626 Date: Fri Jul 9 13:14:42 2010 -0400
20628 make sure caller allocated structs are freed when they go out of scope
20630 * Move struct transfer checks from pygi-arguments to pygi-invoke
20631 * add better warning if an unknown struct is fully transfered
20632 * only free GValues we create in the invoke cleanup. All other
20634 get cleaned up when they go out of scope in python
20635 * Fixes issues with caller allocated treeiters getting freed to early
20636 * this is a fix to crashes in the current test suite when API's
20638 TreeIters were annotated as out caller-allocates so no new tests
20641 https://bugzilla.gnome.org/show_bug.cgi?id=623969
20643 gi/pygi-argument.c | 13 +++++--------
20644 gi/pygi-invoke.c | 46 ++++++++++++++++++++++++++++++++++++++++------
20645 2 files changed, 45 insertions(+), 14 deletions(-)
20647 commit e0a85305cd107aae5902e524afd074cd8c329927
20648 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20649 Date: Fri Jul 30 10:35:33 2010 +0200
20651 Revert "override gdk.Event to return attribute from the proper
20654 Pushed by mistake, we still need testcases
20656 This reverts commit e7bb3954880568884ca66e7751ede689dc2f24f6.
20658 gi/overrides/Gdk.py | 44 --------------------------------------------
20659 1 file changed, 44 deletions(-)
20661 commit 61ffb8d6d08fcfe638f71ea97ceac3a366e5536d
20662 Author: Paul Bolle <pebolle@tiscali.nl>
20663 Date: Thu Jul 29 22:55:28 2010 +0200
20665 PyGI: properly quit cairo-demo
20667 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
20669 https://bugzilla.gnome.org/show_bug.cgi?id=625619
20671 examples/cairo-demo.py | 2 +-
20672 1 file changed, 1 insertion(+), 1 deletion(-)
20674 commit e7bb3954880568884ca66e7751ede689dc2f24f6
20675 Author: Toms Baugis <toms.baugis@gmail.com>
20676 Date: Tue Jul 27 21:37:16 2010 +0200
20678 override gdk.Event to return attribute from the proper event object.
20680 https://bugzilla.gnome.org/show_bug.cgi?id=620593
20682 gi/overrides/Gdk.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
20683 1 file changed, 44 insertions(+)
20685 commit 0a9f1da052fd33dcef81d0e267fc7972f02c7888
20686 Author: Simon van der Linden <svdlinden@gnome.org>
20687 Date: Wed Jul 28 14:56:00 2010 +0200
20689 Clean and improve the test infrastructure
20691 To run select tests, use for instance:
20692 % make check TEST_NAMES='test_everything test_gi.TestConstant'
20694 It works with check.gdb and check.valgrind too.
20696 https://bugzilla.gnome.org/show_bug.cgi?id=625488
20698 Makefile.am | 5 ----
20699 tests/Makefile.am | 65
20700 +++++++++++++++++++++-------------------------
20701 tests/common.py | 47 ---------------------------------
20702 tests/runtests.py | 43 ++++++++++++------------------
20703 tests/test_gcancellable.py | 4 +--
20704 tests/test_gi.py | 3 ---
20705 tests/test_gicon.py | 3 ++-
20706 tests/test_gio.py | 3 ++-
20707 tests/test_gobject.py | 3 ++-
20708 tests/test_gresolver.py | 4 +--
20709 tests/test_gsocket.py | 4 ++-
20710 tests/test_interface.py | 6 ++++-
20711 tests/test_mainloop.py | 11 +++-----
20712 tests/test_signal.py | 4 ++-
20713 tests/test_source.py | 4 +--
20714 tests/test_subprocess.py | 5 +---
20715 tests/test_thread.py | 5 +++-
20716 tests/test_unknown.py | 5 +++-
20717 18 files changed, 82 insertions(+), 142 deletions(-)
20719 commit 82f4cb5ebf5d992493b7a2f74cfd5f175e19eb76
20720 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20721 Date: Thu Jul 29 12:34:19 2010 +0200
20723 Add some more transformations to pygi-convert.sh
20725 pygi-convert.sh | 37 +++++++++++++++++++++++++++++--------
20726 1 file changed, 29 insertions(+), 8 deletions(-)
20728 commit de519adcd21947a0aef7932cdecb78cef200c85e
20729 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20730 Date: Wed Jul 28 14:42:36 2010 +0200
20732 Adapt to API changes: g_irepository_enumerate_versions
20734 gi/importer.py | 2 +-
20735 gi/pygi-repository.c | 12 ++++++------
20736 2 files changed, 7 insertions(+), 7 deletions(-)
20738 commit 01cd9abb43f93f9a57a5a05b6dc9560614e666e3
20739 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20740 Date: Wed Jul 28 12:26:48 2010 +0200
20742 Add GValue<->GArgument marshalling for some more types
20744 gi/pygi-property.c | 37 ++++++++++++++++++++++++++++++++++++-
20745 1 file changed, 36 insertions(+), 1 deletion(-)
20747 commit ddffa70c3ee0e837070f390632bc692430f79171
20748 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20749 Date: Wed Jul 28 11:10:42 2010 +0200
20751 Chain up with the non-introspection implementation for properties
20754 gobject/pygobject.c | 7 ++++++-
20755 1 file changed, 6 insertions(+), 1 deletion(-)
20757 commit 045433a1f8167205dc8eae613dcb8835d02c8916
20758 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20759 Date: Wed Jul 28 10:59:49 2010 +0200
20761 Improve error reporting for missing attributes in introspection
20764 gi/module.py | 4 ++--
20765 1 file changed, 2 insertions(+), 2 deletions(-)
20767 commit 6655a79b2f13fe417aefdf6aebab0f2d6162ba00
20768 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20769 Date: Tue Jul 27 21:52:49 2010 +0200
20771 Implement getting and setting properties using introspection
20774 This allows us to use information not present in GObject such as
20775 transfer and element types.
20777 https://bugzilla.gnome.org/show_bug.cgi?id=620808
20779 gi/Makefile.am | 2 +
20780 gi/gimodule.c | 2 +
20781 gi/pygi-argument.c | 2 +
20782 gi/pygi-private.h | 1 +
20783 gi/pygi-property.c | 226
20784 +++++++++++++++++++++++++++++++++++++++++++++++
20785 gi/pygi-property.h | 39 ++++++++
20786 gi/pygi.h | 41 +++++++++
20787 gobject/pygobject.c | 9 ++
20788 tests/test_everything.py | 19 ++++
20789 9 files changed, 341 insertions(+)
20791 commit 85f4572b3ffbfa364ebb2e470eab759edc557b36
20792 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20793 Date: Tue Jul 27 21:32:41 2010 +0200
20795 Readd Gdk.Rectangle override for Gtk-2.0
20797 gi/overrides/Gdk.py | 19 +++++++++++++++++++
20798 1 file changed, 19 insertions(+)
20800 commit 2082ee35e2a33f52bf1e8ec49cb4a43398e91989
20801 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20802 Date: Tue Jul 27 18:25:27 2010 +0200
20804 Allow specifying a version when loading a typelib
20806 * gi/importer.py: Defer loading the typelib until first usage.
20807 * gi/module.py: Load the typelib in IntrospectionModule().
20808 * gi/overrides/*.py: Adapt to API change.
20809 * gi/pygi-repository.c: Add wrappers for g_irepository_enumerate and
20810 g_irepository_get_version.
20812 gi/importer.py | 26 ++++++-----------
20814 +++++++++++++++++++++++++-------------
20815 gi/overrides/GIMarshallingTests.py | 2 +-
20816 gi/overrides/Gdk.py | 2 +-
20817 gi/overrides/Gtk.py | 2 +-
20818 gi/pygi-repository.c | 56
20819 +++++++++++++++++++++++++++++++++++-
20820 6 files changed, 105 insertions(+), 41 deletions(-)
20822 commit 6d7ed6c322234c240b1063a1dfaadd17157432a9
20823 Author: Jonathan Matthew <jonathan@d14n.org>
20824 Date: Tue Jul 13 20:27:28 2010 +1000
20826 treat GFreeFunc as equivalent to GDestroyNotify when scanning
20829 https://bugzilla.gnome.org/show_bug.cgi?id=624232
20831 gi/pygi-callbacks.c | 3 ++-
20832 1 file changed, 2 insertions(+), 1 deletion(-)
20834 commit 7e9cbd5601ad548b78d106bac1a1576d33b91c65
20835 Author: Simon van der Linden <svdlinden@gnome.org>
20836 Date: Mon Jul 26 17:00:23 2010 +0200
20838 Don't use == to compare doubles, use <= and =>.
20840 This avoids inequality due to small precisions difference.
20842 https://bugzilla.gnome.org/show_bug.cgi?id=625326
20844 tests/testhelpermodule.c | 2 +-
20845 1 file changed, 1 insertion(+), 1 deletion(-)
20847 commit 5ca2a41f16f4a5fcc3ab4d00bec46b077c7eb384
20848 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20849 Date: Thu Jul 8 11:36:12 2010 +0200
20851 Allow passing ints as enum args
20853 https://bugzilla.gnome.org/show_bug.cgi?id=622584
20855 gi/pygi-argument.c | 23 +++++++++++++++++++++--
20856 tests/test_gi.py | 6 ++++--
20857 2 files changed, 25 insertions(+), 4 deletions(-)
20859 commit 890c3233f8a9f884b045a294bf0122bb3afcd54a
20860 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20861 Date: Sun Jul 25 17:30:40 2010 +0100
20863 Make error message less ambiguous
20865 https://bugzilla.gnome.org/show_bug.cgi?id=625095
20867 gi/pygi-callbacks.c | 3 ++-
20868 1 file changed, 2 insertions(+), 1 deletion(-)
20870 commit 1162e436273ff8e9e4e24bd8ba74615fd4624753
20871 Author: John (J5) Palmieri <johnp@redhat.com>
20872 Date: Thu Jun 24 10:07:12 2010 -0400
20874 fix passing in type names as a GType and add gtype unit tests
20876 * a simple call to pyg_type_from_object covers all the bases
20877 * added unit tests to check for correct GType value passing
20878 * fixed up tree override tests to also check different ways of
20881 https://bugzilla.gnome.org/show_bug.cgi?id=622605
20883 gi/pygi-argument.c | 8 +-------
20884 tests/test_everything.py | 27 +++++++++++++++++++++++++++
20885 tests/test_overrides.py | 6 ++----
20886 3 files changed, 30 insertions(+), 11 deletions(-)
20888 commit 8becd32fc042445d62b885bac12dac326b2dc1fa
20889 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20890 Date: Mon Jul 26 11:54:47 2010 +0200
20892 Increase a bit verbosity of tests so people know which test failed
20894 tests/runtests.py | 2 +-
20895 1 file changed, 1 insertion(+), 1 deletion(-)
20897 commit 3b3c63514f311592e6769a373d37a2bde7ea6b38
20898 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20899 Date: Thu Jul 15 15:17:53 2010 +0200
20901 Actually add the files for GVariant foreign structs
20903 gi/pygi-foreign-gvariant.c | 63
20904 ++++++++++++++++++++++++++++++++++++++++++++++
20905 gi/pygi-foreign-gvariant.h | 41 ++++++++++++++++++++++++++++++
20906 2 files changed, 104 insertions(+)
20908 commit e65275bc57f345c111eb12a6b4476ff1ddc3bc24
20909 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20910 Date: Thu Jul 15 13:31:33 2010 +0200
20912 Add foreign struct support for GVariant
20914 * gi/pygi-invoke.c: Wrap foreign structs returned by constructors
20915 * gi/pygi-foreign.c: Register foreign support for GVariant
20916 * gi/pygi-struct.c: properly release foreign structs
20917 * gi/pygi-argument.c, gi/pygi-foreign-cairo.c, gi/pygi.h: Adapt to
20919 * tests/test_everything.py: Add basic tests for GVariant
20921 https://bugzilla.gnome.org/show_bug.cgi?id=619501
20923 gi/Makefile.am | 2 +
20924 gi/pygi-argument.c | 2 +-
20925 gi/pygi-foreign-cairo.c | 16 +++----
20926 gi/pygi-foreign.c | 107
20927 +++++++++++++++++++++++++++++------------------
20928 gi/pygi-foreign.h | 7 ++--
20929 gi/pygi-invoke.c | 18 ++++----
20930 gi/pygi-struct.c | 10 ++++-
20932 tests/test_everything.py | 8 ++++
20933 9 files changed, 110 insertions(+), 69 deletions(-)
20935 commit 3b3bd4da3fbc993fa7f7cfb46ed4e67671c94cc0
20936 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20937 Date: Mon Jul 12 11:19:06 2010 +0200
20939 Add HACKING to MANIFEST.in
20942 1 file changed, 1 insertion(+), 1 deletion(-)
20944 commit 40bf08ff001b119c7daf709197005ef6480216c5
20945 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20946 Date: Mon Jul 12 11:18:04 2010 +0200
20948 Add HACKING file with instructions for releasing
20950 HACKING | 14 ++++++++++++++
20951 1 file changed, 14 insertions(+)
20953 commit 3b9dffe7cc3820dfb84fd968fc604899601c5dc4
20954 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20955 Date: Mon Jul 12 11:09:58 2010 +0200
20957 Post release version bump to 2.21.6
20959 configure.ac | 2 +-
20960 1 file changed, 1 insertion(+), 1 deletion(-)
20962 commit 42a5a0897b38156ae010c396ea254abf502f35de
20963 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20964 Date: Mon Jul 12 11:00:29 2010 +0200
20966 Update NEWS and release PyGObject-2.21.5
20968 NEWS | 17 +++++++++++++++++
20969 1 file changed, 17 insertions(+)
20971 commit 5857f25c1c6e25b79e6134558bd7151bc6c30ef7
20972 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20973 Date: Mon Jul 12 11:00:20 2010 +0200
20975 Pre-release version bump to 2.21.5
20977 configure.ac | 2 +-
20978 1 file changed, 1 insertion(+), 1 deletion(-)
20980 commit e500adc3ac19ef6f436809e5a8828ac7e8db28f6
20981 Author: Florian Müllner <florian.muellner@gmail.com>
20982 Date: Sat Jul 10 22:35:13 2010 +0200
20984 Shut up some compiler warnings
20986 Remove unused variables, make sure variables are properly initialized.
20988 https://bugzilla.gnome.org/show_bug.cgi?id=624066
20990 gi/pygi-callbacks.c | 1 -
20991 gi/pygi-closure.c | 2 +-
20992 gi/pygi-invoke.c | 1 -
20993 3 files changed, 1 insertion(+), 3 deletions(-)
20995 commit 2efa18afbcc2fac1c90958535b2f80e6e730ee56
20996 Author: =?UTF-8?q?Florian=20M=C3=BCllner?= <florian.muellner@gmail.com>
20997 Date: Mon Jul 12 10:31:42 2010 +0200
20999 Adjust to API break in GObject-Introspection
21001 As of commit 5cb925b20, many type_tags for standard C types have
21002 been removed - namely machine-dependent integer types and derived
21003 types (size_t, time_t).
21005 Most removals are just synonyms of other types, so their removal
21006 should not have too much impact, with the exception of time_t,
21007 which was translated to a native datetime object before.
21009 Also remove time_t tests (Tomeu Vizoso).
21011 https://bugzilla.gnome.org/show_bug.cgi?id=624065
21013 configure.ac | 2 +-
21014 gi/importer.py | 7 +--
21015 gi/pygi-argument.c | 146
21016 -----------------------------------------------------
21017 gi/pygi-closure.c | 10 ----
21018 gi/pygi-info.c | 37 --------------
21019 tests/test_gi.py | 21 --------
21020 6 files changed, 5 insertions(+), 218 deletions(-)
21022 commit 27a417c71f8c122e46c7472663bb25c17413f103
21023 Author: John (J5) Palmieri <johnp@redhat.com>
21024 Date: Thu Jul 8 16:01:25 2010 -0400
21026 pass in the demo app so demos can use utility methods like requesting
21029 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
21030 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
21031 demos/gtk-demo/demos/appwindow.py | 13 +++++++++++--
21032 demos/gtk-demo/demos/assistant.py | 2 +-
21033 demos/gtk-demo/demos/builder.py | 14 ++++++++++----
21034 demos/gtk-demo/demos/button_box.py | 2 +-
21035 demos/gtk-demo/demos/clipboard.py | 8 +-------
21036 demos/gtk-demo/demos/colorselector.py | 2 +-
21037 demos/gtk-demo/demos/combobox.py | 8 +++++---
21038 demos/gtk-demo/demos/drawingarea.py | 2 +-
21039 demos/gtk-demo/demos/test.py | 2 +-
21040 demos/gtk-demo/gtk-demo.py | 6 +++---
21041 12 files changed, 37 insertions(+), 26 deletions(-)
21043 commit e7daae919c2c6ae35d3927f0006252aacd49ea86
21044 Author: John (J5) Palmieri <johnp@redhat.com>
21045 Date: Thu Jul 8 15:38:07 2010 -0400
21047 demo fixes to keep up with Gtk+
21049 * treeiter changes to reflect caller-allocate annotations
21050 * fix some flag handling
21051 * use get_indicies_with_depth instead of get_indices for paths
21053 demos/gtk-demo/demos/appwindow.py | 10 +++++++---
21054 demos/gtk-demo/demos/combobox.py | 24 ++++++++++++------------
21055 demos/gtk-demo/gtk-demo.py | 13 +++++--------
21056 3 files changed, 24 insertions(+), 23 deletions(-)
21058 commit 3d9fd6391710cc33058394d6821e4d4e11f09b22
21059 Author: John (J5) Palmieri <johnp@redhat.com>
21060 Date: Thu Jul 8 12:54:43 2010 -0400
21062 override test fixes for new GTK+ annotations
21064 tests/test_overrides.py | 23 +++++++++++++----------
21065 1 file changed, 13 insertions(+), 10 deletions(-)
21067 commit 7a400f8139b70ddfe7c949035e0851689951c647
21068 Author: Ignacio Casal Quinteiro <icq@gnome.org>
21069 Date: Thu Jul 8 12:42:25 2010 +0200
21073 gi/pygi-argument.c | 4 ++--
21074 1 file changed, 2 insertions(+), 2 deletions(-)
21076 commit 39fd0a85a3de06b1b877d1125f91036409886373
21077 Author: John (J5) Palmieri <johnp@redhat.com>
21078 Date: Wed Jul 7 15:48:36 2010 -0400
21080 fix up treeiter usage due to caller-allocates annotations in gtk+
21082 * we still don't pass tests because the caller-allocates code path
21084 handle the case where the parameter is followed by a regular
21087 gi/overrides/Gtk.py | 7 +++----
21088 tests/test_overrides.py | 21 +++++++++++----------
21089 2 files changed, 14 insertions(+), 14 deletions(-)
21091 commit 4d970b75dc5c75c1bec04cb2954c9985b476070c
21092 Author: John (J5) Palmieri <johnp@redhat.com>
21093 Date: Tue Jul 6 17:50:10 2010 -0400
21095 add entry completion demo
21097 demos/gtk-demo/demos/Entry/entry_completion.py | 87
21098 ++++++++++++++++++++++++++
21099 1 file changed, 87 insertions(+)
21101 commit f3531eaa1bfa4e01651d35cd587384d30a398ba8
21102 Author: John (J5) Palmieri <johnp@redhat.com>
21103 Date: Tue Jul 6 17:49:18 2010 -0400
21107 demos/gtk-demo/demos/Entry/entry_buffer.py | 4 ++--
21108 1 file changed, 2 insertions(+), 2 deletions(-)
21110 commit baf1e9bb550c7bf45e2ac0b70ba29c434ef1ccc6
21111 Author: John (J5) Palmieri <johnp@redhat.com>
21112 Date: Tue Jul 6 17:27:04 2010 -0400
21114 add the Entry demo directory and the entry_buffer demo
21116 demos/gtk-demo/demos/Entry/__init__.py | 0
21117 demos/gtk-demo/demos/Entry/entry_buffer.py | 73
21118 ++++++++++++++++++++++++++++++
21119 2 files changed, 73 insertions(+)
21121 commit f2b1d222120f055bec9339cca55c9cc90f538c00
21122 Author: John (J5) Palmieri <johnp@redhat.com>
21123 Date: Tue Jul 6 17:26:03 2010 -0400
21125 fix loading of demo modules to support sub modules
21127 demos/gtk-demo/gtk-demo.py | 9 +++++++--
21128 1 file changed, 7 insertions(+), 2 deletions(-)
21130 commit 4f9390fb1892b13ab2ea00ed66c5000a40f09029
21131 Author: John (J5) Palmieri <johnp@redhat.com>
21132 Date: Tue Jul 6 15:56:34 2010 -0400
21134 add the ability to have demos in sub catagories
21136 demos/gtk-demo/gtk-demo.py | 76
21137 ++++++++++++++++++++++++++++++++--------------
21138 1 file changed, 54 insertions(+), 22 deletions(-)
21140 commit dc2249a3ecf339008351316217191d0551ccc588
21141 Author: Jose Aliste <jaliste@src.gnome.org>
21142 Date: Mon Jul 5 14:36:59 2010 -0400
21144 Add __name__ to DynamicModule class.
21149 1 file changed, 1 insertion(+)
21151 commit 2357bca8d14539894b6bd0acfdc18d30b4bb4db6
21152 Author: Ignacio Casal Quinteiro <icq@gnome.org>
21153 Date: Mon Jul 5 16:11:07 2010 +0200
21155 Do not override GdkRectangle.
21157 This class was lately removed from gtk+ 3, so there is no need
21161 gi/overrides/Gdk.py | 19 -------------------
21162 1 file changed, 19 deletions(-)
21164 commit daca09dc2c2306d4fa82a68bbdd147d4b170a1e7
21165 Author: Philip Withnall <philip.withnall@collabora.co.uk>
21166 Date: Tue Jun 29 16:37:36 2010 +0100
21168 Add override for TreeModel implementing __len__()
21172 gi/overrides/Gtk.py | 11 +++++++++--
21173 tests/test_overrides.py | 5 +++++
21174 2 files changed, 14 insertions(+), 2 deletions(-)
21176 commit bb8adb7f02f0c5494df2cb6e535e44d23902e8f5
21177 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21178 Date: Tue Jun 29 11:27:13 2010 +0200
21180 Update NEWS and release PyGObject-2.21.4
21182 NEWS | 27 +++++++++++++++++++++++++--
21183 1 file changed, 25 insertions(+), 2 deletions(-)
21185 commit 2d473ee17be4671244bb4a2a0953a21ccf2a0df6
21186 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21187 Date: Tue Jun 29 10:55:03 2010 +0200
21189 Remove files from the makefiles
21191 gi/Makefile.am | 4 +---
21192 gobject/Makefile.am | 3 +--
21193 2 files changed, 2 insertions(+), 5 deletions(-)
21195 commit 89827314fd183eac07443c8e9d275ca9d4ce59df
21196 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21197 Date: Tue Jun 29 10:27:39 2010 +0200
21199 Build the cairo shim as a python module so the _gi module stops
21202 https://bugzilla.gnome.org/show_bug.cgi?id=623021
21205 gi/Makefile.am | 38 ++++++++++-----
21206 gi/gimodule.c | 8 +---
21207 gi/pygi-argument.c | 10 +---
21208 gi/pygi-foreign-cairo.c | 56 ++++++++++++++++------
21209 gi/pygi-foreign-cairo.h | 55 ---------------------
21210 gi/pygi-foreign.c | 125
21211 ++++++++++++++++++++++++++++--------------------
21212 gi/pygi-foreign.h | 31 ++++++------
21213 gi/pygi.h | 40 ++++++++++++++--
21214 9 files changed, 196 insertions(+), 169 deletions(-)
21216 commit a6a90551311bc64f037cbd442e13f70c30060871
21217 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21218 Date: Mon Jun 28 14:20:43 2010 +0200
21220 Remove pygi-external.h
21222 https://bugzilla.gnome.org/show_bug.cgi?id=623021
21224 gi/gimodule.c | 8 +++---
21225 gi/pygi-type.c | 4 +--
21226 gi/pygi-type.h | 2 +-
21227 gi/pygi.h | 54 ++++++++++++++++-----------------------
21228 gobject/Makefile.am | 6 +++++
21229 gobject/pygboxed.c | 2 +-
21230 gobject/pygenum.c | 2 +-
21231 gobject/pygflags.c | 2 +-
21232 gobject/pygi-external.h | 67
21233 -------------------------------------------------
21234 gobject/pygobject.c | 2 +-
21235 gobject/pygpointer.c | 2 +-
21236 11 files changed, 40 insertions(+), 111 deletions(-)
21238 commit 8b3a3baacb45cb3f9112f7597607602fa89c6634
21239 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21240 Date: Fri Jun 25 13:54:57 2010 +0200
21242 Revert "correctly handle floating objects in gtk"
21244 This reverts commit 60fdf4b8f738dd0f5c190bc18ddf010032d3c5ca.
21249 tests/test_everything.py
21251 gi/gimodule.c | 13 -------------
21252 tests/test_everything.py | 3 ++-
21253 2 files changed, 2 insertions(+), 14 deletions(-)
21255 commit 0f2a09d7eae63abb71723b7cd8fb290dcba33426
21256 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21257 Date: Fri Jun 25 13:49:04 2010 +0200
21259 Make valgrind happy again
21261 * gi/pygi-argument.c, gi/pygi-info.c: Zero two GArgument instances.
21262 * gi/pygi-invoke.c: workaround bgo#622711 and zero invocation_state.
21264 gi/pygi-argument.c | 1 +
21265 gi/pygi-info.c | 2 ++
21266 gi/pygi-invoke.c | 8 ++++++--
21267 3 files changed, 9 insertions(+), 2 deletions(-)
21269 commit 63afe55906c8637e913783e65b82b540b81bed65
21270 Author: John (J5) Palmieri <johnp@redhat.com>
21271 Date: Thu Jun 24 16:13:37 2010 -0400
21273 add drawing area demo
21275 demos/gtk-demo/demos/drawingarea.py | 249
21276 ++++++++++++++++++++++++++++++++++++
21277 1 file changed, 249 insertions(+)
21279 commit 8bba5f842393a284367cdd15f3d32a8c7745516a
21280 Author: John (J5) Palmieri <johnp@redhat.com>
21281 Date: Thu Jun 24 14:11:00 2010 -0400
21285 demos/gtk-demo/gtk-demo.py | 2 ++
21286 1 file changed, 2 insertions(+)
21288 commit b9da82742701ed276b01dee39626cd71cbef8556
21289 Author: John (J5) Palmieri <johnp@redhat.com>
21290 Date: Thu Jun 24 13:56:18 2010 -0400
21292 rename iter to treeiter so we aren't using a python reserved word
21294 demos/gtk-demo/gtk-demo.py | 12 ++++++------
21295 1 file changed, 6 insertions(+), 6 deletions(-)
21297 commit c93935621f2fb1ff5e8c424ae884bd684ea68e50
21298 Author: John (J5) Palmieri <johnp@redhat.com>
21299 Date: Thu Jun 24 13:47:54 2010 -0400
21301 Fixup for change in buffer API
21303 * Part of buffer API dealing with TextIter now marked (out
21306 demos/gtk-demo/gtk-demo.py | 10 ++++------
21307 1 file changed, 4 insertions(+), 6 deletions(-)
21309 commit 8d9516a593a515290109401a9db7aa259b5aa35c
21310 Author: John (J5) Palmieri <johnp@redhat.com>
21311 Date: Wed Jun 23 17:04:33 2010 -0400
21313 add ListStore, TreeStore and TreeViewColumn APIs
21315 * this is enough to support the gtk-demo.py shell
21316 * TreeStore and ListStore allow passing in as an argument list
21317 of either python or GLib types to the constructor as a description
21318 of the columns in the model
21319 * TreeStore and ListStore override the append method, allowing
21320 the application developer to send in a list of column values
21321 for one row in the model. Unlike the append in C which
21322 just returns an iter that you can then add data to,
21323 this append actualy appends data in one step
21324 * TreeViewColumn overrides the constructor to allow the adding
21325 of attributes and a cell renderer when constructing the
21328 https://bugzilla.gnome.org/show_bug.cgi?id=620405
21330 gi/overrides/Gtk.py | 59 ++++++++++++++++++++++++++++++++++++++++++
21331 tests/test_overrides.py | 69
21332 +++++++++++++++++++++++++++++++++++++++++++++++++
21333 2 files changed, 128 insertions(+)
21335 commit c305fbeb7bdb44623d5198f4a8f0a374d529fdf4
21336 Author: Johan Dahlin <johan@gnome.org>
21337 Date: Wed Jun 23 14:34:28 2010 -0300
21339 [gi] Add -I../gobject to cflags
21341 Since we're no longer pulling in pygobject cflags,
21342 add this to be able to include pygobject.h
21344 gi/Makefile.am | 3 +++
21345 1 file changed, 3 insertions(+)
21347 commit 53a093198851e3ba5abd1f6c3314737decd401d8
21348 Author: Ignacio Casal Quinteiro <icq@gnome.org>
21349 Date: Wed Jun 23 18:09:19 2010 +0200
21351 Add unit test for add_actions user data.
21353 tests/test_overrides.py | 20 +++++++++++++++-----
21354 1 file changed, 15 insertions(+), 5 deletions(-)
21356 commit 7f829af620cba768de619dd9f228d5d2ebf7fee4
21357 Author: Paolo Borelli <pborelli@gnome.org>
21358 Date: Wed Jun 23 18:06:46 2010 +0200
21360 Pass user_data param when adding actions
21362 gi/overrides/Gtk.py | 12 ++++++------
21363 1 file changed, 6 insertions(+), 6 deletions(-)
21365 commit 8f537ccd62f41ebe0db3853e2ae08080666f598f
21366 Author: John (J5) Palmieri <johnp@redhat.com>
21367 Date: Wed Jun 23 12:02:04 2010 -0400
21369 add an exception type to the try/except block
21371 * we should always specify what exception types we are expecting
21373 gi/overrides/Gtk.py | 6 +++---
21374 1 file changed, 3 insertions(+), 3 deletions(-)
21376 commit f140a8ebf59347162b67b550bd6f62d2eafad29a
21377 Author: Johan Dahlin <johan@gnome.org>
21378 Date: Wed Jun 23 12:31:51 2010 -0300
21380 Avoid duplicating required versions
21382 Avoid duplicating the version of all required packages.
21383 Also remove cyclic dependency of pygobject
21385 https://bugzilla.gnome.org/show_bug.cgi?id=622503
21387 configure.ac | 9 +++++----
21388 1 file changed, 5 insertions(+), 4 deletions(-)
21390 commit e8bd25355fbe7de38a28b7a0583167a2c0ffc31f
21391 Author: John (J5) Palmieri <johnp@redhat.com>
21392 Date: Tue Jun 22 15:03:08 2010 -0400
21394 return PyList instead of PyTuple for array, return empty list for
21397 * returns an empty list when a NULL array (empty array) is encountered
21398 * fix tests to check for lists instead of tuples or None
21399 * test the ability to send in both None and empty list for arrays
21402 gi/pygi-argument.c | 7 ++--
21403 tests/test_everything.py | 5 ++-
21404 tests/test_gi.py | 84
21405 ++++++++++++++++++++++++------------------------
21406 3 files changed, 49 insertions(+), 47 deletions(-)
21408 commit f312e6a49505eca07815146cfbdb0e48e5b3b8a8
21409 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21410 Date: Wed Jun 23 15:42:29 2010 +0200
21412 Fix 'make distcheck'
21414 * Makefile.am: put the tests dir to the end
21415 * g*/Makefile.am: build the .so when running make check
21416 * tests/Makefile.am: Don't pass the src dir to runtests.py and
21417 remove (hopefully) unneeded cruft.
21418 * tests/common.py: Don't add the src dir to the python path
21419 * tests/runtests.py: Don't pass the src dir to common.py
21421 Makefile.am | 4 +++-
21422 gi/Makefile.am | 1 +
21423 gio/Makefile.am | 1 +
21424 glib/Makefile.am | 2 +-
21425 gobject/Makefile.am | 1 +
21426 tests/Makefile.am | 17 ++---------------
21427 tests/common.py | 3 +--
21428 tests/runtests.py | 12 +++++-------
21429 8 files changed, 15 insertions(+), 26 deletions(-)
21431 commit 5f82e7d2909cbbbecbf5dbee2342f516c0d1f371
21432 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21433 Date: Wed Jun 23 13:59:14 2010 +0200
21435 Allow building pygobject without introspection support by providing
21436 --disable-introspection to configure.
21438 Makefile.am | 6 +++++-
21439 configure.ac | 15 ++++++++-------
21440 gobject/pygi-external.h | 4 ++--
21441 tests/Makefile.am | 8 ++++++--
21442 tests/runtests.py | 21 +++++++--------------
21443 5 files changed, 28 insertions(+), 26 deletions(-)
21445 commit cc3ea77318ee572673d2a044deca9001366b0f08
21446 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21447 Date: Wed Jun 23 12:26:51 2010 +0200
21449 Make sure that sys.argv is a list and not a sequence.
21451 Because Python's optparse will try to do things on it that can
21452 only be done with list.
21454 gi/overrides/Gtk.py | 2 +-
21455 1 file changed, 1 insertion(+), 1 deletion(-)
21457 commit 3d72b8248cc534a689dee5679a729b2fba56c528
21458 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21459 Date: Wed Jun 23 12:26:02 2010 +0200
21461 Force loading the GObject typelib so we have available the wrappers
21462 for base classes such as GInitiallyUnowned.
21464 gi/__init__.py | 3 +++
21465 1 file changed, 3 insertions(+)
21467 commit c7c94ef349c30597f2f10d90f74718d678ec7add
21468 Author: John (J5) Palmieri <johnp@redhat.com>
21469 Date: Tue Jun 22 14:45:48 2010 -0400
21471 we shouldn't g_array_free NULL pointers
21473 https://bugzilla.gnome.org/show_bug.cgi?id=622425
21475 gi/pygi-info.c | 5 +++--
21476 1 file changed, 3 insertions(+), 2 deletions(-)
21478 commit fb1ee243493616d7a7e4f6924c574db39f5a423d
21479 Merge: acf7b43 5f9cb91
21480 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21481 Date: Wed Jun 23 12:53:05 2010 +0200
21483 Merge branch 'pygi'
21485 commit 5f9cb91c2b3851056d5e2d7ff1401d4ce2be7c1f
21486 Author: John (J5) Palmieri <johnp@redhat.com>
21487 Date: Tue Jun 22 15:39:46 2010 -0400
21489 remove unneeded TextIter creation in the tests
21491 tests/test_overrides.py | 3 ---
21492 1 file changed, 3 deletions(-)
21494 commit 53c355d2cc0894e7f551e9b4eb719b89188a978e
21495 Author: John (J5) Palmieri <johnp@redhat.com>
21496 Date: Mon Jun 21 11:42:12 2010 -0400
21498 add override for TextBuffer
21500 * TextBuffer.create_tag takes vargs which we can't bind yet so
21502 to except a keyword list of properties
21503 * override the insert* methods so the developer does not have to
21505 - lengths are already encapsulated by a string in Python
21507 https://bugzilla.gnome.org/show_bug.cgi?id=620583
21509 gi/overrides/Gtk.py | 51
21510 +++++++++++++++++++++++++++++++++++++++++++++++++
21511 tests/test_overrides.py | 25 ++++++++++++++++++++++++
21512 2 files changed, 76 insertions(+)
21514 commit 1d89a88b212c7411ad28e74eda80ae751de92e50
21515 Author: John (J5) Palmieri <johnp@redhat.com>
21516 Date: Tue Jun 22 12:46:39 2010 -0400
21518 fix up some build issues
21520 * configure.ac: moved AM_PROG_CC_C_O below AM_PROG_CC_STDC because
21522 was complaining that AM_PROG_CC_STDC can't come after AM_PROC_CC_C_0
21523 * tests/Makefile.am: fix check-local target to use EXEC_NAME so
21525 make check.gdb work
21527 configure.ac | 2 +-
21528 tests/Makefile.am | 2 +-
21529 2 files changed, 2 insertions(+), 2 deletions(-)
21531 commit 4fe0d94c219deb69a2309693202309c53a0e5e69
21532 Author: John (J5) Palmieri <johnp@redhat.com>
21533 Date: Tue Jun 22 11:50:30 2010 -0400
21535 make the overrides file git friendly by appending to __all__ after
21538 * modifying the __all__ line for each override would confuse git as
21539 each override needs to get seperate approval before comitting.
21541 this commits would not always go in in the same order as they
21543 Also different people working on the same file would start from
21545 commit states. This caused conflicts when patches were merged.
21546 * instead of modifying a single hard coded list we now append to
21548 after each override. This creates distinct blocks of changed text
21549 which will not conflict
21551 gi/overrides/GIMarshallingTests.py | 10 ++++------
21552 gi/overrides/Gdk.py | 8 ++++----
21553 gi/overrides/Gtk.py | 7 +++++--
21554 3 files changed, 13 insertions(+), 12 deletions(-)
21556 commit 49321b934603e1ec69fb04082c63902970907d2b
21557 Author: Paolo Borelli <pborelli@gnome.org>
21558 Date: Sun Jun 20 13:27:34 2010 +0200
21560 Override Dialog constructor and add_buttons method
21562 gi/overrides/Gtk.py | 46
21563 +++++++++++++++++++++++++++++++++++++++++++++-
21564 tests/test_overrides.py | 16 ++++++++++++++++
21565 2 files changed, 61 insertions(+), 1 deletion(-)
21567 commit acf7b43a41ce814f0c57ce609a090826f04771db
21568 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21569 Date: Mon Jun 21 18:17:38 2010 +0200
21571 Post release version bump to 2.21.4
21573 configure.ac | 2 +-
21574 1 file changed, 1 insertion(+), 1 deletion(-)
21576 commit a7fa8b80406227a06cf18f8675dbc1f471283829
21577 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21578 Date: Mon Jun 21 18:10:32 2010 +0200
21580 Update NEWS and release PyGObject-2.21.3
21583 1 file changed, 7 insertions(+)
21585 commit 79acac7b86ec52cd3681d94d7f116314c3f00167
21586 Author: Ludovic L'Hours <ludovic.lhours@gmail.com>
21587 Date: Tue Jul 21 16:28:34 2009 +0200
21589 Proper handling of null-ok in virtual methods
21591 https://bugzilla.gnome.org/show_bug.cgi?id=589253
21593 codegen/codegen.py | 2 ++
21594 codegen/reversewrapper.py | 18 +++++++++++++++---
21595 2 files changed, 17 insertions(+), 3 deletions(-)
21597 commit 259a4b08f009aa01451caed20dbb6e68b402da2a
21598 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21599 Date: Mon Jun 21 17:34:54 2010 +0200
21601 Add *~ and *.orig to .gitignore
21603 .gitignore | 5 ++++-
21604 1 file changed, 4 insertions(+), 1 deletion(-)
21606 commit 00a85f6a844714d1715e2f67431747d1a4cdacb1
21607 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21608 Date: Mon Jun 21 17:33:56 2010 +0200
21610 Fall back to use the floating references API in glib if there isn't
21611 a sinkfunc defined.
21613 * tests/*: Add ref counting tests for floating objects
21614 * gobject/gobjectmodule.c, gobject/pygobject.c: Fall back to
21616 or g_object_ref if there isn't a sinkfunc defined. Make sure that
21617 pygobject_sink gets called only once per GObject instance.
21619 https://bugzilla.gnome.org/show_bug.cgi?id=583909
21621 gobject/gobjectmodule.c | 2 -
21622 gobject/pygobject.c | 50 +++++++++++++---------
21623 gobject/pygobject.h | 1 +
21624 tests/Makefile.am | 2 +
21625 tests/test-floating.c | 95 +++++++++++++++++++++++++++++++++++++++++
21626 tests/test-floating.h | 60 ++++++++++++++++++++++++++
21627 tests/test_gobject.py | 19 ++++++++-
21628 tests/testhelpermodule.c | 109
21629 +++++++++++++++++++++++++++++++++++++++++++++++
21630 8 files changed, 315 insertions(+), 23 deletions(-)
21632 commit e71238a699ae783fd1a59c8a76e3555d8066cf82
21633 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21634 Date: Mon Jun 21 13:06:13 2010 +0200
21636 Revert "Drop sinkfuncs."
21638 This reverts commit 04627488220b4f2a16e11f8982af7866fea9f7eb.
21640 gobject/gobjectmodule.c | 3 ++-
21641 gobject/pygobject.c | 42 ++++++++++++++++++++++++++++++++++--------
21642 gobject/pygobject.h | 1 -
21643 3 files changed, 36 insertions(+), 10 deletions(-)
21645 commit b2661054d6bde673484eab472e69ca021124528d
21646 Author: Johan Dahlin <johan@gnome.org>
21647 Date: Sun Jun 20 11:09:57 2010 -0300
21651 For reasons outlined at:
21652 http://mail.gnome.org/archives/python-hackers-list/2010-June/msg00009.html
21654 Makefile.am | 14 +-
21655 configure.ac | 29 +-
21656 demos/gtk-demo/demos/__init__.py | 0
21657 demos/gtk-demo/demos/appwindow.py | 411 +++++
21658 demos/gtk-demo/demos/assistant.py | 134 ++
21659 demos/gtk-demo/demos/builder.py | 57 +
21660 demos/gtk-demo/demos/button_box.py | 121 ++
21661 demos/gtk-demo/demos/clipboard.py | 238 +++
21662 demos/gtk-demo/demos/colorselector.py | 121 ++
21663 demos/gtk-demo/demos/combobox.py | 282 ++++
21664 demos/gtk-demo/demos/data/alphatest.png | Bin 0 ->
21666 demos/gtk-demo/demos/data/apple-red.png | Bin 0 -> 3545 bytes
21667 demos/gtk-demo/demos/data/background.jpg | Bin 0 ->
21669 demos/gtk-demo/demos/data/demo.ui | 258 ++++
21670 demos/gtk-demo/demos/data/floppybuddy.gif | Bin 0 -> 5216 bytes
21671 demos/gtk-demo/demos/data/gnome-applets.png | Bin 0 -> 3090 bytes
21672 demos/gtk-demo/demos/data/gnome-calendar.png | Bin 0 -> 2755 bytes
21673 demos/gtk-demo/demos/data/gnome-foot.png | Bin 0 -> 2916 bytes
21674 demos/gtk-demo/demos/data/gnome-fs-directory.png | Bin 0 -> 2044 bytes
21675 demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 0 -> 1795 bytes
21676 demos/gtk-demo/demos/data/gnome-gimp.png | Bin 0 -> 3410 bytes
21677 demos/gtk-demo/demos/data/gnome-gmush.png | Bin 0 -> 3244 bytes
21678 demos/gtk-demo/demos/data/gnome-gsame.png | Bin 0 -> 4263 bytes
21679 demos/gtk-demo/demos/data/gnu-keys.png | Bin 0 -> 3852 bytes
21680 demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 0 -> 6427 bytes
21681 demos/gtk-demo/demos/test.py | 14 +
21682 demos/gtk-demo/gtk-demo.py | 266 ++++
21683 examples/Makefile.am | 2 +-
21684 examples/cairo-demo.py | 121 ++
21685 gi/Makefile.am | 4 +-
21686 gi/demos/gtk-demo/demos/__init__.py | 0
21687 gi/demos/gtk-demo/demos/appwindow.py | 411 -----
21688 gi/demos/gtk-demo/demos/assistant.py | 134 --
21689 gi/demos/gtk-demo/demos/builder.py | 57 -
21690 gi/demos/gtk-demo/demos/button_box.py | 121 --
21691 gi/demos/gtk-demo/demos/clipboard.py | 238 ---
21692 gi/demos/gtk-demo/demos/colorselector.py | 121 --
21693 gi/demos/gtk-demo/demos/combobox.py | 282 ----
21694 gi/demos/gtk-demo/demos/data/alphatest.png | Bin 26529 ->
21696 gi/demos/gtk-demo/demos/data/apple-red.png | Bin 3545 -> 0 bytes
21697 gi/demos/gtk-demo/demos/data/background.jpg | Bin 22219 ->
21699 gi/demos/gtk-demo/demos/data/demo.ui | 258 ----
21700 gi/demos/gtk-demo/demos/data/floppybuddy.gif | Bin 5216 -> 0 bytes
21701 gi/demos/gtk-demo/demos/data/gnome-applets.png | Bin 3090 -> 0 bytes
21702 gi/demos/gtk-demo/demos/data/gnome-calendar.png | Bin 2755 -> 0 bytes
21703 gi/demos/gtk-demo/demos/data/gnome-foot.png | Bin 2916 -> 0 bytes
21704 .../gtk-demo/demos/data/gnome-fs-directory.png | Bin 2044 -> 0 bytes
21705 gi/demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 1795 -> 0 bytes
21706 gi/demos/gtk-demo/demos/data/gnome-gimp.png | Bin 3410 -> 0 bytes
21707 gi/demos/gtk-demo/demos/data/gnome-gmush.png | Bin 3244 -> 0 bytes
21708 gi/demos/gtk-demo/demos/data/gnome-gsame.png | Bin 4263 -> 0 bytes
21709 gi/demos/gtk-demo/demos/data/gnu-keys.png | Bin 3852 -> 0 bytes
21710 gi/demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 6427 -> 0 bytes
21711 gi/demos/gtk-demo/demos/test.py | 14 -
21712 gi/demos/gtk-demo/gtk-demo.py | 266 ----
21713 gi/examples/Makefile.am | 2 -
21714 gi/examples/cairo-demo.py | 121 --
21715 gi/tests/test_everything.py | 270 ----
21716 gi/tests/test_gi.py | 1624
21717 --------------------
21718 gi/tests/test_overrides.py | 132 --
21719 pygi-Makefile.am | 28 -
21720 pygi-configure.ac | 60 -
21722 pygobject.doap | 16 +-
21723 tests/Makefile.am | 23 +-
21724 tests/test_everything.py | 270 ++++
21725 tests/test_gi.py | 1624
21726 ++++++++++++++++++++
21727 tests/test_overrides.py | 132 ++
21728 68 files changed, 4124 insertions(+), 4186 deletions(-)
21730 commit 597bd64319d7966045b5b8613ca6fc85668c3f56
21731 Merge: ec8d148 fa91dfd
21732 Author: Johan Dahlin <johan@gnome.org>
21733 Date: Sun Jun 20 10:53:46 2010 -0300
21735 Merge branch 'pygi-merge'
21737 commit fa91dfd3ec79ecd03c9fb59b9363eab4a5b3ff2b
21738 Author: Johan Dahlin <johan@gnome.org>
21739 Date: Sun Jun 20 10:53:36 2010 -0300
21746 autogen.sh | 166 --
21747 configure.ac | 60 -
21748 demos/gtk-demo/demos/__init__.py | 0
21749 demos/gtk-demo/demos/appwindow.py | 411 -----
21750 demos/gtk-demo/demos/assistant.py | 134 --
21751 demos/gtk-demo/demos/builder.py | 57 -
21752 demos/gtk-demo/demos/button_box.py | 121 --
21753 demos/gtk-demo/demos/clipboard.py | 238 ---
21754 demos/gtk-demo/demos/colorselector.py | 121 --
21755 demos/gtk-demo/demos/combobox.py | 282 ----
21756 demos/gtk-demo/demos/data/alphatest.png | Bin 26529 ->
21758 demos/gtk-demo/demos/data/apple-red.png | Bin 3545 -> 0 bytes
21759 demos/gtk-demo/demos/data/background.jpg | Bin 22219 ->
21761 demos/gtk-demo/demos/data/demo.ui | 258 ----
21762 demos/gtk-demo/demos/data/floppybuddy.gif | Bin 5216 -> 0 bytes
21763 demos/gtk-demo/demos/data/gnome-applets.png | Bin 3090 -> 0 bytes
21764 demos/gtk-demo/demos/data/gnome-calendar.png | Bin 2755 -> 0 bytes
21765 demos/gtk-demo/demos/data/gnome-foot.png | Bin 2916 -> 0 bytes
21766 demos/gtk-demo/demos/data/gnome-fs-directory.png | Bin 2044 -> 0 bytes
21767 demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 1795 -> 0 bytes
21768 demos/gtk-demo/demos/data/gnome-gimp.png | Bin 3410 -> 0 bytes
21769 demos/gtk-demo/demos/data/gnome-gmush.png | Bin 3244 -> 0 bytes
21770 demos/gtk-demo/demos/data/gnome-gsame.png | Bin 4263 -> 0 bytes
21771 demos/gtk-demo/demos/data/gnu-keys.png | Bin 3852 -> 0 bytes
21772 demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 6427 -> 0 bytes
21773 demos/gtk-demo/demos/test.py | 14 -
21774 demos/gtk-demo/gtk-demo.py | 266 ----
21775 examples/Makefile.am | 2 -
21776 examples/cairo-demo.py | 121 --
21777 gi/.gitignore | 40 +
21779 gi/demos/gtk-demo/demos/__init__.py | 0
21780 gi/demos/gtk-demo/demos/appwindow.py | 411 +++++
21781 gi/demos/gtk-demo/demos/assistant.py | 134 ++
21782 gi/demos/gtk-demo/demos/builder.py | 57 +
21783 gi/demos/gtk-demo/demos/button_box.py | 121 ++
21784 gi/demos/gtk-demo/demos/clipboard.py | 238 +++
21785 gi/demos/gtk-demo/demos/colorselector.py | 121 ++
21786 gi/demos/gtk-demo/demos/combobox.py | 282 ++++
21787 gi/demos/gtk-demo/demos/data/alphatest.png | Bin 0 ->
21789 gi/demos/gtk-demo/demos/data/apple-red.png | Bin 0 -> 3545 bytes
21790 gi/demos/gtk-demo/demos/data/background.jpg | Bin 0 ->
21792 gi/demos/gtk-demo/demos/data/demo.ui | 258 ++++
21793 gi/demos/gtk-demo/demos/data/floppybuddy.gif | Bin 0 -> 5216 bytes
21794 gi/demos/gtk-demo/demos/data/gnome-applets.png | Bin 0 -> 3090 bytes
21795 gi/demos/gtk-demo/demos/data/gnome-calendar.png | Bin 0 -> 2755 bytes
21796 gi/demos/gtk-demo/demos/data/gnome-foot.png | Bin 0 -> 2916 bytes
21797 .../gtk-demo/demos/data/gnome-fs-directory.png | Bin 0 -> 2044 bytes
21798 gi/demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 0 -> 1795 bytes
21799 gi/demos/gtk-demo/demos/data/gnome-gimp.png | Bin 0 -> 3410 bytes
21800 gi/demos/gtk-demo/demos/data/gnome-gmush.png | Bin 0 -> 3244 bytes
21801 gi/demos/gtk-demo/demos/data/gnome-gsame.png | Bin 0 -> 4263 bytes
21802 gi/demos/gtk-demo/demos/data/gnu-keys.png | Bin 0 -> 3852 bytes
21803 gi/demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 0 -> 6427 bytes
21804 gi/demos/gtk-demo/demos/test.py | 14 +
21805 gi/demos/gtk-demo/gtk-demo.py | 266 ++++
21806 gi/examples/Makefile.am | 2 +
21807 gi/examples/cairo-demo.py | 121 ++
21808 gi/tests/Makefile.am | 22 +
21809 gi/tests/runtests.py | 21 +
21810 gi/tests/test_everything.py | 270 ++++
21811 gi/tests/test_gi.py | 1624
21812 ++++++++++++++++++++
21813 gi/tests/test_overrides.py | 132 ++
21814 pygi-Makefile.am | 28 +
21815 pygi-configure.ac | 60 +
21816 tests/Makefile.am | 22 -
21817 tests/runtests.py | 21 -
21818 tests/test_everything.py | 270 ----
21819 tests/test_gi.py | 1624
21820 --------------------
21821 tests/test_overrides.py | 132 --
21822 73 files changed, 4248 insertions(+), 4414 deletions(-)
21824 commit ec8d148eccbb3714093f21b595ea77ae4c7c3bce
21825 Author: Johan Dahlin <johan@gnome.org>
21826 Date: Sun Jun 20 10:49:55 2010 -0300
21828 [giounix] Make it possible to compile on glib 2.20
21830 gio/unix.override | 2 ++
21831 1 file changed, 2 insertions(+)
21833 commit 606018a2c551d890fc2bb987d99683f777598bda
21834 Author: John (J5) Palmieri <johnp@redhat.com>
21835 Date: Mon Jun 7 16:32:29 2010 -0400
21837 Don't free transfer full struct pointers because we can't do it safely
21839 * Most libraries which are sending back structs as transfer-full
21840 are either annotated incorrectly or should be sending boxed types
21841 * It is much better to throw a warning and leak memory than it is to
21842 call free on an unknown struct pointer. Doing so may cause
21844 * Specific case is gdk_atom_intern where a GdkAtom is not actually
21846 but an integer stuffed into a pointer type
21848 https://bugzilla.gnome.org/show_bug.cgi?id=620898
21850 gi/pygi-argument.c | 9 ++++++++-
21851 gi/pygi-invoke.c | 11 +++++++++--
21852 2 files changed, 17 insertions(+), 3 deletions(-)
21854 commit 433ee2aa029a1482961f478252a06492bd3498e6
21855 Author: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
21856 Date: Tue Jun 15 11:42:28 2010 +0200
21858 Release the lock when potentially invoking Python code.
21860 * gobject/pygobject.c: Release GIL lock when retrieving properties
21861 and when clearing a PyGObject.
21863 https://bugzilla.gnome.org/show_bug.cgi?id=530935
21865 gobject/pygobject.c | 11 ++++++++++-
21866 1 file changed, 10 insertions(+), 1 deletion(-)
21868 commit aa1e82c7eb87620bd73e1edb486f5b9e0d49aa96
21869 Author: John (J5) Palmieri <johnp@redhat.com>
21870 Date: Mon Jun 14 18:36:57 2010 -0400
21872 add combobox example
21874 demos/gtk-demo/demos/combobox.py | 282
21875 +++++++++++++++++++++++++++++++++++++++
21876 1 file changed, 282 insertions(+)
21878 commit a8668694da59c2dd959c875f13337e64ca22f7e9
21879 Author: John (J5) Palmieri <johnp@redhat.com>
21880 Date: Mon Jun 14 13:43:53 2010 -0400
21882 fix leak in the allow None callbacks patch
21884 gi/pygi-callbacks.c | 4 ++--
21885 1 file changed, 2 insertions(+), 2 deletions(-)
21887 commit 729072e73d65e7fd5b5197ebe5a8c53a449d0ec0
21888 Author: John (J5) Palmieri <johnp@redhat.com>
21889 Date: Mon Jun 7 17:12:09 2010 -0400
21891 Allow passing None for callbacks which are annotated allow-none
21893 * Many callbacks are optional parameters yet we were asserting on
21895 * We now check to see if allow_none is set when setting up callbacks,
21896 if it is set and py_function == Py_None, we set the closure to NULL
21898 * pygi-invoke.c now checks to see if the closure == NULL when setting
21900 * if it is NULL there is no reason to set the the destroy notify
21902 so we skip that too
21904 https://bugzilla.gnome.org/show_bug.cgi?id=620906
21906 gi/pygi-callbacks.c | 7 +++++++
21907 gi/pygi-invoke.c | 14 +++++++++++---
21908 tests/test_everything.py | 4 ++++
21909 3 files changed, 22 insertions(+), 3 deletions(-)
21911 commit a3eb5c7de5836c37aa7ae01dbe98996ec2632c17
21912 Author: Paolo Borelli <pborelli@gnome.org>
21913 Date: Mon Jun 14 19:06:45 2010 +0200
21915 Fix to match latest gtk annotations
21917 demos/gtk-demo/demos/appwindow.py | 3 +--
21918 1 file changed, 1 insertion(+), 2 deletions(-)
21920 commit 6306dd73cc74aa9202569eac0eaaa5f825c8dc59
21921 Author: John (J5) Palmieri <johnp@redhat.com>
21922 Date: Tue Jun 8 15:03:49 2010 -0400
21924 fix variable member names in Gdk.Color override
21926 * override was using r, g, and b for the red, green, blue components
21928 the struct specifies red, green, blue so we need to use those names
21930 https://bugzilla.gnome.org/show_bug.cgi?id=621007
21932 gi/overrides/Gdk.py | 10 +++++-----
21933 tests/test_overrides.py | 6 +++---
21934 2 files changed, 8 insertions(+), 8 deletions(-)
21936 commit d182630e1128fef6f1c2aea28ccd8da4bddd2c8f
21937 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21938 Date: Thu Jun 10 20:23:13 2010 +0200
21940 Post release version bump to 2.21.3
21942 configure.ac | 2 +-
21943 1 file changed, 1 insertion(+), 1 deletion(-)
21945 commit c4e64d5d264593051b9a3131e4985a58e8e76f8b
21946 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21947 Date: Thu Jun 10 20:21:13 2010 +0200
21949 Update NEWS and release PyGObject-2.21.2
21951 NEWS | 26 ++++++++++++++++++++++++++
21952 1 file changed, 26 insertions(+)
21954 commit e0fe844d5fe8f7e26316f197444fd4143ed36adf
21955 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21956 Date: Thu Jun 10 20:09:07 2010 +0200
21958 Remove deleted files from the Makefile.
21965 tests/Makefile.am | 4 ----
21966 1 file changed, 4 deletions(-)
21968 commit 495a301cb81c5e914bcef905999265604faa27fc
21969 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21970 Date: Thu Jun 10 19:39:09 2010 +0200
21972 Add myself to the maintainers list in the README
21975 1 file changed, 1 insertion(+)
21977 commit 04627488220b4f2a16e11f8982af7866fea9f7eb
21978 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21979 Date: Thu Jun 10 19:24:31 2010 +0200
21983 * use g_object methods to sink floating refs instead of allowing
21984 custom sink functions to be registered
21985 * we now sink inside of pygobject_new_full to handle cases where
21986 a library creates its own gobject via g_object_new and just
21987 needs a python wrapper
21988 - a previous patch had done the sink when creating the gobject,
21989 since it needs to call pygobject_new_full to wrap the object,
21990 this patch handles both cases (e.g. pygobject created object
21991 and externally created gobject)
21993 https://bugzilla.gnome.org/show_bug.cgi?id=583909
21995 gobject/gobjectmodule.c | 3 +--
21996 gobject/pygobject.c | 42 ++++++++----------------------------------
21997 gobject/pygobject.h | 1 +
21998 3 files changed, 10 insertions(+), 36 deletions(-)
22000 commit 07df124dc06cf506634e95d08397f50a2d07fce2
22001 Author: Steve Frécinaux <code@istique.net>
22002 Date: Mon Jun 7 09:47:23 2010 +0200
22004 Make the "wrong argument count" exception more explicit.
22006 Previously we had messages like this one:
22007 TypeError: takes exactly 2 argument(s) (1 given)
22009 With this patch, they become like this:
22010 TypeError: get_end_iter() takes exactly 2 argument(s) (1 given)
22012 It makes things much easier to debug when there are several pygi calls
22015 https://bugzilla.gnome.org/show_bug.cgi?id=620804
22017 gi/pygi-invoke.c | 3 ++-
22018 tests/test_everything.py | 6 ++++++
22019 2 files changed, 8 insertions(+), 1 deletion(-)
22021 commit b435319fe830a909cc4d414533b3b66574931e24
22022 Author: Steve Frécinaux <code@istique.net>
22023 Date: Mon Jun 7 09:54:06 2010 +0200
22025 Use bash explicitely in the pre-commit hook.
22027 The "builtin" command is not available in all sh flavours, so the
22028 pre-commit hook is going to fail if you use dash or others instead of
22029 bash as your default 'sh' alias.
22031 https://bugzilla.gnome.org/show_bug.cgi?id=620805
22033 pre-commit.hook | 2 +-
22034 1 file changed, 1 insertion(+), 1 deletion(-)
22036 commit e9ee2916494eb7654004925c1ee1e94f99b14f1a
22037 Author: John (J5) Palmieri <johnp@redhat.com>
22038 Date: Tue Jun 8 16:55:26 2010 -0400
22042 demos/gtk-demo/demos/colorselector.py | 121
22043 ++++++++++++++++++++++++++++++++++
22044 1 file changed, 121 insertions(+)
22046 commit ec598128de9e90dccab662ed2f5511c8d659e156
22047 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22048 Date: Tue Jun 8 15:48:33 2010 +0200
22050 Update PyGObject dependency to 2.21.1
22052 configure.ac | 2 +-
22053 1 file changed, 1 insertion(+), 1 deletion(-)
22055 commit 87774a17bd607724a56e18c2eb1ac71b04b7079d
22056 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22057 Date: Tue Jun 8 10:40:39 2010 +0200
22059 Add myself to maintainers
22061 MAINTAINERS | 4 ++++
22062 pygobject.doap | 7 +++++++
22063 2 files changed, 11 insertions(+)
22065 commit 46c91a11d448e5e11d142d3362aff1483226bca4
22066 Author: Colin Walters <walters@verbum.org>
22067 Date: Wed May 5 13:54:27 2010 -0400
22069 Clear error if we failed the import
22071 Otherwise we leave the exception set which causes bizarre problems
22072 later in unrelated code.
22074 https://bugzilla.redhat.com/show_bug.cgi?id=569885
22076 https://bugzilla.gnome.org/show_bug.cgi?id=617796
22078 gobject/pygi-external.h | 2 ++
22079 1 file changed, 2 insertions(+)
22081 commit c1c41576d053cc1cdd8366d8cd1e59fff1c3a9c6
22082 Author: John (J5) Palmieri <johnp@redhat.com>
22083 Date: Mon Jun 7 17:19:30 2010 -0400
22085 fix some typos and add a link to a patch which fixes a FIXME
22087 demos/gtk-demo/demos/clipboard.py | 7 +++++--
22088 1 file changed, 5 insertions(+), 2 deletions(-)
22090 commit e7fabb5024d94a3166766e5fca740741bc50380a
22091 Author: John (J5) Palmieri <johnp@redhat.com>
22092 Date: Mon Jun 7 16:21:42 2010 -0400
22096 demos/gtk-demo/demos/clipboard.py | 235
22097 ++++++++++++++++++++++++++++++++++++++
22098 1 file changed, 235 insertions(+)
22100 commit e0f1dce5ec58d071759f886697501da6eeea549d
22101 Author: John (J5) Palmieri <johnp@redhat.com>
22102 Date: Sun Jun 6 13:27:46 2010 -0400
22104 set is_fully_bound to false
22106 demos/gtk-demo/demos/button_box.py | 2 +-
22107 1 file changed, 1 insertion(+), 1 deletion(-)
22109 commit 986db1c73746d3a8ad7d8d5141c7eed194e7b948
22110 Author: John (J5) Palmieri <johnp@redhat.com>
22111 Date: Sat Jun 5 23:53:36 2010 -0400
22113 new button box demo
22115 demos/gtk-demo/demos/button_box.py | 121
22116 +++++++++++++++++++++++++++++++++++++
22117 1 file changed, 121 insertions(+)
22119 commit e9f5f8a829121e59367bae690442150f144946ad
22120 Author: John (J5) Palmieri <johnp@redhat.com>
22121 Date: Sat Jun 5 23:26:03 2010 -0400
22123 set is_fully_bound to True fro builder example
22125 demos/gtk-demo/demos/builder.py | 2 +-
22126 1 file changed, 1 insertion(+), 1 deletion(-)
22128 commit d9968c3a4dea1d4a73a9376009cf486c80ea3da6
22129 Author: John (J5) Palmieri <johnp@redhat.com>
22130 Date: Sat Jun 5 23:24:36 2010 -0400
22132 fix up formatting in demos
22134 demos/gtk-demo/demos/appwindow.py | 16 ++++++++--------
22135 demos/gtk-demo/demos/assistant.py | 24 ++++++++++++------------
22136 demos/gtk-demo/demos/builder.py | 2 +-
22137 3 files changed, 21 insertions(+), 21 deletions(-)
22139 commit ffca02536bafb55e8c3bce31cd992365207429f6
22140 Author: John (J5) Palmieri <johnp@redhat.com>
22141 Date: Sat Jun 5 14:54:47 2010 -0400
22143 add the builder demo
22145 demos/gtk-demo/demos/builder.py | 57
22146 +++++++++++++++++++++++++++++++++++++++++
22147 1 file changed, 57 insertions(+)
22149 commit a96dbafdf562a2ac6bde4df27919d3628689dbdb
22150 Author: John (J5) Palmieri <johnp@redhat.com>
22151 Date: Fri Jun 4 17:48:24 2010 -0400
22155 demos/gtk-demo/demos/assistant.py | 134
22156 ++++++++++++++++++++++++++++++++++++++
22157 1 file changed, 134 insertions(+)
22159 commit 7e1b8cf32f33d45603aaec76afb0d14be84ffd94
22160 Author: John (J5) Palmieri <johnp@redhat.com>
22161 Date: Fri Jun 4 16:56:46 2010 -0400
22163 add formatting rules and copyright notice
22165 demos/gtk-demo/demos/appwindow.py | 19 +++++++++++++++++++
22166 1 file changed, 19 insertions(+)
22168 commit 03b99692b81631d397ab62dcd263341465bcee88
22169 Author: John (J5) Palmieri <johnp@redhat.com>
22170 Date: Fri Jun 4 16:26:54 2010 -0400
22172 add the gtk-demo app along with a couple of demos
22174 * note there are still a couple of patches in bugzilla that are
22177 - http://bugzilla-attachments.gnome.org/attachment.cgi?id=162682
22178 - http://bugzilla-attachments.gnome.org/attachment.cgi?id=162764
22180 demos/gtk-demo/demos/__init__.py | 0
22181 demos/gtk-demo/demos/appwindow.py | 393
22182 +++++++++++++++++++++++
22183 demos/gtk-demo/demos/data/alphatest.png | Bin 0 -> 26529 bytes
22184 demos/gtk-demo/demos/data/apple-red.png | Bin 0 -> 3545 bytes
22185 demos/gtk-demo/demos/data/background.jpg | Bin 0 -> 22219 bytes
22186 demos/gtk-demo/demos/data/demo.ui | 258 +++++++++++++++
22187 demos/gtk-demo/demos/data/floppybuddy.gif | Bin 0 -> 5216 bytes
22188 demos/gtk-demo/demos/data/gnome-applets.png | Bin 0 -> 3090 bytes
22189 demos/gtk-demo/demos/data/gnome-calendar.png | Bin 0 -> 2755 bytes
22190 demos/gtk-demo/demos/data/gnome-foot.png | Bin 0 -> 2916 bytes
22191 demos/gtk-demo/demos/data/gnome-fs-directory.png | Bin 0 -> 2044 bytes
22192 demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 0 -> 1795 bytes
22193 demos/gtk-demo/demos/data/gnome-gimp.png | Bin 0 -> 3410 bytes
22194 demos/gtk-demo/demos/data/gnome-gmush.png | Bin 0 -> 3244 bytes
22195 demos/gtk-demo/demos/data/gnome-gsame.png | Bin 0 -> 4263 bytes
22196 demos/gtk-demo/demos/data/gnu-keys.png | Bin 0 -> 3852 bytes
22197 demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 0 -> 6427 bytes
22198 demos/gtk-demo/demos/test.py | 14 +
22199 demos/gtk-demo/gtk-demo.py | 266 +++++++++++++++
22200 19 files changed, 931 insertions(+)
22202 commit b3b1f029d8d16cf9bd74160009808147d07e3b3f
22203 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22204 Date: Fri Jun 4 11:25:08 2010 +0200
22206 Update gobject-introspection dependency to 0.6.14
22208 configure.ac | 2 +-
22209 1 file changed, 1 insertion(+), 1 deletion(-)
22211 commit 45c4e46ae93bd83a0e3f3550df6c64ce96bbedb4
22212 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22213 Date: Fri Jun 4 11:23:41 2010 +0200
22215 Post-release version bump to 0.6.1
22217 configure.ac | 2 +-
22218 1 file changed, 1 insertion(+), 1 deletion(-)
22220 commit 7a94270dac48b67aabc7dbad156cf1180db9cb5e
22221 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22222 Date: Fri Jun 4 08:29:42 2010 +0200
22224 Pre-release version bump 0.6.0
22226 configure.ac | 2 +-
22227 1 file changed, 1 insertion(+), 1 deletion(-)
22229 commit 1e42ee6eb25a07a5201f24ffeac18d298a98477e
22230 Author: John (J5) Palmieri <johnp@redhat.com>
22231 Date: Fri May 28 10:03:11 2010 -0400
22233 support for caller-allocates annotations for structs
22235 * out caller-allocates parameters expect an already constructed
22237 to be passed in by reference. It is then modified and the caller
22239 modified value. We support this by using only one level of pointer
22241 * Only structs are considered to be caller-allocates parameters
22243 they are marked as such by GI. This is because the GI scanner
22245 enough to correctly guess 100% of the time
22246 * GValues are a special case of a caller-allocates parameter when
22248 up (e.g. g_value_unset is called). GValues make no sense in
22250 language. Developers should never deal with them.
22252 https://bugzilla.gnome.org/show_bug.cgi?id=620406
22254 gi/pygi-invoke.c | 73
22255 +++++++++++++++++++++++++++++++++++++++++++++---
22256 tests/test_everything.py | 28 +++++++++++++++++++
22257 2 files changed, 97 insertions(+), 4 deletions(-)
22259 commit c3f467e0ae99aa78c2fdb91b973a272d2fe970bd
22260 Author: John (J5) Palmieri <johnp@redhat.com>
22261 Date: Wed Jun 2 14:14:16 2010 -0400
22263 don't import gobject directly in the tests
22265 * use from gi.repository import GObject
22267 tests/test_overrides.py | 5 ++---
22268 1 file changed, 2 insertions(+), 3 deletions(-)
22270 commit 46b5133fea4cd5db57a360b3cbe9ee923e27560c
22271 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22272 Date: Tue Jun 1 14:28:57 2010 +0200
22274 Wrap C arrays in structs as GArrays before converting to Python
22276 https://bugzilla.gnome.org/show_bug.cgi?id=620247
22278 gi/pygi-info.c | 11 +++++++++++
22279 tests/test_gi.py | 17 +++++++++++++++++
22280 2 files changed, 28 insertions(+)
22282 commit 5f0f9a9c9145a129a063b041424c3109a24d9ead
22283 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22284 Date: Wed May 26 13:20:27 2010 +0200
22286 Install pre-commit hook that checks the code changes for style
22289 autogen.sh | 7 +++++++
22290 pre-commit.hook | 39 +++++++++++++++++++++++++++++++++++++++
22291 2 files changed, 46 insertions(+)
22293 commit 1319da5b7f483e48a90b0b7489f77236ba26f479
22294 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22295 Date: Wed May 26 12:19:17 2010 +0200
22297 Apply consistent whitespace formatting with:
22299 astyle -p -d -c -S -U -M60
22301 This won't affect git blame nor git diff if the switch -w is used.
22303 gi/gimodule.c | 138 +++----
22304 gi/pygi-argument.c | 960
22305 ++++++++++++++++++++++++------------------------
22306 gi/pygi-boxed.c | 108 +++---
22307 gi/pygi-callbacks.c | 154 ++++----
22308 gi/pygi-callbacks.h | 8 +-
22309 gi/pygi-closure.c | 270 +++++++-------
22310 gi/pygi-closure.h | 18 +-
22311 gi/pygi-foreign-cairo.c | 36 +-
22312 gi/pygi-foreign-cairo.h | 36 +-
22313 gi/pygi-foreign.c | 54 +--
22314 gi/pygi-foreign.h | 10 +-
22315 gi/pygi-info.c | 646 ++++++++++++++++----------------
22316 gi/pygi-invoke.c | 380 +++++++++----------
22317 gi/pygi-repository.c | 114 +++---
22318 gi/pygi-struct.c | 88 ++---
22319 gi/pygi-type.c | 32 +-
22321 gi/pygobject-external.h | 14 +-
22322 18 files changed, 1544 insertions(+), 1542 deletions(-)
22324 commit 6156f15cb15b4c20e975527227135d49207c520a
22325 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22326 Date: Tue May 25 14:08:51 2010 +0200
22328 Prepend gi.repository to the __module__ attribute of wrapper classes.
22330 https://bugzilla.gnome.org/show_bug.cgi?id=619597
22332 gi/module.py | 4 ++--
22333 tests/test_gi.py | 4 +++-
22334 2 files changed, 5 insertions(+), 3 deletions(-)
22336 commit 097b92983b7a322c58fecb1e691ba6ddf5035548
22337 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22338 Date: Tue May 25 14:17:13 2010 +0200
22340 Correctly identify at creation time:
22342 * if the class is defined in python -> hook up vfuncs
22343 * if the class wraps a type from a .typelib -> set atributes
22344 * else (GLocalFile) -> do nothing
22346 https://bugzilla.gnome.org/show_bug.cgi?id=619604
22348 gi/types.py | 15 +++++++++++----
22349 1 file changed, 11 insertions(+), 4 deletions(-)
22351 commit 686e10fcdb108af9758eb025a3447813c3513a93
22352 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
22353 Date: Thu Apr 29 10:55:13 2010 +0200
22355 Dont complain if another base has implemented the method
22357 https://bugzilla.gnome.org/show_bug.cgi?id=617153
22359 gi/types.py | 3 ++-
22360 1 file changed, 2 insertions(+), 1 deletion(-)
22362 commit 9f34d120845d936b04546a5cea599ec67e9181a7
22363 Author: John (J5) Palmieri <johnp@redhat.com>
22364 Date: Mon May 24 16:16:50 2010 -0400
22366 fix up Builder override, add new override methods, and add unit tests
22368 * check for flags when connecting signals now that we get gi
22370 * override the add_from_string and add_objects_from string overrides
22372 that you don't have to pass in the length of the buffer
22373 * add test that loads objects from strings and connects them to
22376 gi/overrides/Gtk.py | 19 +++++++++++--
22377 tests/test_overrides.py | 72
22378 ++++++++++++++++++++++++++++++++++++++++++++++---
22379 2 files changed, 86 insertions(+), 5 deletions(-)
22381 commit 1561d2977691f1cb8684f183a2e274c47960d931
22382 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22383 Date: Mon May 24 18:48:10 2010 +0200
22385 Improve handling of subclasses without __gtype_name__
22387 Gives a better message at type registration.
22389 https://bugzilla.gnome.org/show_bug.cgi?id=616849
22391 gi/gimodule.c | 9 +++++++++
22392 tests/test_gi.py | 13 ++++++++++++-
22393 2 files changed, 21 insertions(+), 1 deletion(-)
22395 commit c9d44d4d46c3da3a445000b1db592baa9c378a92
22396 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
22397 Date: Fri Apr 30 18:17:50 2010 +0200
22399 Add support for GArray args
22401 https://bugzilla.gnome.org/show_bug.cgi?id=617054
22403 gi/pygi-invoke.c | 11 +++++++----
22404 tests/test_gi.py | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
22405 2 files changed, 57 insertions(+), 4 deletions(-)
22407 commit c171579ee22681e1ee4ad33441c89f1053bdc3d1
22408 Author: John (J5) Palmieri <johnp@redhat.com>
22409 Date: Mon May 24 11:48:16 2010 -0400
22411 check refcounting of callback userdata in unit tests
22413 tests/test_everything.py | 18 ++++++++++++++++++
22414 1 file changed, 18 insertions(+)
22416 commit 8eb809468fe3e1f8e4f92bd7f25d96f9cf802cd4
22417 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22418 Date: Sat May 22 15:12:37 2010 +0200
22420 Add support for out args in callbacks
22422 This patch refactors argument marshalling for closures in
22423 preparation for more complete support.
22425 Also fixes a bug in the memory management of user_data args.
22427 https://bugzilla.gnome.org/show_bug.cgi?id=617780
22429 gi/pygi-closure.c | 335
22430 +++++++++++++++++++++++++++++++++++++++++-------------
22431 tests/test_gi.py | 4 +
22432 2 files changed, 263 insertions(+), 76 deletions(-)
22434 commit 0df0c956bb2476392c9d81f0a243a7e84c067166
22435 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22436 Date: Sun May 23 10:59:27 2010 +0200
22438 If None is passed to an interface which takes an object, convert it to
22441 * without this patch PyGI treats the None object as a PyGObject
22443 extracting garbage data causing a crash
22444 * None's equivalent in C is NULL so we must provide a special case
22446 marshal the None as NULL
22448 https://bugzilla.gnome.org/show_bug.cgi?id=617880
22450 gi/pygi-argument.c | 5 +++++
22451 tests/test_everything.py | 6 ++++++
22452 2 files changed, 11 insertions(+)
22454 commit 60fdf4b8f738dd0f5c190bc18ddf010032d3c5ca
22455 Author: John (J5) Palmieri <johnp@redhat.com>
22456 Date: Sat May 22 14:06:37 2010 +0200
22458 correctly handle floating objects in gtk
22460 * this is a stopgap so we work with older pygobject libraries
22461 * there is a patch at
22462 https://bugzilla.gnome.org/show_bug.cgi?id=583909
22463 which adds the correct fix to pygobject
22464 * once pygobject accepts the above patch this patch does not need to
22465 be reverted because pygobject_register_sinkfunc becomes a noop
22466 * add tests (Tomeu)
22468 https://bugzilla.gnome.org/show_bug.cgi?id=619007
22470 gi/gimodule.c | 12 ++++++++++++
22471 tests/test_everything.py | 3 +++
22472 2 files changed, 15 insertions(+)
22474 commit 4b369f8aca980fc6a582094d6648f40fe4af5e9f
22475 Author: John (J5) Palmieri <johnp@redhat.com>
22476 Date: Sat May 22 13:21:30 2010 +0200
22478 Return an empty list when a NULL GList and GSList is returned
22480 * In GTK a GList * and GSList set to NULL is equivilant to empty
22482 GTK list methods can take a NULL and treat it as an empty list. e.g.
22483 g_list_length(NULL) returns 0
22484 * PyGtk consitently returns empty list when a NULL is returned for
22487 * Many PyGtk apps do this:
22488 for i in range(len(obj.get_list())):
22490 * If we were to continue to return None, they would have to add
22492 which is needlessly verbose and isn't very "pythonic"
22494 https://bugzilla.gnome.org/show_bug.cgi?id=619232
22496 gi/pygi-argument.c | 6 ------
22497 tests/test_everything.py | 4 ++--
22498 2 files changed, 2 insertions(+), 8 deletions(-)
22500 commit 71a2148b00dfdda99e0d961ae39b901608724e59
22501 Author: Steve Frécinaux <code@istique.net>
22502 Date: Fri May 21 19:05:03 2010 +0200
22504 Fix warning in configure.
22506 The warning is caused by the use of the construction 'CFLAGS+=' in a
22507 sh version that doesn't understand it (in this case, 'dash').
22509 https://bugzilla.gnome.org/show_bug.cgi?id=619311
22511 configure.ac | 2 +-
22512 1 file changed, 1 insertion(+), 1 deletion(-)
22514 commit aa0357e468eb91e0f3707346e9b32f312fbf51d3
22515 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
22516 Date: Thu Apr 29 13:06:15 2010 +0200
22518 GTypeInterface cannot be unrefed
22520 https://bugzilla.gnome.org/show_bug.cgi?id=617159
22522 gi/gimodule.c | 4 +++-
22523 1 file changed, 3 insertions(+), 1 deletion(-)
22525 commit ab1aaff108d23aabd28c3634edfb67236eb55460
22526 Author: John (J5) Palmieri <johnp@redhat.com>
22527 Date: Sat May 22 13:09:48 2010 +0200
22529 fix NULL array unit tests and fix crasher when sending None as
22532 * Unit tests were wrong given the annotation for
22533 test_array_int_null_in and
22534 test_array_int_null_out:
22537 * test_array_int_null_in:
22538 * @arr: (array length=len) (allow-none):
22545 * test_array_int_null_out:
22546 * @arr: (out) (array length=len) (allow-none):
22547 * @len: (out) : length
22550 The (array length=len) annotation meant we don't pass in or
22551 receive the len argument as this is handled under the hood
22552 (Python's representation of an array, the list type, encapsulates
22553 the length inside the type)
22555 * Fixing up the tests revealed a latent crasher bug when passing
22557 interface that accepts an array. The fix was to check for NULL
22559 the length argument to 0 when invoking the bound method.
22561 https://bugzilla.gnome.org/show_bug.cgi?id=619235
22563 gi/pygi-invoke.c | 6 +++++-
22564 tests/test_everything.py | 4 ++--
22565 2 files changed, 7 insertions(+), 3 deletions(-)
22567 commit e928ea9b1df9d87314ff8e93479530e26be9bd87
22568 Author: John (J5) Palmieri <johnp@redhat.com>
22569 Date: Fri May 14 14:57:27 2010 -0400
22571 don't error out on methods with callbacks as return type
22573 * Right now we just throw an error which means API's like
22574 gtk_about_dialog_set_url_hook aren't able to be called,
22575 * this allows us to call such APIs while printing a warning, in
22577 API such as this doesn't need to be used anymore and is a result of
22578 early GTK development
22580 gi/pygi-argument.c | 14 +++++++++++---
22581 1 file changed, 11 insertions(+), 3 deletions(-)
22583 commit d963007aab123f4e53a944a66a935db2d22907c2
22584 Author: John (J5) Palmieri <johnp@redhat.com>
22585 Date: Mon May 17 11:54:34 2010 -0400
22587 reset sys.argv to the return value of Gtk.init_check
22589 * applications which check command line arguments will error out if it
22590 encounters a GTK command line switch such as --g-fatal-warnings.
22591 * The Gtk.init* API reads these switches and returns a new argv with
22593 switches stripped out
22594 * In C argv is modified in place but in Python we must set sys.argv
22596 new modified argument list
22597 * fixes https://bugzilla.gnome.org/show_bug.cgi?id=618889
22599 gi/overrides/Gtk.py | 1 +
22600 1 file changed, 1 insertion(+)
22602 commit 897420ed97cc4a7b8a806894df5e76ed72617614
22603 Author: John (J5) Palmieri <johnp@redhat.com>
22604 Date: Wed May 12 14:25:32 2010 -0400
22606 add GtkUIManager and GtkActionGroup overrides
22608 * fixes bug https://bugzilla.gnome.org/show_bug.cgi?id=618476
22610 gi/overrides/Gtk.py | 167
22611 +++++++++++++++++++++++++++++++++++++++++++++++-
22612 tests/test_overrides.py | 45 +++++++++++++
22613 2 files changed, 211 insertions(+), 1 deletion(-)
22615 commit 865939d29c1e9d69dbe6b9cf89477b5516dbff1f
22616 Author: Zach Goldberg <zach@zachgoldberg.com>
22617 Date: Thu May 13 01:02:24 2010 -0400
22619 Bump version for development to 0.5.2 (hopefully 0.6)
22621 configure.ac | 2 +-
22622 1 file changed, 1 insertion(+), 1 deletion(-)
22624 commit 2674a9546b0246d4a75d71cf1708df77dc0173f9
22625 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
22626 Date: Wed May 5 15:54:39 2010 +0200
22628 Fix overrides.Gdk.Color.__new__ args
22630 https://bugzilla.gnome.org/show_bug.cgi?id=617757
22632 gi/overrides/Gdk.py | 2 +-
22633 tests/Makefile.am | 3 ++-
22634 tests/test_overrides.py | 22 ++++++++++++++++++++++
22635 3 files changed, 25 insertions(+), 2 deletions(-)
22637 commit c20b9f632a35bada1320ccc10fb7d5b2c06b9a88
22638 Author: John (J5) Palmieri <johnp@redhat.com>
22639 Date: Thu Apr 29 14:55:33 2010 -0400
22641 wrap GObject module so we can go through GI when requesting attrs
22643 * This gives us the best of both worlds.
22644 - We remain backwards compatable with pygobject by checking for
22646 attrs in the gobject module
22647 - If an attr does not exist we use the GI mechanism to look it up
22649 things like flags look the same whether exported from GObject, Gtk
22650 or any GI managed library
22652 * add DynamicGObjectModule tests and make tests use the new module
22653 - change import gobject to from gi.repository import GObject
22655 gi/importer.py | 6 ++--
22656 gi/module.py | 30 ++++++++++++++++
22657 tests/test_everything.py | 6 ++--
22658 tests/test_gi.py | 93
22659 ++++++++++++++++++++++++++----------------------
22660 4 files changed, 87 insertions(+), 48 deletions(-)
22662 commit 64324a4c629432b2e688299b6edbfd5da4439a2a
22663 Author: John (J5) Palmieri <johnp@redhat.com>
22664 Date: Fri Apr 30 14:11:55 2010 -0400
22666 override Gdk.Drawable to add cairo_create convinience method
22668 gi/overrides/Gdk.py | 7 ++++++-
22669 1 file changed, 6 insertions(+), 1 deletion(-)
22671 commit 17fa1289b1e2ed841dd5de09a2ec7c25d401886e
22672 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
22673 Date: Mon May 3 19:13:46 2010 +0200
22675 Fix passing callbacks as constructor args
22677 https://bugzilla.gnome.org/show_bug.cgi?id=617551
22679 gi/pygi-callbacks.c | 3 ++-
22680 gi/pygi-callbacks.h | 1 +
22681 gi/pygi-invoke.c | 7 +++++--
22682 tests/test_everything.py | 21 +++++++++++++++++++++
22683 4 files changed, 29 insertions(+), 3 deletions(-)
22685 commit f9fff978d56ddf2c012b906169ae16abb7fdc2a5
22686 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
22687 Date: Wed May 5 08:06:03 2010 +0200
22689 Avoid freeing garbage
22691 gi/pygi-invoke.c | 6 ++++--
22692 1 file changed, 4 insertions(+), 2 deletions(-)
22694 commit 5e20c018ae09a936f5ff140df5d1c133c98e98ba
22695 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
22696 Date: Thu Apr 29 13:09:03 2010 +0200
22698 Only hookup vfunc implementations for locally-defined methods
22700 https://bugzilla.gnome.org/show_bug.cgi?id=617160
22702 gi/types.py | 10 +++++++++-
22703 tests/test_gi.py | 10 ++++++++++
22704 2 files changed, 19 insertions(+), 1 deletion(-)
22706 commit 3e61e7d4450a2bb133c7f3862e0962a35339ce8d
22707 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
22708 Date: Mon May 3 18:35:13 2010 +0200
22710 Fix passing GDestroyNotify
22712 https://bugzilla.gnome.org/show_bug.cgi?id=617542
22714 gi/pygi-invoke.c | 3 ++-
22715 tests/test_everything.py | 10 ++++++++++
22716 2 files changed, 12 insertions(+), 1 deletion(-)
22718 commit 9669acd0fad193013ef3505ae231588307f9834c
22719 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
22720 Date: Mon May 3 12:23:58 2010 +0200
22722 Move invocation code to its own file
22724 https://bugzilla.gnome.org/show_bug.cgi?id=617107
22726 gi/Makefile.am | 2 +
22727 gi/pygi-info.c | 884
22728 ----------------------------------------------------
22729 gi/pygi-invoke.c | 909
22730 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
22731 gi/pygi-invoke.h | 37 +++
22732 gi/pygi-private.h | 1 +
22733 5 files changed, 949 insertions(+), 884 deletions(-)
22735 commit 9b923a68dfde06fc2df6321b3f1e53f1c57b3666
22736 Author: John (J5) Palmieri <johnp@redhat.com>
22737 Date: Tue Apr 27 19:13:08 2010 -0400
22739 Add the Gtk.Builder override
22741 gi/overrides/Gtk.py | 37 ++++++++++++++++++++++++++++++++++++-
22742 1 file changed, 36 insertions(+), 1 deletion(-)
22744 commit 9fc6783406b8263ebd67ceae2730b4e86689b43e
22745 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
22746 Date: Fri Apr 30 15:00:52 2010 +0200
22748 Fix GAsyncReadyCallback
22750 https://bugzilla.gnome.org/show_bug.cgi?id=616236
22752 gi/pygi-closure.c | 8 +++++++-
22753 tests/test_everything.py | 16 ++++++++++++++++
22754 2 files changed, 23 insertions(+), 1 deletion(-)
22756 commit 5657ccaaec09e2a3194ea2e9a923724bcc66759e
22757 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
22758 Date: Thu Apr 29 18:32:50 2010 +0200
22760 Add override for Gdk.Color
22762 https://bugzilla.gnome.org/show_bug.cgi?id=617162
22764 gi/overrides/Gdk.py | 20 +++++++++++++++++++-
22765 1 file changed, 19 insertions(+), 1 deletion(-)
22767 commit 4410abd589a2f64cfbd7bbcb4013fae9e4aa734f
22768 Author: John (J5) Palmieri <johnp@redhat.com>
22769 Date: Wed Apr 28 13:19:48 2010 -0400
22771 make __all__ be a list of strings, fix override mechanism to use
22774 * before we were adding classes to the __all__ module property but
22775 the convention is to use the name of the class
22776 * simplified the check to just check the name against __all__
22777 instead of trying to get the class and then checking the class
22778 against None as well as in __all__
22779 * went through all the overrides and made __all__ be a list of strings
22781 gi/module.py | 9 ++++-----
22782 gi/overrides/GIMarshallingTests.py | 2 +-
22783 gi/overrides/Gdk.py | 2 +-
22784 3 files changed, 6 insertions(+), 7 deletions(-)
22786 commit 64fa8f936bad9a90628df446e690d67d947a0a22
22787 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
22788 Date: Mon Apr 26 11:41:06 2010 +0200
22790 One more step at refactoring _wrap_g_function_info_invoke
22792 https://bugzilla.gnome.org/show_bug.cgi?id=616357
22794 gi/pygi-callbacks.c | 22 +-
22795 gi/pygi-callbacks.h | 4 +-
22796 gi/pygi-info.c | 582
22797 ++++++++++++++++++++++++++++++----------------------
22798 3 files changed, 346 insertions(+), 262 deletions(-)
22800 commit 7fc5528273edae5ecdd5d8bdf0e5b898eec7a624
22801 Author: Zach Goldberg <zach@zachgoldberg.com>
22802 Date: Tue Apr 20 23:23:38 2010 -0400
22804 Step 1 of refactoring _wrap_g_function_info_invoke
22806 Original patch by David Malcom <dmalcolm@redhat.com>
22808 This patch bitrots *REALLY* fast.
22810 https://bugzilla.gnome.org/show_bug.cgi?id=616357
22812 gi/pygi-info.c | 417
22813 +++++++++++++++++++++++++++++----------------------------
22814 1 file changed, 214 insertions(+), 203 deletions(-)
22816 commit 1d9c6b6d76a3e27f66e6f0cfc7b16c5191e4fc22
22817 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
22818 Date: Tue Apr 27 10:24:35 2010 +0200
22820 Dont force subclasses to implement all virtual methods of their bases
22822 https://bugzilla.gnome.org/show_bug.cgi?id=616674
22824 gi/types.py | 4 ++--
22825 tests/test_gi.py | 15 +++++++++++++++
22826 2 files changed, 17 insertions(+), 2 deletions(-)
22828 commit 8a0c48f4dd512797e5cf132f8ec6fb6d4d1e7aaa
22829 Author: Zach Goldberg <zach@zachgoldberg.com>
22830 Date: Sun Apr 25 15:09:08 2010 -0400
22832 Correct the reference counting of userdata in closure handling
22834 Without this we lose references on every call and eventually end up
22836 while they are still in use.
22838 https://bugzilla.gnome.org/show_bug.cgi?id=616786
22840 gi/pygi-closure.c | 3 +++
22841 tests/test_everything.py | 13 +++++++++++++
22842 2 files changed, 16 insertions(+)
22844 commit 2b12049306bf57513c43d08017185468bf897a4a
22845 Author: Zach Goldberg <zach@zachgoldberg.com>
22846 Date: Tue Apr 20 22:57:14 2010 -0400
22848 Change SCOPE_TYPE_INVALID handling to be a more verbose error.
22850 (Previous commit did not include the proper error message. I blame
22853 https://bugzilla.gnome.org/show_bug.cgi?id=616356
22855 gi/pygi-closure.c | 4 ++--
22856 1 file changed, 2 insertions(+), 2 deletions(-)
22858 commit 8240320d0b67074ce91bdf7aadcf5951c5a8c45a
22859 Author: Zach Goldberg <zach@zachgoldberg.com>
22860 Date: Tue Apr 20 23:53:57 2010 -0400
22862 Force out arguments to be initialized as NULL. Comes with a test.
22864 This fix was motivated by a real world library which had a transfer
22866 utf8 out argument which sometimes was not set. We would leave
22868 dangling and try and free it at the end of invoke() and crash.
22870 to change their behavior so we're forced to take care of it on
22873 https://bugzilla.gnome.org/show_bug.cgi?id=616043
22875 gi/pygi-info.c | 1 +
22876 tests/test_gi.py | 3 +++
22877 2 files changed, 4 insertions(+)
22879 commit 10e558ca283cdd06725bb0d24b5071ccbecc7d13
22880 Author: Zach Goldberg <zach@zachgoldberg.com>
22881 Date: Tue Apr 20 22:57:14 2010 -0400
22883 Change SCOPE_TYPE_INVALID handling to be a warning and not an error
22885 Be slightly nicer to library maintainers. It really isn't a fatal
22887 if we don't have a proper scope type, better to leave a good code
22889 and a warning than to cause their code to segv.
22891 https://bugzilla.gnome.org/show_bug.cgi?id=616356
22893 gi/pygi-closure.c | 3 ++-
22894 1 file changed, 2 insertions(+), 1 deletion(-)
22896 commit d3b5fae9d609dbcd83deb0fa9102b24faf76787c
22897 Author: Zach Goldberg <zach@zachgoldberg.com>
22898 Date: Tue Apr 20 22:43:20 2010 -0400
22900 Refactor implementation of scope call to allow for multiple calls
22901 during lifetime of function invocation.
22903 https://bugzilla.gnome.org/show_bug.cgi?id=616343
22905 gi/pygi-closure.c | 10 +++++-----
22906 gi/pygi-info.c | 9 +++++++--
22907 tests/test_everything.py | 9 +++++++++
22908 3 files changed, 21 insertions(+), 7 deletions(-)
22910 commit 3ba666b7ab9c393963922c272e7d87bff50a93f9
22911 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
22912 Date: Sat Jan 2 16:31:55 2010 +0100
22914 Add basic support for unions
22916 https://bugzilla.gnome.org/show_bug.cgi?id=603598
22918 gi/module.py | 3 +-
22919 gi/pygi-argument.c | 24 +++-----------
22920 gi/pygi-boxed.c | 18 +++++++++--
22921 gi/pygi-info.c | 94
22922 ++++++++++++++++++++++++++++++++++++++++++++++++------
22923 gi/pygi-info.h | 1 +
22924 tests/test_gi.py | 56 ++++++++++++++++++++++++++++++++
22925 6 files changed, 165 insertions(+), 31 deletions(-)
22927 commit af9e4e086d160fe7fb24758ed81753e784b198a8
22928 Author: Simon van der Linden <svdlinden@src.gnome.org>
22929 Date: Fri Jan 22 22:16:32 2010 +0100
22931 Bump required GLib version to 2.22
22933 Since PyGObject now depends on GLib 2.22.4, there is no need to
22935 backward-compatible.
22937 configure.ac | 2 +-
22938 gi/pygi-private.h | 20 --------------------
22939 2 files changed, 1 insertion(+), 21 deletions(-)
22941 commit c0f40de5648e2ebc556c449342a0025ffce2e33b
22942 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
22943 Date: Sun Apr 18 11:50:14 2010 -0400
22945 Refactor get_* methods in the *Info wrappers
22947 https://bugzilla.gnome.org/show_bug.cgi?id=616108
22949 gi/pygi-info.c | 360
22950 +++++++++++++++++++++++++++------------------------------
22951 1 file changed, 168 insertions(+), 192 deletions(-)
22953 commit 24bb89f1310dc2fc8ee6ddaf945342ebf80055cd
22954 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
22955 Date: Tue Apr 20 15:12:47 2010 +0200
22957 Print any error messages raised inside _pygi_closure_handle
22959 https://bugzilla.gnome.org/show_bug.cgi?id=616279
22961 gi/pygi-closure.c | 9 +++++----
22962 1 file changed, 5 insertions(+), 4 deletions(-)
22964 commit d1ba23cdd05686ea721425f233371d573a2e9cce
22965 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
22966 Date: Thu Apr 22 19:57:17 2010 +0200
22968 Rename variable with a very generic name
22970 gi/module.py | 28 ++++++++++++++--------------
22971 1 file changed, 14 insertions(+), 14 deletions(-)
22973 commit 391640b30ede50af3667b1019edb72bd79f2c68c
22974 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
22975 Date: Thu Apr 22 19:53:06 2010 +0200
22977 Add support for enums without GType
22979 https://bugzilla.gnome.org/show_bug.cgi?id=616520
22981 gi/module.py | 6 +++++-
22982 gi/pygi-argument.c | 22 +++++++++++++++++++++-
22983 gi/types.py | 14 ++++++++++++++
22984 tests/test_gi.py | 30 ++++++++++++++++++++++++++++--
22985 4 files changed, 68 insertions(+), 4 deletions(-)
22987 commit 89704f60ddae0c81f1383d86491ef2785590a353
22988 Author: Zach Goldberg <zach@zachgoldberg.com>
22989 Date: Tue Apr 20 22:20:42 2010 -0400
22991 Bump version during development to 0.5.1
22993 This follows what is, according to Colin Walters,
22994 standard versioning practice. During development the
22995 version in your config is the *next* version you will release,
22996 not the version after. Thus after a release you make a new commit
22997 bumping to the next development version.
22999 configure.ac | 2 +-
23000 1 file changed, 1 insertion(+), 1 deletion(-)
23002 commit e203dc7c8f524c16aa52e15758dc3a2b09fbac75
23003 Author: John Ehresman <jpe@wingware.com>
23004 Date: Tue Apr 20 20:40:02 2010 -0400
23006 Added missing , to keyword list of gio.GFile.set_attribute
23008 gio/gresolver.override | 2 +-
23009 1 file changed, 1 insertion(+), 1 deletion(-)
23011 commit 0b222f01ac9ceea1d127083623ad532ecc75bf7e
23012 Author: John Ehresman <jpe@wingware.com>
23013 Date: Tue Apr 20 20:37:12 2010 -0400
23015 Fix arg conversion in gio.GFile.set_attribute
23017 gio/gfile.override | 232
23018 +++++++++++++++++++++++++++++++++++++++++++++++++++--
23019 1 file changed, 227 insertions(+), 5 deletions(-)
23021 commit a579ccc8bea90937bf970be3d461e2b650b0c7d6
23022 Author: John Ehresman <jpe@wingware.com>
23023 Date: Tue Apr 20 20:01:53 2010 -0400
23025 Set constants under python 2.5 or before
23027 gobject/gobjectmodule.c | 8 ++++++++
23028 1 file changed, 8 insertions(+)
23030 commit 11fa39a861abf679e01b5f0da97be93ae0adf0f0
23031 Author: José Alburquerque <jaalburqu@svn.gnome.org>
23032 Date: Sun Apr 18 20:22:21 2010 -0400
23034 Doc Extractor: Use replacements that make sense for &...;
23037 * codegen/docextract_to_xml.py: Use # and   respectively
23039 # (#) and . These are interpreted correctly in XML
23041 not make the parsing crash.
23043 codegen/docextract_to_xml.py | 4 ++--
23044 1 file changed, 2 insertions(+), 2 deletions(-)
23046 commit 8dbc2cb016acef7b364804cd9bc8f0b1da37e84b
23047 Author: Zach Goldberg <zach@zachgoldberg.com>
23048 Date: Sun Apr 18 14:32:06 2010 -0400
23050 Bump version for release 0.5.0
23052 HACKING | 7 +++++++
23053 configure.ac | 4 ++--
23054 2 files changed, 9 insertions(+), 2 deletions(-)
23056 commit 3293c91d90c5c497b45e42a527d7f79f7435823e
23057 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
23058 Date: Sun Apr 18 14:28:13 2010 -0400
23060 One more missing file...
23062 examples/Makefile.am | 2 ++
23063 1 file changed, 2 insertions(+)
23065 commit 1dc575af19fe985cc3fa3ec0cf18aeab1f43c16d
23066 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
23067 Date: Sun Apr 18 14:18:44 2010 -0400
23069 Add more stuff to the tarballs
23071 Makefile.am | 8 +++++++-
23073 2 files changed, 8 insertions(+), 1 deletion(-)
23075 commit 8a9bb04755057e934b7f46c917af6ef281a2fedd
23076 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
23077 Date: Sun Apr 18 13:48:45 2010 -0400
23079 Add one more missing file to tarballs
23081 gi/overrides/GIMarshallingTests.py | 0
23082 gi/overrides/Makefile.am | 1 +
23083 2 files changed, 1 insertion(+)
23085 commit 979e01852fc7f830ee91093accdc387fa535075f
23086 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
23087 Date: Sun Apr 18 13:45:29 2010 -0400
23089 Add missing file to tarballs
23091 tests/Makefile.am | 1 +
23092 1 file changed, 1 insertion(+)
23094 commit 8b70faa7a9a32b9ea8862f28a503e38f496cfd89
23095 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
23096 Date: Sun Apr 18 13:11:11 2010 -0400
23100 https://bugzilla.gnome.org/show_bug.cgi?id=602736
23103 +++++++++++++++++++++++++++++++++++++++++++++++++++++
23104 gi/pygi-argument.c | 1 +
23105 gi/pygi-callbacks.c | 3 +-
23106 gi/pygi-closure.c | 4 +--
23107 gi/pygi-closure.h | 2 +-
23108 gi/pygi-info.c | 86
23109 +++++++++++++++++++++++++++++++++++++++++++++++++--
23110 gi/pygi-info.h | 1 +
23111 gi/types.py | 44 +++++++++++++++++---------
23112 tests/test_gi.py | 18 +++++++++++
23113 9 files changed, 227 insertions(+), 21 deletions(-)
23115 commit e239faacb4798fe2d166233ca1a19a843a6225e3
23116 Author: Zach Goldberg <zach@zachgoldberg.com>
23117 Date: Sun Apr 18 11:59:06 2010 -0400
23119 Fix a typo in pygi-callbacks.c header
23121 gi/pygi-callbacks.c | 2 +-
23122 1 file changed, 1 insertion(+), 1 deletion(-)
23124 commit 79aa416ae8632b123da61d79fb820d9e2704209c
23125 Author: Zach Goldberg <zach@zachgoldberg.com>
23126 Date: Sat Apr 17 12:00:05 2010 -0400
23128 Implement nullable argument support, including tests
23130 https://bugzilla.gnome.org/show_bug.cgi?id=616035
23132 gi/pygi-argument.c | 43 +++++++++++++++++++++++++++++++++++++------
23133 gi/pygi-argument.h | 3 ++-
23134 gi/pygi-info.c | 19 +++++++++++++------
23135 tests/test_everything.py | 28 ++++++++++++++++++++++++++++
23136 4 files changed, 80 insertions(+), 13 deletions(-)
23138 commit 7d533b8893bc4a8a82fd9708278fa1dce5d3551e
23139 Author: Zach Goldberg <zach@zachgoldberg.com>
23140 Date: Sat Apr 17 12:56:19 2010 -0400
23142 Move some tests from test_gi to test_everything
23144 tests/test_everything.py | 60
23145 ++++++++++++++++++++++++++++++++++++++++++++++
23146 tests/test_gi.py | 62
23147 +-----------------------------------------------
23148 2 files changed, 61 insertions(+), 61 deletions(-)
23150 commit a90298cc9e6c0f336f887a71d80b1efd07ec2811
23151 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
23152 Date: Sun Apr 18 10:44:35 2010 -0400
23154 Update to latest version of the pygi-convert.sh script
23156 pygi-convert.sh | 193
23157 ++++++++++++++++++++++++++++++++++++++++----------------
23158 1 file changed, 137 insertions(+), 56 deletions(-)
23160 commit 34a39318c674737c6d64f2430456daef86ba1626
23161 Author: Colin Walters <walters@verbum.org>
23162 Date: Sun Apr 18 10:40:44 2010 -0400
23164 Add Tomeu's prototype script for converting pygtk to pygi
23166 pygi-convert.sh | 71
23167 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
23168 1 file changed, 71 insertions(+)
23170 commit a3afdb5fd33de0bf11d63857a245a8f5edec242c
23171 Author: Olav Vitters <olav@vitters.nl>
23172 Date: Sun Apr 18 13:01:58 2010 +0200
23177 1 file changed, 4 insertions(+)
23179 commit 0de73d0bba79f92af22f43693f3575c596712416
23180 Author: Zach Goldberg <zach@zachgoldberg.com>
23181 Date: Sat Apr 17 16:01:31 2010 -0400
23183 Add Zach Goldberg as a pygi maintainer
23185 pygi.doap | 5 +++++
23186 1 file changed, 5 insertions(+)
23188 commit a0e22e36e8cf0c1e0da3c0ec48c821fdb5a07ccd
23189 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
23190 Date: Sat Apr 17 11:47:54 2010 -0400
23194 configure.ac | 7 +------
23195 1 file changed, 1 insertion(+), 6 deletions(-)
23197 commit 2778f8a1bf6379a46beec6546c8efcb0fec2d7ad
23198 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
23199 Date: Sat Apr 17 11:40:14 2010 -0400
23201 Add examples/cairo-demo.py
23203 examples/cairo-demo.py | 121
23204 +++++++++++++++++++++++++++++++++++++++++++++++++
23205 1 file changed, 121 insertions(+)
23207 commit 610dd1eec87fab5c8c3badb4d104cba74477c745
23208 Author: Zach Goldberg <zach@zachgoldberg.com>
23209 Date: Sat Apr 17 09:17:14 2010 -0400
23211 Implementation callback support with scoping and basic argument
23214 This patch was originally written by
23215 Zach Goldberg <zach@zachgoldberg.com> with modifications and
23216 review by Simon van der Linden <svdlinden@src.gnome.org> and
23217 Colin Walters <walters@verbum.org>.
23219 This impementation enforces the assumption that any one function
23220 signature can only have one (callback, userdata, destronotify) tuple.
23221 This allows us to move callback creation into the actual function
23222 invoke pipeline and also to keep just one destroy notify callback
23223 around, vastly simplifying the code.
23225 https://bugzilla.gnome.org/show_bug.cgi?id=603095
23228 gi/Makefile.am | 4 +
23229 gi/pygi-argument.c | 12 ++-
23230 gi/pygi-callbacks.c | 216
23231 ++++++++++++++++++++++++++++++++++++++++++++++++++++
23232 gi/pygi-callbacks.h | 47 ++++++++++++
23233 gi/pygi-closure.c | 205
23234 +++++++++++++++++++++++++++++++++++++++++++++++++
23235 gi/pygi-closure.h | 57 ++++++++++++++
23236 gi/pygi-info.c | 49 ++++++++++--
23237 gi/pygi-private.h | 2 +
23238 tests/test_gi.py | 64 +++++++++++++++-
23239 10 files changed, 648 insertions(+), 10 deletions(-)
23241 commit a34cb9f0038a6c89e5e6c5f7761d48a5a833044f
23242 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
23243 Date: Sat Apr 17 10:54:45 2010 -0400
23245 Add support for foreign structs
23247 https://bugzilla.gnome.org/show_bug.cgi?id=603712
23249 configure.ac | 6 +++
23250 gi/Makefile.am | 10 +++-
23251 gi/gimodule.c | 7 +++
23252 gi/pygi-argument.c | 27 ++++++++++-
23253 gi/pygi-foreign-cairo.c | 103 +++++++++++++++++++++++++++++++++++++++
23254 gi/pygi-foreign-cairo.h | 55 +++++++++++++++++++++
23255 gi/pygi-foreign.c | 123
23256 +++++++++++++++++++++++++++++++++++++++++++++++
23257 gi/pygi-foreign.h | 52 ++++++++++++++++++++
23258 gi/pygi-private.h | 1 +
23259 tests/test_everything.py | 48 ++++++++++++++++++
23260 10 files changed, 428 insertions(+), 4 deletions(-)
23262 commit e73b6f6fe8b5f23a2a390ae0a6bbced593ded155
23263 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
23264 Date: Fri Apr 16 14:35:13 2010 -0400
23266 Allow creating structs with pointers
23268 https://bugzilla.gnome.org/show_bug.cgi?id=603537
23270 gi/pygi-struct.c | 6 ------
23271 tests/test_gi.py | 3 ++-
23272 2 files changed, 2 insertions(+), 7 deletions(-)
23274 commit fc9ff02e53aacf9e77625c70985e99813544912a
23275 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
23276 Date: Fri Apr 16 10:40:40 2010 -0400
23278 Add gdb and valgrind variants for the tests
23280 HACKING | 19 +++++++++++++++++++
23281 Makefile.am | 12 ++++++++++++
23282 tests/Makefile.am | 14 +++++++++++++-
23283 3 files changed, 44 insertions(+), 1 deletion(-)
23285 commit 695ac7bc5c60371a32538d690c7a15509f3c9637
23286 Author: John Stowers <john.stowers@gmail.com>
23287 Date: Fri Apr 16 14:36:11 2010 +1200
23289 Add build docs for windows
23292 README.win32 | 24 ++++++++++++++++++++++++
23293 2 files changed, 25 insertions(+)
23295 commit e580da87f0b2fd36cb5d8008fb2fb0c3b01f456a
23296 Author: John Stowers <john.stowers@gmail.com>
23297 Date: Thu Apr 15 13:40:39 2010 +1200
23299 Setup.py cosmetic tidy
23301 * Remove local doc install, point to website instead
23302 * link to versioned docs
23304 pygobject_postinstall.py | 43 ++++++++++++++++++++++++++-----------------
23305 setup.py | 39 ++++++++++++++-------------------------
23306 2 files changed, 40 insertions(+), 42 deletions(-)
23308 commit 69ecd506c83ddf180c6cc9a2a8dc753a02543959
23309 Author: John Stowers <john.stowers@gmail.com>
23310 Date: Sat Jul 25 14:12:30 2009 +1200
23312 Fix crash when importing gio
23314 Only seems to be necessary on windows, but
23315 no harm on linux as multiple calls to init
23318 gio/giomodule.c | 3 +++
23319 1 file changed, 3 insertions(+)
23321 commit 5d159a13d89587cba189a0ca3203ac003e2f1f2b
23322 Author: John Stowers <john.stowers@gmail.com>
23323 Date: Thu Apr 15 22:52:48 2010 +1200
23325 Bug 589671 - Dont use generate-constants
23327 This breaks the build using distutils, and it is
23328 largely unneeded. Just add the G_XXX constants
23329 to the module directly
23331 gobject/Makefile.am | 16 +--------
23332 gobject/constants.py | 83
23333 ++++++++++++++++++++++++++++++++++++++++++++
23334 gobject/constants.py.in | 50 --------------------------
23335 gobject/generate-constants.c | 44 -----------------------
23336 gobject/gobjectmodule.c | 35 +++++++++++++++++++
23338 tests/runtests.py | 3 +-
23339 7 files changed, 121 insertions(+), 112 deletions(-)
23341 commit 6d7a3ab9ce352692d0faccbf106974d264fa953d
23342 Author: John Stowers <john.stowers@gmail.com>
23343 Date: Thu Apr 15 22:49:17 2010 +1200
23345 Bug 589671 - Fix setup.py for windows build
23347 * Building pyglib as a static private library
23348 * Update to include new defs
23349 * Modernise setup.py and add more util functions
23352 dsextras.py | 32 ++++++++++++++++---
23354 +++++++++++++++++++++++++++++++++++++++++++++++++++---------
23355 2 files changed, 116 insertions(+), 18 deletions(-)
23357 commit d11ef47072acae5801ce25c68d1289e425eb9fc2
23358 Author: John Stowers <john.stowers@gmail.com>
23359 Date: Thu Apr 15 22:48:28 2010 +1200
23361 Include pygsource.h
23363 glib/pygiochannel.c | 1 +
23364 1 file changed, 1 insertion(+)
23366 commit c5f6af4844c74354abc508d17969d9d45153acf2
23367 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
23368 Date: Thu Apr 15 14:25:59 2010 -0400
23370 Add metadata to the .doap file
23373 1 file changed, 3 insertions(+)
23375 commit 81796cb77cbe6b9598a652bd63c047af93e747ee
23376 Author: John (J5) Palmieri <johnp@redhat.com>
23377 Date: Wed Apr 14 12:01:43 2010 -0400
23379 override that wasn't checked in - fixes some test cases
23381 gi/overrides/GIMarshallingTests.py | 69
23382 ++++++++++++++++++++++++++++++++++++++
23383 1 file changed, 69 insertions(+)
23385 commit de5d2ea1584b01af809346316c7fbd4955a9db1d
23386 Author: Colin Walters <walters@verbum.org>
23387 Date: Wed Apr 14 10:06:07 2010 -0400
23389 [Makefile.am] Clean up CFLAGS handling, don't override all: target
23391 First, we should move the CFLAGS into AM_CFLAGS, otherwise the
23392 per-target CFLAGS forces Automake to prefix object files, which
23393 is unnecessary since we only have one target.
23395 More importantly, avoid overriding the all: target here; that's
23396 owned by Automake. Use all-local instead to append things to
23397 the end of the normal build.
23399 gi/Makefile.am | 15 +++++++++------
23400 1 file changed, 9 insertions(+), 6 deletions(-)
23402 commit 5a47e96e3f580c973e6880dafa747f54c144c760
23403 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
23404 Date: Tue Apr 13 19:15:49 2010 -0400
23406 Use GIMarshallingTests (old TestGI) in gobject-introspection
23408 gi/overrides/TestGI.py | 69 --
23409 tests/Makefile.am | 40 -
23410 tests/libtestgi.c | 2924
23411 ------------------------------------------------
23412 tests/libtestgi.h | 628 -----------
23413 tests/test_gi.py | 832 +++++++-------
23414 5 files changed, 416 insertions(+), 4077 deletions(-)
23416 commit 681832c3cd040433a488a400693b68f213bf7078
23417 Author: José Alburquerque <jaalburqu@svn.gnome.org>
23418 Date: Tue Apr 13 13:33:12 2010 -0400
23420 codegen/docextract_to_xml.py: One more &...; replacement ( ).
23422 * codegen/docextract_to_xml.py: Replace which also causes
23423 errors with a regular space.
23425 codegen/docextract_to_xml.py | 1 +
23426 1 file changed, 1 insertion(+)
23428 commit bd4e7f2459e34957aaae59b9be807d6dff5ec1eb
23429 Author: José Alburquerque <jaalburqu@svn.gnome.org>
23430 Date: Tue Apr 13 12:28:10 2010 -0400
23432 codegen/docextract_to_xml.py: Replace some &..; that cause errors.
23434 * codegen/docextract_to_xml.py (escape_text): Replace some &..;
23435 expressions that cause errors with more appropriate output.
23437 codegen/docextract_to_xml.py | 4 ++++
23438 1 file changed, 4 insertions(+)
23440 commit f00b9ce91fc9c3aabd4af4132fc112d9e415e12e
23441 Author: José Alburquerque <jaalburqu@svn.gnome.org>
23442 Date: Sun Apr 11 17:46:40 2010 -0400
23444 codegen/docextract_to_xml.py: Handle C++ multi-line comments.
23446 * codegen/docextract_to_xml.py (escape_text): Translate '/*'
23448 in text to '/ *' and '* /' respectively so that comment errors
23450 show up when the descriptions that include C++ code with C++
23451 multi-line comments are used in Doxygen blocks.
23453 codegen/docextract_to_xml.py | 9 +++++++++
23454 1 file changed, 9 insertions(+)
23456 commit a2fcdecbb5e109da5568084d7acb2332af83b6f5
23457 Author: José Alburquerque <jaalburqu@svn.gnome.org>
23458 Date: Sun Apr 11 16:15:01 2010 -0400
23460 codegen/docextract.py: Stop final section processing on first
23463 * codegen/docextract.py (process_final_sections): Modify the final
23464 section pattern matching for loop to stop on first match so
23466 doesn't match both a colon return ('Returns: ...') and a no colon
23467 return ('Returns ...') which leads to annotation extraction
23470 codegen/docextract.py | 4 ++++
23471 1 file changed, 4 insertions(+)
23473 commit 825fd305f03b726665edca34963978ce27448182
23474 Author: José Alburquerque <jaalburqu@svn.gnome.org>
23475 Date: Sun Apr 11 15:45:09 2010 -0400
23477 Update doc extraction tool to handle GObjectIntrospection
23480 * codegen/docextract.py (FunctionDoc): Renamed class to GtkDoc.
23481 (GtkDoc::annotations): Added a list field to store annotations
23483 are 2-tuples of (name, value).
23484 (GtkDoc::ret): Modified field to store the return description
23486 with a list of annotations as described above.
23487 (GtkDoc::params): Now holds a list of 3-tupples: name,
23489 annotations (as described above).
23490 (GtkDoc::block_type): Add a field to tell if the comment block
23492 function block, signal block or property block.
23493 (GtkDoc::set_type):
23494 (GtkDoc::get_type): Add methods for setting/getting the block
23496 (GtkDoc::add_param): Modified to also accept a list of
23498 be added with the parameter.
23499 (GtkDoc::add_annotation):
23500 (GtkDoc::get_annotations): Added methods to add/get annotations
23503 (GtkDoc::append_description): Renamed to append_to_description().
23504 (GtkDoc::get_param_description): Removed unused method.
23505 (GtkDoc::get_description): Added method to get block description.
23506 (GtkDoc::add_return): Added method to add a return accepting
23508 line of the description and its annotations.
23509 (GtkDoc::append_return): Renamed to append_to_return().
23510 (Regular expressions):
23511 - Made the names of the variables un-abbreviated.
23513 - Added 'since', 'deprecated' and 'rename to' regular
23516 - Modified the return matching regular expression so that
23518 match descriptions that begin with 'Returns ...'.
23520 the docs of many function.
23522 - Added signal and property comment block identifier matching
23524 expressions in case those are useful.
23526 - Modified existing identifier matching regular expressions
23528 signal, and property regular expressions) to properly parse
23529 annotations. Also added a regular expression for extracting
23530 annotations from the parameter and return descriptions.
23532 - Refined the function name matching regular expression to
23534 identifiers that begin with a lowercase letter. This eliminates
23535 'SECTION:' matches.
23537 - Finally, grouped commonly related expressions like
23539 since_pattern, etc. into groups (in lists) so that matching
23541 sections can be done using loops.
23543 (Parsing algorithm): Modified the algorithm to use a functional
23544 approach to parsing. Extra methods like skip_to_comment() and
23545 processs_params() have been added and used in the parse_file()
23546 function to now process the comment blocks.
23547 (parse_dir): Added file processing output to stderr.
23548 * codegen/docextract_to_xml.py (usage): Added function to
23551 (print_annotations): Added function to print the given list of
23553 (options): Added --with-signals (-i), with-properties (-p) and
23554 --with-annotation (-a) to the existing --source-dir (-s) option.
23556 (algorithm): Now prints annotations, if specified. Also, prints
23557 signals and properties correctly (using names like
23559 for signals and Classs:property) with xml such as <signal
23560 name="...">...</signal>. The return xml is slightly modified with
23561 annotations but this would only be exhibited if annotation xml is
23564 codegen/docextract.py | 439
23565 ++++++++++++++++++++++++++++++++++---------
23566 codegen/docextract_to_xml.py | 87 ++++++---
23567 2 files changed, 414 insertions(+), 112 deletions(-)
23569 commit 9fef1acb42cd900d4a814a7378f60bc189121785
23570 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
23571 Date: Fri Apr 9 13:47:03 2010 +0200
23573 Always create the .so link
23575 gi/Makefile.am | 2 +-
23576 1 file changed, 1 insertion(+), 1 deletion(-)
23578 commit e9f7fd414e94595e40eb1ba0fc471ca69136d82f
23579 Author: Paul Bolle <pebolle@tiscali.nl>
23580 Date: Thu Apr 8 11:52:25 2010 +0200
23582 Docs: replace gio.IO_ERROR_* with gio.ERROR_*
23584 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
23586 docs/reference/pygio-file.xml | 58
23587 ++++++++++++++++++------------------
23588 docs/reference/pygio-inputstream.xml | 22 +++++++-------
23589 docs/reference/pygio-mount.xml | 10 +++----
23590 3 files changed, 45 insertions(+), 45 deletions(-)
23592 commit 4cbd9941c5705970a9f7a429e236e1203d3155a1
23593 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
23594 Date: Mon Apr 5 18:10:42 2010 +0200
23596 Bug 613341 - pygobject tests seem to require pygtk causing a circular
23597 dependencies problem
23599 move tests that require pygtk to pygtk itself
23601 tests/test_conversion.py | 83 --------------
23602 tests/test_enum.py | 234 --------------------------------------
23603 tests/test_gtype.py | 112 ------------------
23604 tests/test_subtype.py | 289
23605 -----------------------------------------------
23606 4 files changed, 718 deletions(-)
23608 commit ef0ceb266a45715ece58642fb0042e3376416755
23609 Author: Simon van der Linden <svdlinden@src.gnome.org>
23610 Date: Wed Feb 3 20:33:03 2010 +0100
23612 Add modelines and copyright information to overrides modules
23614 gi/overrides/Gdk.py | 21 +++++++++++++++++++++
23615 gi/overrides/Gtk.py | 21 +++++++++++++++++++++
23616 gi/overrides/TestGI.py | 20 ++++++++++++++++++++
23617 3 files changed, 62 insertions(+)
23619 commit 5106523a4b8378997a1e6cb0488398aa73e7d9d5
23620 Author: Simon van der Linden <svdlinden@src.gnome.org>
23621 Date: Wed Feb 3 20:29:55 2010 +0100
23623 Fix and complete overrides tests
23625 Those tests were missing in the last commit
23627 https://bugzilla.gnome.org/show_bug.cgi?id=602830
23629 gi/overrides/TestGI.py | 49
23630 +++++++++++++++++++++++++++++++++++++++++++++++++
23631 tests/test_gi.py | 8 +++++++-
23632 2 files changed, 56 insertions(+), 1 deletion(-)
23634 commit 23fc0f615d87994acafd9d39e92dd92b587fc2eb
23635 Author: Simon van der Linden <svdlinden@src.gnome.org>
23636 Date: Thu Jan 21 17:30:51 2010 +0100
23638 Don't raise an error in _pygi_import if pygi support is disabled
23640 http://bugzilla.gnome.org/show_bug.cgi?id=607674
23642 gobject/pygboxed.c | 6 +-----
23643 gobject/pygi-external.h | 1 -
23644 gobject/pygobject.c | 6 +-----
23645 gobject/pygpointer.c | 6 +-----
23646 4 files changed, 3 insertions(+), 16 deletions(-)
23648 commit aefac8c5f64bf059dd6652f8a843d17b34fa0854
23649 Author: Simon van der Linden <svdlinden@src.gnome.org>
23650 Date: Fri Jan 22 22:22:37 2010 +0100
23652 Remove support for pointers to basic types as input-only argument
23655 There is no reason for an API to use such things, and
23656 g_function_info_invoke
23657 broke such features.
23659 https://bugzilla.gnome.org/show_bug.cgi?id=607759
23661 gi/pygi-argument.c | 586 ++++-------------------------------------------
23662 gi/pygi-argument.h | 1 -
23663 gi/pygi-info.c | 8 +-
23664 tests/libtestgi.c | 660
23665 -----------------------------------------------------
23666 tests/libtestgi.h | 86 -------
23667 tests/test_gi.py | 144 ------------
23668 6 files changed, 47 insertions(+), 1438 deletions(-)
23670 commit eaf7cb8ebb7e34f9493ac83b2f04af4dcf45f40f
23671 Author: Simon van der Linden <svdlinden@src.gnome.org>
23672 Date: Fri Jan 22 13:41:21 2010 +0100
23674 Restore the overrides support
23676 Add a ModuleProxy in front of the DynamicModule when an overrides
23678 present. There is no need for an overrides module to be a class;
23679 it can just be a module.
23681 Add an override decorator to override the wrapper of a registered
23684 Adapt Gdk and Gtk accordingly.
23688 https://bugzilla.gnome.org/show_bug.cgi?id=602830
23690 gi/importer.py | 40 +++++++-------------
23691 gi/module.py | 43 ++++++++++++++-------
23692 gi/overrides/Gdk.py | 42 +++++++++++++--------
23693 gi/overrides/Gtk.py | 16 ++++----
23694 gi/types.py | 6 +++
23695 tests/libtestgi.c | 105
23696 ++++++++++++++++++++++++++++++++++++++++++++++++++++
23697 tests/libtestgi.h | 49 ++++++++++++++++++++++++
23698 tests/test_gi.py | 36 ++++++++++++++++++
23699 8 files changed, 273 insertions(+), 64 deletions(-)
23701 commit 289d641775d1ea52d2a5379126b70b7fcee46683
23702 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
23703 Date: Sun Jan 10 21:01:59 2010 +0100
23705 Initialize PyGPollFD_Type.fd_obj to NULL
23707 https://bugzilla.gnome.org/show_bug.cgi?id=606582
23709 gio/gcancellable.override | 1 +
23710 1 file changed, 1 insertion(+)
23712 commit b11cf2595987c1f0fc4ffd834f07c98b92aa2355
23713 Author: Simon van der Linden <svdlinden@src.gnome.org>
23714 Date: Fri Jan 8 21:10:28 2010 +0100
23716 Initialize struct fields to 0 when allocating
23718 gi/pygi-struct.c | 2 +-
23719 tests/test_gi.py | 5 +++++
23720 2 files changed, 6 insertions(+), 1 deletion(-)
23722 commit b4189be2b2d3c350fdf33e27309bee5a72e4f72a
23723 Author: Simon van der Linden <svdlinden@src.gnome.org>
23724 Date: Fri Jan 8 20:33:44 2010 +0100
23726 Don't set a default constructor for structures.
23728 Update tests accordingly.
23730 The reason for this change is that setting __new__ in the metaclass
23732 one overrides it afterwards, in a subclass (in my experience, at
23734 though it seems weird).
23736 https://bugzilla.gnome.org/show_bug.cgi?id=603536
23738 gi/types.py | 35 +++++++----------------------------
23739 tests/libtestgi.c | 33 ---------------------------------
23740 tests/libtestgi.h | 7 -------
23741 tests/test_gi.py | 21 ++++++++++-----------
23742 4 files changed, 17 insertions(+), 79 deletions(-)
23744 commit 4db68b958ea11bd2c3a88067cae03fd6bdd1d24b
23745 Author: Simon van der Linden <svdlinden@src.gnome.org>
23746 Date: Tue Jan 5 13:36:44 2010 +0100
23748 Suppress compilation warnings
23750 gi/pygi-argument.c | 3 ++-
23751 gi/pygi-boxed.c | 2 --
23752 gi/pygobject-external.h | 2 +-
23753 3 files changed, 3 insertions(+), 4 deletions(-)
23755 commit 4e2efa91d101bf755739e1cca8eee41eb0ad20fd
23756 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
23757 Date: Mon Jan 4 08:35:14 2010 +0100
23759 Bug 605937 - pygobject: Makefile.am sets $TMPDIR, disrupting distcc
23761 Committed a patch from Kevin Pyle
23763 Makefile.am | 27 +++++++++++++--------------
23764 1 file changed, 13 insertions(+), 14 deletions(-)
23766 commit 8ddcbca0e98e0b0c082170a2b2b6cfcbd7864b40
23767 Author: Simon van der Linden <svdlinden@src.gnome.org>
23768 Date: Fri Dec 11 22:24:30 2009 +0100
23770 sys.path must be modified after pygtk is imported
23772 Otherwise, sys.path is overridden by pygtk and gi.repository is
23774 system's default site-package directory.
23776 tests/runtests.py | 1 -
23777 tests/test_gi.py | 3 +++
23778 2 files changed, 3 insertions(+), 1 deletion(-)
23780 commit 284a1e1c0143c95d3007cf58e6c248b5d11fb4d1
23781 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
23782 Date: Sun Jan 3 11:02:57 2010 +0100
23784 Wrap gio.Cancellable.make_pollfd() and add a test
23786 gio/Makefile.am | 1 +
23787 gio/gcancellable.override | 37 +++++++++++++++++++++++++++++++++++++
23788 gio/gio.override | 3 +++
23789 tests/test_gcancellable.py | 15 +++++++++++++++
23790 4 files changed, 56 insertions(+)
23792 commit 82d7bcbf37200ee2ef5892dd12bebd2f39965c56
23793 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
23794 Date: Sat Jan 2 23:15:56 2010 +0100
23796 Make cancellable an optional parameter in many methods
23799 +++++++++++++++++++++++++++++------------------------------
23800 1 file changed, 51 insertions(+), 51 deletions(-)
23802 commit 49a078cd22d55dc33a03ecfda235d63955edc741
23803 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
23804 Date: Sat Jan 2 23:15:21 2010 +0100
23806 Post release version bump to 2.21.2
23808 configure.ac | 2 +-
23809 1 file changed, 1 insertion(+), 1 deletion(-)
23811 commit 4f9f1f43ab4e2cfb204ffa0e257a34cfd95d84e2
23812 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
23813 Date: Sat Jan 2 22:58:36 2010 +0100
23815 Update NEWS and release PyGObject-2.21.1
23817 NEWS | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
23818 1 file changed, 55 insertions(+)
23820 commit c1f34be73bd186d7b4682dfef133da2c4229d213
23821 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
23822 Date: Fri Jan 1 20:25:35 2010 +0100
23824 Wrap gio.Volume.eject_with_operation()
23826 gio/gvolume.override | 54
23827 ++++++++++++++++++++++++++++++++++++++++++++++++++++
23828 1 file changed, 54 insertions(+)
23830 commit 9b76fbff6f6897aaf26ed4644c1f19efc2826917
23831 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
23832 Date: Fri Jan 1 20:22:21 2010 +0100
23834 gio.Mount.unmount_with_operation() fix a copy/paste leftover
23836 gio/gmount.override | 4 ++--
23837 1 file changed, 2 insertions(+), 2 deletions(-)
23839 commit 6f459786dd641cd49d81eba403d940620f961cab
23840 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
23841 Date: Fri Jan 1 20:21:05 2010 +0100
23843 Wrap gio.Mount.eject_with_operation()
23845 gio/gmount.override | 54
23846 +++++++++++++++++++++++++++++++++++++++++++++++++++++
23847 1 file changed, 54 insertions(+)
23849 commit d4b5d1b4839364e5676eb2da28f1d21db7e2552d
23850 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
23851 Date: Fri Jan 1 20:15:38 2010 +0100
23853 Wrap gio.Mount.unmount_mountable_with_operation()
23855 gio/gmount.override | 54
23856 +++++++++++++++++++++++++++++++++++++++++++++++++++++
23857 1 file changed, 54 insertions(+)
23859 commit e919d47c2430451b436cec955e9b99237f97028c
23860 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
23861 Date: Fri Jan 1 18:22:46 2010 +0100
23863 Wrap File.unmount_mountable_with_operation()
23865 gio/gfile.override | 54
23866 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
23867 1 file changed, 54 insertions(+)
23869 commit 5a614df9c5507d67f240462f7bf71b4cd411addf
23870 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
23871 Date: Fri Jan 1 18:14:11 2010 +0100
23873 Wrap gio.File.stop_mountable()
23875 gio/gfile.override | 52
23876 ++++++++++++++++++++++++++++++++++++++++++++++++++++
23877 1 file changed, 52 insertions(+)
23879 commit 6af506647f36f2b825bc6556df5ee57fa7721906
23880 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
23881 Date: Fri Jan 1 18:10:49 2010 +0100
23883 Wrap gio.File.start_mountable()
23885 gio/gfile.override | 52
23886 ++++++++++++++++++++++++++++++++++++++++++++++++++++
23887 1 file changed, 52 insertions(+)
23889 commit e700efc839fc0b651fc9794a1611190bffa80263
23890 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
23891 Date: Fri Jan 1 18:02:46 2010 +0100
23893 Wrap gio.File.replace_readwrite_async()
23895 gio/gfile.override | 55
23896 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
23897 1 file changed, 55 insertions(+)
23899 commit 92662f129fc728258fd5e34f53dcb081e3715017
23900 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
23901 Date: Fri Jan 1 17:00:26 2010 +0100
23903 Wrap gio.File.poll_mountable()
23905 gio/gfile.override | 41 +++++++++++++++++++++++++++++++++++++++++
23906 1 file changed, 41 insertions(+)
23908 commit 99902b786500948c3278779841e4db54223b9256
23909 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
23910 Date: Fri Jan 1 16:56:26 2010 +0100
23912 Wrap gio.File.open_readwrite_async()
23914 gio/gfile.override | 44 ++++++++++++++++++++++++++++++++++++++++++++
23915 1 file changed, 44 insertions(+)
23917 commit 8cff5d53183ae81364ac74a34a1d52e55e082eb4
23918 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
23919 Date: Fri Jan 1 16:50:15 2010 +0100
23921 Wrap gio.File.eject_mountable_with_operation()
23923 gio/gfile.override | 54
23924 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
23925 1 file changed, 54 insertions(+)
23927 commit ca436fe7785fd24b0f0e65f2f8c9fa6478277682
23928 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
23929 Date: Fri Jan 1 13:30:24 2010 +0100
23931 Wrap gio.File.create_readwrite_async() and add a test
23933 gio/gfile.override | 51
23934 +++++++++++++++++++++++++++++++++++++++++++++++++++
23935 tests/test_gio.py | 24 ++++++++++++++++++++++++
23936 2 files changed, 75 insertions(+)
23938 commit f72c5e451dfaeb01b3c3d9243fed2732d3620462
23939 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
23940 Date: Fri Jan 1 13:20:11 2010 +0100
23942 Wrap gio.Drive.stop()
23944 gio/gdrive.override | 52
23945 ++++++++++++++++++++++++++++++++++++++++++++++++++++
23946 1 file changed, 52 insertions(+)
23948 commit 29043bade408338cefa13fb4b0c875aabd3ef05e
23949 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
23950 Date: Fri Jan 1 13:00:42 2010 +0100
23952 Wrap gio.Drive.start()
23954 gio/gdrive.override | 52
23955 ++++++++++++++++++++++++++++++++++++++++++++++++++++
23956 1 file changed, 52 insertions(+)
23958 commit dff374287bbecc8af782bbc726fad86c6c867754
23959 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
23960 Date: Fri Jan 1 12:45:29 2010 +0100
23962 Add more remainders on missing methods of gio.Socket and related types
23964 gio/gsocket.override | 3 +++
23965 1 file changed, 3 insertions(+)
23967 commit b8c7e996498bd72df551011af85ff05ef7335b4f
23968 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
23969 Date: Fri Jan 1 12:41:08 2010 +0100
23971 Wrap gio.SocketListener.accept_socket_async|finish() and add a test
23973 gio/gsocket.override | 86
23974 +++++++++++++++++++++++++++++++++++++++++++++++++--
23975 tests/test_gsocket.py | 24 ++++++++++++++
23976 2 files changed, 108 insertions(+), 2 deletions(-)
23978 commit a5ae2d5ba3db34967fe07a3cc97b75df2793988c
23979 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
23980 Date: Fri Jan 1 12:28:53 2010 +0100
23982 Wrap gio.SocketListener.accept_finish() and add a test
23984 gio/gsocket.override | 44 ++++++++++++++++++++++++++++++++++++++++++--
23985 tests/test_gsocket.py | 24 ++++++++++++++++++++++++
23986 2 files changed, 66 insertions(+), 2 deletions(-)
23988 commit a5ab26cc1bb3e9dd57e2fdb26ef5c02e8066d097
23989 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
23990 Date: Fri Jan 1 11:19:34 2010 +0100
23992 Wrap gio.SocketListener.accept_async()
23994 gio/gsocket.override | 42 ++++++++++++++++++++++++++++++++++++++++++
23995 1 file changed, 42 insertions(+)
23997 commit c9496b29ef9ef232020a4044577d2947353953a5
23998 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
23999 Date: Fri Jan 1 11:14:35 2010 +0100
24001 Wrap gio.SocketListener.accept_socket() and add a test
24003 gio/gsocket.override | 48
24004 +++++++++++++++++++++++++++++++++++++++++++++++-
24005 tests/test_gsocket.py | 13 +++++++++++++
24006 2 files changed, 60 insertions(+), 1 deletion(-)
24008 commit 1aa5e301c49f11e1c5ef58de44b4b03f714d1a70
24009 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24010 Date: Thu Dec 31 16:35:18 2009 +0100
24012 Wrap gio.SocketListener.accept() and add a test
24014 gio/gsocket.override | 46 +++++++++++++++++++++++++++++++++++++++++++++-
24015 tests/test_gsocket.py | 13 +++++++++++++
24016 2 files changed, 58 insertions(+), 1 deletion(-)
24018 commit aaedcf166c78baf5449ef59d0ade4a29077fedc7
24019 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24020 Date: Thu Dec 31 16:25:33 2009 +0100
24022 Make cancellable optional in gio.SocketClient.connect_to_host()
24024 gio/gio.defs | 2 +-
24025 1 file changed, 1 insertion(+), 1 deletion(-)
24027 commit 3829d7667b19126fb74562b28d271e616b154c99
24028 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24029 Date: Thu Dec 31 15:25:10 2009 +0100
24031 Wrap gio.SocketListener.add_address() and add a test
24033 gio/gsocket.override | 57
24034 ++++++++++++++++++++++++++++++++++++++++++++++++++-
24035 tests/test_gsocket.py | 9 ++++++++
24036 2 files changed, 65 insertions(+), 1 deletion(-)
24038 commit 5bec72f34ea75bc56158cae5c39d61a2a4e7e601
24039 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24040 Date: Thu Dec 31 10:19:47 2009 +0100
24042 Add more remainders on missing methods of gio.Socket and related types
24044 gio/gsocket.override | 8 ++++++++
24045 1 file changed, 8 insertions(+)
24047 commit b08b20f2b1a57bcbf400d6fe8e87cf052bdb719d
24048 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24049 Date: Thu Dec 31 10:16:18 2009 +0100
24051 Wrap gio.SocketClient.connect_to_service_async()
24053 gio/gsocket.override | 47 +++++++++++++++++++++++++++++++++++++++++++++++
24054 1 file changed, 47 insertions(+)
24056 commit 116ea1bfe32946e67aa54eb8dc7b977e57f254c2
24057 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24058 Date: Thu Dec 31 10:10:43 2009 +0100
24060 Wrap gio.SocketClient.connect_to_host_async()
24062 gio/gsocket.override | 48
24063 ++++++++++++++++++++++++++++++++++++++++++++++++
24064 1 file changed, 48 insertions(+)
24066 commit 9c930910505d5b9001b8cec17ff98fadeaa799e2
24067 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24068 Date: Thu Dec 31 09:59:46 2009 +0100
24070 Wrap gio.SocketClient.connect_async()
24072 gio/gsocket.override | 45 +++++++++++++++++++++++++++++++++++++++++++++
24073 1 file changed, 45 insertions(+)
24075 commit dff024256295c15e49888ad9d5fef74a7746edd7
24076 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24077 Date: Wed Dec 30 23:44:25 2009 +0100
24079 Wrap gio.SocketAddressEnumerator.next_async() and add a test
24081 gio/gsocket.override | 42 ++++++++++++++++++++++++++++++++++++++++++
24082 tests/test_gsocket.py | 16 ++++++++++++++++
24083 2 files changed, 58 insertions(+)
24085 commit e2330bd0d6cbc49b0ecb27b30e3b0593935ce229
24086 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24087 Date: Wed Dec 30 23:43:14 2009 +0100
24089 Add a missing object gio.InetSocketAddress new in GIO 2.22
24091 gio/gio-types.defs | 7 +++++++
24092 gio/gio.defs | 31 +++++++++++++++++++++++++++++++
24093 2 files changed, 38 insertions(+)
24095 commit 6040b33467ea381c6cb02f6a5efc0745fa8fa47b
24096 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24097 Date: Wed Dec 30 22:54:47 2009 +0100
24099 Make cancellable optional for gio.SocketAddressEnumerator.next()
24101 gio/gio.defs | 2 +-
24102 1 file changed, 1 insertion(+), 1 deletion(-)
24104 commit b19f59790b9de943d69b6c5e483928e0443c3d20
24105 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24106 Date: Wed Dec 30 22:17:44 2009 +0100
24108 Add a remainder of the Socket methods that needs manual wrapping still
24110 gio/gsocket.override | 5 +++++
24111 1 file changed, 5 insertions(+)
24113 commit 771a7c3fdef7b2e98e509293a8376a81c1282286
24114 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24115 Date: Wed Dec 30 17:20:35 2009 +0100
24117 Wrap gio.Socket.condition_wait() and add a test
24119 gio/gsocket.override | 27 +++++++++++++++++++++++++++
24120 tests/test_gsocket.py | 6 +++++-
24121 2 files changed, 32 insertions(+), 1 deletion(-)
24123 commit 50960656815b0897a5ebe5f011537b8dcbdc857e
24124 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24125 Date: Wed Dec 30 16:21:49 2009 +0100
24127 Wrap gio.Socket.condition_check() and add a test
24129 gio/Makefile.am | 1 +
24130 gio/gio.override | 1 +
24131 gio/gsocket.override | 41 +++++++++++++++++++++++++++++++++++++++++
24132 tests/test_gsocket.py | 21 +++++++++++++++++++++
24133 4 files changed, 64 insertions(+)
24135 commit de7a359e81792ae8573ac944455ea289985449ed
24136 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24137 Date: Wed Dec 30 14:07:52 2009 +0100
24139 Wrap gio.Resolver.lookup_service_finish() and add a test
24141 gio/gresolver.override | 37 +++++++++++++++++++++++++++++++++++++
24142 tests/test_gresolver.py | 13 +++++++++++++
24143 2 files changed, 50 insertions(+)
24145 commit 308421789ce849040d645077c41c80b6e2e65e83
24146 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24147 Date: Wed Dec 30 14:00:22 2009 +0100
24149 Wrap gio.Resolver.lookup_service_async()
24151 gio/gresolver.override | 48
24152 ++++++++++++++++++++++++++++++++++++++++++++++++
24153 1 file changed, 48 insertions(+)
24155 commit 9d56ce775f56fff1b1ef3c75843c0583e39f75c3
24156 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24157 Date: Wed Dec 30 11:11:32 2009 +0100
24159 Wrap gio.Resolver.lookup_service() and add a test
24161 gio/gresolver.override | 42 ++++++++++++++++++++++++++++++++++++++++++
24162 tests/test_gresolver.py | 5 +++++
24163 2 files changed, 47 insertions(+)
24165 commit 7fc71f490494dae73a5264869a97a9d30814930e
24166 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24167 Date: Tue Dec 29 22:12:50 2009 +0100
24169 Wrap gio.Resolver.lookup_by_address_async() and add a test
24171 gio/gresolver.override | 46
24172 ++++++++++++++++++++++++++++++++++++++++++++++
24173 tests/test_gresolver.py | 14 ++++++++++++++
24174 2 files changed, 60 insertions(+)
24176 commit c91656dbe56f07d3ebbad5113467c22427cf212a
24177 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24178 Date: Tue Dec 29 21:41:30 2009 +0100
24180 Wrap gio.Resolver.lookup_by_name_finish() and add a test
24182 gio/gresolver.override | 82
24183 +++++++++++++++++++++++++++++++++++++++++++++++++
24184 tests/test_gresolver.py | 16 ++++++++--
24185 2 files changed, 96 insertions(+), 2 deletions(-)
24187 commit 45b477342fa1c2435917c6d97745ad57665c4734
24188 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24189 Date: Tue Dec 29 17:15:44 2009 +0100
24191 Wrap gio.Drive.eject_with_data()
24193 gio/gdrive.override | 54
24194 +++++++++++++++++++++++++++++++++++++++++++++++++++++
24195 1 file changed, 54 insertions(+)
24197 commit 635227480f9659a1f91ab1ec12536d3ed012a976
24198 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24199 Date: Tue Dec 29 17:06:52 2009 +0100
24201 Deprecate old gio.Drive methods
24203 gio/gdrive.override | 7 ++++++-
24205 2 files changed, 7 insertions(+), 1 deletion(-)
24207 commit 3c0cbc95af29b1e192ed4b5963e96e39c70b349c
24208 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24209 Date: Tue Dec 29 13:51:54 2009 +0100
24211 Small fix in the header
24213 gio/gdrive.override | 2 +-
24214 1 file changed, 1 insertion(+), 1 deletion(-)
24216 commit 7589128515b79d836365247dc876538c6352da23
24217 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24218 Date: Tue Dec 29 12:40:50 2009 +0100
24220 Wrap gio.Resolver.lookup_by_name() and add a couple of tests
24222 gio/Makefile.am | 1 +
24223 gio/gio.override | 1 +
24224 gio/gresolver.override | 57
24225 +++++++++++++++++++++++++++++++++++++++++++++++++
24226 tests/test_gresolver.py | 21 ++++++++++++++++++
24227 4 files changed, 80 insertions(+)
24229 commit 604d2bf220b1fefa415baaedbdb2882dbaf9e07e
24230 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24231 Date: Tue Dec 29 12:39:13 2009 +0100
24233 Make cancellable an optional parameter in
24234 gio.Resolver.lookup_by_address()
24236 gio/gio.defs | 2 +-
24237 1 file changed, 1 insertion(+), 1 deletion(-)
24239 commit 00029145f4cd10759b37b38fb9f72435bf26b28b
24240 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24241 Date: Tue Dec 29 10:15:14 2009 +0100
24243 Strip g_ prefix for many other functions
24246 ++++++++++++++++++++++++++++++------------------------------
24247 1 file changed, 47 insertions(+), 47 deletions(-)
24249 commit 56d5dfc4fd862e32c19f944a0feb7a00a9154f06
24250 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24251 Date: Tue Dec 29 10:12:53 2009 +0100
24253 Strip g_prefix from InetAddress functions
24255 gio/gio.defs | 8 ++++----
24256 1 file changed, 4 insertions(+), 4 deletions(-)
24258 commit 1d360301d51a587a36a59f5d62e354484bbd2b31
24259 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24260 Date: Tue Dec 29 10:03:59 2009 +0100
24262 Fix function name gio.resolver_get_default()
24264 Strip the g_ prefix from function name
24266 gio/gio.defs | 2 +-
24267 1 file changed, 1 insertion(+), 1 deletion(-)
24269 commit 0fe00109c4f6fc27cbaae9b0a24ecfac71355d2f
24270 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24271 Date: Tue Dec 29 09:54:05 2009 +0100
24273 Wrap gio.FileIOStream.query_info_async() and add a test
24275 gio/Makefile.am | 1 +
24276 gio/gfileiostream.override | 68
24277 ++++++++++++++++++++++++++++++++++++++++++++++
24278 gio/gio.override | 1 +
24279 tests/test_gio.py | 18 ++++++++++++
24280 4 files changed, 88 insertions(+)
24282 commit 86783c695f3641b9491962e8f95a4dcb91f4017c
24283 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24284 Date: Tue Dec 29 13:08:29 2009 +0100
24286 Register enums and flags in PyGI if needed
24288 https://bugzilla.gnome.org/show_bug.cgi?id=603534
24290 gobject/pygenum.c | 20 ++++++++++++++------
24291 gobject/pygflags.c | 19 +++++++++++++------
24292 2 files changed, 27 insertions(+), 12 deletions(-)
24294 commit b90c01cff5ff5cb2796182f2ffd7b5248eaeed6a
24295 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24296 Date: Mon Dec 28 22:41:54 2009 +0100
24298 Wrap GIOStream.close_async() and add a test
24300 gio/Makefile.am | 1 +
24301 gio/gio.override | 1 +
24302 gio/giostream.override | 68
24303 ++++++++++++++++++++++++++++++++++++++++++++++++++
24304 tests/test_gio.py | 21 ++++++++++++++++
24305 4 files changed, 91 insertions(+)
24307 commit 0bff01bcee73a0e0d18342331136119c4e8bf151
24308 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24309 Date: Mon Dec 28 22:39:09 2009 +0100
24311 Make cancellable an optional parameter in GFile.create_readwrite()
24313 gio/gio.defs | 2 +-
24314 1 file changed, 1 insertion(+), 1 deletion(-)
24316 commit 1cabd733cde269ce3164834933f4a226673ecb0b
24317 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24318 Date: Mon Dec 28 21:39:50 2009 +0100
24320 Remove a duplicate entry in gio.defs
24322 gio/gio.defs | 9 ---------
24323 1 file changed, 9 deletions(-)
24325 commit 9ac372ad0bcfdec4bb1c96bc152246542a59a9b1
24326 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24327 Date: Mon Dec 28 21:37:49 2009 +0100
24329 Wrap gio.FileInfo.set_modification_time and add a test
24331 gio/gfileinfo.override | 33 ++++++++++++++++++++++++++++++++-
24332 tests/test_gio.py | 7 ++++++-
24333 2 files changed, 38 insertions(+), 2 deletions(-)
24335 commit 7bc2673f92138b1804d8eba091942d14d8884f90
24336 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24337 Date: Mon Dec 28 18:28:03 2009 +0100
24339 Wrap gio.EmblemedIcon.get_emblems() and add a test
24341 gio/gicon.override | 14 ++++++++++++++
24342 tests/test_gicon.py | 7 +++++++
24343 2 files changed, 21 insertions(+)
24345 commit 3d5056ad766d6856d8d6459fe9b377de2f0fd172
24346 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24347 Date: Sat Dec 26 22:27:48 2009 +0100
24349 Update Enums and Flags with new API
24351 gio/gio-types.defs | 153
24352 +++++++++++++++++++++++++++++++++++++++++++++++++++--
24353 1 file changed, 149 insertions(+), 4 deletions(-)
24355 commit 62a9d660a4a2d5fab1d57c6c96c984ff02d25ccd
24356 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24357 Date: Fri Dec 25 18:06:39 2009 +0100
24359 Post release version bump to 2.21.1
24361 configure.ac | 2 +-
24362 1 file changed, 1 insertion(+), 1 deletion(-)
24364 commit 2bd92cba5b028f0f78c35ecb34e648e95248f9d3
24365 Author: Bastian Winkler <buz@netbuz.org>
24366 Date: Fri Aug 14 15:10:26 2009 +0200
24368 Fix handling of uchar in pyg_value_from_pyobject
24370 Set the value by g_value_set_uchar and allow to use integer types
24373 gobject/pygtype.c | 15 +++++++++++----
24374 1 file changed, 11 insertions(+), 4 deletions(-)
24376 commit 828d0f042b59ea0319f33a23803c179af34ef2f1
24377 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24378 Date: Tue Dec 22 18:05:47 2009 +0100
24380 Add Gtk.keysyms to overrides
24382 gi/overrides/Gtk.py | 2 +
24383 gi/overrides/Makefile.am | 1 +
24384 gi/overrides/keysyms.py | 1499
24385 ++++++++++++++++++++++++++++++++++++++++++++++
24386 3 files changed, 1502 insertions(+)
24388 commit 24fa1224ff00b9da177e0bfaa1e14e1b899e4976
24389 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24390 Date: Wed Nov 25 10:33:56 2009 +0100
24392 The array field 'length' starts to count from the C arg list, so
24393 need to decrement when it's a method
24395 https://bugzilla.gnome.org/show_bug.cgi?id=602640
24397 gi/pygi-argument.c | 11 +++++++++-
24398 gi/pygi-argument.h | 3 ++-
24399 gi/pygi-info.c | 14 +++++++++++--
24400 tests/libtestgi.c | 60
24401 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
24402 tests/libtestgi.h | 4 ++++
24403 tests/test_gi.py | 15 ++++++++++++++
24404 6 files changed, 103 insertions(+), 4 deletions(-)
24406 commit 867536c6734e606d045760837ed22583da06566e
24407 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24408 Date: Fri Dec 18 10:50:09 2009 +0100
24410 Update NEWS and README, release pygobject 2.21.0
24412 NEWS | 18 ++++++++++++++++++
24414 2 files changed, 21 insertions(+), 3 deletions(-)
24416 commit f50fbd24fa61863aaefa4ae1e12e0b314ecd43ae
24417 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24418 Date: Fri Dec 18 10:31:48 2009 +0100
24420 Add pygi-external.h into Makefile SOURCES
24422 gobject/Makefile.am | 3 ++-
24423 1 file changed, 2 insertions(+), 1 deletion(-)
24425 commit 108c03b78f04b4bcfe066a6cb4d941e172bd32fe
24426 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24427 Date: Fri Dec 18 01:20:34 2009 +0100
24429 Bug 598435 - No wrapping for g_find_program_in_path ()
24431 glib/glibmodule.c | 20 ++++++++++++++++++++
24432 1 file changed, 20 insertions(+)
24434 commit d3d5cb3a4a2c2cb2bd0c2571304d59e19bc08452
24435 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24436 Date: Thu Dec 17 21:54:36 2009 +0100
24438 Wrap new API added in GIO-UNIX 2.22
24440 gio/unix-types.defs | 22 ++++++++++
24441 gio/unix.defs | 115
24442 +++++++++++++++++++++++++++++++++++++++++++++++++++-
24443 gio/unix.override | 8 ++++
24444 3 files changed, 144 insertions(+), 1 deletion(-)
24446 commit c87c8a81947a68507e8f3bcaf8e0e969b3e5331b
24447 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24448 Date: Thu Dec 17 21:52:11 2009 +0100
24450 Bump required glib version to 2.22.4
24452 I've committed a patch to glib which will be released in the stable
24454 Without the patch the unix module will fail, so I'm forced to bump.
24456 configure.ac | 6 +++---
24457 1 file changed, 3 insertions(+), 3 deletions(-)
24459 commit b630c8d4b1e55938dac89729768c4a877b305215
24460 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24461 Date: Thu Dec 17 02:24:45 2009 +0100
24463 Properly define Connectable as interface type and not object type
24465 gio/gio-types.defs | 12 ++++++------
24466 1 file changed, 6 insertions(+), 6 deletions(-)
24468 commit e955b931b07113c7432f7a85f882f69f12d263ad
24469 Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
24470 Date: Mon Nov 30 22:01:25 2009 +0100
24472 Depend on GLib 2.20 rather than 2.22
24474 Backport g_array_get_element_size.
24476 https://bugzilla.gnome.org/show_bug.cgi?id=603411
24478 configure.ac | 2 +-
24479 gi/pygi-private.h | 19 +++++++++++++++++++
24480 2 files changed, 20 insertions(+), 1 deletion(-)
24482 commit 542fdf6da4ad8f2d28d0d50152bd93cb4d8ee39a
24483 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24484 Date: Sat Nov 28 18:48:19 2009 +0000
24486 Use the limit constants from glib and interpret G_MAXUINT32 as
24487 PyLong_FromLongLong
24489 https://bugzilla.gnome.org/show_bug.cgi?id=602384
24491 gi/pygi-argument.c | 14 +++++++-------
24492 tests/test_gi.py | 18 +++++++++---------
24493 2 files changed, 16 insertions(+), 16 deletions(-)
24495 commit 38e89942d29f2a1dba47ab4a8d5edc84322707cd
24496 Author: Simon van der Linden <svdlinden@src.gnome.org>
24497 Date: Mon Nov 30 00:10:56 2009 +0100
24499 Suppress warnings about format conversion
24501 https://bugzilla.gnome.org/show_bug.cgi?id=603355
24503 gobject/generate-constants.c | 32 ++++++++++++++++----------------
24504 1 file changed, 16 insertions(+), 16 deletions(-)
24506 commit cfa7d005487e17e8f7c1ceb14282d3a5baadb736
24507 Author: Simon van der Linden <svdlinden@src.gnome.org>
24508 Date: Sat Nov 28 00:22:21 2009 +0100
24510 Remove global checks for pointers and move them in type cases that
24513 gi/pygi-argument.c | 516
24514 +++++++++++++++++++++++++++++++++++++++++++----------
24515 gi/pygi-info.c | 333 +++++++++++++++++-----------------
24516 2 files changed, 596 insertions(+), 253 deletions(-)
24518 commit d1ae73f3cf7cebdb74c9ec56b08928a2a53b9de6
24519 Author: Johan Dahlin <johan@gnome.org>
24520 Date: Mon Nov 23 15:58:17 2009 -0200
24522 Pythonify. Avoid ; and () around if statements
24524 https://bugzilla.gnome.org/show_bug.cgi?id=602830
24526 gi/types.py | 8 ++++----
24527 1 file changed, 4 insertions(+), 4 deletions(-)
24529 commit a8660621679c629fc81320a8ddf5bf2c7ee1f177
24530 Author: Johan Dahlin <johan@gnome.org>
24531 Date: Tue Nov 24 10:36:18 2009 -0200
24533 Remove trailing whitespace
24535 https://bugzilla.gnome.org/show_bug.cgi?id=602830
24537 gi/module.py | 4 ++--
24538 1 file changed, 2 insertions(+), 2 deletions(-)
24540 commit 66c34805223af9e63c7d61f21a3dbd7505a8f256
24541 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24542 Date: Mon Nov 30 10:03:34 2009 +0000
24544 Set a default constructor for boxed structs that don't have one
24546 https://bugzilla.gnome.org/show_bug.cgi?id=602735
24548 gi/Makefile.am | 2 +
24549 gi/gimodule.c | 1 +
24550 gi/module.py | 2 +-
24551 gi/pygi-argument.c | 14 +++-
24552 gi/pygi-boxed.c | 184
24553 +++++++++++++++++++++++++++++++++++++++++++++++++++++
24554 gi/pygi-boxed.h | 40 ++++++++++++
24555 gi/pygi-info.c | 2 +-
24556 gi/pygi-private.h | 1 +
24558 gi/types.py | 18 ------
24559 tests/libtestgi.c | 72 ++++++++++-----------
24560 tests/libtestgi.h | 18 +++---
24561 tests/test_gi.py | 47 ++++++++------
24562 13 files changed, 321 insertions(+), 86 deletions(-)
24564 commit e7e2fccae36c28c7e9f288fcd4c90a001140e307
24565 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24566 Date: Mon Nov 30 10:53:57 2009 +0000
24568 Revert "Use the limit constants from glib and interpret G_MAXUINT32
24569 as PyLong_FromLongLong"
24571 This reverts commit 05a2ed55f3e5d2620de8b3b6b0d99e928ef3b041.
24573 gi/pygi-argument.c | 14 +++++++-------
24574 tests/test_gi.py | 18 +++++++++---------
24575 2 files changed, 16 insertions(+), 16 deletions(-)
24577 commit 05a2ed55f3e5d2620de8b3b6b0d99e928ef3b041
24578 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24579 Date: Sat Nov 28 18:48:19 2009 +0000
24581 Use the limit constants from glib and interpret G_MAXUINT32 as
24582 PyLong_FromLongLong
24584 https://bugzilla.gnome.org/show_bug.cgi?id=602384
24586 gi/pygi-argument.c | 14 +++++++-------
24587 tests/test_gi.py | 18 +++++++++---------
24588 2 files changed, 16 insertions(+), 16 deletions(-)
24590 commit e24d155dd7b4a5b9c25c054137d1370c369d3192
24591 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24592 Date: Sat Nov 28 18:45:54 2009 +0000
24594 Add the missing limit constants from glibconfig.h
24596 https://bugzilla.gnome.org/show_bug.cgi?id=603244
24598 gobject/generate-constants.c | 17 ++++++++++++++++-
24599 1 file changed, 16 insertions(+), 1 deletion(-)
24601 commit 3a295cb7ffaaaf29c71b8833cf0ee5ec7ceaa909
24602 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24603 Date: Sat Nov 28 18:48:49 2009 +0100
24605 Fix bad name when rebuilding the unix source module
24607 gio/Makefile.am | 2 +-
24608 1 file changed, 1 insertion(+), 1 deletion(-)
24610 commit a8cbb6fb72dbe6630d1265b18095c9a96f496b86
24611 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
24612 Date: Sat Nov 28 18:47:26 2009 +0100
24614 Wrap new API added in GIO 2.22
24616 gio/gio-types.defs | 138 +++
24617 gio/gio.defs | 2444
24618 +++++++++++++++++++++++++++++++++++++++++++++++-----
24619 2 files changed, 2360 insertions(+), 222 deletions(-)
24621 commit 96f6c638709636d7e2ddf560b877879691da3314
24622 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24623 Date: Sat Nov 28 11:03:51 2009 +0000
24625 A few tests about interfaces
24627 https://bugzilla.gnome.org/show_bug.cgi?id=601181
24629 tests/libtestgi.c | 23 +++++++++++++++++++++++
24630 tests/libtestgi.h | 16 ++++++++++++++++
24631 tests/test_gi.py | 21 +++++++++++++++++++++
24632 3 files changed, 60 insertions(+)
24634 commit 076ba3156c13375a75983cef7a409c8c8afea119
24635 Author: Simon van der Linden <svdlinden@src.gnome.org>
24636 Date: Thu Nov 26 23:50:54 2009 +0100
24638 Fix members initialization in metaclasses
24640 In metaclasses, the test for the name of the class was wrong, since it
24641 prevented one to create a subclass with the same name (especially
24643 overrides). Now, if a GType is available from the info, the fact
24645 doesn't have any wrapper yet means that the metaclass is creating
24647 class, which will be registerd just after its creation. This is
24649 objects, and for structures registered as boxed or pointer too.
24651 This patch includes a test for basic subclassing in Python. It
24653 that methods don't get overridden by the metaclass.
24655 gi/types.py | 5 +++--
24656 tests/test_gi.py | 19 +++++++++++++++++++
24657 2 files changed, 22 insertions(+), 2 deletions(-)
24659 commit ac80e64c9f7d257865aa820753e52d56cf2871c8
24660 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24661 Date: Fri Nov 27 12:06:59 2009 +0000
24663 Structs in arrays are not marshalled correctly
24665 https://bugzilla.gnome.org/show_bug.cgi?id=602709
24667 gi/pygi-argument.c | 29 ++++++++++++++++++++++++-----
24668 tests/libtestgi.c | 23 ++++++++++++++++++++++-
24669 tests/libtestgi.h | 7 +++++--
24670 tests/test_gi.py | 8 ++++++++
24671 4 files changed, 59 insertions(+), 8 deletions(-)
24673 commit 4a373b8ad6ec137e911b92a3e745e0fd76541292
24674 Author: Simon van der Linden <svdlinden@src.gnome.org>
24675 Date: Wed Nov 25 16:53:55 2009 +0100
24677 Use the right variable when looking up in sys.modules
24679 gi/importer.py | 2 +-
24680 1 file changed, 1 insertion(+), 1 deletion(-)
24682 commit fc3dca018e85aee34ade79d104ebd8cdd1dd5968
24683 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24684 Date: Tue Nov 24 15:52:47 2009 +0100
24686 Accept 0 as a valid value for flag and enum arguments
24688 https://bugzilla.gnome.org/show_bug.cgi?id=602638
24690 gi/pygi-argument.c | 19 ++++++++++++++++++-
24691 tests/libtestgi.c | 6 ++++++
24692 tests/libtestgi.h | 1 +
24693 tests/test_gi.py | 1 +
24694 4 files changed, 26 insertions(+), 1 deletion(-)
24696 commit 33081c29a1c2fdec2b8bfe17ae0a72b8db7a8d84
24697 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24698 Date: Tue Nov 24 13:10:11 2009 +0100
24700 Add stuff to .gitignore
24702 .gitignore | 7 +++++++
24703 1 file changed, 7 insertions(+)
24705 commit 5c010fe673d9bd01c27c8d7d312064665275888c
24706 Author: Simon van der Linden <svdlinden@src.gnome.org>
24707 Date: Mon Nov 23 22:39:12 2009 +0100
24709 Remove the girepository module
24712 configure.ac | 17 -
24713 girepository/Makefile.am | 54 --
24714 girepository/__init__.py | 24 -
24715 girepository/bank-argument.c | 379 ------------
24716 girepository/bank-info.c | 1194
24717 ------------------------------------
24718 girepository/bank-repository.c | 236 -------
24719 girepository/bank.c | 155 -----
24720 girepository/bank.h | 80 ---
24721 girepository/btypes.py | 300 ---------
24722 girepository/importer.py | 51 --
24723 girepository/module.py | 224 -------
24724 girepository/overrides/Gdk.py | 14 -
24725 girepository/overrides/Gtk.py | 8 -
24726 girepository/overrides/__init__.py | 0
24727 girepository/repository.py | 51 --
24728 tests/test_girepository.py | 386 ------------
24729 17 files changed, 1 insertion(+), 3174 deletions(-)
24731 commit a644edf0515c26ed027522891ccf02aceac764e8
24732 Author: Johan Dahlin <johan@gnome.org>
24733 Date: Mon Nov 23 15:32:16 2009 -0200
24735 Create overridden modules in two passes
24737 This patch splits overridden module creation into two passes. The
24739 creates the auto-generated module normally before the overridden
24741 attempted to be imported. The second pass imports the overridden
24743 replaces the auto-generated module with the overridden. This is
24745 for the overridden modules to be able to access the auto-generated
24748 gi/importer.py | 34 +++++++++++++++++++++-------------
24749 1 file changed, 21 insertions(+), 13 deletions(-)
24751 commit fad89e12a744b57e6348968f351d25d167de8248
24752 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24753 Date: Sun Nov 22 17:56:20 2009 +0100
24755 Add support for Any arguments
24757 https://bugzilla.gnome.org/show_bug.cgi?id=601253
24759 gi/pygi-argument.c | 20 ++++++++++++--------
24760 tests/libtestgi.c | 5 +++++
24761 tests/libtestgi.h | 5 +++++
24762 tests/test_gi.py | 5 +++++
24763 4 files changed, 27 insertions(+), 8 deletions(-)
24765 commit 1dc62a998dd8d2a0a397f8309011a8d79cb56034
24766 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24767 Date: Sun Nov 22 17:25:04 2009 +0100
24769 Register interfaces
24771 https://bugzilla.gnome.org/show_bug.cgi?id=601181
24773 gi/gimodule.c | 33 +++++++++++++++++++++++++++++++++
24774 gi/types.py | 5 ++++-
24775 2 files changed, 37 insertions(+), 1 deletion(-)
24777 commit d67d5afb5115c1d8294415b2e1a82af2c737ba17
24778 Author: Paul Pogonyshev <pogonyshev@gmx.net>
24779 Date: Sun Nov 22 18:23:02 2009 +0200
24781 Ignore one more file.
24784 1 file changed, 1 insertion(+)
24786 commit 408b2186aea58a41ec26b9d0ca29ecd42df5ef7e
24787 Author: Paul Pogonyshev <pogonyshev@gmx.net>
24788 Date: Sun Nov 22 18:22:23 2009 +0200
24790 Fix wrong minimum checking in float properties
24792 Bug #587637. Test the fix.
24794 gobject/propertyhelper.py | 5 +++--
24795 tests/test_properties.py | 6 ++++++
24796 2 files changed, 9 insertions(+), 2 deletions(-)
24798 commit 6ccf58afcf58e118903ced0135f0fe69b00e09ad
24799 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24800 Date: Mon Oct 26 18:06:06 2009 +0000
24802 Treat GI_INFO_TYPE_INTERFACE same as GI_INFO_TYPE_OBJECT
24804 gi/pygi-argument.c | 3 +++
24805 1 file changed, 3 insertions(+)
24807 commit e6f730d6e1431e36bd5f6b503a1038617f8d1e7d
24808 Author: Simon van der Linden <svdlinden@src.gnome.org>
24809 Date: Sat Nov 14 21:42:43 2009 +0100
24811 Import pygtk properly to avoid failure on some setups
24813 tests/test_gi.py | 3 +++
24814 1 file changed, 3 insertions(+)
24816 commit e604a89e9dc1a79687ef5fb94af7a2182be07dfb
24817 Author: Alex Dedul <rotmer@gmail.com>
24818 Date: Sat Nov 14 21:39:15 2009 +0100
24820 Search for python-config-${VERSION} when python${VERSION}-config is
24823 On Gentoo, notably, the config tool is named python-config-${VERSION},
24825 Fedora and Ubuntu, it is named python${VERSION}-config.
24827 Signed-off-by: Simon van der Linden <svdlinden@src.gnome.org>
24829 configure.ac | 7 +++++--
24830 1 file changed, 5 insertions(+), 2 deletions(-)
24832 commit 4a887cfabb326cb99dc65073d592c03f59e2f141
24833 Author: Simon van der Linden <svdlinden@src.gnome.org>
24834 Date: Sat Nov 14 21:36:19 2009 +0100
24836 Fix silent rules setup
24838 configure.ac | 2 +-
24839 1 file changed, 1 insertion(+), 1 deletion(-)
24841 commit 602afea88c338a38327cd84e08703c5daa384ec6
24842 Author: Paul Pogonyshev <pogonyshev@gmx.net>
24843 Date: Tue Nov 10 22:32:33 2009 +0200
24845 Move threads_init() function from 'gobject' to 'glib'
24847 Retain in original place for backward compatibility, but remove it
24850 docs/reference/pygobject-functions.xml | 36
24851 +++++++---------------------------
24852 glib/glibmodule.c | 16 +++++++++++++++
24853 2 files changed, 23 insertions(+), 29 deletions(-)
24855 commit 734755912fff11332dc0e96317b7d6b7c4014e6a
24856 Author: Simon van der Linden <svdlinden@src.gnome.org>
24857 Date: Mon Nov 9 22:44:12 2009 +0100
24859 Remove PyGObject patches since they've been merged to master
24861 ...pytype-aware-of-the-interface-enum-flags-.patch | 78 --------
24862 patches/0002-Fix-girpository-build-setup.patch | 186
24863 -------------------
24864 ...capabilities-to-import-wrappers-from-pygi.patch | 200
24865 ---------------------
24866 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 29 ---
24867 4 files changed, 493 deletions(-)
24869 commit 6a69288941e65312fe82649ec72d2f21b2dc618f
24870 Author: Simon van der Linden <svdlinden@src.gnome.org>
24871 Date: Sat Nov 7 23:42:07 2009 +0100
24873 Create instances by calling tp_alloc rather than PyObject_NEW
24875 PyObject_NEW calls a generic allocator and should only be called by
24877 that the type's free function agrees. In pyg_boxed_new, we may
24879 PyGBoxed subtypes, so the subtype's allocation function must be
24882 gobject/pygboxed.c | 3 ++-
24883 1 file changed, 2 insertions(+), 1 deletion(-)
24885 commit 000f7c36e667c6e078e3370769ea868e56a1b4ee
24886 Author: Simon van der Linden <svdlinden@src.gnome.org>
24887 Date: Sat Nov 7 16:43:35 2009 +0100
24889 Add capabilities to import wrappers from pygi
24891 At instance creation for boxed and pointers, at lookup for objects,
24892 when the gtype has no wrapper yet, a wrapper may be imported from
24895 The feature is turned on at configure time by --enable-pygi.
24897 Because we couldn't create a circular build dependency, PyGI's import
24899 API definition had to be copied in this tree.
24901 configure.ac | 8 ++++++
24902 gobject/pygboxed.c | 10 ++++++++
24903 gobject/pygi-external.h | 66
24904 +++++++++++++++++++++++++++++++++++++++++++++++++
24905 gobject/pygobject.c | 10 ++++++++
24906 gobject/pygpointer.c | 11 +++++++++
24907 5 files changed, 105 insertions(+)
24909 commit fdfbc90dbc9e305646b62d73de506b5e0e99cc91
24910 Author: Simon van der Linden <svdlinden@src.gnome.org>
24911 Date: Sun Nov 8 20:03:58 2009 +0100
24913 Update PyGObject patches
24915 A file, pygi-external.h, was missing in patch #3.
24917 ...capabilities-to-import-wrappers-from-pygi.patch | 74
24918 ++++++++++++++++++++--
24919 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 2 +-
24920 2 files changed, 69 insertions(+), 7 deletions(-)
24922 commit 8f53ca8a72f9958711765281dd5c5bdfb7042d7d
24923 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24924 Date: Sun Nov 8 16:52:18 2009 +0100
24926 Add myself to pygi.doap
24928 pygi.doap | 5 +++++
24929 1 file changed, 5 insertions(+)
24931 commit 6f50d5102aec9288e1851f12e9d232b9c141d524
24932 Author: Simon van der Linden <svdlinden@src.gnome.org>
24933 Date: Sun Nov 8 15:40:51 2009 +0100
24937 pygi.doap | 17 +++++++++++++++++
24938 1 file changed, 17 insertions(+)
24940 commit ce673b9027868e6add4eeb438bc707eb40bfd046
24941 Author: Simon van der Linden <svdlinden@src.gnome.org>
24942 Date: Sun Nov 8 13:06:54 2009 +0100
24944 Add PyGObject patches
24946 ...pytype-aware-of-the-interface-enum-flags-.patch | 78 +++++++++
24947 patches/0002-Fix-girpository-build-setup.patch | 186
24948 +++++++++++++++++++++
24949 ...capabilities-to-import-wrappers-from-pygi.patch | 138 +++++++++++++++
24950 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 29 ++++
24951 4 files changed, 431 insertions(+)
24953 commit b24fd9633cabe1d95cde173a04e9a49833b06a26
24954 Author: Simon van der Linden <svdlinden@src.gnome.org>
24955 Date: Sun Nov 8 12:35:08 2009 +0100
24961 autogen.sh | 159 +++
24962 configure.ac | 53 +
24963 gi/Makefile.am | 50 +
24964 gi/__init__.py | 24 +
24965 gi/gimodule.c | 144 ++
24966 gi/importer.py | 89 ++
24967 gi/module.py | 167 +++
24968 gi/overrides/Gdk.py | 21 +
24969 gi/overrides/Gtk.py | 13 +
24970 gi/overrides/Makefile.am | 10 +
24971 gi/overrides/__init__.py | 0
24972 gi/pygi-argument.c | 1976 ++++++++++++++++++++++++++
24973 gi/pygi-argument.h | 65 +
24974 gi/pygi-info.c | 2093 ++++++++++++++++++++++++++++
24975 gi/pygi-info.h | 64 +
24976 gi/pygi-private.h | 55 +
24977 gi/pygi-repository.c | 238 ++++
24978 gi/pygi-repository.h | 39 +
24979 gi/pygi-struct.c | 175 +++
24980 gi/pygi-struct.h | 40 +
24981 gi/pygi-type.c | 96 ++
24982 gi/pygi-type.h | 43 +
24984 gi/pygobject-external.h | 83 ++
24985 gi/repository/Makefile.am | 8 +
24986 gi/repository/__init__.py | 30 +
24987 gi/types.py | 163 +++
24988 tests/Makefile.am | 48 +
24989 tests/libtestgi.c | 3397
24990 +++++++++++++++++++++++++++++++++++++++++++++
24991 tests/libtestgi.h | 643 +++++++++
24992 tests/runtests.py | 22 +
24993 tests/test_gi.py | 1416 +++++++++++++++++++
24994 34 files changed, 11566 insertions(+)
24996 commit bfd3100a580b8bea9db25b8bb7443fb8c3dbe1cc
24997 Author: Simon van der Linden <svdlinden@src.gnome.org>
24998 Date: Sat Nov 7 13:23:53 2009 +0100
25000 Fix girpository build setup
25002 configure.ac | 21 ++++++-----
25003 girepository/Makefile.am | 13 ++++---
25004 m4/introspection.m4 | 92
25005 ++++++++++++++++++++++++++++++++++++++++++++++++
25006 3 files changed, 111 insertions(+), 15 deletions(-)
25008 commit 421c03b1c5b69f90c778663df901b45ca3ee8ba5
25009 Author: Simon van der Linden <svdlinden@src.gnome.org>
25010 Date: Fri Nov 6 19:17:36 2009 +0100
25012 Make GType.pytype aware of the interface, enum, flags, pointer and
25015 gobject/pygtype.c | 39 +++++++++++++++++++++++++++++++++------
25016 1 file changed, 33 insertions(+), 6 deletions(-)
25018 commit a9c168c58cc6a449b51653417bf3f58bdd41457c
25019 Author: Philippe Normad <phil@base-art.net>
25020 Date: Wed Oct 21 18:01:16 2009 +0200
25022 pygmainloop: fix use of PySignal_WakeUpFD API for nested loops
25026 glib/pygmainloop.c | 95
25027 ++++++++++++++++++++++++++++--------------------------
25028 1 file changed, 50 insertions(+), 45 deletions(-)
25030 commit c6a5750379354c12e2599b3c73b4f9a23fd39114
25031 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25032 Date: Fri Sep 25 20:12:21 2009 +0200
25034 Post release version bump to 2.21.0
25036 configure.ac | 2 +-
25037 1 file changed, 1 insertion(+), 1 deletion(-)
25039 commit 33920eb013628a5e22b7b32403fb965ae3210f47
25040 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25041 Date: Wed Sep 23 21:52:04 2009 +0200
25043 Update NEWS and release 2.20.0
25046 1 file changed, 6 insertions(+)
25048 commit 66b12f7d2f54143ea80b4f8aec863b26800363d6
25049 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25050 Date: Wed Sep 23 21:51:43 2009 +0200
25052 Bump version to 2.20.0
25054 configure.ac | 2 +-
25055 1 file changed, 1 insertion(+), 1 deletion(-)
25057 commit 7bf87338a026ac82f908aa5fddf2bfea2daf6617
25058 Author: Brian Cameron <Brian.Cameron@sun.com>
25059 Date: Wed Sep 23 12:11:50 2009 -0500
25061 Updated uninstalled.pc file so that it contains the right paths for
25062 defsdir files and codegen files. See bug #596023.
25064 pygobject-2.0-uninstalled.pc.in | 4 ++--
25065 1 file changed, 2 insertions(+), 2 deletions(-)
25067 commit d042402b7c649b2bed7f20038eb82518ec7cc9b3
25068 Author: Paul Pogonyshev <pogonyshev@gmx.net>
25069 Date: Tue Sep 22 22:02:27 2009 +0300
25071 Plug reference leak of GSource in pyg_main_loop_init()
25073 Bug #579406, second change.
25075 glib/pygmainloop.c | 1 +
25076 1 file changed, 1 insertion(+)
25078 commit 640be8109d066e85ed77c810830a5f73c750415b
25079 Author: Frédéric Péters <fpeters@0d.be>
25080 Date: Sun Aug 30 16:46:02 2009 +0200
25082 Specify programming language in .devhelp file
25084 This add a new language attribute (hardcoded to python) in the
25086 file that is produced when using ref-html-style.xsl.
25088 docs/xsl/devhelp.xsl | 2 +-
25089 1 file changed, 1 insertion(+), 1 deletion(-)
25091 commit c888b5ca722fcad6a03de585606c677c2969ebd6
25092 Author: Paolo Borelli <pborelli@gnome.org>
25093 Date: Thu Aug 13 21:32:07 2009 +0200
25095 Allow to use automake 1.11
25097 autogen.sh | 13 +++++++------
25098 1 file changed, 7 insertions(+), 6 deletions(-)
25100 commit 30deaba4bd1e199aab75cb346ee9237237807fbd
25101 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25102 Date: Tue Aug 11 22:19:50 2009 +0200
25106 README | 10 ++++++++--
25107 1 file changed, 8 insertions(+), 2 deletions(-)
25109 commit af165d350d0d1bb493be5140bf84376d3da1e4d8
25110 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25111 Date: Tue Aug 11 22:16:52 2009 +0200
25115 AUTHORS | 8 +++++---
25116 1 file changed, 5 insertions(+), 3 deletions(-)
25118 commit 5f9f87f276b97964b525a501d8584ea8b4d8bfd2
25119 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25120 Date: Tue Aug 11 22:11:43 2009 +0200
25122 Add myself and Paul as maintainers
25124 MAINTAINERS | 8 ++++++++
25125 pygobject.doap | 14 ++++++++++++++
25126 2 files changed, 22 insertions(+)
25128 commit 3bfae47fbcb5523d91fb2d1ed7ea347eeddd1775
25129 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25130 Date: Tue Aug 11 20:52:44 2009 +0200
25132 Update NEWS release 2.19.0
25134 NEWS | 29 +++++++++++++++++++++++++++++
25135 1 file changed, 29 insertions(+)
25137 commit e82a1841f31ad54dd50569d0d45290713409e0bf
25138 Author: John Finlay <finlay@moeraki.com>
25139 Date: Tue Aug 11 00:04:31 2009 -0700
25141 Add macros to help with Python list to/from GList/GSList conversions.
25143 gobject/pygobject.h | 242
25144 +++++++++++++++++++++++++++++++++++++++++++++++++++-
25145 1 file changed, 241 insertions(+), 1 deletion(-)
25147 commit f1fad96da2c531fbd3218923baa4fe806a2942d4
25148 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25149 Date: Sat Aug 8 21:37:54 2009 +0200
25151 Bug 590063 – GFileInfo.list_attributes should accept None/NULL
25153 gio/gfileinfo.override | 4 ++--
25154 1 file changed, 2 insertions(+), 2 deletions(-)
25156 commit b7907cf6ff6ccf8d38b5206f09f5c864c205e5de
25157 Author: Johan Dahlin <johan@gnome.org>
25158 Date: Fri Jul 24 14:30:37 2009 -0300
25160 Remove myself as a maintainer
25162 MAINTAINERS | 4 ----
25163 pygobject.doap | 7 -------
25164 2 files changed, 11 deletions(-)
25166 commit be6eb21320b4688bcfcd8cbea33f7be29a76f2a2
25167 Author: John Finlay <finlay@moeraki.com>
25168 Date: Wed Jul 8 15:47:44 2009 -0700
25170 * codegen/defsgen.py (clean_patterns): Strip out Windows
25173 codegen/defsgen.py | 6 +++---
25174 1 file changed, 3 insertions(+), 3 deletions(-)
25176 commit 2214cad3529979e29342a7e1fdc2915b90ce9c10
25177 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25178 Date: Tue Jun 23 21:18:23 2009 +0200
25180 Fix the gio.unix namespace in docs
25182 docs/Makefile.am | 2 ++
25183 docs/reference/pygio-classes.xml | 2 --
25184 docs/reference/pygio-unixinputstream.xml | 26 +++++++++++++-------------
25185 docs/reference/pygio-unixoutputstream.xml | 26 +++++++++++++-------------
25186 docs/reference/pygiounix-classes.xml | 13 +++++++++++++
25187 docs/reference/pygobject-ref.xml | 1 +
25188 6 files changed, 42 insertions(+), 28 deletions(-)
25190 commit c0acaedfe7f4e488a490e07e3184f0709e1fadc2
25191 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25192 Date: Mon Jun 22 23:13:36 2009 +0200
25194 Add docs for gio functions (mostly for content types)
25196 docs/Makefile.am | 2 +
25197 docs/reference/pygio-classes.xml | 1 +
25198 docs/reference/pygio-functions.xml | 395
25199 +++++++++++++++++++++++++++++++++++++
25200 3 files changed, 398 insertions(+)
25202 commit ebddee47fb7f3e06f9e0a7a14b9532d5cf8a3881
25203 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25204 Date: Sun Jun 21 18:35:56 2009 +0200
25206 Add docs for gio.Unix[In|Out]putStream classes
25208 docs/Makefile.am | 4 +
25209 docs/reference/pygio-classes.xml | 2 +
25210 docs/reference/pygio-unixinputstream.xml | 202
25211 ++++++++++++++++++++++++++++++
25212 docs/reference/pygio-unixoutputstream.xml | 202
25213 ++++++++++++++++++++++++++++++
25214 4 files changed, 410 insertions(+)
25216 commit 5b71e58117c85634d95d08449eb54079b246e5be
25217 Author: Paul Pogonyshev <pogonyshev@gmx.net>
25218 Date: Sun Jun 21 16:50:03 2009 +0300
25220 Document that many functions got moved gobject -> glib
25222 docs/reference/pygobject-functions.xml | 7 +++++++
25223 1 file changed, 7 insertions(+)
25225 commit b270dc43f2cef5260b0bbc71356fd8e6a2b7f754
25226 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25227 Date: Sat Jun 20 19:23:25 2009 +0200
25229 Add docs for class gio.DataOutputStream
25231 docs/Makefile.am | 2 +
25232 docs/reference/pygio-classes.xml | 1 +
25233 docs/reference/pygio-dataoutputstream.xml | 504
25234 ++++++++++++++++++++++++++++++
25235 3 files changed, 507 insertions(+)
25237 commit 549313fc4886fa3deb31761de6f5400708165d86
25238 Author: Murray Cumming <murrayc@murrayc.com>
25239 Date: Thu Jun 18 18:48:37 2009 +0200
25241 Allow h2def.py to work when there are tabs or multiple spaces after
25242 the struct keyword.
25244 codegen/h2def.py | 8 ++++----
25245 1 file changed, 4 insertions(+), 4 deletions(-)
25247 commit 5c36ef20dca8cd1793f2d3e88949675299097f40
25248 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25249 Date: Mon Jun 15 23:02:34 2009 +0200
25251 Add dpcs for class gio.DataInputStream
25253 docs/Makefile.am | 2 +
25254 docs/reference/pygio-classes.xml | 1 +
25255 docs/reference/pygio-constants.xml | 66 +++
25256 docs/reference/pygio-datainputstream.xml | 799
25257 +++++++++++++++++++++++++++++++
25258 4 files changed, 868 insertions(+)
25260 commit a8b36c343c6850af929c1d5a930f923831b4e637
25261 Author: Theppitak Karoonboonyanan <thep@linux.thai.net>
25262 Date: Mon Jun 15 23:25:01 2009 +0300
25264 Fix build when builddir is not the same as srcdir
25268 girepository/Makefile.am | 2 +-
25269 1 file changed, 1 insertion(+), 1 deletion(-)
25271 commit 9d9ae97b8a49836ec1f3b8d6529bafe1cc06d4d7
25272 Author: Paul Pogonyshev <pogonyshev@gmx.net>
25273 Date: Mon Jun 15 23:19:47 2009 +0300
25275 Make gio.Emblem constructor new-style
25277 Add optional 'origin' parameter. Expand gio.Emblem documentation and
25278 mark gio.emblem_new_with_origin as sort-of-deprecated.
25280 docs/reference/pygio-emblem.xml | 51
25281 +++++++++++++++++++++++++++++++++++++++--
25282 gio/gio.defs | 5 ++--
25283 2 files changed, 52 insertions(+), 4 deletions(-)
25285 commit 268e1681fd5b46e6412d3a8db84f3f1cb02fdbde
25286 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25287 Date: Sat Jun 13 14:44:47 2009 +0200
25289 Add docs for gio.BufferedOutputStream class
25291 docs/Makefile.am | 96 ++++-----
25292 docs/reference/pygio-bufferedoutputstream.xml | 275
25293 ++++++++++++++++++++++++++
25294 docs/reference/pygio-classes.xml | 1 +
25295 3 files changed, 325 insertions(+), 47 deletions(-)
25297 commit a6e25aaa7c8f27d62f2917b06728d7ccfcd46416
25298 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25299 Date: Sat Jun 13 14:38:34 2009 +0200
25301 Fix gio.BufferedInputStream docs
25303 Added the constructor reference and fixed a typo in properties header
25305 docs/reference/pygio-bufferedinputstream.xml | 34
25306 ++++++++++++++++++++++++++--
25307 1 file changed, 32 insertions(+), 2 deletions(-)
25309 commit a9b13b60a5aad726d7d7dd7fdc5153b1561fb591
25310 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25311 Date: Sat Jun 13 01:25:06 2009 +0200
25313 Add docs for gio.BufferedInputStream
25315 docs/Makefile.am | 2 +
25316 docs/reference/pygio-bufferedinputstream.xml | 431
25317 +++++++++++++++++++++++++++
25318 docs/reference/pygio-classes.xml | 1 +
25319 3 files changed, 434 insertions(+)
25321 commit 7766daa59b0e2b85413cee368bf2ebd2afe198e1
25322 Author: Paul Pogonyshev <pogonyshev@gmx.net>
25323 Date: Sun May 31 18:25:47 2009 +0300
25325 Cleanup GIO overrides to use Python function/method names
25327 Also move several gio.Mount overrides over from 'gio.override' to
25328 existing 'gmount.override'. Part of bug #584289.
25330 gio/gfile.override | 20 ++---
25331 gio/gfileenumerator.override | 6 +-
25332 gio/ginputstream.override | 2 +-
25333 gio/gio.override | 204
25334 -------------------------------------------
25335 gio/gmount.override | 204
25336 +++++++++++++++++++++++++++++++++++++++++++
25337 5 files changed, 218 insertions(+), 218 deletions(-)
25339 commit 07e9c18dc092f6546230168b6b69c1b3454e120a
25340 Author: Paul Pogonyshev <pogonyshev@gmx.net>
25341 Date: Sun May 31 18:56:55 2009 +0300
25343 Make codegen report errors using Python function/method names
25345 Part of bug #584289.
25347 codegen/codegen.py | 9 +++++----
25348 codegen/definitions.py | 10 +++++++++-
25349 2 files changed, 14 insertions(+), 5 deletions(-)
25351 commit 235fde85d015382f2ba38b21968e82b3ac0b6612
25352 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25353 Date: Fri Jun 12 00:12:17 2009 +0200
25355 Fix object type in gio.BufferedInputStream_fill_async
25357 gio/gbufferedinputstream.override | 2 +-
25358 1 file changed, 1 insertion(+), 1 deletion(-)
25360 commit 407b0e909056f15960e6a4e549896d786ce0a0b2
25361 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25362 Date: Tue Jun 9 00:08:21 2009 +0200
25364 Wrap gio.BufferedInputStream.fill_async
25366 Wrap the method gio.BufferedInputStream.fill_async and add a test
25368 gio/Makefile.am | 1 +
25369 gio/gbufferedinputstream.override | 70
25370 +++++++++++++++++++++++++++++++++++++++
25371 gio/gio.override | 1 +
25372 tests/test_gio.py | 25 ++++++++++++++
25373 4 files changed, 97 insertions(+)
25375 commit b7c96b41b287685fe57504e0add3a6f16e649975
25376 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25377 Date: Mon Jun 8 15:42:40 2009 +0200
25379 Add gio.BufferedOutputStream which was forgotten in the types
25382 gio/gio-types.defs | 7 +++++++
25383 1 file changed, 7 insertions(+)
25385 commit 3666f75af4ef2c8e038116aee5afada59d59f689
25386 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25387 Date: Mon Jun 8 14:20:02 2009 +0200
25389 Add docs for gio.MemoryOutputStream
25391 docs/Makefile.am | 2 +
25392 docs/reference/pygio-classes.xml | 1 +
25393 docs/reference/pygio-memoryoutputstream.xml | 175
25394 ++++++++++++++++++++++++++++
25395 3 files changed, 178 insertions(+)
25397 commit 6eb5e3988cbddb4afb3d5747364d6eb80370bb78
25398 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25399 Date: Mon Jun 8 13:30:15 2009 +0200
25401 Split overrides for gio.MemoryOutputStream
25403 gio/Makefile.am | 1 +
25404 gio/gio.override | 1 +
25405 gio/gmemoryoutputstream.override | 45
25406 ++++++++++++++++++++++++++++++++++++++++
25407 gio/goutputstream.override | 24 ---------------------
25408 4 files changed, 47 insertions(+), 24 deletions(-)
25410 commit dfbdf23633a772e78b47b0e7b0c3e3b87855d9ff
25411 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25412 Date: Mon Jun 8 11:45:11 2009 +0200
25414 Wrap gio.memory_input_stream_new_from_data
25416 Add the wrapper for gio.memory_input_stream_new_from_data including
25419 docs/Makefile.am | 4 +-
25420 docs/reference/pygio-classes.xml | 1 +
25421 docs/reference/pygio-memoryinputstream.xml | 151
25422 +++++++++++++++++++++++++++++
25423 gio/Makefile.am | 1 +
25424 gio/ginputstream.override | 34 -------
25425 gio/gio.override | 1 +
25426 gio/gmemoryinputstream.override | 91 +++++++++++++++++
25427 tests/test_gio.py | 4 +
25428 8 files changed, 252 insertions(+), 35 deletions(-)
25430 commit fcc3cb0e167789746a1a9db0cba54ea7a97c7259
25431 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
25432 Date: Mon Jun 8 19:15:24 2009 +0200
25434 Fixes whitespaces style issues with girepository.
25436 girepository/Makefile.am | 2 +-
25437 girepository/bank-repository.c | 67
25438 +++++++++++++++++++++---------------------
25439 girepository/bank.h | 2 +-
25440 girepository/btypes.py | 6 ++--
25441 girepository/module.py | 2 +-
25442 5 files changed, 39 insertions(+), 40 deletions(-)
25444 commit fb4b2c8cdad2853e6bfe9526529e3a3ab052c5e0
25445 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
25446 Date: Fri Jun 5 19:03:59 2009 +0200
25448 Removes the header but the modeline in test_girepository.py.
25450 tests/test_girepository.py | 26 +-------------------------
25451 1 file changed, 1 insertion(+), 25 deletions(-)
25453 commit abe4828f52c7eb3a08f5b592e7ced1e97a58ef5c
25454 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
25455 Date: Wed Jun 3 10:47:58 2009 +0200
25457 Adds overrides modules from PyBank.
25459 girepository/Makefile.am | 3 +++
25460 girepository/importer.py | 3 +--
25461 girepository/overrides/Gdk.py | 14 ++++++++++++++
25462 girepository/overrides/Gtk.py | 8 ++++++++
25463 girepository/overrides/__init__.py | 0
25464 5 files changed, 26 insertions(+), 2 deletions(-)
25466 commit c12964e6a3354d8063355225c94e6d21d621e08b
25467 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
25468 Date: Tue Jun 2 23:40:41 2009 +0200
25470 Disables the tests that fail in tests/test_girepository.py.
25472 tests/test_girepository.py | 242
25473 ++++++++++++++++++++++++++++++++++-----------
25474 1 file changed, 182 insertions(+), 60 deletions(-)
25476 commit a4469a3f7d32a25156bae5e7aef9ec4ae5f6e140
25477 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
25478 Date: Tue Jun 2 23:03:26 2009 +0200
25480 Imports test_girepository.py from former PyBank's
25481 everything_unittest.py.
25483 tests/test_girepository.py | 288
25484 +++++++++++++++++++++++++++++++++++++++++++++
25485 1 file changed, 288 insertions(+)
25487 commit e4f2a5ef8734cf40cf8345d442612db1f6c62d5a
25488 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
25489 Date: Thu May 28 17:45:11 2009 +0200
25491 Introduces the girepository module from the former PyBank.
25495 configure.ac | 12 +
25496 girepository/Makefile.am | 52 ++
25497 girepository/__init__.py | 24 +
25498 girepository/bank-argument.c | 379 +++++++++++++
25499 girepository/bank-info.c | 1194
25500 ++++++++++++++++++++++++++++++++++++++++
25501 girepository/bank-repository.c | 237 ++++++++
25502 girepository/bank.c | 155 ++++++
25503 girepository/bank.h | 80 +++
25504 girepository/btypes.py | 300 ++++++++++
25505 girepository/importer.py | 52 ++
25506 girepository/module.py | 224 ++++++++
25507 girepository/repository.py | 51 ++
25508 14 files changed, 2799 insertions(+), 32 deletions(-)
25510 commit f5ab5046fe9b67ec5e8fc64679e1a3d01787af7e
25511 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25512 Date: Tue Jun 2 18:28:22 2009 +0200
25514 Fix the docs for gio.FilterOutputStream
25516 docs/reference/pygio-filteroutputstream.xml | 6 +++---
25517 1 file changed, 3 insertions(+), 3 deletions(-)
25519 commit fded60d8376fc45d19bf6cd8be6b927cc3f2e8c6
25520 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25521 Date: Tue Jun 2 18:27:00 2009 +0200
25523 Add gio.FilterOutputStream docs
25525 docs/Makefile.am | 2 +
25526 docs/reference/pygio-classes.xml | 1 +
25527 docs/reference/pygio-filteroutputstream.xml | 152
25528 ++++++++++++++++++++++++++++
25529 3 files changed, 155 insertions(+)
25531 commit e2c31f916967229b6547e68013628ce0082cf875
25532 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25533 Date: Tue Jun 2 13:29:59 2009 +0200
25535 Add gio.FilterInputStream docs
25537 docs/Makefile.am | 2 +
25538 docs/reference/pygio-classes.xml | 1 +
25539 docs/reference/pygio-filterinputstream.xml | 152
25540 +++++++++++++++++++++++++++++
25541 3 files changed, 155 insertions(+)
25543 commit 49a467eee445bc75554db0374006722ac075194b
25544 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25545 Date: Tue Jun 2 11:33:20 2009 +0200
25547 Add API appeared in 2.20 but not marked as such in gio docs
25549 gio/gio.defs | 30 ++++++++++++++++++++++++++++++
25550 1 file changed, 30 insertions(+)
25552 commit 180c157f2a20b7d2dd9af05bfb5f515fd23870a0
25553 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25554 Date: Tue Jun 2 10:41:26 2009 +0200
25556 Wrap gio.FileOutputStream.query_info_async
25558 Add the wrapper for gio.FileOutputStream.query_info_async
25559 including docs and a test.
25561 docs/Makefile.am | 2 +
25562 docs/reference/pygio-classes.xml | 1 +
25563 docs/reference/pygio-fileoutputstream.xml | 257
25564 ++++++++++++++++++++++++++++++
25565 gio/Makefile.am | 3 +-
25566 gio/gfileoutputstream.override | 68 ++++++++
25567 gio/gio.override | 1 +
25568 tests/test_gio.py | 27 ++++
25569 7 files changed, 358 insertions(+), 1 deletion(-)
25571 commit 4673577d1f6c3d54423808dd575987092fb05ad2
25572 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25573 Date: Tue Jun 2 10:17:41 2009 +0200
25575 Fix gio.FileInputStream docs
25577 Add implemented interface section and remove a method description
25579 docs/reference/pygio-fileinputstream.xml | 25 +++++++++----------------
25580 1 file changed, 9 insertions(+), 16 deletions(-)
25582 commit 1e1cad02879d514745b5233658654cbe944530a5
25583 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25584 Date: Mon Jun 1 22:54:26 2009 +0200
25586 Fix the method name
25588 gio/gfileinputstream.override | 14 +++++++-------
25589 1 file changed, 7 insertions(+), 7 deletions(-)
25591 commit f605811afe8c91f121e89b6f9ec28c70b62f4110
25592 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25593 Date: Mon Jun 1 22:40:56 2009 +0200
25595 Wrap gio.FileInputStream.query_async
25597 Add the wrapper for gio.FileInputStream.query_async including docs and
25600 docs/Makefile.am | 2 +
25601 docs/reference/pygio-classes.xml | 1 +
25602 docs/reference/pygio-fileinputstream.xml | 221
25603 +++++++++++++++++++++++++++++++
25604 gio/Makefile.am | 1 +
25605 gio/gfileinputstream.override | 68 ++++++++++
25606 gio/gio.override | 1 +
25607 tests/test_gio.py | 27 ++++
25608 7 files changed, 321 insertions(+)
25610 commit 08623e54a426377c1504b5c364aabae5a17f8ad8
25611 Author: Paul Pogonyshev <pogonyshev@gmx.net>
25612 Date: Sun May 31 17:43:16 2009 +0300
25614 Install executable codegen parts with executing permissions
25616 Also add shebang where it was missing. Bug #583979.
25618 codegen/Makefile.am | 23 ++++++++++++-----------
25619 codegen/code-coverage.py | 2 ++
25620 codegen/codegen.py | 2 ++
25621 codegen/createdefs.py | 0
25622 codegen/defsconvert.py | 2 ++
25623 codegen/defsgen.py | 0
25624 codegen/docgen.py | 0
25625 codegen/scmexpr.py | 0
25626 8 files changed, 18 insertions(+), 11 deletions(-)
25628 commit 833d4da202bcfcb01a414f8aec4b751ec8e1ccb2
25629 Author: Paul Pogonyshev <pogonyshev@gmx.net>
25630 Date: Sat May 30 16:57:49 2009 +0300
25632 Wrap gio.DataInputStream.read_line_async and read_until_async
25634 Wrap the functions and their corresponding *_finish() functions.
25635 Create 'gdatainputstream.override' for these and move two existing
25636 functions there. Add unit tests. Re-enable synchronous read_line
25637 unit test and adjust it for new official GIO behavior. Bug #584285.
25639 gio/Makefile.am | 1 +
25640 gio/gdatainputstream.override | 250
25641 ++++++++++++++++++++++++++++++++++++++++++
25642 gio/ginputstream.override | 65 -----------
25643 gio/gio.defs | 4 +-
25644 gio/gio.override | 1 +
25645 tests/test_gio.py | 51 ++++++++-
25646 6 files changed, 300 insertions(+), 72 deletions(-)
25648 commit 2cb569c0ced49f9ed5ca83292d5f15c837066688
25649 Author: Paul Pogonyshev <pogonyshev@gmx.net>
25650 Date: Sat May 30 17:24:15 2009 +0300
25652 Fix gio.OutputStream.splice_async
25656 gio/goutputstream.override | 8 ++++----
25657 1 file changed, 4 insertions(+), 4 deletions(-)
25659 commit e43fa429f6b4019a432acb481bbc07c8201cc46d
25660 Author: Paul Pogonyshev <pogonyshev@gmx.net>
25661 Date: Wed May 27 21:19:27 2009 +0300
25663 Code maintenance: ignore one more file created by unit tests
25665 tests/.gitignore | 1 +
25666 1 file changed, 1 insertion(+)
25668 commit 76e9dc74ac706a9207f9d31f887d6e38df2a678f
25669 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25670 Date: Mon May 25 20:20:38 2009 +0200
25672 Update the docs with new 2.20 API
25674 docs/reference/pygio-appinfo.xml | 115 +++++++++++++++++++++++++++++
25675 docs/reference/pygio-icon.xml | 99 ++++++++++++++++++++++++-
25676 docs/reference/pygio-mount.xml | 156
25677 +++++++++++++++++++++++++++++++++++++++
25678 3 files changed, 367 insertions(+), 3 deletions(-)
25680 commit 8e40d71ac23deb7d91789486ee8cad440a6be1dd
25681 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25682 Date: Mon May 25 01:33:08 2009 +0200
25686 add the new API added in gio 2.20, some needs to be wrapped manually
25689 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
25690 gio/unix.defs | 48 +++++++++++++++++++++-----
25691 2 files changed, 146 insertions(+), 8 deletions(-)
25693 commit 0d08df42514fba6abc896814abfee0d2d083c29e
25694 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25695 Date: Mon May 25 00:14:21 2009 +0200
25697 Post release version bump 2.19.0
25699 configure.ac | 2 +-
25700 1 file changed, 1 insertion(+), 1 deletion(-)
25702 commit edfb09e3de7baf294b3beba84b4ecb94e1f16764
25703 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25704 Date: Sun May 24 23:56:29 2009 +0200
25706 Update NEWS, release 2.18.0
25708 NEWS | 14 ++++++++++++++
25709 configure.ac | 4 ++--
25710 2 files changed, 16 insertions(+), 2 deletions(-)
25712 commit e0648ea435e0b309cdd5bb0ebe56d4534efd26e4
25713 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25714 Date: Sun May 24 22:18:40 2009 +0200
25716 Add documentation for the gio.OutputStream class
25718 The docs for this class are not completed, missing methods
25720 The index is complete though, it will be completed once all the
25722 are in place so we can ship a (almost) complete reference.
25724 docs/Makefile.am | 2 +
25725 docs/reference/pygio-classes.xml | 3 +-
25726 docs/reference/pygio-outputstream.xml | 140
25727 ++++++++++++++++++++++++++++++++++
25728 3 files changed, 144 insertions(+), 1 deletion(-)
25730 commit 11524cdf6472d9115a812ce431f6767aec5627bc
25731 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25732 Date: Sun May 24 22:12:04 2009 +0200
25734 Wrap gio.OutputStream.splice_async()
25736 wrap gio.OutputStream.splice_async() and add a test.
25738 gio/goutputstream.override | 58
25739 +++++++++++++++++++++++++++++++++++++++++++++-
25740 tests/test_gio.py | 20 ++++++++++++++++
25741 2 files changed, 77 insertions(+), 1 deletion(-)
25743 commit 82ad6b8c8ea4d6694126f5e0e67b826717e38f19
25744 Author: Emilio Pozuelo Monfort <pochu@ubuntu.com>
25745 Date: Sun May 24 22:55:16 2009 +0300
25747 Add Python version into installed libpyglib name
25749 Do this now, while no-one (as far as we know) links to the library
25750 besides PyGObject itself. Bug #550235.
25752 configure.ac | 2 ++
25753 gio/Makefile.am | 2 +-
25754 glib/Makefile.am | 10 +++++-----
25755 gobject/Makefile.am | 2 +-
25756 4 files changed, 9 insertions(+), 7 deletions(-)
25758 commit 59da8cd24ea390b6c983995833ec6b0e5d028b35
25759 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25760 Date: Sun May 24 11:44:24 2009 +0200
25762 Wrap gio.OutputStream.flush_async()
25764 wrap gio.OutputStream.flush_async() and add a test.
25766 gio/goutputstream.override | 47
25767 +++++++++++++++++++++++++++++++++++++++++++++-
25768 tests/test_gio.py | 11 +++++++++++
25769 2 files changed, 57 insertions(+), 1 deletion(-)
25771 commit 84ab6178ed0033f69932df5bc73c86bdff80c953
25772 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25773 Date: Sun May 17 17:29:37 2009 +0200
25775 Add documentation for the gio.FileMonitor class
25777 The docs for this class are not completed, missing methods
25779 The index is complete though, it will be completed once all the
25781 are in place so we can ship a (almost) complete reference.
25783 docs/Makefile.am | 2 +
25784 docs/reference/pygio-classes.xml | 1 +
25785 docs/reference/pygio-filemonitor.xml | 128
25786 +++++++++++++++++++++++++++++++++++
25787 3 files changed, 131 insertions(+)
25789 commit 629496a5617d30e4dfa494b05a62c85a6af77b9a
25790 Author: Josselin Mouette <joss@malsain.org>
25791 Date: Sun May 17 18:03:44 2009 +0300
25793 Use 'Requires.private' for libffi in '.pc' files
25795 Correction for patch in bug #550231.
25797 pygobject-2.0-uninstalled.pc.in | 3 ++-
25798 pygobject-2.0.pc.in | 3 ++-
25799 2 files changed, 4 insertions(+), 2 deletions(-)
25801 commit 90cd8b7c4a25cd2ecb751f8337b401c98538272b
25802 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25803 Date: Wed May 13 21:54:39 2009 +0200
25805 Add wrapper for gio.FileAttributeMatcher
25807 added a boxed type for gio.FileAttributeMatcher which has been
25809 wrapping the gio API. This should probably be done in gio itself.
25811 gio/gfileinfo.override | 24 ++++++++++++++++++++++--
25812 gio/gio-types.defs | 7 +++++++
25813 gio/gio.override | 2 ++
25814 3 files changed, 31 insertions(+), 2 deletions(-)
25816 commit e707447d9313f2f2ecba395cfe3682d5a5e859f4
25817 Author: Paul Pogonyshev <pogonyshev@gmx.net>
25818 Date: Wed May 13 22:06:25 2009 +0300
25820 Mark relevant glib.IOChannel methods as METH_NOARGS
25822 Additionally fix glib.IOChannel.set_close_on_unref: was marked
25823 METH_NOARGS but actually accepted arguments. Fixes bug #582427.
25825 glib/pygiochannel.c | 83
25826 +++++++++++++----------------------------------------
25827 1 file changed, 20 insertions(+), 63 deletions(-)
25829 commit 002915e5f458fec5a89766a54e8119a70a80caa7
25830 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25831 Date: Tue May 12 20:37:24 2009 +0200
25833 Add documentation for the gio.FileInfo class
25835 The docs for this class are not completed, missing methods
25837 The index is complete though, it will be completed once all the
25839 are in place so we can ship a (almost) complete reference.
25841 docs/Makefile.am | 2 +
25842 docs/reference/pygio-classes.xml | 1 +
25843 docs/reference/pygio-fileinfo.xml | 346
25844 ++++++++++++++++++++++++++++++++++++++
25845 3 files changed, 349 insertions(+)
25847 commit 8cd25c871609580425c6c4c9e5bc6ec8d40862a1
25848 Author: Paul Pogonyshev <pogonyshev@gmx.net>
25849 Date: Sat May 9 16:46:04 2009 +0300
25851 Retire hand-written ChangeLog; autocreate from Git history
25853 Basically copied over from GLib source tree.
25856 ---------------------------------------------------
25857 ChangeLog.pre-2.18 | 3608
25858 ++++++++++++++++++++++++++++++++++++++++++++++++++++
25860 3 files changed, 3640 insertions(+), 3606 deletions(-)
25862 commit 23556bdbcf9cf06db866901fb822dd78a9043648
25863 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25864 Date: Sat May 9 00:03:05 2009 +0200
25866 Fix a bug in InputStream.skip_async
25868 use the count argument instead of buffer_size which is always zero
25870 gio/ginputstream.override | 3 ++-
25871 1 file changed, 2 insertions(+), 1 deletion(-)
25873 commit ed6b06315c17441b41c001d38537c904b8fe18de
25874 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25875 Date: Sat May 9 00:02:33 2009 +0200
25877 Add docs for the gio.InputStream class
25879 docs/Makefile.am | 2 +
25880 docs/reference/pygio-classes.xml | 1 +
25881 docs/reference/pygio-inputstream.xml | 730
25882 +++++++++++++++++++++++++++++++++++
25883 3 files changed, 733 insertions(+)
25885 commit d58322b84d47da7905f95b43e9e0daf9f7c4b507
25886 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25887 Date: Mon May 4 23:40:28 2009 +0200
25889 Wrap gio.InputStream.skip_async()
25891 wrap gio.InputStream.skip_async() and add a test.
25893 gio/ginputstream.override | 50
25894 ++++++++++++++++++++++++++++++++++++++++++++++-
25895 tests/test_gio.py | 20 +++++++++++++++++++
25896 2 files changed, 69 insertions(+), 1 deletion(-)
25898 commit 2311187824d1b48a996ee2620fd3c9a63e3edd66
25899 Author: Siavash Safi <siavash@siavashs.org>
25900 Date: Mon May 4 15:46:49 2009 +0430
25902 Add -n --namespace option and the code to remove
25903 dll API in headers, Added documentation
25905 Patch from bug #579275
25908 codegen/h2def.py | 133
25909 +++++++++++++++++++++++++++++++++++++++++++++----------
25910 2 files changed, 117 insertions(+), 24 deletions(-)
25912 commit 442ec5bb997bb7dab55baeea6e54e79d3ce0d3c1
25913 Author: Paul Pogonyshev <pogonyshev@gmx.net>
25914 Date: Sat May 2 23:54:52 2009 +0300
25916 Properly mark glib.get_user_special_dir() as a keywords method
25920 glib/glibmodule.c | 2 +-
25921 1 file changed, 1 insertion(+), 1 deletion(-)
25923 commit f466dca880cc6ea68b9fe236943eea7a07d33520
25924 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25925 Date: Sun May 3 11:03:25 2009 +0200
25927 Add docs for the gio.LoadableIcon class
25929 docs/Makefile.am | 2 +
25930 docs/reference/pygio-classes.xml | 1 +
25931 docs/reference/pygio-loadableicon.xml | 198
25932 ++++++++++++++++++++++++++++++++++
25933 3 files changed, 201 insertions(+)
25935 commit eab4ebf7f6c82580b61205f34e1cfe535aeada60
25936 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25937 Date: Sun May 3 01:21:55 2009 +0200
25939 Add docs for the gio.ThemedIcon class
25941 docs/Makefile.am | 2 +
25942 docs/reference/pygio-classes.xml | 1 +
25943 docs/reference/pygio-themedicon.xml | 204
25944 ++++++++++++++++++++++++++++++++++++
25945 3 files changed, 207 insertions(+)
25947 commit 22d7de8b620055f14b30f9c3c99160c8b4ebe672
25948 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25949 Date: Sat May 2 12:25:19 2009 +0200
25951 post release version bump to 2.17.1
25953 configure.ac | 2 +-
25954 1 file changed, 1 insertion(+), 1 deletion(-)
25956 commit 282ac3c76e1e3513bd76f819f320ec56aba15d9e
25957 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25958 Date: Fri May 1 23:40:31 2009 +0200
25960 Fix the class title
25962 docs/reference/pygio-mountoperation.xml | 2 +-
25963 1 file changed, 1 insertion(+), 1 deletion(-)
25965 commit d8b70dec1e5c09b73ae277f4f5b246315841fb8e
25966 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25967 Date: Fri May 1 22:24:33 2009 +0200
25969 Add docs for the gio.MountOperation class
25971 docs/Makefile.am | 2 +
25972 docs/reference/pygio-classes.xml | 1 +
25973 docs/reference/pygio-constants.xml | 107 +++++
25974 docs/reference/pygio-mountoperation.xml | 726
25975 ++++++++++++++++++++++++++++++++
25976 4 files changed, 836 insertions(+)
25978 commit fceea8e843e880f0469e454df23141e7dd2bc0cf
25979 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25980 Date: Thu Apr 30 22:13:06 2009 +0200
25982 Update NEWS, release 2.17.0
25985 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
25986 1 file changed, 93 insertions(+)
25988 commit 47389217d1a65a8e3f404d486c508cf5d3164756
25989 Author: Paul Pogonyshev <pogonyshev@gmx.net>
25990 Date: Thu Apr 30 22:47:19 2009 +0300
25992 Fix memory leak in gio.File.query_info_async()
25994 After the recent patch it would leak exception data if old argument
25995 order was used. Properly decref the objects.
25997 gio/gfile.override | 4 ++++
25998 1 file changed, 4 insertions(+)