1 commit bffbb4b1f823de5035e51e013dc6da5a973045aa
2 Author: Christoph Reiter <creiter@src.gnome.org>
3 Date: Mon Mar 20 14:23:59 2017 +0100
5 configure.ac: pre-release version bump to 3.24.0
8 1 file changed, 2 insertions(+), 2 deletions(-)
10 commit 78defd2ab5f1935a6226336eaa08727e7516fb02
11 Author: Christoph Reiter <creiter@src.gnome.org>
12 Date: Mon Mar 13 20:14:37 2017 +0100
17 1 file changed, 10 insertions(+)
19 commit 4ccabfec0cececba935339ea8449ec51b4aeef5e
20 Author: Christoph Reiter <creiter@src.gnome.org>
21 Date: Mon Mar 13 20:13:13 2017 +0100
23 Version bump to 3.23.92
26 1 file changed, 1 insertion(+), 1 deletion(-)
28 commit ebc245c477c36fa1f65f80d2e75792b82d837611
29 Author: Fabian Orccon <cfoch.fabian@gmail.com>
30 Date: Tue Jan 24 00:00:12 2017 -0500
32 overrides: Update for Gdk-4.0 and Gtk+-4.0
34 Override Gdk.Color and Gdk.RGBA according version.
35 Use properly Gtk.init_check in Gtk+-4.0
37 https://bugzilla.gnome.org/show_bug.cgi?id=777680
39 gi/overrides/Gdk.py | 74
40 ++++++++++++++++++++++++++++-------------------------
41 gi/overrides/Gtk.py | 7 +++--
42 2 files changed, 44 insertions(+), 37 deletions(-)
44 commit d005df9645fd5fb2f19bd09384355f45591f1e58
45 Author: Christoph Reiter <creiter@src.gnome.org>
46 Date: Mon Jan 23 21:26:05 2017 +0100
48 Disable -Werror=missing-prototypes
50 https://bugzilla.gnome.org/show_bug.cgi?id=760056
51 added some code triggering "missing-prototype" which we by default
52 treat as an error. This disables that specific error by default.
54 https://bugzilla.gnome.org/show_bug.cgi?id=777534
57 1 file changed, 1 insertion(+), 1 deletion(-)
59 commit 6695931a0dfb7d9db9ea14a128108342c3d0be89
60 Author: Christoph Reiter <creiter@src.gnome.org>
61 Date: Mon Jan 9 20:44:11 2017 +0100
65 Two new errors popped up:
67 * E305 expected 2 blank lines after class or function definition
68 * E741 ambiguous variable name
70 https://bugzilla.gnome.org/show_bug.cgi?id=776009
72 examples/cairo-demo.py | 1 +
73 examples/properties.py | 1 +
75 gi/overrides/GIMarshallingTests.py | 2 ++
76 gi/overrides/GLib.py | 19 +++++++++++++++++++
77 gi/overrides/GObject.py | 12 ++++++++++++
78 gi/overrides/Gdk.py | 3 +++
79 gi/overrides/Gio.py | 2 ++
80 gi/overrides/Gtk.py | 35
81 +++++++++++++++++++++++++++++++++++
82 gi/overrides/Pango.py | 2 ++
84 pygtkcompat/pygtkcompat.py | 1 +
85 tests/test_generictreemodel.py | 1 +
86 tests/test_interface.py | 4 ++++
87 tests/test_iochannel.py | 1 +
88 tests/test_overrides_gtk.py | 10 +++++-----
89 tests/test_properties.py | 12 ++++++------
90 tests/test_signal.py | 1 +
91 18 files changed, 98 insertions(+), 11 deletions(-)
93 commit 3f68e0a352abc12e1990e82e3134c48f0be2b3c9
94 Author: Christoph Reiter <creiter@src.gnome.org>
95 Date: Wed Mar 23 17:07:53 2016 +0100
97 Move pep8/pyflakes tests from 'make check' to 'make check.quality'
99 The current behaviour is problematic because new versions of
101 add new warnings or get more picky. This makes testing
102 hard in case newly added code is developed on an older version
103 or when testing old branches/releases.
105 This moves the pep8/pyflakes tests to a new "make check.quality"
108 This also removes the SKIP_PEP8 flag which was added in
110 to speed up make check.
112 https://bugzilla.gnome.org/show_bug.cgi?id=764087
115 Makefile.am | 12 +++++-------
116 2 files changed, 6 insertions(+), 8 deletions(-)
118 commit 222f5581c38551bdd5c6c9ca4e895d1f44397ad1
119 Author: Christoph Reiter <creiter@src.gnome.org>
120 Date: Fri Oct 21 13:59:54 2016 +0200
122 overrides: Update for Gtk-4.0
124 Skip things which are gone since 4.0.
125 This only fixes importing and doesn't add any tests for now.
127 https://bugzilla.gnome.org/show_bug.cgi?id=773315
129 gi/overrides/Gtk.py | 482
130 ++++++++++++++++++++++++++--------------------------
131 1 file changed, 242 insertions(+), 240 deletions(-)
133 commit 8694e4dd42565f07b6f9ba1221fb03146be333a0
134 Author: Dan Nicholson <nicholson@endlessm.com>
135 Date: Wed Dec 21 12:02:14 2016 -0600
137 Handle exception unreffing Variant at exit
139 Calling unref will cause gi and gi.repository.GLib to be imported.
140 However, if the program is exiting, then these modules have likely
142 removed from sys.modules and will raise an exception. Assume
144 case for ImportError and ignore the exception since everything will be
147 This can be triggered with the following trivial program:
149 $ python3 -c 'from gi.repository import GLib; v = GLib.Variant("s",
151 Exception ignored in:
153 Adding some debug code to show the full exception revealed this:
155 Traceback (most recent call last):
156 File "/home/dan/src/pygobject/build3/gi/overrides/GLib.py", line
159 ImportError: import of 'gi.repository.GLib' halted; None in
162 https://bugzilla.gnome.org/show_bug.cgi?id=776092
164 gi/overrides/GLib.py | 11 ++++++++++-
165 1 file changed, 10 insertions(+), 1 deletion(-)
167 commit 54c623ba639654716ca475f75c92cc8ed673d9f5
168 Author: Dan Nicholson <nicholson@endlessm.com>
169 Date: Wed Dec 21 11:50:08 2016 -0600
171 Handle multiple deinit of callable cache
173 In python3, it seems that the callable cache deinit can be called
174 multiple times when the program is exiting. Make that safer by
176 the various pointers in the structure using g_clear_pointer and
177 Py_CLEAR. A subsequent call will skip all the deinit by seeing NULL
178 pointers for the members.
180 This was causing a critical warning when destroying the arg name hash
181 table multiple times with the following trivial program:
183 $ python3 -c 'from gi.repository import GLib; v = GLib.Variant("s",
186 (process:32378): GLib-CRITICAL **: g_hash_table_destroy: assertion
187 'hash_table != NULL' failed
189 (process:32378): GLib-CRITICAL **: g_hash_table_destroy: assertion
190 'hash_table != NULL' failed
192 https://bugzilla.gnome.org/show_bug.cgi?id=776092
194 gi/pygi-cache.c | 15 +++++++--------
195 1 file changed, 7 insertions(+), 8 deletions(-)
197 commit 94226b8eb63dd985def8501168572ee16e02acad
198 Author: Christoph Reiter <creiter@src.gnome.org>
199 Date: Mon Sep 19 15:31:57 2016 +0200
201 configure.ac: post-release version bump to 3.23.0
204 1 file changed, 1 insertion(+), 1 deletion(-)
206 commit fb1b8fa8a67f2c7ea7ad4b53076496a8f2b4afdb
207 Author: Christoph Reiter <creiter@src.gnome.org>
208 Date: Mon Sep 19 15:27:35 2016 +0200
213 1 file changed, 3 insertions(+)
215 commit b93523fcdb6bc04b42709ecd30b8cd11de80f0c5
216 Author: Christoph Reiter <creiter@src.gnome.org>
217 Date: Mon Sep 19 15:24:35 2016 +0200
219 configure.ac: pre-release version bump to 3.22.0
221 configure.ac | 4 ++--
222 1 file changed, 2 insertions(+), 2 deletions(-)
224 commit 3ec19401dc57263508ee3aa16f5293419c222f5b
225 Author: Christoph Reiter <creiter@src.gnome.org>
226 Date: Sun Sep 11 11:45:59 2016 +0200
231 1 file changed, 7 insertions(+)
233 commit 7ccc164b6da6d87c0a200ea50314d213470a1f18
234 Author: Christoph Reiter <creiter@src.gnome.org>
235 Date: Sat Sep 3 20:02:13 2016 +0200
237 Handle nullable filename parameters
239 Make _pygi_marshal_from_py_filename handle None input
240 values. This allows one to pass None to parameters
241 annotated as nullable filenames.
243 This fixes a test suite error in test_spawn_async_with_pipes
244 triggered by an annotation change in glib.
246 https://bugzilla.gnome.org/show_bug.cgi?id=770821
248 gi/pygi-basictype.c | 5 +++++
249 tests/gimarshallingtestsextra.c | 22 ++++++++++++++++++++++
250 tests/gimarshallingtestsextra.h | 3 +++
251 tests/test_gi.py | 4 ++++
252 4 files changed, 34 insertions(+)
254 commit f4d858c069f06e7060a0bb067c29f5bffb7869ee
255 Author: Aurelien Jarno <aurelien@aurel32.net>
256 Date: Wed Aug 31 22:16:06 2016 +0200
258 Fix list/hashtable enum <-> hash conversion on 64-bit big endian
260 glist and ghashtable objects both store pointers. Complex objects are
261 stored as pointers to the objects, but simpler objects like an integer
262 value are stored directly as a pointer, using for example the
263 GINT_TO_POINTER and GPOINTER_TO_INT macros.
265 This is done in pygobject with the _pygi_hash_pointer_to_arg and
266 _pygi_arg_to_hash_pointer functions. These functions handle the
268 type of objects. However they consider that an enum, represented
270 GI_TYPE_TAG_INTERFACE type (extended interface object), are always a
271 pointer. This is wrong as it is often a 32-bit value. Therefore
273 big endian machines, the value is handle with the 2 32-bit parts
276 This patches fixes that by changing the second argument of both
278 from GITypeTag to GITypeInfo. This way the interface can be
280 and the underlying storage type can also be determined. This currently
281 only handles enum and flags, leaving other types as pointers. The
283 also adds two tests in the testsuite, one for each direction.
285 https://bugzilla.gnome.org/show_bug.cgi?id=770608
287 gi/pygi-argument.c | 33 +++++++++++++++++++++++++++++----
288 gi/pygi-argument.h | 4 ++--
289 gi/pygi-hashtable.c | 8 ++++----
290 gi/pygi-list.c | 8 ++++----
291 tests/gimarshallingtestsextra.c | 33 +++++++++++++++++++++++++++++++++
292 tests/gimarshallingtestsextra.h | 10 ++++++++++
293 tests/test_gi.py | 11 +++++++++++
294 7 files changed, 93 insertions(+), 14 deletions(-)
296 commit 1cb6c470e9d297afda21b73efaccb0b95e519b5d
297 Author: Lukas K <lu@0x83.eu>
298 Date: Fri May 13 21:30:47 2016 +0200
300 Allow passing sockets to io_add_watch on win32
302 https://bugzilla.gnome.org/show_bug.cgi?id=766396
304 gi/overrides/GLib.py | 4 ++++
305 1 file changed, 4 insertions(+)
307 commit 4617c39ca212f0da82af1a9989c912bcdfe1158b
308 Author: Michael Biebl <biebl@debian.org>
309 Date: Sat Sep 3 16:46:40 2016 +0200
311 tests: use dbus-run-session instead of dbus-launch to run tests
313 The use of dbus-launch is deprecated by dbus upstream.
314 See https://lists.debian.org/debian-devel/2016/08/msg00554.html
318 So use dbus-run-session instead, which was specifically designed to be
319 used for such cases, like running test-suites.
321 See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836049.
323 https://bugzilla.gnome.org/show_bug.cgi?id=770798
325 tests/Makefile.am | 7 ++-----
326 1 file changed, 2 insertions(+), 5 deletions(-)
328 commit 4b9185250d73c38231d90b53974d0d2912a02972
329 Author: Christoph Reiter <creiter@src.gnome.org>
330 Date: Thu Aug 25 16:57:11 2016 +0200
332 configure.ac: post-release version bump to 3.21.92
335 1 file changed, 1 insertion(+), 1 deletion(-)
337 commit 2f98ecc4df9e0feaab78ba289956f469e36c7d76
338 Author: Christoph Reiter <creiter@src.gnome.org>
339 Date: Thu Aug 25 16:51:39 2016 +0200
343 NEWS | 13 +++++++++++++
344 1 file changed, 13 insertions(+)
346 commit 91abec259ed0c387ab69762ff92142b08327d00a
347 Author: Christoph Reiter <creiter@src.gnome.org>
348 Date: Thu Aug 25 16:50:56 2016 +0200
350 configure.ac: version bump to 3.21.91
353 1 file changed, 1 insertion(+), 1 deletion(-)
355 commit f65bb1fc8f7f6172970545412fe56ab75f57904b
356 Author: Mathieu Bridon <bochecha@daitauha.fr>
357 Date: Thu Jun 23 22:35:42 2016 +0200
359 Allow installing with pip
361 This commit adds a setup.py file which just calls the autotools to
362 configure/make/make install.
364 It is heavily inspired by the similar work from Simon McVittie on
367 https://bugzilla.gnome.org/show_bug.cgi?id=767988
372 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
373 3 files changed, 110 insertions(+), 1 deletion(-)
375 commit 14626ee5dcf380ae94680626607742a8cc048351
376 Author: Christoph Reiter <creiter@src.gnome.org>
377 Date: Mon Jun 6 20:08:18 2016 +0200
379 Skip a test with older glib
381 https://bugzilla.gnome.org/show_bug.cgi?id=740301
383 tests/test_docstring.py | 4 ++++
384 1 file changed, 4 insertions(+)
386 commit a12f7027adeb57fe1c0142c86d34d5ec8f6b6d9e
387 Author: Christoph Reiter <creiter@src.gnome.org>
388 Date: Mon Jun 6 20:13:29 2016 +0200
390 Fix a test with Python 3.1/3.2
392 Fix Python version check in
393 TestImporter.test_invalid_repository_module_name()
394 to avoid failure with Python 3.1 and 3.2.
396 Fix provided by Arfrever Frehtes Taifersar Arahesis at
397 https://bugzilla.gnome.org/show_bug.cgi?id=740324#c1
399 https://bugzilla.gnome.org/show_bug.cgi?id=740324
401 tests/test_import_machinery.py | 4 ++--
402 1 file changed, 2 insertions(+), 2 deletions(-)
404 commit f5cf74f3b8d285de3591d89c6f3b4b8d59bde35e
405 Author: Christoph Reiter <creiter@src.gnome.org>
406 Date: Mon Jun 6 20:45:22 2016 +0200
408 tests: Use places kwarg for assertAlmostEqual
410 Always pass 'places' argument of TestCase.assertAlmostEqual
413 Fix by Arfrever Frehtes Taifersar Arahesis
414 https://bugzilla.gnome.org/show_bug.cgi?id=740337#c1
416 https://bugzilla.gnome.org/show_bug.cgi?id=740337
418 tests/test_properties.py | 6 +++---
419 tests/test_signal.py | 4 ++--
420 2 files changed, 5 insertions(+), 5 deletions(-)
422 commit e0b40099283a31ea23433f9d36dc9beebd4370c9
423 Author: Christoph Reiter <creiter@src.gnome.org>
424 Date: Mon Jun 6 11:34:47 2016 +0200
426 Print exception if marshalling a signal argument fails
428 For example if cairo support is missing a Gtk.Widget::draw call
430 "TypeError: Couldn't find foreign struct converter for
433 https://bugzilla.gnome.org/show_bug.cgi?id=748198
435 gi/pygi-signal-closure.c | 1 +
436 1 file changed, 1 insertion(+)
438 commit 76e2e30bc586016eba8bcfdd753dc1f4672dced7
439 Author: Marinus Schraal <mschraal@src.gnome.org>
440 Date: Fri May 20 01:26:27 2016 +0200
442 overrides: allow treemodel sequence shorthands
444 Add get_ and set_ overrides for sequences of GtkTreeModel
446 allows an arbitray list of indices to be retrieved or written in
448 from or to a GtkTreeModel row:
450 model[0][0, 1] = [True, "Hello"]
451 [foo, bar] = model[0][2, 7]
453 https://bugzilla.gnome.org/show_bug.cgi?id=766580
455 gi/overrides/Gtk.py | 15 +++++++++++++--
456 tests/test_overrides_gtk.py | 46
457 +++++++++++++++++++++++++++++++++++++++++++++
458 2 files changed, 59 insertions(+), 2 deletions(-)
460 commit ff1a6f0f00e042c5addfa42231ec8927ebf1a1a6
461 Author: Christoph Reiter <creiter@src.gnome.org>
462 Date: Tue May 31 19:26:00 2016 +0200
464 Remove pygobject-external.h
466 It's not used any more
468 https://bugzilla.gnome.org/show_bug.cgi?id=767084
471 gi/pygobject-external.h | 73
472 -------------------------------------------------
473 2 files changed, 74 deletions(-)
475 commit f5dd1551371308d33df9627bc8cc0e34fa68a2a8
476 Author: Christoph Reiter <creiter@src.gnome.org>
477 Date: Tue May 31 18:47:54 2016 +0200
479 Remove pygobject-private.h and rename pygobject.c to
482 Move all the random declarations in pygobject-private.h to their
483 respective header files. Rename pygobject.c to pygobject-object.c
484 so it's clearer that it's not the implementation of pygobject.h.
485 Add a new pygobject-internal.h which includes pygobject.h
486 with _INSIDE_PYGOBJECT_ defined like pygobject-private.h did.
488 In case you are looking at the git log and end up here due to the
491 git log --follow pygobject-object.c
493 or on the web interface go to the history of the old file name:
495 https://git.gnome.org/browse/pygobject/log/gi/pygobject.c?id=6b702c052e9f26e809cff494f0c896d17a514c64
497 https://bugzilla.gnome.org/show_bug.cgi?id=767084
499 gi/Makefile.am | 7 +-
500 gi/gimodule.c | 10 +-
501 gi/gobjectmodule.c | 56 +---------
502 gi/gobjectmodule.h | 11 ++
504 gi/pygboxed.h | 11 ++
506 gi/pygenum.h | 22 ++++
508 gi/pygflags.h | 21 ++++
509 gi/pygi-argument.c | 4 +-
510 gi/pygi-basictype.c | 2 +-
511 gi/pygi-boxed.c | 3 +-
512 gi/pygi-boxed.h | 2 +-
513 gi/pygi-cache.c | 1 +
514 gi/pygi-ccallback.c | 1 -
515 gi/pygi-enum-marshal.c | 3 +-
516 gi/pygi-foreign.c | 2 +-
517 gi/pygi-info.c | 2 +-
518 gi/pygi-object.c | 2 +-
519 gi/pygi-property.c | 1 +
520 gi/pygi-property.h | 2 +-
521 gi/pygi-signal-closure.h | 2 +-
522 gi/pygi-source.c | 3 +-
523 gi/pygi-struct-marshal.c | 3 +
524 gi/pygi-struct.c | 3 +-
525 gi/pygi-struct.h | 2 +-
526 gi/pygi-type.c | 2 +-
527 gi/pygi-util.c | 42 ++++++++
528 gi/pygi-util.h | 6 ++
529 gi/pygi-value.c | 6 +-
530 gi/pyginterface.c | 3 +-
531 gi/pygobject-internal.h | 7 ++
532 gi/{pygobject.c => pygobject-object.c} | 27 ++++-
533 gi/pygobject-object.h | 56 ++++++++++
534 gi/pygobject-private.h | 186
535 ---------------------------------
536 gi/pygparamspec.c | 5 +-
537 gi/pygpointer.c | 3 +-
538 gi/pygpointer.h | 8 ++
539 gi/pygtype.c | 27 ++---
540 gi/pygtype.h | 25 +++++
541 41 files changed, 305 insertions(+), 286 deletions(-)
543 commit ef7a6dad8cea6a3b9547cfae00bf15ebb9eb756e
544 Author: Christoph Reiter <creiter@src.gnome.org>
545 Date: Tue May 31 15:44:36 2016 +0200
547 Merge pyglib-private.h into pyglib.h
549 No need for another header
551 https://bugzilla.gnome.org/show_bug.cgi?id=767084
555 gi/glibmodule.c | 1 -
556 gi/pygi-resulttuple.c | 2 +-
557 gi/pygi-source.c | 1 -
558 gi/pyglib-private.h | 40 ----------------------------------------
560 gi/pyglib.h | 6 ++++++
561 gi/pygoptioncontext.c | 1 -
562 gi/pygoptiongroup.c | 1 -
564 11 files changed, 8 insertions(+), 49 deletions(-)
566 commit e1e05fb027c328ef41be0ba6d99883d2d7983f70
567 Author: Christoph Reiter <creiter@src.gnome.org>
568 Date: Tue May 31 15:31:38 2016 +0200
570 Remove pygi.h and pygi-private.h
572 Instead include things where needed.
574 https://bugzilla.gnome.org/show_bug.cgi?id=767084
576 gi/Makefile.am | 3 +-
577 gi/gimodule.c | 11 ++++-
581 gi/pygi-argument.c | 17 ++++++--
582 gi/pygi-array.c | 3 +-
583 gi/pygi-basictype.c | 2 +-
584 gi/pygi-boxed.c | 3 +-
585 gi/pygi-boxed.h | 8 ++++
586 gi/pygi-cache.c | 2 +
587 gi/pygi-ccallback.c | 2 +-
588 gi/pygi-ccallback.h | 11 +++++
589 gi/pygi-closure.c | 5 ++-
590 gi/pygi-enum-marshal.c | 3 +-
591 gi/pygi-error.c | 2 +-
592 gi/pygi-hashtable.c | 2 +-
593 gi/pygi-info.c | 6 ++-
594 gi/pygi-info.h | 22 ++++++++++
595 gi/pygi-invoke.c | 5 +++
596 gi/pygi-invoke.h | 2 +-
597 gi/pygi-list.c | 2 +-
598 gi/pygi-marshal-cleanup.c | 8 ++--
599 gi/pygi-marshal-cleanup.h | 4 +-
600 gi/pygi-object.c | 2 +-
601 gi/pygi-property.c | 3 +-
602 gi/pygi-property.h | 2 +-
603 gi/pygi-repository.c | 3 +-
604 gi/pygi-repository.h | 6 +++
605 gi/pygi-signal-closure.c | 4 +-
606 gi/pygi-signal-closure.h | 3 +-
607 gi/pygi-source.c | 4 +-
608 gi/pygi-struct-marshal.c | 6 ++-
609 gi/pygi-struct.c | 5 ++-
610 gi/pygi-struct.h | 6 +++
611 gi/pygi-type.c | 3 +-
612 gi/{pygi-private.h => pygi-util.h} | 47 ++--------------------
614 --------------------------------------
615 gi/pygobject.c | 3 +-
616 gi/pygpointer.c | 1 -
617 40 files changed, 146 insertions(+), 164 deletions(-)
619 commit c86424c73725610ac2ef832c1fa41a777f9a5efa
620 Author: Simon Feltman <sfeltman@src.gnome.org>
621 Date: Sun Apr 24 21:27:59 2016 -0700
623 configure.ac: post-release version bump to 3.21.1
626 1 file changed, 1 insertion(+), 1 deletion(-)
628 commit febd211b6628a8f63d92ae011d68b845e9fe6ec8
629 Author: Simon Feltman <sfeltman@src.gnome.org>
630 Date: Sun Apr 24 21:19:39 2016 -0700
635 1 file changed, 7 insertions(+)
637 commit 1bb267f1755b2ec314c751b27931cbe7032f3c36
638 Author: Dustin Falgout <dustin@falgout.us>
639 Date: Sun Mar 20 03:21:02 2016 -0500
641 gi: Add require_versions() function
643 Adds a new function that accepts a dict of one or more namespace,
645 pairs through which it iterates and calls `gi.require_version()`
646 for each pair. Also adds a test for the new function.
648 https://bugzilla.gnome.org/show_bug.cgi?id=761141
650 gi/__init__.py | 33 +++++++++++++++++++++++++++++++++
651 tests/test_import_machinery.py | 6 ++++++
652 2 files changed, 39 insertions(+)
654 commit b3f897b98c5a2c59ea34a8afcce0448b1ffb0731
655 Author: Iain Lane <iain@orangesquash.org.uk>
656 Date: Thu Mar 24 18:04:40 2016 +0000
658 test_gerror_novalue: Don't assign the error to a variable
660 Otherwise the build fails with:
662 CHECK Pyflakes examples gi tests pygtkcompat
663 tests/test_gobject.py:689: local variable 'error' is assigned to
666 https://bugzilla.gnome.org/show_bug.cgi?id=764165
668 tests/test_gobject.py | 2 +-
669 1 file changed, 1 insertion(+), 1 deletion(-)
671 commit 6ff29c91dfdbcc3203405da0aca8dbfa318d8b32
672 Author: Emmanuele Bassi <ebassi@gnome.org>
673 Date: Wed Mar 23 13:59:53 2016 +0000
675 build: Do not enable code coverage based on lcov
677 Code coverage turns on various slow paths and disables
679 should be, and it usually is, an opt in configuration flag.
681 Enabling it should not be conditional on the existence of the lcov
682 binary on the system, otherwise anybody building PyGObject from Git on
683 any moderately complete development environment will automatically
684 enable code coverage even when not wanted.
686 https://bugzilla.gnome.org/show_bug.cgi?id=764075
688 autogen.sh | 10 +---------
689 1 file changed, 1 insertion(+), 9 deletions(-)
691 commit c2a66daf3ac62e3e97f8d7fe16afccf37f413305
692 Author: Simon Feltman <sfeltman@src.gnome.org>
693 Date: Mon Mar 21 21:00:37 2016 -0700
695 configure.ac: post-release version bump to 3.21.0
698 1 file changed, 1 insertion(+), 1 deletion(-)
700 commit ce3034544f126f196cad57485f126f1246cd1acf
701 Author: Simon Feltman <sfeltman@src.gnome.org>
702 Date: Mon Mar 21 20:34:50 2016 -0700
707 1 file changed, 2 insertions(+)
709 commit eee366401383f92a2b2b233b2cd0db2ad50b6cb2
710 Author: Simon Feltman <sfeltman@src.gnome.org>
711 Date: Mon Mar 21 20:33:13 2016 -0700
713 configure.ac: pre-release version bump to 3.20.0
715 configure.ac | 4 ++--
716 1 file changed, 2 insertions(+), 2 deletions(-)
718 commit f4401234cdc9be784eea9347fec349e7cba0a153
719 Author: Simon Feltman <sfeltman@src.gnome.org>
720 Date: Tue Mar 15 22:56:10 2016 -0700
725 1 file changed, 2 insertions(+)
727 commit 3d8860c2d0a95cff38f7eaa65c38521654a162ae
728 Author: Simon Feltman <sfeltman@src.gnome.org>
729 Date: Tue Mar 1 22:10:21 2016 -0800
731 post-release version bump to 3.19.92
734 1 file changed, 1 insertion(+), 1 deletion(-)
736 commit a4865ef2f8c70b93f84f93236786c65ad5f973af
737 Author: Simon Feltman <sfeltman@src.gnome.org>
738 Date: Tue Mar 1 21:46:21 2016 -0800
742 NEWS | 11 +++++++++++
743 1 file changed, 11 insertions(+)
745 commit cc75f994a07639b9ffcc6afef757768780a076de
746 Author: Thibault Saunier <tsaunier@gnome.org>
747 Date: Fri Feb 5 15:00:10 2016 +0100
749 tests: check passing Boxed type in GValue as function parameters
751 https://bugzilla.gnome.org/show_bug.cgi?id=761592
753 tests/Makefile.am | 13 +++++++++++--
754 tests/gimarshallingtestsextra.c | 37
755 +++++++++++++++++++++++++++++++++++++
756 tests/gimarshallingtestsextra.h | 26 ++++++++++++++++++++++++++
757 tests/test_error.py | 6 ++++++
758 4 files changed, 80 insertions(+), 2 deletions(-)
760 commit 5f4b08f4e8a98046eab71537c7827edde2ca8742
761 Author: Simon Feltman <sfeltman@src.gnome.org>
762 Date: Mon Feb 29 22:50:32 2016 -0800
764 gerror: Add special case marshaling for boxing GErrors
766 Transfer gtype from introspection GError class to Python GError
768 Expose the PyGError pointer as an extern so other C files can pick
770 Add custom to/from GValue marshalers for GError.
771 Add tests for both complete and incomplete (no boxed pointer held).
773 https://bugzilla.gnome.org/show_bug.cgi?id=761592
775 gi/overrides/GLib.py | 1 +
776 gi/pygi-error.c | 32 +++++++++++++++++++++++++++++++-
777 gi/pygi-error.h | 2 ++
778 gi/pygi-value.c | 1 +
779 tests/test_gobject.py | 17 +++++++++++++++++
780 5 files changed, 52 insertions(+), 1 deletion(-)
782 commit cfca1457c39e3c4c7ef97e7b46a73c19e5adf305
783 Author: Simon Feltman <sfeltman@src.gnome.org>
784 Date: Sun Feb 28 01:39:31 2016 -0800
786 gerror: Add support for marshaling GError from Python to C
788 Refactor pygi_gerror_exception_check() to use a new broken out
790 pygi_error_marshal_from_py(). This allows re-use for argument
792 of a Python GError to a C GError.
793 Remove PYGI_META_ARG_TYPE_CHILD setting for GError out argument
795 This was incorrect since GError exception arguments are not specified
796 explicitly and instead uses the "throws" option.
798 https://bugzilla.gnome.org/show_bug.cgi?id=685197
800 gi/pygi-error.c | 132
801 +++++++++++++++++++++++++++++--------------
802 gi/pygi-error.h | 3 +
803 tests/test_overrides_glib.py | 30 ++++++++++
804 3 files changed, 123 insertions(+), 42 deletions(-)
806 commit 2fc1a689a81614649d042965997f4546b0a58ada
807 Author: Simon Feltman <sfeltman@src.gnome.org>
808 Date: Sat Feb 27 17:21:53 2016 -0800
810 gerror: Add "_to_py" suffix to pygi_error_marshal
812 This will allow for the a pygi_error_marshal_from_py function.
814 https://bugzilla.gnome.org/show_bug.cgi?id=685197
816 gi/pygi-error.c | 8 ++++----
817 gi/pygi-error.h | 2 +-
818 2 files changed, 5 insertions(+), 5 deletions(-)
820 commit 7e29227b6f58cfcc96118a4af83658ca1a6fa1f4
821 Author: Christoph Reiter <creiter@src.gnome.org>
822 Date: Sat Jul 4 22:09:46 2015 +0200
824 Some error handling/reporting fixes.
826 * Check in pyg_boxed_new() if the passed type is an actual subclass
827 * Don't replace existing exceptions in pyg_value_as_pyobject()
828 * Print an error in pyg_closure_marshal() in case marshalling
831 https://bugzilla.gnome.org/show_bug.cgi?id=751956
833 gi/pygboxed.c | 8 +++++++-
834 gi/pygi-value.c | 15 ++++++++++-----
835 gi/pygtype.c | 11 ++++++++++-
836 3 files changed, 27 insertions(+), 7 deletions(-)
838 commit 49880800b35029de3731523eede1b3174f10c1db
839 Author: Christoph Reiter <creiter@src.gnome.org>
840 Date: Sat Jul 4 21:40:04 2015 +0200
842 GVariant: Don't use pyg_boxed_new as GVariant isn't a PyGBoxed but
845 This only worked because they share the same struct layout.
846 This adds a new constructor for creating a new PyGIStruct instance
849 https://bugzilla.gnome.org/show_bug.cgi?id=751956
851 gi/pygi-struct.c | 32 ++++++++++++++++++++++++++++++++
852 gi/pygi-struct.h | 5 +++++
853 gi/pygi-value.c | 3 ++-
854 3 files changed, 39 insertions(+), 1 deletion(-)
856 commit f27b1976ea325fcd55359888401dd08ac8fb074a
857 Author: Mikhail Fludkov <misha@pexip.com>
858 Date: Tue Sep 1 17:54:17 2015 +0200
860 pygi-value: special case for NULL GValueArray
862 Don't segfault when dealing with GValue of GValueArray type containing
863 NULL. Return empty list in this case.
865 https://bugzilla.gnome.org/show_bug.cgi?id=754359
867 gi/pygi-value.c | 5 +++--
868 tests/test_gobject.py | 6 ++++++
869 2 files changed, 9 insertions(+), 2 deletions(-)
871 commit c8176dfabea694ce738ff4633e7522b0d1fc1c51
872 Author: Simon Feltman <sfeltman@src.gnome.org>
873 Date: Sat Feb 20 20:42:40 2016 -0800
875 post-release version bump to 3.19.91
878 1 file changed, 1 insertion(+), 1 deletion(-)
880 commit d16ae38f0a12653557bdeba17eb155144d91bff4
881 Author: Simon Feltman <sfeltman@src.gnome.org>
882 Date: Sat Feb 20 19:56:24 2016 -0800
887 1 file changed, 9 insertions(+)
889 commit 0190fb84fc1f88ba4c0623bf1b29fe3ca4f80932
890 Author: Simon Feltman <sfeltman@src.gnome.org>
891 Date: Sat Feb 20 19:49:31 2016 -0800
893 pre-release version bump to 3.19.90
896 1 file changed, 1 insertion(+), 1 deletion(-)
898 commit 0467808b97f89c5a36c01f5b7cba013acaef6851
899 Author: Simon Feltman <sfeltman@src.gnome.org>
900 Date: Sat Feb 20 19:40:45 2016 -0800
902 tests: Set the active style context state before retrieving values
904 compat_test_pygtk.TestGTKCompat.test_style() was giving a warning due
905 to set/get state mismatch. Set the current state before getting values
908 tests/compat_test_pygtk.py | 1 +
909 1 file changed, 1 insertion(+)
911 commit 8145fa69c8ace9772687f26f782acb5e461776be
912 Author: Simon Feltman <sfeltman@src.gnome.org>
913 Date: Sat Feb 20 17:32:01 2016 -0800
915 tests: Fix crash with empty drag source icon names
917 Add "_About" argument when testing call to
918 drag_source_set_icon_name().
919 Add Gtk.STOCK_ABOUT argument when testing call to
920 drag_source_set_icon_stock().
921 This avoids crashes due to GTK+ drag source attempting to unref a
924 https://bugzilla.gnome.org/show_bug.cgi?id=762392
926 tests/test_overrides_gtk.py | 4 ++--
927 1 file changed, 2 insertions(+), 2 deletions(-)
929 commit 6a26d3f2b25b3fbbd87def14f1df17b96ed23a0d
930 Author: Christoph Reiter <creiter@src.gnome.org>
931 Date: Sun Oct 4 11:18:04 2015 +0200
933 Try to import GdkX11 in Gdk overrides
935 pygobject will not provide GdkX11 instances until the namespace
936 is loaded so try to load it in the overrides.
938 This makes Gdk.Display.get_default() return a GdkX11.X11Display
939 instead of a dummy Gdk.Display subclass instance.
941 https://bugzilla.gnome.org/show_bug.cgi?id=673396
943 gi/overrides/Gdk.py | 11 ++++++++++-
944 1 file changed, 10 insertions(+), 1 deletion(-)
946 commit 12022437d663f49ba3a2a2f884da30dd5ca08ff6
947 Author: Christoph Reiter <creiter@src.gnome.org>
948 Date: Fri Oct 30 13:07:57 2015 +0100
950 Fix import warnings pointing to the wrong code with CPython 3.3/3.5
952 For making warnings point to the code doing the import, the stack
954 of the import system need to be skipped. The frame count number
956 between CPython versions and in 3.5 all frames of the import
958 skipped for warnings (https://bugs.python.org/issue24305).
960 This hardcodes the frame counts for all supported CPython versions
961 which fixes the import warning output for CPython 3.3 and 3.5.
963 This also fixes/works around a bug in CPython 3 where if a too
964 large stacklevel value was passed to warn(), CPython would try to
965 interpret a file called "sys" in the same directory of the
966 executed script (https://bugs.python.org/issue25493
967 and https://bugzilla.gnome.org/show_bug.cgi?id=757184).
969 https://bugzilla.gnome.org/show_bug.cgi?id=757184
971 gi/importer.py | 28 +++++++++++++++++++++++-----
972 tests/test_import_machinery.py | 4 ++++
973 2 files changed, 27 insertions(+), 5 deletions(-)
975 commit 72ab17963e81fb63f7238123c359be8d83a529f4
976 Author: Christoph Reiter <creiter@src.gnome.org>
977 Date: Sun Oct 25 11:39:22 2015 +0100
979 Bump automake version to 1.12.6
981 Required to a get a new enough py-compile which supports
982 the __pycache__ directories for newer Python 3 versions.
983 See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=8847
985 Also remove m4/py-compile which doesn't seem to get used in
986 either 1.11 or 1.15 here.
988 https://bugzilla.gnome.org/show_bug.cgi?id=757086
992 ----------------------------------------------------------
993 2 files changed, 3 insertions(+), 162 deletions(-)
995 commit b71f76af163c1d43b9f11e6a6362e7510d84c231
996 Author: Simon Feltman <sfeltman@src.gnome.org>
997 Date: Sat Oct 31 14:55:46 2015 -0700
999 post-release version bump to 3.19.3
1002 1 file changed, 1 insertion(+), 1 deletion(-)
1004 commit bedc7b883febceb3470f1b8e909cfab696d1fc5f
1005 Author: Simon Feltman <sfeltman@src.gnome.org>
1006 Date: Sat Oct 31 14:47:07 2015 -0700
1011 1 file changed, 7 insertions(+)
1013 commit 4164e7088be446fcab65cef642c6853aad3b6a69
1014 Author: Simon Feltman <sfeltman@src.gnome.org>
1015 Date: Sat Oct 31 14:06:40 2015 -0700
1017 tests: Fix failure due to new GTK+ warning regarding size_allocate()
1019 Call get_preferred_size() to avoid size_allocated() warning in
1020 size-allocated signal handler test.
1022 tests/test_overrides_gtk.py | 1 +
1023 1 file changed, 1 insertion(+)
1025 commit a8293f411234180d70e9ff979954b28381842e1f
1026 Author: Simon Feltman <sfeltman@src.gnome.org>
1027 Date: Sat Oct 31 14:03:21 2015 -0700
1029 Fix build warnings regarding _POSIX_C_SOURCE redefinition
1031 Move Python.h includes above glib includes to avoid build
1032 warnings with Python 2 as noted here:
1033 https://docs.python.org/2/c-api/intro.html#include-files
1035 gi/gobjectmodule.c | 1 +
1036 gi/pygi-array.c | 2 +-
1037 gi/pygi-cache.c | 2 +-
1038 gi/pygi-enum-marshal.c | 2 +-
1039 gi/pygi-hashtable.c | 1 +
1040 gi/pygi-hashtable.h | 2 +-
1041 gi/pygi-list.c | 1 +
1042 gi/pygi-object.c | 2 +-
1043 gi/pygi-struct-marshal.c | 2 +-
1044 gi/pygi-value.c | 1 +
1045 10 files changed, 10 insertions(+), 6 deletions(-)
1047 commit 3b1d130174951f7648beceac270daa8ac65939c7
1048 Author: Matthias Clasen <mclasen@redhat.com>
1049 Date: Fri Oct 30 12:15:26 2015 -0400
1051 Drop -std=c90 for now
1053 glib headers have a problem with it, and sorting it out on the
1054 glib side will take a while, so drop this for now.
1056 configure.ac | 9 ---------
1057 1 file changed, 9 deletions(-)
1059 commit ef219cc74a7c6803795692664fc3b2c8ebbb4fe4
1060 Author: Christoph Reiter <creiter@src.gnome.org>
1061 Date: Fri Oct 30 16:23:11 2015 +0100
1063 configure.ac: post release version bump to 3.19.2
1066 1 file changed, 1 insertion(+), 1 deletion(-)
1068 commit 98a4bfe4606bd2c7534533633a20a998f732e248
1069 Author: Christoph Reiter <creiter@src.gnome.org>
1070 Date: Fri Oct 30 16:13:46 2015 +0100
1074 NEWS | 20 ++++++++++++++++++++
1075 1 file changed, 20 insertions(+)
1077 commit 175d10665472e6f4090d707e3b89255814c932b1
1078 Author: Christoph Reiter <creiter@src.gnome.org>
1079 Date: Mon Jun 8 18:14:08 2015 +0200
1081 Use a named tuple for returning multiple values
1083 >>> v = Gtk.Button().get_alignment()
1085 (xalign=0.5, yalign=0.5)
1089 For each GICallable a new gi._gi.ResultTuple subclass
1090 is created which knows the return value names of that
1091 callable and displays them in __repr__, __dir__ and
1092 allows to access tuple items by name.
1094 The subclass is cached in PyGICallableCache.
1096 To reduce the number of small tuple allocations use a free list
1097 similar to the one used for pure tuples in CPython.
1099 https://bugzilla.gnome.org/show_bug.cgi?id=727374
1101 gi/Makefile.am | 2 +
1103 gi/pygi-cache.c | 34 +++++
1104 gi/pygi-cache.h | 6 +
1105 gi/pygi-invoke.c | 35 ++---
1106 gi/pygi-private.h | 1 +
1107 gi/pygi-resulttuple.c | 354
1108 ++++++++++++++++++++++++++++++++++++++++++++++
1109 gi/pygi-resulttuple.h | 34 +++++
1110 gi/pyglib-python-compat.h | 5 +
1111 tests/Makefile.am | 1 +
1112 tests/test_resulttuple.py | 87 ++++++++++++
1113 11 files changed, 543 insertions(+), 17 deletions(-)
1115 commit b1788c9a445c8a820121c42260bcbdbc3ae8dfba
1116 Author: Christoph Reiter <creiter@src.gnome.org>
1117 Date: Mon Oct 26 11:17:34 2015 +0100
1119 enum/flags: use gir info for type names and __repr__ instead of the
1122 For example __name__ is now SpawnFlags instead of PyGLibSpawnFlags
1123 and __repr__ shows GLib.SpawnFlags in stead of PyGLibSpawnFlags.
1125 https://bugzilla.gnome.org/show_bug.cgi?id=657915
1127 gi/gimodule.c | 35 ++++++++++++++++++++++++----
1129 +++++++++++++++++++++++++++++++--------------
1130 gi/pygflags.c | 31 +++++++++++++++++++-----
1131 tests/test_gi.py | 41 ++++++++++++++++++++++++++++++++
1132 tests/test_overrides_gdk.py | 6 ++---
1133 5 files changed, 139 insertions(+), 31 deletions(-)
1135 commit 6b702c052e9f26e809cff494f0c896d17a514c64
1136 Author: Christoph Reiter <creiter@src.gnome.org>
1137 Date: Wed Jun 10 18:24:44 2015 +0200
1139 Improve and unify __repr__ format for PyGObject, PyGBoxed and
1142 Includes the module, Python type name, pointer and wrapper pointer
1143 and GType name. e.g.
1144 "<Gtk.Border object at 0x7f26bee9e4c8 (GtkBorder at 0x1c72e30)>"
1146 In case of PyGObjects created from GType set the module to __gi__
1147 instead of guessing the old static binding name. Also
1148 remove the code that tries to add them to the guessed static bindings
1149 module while at it. The __repr__ will now return
1150 "<__gi__.X11Keymap ..." instead of "<gtk.gdk.X11Keymap ..."
1152 https://bugzilla.gnome.org/show_bug.cgi?id=657915
1154 gi/pygboxed.c | 31 +++++++++++++++++++++----
1155 gi/pygi-struct.c | 23 ++++++++++++++++++
1157 +++++++++++++++++++++++++-------------------------------
1158 tests/test_gi.py | 33 ++++++++++++++++++++++++++
1159 4 files changed, 113 insertions(+), 45 deletions(-)
1161 commit 9b821aa0d60857e612cde9dabe9c8f9f9c60214c
1162 Author: Christoph Reiter <creiter@src.gnome.org>
1163 Date: Sun Oct 4 11:13:37 2015 +0200
1165 Don't leak internal RepositoryError on import.
1167 In case a dependency of the imported namespace has a version
1168 conflict with an already loaded version, import would raise
1171 This fixes it to raise an ImportError instead.
1173 https://bugzilla.gnome.org/show_bug.cgi?id=756033
1175 gi/importer.py | 7 +++++--
1176 gi/module.py | 4 ++++
1177 2 files changed, 9 insertions(+), 2 deletions(-)
1179 commit dba1da9b0770c7dec1abd82303b9b4266fe2ce3f
1180 Author: Christoph Reiter <creiter@src.gnome.org>
1181 Date: Sun Oct 4 10:13:35 2015 +0200
1183 Import dependencies when importing typelibs from gi.repository
1185 Recursively import a modules dependencies when importing from
1188 This fixes the case where a library depends on initialization
1189 code of dependency overrides. For example libwnck expects
1190 gdk_init to be called before using its API and gdk_init
1191 gets called in the Gdk overrrides.
1193 https://bugzilla.gnome.org/show_bug.cgi?id=656314
1195 gi/importer.py | 12 +++++++++++-
1196 gi/pygi-repository.c | 35 +++++++++++++++++++++++++++++++++++
1197 tests/test_import_machinery.py | 13 +++++++++++++
1198 tests/test_repository.py | 10 ++++++++++
1199 4 files changed, 69 insertions(+), 1 deletion(-)
1201 commit dfa3a85290dd97ecd7cbe8f12fbc1ff2db5a1155
1202 Author: Christoph Reiter <creiter@src.gnome.org>
1203 Date: Sun Oct 11 01:28:48 2015 +0200
1205 Fix Gdk.rectangle_intersect/rectangle_union missing with GTK+ 3.18
1207 3.18 added a Gdk.Rectangle type which changed these functions
1208 to methods in the gir.
1210 Fix by providing aliases in the Gdk overrides.
1212 https://bugzilla.gnome.org/show_bug.cgi?id=756364
1214 gi/overrides/Gdk.py | 8 ++++++++
1215 tests/test_overrides_gdk.py | 9 +++++++++
1216 2 files changed, 17 insertions(+)
1218 commit 98726caff183491cde1e145861adfcff0c243d9b
1219 Author: Christoph Reiter <creiter@src.gnome.org>
1220 Date: Sun Oct 4 09:53:27 2015 +0200
1222 Don't import inspect at module level
1224 Move it to the only user instead as importing inspect
1227 gi/_signalhelper.py | 3 ++-
1228 1 file changed, 2 insertions(+), 1 deletion(-)
1230 commit e1921b7224ca1e909d9fe5483a09414742d0baf4
1231 Author: Christoph Reiter <creiter@src.gnome.org>
1232 Date: Sat Sep 26 21:29:54 2015 +0200
1234 invoke state: add a free memory cache for PyGIInvokeArgState
1236 Keep one free allocation per argument count around
1237 to reduce g_slice_alloc/free usage.
1239 Reduces CPU time for simple functions by 10% and 5% for closures.
1241 https://bugzilla.gnome.org/show_bug.cgi?id=750658
1243 gi/pygi-closure.c | 6 ++----
1244 gi/pygi-invoke.c | 61
1245 +++++++++++++++++++++++++++++++++++++++++++++++++------
1246 gi/pygi-invoke.h | 4 ++++
1247 3 files changed, 61 insertions(+), 10 deletions(-)
1249 commit f72b6434de82ffa1950ff45a4daf80c84f58eca6
1250 Author: Christoph Reiter <creiter@src.gnome.org>
1251 Date: Sat Sep 26 21:25:38 2015 +0200
1253 invoke/closure: reduce g_slice_alloc usage
1255 Instead of allocating multiple arrays, combine argument
1256 data in a new PyGIInvokeArgState and allocate it in one go.
1258 This reduces CPU time by 20% for simple functions and by 15%
1261 https://bugzilla.gnome.org/show_bug.cgi?id=750658
1263 gi/pygi-array.c | 6 +--
1264 gi/pygi-closure.c | 99
1265 +++++++++++++++++++------------------------
1266 gi/pygi-invoke-state-struct.h | 34 +++++++++------
1267 gi/pygi-invoke.c | 50 +++++++---------------
1268 gi/pygi-marshal-cleanup.c | 10 ++---
1269 5 files changed, 86 insertions(+), 113 deletions(-)
1271 commit 640221c099031a55cbc32f5cdac3e6e018256fff
1272 Author: Christoph Reiter <creiter@src.gnome.org>
1273 Date: Sun Sep 27 11:19:14 2015 +0200
1275 pep8: ignore new errors reported by pep8 1.6
1277 Makes sure we get the same result for older and newer pep8.
1278 Once 1.6 is more common, the ignored errors could be added back
1279 and fixed (E402 might be impossible, see bug 755620)
1282 1 file changed, 1 insertion(+), 1 deletion(-)
1284 commit 5fcc0b49e5988bfb6893bd56dd25a6257cd9720d
1285 Author: Garrett Regier <garrett.regier@riftio.com>
1286 Date: Tue Sep 22 14:57:13 2015 -0700
1288 Bump g-i dependency to latest stable
1290 This is required for throwing exceptions in closures.
1294 2 files changed, 2 insertions(+), 2 deletions(-)
1296 commit 0acbf6ad543a928ce75fc6d6839d3e6aa2e9a3d3
1297 Author: Garrett Regier <garrett.regier@riftio.com>
1298 Date: Tue Jun 9 07:11:51 2015 -0700
1300 Avoid calling g_slist_length() during invoke
1302 We already know the number of Python args.
1304 gi/pygi-invoke.c | 3 +--
1305 1 file changed, 1 insertion(+), 2 deletions(-)
1307 commit 216e94cff0bbe5436efe423b197c9cfc4a00a02d
1308 Author: Garrett Regier <garrett.regier@riftio.com>
1309 Date: Wed Jun 3 08:14:08 2015 -0700
1311 Simplify closure_convert_arguments()
1313 This chunk of work should really be done
1314 in convert_ffi_arguments().
1316 gi/pygi-closure.c | 65
1317 +++++++++++++++++++++++++------------------------------
1318 1 file changed, 29 insertions(+), 36 deletions(-)
1320 commit 7f7d0c52c9b364ba0ec92c9415298c26b103a077
1321 Author: Garrett Regier <garrett.regier@riftio.com>
1322 Date: Wed Jun 3 08:09:31 2015 -0700
1324 Remove a level of indentation in convert_ffi_arguments()
1326 gi/pygi-closure.c | 138
1327 ++++++++++++++++++++++++++----------------------------
1328 1 file changed, 67 insertions(+), 71 deletions(-)
1330 commit 3066f3a88103f02c7e22db22efbeb501f4e30d32
1331 Author: Garrett Regier <garrett.regier@riftio.com>
1332 Date: Wed Jun 3 07:50:37 2015 -0700
1334 Prevent passing the user data multiple times to callbacks
1336 This can happen when a callback has multiple gpointers.
1337 Also, store the closure index as it is hopefully more reliable
1340 https://bugzilla.gnome.org/show_bug.cgi?id=750347
1342 gi/pygi-cache.c | 24 ++++++++++++++++++++++++
1343 gi/pygi-cache.h | 3 +++
1344 gi/pygi-closure.c | 8 ++------
1345 3 files changed, 29 insertions(+), 6 deletions(-)
1347 commit 40bba555c835cf53d6aa2645329631e6abe57e6c
1348 Author: Garrett Regier <garrett.regier@riftio.com>
1349 Date: Wed Jun 3 07:06:40 2015 -0700
1351 Support throwing exceptions in closures
1353 This allows exceptions raised in vfunc implemntations
1354 and callbacks to be turned into GErrors.
1356 NOTE: this requires matchs in
1357 https://bugzilla.gnome.org/show_bug.cgi?id=729543
1358 thus we must bump the GI req once they are commited.
1360 https://bugzilla.gnome.org/show_bug.cgi?id=710671
1362 gi/pygi-closure.c | 113
1363 ++++++++++++++++++++++++++++++----------------------
1364 tests/test_error.py | 22 ++++++++++
1365 2 files changed, 88 insertions(+), 47 deletions(-)
1367 commit ea75a89a7d2bdabc7a29f7f20f792211765f2ac7
1368 Author: Christoph Reiter <creiter@src.gnome.org>
1369 Date: Sun Sep 6 05:35:03 2015 +0200
1371 Don't emit require_version warning if namespace was loaded previously
1372 using g_irepository_require
1374 Instead of tracking loaded dependencies ourself to hide warnings
1376 were loaded by a previous import just look if the namespace was loaded
1377 before the import. This (a) makes the implementation much simpler and
1378 (b) also takes into account namespaces loaded outside of
1380 using the libgirepository C API (as is common in applications using
1381 libpeas with Python plugins)
1383 This also introduces a new Python wrapper for
1384 g_irepository_is_registered()
1385 to allow checking the loading state of namespaces before imports.
1387 This fixes unnecessary require_version warnings in gedit,
1389 totem, rhythmbox etc.
1391 https://bugzilla.gnome.org/show_bug.cgi?id=754491
1394 +++++++++++-------------------------------
1395 gi/pygi-repository.c | 19 +++++++++
1396 tests/test_import_machinery.py | 9 ----
1397 tests/test_repository.py | 11 +++++
1398 4 files changed, 54 insertions(+), 78 deletions(-)
1400 commit 65726314de2833ce0364a3f3e23f344d122b342f
1401 Author: Garrett Regier <garrett.regier@riftio.com>
1402 Date: Tue Sep 22 00:17:00 2015 -0700
1404 configure.ac: post release version bump to 3.19.1
1406 configure.ac | 4 ++--
1407 1 file changed, 2 insertions(+), 2 deletions(-)
1409 commit ea5ecca4916569b1eca6296ff1a8905e42c3c38a
1410 Author: Garrett Regier <garrettregier@gmail.com>
1411 Date: Tue Sep 22 00:10:35 2015 -0700
1416 configure.ac | 4 ++--
1417 2 files changed, 4 insertions(+), 2 deletions(-)
1419 commit e2b8ba0584d1a3273dfa2fcb23616d1dc68fdb8e
1420 Author: Simon Feltman <sfeltman@src.gnome.org>
1421 Date: Wed Aug 19 21:04:37 2015 -0700
1423 configure.ac: post-release version bump to 3.17.91
1426 1 file changed, 1 insertion(+), 1 deletion(-)
1428 commit 6392b2727e7ed391683bebbf69fbc8b474e99a5f
1429 Author: Simon Feltman <sfeltman@src.gnome.org>
1430 Date: Wed Aug 19 21:02:44 2015 -0700
1434 NEWS | 14 ++++++++++++++
1435 1 file changed, 14 insertions(+)
1437 commit 1da98892cf505b35ce0280db22e1e8ba31c095e0
1438 Author: Simon Feltman <sfeltman@src.gnome.org>
1439 Date: Wed Aug 19 20:57:37 2015 -0700
1441 configure.ac: pre-release version bump to 3.17.90
1444 1 file changed, 1 insertion(+), 1 deletion(-)
1446 commit 79d23e9accd331d954007dcae6b6b7fa2837cfa7
1447 Author: Christoph Reiter <reiter.christoph@gmail.com>
1448 Date: Wed Feb 18 19:30:30 2015 +0100
1450 Allow passing unicode lists to GStrv properties on Python 2
1452 https://bugzilla.gnome.org/show_bug.cgi?id=744745
1454 gi/pygi-value.c | 41 ++++++++++++++++++++++++++++++++---------
1455 tests/test_properties.py | 8 +++++++-
1456 2 files changed, 39 insertions(+), 10 deletions(-)
1458 commit 8aa3d5935b4541be6e76e8792e58bb301fa4f7d1
1459 Author: Rui Matos <tiagomatos@gmail.com>
1460 Date: Thu May 21 17:53:17 2015 +0200
1462 Avoid a silent long to int truncation
1464 If the python object contains a value bigger than MAXUINT we'd
1465 silently truncate it when assigning to 'val' and the if condition
1466 would always be true.
1468 This was caught by a coverity scan.
1470 https://bugzilla.gnome.org/show_bug.cgi?id=749698
1472 gi/pygi-value.c | 4 ++--
1473 1 file changed, 2 insertions(+), 2 deletions(-)
1475 commit 5af6c722e5b7db90a3ca0832c46efe0c9142a0d1
1476 Author: Christoph Reiter <creiter@src.gnome.org>
1477 Date: Sun Jul 5 11:58:50 2015 +0200
1479 tests: add a test for test_glist_gtype_container_in()
1481 https://bugzilla.gnome.org/show_bug.cgi?id=749696
1483 tests/test_everything.py | 6 ++++++
1484 1 file changed, 6 insertions(+)
1486 commit f69ce9f5f6cd81b057ed0006d1fe7f71fa294943
1487 Author: Mathieu Bridon <bochecha@daitauha.fr>
1488 Date: Sun Jul 5 11:07:00 2015 +0200
1490 Handle gtype marshalling
1492 https://bugzilla.gnome.org/show_bug.cgi?id=749696
1494 gi/pygi-argument.c | 5 +++++
1495 1 file changed, 5 insertions(+)
1497 commit 0ee1f562c975df51ce93578d35678ef1e915e202
1498 Author: Daniel Hahler <git@thequod.de>
1499 Date: Wed Mar 25 14:37:29 2015 +0100
1501 pygi-foreign-cairo.c: fix include for py3cairo.h
1503 The pkg-config info includes the "pycairo" folder already.
1505 https://bugzilla.gnome.org/show_bug.cgi?id=746742
1507 gi/pygi-foreign-cairo.c | 2 +-
1508 1 file changed, 1 insertion(+), 1 deletion(-)
1510 commit fea15145c2a3e6aac73350241a982a095e16c7d8
1511 Author: Christoph Reiter <creiter@src.gnome.org>
1512 Date: Thu Jun 18 13:36:52 2015 +0200
1514 tests: Silence various error messages and warnings.
1516 This silences glib warnings which are due to testing
1517 of error handling, deprecation warnings which we ignore
1518 since we want to continue testing deprecated code and
1519 other error output of code which is supposed to fail.
1521 To reduce code duplication and make things easier
1522 this introduces a shared helper module containing
1523 various context managers and decorators which allow
1524 testing and silencing of warnings and errors.
1526 https://bugzilla.gnome.org/show_bug.cgi?id=751156
1528 tests/Makefile.am | 1 +
1529 tests/compat_test_pygtk.py | 27 +++------
1530 tests/compathelper.py | 8 +++
1531 tests/helper.py | 132
1532 ++++++++++++++++++++++++++++++++++++++++++++
1533 tests/test_everything.py | 28 ++++++----
1534 tests/test_gi.py | 6 +-
1535 tests/test_gio.py | 3 +
1536 tests/test_iochannel.py | 20 +++----
1537 tests/test_overrides_gdk.py | 18 +++---
1538 tests/test_overrides_gtk.py | 20 +++----
1539 tests/test_properties.py | 21 +++----
1540 tests/test_repository.py | 13 ++---
1541 tests/test_signal.py | 24 +++-----
1542 tests/test_source.py | 8 +--
1543 14 files changed, 231 insertions(+), 98 deletions(-)
1545 commit 619777730891b42b98da556c3aa9ca5a1b3f617b
1546 Author: Christoph Reiter <creiter@src.gnome.org>
1547 Date: Thu Jun 18 13:30:03 2015 +0200
1549 Fix gcc warning regarding uninitialized use of variable
1551 https://bugzilla.gnome.org/show_bug.cgi?id=751156
1553 gi/pygobject.c | 4 +++-
1554 1 file changed, 3 insertions(+), 1 deletion(-)
1556 commit 1ed8200abefc3e51e4d2083b1372695aaf4163fb
1557 Author: Christoph Reiter <creiter@src.gnome.org>
1558 Date: Sun Jun 21 23:55:02 2015 +0200
1560 Fix test regression when xdg-user-dirs is not installed.
1562 GLib.get_user_special_dir is only guaranteed to always return
1563 a path in case GLib.UserDirectory.DIRECTORY_DESKTOP is passed.
1564 This was unintentionally changed to DIRECTORY_MUSIC
1565 in 9948a67e677c8a351f2de1708.
1567 https://bugzilla.gnome.org/show_bug.cgi?id=751299
1569 tests/test_glib.py | 2 +-
1570 1 file changed, 1 insertion(+), 1 deletion(-)
1572 commit 79cf1f70d247b5a4d33d1e60107e47903ca76055
1573 Author: Garrett Regier <garrett.regier@riftio.com>
1574 Date: Mon May 18 02:32:18 2015 -0700
1576 Explicitly check if an override exists instead of ImportError
1578 If an override depended on another module and it did not
1579 exist then the raised ImportError was consumed and assumed
1580 to mean that the override did not exist. This makes it
1581 difficult to diagnose issues with overrides.
1583 This uses pkgutil.get_loader() as it is the easier way to
1584 determine if a module exists in both Python 2 and 3
1585 and avoid deprecated functions.
1587 https://bugzilla.gnome.org/show_bug.cgi?id=749532
1589 gi/overrides/__init__.py | 17 +++++++++++++++--
1590 1 file changed, 15 insertions(+), 2 deletions(-)
1592 commit d2faa619f5e204b75315a42fec99dd48fe7fb31c
1593 Author: Simon Feltman <sfeltman@src.gnome.org>
1594 Date: Mon Jun 15 01:24:16 2015 -0700
1596 configure.ac: post-release version bump to 3.17.2
1599 1 file changed, 1 insertion(+), 1 deletion(-)
1601 commit 6fa54fe868d0e2a9a9d4dc300a61cbfa079681a8
1602 Author: Simon Feltman <sfeltman@src.gnome.org>
1603 Date: Mon Jun 15 01:20:47 2015 -0700
1607 NEWS | 16 ++++++++++++++++
1608 1 file changed, 16 insertions(+)
1610 commit 2048dc8d1d708abce7037f96483c6d776567d6b5
1611 Author: Christoph Reiter <creiter@src.gnome.org>
1612 Date: Mon Mar 2 20:58:04 2015 +0100
1614 Add gi.PyGIWarning and use it instead of PyGIDeprecationWarning in
1615 case the version to import wasn't specified.
1617 This makes the warning visible by default.
1618 See commit ef3bff4e570363e4f383d4cdae9cecd4073b03d8 for more info
1621 https://bugzilla.gnome.org/show_bug.cgi?id=727379
1623 gi/__init__.py | 2 ++
1624 gi/gimodule.c | 6 ++++++
1625 gi/importer.py | 3 ++-
1626 tests/test_gi.py | 15 +++++++++++++++
1627 4 files changed, 25 insertions(+), 1 deletion(-)
1629 commit 7a3bb6971f22accd25e987496d377e1879f6e1ba
1630 Author: Christoph Reiter <creiter@src.gnome.org>
1631 Date: Sat May 30 17:46:54 2015 +0200
1633 Remove Gdk.Rectangle alias with newer gobject-introspection and GTK+
1635 The new GdkRectangle in the typelib confuses the marshalling code
1636 as PyGObject uses the Python class from the overrides for marshalling
1637 to Python but uses the gtype from the typelib to do
1638 type checking when marshalling from Python.
1640 https://bugzilla.gnome.org/show_bug.cgi?id=749625
1642 gi/overrides/Gdk.py | 12 ++++++++----
1643 1 file changed, 8 insertions(+), 4 deletions(-)
1645 commit 64be2069d39b4d2767eb1efd47bb3f268ad7fb0d
1646 Author: Christoph Reiter <creiter@src.gnome.org>
1647 Date: Thu Apr 23 22:03:54 2015 +0200
1649 overrides: Provide _overrides_module attribute to make gst-python
1650 overrides work again.
1652 gi_gst_fraction_from_value () in gst-python's gstmodule.c tries
1654 the Gst.Fraction class through
1655 gi.repository.Gst._overrides_module.Fraction
1656 and failed since _overrides_module was removed in revision
1659 This adds it back pointing to the proxy itself which also contains
1662 https://bugzilla.gnome.org/show_bug.cgi?id=736678#c6
1664 gi/overrides/__init__.py | 7 +++++++
1665 1 file changed, 7 insertions(+)
1667 commit 6772e990ad889af817b9224e88ea9d79a04caef7
1668 Author: Simon Feltman <sfeltman@src.gnome.org>
1669 Date: Mon Apr 13 19:33:40 2015 -0700
1671 overrides: Conditionalize touch override support in Gdk
1673 Conditionalize Gdk.EventTouch union discrimination. This fixes the
1674 Gdk overrides to continue working with versions of Gdk less than 3.4.
1676 https://bugzilla.gnome.org/show_bug.cgi?id=747717
1678 gi/overrides/Gdk.py | 18 +++++++++++++-----
1679 1 file changed, 13 insertions(+), 5 deletions(-)
1681 commit 26c015b177ddcc0f35c97bcd7a4f2114fb2e8e2a
1682 Author: Christoph Reiter <reiter.christoph@gmail.com>
1683 Date: Sun Mar 29 23:23:09 2015 +0200
1685 Field setters: Remove unneeded type/range checks and resulting
1688 These checks are performed in the actual marshalling code
1689 paths as well, no need to do them twice.
1691 Also move _pygi_g_registered_type_info_check_object() to pygi-info.c
1692 as it's the only place where it is still used.
1694 https://bugzilla.gnome.org/show_bug.cgi?id=746985
1696 gi/pygi-argument.c | 626
1697 ---------------------------------------------------
1698 gi/pygi-argument.h | 12 -
1699 gi/pygi-info.c | 90 ++++++--
1700 tests/test_fields.py | 14 +-
1701 4 files changed, 83 insertions(+), 659 deletions(-)
1703 commit dbb0b199268ece884e19eb99093fc26bd7bf92af
1704 Author: Christoph Reiter <reiter.christoph@gmail.com>
1705 Date: Sun Mar 29 21:51:42 2015 +0200
1707 pygi-argument: Remove unused imports/includes
1709 https://bugzilla.gnome.org/show_bug.cgi?id=746985
1712 gi/pygi-argument.c | 7 -------
1713 gi/pygi-argument.h | 2 --
1714 3 files changed, 10 deletions(-)
1716 commit 7dee04efff418677eead36ee9ed497cc3eadf8f7
1717 Author: Christoph Reiter <reiter.christoph@gmail.com>
1718 Date: Sun Mar 29 21:47:47 2015 +0200
1720 Improve test coverage for field setters/getters.
1722 Field setters are the sole users of the GIArgument value validation
1723 code and the error handling is hardly tested. This tries to improve
1724 the coverage for the field types available in
1725 GLib/Regress/GIMarshallingTests.
1727 https://bugzilla.gnome.org/show_bug.cgi?id=746985
1729 tests/Makefile.am | 1 +
1730 tests/test_fields.py | 186
1731 +++++++++++++++++++++++++++++++++++++++++++++++++++
1732 2 files changed, 187 insertions(+)
1734 commit b0170220fabbf878a36e0c14b0a3024973b7355f
1735 Author: Simon Feltman <sfeltman@src.gnome.org>
1736 Date: Sun Mar 29 16:35:47 2015 -0700
1738 configure.ac: post release version bump to 3.17.1
1740 configure.ac | 4 ++--
1741 1 file changed, 2 insertions(+), 2 deletions(-)
1743 commit 46f463a3a3ff45eb8eba67fbb59ecc861b1e1d73
1744 Author: Simon Feltman <sfeltman@src.gnome.org>
1745 Date: Tue Mar 24 01:25:25 2015 -0700
1750 configure.ac | 4 ++--
1751 2 files changed, 4 insertions(+), 2 deletions(-)
1753 commit bf802599f5d0d13cc4b69f1716400561a16a2443
1754 Author: Simon Feltman <sfeltman@src.gnome.org>
1755 Date: Thu Mar 5 01:09:12 2015 -0800
1757 configure.ac: post release version bump to 3.15.92
1760 1 file changed, 1 insertion(+), 1 deletion(-)
1762 commit a86f309066f007f9787a6d1ac679dc041740d8dc
1763 Author: Simon Feltman <sfeltman@src.gnome.org>
1764 Date: Thu Mar 5 01:08:03 2015 -0800
1768 NEWS | 14 ++++++++++++++
1770 2 files changed, 15 insertions(+), 1 deletion(-)
1772 commit 9948a67e677c8a351f2de17080d7a671882570f3
1773 Author: Christoph Reiter <reiter.christoph@gmail.com>
1774 Date: Tue Jan 27 17:47:49 2015 +0100
1776 tests: Don't use deprecated override attributes
1778 In case the test explicitly tests the deprecated attribute
1779 silence the resulting warnings.
1781 Instead of replacing GObject.PARAM_READWRITE with
1782 GObject.ParamFlags.READWRITE use (READABLE | WRITABLE)
1783 to not depend on a newer glib version.
1785 https://bugzilla.gnome.org/show_bug.cgi?id=743514
1787 tests/test_everything.py | 168
1788 ++++++++++++++++++++++----------------------
1789 tests/test_gi.py | 66 ++++++++---------
1790 tests/test_glib.py | 33 +++++----
1791 tests/test_gobject.py | 21 +++---
1792 tests/test_internal_api.py | 4 +-
1793 tests/test_iochannel.py | 11 +--
1794 tests/test_overrides_gtk.py | 20 +++---
1795 tests/test_properties.py | 100 ++++++++++++++------------
1796 tests/test_signal.py | 111 ++++++++++++++---------------
1797 tests/test_source.py | 8 +--
1798 tests/test_subprocess.py | 7 +-
1799 tests/testmodule.py | 3 +-
1800 12 files changed, 292 insertions(+), 260 deletions(-)
1802 commit 9285b23cd1b253baaf06ddd49e2f000716bbf7f3
1803 Author: Christoph Reiter <reiter.christoph@gmail.com>
1804 Date: Tue Jan 27 16:36:02 2015 +0100
1806 Add GLib.MINFLOAT etc. and mark GObject.G_MINFLOAT etc. deprecated.
1808 They are defined in glib, not gobject and not included in the gir;
1809 Similar constants like G_MAXINT64 are defined in GLib gir and marked
1810 deprecated in the GObject overrides already.
1812 https://bugzilla.gnome.org/show_bug.cgi?id=743514
1814 gi/overrides/GLib.py | 12 ++++++++++++
1815 gi/overrides/GObject.py | 4 +++-
1816 tests/test_overrides_glib.py | 7 +++++++
1817 3 files changed, 22 insertions(+), 1 deletion(-)
1819 commit f74acb38f1410982f3419acb134adf173600e497
1820 Author: Christoph Reiter <reiter.christoph@gmail.com>
1821 Date: Tue Jan 27 16:06:03 2015 +0100
1823 Emit PyGIDeprecationWarning when accessing deprecated override
1826 Adds a new helper function for overrides to mark a module level
1828 as deprecated. A warning will be emitted every time the attribute gets
1831 e.g. when marking GObject.STATUS_FOO as deprecated using
1833 STATUS_FOO = GLib.Status.FOO
1834 deprecated_attr("GObject", "STATUS_FOO", "GLib.Status.FOO")
1835 __all__.append("STATUS_FOO")
1837 accessing it will emit
1839 "GObject.STATUS_FOO is deprecated; use GLib.Status.FOO instead"
1841 https://bugzilla.gnome.org/show_bug.cgi?id=743514
1843 gi/overrides/GLib.py | 44 ++++++++++++++++-------
1844 gi/overrides/GObject.py | 90
1845 +++++++++++++++++++++++++-----------------------
1846 gi/overrides/__init__.py | 74 ++++++++++++++++++++++++++++++++++++++-
1847 tests/test_gi.py | 70 +++++++++++++++++++++++++++++++++++++
1848 4 files changed, 221 insertions(+), 57 deletions(-)
1850 commit a10df7d28c01d70ee33d8e4e9ddaa23f1990ca60
1851 Author: Christoph Reiter <reiter.christoph@gmail.com>
1852 Date: Tue Jan 27 19:13:54 2015 +0100
1854 Add namespace and container name to callable cache and include them
1855 in all warnings/error messages.
1857 https://bugzilla.gnome.org/show_bug.cgi?id=743468
1859 gi/pygi-cache.c | 39 ++++++++++++++++++++++++++++++++++-----
1860 gi/pygi-cache.h | 5 +++++
1861 gi/pygi-closure.c | 4 +++-
1862 gi/pygi-invoke.c | 41 +++++++++++++++++++++++++++++------------
1863 tests/test_everything.py | 2 +-
1864 tests/test_gi.py | 28 ++++++++++++++++++----------
1865 6 files changed, 90 insertions(+), 29 deletions(-)
1867 commit 747fc3754c296ad5481d354bbf35521f886c5c61
1868 Author: Garrett Regier <garrettregier@gmail.com>
1869 Date: Sun Mar 1 03:30:46 2015 -0800
1871 tests: Add test for GIRepository.UnionInfo.get_size()
1873 https://bugzilla.gnome.org/show_bug.cgi?id=745362
1875 tests/test_repository.py | 1 +
1876 1 file changed, 1 insertion(+)
1878 commit 2dcce92b4fab95403b9bbedffa8a91453c947927
1879 Author: Garrett Regier <garrettregier@gmail.com>
1880 Date: Fri Jan 23 01:37:35 2015 -0800
1882 Avoid duping filenames when marshalling from Python to C
1884 https://bugzilla.gnome.org/show_bug.cgi?id=744719
1886 gi/pygi-basictype.c | 12 ++++++------
1887 1 file changed, 6 insertions(+), 6 deletions(-)
1889 commit 26fe8dafb933fa76afd41e45b10a3163a7380c1e
1890 Author: Simon Feltman <sfeltman@src.gnome.org>
1891 Date: Fri Feb 20 22:06:24 2015 -0800
1893 configure.ac: post release version bump to 3.15.1
1896 1 file changed, 1 insertion(+), 1 deletion(-)
1898 commit e8aef305d273ce551da41e74a54c5d03de5a0c2a
1899 Author: Simon Feltman <sfeltman@src.gnome.org>
1900 Date: Fri Feb 20 22:04:43 2015 -0800
1904 NEWS | 10 ++++++++++
1905 1 file changed, 10 insertions(+)
1907 commit 5dc113283c0a721c4027026bb8de7243585f1289
1908 Author: Simon Feltman <sfeltman@src.gnome.org>
1909 Date: Fri Feb 20 21:59:10 2015 -0800
1911 Ignore deprecation warning for g_option_group_free()
1913 gi/pygoptiongroup.c | 5 ++++-
1914 1 file changed, 4 insertions(+), 1 deletion(-)
1916 commit d8961622ea748c42171bdb4703e70022035ec3cc
1917 Author: Simon Feltman <sfeltman@src.gnome.org>
1918 Date: Fri Feb 20 21:52:58 2015 -0800
1920 tests: Make get_all_dependendencies() test more robust
1922 Replace array comparison with checking if individual items are in
1924 This solves a problem where the returned array might be in a
1926 as well as future proofs the test in case more dependencies are added.
1928 tests/test_import_machinery.py | 8 +++++---
1929 1 file changed, 5 insertions(+), 3 deletions(-)
1931 commit b10ab49afb97655507e2d3b92f621387287a2928
1932 Author: Simon Feltman <sfeltman@src.gnome.org>
1933 Date: Fri Feb 20 20:16:35 2015 -0800
1935 tests: Fix PEP8 error with commented code in test
1937 tests/test_gi.py | 1 -
1938 1 file changed, 1 deletion(-)
1940 commit 60de632153a693fb2b0f2ce26208c6ff668bdf4d
1941 Author: Garrett Regier <garrett.regier@riftio.com>
1942 Date: Tue Jan 27 10:39:53 2015 -0800
1944 Avoid copying bytearrays from Python to C when transfer nothing
1946 https://bugzilla.gnome.org/show_bug.cgi?id=743278
1948 gi/pygi-array.c | 23 +++++++++++++++++++----
1949 tests/test_gi.py | 14 +++++++++++++-
1950 2 files changed, 32 insertions(+), 5 deletions(-)
1952 commit a4160892dd28ab1d656cef4d4059f3b3f95caf4a
1953 Author: Garrett Regier <garrett.regier@riftio.com>
1954 Date: Mon Jan 19 14:53:53 2015 -0800
1956 Allows passing arguments to opaque Boxed types
1958 https://bugzilla.gnome.org/show_bug.cgi?id=743214
1960 gi/pygi-info.c | 7 +++++++
1961 gi/types.py | 10 +++++++++-
1962 tests/test_everything.py | 9 +++++++++
1963 tests/test_glib.py | 6 +++---
1964 4 files changed, 28 insertions(+), 4 deletions(-)
1966 commit ef3bff4e570363e4f383d4cdae9cecd4073b03d8
1967 Author: Christoph Reiter <reiter.christoph@gmail.com>
1968 Date: Sat Jan 24 20:01:00 2015 +0100
1970 Emit ImportWarning when gi.require_version() is not used
1972 gi tries to import the latest version of typelibs which can cause
1973 existing code to break when a newer typelib is released.
1974 Emit an ImportWarning when gi.require_version() is not used to give
1975 developers this awareness so they can future proof their code.
1977 https://bugzilla.gnome.org/show_bug.cgi?id=727379
1980 +++++++++++++++++++++++++++++++++++++++++-
1981 gi/pygi-repository.c | 35 +++++++++++++++
1982 tests/compat_test_pygtk.py | 7 ++-
1983 tests/test_atoms.py | 6 ++-
1984 tests/test_import_machinery.py | 22 ++++++++++
1985 tests/test_overrides_gtk.py | 7 ++-
1986 tests/test_overrides_pango.py | 5 ++-
1987 tests/test_properties.py | 5 ++-
1988 tests/test_repository.py | 10 +++++
1989 9 files changed, 187 insertions(+), 9 deletions(-)
1991 commit 149c31beced944c72fba6ca6e096c81c1100ea2b
1992 Author: Christoph Reiter <reiter.christoph@gmail.com>
1993 Date: Tue Dec 2 15:38:57 2014 +0100
1995 Refactor overrides import/modules
1997 Removes Registry and DynamicModule in favor of a simple module
1999 contains only overrides and falls back to the introspection module.
2000 Moves all the overrides logic into gi.overrides; Speeds up module
2003 https://bugzilla.gnome.org/show_bug.cgi?id=736678
2005 gi/importer.py | 11 ++--
2006 gi/module.py | 68 ---------------------
2007 gi/overrides/__init__.py | 131
2008 ++++++++++++++++++++++++++++++-----------
2009 tests/test_gi.py | 4 --
2010 tests/test_import_machinery.py | 32 +++++++---
2011 5 files changed, 126 insertions(+), 120 deletions(-)
2013 commit 4d0ab13a8461f781986accc637fada3909cfb91a
2014 Author: Simon Feltman <sfeltman@src.gnome.org>
2015 Date: Thu Aug 21 15:11:39 2014 -0700
2017 Replace statically bound GLib.Variant.new_tuple() with GI
2019 Remove the static implementation of _wrap_pyg_variant_new_tuple with
2020 usage of the dynamic version coming from GI. Array marshalling has
2021 drastically improved in recent years making the dynamic version usable
2022 with a small compatibility shim for the arguments.
2024 https://bugzilla.gnome.org/show_bug.cgi?id=735199
2026 gi/gimodule.c | 39 ---------------------------------------
2027 gi/overrides/GLib.py | 12 +++++-------
2028 2 files changed, 5 insertions(+), 46 deletions(-)
2030 commit 17ec0d39069b7a4cc19691ea1284f821caf84d24
2031 Author: Simon Feltman <sfeltman@src.gnome.org>
2032 Date: Wed Sep 10 13:30:48 2014 -0700
2034 overrides: Add Gdk.EventTouch union discrimination
2036 Add EventTouch to get/setattr pass-through to support BEGIN,
2038 and CANCEL touch event types. Ensure Gdk.Event methods get_state(),
2039 get_axis(), get_coords(), and get_root_coords() are patched onto
2042 https://bugzilla.gnome.org/show_bug.cgi?id=736380
2044 gi/overrides/Gdk.py | 5 +++++
2045 tests/test_overrides_gdk.py | 12 ++++++++++++
2046 2 files changed, 17 insertions(+)
2048 commit 16408a81713157cdf1e3b6bd74bd53e816e9dfda
2049 Author: Simon Feltman <sfeltman@src.gnome.org>
2050 Date: Sat Jan 3 17:20:14 2015 -0800
2052 tests: Update pixbuf loader test to not raise exception when closing
2055 https://git.gnome.org/browse/gdk-pixbuf/commit/?id=447bd32650af
2056 changed the close() method to raise if the a loader is prematurely
2058 Update the test to write a 1x1 PNG stream to ensure close() will
2061 tests/compat_test_pygtk.py | 9 +++++++++
2062 1 file changed, 9 insertions(+)
2064 commit fd3935541ab4baddb504e000ec659b80923afa13
2065 Author: Murray Cumming <murrayc@murrayc.com>
2066 Date: Tue Dec 2 19:55:51 2014 +0100
2068 PyGObjectFlags: Remove a trailing comma on the enum.
2070 Because this produces a g++ pedantic warning.
2072 gi/pygobject.h | 2 +-
2073 1 file changed, 1 insertion(+), 1 deletion(-)
2075 commit 3b70f5bc8e59e49795fcaa7b285aeff0c4565a04
2076 Author: Simon Feltman <sfeltman@src.gnome.org>
2077 Date: Mon Oct 27 20:19:23 2014 -0700
2079 Remove redefinitions of function and vfunc cache typedefs
2081 https://bugzilla.gnome.org/show_bug.cgi?id=737874
2083 gi/pygi-cache.h | 8 ++++----
2084 1 file changed, 4 insertions(+), 4 deletions(-)
2086 commit cec9c2b253bdbc1e6493630c533acf6bb4509114
2087 Author: Simon Feltman <sfeltman@src.gnome.org>
2088 Date: Mon Sep 22 13:26:24 2014 -0700
2090 configure.ac: post release version bump to 3.15.0
2093 1 file changed, 1 insertion(+), 1 deletion(-)
2095 commit f20df385f480b65a8128986ce3df4022b324ade0
2096 Author: Simon Feltman <sfeltman@src.gnome.org>
2097 Date: Mon Sep 22 12:38:35 2014 -0700
2102 1 file changed, 3 insertions(+)
2104 commit 309d4100a08867d18420586c3b1f8709c360250f
2105 Author: Simon Feltman <sfeltman@src.gnome.org>
2106 Date: Mon Sep 22 12:24:32 2014 -0700
2108 configure.ac: pre release version bump to 3.14.0
2110 configure.ac | 4 ++--
2111 1 file changed, 2 insertions(+), 2 deletions(-)
2113 commit 4b7c985aa57f8026da96d174454b308858ebd1cc
2114 Author: Simon Feltman <sfeltman@src.gnome.org>
2115 Date: Mon Sep 15 15:46:04 2014 -0700
2120 1 file changed, 7 insertions(+)
2122 commit 79bad703a089a4b0c31fcdb143b889667f5fa197
2123 Author: Simon Feltman <sfeltman@src.gnome.org>
2124 Date: Fri Sep 12 17:10:04 2014 -0700
2126 tests: Add test for Gio.Application.add_main_option()
2128 tests/test_gio.py | 29 +++++++++++++++++++++++++++++
2129 1 file changed, 29 insertions(+)
2131 commit a2f98a9ba0b0dda0d3cf59651327e5c93d5479d6
2132 Author: Simon Feltman <sfeltman@src.gnome.org>
2133 Date: Thu Sep 11 19:32:53 2014 -0700
2135 Split test_everything.TestEverything.test_string() into multiple tests
2137 https://bugzilla.gnome.org/show_bug.cgi?id=735193
2139 tests/test_everything.py | 25 +++++++++++++++++++------
2140 1 file changed, 19 insertions(+), 6 deletions(-)
2142 commit 6674701b6de02353738b9dc04ab88de23996704e
2143 Author: Simon Feltman <sfeltman@src.gnome.org>
2144 Date: Thu Sep 11 19:08:53 2014 -0700
2146 tests: Split array tests up
2148 Split test_everything.TestEverything.test_array(),
2149 test_array_fixed_size(),
2150 and test_ptrarray() into functions of a finer granularity. This
2152 easier diagnosis of problems and leaks when they occur.
2154 https://bugzilla.gnome.org/show_bug.cgi?id=735193
2156 tests/test_everything.py | 37 ++++++++++++++++++++++++++++++++-----
2157 1 file changed, 32 insertions(+), 5 deletions(-)
2159 commit d1bae18ba0514864a37bf5d182605e2100c28d7e
2160 Author: Simon Feltman <sfeltman@src.gnome.org>
2161 Date: Thu Sep 11 16:17:13 2014 -0700
2163 tests: Split test_strv() into multiple tests
2165 https://bugzilla.gnome.org/show_bug.cgi?id=735193
2167 tests/test_everything.py | 10 +++++++++-
2168 1 file changed, 9 insertions(+), 1 deletion(-)
2170 commit 6181f724bc2c6ea30194c961cb15b2c543a48f95
2171 Author: Simon Feltman <sfeltman@src.gnome.org>
2172 Date: Wed Sep 10 19:06:35 2014 -0700
2174 Fix invalid read error in argument cleanup code
2176 Always set initial length argument index for arrays to -1. Ensure
2178 attempt retrieving Python cleanup arguments until we know it is valid.
2179 This was causing an invalid read in test_gi.TestArray.test_array_out()
2181 gi/pygi-array.c | 1 +
2182 gi/pygi-marshal-cleanup.c | 13 ++++++++-----
2183 2 files changed, 9 insertions(+), 5 deletions(-)
2185 commit 972e944ad4b2aac03c61633b8c277e35395c114c
2186 Author: Simon Feltman <sfeltman@src.gnome.org>
2187 Date: Wed Sep 10 18:55:45 2014 -0700
2189 tests: Increase num-callers for valgrind runs
2191 Additionally split valgrind check variations over multiple lines
2194 tests/Makefile.am | 23 ++++++++++++++++++++---
2195 1 file changed, 20 insertions(+), 3 deletions(-)
2197 commit d70b300c7415dd7b20ff88b09fe835690da19831
2198 Author: Simon Feltman <sfeltman@src.gnome.org>
2199 Date: Sat Sep 6 23:58:25 2014 -0700
2201 Fix memory management problems with struct arguments to signals
2203 Replicate struct marshaling logic for determining if struct arguments
2204 to signals should be passed by reference to callbacks.
2205 Maintain a list of these structs and apply an in-place copy of
2207 pointer if the struct wrapper is held longer than the duration of the
2208 Python callback. This allows for both mutation of struct arguments
2210 callbacks as well as memory safety incase a callbacks holds onto
2213 https://bugzilla.gnome.org/show_bug.cgi?id=736175
2215 gi/pygi-boxed.c | 20 ++++++++++++++++++++
2216 gi/pygi-boxed.h | 2 ++
2217 gi/pygi-signal-closure.c | 43
2218 +++++++++++++++++++++++++++++++++++++------
2219 tests/test_overrides_gtk.py | 1 -
2220 tests/test_signal.py | 27 +++++++++++++++++++++++++++
2221 5 files changed, 86 insertions(+), 7 deletions(-)
2223 commit 09161ff690ad37c94668d5d65191f4d84829d41f
2224 Author: Simon Feltman <sfeltman@src.gnome.org>
2225 Date: Sun Sep 7 15:53:35 2014 -0700
2227 Limit foreign struct checks to GI_INFO_TYPE_STRUCT
2229 Add struct type check before calling g_struct_info_is_foreign().
2231 https://bugzilla.gnome.org/show_bug.cgi?id=736175
2233 gi/pygi-argument.c | 11 ++++++++---
2234 gi/pygi-struct-marshal.c | 7 +++++--
2235 2 files changed, 13 insertions(+), 5 deletions(-)
2237 commit 4ebb1f5a4750712bd919a31103ed8c8d6af483b3
2238 Author: Simon Feltman <sfeltman@src.gnome.org>
2239 Date: Sat Sep 6 15:16:06 2014 -0700
2241 tests: Add failing regression test for Gtk.TextBuffer.insert-text
2244 https://bugzilla.gnome.org/show_bug.cgi?id=736175
2246 tests/test_overrides_gtk.py | 19 +++++++++++++++++++
2247 1 file changed, 19 insertions(+)
2249 commit 2f355dc4e9724f25c200d30db1c8fbc4695f9ab7
2250 Author: Simon Feltman <sfeltman@src.gnome.org>
2251 Date: Mon Sep 1 17:36:46 2014 -0700
2253 configure.ac: post release version bump to 3.13.92
2256 1 file changed, 1 insertion(+), 1 deletion(-)
2258 commit 68d34721a21bfac1a43252bd92612c2460ea60dd
2259 Author: Simon Feltman <sfeltman@src.gnome.org>
2260 Date: Mon Sep 1 17:31:39 2014 -0700
2264 NEWS | 15 +++++++++++++++
2265 1 file changed, 15 insertions(+)
2267 commit 8c6cf22d74075b7169512b9e7773a511abb9b759
2268 Author: Simon Feltman <sfeltman@src.gnome.org>
2269 Date: Mon Sep 1 16:48:15 2014 -0700
2271 docs: Skip "Constructors" header for anonymous structs
2273 Structs which don't have a size or constructor should not procuce
2275 string. The trailing "::" was causing a problem with sphinx.
2277 gi/docstring.py | 8 ++++++--
2278 tests/test_docstring.py | 3 ++-
2279 2 files changed, 8 insertions(+), 3 deletions(-)
2281 commit c1ea60be30ebf11c2e5415180305e4ac3c573f57
2282 Author: Simon Feltman <sfeltman@src.gnome.org>
2283 Date: Mon Sep 1 15:21:04 2014 -0700
2285 docs: Fix error when using may_return_null()
2287 Fix error with an untested code path opened up by commit 1f78dc0ace.
2289 gi/docstring.py | 3 ++-
2290 tests/test_docstring.py | 4 ++++
2291 2 files changed, 6 insertions(+), 1 deletion(-)
2293 commit 1f78dc0ace5282def9f1f700bfe4523de07e7549
2294 Author: Simon Feltman <sfeltman@src.gnome.org>
2295 Date: Fri Aug 29 16:49:14 2014 -0700
2297 docs: Fix function doc string generator return types
2299 Change skip_return() access into a function call. This was causing
2300 return type doc strings to always be skipped.
2302 gi/docstring.py | 2 +-
2303 tests/test_docstring.py | 8 ++++++--
2304 2 files changed, 7 insertions(+), 3 deletions(-)
2306 commit 28d0337f0e3d4b0e9c4350ce5d6cf0cb68da843f
2307 Author: Simon Feltman <sfeltman@src.gnome.org>
2308 Date: Fri Aug 29 14:18:28 2014 -0700
2310 Special case signal output arguments which are structs as
2313 Add a special case which avoids copying of struct arguments marked
2315 to signals. Since we don't currently support output arguments,
2317 come to rely on a pass-by-reference bug which was fixed and caused
2319 regress (bug 722899). Add unittest which is currently failing due
2321 of issues with emit() not supporting type annotations or output
2325 https://bugzilla.gnome.org/show_bug.cgi?id=735486
2327 gi/pygi-signal-closure.c | 41
2328 +++++++++++++++++++++++++++++++++++------
2329 tests/test_overrides_gtk.py | 24 ++++++++++++++++++++++++
2330 2 files changed, 59 insertions(+), 6 deletions(-)
2332 commit 16f8f687eae0caa1e4059fd62bd1f9d4c7f655f7
2333 Author: Simon Feltman <sfeltman@src.gnome.org>
2334 Date: Wed Aug 27 23:55:06 2014 -0700
2336 Ignore closure callbacks when Python is not initialized
2338 Add an immediate return in ffi closures if Python is not initialized.
2339 This fixes rare events when which lead to a segfault when a process
2342 https://bugzilla.gnome.org/show_bug.cgi?id=722562
2344 gi/pygi-closure.c | 7 +++++++
2345 1 file changed, 7 insertions(+)
2347 commit 27a14679dce33f64bbb5d77677eba83849f168ff
2348 Author: Christoph Reiter <reiter.christoph@gmail.com>
2349 Date: Fri Aug 22 21:51:31 2014 -0700
2351 Change boxed init with args to warn instead of raise
2353 Replace raising a TypeError in gi.types.Boxed() with a warning.
2354 Even though passing arguments or keywords to the parent class is
2355 incorrect here, raising an exception was causing a bit of fallout
2356 in some apps (Gramps).
2358 https://bugzilla.gnome.org/show_bug.cgi?id=727810
2360 gi/pygi-boxed.c | 5 ++++-
2361 tests/test_gi.py | 13 +++++++++++--
2362 2 files changed, 15 insertions(+), 3 deletions(-)
2364 commit 6008748bd7ecc6e5c933e6902c77d8485b905a6f
2365 Author: Simon Feltman <sfeltman@src.gnome.org>
2366 Date: Fri Aug 22 02:16:10 2014 -0700
2368 tests: Add test for GLib.spawn_async_with_pipes()
2370 https://bugzilla.gnome.org/show_bug.cgi?id=735213
2372 tests/test_signal.py | 2 +-
2373 tests/test_subprocess.py | 17 +++++++++++++++++
2374 2 files changed, 18 insertions(+), 1 deletion(-)
2376 commit 983276fb1cbc261d062ef93ba2266d08a5a6f423
2377 Author: Simon Feltman <sfeltman@src.gnome.org>
2378 Date: Thu Aug 21 17:16:31 2014 -0700
2380 Revert "Replace statically bound GLib.Variant.new_tuple() with GI"
2382 This was accidentally pushed.
2383 Revert commit 35c6540c42a01e1155f44533cc09e6c9f94b6613.
2385 gi/gimodule.c | 39 +++++++++++++++++++++++++++++++++++++++
2386 gi/overrides/GLib.py | 12 +++++++-----
2387 2 files changed, 46 insertions(+), 5 deletions(-)
2389 commit b7a4e68a224ab66f67e45667023f74dd743e6177
2390 Author: Christoph Reiter <reiter.christoph@gmail.com>
2391 Date: Fri Aug 22 01:04:40 2014 +0200
2393 Fix crash in GList/GSList marshaling error handling path.
2395 In case PySequence_GetItem() failed, the retured NULL was passed
2398 https://bugzilla.gnome.org/show_bug.cgi?id=735201
2400 gi/pygi-list.c | 4 ++--
2401 tests/test_gi.py | 16 ++++++++++++++++
2402 2 files changed, 18 insertions(+), 2 deletions(-)
2404 commit 35c6540c42a01e1155f44533cc09e6c9f94b6613
2405 Author: Simon Feltman <sfeltman@src.gnome.org>
2406 Date: Thu Aug 21 15:11:39 2014 -0700
2408 Replace statically bound GLib.Variant.new_tuple() with GI
2410 Remove the static implementation of _wrap_pyg_variant_new_tuple with
2411 usage of the dynamic version coming from GI. Array marshalling has
2412 drastically improved in recent years making the dynamic version usable
2413 with a small compatibility shim for the arguments.
2415 https://bugzilla.gnome.org/show_bug.cgi?id=735199
2417 gi/gimodule.c | 39 ---------------------------------------
2418 gi/overrides/GLib.py | 12 +++++-------
2419 2 files changed, 5 insertions(+), 46 deletions(-)
2421 commit c1d387540a0b2db66e860c574b070051a5431914
2422 Author: Simon Feltman <sfeltman@src.gnome.org>
2423 Date: Thu Aug 21 14:37:14 2014 -0700
2425 Fix reference counting problems with GLib.Variant.new_tuple()
2427 Always sink the results of g_variant_new_tuple() in the statically
2428 bound wrapper. This matches the generic GI marshalling behavior
2429 of passing GVariants to Python with transfer-none.
2431 https://bugzilla.gnome.org/show_bug.cgi?id=735166
2434 tests/test_overrides_glib.py | 7 +++++++
2435 2 files changed, 8 insertions(+)
2437 commit 9ce261f27742ba200f70003f162291a375d244d3
2438 Author: Simon Feltman <sfeltman@src.gnome.org>
2439 Date: Tue Aug 19 14:57:31 2014 -0700
2441 configure.ac: Fix darwin builds
2443 Merge platform_win32 and os_win32 variables/case statements and
2444 define "link_python_libs" for win32 as well as darwin.
2446 https://bugzilla.gnome.org/show_bug.cgi?id=735068
2448 configure.ac | 30 +++++++++++-------------------
2449 1 file changed, 11 insertions(+), 19 deletions(-)
2451 commit 92f0d6ebf9b67729d8253e15fce77b0ad0375573
2452 Author: Simon Feltman <sfeltman@src.gnome.org>
2453 Date: Wed Aug 20 13:39:31 2014 -0700
2455 Skip marshalling NULL output arguments in Python closures
2457 Skip marshalling optional output arguments which are passed NULL
2458 as the memory location. This fixes fallout from bug 727004.
2460 https://bugzilla.gnome.org/show_bug.cgi?id=735090
2462 gi/pygi-closure.c | 3 ++-
2463 1 file changed, 2 insertions(+), 1 deletion(-)
2465 commit d7e30c3cacf3cdd550e4dbfe2fa47aea1ae28147
2466 Author: Simon Feltman <sfeltman@src.gnome.org>
2467 Date: Mon Aug 18 19:10:36 2014 -0700
2469 configure.ac: post release version bump to 3.13.91
2472 1 file changed, 1 insertion(+), 1 deletion(-)
2474 commit 17ba19c2e9b91a1bb8b03fabd4100d436c96975d
2475 Author: Simon Feltman <sfeltman@src.gnome.org>
2476 Date: Mon Aug 18 19:07:10 2014 -0700
2480 NEWS | 15 +++++++++++++++
2481 1 file changed, 15 insertions(+)
2483 commit 6bcfaf6e1e2331b704dd6067d45d6840e87632a2
2484 Author: Simon Feltman <sfeltman@src.gnome.org>
2485 Date: Mon Aug 18 18:57:28 2014 -0700
2487 configure.ac: pre release version bump to 3.13.90
2490 1 file changed, 1 insertion(+), 1 deletion(-)
2492 commit 3b5b590599ca98cc51871878618cd59fc05212d1
2493 Author: Simon Feltman <sfeltman@src.gnome.org>
2494 Date: Mon Aug 18 02:33:54 2014 -0700
2496 gtk-demo: Don't use deprecated constructor for Gtk.Label
2498 demos/gtk-demo/demos/pickers.py | 2 +-
2499 1 file changed, 1 insertion(+), 1 deletion(-)
2501 commit 5b82051d23f8d759b6fa57a4e9327e300568c89f
2502 Author: Simon Feltman <sfeltman@src.gnome.org>
2503 Date: Sat Aug 9 02:30:43 2014 -0700
2505 Fast path Python Property getter when accessed through GObject
2508 Break do_get_property() call into a re-usable function.
2509 Call do_get_property() Python implementations instead of going
2511 machinery for Python GObjects. This gives a performance boost
2513 GObject properties when accessed via. obj.get_property() and
2516 https://bugzilla.gnome.org/show_bug.cgi?id=723872
2518 gi/gobjectmodule.c | 11 ++++-------
2519 gi/pygi-property.c | 35 +++++++++++++++++++++++++++--------
2520 gi/pygi-property.h | 3 +++
2521 3 files changed, 34 insertions(+), 15 deletions(-)
2523 commit 0a99f878e40c8d683157dea69c3c9ac40d13d734
2524 Author: Simon Feltman <sfeltman@src.gnome.org>
2525 Date: Sat Aug 9 02:10:11 2014 -0700
2527 Fast path Python Property getter when accessing descriptor directly
2529 Call the Python implemented fget() when a property is accessed
2531 on a Python implemented GObject. This skips going through the GObject
2532 machinery which ends up calling fget() and marshalling the results
2535 https://bugzilla.gnome.org/show_bug.cgi?id=723872
2537 gi/_propertyhelper.py | 19 +++++++++++++++----
2538 1 file changed, 15 insertions(+), 4 deletions(-)
2540 commit 74722386192ad27aac8855d4603d8120af82c98e
2541 Author: Simon Feltman <sfeltman@src.gnome.org>
2542 Date: Mon Aug 18 02:05:58 2014 -0700
2544 Don't use GI type for determining pointer extraction from GValues
2546 Replace usage of g_type_is_a() with G_VALUE_HOLDS() when extracting
2547 pointers from GValues being marshalled from properties and signals.
2548 This fixes fallout from commit abdfb0f.
2550 gi/pygi-value.c | 10 ++++------
2551 1 file changed, 4 insertions(+), 6 deletions(-)
2553 commit 2601011e9eb3b5f391161313ed568e5c4b67c99a
2554 Author: Simon Feltman <sfeltman@src.gnome.org>
2555 Date: Fri Aug 8 23:58:17 2014 -0700
2557 Fast path property access for basic types
2559 Attempt marshalling with pygi_value_to_py_basic_type() prior to
2561 GI info. This gives a quick conversion for basic types like bools,
2563 strings without having to go through GIArgument and GI
2565 gives approximately a 3x performance boost for accessing these
2567 the unified GValue marshaller.
2569 https://bugzilla.gnome.org/show_bug.cgi?id=726999
2571 gi/pygi-property.c | 9 +++++++++
2572 gi/pygi-value.c | 26 ++++++++++++++++++--------
2573 2 files changed, 27 insertions(+), 8 deletions(-)
2575 commit 8f4b06f700ed79df32774fad8e2a2a922bfbfbe5
2576 Author: Simon Feltman <sfeltman@src.gnome.org>
2577 Date: Fri Aug 8 16:31:01 2014 -0700
2579 Break pyg_value_as_pyobject into two functions
2581 Add pygi_value_to_py_basic_type() which is limited to handling basic
2582 types that don't need introspection information when marshalling
2584 Add pygi_value_to_py_structured_type() for marshalling of structured
2586 which can eventually accept GI type hints.
2588 https://bugzilla.gnome.org/show_bug.cgi?id=726999
2590 gi/pygi-value.c | 74
2591 +++++++++++++++++++++++++++++++++++++++++++++++----------
2592 gi/pygi-value.h | 6 +++++
2593 2 files changed, 68 insertions(+), 12 deletions(-)
2595 commit b0236d6fde137e0b2ecf7f5556ad5d53c22874bc
2596 Author: Simon Feltman <sfeltman@src.gnome.org>
2597 Date: Fri Aug 8 20:55:28 2014 -0700
2599 Unify property getters
2601 Consolidate duplicate logic into pygi_get_property_value().
2602 Use the function for GObject.get_property(), GObject.get_properties(),
2604 Remove overridden expected failures in TestCGetPropertyMethod which
2605 now work due to the unification.
2607 https://bugzilla.gnome.org/show_bug.cgi?id=733893
2608 https://bugzilla.gnome.org/show_bug.cgi?id=726999
2610 gi/pygi-property.c | 85 +++++++++++++++++++++++++++++-------------
2611 gi/pygi-property.h | 4 ++
2613 +++++++-----------------------------------------
2614 tests/test_properties.py | 38 -------------------
2615 4 files changed, 77 insertions(+), 147 deletions(-)
2617 commit abdfb0fa3f72f9bf822c472d16c90d6b1871610b
2618 Author: Simon Feltman <sfeltman@src.gnome.org>
2619 Date: Mon Jul 28 19:09:30 2014 -0700
2621 Merge pygi_get_property_value and _pygi_argument_from_g_value
2623 Merge duplicated GValue marshaling code which has diverged over time
2624 (commits 3606eb20, ee62df4d, e14ebab6, 8cfd596c, 9f50fd21, 0d099bdb,
2626 Use _pygi_argument_to_array within pygi_get_property_value. This
2628 in the new code for supporting GI_TYPE_TAG_ARRAY and also fixes
2630 Side effects of this change also include support for properties
2632 G_TYPE_FLAGS and G_TYPE_PARAM.
2634 https://bugzilla.gnome.org/show_bug.cgi?id=726999
2636 gi/pygi-property.c | 140
2637 +++++------------------------------------------------
2638 gi/pygi-value.c | 24 ++++++---
2639 2 files changed, 28 insertions(+), 136 deletions(-)
2641 commit 142ff1903d34876db3d1bee5e9782ac49de12313
2642 Author: Simon Feltman <sfeltman@src.gnome.org>
2643 Date: Mon Jul 28 04:40:36 2014 -0700
2645 Never dup data structures when marshaling signal in arguments
2647 Always assume transfer-none of GValue arguments to signal handlers.
2648 A signal handler with arguments marked as transfer-full does not
2649 make any sense, so assume they are always transfer-none.
2651 https://bugzilla.gnome.org/show_bug.cgi?id=726999
2653 gi/pygi-signal-closure.c | 4 +---
2654 gi/pygi-value.c | 4 +++-
2655 2 files changed, 4 insertions(+), 4 deletions(-)
2657 commit 04816f74194bd2c95b8b958dcf9ed5da5a83e001
2658 Author: Simon Feltman <sfeltman@src.gnome.org>
2659 Date: Mon Jul 28 04:23:39 2014 -0700
2661 Never dup data structures when marshaling from g_object_get_property()
2663 Always use transfer-none with the results of g_object_get_property()
2664 and assume g_value_unset() will cleanup the results. This gives us
2665 control over memory of properties and limits property anotations to
2668 https://bugzilla.gnome.org/show_bug.cgi?id=726999
2670 gi/pygi-property.c | 24 +++++++-----------------
2671 1 file changed, 7 insertions(+), 17 deletions(-)
2673 commit 85175047e66dfc0c0263eac91d8056a95d0a60a0
2674 Author: Simon Feltman <sfeltman@src.gnome.org>
2675 Date: Tue Jul 29 19:29:28 2014 -0700
2677 Refactor boxed wrapper memory management strategy
2679 Change pygi_boxed_new() to accept "copy_boxed" instead of
2681 This changes memory management so the PyGIBoxed wrapper owns the boxed
2682 pointer given to it. Use __del__ instead of dealloc for freeing
2684 memory. This is needed for edge cases where objects like GSource can
2685 trigger the finalized callback during de-alloc, resulting in the
2687 references counts being manipulated and triggering a re-entrant
2689 Add hack to keep Gtk.TreeIter.do_iter_next/previous implementations
2691 which rely on pass-by-reference.
2692 See also: https://bugzilla.gnome.org/show_bug.cgi?id=734465
2694 https://bugzilla.gnome.org/show_bug.cgi?id=722899
2696 https://bugzilla.gnome.org/show_bug.cgi?id=726999
2698 gi/gimodule.c | 6 +++-
2699 gi/overrides/GLib.py | 4 ---
2700 gi/overrides/GObject.py | 3 ++
2701 gi/pygi-boxed.c | 54 +++++++++++++++++++++++++-------
2702 gi/pygi-boxed.h | 4 +--
2703 gi/pygi-source.c | 6 ++--
2704 gi/pygi-struct-marshal.c | 81
2705 +++++++++++++++++++++++++++++++++++++++++++++---
2706 tests/test_gi.py | 1 -
2707 tests/test_source.py | 8 +++--
2708 9 files changed, 140 insertions(+), 27 deletions(-)
2710 commit 62aed0977090f7099a5e538209f7c680ea22fe12
2711 Author: Simon Feltman <sfeltman@src.gnome.org>
2712 Date: Sun Aug 17 19:04:51 2014 -0700
2714 Replace GObject.signal_query with introspected version
2716 Remove the static bindings for GObject.signal_query and replace with a
2717 Python compatibility shim which utilizes the introspection exposed
2721 https://bugzilla.gnome.org/show_bug.cgi?id=688792
2723 gi/gobjectmodule.c | 89
2724 -------------------------------------------------
2725 gi/overrides/GObject.py | 39 ++++++++++++----------
2726 2 files changed, 21 insertions(+), 107 deletions(-)
2728 commit 4e130d72a5492fc00c61a816eddccdbc4f558b91
2729 Author: Simon Feltman <sfeltman@src.gnome.org>
2730 Date: Sun Aug 17 19:03:32 2014 -0700
2732 Use array lengths specified on struct fields
2734 Add array length marshalling policy for struct fields. This fixes
2736 C array fields on structs which also specify a length field.
2738 https://bugzilla.gnome.org/show_bug.cgi?id=688792
2740 gi/pygi-argument.c | 14 ++++++-------
2741 gi/pygi-argument.h | 4 ++++
2743 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
2744 3 files changed, 68 insertions(+), 9 deletions(-)
2746 commit c55d029d2d67b5920e9467212e22b0ad58d3ded8
2747 Author: Simon Feltman <sfeltman@src.gnome.org>
2748 Date: Sun Aug 17 18:15:23 2014 -0700
2750 Refactor signal array length marshalling to support a length policy
2752 Replace passing arrays of data to non-caching array marshallers with
2754 closure that can be customized depending on context. In the case
2756 this is mostly scaffolding which will be replaced with caching
2758 However, it opens the legacy marshaller for usage with struct
2762 https://bugzilla.gnome.org/show_bug.cgi?id=688792
2764 gi/pygi-argument.c | 70
2765 ++++++++++++++++++++++++++++++++----------------
2766 gi/pygi-argument.h | 14 +++++++---
2767 gi/pygi-signal-closure.c | 8 ++++--
2768 3 files changed, 64 insertions(+), 28 deletions(-)
2770 commit 3270dad356c44f5fef7571a9f29b22e7c293fa2c
2771 Author: Simon Feltman <sfeltman@src.gnome.org>
2772 Date: Sun Aug 17 13:58:10 2014 -0700
2774 Remove dead code for marshalling array lengths in the context
2777 Remove usage of the args parameter from _pygi_argument_to_array. This
2779 longer used because array marshalling for vfuncs is now handled by
2783 https://bugzilla.gnome.org/show_bug.cgi?id=688792
2785 gi/pygi-argument.c | 24 +++++++++---------------
2786 1 file changed, 9 insertions(+), 15 deletions(-)
2788 commit 6046ca87697fe80c6c0eb70f1efcad24de4f4fd8
2789 Author: Simon Feltman <sfeltman@src.gnome.org>
2790 Date: Sun Aug 17 21:53:55 2014 -0700
2792 Fix memory leak with unboxed caller allocated structs
2794 Take caller-allocates into account when wrapping unboxed structures.
2795 This will free the allocated memory when the Python object is
2798 gi/pygi-struct-marshal.c | 2 +-
2799 1 file changed, 1 insertion(+), 1 deletion(-)
2801 commit c607f07f5ae3ca62ee3a2649f84330eaaa8801c6
2802 Author: Simon Feltman <sfeltman@src.gnome.org>
2803 Date: Sat Aug 16 22:34:29 2014 -0700
2805 tests: Add reference count test for signal connection arguments
2807 Add tests for ensuring reference counts are what we expect for
2808 connect() callback, user_data, and swap object (currently broken
2811 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2813 tests/test_signal.py | 133
2814 +++++++++++++++++++++++++++++++++++++++++++++++++++
2815 1 file changed, 133 insertions(+)
2817 commit 7076669aadfc5227144df87277d69ae66865770a
2818 Author: Tobias Mueller <gnome-bugs@muelli.cryptobitch.de>
2819 Date: Sat Aug 16 17:46:50 2014 -0700
2821 Don't mask GObject sub-class doc strings in meta-class
2823 If a class has a __doc__ attribute explicitly set, always return it.
2824 Only generate doc strings for classes coming from gi.repository
2827 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
2829 https://bugzilla.gnome.org/show_bug.cgi?id=731452
2831 https://bugzilla.gnome.org/show_bug.cgi?id=734926
2833 gi/types.py | 12 +++++++++++-
2834 tests/test_docstring.py | 2 --
2835 2 files changed, 11 insertions(+), 3 deletions(-)
2837 commit 4cdca4328da7442be247e775294fc676cf677bb7
2838 Author: Piotr Iwaniuk <piwaniuk@poczta.onet.pl>
2839 Date: Sat Aug 16 15:06:40 2014 -0700
2841 tests: Add failing tests for GObject sub-class doc-strings
2843 Add tests for sub-class docstrings set with either doc-string
2844 syntax and by setting the __doc__ attribute directly.
2846 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
2848 https://bugzilla.gnome.org/show_bug.cgi?id=731452
2850 tests/test_docstring.py | 39 +++++++++++++++++++++++++++++++++++++++
2851 1 file changed, 39 insertions(+)
2853 commit 9328a6721909322f0e1444e5285ae1b7b5bf1e3c
2854 Author: Simon Feltman <sfeltman@src.gnome.org>
2855 Date: Thu Aug 14 22:47:14 2014 -0700
2857 configure.ac: post release version bump to 3.13.5
2860 1 file changed, 1 insertion(+), 1 deletion(-)
2862 commit 49fd1662623f6dbb6af16b9fbfc0fb57707a7eee
2863 Author: Simon Feltman <sfeltman@src.gnome.org>
2864 Date: Thu Aug 14 22:42:27 2014 -0700
2868 NEWS | 22 ++++++++++++++++++++++
2869 1 file changed, 22 insertions(+)
2871 commit 0d2e797812ab4e1a745ef97559104691dbb6b824
2872 Author: Simon Feltman <sfeltman@src.gnome.org>
2873 Date: Thu Aug 14 18:33:06 2014 -0700
2875 Fix invalid unref after getting callable container
2877 Don't unref the results of g_base_info_get_container() because it is
2878 transfer-none. This was causing an attempted unref on an invalid
2880 when setting up callback caches for signals.
2882 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2884 gi/pygi-cache.c | 2 --
2885 1 file changed, 2 deletions(-)
2887 commit 654c28faffc8d956bd31987adca092fa014cc897
2888 Author: Simon Feltman <sfeltman@src.gnome.org>
2889 Date: Thu Aug 14 21:31:33 2014 -0700
2891 tests: Silence valgrindlog and valgrindxml output from forked procs
2893 This is needed to properly diff valgrind runs between commits.
2895 tests/Makefile.am | 4 ++--
2896 1 file changed, 2 insertions(+), 2 deletions(-)
2898 commit 57070585a5d5dbc5f42d6fa6d2c309b36f38dfdc
2899 Author: Simon Feltman <sfeltman@src.gnome.org>
2900 Date: Wed Aug 13 10:27:01 2014 -0700
2902 Remove ffi wrapped destroy notify used for closure cleanup
2904 Remove global ffi wrapper for _pygi_invoke_closure_free() and
2906 a pointer to _pygi_invoke_closure_free() directly. There is no need
2908 a known single use function with an ffi closure. Originally
2910 commit 610dd1eec87f.
2912 gi/pygi-closure.c | 49 +------------------------------------------------
2913 1 file changed, 1 insertion(+), 48 deletions(-)
2915 commit 3f9b5f890ad1292f12eba1e545084de80b76dab7
2916 Author: Simon Feltman <sfeltman@src.gnome.org>
2917 Date: Tue Aug 12 22:19:24 2014 -0700
2919 tests: Update tests for static binding protection to check
2922 tests/test_import_machinery.py | 10 +++++-----
2923 1 file changed, 5 insertions(+), 5 deletions(-)
2925 commit e674340db90c29c556b45e0a8f8b2da72661b738
2926 Author: Simon Feltman <sfeltman@src.gnome.org>
2927 Date: Mon Aug 11 23:12:38 2014 -0700
2929 Use AttributeError for static binding protection
2931 Replace usage of RuntimeError with AttributeError in the dummy module
2932 protecting importing of static bindings. This is needed so we
2934 modules like inspect which is used by ipython.
2936 gi/__init__.py | 2 +-
2937 1 file changed, 1 insertion(+), 1 deletion(-)
2939 commit 86fb12b3e9b7558000d100f8f212e970ae8c4fd2
2940 Author: Simon Feltman <sfeltman@src.gnome.org>
2941 Date: Mon Aug 11 22:47:14 2014 -0700
2943 Add deprecation warning for connect_object() with non-GObject argument
2945 GObject.connect_object() accepts any Python object and holds a strong
2946 reference to it in the closure defeating the purpose of
2948 Add a warning so we can eventually limit connect_object() to GObject
2950 use the underlying g_signal_connect_object() which holds a weak
2953 https://bugzilla.gnome.org/show_bug.cgi?id=688064
2955 gi/pygobject.c | 9 +++++++++
2956 1 file changed, 9 insertions(+)
2958 commit 9c54bb9defb681316841158cc63df0b0b85c12f0
2959 Author: Simon Feltman <sfeltman@src.gnome.org>
2960 Date: Mon Aug 11 22:39:13 2014 -0700
2962 tests: Add tests for connect_object()
2964 Add tests for both introspected and non-introspected signals
2966 of connect_object() and connect_object_after() in combination
2968 and Python object swap data.
2970 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2972 tests/test_signal.py | 139
2973 +++++++++++++++++++++++++++++++++++++++++++--------
2974 1 file changed, 117 insertions(+), 22 deletions(-)
2976 commit 581acc4c56be127b3a724df504bb46a40959fdd9
2977 Author: Simon Feltman <sfeltman@src.gnome.org>
2978 Date: Mon Aug 11 21:21:42 2014 -0700
2980 Add Python implementation of Object.connect_data()
2982 Add GObject.Object.connect_data() which takes an optional
2984 keyword argument accepting GObject.ConnectFlags enum values. This is
2985 for supporting user data swapping (ConnectFlags.SWAPPED).
2987 https://bugzilla.gnome.org/show_bug.cgi?id=701843
2989 gi/overrides/GObject.py | 37 ++++++++++++++++
2990 tests/test_signal.py | 109
2991 ++++++++++++++++++++++++++++++++++++++++++++++++
2992 2 files changed, 146 insertions(+)
2994 commit b1caef95c4b68b65f3f159563162afde5a0b0939
2995 Author: Simon Feltman <sfeltman@src.gnome.org>
2996 Date: Sat Aug 9 02:14:23 2014 -0700
2998 tests: Add failing tests which verify exceptions raised in property
3001 https://bugzilla.gnome.org/show_bug.cgi?id=575652
3003 tests/test_properties.py | 17 +++++++++++++++++
3004 1 file changed, 17 insertions(+)
3006 commit 19cdbee5a89009da0eb366b9c698a860a7aa92b8
3007 Author: Garrett Regier <Garrett.Regier@riftio.com>
3008 Date: Fri Aug 8 10:08:23 2014 -0400
3010 Cleanup input args when marshaling in closures
3012 The cleanup must happen before setting the out args otherwise
3013 the args that cleanup would free are the just set args, not the
3016 https://bugzilla.gnome.org/show_bug.cgi?id=727004
3018 gi/pygi-closure.c | 2 +-
3019 1 file changed, 1 insertion(+), 1 deletion(-)
3021 commit 7742fab42de5b1f4f8161237fc3cef91fd98791c
3022 Author: Simon Feltman <sfeltman@src.gnome.org>
3023 Date: Fri Aug 8 02:47:11 2014 -0700
3025 tests: Fix Python 2 build for newly added test_array_parm()
3027 Use @unittest.skip() with a string argument as required by Python 2.
3029 tests/test_signal.py | 2 +-
3030 1 file changed, 1 insertion(+), 1 deletion(-)
3032 commit 3165c17a455652de9a61439428fa40f30120dc6a
3033 Author: Simon Feltman <sfeltman@src.gnome.org>
3034 Date: Fri Aug 8 02:46:26 2014 -0700
3036 Remove incorrect and unused casts from tp_free calls
3038 Arguments to Py_TYPE() do not need to be cast since the macro
3040 to a PyObject* internall.
3042 gi/pygi-boxed.c | 2 +-
3043 gi/pygi-ccallback.c | 2 +-
3044 gi/pygi-info.c | 2 +-
3045 gi/pygi-struct.c | 2 +-
3046 4 files changed, 4 insertions(+), 4 deletions(-)
3048 commit 74dfec27c6008968cc66a13792dfb02b29c231b6
3049 Author: Simon Feltman <sfeltman@src.gnome.org>
3050 Date: Fri Aug 8 02:33:51 2014 -0700
3052 Fix GCallback Python wrapper leak
3054 The PyObject wrapper for GCallbacks was not calling tp_free in
3056 tp_dealloc class method.
3058 https://bugzilla.gnome.org/show_bug.cgi?id=695130
3060 gi/pygi-ccallback.c | 2 ++
3061 1 file changed, 2 insertions(+)
3063 commit dcf9111a86e01d66943909a0c9f21a181ccc38a6
3064 Author: Martin Pitt <martinpitt@gnome.org>
3065 Date: Fri Aug 8 01:55:21 2014 -0700
3067 tests: Add failing test for marshalling an array of GValues through
3070 https://bugzilla.gnome.org/show_bug.cgi?id=669496
3072 tests/test_signal.py | 12 ++++++++++++
3073 1 file changed, 12 insertions(+)
3075 commit d689d24f271c30612c6a86b5c51d50a1179aedad
3076 Author: Simon Feltman <sfeltman@src.gnome.org>
3077 Date: Thu Aug 7 17:52:35 2014 -0700
3079 tests: Add tests for GApplication local command line handling
3081 Add various tests which override Gio.Appliction.do_command_line and
3082 do_local_command_line.
3084 https://bugzilla.gnome.org/show_bug.cgi?id=690851
3086 tests/test_gio.py | 65
3087 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
3088 1 file changed, 65 insertions(+)
3090 commit 59c257ebc47fa725750344dd50dd8eb522536d3c
3091 Author: Garrett Regier <Garrett.Regier@riftio.com>
3092 Date: Thu Aug 7 12:25:59 2014 -0400
3094 Add test for a callback with an inout array
3096 This was broken until the closures used the caches for marshaling.
3098 https://bugzilla.gnome.org/show_bug.cgi?id=702508
3100 tests/test_everything.py | 19 +++++++++++++++++++
3101 1 file changed, 19 insertions(+)
3103 commit 9d0c43b2b9f92fff4249e4eb296f00ea73b15af3
3104 Author: Garrett Regier <Garrett.Regier@riftio.com>
3105 Date: Thu Aug 7 12:06:30 2014 -0400
3107 Fix raising an error in a constructor
3109 It should raise a Python exception instead of warnings about
3110 a constructor returning NULL.
3112 https://bugzilla.gnome.org/show_bug.cgi?id=727004
3114 gi/pygi-cache.c | 6 +++---
3115 tests/test_gi.py | 6 ++++++
3116 2 files changed, 9 insertions(+), 3 deletions(-)
3118 commit d7b9ef0f5411ebcbb2597c16b221fd3482c535e4
3119 Author: Garrett Regier <Garrett.Regier@riftio.com>
3120 Date: Wed Aug 6 15:30:58 2014 -0400
3122 Use the caches for marshaling the arguments in closures
3124 Changes to object marshaling when the calling context is from
3125 C was required to correctly keep the correct floating status.
3127 The array cache has been modified to set to/from_py_marshaller
3128 for the length arg cache. This is required for closures which include
3129 the length arg for backwards compatibility. The closure cache takes
3130 care to change the length arg cache's meta type so it gets marshalled
3133 https://bugzilla.gnome.org/show_bug.cgi?id=727004
3135 gi/pygi-array.c | 5 +-
3136 gi/pygi-basictype.c | 4 +-
3137 gi/pygi-basictype.h | 36 +++--
3138 gi/pygi-cache.c | 30 +++-
3139 gi/pygi-closure.c | 403
3140 ++++++++++++++++++++++++++++------------------------
3141 gi/pygi-invoke.c | 3 +-
3142 6 files changed, 271 insertions(+), 210 deletions(-)
3144 commit 9337acf98d783777c94d4bcb912a185ba6791efb
3145 Author: Garrett Regier <Garrett.Regier@riftio.com>
3146 Date: Wed Aug 6 12:14:27 2014 -0400
3148 Specialize GObject marshaling when called from C
3150 These are needed otherwise the floating status of
3151 the GObject will not be kept.
3153 https://bugzilla.gnome.org/show_bug.cgi?id=727004
3155 gi/pygi-object.c | 86
3156 +++++++++++++++++++++++++++++++++++++++++++++++---------
3157 1 file changed, 72 insertions(+), 14 deletions(-)
3159 commit cf295f636b6324a46abbaf329cd6d92c04155d9d
3160 Author: Garrett Regier <Garrett.Regier@riftio.com>
3161 Date: Wed Aug 6 11:59:09 2014 -0400
3163 Move special handling of GObject from Python when calling from C
3165 This will soon be used in the GObject arg cache marshaling when
3166 the calling context is C.
3168 https://bugzilla.gnome.org/show_bug.cgi?id=727004
3170 gi/pygi-argument.c | 21 +--------------------
3171 gi/pygi-object.c | 30 ++++++++++++++++++++++++++++++
3172 gi/pygi-object.h | 5 +++++
3173 3 files changed, 36 insertions(+), 20 deletions(-)
3175 commit 0d09234ea0399d756ee3fb0d358fab5b0a145657
3176 Author: Garrett Regier <Garrett.Regier@riftio.com>
3177 Date: Wed Aug 6 11:53:39 2014 -0400
3179 Always pass along the callable cache to the arg cache constructors
3181 This will be needed in a future patch which requires that the callable
3182 cache is always available.
3184 https://bugzilla.gnome.org/show_bug.cgi?id=727004
3186 gi/pygi-array.c | 20 ++++++++++++--------
3187 gi/pygi-array.h | 9 +++++----
3188 gi/pygi-cache.c | 34 ++++++++++++++++++++--------------
3189 gi/pygi-cache.h | 7 ++++---
3190 gi/pygi-hashtable.c | 31 +++++++++++++++++--------------
3191 gi/pygi-hashtable.h | 9 +++++----
3192 gi/pygi-list.c | 30 +++++++++++++++++++-----------
3193 gi/pygi-list.h | 9 +++++----
3194 gi/pygi-object.c | 25 ++++++++++++++-----------
3195 gi/pygi-object.h | 3 ++-
3196 10 files changed, 103 insertions(+), 74 deletions(-)
3198 commit 203fef99205ce0c46b1530b0d480021ee8b8e325
3199 Author: Garrett Regier <Garrett.Regier@riftio.com>
3200 Date: Tue Aug 5 10:42:46 2014 -0400
3202 Set the correct meta type for GErrors when marshaling to Python
3204 Otherwise we do not pass the GError into python callbacks and
3205 we also want to convert these into Python Exceptions.
3207 https://bugzilla.gnome.org/show_bug.cgi?id=727004
3209 gi/pygi-error.c | 2 +-
3210 1 file changed, 1 insertion(+), 1 deletion(-)
3212 commit 2e92809258d04e91c9d22f2fc0de09db2e60c962
3213 Author: Garrett Regier <Garrett.Regier@riftio.com>
3214 Date: Tue Aug 5 10:37:58 2014 -0400
3216 Pass the GIArgument to the closure assign functions
3218 This will be required once we use the caches for marshaling.
3220 https://bugzilla.gnome.org/show_bug.cgi?id=727004
3222 gi/pygi-closure.c | 102
3223 ++++++++++++++++++++++++++----------------------------
3224 1 file changed, 50 insertions(+), 52 deletions(-)
3226 commit ca3579db14df278923674c294d07481a7255510f
3227 Author: Garrett Regier <Garrett.Regier@riftio.com>
3228 Date: Tue Aug 5 10:25:40 2014 -0400
3230 Use the caches for closures, but not yet for marshaling the arguments
3232 Instead of using the various GI functions we use the data from
3234 This also fixes generating an arg cache for a closure as it was
3236 data or simply setting incorrect data. Also, always included the
3238 until the closures no longer need it for marshaling the arguments.
3240 https://bugzilla.gnome.org/show_bug.cgi?id=727004
3242 gi/pygi-cache.c | 33 +++++++-
3243 gi/pygi-cache.h | 4 +
3244 gi/pygi-closure.c | 245
3245 +++++++++++++++++++++++++-----------------------------
3246 gi/pygi-closure.h | 2 +
3247 4 files changed, 150 insertions(+), 134 deletions(-)
3249 commit 6a21dab89b59db0afc6d6a22272028ee949b52ad
3250 Author: Garrett Regier <Garrett.Regier@riftio.com>
3251 Date: Tue Aug 5 10:16:45 2014 -0400
3253 Correctly set the destroy notify for callbacks in closures
3255 https://bugzilla.gnome.org/show_bug.cgi?id=727004
3257 gi/pygi-closure.c | 2 +-
3258 1 file changed, 1 insertion(+), 1 deletion(-)
3260 commit e6d48b4eadbeb1014c4eb140317b579e69eb8d88
3261 Author: Garrett Regier <Garrett.Regier@riftio.com>
3262 Date: Fri Aug 1 11:40:08 2014 -0400
3264 Split the callable cache into the different types
3266 Instead of doing different things based on the various function types
3267 this adds vfuncs for generate_args_cache() and invoke() which are then
3268 specialized for the various function types. Also add a calling context
3269 to the callable cache which is then used to determine the direction
3270 when generating the arg caches.
3272 This is in preparation for adding closure caches.
3274 https://bugzilla.gnome.org/show_bug.cgi?id=727004
3276 gi/pygi-cache.c | 514
3277 +++++++++++++++++++++++++++++++-----------
3278 gi/pygi-cache.h | 96 +++++---
3279 gi/pygi-ccallback.c | 16 +-
3280 gi/pygi-info.c | 3 +-
3281 gi/pygi-invoke-state-struct.h | 2 -
3282 gi/pygi-invoke.c | 244 ++++++++------------
3283 gi/pygi-invoke.h | 4 +
3285 8 files changed, 564 insertions(+), 317 deletions(-)
3287 commit 18341f27a5a9770d8caf3192a75737ab2bc06b1e
3288 Author: Ignacio Casal Quinteiro <icq@gnome.org>
3289 Date: Wed Aug 6 08:27:43 2014 +0200
3291 Generate .dll libraries on windows
3293 https://bugzilla.gnome.org/show_bug.cgi?id=734288
3295 configure.ac | 8 ++++++++
3296 tests/Makefile.am | 8 ++++----
3297 2 files changed, 12 insertions(+), 4 deletions(-)
3299 commit d70403357d6b510356dd375304fb97e458fd12b2
3300 Author: Simon Feltman <sfeltman@src.gnome.org>
3301 Date: Tue Aug 5 22:45:46 2014 -0700
3303 Add protection against attempts at importing static bindings
3305 Clobber gobject, gio, glib, gtk, and gtk.gdk in sys.modules upon
3307 gi with dummy modules which produce an error upon access.
3309 https://bugzilla.gnome.org/show_bug.cgi?id=709183
3311 gi/__init__.py | 25 ++++++++++++++++++++++---
3312 tests/test_import_machinery.py | 24 ++++++++++++++++++++++++
3313 2 files changed, 46 insertions(+), 3 deletions(-)
3315 commit 5ca4d25eac0efcc12b02fe53f379ee41e69bf1d2
3316 Author: Simon Feltman <sfeltman@src.gnome.org>
3317 Date: Tue Dec 31 16:15:04 2013 -0800
3319 Update and deprecate gi.overrides.keysyms
3321 Replace manually assigned keysyms with a dynamically generated version
3322 pulling names and values from Gdk via GI. Add a runtime warning when
3323 this module is imported.
3325 https://bugzilla.gnome.org/show_bug.cgi?id=721295
3327 gi/overrides/keysyms.py | 1490
3328 +-------------------------------------------
3329 pygtkcompat/pygtkcompat.py | 14 +-
3330 2 files changed, 27 insertions(+), 1477 deletions(-)
3332 commit 9eaeba9079c23d7e2837f62e8ed2b26c018351b6
3333 Author: Alexey Pavlov <alexpux@gmail.com>
3334 Date: Tue Aug 5 19:03:38 2014 -0700
3336 Use -no-undefined for building on Windows
3338 See LT_INIT([win32-dll]):
3339 http://www.gnu.org/software/libtool/manual/html_node/LT_005fINIT.html
3341 Additionally add PYTHON_LIBS to testhelper.la linking.
3343 https://bugzilla.gnome.org/show_bug.cgi?id=734284
3345 tests/Makefile.am | 6 +++---
3346 1 file changed, 3 insertions(+), 3 deletions(-)
3348 commit 5737a9ec4bf4d9d07a7e3994d91abf9077b342cc
3349 Author: Alexey Pavlov <alexpux@gmail.com>
3350 Date: Tue Aug 5 18:40:53 2014 -0700
3352 Use python-config for libs when available
3354 https://bugzilla.gnome.org/show_bug.cgi?id=734289
3356 m4/python.m4 | 7 ++++++-
3357 1 file changed, 6 insertions(+), 1 deletion(-)
3359 commit 093abb4ed052c768f51c90324c2e40063aa6b9b9
3360 Author: Alexey Pavlov <alexpux@gmail.com>
3361 Date: Tue Aug 5 18:20:25 2014 -0700
3363 Link gi.so with FFI_LIBS
3365 https://bugzilla.gnome.org/show_bug.cgi?id=734286
3367 gi/Makefile.am | 3 ++-
3368 1 file changed, 2 insertions(+), 1 deletion(-)
3370 commit 9df54d23a15b871fd71c994b97ffe847ff3b9eb5
3371 Author: Alexey Pavlov <alexpux@gmail.com>
3372 Date: Tue Aug 5 15:45:04 2014 +0200
3374 Include math headers also on mingw
3376 https://bugzilla.gnome.org/show_bug.cgi?id=734287
3378 gi/pygi-basictype.c | 2 --
3379 1 file changed, 2 deletions(-)
3381 commit 964ced98e03c704074d10cc362abfa14c00457ba
3382 Author: Garrett Regier <Garrett.Regier@riftio.com>
3383 Date: Thu Jul 31 10:16:47 2014 -0400
3385 Added args_offset to the cache instead of checking the function type
3387 gi/pygi-array.c | 6 ++----
3388 gi/pygi-cache.c | 6 +++---
3389 gi/pygi-cache.h | 3 +++
3390 gi/pygi-closure.c | 4 +---
3391 4 files changed, 9 insertions(+), 10 deletions(-)
3393 commit 9943d876059201cbee87f072a84234ed774ed932
3394 Author: Simon Feltman <sfeltman@src.gnome.org>
3395 Date: Thu Jul 31 21:51:00 2014 -0700
3397 doap: Update homepage URL and email address
3399 pygobject.doap | 4 ++--
3400 1 file changed, 2 insertions(+), 2 deletions(-)
3402 commit afef1020a43d91014c34ffcd5a5f66281f2e7cc9
3403 Author: Simon Feltman <sfeltman@src.gnome.org>
3404 Date: Thu Jul 31 21:46:37 2014 -0700
3406 Change maintainer in PKG-INFO to self
3408 PKG-INFO.in | 4 ++--
3409 1 file changed, 2 insertions(+), 2 deletions(-)
3411 commit 10c4d66574e35cc84bed3c3057b68ad98613d839
3412 Author: Andre Klapper <a9016009@gmx.de>
3413 Date: Thu Jul 31 21:28:12 2014 +0200
3415 doap: add <programming-language>
3417 pygobject.doap | 2 ++
3418 1 file changed, 2 insertions(+)
3420 commit f30001f2b01896577a2b4d956bc4658350e56b8d
3421 Author: Simon Feltman <sfeltman@src.gnome.org>
3422 Date: Wed Jul 30 00:29:01 2014 -0700
3424 Add GClosure marshalling cleanup
3426 Add marshalling cleanup for Python callables and boxed GClosures
3427 passed as arguments. Make sure the marshaller owns a reference
3428 until clean. Fix transfer everything case by adding a new reference.
3429 Remove unused header declaration: pygi_arg_gclosure_from_py_marshal
3431 https://bugzilla.gnome.org/show_bug.cgi?id=695128
3433 gi/pygi-struct-marshal.c | 46
3434 ++++++++++++++++++++++++++++++++++++++--------
3435 gi/pygi-struct-marshal.h | 4 ----
3436 2 files changed, 38 insertions(+), 12 deletions(-)
3438 commit cf4e830f1b613736ef9586562eb6c0b354165925
3439 Author: Simon Feltman <sfeltman@src.gnome.org>
3440 Date: Wed Jul 30 12:42:15 2014 -0700
3442 Remove decrementing argument index for failed marshalling cleanup
3444 Remove index decrement when cleanup function is called for failed
3446 marshalling. The decrement is incorrect and causes the failed argument
3447 cleanup to be skipped. The decrement also causes cleanup for arguments
3448 prior to the failed argument to receive "was_successful" as FALSE,
3452 https://bugzilla.gnome.org/show_bug.cgi?id=695128
3454 gi/pygi-invoke.c | 10 +++++-----
3455 1 file changed, 5 insertions(+), 5 deletions(-)
3457 commit 662a4421125d126a11ca163c362d205f0c2147c4
3458 Author: Simon Feltman <sfeltman@src.gnome.org>
3459 Date: Wed Jul 30 12:46:18 2014 -0700
3461 Use cleanup data for argument marshalling failures
3463 Use state->args_cleanup_data when cleaning up failed argument
3465 This was overlooked when cleanup data tracking was implemented
3468 https://bugzilla.gnome.org/show_bug.cgi?id=695128
3470 gi/pygi-marshal-cleanup.c | 14 +++++++-------
3471 1 file changed, 7 insertions(+), 7 deletions(-)
3473 commit 39746a3b4f307974d8b3f98f7ba2aefe06d897a3
3474 Author: Olav Vitters <olav@vitters.nl>
3475 Date: Wed Jul 30 20:41:37 2014 +0200
3479 pygobject.doap | 2 +-
3480 1 file changed, 1 insertion(+), 1 deletion(-)
3482 commit 36caa74a276972eee2b18162ac09edc83c30a3cb
3483 Author: Simon Feltman <sfeltman@src.gnome.org>
3484 Date: Mon Jul 28 23:51:19 2014 -0700
3486 tests: Move object property reference count tests to test_properties
3488 Move and consolidate tests for object property reference counts from
3489 tests_object_marshaling to test_properties.
3491 https://bugzilla.gnome.org/show_bug.cgi?id=726999
3493 tests/test_object_marshaling.py | 68
3494 -----------------------------------------
3495 tests/test_properties.py | 36 ++++++++++++++++++++++
3496 2 files changed, 36 insertions(+), 68 deletions(-)
3498 commit 15b795354ca5a8f436779ee5d81936af8961acb5
3499 Author: Simon Feltman <sfeltman@src.gnome.org>
3500 Date: Mon Jul 28 22:20:44 2014 -0700
3502 tests: Move test_everything.TestProperties into test_properties
3504 Consolidate property tests found in test_everything into test_property
3505 removing redundant tests already found in test_property.
3507 https://bugzilla.gnome.org/show_bug.cgi?id=726999
3509 tests/test_everything.py | 69
3510 +-----------------------------------------------
3511 tests/test_properties.py | 59 +++++++++++++++++++++++++++++++++++++++++
3512 2 files changed, 60 insertions(+), 68 deletions(-)
3514 commit c691d86c6f5f073f7c1e1e6ddd4311ed27431747
3515 Author: Simon Feltman <sfeltman@src.gnome.org>
3516 Date: Mon Jul 28 21:32:44 2014 -0700
3518 tests: Add tests for get/set_property()
3520 Re-use the new CPropertiesTestBase class for testing
3524 https://bugzilla.gnome.org/show_bug.cgi?id=726999
3526 tests/test_properties.py | 32 ++++++++++++++++++++++++++++++++
3527 1 file changed, 32 insertions(+)
3529 commit 115bc88ad5eb85e0a1821fa4fa2cad5c6df87dcc
3530 Author: Simon Feltman <sfeltman@src.gnome.org>
3531 Date: Mon Jul 28 21:32:00 2014 -0700
3533 tests: Break TestPropertiesObject up for re-use
3535 Refactor TestPropertiesObject into a base class which abstracts
3537 property methods. This will allow re-use for testing both
3539 and the props accessor.
3541 https://bugzilla.gnome.org/show_bug.cgi?id=726999
3543 tests/test_properties.py | 221
3544 +++++++++++++++++++++++++----------------------
3545 1 file changed, 118 insertions(+), 103 deletions(-)
3547 commit bf0a5c3345e65b6a7475fada4ea240dbe0049a26
3548 Author: Simon Feltman <sfeltman@src.gnome.org>
3549 Date: Mon Jul 28 19:32:00 2014 -0700
3551 tests: Move test_gi.TestPropertiesObject into test_properties
3553 Move all property testing code into the test_properties module.
3555 https://bugzilla.gnome.org/show_bug.cgi?id=726999
3557 tests/test_gi.py | 233
3558 ----------------------------------------------
3559 tests/test_properties.py | 235
3560 +++++++++++++++++++++++++++++++++++++++++++++++
3561 2 files changed, 235 insertions(+), 233 deletions(-)
3563 commit 4941691264970b19b81d435cd58ab18ef6bac9a5
3564 Author: Simon Feltman <sfeltman@src.gnome.org>
3565 Date: Fri Jul 25 18:33:15 2014 -0700
3567 pyflakes: Fix legacy print and exception usage under Python 3
3569 Fix print statements and legacy exception usage in examples.
3571 https://bugzilla.gnome.org/show_bug.cgi?id=731042
3573 examples/properties.py | 12 ++++++------
3574 tests/runtests-windows.py | 4 ++--
3575 2 files changed, 8 insertions(+), 8 deletions(-)
3577 commit c3d3cd2f798cbae7f66d8e57e191b5f9569a713b
3578 Author: Simon Feltman <sfeltman@src.gnome.org>
3579 Date: Fri Jul 25 17:49:57 2014 -0700
3581 tests: Ignore warnings for GtkAlignment
3583 This was causing unittests to bail. Even though this is deprecated,
3584 we still need to test its usage in the context of pygtkcompat.
3586 tests/compat_test_pygtk.py | 15 ++++++++++++++-
3587 1 file changed, 14 insertions(+), 1 deletion(-)
3589 commit 804b89447ae2748c88ad5efe5e6e37d949681b9e
3590 Author: Simon Feltman <sfeltman@src.gnome.org>
3591 Date: Fri Jul 25 17:40:36 2014 -0700
3593 tests: Remove usage of deprecated "schema" property in GSettings
3596 Use new and new_with_path instead as the schema property was causing a
3597 hard warning which fails the test suite.
3599 tests/test_gio.py | 6 +++---
3600 1 file changed, 3 insertions(+), 3 deletions(-)
3602 commit 6b806137825891cc6bdad82a68cf3deb087feb70
3603 Author: Simon Feltman <sfeltman@src.gnome.org>
3604 Date: Fri Jul 25 17:35:06 2014 -0700
3606 tests: Ignore stock-id usage warnings
3608 Add ignore_glib_warnings context manager for easily ignoring warnings
3609 caused by stock-id usage. Even though stock-id is deprecated, we still
3610 need to test the related Python binding overrides.
3612 tests/test_overrides_gtk.py | 40 ++++++++++++++++++++++++----------------
3613 1 file changed, 24 insertions(+), 16 deletions(-)
3615 commit 6b944c4e215a34bc4181c7c708b6d6f2d4898c15
3616 Author: Simon Feltman <sfeltman@src.gnome.org>
3617 Date: Mon Jun 23 15:55:57 2014 -0700
3619 configure.ac: post release version bump to 3.13.4
3622 1 file changed, 1 insertion(+), 1 deletion(-)
3624 commit 58198b6ae426448cde82cad7304018c7c770c0ea
3625 Author: Simon Feltman <sfeltman@src.gnome.org>
3626 Date: Mon Jun 23 15:53:03 2014 -0700
3631 1 file changed, 8 insertions(+)
3633 commit cdf8c40768b00d08a1facca696a042efc6e8988f
3634 Author: Simon Feltman <sfeltman@src.gnome.org>
3635 Date: Thu May 29 13:02:44 2014 -0700
3637 demos: Cleanup CSS accordion demo to use a loop for adding buttons
3639 Also use Gtk.main_quit directly since it has been overridden to accept
3642 demos/gtk-demo/demos/Css/css_accordion.py | 21 +++------------------
3643 1 file changed, 3 insertions(+), 18 deletions(-)
3645 commit ba8380d093d6f84eabcf18c02b248aae8ffc3cf5
3646 Author: Simon Feltman <sfeltman@src.gnome.org>
3647 Date: Tue May 27 19:24:20 2014 -0700
3649 refactor: Move builder connection utilities outside of Builder class
3651 Move _extract_handler_and_args and _builder_connect_callback into
3653 scope for re-use by GTK+ Composite Templates.
3655 https://bugzilla.gnome.org/show_bug.cgi?id=701843
3657 gi/overrides/Gtk.py | 83
3658 ++++++++++++++++++++++++---------------------
3659 tests/test_overrides_gtk.py | 8 ++---
3660 2 files changed, 48 insertions(+), 43 deletions(-)
3662 commit f127fabe9664b243774b76a68e6fce5986aa23a0
3663 Author: Simon Feltman <sfeltman@src.gnome.org>
3664 Date: Tue May 27 15:52:10 2014 -0700
3666 tests: Move TestSignals from test_everything into test_signal
3668 Move these tests into a more meaningful location.
3670 https://bugzilla.gnome.org/show_bug.cgi?id=701843
3672 tests/test_everything.py | 123
3673 --------------------------------------------
3674 tests/test_signal.py | 131
3675 +++++++++++++++++++++++++++++++++++++++++++++++
3676 2 files changed, 131 insertions(+), 123 deletions(-)
3678 commit da46963a0ce9f796ff4ee4ae2023adfd40ed54ca
3679 Author: Simon Feltman <sfeltman@src.gnome.org>
3680 Date: Mon May 26 04:21:07 2014 -0700
3682 configure.ac: post release version bump to 3.13.2
3685 1 file changed, 1 insertion(+), 1 deletion(-)
3687 commit 6258adf6c7c604954f0dbc1a9ed8c284114358bc
3688 Author: Simon Feltman <sfeltman@src.gnome.org>
3689 Date: Mon May 26 04:18:55 2014 -0700
3693 NEWS | 21 +++++++++++++++++++++
3694 1 file changed, 21 insertions(+)
3696 commit 32542a4ba24d413fb6e0d509bff05f4ac3f642a1
3697 Author: Simon Feltman <sfeltman@src.gnome.org>
3698 Date: Mon May 26 03:01:13 2014 -0700
3700 Python 3.4 make check fixes
3702 Bump GI required version to 1.39.0. This is needed to get rid of
3703 expectedFailures which pass when built with 1.39.0 (unexpected
3705 fail unittesting in Python 3.4).
3706 Silence deprecation warning when using imp.reload.
3708 https://bugzilla.gnome.org/show_bug.cgi?id=730411
3711 pygtkcompat/pygtkcompat.py | 4 +++-
3712 tests/test_gi.py | 1 -
3713 tests/test_repository.py | 2 --
3714 4 files changed, 4 insertions(+), 5 deletions(-)
3716 commit dbdc662b5743bb54fcc3621db775a6e948ec360c
3717 Author: Simon Feltman <sfeltman@src.gnome.org>
3718 Date: Mon May 26 01:53:14 2014 -0700
3720 tests: Don't use deprecated positional argument for Gio.Settings
3723 tests/test_gio.py | 6 +++---
3724 1 file changed, 3 insertions(+), 3 deletions(-)
3726 commit d0b23f08eebd4377f066a4483900fe6d09e3795e
3727 Author: Simon Feltman <sfeltman@src.gnome.org>
3728 Date: Sun May 25 23:03:35 2014 -0700
3730 overrides: Add Gtk.Container.child_get/set overrides
3732 Add overrides for child_get and child_set to Gtk.Container since these
3733 are not introspectable methods.
3735 https://bugzilla.gnome.org/show_bug.cgi?id=685076
3737 gi/overrides/Gtk.py | 10 ++++++++++
3738 tests/test_overrides_gtk.py | 16 ++++++++++++++++
3739 2 files changed, 26 insertions(+)
3741 commit 45a5fb2b0d6c7f46d355c83c73d829532e5a72ce
3742 Author: Simon Feltman <sfeltman@src.gnome.org>
3743 Date: Sun May 25 22:07:07 2014 -0700
3745 overrides: Make value argument to Widget.style_get_property optional
3747 Override Gtk.Widget.style_get_property to optionally accept the
3749 argument. If "value" is not supplied, the override will locate
3751 property value type and create the GValue. Additionally return
3753 GValue converted to a native Python value.
3755 https://bugzilla.gnome.org/show_bug.cgi?id=685076
3757 gi/overrides/Gtk.py | 11 +++++++++++
3758 tests/test_overrides_gtk.py | 29 +++++++++++++++++++++++++++++
3759 2 files changed, 40 insertions(+)
3761 commit 6f5a9a37bcdec5074332b1066396321d40b15d99
3762 Author: Simon Feltman <sfeltman@src.gnome.org>
3763 Date: Sun May 25 21:08:47 2014 -0700
3765 overrides: Make value argument to Container.child_get_property
3768 Override Gtk.Container.child_get_property to optionally accept the
3770 argument. If "value" is not supplied, the override will locate
3772 property value type and create the GValue. Additionally return
3774 GValue converted to a native Python value.
3776 https://bugzilla.gnome.org/show_bug.cgi?id=685076
3778 gi/overrides/Gtk.py | 11 +++++++++++
3779 tests/test_overrides_gtk.py | 47
3780 +++++++++++++++++++++++++++++++++++++++++++++
3781 2 files changed, 58 insertions(+)
3783 commit bf84915f89fd5fd502b4fb162eef7bc0a48c8783
3784 Author: Johan Dahlin <johan@gnome.org>
3785 Date: Mon Oct 1 06:42:24 2012 -0700
3787 Add GTypeClass methods as Python GObject class methods
3789 Take all the methods from an objects type classs and add them
3790 as class methods. For instance, GObject.ObjectClass.list_properties
3791 is available as GObject.Object.list_properties().
3793 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
3795 https://bugzilla.gnome.org/show_bug.cgi?id=685218
3797 gi/types.py | 13 +++++++++++++
3798 tests/test_typeclass.py | 13 +++++++++++++
3799 2 files changed, 26 insertions(+)
3801 commit 778d05c93e079ba207a250b754bda9377cb47457
3802 Author: Simon Feltman <sfeltman@src.gnome.org>
3803 Date: Sun May 25 19:05:56 2014 -0700
3805 Add marshalling coercion for Python classes and instances to
3808 Automatically marshal Python GObject classes and instances to
3810 structs (GObjectClass). This allows usage of the GTypeClass methods by
3811 passing a Python GObject class or instance to the GTypeClass method.
3812 This is needed to support usage of GTypeClass methods since we don't
3813 manually bind GTypeClasses and they are not very well supported with
3816 https://bugzilla.gnome.org/show_bug.cgi?id=685218
3818 gi/pygi-struct-marshal.c | 54 ++++++++++++++++++++++++++++++++++----
3819 tests/Makefile.am | 1 +
3820 tests/test_typeclass.py | 67
3821 ++++++++++++++++++++++++++++++++++++++++++++++++
3822 3 files changed, 117 insertions(+), 5 deletions(-)
3824 commit 1e606287e1244cba45e3bb174d27f1c01e4f9577
3825 Author: Simon Feltman <sfeltman@src.gnome.org>
3826 Date: Sun May 25 02:00:00 2014 -0700
3828 Cleanup struct marshalling function names
3830 Use a consistent naming scheme for struct marshalling cache related
3831 functions. This removes prefixed underscores from function names
3832 as well as redundant wording.
3834 To ignore this commit with git blame use:
3835 git blame <this-commit-sha>^ -- gi/pygi-struct-marshal.c
3837 https://bugzilla.gnome.org/show_bug.cgi?id=685218
3839 gi/pygi-argument.c | 34 ++++----
3840 gi/pygi-array.c | 2 +-
3841 gi/pygi-struct-marshal.c | 221
3842 ++++++++++++++++++++---------------------------
3843 gi/pygi-struct-marshal.h | 56 ++++++------
3844 4 files changed, 142 insertions(+), 171 deletions(-)
3846 commit bbbfa967d06eb8fdef6d6ebe705cc8df2869ddf3
3847 Author: Simon Feltman <sfeltman@src.gnome.org>
3848 Date: Fri May 16 15:08:35 2014 -0700
3850 Use accessors for getting and setting PyGParamSpec pointers
3852 Add pyg_param_spec_get and pyg_param_spec_set macros for getting and
3853 setting the GParamSpec pointer field held by the Python wrapper. This
3854 is preliminary cleanup work for supporting fundamental types.
3856 https://bugzilla.gnome.org/show_bug.cgi?id=631901
3858 gi/pygi-value.c | 2 +-
3859 gi/pygobject.h | 9 +++++++--
3860 gi/pygparamspec.c | 22 +++++++++++-----------
3861 3 files changed, 19 insertions(+), 14 deletions(-)
3863 commit b49179ba3b39576c0c8fe8586b7091dbbaef8046
3864 Author: Simon Feltman <sfeltman@src.gnome.org>
3865 Date: Fri May 16 14:50:57 2014 -0700
3867 Use accessors for getting and setting PyGPointer fields
3869 Add pyg_pointer_get_ptr and pyg_pointer_set_ptr macros for getting and
3870 setting the pointer field. This is preliminary cleanup work for
3874 https://bugzilla.gnome.org/show_bug.cgi?id=631901
3876 gi/gimodule.c | 2 +-
3877 gi/pygi-struct.c | 6 +++---
3878 gi/pygobject.h | 2 ++
3879 gi/pygpointer.c | 14 +++++++-------
3880 4 files changed, 13 insertions(+), 11 deletions(-)
3882 commit 92fe52243d819ffe91597744a6a1c2362a295bce
3883 Author: Simon Feltman <sfeltman@src.gnome.org>
3884 Date: Fri May 16 14:19:47 2014 -0700
3886 Use accessors for getting and setting PyGBoxed pointers
3888 Add pyg_boxed_get_ptr and pyg_boxed_set_ptr macros for getting
3890 the boxed pointer field. This is preliminary cleanup work for
3894 https://bugzilla.gnome.org/show_bug.cgi?id=631901
3896 gi/pygboxed.c | 20 ++++++++++----------
3897 gi/pygi-boxed.c | 6 +++---
3898 gi/pygobject.h | 2 ++
3899 gi/pygtype.c | 3 ++-
3900 4 files changed, 17 insertions(+), 14 deletions(-)
3902 commit 0a4f13a571cb9bd110f435f8b23ed942e3b007b0
3903 Author: Simon Feltman <sfeltman@src.gnome.org>
3904 Date: Sun May 11 16:04:55 2014 -0700
3906 tests: Use assertRaises as a context manager for GError test
3908 Simplify tests/test_error.py:TestMarshalling.test_exception so that
3909 it no longer needs to pull exception information out of sys.exc_info.
3911 tests/test_error.py | 14 ++++++--------
3912 1 file changed, 6 insertions(+), 8 deletions(-)
3914 commit bc7b0b69f651a118a053106fcae2d7c0f2173430
3915 Author: Andrew Grigorev <andrew@ei-grad.ru>
3916 Date: Sun May 11 23:54:46 2014 +0400
3918 Replace direct parent class call by super()
3920 Super works, it just needs the correct class.
3922 https://bugzilla.gnome.org/show_bug.cgi?id=729970
3924 demos/gtk-demo/gtk-demo.py | 6 ++----
3925 1 file changed, 2 insertions(+), 4 deletions(-)
3927 commit de827d00762f2a741f90bc38f8b55518593f4509
3928 Author: Simon Feltman <sfeltman@src.gnome.org>
3929 Date: Sun Mar 23 01:59:00 2014 -0700
3931 Add cairo marshaling support for non-introspected signals
3933 Add link dependency of cairo-gobject to _gi_cairo_la needed for
3935 the GTypes of cairo classes.
3936 Add GValue marshalers for cairo Context, Surface, FontFace,
3938 and Pattern classes.
3940 https://bugzilla.gnome.org/show_bug.cgi?id=694604
3942 gi/Makefile.am | 2 +
3943 gi/pygi-foreign-cairo.c | 186
3944 ++++++++++++++++++++++++++++++++++++++++++++++++
3945 gi/pygi-type.h | 1 +
3947 tests/test_cairo.py | 65 +++++++++++++++++
3948 5 files changed, 256 insertions(+)
3950 commit 22a952ec532cc83c8227861a7d5bfa2957608c3f
3951 Author: Simon Feltman <sfeltman@src.gnome.org>
3952 Date: Mon May 5 19:37:18 2014 -0700
3954 [New API] Add gi.require_foreign
3956 Add gi.require_foreign(namespace, symbol=None) API for determining
3957 if a foreign marshaling module is available. This can be used in an
3958 applications import statement block to verify the existence of a
3959 specific foreign marshaling module (cairo).
3960 Additionally it forces loading of the foreign marshaling module as
3961 well as the GI repository module. This allows non-introspected signal
3962 closures to correctly marshal their arguments (bug 694604).
3964 https://bugzilla.gnome.org/show_bug.cgi?id=707735
3966 gi/__init__.py | 28 +++++++++++++++++++++++++
3967 gi/gimodule.c | 2 ++
3968 gi/pygi-foreign.c | 60
3969 ++++++++++++++++++++++++++++++++++++++++++++++-------
3970 gi/pygi-foreign.h | 4 ++++
3971 tests/test_cairo.py | 9 ++++++++
3972 5 files changed, 95 insertions(+), 8 deletions(-)
3974 commit 4ee91a4cd0018d069c7aaf66d83e2f8235f2262a
3975 Author: Simon Feltman <sfeltman@src.gnome.org>
3976 Date: Mon May 5 19:48:06 2014 -0700
3978 tests: Move cairo tests into test_cairo.py
3980 Move cairo related tests from test_everything.py into test_cairo.py
3982 https://bugzilla.gnome.org/show_bug.cgi?id=694604
3984 tests/Makefile.am | 1 +
3985 tests/test_cairo.py | 67
3986 ++++++++++++++++++++++++++++++++++++++++++++++++
3987 tests/test_everything.py | 43 +------------------------------
3988 3 files changed, 69 insertions(+), 42 deletions(-)
3990 commit 31ecd935564984068e6646676392122bdc03e42e
3991 Author: Simon Feltman <sfeltman@src.gnome.org>
3992 Date: Mon May 5 19:42:59 2014 -0700
3994 Initialize the foreign API at PyGI load time
3996 Initialize the foreign struct list at gi._gi module load time. This
3998 we always have a valid (non-null) list of foreign marshalers outside
4000 context of marshaling.
4002 https://bugzilla.gnome.org/show_bug.cgi?id=694604
4004 gi/gimodule.c | 3 ++-
4005 gi/pygi-foreign.c | 12 ++++++++----
4006 gi/pygi-foreign.h | 2 ++
4007 3 files changed, 12 insertions(+), 5 deletions(-)
4009 commit def47144b63a1492ebf47a4eadb535f45253ff3a
4010 Author: Simon Feltman <sfeltman@src.gnome.org>
4011 Date: Sat Mar 22 14:13:01 2014 -0700
4013 Move pygi foreign API into pygi-foreign-api.h
4015 Move limited set of APIs necessary for registering foreign marshalers
4017 pygi-foreign-api.h. Remove "_real" from internally used APIs and
4019 includes to the rest of pygobject for calling directly (instead of
4021 the PyCapsule API within PyGI itself).
4022 This is needed to avoid compilation errors when including pygobject.h
4024 foreign marshaling plugins which conflicts with pygobject-private.h.
4026 https://bugzilla.gnome.org/show_bug.cgi?id=694604
4028 gi/Makefile.am | 1 +
4029 gi/gimodule.c | 6 +--
4033 gi/pygi-foreign-api.h | 85 +++++++++++++++++++++++++++++++++++++
4034 gi/pygi-foreign-cairo.c | 8 ++--
4035 gi/pygi-foreign.c | 10 ++---
4036 gi/pygi-foreign.h | 14 +++----
4037 gi/pygi-property.c | 8 ++--
4038 gi/pygi-property.h | 14 ++++---
4039 gi/pygi-signal-closure.c | 12 +++---
4040 gi/pygi-signal-closure.h | 15 +++----
4041 gi/pygi-type.c | 4 +-
4042 gi/pygi-type.h | 2 +-
4044 -----------------------------------------------
4045 gi/pygobject.c | 3 ++
4046 gi/pygpointer.c | 1 +
4047 18 files changed, 139 insertions(+), 154 deletions(-)
4049 commit 4c2e6914bf0277ebc3a6a4426f33a1b378a04b00
4050 Author: Simon Feltman <sfeltman@src.gnome.org>
4051 Date: Sun May 4 23:19:30 2014 -0700
4053 Clobber GLib.Error with custom implementation
4055 Clobber the introspection GLib.Error class with the custom Python
4056 implementation found in gi._error.GError. Update references to
4060 https://bugzilla.gnome.org/show_bug.cgi?id=712519
4062 gi/_error.py | 3 ++-
4063 gi/overrides/GLib.py | 9 ++++++---
4064 gi/pygi-error.c | 10 +++++-----
4065 tests/test_error.py | 24 ++++++++++++------------
4066 4 files changed, 25 insertions(+), 21 deletions(-)
4068 commit f80f5ec434ed868ab1f35d6a81537384e753b09d
4069 Author: Simon Feltman <sfeltman@src.gnome.org>
4070 Date: Sun May 4 23:43:50 2014 -0700
4072 Simplify pygi_error_marshal to use GError initializer arguments
4074 https://bugzilla.gnome.org/show_bug.cgi?id=712519
4076 gi/pygi-error.c | 25 ++++++-------------------
4077 1 file changed, 6 insertions(+), 19 deletions(-)
4079 commit 3083daf420ac1900bb20604c22fd61e5187b4ae8
4080 Author: Simon Feltman <sfeltman@src.gnome.org>
4081 Date: Sun May 4 04:13:46 2014 -0700
4083 Add Python implementation of GError
4085 Add internally used gi/_error.py module as a basis for implementing
4086 a unified GError between introspection and static bindings. Patch
4088 implementations of GError.matches and GError.new_literal in the GLib
4091 https://bugzilla.gnome.org/show_bug.cgi?id=712519
4095 ++++++++++++++++++++++++++++++++++++++++++++++++++++
4096 gi/_option.py | 3 ++-
4097 gi/overrides/GLib.py | 25 ++++++++++++++++++++++++-
4098 gi/pygi-error.c | 18 +++++++-----------
4099 tests/test_error.py | 37 ++++++++++++++++++++++++++++++++++++
4100 6 files changed, 125 insertions(+), 14 deletions(-)
4102 commit 664bfa6fdf2196a0d1449baaca62a9a496121f67
4103 Author: Simon Feltman <sfeltman@src.gnome.org>
4104 Date: Sun May 4 23:14:27 2014 -0700
4106 tests: Move GError tests into test_error.py
4108 https://bugzilla.gnome.org/show_bug.cgi?id=712519
4110 tests/Makefile.am | 1 +
4111 tests/test_error.py | 81
4112 +++++++++++++++++++++++++++++++++++++++++++++++++++++
4113 tests/test_gi.py | 49 --------------------------------
4114 3 files changed, 82 insertions(+), 49 deletions(-)
4116 commit 649895d83a90cd3a370da215a6f98a606b987419
4117 Author: Simon Feltman <sfeltman@src.gnome.org>
4118 Date: Sun May 4 00:18:41 2014 -0700
4120 Consolidate GError related code into pygi-error
4122 Rename all pyglib_error_* functions to pygi_error_* and move them into
4124 Register GError as part of the gi._gi module instead of gi._gi._glib.
4125 Update all code to use new naming.
4127 https://bugzilla.gnome.org/show_bug.cgi?id=712519
4129 gi/_option.py | 6 +-
4130 gi/gimodule.c | 4 +-
4131 gi/glibmodule.c | 19 -----
4132 gi/gobjectmodule.c | 54 +-----------
4133 gi/overrides/GLib.py | 3 +-
4134 gi/pygi-argument.c | 6 +-
4135 gi/pygi-cache.c | 4 +-
4136 gi/pygi-error.c | 222
4137 ++++++++++++++++++++++++++++++++++++++++++++++++-
4138 gi/pygi-error.h | 21 ++++-
4139 gi/pygi-invoke.c | 5 +-
4140 gi/pyglib-private.h | 1 -
4141 gi/pyglib.c | 199 --------------------------------------------
4143 gi/pygobject-private.h | 3 -
4144 gi/pygoptioncontext.c | 3 +-
4145 gi/pygoptiongroup.c | 3 +-
4146 gi/pygspawn.c | 3 +-
4147 17 files changed, 262 insertions(+), 299 deletions(-)
4149 commit 9080215e862a73ddcce16476f4dc4492a88dd3f2
4150 Author: Simon Feltman <sfeltman@src.gnome.org>
4151 Date: Sat May 3 22:56:49 2014 -0700
4153 Add gi.CallableInfo.can_throw_gerror()
4155 Add static binding for g_callable_info_can_throw_gerror.
4157 gi/pygi-info.c | 10 ++++++++++
4158 tests/test_repository.py | 16 ++++++++++++++++
4159 2 files changed, 26 insertions(+)
4161 commit f129e78d579b7897cb86111c524d87b5b12019ad
4162 Author: Simon Feltman <sfeltman@src.gnome.org>
4163 Date: Sat May 3 22:56:03 2014 -0700
4165 Derive PyCallbackInfo from PyCallableInfo
4167 Update the static GI bindings for PyGICallbackInfo to derive
4168 from PyGICallableInfo. This makes all the gi.CallableInfo methods
4169 available to gi.CallbackInfo for use from Python.
4171 gi/pygi-info.c | 4 ++--
4172 tests/test_repository.py | 7 +++++++
4173 2 files changed, 9 insertions(+), 2 deletions(-)
4175 commit 833f96807037e85445ac103d6fb6ad9c4fab65e4
4176 Author: Simon Feltman <sfeltman@src.gnome.org>
4177 Date: Fri May 2 21:36:25 2014 -0700
4181 Use infix 'not' instead of prefixed.
4182 Don't use double comments (##).
4183 Use space between comment and text.
4184 Un-comment tests that now work.
4185 Move broken (and won't fix) implicit int64 signal tests into
4186 a new skipped test function.
4188 gi/overrides/GIMarshallingTests.py | 4 ++--
4189 gi/overrides/Gio.py | 4 ++--
4190 gi/overrides/Gtk.py | 6 +++---
4192 pygtkcompat/pygtkcompat.py | 4 ++--
4193 tests/test_everything.py | 1 -
4194 tests/test_gi.py | 9 +++------
4195 tests/test_iochannel.py | 2 +-
4196 tests/test_option.py | 2 +-
4197 tests/test_signal.py | 28 +++++++++++++---------------
4198 10 files changed, 28 insertions(+), 34 deletions(-)
4200 commit 07af141dd8dcac551cb2e962f6bf338b3485006b
4201 Author: Simon Feltman <sfeltman@src.gnome.org>
4202 Date: Mon Apr 28 14:06:30 2014 -0700
4204 configure.ac: post release version bump to 3.13.2
4207 1 file changed, 1 insertion(+), 1 deletion(-)
4209 commit ba652c1fd9dbef6d3ff57e39b400ea827374a95e
4210 Author: Simon Feltman <sfeltman@src.gnome.org>
4211 Date: Mon Apr 28 14:00:59 2014 -0700
4215 NEWS | 14 ++++++++++++++
4216 1 file changed, 14 insertions(+)
4218 commit 3a2bfc8bf01fcae386355bc3652780e198e54d49
4219 Author: Christoph Reiter <reiter.christoph@gmail.com>
4220 Date: Mon Apr 14 23:33:52 2014 +0200
4222 Raise TypeError if arguments are passed to Boxed.__init__
4224 This is a partial revert of
4225 https://git.gnome.org/browse/pygobject/commit/?id=2f2069c9efcd8
4226 which removed a type check in __new__. This adds it back
4227 into __init__. Overrides which define __new__ now have to
4228 filter out any arguments in __init__ and not the other way
4229 around, which is a bit less surprising in the common case.
4231 https://bugzilla.gnome.org/show_bug.cgi?id=727810
4233 gi/overrides/GLib.py | 6 ++++++
4234 gi/overrides/Gtk.py | 6 ++++++
4235 gi/overrides/Pango.py | 3 +++
4236 gi/pygi-boxed.c | 6 ++++++
4237 tests/test_gi.py | 4 ++++
4238 5 files changed, 25 insertions(+)
4240 commit 906977047df2fb2f394410e4ebf360b69af8dcfe
4241 Author: Christoph Reiter <reiter.christoph@gmail.com>
4242 Date: Mon Apr 14 15:40:50 2014 +0200
4244 Gdk.Event: Override __setattr__ to set fields based on the event type
4246 Pass the setting of attributes through to the underlying union based
4247 on event type. This mirrors the logic in __getattr__.
4249 https://bugzilla.gnome.org/show_bug.cgi?id=727810
4251 gi/overrides/Gdk.py | 7 +++++++
4252 tests/test_overrides_gdk.py | 13 ++++++++++---
4253 2 files changed, 17 insertions(+), 3 deletions(-)
4255 commit 78a0508a4d40e3723b36297ba2d42889dabc1cdd
4256 Author: Christoph Reiter <reiter.christoph@gmail.com>
4257 Date: Mon Apr 14 13:06:02 2014 +0200
4259 Gdk.Event: Include GdkEventType in __repr__
4261 https://bugzilla.gnome.org/show_bug.cgi?id=727810
4263 gi/overrides/Gdk.py | 4 ++++
4264 tests/test_overrides_gdk.py | 4 ++++
4265 2 files changed, 8 insertions(+)
4267 commit 23965455f060793ffcbc0d8288527d41a667579c
4268 Author: Simon Feltman <sfeltman@src.gnome.org>
4269 Date: Mon Apr 14 15:10:01 2014 -0700
4271 Fix crash with type checking for GObject arguments
4273 Ensure we have a valid GObject before attempting to call g_type_is_a.
4274 Swap conditional blocks to make if condition more readable.
4276 https://bugzilla.gnome.org/show_bug.cgi?id=727604
4278 gi/pygi-object.c | 19 ++++++++++---------
4279 tests/test_object_marshaling.py | 35 +++++++++++++++++++++++++++++++++++
4280 2 files changed, 45 insertions(+), 9 deletions(-)
4282 commit 2e853f6a31636d6a26ce91eb30be5bb0326474b1
4283 Author: Paolo Borelli <pborelli@gnome.org>
4284 Date: Sun Mar 30 18:27:59 2014 +0200
4286 Do not leak info of destroy notify
4288 gi/pygi-closure.c | 11 ++++++-----
4289 1 file changed, 6 insertions(+), 5 deletions(-)
4291 commit f9e504c79c5ef6e1938e4db5b49115689b9f5c3c
4292 Author: Simon Feltman <sfeltman@src.gnome.org>
4293 Date: Fri Mar 28 19:51:58 2014 -0700
4295 configure.ac: Update PyGObject wiki link in AC_INIT
4298 1 file changed, 1 insertion(+), 1 deletion(-)
4300 commit ee84b5a2c83d88436aec6b62e7a271a3525569e0
4301 Author: Simon Feltman <sfeltman@src.gnome.org>
4302 Date: Mon Mar 24 18:57:56 2014 -0700
4304 Ignore GValueArray deprecations
4306 Wrap calls to GValueArray related calls with
4307 G_GNUC_BEGIN/END_IGNORE_DEPRECATIONS.
4308 Although GValueArray is deprecated, we still need to support the
4310 them in PyGObject. The deprecations add noise to the build processes
4312 new warnings could be lost. Essentially losing the element of surprise
4314 warning should have on maintainers.
4316 gi/pygi-value.c | 23 ++++++++++++++++++++---
4317 tests/testhelpermodule.c | 3 +++
4318 2 files changed, 23 insertions(+), 3 deletions(-)
4320 commit ac8b59ee335967efef974ab0aa89128ade9f3d0c
4321 Author: Simon Feltman <sfeltman@src.gnome.org>
4322 Date: Mon Mar 24 18:09:10 2014 -0700
4324 Raise ImportError when importing modules not found in repository
4326 Raise an ImportError with extra information noting the typelib was not
4327 found. This removes the need to log a similar message which adds
4329 noise when attempting controlled imports within try/except statements.
4330 In Python 2, the additional information is lost but in Python 3 it
4333 https://bugzilla.gnome.org/show_bug.cgi?id=726877
4335 gi/importer.py | 9 ++++-----
4336 tests/test_import_machinery.py | 18 ++++++++++++++++++
4337 2 files changed, 22 insertions(+), 5 deletions(-)
4339 commit e604ada06a8ef8f9a06f0638cf183cfeacdc63a9
4340 Author: Simon Feltman <sfeltman@src.gnome.org>
4341 Date: Mon Mar 24 18:04:27 2014 -0700
4343 tests: Rename test_overrides to test_import_machinery
4345 Rename this test to better suit the contents of the file. This
4347 us a more concise location to grow other tests related to import
4351 https://bugzilla.gnome.org/show_bug.cgi?id=726877
4353 tests/Makefile.am | 2 +-
4354 tests/{test_overrides.py => test_import_machinery.py} | 0
4355 2 files changed, 1 insertion(+), 1 deletion(-)
4357 commit a863e5ec0ac27de49a0ae261fd3a78745cfe84a0
4358 Author: Simon Feltman <sfeltman@src.gnome.org>
4359 Date: Mon Mar 24 04:39:47 2014 -0700
4361 HACKING: Update branch creation instructions to include -b
4364 1 file changed, 1 insertion(+), 1 deletion(-)
4366 commit 1012cfd58c1d41dd6b040a2d14f395e5578f5e79
4367 Author: Simon Feltman <sfeltman@src.gnome.org>
4368 Date: Mon Mar 24 04:35:52 2014 -0700
4370 configure.ac: post release version bump to 3.13.1
4372 configure.ac | 4 ++--
4373 1 file changed, 2 insertions(+), 2 deletions(-)
4375 commit 45eda91eac2f6c8ab1a5c38808f96de760196e90
4376 Author: Simon Feltman <sfeltman@src.gnome.org>
4377 Date: Mon Mar 24 03:35:21 2014 -0700
4382 1 file changed, 2 insertions(+)
4384 commit 70020e9934abb39cbccfa49e582fb838465c0490
4385 Author: Simon Feltman <sfeltman@src.gnome.org>
4386 Date: Mon Mar 24 03:05:16 2014 -0700
4388 pre-release version bump to 3.12.0
4390 configure.ac | 4 ++--
4391 1 file changed, 2 insertions(+), 2 deletions(-)
4393 commit a9a08a0c11e8802cce539f869ea93e1b729e829e
4394 Author: Simon Feltman <sfeltman@src.gnome.org>
4395 Date: Mon Mar 17 15:17:12 2014 -0700
4397 configure.ac: post release version bump to 3.11.93
4400 1 file changed, 1 insertion(+), 1 deletion(-)
4402 commit 7283d50de8413e9450820543d0d8fd43e6c24b27
4403 Author: Simon Feltman <sfeltman@src.gnome.org>
4404 Date: Mon Mar 17 15:12:33 2014 -0700
4409 1 file changed, 6 insertions(+)
4411 commit b3b1f38af1ac1bda9d6a3ba50e9b6fa37ae48d96
4412 Author: Simon Feltman <sfeltman@src.gnome.org>
4413 Date: Mon Mar 17 14:55:52 2014 -0700
4415 configure.ac: Remove option to build without libffi
4417 We've always had a hard dependency on libffi headers.
4418 Commit 5798f94b6a727b93 added a direct module dependency on libffi
4419 instead of indirect via GI. Remove the option to build without libffi.
4421 configure.ac | 21 +++------------------
4422 1 file changed, 3 insertions(+), 18 deletions(-)
4424 commit 1a2438497ffc445fe3f9da06b15085f29317c4ee
4425 Author: Simon Feltman <sfeltman@src.gnome.org>
4426 Date: Sat Mar 15 00:50:14 2014 -0700
4428 docs: Standardize Python doc strings
4430 Use consistent doc string quotations (three double quotes).
4431 Update usage of GObject.GObject in docs to GObject.Object.
4432 Use reStructuredText markup for parameter annotations, instance
4434 admonitions, and code examples.
4435 This allows for better Sphinx documentation generation for the
4437 Preliminary style guide:
4438 https://wiki.gnome.org/Projects/PyGObject/StyleGuide
4440 gi/_option.py | 67 +++++++++++++++------------
4441 gi/_propertyhelper.py | 86 +++++++++++++++++-----------------
4442 gi/_signalhelper.py | 117
4443 ++++++++++++++++++++++++-----------------------
4444 gi/docstring.py | 17 ++++---
4445 gi/glibmodule.c | 3 +-
4446 gi/overrides/GLib.py | 20 ++++----
4447 gi/overrides/GObject.py | 39 ++++++++++------
4448 gi/overrides/Gtk.py | 28 ++++++++----
4449 gi/overrides/__init__.py | 66 +++++++++++++-------------
4451 10 files changed, 242 insertions(+), 203 deletions(-)
4453 commit 2d268ef661badabcb63e696dab01857d57cb3371
4454 Author: Simon Feltman <sfeltman@src.gnome.org>
4455 Date: Sat Mar 15 00:49:00 2014 -0700
4457 Quote argument names in initializer deprecation warning
4459 Add quotation marks around names of deprecated positional arguments.
4460 This makes the message clearer in stating what has been deprecated
4461 in cases when only a single argument is displayed.
4463 gi/overrides/__init__.py | 2 +-
4464 tests/test_gi.py | 6 +++---
4465 2 files changed, 4 insertions(+), 4 deletions(-)
4467 commit a070e712526e433c236753813acc3ef300f0d203
4468 Author: Simon Feltman <sfeltman@src.gnome.org>
4469 Date: Sat Mar 15 00:35:03 2014 -0700
4471 docs: Ignore meta-class bases in dynamic docstring generation
4473 Skip attempts at generating a doc string for GObject meta-class bases
4474 since they do not contain an __info__ attribute.
4475 This circumvents errors with documentation generators (Sphinx).
4477 gi/types.py | 7 ++++++-
4478 1 file changed, 6 insertions(+), 1 deletion(-)
4480 commit ec44dea6bbc3f1adfb6c1a2781364a2df0d0e0e6
4481 Author: Simon Feltman <sfeltman@src.gnome.org>
4482 Date: Thu Mar 13 10:13:34 2014 -0700
4484 Update Free Software Foundation addresses
4486 Update all references to the FSF physical address
4487 to use the web address: http://www.gnu.org/licenses
4489 gi/_constants.py | 4 +---
4490 gi/_gobject/__init__.py | 4 +---
4491 gi/_option.py | 4 +---
4492 gi/_propertyhelper.py | 4 +---
4493 gi/_signalhelper.py | 4 +---
4494 gi/glibmodule.c | 4 +---
4495 gi/gobjectmodule.c | 4 +---
4496 gi/overrides/keysyms.py | 4 +---
4497 gi/pygboxed.c | 4 +---
4498 gi/pygboxed.h | 4 +---
4499 gi/pygenum.c | 4 +---
4500 gi/pygenum.h | 4 +---
4501 gi/pygflags.c | 4 +---
4502 gi/pygflags.h | 4 +---
4503 gi/pygi-argument.c | 4 +---
4504 gi/pygi-argument.h | 4 +---
4505 gi/pygi-boxed.c | 4 +---
4506 gi/pygi-boxed.h | 4 +---
4507 gi/pygi-cache.c | 4 +---
4508 gi/pygi-cache.h | 4 +---
4509 gi/pygi-ccallback.c | 4 +---
4510 gi/pygi-ccallback.h | 4 +---
4511 gi/pygi-info.c | 4 +---
4512 gi/pygi-info.h | 4 +---
4513 gi/pygi-invoke.c | 4 +---
4514 gi/pygi-invoke.h | 4 +---
4515 gi/pygi-marshal-cleanup.c | 4 +---
4516 gi/pygi-marshal-cleanup.h | 4 +---
4517 gi/pygi-repository.c | 4 +---
4518 gi/pygi-repository.h | 4 +---
4519 gi/pygi-signal-closure.c | 4 +---
4520 gi/pygi-struct.c | 4 +---
4521 gi/pygi-struct.h | 4 +---
4522 gi/pygi-type.c | 4 +---
4523 gi/pygi-type.h | 4 +---
4525 gi/pyginterface.c | 4 +---
4526 gi/pyginterface.h | 4 +---
4527 gi/pyglib-private.h | 4 +---
4528 gi/pyglib-python-compat.h | 4 +---
4529 gi/pyglib.c | 4 +---
4530 gi/pyglib.h | 4 +---
4531 gi/pygobject-external.h | 4 +---
4532 gi/pygobject.c | 4 +---
4533 gi/pygoptioncontext.c | 4 +---
4534 gi/pygoptioncontext.h | 4 +---
4535 gi/pygoptiongroup.c | 4 +---
4536 gi/pygoptiongroup.h | 4 +---
4537 gi/pygparamspec.c | 4 +---
4538 gi/pygparamspec.h | 4 +---
4539 gi/pygpointer.c | 4 +---
4540 gi/pygpointer.h | 4 +---
4541 gi/pygspawn.c | 4 +---
4542 gi/pygspawn.h | 4 +---
4543 gi/pygtype.c | 4 +---
4544 gi/pygtype.h | 4 +---
4545 pygtkcompat/generictreemodel.py | 4 +---
4546 tests/test_generictreemodel.py | 4 +---
4547 58 files changed, 58 insertions(+), 174 deletions(-)
4549 commit bbfcebdfdc5e574999221b60520422ea6da82435
4550 Author: Owen W. Taylor <otaylor@fishsoup.net>
4551 Date: Wed Mar 12 18:32:47 2014 -0400
4553 Handle GI_TRANSFER_EVERYTHING for returns of foreign structures
4555 Any (transfer full) return of a cairo type other than a path
4558 Pass the transfer type PyGIArgOverrideFromGIArgumentFunc and handle
4559 it for the cairo foreign type. For paths we can only handle
4560 (transfer full) so throw an error for (transfer none).
4562 https://bugzilla.gnome.org/show_bug.cgi?id=726206
4564 gi/pygi-foreign-cairo.c | 32 +++++++++++++++++++++++++-------
4565 gi/pygi-foreign.c | 3 ++-
4566 gi/pygi-foreign.h | 1 +
4567 gi/pygi-invoke.c | 1 +
4568 gi/pygi-struct-marshal.c | 1 +
4570 6 files changed, 31 insertions(+), 8 deletions(-)
4572 commit c5b641cb4eea9ae64a173dcaa4ee5a4accb036f6
4573 Author: Simon Feltman <sfeltman@src.gnome.org>
4574 Date: Mon Mar 3 15:20:02 2014 -0800
4576 configure.ac: post release version bump to 3.11.92
4579 1 file changed, 1 insertion(+), 1 deletion(-)
4581 commit 7816531691a3db3ae1fe74abc85ac37988b67d2b
4582 Author: Simon Feltman <sfeltman@src.gnome.org>
4583 Date: Mon Mar 3 15:16:43 2014 -0800
4588 1 file changed, 7 insertions(+)
4590 commit 1a63a04eaf2a77c1752b90e80ab571677f27ac3d
4591 Author: Simon Feltman <sfeltman@src.gnome.org>
4592 Date: Mon Mar 3 06:49:09 2014 -0800
4594 build: Update release-news to use srcdir
4596 Use $(top_srcdir)/NEWS for pulling in news items to ensure
4597 "make release-news" works in a vpath build environment.
4600 1 file changed, 1 insertion(+), 1 deletion(-)
4602 commit 5798f94b6a727b930b07fe840b0aef264f98a80e
4603 Author: Simon Feltman <sfeltman@src.gnome.org>
4604 Date: Fri Feb 7 20:16:21 2014 -0800
4606 Use ffi_call directly instead of g_callable_info_invoke
4608 Cleanup internal callable cache and state tracking by removing
4610 counting schemes for differently sized "in" and "out" argument arrays.
4611 Use a single count based on the total number of arguments passed to C
4612 (inclusive of instance argument and GError exception where
4614 Size all state tracking arrays to the same size and ensure argument
4616 indices always line up with these arrays. This cleans up logic
4618 required by g_callable_info_invoke for splitting "in" and "out"
4622 Cleanup array marshaling which can now rely on the new scheme
4624 the "arg_values" array always points to the correct location for
4628 Cache the ffi_cif struct in PyGICallableCache via GIFunctionInvoker
4630 related GI methods. Overall, these changes can give a performance
4632 almost 2x for simple function calls (see ticket for micro benchmarks).
4634 https://bugzilla.gnome.org/show_bug.cgi?id=723642
4636 gi/pygi-array.c | 26 ++---
4637 gi/pygi-cache.c | 61 +++++++++--
4638 gi/pygi-cache.h | 10 +-
4639 gi/pygi-ccallback.c | 3 +-
4640 gi/pygi-closure.c | 6 +-
4641 gi/pygi-invoke-state-struct.h | 42 +++++---
4642 gi/pygi-invoke.c | 241
4643 +++++++++++++++++++++++-------------------
4644 gi/pygi-invoke.h | 2 +-
4645 gi/pygi-marshal-cleanup.c | 4 +-
4646 9 files changed, 230 insertions(+), 165 deletions(-)
4648 commit ad680ae9c37a0091628a7d66010fbf70aa1a2e43
4649 Author: Simon Feltman <sfeltman@src.gnome.org>
4650 Date: Mon Mar 3 04:51:09 2014 -0800
4652 tests: Move class definition depending on GTK+ within function
4655 Move the definition of WindowWithSizeAllocOverride inside of the test
4656 function call to so it is lazily defined. This avoids problems
4658 on systems without GTK+ installed.
4660 tests/test_overrides_gtk.py | 32 ++++++++++++++++----------------
4661 1 file changed, 16 insertions(+), 16 deletions(-)
4663 commit 45d45e7c2704d68a3008f739e501fa332d326b8b
4664 Author: Simon Feltman <sfeltman@src.gnome.org>
4665 Date: Mon Mar 3 04:45:59 2014 -0800
4667 tests: Conditionalize usage of GTK+ in tests_generictreemodel
4669 This allows running make check without GTK+ installed.
4671 tests/test_generictreemodel.py | 16 +++++++++++++---
4672 1 file changed, 13 insertions(+), 3 deletions(-)
4674 commit 038563ed620e0d966e385a1779455d9b0e148c41
4675 Author: Simon Feltman <sfeltman@src.gnome.org>
4676 Date: Mon Mar 3 04:39:35 2014 -0800
4678 tests: Conditionalize usage of regress typelib in test_properties
4680 Unconditional usage of regress breaks tests when PyGObject is
4684 tests/test_properties.py | 27 +++++++++++++++++----------
4685 1 file changed, 17 insertions(+), 10 deletions(-)
4687 commit 1fa93ddc51b2d223d772aee7930fc96c0ced0e00
4688 Author: Simon Feltman <sfeltman@src.gnome.org>
4689 Date: Mon Mar 3 02:44:12 2014 -0800
4691 configure.ac: Use -std=c90 and error on declaration-after-statement
4693 Replace gcc option of -std=c9x with c90 and add
4694 -Werror=declaration-after-statement
4695 This ensures we keep compatibility with msvc builds.
4697 configure.ac | 3 ++-
4698 1 file changed, 2 insertions(+), 1 deletion(-)
4700 commit cee414ab5725c51d79a2c6aa1e8760e9fd754545
4701 Author: Simon Feltman <sfeltman@src.gnome.org>
4702 Date: Mon Mar 3 02:38:30 2014 -0800
4704 Use g_snprintf instead of snprintf
4706 Use g_snprintf for consistency with the rest of gobjectmodule.c
4708 gi/gobjectmodule.c | 2 +-
4709 1 file changed, 1 insertion(+), 1 deletion(-)
4711 commit b016ae6793839b2a6a00a69d00de30937bc611be
4712 Author: Simon Feltman <sfeltman@src.gnome.org>
4713 Date: Thu Feb 27 04:27:41 2014 -0800
4715 Use C style comments
4717 Update various locations which use C99 single line comments to
4719 C90 style comments. Found with: make CFLAGS="-std=C90"
4721 gi/gimodule.c | 2 +-
4722 gi/pygi-array.c | 3 ++-
4723 gi/pygi-property.c | 2 +-
4725 4 files changed, 5 insertions(+), 4 deletions(-)
4727 commit df7cba1495c167f1019dec7f4398dc5de62a5937
4728 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
4729 Date: Tue Feb 25 14:38:41 2014 +0800
4731 Fix Build on Visual Studio
4733 Some items from pygi-enum-marshal.c were moved to pygi-basictype.c,
4735 included the use of the NAN and INFINITY macros/constants, so the
4736 definitions for those need to be moved to pygi-basictype.c as well.
4738 avoid defining a variable in the middle of the block.
4740 https://bugzilla.gnome.org/show_bug.cgi?id=725122
4742 gi/pygi-basictype.c | 16 ++++++++++++++++
4743 gi/pygi-cache.c | 3 ++-
4744 gi/pygi-enum-marshal.c | 16 ----------------
4745 3 files changed, 18 insertions(+), 17 deletions(-)
4747 commit bb5550bc85ac0ff60ea39912416e347f27853fb4
4748 Author: Simon Feltman <sfeltman@src.gnome.org>
4749 Date: Mon Feb 17 17:22:40 2014 -0800
4751 Update release steps to be more explicit in regards to NEWS
4753 Add an explicit step to commit the NEWS changes and push prior
4756 HACKING | 11 ++++++-----
4757 1 file changed, 6 insertions(+), 5 deletions(-)
4759 commit c6ac95286bce858f1925a9d6173a91866d7e9f88
4760 Author: Simon Feltman <sfeltman@src.gnome.org>
4761 Date: Mon Feb 17 17:18:10 2014 -0800
4763 configure.ac: post release version bump to 3.11.91
4766 1 file changed, 1 insertion(+), 1 deletion(-)
4768 commit f87e341c5528d066371d4ec493956db28dd0bafa
4769 Author: Simon Feltman <sfeltman@src.gnome.org>
4770 Date: Mon Feb 17 17:08:13 2014 -0800
4775 1 file changed, 4 insertions(+)
4777 commit 9b345b153e86ca6c9b7290cf2ad3b38f6ad9d0e5
4778 Author: Simon Feltman <sfeltman@src.gnome.org>
4779 Date: Wed Feb 12 10:28:35 2014 -0800
4781 Use GObject type checking for instance arguments
4783 Add a g_type_is_a check to interface/object instance arguments
4785 to the Python IsInstance check. This loosens restrictions on
4787 don't use gi.overrides.override() and is needed to keep API
4789 which broke with commit:
4790 https://git.gnome.org/browse/pygobject/commit/?id=d5925b76
4792 https://bugzilla.gnome.org/show_bug.cgi?id=724009
4794 gi/pygi-object.c | 6 +++++-
4795 1 file changed, 5 insertions(+), 1 deletion(-)
4797 commit 419e13e1717b725d5c6815bae9672649b0afddd4
4798 Author: Simon Feltman <sfeltman@src.gnome.org>
4799 Date: Mon Feb 3 15:58:30 2014 -0800
4801 configure.ac: post release version bump to 3.11.90
4804 1 file changed, 1 insertion(+), 1 deletion(-)
4806 commit 57bceaac1d84ffd03f49d8e83a4c8507c9127a41
4807 Author: Simon Feltman <sfeltman@src.gnome.org>
4808 Date: Mon Feb 3 15:51:27 2014 -0800
4812 NEWS | 16 ++++++++++++++++
4813 1 file changed, 16 insertions(+)
4815 commit 058d944e3b9ef9157e912e6374b54a2eb5f7f5d1
4816 Author: Simon Feltman <sfeltman@src.gnome.org>
4817 Date: Mon Feb 3 06:45:09 2014 -0800
4819 Restore pygobject_version API needed for pygobject.h
4821 Add gi._gobject.pygobject_version which was removed with commit:
4822 https://git.gnome.org/browse/pygobject/commit/?id=2624bd2b
4823 This is needed for pygobject.h to function properly.
4825 gi/_gobject/__init__.py | 1 +
4826 1 file changed, 1 insertion(+)
4828 commit f3be4cedcb1d395a3fabee95d7460bce86268153
4829 Author: Simon Feltman <sfeltman@src.gnome.org>
4830 Date: Mon Feb 3 06:29:07 2014 -0800
4832 cache refactoring: Add comments to arg cache setup functions
4834 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4836 gi/pygi-cache.c | 36 ++++++++++++++++++++++++++++++++++++
4837 1 file changed, 36 insertions(+)
4839 commit 56ac6bd9ed99d6bb2cb8641581a594105036be68
4840 Author: Simon Feltman <sfeltman@src.gnome.org>
4841 Date: Mon Feb 3 06:24:18 2014 -0800
4843 cache refactoring: Use consistent prefix for arg cache functions
4845 Use "pygi_arg_cache" as the prefix for arg cache memory related
4848 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4850 gi/pygi-array.c | 6 ++--
4851 gi/pygi-basictype.c | 4 +--
4852 gi/pygi-cache.c | 74
4853 ++++++++++++++++++++++++------------------------
4854 gi/pygi-cache.h | 58 ++++++++++++++++++++-----------------
4855 gi/pygi-ccallback.c | 2 +-
4856 gi/pygi-closure.c | 6 ++--
4857 gi/pygi-enum-marshal.c | 4 +--
4858 gi/pygi-error.c | 4 +--
4859 gi/pygi-hashtable.c | 30 ++++++++++----------
4860 gi/pygi-info.c | 2 +-
4861 gi/pygi-invoke.c | 2 +-
4862 gi/pygi-list.c | 2 +-
4863 gi/pygi-object.c | 2 +-
4864 gi/pygi-struct-marshal.c | 2 +-
4865 14 files changed, 102 insertions(+), 96 deletions(-)
4867 commit 204f5a187782c5325ed6bed96c9a940f3aa67d04
4868 Author: Simon Feltman <sfeltman@src.gnome.org>
4869 Date: Sun Jan 12 12:26:30 2014 -0800
4871 marshal refactoring: Move GValue marshaling from pytype into
4874 Move marshaling of GValues to and from PyObjects into
4876 PyGTypeMarshal struct and related functions accessible via pygtype.h.
4878 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4880 gi/gobjectmodule.c | 2 +
4881 gi/pygi-struct-marshal.c | 1 +
4882 gi/pygi-value.c | 720
4883 +++++++++++++++++++++++++++++++++++++++++++++-
4884 gi/pygi-value.h | 12 +
4885 gi/pygobject-private.h | 16 --
4886 gi/pygobject.c | 2 +-
4888 +----------------------------------------------
4889 gi/pygtype.h | 17 ++
4890 8 files changed, 757 insertions(+), 741 deletions(-)
4892 commit b8120d848dc5d36832123b1a913015f6e1fd8cdc
4893 Author: Simon Feltman <sfeltman@src.gnome.org>
4894 Date: Sun Jan 12 11:41:20 2014 -0800
4896 marshal refactoring: Move GIArgument from GValue code to new file
4898 Add gi/pygi-value.h and .c files with initial contents of
4899 _pygi_argument_from_g_value. Eventually this file will contain
4901 related to GValue marshaling from various code locations in the
4904 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4906 gi/Makefile.am | 2 +
4907 gi/pygi-argument.c | 126 +----------------------------------------
4908 gi/pygi-argument.h | 3 -
4909 gi/pygi-signal-closure.c | 1 +
4910 gi/pygi-value.c | 144
4911 +++++++++++++++++++++++++++++++++++++++++++++++
4912 gi/pygi-value.h | 32 +++++++++++
4913 6 files changed, 180 insertions(+), 128 deletions(-)
4915 commit c2d5857e9b964427190e1230be32ae7919e86bc0
4916 Author: Simon Feltman <sfeltman@src.gnome.org>
4917 Date: Sat Oct 12 21:26:55 2013 -0700
4919 cache refactoring: Move enum and flags arg setup and marshaling to
4922 Move enum and flags argument cache setup and marshaling fragments into
4923 isolated file: pygi-enum-marshal.c. Remove pygi-marshal-from/to files.
4925 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4927 gi/Makefile.am | 6 +-
4928 gi/pygi-argument.c | 2 -
4929 gi/pygi-cache.c | 74 ++-------
4930 gi/pygi-enum-marshal.c | 408
4931 ++++++++++++++++++++++++++++++++++++++++++++++
4932 gi/pygi-enum-marshal.h | 42 +++++
4933 gi/pygi-marshal-from-py.c | 206 -----------------------
4934 gi/pygi-marshal-from-py.h | 57 -------
4935 gi/pygi-marshal-to-py.c | 152 -----------------
4936 gi/pygi-marshal-to-py.h | 34 ----
4937 9 files changed, 464 insertions(+), 517 deletions(-)
4939 commit 1d0f120d77582509b4e75d83f500a1ace7ed6421
4940 Author: Simon Feltman <sfeltman@src.gnome.org>
4941 Date: Sat Oct 12 20:00:12 2013 -0700
4943 cache refactoring: Move various struct arg setup and marshaling to
4946 Move struct (boxed, union, gvalue, gclosure, variant, and pointer)
4948 cache setup and marshaling fragments into isolated file:
4949 pygi-struct-marshal.c.
4950 Remove redundant and dead code related to boxed and union marshaling.
4952 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4954 gi/Makefile.am | 2 +
4955 gi/pygi-argument.c | 1 +
4956 gi/pygi-array.c | 3 +
4957 gi/pygi-cache.c | 72 +------
4958 gi/pygi-cache.h | 1 +
4959 gi/pygi-marshal-cleanup.c | 48 -----
4960 gi/pygi-marshal-cleanup.h | 16 --
4961 gi/pygi-marshal-from-py.c | 288 --------------------------
4962 gi/pygi-marshal-from-py.h | 33 ---
4963 gi/pygi-marshal-to-py.c | 120 -----------
4964 gi/pygi-marshal-to-py.h | 27 ---
4965 gi/pygi-object.c | 2 +-
4966 gi/pygi-struct-marshal.c | 516
4967 ++++++++++++++++++++++++++++++++++++++++++++++
4968 gi/pygi-struct-marshal.h | 73 +++++++
4969 14 files changed, 607 insertions(+), 595 deletions(-)
4971 commit 4dcaa2b988239e01224994098c3e7cbe8b455fe0
4972 Author: Simon Feltman <sfeltman@src.gnome.org>
4973 Date: Sat Oct 12 16:40:58 2013 -0700
4975 cache refactoring: Move GObject arg setup and marshaling into new file
4977 Move GObject argument cache setup and marshaling fragments into
4978 isolated file: pygi-object.c.
4979 Break GIInterfaceCache creation and setup into API for interface based
4980 argument cache usage.
4982 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4984 gi/Makefile.am | 2 +
4985 gi/pygi-argument.c | 7 +-
4986 gi/pygi-cache.c | 183 ++++++++++++++-----------------
4987 gi/pygi-cache.h | 7 ++
4988 gi/pygi-marshal-cleanup.c | 27 -----
4989 gi/pygi-marshal-cleanup.h | 10 --
4990 gi/pygi-marshal-from-py.c | 123 ---------------------
4991 gi/pygi-marshal-from-py.h | 12 --
4992 gi/pygi-marshal-to-py.c | 31 ------
4993 gi/pygi-marshal-to-py.h | 8 --
4994 gi/pygi-object.c | 273
4995 ++++++++++++++++++++++++++++++++++++++++++++++
4996 gi/pygi-object.h | 46 ++++++++
4997 12 files changed, 416 insertions(+), 313 deletions(-)
4999 commit 2cddba811592fbb990322fbf2dce516ffd7e94cd
5000 Author: Simon Feltman <sfeltman@src.gnome.org>
5001 Date: Sat Oct 12 12:39:20 2013 -0700
5003 cache refactoring: Move closure setup and marshaling into pygi-closure
5005 Move closure argument caching and marshaling fragments into
5008 https://bugzilla.gnome.org/show_bug.cgi?id=709700
5010 gi/pygi-cache.c | 111 ++--------------
5011 gi/pygi-cache.h | 9 --
5012 gi/pygi-closure.c | 314
5013 +++++++++++++++++++++++++++++++++++++++++++++-
5014 gi/pygi-closure.h | 13 +-
5015 gi/pygi-marshal-cleanup.c | 14 ---
5016 gi/pygi-marshal-cleanup.h | 5 -
5017 gi/pygi-marshal-from-py.c | 160 -----------------------
5018 gi/pygi-marshal-from-py.h | 6 -
5019 gi/pygi-marshal-to-py.c | 13 --
5020 gi/pygi-marshal-to-py.h | 4 -
5021 10 files changed, 333 insertions(+), 316 deletions(-)
5023 commit 18d8274724484a27e05d2e60baac1f20c72b6d2b
5024 Author: Simon Feltman <sfeltman@src.gnome.org>
5025 Date: Sat Oct 12 11:30:36 2013 -0700
5027 cache refactoring: Move GError arg setup and marshaling to new file
5029 Move GError argument caching and marshaling fragments into
5030 isolated file: pygi-error.c.
5032 https://bugzilla.gnome.org/show_bug.cgi?id=709700
5034 gi/Makefile.am | 2 +
5035 gi/pygi-cache.c | 93 ++++++++++++---------------------------
5036 gi/pygi-error.c | 109
5037 ++++++++++++++++++++++++++++++++++++++++++++++
5038 gi/pygi-error.h | 35 +++++++++++++++
5039 gi/pygi-marshal-from-py.c | 13 ------
5040 gi/pygi-marshal-from-py.h | 6 ---
5041 gi/pygi-marshal-to-py.c | 22 ----------
5042 gi/pygi-marshal-to-py.h | 4 --
5043 8 files changed, 174 insertions(+), 110 deletions(-)
5045 commit c45cafd07fc62ad545f3e58f2b7350ee4b2bb9b7
5046 Author: Simon Feltman <sfeltman@src.gnome.org>
5047 Date: Sat Oct 12 03:07:53 2013 -0700
5049 cache refactoring: Move GArray arg setup and marshaling into new file
5051 Move GArray argument caching and marshaling fragments into an
5052 isolated file: pygi-array.c.
5054 https://bugzilla.gnome.org/show_bug.cgi?id=709700
5056 gi/Makefile.am | 2 +
5057 gi/pygi-array.c | 906
5058 ++++++++++++++++++++++++++++++++++++++++++++++
5059 gi/pygi-array.h | 42 +++
5060 gi/pygi-cache.c | 236 +-----------
5061 gi/pygi-marshal-cleanup.c | 150 --------
5062 gi/pygi-marshal-cleanup.h | 10 -
5063 gi/pygi-marshal-from-py.c | 354 ------------------
5064 gi/pygi-marshal-from-py.h | 6 -
5065 gi/pygi-marshal-to-py.c | 210 -----------
5066 gi/pygi-marshal-to-py.h | 4 -
5067 10 files changed, 963 insertions(+), 957 deletions(-)
5069 commit 4697a3793b46a803c6dbef749ba75c0fee80020d
5070 Author: Simon Feltman <sfeltman@src.gnome.org>
5071 Date: Fri Oct 11 23:26:08 2013 -0700
5073 cache refactoring: Move GList/GSList arg setup and marshaling into
5076 Move GList and GSList argument caching and marshaling fragments
5078 isolated file: pygi-list.c.
5080 https://bugzilla.gnome.org/show_bug.cgi?id=709700
5082 gi/Makefile.am | 2 +
5083 gi/pygi-cache.c | 71 ++-----
5084 gi/pygi-list.c | 466
5085 ++++++++++++++++++++++++++++++++++++++++++++++
5086 gi/pygi-list.h | 38 ++++
5087 gi/pygi-marshal-cleanup.c | 80 --------
5088 gi/pygi-marshal-cleanup.h | 10 -
5089 gi/pygi-marshal-from-py.c | 156 ----------------
5090 gi/pygi-marshal-from-py.h | 12 --
5091 gi/pygi-marshal-to-py.c | 98 ----------
5092 gi/pygi-marshal-to-py.h | 8 -
5093 10 files changed, 517 insertions(+), 424 deletions(-)
5095 commit c48ddacf4479d2cf80beb9c614cdce2a61599b3b
5096 Author: Simon Feltman <sfeltman@src.gnome.org>
5097 Date: Fri Oct 11 21:30:45 2013 -0700
5099 cache refactoring: Break sequence cache up for array vs list
5101 Add new arg cache type specialized for arrays. This cleans up
5103 sequence cache type which does not need length and size related
5105 fixed length checks from GList and GSList from_py marshaling
5109 https://bugzilla.gnome.org/show_bug.cgi?id=709700
5111 gi/pygi-cache.c | 160
5112 +++++++++++++++++++++++++++++++++++-----------
5113 gi/pygi-cache.h | 16 ++++-
5114 gi/pygi-invoke.c | 4 +-
5115 gi/pygi-marshal-cleanup.c | 28 ++++----
5116 gi/pygi-marshal-from-py.c | 37 ++++-------
5117 gi/pygi-marshal-to-py.c | 23 +++----
5118 6 files changed, 177 insertions(+), 91 deletions(-)
5120 commit c1a2a86a7b51f4dc5a5da9f8808552c38acadf9d
5121 Author: Simon Feltman <sfeltman@src.gnome.org>
5122 Date: Fri Oct 11 20:12:01 2013 -0700
5124 cache refactoring: Move basic type arg setup and marshaling into
5127 Move all basic type arg caching and marshaling fragments into
5129 file where most functions are made static. pygi-basictype.h exposes:
5130 pygi_arg_basic_type_new_from_info, _pygi_marshal_from_py_basic_type,
5132 _pygi_marshal_to_py_basic_type which allows continued use for all
5136 https://bugzilla.gnome.org/show_bug.cgi?id=709700
5138 gi/Makefile.am | 2 +
5139 gi/pygi-argument.c | 1 +
5140 gi/pygi-basictype.c | 824
5141 ++++++++++++++++++++++++++++++++++++++++++++++
5142 gi/pygi-basictype.h | 42 +++
5143 gi/pygi-cache.c | 82 +----
5144 gi/pygi-cache.h | 1 +
5145 gi/pygi-marshal-cleanup.c | 26 --
5146 gi/pygi-marshal-cleanup.h | 10 -
5147 gi/pygi-marshal-from-py.c | 478 ---------------------------
5148 gi/pygi-marshal-from-py.h | 18 -
5149 gi/pygi-marshal-to-py.c | 155 ---------
5150 gi/pygi-marshal-to-py.h | 11 -
5151 12 files changed, 880 insertions(+), 770 deletions(-)
5153 commit 4a6bf3be49cc5aec7287c41ec02c78d60df1d44c
5154 Author: Simon Feltman <sfeltman@src.gnome.org>
5155 Date: Fri Oct 11 17:39:31 2013 -0700
5157 cache refactoring: Move PyGIHashCache and related marshaling into
5160 Re-organize hash table arg cache and its marshaling by moving all
5161 related code fragments into an isolated file where most of it is made
5162 static. pygi-hashtable.h exposes a single function:
5163 pygi_arg_hash_table_new_from_info. This is all the caching system
5165 produce the proper bits for handling hash table marshaling.
5167 https://bugzilla.gnome.org/show_bug.cgi?id=709700
5169 gi/Makefile.am | 4 +-
5170 gi/pygi-cache.c | 103 +-----------
5171 gi/pygi-cache.h | 21 ++-
5172 gi/pygi-hashtable.c | 413
5173 ++++++++++++++++++++++++++++++++++++++++++++++
5174 gi/pygi-hashtable.h | 35 ++++
5175 gi/pygi-marshal-cleanup.c | 63 -------
5176 gi/pygi-marshal-cleanup.h | 10 --
5177 gi/pygi-marshal-from-py.c | 125 --------------
5178 gi/pygi-marshal-from-py.h | 6 -
5179 gi/pygi-marshal-to-py.c | 85 ----------
5180 gi/pygi-marshal-to-py.h | 4 -
5181 11 files changed, 471 insertions(+), 398 deletions(-)
5183 commit 983d0c2252f91e63d5fa0222ef2b67722cb97434
5184 Author: Simon Feltman <sfeltman@src.gnome.org>
5185 Date: Fri Oct 11 15:49:32 2013 -0700
5187 cache refactoring: Separate ArgCache creation and setup
5189 Move PyGIArgCache and PyGIInterfaceCache generic setup into standalone
5190 functions: pygi_arg_base_setup and pygi_arg_interface_setup
5192 Shift argument order and move arguments which will eventually
5194 from the signature into the tail with comment. Isolate special
5196 GI_INFO_TYPE_CALLBACK ArgCache creation to a single location in
5197 _arg_cache_new_for_interface.
5199 https://bugzilla.gnome.org/show_bug.cgi?id=709700
5201 gi/pygi-cache.c | 263
5202 ++++++++++++++++++++++++++++++++------------------------
5203 gi/pygi-cache.h | 15 ++++
5204 2 files changed, 167 insertions(+), 111 deletions(-)
5206 commit 0af98aca40fe266d1fd93caaa7256bb92ba1d3e4
5207 Author: Simon Feltman <sfeltman@src.gnome.org>
5208 Date: Sun Feb 2 15:52:24 2014 -0800
5210 tests: Add skip and expectedFailure to test_gi.test_callback_owned_box
5212 https://bugzilla.gnome.org/show_bug.cgi?id=722899
5214 tests/test_gi.py | 3 +++
5215 1 file changed, 3 insertions(+)
5217 commit e79d2acc54c1e3b052835de5de20feb0b7069476
5218 Author: Mike Gorse <mgorse@suse.com>
5219 Date: Fri Jan 24 05:17:06 2014 -0600
5221 tests: Add test for an owned boxed struct passed in a callback
5223 https://bugzilla.gnome.org/show_bug.cgi?id=722899
5225 tests/test_gi.py | 11 +++++++++++
5226 1 file changed, 11 insertions(+)
5228 commit b12ceed8cc5fa398cea2061813aac6a5ba100b6f
5229 Author: Simon Feltman <sfeltman@src.gnome.org>
5230 Date: Thu Jan 23 17:19:12 2014 -0800
5232 Rename gi.types.GIObjectMeta to gi.types.GObjectMeta
5234 Rename GIObjectMeta to GObjectMeta reverting it to its original
5236 to commit https://git.gnome.org/browse/pygobject/commit/?id=2624bd2b
5237 That change could have been considered an API break for anyone
5239 gi.types.GObjectMeta since it is essentially public API. Rename
5241 class to _GObjectMetaBase which was previously gi._gobject before
5242 commit 2624bd2b (private API).
5244 gi/module.py | 8 ++++----
5245 gi/types.py | 10 +++++-----
5246 2 files changed, 9 insertions(+), 9 deletions(-)
5248 commit 15fdd827ce4bff847fb35c817c6ea2d3650eec00
5249 Author: Patrick Welche <prlw1@cam.ac.uk>
5250 Date: Thu Jan 23 23:49:51 2014 +0000
5252 build: Add --without-common configure option for package maintainers
5254 https://bugzilla.gnome.org/show_bug.cgi?id=721646
5257 configure.ac | 7 +++++++
5258 gi/Makefile.am | 2 ++
5259 3 files changed, 11 insertions(+)
5261 commit df21dbbc84fa319af2a0f0664de436ca30df616e
5262 Author: Simon Feltman <sfeltman@src.gnome.org>
5263 Date: Thu Jan 16 16:33:41 2014 -0800
5265 tests: Add skipped test for GLib.Source inheritance problems
5267 Add test showing memory problems with sub-classes of GLib.Source.
5269 https://bugzilla.gnome.org/show_bug.cgi?id=722387
5271 tests/test_source.py | 45 +++++++++++++++++++++++++++++++++++++++++++++
5272 1 file changed, 45 insertions(+)
5274 commit 7222a37a4b4955fe6c1dcc86e0eb798d653711e8
5275 Author: Simon Feltman <sfeltman@src.gnome.org>
5276 Date: Wed Jan 15 12:51:57 2014 -0800
5278 Fix reference sharing of gi sub-modules in Python 2
5280 Ensure we add a new reference to sub-modules added to gi._gi. This may
5281 have caused GC errors upon exiting the Python process since a
5283 shared by sys.modules and gi._gi.
5285 https://bugzilla.gnome.org/show_bug.cgi?id=722274
5287 gi/gimodule.c | 11 +++++++++++
5288 1 file changed, 11 insertions(+)
5290 commit 8c838b683220bcbf2091bba97b91ddb56b275aed
5291 Author: Simon Feltman <sfeltman@src.gnome.org>
5292 Date: Tue Jan 14 23:46:44 2014 -0800
5294 demo: Add TreeModel interface implementation demonstration
5296 Add demo which shows how to implement the Gtk.TreeModel interfaces
5300 demos/gtk-demo/demos/TreeView/treemodel_large.py | 143
5301 +++++++++++++++++++++++
5302 1 file changed, 143 insertions(+)
5304 commit 911898bac5d0ad5a42ed9990588bd98871f4a8a4
5305 Author: Simon Feltman <sfeltman@src.gnome.org>
5306 Date: Tue Jan 14 23:33:16 2014 -0800
5308 demo: Remove "Icon View" and "Tree View" directories
5310 demos/gtk-demo/demos/Icon View/__init__.py | 0
5311 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 220 ----------------
5312 demos/gtk-demo/demos/Icon View/iconviewedit.py | 98 --------
5313 demos/gtk-demo/demos/Tree View/__init__.py | 0
5314 demos/gtk-demo/demos/Tree View/liststore.py | 210 ----------------
5315 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 234
5317 .../gtk-demo/demos/Tree View/treemodel_filetree.py | 279
5318 ---------------------
5319 7 files changed, 1041 deletions(-)
5321 commit f89fa08ba756a1c529ff48beb39025f834a249bf
5322 Author: Simon Feltman <sfeltman@src.gnome.org>
5323 Date: Tue Jan 14 23:08:33 2014 -0800
5325 demo: Remove spaces from demo sub-directories
5327 Move "Icon View" to IconView and "Tree View" to TreeView. This
5329 ability to package the demos in tarball releases in future versions.
5331 demos/gtk-demo/demos/IconView/__init__.py | 0
5332 demos/gtk-demo/demos/IconView/iconviewbasics.py | 220 ++++++++++++++++
5333 demos/gtk-demo/demos/IconView/iconviewedit.py | 98 ++++++++
5334 demos/gtk-demo/demos/TreeView/__init__.py | 0
5335 demos/gtk-demo/demos/TreeView/liststore.py | 210 ++++++++++++++++
5336 .../gtk-demo/demos/TreeView/treemodel_filelist.py | 234
5338 .../gtk-demo/demos/TreeView/treemodel_filetree.py | 279
5339 +++++++++++++++++++++
5340 7 files changed, 1041 insertions(+)
5342 commit 0b7d85f3379adfb3cf1122588e333707ee089e46
5343 Author: Simon Feltman <sfeltman@src.gnome.org>
5344 Date: Tue Jan 14 14:28:52 2014 -0800
5346 build: Remove _glib directory include from testhelper CFLAGS
5348 tests/Makefile.am | 2 +-
5349 1 file changed, 1 insertion(+), 1 deletion(-)
5351 commit 35b5a85aad91f48935dd49fee60d69e6184eff2c
5352 Author: Colin Walters <walters@verbum.org>
5353 Date: Tue Jan 14 16:33:38 2014 -0500
5355 build: Set PLATFORM_VERSION again to 3.0
5357 We are installing headers to:
5358 /usr/include/pygobject-$(PLATFORM_VERSION)/pygobject.h
5360 If the variable isn't set, then things attempting to use pygobject
5363 This was a regression from a build system refactoring.
5365 gi/Makefile.am | 2 ++
5366 1 file changed, 2 insertions(+)
5368 commit f2a79904ff4d60bff657bfbfd6a2ce8ab9307848
5369 Author: Simon Feltman <sfeltman@src.gnome.org>
5370 Date: Tue Jan 14 12:54:42 2014 -0800
5372 Fix Python 2 build warning for module definitions
5374 Define PYGLIB_MODULE_ERROR_RETURN as NULL for both Python 2 and
5376 needed now that the function signature created with
5377 PYGLIB_MODULE_START is
5378 consistent between the two versions.
5380 gi/pyglib-python-compat.h | 5 ++---
5381 1 file changed, 2 insertions(+), 3 deletions(-)
5383 commit 61b4af05646a8f014cfb00a5507fec2deb9aafa6
5384 Author: Simon Feltman <sfeltman@src.gnome.org>
5385 Date: Tue Jan 14 12:26:16 2014 -0800
5387 tests: Run PyFlakes and PEP8 only on SUBDIRS
5389 Move PyFlakes and PEP8 checks into check-local of the root
5391 run these tools on selective subdirs of top_srcdir. This fixes
5393 where vpath build directories within the srcdir would contain links
5395 source files, causing these tools to run multiple times slowing
5399 Makefile.am | 21 ++++++++++++++++++++-
5400 tests/Makefile.am | 6 ------
5401 2 files changed, 20 insertions(+), 7 deletions(-)
5403 commit 9a7f6f08c1dc0eb0dd91437da8ac429fbafc8a4a
5404 Author: Simon Feltman <sfeltman@src.gnome.org>
5405 Date: Tue Jan 14 12:25:09 2014 -0800
5407 Remove _glib include path from gi module target
5409 gi/Makefile.am | 7 ++-----
5410 1 file changed, 2 insertions(+), 5 deletions(-)
5412 commit 8afd7e880a72a44e6ea46c763bab82146fd75c96
5413 Author: Simon Feltman <sfeltman@src.gnome.org>
5414 Date: Wed Jan 8 19:22:08 2014 -0800
5416 Move Python glib options module into gi package
5418 Move gi/_glib/option.py into gi/_option.py. Remove gi/_glib since
5422 https://bugzilla.gnome.org/show_bug.cgi?id=712197
5426 gi/Makefile.am | 1 -
5427 gi/_glib/Makefile.am | 21 ---------------------
5428 gi/_glib/__init__.py | 20 --------------------
5429 gi/{_glib/option.py => _option.py} | 2 +-
5430 gi/overrides/GLib.py | 2 +-
5431 gi/overrides/GObject.py | 2 +-
5432 8 files changed, 5 insertions(+), 47 deletions(-)
5434 commit ad565e5bbc9d12607c39be9479bc671a8f2de6e3
5435 Author: Simon Feltman <sfeltman@src.gnome.org>
5436 Date: Wed Jan 8 18:57:58 2014 -0800
5438 Merge static PyGLib module into PyGI
5440 Remove gi._glib._glib as a separately compiled module. Move all C
5442 pygobject/gi. Remove compilation and use of libpyglib-gi-2.0-python.so
5444 shared dependency since we do not distribute header files for it.
5445 Remove unused threading macros.
5447 https://bugzilla.gnome.org/show_bug.cgi?id=712197
5449 gi/Makefile.am | 16 +++++--
5450 gi/_glib/Makefile.am | 74
5451 +-------------------------------
5452 gi/_glib/__init__.py | 5 ---
5453 gi/_glib/option.py | 2 +-
5454 gi/gimodule.c | 9 ++++
5455 gi/{_glib => }/glibmodule.c | 34 ++-------------
5456 gi/gobjectmodule.c | 5 +--
5457 gi/overrides/GLib.py | 2 +-
5458 gi/{_glib => }/pyglib-private.h | 14 ++----
5459 gi/{_glib => }/pyglib-python-compat.h | 0
5460 gi/{_glib => }/pyglib.c | 81
5461 ++---------------------------------
5462 gi/{_glib => }/pyglib.h | 10 -----
5463 gi/{_glib => }/pygoptioncontext.c | 0
5464 gi/{_glib => }/pygoptioncontext.h | 0
5465 gi/{_glib => }/pygoptiongroup.c | 0
5466 gi/{_glib => }/pygoptiongroup.h | 0
5467 gi/{_glib => }/pygspawn.c | 0
5468 gi/{_glib => }/pygspawn.h | 0
5469 18 files changed, 40 insertions(+), 212 deletions(-)
5471 commit 2624bd2b4a465a2d234951dd5b855fe8a0d46e1c
5472 Author: Simon Feltman <sfeltman@src.gnome.org>
5473 Date: Thu Oct 31 03:13:53 2013 -0700
5475 Move gobject sub-module Python files into the main gi package
5477 This moves the signalhelper, propertyhelper, and constants Python
5479 from gi/_gobject into gi. Keep gi/_gobject/__init__.py around because
5481 still needed to maintain the "_PyGObject_API" exposed by
5483 allows external modules compiled with prior versions of PyGObject to
5484 continue working with newer versions.
5486 https://bugzilla.gnome.org/show_bug.cgi?id=712197
5489 gi/__init__.py | 19 +++++-----
5490 gi/{_gobject/constants.py => _constants.py} | 5 ++-
5491 gi/_gobject/Makefile.am | 5 +--
5492 gi/_gobject/__init__.py | 42
5493 ++--------------------
5494 .../propertyhelper.py => _propertyhelper.py} | 4 +--
5495 gi/{_gobject/signalhelper.py => _signalhelper.py} | 5 ++-
5496 gi/module.py | 16 ++++-----
5497 gi/overrides/GObject.py | 7 ++--
5498 gi/overrides/__init__.py | 2 +-
5500 ++++++++++++++++-----
5501 pygtkcompat/pygtkcompat.py | 4 +--
5502 tests/test_gi.py | 2 +-
5503 tests/test_gobject.py | 4 ++-
5504 tests/test_properties.py | 2 +-
5505 tests/test_signal.py | 2 +-
5506 16 files changed, 78 insertions(+), 87 deletions(-)
5508 commit d3e8946dbb23197a2e9d7de351a7b9cd04d360b9
5509 Author: Simon Feltman <sfeltman@src.gnome.org>
5510 Date: Thu Oct 31 02:22:03 2013 -0700
5512 Merge gobject static code into the gi module
5514 Remove gi._gobject._gobject as a separately compiled static module and
5515 move all the files into gi._gi.
5516 Remove dead module initialization macros from "pyglib-python-compat.h"
5518 https://bugzilla.gnome.org/show_bug.cgi?id=712197
5520 gi/Makefile.am | 31 ++++++++++++++--
5521 gi/_glib/pyglib-python-compat.h | 62
5522 +++++++++----------------------
5523 gi/_gobject/Makefile.am | 69
5524 +----------------------------------
5525 gi/_gobject/__init__.py | 4 +-
5526 gi/_gobject/constants.py | 3 +-
5527 gi/_gobject/propertyhelper.py | 16 +++++---
5528 gi/_gobject/signalhelper.py | 3 +-
5529 gi/gimodule.c | 13 ++++---
5530 gi/{_gobject => }/gobjectmodule.c | 0
5532 gi/{_gobject => }/pygboxed.c | 0
5533 gi/{_gobject => }/pygboxed.h | 0
5534 gi/{_gobject => }/pygenum.c | 0
5535 gi/{_gobject => }/pygenum.h | 0
5536 gi/{_gobject => }/pygflags.c | 0
5537 gi/{_gobject => }/pygflags.h | 0
5538 gi/pygi-argument.c | 3 +-
5539 gi/pygi-boxed.c | 2 +-
5540 gi/pygi-ccallback.c | 2 +-
5541 gi/pygi-foreign.c | 2 +-
5542 gi/pygi-info.c | 2 +-
5543 gi/pygi-marshal-to-py.c | 3 +-
5544 gi/pygi-private.h | 2 +-
5545 gi/pygi-source.c | 3 +-
5546 gi/pygi-struct.c | 2 +-
5548 gi/{_gobject => }/pyginterface.c | 0
5549 gi/{_gobject => }/pyginterface.h | 0
5550 gi/{_gobject => }/pygobject-private.h | 5 ++-
5551 gi/{_gobject => }/pygobject.c | 0
5552 gi/{_gobject => }/pygobject.h | 0
5553 gi/{_gobject => }/pygparamspec.c | 0
5554 gi/{_gobject => }/pygparamspec.h | 2 +
5555 gi/{_gobject => }/pygpointer.c | 0
5556 gi/{_gobject => }/pygpointer.h | 0
5557 gi/{_gobject => }/pygtype.c | 0
5558 gi/{_gobject => }/pygtype.h | 0
5560 tests/Makefile.am | 2 +-
5561 39 files changed, 93 insertions(+), 148 deletions(-)
5563 commit a329f559002f2be0898309c9d81cdf2c34aef158
5564 Author: Simon Feltman <sfeltman@src.gnome.org>
5565 Date: Tue Jan 14 10:15:53 2014 -0800
5567 tests: Fix test_torture_profile to return a number from its callback
5569 Return a number from rather than None from the callback passed to
5570 regress_test_torture_signature_2. This fixes a TypeError being
5572 callback return argument marshaling which was ignored by the test
5575 tests/test_everything.py | 2 +-
5576 1 file changed, 1 insertion(+), 1 deletion(-)
5578 commit a50a8386aae54dace7e46569415fdef85758fb9c
5579 Author: Martin Pitt <martinpitt@gnome.org>
5580 Date: Tue Jan 14 08:53:25 2014 +0100
5582 Add test for callback user data arguments with following arguments
5584 In this case we can't use the varargs userdata handling. Provides
5586 https://bugzilla.gnome.org/show_bug.cgi?id=722104.
5588 tests/test_everything.py | 48
5589 ++++++++++++++++++++++++++++++++++++++++++++++++
5590 1 file changed, 48 insertions(+)
5592 commit 3563a2d21a9e08a802d1cf30e04ba340e0bcfb49
5593 Author: Simon Feltman <sfeltman@src.gnome.org>
5594 Date: Mon Jan 13 08:19:02 2014 -0800
5596 valgrind: Add suppression files for python3.3 and python3.3dm
5598 Add new suppression files for Python 3. Use PYTHON_BASENAME for the
5599 suppression filename in the various make check.valgrind
5601 python.supp to python2.7.supp
5603 tests/Makefile.am | 6 +-
5604 tests/{python.supp => python2.7.supp} | 0
5605 tests/python3.3.supp | 471
5606 ++++++++++++++++++++++++++++++++++
5607 tests/python3.3dm.supp | 471
5608 ++++++++++++++++++++++++++++++++++
5609 4 files changed, 945 insertions(+), 3 deletions(-)
5611 commit 5c6f8afed5f6aa05d65d64509a2c9b8041a66b05
5612 Author: Simon Feltman <sfeltman@src.gnome.org>
5613 Date: Mon Jan 13 18:53:55 2014 -0800
5615 Makefile.am: Fix NEWS and ChangeLog generation under vpath builds
5617 Make sure NEWS generation uses top_srcdir to allow "make release-news"
5619 work under a vpath build (directory outside the source tree).
5620 Update ChangeLog target to use $(top_srcdir)/missing. This fixes
5622 where running "make dist" under a vpath build directory would
5626 Makefile.am | 6 +++---
5627 1 file changed, 3 insertions(+), 3 deletions(-)
5629 commit 056325cba3c86aefcf45ba10f2b7cf86e9fc1800
5630 Author: Simon Feltman <sfeltman@src.gnome.org>
5631 Date: Mon Jan 13 18:53:02 2014 -0800
5633 Update HACKING to include better release tagging instructions
5635 HACKING | 15 ++++++++-------
5636 1 file changed, 8 insertions(+), 7 deletions(-)
5638 commit c0a43d259c003c5d06db23debd0675b87e805b74
5639 Author: Simon Feltman <sfeltman@src.gnome.org>
5640 Date: Mon Jan 13 17:20:17 2014 -0800
5642 configure.ac: post release version bump to 3.11.5
5644 NEWS | 16 ++++++++++++++++
5646 2 files changed, 17 insertions(+), 1 deletion(-)
5648 commit 44d003798d9d14dde16fb44c69b94a411bdee26b
5649 Author: Simon Feltman <sfeltman@src.gnome.org>
5650 Date: Mon Jan 13 16:51:41 2014 -0800
5652 Fix mid-argument list callback user data expecting a tuple
5654 Ensure user data arguments are always packed into a tuple during
5656 marshaling. This fixes cases where there is mid-argument user data
5658 not in the form of a variable length tuple.
5660 https://bugzilla.gnome.org/show_bug.cgi?id=722104
5662 gi/pygi-marshal-from-py.c | 16 +++++++++++++++-
5663 1 file changed, 15 insertions(+), 1 deletion(-)
5665 commit 415b240e3baab522f3bf9752995610f950ba609e
5666 Author: Simon Feltman <sfeltman@src.gnome.org>
5667 Date: Tue Oct 15 03:57:52 2013 -0700
5669 Remove special case GObject base class check when creating GI classes
5671 Replace explicit GObject.Object string name check when calculating the
5672 introspection class hierarchy with a more generalized technique. This
5674 any C based wrapper of a GType to "underride" an introspection class
5675 automatically. This currently only handles the case of GObject.Object,
5677 will be used for fundamentals and GParamSpec.
5679 https://bugzilla.gnome.org/show_bug.cgi?id=631901
5681 gi/module.py | 17 +++++++++++------
5682 1 file changed, 11 insertions(+), 6 deletions(-)
5684 commit 9b02b29016958791dfa9d7ebfc6c2ec44ab5690d
5685 Author: Simon Feltman <sfeltman@src.gnome.org>
5686 Date: Tue Jan 7 09:16:54 2014 -0800
5688 overrides: Fix __repr__ for various Gdk structs
5690 Change __repr__ overrides for Gdk.Color, Gdk.RGBA, and Gdk.Atom to
5692 string reprentation that is valid Python given an expected
5694 See: http://docs.python.org/2/reference/datamodel.html#object.__repr__
5696 gi/overrides/Gdk.py | 10 +++++-----
5697 tests/test_atoms.py | 7 +++++--
5698 tests/test_overrides_gdk.py | 9 +++++++++
5699 3 files changed, 19 insertions(+), 7 deletions(-)
5701 commit f6a87935596a3b59c238a5572b288f34691b53d1
5702 Author: Simon Feltman <sfeltman@src.gnome.org>
5703 Date: Tue Jan 7 07:31:22 2014 -0800
5705 docs: Fix array length argument skipping with preceding out arguments
5707 Remove split_function_info_args and use a list of all arguments for
5708 generating skipped index lists. Determine argument skipping based
5710 full argument list in each in/inout and out/inout argument list
5712 This fixes a problem where out arguments preceding array length
5714 would still show array length arguments in the docstring. This was
5716 index mismatch when using split lists instead of list of all
5719 gi/docstring.py | 38 ++++++++++++--------------------------
5720 tests/test_docstring.py | 37 +++++++++++++++----------------------
5721 2 files changed, 27 insertions(+), 48 deletions(-)
5723 commit f114edc0a0afa64077a13459034afc4255b7a3f1
5724 Author: Simon Feltman <sfeltman@src.gnome.org>
5725 Date: Mon Jan 6 22:10:47 2014 -0800
5727 overrides: Remove GLib.Source.attach
5729 Remove GLib.Source.attach override now that tail end allow-none
5731 default to None when not specified.
5733 gi/overrides/GLib.py | 5 -----
5734 tests/test_glib.py | 7 +++++++
5735 2 files changed, 7 insertions(+), 5 deletions(-)
5737 commit 50ab6a8b70cbe7b67fc8d804b7773bb2c9b47251
5738 Author: Simon Feltman <sfeltman@src.gnome.org>
5739 Date: Mon Jan 6 21:42:09 2014 -0800
5741 overrides: Remove Gtk overrides with tail end allow-none keywords
5743 Remove overrides for Widget.render_icon, TextIter.begins_tag,
5745 toggles_tag, and TreeModel.filter_new. These overrides added an
5746 optional keyword=None for allow-none arguments. This is now implicitly
5747 accepted by the PyGObject machinery so the overrides can go away.
5749 gi/overrides/Gtk.py | 16 ----------------
5750 tests/test_overrides_gtk.py | 11 +++++++++++
5751 2 files changed, 11 insertions(+), 16 deletions(-)
5753 commit 2d388fcfca4bf1258d01b4491b4168589f3dd2b0
5754 Author: Simon Feltman <sfeltman@src.gnome.org>
5755 Date: Mon Jan 6 21:22:41 2014 -0800
5757 overrides: Remove Pango.Context.get_metrics
5759 Remove the override for Pango.Context and the get_metrics method. This
5761 be done now that tail end method arguments with "allow-none"
5763 defaulted to use None/NULL.
5765 gi/overrides/Pango.py | 9 ---------
5766 tests/test_overrides_pango.py | 12 ++++++++++++
5767 2 files changed, 12 insertions(+), 9 deletions(-)
5769 commit 43b35b1df3b6c0d8679f3cc0b08ef6ddcb276331
5770 Author: Simon Feltman <sfeltman@src.gnome.org>
5771 Date: Mon Jan 6 17:35:04 2014 -0800
5773 Add enum and flags member methods
5775 Add all methods from GIEnumInfo to both enums and flags classes.
5777 https://bugzilla.gnome.org/show_bug.cgi?id=693099
5780 tests/test_gi.py | 9 +++++++++
5781 2 files changed, 11 insertions(+)
5783 commit 731a2cb4372084eac6cfe5bf190f6efa730e97e4
5784 Author: Patrick Welche <prlw1@cam.ac.uk>
5785 Date: Mon Jan 6 22:31:48 2014 +0000
5787 python.m4: g/c JD_PYTHON_CHECK_VERSION
5789 We currently require automake 1.11.1, and its AM_PYTHON_CHECK_VERSION
5790 is identical (made here).
5792 https://bugzilla.gnome.org/show_bug.cgi?id=721662
5794 configure.ac | 4 ++--
5795 m4/python.m4 | 23 ++---------------------
5796 2 files changed, 4 insertions(+), 23 deletions(-)
5798 commit aaaead18e2167c2becb309f1d9ae199222c0256b
5799 Author: Simon Feltman <sfeltman@src.gnome.org>
5800 Date: Sat Jan 4 16:31:56 2014 -0800
5802 Support union creation with PyGIStruct
5804 Add additional case for allowing the creation bare unions wrapped with
5805 PyGIStruct. This is needed because PyGIStruct wraps both GIStruct and
5808 gi/pygi-struct.c | 39 ++++++++++++++++++++++++++++++++++-----
5809 tests/test_repository.py | 13 +++++++++++++
5810 2 files changed, 47 insertions(+), 5 deletions(-)
5812 commit 64f15961b637a7e1388bd8d2cd08f04fa20e4de4
5813 Author: Simon Feltman <sfeltman@src.gnome.org>
5814 Date: Sat Jan 4 16:07:44 2014 -0800
5816 Fix crash in error handling when creating struct with mismatched
5819 Error handling code was attempting to get the PyType of a pointer to a
5820 pointer. Use the correct amount of indirection so an exception is
5822 intended rather than a segfault.
5824 gi/pygi-info.c | 2 +-
5825 1 file changed, 1 insertion(+), 1 deletion(-)
5827 commit 07abf8343bbeac6f36d370ced654fa6506b22175
5828 Author: Simon Feltman <sfeltman@src.gnome.org>
5829 Date: Wed Jan 1 20:23:17 2014 -0800
5831 docs: Skip display of default constructor for disguised structs
5833 Structs which have zero length should now show a default constructor.
5834 Structs with a length should not show keyword arguments in the default
5837 https://bugzilla.gnome.org/show_bug.cgi?id=708060
5839 gi/docstring.py | 9 ++++++++-
5840 tests/test_docstring.py | 18 ++++++++++++++++--
5841 2 files changed, 24 insertions(+), 3 deletions(-)
5843 commit e8359847136e9ad76a670a382c0abc61cb4e81d3
5844 Author: Simon Feltman <sfeltman@src.gnome.org>
5845 Date: Wed Jan 1 19:57:06 2014 -0800
5847 Cleanup disguised struct constructor error and add it to boxed
5849 Give a cleaner error message when an attempt is made to create
5851 struct which also gives a hint to look at the pydoc. Add similar
5853 disguised boxed/unions.
5855 https://bugzilla.gnome.org/show_bug.cgi?id=647249
5857 gi/pygi-boxed.c | 17 ++++++++++++++---
5858 gi/pygi-struct.c | 2 +-
5859 tests/test_everything.py | 1 -
5860 tests/test_glib.py | 4 ++++
5861 4 files changed, 19 insertions(+), 5 deletions(-)
5863 commit 9ce527b09ed032f2cc83c2d83de8bb6d7b19be02
5864 Author: Simon Feltman <sfeltman@src.gnome.org>
5865 Date: Wed Jan 1 19:54:59 2014 -0800
5867 docs: List default constructor in doc strings
5869 Add default constructor to class docs strings as:
5870 Object(**properties)
5872 https://bugzilla.gnome.org/show_bug.cgi?id=708060
5874 gi/docstring.py | 10 ++++------
5875 1 file changed, 4 insertions(+), 6 deletions(-)
5877 commit 9bfd73e7c3f2ec4975b3e530ba7c2cc55ee793d5
5878 Author: Simon Feltman <sfeltman@src.gnome.org>
5879 Date: Wed Jan 1 17:34:32 2014 -0800
5881 docs: List constructors in object and struct doc strings
5883 Add type dispatching to gi.docstring documentation generator for
5885 of StructInfo and ObjectInfo. Add lazy doc string generation to
5886 Object and Struct meta classes by using a property for __doc__. This
5888 available constructors immediately in all GObject.Object and Struct
5894 Button(**properties)
5896 new_from_icon_name(icon_name:str, size:int)
5897 new_from_stock(stock_id:str)
5898 new_with_label(label:str)
5899 new_with_mnemonic(label:str)
5901 https://bugzilla.gnome.org/show_bug.cgi?id=708060
5903 gi/docstring.py | 36 +++++++++++++++++++++++++++++-------
5904 gi/types.py | 9 +++++++++
5905 tests/test_docstring.py | 8 ++++++++
5906 3 files changed, 46 insertions(+), 7 deletions(-)
5908 commit 44612636575dd93c97210a7255c4490e2c84db67
5909 Author: Simon Feltman <sfeltman@src.gnome.org>
5910 Date: Wed Jan 1 17:10:15 2014 -0800
5912 docs: Cleanup PyGIBaseInfo repr
5914 Remove angle brackets and pointer address from
5915 PyGIBaseInfo.__repr__. This
5916 cleans up documentation and makes it easier to read.
5918 gi/pygi-info.c | 5 ++---
5919 1 file changed, 2 insertions(+), 3 deletions(-)
5921 commit 826c0e63eabac68fd665335950d311988a1405e3
5922 Author: Simon Feltman <sfeltman@src.gnome.org>
5923 Date: Tue Dec 31 21:45:21 2013 -0800
5925 docs: Add return values and skip implicit out arguments in functions
5927 Add gi.CallableInfo.skip_return static binding for testing if
5929 value should show up in docs. Skip implicit list index arguments
5933 https://bugzilla.gnome.org/show_bug.cgi?id=697356
5935 gi/docstring.py | 26 +++++++++++++++++++++-----
5936 gi/pygi-info.c | 7 +++++++
5937 tests/test_docstring.py | 6 ++++++
5938 3 files changed, 34 insertions(+), 5 deletions(-)
5940 commit aeccdaddf32dc7b48a79a1cd95a421a26895c9b2
5941 Author: Simon Feltman <sfeltman@src.gnome.org>
5942 Date: Tue Dec 31 21:15:27 2013 -0800
5944 docs: Replace usage of functools.wraps with a custom version
5946 Using functools.wraps in overrides would cause docstring evaluation
5948 can hurt performance during overrides loading. Add custom wraps
5950 which only copies __name__ and __module__ attributes. Remove function
5951 wrapping used within gi.overrides.overridefunc because the wrapping
5953 doing anything, this preserves __doc__ ability without causing an
5957 https://bugzilla.gnome.org/show_bug.cgi?id=697356
5959 gi/overrides/GObject.py | 3 +--
5960 gi/overrides/__init__.py | 21 ++++++++++++---------
5961 2 files changed, 13 insertions(+), 11 deletions(-)
5963 commit cebf5314f195bf4bd6ee19a1da3bbb50c2c9bbd6
5964 Author: Simon Feltman <sfeltman@src.gnome.org>
5965 Date: Tue Dec 31 19:42:02 2013 -0800
5967 docs: Move GIArgInfo.get_pytype_hint into gi.docstring
5969 Move the C implementation of pytype hinting into pure Python. Now that
5970 doc strings are lazily evaluated we can simplify this tedious bit of C
5971 code with Python. This is precursory work for getting return
5973 function doc strings.
5975 https://bugzilla.gnome.org/show_bug.cgi?id=697356
5977 gi/docstring.py | 50 ++++++++++++++++++++++++++++++++++++++---
5978 gi/pygi-info.c | 49 ----------------------------------------
5980 ------------------------------------------------
5981 gi/pygi-type.h | 2 --
5982 tests/test_docstring.py | 8 ++++---
5983 tests/test_repository.py | 1 -
5984 6 files changed, 52 insertions(+), 116 deletions(-)
5986 commit 28a178e385e32c56910f1c430b370a8872218081
5987 Author: Simon Feltman <sfeltman@src.gnome.org>
5988 Date: Tue Dec 31 17:50:36 2013 -0800
5990 docs: Skip implicit array length args when building function doc
5993 https://bugzilla.gnome.org/show_bug.cgi?id=697356
5995 gi/docstring.py | 8 ++++++--
5996 tests/test_docstring.py | 4 ++++
5997 2 files changed, 10 insertions(+), 2 deletions(-)
5999 commit 2ef59b89311529e34366d4d7aa8f8ae9a8ea6371
6000 Author: Simon Feltman <sfeltman@src.gnome.org>
6001 Date: Tue Dec 31 13:41:20 2013 -0800
6003 gtk-demo: Avoid crash in CSS demos
6005 Avoid a potential crash in the CSS demos where the text editing
6007 out of sync with the last good CSS parsing buffer. In the case of CSS
6008 warnings, we get a parsing-error callback but no exception is raised.
6009 This would cause the buffers to become out of sync and accessing
6011 information from the parsing-error section would crash the text
6013 to an out of range iterator being created.
6015 demos/gtk-demo/demos/Css/css_basics.py | 31
6016 +++++++++++++++++++++--------
6017 demos/gtk-demo/demos/Css/css_multiplebgs.py | 31
6018 +++++++++++++++++++++--------
6019 2 files changed, 46 insertions(+), 16 deletions(-)
6021 commit b81f9c9b4e62d8cf589576aba8d9abbac4c80953
6022 Author: Simon Feltman <sfeltman@src.gnome.org>
6023 Date: Tue Dec 31 02:05:46 2013 -0800
6025 gtk-demo: Add info bar and better error handling to CSS demos
6027 Use an info bar for displaying CSS parsing errors. Store the last good
6028 stylesheet text for use as a backup when a parsing error occures. This
6030 a seamless look while typing changes into the text editor.
6032 https://bugzilla.gnome.org/show_bug.cgi?id=719722
6034 demos/gtk-demo/demos/Css/css_basics.py | 28
6035 +++++++++++++++++++++-------
6036 demos/gtk-demo/demos/Css/css_multiplebgs.py | 29
6037 ++++++++++++++++++++++-------
6038 2 files changed, 43 insertions(+), 14 deletions(-)
6040 commit becb56734e13df182fd31cfe46c465477dfc4d2c
6041 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
6042 Date: Mon Dec 30 16:36:28 2013 +0100
6044 gtk-demo: Add CSS demos
6046 Add a couple of demos demostrating the use of CSS, the css files are
6047 stored into a GResource binary file compiled with
6048 glib-compile-resources,
6049 the comments in gtk-demo.py explain the usage of GResource.
6051 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
6053 https://bugzilla.gnome.org/show_bug.cgi?id=719722
6056 demos/gtk-demo/demos/Css/__init__.py | 0
6057 demos/gtk-demo/demos/Css/css_accordion.py | 94 +++++++++++++++
6058 demos/gtk-demo/demos/Css/css_basics.py | 119 +++++++++++++++++++
6059 demos/gtk-demo/demos/Css/css_multiplebgs.py | 157
6060 ++++++++++++++++++++++++++
6061 demos/gtk-demo/demos/data/brick.png | Bin 0 -> 5043 bytes
6062 demos/gtk-demo/demos/data/brick2.png | Bin 0 -> 10713 bytes
6063 demos/gtk-demo/demos/data/css_accordion.css | 52 +++++++++
6064 demos/gtk-demo/demos/data/css_basics.css | 22 ++++
6065 demos/gtk-demo/demos/data/css_multiplebgs.css | 136
6066 ++++++++++++++++++++++
6067 demos/gtk-demo/demos/data/cssview.css | 41 +++++++
6068 demos/gtk-demo/demos/data/demo.gresource | Bin 0 -> 31110 bytes
6069 demos/gtk-demo/demos/data/demo.gresource.xml | 18 +++
6070 demos/gtk-demo/demos/data/reset.css | 68 +++++++++++
6071 demos/gtk-demo/gtk-demo.py | 16 ++-
6072 15 files changed, 723 insertions(+), 1 deletion(-)
6074 commit 2ff095ea0b0c05fbf6cc332eeadf26cfeb9e69f7
6075 Author: Colin Watson <cjwatson@ubuntu.com>
6076 Date: Tue Dec 24 22:19:02 2013 +0000
6078 build: Avoid clash between gi/types.py and stdlib
6080 Use non-recursive make for the Python modules in gi/ to work around a
6081 clash between gi/types.py and the standard library's types module when
6084 https://bugzilla.gnome.org/show_bug.cgi?id=721025
6086 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
6088 Makefile.am | 24 ++++++++++++++++++++++++
6089 gi/Makefile.am | 20 ++------------------
6090 2 files changed, 26 insertions(+), 18 deletions(-)
6092 commit b9716853fb7727fcf2b5ea59a3368d5a5b2e6be2
6093 Author: Simon Feltman <sfeltman@src.gnome.org>
6094 Date: Mon Dec 16 04:17:28 2013 -0800
6096 configure.ac: post-release bump to 3.11.4
6099 1 file changed, 1 insertion(+), 1 deletion(-)
6101 commit 2ec00c2563bebff1e55faf97c67e44fda862ad5b
6102 Author: Simon Feltman <sfeltman@src.gnome.org>
6103 Date: Mon Dec 16 04:10:54 2013 -0800
6108 1 file changed, 4 insertions(+)
6110 commit 7fb55f93e207378992cd9f3e0663604a4de2213f
6111 Author: Simon Feltman <sfeltman@src.gnome.org>
6112 Date: Thu Dec 12 01:35:11 2013 -0800
6114 Replace usage of PyGIBoxed_Type with PyGIStruct_Type
6116 Remove empty definition of PyGIBoxed_Type and use PyGIStruct_Type
6118 place for GI_INFO_TYPE_BOXED based infos in repositories. As noted in
6119 the docs: "GI_INFO_TYPE_BOXED boxed, see GIStructInfo or GIUnionInfo"
6120 we can use the GIStructInfo API for boxed types because we also
6122 base classes on GType checks as seen in:
6123 https://git.gnome.org/browse/pygobject/tree/gi/module.py?id=3.11.2#n186
6124 This fixes some of the issues noted in bug 581525.
6126 https://bugzilla.gnome.org/show_bug.cgi?id=581525
6128 gi/pygi-info.c | 13 +------------
6129 1 file changed, 1 insertion(+), 12 deletions(-)
6131 commit b3c85eec75c62c138c136531ebe49a33351941f0
6132 Author: Simon Feltman <sfeltman@src.gnome.org>
6133 Date: Sun Nov 17 20:12:50 2013 -0800
6135 configure.ac: post release version bump to 3.11.3
6138 1 file changed, 1 insertion(+), 1 deletion(-)
6140 commit d1314af8f237a634dbfefb0a1c319f910d3d8765
6141 Author: Simon Feltman <sfeltman@src.gnome.org>
6142 Date: Sun Nov 17 20:04:49 2013 -0800
6147 1 file changed, 6 insertions(+)
6149 commit 6fc3d977f17397e514aed492055e93d03c410f60
6150 Author: Simon Feltman <sfeltman@src.gnome.org>
6151 Date: Tue Nov 12 23:04:50 2013 -0800
6153 gtk-demo: Fix pyflakes error after recent commit
6155 demos/gtk-demo/demos/pixbuf.py | 2 +-
6156 1 file changed, 1 insertion(+), 1 deletion(-)
6158 commit a309b3baf5ee99139cc2d1817339233e24391bc2
6159 Author: Simon Feltman <sfeltman@src.gnome.org>
6160 Date: Tue Nov 12 18:41:35 2013 -0800
6162 gkt-demo: Change main info/source notebook into a GtkStack
6164 Use the new in 3.10 GtkStack and GtkStackSwitcher for switching
6166 and Source tabs. Beyond giving a newer look and feel to the demo,
6168 provides an example for how to use a GtkStack.
6170 demos/gtk-demo/gtk-demo.py | 23 +++++++++++++++++------
6171 1 file changed, 17 insertions(+), 6 deletions(-)
6173 commit 69ff43bf6292fb3ddaea027cfc595139c4f1655d
6174 Author: Simon Feltman <sfeltman@src.gnome.org>
6175 Date: Tue Nov 12 19:32:18 2013 -0800
6177 gtk-demo: Cleanup deprecated calls throughout demo code
6179 Specify constructor arguments as keyword args for various object
6180 creation calls. Update combobox demo to use bind_property instead
6182 signal connections with update callbacks.
6184 demos/gtk-demo/demos/Entry/entry_buffer.py | 6 ++---
6185 demos/gtk-demo/demos/Entry/entry_completion.py | 6 ++---
6186 demos/gtk-demo/demos/Entry/search_entry.py | 8 +++---
6187 demos/gtk-demo/demos/Tree View/liststore.py | 8 +++---
6188 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 2 +-
6189 .../gtk-demo/demos/Tree View/treemodel_filetree.py | 2 +-
6190 demos/gtk-demo/demos/appwindow.py | 4 +--
6191 demos/gtk-demo/demos/combobox.py | 30
6192 +++-------------------
6193 demos/gtk-demo/demos/dialogs.py | 26
6195 demos/gtk-demo/demos/expander.py | 9 +++----
6196 demos/gtk-demo/demos/images.py | 2 +-
6197 demos/gtk-demo/demos/infobars.py | 23 +++++++++--------
6198 demos/gtk-demo/demos/links.py | 10 ++++----
6199 demos/gtk-demo/demos/menus.py | 4 +--
6200 demos/gtk-demo/demos/pickers.py | 8 +++---
6201 demos/gtk-demo/demos/pixbuf.py | 4 +--
6202 demos/gtk-demo/demos/rotatedtext.py | 2 +-
6203 17 files changed, 64 insertions(+), 90 deletions(-)
6205 commit 890fb7b97823985d5c800284ead43a49174db244
6206 Author: Simon Feltman <sfeltman@src.gnome.org>
6207 Date: Tue Nov 12 18:19:34 2013 -0800
6209 Revert TreeStore and ListStore initializer replacements
6211 Revert changes to Tree/ListStore where the __init__ overrides were
6213 with __new__ overrides which accept column types directly. The
6215 the change is sub-classes of these types can override __init__
6217 passing in their own column types to the super class. These
6219 expect the super class to handle column type setup via __init__
6221 the change described is an API break. This reverts parts of commit:
6222 2f2069c9efcd8f312ce9ffa572df371fbc08822d
6224 gi/overrides/Gtk.py | 10 ++++++----
6225 1 file changed, 6 insertions(+), 4 deletions(-)
6227 commit 795201873a3aae530598f5e16470b6a8d2d55c23
6228 Author: Simon Feltman <sfeltman@src.gnome.org>
6229 Date: Thu Aug 15 20:01:48 2013 -0700
6231 Deprecate Gdk.Cursor constructor dispatching
6233 Give deprecation warning for the overridden __new__ method on
6234 Gdk.Cursor when more than one argument is used. Recommend using
6235 Gdk.Cursor.new_for_display, new_from_pixbuf, and new_from_pixmap
6238 https://bugzilla.gnome.org/show_bug.cgi?id=705810
6240 gi/overrides/Gdk.py | 48
6241 ++++++++++++++++++++++++++-------------------
6242 tests/test_overrides_gdk.py | 17 ++++++++++++----
6243 2 files changed, 41 insertions(+), 24 deletions(-)
6245 commit 2f2069c9efcd8f312ce9ffa572df371fbc08822d
6246 Author: Simon Feltman <sfeltman@src.gnome.org>
6247 Date: Thu Aug 15 19:23:18 2013 -0700
6249 Cleanup overzealous new and init implementations
6251 Remove PyGObject initializer code attempting to set properties on
6252 GObjects that have already been created. There were a number of
6253 overridden __new__ and __init__ methods that stripped away
6254 arguments before calling the base class to work around attempted
6255 property sets and argument count errors (fixing the symptom not
6257 Use Gtk.ListStore/TreeStore.new with __new__ override instead
6258 of __init__ with set_column_types.
6260 https://bugzilla.gnome.org/show_bug.cgi?id=705810
6262 gi/_gobject/gobjectmodule.c | 35 ++++++++++++++---------------------
6263 gi/_gobject/pygobject.c | 16 ++++++++++++++--
6264 gi/overrides/GObject.py | 3 ---
6265 gi/overrides/Gdk.py | 15 ---------------
6266 gi/overrides/Gtk.py | 11 ++++-------
6267 gi/overrides/Pango.py | 5 -----
6268 gi/pygi-boxed.c | 6 ------
6269 7 files changed, 32 insertions(+), 59 deletions(-)
6271 commit 86a37d67455dc5d435ade35f17b27c5de2b288f5
6272 Author: Simon Feltman <sfeltman@src.gnome.org>
6273 Date: Tue Aug 13 18:02:54 2013 -0700
6275 Add deprecation warnings and cleanup class initializer overrides
6277 Print deprecation warnings for calls to class initializers which
6278 don't explicitly specify keywords. Print deprecation warning
6279 for overrides that have renamed keywords (Gtk.Table.rows should
6280 be n_rows). Additionally deprecate non-standard defaults with
6281 initializers (Gtk.SizeGroup.mode defaults to HORIZONTAL in GTK+
6282 and VERTICAL in PyGI).
6283 Remove AboutDialog override because it doesn't do anything.
6285 https://bugzilla.gnome.org/show_bug.cgi?id=705810
6287 gi/overrides/Gio.py | 6 +-
6288 gi/overrides/Gtk.py | 367
6289 ++++++++++++++++++++++----------------------
6290 gi/overrides/__init__.py | 88 +++++++++++
6291 tests/test_gi.py | 75 +++++++++
6292 tests/test_overrides_gtk.py | 95 ++++++++----
6293 5 files changed, 411 insertions(+), 220 deletions(-)
6295 commit d2e9be8e2b3d21b55e1aad3d0b22dcff3421b702
6296 Author: Simon Feltman <sfeltman@src.gnome.org>
6297 Date: Tue Aug 13 17:42:11 2013 -0700
6299 tests: Use explicit keywords args when calling initializers
6301 Replace all usage of GObject creation that relies on positional
6302 arguments from overrides. Positional initializer args will be
6303 deprecated, updating the tests as a first pass proves backwards
6304 and forwards compatibility of the deprecation.
6306 https://bugzilla.gnome.org/show_bug.cgi?id=705810
6308 tests/test_overrides_gtk.py | 107
6309 +++++++++++++++++++++++---------------------
6310 1 file changed, 55 insertions(+), 52 deletions(-)
6312 commit 8342302dac9bf3fcb49ec3ac334dbf014b4db025
6313 Author: Simon Feltman <sfeltman@src.gnome.org>
6314 Date: Tue Nov 12 03:46:08 2013 -0800
6316 Revert "Add type checking to positional Gtk.Box and Gtk.Window
6319 This reverts commit 7193f0509a0ed7da7c810daa6733e34a22db3180.
6321 gi/overrides/Gtk.py | 7 -------
6322 tests/test_overrides_gtk.py | 18 ------------------
6323 tests/test_properties.py | 9 ---------
6324 3 files changed, 34 deletions(-)
6326 commit 1f37340c4623262a2146ec8cd25b487cdf4234bd
6327 Author: Simon Feltman <sfeltman@src.gnome.org>
6328 Date: Sun Nov 10 03:26:10 2013 -0800
6330 Fix dir method for static GParamSpec in Python 3
6332 Add a __dir__ method which lists GParamSpec attributes and remove
6334 getattr which made use of the deprecated __members__ technique for dir
6335 (removed in Python 3). This makes dir(pspec) work again in Python 3.
6337 gi/_gobject/pygparamspec.c | 218
6338 ++++++++++++++++++++++++---------------------
6339 tests/test_gi.py | 10 +++
6340 2 files changed, 126 insertions(+), 102 deletions(-)
6342 commit 7193f0509a0ed7da7c810daa6733e34a22db3180
6343 Author: Martin Pitt <martinpitt@gnome.org>
6344 Date: Tue Nov 5 15:28:12 2013 +0100
6346 Add type checking to positional Gtk.Box and Gtk.Window ctor arguments
6348 Gtk.Box and Gtk.Window are base classes of a lot of widgets. Avoid
6350 when trying to create a subclass of them through the GObject
6352 positional arguments by at least verifying that their type is
6354 you can do things like
6356 chooser = Gtk.FileChooserWidget(Gtk.FileChooserAction.SELECT_FOLDER)
6358 which succeeds, but does not have the desired effect (it sets the
6360 property of the Gtk.Box superclass instead).
6362 https://bugzilla.gnome.org/show_bug.cgi?id=711487
6364 gi/overrides/Gtk.py | 7 +++++++
6365 tests/test_overrides_gtk.py | 18 ++++++++++++++++++
6366 tests/test_properties.py | 9 +++++++++
6367 3 files changed, 34 insertions(+)
6369 commit 79aea2655db11bc9d2c0ad75c87862b2b66da594
6370 Author: Simon Feltman <sfeltman@src.gnome.org>
6371 Date: Mon Nov 4 03:29:57 2013 -0800
6373 Remove overzealous argument checking for callback userdata
6375 Remove check which ensures userdata is None if the callback is None.
6376 This check would need to become more complicated with recent
6378 PyGObject where userdata can be variable (would also need to check
6380 a tuple containing None). Instead of adding more complex checking,
6382 remove the checking as it is unnecessary to begin with.
6384 https://bugzilla.gnome.org/show_bug.cgi?id=711173
6386 gi/pygi-marshal-from-py.c | 7 -------
6387 tests/test_overrides_gtk.py | 11 +++++++----
6388 2 files changed, 7 insertions(+), 11 deletions(-)
6390 commit f32d649b72f865e32cc2b62a54d927b8345da0c8
6391 Author: Martin Pitt <martinpitt@gnome.org>
6392 Date: Mon Oct 28 16:00:57 2013 +0100
6394 configure.ac: post-release bump to 3.11.2
6397 1 file changed, 1 insertion(+), 1 deletion(-)
6399 commit 5bcdb56433d0ba2976f05946c6c5b6ffe3e84901
6400 Author: Martin Pitt <martinpitt@gnome.org>
6401 Date: Mon Oct 28 15:59:51 2013 +0100
6405 NEWS | 27 +++++++++++++++++++++++++++
6406 1 file changed, 27 insertions(+)
6408 commit 65b8f7bd77474e361c80905ec23de6dbde27970c
6409 Author: Simon Feltman <sfeltman@src.gnome.org>
6410 Date: Sun Oct 27 22:09:27 2013 -0700
6412 Fix toggleref safety problems by always enabling the GIL
6414 Call PyEval_InitThreads for the base gi module import. This forces the
6415 Python internals create the GIL and always support threading with the
6416 various thread state enter/exit funcs. This is needed since we cannot
6417 predict which GI repositories might accept Python callbacks and run
6419 non-Python threads or trigger toggle ref notifications in a thread
6423 https://bugzilla.gnome.org/show_bug.cgi?id=709223
6425 gi/__init__.py | 2 --
6426 gi/gimodule.c | 18 +++++++-----------
6427 gi/overrides/GLib.py | 8 ++------
6428 3 files changed, 9 insertions(+), 19 deletions(-)
6430 commit 57195c9c864bc25521bb3cb98286e6d6f0645652
6431 Author: Simon Feltman <sfeltman@src.gnome.org>
6432 Date: Sun Oct 27 16:02:13 2013 -0700
6434 Add consistent GLib.MainLoop SIGINT cleanup
6436 Remove auto cleanup of SIGINT source handling by returning True
6438 signal callback. This gives the __del__ method consistent cleanup
6440 regardless of whether or not a SIGINT occurred.
6442 https://bugzilla.gnome.org/show_bug.cgi?id=710978
6444 gi/overrides/GLib.py | 4 ++++
6445 1 file changed, 4 insertions(+)
6447 commit 1c03ebba9598e7b6d5293889f46b015bfac3611c
6448 Author: Simon Feltman <sfeltman@src.gnome.org>
6449 Date: Sun Oct 27 15:16:09 2013 -0700
6451 tests: Fix source testing to handle critical with non-existing sources
6453 Silence new critical coming from g_source_remove on non-existing
6455 This function still returns False, but we need to silence the new
6457 so the test suite doesn't fail. See bug 710724.
6459 https://bugzilla.gnome.org/show_bug.cgi?id=710978
6461 tests/test_source.py | 18 ++++++++++++------
6462 1 file changed, 12 insertions(+), 6 deletions(-)
6464 commit ac776da7e56b78a2fa422487f0ef0d8771bcb78f
6465 Author: Simon Feltman <sfeltman@src.gnome.org>
6466 Date: Sun Jul 28 00:01:35 2013 -0700
6468 docs: Add a keyword value of None for allow-none annotations
6470 Update documentation generator for allow-none arguments and
6471 user_data arguments to show a keyword value of None.
6472 Add skip for GDestroyNotify closure arguments.
6474 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6476 gi/docstring.py | 20 +++++++++++++++++---
6477 tests/test_docstring.py | 10 ++++++++++
6478 2 files changed, 27 insertions(+), 3 deletions(-)
6480 commit e1bf9c069644ea0bff0c6a7efa72a285e122a414
6481 Author: Simon Feltman <sfeltman@src.gnome.org>
6482 Date: Sat Oct 19 19:03:12 2013 -0700
6484 Remove overrides for supporting pre-3.10 GObject signal functions
6486 Remove GObject override code for supporting pre-3.10 signal functions
6488 annotate the object argument as "gpointer". With PyGObject 3.11
6490 dependency on GObject 3.10, clear the special case overrides out.
6492 gi/overrides/GObject.py | 76
6493 ++++++-------------------------------------------
6494 1 file changed, 9 insertions(+), 67 deletions(-)
6496 commit 0c308de528c402f67808b13760ca30d55d4c99d7
6497 Author: Simon Feltman <sfeltman@src.gnome.org>
6498 Date: Fri Oct 18 17:15:06 2013 -0700
6500 Add threads_init back as a requirement for non-Python threaded repos
6502 Re-add a "threads_init" function to gi for explicit intialization
6504 threading support. This was marked as deprecated in the previous cycle
6505 because using Python threads already initializes everything.
6506 However, we still need an explicit initalization when using
6508 with non-Python threads which may interact with Python callbacks
6511 https://bugzilla.gnome.org/show_bug.cgi?id=710447
6513 gi/__init__.py | 2 ++
6514 gi/gimodule.c | 10 ++++++++++
6515 gi/overrides/GLib.py | 11 +++++++----
6516 3 files changed, 19 insertions(+), 4 deletions(-)
6518 commit a2fa531b4dee73c193cac92fa3e870808688b5d7
6519 Author: Simon Feltman <sfeltman@src.gnome.org>
6520 Date: Mon Oct 14 20:38:13 2013 -0700
6522 Add dir method to GObject props accessor
6524 Remove special case __members__ attribute from the props accessor
6525 objects getattr method. This has been deprecated since Python 2.3 and
6526 removed in Python 3. Replace this with a __dir__ method making use
6528 old members list building code. Additionally fix error where the
6529 GObjectClass was being unref'd too many times when using
6531 causing a GLib critical.
6533 https://bugzilla.gnome.org/show_bug.cgi?id=705754
6535 gi/_gobject/pygobject.c | 29 +++++++++++++++++++++--------
6536 tests/test_gi.py | 14 ++++++++++++++
6537 2 files changed, 35 insertions(+), 8 deletions(-)
6539 commit 799989ada2f6b1d729f078f204445651c808a2c7
6540 Author: Simon Feltman <sfeltman@src.gnome.org>
6541 Date: Fri May 3 04:37:13 2013 -0700
6543 Remove PyGObjectWeakRef now that g_binding_unbind exists
6545 Remove the static code for managing GBinding weak references now
6547 has a method (unbind) for clearing out bindings.
6549 https://bugzilla.gnome.org/show_bug.cgi?id=699571
6551 gi/_gobject/pygobject.c | 59
6552 +------------------------------------------------
6553 gi/overrides/GObject.py | 19 ++++++++++++++++
6554 tests/test_gobject.py | 41 ++++++++++++++++++++--------------
6555 3 files changed, 44 insertions(+), 75 deletions(-)
6557 commit fe217e0afbd63f05285e59628533f351896377d9
6558 Author: Simon Feltman <sfeltman@src.gnome.org>
6559 Date: Wed Oct 9 00:34:37 2013 -0700
6561 Fix GArray, GList, GSList, and GHashTable marshaling leaks
6563 Remove calling of cleanup code for transfer-everything modes by
6565 cleanup_data is set to NULL in from_py marshalers. Use array and hash
6566 table ref/unref functions for container transfer mode to ensure we
6568 valid container ref after invoke and during from_py cleanup of
6570 Rework restrictions with to_py marshaling cleanup so we always
6572 container for transfer-everything and transfer-container modes.
6574 https://bugzilla.gnome.org/show_bug.cgi?id=693402
6576 gi/pygi-marshal-cleanup.c | 54 +++++++++++----------------------
6577 gi/pygi-marshal-from-py.c | 77
6578 ++++++++++++++++++++++++++++++++++++++++-------
6579 2 files changed, 84 insertions(+), 47 deletions(-)
6581 commit 7407367f424595c2780a2d6a47d936ad0bd91735
6582 Author: Simon Feltman <sfeltman@src.gnome.org>
6583 Date: Mon Oct 7 14:11:39 2013 -0700
6585 Add cleanup_data argument used for Python to C marshaler cleanup
6587 Add a new output argument to all from_py marshalers which is used for
6588 keeping track of marshaling data that later needs cleanup. Previously
6590 marshalers would rely on the GIArgument->v_pointer as the means
6592 cleanup. However, this pointer would get clobbered in the case of
6593 bi-directional arguments (inout) and the memory lost.
6594 Use the new cleanup_data for storing temporarily wrapped C arrays
6596 don't need to re-calculate the length argument during cleanup.
6598 Additionally delay the from_py marshaling cleanup function until after
6599 _invoke_marshal_out_args is called. This gives inout arguments
6601 modify the pointer sufficient time to exist until they marshaled
6603 Python (gi_marshalling_tests_gvalue_inout).
6605 https://bugzilla.gnome.org/show_bug.cgi?id=693402
6607 gi/pygi-argument.c | 4 +-
6608 gi/pygi-cache.h | 3 +-
6609 gi/pygi-invoke-state-struct.h | 7 +-
6610 gi/pygi-invoke.c | 20 +++---
6611 gi/pygi-marshal-cleanup.c | 43 +++++-------
6612 gi/pygi-marshal-from-py.c | 160
6613 ++++++++++++++++++++++++++++--------------
6614 gi/pygi-marshal-from-py.h | 45 ++++++++----
6615 7 files changed, 177 insertions(+), 105 deletions(-)
6617 commit 9456e83233a927f1f01c6ffcb1f07c62b491a1df
6618 Author: Simon Feltman <sfeltman@src.gnome.org>
6619 Date: Wed Aug 7 12:08:15 2013 -0700
6621 Add support for variable user data arguments
6623 Support a variable number of user data arguments for all callback
6624 connection function where the user data is the last explicit argument.
6625 This adds convience as well as consistency with the rest of PyGObject.
6626 Cleanup overrides for GLib.idle_add, timeout_add, timeout_add_seconds,
6627 io_add_watch, and child_watch_add which manually implemented this
6630 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6632 gi/overrides/GLib.py | 75
6633 +++++++++++++++--------------------------------
6634 gi/pygi-cache.c | 14 +++++++++
6635 gi/pygi-cache.h | 3 ++
6636 gi/pygi-closure.c | 37 +++++++++++++++--------
6637 gi/pygi-invoke.c | 71
6638 +++++++++++++++++++++++++++++++-------------
6639 gi/pygi-marshal-from-py.c | 5 ++++
6640 tests/test_everything.py | 32 ++++++++++++++++++++
6641 tests/test_glib.py | 21 +++++++++++++
6642 tests/test_subprocess.py | 8 ++---
6643 9 files changed, 177 insertions(+), 89 deletions(-)
6645 commit ba4a0a65bf9ec44c3b9449f63d63035bff75d8df
6646 Author: Martin Pitt <martinpitt@gnome.org>
6647 Date: Mon Oct 14 12:57:04 2013 +0200
6649 Bump glib and g-i dependencies to latest stable.
6651 glib 2.38 and g-i 1.38 are from stable GNOME 3.10 which we now
6655 Drop @unittest.skipUnless tags from tests which didn't work with
6659 configure.ac | 6 +++---
6660 tests/test_gi.py | 2 --
6661 3 files changed, 5 insertions(+), 6 deletions(-)
6663 commit 2a5ad2af6bc91b187a2f07fc8d001ec7ad618adf
6664 Author: Nuno Araujo <nuno.araujo@russo79.com>
6665 Date: Fri Oct 11 18:41:48 2013 +0200
6667 Fix TypeError when setting drag target_list to None
6669 When calling Widget.drag_dest_set_target_list(None) or
6670 Widget.drag_source_set_target_list(None)
6671 a "TypeError: 'NoneType' object is not iterable" is thrown.
6673 According to Gtk documentation [1] [2], this shouldn't be the case
6674 since client code should be
6675 able to pass NULL in calls made to gtk_drag_dest_set_target_list and
6676 gtk_drag_source_set_target_list.
6678 We now check if the target_list is None and do not try to create a
6679 TargetList if it is the case.
6682 https://developer.gnome.org/gtk3/3.10/gtk3-Drag-and-Drop.html#gtk-drag-dest-set-target-list
6684 https://developer.gnome.org/gtk3/3.10/gtk3-Drag-and-Drop.html#gtk-drag-source-set-target-list
6686 https://bugzilla.gnome.org/show_bug.cgi?id=709926
6688 gi/overrides/Gtk.py | 4 ++--
6689 tests/test_overrides_gtk.py | 2 ++
6690 2 files changed, 4 insertions(+), 2 deletions(-)
6692 commit 27e9f6ede021fc58e952491b67d69c2a5cdd6acb
6693 Author: Simon Feltman <sfeltman@src.gnome.org>
6694 Date: Tue Oct 1 17:09:39 2013 -0700
6696 Use qdata for wrapper retrieval in toggle reference notifications
6698 Replace usage of user data holding PyGObject wrappers in toggle ref
6699 notifications with GObject qdata retrieval. This fixes thread
6701 where a toggle notify may be called from another thread during
6703 wrappers dealloc. In this case the toggle notify is blocked because
6705 is held in dealloc, and when it continues, the user data would be
6707 invalid PyGObject wrapper. Using qdata solves this by ensuring
6709 retrieval is done within the safety of the GIL and may turn up
6712 https://bugzilla.gnome.org/show_bug.cgi?id=709223
6714 gi/_gobject/pygobject.c | 21 ++++++++++++++-------
6715 1 file changed, 14 insertions(+), 7 deletions(-)
6717 commit 55d925d5f0fb87464b1f391c325c1e70da10d33d
6718 Author: Simon Feltman <sfeltman@src.gnome.org>
6719 Date: Thu Oct 10 16:10:16 2013 -0700
6721 Add expected failure to deal with fixes in gimarshallingtests.c
6723 Fix test_object_full_inout based on newer gimarshallingtests.c >
6725 Add expectedFailure to deal with previous versions of
6726 gimarshallingtests.c.
6728 https://bugzilla.gnome.org/show_bug.cgi?id=709796
6730 tests/test_gi.py | 6 +++++-
6731 1 file changed, 5 insertions(+), 1 deletion(-)
6733 commit d866d422cc39b229f443dd08a3ea50cb3f7df8e6
6734 Author: Simon Feltman <sfeltman@src.gnome.org>
6735 Date: Mon Oct 7 01:17:08 2013 -0700
6737 Fix memory leaks for inout array arguments
6739 Add tracking for array allocations to from_py marashalers in the
6740 argument states extra data (arg_data). This is then used later
6742 marshaling cleanup to call the array cleanup function.
6744 https://bugzilla.gnome.org/show_bug.cgi?id=693402
6746 gi/pygi-invoke.c | 1 +
6747 gi/pygi-marshal-cleanup.c | 1 +
6748 gi/pygi-marshal-from-py.c | 13 +++++++++----
6749 3 files changed, 11 insertions(+), 4 deletions(-)
6751 commit 31263ac117027446c8e2fd1b56d7e348384aabef
6752 Author: Simon Feltman <sfeltman@src.gnome.org>
6753 Date: Sun Oct 6 21:54:15 2013 -0700
6755 Fix to Python marshaling leaks for arrays holding GVariants
6757 Add early check for array items holding pointers and simply assign the
6758 pointer to GIArgument.v_pointer prior giving it to the per-item
6760 This simplifies marshaling and fixes leaks regarding arrays of
6762 removing the unneeded g_variant_ref_sink (variants are always
6764 Conditionalize the use of g_variant_ref_sink based on transfer mode
6766 per-item marshaler. This fixes a reference leak where we are given
6768 of the variant (transfer full) but added a new ref anyway.
6770 https://bugzilla.gnome.org/show_bug.cgi?id=693402
6772 gi/pygi-marshal-to-py.c | 34 ++++++++++++++++++----------------
6773 1 file changed, 18 insertions(+), 16 deletions(-)
6775 commit c9580ce1156789221aa19b00c7aab404db5431b5
6776 Author: Simon Feltman <sfeltman@src.gnome.org>
6777 Date: Sun Oct 6 04:26:18 2013 -0700
6779 Cleanup per-item array marshaling code for flat arrays
6781 Add an early per-item check which tests if the item being marshaled
6783 pointer and simply copies the pointer into the array. This takes
6785 GdkAtom and GVariant special cases because these items are always
6788 Fix error condition cleanup code when an item fails marshaling in
6792 https://bugzilla.gnome.org/show_bug.cgi?id=693402
6794 gi/pygi-marshal-from-py.c | 87
6795 +++++++++++++++++++++--------------------------
6796 tests/test_gi.py | 32 +++++++++++++++++
6797 2 files changed, 71 insertions(+), 48 deletions(-)
6799 commit 4623caa71c54958ab821db27a9eff2790acb3975
6800 Author: Simon Feltman <sfeltman@src.gnome.org>
6801 Date: Sat Oct 5 17:00:54 2013 -0700
6803 Fix GValue array marshaling leaks and crash fallout
6805 * Decrement references for results of PySequence_GetItem. There were
6807 places we were not decrementing the Python reference, leaking
6809 * Add tracking of Python arguments with recursive marshaling
6811 allows arrays of GValues which have been coerced from Python types
6813 properly free'd (also fixes bug 703662).
6814 * Use g_variant_ref for variant arguments marked as transfer
6816 This fixes double free's caused by the decrementing of
6820 https://bugzilla.gnome.org/show_bug.cgi?id=693402
6822 gi/pygi-cache.h | 1 +
6823 gi/pygi-invoke.c | 1 +
6824 gi/pygi-marshal-cleanup.c | 50
6825 +++++++++++++++++++++++++++++++++++++++++------
6826 gi/pygi-marshal-cleanup.h | 14 +++++++++++++
6827 gi/pygi-marshal-from-py.c | 20 ++++++++++++++++---
6828 gi/pygi-marshal-to-py.c | 1 +
6829 6 files changed, 78 insertions(+), 9 deletions(-)
6831 commit 549f849ef8854352483657df3d7558688a4b0007
6832 Author: Simon Feltman <sfeltman@src.gnome.org>
6833 Date: Sat Sep 28 00:26:28 2013 -0700
6835 Refactor GLib.io_add_watch to make it more testable
6837 Break the argument munging code into a separate function which
6838 can be tested in isolation of adding an io watch.
6839 Add additional failing test which specifies all args as keywords
6840 which we eventually need to support for consistency with the
6843 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6845 gi/overrides/GLib.py | 23 ++++++++++++++++++-----
6846 1 file changed, 18 insertions(+), 5 deletions(-)
6848 commit bc780ed17bc4cc62959c63c3f0142161a924679f
6849 Author: Simon Feltman <sfeltman@src.gnome.org>
6850 Date: Fri Sep 27 20:59:45 2013 -0700
6852 Refactor GLib.child_watch_add to make it more testable
6854 Break the argument munging code into a separate function which
6855 can be tested in isolation of adding a child watch. Update tests
6856 to reflect this. Add additional failing test which specify
6857 all args as keywords which we eventually need to support for
6858 consistency with the rest of PyGObject.
6860 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6862 gi/overrides/GLib.py | 25 +++++++++-----
6863 tests/test_subprocess.py | 88
6864 +++++++++++++++++++++---------------------------
6865 2 files changed, 56 insertions(+), 57 deletions(-)
6867 commit 73c6213e8b47fa7c4c2c7a517fe7b56126145888
6868 Author: Simon Feltman <sfeltman@src.gnome.org>
6869 Date: Thu Sep 26 19:05:20 2013 -0700
6871 Don't pass None to callbacks when user data is not specified
6873 For APIs which support a callback and optional user data,
6874 don't pass the user data to the callback if it was not explicitly
6875 specified when the callback was connected.
6877 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6879 gi/pygi-closure.c | 17 ++++++++++++++---
6880 gi/pygi-marshal-from-py.c | 5 -----
6881 tests/test_everything.py | 7 ++-----
6882 3 files changed, 16 insertions(+), 13 deletions(-)
6884 commit a76b06179cdca43f1c7d1feb8e2563e3d884a8ff
6885 Author: Simon Feltman <sfeltman@src.gnome.org>
6886 Date: Fri Oct 4 17:27:47 2013 -0700
6888 Add missing methods on PyGIBaseInfo and sub-classes
6890 Expose all methods of GIBaseBase info and its sub-classes.
6892 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6894 gi/_glib/pyglib-python-compat.h | 1 +
6895 gi/pygi-info.c | 550
6896 +++++++++++++++++++++++++++++++++++++++-
6897 tests/test_repository.py | 134 ++++++++++
6898 3 files changed, 677 insertions(+), 8 deletions(-)
6900 commit e190eb75093e8bf36190dc1beb18d1c1b95b9582
6901 Author: Simon Feltman <sfeltman@src.gnome.org>
6902 Date: Fri Oct 4 13:46:36 2013 -0700
6904 Expose all GI enum and flags types
6906 Add new types for GIDirection, GITransfer, GIArrayType, GIScopeType,
6907 GIVFuncInfoFlags, GIFieldInfoFlags, GIFuncitonInfoFlags, GITypeTag,
6909 GInfoType. These types are found in the gi._gi module exposed
6911 "GI" prefix and contain all of their values as class attributes. e.g.
6912 gi._gi.Transfer.EVERYTHING.
6914 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6916 gi/docstring.py | 10 ++--
6917 gi/pygi-info.c | 150
6918 ++++++++++++++++++++++++++++++++++++++++++++---
6919 tests/test_repository.py | 13 +++-
6920 3 files changed, 158 insertions(+), 15 deletions(-)
6922 commit 0120af6c418d0f67f39c02a4e8327813645b97f4
6923 Author: Simon Feltman <sfeltman@src.gnome.org>
6924 Date: Fri Oct 4 13:42:34 2013 -0700
6926 Avoid calling g_base_info_get_name on GI_INFO_TYPE_TYPE
6928 Calling g_base_info_get_name on infos tagged with GI_INFO_TYPE_TYPE
6930 cause a crash. Avoid this by adding _safe_base_info_get_name and
6932 throughout the bindings.
6933 Logged GI bug as: https://bugzilla.gnome.org/show_bug.cgi?id=709456
6935 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6937 gi/pygi-info.c | 35 +++++++++++++++++++++++++----------
6938 1 file changed, 25 insertions(+), 10 deletions(-)
6940 commit c86b2fe8d01070f06c45fffd910d890afba1313a
6941 Author: Simon Feltman <sfeltman@src.gnome.org>
6942 Date: Fri Oct 4 13:41:08 2013 -0700
6944 Add GIBaseInfo.equal method
6946 Break PyGIBaseInfo rich compare into two methods: equal and
6948 Equal is a direct exposure of the GI method and richcompare makes
6950 this with additional support for Pyton "==" and "!=" operators.
6952 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6954 gi/pygi-info.c | 32 ++++++++++++++++++++++++--------
6955 tests/test_repository.py | 1 +
6956 2 files changed, 25 insertions(+), 8 deletions(-)
6958 commit e7b758badd0ab0b147117859f7871c39fb5399c1
6959 Author: Simon Feltman <sfeltman@src.gnome.org>
6960 Date: Fri Oct 4 13:36:11 2013 -0700
6962 Move info string retrieval into generic function
6964 Add get_info_string for sharing binding of simple string retrieval on
6967 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6969 gi/pygi-info.c | 15 +++++++++++++--
6970 1 file changed, 13 insertions(+), 2 deletions(-)
6972 commit d2aef364de778da966bc1cfffe184d649f9ebb21
6973 Author: Simon Feltman <sfeltman@src.gnome.org>
6974 Date: Tue Sep 24 06:26:17 2013 -0700
6976 Move child info retrieval into generic function
6978 Add a generic function for bindings which return a single child info.
6979 This trivializes binding methods like PyGIObjectInfo.get_parent and
6980 fixes leaks in PyGIObjectInfo.get_class_struct and
6981 PyGIVFuncInfo.get_invoker.
6983 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6986 +++++++++++++++++++++++---------------------------------
6987 1 file changed, 23 insertions(+), 33 deletions(-)
6989 commit cdd03a2b0baef19797a5b55c2880e5b7acf1dd93
6990 Author: Simon Feltman <sfeltman@src.gnome.org>
6991 Date: Tue Sep 24 02:52:22 2013 -0700
6993 Move info tuple retrieval into generic function
6995 Create new generic function for retrieving a tuple of child infos.
6996 This greatly simplifies all the bindings which return tuples from
6997 a common pattern of functions on GIBaseInfo based instances.
6999 https://bugzilla.gnome.org/show_bug.cgi?id=709008
7001 gi/pygi-info.c | 469
7002 ++++++++-------------------------------------------------
7003 1 file changed, 59 insertions(+), 410 deletions(-)
7005 commit 62f185bef20b42f18290a3cf1d3b19dddc957f8a
7006 Author: Simon Feltman <sfeltman@src.gnome.org>
7007 Date: Sun Oct 6 16:41:37 2013 -0700
7009 tests: Update check.valgrind with always-malloc and add logging
7012 Based on notes in https://wiki.gnome.org/Valgrind we need to use
7013 always-malloc for valgrind runs.
7014 Add check.valgrindlog and check.valgrindxml which output valgrind
7016 an ignored local tmp. Output logs are named <head-sha>-$TEST_NAMES.log
7018 can track commits and use diff tools on the logs.
7021 Makefile.am | 6 ++++++
7022 tests/Makefile.am | 10 +++++++++-
7023 3 files changed, 16 insertions(+), 1 deletion(-)
7025 commit 314c933626c4dc5fc585d0e5b6c45ddb17c2e52f
7026 Author: Simon Feltman <sfeltman@src.gnome.org>
7027 Date: Fri Oct 4 20:43:02 2013 -0700
7029 Move existing repository tests into test_repository
7031 Move flags and enum double registration tests into test_repository.py.
7032 Remove duplicate ObjectInfo tests from test_gi.py.
7034 https://bugzilla.gnome.org/show_bug.cgi?id=709008
7036 tests/test_gi.py | 38 --------------------------------------
7037 tests/test_repository.py | 28 ++++++++++++++++++++++++++++
7038 2 files changed, 28 insertions(+), 38 deletions(-)
7040 commit 31840888c8948aab78041da93c329572f3aabb64
7041 Author: Simon Feltman <sfeltman@src.gnome.org>
7042 Date: Fri Oct 4 17:31:21 2013 -0700
7044 Add unittests for GIRepository
7046 Add basic unittests for the existing classes and methods exposed for
7047 the GIRepository module (gi._gi).
7049 https://bugzilla.gnome.org/show_bug.cgi?id=709008
7051 tests/Makefile.am | 1 +
7052 tests/test_repository.py | 170
7053 +++++++++++++++++++++++++++++++++++++++++++++++
7054 2 files changed, 171 insertions(+)
7056 commit 4408f83be70e92c5e3943f5ce85c551e7f2c87d0
7057 Author: Simon Feltman <sfeltman@src.gnome.org>
7058 Date: Fri Oct 4 15:50:05 2013 -0700
7060 Derive SignalInfo info from CallableInfo
7062 Change Python class derivation of PyGISignalInfo to use
7064 the base class. This accurately reflects the GI class layout and
7066 the callable information for signals.
7068 https://bugzilla.gnome.org/show_bug.cgi?id=709008
7070 gi/pygi-info.c | 7 ++++---
7071 1 file changed, 4 insertions(+), 3 deletions(-)
7073 commit b01daba04ff001b9e63d343938e879d339d9a98c
7074 Author: Simon Feltman <sfeltman@src.gnome.org>
7075 Date: Fri Oct 4 15:48:05 2013 -0700
7077 Use PYGLIB_PyLong_FromLong for GIDirection return
7079 https://bugzilla.gnome.org/show_bug.cgi?id=709008
7081 gi/pygi-info.c | 2 +-
7082 1 file changed, 1 insertion(+), 1 deletion(-)
7084 commit d644cbd0c0ad85142286754838db848c4eb1707f
7085 Author: Simon Feltman <sfeltman@src.gnome.org>
7086 Date: Thu Oct 3 19:25:34 2013 -0700
7088 Fix memory leak for caller allocated GValue out arguments
7090 Swizzle the order of type checks in _cleanup_caller_allocates so
7091 G_TYPE_VALUE arguments are checked before G_TYPE_BOXED. The
7093 important because G_TYPE_VALUE is a sub-type of boxed and so its
7095 cleanup code was never being called (g_value_unset).
7096 Additionally update check to use g_type_is_a instead of a compare
7098 the potential case of a G_TYPE_VALUE sub-type.
7100 https://bugzilla.gnome.org/show_bug.cgi?id=709397
7102 gi/pygi-marshal-cleanup.c | 11 ++++++-----
7103 1 file changed, 6 insertions(+), 5 deletions(-)
7105 commit 510789d52e9e2fd863d26613f3282364eb175601
7106 Author: Simon Feltman <sfeltman@src.gnome.org>
7107 Date: Sun Jul 28 14:44:51 2013 -0700
7109 Add support for default arguments annotated with allow-none
7111 Support default value of NULL for tail end arguments which are
7112 marked with allow-none.
7113 The implementation uses a place holder object for un-supplied
7115 which are annotated with allow-none. This is then used later during
7116 marshaling to supply NULL as the default.
7117 Additionally support an implicit default for callback user_data
7118 using the same technique.
7120 https://bugzilla.gnome.org/show_bug.cgi?id=640812
7122 gi/gimodule.c | 6 +++
7123 gi/pygi-cache.c | 103
7124 ++++++++++++++++++++++++++++++----------------
7125 gi/pygi-cache.h | 8 ++++
7126 gi/pygi-invoke.c | 42 +++++++++++++------
7127 gi/pygi-marshal-from-py.c | 5 +++
7129 tests/test_everything.py | 16 +++++++
7130 tests/test_gi.py | 30 ++++++++++++++
7131 8 files changed, 162 insertions(+), 49 deletions(-)
7133 commit 03f531ffb1adde0c48e98f92bd92f79416654fbe
7134 Author: Simon Feltman <sfeltman@src.gnome.org>
7135 Date: Fri Aug 2 22:27:10 2013 -0700
7137 cache refactoring: Move arg cache field assignments into
7140 https://bugzilla.gnome.org/show_bug.cgi?id=640812
7142 gi/pygi-cache.c | 23 +++++++++++------------
7143 1 file changed, 11 insertions(+), 12 deletions(-)
7145 commit cb7e7311bff57eb4c79c7772b6db4d00084656bb
7146 Author: Simon Feltman <sfeltman@src.gnome.org>
7147 Date: Fri Aug 2 20:27:02 2013 -0700
7149 cache refactoring: Cleanup array length argument marshaling
7151 Add shared function: _arg_cache_array_len_arg_setup for use
7152 with both to and from array marshaling setup. This function
7153 consolidates all of the edge cases regarding array length setup
7154 and removes the need for flagging arguments with
7155 PYGI_META_ARG_TYPE_CHILD_NEEDS_UPDATE.
7157 https://bugzilla.gnome.org/show_bug.cgi?id=640812
7159 gi/pygi-cache.c | 145
7160 +++++++++++++++++++++++++++-----------------------------
7161 gi/pygi-cache.h | 5 --
7162 2 files changed, 71 insertions(+), 79 deletions(-)
7164 commit c9d8639401ae82977e960de44d80b94a501a2184
7165 Author: Simon Feltman <sfeltman@src.gnome.org>
7166 Date: Sat Aug 3 00:26:11 2013 -0700
7168 cache refactoring: Move variable declarations to blocks where they
7171 https://bugzilla.gnome.org/show_bug.cgi?id=640812
7173 gi/pygi-cache.c | 25 ++++++++++++++-----------
7174 1 file changed, 14 insertions(+), 11 deletions(-)
7176 commit dbc2cf5f1fa0f9cc046170efa6afb086b90253cb
7177 Author: Simon Feltman <sfeltman@src.gnome.org>
7178 Date: Thu Aug 1 19:33:27 2013 -0700
7180 cache refactoring: Remove continue statements from
7181 _args_cache_generate
7183 Remove continue and goto statements from the large loop within
7184 _args_cache_generate. This simplifies the sharing of parts of
7185 the loop for future refactoring.
7187 https://bugzilla.gnome.org/show_bug.cgi?id=640812
7189 gi/pygi-cache.c | 126
7190 +++++++++++++++++++++++++++-----------------------------
7191 1 file changed, 61 insertions(+), 65 deletions(-)
7193 commit 87ae14b8b4a0ed9beb22f48314247e988a2e017f
7194 Author: Simon Feltman <sfeltman@src.gnome.org>
7195 Date: Wed Jul 31 18:10:05 2013 -0700
7197 cache refactoring: Use bit field for PyGIDirection instead of enum
7199 This supports cleaner logic when testing the direction of
7200 arguments due to the majority of these tests being along the
7201 lines of: (direction == FROM_PYTHON || direction == BIDIRECTIONAL)
7202 Which is replaced with: (direction & FROM_PYTHON)
7204 https://bugzilla.gnome.org/show_bug.cgi?id=640812
7206 gi/pygi-cache.c | 64
7207 ++++++++++++++++++++++++++++-----------------------------
7208 gi/pygi-cache.h | 6 +++---
7209 2 files changed, 35 insertions(+), 35 deletions(-)
7211 commit d5925b76afa3a429092cbafd82aed40bb0cf0b18
7212 Author: Simon Feltman <sfeltman@src.gnome.org>
7213 Date: Sun Jul 28 20:45:05 2013 -0700
7215 cache refactoring: Remove special case marshaling for instance
7218 Remove duplicate code for marshaling struct and objects for
7219 instance arguments. Re-use individual cache marshalers for
7220 structs and objects with the instance argument. This required
7221 removal of passing GITypeInfo to the marshaler because it is
7222 not available for instance arguments. Instead always assume
7223 "is_pointer" for the instance argument by using the cache.
7225 https://bugzilla.gnome.org/show_bug.cgi?id=640812
7227 gi/pygi-argument.c | 4 +--
7228 gi/pygi-cache.c | 16 ++++-----
7229 gi/pygi-marshal-from-py.c | 87
7230 +++--------------------------------------------
7231 gi/pygi-marshal-from-py.h | 16 ++-------
7232 4 files changed, 16 insertions(+), 107 deletions(-)
7234 commit c19bed69c669160737e12d92cc29f3e6d1b008cc
7235 Author: Simon Feltman <sfeltman@src.gnome.org>
7236 Date: Sun Jul 28 16:44:01 2013 -0700
7238 cache refactoring: Use GPtrArray for callable arg cache
7240 Replace manual management of the C array holding individual
7241 argument caches with usage of GPtrArray. This provides storage
7242 of the array length along with item memory management.
7244 https://bugzilla.gnome.org/show_bug.cgi?id=640812
7246 gi/pygi-cache.c | 62
7247 +++++++++++++++++++++++------------------------
7248 gi/pygi-cache.h | 16 +++++++++---
7249 gi/pygi-invoke.c | 16 ++++++------
7250 gi/pygi-marshal-cleanup.c | 8 +++---
7251 gi/pygi-marshal-from-py.c | 6 ++---
7252 gi/pygi-marshal-to-py.c | 6 ++---
7253 6 files changed, 62 insertions(+), 52 deletions(-)
7255 commit 52ea3afb0a6494423eca36a54af928d4ae5d9954
7256 Author: Simon Feltman <sfeltman@src.gnome.org>
7257 Date: Sun Jul 28 15:02:51 2013 -0700
7259 cache refactoring: Move PyGI direction code into new function
7261 https://bugzilla.gnome.org/show_bug.cgi?id=640812
7263 gi/pygi-cache.c | 42 +++++++++++++++++++++---------------------
7264 1 file changed, 21 insertions(+), 21 deletions(-)
7266 commit 83208bf495b152e93a28a231d445f43ea827d2eb
7267 Author: Simon Feltman <sfeltman@src.gnome.org>
7268 Date: Fri Aug 2 15:59:25 2013 -0700
7270 cache refactoring: Add comments to callable cache structure
7272 Add comments to count fields on _PyGICallableCache.
7274 https://bugzilla.gnome.org/show_bug.cgi?id=640812
7276 gi/pygi-cache.h | 13 ++++++++++++-
7277 1 file changed, 12 insertions(+), 1 deletion(-)
7279 commit 0a8d5695972601eaa9f7f463bac173d02b0380a0
7280 Author: Simon Feltman <sfeltman@src.gnome.org>
7281 Date: Wed Jul 24 01:14:29 2013 -0700
7283 Remove support for allowing PyObjects as void pointers
7285 Final removal of marshaling Python object addresses as
7286 void pointers. This ensures we can successfully pass
7287 integer values as the pointer without the Python object
7288 leaking or crashing due to invalid memory.
7290 https://bugzilla.gnome.org/show_bug.cgi?id=688081
7292 gi/pygi-marshal-from-py.c | 20 ++++++--------------
7293 gi/pygi-marshal-to-py.c | 14 ++------------
7294 tests/test_signal.py | 5 +----
7295 3 files changed, 9 insertions(+), 30 deletions(-)
7297 commit 1469403ee2faa699430055384b338f0cd8e672d7
7298 Author: Simon Feltman <sfeltman@src.gnome.org>
7299 Date: Wed Sep 25 18:21:22 2013 -0700
7301 configure.ac: bump trunk to 3.11.1
7304 1 file changed, 1 insertion(+), 1 deletion(-)
7306 commit 8e774e61d62c82efa3d907c1201359121878b4b5
7307 Author: Simon Feltman <sfeltman@src.gnome.org>
7308 Date: Mon Sep 23 03:57:03 2013 -0700
7310 configure.ac: post-release bump to 3.10.1
7313 1 file changed, 1 insertion(+), 1 deletion(-)
7315 commit 95af6279a9affff5c816db2db53207ff0f19872d
7316 Author: Simon Feltman <sfeltman@src.gnome.org>
7317 Date: Mon Sep 23 03:17:19 2013 -0700
7322 configure.ac | 4 ++--
7323 2 files changed, 5 insertions(+), 2 deletions(-)
7325 commit c626be6317b610277c95461108573d1ae6f42b6d
7326 Author: Martin Pitt <martinpitt@gnome.org>
7327 Date: Mon Sep 23 12:06:11 2013 +0200
7329 Fix test_gi.TestProjectVersion.test_version_str()
7331 In this test case we only do a string comparison, not a proper
7333 component" numerical one. So relax the test to also work with 3.10.
7335 tests/test_gi.py | 2 +-
7336 1 file changed, 1 insertion(+), 1 deletion(-)
7338 commit 0a30f8d02099e582ea3ded800303e14d2e7ab212
7339 Author: Martin Pitt <martinpitt@gnome.org>
7340 Date: Mon Sep 16 10:12:33 2013 -0500
7345 1 file changed, 7 insertions(+)
7347 commit 506f1e35a9375be80a6a79421bf8272165fdd90a
7348 Author: Simon Feltman <sfeltman@src.gnome.org>
7349 Date: Mon Sep 16 01:23:49 2013 -0700
7351 Update current maintainers list in README
7354 1 file changed, 2 insertions(+), 1 deletion(-)
7356 commit ef120498e060e88a1efcb82de385a23c1fa9c7da
7357 Author: Simon Feltman <sfeltman@src.gnome.org>
7358 Date: Tue Sep 10 17:11:21 2013 -0700
7360 Fix union argument regression when marshaling from python
7362 Check for union members when marshaling boxed types from Python.
7363 This is a regression caused by stricter type checking added when
7364 merging code from pygi-argument.c.
7365 Re-add pyg_boxed_check to the same bit of code in addition to
7366 __gtype__ checking to avoid a double regression.
7368 https://bugzilla.gnome.org/show_bug.cgi?id=703873
7370 gi/pygi-marshal-from-py.c | 53
7371 ++++++++++++++++++++++++++---------------------
7372 1 file changed, 29 insertions(+), 24 deletions(-)
7374 commit 59a2964141e963d2961e55d4b84a777927b4f21b
7375 Author: Simon Feltman <sfeltman@src.gnome.org>
7376 Date: Wed Sep 11 05:05:33 2013 -0700
7378 Fix GLib.Source sub-classing with initializer args
7380 Add variable args and keyword args to the GLib.Source.__new__
7381 method to support sub-classes which want to implement __init__.
7383 https://bugzilla.gnome.org/show_bug.cgi?id=707904
7385 gi/overrides/GLib.py | 2 +-
7386 tests/test_source.py | 11 +++++++++++
7387 2 files changed, 12 insertions(+), 1 deletion(-)
7389 commit afa42ab95327da1de0cf86005974cd8ab0d46872
7390 Author: Vratislav Podzimek <vpodzime@redhat.com>
7391 Date: Wed Sep 4 14:17:31 2013 +0200
7393 Copy __doc__ when wrapping function
7395 Signed-off-by: Vratislav Podzimek <vpodzime@redhat.com>
7396 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
7398 gi/overrides/__init__.py | 1 +
7399 1 file changed, 1 insertion(+)
7401 commit 7914a6828a533d8c579a5b422351e18b9f9afc8c
7402 Author: Martin Pitt <martinpitt@gnome.org>
7403 Date: Mon Sep 2 14:56:24 2013 +0200
7405 configure.ac: post-release bump to 3.9.92
7408 1 file changed, 1 insertion(+), 1 deletion(-)
7410 commit ad8b7d1a89eb2d030a504d521f7589a4c1d835fb
7411 Author: Martin Pitt <martinpitt@gnome.org>
7412 Date: Mon Sep 2 14:38:41 2013 +0200
7416 NEWS | 10 ++++++++++
7417 1 file changed, 10 insertions(+)
7419 commit 9df8eb79929025f12d51bc7f79b1d160156c2755
7420 Author: Simon Feltman <sfeltman@src.gnome.org>
7421 Date: Mon Sep 2 04:19:35 2013 -0700
7423 Fix GObject signal methods to work with new annotations
7425 Add conditional support for signal methods annotated as gpointer
7426 or GObject.Object. This is needed to work with newer versions of
7427 glib which changed annotations to GObject.Object (bug #685387).
7429 https://bugzilla.gnome.org/show_bug.cgi?id=707280
7431 gi/overrides/GObject.py | 106
7432 ++++++++++++++++++++++++++++++------------------
7433 1 file changed, 66 insertions(+), 40 deletions(-)
7435 commit 9b6b6c7ee6a621cba99f51857eadd622a1535118
7436 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
7437 Date: Thu Aug 15 14:41:40 2013 +0800
7439 Fix build on C89 Compilers
7441 Avoid a variable declaration at the middle of the block
7443 https://bugzilla.gnome.org/show_bug.cgi?id=707264
7445 gi/pygi-closure.c | 3 ++-
7446 1 file changed, 2 insertions(+), 1 deletion(-)
7448 commit 19c1a2dfb91a83a6fb0ca76b9c95c42a49a3736e
7449 Author: Simon Feltman <sfeltman@src.gnome.org>
7450 Date: Sun Sep 1 20:44:26 2013 -0700
7452 Change boxed type checking in marshaling to use __gtype__ attribute
7454 Replace usage of pyg_boxed_check(pyboxed) with g_type_is_a and
7455 pyg_type_from_object. This has the effect of using the __gtype__
7456 attribute stashed on object class instead of the PyGBoxed
7457 internally held gtype. This fixes type descrepencies for objects
7458 marshaled into overridden signal class closures and passed back
7459 to functions taking an alias their type.
7461 https://bugzilla.gnome.org/show_bug.cgi?id=707140
7463 gi/pygi-marshal-from-py.c | 8 +++++++-
7464 tests/test_overrides_gtk.py | 34 ++++++++++++++++++++++++++++++++++
7465 2 files changed, 41 insertions(+), 1 deletion(-)
7467 commit dab0c09f1996e124ca98334e5aea0852904b44b5
7468 Author: Simon Feltman <sfeltman@src.gnome.org>
7469 Date: Sun Sep 1 17:49:09 2013 -0700
7471 Use G_IS_VALUE for checking return values in closure marshaling
7473 Replace return_value argument NULL checks in GClosureMarshal
7474 implementations with G_IS_VALUE. This checks both NULL and
7475 validity of the value (!= G_TYPE_INVALID). This is needed
7476 because GLib can pass either NULL or an invalid value based
7477 on whether or not G_ENABLE_DEBUG is set.
7478 See: https://bugzilla.gnome.org/show_bug.cgi?id=707249
7480 https://bugzilla.gnome.org/show_bug.cgi?id=707170
7482 gi/_gobject/pygtype.c | 4 ++--
7483 gi/pygi-signal-closure.c | 2 +-
7484 2 files changed, 3 insertions(+), 3 deletions(-)
7486 commit c7b75a8c250078ac8ea28752f087ed687bd20edd
7487 Author: Yanko Kaneti <yaneti@declera.com>
7488 Date: Wed Aug 21 08:53:07 2013 +0200
7490 Fix PEP-8 errors in propertyhelper.py
7492 https://bugzilla.gnome.org/show_bug.cgi?id=706319
7494 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
7496 gi/_gobject/propertyhelper.py | 12 ++++++------
7497 1 file changed, 6 insertions(+), 6 deletions(-)
7499 commit 6fdd58404103596accb6ab04d4de33846d853c58
7500 Author: Martin Pitt <martinpitt@gnome.org>
7501 Date: Mon Aug 19 17:13:30 2013 +0200
7503 configure.ac: post-release bump to 3.9.91
7506 1 file changed, 1 insertion(+), 1 deletion(-)
7508 commit 6fbe2580deda215896e9583b418b8bc1aceb2f96
7509 Author: Martin Pitt <martinpitt@gnome.org>
7510 Date: Mon Aug 19 17:10:52 2013 +0200
7515 1 file changed, 9 insertions(+)
7517 commit a8d5da559ef088b05062681206758d2718946269
7518 Author: Martin Pitt <martinpitt@gnome.org>
7519 Date: Mon Aug 19 11:38:31 2013 +0200
7521 NEWS: retroactively fix last version number
7524 1 file changed, 1 insertion(+), 1 deletion(-)
7526 commit aba45eb2617c4b35168089bc9028f351732a617f
7527 Author: Benjamin Berg <benjamin@sipsolutions.net>
7528 Date: Tue Aug 6 00:41:52 2013 +0200
7530 Create GLib.Pid in the same way on python 2 and 3
7532 https://bugzilla.gnome.org/show_bug.cgi?id=705451
7534 gi/_glib/pygspawn.c | 8 --------
7535 1 file changed, 8 deletions(-)
7537 commit 2d203b7529c95ba4461a5a6d4c6b67169fabc4cf
7538 Author: Benjamin Berg <benjamin@sipsolutions.net>
7539 Date: Mon Aug 5 17:04:15 2013 +0200
7541 Use PyLong_Type.tp_new for GLib.Pid
7543 For GLib.Pid the original implementation for __new__ needs to be used,
7544 as it is able to initialize the integer correctly.
7546 https://bugzilla.gnome.org/show_bug.cgi?id=705451
7548 gi/_glib/pygspawn.c | 1 +
7549 tests/test_subprocess.py | 1 +
7550 2 files changed, 2 insertions(+)
7552 commit c32793dafbd52eab87b14ca064b47f5a4fb9000b
7553 Author: Simon Feltman <sfeltman@src.gnome.org>
7554 Date: Mon Aug 5 14:40:38 2013 -0700
7556 Add accumulator and accu_data arguments to GObject.Signal decorator
7558 Update __init__, __call__, and copy methods to accept and pass
7559 accumulators and associated user data through them. Update
7560 accumulator unittests to use Signal decorators for testing accumulator
7561 pass throughs. Verified the __gsignals__ dictionary accepts None
7562 as valid values for accumulator and accu_data so specialization
7563 for these arguments is not necessary.
7565 https://bugzilla.gnome.org/show_bug.cgi?id=705533
7567 gi/_gobject/signalhelper.py | 17 ++++++++++-----
7568 tests/test_signal.py | 52
7569 ++++++++++++++++++++++++---------------------
7570 2 files changed, 40 insertions(+), 29 deletions(-)
7572 commit 78f72654f5cb6c06e76ed9a532fc1ee328b60e50
7573 Author: Simon Feltman <sfeltman@src.gnome.org>
7574 Date: Mon Aug 5 14:12:24 2013 -0700
7576 Pass return values through the GObject.Signal.emit wrapper
7578 Return the result of GObject.emit from the Signal decorators wrapping.
7579 Update unittest for decorated return type to use skipUnless for
7581 Add test for Signal decorator return type.
7583 https://bugzilla.gnome.org/show_bug.cgi?id=705530
7585 gi/_gobject/signalhelper.py | 2 +-
7586 tests/test_signal.py | 37 +++++++++++++++++++++----------------
7587 2 files changed, 22 insertions(+), 17 deletions(-)
7589 commit 08cc206afeaefd1ce50ecfd1411807225a11c8f8
7590 Author: Simon Feltman <sfeltman@src.gnome.org>
7591 Date: Mon Jul 29 03:33:40 2013 -0700
7593 configure.ac: post-release bump to 3.9.90
7596 1 file changed, 1 insertion(+), 1 deletion(-)
7598 commit 2d8f5490cdc078b3e56a92deb9eca71b3fc5ef17
7599 Author: Simon Feltman <sfeltman@src.gnome.org>
7600 Date: Mon Jul 29 02:23:02 2013 -0700
7604 NEWS | 41 +++++++++++++++++++++++++++++++++++++++++
7606 2 files changed, 42 insertions(+), 1 deletion(-)
7608 commit ec3de7608ec970f6f272c9d7937344f02c6e9c3d
7609 Author: Simon Feltman <sfeltman@src.gnome.org>
7610 Date: Mon Jul 29 01:21:19 2013 -0700
7612 Ensure exceptions set in closure out argument marshaling are printed
7614 Call PyErr_Print when an exception occurs after marshaling closure
7615 out arguments. These exceptions were being ignored and cleared out
7616 only to show up in debug builds of Python.
7618 https://bugzilla.gnome.org/show_bug.cgi?id=705064
7620 gi/pygi-closure.c | 8 ++++++++
7621 tests/test_generictreemodel.py | 17 +++++++++++------
7622 2 files changed, 19 insertions(+), 6 deletions(-)
7624 commit b5dcb1800839f747a052e487643c234668384677
7625 Author: Simon Feltman <sfeltman@src.gnome.org>
7626 Date: Sun Jul 28 23:00:26 2013 -0700
7628 Use Python error messages for marshaling integers from Python
7630 Use Pythons default error messages where possible.
7631 Change all explicitly raised ValueError to use OverflowError
7632 for out of range data.
7634 https://bugzilla.gnome.org/show_bug.cgi?id=705057
7636 gi/pygi-marshal-from-py.c | 76
7637 +++++++++++++++++------------------------------
7638 tests/test_everything.py | 52 ++++++++++++++++----------------
7639 tests/test_gi.py | 64 +++++++++++++++++++--------------------
7640 tests/test_gobject.py | 2 +-
7641 4 files changed, 86 insertions(+), 108 deletions(-)
7643 commit 3c83bfb14b850670eb7c0208e55c120ca203f8af
7644 Author: Simon Feltman <sfeltman@src.gnome.org>
7645 Date: Sat Jul 27 21:10:07 2013 -0700
7647 Use Py_CLEAR for closure cleanup instead of test with Py_DECREF
7649 gi/pygi-closure.c | 11 ++---------
7650 1 file changed, 2 insertions(+), 9 deletions(-)
7652 commit f5e3876dee512ca82af6ea798b10d5ecad785dd1
7653 Author: Simon Feltman <sfeltman@src.gnome.org>
7654 Date: Sat Jul 27 15:25:20 2013 -0700
7656 Cleanup invoke args and kwargs combiner code
7658 Change _py_args_combine_and_check_length use cleaner reference
7660 It no longer DECREFs input arguments and always returns a new value
7662 Use PyGICallableCache directly as an argument instead of passing
7666 gi/pygi-invoke.c | 44 +++++++++++++++++---------------------------
7667 1 file changed, 17 insertions(+), 27 deletions(-)
7669 commit 91c49822363d8a1efc82163b46daa667d6cfc1b7
7670 Author: Simon Feltman <sfeltman@src.gnome.org>
7671 Date: Wed Jul 17 16:10:25 2013 -0700
7673 Replace Python VFunc descriptor directly with PyGIVFuncInfo
7675 Add tp_getdesc (__get__) to PyGIVFuncInfo to allow the object
7676 to be used directly as a callable descriptor. This piggy backs
7677 off the added support for functions and constructors in previous
7680 https://bugzilla.gnome.org/show_bug.cgi?id=704037
7682 gi/pygi-info.c | 25 +++++++++++++++++++++++--
7683 gi/types.py | 33 ++++-----------------------------
7684 2 files changed, 27 insertions(+), 31 deletions(-)
7686 commit 35f79b22ec5abf02fd0bb66352eb1f251b65a078
7687 Author: Simon Feltman <sfeltman@src.gnome.org>
7688 Date: Tue Jul 16 16:00:14 2013 -0700
7690 Add callable and descriptor protocols to PyGICallableInfo
7692 Add tp_call (__call__) function to callable info objects.
7693 This allows for replacement of wrapped invoke methods directly
7694 with the already created callable info object. This has the
7695 additional side effect of making doc strings lazily bound
7696 (only generated when __doc__ is accessed).
7698 Add tp_desc_get (__get__) to PyGIFunctionInfo which returns
7699 a bound version of itself for methods and constructors.
7701 Update various internal type checks to reflect the changes.
7702 Update tests to reflect the new callable type being the same
7703 across Python 2 & 3.
7705 This patch gives roughly a %17 speedup for Gtk imports and
7706 an %11 speedup for GI method calls.
7708 https://bugzilla.gnome.org/show_bug.cgi?id=704037
7711 gi/overrides/__init__.py | 10 ++-
7712 gi/pygi-info.c | 179
7713 ++++++++++++++++++++++++++++++++++++++++++--
7715 gi/types.py | 35 +--------
7716 tests/test_docstring.py | 6 +-
7717 tests/test_gi.py | 32 +++-----
7718 tests/test_overrides_gtk.py | 4 +-
7719 8 files changed, 212 insertions(+), 72 deletions(-)
7721 commit 2339e030e4dc4d93ea770bca380a89f831d56be6
7722 Author: Simon Feltman <sfeltman@src.gnome.org>
7723 Date: Fri Jul 26 19:33:32 2013 -0700
7725 Move "from Python" GObject out arg marshaler into specialized function
7727 Move hacks specific to out argument marshaling for vfuncs into a
7728 a specialized function. This allows standard function call marshaling
7729 to continue working correctly when there are no extra references
7730 holding the arguments "foo(SomeObject())". This is currently being
7731 masked because all GI functions are wrapped by additional layers
7732 of Python functions. When these layers are removed, it exposes
7733 bugs introduced by reference counting hacks intended for vfunc
7736 https://bugzilla.gnome.org/show_bug.cgi?id=704037
7738 gi/pygi-argument.c | 2 +-
7739 gi/pygi-marshal-from-py.c | 37 ++++++++++++++++++++++++++++++-------
7740 gi/pygi-marshal-from-py.h | 3 +++
7741 3 files changed, 34 insertions(+), 8 deletions(-)
7743 commit 627c5faaa54ed9a2b59ac1547833c171cd1a1e87
7744 Author: Simon Feltman <sfeltman@src.gnome.org>
7745 Date: Fri Jul 26 17:34:01 2013 -0700
7747 Add underscore prefix and _cache_adapter suffix to marshaling
7750 Add underscores to all _pygi_marshal_* functions. We don't currently
7751 export symbols, but we might need to for C unittesting. This will
7752 ensure we don't have a "public API".
7753 Add _cache_adapter suffix to marshaling functions which are light
7754 weight wrappers intended only for cached marshalers.
7756 gi/pygi-argument.c | 40 +++++++++++-----------
7757 gi/pygi-cache.c | 10 +++---
7758 gi/pygi-marshal-from-py.c | 86
7759 +++++++++++++++++++++++------------------------
7760 gi/pygi-marshal-from-py.h | 44 ++++++++++++------------
7761 gi/pygi-marshal-to-py.c | 48 +++++++++++++-------------
7762 gi/pygi-marshal-to-py.h | 34 +++++++++----------
7763 6 files changed, 131 insertions(+), 131 deletions(-)
7765 commit bec0b543be8d993996d8a17c343c3f2f33a9398f
7766 Author: Simon Feltman <sfeltman@src.gnome.org>
7767 Date: Tue Jul 16 11:13:17 2013 -0700
7769 Add common attribute accessors to PyGIBaseInfo
7771 Add __name__, __module__, and __doc__ accessors to
7772 PyGIBaseInfo object. This is a precursory patch for setting
7773 up PyGICallableInfo as a directly callable object with lazy
7774 doc string evaluation.
7776 https://bugzilla.gnome.org/show_bug.cgi?id=704037
7778 gi/_glib/pyglib-python-compat.h | 5 +++
7780 +++++++++++++++++++++++++++++++++++++++--
7781 gi/types.py | 7 ++--
7782 3 files changed, 88 insertions(+), 7 deletions(-)
7784 commit ea194404843a16555f9a475cc973872a4428bfe1
7785 Author: Simon Feltman <sfeltman@src.gnome.org>
7786 Date: Sat Jul 13 23:10:31 2013 -0700
7788 Merge method and constructor setup
7790 Merge _setup_constructors into _setup_methods as they contain same
7791 basic logic. This removes an unnecessary call with additional
7792 filtering of GIObjectInfo.get_methods() which can be large for
7793 objects with many methods.
7795 https://bugzilla.gnome.org/show_bug.cgi?id=704037
7797 gi/types.py | 15 ++++-----------
7798 1 file changed, 4 insertions(+), 11 deletions(-)
7800 commit 6b36fbe904d19f515578f447daa7657d3a9a859c
7801 Author: Simon Feltman <sfeltman@src.gnome.org>
7802 Date: Sat Jul 13 18:11:18 2013 -0700
7804 Remove redundant info.get_name calls
7806 Remove a number of redundant calls to GIBaseInfo.get_name. Info
7807 names are already cached on function objects so re-use them when
7808 possible. This gives a small load time improvement by removing over
7809 2000 calls when importing Gtk.
7811 https://bugzilla.gnome.org/show_bug.cgi?id=704037
7814 gi/types.py | 8 +++-----
7815 2 files changed, 3 insertions(+), 6 deletions(-)
7817 commit 6fdde256e840600c84a648ab21da2fe5c212e5bc
7818 Author: Simon Feltman <sfeltman@src.gnome.org>
7819 Date: Fri Jul 12 12:21:54 2013 -0700
7821 Move doc string generator into separate module
7823 Move the doc string generator for creating function signatures
7824 into "gi.docstring". This includes a new API for getting and
7825 setting the doc string creation functions:
7827 gi.docstring.get_doc_string_generator
7828 gi.docstring.set_doc_string_generator
7829 gi.docstring.generate_doc_string
7831 Beyond adding the ability for custom doc string generators,
7832 this API is a necessary step for adding lazy __doc__
7833 attribute access for optimization.
7835 https://bugzilla.gnome.org/show_bug.cgi?id=704037
7837 gi/Makefile.am | 3 +-
7838 gi/docstring.py | 106
7839 ++++++++++++++++++++++++++++++++++++++++++++++++
7840 gi/types.py | 55 ++-----------------------
7841 tests/Makefile.am | 1 +
7842 tests/test_docstring.py | 49 ++++++++++++++++++++++
7843 tests/test_gi.py | 30 --------------
7844 6 files changed, 161 insertions(+), 83 deletions(-)
7846 commit f86701b15ee04c717d9c6bf688101606165e4f83
7847 Author: Simon Feltman <sfeltman@src.gnome.org>
7848 Date: Wed Jul 24 19:36:28 2013 -0700
7850 tests: Change GHashTable<string,GValue> marshaling test to use GValue
7852 Add test to explicitly use a boxed GStrv GValue in addition to a
7853 Python list sub-class.
7855 https://bugzilla.gnome.org/show_bug.cgi?id=666636
7857 tests/test_everything.py | 21 +++++++++++++++------
7858 1 file changed, 15 insertions(+), 6 deletions(-)
7860 commit 6ea41b60691e1ba7e21374582d7aea072af71103
7861 Author: Simon Feltman <sfeltman@src.gnome.org>
7862 Date: Thu Jul 25 18:00:47 2013 -0700
7864 gtk-demo: Change demo to use Gtk.Application
7866 Replace deriving from Gtk.Window with deriving from Gtk.Application
7867 connected to a Gtk.ApplicationWindow instance.
7869 https://bugzilla.gnome.org/show_bug.cgi?id=698547
7871 demos/gtk-demo/demos/printing.py | 2 +-
7872 demos/gtk-demo/gtk-demo.py | 40
7873 ++++++++++++++++++++--------------------
7874 2 files changed, 21 insertions(+), 21 deletions(-)
7876 commit fae58044ea0b2e7f47fbdacc5b58ac36f673ecbd
7877 Author: Simon Feltman <sfeltman@src.gnome.org>
7878 Date: Tue Jul 23 14:25:01 2013 -0700
7880 Move _pygi_argument_to_object_basic_type into pygi-marshal-to-py.c
7882 Move _pygi_argument_to_object_basic_type into pygi-marshal-to-py.c
7883 and rename to _pygi_marshal_to_py_basic_type.
7884 Cleanup and simplify dependant sub-marshalers for unichar, utf8,
7887 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7889 gi/pygi-argument.c | 73 +-----------------------------
7890 gi/pygi-argument.h | 4 --
7891 gi/pygi-cache.c | 4 +-
7892 gi/pygi-marshal-to-py.c | 115
7893 +++++++++++++++++++++++++++++++++++++-----------
7894 gi/pygi-marshal-to-py.h | 27 +++---------
7895 5 files changed, 99 insertions(+), 124 deletions(-)
7897 commit cba401ac1543c2fdb68fff0dba8f6da7eed23bfa
7898 Author: Simon Feltman <sfeltman@src.gnome.org>
7899 Date: Tue Jul 23 13:06:33 2013 -0700
7901 Unify and clean up from Python marshalers for basic types
7903 Unify and cleanup boolean, float, double, gtype, unichar, utf8,
7904 and filename marshalers.
7906 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7908 gi/pygi-cache.c | 101
7909 ++--------------------------------------------
7910 gi/pygi-marshal-from-py.c | 86 ++++++++++++---------------------------
7911 gi/pygi-marshal-from-py.h | 30 --------------
7912 3 files changed, 28 insertions(+), 189 deletions(-)
7914 commit 9e6e01d065bf0acc5b99ae0e8c034d689231bfe1
7915 Author: Simon Feltman <sfeltman@src.gnome.org>
7916 Date: Tue Jul 23 12:35:06 2013 -0700
7918 Unify from Python int64 and uint64 marshalers
7920 Replaced int64 and uint64 cached marshalers with usage of the
7921 unified basic type marshaler. Replace a large amount of int64
7922 exception formatting code with usage of %S for Python 3 and
7923 give a more vague message for Python 2.
7925 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7927 gi/pygi-cache.c | 36 +--------
7928 gi/pygi-marshal-from-py.c | 193
7929 ++++++++++------------------------------------
7930 gi/pygi-marshal-from-py.h | 10 ---
7931 3 files changed, 43 insertions(+), 196 deletions(-)
7933 commit 46653922003c7d1d5d16f5cdb39b3faadf9aff27
7934 Author: Simon Feltman <sfeltman@src.gnome.org>
7935 Date: Tue Jul 23 11:03:14 2013 -0700
7937 Unify from Python int16 and int32 marshalers
7939 Add PyNumber_Check to unified basic type marshaler.
7940 Add bounds checking to unified int16 and int32 marshalers.
7941 Replaced int16 and int32 cached marshalers with usage of
7942 unified basic type marshaler.
7944 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7946 gi/pygi-cache.c | 69 +--------------
7947 gi/pygi-marshal-from-py.c | 218
7948 ++++++++++------------------------------------
7949 gi/pygi-marshal-from-py.h | 20 -----
7950 3 files changed, 48 insertions(+), 259 deletions(-)
7952 commit 4b9c725a615fcf4a5e8d089d275d4586032d0d1f
7953 Author: Simon Feltman <sfeltman@src.gnome.org>
7954 Date: Tue Jul 23 00:27:14 2013 -0700
7956 Unify from Python boolean, int8, and uint8 marshalers
7958 Replaced boolean, int8, and uint8 cached marshalers with usage of
7959 unified basic type marshaler. Add bounds checking to unified int8
7962 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7964 gi/pygi-cache.c | 48 +++------------
7965 gi/pygi-marshal-from-py.c | 146
7966 +++++++++++-----------------------------------
7967 gi/pygi-marshal-from-py.h | 20 ++-----
7968 3 files changed, 45 insertions(+), 169 deletions(-)
7970 commit f517bfbc134b78a23b754332e59b9bb67bb68e98
7971 Author: Simon Feltman <sfeltman@src.gnome.org>
7972 Date: Mon Jul 22 23:24:13 2013 -0700
7974 Add support for PyBytes with int8 and uint8 from Python marshaler
7976 This additional type marshaling is necessary for unifying marhalers
7977 due to the same feature being available with cached argument
7980 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7982 gi/pygi-marshal-from-py.c | 14 ++++++++++++++
7983 1 file changed, 14 insertions(+)
7985 commit fe9df90531f3dd04c0d13d73ebd4ae7dd396c9b1
7986 Author: Simon Feltman <sfeltman@src.gnome.org>
7987 Date: Mon Jul 22 23:23:29 2013 -0700
7989 Move from Python integer marshaling into separate function
7991 Add _pygi_marshal_from_py_long for marshaling Python objects
7992 that can convert to a PyLong type. This allows for better
7993 sharing of code amongst marshalers along with unifying
7994 them across Python 2.7 and 3.0.
7996 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7998 gi/pygi-argument.c | 3 +-
7999 gi/pygi-marshal-from-py.c | 159
8000 ++++++++++++++++++++++++----------------------
8001 2 files changed, 84 insertions(+), 78 deletions(-)
8003 commit f7748affae3d6ef0cc2e409f65761fb29c01b038
8004 Author: Simon Feltman <sfeltman@src.gnome.org>
8005 Date: Mon Jul 22 22:19:26 2013 -0700
8007 Move _pygi_argument_from_object_basic_type into pygi-marshal-from-py.c
8009 Move _pygi_argument_from_object_basic_type into pygi-marshal-from-py.c
8010 and rename to: _pygi_marshal_from_py_basic_type
8012 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8014 gi/pygi-argument.c | 149
8015 +---------------------------------------------
8016 gi/pygi-marshal-from-py.c | 147
8017 +++++++++++++++++++++++++++++++++++++++++++++
8018 gi/pygi-marshal-from-py.h | 4 ++
8019 3 files changed, 152 insertions(+), 148 deletions(-)
8021 commit 9c9510eec782f242280af24e86adf3561e4fac72
8022 Author: Simon Feltman <sfeltman@src.gnome.org>
8023 Date: Fri Jul 19 23:37:35 2013 -0700
8025 Move basic type marshaling out of _pygi_argument_from_object
8027 Move the marshaling of Python objects to GI arguments for basic types
8028 into a new function: _pygi_argument_from_object_basic_type
8029 This is staging work needed before unifying basic type marshaling
8030 of arguments from Python to GI.
8032 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8034 gi/pygi-argument.c | 73
8035 ++++++++++++++++++++++++++++++++++--------------------
8036 1 file changed, 46 insertions(+), 27 deletions(-)
8038 commit 0e2441518ef31bd2b4102ba5780c3ded00bec59a
8039 Author: Simon Feltman <sfeltman@src.gnome.org>
8040 Date: Fri Jul 19 20:16:10 2013 -0700
8042 Replace to Python cached marshalers with unified basic type marshaler
8044 Add cached arg marshaler "_pygi_marshal_to_py_basic_type" which
8045 unifies functions, vfuncs, signals, and property marshaling for
8046 "basic types". Remove all the individual cached arg marshalers
8049 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8051 gi/pygi-argument.c | 104 +++++++++++------------------------
8052 gi/pygi-argument.h | 4 ++
8053 gi/pygi-cache.c | 114 +++++++-------------------------------
8054 gi/pygi-marshal-to-py.c | 142
8055 ++++--------------------------------------------
8056 gi/pygi-marshal-to-py.h | 48 ++--------------
8057 5 files changed, 73 insertions(+), 339 deletions(-)
8059 commit 663fe5893bbc9f34bf8aa4da3cb6f9186a8233b1
8060 Author: Simon Feltman <sfeltman@src.gnome.org>
8061 Date: Fri Jul 19 18:00:40 2013 -0700
8063 Move to Python basic type marshaling out of _pygi_argument_to_object
8065 Move the marshaling of GI arguments to Python objects for basic types
8066 into a new function. The required information for this marshaler
8067 is a GITypeTag and GITransfer. Argument marshaling matching these
8068 requirments are now found in: _pygi_argument_to_object_basic_type.
8069 The new marshaler can be used with a generic argument cache marshaler
8070 to unify all of the "basic type" marshaling.
8072 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8074 gi/pygi-argument.c | 86
8075 +++++++++++++++++++++++++++++++++++++++---------------
8076 1 file changed, 63 insertions(+), 23 deletions(-)
8078 commit dd43a1e19440dbe025451d2e4e07a6074086498d
8079 Author: Simon Feltman <sfeltman@src.gnome.org>
8080 Date: Sat Jul 6 14:16:36 2013 -0700
8082 Override GValue.set/get_boxed with static C marshaler
8084 Override boxed type get/set methods on GValue to use the static C
8085 GValue marshaler. This works around the inability of the introspection
8086 version of these methods to know what the held GValue type is.
8087 With this, all boxed types will now marshal properly with GValues as
8090 https://bugzilla.gnome.org/show_bug.cgi?id=688081
8092 gi/_gobject/gobjectmodule.c | 38 ++++++++++++++++++++++++++++++++++++++
8093 gi/overrides/GObject.py | 9 +++++++++
8094 2 files changed, 47 insertions(+)
8096 commit 2cff4827e6d15bcad630316a8a4e67968a70bbbf
8097 Author: Simon Feltman <sfeltman@src.gnome.org>
8098 Date: Sat Jul 6 14:10:20 2013 -0700
8100 Refactor pyg_value_from_pyobject into two functions
8102 Break pyg_value_from_pyobject into two functions. One which keeps
8103 Python exceptions queued (pyg_value_from_pyobject_with_error) and
8104 one which clears them (pyg_value_from_pyobject). This allows for
8105 re-use for code which want to keep the errors around
8107 https://bugzilla.gnome.org/show_bug.cgi?id=688081
8109 gi/_gobject/gobjectmodule.c | 4 ++-
8110 gi/_gobject/pygobject-private.h | 1 +
8111 gi/_gobject/pygobject.h | 2 ++
8112 gi/_gobject/pygtype.c | 67
8113 ++++++++++++++++++++++++++++++++---------
8114 4 files changed, 59 insertions(+), 15 deletions(-)
8116 commit 84e91a9da3522d042faca65fd2ada1ccaee60153
8117 Author: Simon Feltman <sfeltman@src.gnome.org>
8118 Date: Sat Jul 6 20:41:19 2013 -0700
8120 Fix indentation for pyg_value_from_pyobject
8122 https://bugzilla.gnome.org/show_bug.cgi?id=688081
8124 gi/_gobject/pygtype.c | 744
8125 +++++++++++++++++++++++++-------------------------
8126 1 file changed, 372 insertions(+), 372 deletions(-)
8128 commit 6a29d9be14ec33d06816ade67a5ccf5c7a1cf398
8129 Author: Simon Feltman <sfeltman@src.gnome.org>
8130 Date: Sat Jul 6 13:32:39 2013 -0700
8132 Add deprecation warning for marshaling arbitrary objects as pointers
8134 Add deprecation warning for marshaling arbitrary objects to/from void
8135 pointers with the exception of integers, PyCapsules, and None.
8137 https://bugzilla.gnome.org/show_bug.cgi?id=688081
8139 gi/pygi-marshal-from-py.c | 17 ++++++++++++++++-
8140 gi/pygi-marshal-to-py.c | 10 ++++++++--
8141 2 files changed, 24 insertions(+), 3 deletions(-)
8143 commit 077aefed8566adcb99d7570f52fe09c74c2098e5
8144 Author: Simon Feltman <sfeltman@src.gnome.org>
8145 Date: Sat Jul 6 13:34:53 2013 -0700
8147 Move PyGIDeprecationWarning to C for shared Python/C usage
8149 https://bugzilla.gnome.org/show_bug.cgi?id=688081
8151 gi/__init__.py | 19 ++++---------------
8152 gi/gimodule.c | 18 ++++++++++++++++++
8154 3 files changed, 24 insertions(+), 15 deletions(-)
8156 commit 90427107af36ea3c624b36967ee181ed13b9828f
8157 Author: Simon Feltman <sfeltman@src.gnome.org>
8158 Date: Thu Jul 18 14:59:55 2013 -0700
8160 Replace usage of __import__ with importlib.import_module
8162 https://bugzilla.gnome.org/show_bug.cgi?id=682320
8164 gi/module.py | 8 ++++----
8165 1 file changed, 4 insertions(+), 4 deletions(-)
8167 commit 6391a8e4f03d4010c0d7de79fc83138fd69e0e33
8168 Author: Mike Gorse <mgorse@suse.com>
8169 Date: Wed Jul 10 16:44:23 2013 -0500
8171 Always unref the GiTypeInfo when generating an argument cache
8173 We were leaking a GiTypeInfo when handling child arguments.
8175 https://bugzilla.gnome.org/show_bug.cgi?id=703973
8177 gi/pygi-cache.c | 1 +
8178 1 file changed, 1 insertion(+)
8180 commit ce0ad7066ebdb7018fdce58dc32bbaa715206a0c
8181 Author: Mike Gorse <mgorse@suse.com>
8182 Date: Wed Jul 10 12:10:16 2013 -0500
8184 Unref interface info when fetching enums or flags
8186 When calling g_type_info_get_interface, the resulting interface should
8187 be dereferenced by calling g_base_info_unref.
8189 https://bugzilla.gnome.org/show_bug.cgi?id=703960
8191 gi/pygi-marshal-from-py.c | 8 +++++++-
8192 gi/pygi-marshal-to-py.c | 3 +++
8193 2 files changed, 10 insertions(+), 1 deletion(-)
8195 commit a93755ddba9a1761b627583d7b9be63783c2c063
8196 Author: Daniel Drake <dsd@laptop.org>
8197 Date: Tue Jul 9 13:03:36 2013 -0600
8199 Speed up MRO calculation
8201 Optimize gi.type.mro() with the following observations and tricks:
8203 1. Python prepares all the base classes before trying to calculate the
8204 MRO of the current one (it first needs to populate __bases__, for
8205 example). So we can assume that the base class MRO is already
8207 in __mro__ and this will have been previously calculated (by us,
8209 case of gi classes). This avoids repeating a lot of MRO-calculating
8211 and also avoids (re)calculating MROs for inheritance chains
8213 have any gi classes in them anyway.
8215 2. With that simplification in place, we can avoid recursion, which
8217 all that great in Python...
8219 3. ...except in the uncommon case of a Python2 old-style classes,
8221 __mro__ is not available. There doesn't seem to be any existing
8222 function to calculate or read MRO of old-style python classes,
8224 keep doing as before: calculate the C3 MRO of the old-style
8226 recursion. That behaviour is not really correct, and the
8228 not desirable, so we print a warning here.
8230 This makes the "hello world" Sugar app start up approximately
8234 https://bugzilla.gnome.org/show_bug.cgi?id=703829
8236 gi/types.py | 30 +++++++++++++++++++++++++++---
8237 tests/test_gi.py | 16 ++++++++++++----
8238 2 files changed, 39 insertions(+), 7 deletions(-)
8240 commit 7aca95781fc76f3e820e63325ccc07d128a60075
8241 Author: Daniel Drake <dsd@laptop.org>
8242 Date: Wed Jul 10 10:45:47 2013 -0600
8244 tests: Add tests for MRO override
8246 Add tests for the MRO override to prevent against unintended
8249 https://bugzilla.gnome.org/show_bug.cgi?id=703829
8251 tests/test_gi.py | 66
8252 ++++++++++++++++++++++++++++++++++++++++++--------------
8253 1 file changed, 50 insertions(+), 16 deletions(-)
8255 commit a15333a36e31b76ea6b80251553840269ec5deb1
8256 Author: Simon Feltman <sfeltman@src.gnome.org>
8257 Date: Sat Jul 6 13:34:13 2013 -0700
8259 Add GIL safety to pyobject_copy for copying boxed PyObjects
8261 https://bugzilla.gnome.org/show_bug.cgi?id=688081
8263 gi/_gobject/pygobject.c | 3 +++
8264 1 file changed, 3 insertions(+)
8266 commit 097c116d43a21bebf8e4bccde9cacc551db1e1e5
8267 Author: Simon Feltman <sfeltman@src.gnome.org>
8268 Date: Sat Jul 6 09:48:35 2013 -0700
8270 testhelper: Fix import requirement for GObject
8272 Replace the importing of gi._gobject._gobject with
8273 gi.repository.GObject
8274 in tests/testhelpermodule.c
8276 The testhelper module was only importing the static bindings
8277 (gi._gobject._gobject) and not the overrides (gi.repository.GObject).
8278 This was causing some tests to fail when test_thread was the first
8279 test to run in the suite due to it registering new types based on
8282 https://bugzilla.gnome.org/show_bug.cgi?id=703647
8284 tests/testhelpermodule.c | 2 +-
8285 1 file changed, 1 insertion(+), 1 deletion(-)
8287 commit 0f6c571755e65b5e77d3d84e4516ef90d8ce0162
8288 Author: Simon Feltman <sfeltman@src.gnome.org>
8289 Date: Wed Jul 3 05:26:12 2013 -0700
8291 Add marshalling of GI_TYPE_TAG_VOID held in a GValue to int
8293 Replace assertion for this case with a simple marshalling of the
8294 pointer value to a Python int. While not particularly useful
8295 this allows some callbacks in WebKit to function without causing
8298 https://bugzilla.gnome.org/show_bug.cgi?id=694233
8300 gi/pygi-argument.c | 4 ++--
8301 1 file changed, 2 insertions(+), 2 deletions(-)
8303 commit e0084e7e73845fa2a2da29017d3622f361f11dfb
8304 Author: Cole Robinson <crobinso@redhat.com>
8305 Date: Sat Feb 16 17:26:43 2013 -0500
8307 GTK overrides: Make connect_signals handle tuple
8309 This is used for passing extra arguments to callbacks during
8310 signal emission in the form of:
8311 builder.connect_signals({'on_clicked': (on_clicked, arg1, arg2)})
8313 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
8315 https://bugzilla.gnome.org/show_bug.cgi?id=693994
8317 gi/overrides/Gtk.py | 51 ++++++++----
8318 tests/test_overrides_gtk.py | 196
8319 +++++++++++++++++++++++++++++---------------
8320 2 files changed, 165 insertions(+), 82 deletions(-)
8322 commit 466567373289e6f141709f08efa80ba588d3d64a
8323 Author: Simon Feltman <sfeltman@src.gnome.org>
8324 Date: Tue Jul 2 18:06:01 2013 -0700
8326 Re-add support for passing GValue's by reference
8328 Fix special casing when marshaling from a Python held GValue
8329 to a GValue argument intended for a function call.
8330 The re-factoring of GValue marshaling in commit #9e47afe459df942d9f
8331 broke this by always making a copy of the GValue. This removed the
8332 ability to retrieve values with functions like
8333 gtk_style_context_get_style_property.
8335 https://bugzilla.gnome.org/show_bug.cgi?id=701058
8337 gi/pygi-argument.c | 2 +-
8338 gi/pygi-marshal-from-py.c | 32 +++++++++++++++-----------------
8339 2 files changed, 16 insertions(+), 18 deletions(-)
8341 commit 40a3cd18fd7111ae177f6ab716f78d131f59a1c0
8342 Author: Simon Feltman <sfeltman@src.gnome.org>
8343 Date: Tue Jul 2 19:20:04 2013 -0700
8345 tests: Add test for pass-by-reference GValue
8347 https://bugzilla.gnome.org/show_bug.cgi?id=701058
8349 tests/test_gi.py | 7 +++++++
8350 1 file changed, 7 insertions(+)
8352 commit 3b3251593ea107f06b160234b0ca5393cb39ac1b
8353 Author: Simon Feltman <sfeltman@src.gnome.org>
8354 Date: Tue Jul 2 23:02:17 2013 -0700
8356 Clear return value of closures to zero when an exception occures
8358 For return types other than void, set the ffi closure return argument
8359 to 0 when a Python exception occures. This a good default in general
8360 but also has the side affect of fixing failing idle callbacks
8361 by causing them to be removed from main loops (after their stack
8364 https://bugzilla.gnome.org/show_bug.cgi?id=702552
8366 gi/pygi-closure.c | 14 ++++++++++++++
8367 tests/test_gi.py | 8 ++++++++
8368 2 files changed, 22 insertions(+)
8370 commit ae3439f1d22482d6a920a869d3d17e7054af6f80
8371 Author: Martin Pitt <martinpitt@gnome.org>
8372 Date: Wed Jul 3 10:40:28 2013 +0200
8374 Don't use doctest syntax in docstrings for examples
8376 These are not actual doctests, so don't use the >>> syntax there. Just
8380 This fixes pyflakes 0.7 failures.
8382 https://bugzilla.gnome.org/show_bug.cgi?id=701009
8384 gi/_gobject/propertyhelper.py | 11 +++++------
8385 gi/overrides/GObject.py | 8 ++++----
8386 gi/overrides/Gtk.py | 2 +-
8387 3 files changed, 10 insertions(+), 11 deletions(-)
8389 commit b96a6dc968566d339a2dfd7dd631ae52d812302a
8390 Author: Garrett Regier <garrettregier@gmail.com>
8391 Date: Tue Jul 2 06:07:15 2013 -0700
8393 Add support for properties of type GInterface
8395 Add support for G_TYPE_INTERFACE/GInterface to switch
8396 statement which handles G_TYPE_OBJECT based properties.
8398 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
8400 https://bugzilla.gnome.org/show_bug.cgi?id=703456
8402 gi/_gobject/gobjectmodule.c | 1 +
8403 gi/_gobject/propertyhelper.py | 3 ++-
8404 tests/test_properties.py | 16 ++++++++++++++++
8405 3 files changed, 19 insertions(+), 1 deletion(-)
8407 commit 61b268e44af63d6d78feae42578bf75aa5cfd511
8408 Author: Martin Pitt <martinpitt@gnome.org>
8409 Date: Fri Jun 21 07:27:48 2013 +0200
8411 pygtkcompat: Fix for missing methods on Windows
8413 Deal with non-existing Gtk.Clipboard.get() and
8414 GdkPixbuf.Pixbuf.new_from_file_at_scale() methods.
8416 https://bugzilla.gnome.org/show_bug.cgi?id=702787
8418 pygtkcompat/pygtkcompat.py | 10 ++++++++--
8419 1 file changed, 8 insertions(+), 2 deletions(-)
8421 commit 5e3ab0bb974cc785659666b871d795730b4f06b3
8422 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
8423 Date: Fri Jun 21 12:32:33 2013 +0800
8425 gi/pygi-info.c: Avoid C99-style variable declaration
8427 https://bugzilla.gnome.org/show_bug.cgi?id=702786
8429 gi/pygi-info.c | 3 ++-
8430 1 file changed, 2 insertions(+), 1 deletion(-)
8432 commit 94167e12c118c85cd3172f9f5824fe53e55bcc2d
8433 Author: Martin Pitt <martinpitt@gnome.org>
8434 Date: Wed May 29 11:20:35 2013 +0200
8436 GLib overrides: fix typo in deprecation message
8438 Spotted by Dmitrijs Ledkovs, thanks!
8440 gi/overrides/GLib.py | 2 +-
8441 1 file changed, 1 insertion(+), 1 deletion(-)
8443 commit 86569b69ade0fe157fa87365e9369dde84cd5c90
8444 Author: Martin Pitt <martinpitt@gnome.org>
8445 Date: Tue May 28 17:57:20 2013 +0200
8447 configure.ac: post-release version bump to 3.9.3
8450 1 file changed, 1 insertion(+), 1 deletion(-)
8452 commit 10f703189ed6a7104252907d1b1a114f26d79559
8453 Author: Martin Pitt <martinpitt@gnome.org>
8454 Date: Tue May 28 17:56:07 2013 +0200
8458 NEWS | 15 +++++++++++++++
8459 1 file changed, 15 insertions(+)
8461 commit af8d048442b924c72a1d0ae868ee63ccf292759d
8462 Author: Martin Pitt <martinpitt@gnome.org>
8463 Date: Fri May 24 13:03:07 2013 +0200
8465 examples/option.py: Port to GI and Python 3
8467 examples/option.py | 38 +++++++++++++++++++-------------------
8468 1 file changed, 19 insertions(+), 19 deletions(-)
8470 commit bef5939ca77f4d6939cd9229bd124dfe825b3bdb
8471 Author: Simon Feltman <sfeltman@src.gnome.org>
8472 Date: Sun May 12 18:58:06 2013 -0700
8474 Fix vfunc info search for classes with multiple inheritance
8476 Ensure the search for vfunc GI info continues recursively even if the
8477 current class being looked at does not contain GI info of type
8478 InterfaceInfo. This more exhaustive search is needed for setups with
8479 multiple sub-classes and multiple inheritance.
8481 https://bugzilla.gnome.org/show_bug.cgi?id=700092
8483 gi/types.py | 12 +++++++-----
8484 tests/test_gi.py | 1 -
8485 2 files changed, 7 insertions(+), 6 deletions(-)
8487 commit 5b8dff59baa1a3e524dac7877dd5b33dea52b026
8488 Author: Simon Feltman <sfeltman@src.gnome.org>
8489 Date: Sun May 12 22:19:38 2013 -0700
8491 Fix closure argument conversion for enum and flag in args
8493 Replace incorrect cast and assignment of double with uint for flags
8496 gi/pygi-closure.c | 2 +-
8497 1 file changed, 1 insertion(+), 1 deletion(-)
8499 commit 065503d5e284dc89bacd79d0d9a72eb739882bf8
8500 Author: Simon Feltman <sfeltman@src.gnome.org>
8501 Date: Sat May 11 21:47:54 2013 -0700
8503 tests: Add tests for overriding vfunc implementations
8505 Add tests for overriding vfuncs for both single inheritance
8506 and multiple inheritance with an interface (currently failing).
8508 https://bugzilla.gnome.org/show_bug.cgi?id=700092
8510 tests/test_gi.py | 23 +++++++++++++++++++++++
8511 1 file changed, 23 insertions(+)
8513 commit c4e1112840004af264b4f2a052f333ea38f95cb6
8514 Author: Simon Feltman <sfeltman@src.gnome.org>
8515 Date: Sat May 11 20:28:22 2013 -0700
8517 Fix marshaling Python to FFI return value for enum and flags
8519 Add break to GI_TYPE_TAG_INTERFACE case. This was falling through
8521 assignment of arg.v_pointer to the ffi return arg.
8523 gi/pygi-closure.c | 1 +
8524 1 file changed, 1 insertion(+)
8526 commit a703217eaf4075e9720d4247351e1dfc4f553772
8527 Author: Simon Feltman <sfeltman@src.gnome.org>
8528 Date: Fri Apr 19 06:37:24 2013 -0700
8530 Remove half implemented GC in PyGIBaseInfo, PyGIStruct, and PyGIBoxed
8532 Remove half implemented GC tracking from PyGIBaseInfo as it was not
8533 needed (the implemented was also missing usage of
8534 PyObject_GC_New/Track).
8535 Ensure weakref list for PyGIBaseInfo is initialized to NULL and
8538 Remove invalid calls to PyObject_GC_UnTrack and PyObject_ClearWeakRefs
8539 for both PyGIStruct and PyGIBoxed as these types were not being
8540 advertised as GC aware with Py_TPFLAGS_HAVE_GC.
8542 https://bugzilla.gnome.org/show_bug.cgi?id=677091
8544 gi/pygi-boxed.c | 4 ----
8545 gi/pygi-info.c | 20 +++++---------------
8546 gi/pygi-struct.c | 4 ----
8547 3 files changed, 5 insertions(+), 23 deletions(-)
8549 commit 87e41db2e060acd689a2ac043bc1ac51007de6f3
8550 Author: Simon Feltman <sfeltman@src.gnome.org>
8551 Date: Fri May 3 02:00:07 2013 -0700
8553 Replace usage of pyg_begin_allow_threads with Py_BEGIN_ALLOW_THREADS
8555 Replace all usage of pyg[lib]_begin_allow_threads with direct usage
8556 of Py_BEGIN_ALLOW_THREADS.
8558 https://bugzilla.gnome.org/show_bug.cgi?id=699440
8560 gi/_glib/pyglib.h | 4 ----
8561 gi/_glib/pygoptioncontext.c | 4 ++--
8562 gi/_gobject/pygobject.c | 33 ++++++++++++++++-----------------
8563 gi/gimodule.c | 4 ++--
8564 gi/pygi-invoke.c | 4 ++--
8565 5 files changed, 22 insertions(+), 27 deletions(-)
8567 commit c9e95663d05de98a9abd3d1479554b1f09753382
8568 Author: Simon Feltman <sfeltman@src.gnome.org>
8569 Date: Thu May 2 03:57:05 2013 -0700
8571 Remove and deprecate API for setting of thread blocking functions
8573 Remove pyglib_set_thread_block_funcs and deprecate
8574 pyg_set_thread_block_funcs.
8575 The thread block function APIs are no longer be neccessary because
8577 can use the Python C API directly when working with threads.
8579 https://bugzilla.gnome.org/show_bug.cgi?id=699440
8581 gi/_glib/pyglib.c | 41 -----------------------------------
8582 gi/_glib/pyglib.h | 9 ++++----
8583 gi/_gobject/gobjectmodule.c | 25 ++++++++-------------
8584 gi/_gobject/pygobject-private.h | 33 ----------------------------
8585 gi/_gobject/pygobject.h | 48
8586 ++++++++++++++++++++---------------------
8587 gi/gimodule.c | 15 +++++++------
8588 6 files changed, 46 insertions(+), 125 deletions(-)
8590 commit 05498a5732582a5ed1944bd1383af154ca5fc4e6
8591 Author: Martin Pitt <martinpitt@gnome.org>
8592 Date: Tue Apr 30 11:51:05 2013 -0700
8594 configure.ac: Post-release bump to 3.9.2
8597 1 file changed, 1 insertion(+), 1 deletion(-)
8599 commit 902bb6685fd9c90c7d81127861a152b0fab4b107
8600 Author: Martin Pitt <martinpitt@gnome.org>
8601 Date: Tue Apr 30 11:49:03 2013 -0700
8605 NEWS | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
8606 1 file changed, 49 insertions(+)
8608 commit f463d7cfaf65e0f3594ec15d897325f84225f1c5
8609 Author: Simon Feltman <sfeltman@src.gnome.org>
8610 Date: Sun Apr 28 19:59:35 2013 -0700
8612 gtk-demo: Wrap description strings at 80 characters
8614 Wrap trailing demo description strings so they are easier to read
8615 in a programming editor. The gtk-demo itself re-wraps this using
8616 textwrap and the Gtk.TextView dynamic wrapping.
8618 https://bugzilla.gnome.org/show_bug.cgi?id=698547
8620 demos/gtk-demo/demos/Entry/search_entry.py | 6 +++---
8621 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 8 ++++----
8622 demos/gtk-demo/demos/Icon View/iconviewedit.py | 5 +++--
8623 demos/gtk-demo/demos/Tree View/liststore.py | 5 ++++-
8624 demos/gtk-demo/demos/images.py | 6 ++++--
8625 demos/gtk-demo/demos/menus.py | 20
8626 ++++++++++++++++----
8627 demos/gtk-demo/demos/pickers.py | 4 ++--
8628 demos/gtk-demo/demos/pixbuf.py | 5 +++--
8629 demos/gtk-demo/demos/rotatedtext.py | 6 ++++--
8630 9 files changed, 43 insertions(+), 22 deletions(-)
8632 commit f0d4b963c42ac31d4d17ec0f2271940df2568644
8633 Author: Simon Feltman <sfeltman@src.gnome.org>
8634 Date: Sat Apr 27 22:30:35 2013 -0700
8636 gtk-demo: Use textwrap to reformat description for Gtk.TextView
8638 https://bugzilla.gnome.org/show_bug.cgi?id=698547
8640 demos/gtk-demo/gtk-demo.py | 8 +++++++-
8641 1 file changed, 7 insertions(+), 1 deletion(-)
8643 commit ed41e260dcf5745fcc0656412be3c4a520ee20fc
8644 Author: Simon Feltman <sfeltman@src.gnome.org>
8645 Date: Sat Apr 27 21:58:28 2013 -0700
8647 gtk-demo: Use GtkSource.View for showing source code
8649 Replace manual syntax highlighting of Gtk.TextView with usage of
8650 GtkSource.View when available. Fall back to TextView with no
8651 hightlighting when GtkSource is not available.
8653 https://bugzilla.gnome.org/show_bug.cgi?id=698547
8655 demos/gtk-demo/gtk-demo.py | 170
8656 ++++++++++++---------------------------------
8657 1 file changed, 44 insertions(+), 126 deletions(-)
8659 commit 150104db47ac5ba32758fba0c156adaecc0fbcc0
8660 Author: Mike Ruprecht <mike.ruprecht@collabora.co.uk>
8661 Date: Sun Apr 28 01:40:34 2013 -0500
8663 Use correct class for GtkEditable's get_selection_bounds() function
8665 https://bugzilla.gnome.org/show_bug.cgi?id=699096
8667 gi/overrides/Gtk.py | 2 +-
8668 1 file changed, 1 insertion(+), 1 deletion(-)
8670 commit 61663928259f6f48c11f6e43334a62dd2b3eb8e6
8671 Author: Simon Feltman <sfeltman@src.gnome.org>
8672 Date: Thu Apr 25 05:27:35 2013 -0700
8674 Test results of g_base_info_get_name for NULL
8676 Block against potential NULL result when generating type hint with
8677 _g_arg_get_pytype_hint.
8679 https://bugzilla.gnome.org/show_bug.cgi?id=698829
8681 gi/pygi-info.c | 12 ++++++++++--
8682 1 file changed, 10 insertions(+), 2 deletions(-)
8684 commit 0dff1940caf52ea5f1de27cc801ea6d4dab3a446
8685 Author: Jose Rostagno <joserostagno@vijona.com.ar>
8686 Date: Sun Apr 21 19:09:59 2013 -0300
8688 Remove g_type_init conditional call
8690 It's deprecated in the glib version we depend on.
8692 https://bugzilla.gnome.org/show_bug.cgi?id=698763
8694 gi/_gobject/gobjectmodule.c | 3 ---
8695 1 file changed, 3 deletions(-)
8697 commit c84b071ed8d3b78b4e4a6aef12f5f8bb99bdc107
8698 Author: Jose Rostagno <joserostagno@vijona.com.ar>
8699 Date: Sat Mar 30 20:59:44 2013 -0300
8701 Update deps versions also in README
8703 commit f957e33bc1ef2a4175bab85cfcd9b5faf092aa2f missed to update
8706 https://bugzilla.gnome.org/show_bug.cgi?id=698763
8709 1 file changed, 2 insertions(+), 2 deletions(-)
8711 commit 4f25fa43e1e5c0f3cd22bcdadadb1d731f01fe34
8712 Author: Jose Rostagno <joserostagno@vijona.com.ar>
8713 Date: Sat Mar 30 20:50:35 2013 -0300
8715 Drop compat code for old python version
8717 https://bugzilla.gnome.org/show_bug.cgi?id=698763
8719 gi/_glib/pyglib-python-compat.h | 12 ------------
8720 1 file changed, 12 deletions(-)
8722 commit 8104fa04cac2cba74337e6c4b3ecf56fd6cbb80b
8723 Author: Niklas Koep <niklas.koep@gmail.com>
8724 Date: Thu Apr 25 06:14:12 2013 +0200
8726 Remove duplicate call to _gi.Repository.require()
8728 repository.require() was called twice in IntrospectionModule's
8731 https://bugzilla.gnome.org/show_bug.cgi?id=698797
8734 1 file changed, 1 deletion(-)
8736 commit f22b95033c0bcd99e9c70e6f0dc999f5e64b08a6
8737 Author: Johan Dahlin <johan@gnome.org>
8738 Date: Mon Oct 1 03:02:10 2012 -0700
8740 Add ObjectInfo.get_class_struct()
8742 https://bugzilla.gnome.org/show_bug.cgi?id=685218
8744 gi/pygi-info.c | 15 +++++++++++++++
8745 tests/test_gi.py | 4 ++++
8746 2 files changed, 19 insertions(+)
8748 commit 2d34d35e5db06b0eb29cba91d0999b20a5c0b450
8749 Author: Simon Feltman <sfeltman@src.gnome.org>
8750 Date: Mon Apr 22 03:43:23 2013 -0700
8752 Change interpretation of NULL pointer field from None to 0
8754 The usage of 0 is needed because these fields should generally
8755 be used to store integer indices or hashes, not necessarily
8756 pointers to actual data.
8758 https://bugzilla.gnome.org/show_bug.cgi?id=698366
8760 gi/pygi-argument.c | 11 +----------
8761 tests/test_everything.py | 5 +++--
8762 2 files changed, 4 insertions(+), 12 deletions(-)
8764 commit 8d61ad38eb90d639da08289c036ae4cb99336c2a
8765 Author: Sobhan Mohammadpour <sobhanmohammadpour1@yahoo.fr>
8766 Date: Fri Mar 8 08:25:58 2013 +0330
8768 Do not build tests until needed
8770 Originally by [Alexandre Rostovtsev <tetromino@gmail.com>
8772 https://bugzilla.gnome.org/show_bug.cgi?id=698444
8774 tests/Makefile.am | 12 ++++++------
8775 1 file changed, 6 insertions(+), 6 deletions(-)
8777 commit f61f23b999ae6e27ca852753da906de4ab8e6e25
8778 Author: Kai Willadsen <kai.willadsen@gmail.com>
8779 Date: Sun Apr 14 15:16:40 2013 +1000
8781 pygi-convert: Support toolbar styles
8783 https://bugzilla.gnome.org/show_bug.cgi?id=698477
8785 pygi-convert.sh | 1 +
8786 1 file changed, 1 insertion(+)
8788 commit 7a92ade7ee5fe2f9eb8de2626c34650e2e5c06df
8789 Author: Kai Willadsen <kai.willadsen@gmail.com>
8790 Date: Sun Apr 14 10:54:04 2013 +1000
8792 pygi-convert: Support new-style constructors for Gio.File
8794 https://bugzilla.gnome.org/show_bug.cgi?id=698477
8796 pygi-convert.sh | 2 ++
8797 1 file changed, 2 insertions(+)
8799 commit 1e8120992dc103ac817351be3c150e6cb25f719f
8800 Author: Kai Willadsen <kai.willadsen@gmail.com>
8801 Date: Sun Apr 14 10:22:55 2013 +1000
8803 pygi-convert: Add some support for recent manager constructs
8805 https://bugzilla.gnome.org/show_bug.cgi?id=698477
8807 pygi-convert.sh | 3 +++
8808 1 file changed, 3 insertions(+)
8810 commit 17d349f98d62ea7947c1553e0ef7e867301523aa
8811 Author: Kai Willadsen <kai.willadsen@gmail.com>
8812 Date: Sun Apr 14 07:37:24 2013 +1000
8814 pygi-convert: Check for double quote in require statement
8816 https://bugzilla.gnome.org/show_bug.cgi?id=698477
8818 pygi-convert.sh | 1 +
8819 1 file changed, 1 insertion(+)
8821 commit cc8bd6bd3fdf99762aa3431ceee347a05f6f3200
8822 Author: Kai Willadsen <kai.willadsen@gmail.com>
8823 Date: Sun Apr 14 07:37:00 2013 +1000
8825 pygi-convert: Don't transform arbitrary keysym imports
8827 https://bugzilla.gnome.org/show_bug.cgi?id=698477
8829 pygi-convert.sh | 2 +-
8830 1 file changed, 1 insertion(+), 1 deletion(-)
8832 commit 99872a18ed1468b2c85cc7b96a0d12f2ae5167f0
8833 Author: Simon Feltman <sfeltman@src.gnome.org>
8834 Date: Thu Apr 11 04:09:59 2013 -0700
8836 Remove Python keyword escapement in Repository.find_by_name
8838 Strip trailing underscore from module level items before
8839 calling g_irepository_find_by_name. This fixes a problem
8840 with GI module level items having the same name as a Python
8841 keyword raising an AttributeError during access (Pango.break_).
8843 https://bugzilla.gnome.org/show_bug.cgi?id=697363
8845 gi/pygi-info.c | 32 ++++++++++++++++++++++----------
8846 gi/pygi-info.h | 2 ++
8847 gi/pygi-repository.c | 16 ++++++++++++++++
8848 tests/test_overrides_pango.py | 5 +++++
8849 4 files changed, 45 insertions(+), 10 deletions(-)
8851 commit c07404461b126206e369270b56e613f81369c70a
8852 Author: Daniel Drake <dsd@laptop.org>
8853 Date: Mon Mar 18 16:08:09 2013 -0600
8855 Optimize signal lookup in gi repository
8857 Now that we have GSignalQuery results available to us when connecting
8858 signals, we already know which GType implements the signal in
8861 Therefore there is no need to traverse the class parent hierarchy
8862 looking for this, which takes a considerable amount of CPU time.
8864 There is also no need to canonicalize the signal name; both before
8865 and after this patch, by the time we reach this point we have already
8866 successfully looked up the signal name as presented from Python.
8868 https://bugzilla.gnome.org/show_bug.cgi?id=696143
8870 gi/_gobject/pygobject.c | 5 ++--
8871 gi/pygi-signal-closure.c | 59
8872 +++++++++++++-----------------------------------
8873 gi/pygi-signal-closure.h | 1 +
8875 4 files changed, 23 insertions(+), 46 deletions(-)
8877 commit e220706b3e4d9fd454613fbfe1e60e7e1da94ae0
8878 Author: Daniel Drake <dsd@laptop.org>
8879 Date: Mon Mar 18 15:38:19 2013 -0600
8881 Optimize connection of Python-implemented signals
8883 Like properties, when working with signals we must detect if the
8884 signal is implemented in a Python class or if it originates from the
8885 gi repository, and act accordingly.
8887 Asking the gi repository if it can find a signal that is implemented
8888 in a Python class (it can't) takes a considerable amount of CPU time.
8890 Use g_signal_query() to find out which GType implements the signal.
8891 Then perform a simple test to see if this type is implemented at the
8892 Python level, allowing us to to skip the GI querying in this case.
8894 https://bugzilla.gnome.org/show_bug.cgi?id=696143
8896 gi/_gobject/pygobject.c | 19 +++++++++++++++----
8897 1 file changed, 15 insertions(+), 4 deletions(-)
8899 commit e91b35d72f93678a79623347dce271148d57046f
8900 Author: Daniel Drake <dsd@laptop.org>
8901 Date: Mon Mar 18 15:24:52 2013 -0600
8903 Consolidate signal connection code
8905 This code was repeated 4 times with very little variance;
8906 consolidate it and add simple tests to ensure basic coverage.
8908 https://bugzilla.gnome.org/show_bug.cgi?id=696143
8910 gi/_gobject/pygobject.c | 129
8911 +++++++++++++++--------------------------------
8912 tests/test_everything.py | 33 ++++++++++++
8913 2 files changed, 74 insertions(+), 88 deletions(-)
8915 commit cd91e1d5db617d470acbf8c5bc74c11c92f946f6
8916 Author: Daniel Drake <dsd@laptop.org>
8917 Date: Mon Mar 18 15:11:16 2013 -0600
8919 Fix setting of struct property values
8921 "goto out" in this context means that an error occurred, but this
8922 particular instance was sitting in the "good" codepath.
8924 Fixes setting of struct property values.
8926 gi/pygi-property.c | 3 ++-
8927 1 file changed, 2 insertions(+), 1 deletion(-)
8929 commit 8981ea0422c6837d488311dafe8937593372e736
8930 Author: Daniel Drake <dsd@laptop.org>
8931 Date: Mon Mar 18 14:25:45 2013 -0600
8933 Optimize property get/set when using GObject.props
8935 Skip GI repository lookup for properties defined on Python
8936 defined GObject types.
8938 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
8940 https://bugzilla.gnome.org/show_bug.cgi?id=696143
8942 gi/_gobject/pygobject.c | 37 +++++++++++++++++++------------------
8943 1 file changed, 19 insertions(+), 18 deletions(-)
8945 commit 266e389ff90d982151bae3ac22b9b8b0739f520f
8946 Author: Christoph Reiter <reiter.christoph@gmail.com>
8947 Date: Sat Apr 13 17:28:26 2013 +0200
8949 configure.ac: Fix PYTHON_SO with Python3.3
8951 https://bugzilla.gnome.org/show_bug.cgi?id=696646
8953 configure.ac | 5 ++++-
8954 1 file changed, 4 insertions(+), 1 deletion(-)
8956 commit e54c2d1df3812a1789ee240b0ba71ddf77c2f90a
8957 Author: Daniel Drake <dsd@laptop.org>
8958 Date: Mon Mar 18 14:13:37 2013 -0600
8960 Simplify registration of custom types
8962 Use custom quark data to track Python created GTypes.
8964 Remove previous mechanism to track registration of python-implemented
8965 GTypes as it was unused (no custom registration was ever tracked).
8967 Leave vtable pointer and set to NULL to avoid an ABI break.
8969 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
8971 https://bugzilla.gnome.org/show_bug.cgi?id=696143
8973 gi/_gobject/gobjectmodule.c | 11 +++++--
8974 gi/_gobject/pygobject-private.h | 8 ++---
8975 gi/_gobject/pygobject.c | 8 ++---
8976 gi/_gobject/pygobject.h | 9 +++---
8977 gi/_gobject/pygtype.c | 69
8978 +++--------------------------------------
8979 5 files changed, 22 insertions(+), 83 deletions(-)
8981 commit 50702a09344825e3a8aa54365d78de807f989d88
8982 Author: Christoph Reiter <reiter.christoph@gmail.com>
8983 Date: Sat Apr 13 16:04:17 2013 +0200
8985 pygi-convert.sh: Add GStreamer rules
8987 https://bugzilla.gnome.org/show_bug.cgi?id=697951
8989 pygi-convert.sh | 17 +++++++++++++++++
8990 1 file changed, 17 insertions(+)
8992 commit b289176e6b37cb2825bd555cea019b85b68d5c57
8993 Author: Jussi Kukkonen <jussi.kukkonen@intel.com>
8994 Date: Sun Mar 10 15:04:40 2013 +0200
8996 pygi-convert: Add rule for TreeModelFlags
8998 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
9000 pygi-convert.sh | 1 +
9001 1 file changed, 1 insertion(+)
9003 commit 09610bf42be76f65d7d2afe1c691f7b4a7c64e5b
9004 Author: Simon Feltman <sfeltman@src.gnome.org>
9005 Date: Fri Mar 29 03:20:44 2013 -0700
9007 Unify interface struct to Python GI marshaling code
9009 Add pygi_marshal_to_py_interface_struct used for direct gi method
9010 call out args and vfunc in args.
9012 https://bugzilla.gnome.org/show_bug.cgi?id=693405
9014 gi/pygi-argument.c | 72 ++++++-------------------------
9015 gi/pygi-marshal-to-py.c | 112
9016 +++++++++++++++++++++++++++++-------------------
9017 gi/pygi-marshal-to-py.h | 8 ++++
9018 3 files changed, 91 insertions(+), 101 deletions(-)
9020 commit 6d3a0751e71ee3c37b3bb646723aed75971e5b39
9021 Author: Simon Feltman <sfeltman@src.gnome.org>
9022 Date: Thu Mar 28 22:41:51 2013 -0700
9024 Unify Python interface struct to GI marshaling code
9026 Add pygi_marshal_from_py_interface_struct used for direct gi method
9027 call in args and vfunc out args.
9029 https://bugzilla.gnome.org/show_bug.cgi?id=693405
9031 gi/pygi-argument.c | 75 +++++++--------------
9032 gi/pygi-cache.c | 12 +---
9033 gi/pygi-marshal-from-py.c | 167
9034 +++++++++++++++++++++++++++++-----------------
9035 gi/pygi-marshal-from-py.h | 11 +++
9036 4 files changed, 141 insertions(+), 124 deletions(-)
9038 commit 1ea654b4d34e0d119556b232796cd9370b2572f1
9039 Author: Simon Feltman <sfeltman@src.gnome.org>
9040 Date: Thu Mar 28 06:17:15 2013 -0700
9042 Unify Python float and double to GI marshaling code
9044 Change _pygi_argument_from_object to use the cachers marshalers
9045 (_pygi_marshal_from_py_float/double) directly instead of keeping a
9047 Refactor _pygi_marshal_from_py_float/double to use a common utility
9048 _pygi_py_arg_to_double for initial error checking and conversion.
9050 https://bugzilla.gnome.org/show_bug.cgi?id=693405
9052 gi/pygi-argument.c | 26 ++++----------------------
9053 gi/pygi-marshal-from-py.c | 42 ++++++++++++++++++++----------------------
9054 2 files changed, 24 insertions(+), 44 deletions(-)
9056 commit 2eb2a712864a1a685d19018e0860cf0da7c5c9ab
9057 Author: Simon Feltman <sfeltman@src.gnome.org>
9058 Date: Thu Mar 28 05:29:08 2013 -0700
9060 Unify filename to Python GI marshaling code
9062 Change _pygi_argument_to_object to use the cachers marshaler
9063 (_pygi_marshal_to_py_filename) directly instead of keeping a
9066 https://bugzilla.gnome.org/show_bug.cgi?id=693405
9068 gi/pygi-argument.c | 22 ++--------------------
9069 gi/pygi-marshal-to-py.c | 6 ++----
9070 2 files changed, 4 insertions(+), 24 deletions(-)
9072 commit 54aa043d96deb02589e13042a46917405ca53780
9073 Author: Simon Feltman <sfeltman@src.gnome.org>
9074 Date: Thu Mar 28 05:20:00 2013 -0700
9076 Unify utf8 to Python GI marshaling code
9078 Change _pygi_argument_to_object to use the cachers marshaler
9079 (_pygi_marshal_to_py_utf8) directly instead of keeping a
9082 https://bugzilla.gnome.org/show_bug.cgi?id=693405
9084 gi/pygi-argument.c | 11 ++++-------
9085 gi/pygi-marshal-to-py.c | 4 +---
9086 2 files changed, 5 insertions(+), 10 deletions(-)
9088 commit 03ff41ae4bb83858338d96cc6210092c7fb82464
9089 Author: Simon Feltman <sfeltman@src.gnome.org>
9090 Date: Thu Mar 28 05:10:45 2013 -0700
9092 Unify unichar to Python GI marshaling code
9094 Change _pygi_argument_to_object to use the cachers marshaler
9095 (_pygi_marshal_to_py_unichar) directly instead of keeping a
9098 https://bugzilla.gnome.org/show_bug.cgi?id=693405
9100 gi/pygi-argument.c | 19 ++-----------------
9101 1 file changed, 2 insertions(+), 17 deletions(-)
9103 commit 594ad084c2cc21cebce209c11740e6d4866b0b82
9104 Author: Simon Feltman <sfeltman@src.gnome.org>
9105 Date: Sat Feb 16 19:49:59 2013 -0800
9107 Unify Python unicode to filename GI marshaling code
9109 Change _pygi_argument_from_object to use the cachers marshaler
9110 (_pygi_marshal_from_py_filename) directly instead of keeping a
9113 https://bugzilla.gnome.org/show_bug.cgi?id=693405
9115 gi/pygi-argument.c | 30 ++----------------------------
9116 1 file changed, 2 insertions(+), 28 deletions(-)
9118 commit a62e8cdf90f7b03cfc8116125ef3557f9ad08dde
9119 Author: Simon Feltman <sfeltman@src.gnome.org>
9120 Date: Sat Feb 16 19:32:54 2013 -0800
9122 Unify Python unicode to utf8 GI marshaling code
9124 Change _pygi_argument_from_object to use the cachers marshaler
9125 (_pygi_marshal_from_py_utf8) directly instead of keeping a
9128 https://bugzilla.gnome.org/show_bug.cgi?id=693405
9130 gi/pygi-argument.c | 32 ++------------------------------
9131 1 file changed, 2 insertions(+), 30 deletions(-)
9133 commit e253c73335fccabc61e0329f8528a90f79858c67
9134 Author: Simon Feltman <sfeltman@src.gnome.org>
9135 Date: Sat Feb 16 19:16:43 2013 -0800
9137 Unify Python unicode to unichar GI marshaling code
9139 Change _pygi_argument_from_object to use the cachers marshaler
9140 (_pygi_marshal_from_py_unichar) directly instead of keeping a
9143 https://bugzilla.gnome.org/show_bug.cgi?id=693405
9145 gi/pygi-argument.c | 34 ++--------------------------------
9146 gi/pygi-marshal-from-py.c | 9 +++++++++
9147 2 files changed, 11 insertions(+), 32 deletions(-)
9149 commit 216caf590b262fed40d10bb34d020089d1197160
9150 Author: Simon Feltman <sfeltman@src.gnome.org>
9151 Date: Thu Apr 4 15:57:12 2013 -0700
9153 Fix enum and flags marshaling type assumptions
9155 Replace assignments of GFlags and GEnum values to various GIArgument
9156 members with v_uint and v_int respectively.
9158 gi/pygi-argument.c | 6 +++---
9159 gi/pygi-property.c | 4 ++--
9160 2 files changed, 5 insertions(+), 5 deletions(-)
9162 commit 4799ef1d0cb9a4b27c7952585d33b58ea9ec34ca
9163 Author: Christoph Reiter <reiter.christoph@gmail.com>
9164 Date: Thu Apr 4 10:08:38 2013 +0200
9166 Make AM_CHECK_PYTHON_LIBS not depend on AM_CHECK_PYTHON_HEADERS
9168 https://bugzilla.gnome.org/show_bug.cgi?id=696648#c6
9170 m4/python.m4 | 4 ++--
9171 1 file changed, 2 insertions(+), 2 deletions(-)
9173 commit f82f755a0f419539c223e4a74e33145726c6e69f
9174 Author: Christoph Reiter <reiter.christoph@gmail.com>
9175 Date: Thu Apr 4 09:05:48 2013 +0200
9177 Use distutils.sysconfig to retrieve the python include path.
9179 https://bugzilla.gnome.org/show_bug.cgi?id=696648
9181 m4/python.m4 | 8 ++------
9182 1 file changed, 2 insertions(+), 6 deletions(-)
9184 commit cf81dd66e6387bf27122a71176e91ca39beb6519
9185 Author: Martin Pitt <martinpitt@gnome.org>
9186 Date: Thu Apr 4 06:47:56 2013 +0200
9188 Use g_strdup() consistently
9190 https://bugzilla.gnome.org/show_bug.cgi?id=696650
9192 gi/pygi-marshal-from-py.c | 2 +-
9193 1 file changed, 1 insertion(+), 1 deletion(-)
9195 commit 6c22fea63fa6978c2a717ff12ff84d3aff776b5e
9196 Author: Christoph Reiter <reiter.christoph@gmail.com>
9197 Date: Tue Mar 26 16:03:59 2013 +0100
9199 Support PEP 3149 (ABI version tagged .so files)
9201 Add a ABI suffix to the shared library retrieved from
9203 instead of hardcoding it. This should also make things more robust
9206 https://bugzilla.gnome.org/show_bug.cgi?id=696646
9208 configure.ac | 3 +++
9209 gi/Makefile.am | 14 +++++++-------
9210 gi/_glib/Makefile.am | 14 +++++++-------
9211 gi/_gobject/Makefile.am | 14 +++++++-------
9212 4 files changed, 24 insertions(+), 21 deletions(-)
9214 commit 2259ccac8aa2ec23240e92e303ea3f2c53dc2a88
9215 Author: Simon Feltman <sfeltman@src.gnome.org>
9216 Date: Sun Mar 31 01:32:34 2013 -0700
9218 Fix stack corruption due to incorrect format for argument parser
9220 Fix call to PyArg_ParseTupleAndKeywords that used a format parser
9221 of "l" meaning long (8 bytes) in combination with an output pointer
9222 of guint (4 bytes). Change to use gulong with a format of "k".
9224 https://bugzilla.gnome.org/show_bug.cgi?id=696892
9226 gi/_gobject/pygflags.c | 4 ++--
9227 1 file changed, 2 insertions(+), 2 deletions(-)
9229 commit 48e52210ece0e144b4c959e773ea542a912358e7
9230 Author: Simon Feltman <sfeltman@src.gnome.org>
9231 Date: Thu Mar 7 00:26:37 2013 -0800
9233 Deprecate GLib and GObject threads_init
9235 Remove a handful of Python threading related helper functions
9236 from pyglib and pygobject. The binding internals required
9237 GLib.threads_init to be called for PyGObject to work with
9238 Python threads. This was removed as it should not be a requirement.
9239 Using the Python threading module already initializes threading
9240 for us (PyEval_InitThreads).
9242 https://bugzilla.gnome.org/show_bug.cgi?id=686914
9244 gi/_glib/glibmodule.c | 16 --------
9245 gi/_glib/pyglib.c | 94
9246 ---------------------------------------------
9247 gi/_glib/pyglib.h | 28 +++++++-------
9248 gi/_gobject/gobjectmodule.c | 31 ++++-----------
9249 gi/overrides/GLib.py | 8 +++-
9250 gi/overrides/GObject.py | 2 +-
9251 6 files changed, 28 insertions(+), 151 deletions(-)
9253 commit 89d05f91cee419d46cb5318d4a9001ec315a3475
9254 Author: Martin Pitt <martinpitt@gnome.org>
9255 Date: Mon Mar 25 09:03:51 2013 +0100
9257 Drop support for Python 2.6
9259 2.7 has been released long ago, nobody tests PyGObject with 2.6 any
9261 this unblocks e. g. GNOME #682320.
9263 Drop usage of PyCObject_* (which has been superseded by PyCapsule
9265 and drop Python 2.6 specific workarounds.
9268 gi/_glib/pyglib-python-compat.h | 20 ------------------
9269 gi/_gobject/pygobject.h | 6 ------
9272 tests/runtests.py | 45
9273 +----------------------------------------
9274 tests/test_gobject.py | 1 -
9275 tests/test_signal.py | 4 ----
9276 8 files changed, 3 insertions(+), 81 deletions(-)
9278 commit 56347953abb1e214817186581eaf2b2d8762cf97
9279 Author: Martin Pitt <martinpitt@gnome.org>
9280 Date: Wed Oct 24 16:43:25 2012 +0200
9282 Remove static PollFD bindings
9284 Use the GLib API through GI instead, and provide an override to keep a
9285 backwards compatible constructor syntax.
9287 https://bugzilla.gnome.org/show_bug.cgi?id=686795
9289 gi/_glib/Makefile.am | 2 --
9290 gi/_glib/glibmodule.c | 2 --
9291 gi/_glib/pygsource.c | 98
9292 ---------------------------------------------------
9293 gi/_glib/pygsource.h | 36 -------------------
9294 gi/overrides/GLib.py | 17 +++++++--
9295 5 files changed, 15 insertions(+), 140 deletions(-)
9297 commit a93eb5ecc982b5fe1bdf8f78b15ba10351a63b89
9298 Author: Martin Pitt <martinpitt@gnome.org>
9299 Date: Mon Mar 25 08:44:24 2013 +0100
9301 Drop test skipping due to too old g-i
9303 We depend on gobject-introspection 1.35.9 now, which has all this API.
9305 tests/test_gi.py | 24 ------------------------
9306 tests/test_object_marshaling.py | 14 --------------
9307 2 files changed, 38 deletions(-)
9309 commit f957e33bc1ef2a4175bab85cfcd9b5faf092aa2f
9310 Author: Martin Pitt <martinpitt@gnome.org>
9311 Date: Mon Mar 25 08:37:37 2013 +0100
9313 Bump glib and g-i dependencies
9315 Now require g-i 1.35.9 and glib 2.35.9, i. e. the current stable
9317 versions. This allows us to drop the conditional test suite skips
9319 static PollFD bindings.
9321 configure.ac | 6 +++---
9322 1 file changed, 3 insertions(+), 3 deletions(-)
9324 commit 252556d044322207429c0d0c269365f48e4d819a
9325 Author: Martin Pitt <martinpitt@gnome.org>
9326 Date: Mon Mar 25 08:43:53 2013 +0100
9328 configure.ac: post-release version bump to 3.9.1
9330 configure.ac | 4 ++--
9331 1 file changed, 2 insertions(+), 2 deletions(-)
9333 commit 5f82e007e2dcdbfd82a20d8c4d54f9cd7b3b77ac
9334 Author: Martin Pitt <martinpitt@gnome.org>
9335 Date: Mon Mar 25 08:12:10 2013 +0100
9340 1 file changed, 4 insertions(+)
9342 commit bb4fa093d59173f68a0b16e10016bafe7cd18f62
9343 Author: Simon Feltman <sfeltman@src.gnome.org>
9344 Date: Wed Mar 20 23:45:01 2013 -0700
9346 tests: Fix incorrect assumption when testing pyglib version
9348 Replace version test of 3.7.2 with 3.0.0 as it is the only reasonable
9349 value that can be used for a future proof unittest here.
9351 tests/test_glib.py | 4 ++--
9352 1 file changed, 2 insertions(+), 2 deletions(-)
9354 commit 78b7b0bea3068b81ba67deea4d06b1fb27434841
9355 Author: Martin Pitt <martinpitt@gnome.org>
9356 Date: Mon Mar 18 14:02:29 2013 +0100
9358 configure.ac: post-release bump to 3.8.0
9360 configure.ac | 4 ++--
9361 1 file changed, 2 insertions(+), 2 deletions(-)
9363 commit defbd63e95faafaa84230f160bc95dad0f55e37d
9364 Author: Martin Pitt <martinpitt@gnome.org>
9365 Date: Mon Mar 18 14:01:05 2013 +0100
9369 NEWS | 18 ++++++++++++++++++
9370 1 file changed, 18 insertions(+)
9372 commit a0844a896603c5c91bed24cf94106765f0ced74e
9373 Author: Simon Feltman <sfeltman@src.gnome.org>
9374 Date: Sun Mar 17 23:22:38 2013 -0700
9376 Fix stack smasher when marshaling enums as a vfunc return value
9378 Add special case for marshaling GI_TYPE_TAG_INTERFACE with enum or
9379 flag types. Default interfaces to marshal as a pointer.
9380 Add explicit cases for GType and Unichar out/return marshaling.
9381 Fix leaking of GIBaseInfo when marshaling interface as out arg.
9383 https://bugzilla.gnome.org/show_bug.cgi?id=637832
9385 gi/pygi-closure.c | 69
9386 ++++++++++++++++++++++++++++++++++++++++++++++---------
9387 tests/test_gi.py | 19 +++++++++++++++
9388 2 files changed, 77 insertions(+), 11 deletions(-)
9390 commit 669e15c35213dbce6ceb0a4a3d474aae620910ce
9391 Author: Simon Feltman <sfeltman@src.gnome.org>
9392 Date: Sun Mar 17 15:37:09 2013 -0700
9394 Change base class of PyGIDeprecationWarning based on minor version
9396 Use RuntimeWarning as the base class of PyGIDeprecationWarning
9397 for unstable (odd minor version) and use DeprecationWarning for
9398 stable (even minor version). This is so PyGObject deprecations
9399 behave the same as regular Python deprecations in stable releases.
9401 https://bugzilla.gnome.org/show_bug.cgi?id=696011
9403 gi/__init__.py | 14 +++++++++++---
9404 1 file changed, 11 insertions(+), 3 deletions(-)
9406 commit 755b2e6fc635489d98d48254ea60b2631b43dfbd
9407 Author: Alban Browaeys <prahal@yahoo.com>
9408 Date: Thu Feb 28 18:57:21 2013 +0100
9410 autogen.sh: Source gnome-autogen to fix out of source builddir
9412 https://bugzilla.gnome.org/show_bug.cgi?id=694889
9415 1 file changed, 1 insertion(+), 1 deletion(-)
9417 commit a38392a9d713b0001cf30066d337b1abbbbbc59e
9418 Author: Martin Pitt <martinpitt@gnome.org>
9419 Date: Tue Mar 5 12:22:15 2013 +0100
9421 Add 3.7.91.1 NEWS entry
9423 Forgot to push this back then.
9426 1 file changed, 3 insertions(+)
9428 commit 85f8aae849dd0fb21de8722a3af9234ca20ea1e0
9429 Author: Simon Feltman <sfeltman@src.gnome.org>
9430 Date: Sun Mar 17 04:19:57 2013 -0700
9432 pygtkcompat: Make gdk.Window.get_geometry return tuple of 5
9434 Make get_geometry return a tuple of (x, y, width, height, depth)
9435 as it did in pygtk 2.
9436 Update pygtkcompat.enable_gtk() to default to version 3.0 because
9437 version 2.0 core dumps trying to use introspection with gtk 2.
9439 pygtkcompat/pygtkcompat.py | 8 +++++++-
9440 1 file changed, 7 insertions(+), 1 deletion(-)
9442 commit 38683f721c33cc35f0260868e58643fd35f04cbe
9443 Author: Simon Feltman <sfeltman@src.gnome.org>
9444 Date: Sun Mar 17 02:08:03 2013 -0700
9446 testhelpermodule: Fix build warning for PyGObject_Type redefinition
9448 Remove dynamic retrieval of PyGObject_Type as it is available
9449 in pygobject.h since commit 2656bc47 (causing this compile warning)
9451 tests/testhelpermodule.c | 14 +-------------
9452 1 file changed, 1 insertion(+), 13 deletions(-)
9454 commit a3ec8867945da7722beebb7e77c6255ee3ba8bb8
9455 Author: Simon Feltman <sfeltman@src.gnome.org>
9456 Date: Sun Mar 17 01:51:33 2013 -0700
9458 pygtkcompat: Initialize hint to zero in set_geometry_hints
9460 pygtkcompat/pygtkcompat.py | 2 +-
9461 1 file changed, 1 insertion(+), 1 deletion(-)
9463 commit 471204953d6fc93b3d311afd133d40f7d75ec541
9464 Author: Simon Feltman <sfeltman@src.gnome.org>
9465 Date: Fri Mar 15 04:33:22 2013 -0700
9467 Remove incorrect bounds check with property helper flags
9469 Remove bounds check for flags as it is not necessary for the
9470 helper to make these kind of judgement calls in general.
9471 e.g. leave it to marshaling/internals to complain about potential
9472 problems. The flags were being bounds checked to a maximum
9473 value of 32 (the intention was most likely to limit it to 32 bits).
9475 gi/_gobject/propertyhelper.py | 3 ---
9476 tests/test_properties.py | 1 -
9477 2 files changed, 4 deletions(-)
9479 commit 2656bc47ca1219b329066da1c2c58018ae624866
9480 Author: Simon Feltman <sfeltman@src.gnome.org>
9481 Date: Thu Mar 7 18:07:17 2013 -0800
9483 Fix crash when setting property of type object to an incorrect type
9485 Add type check when marshaling an object from Python for GObject
9487 Add PyGObject_Type as part of the pygobject API to check for this.
9489 https://bugzilla.gnome.org/show_bug.cgi?id=695420
9491 gi/_gobject/gobjectmodule.c | 3 ++-
9492 gi/_gobject/pygobject.h | 2 ++
9493 gi/pygi-marshal-from-py.c | 8 ++++++++
9494 tests/test_object_marshaling.py | 4 ++++
9495 4 files changed, 16 insertions(+), 1 deletion(-)
9497 commit 44587f42224a44a480629223c8d78a426bc32a12
9498 Author: Simon Feltman <sfeltman@src.gnome.org>
9499 Date: Thu Mar 7 17:59:02 2013 -0800
9501 Remove skipping of object property tests
9503 These were showing up as unexpected successes now that bug 675726
9506 https://bugzilla.gnome.org/show_bug.cgi?id=695420
9508 tests/test_object_marshaling.py | 7 ++-----
9509 1 file changed, 2 insertions(+), 5 deletions(-)
9511 commit 10214ba2d96fd6d66eeea159219f585abff8632a
9512 Author: Simon Feltman <sfeltman@src.gnome.org>
9513 Date: Thu Mar 7 15:34:49 2013 -0800
9515 Give more informative error when setting property to incorrect type
9517 https://bugzilla.gnome.org/show_bug.cgi?id=695420
9519 gi/_gobject/pygobject.c | 10 ++++++++--
9520 1 file changed, 8 insertions(+), 2 deletions(-)
9522 commit 9ab6e5451aea43ed086c0d26324c4efed24476d7
9523 Author: Martin Pitt <martinpitt@gnome.org>
9524 Date: Tue Mar 5 12:04:55 2013 +0100
9526 Revert "Drop gi.overrides.overridefunc()"
9528 This reverts commit 1dc2bc9f65669417ae1964d70b85f115928b2963. External
9530 like GEdit plugins use @overrides for functions as well, we must
9534 https://bugzilla.gnome.org/show_bug.cgi?id=695199
9536 gi/overrides/Gtk.py | 7 ++++---
9537 gi/overrides/__init__.py | 24 ++++++++++++++++++++++--
9538 2 files changed, 26 insertions(+), 5 deletions(-)
9540 commit 862de794bf01a66aa6d796c674bce375cad37ba7
9541 Author: Martin Pitt <martinpitt@gnome.org>
9542 Date: Mon Mar 4 17:33:51 2013 +0100
9544 configure.ac: Post-release bump to 3.7.92
9547 1 file changed, 1 insertion(+), 1 deletion(-)
9549 commit bb12e652d661cf6ce931b44a89c11951894101bf
9550 Author: Martin Pitt <martinpitt@gnome.org>
9551 Date: Mon Mar 4 17:27:50 2013 +0100
9555 NEWS | 33 +++++++++++++++++++++++++++++++++
9556 1 file changed, 33 insertions(+)
9558 commit 25a6f90f28b065dd4f1cd352826598577402dc0b
9559 Author: Martin Pitt <martinpitt@gnome.org>
9560 Date: Mon Mar 4 17:16:22 2013 +0100
9562 Dot not clobber original Gdk/Gtk functions with overrides
9564 https://bugzilla.gnome.org/show_bug.cgi?id=686835
9566 gi/overrides/Gdk.py | 3 ++-
9567 gi/overrides/Gtk.py | 3 ++-
9568 2 files changed, 4 insertions(+), 2 deletions(-)
9570 commit d50d16428edf42799489fe1befbc4ce56f0fa181
9571 Author: Martin Pitt <martinpitt@gnome.org>
9572 Date: Mon Mar 4 15:30:31 2013 +0100
9574 tests: Reorganize GError and GClosure tests
9576 Split TestGClosure.test_gclosure_in() into its three components.
9578 Merge the various TestGError* classes into one, to match the structure
9582 tests/test_gi.py | 59
9583 +++++++++++++++++++++++++-------------------------------
9584 1 file changed, 26 insertions(+), 33 deletions(-)
9586 commit 8cfd596c7849bf78a74fee04630fbbb104f02080
9587 Author: Martin Pitt <martinpitt@gnome.org>
9588 Date: Mon Mar 4 15:16:25 2013 +0100
9590 Fix memory leaks in property setting/getting
9592 Do not leak GValues and string arrays, free them properly. As we
9594 the intermediate GValues, use g_value_dup_boxed() instead of
9595 g_value_get_boxed() when appropriate.
9597 Detected by test_gi.TestPropertiesObject.test_strv test case.
9599 gi/pygi-property.c | 21 ++++++++++++++++-----
9600 1 file changed, 16 insertions(+), 5 deletions(-)
9602 commit eec8c3a932d42e92ccaf7f97d3d90948842e263f
9603 Author: Martin Pitt <martinpitt@gnome.org>
9604 Date: Mon Mar 4 12:43:24 2013 +0100
9606 Fix memory leak in pyg_flags_get_value_nicks()
9608 Discovered by test_gi.TestKeywords.test_uppercase() test.
9610 gi/_gobject/pygflags.c | 7 +++++--
9611 1 file changed, 5 insertions(+), 2 deletions(-)
9613 commit 002a834dd993b82508a4fe262269befcf1a6d341
9614 Author: Martin Pitt <martinpitt@gnome.org>
9615 Date: Mon Mar 4 12:10:03 2013 +0100
9617 Fix memory leak in _pygi_argument_to_array()
9619 Free the originally allocated GArray data before setting it to
9623 Discovered by test_gi.TestStructure.test_boxed_struct_return test
9626 gi/pygi-argument.c | 1 +
9627 1 file changed, 1 insertion(+)
9629 commit d32b410a1b1fcca6d10d75fbd771ea789999da64
9630 Author: Martin Pitt <martinpitt@gnome.org>
9631 Date: Mon Mar 4 10:19:34 2013 +0100
9633 Fix leaking inout C arrays
9635 g_*_info_invoke() changes the original state->in_args and state->args
9637 to the output values for (inout) arguments, thus losing the pointer
9639 originally allocated array. Remember that in state->args_data,
9641 free it in _pygi_marshal_cleanup_from_py_array().
9643 Reproduced by test_gi.TestArray.test_array_fixed_inout test case.
9645 gi/pygi-marshal-cleanup.c | 6 ++++++
9646 gi/pygi-marshal-from-py.c | 4 ++++
9647 2 files changed, 10 insertions(+)
9649 commit e4098cbc28ff9324fa851bca2e423da4e51b5091
9650 Author: Martin Pitt <martinpitt@gnome.org>
9651 Date: Fri Mar 1 15:12:31 2013 +0100
9653 Fix leak in _PyGI_ERROR_PREFIX()
9655 Properly clean up our allocated py_error_prefix string.
9657 Fixes memory leak in e. g. test_gi.TestArray.test_array_fixed_int_in.
9659 gi/pygi-private.h | 1 +
9660 1 file changed, 1 insertion(+)
9662 commit b388c3e87ce86d26560337c88eb33d0a95647db8
9663 Author: Martin Pitt <martinpitt@gnome.org>
9664 Date: Fri Mar 1 15:01:06 2013 +0100
9666 Fix leaking of boxed array elements
9668 Commit 631d8ef879a copies struct array elements, but this needlessly
9670 and leaks the array element for boxed types. So only do it for
9673 This fixes the memory leak with
9674 test_gi.TestGValue.test_gvalue_flat_array_out.
9676 https://bugzilla.gnome.org/show_bug.cgi?id=693402
9678 gi/pygi-marshal-to-py.c | 3 ++-
9679 1 file changed, 2 insertions(+), 1 deletion(-)
9681 commit 1dc2bc9f65669417ae1964d70b85f115928b2963
9682 Author: Martin Pitt <martinpitt@gnome.org>
9683 Date: Fri Mar 1 14:04:34 2013 +0100
9685 Drop gi.overrides.overridefunc()
9687 This just adds an unnecessary extra function call and is not really
9689 Drop it from the only remaining function which uses this
9691 drop overridefunc().
9693 https://bugzilla.gnome.org/show_bug.cgi?id=686835
9695 gi/overrides/Gtk.py | 7 +++----
9696 gi/overrides/__init__.py | 24 ++----------------------
9697 2 files changed, 5 insertions(+), 26 deletions(-)
9699 commit 1edc4ba31b3f9375ec3920aab5b71eb066ee3739
9700 Author: Martin Pitt <martinpitt@gnome.org>
9701 Date: Fri Mar 1 14:02:02 2013 +0100
9703 Add some tests for overridden Gdk/Gtk functions
9705 Add tests for Gtk.main_quit, Gtk.stock_parse(), and Gdk.color_parse(),
9707 have overrides for them.
9709 tests/test_overrides_gdk.py | 7 +++++++
9710 tests/test_overrides_gtk.py | 15 +++++++++++++++
9711 2 files changed, 22 insertions(+)
9713 commit 6f6c0ceff00fea83bc85756b10694f7c96039abc
9714 Author: Martin Pitt <martinpitt@gnome.org>
9715 Date: Fri Mar 1 11:10:01 2013 +0100
9717 Fix GLib.Source ref leak upon destruction
9719 In GLib.Source.__del__(), manually unref the source if we are a
9721 As we use a static binding to create it, the GI part won't unref it
9723 leading to finalize() method not being called and the GSource
9726 https://bugzilla.gnome.org/show_bug.cgi?id=510511
9728 gi/overrides/GLib.py | 4 ++++
9729 tests/test_source.py | 31 +++++++++++++++++++++++++++++++
9730 2 files changed, 35 insertions(+)
9732 commit 91f76dd94fb0afc6888a821a31c3a4e2e053360e
9733 Author: Martin Pitt <martinpitt@gnome.org>
9734 Date: Thu Feb 28 15:08:56 2013 +0100
9736 Add performance test for Gtk.ListStore.append
9738 We are going to optimize this in various ways, so let's measure it.
9740 tests/test_overrides_gtk.py | 14 ++++++++++++++
9741 1 file changed, 14 insertions(+)
9743 commit b1ff74b085bdca72c272f019be4dd387073a991a
9744 Author: Simon Feltman <sfeltman@src.gnome.org>
9745 Date: Thu Feb 28 04:32:30 2013 -0800
9747 Optimize GValue.get/set_value by setting GValue.g_type to a local
9749 This increases performance by a factor of 2x for types later
9752 https://bugzilla.gnome.org/show_bug.cgi?id=694857
9754 gi/overrides/GObject.py | 98
9755 +++++++++++++++++++++++++------------------------
9756 1 file changed, 51 insertions(+), 47 deletions(-)
9758 commit 105e6738ee249b64904da26ae45dd273ca4eeba8
9759 Author: Martin Pitt <martinpitt@gnome.org>
9760 Date: Thu Feb 28 11:43:47 2013 +0100
9762 Fix leak of caller-allocated boxed values
9764 Add a new "allocated_slice" argument to _pygi_boxed_new() which
9766 whether its "boxed" pointer was allocated using a slice (by giving
9768 malloc (by specifying 0), as _pygi_boxed_new cannot determine that
9772 Use this in _pygi_marshal_to_py_interface_struct() for
9773 caller-allocated boxed
9774 values, as _caller_alloc() uses _pygi_boxed_alloc() for those
9776 which would otherwise leak.
9778 Thanks to Mike Gorse <mgorse@suse.com> for the original patch!
9780 https://bugzilla.gnome.org/show_bug.cgi?id=691501
9782 gi/gimodule.c | 2 +-
9783 gi/pygi-argument.c | 2 +-
9784 gi/pygi-boxed.c | 14 ++++++++++----
9785 gi/pygi-boxed.h | 3 ++-
9786 gi/pygi-marshal-to-py.c | 6 ++++--
9787 gi/pygi-source.c | 3 ++-
9788 6 files changed, 20 insertions(+), 10 deletions(-)
9790 commit 64bcca2d39fed1734ad1abbe291406387e901f5c
9791 Author: Martin Pitt <martinpitt@gnome.org>
9792 Date: Thu Feb 28 10:48:18 2013 +0100
9794 Fix memory handling of caller-allocated boxed types
9796 _pygi_marshal_to_py_interface_struct() and other places treat
9798 G_TYPE_BOXED as boxed values and wrap them with _pygi_boxed_new(). Fix
9799 _caller_alloc() and _cleanup_caller_allocates() to consider
9801 subtypes as well and use the slice allocator instead of malloc()'ing
9803 This avoids trying to free an malloc'ed struct with g_slice_free()
9805 cleans up the boxed values.
9807 The leak was produced with:
9809 G_SLICE=debug-blocks PYTHONPATH=. valgrind --tool=memcheck
9810 --leak-check=full --show-possibly-lost=no \
9811 python3 -c 'from gi.repository import Gtk; b=Gtk.TextBuffer();
9812 (s,e) = b.get_bounds()'
9814 gi/pygi-invoke.c | 2 +-
9815 gi/pygi-marshal-cleanup.c | 2 +-
9816 2 files changed, 2 insertions(+), 2 deletions(-)
9818 commit 4f5e8b7554b6388aa2d0eb4a3b285d99499163be
9819 Author: Martin Pitt <martinpitt@gnome.org>
9820 Date: Wed Feb 27 23:21:34 2013 +0100
9822 Fix cleanup of GValue arrays
9824 Commit bc1fd8 introduced a thinko: We must not change
9825 item_arg_cache->from_py_cleanup, as it's a global cache. Revert
9827 change, and instead put the hack into
9828 _pygi_marshal_cleanup_from_py_array(),
9829 which now short-circuits
9830 _pygi_marshal_cleanup_from_py_interface_struct_gvalue() to avoid
9831 trying to release a slice which has never been allocated in
9832 _pygi_marshal_from_py_array().
9834 https://bugzilla.gnome.org/show_bug.cgi?id=672224
9836 gi/pygi-marshal-cleanup.c | 11 ++++++++++-
9837 gi/pygi-marshal-from-py.c | 10 +++-------
9838 2 files changed, 13 insertions(+), 8 deletions(-)
9840 commit 70118c3840b10e1585d066a4be485c097cd23e99
9841 Author: Martin Pitt <martinpitt@gnome.org>
9842 Date: Wed Feb 27 21:52:43 2013 +0100
9844 Revert "Mark caller-allocated boxed structures as having a slice
9847 This is wrong after all, as it sets slice_allocated to TRUE, but
9849 corresponding size. Also, poking in internal fields from that place
9851 this should rather be fixed in gi/pygi-marshal-cleanup.c
9852 _cleanup_caller_allocates().
9854 This reverts commit dc3d21173b75232f7ea0b9913f7309486456a69d.
9856 gi/pygi-marshal-to-py.c | 4 +---
9857 1 file changed, 1 insertion(+), 3 deletions(-)
9859 commit a51c72c771dafc0c13d7990f1ff3e428dca729a1
9860 Author: Martin Pitt <martinpitt@gnome.org>
9861 Date: Wed Feb 27 21:51:30 2013 +0100
9863 Run tests with G_SLICE=debug_blocks
9865 This will help finding regressions in slice management, like in
9866 https://bugzilla.gnome.org/show_bug.cgi?id=691501
9868 tests/Makefile.am | 3 ++-
9869 1 file changed, 2 insertions(+), 1 deletion(-)
9871 commit 4f6ebcfe0605a7a593dc3f9dd322a4da9bd091a3
9872 Author: Martin Pitt <martinpitt@gnome.org>
9873 Date: Wed Feb 27 18:30:23 2013 +0100
9875 Add override helper for stripping boolean returns
9877 Introduce a gi.overrides.strip_boolean_result() helper which checks
9879 return value and if True, return the remaining arguments, otherwise
9881 default. This pattern is being used by a lot of overrides, which get
9882 significantly smaller and more consistent that way.
9884 https://bugzilla.gnome.org/show_bug.cgi?id=694431
9886 gi/overrides/Gdk.py | 27 +-------
9887 gi/overrides/Gtk.py | 156
9888 +++++++++--------------------------------------
9889 gi/overrides/__init__.py | 22 +++++++
9890 3 files changed, 53 insertions(+), 152 deletions(-)
9892 commit 08c97b0bd3140921f1b5c74f7764e23d3a9bf0ee
9893 Author: Martin Pitt <martinpitt@gnome.org>
9894 Date: Wed Feb 27 15:39:23 2013 +0100
9896 Drop obsolete pygobject_register_sinkfunc() declaration
9898 There is no definition for this any more, nor is it being used
9901 https://bugzilla.gnome.org/show_bug.cgi?id=639849
9903 gi/_gobject/pygobject-private.h | 2 --
9904 1 file changed, 2 deletions(-)
9906 commit b6fefd625b843d4fc3dabc456584a2ad27a48c8c
9907 Author: Martin Pitt <martinpitt@gnome.org>
9908 Date: Wed Feb 27 13:41:55 2013 +0100
9910 Fix marshalling of C arrays with explicit length in signal arguments
9912 We need _pygi_argument_to_array() from both closure marshalling
9914 the arguments as GIArgument array) and signal closure marshalling
9916 have the arguments in a GValue array). Add an alternative
9918 parameter to _pygi_argument_to_array() so that callers can specify
9920 other depending on which type they have available.
9922 This allows us to pass on the full argument list for signal closures,
9924 _pygi_argument_to_array() can access the explicit length argument
9928 This fixes the GSettings:change-event signal.
9930 https://bugzilla.gnome.org/show_bug.cgi?id=662241
9932 gi/pygi-argument.c | 36 ++++++++++++++++++++++++++++--------
9933 gi/pygi-argument.h | 1 +
9934 gi/pygi-closure.c | 2 +-
9935 gi/pygi-info.c | 4 ++--
9936 gi/pygi-signal-closure.c | 3 ++-
9937 tests/test_gio.py | 18 ++++++++++++++++++
9938 6 files changed, 52 insertions(+), 12 deletions(-)
9940 commit caeeeb7e4282e183eefc3c53b2d53c8c2bb7de89
9941 Author: Martin Pitt <martinpitt@gnome.org>
9942 Date: Wed Feb 27 08:07:20 2013 +0100
9944 Fix signedness, overflow checking, and 32 bit overflow of GFlags
9946 GFlagsValue.value is a guint, so we must access it as unsigned
9948 new macros PYGLIB_PyLong_FromUnsignedLong() and
9949 PYGLIB_PyLong_AsUnsignedLong()
9950 for that purpose, and consistently use them for handling flag
9952 checked variant of these functions which produce OverflowErrors
9954 of the unchecked PYGLIB_PyLong_AS_LONG().
9956 Insert zero padding after the PyLongObject in PyGFlags and
9958 this, the directly adjacent GType field seems to confuse
9959 PyLong_FromUnsignedLong() and includes the GType into the numeric
9962 https://bugzilla.gnome.org/show_bug.cgi?id=693121
9964 gi/_glib/pyglib-python-compat.h | 8 +++++++
9965 gi/_gobject/gobjectmodule.c | 2 +-
9966 gi/_gobject/pygflags.c | 52
9967 +++++++++++++++++++++++++----------------
9968 gi/_gobject/pygobject-private.h | 10 ++++----
9969 gi/_gobject/pygobject.h | 4 ++--
9970 gi/_gobject/pygtype.c | 6 ++---
9971 tests/test_overrides_gdk.py | 15 ++++++++++++
9972 7 files changed, 67 insertions(+), 30 deletions(-)
9974 commit b3a3da37e369f3f5d434c8dc9f3c7f1e74d537ac
9975 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
9976 Date: Tue Feb 26 16:15:36 2013 +0800
9978 gi/pygi-marshal-from-py.c: Fix build on Visual C++
9980 Since Visual C++ does not provide the INFINITY and NAN constants
9982 math.h (they are items defined by C99), provide fallback
9984 for it here. The INFINITY constant can be provided with HUGE_VAL,
9986 we are using INFINITY to check the value of a variable of double
9988 we could use a rather simple workaround for NAN.
9990 Also avoid declaring variables in the middle of the block.
9992 https://bugzilla.gnome.org/show_bug.cgi?id=692856
9994 gi/pygi-marshal-from-py.c | 19 ++++++++++++++++++-
9995 1 file changed, 18 insertions(+), 1 deletion(-)
9997 commit 5210e3d5bb7936a21b6a2c938ede505bf1d848c9
9998 Author: Martin Pitt <martinpitt@gnome.org>
9999 Date: Tue Feb 26 16:42:19 2013 +0100
10001 Fix some style issues with previous patch
10003 gi/pygi-cache.c | 6 +++---
10004 1 file changed, 3 insertions(+), 3 deletions(-)
10006 commit 999679beaa9f5b36d9483abdbd30cd5e113b6bf6
10007 Author: Martin Pitt <martinpitt@gnome.org>
10008 Date: Tue Feb 26 10:15:22 2013 +0100
10010 Raise DeprecationWarning on deprecated callables
10012 Check if a callable is marked as deprecated and raise a
10013 DeprecationWarning in
10017 - Python hides DeprecationWarning by default, you need to enable
10019 - The deprecation message is currently not in the typelib (bug
10022 https://bugzilla.gnome.org/show_bug.cgi?id=665084
10024 gi/pygi-cache.c | 14 ++++++++++++++
10025 tests/test_gi.py | 10 ++++++++++
10026 2 files changed, 24 insertions(+)
10028 commit 9f8258cfdcf562aa6cf37b9e66075b7f6a6ed97a
10029 Author: Simon Feltman <sfeltman@src.gnome.org>
10030 Date: Mon Feb 18 00:39:45 2013 -0800
10032 pygtkcompat: Add Widget.window, scroll_to_mark, and window methods
10034 Fix gi.pygtkcompat attempting relative import in Python < 3.0.
10035 Add Gtk.Widget.window property which uses get_window()
10036 Add Gtk.TextView.scroll_to_mark with defaults
10037 Add Gtk.window_list_toplevels and Gtk.window_set_default_icon_name
10039 https://bugzilla.gnome.org/show_bug.cgi?id=694067
10041 gi/pygtkcompat.py | 2 ++
10042 pygtkcompat/pygtkcompat.py | 14 ++++++++++++++
10043 2 files changed, 16 insertions(+)
10045 commit e8e2bbee7bb79039bbd9a968f7db88438bd937f9
10046 Author: Simon Feltman <sfeltman@src.gnome.org>
10047 Date: Sun Dec 16 02:56:06 2012 -0800
10049 pygtkcompat: Add Gtk.Window.set_geometry_hints which accepts keyword
10052 Monkey patch a keyword argument version of set_geometry_hints onto
10054 This version is compatible with pygtk and takes keywords instead of a
10055 Gdk.Geometry and Gdk.GeometryMask.
10057 https://bugzilla.gnome.org/show_bug.cgi?id=694067
10059 pygtkcompat/pygtkcompat.py | 44
10060 ++++++++++++++++++++++++++++++++++++++++++++
10061 1 file changed, 44 insertions(+)
10063 commit 1ca0e142709843cdae9ca965dfa6cc292ef53ab5
10064 Author: Martin Pitt <martinpitt@gnome.org>
10065 Date: Tue Feb 26 10:09:47 2013 +0100
10067 tests: Fix warning behaviour
10069 -Werror::* does not seem to do what it says on the tin, these
10071 ignored entirely apparently. Just keep -Wd to actually show all
10073 including DeprecationWarning, which is hidden by default.
10075 tests/Makefile.am | 2 +-
10076 1 file changed, 1 insertion(+), 1 deletion(-)
10078 commit e7ea6952c7a2d8da68ed8b66770d889cd756df9a
10079 Author: Martin Pitt <martinpitt@gnome.org>
10080 Date: Tue Feb 26 08:49:10 2013 +0100
10082 Ship pygobject.doap for autogen.sh
10084 https://bugzilla.gnome.org/show_bug.cgi?id=694591
10087 1 file changed, 1 insertion(+)
10089 commit 80ed803dab3ad914d7214a475e3c6ed743dfdccc
10090 Author: Simon Feltman <sfeltman@src.gnome.org>
10091 Date: Tue Feb 19 03:07:19 2013 -0800
10093 Fix crashes in various GObject signal handler functions
10095 Fix crashes in a large amount of signal handler functions exposed
10096 on the GObject module. This is possible now that the underlying
10097 GObject pointer is exposed to Python as a PyCapsule which marshaling
10098 can handle. The following functions in the GObject module have been
10101 signal_handler_unblock
10102 signal_handler_disconnect
10103 signal_handler_is_connected
10104 signal_stop_emission
10105 signal_stop_emission_by_name
10106 signal_has_handler_pending
10107 signal_connect_closure
10108 signal_connect_closure_by_id
10109 signal_handler_find
10110 signal_handlers_destroy
10112 https://bugzilla.gnome.org/show_bug.cgi?id=633927
10114 gi/_gobject/gobjectmodule.c | 57 ++--------------
10115 gi/overrides/GObject.py | 158
10116 ++++++++++++++++++++++++++++++++++----------
10117 tests/test_signal.py | 121 ++++++++++++++++++++++++++++++++-
10118 3 files changed, 247 insertions(+), 89 deletions(-)
10120 commit e9c578c1d47375cb2249ccdd86873faad04b89e1
10121 Author: Olivier Crête <olivier.crete@collabora.com>
10122 Date: Fri Sep 14 21:29:53 2012 -0400
10124 pygi-closure: Protect the GSList prepend with the GIL
10126 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
10128 https://bugzilla.gnome.org/show_bug.cgi?id=684060
10130 gi/pygi-closure.c | 4 ++--
10131 1 file changed, 2 insertions(+), 2 deletions(-)
10133 commit 6e0a32f6d9febbd782dc56a619974f009e79abd9
10134 Author: Simon Feltman <sfeltman@src.gnome.org>
10135 Date: Wed Feb 20 01:21:32 2013 -0800
10137 generictreemodel: Fix bad default return type for get_column_type
10139 pygtkcompat/generictreemodel.py | 2 +-
10140 1 file changed, 1 insertion(+), 1 deletion(-)
10142 commit 8ec5c335e223bdf00c7bb6c9aac3e7ac7791e38e
10143 Author: Martin Pitt <martinpitt@gnome.org>
10144 Date: Tue Feb 19 12:23:13 2013 +0100
10146 configure.ac: post-release bump to 3.7.91
10148 configure.ac | 2 +-
10149 1 file changed, 1 insertion(+), 1 deletion(-)
10151 commit f2fb7f6142cd7112db9c2526d7f1c642a50cfc2a
10152 Author: Martin Pitt <martinpitt@gnome.org>
10153 Date: Tue Feb 19 12:19:35 2013 +0100
10157 NEWS | 17 +++++++++++++++++
10158 configure.ac | 2 +-
10159 2 files changed, 18 insertions(+), 1 deletion(-)
10161 commit 840c871441cb215f24cc6e7ed26b9f38e5aad0df
10162 Author: Simon Feltman <sfeltman@src.gnome.org>
10163 Date: Mon Feb 18 01:46:22 2013 -0800
10165 overrides: Fix inconsistencies with drag and drop target list API
10167 Add support to Gtk.Widget.drag_dest_set_target_list and
10168 Gtk.Widget.drag_source_set_target_list to accept iterables containing
10169 mixed TargetEntry or a tuple of (target, flags, info).
10170 Add support to Gtk.TreeView.enable_model_drag_source and
10171 Gtk.TreeView.enable_model_drag_dest to accept a list of
10175 https://bugzilla.gnome.org/show_bug.cgi?id=680640
10177 gi/overrides/Gtk.py | 40 +++++++++++++++++++++++++++++-----------
10178 tests/test_overrides_gtk.py | 32 ++++++++++++++++++++++++++++++++
10179 2 files changed, 61 insertions(+), 11 deletions(-)
10181 commit 62e94b0f87845bb7a1cfddf70dcdc89ff7a80bf7
10182 Author: Simon Feltman <sfeltman@src.gnome.org>
10183 Date: Mon Feb 18 03:19:34 2013 -0800
10185 tests: Add test_marshaling_object to Makefile.am
10187 tests/Makefile.am | 1 +
10188 1 file changed, 1 insertion(+)
10190 commit a10fb7216de57046d1ecacb73dd032eaadcbad09
10191 Author: Simon Feltman <s.feltman@gmail.com>
10192 Date: Wed Aug 29 03:46:23 2012 -0700
10194 pygtkcompat: Add pygtk compatible GenericTreeModel implementation
10196 Add Python implementation of the GenericTreeModel that was
10197 available in pygtk. The implementation attempts a better job
10198 than the original at ref counting by guaranteeing no leaks
10199 upon deletion of the model itself. Or by using the extra "node"
10200 argument to the row_deleted signal. The model is available in
10201 the pygtkcompat package directly as
10202 pygtkcompat.generictreemodel.GenericTreeModel or with as
10203 gtk.GenericTreeModel when pygtkcompat.enable_gtk() is set.
10205 Add file list and tree demos making use of GenericTreeModel
10208 Auto-expand gtk-demo app tree to give a better overview of
10209 the demos available.
10211 https://bugzilla.gnome.org/show_bug.cgi?id=682933
10213 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 234 ++++++++++++
10214 .../gtk-demo/demos/Tree View/treemodel_filetree.py | 279 ++++++++++++++
10215 demos/gtk-demo/gtk-demo.py | 2 +-
10216 gi/pygtkcompat.py | 2 +-
10217 pygtkcompat/Makefile.am | 1 +
10218 pygtkcompat/generictreemodel.py | 420
10219 +++++++++++++++++++++
10220 pygtkcompat/pygtkcompat.py | 3 +
10221 tests/Makefile.am | 1 +
10222 tests/test_generictreemodel.py | 406
10223 ++++++++++++++++++++
10224 9 files changed, 1346 insertions(+), 2 deletions(-)
10226 commit 871878c7a1e18fbdbf0744e0dd52cbcc6b610cdb
10227 Author: Simon Feltman <sfeltman@src.gnome.org>
10228 Date: Mon Feb 18 02:54:14 2013 -0800
10230 overrides: Add support for iterables besides tuples for TreePath
10233 Allow Gtk.TreePath to accept any iterable for creation of the path.
10235 https://bugzilla.gnome.org/show_bug.cgi?id=682933
10237 gi/overrides/Gtk.py | 2 +-
10238 1 file changed, 1 insertion(+), 1 deletion(-)
10240 commit 93c1536b45f56c20b6d874c41c4cacd2b6cdca0a
10241 Author: Simon Feltman <sfeltman@src.gnome.org>
10242 Date: Fri Feb 15 22:56:29 2013 -0800
10244 Unify Python callable to GClosure GI marshaling code
10246 Add pygi_marshal_from_py_gclosure which can be used for direct
10248 call args and vfunc out args.
10250 https://bugzilla.gnome.org/show_bug.cgi?id=693405
10252 gi/pygi-argument.c | 14 +-----------
10253 gi/pygi-marshal-from-py.c | 55
10254 ++++++++++++++++++++++++++++-------------------
10255 gi/pygi-marshal-from-py.h | 3 +++
10256 3 files changed, 37 insertions(+), 35 deletions(-)
10258 commit 9e47afe459df942d9ffc4f71b39f1443976293df
10259 Author: Simon Feltman <sfeltman@src.gnome.org>
10260 Date: Fri Feb 15 20:56:12 2013 -0800
10262 Unify Python object to GValue GI marshaling code
10264 Add pygi_marshal_from_py_g_value which can be used for direct
10266 call args and vfunc out args. The new method also adds an
10268 parameter that will be used to fix leaks in the future.
10270 https://bugzilla.gnome.org/show_bug.cgi?id=693405
10272 gi/pygi-argument.c | 43 +++++++--------------------
10273 gi/pygi-marshal-from-py.c | 74
10274 ++++++++++++++++++++++++++++++++---------------
10275 gi/pygi-marshal-from-py.h | 5 ++++
10276 3 files changed, 65 insertions(+), 57 deletions(-)
10278 commit 15cd7be5ad80e2411d6c13b04f5e2c33e4f5605e
10279 Author: Simon Feltman <sfeltman@src.gnome.org>
10280 Date: Fri Feb 15 23:07:57 2013 -0800
10282 Rename pygi_marshal_from_py_object to make it more explicit
10284 Rename pygi_marshal_from_py_object to pygi_marshal_from_py_gobject
10285 to make it more explicit and give consistency with future refactoring.
10287 https://bugzilla.gnome.org/show_bug.cgi?id=693405
10289 gi/pygi-argument.c | 2 +-
10290 gi/pygi-marshal-from-py.c | 22 +++++++++++++---------
10291 gi/pygi-marshal-from-py.h | 6 +++---
10292 3 files changed, 17 insertions(+), 13 deletions(-)
10294 commit 84103dfabd05742d1a18729663a609e9bf7c45f8
10295 Author: Niklas Koep <niklas.koep@gmail.com>
10296 Date: Fri Feb 15 21:23:01 2013 -0800
10298 Prefix __module__ attribute of function objects with gi.repository
10300 This allows gi module methods to work with pydoc and help().
10301 Additionally correct typo in two docstrings of the same module.
10303 Co-authored-by: Simon Feltman <sfeltman@src.gnome.org>
10305 https://bugzilla.gnome.org/show_bug.cgi?id=693839
10307 gi/overrides/__init__.py | 3 ++-
10308 gi/types.py | 6 +++---
10309 2 files changed, 5 insertions(+), 4 deletions(-)
10311 commit f6d4d2da676ae63d7a24dd172775b488ce665fe4
10312 Author: Jonathan Ballet <jon@multani.info>
10313 Date: Thu Feb 14 07:50:02 2013 +0100
10315 configure.ac: only enable code coverage when available
10317 When building with an older gnome-common which does not yet provide
10319 coverage support, disable it instead of breaking the configure script.
10321 https://bugzilla.gnome.org/show_bug.cgi?id=693328
10323 configure.ac | 10 +++++++++-
10324 1 file changed, 9 insertions(+), 1 deletion(-)
10326 commit 42cbff60e2032f715d9be6ab280954211899e03c
10327 Author: Jonathan Ballet <jon@multani.info>
10328 Date: Tue Feb 12 23:03:00 2013 +0100
10330 Correctly set properties on object with statically defined properties
10332 Fix failures in GObject.Object.set_properties() when used with
10333 statically defined properties:
10335 * Calling the method was raising a "SystemError: error return without
10336 exception set" since `result` was (most of the time) still NULL at the
10337 end of pygobject_set_properties()
10339 * Calling the method with several properties would only set one of
10340 the properties, since the function was exiting too early.
10342 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
10344 https://bugzilla.gnome.org/show_bug.cgi?id=693618
10346 gi/_gobject/pygobject.c | 19 +++++++++++--------
10347 tests/test_gi.py | 6 ++++++
10348 2 files changed, 17 insertions(+), 8 deletions(-)
10350 commit 2384769810a61d6ed08d8742b7ae976ebfaa8cb5
10351 Author: Martin Pitt <martinpitt@gnome.org>
10352 Date: Mon Feb 11 18:08:37 2013 +0100
10354 autogen.sh: Use gnome-autogen.sh
10356 We depend on gnome-common now anyway, so use gnome-autogen.sh. This
10358 in a much better error message when gnome-common is not installed,
10361 https://bugzilla.gnome.org/show_bug.cgi?id=693328
10363 autogen.sh | 30 +++++++++++++++++-------------
10364 1 file changed, 17 insertions(+), 13 deletions(-)
10366 commit c107bb1f9275a748b494d3f32818f227e07cadf0
10367 Author: Christoph Reiter <christoph.reiter@gmx.at>
10368 Date: Mon Feb 11 10:07:47 2013 +0100
10370 GTK tests: Add and use context manager for realized widgets
10372 https://bugzilla.gnome.org/show_bug.cgi?id=693377
10374 tests/test_overrides_gtk.py | 91
10375 +++++++++++++++++++++++++--------------------
10376 1 file changed, 50 insertions(+), 41 deletions(-)
10378 commit e6670ee26b7682e6213f71deef813ce2e7cd6730
10379 Author: Martin Pitt <martinpitt@gnome.org>
10380 Date: Mon Feb 11 08:55:19 2013 +0100
10382 _pygi_marshal_from_py_array: Fix uninitialized variable
10384 gi/pygi-marshal-from-py.c | 2 +-
10385 1 file changed, 1 insertion(+), 1 deletion(-)
10387 commit a37bfdcb3d9dcc8bcdd8126ad55d80fab4729c62
10388 Author: Christoph Reiter <christoph.reiter@gmx.at>
10389 Date: Mon Feb 11 08:34:42 2013 +0100
10391 Skip some vfunc tests with gi 1.34
10393 https://bugzilla.gnome.org/show_bug.cgi?id=693374
10395 tests/test_object_marshaling.py | 14 ++++++++++++++
10396 1 file changed, 14 insertions(+)
10398 commit aff2ea1b681c3019f7dbdc841c2e33de78dbb88f
10399 Author: Simon Feltman <sfeltman@src.gnome.org>
10400 Date: Sun Feb 10 13:40:45 2013 -0800
10402 Remove workaround for g_struct_info_get_size reporting incorrect size
10404 Remove workaround for g_struct_info_get_size reporting incorrect size
10405 for boxed GValues. Verified this now returns the correct size of 24.
10407 https://bugzilla.gnome.org/show_bug.cgi?id=622711
10409 gi/pygi-boxed.c | 31 +++++++++++++------------------
10410 1 file changed, 13 insertions(+), 18 deletions(-)
10412 commit 5efe2e5c8458d9f4d72329ea1209d96b5ebecfb4
10413 Author: Simon Feltman <sfeltman@src.gnome.org>
10414 Date: Mon Feb 4 20:50:10 2013 -0800
10416 Fix reference leaks with transient floating objects
10418 Unify and refactor caller and callee GObject argument marshalers.
10419 Combine code from the large switch statement used to marshal
10420 arguments to and from vfuncs/closures with the marshalers used
10421 for direct calls to gi functions. This fixes a reference leak
10422 when marshalling GObjects to Python with transfer=full due to
10423 the diverging code paths.
10424 Replace ability in gobject_new_full to optionally sink objects
10425 with ability to optionaly "steal" objects. This fits the premise
10426 that binding layers should always sink objects initially. The
10427 steal argument is then used for marshalling arguments which are
10429 Add hacks and comments to work around GTK+ bugs 693393 and 693400.
10431 https://bugzilla.gnome.org/show_bug.cgi?id=687522
10433 gi/_gobject/gobjectmodule.c | 10 +++++--
10434 gi/_gobject/pygobject-private.h | 2 +-
10435 gi/_gobject/pygobject.c | 45 ++++++++++++++++++++----------
10436 gi/_gobject/pygobject.h | 8 ++++--
10437 gi/pygi-argument.c | 52 +++++++++++++++++------------------
10438 gi/pygi-marshal-from-py.c | 61
10439 +++++++++++++++++++++++++++++++++++++----
10440 gi/pygi-marshal-from-py.h | 6 ++++
10441 gi/pygi-marshal-to-py.c | 45 +++++++++++++++---------------
10442 gi/pygi-marshal-to-py.h | 5 ++++
10443 tests/test_object_marshaling.py | 44 ++++++++++++++---------------
10444 10 files changed, 181 insertions(+), 97 deletions(-)
10446 commit bd54b8ab30fc957849e7f57e9ee4c4b41aa37013
10447 Author: Simon Feltman <sfeltman@src.gnome.org>
10448 Date: Wed Feb 6 12:56:44 2013 -0800
10450 tests: Fix spelling mistakes in new vfunc object marshalling tests
10452 tests/test_object_marshaling.py | 12 ++++++------
10453 1 file changed, 6 insertions(+), 6 deletions(-)
10455 commit cd96fd8b8e10add9890f36ec237bb78548de7002
10456 Author: Martin Pitt <martinpitt@gnome.org>
10457 Date: Tue Feb 5 07:53:38 2013 +0100
10459 configure.ac: post-release bump to 3.7.6
10461 configure.ac | 2 +-
10462 1 file changed, 1 insertion(+), 1 deletion(-)
10464 commit 92b1404e61f46348168f32720eff4a482531e5e3
10465 Author: Martin Pitt <martinpitt@gnome.org>
10466 Date: Tue Feb 5 07:46:46 2013 +0100
10471 configure.ac | 2 +-
10472 2 files changed, 4 insertions(+), 1 deletion(-)
10474 commit a3a30559240077194f23c4651d6f382fa59b7d63
10475 Author: Simon Feltman <sfeltman@src.gnome.org>
10476 Date: Mon Feb 4 15:16:37 2013 -0800
10478 Fix API break with pygobject.h
10480 Move pygobject_new_full after everything in the public API table.
10481 This fixes a break that went in along with bug 675726.
10483 https://bugzilla.gnome.org/show_bug.cgi?id=675726
10485 gi/_gobject/gobjectmodule.c | 5 +++--
10486 gi/_gobject/pygobject.h | 2 +-
10487 2 files changed, 4 insertions(+), 3 deletions(-)
10489 commit b3ca7e27494c35620995840d777037a097082661
10490 Author: Martin Pitt <martinpitt@gnome.org>
10491 Date: Mon Feb 4 19:53:26 2013 +0100
10493 configure.ac: post-release bump to 3.7.6
10495 configure.ac | 2 +-
10496 1 file changed, 1 insertion(+), 1 deletion(-)
10498 commit 77f638411314218748f349b337a36e2864eed1f4
10499 Author: Martin Pitt <martinpitt@gnome.org>
10500 Date: Mon Feb 4 19:37:14 2013 +0100
10504 NEWS | 24 ++++++++++++++++++++++++
10505 1 file changed, 24 insertions(+)
10507 commit 50da4fca1435f8c27072e15875227c5e7fb9b7e4
10508 Author: Simon Feltman <sfeltman@src.gnome.org>
10509 Date: Sun Feb 3 23:56:14 2013 -0800
10511 Fix pointer cast warning that was missed in bug 675726
10513 https://bugzilla.gnome.org/show_bug.cgi?id=675726
10515 gi/_gobject/pygobject.h | 2 +-
10516 1 file changed, 1 insertion(+), 1 deletion(-)
10518 commit b31d8a952cd57dc92b06a381e054199660a2d570
10519 Author: Simon Feltman <sfeltman@src.gnome.org>
10520 Date: Thu Jan 31 02:35:36 2013 -0800
10522 Move various signal methods from static bindings to gi and python
10524 Move disconnect, handler_is_connected, handler_block, handler_unblock,
10525 and stop_emission from static to gi python overrides.
10527 https://bugzilla.gnome.org/show_bug.cgi?id=692918
10529 gi/_gobject/pygobject.c | 90
10530 -------------------------------------------------
10531 gi/overrides/GObject.py | 44 +++++++++++++++++-------
10532 tests/test_signal.py | 19 ++++++-----
10533 3 files changed, 42 insertions(+), 111 deletions(-)
10535 commit 3a6a4a7a21a0f5e851518b7912d8ff455aa3ede4
10536 Author: Paolo Borelli <pborelli@gnome.org>
10537 Date: Fri Feb 1 21:09:26 2013 +0100
10539 GLib overrides: Support unpacking 'maybe' variants
10541 Automatically unpack 'maybe' variants to None or to their actual value
10542 as we do for other kind of variants
10544 https://bugzilla.gnome.org/show_bug.cgi?id=693032
10546 gi/overrides/GLib.py | 5 +++++
10547 tests/test_overrides_glib.py | 8 ++++++++
10548 2 files changed, 13 insertions(+)
10550 commit 9bc3e6807f6c14fb0e132a90ff8f9984229896f6
10551 Author: Mike Gorse <mgorse@suse.com>
10552 Date: Mon Jan 21 16:45:52 2013 -0600
10554 Fix ref count leak when creating pygobject wrappers for input args
10556 Only sink input references for closures and vfuncs when transfer is
10557 everything. This fixes cases where incoming floating references for
10558 callbacks need to maintain their floating state throughout the
10559 callback so they don't leak a strong reference. Re-introduce a
10560 working "sink" argument to pygobject_new_full which allows for this.
10561 Change existing callers to always sink in order maintain behavior.
10563 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
10565 https://bugzilla.gnome.org/show_bug.cgi?id=675726
10567 gi/_gobject/gobjectmodule.c | 5 +--
10568 gi/_gobject/pygobject.c | 7 ++--
10569 gi/_gobject/pygobject.h | 2 ++
10570 gi/pygi-argument.c | 13 +++----
10571 tests/test_object_marshaling.py | 76
10572 +++++++++++++++++++++++++++++++++++++----
10573 5 files changed, 85 insertions(+), 18 deletions(-)
10575 commit a53a9176a3f87cfb26f3ad98ea746ada0f1a39fa
10576 Author: Simon Feltman <sfeltman@src.gnome.org>
10577 Date: Thu Jan 31 01:50:44 2013 -0800
10579 Add tests for signal stop_emission, disconnect, and
10580 handler_is_connected
10582 Add tests for methods which will be moving from static bindings to gi
10583 by using the new __gpointer__ attribute of GObject.
10585 https://bugzilla.gnome.org/show_bug.cgi?id=692918
10587 tests/test_signal.py | 51
10588 ++++++++++++++++++++++++++++++++++++++++++++++++++-
10589 1 file changed, 50 insertions(+), 1 deletion(-)
10591 commit df18f9cc3828d1bcf6b6cdf26af786fd9f36d77e
10592 Author: Simon Feltman <sfeltman@src.gnome.org>
10593 Date: Wed Jan 30 21:37:07 2013 -0800
10595 Add __gpointer__ property to GObject static binding
10597 Add access to the underlying C GObject pointer by wrapping it in a
10598 PyCapsule/PyCPointer and exposing it as __gpointer__.
10599 Add special case marshaling for gi parameters annotated as gpointer
10600 to accept a PyCapsule and extract the underlying pointer as the arg.
10601 This allows usage of methods like GObject.signal_handler_disconnect
10602 which we can start replacing the static bindings with.
10604 https://bugzilla.gnome.org/show_bug.cgi?id=692918
10606 gi/_gobject/pygobject.c | 11 +++++++++--
10607 gi/pygi-marshal-from-py.c | 6 +++++-
10608 2 files changed, 14 insertions(+), 3 deletions(-)
10610 commit 571e0cb246baa4ef7db179b20da6b325f358fe5b
10611 Author: Simon Feltman <sfeltman@src.gnome.org>
10612 Date: Sun Jan 27 01:22:37 2013 -0800
10614 Prefix names of typeless enums and flags for GType registration
10616 Prefix names given to g_flags_register_static and
10617 g_enum_register_static
10618 with "Py". This avoids conflicts with GTypes of the same name being
10619 registered later by a library which does not provide a "get-type"
10622 https://bugzilla.gnome.org/show_bug.cgi?id=692515
10624 gi/gimodule.c | 10 ++++++++--
10625 tests/test_gi.py | 4 ++--
10626 2 files changed, 10 insertions(+), 4 deletions(-)
10628 commit 97f48f5dcabc8dad4480727a78416b1c2a220777
10629 Author: Simon Feltman <sfeltman@src.gnome.org>
10630 Date: Wed Jan 30 04:35:32 2013 -0800
10632 Add tests for vfunc object arguments and returns
10634 Add tests which use different combinations of floating, transfer full,
10635 transfer none, and held wrapper as in, out, or return arguments
10637 Most of these are marked as skip or expectedFailure due to various
10639 noted on the tests.
10641 https://bugzilla.gnome.org/show_bug.cgi?id=687522
10643 gi/overrides/GObject.py | 15 +-
10644 tests/test_object_marshaling.py | 540
10645 ++++++++++++++++++++++++++++++++++++++++
10646 2 files changed, 550 insertions(+), 5 deletions(-)
10648 commit 73a83186329ede7702501d5bc49df269482461e4
10649 Author: Paolo Borelli <pborelli@gnome.org>
10650 Date: Wed Jan 30 17:48:12 2013 +0100
10652 Cosmetic fix to last patch
10654 gi/pygi-argument.c | 7 +++++--
10655 1 file changed, 5 insertions(+), 2 deletions(-)
10657 commit 9e0c41509d62e8df7d0d82608a8be75f3defe05c
10658 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
10659 Date: Fri Jan 25 13:05:18 2013 +0800
10661 gi/pygi-info.c, gi/pygi-repository.c: Deal with C99isms
10663 Drop the array forward static declarations. They are not necessary
10667 Also move declarations of variables to the top of their respective
10670 https://bugzilla.gnome.org/show_bug.cgi?id=692856
10672 gi/pygi-info.c | 18 ++++++++++--------
10673 gi/pygi-repository.c | 2 --
10674 2 files changed, 10 insertions(+), 10 deletions(-)
10676 commit 2e7c458ef6377a872043634b47737ef12eed744a
10677 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
10678 Date: Fri Jan 25 13:00:48 2013 +0800
10680 Move variable declaration to top of blocks (C99ism)
10682 Move variable declarations to the top of their respective blocks,
10684 code will build under C89 compilers such as Visual C++.
10686 https://bugzilla.gnome.org/show_bug.cgi?id=692856
10688 gi/pygi-argument.c | 10 ++++++----
10689 gi/pygi-closure.c | 23 +++++++++++++++--------
10690 gi/pygi-invoke.c | 3 ++-
10691 gi/pygi-marshal-cleanup.c | 3 ++-
10692 gi/pygi-property.c | 3 ++-
10693 5 files changed, 27 insertions(+), 15 deletions(-)
10695 commit 20fc5aa7514215fc7807adceb603d17f7943304a
10696 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
10697 Date: Fri Jan 25 12:58:26 2013 +0800
10699 gi/pygobject-external.h: Remove GCCism
10701 We can use G_GNUC_UNUSED from GLib that does the same purpose of
10702 __attribute__ ( (unused)) when we are using a GCC that provides this.
10704 The GLib headers that defines that macro should have already been
10706 before this header is included (due to use of gboolean).
10708 https://bugzilla.gnome.org/show_bug.cgi?id=692856
10710 gi/pygobject-external.h | 2 +-
10711 1 file changed, 1 insertion(+), 1 deletion(-)
10713 commit 5d2f453f3fdb167a4b4a833011ae777bfd228eb9
10714 Author: Martin Pitt <martinpitt@gnome.org>
10715 Date: Wed Jan 30 14:59:11 2013 +0100
10717 tests: Update test_double() after e65c1248
10719 Commit e65c1248 introduced support for NaN and ±inf as valid
10721 rendering the "expect ValueError on 2*double" check broken. Just
10724 tests/test_everything.py | 1 -
10725 1 file changed, 1 deletion(-)
10727 commit b8bf4ec6c2478275dc9c813946a90b82ded6d9ce
10728 Author: Martin Pitt <martinpitt@gnome.org>
10729 Date: Wed Jan 23 07:14:16 2013 +0100
10731 Do not immediately initialize Gdk and Gtk on import
10733 Raising an exception if Gdk/Gtk cannot be imported makes it
10735 merely import a module for e. g. nosetests without actually running
10738 Programs who want to provide a proper error message should check
10739 Gtk.initialized explicitly after importing. Check initialized
10741 Window.__init__() instead to provide a reasonably early error message
10745 https://bugzilla.gnome.org/show_bug.cgi?id=692300
10747 gi/overrides/Gdk.py | 2 --
10748 gi/overrides/Gtk.py | 5 +++--
10749 2 files changed, 3 insertions(+), 4 deletions(-)
10751 commit 93d5cc2986cb3d3d979694b1beb1719d2d8fed53
10752 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
10753 Date: Fri Jan 25 12:49:18 2013 +0800
10755 gi/overrides/Glib.py: Fix running on Windows/non-Unix
10757 The definition of self._signal_source uses a Unix-specific GLib
10759 does not exist or have a direct equivilant on Windows.
10761 Only define and use that variable when we aren't on Windows.
10763 gi/overrides/GLib.py | 18 ++++++++++--------
10764 1 file changed, 10 insertions(+), 8 deletions(-)
10766 commit e65c124893ceaa9c97eb4c8c743fbeb756b9a6e6
10767 Author: Martin Pitt <martinpitt@gnome.org>
10768 Date: Wed Jan 23 14:56:02 2013 +0100
10770 Accept ±inf and NaN as float and double values
10772 Also fix the broken error message when a float value is out of range.
10773 PyErr_Format() does not support float macros.
10775 https://bugzilla.gnome.org/show_bug.cgi?id=692381
10777 gi/pygi-marshal-from-py.c | 37 +++++++++++++++++++------------------
10778 tests/test_gobject.py | 14 ++++++++++++++
10779 2 files changed, 33 insertions(+), 18 deletions(-)
10781 commit a52245381fab3c2aebd330cc9c5e717a93c9607d
10782 Author: Martin Pitt <martinpitt@gnome.org>
10783 Date: Wed Jan 23 14:28:42 2013 +0100
10785 Fix repr() of GLib.Variant
10787 When using a standard constructor like GLib.Variant.new_*(), the
10789 not have a format_string property, and previously repr() would
10791 to get_type_string() instead.
10793 Also drop the unintended type annotations in repr().
10795 gi/overrides/GLib.py | 6 +++++-
10796 tests/test_overrides_glib.py | 15 ++++++++++++++-
10797 2 files changed, 19 insertions(+), 2 deletions(-)
10799 commit 2270cf15012005362dc47456213c5d9e7f6ed28a
10800 Author: Martin Pitt <martinpitt@gnome.org>
10801 Date: Wed Jan 23 14:14:29 2013 +0100
10803 Fix gtk-demo for Python 3
10805 It was crashing with
10807 package = __import__(packagename, globals(), locals(),
10809 ValueError: level must be >= 0
10811 Using level zero works with both Python 2 and 3.
10813 demos/gtk-demo/gtk-demo.py | 2 +-
10814 1 file changed, 1 insertion(+), 1 deletion(-)
10816 commit b24d07577da1e17c8e27f758fc1a23d7f2d0f668
10817 Author: Colin Walters <walters@verbum.org>
10818 Date: Tue Jan 22 10:49:57 2013 -0500
10820 build: Add autogen.sh to EXTRA_DIST
10822 So downstreams that patch the autotools can use it.
10825 1 file changed, 1 insertion(+)
10827 commit ed7fb99efa81854d947ae548d41a03f5275c5884
10828 Author: Martin Pitt <martinpitt@gnome.org>
10829 Date: Thu Jan 17 08:23:02 2013 +0100
10831 Define GObject.TYPE_VALUE gtype constant
10833 gi/overrides/GObject.py | 4 +++-
10834 tests/test_gobject.py | 4 ++++
10835 2 files changed, 7 insertions(+), 1 deletion(-)
10837 commit fd32acdd97f49f086a8ad5cf2b65862c4e6ccc44
10838 Author: Olivier Crête <olivier.crete@collabora.com>
10839 Date: Mon Sep 17 15:37:04 2012 -0400
10841 gobject: Go through introspection on property setting
10843 Consider introspected properties in object.set_property().
10845 https://bugzilla.gnome.org/show_bug.cgi?id=684062
10847 gi/_gobject/pygobject.c | 18 +++++++++++++++++-
10848 tests/test_properties.py | 13 ++++++++++---
10849 2 files changed, 27 insertions(+), 4 deletions(-)
10851 commit 9a2060f26c2cc2f9ef79ab6fb9f512c317004856
10852 Author: Mike Gorse <mgorse@suse.com>
10853 Date: Tue Jan 15 20:04:46 2013 -0600
10855 Clean up caller-allocated GValues and their memory
10857 When space for a GValue is allocated by the caller (as in
10858 gtk_tree_model_get_value), we need to free the space allocated for the
10859 value along with its contents. The GValue is not needed after
10860 Pyg_value_as_pyobject is called, so call _cleanup_caller_allocates and
10861 have it unset the value and deallocate the memory.
10863 https://bugzilla.gnome.org/show_bug.cgi?id=691820
10865 gi/pygi-marshal-cleanup.c | 20 ++++++++++++++++++--
10866 1 file changed, 18 insertions(+), 2 deletions(-)
10868 commit 45b7975d0a3d78f01f1112ae7b3f4208f15694d8
10869 Author: Dmitry Shachnev <mitya57@ubuntu.com>
10870 Date: Wed Jan 16 13:44:42 2013 +0400
10872 tests: define correct unittest.skipIf for python 2.6
10874 tests/runtests.py | 2 +-
10875 1 file changed, 1 insertion(+), 1 deletion(-)
10877 commit 4706cd686ea1b25260c9ecc77abd324d6e4cf505
10878 Author: Martin Pitt <martinpitt@gnome.org>
10879 Date: Wed Jan 16 09:17:13 2013 +0100
10881 tests: More robust tree view realization
10883 With current GNOME git head, the Gtk.TreeViews were not realized
10885 more to receive property values. Put them into a Gtk.Dialog now and
10887 ensure that they are realized.
10889 tests/test_overrides_gtk.py | 16 ++++++++++------
10890 1 file changed, 10 insertions(+), 6 deletions(-)
10892 commit 90c6f596df2a96f9c8059ae9157bc467a80b7574
10893 Author: Martin Pitt <martinpitt@gnome.org>
10894 Date: Tue Jan 15 10:42:49 2013 +0100
10896 Drop deprecated g_thread_create()
10898 Replace with g_thread_new(). This is available with glib >= 2.32,
10900 already require >= 2.34.
10902 tests/test-thread.c | 3 +--
10903 1 file changed, 1 insertion(+), 2 deletions(-)
10905 commit 98504273dead9eade6e53c2297bcaec7bea6265a
10906 Author: Martin Pitt <martinpitt@gnome.org>
10907 Date: Tue Jan 15 10:37:52 2013 +0100
10909 Drop usage of deprecated GStaticPrivate
10911 Replace with GPrivate.
10913 gi/_gobject/gobjectmodule.c | 6 +++---
10914 1 file changed, 3 insertions(+), 3 deletions(-)
10916 commit 655e2eece14f5de3baf4505f524d17484b8b5a75
10917 Author: Martin Pitt <martinpitt@gnome.org>
10918 Date: Tue Jan 15 10:29:47 2013 +0100
10920 Don't call g_type_init() with glib >= 2.35.x
10922 This fixes a deprecation warning.
10924 gi/_gobject/gobjectmodule.c | 2 ++
10925 1 file changed, 2 insertions(+)
10927 commit 206e736380ba798c68de09f661d75c8e27451117
10928 Author: Martin Pitt <martinpitt@gnome.org>
10929 Date: Tue Jan 15 09:47:11 2013 +0100
10931 Use GNOME_COMPILE_WARNINGS from gnome-common
10933 As we are now using gnome-common anyway for the code coverage macro,
10935 GNOME_COMPILE_WARNINGS, and only manually specify the extra options
10939 This also enables -Wstrict-prototypes.
10941 configure.ac | 14 ++++----------
10942 1 file changed, 4 insertions(+), 10 deletions(-)
10944 commit 137679426ff39507e15f08e9e6428d851fee06b7
10945 Author: Martin Pitt <martinpitt@gnome.org>
10946 Date: Tue Jan 15 09:46:01 2013 +0100
10948 Fix function prototypes and static functions
10950 These cause errors/warnings with -Wstrict-prototypes.
10952 gi/_glib/pyglib-python-compat.h | 2 ++
10953 gi/pygi-foreign.c | 2 +-
10954 gi/pygi-marshal-from-py.c | 4 ++--
10955 gi/pygi-marshal-to-py.c | 4 ++--
10956 gi/pygi-source.c | 2 +-
10957 gi/pygi-source.h | 2 +-
10958 6 files changed, 9 insertions(+), 7 deletions(-)
10960 commit d47927f1701a11aec8566425f22688c5df73d7f2
10961 Author: Martin Pitt <martinpitt@gnome.org>
10962 Date: Mon Jan 14 17:38:23 2013 +0100
10964 configure.ac: post-release bump to 3.7.5
10966 configure.ac | 2 +-
10967 1 file changed, 1 insertion(+), 1 deletion(-)
10969 commit bd6da84a4aec74e47f5d70e8ed18695c37e746c6
10970 Author: Martin Pitt <martinpitt@gnome.org>
10971 Date: Mon Jan 14 17:30:48 2013 +0100
10975 NEWS | 38 ++++++++++++++++++++++++++++++++++++++
10976 1 file changed, 38 insertions(+)
10978 commit c90ef9dfac7dd51ec82c99c3605915996bea0f73
10979 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
10980 Date: Tue Dec 4 15:45:00 2012 +0200
10982 Allow setting values through GtkTreeModelFilter
10984 Previously, trying to set a value through filter throwed an exception
10986 model has no set_value() method. You had to first retrieve the
10988 model and set value to it.
10990 https://bugzilla.gnome.org/show_bug.cgi?id=689624
10992 gi/overrides/Gtk.py | 5 +++++
10993 tests/test_overrides_gtk.py | 11 +++++++++++
10994 2 files changed, 16 insertions(+)
10996 commit b092630efc691a6f7ae94ae896193254f5a961a6
10997 Author: Martin Pitt <martinpitt@gnome.org>
10998 Date: Mon Jan 14 12:37:18 2013 +0100
11000 tests: Add (failing) test case for GParamSpec arguments
11003 https://bugzilla.gnome.org/show_bug.cgi?id=682355
11005 tests/test_gi.py | 9 +++++++++
11006 1 file changed, 9 insertions(+)
11008 commit 52d84b5da7f9fd4f65faea4e6fe3d250f937a208
11009 Author: Martin Pitt <martinpitt@gnome.org>
11010 Date: Mon Jan 14 12:20:27 2013 +0100
11012 tests: Skip struct string member tests with g-i 1.34
11014 We still support building against gobject-introspection 1.34, so
11016 which do not work with that version yet.
11018 tests/test_gi.py | 8 ++++++++
11019 1 file changed, 8 insertions(+)
11021 commit f9429192cb1002725a11a75a7b8f9300375b9caf
11022 Author: Martin Pitt <martinpitt@gnome.org>
11023 Date: Mon Jan 14 12:15:27 2013 +0100
11025 Support GParamSpec signal arguments from Python
11027 In pyg_value_from_pyobject(), recognize both the real GI
11028 GObject.ParamSpec type
11029 as well as the statically wrapped _gobject.GParamSpec type.
11031 This fixes marshalling GObject.ParamSpec signal/vfunc arguments.
11033 https://bugzilla.gnome.org/show_bug.cgi?id=683099
11035 gi/_gobject/pygtype.c | 6 +++++-
11036 tests/test_signal.py | 12 ++++++++++++
11037 tests/testhelpermodule.c | 13 +++++++++++++
11038 3 files changed, 30 insertions(+), 1 deletion(-)
11040 commit 99f72925c7de76611f7592bce9d8217a9ff46809
11041 Author: Martin Pitt <martinpitt@gnome.org>
11042 Date: Mon Jan 14 11:48:11 2013 +0100
11044 pygobject_emit(): Fix cleanup on error
11046 Dot not try to unset GValues which have not been initialized yet,
11048 conversion fails for a parameter.
11050 gi/_gobject/pygobject.c | 8 ++++----
11051 1 file changed, 4 insertions(+), 4 deletions(-)
11053 commit acef1d3266d11b2465d61185a55526df879a5c62
11054 Author: Simon Feltman <sfeltman@src.gnome.org>
11055 Date: Mon Dec 31 19:01:57 2012 -0800
11057 Add signal emission methods to TreeModel which coerce the path
11060 Override TreeModel row_changed, row_inserted, row_has_child_toggled,
11061 row_deleted, and rows_reordered methods to accept python iterables as
11062 the path parameter. This is for compatibility with pygtk and
11064 with the rest of the TreeModel and TreePath overrides.
11066 https://bugzilla.gnome.org/show_bug.cgi?id=682933
11068 gi/overrides/Gtk.py | 31 ++++++++++++++++++++++++++++---
11069 tests/test_overrides_gtk.py | 27 +++++++++++++++++++++++++++
11070 2 files changed, 55 insertions(+), 3 deletions(-)
11072 commit 9cfba517e1a6dced5e66786b28ed5e101b7b4a29
11073 Author: Martin Pitt <martinpitt@gnome.org>
11074 Date: Mon Jan 14 10:36:36 2013 +0100
11076 Simplify overrides and tests using the new GObject.Value override
11078 The previous commit added support for constructing a GObject.Value
11080 GType and Python object conversion. Use this to simplify the Gtk
11082 the tests that construct GValues.
11084 See https://bugzilla.gnome.org/show_bug.cgi?id=677473
11086 gi/overrides/Gtk.py | 88
11087 +++------------------------------------------
11088 tests/test_gi.py | 26 +++++---------
11089 tests/test_overrides_gtk.py | 2 +-
11090 tests/test_signal.py | 12 ++-----
11091 4 files changed, 17 insertions(+), 111 deletions(-)
11093 commit f62b98398177991bfdbe0b6753342e79e6cf170a
11094 Author: Bastian Winkler <buz@netbuz.org>
11095 Date: Mon Jan 14 10:26:08 2013 +0100
11097 Add override for GValue
11099 Override GValue with a custom constructor and set_value()/get_value()
11100 methods. This allows you to call
11102 >>> GObject.Value(GObject.TYPE_FLOAT, 42.23)
11106 >>> value = GObject.Value()
11107 >>> value.init(GObject.TYPE_FLOAT)
11108 >>> value.set_float(42.23)
11110 This is especially useful for overrides that need to convert a Python
11111 value to a expected type like G_TYPE_FLOAT.
11113 https://bugzilla.gnome.org/show_bug.cgi?id=677473
11115 gi/overrides/GObject.py | 127
11116 +++++++++++++++++++++++++++++++++++++++++++++++-
11117 tests/test_gobject.py | 47 +++++++++++++++++-
11118 2 files changed, 172 insertions(+), 2 deletions(-)
11120 commit dc3d21173b75232f7ea0b9913f7309486456a69d
11121 Author: Mike Gorse <mgorse@suse.com>
11122 Date: Thu Jan 10 15:48:30 2013 -0600
11124 Mark caller-allocated boxed structures as having a slice allocated
11126 When a C function takes a pointer and fills it with a boxed structure
11128 gtk_tree_store_insert_with_values), pygi should deallocate the slice
11130 box is no longer being used.
11132 https://bugzilla.gnome.org/show_bug.cgi?id=699501
11134 gi/pygi-marshal-to-py.c | 4 +++-
11135 1 file changed, 3 insertions(+), 1 deletion(-)
11137 commit 0c496d230fee7fd3ada90ee9af10e0bc1e29ee12
11138 Author: Olivier Crête <olivier.crete@collabora.com>
11139 Date: Fri Sep 14 21:31:32 2012 -0400
11141 pygi-property: Support boxed GSList/GList types
11143 Note that this does not yet work for construct properties.
11145 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
11147 https://bugzilla.gnome.org/show_bug.cgi?id=684059
11149 gi/pygi-property.c | 10 ++++++++--
11150 tests/test_gi.py | 21 +++++++++++++++++++++
11151 2 files changed, 29 insertions(+), 2 deletions(-)
11153 commit 074f10d815453e58f4bee2f440c5db799add3876
11154 Author: Martin Pitt <martinpitt@gnome.org>
11155 Date: Mon Jan 14 07:48:31 2013 +0100
11157 test_gio: Fix for Python 2
11159 Python 2 does not yet take an "encoding" argument for str(), while
11161 requires it. Use a less fancy static test string instead.
11163 tests/test_gio.py | 2 +-
11164 1 file changed, 1 insertion(+), 1 deletion(-)
11166 commit 734979d0c8317201148a7e94a323225fba2d1635
11167 Author: Martin Pitt <martinpitt@gnome.org>
11168 Date: Mon Jan 14 07:40:10 2013 +0100
11170 tests: Add missing backwards compat methods for Python 2.6
11172 Define skipIf(), assertLess(), and assertLessEqual() for running
11176 https://bugzilla.gnome.org/show_bug.cgi?id=691646
11178 tests/runtests.py | 17 +++++++++++++++++
11179 1 file changed, 17 insertions(+)
11181 commit dc0dafd1f6ca3ebbf04210768a45587387e44551
11182 Author: Martin Pitt <martinpitt@gnome.org>
11183 Date: Mon Jan 14 07:34:46 2013 +0100
11185 tests: Stop using assertSequenceEqual()
11187 assertSequenceEqual() does not yet exist in Python 2.6, and is
11189 either as assertEqual() on sequences automatically does list
11192 Part of https://bugzilla.gnome.org/show_bug.cgi?id=691646
11194 tests/test_gtype.py | 6 ++----
11195 tests/test_signal.py | 6 ++----
11196 2 files changed, 4 insertions(+), 8 deletions(-)
11198 commit 0a5587b6a56d417a6703e342f153596f08cd5889
11199 Author: Simon Feltman <sfeltman@src.gnome.org>
11200 Date: Sun Jan 13 18:19:51 2013 -0800
11202 Allow setting TreeModel values to None
11204 Change TreeModel.set_value to use an empty but initialized GValue when
11205 None is used as the value argument. This allows clearing of cell data
11206 which was not accessible due to auto-coercion.
11208 https://bugzilla.gnome.org/show_bug.cgi?id=684094
11210 gi/overrides/Gtk.py | 11 ++++++++---
11211 tests/test_overrides_gtk.py | 8 ++++++++
11212 2 files changed, 16 insertions(+), 3 deletions(-)
11214 commit 5ae129da436793478750f0dc9427a174a980e10b
11215 Author: Mike Gorse <mgorse@suse.com>
11216 Date: Thu Jan 10 16:42:17 2013 -0600
11218 Set clean-up handler for marshalled arrays
11220 Arrays did not have a cleanup handler set in some cases, resulting
11223 https://bugzilla.gnome.org/show_bug.cgi?id=691509
11225 gi/pygi-cache.c | 1 +
11226 1 file changed, 1 insertion(+)
11228 commit 58bd307c57d542a8f69867dea2d0a0eb51230c7b
11229 Author: Vadim Rutkovsky <vrutkovs@redhat.com>
11230 Date: Fri Jan 11 15:41:27 2013 +0100
11232 Support setting string fields in structs
11234 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
11236 https://bugzilla.gnome.org/show_bug.cgi?id=678401
11238 gi/pygi-info.c | 3 ++-
11239 tests/test_gi.py | 16 ++++++++++++++++
11240 2 files changed, 18 insertions(+), 1 deletion(-)
11242 commit f2bcaa43c1158040a8c2cbc3a2ba5070d126a410
11243 Author: Martin Pitt <martinpitt@gnome.org>
11244 Date: Fri Jan 11 14:58:44 2013 +0100
11246 Re-enable test_gi.TestPropertiesObject.test_char test
11248 The gobject-introspection bug got fixed:
11249 https://bugzilla.gnome.org/show_bug.cgi?id=691524
11251 tests/test_gi.py | 14 +++-----------
11252 1 file changed, 3 insertions(+), 11 deletions(-)
11254 commit 9a8c49087cf400e01c1f78241fa4d74b4d15f54e
11255 Author: Martin Pitt <martinpitt@gnome.org>
11256 Date: Fri Jan 11 09:46:56 2013 +0100
11258 tests: Re-enable test_callback_scope_call_array() check
11260 Drop the expected failure from test_callback_scope_call_array()
11262 the explicit array length arguments. While it would look cleaner to
11264 them, it is probably not worth breaking the API for this.
11266 tests/test_everything.py | 9 +++------
11267 1 file changed, 3 insertions(+), 6 deletions(-)
11269 commit 609636424b5f9b659e99a4bb53a48c165187c430
11270 Author: Martin Pitt <martinpitt@gnome.org>
11271 Date: Fri Jan 11 09:13:36 2013 +0100
11273 Permit plain integers for "gchar" values
11275 Similar to guchar/guint8, allow plain integers (withing correct
11277 values for gchar/gint8 types.
11279 This is covered by the test_gi.TestPropertiesObject.test_char
11281 removing the "expected failure" flag.
11283 gi/_gobject/pygtype.c | 16 ++++++++++++----
11284 1 file changed, 12 insertions(+), 4 deletions(-)
11286 commit a558d3d3a9274aeccfc54705bf5effdf71dee06b
11287 Author: Martin Pitt <martinpitt@gnome.org>
11288 Date: Fri Jan 11 09:09:41 2013 +0100
11290 Allow single byte values for int8 types
11292 When fixing gobject-introspection to consider "gchar" as signed (see
11293 https://bugzilla.gnome.org/show_bug.cgi?id=691524), we must also
11295 single-element "bytes" array as a valid value for int8, not just
11298 This is caught by the test_overrides_gtk.TestTreeModel.test_tree_store
11301 gi/pygi-argument.c | 4 ++--
11302 gi/pygi-marshal-from-py.c | 34 +++++++++++++++++++++-------------
11303 2 files changed, 23 insertions(+), 15 deletions(-)
11305 commit aa7f6cd12fe403acb2cffc7890724af7abb9b990
11306 Author: Mike Gorse <mgorse@suse.com>
11307 Date: Thu Jan 10 14:11:56 2013 -0600
11309 Fix invalid memory access handling errors when registering an
11312 Don't free the name until we are done with it.
11314 gi/gimodule.c | 8 ++++----
11315 1 file changed, 4 insertions(+), 4 deletions(-)
11317 commit ecd235959317d39b6d598662c00829e0ec717b17
11318 Author: Martin Pitt <martinpitt@gnome.org>
11319 Date: Thu Jan 10 16:42:46 2013 +0100
11321 Fix (out) arguments in callbacks
11323 Do not ignore the first argument in _pygi_closure_set_out_arguments().
11324 Presumably that has been done to skip over "self", but callbacks
11326 required to have a self argument. As self is never (out), we can
11330 gi/pygi-closure.c | 2 +-
11331 tests/test_gi.py | 4 ----
11332 2 files changed, 1 insertion(+), 5 deletions(-)
11334 commit d8e241e24a816691acbd592775b73defd9aa4f44
11335 Author: Martin Pitt <martinpitt@gnome.org>
11336 Date: Thu Jan 10 15:14:05 2013 +0100
11338 Fix C to Python marshalling of struct pointer arrays
11340 Do not treat an array of pointers to values like an array of values on
11341 marshalling from C. This makes the test_array_boxed_struct_return()
11345 gi/pygi-marshal-to-py.c | 5 +++--
11346 tests/test_gi.py | 2 --
11347 2 files changed, 3 insertions(+), 4 deletions(-)
11349 commit 60544b02f6f98c0b212625ae83b94a4c6debddeb
11350 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
11351 Date: Tue Jan 8 23:22:54 2013 +0200
11353 Add tests for GFile
11355 Most notably this commit contains a test for
11356 Gio.File.replace_contents_async(),
11357 which currently fails. Disable the tests for now as it breaks the
11360 https://bugzilla.gnome.org/show_bug.cgi?id=690525
11362 tests/test_gio.py | 64
11363 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
11364 1 file changed, 64 insertions(+)
11366 commit 118c5eaad045580455515876ba73b9537a8468b4
11367 Author: Martin Pitt <martinpitt@gnome.org>
11368 Date: Thu Jan 10 13:56:11 2013 +0100
11370 Rename test_overrides_gio.py to test_gio.py
11372 As we want to add more tests for non-overridden API.
11374 tests/Makefile.am | 2 +-
11375 tests/{test_overrides_gio.py => test_gio.py} | 0
11376 2 files changed, 1 insertion(+), 1 deletion(-)
11378 commit 8117e6bce73581e89211371708ff7d5de7d870d4
11379 Author: Martin Pitt <martinpitt@gnome.org>
11380 Date: Thu Jan 10 12:13:16 2013 +0100
11382 Don't let Property.setter() method names define property names
11384 Defining property names in install_properties() is too late when using
11385 @propname.setter decorators; their method names don't define a
11387 nor are they even required to be a valid property identifier.
11389 So change the logic to already fix the property name when using
11391 decorator and use that instead of the member name in
11392 install_properties().
11394 https://bugzilla.gnome.org/show_bug.cgi?id=688971
11396 gi/_gobject/propertyhelper.py | 29 ++++++++++++++++++++++-------
11397 tests/test_properties.py | 18 ++++++++++++++++++
11398 2 files changed, 40 insertions(+), 7 deletions(-)
11400 commit c0bd060521cc1b481995648dbe286b7e2f9ecd80
11401 Author: Martin Pitt <martinpitt@gnome.org>
11402 Date: Wed Jan 9 10:39:36 2013 +0100
11404 tests: Force UTF-8 file name encoding
11406 The test_gi.TestFilename tests fail if the environment specifies
11408 file name encoding. Force it to "UTF-8" for the tests.
11410 https://bugzilla.gnome.org/show_bug.cgi?id=691355
11412 tests/runtests.py | 1 +
11413 1 file changed, 1 insertion(+)
11415 commit c02a00ae9599a661076630b21b7e24e78fb88c29
11416 Author: Martin Pitt <martinpitt@gnome.org>
11417 Date: Tue Jan 8 16:56:40 2013 +0100
11419 Use g-i stack allocation API
11421 Where possible, i. e. when not keeping references across functions,
11423 _load_() methods instead of the _get_() ones from
11424 gobject-introspection, which
11425 is faster and less prone to memory leaks:
11427 g_callable_info_get_arg () → g_callable_info_load_arg ()
11428 g_callable_info_get_return_type() →
11429 g_callable_info_load_return_type ()
11430 g_arg_info_get_type() → g_arg_info_load_type ()
11432 https://bugzilla.gnome.org/show_bug.cgi?id=615982
11434 gi/pygi-argument.c | 16 ++++------
11435 gi/pygi-closure.c | 88
11436 ++++++++++++++++++++++++------------------------------
11437 2 files changed, 45 insertions(+), 59 deletions(-)
11439 commit 23d1f14f553069740465c82eaa937b877c41e0cb
11440 Author: Ray Strode <rstrode@redhat.com>
11441 Date: Wed Dec 19 13:04:32 2012 -0500
11443 pyg_value_from_pyobject: support GArray
11445 This commit adds support for marshalling a python list (or other
11447 returned from signal handlers to GArray, if necessary.
11449 This parallels the implementation written to marshal to (the now
11453 This fixes a crash in rhythmbox as seen downstream here:
11454 https://bugzilla.redhat.com/show_bug.cgi?id=872851
11456 https://bugzilla.gnome.org/show_bug.cgi?id=690514
11458 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
11460 gi/_gobject/pygtype.c | 60
11461 ++++++++++++++++++++++++++++++++++++++++++++++++
11462 tests/test_everything.py | 22 ++++++++++++++++++
11463 2 files changed, 82 insertions(+)
11465 commit 2089dbb117bae769b0303411c2630b6f86dc7d2d
11466 Author: Marko Lindqvist <cazfi74@gmail.com>
11467 Date: Fri Jan 4 07:01:29 2013 +0100
11469 Fix obsolete automake macros
11471 https://bugzilla.gnome.org/show_bug.cgi?id=691101
11473 configure.ac | 3 +--
11474 1 file changed, 1 insertion(+), 2 deletions(-)
11476 commit 6c02ab0ad720780f176192fdc6372aaa178812fd
11477 Author: Simon Feltman <sfeltman@src.gnome.org>
11478 Date: Mon Dec 31 02:53:07 2012 -0800
11480 Change dynamic enum and flag gtype creation to use namespaced naming
11482 Use the combination of g_base_info_get_namespace and
11483 g_base_info_get_name
11484 as the name for registering enum and flag types with glib through
11485 g_enum_register_static and g_flags_register_static. This avoids
11487 with types like GLib.SeekType and Gst.SeekType. Add better exceptions
11488 and memory cleanup for invalid registration problems.
11490 https://bugzilla.gnome.org/show_bug.cgi?id=690455
11492 gi/_gobject/pygenum.c | 6 ++--
11494 ++++++++++++++++++++++++++++++++++++++++++++-------
11495 tests/test_gi.py | 35 +++++++++++++++++++++++
11496 3 files changed, 106 insertions(+), 13 deletions(-)
11498 commit 692c80e11a05e2fb0515580acb22fd6fe65cede1
11499 Author: Dan Horák <dan@danny.cz>
11500 Date: Fri Dec 28 22:12:32 2012 +0100
11502 Fix test for GBytes.compare()
11504 The result of the compare method is defined as equal, less than or
11506 and the test must match to that. The underlaying memcmp() function
11508 values than -1, 0 and 1. For example on architectures where it is
11509 implemented directly
11510 via a CPU instruction like on s390(x) where I can see -2 as a result
11514 https://bugzilla.gnome.org/show_bug.cgi?id=690837
11516 tests/test_gi.py | 4 ++--
11517 1 file changed, 2 insertions(+), 2 deletions(-)
11519 commit 948dbcb223249a08f4398d4ad8861e92e3de0dfa
11520 Author: Jonathan Ballet <jon@multani.info>
11521 Date: Thu Dec 27 16:04:51 2012 +0100
11523 Fix Gtk.UIManager.add_ui_from_string() override for non-ASCII chars
11525 The length argument is the size of the buffer in bytes, not in
11528 https://bugzilla.gnome.org/show_bug.cgi?id=690329
11530 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
11532 gi/overrides/Gtk.py | 2 +-
11533 tests/test_overrides_gtk.py | 7 +++++++
11534 2 files changed, 8 insertions(+), 1 deletion(-)
11536 commit 53bc12a87da824cbfb006a4fd65731edec12ecc7
11537 Author: Mike Gorse <mgorse@suse.com>
11538 Date: Wed Dec 19 20:51:03 2012 -0500
11540 Don't dup strings before passing them to type registration functions
11542 Strings passed to g_enum_register_static and g_flags_register_static
11544 eventually passed to g_quark_from_string, which dups the string
11546 needed and does not take ownership of it, so passing in a
11547 dynamically-allocated
11548 string without freeing it results in a small leak.
11550 https://bugzilla.gnome.org/show_bug.cgi?id=690532
11552 gi/gimodule.c | 2 --
11553 1 file changed, 2 deletions(-)
11555 commit 9454c01f2b1b82d43eea0f72fe9a28ef50065fc9
11556 Author: Carlos Garnacho <carlos@lanedo.com>
11557 Date: Tue Dec 18 22:47:09 2012 +0100
11559 Fix marshalling of arrays of boxed struct values
11561 This fixes methods like gtk_selection_set_with_data(). In such cases
11562 data is passed as an array of struct pointers, so it must be converted
11563 to an array of structs.
11565 https://bugzilla.gnome.org/show_bug.cgi?id=656312
11567 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
11569 gi/pygi-marshal-from-py.c | 6 ++++++
11570 tests/test_gi.py | 12 ++++++++++++
11571 2 files changed, 18 insertions(+)
11573 commit 231d5a7cfc73518b4e2b0c926d4c1ce9a804797e
11574 Author: Simon Feltman <sfeltman@src.gnome.org>
11575 Date: Tue Dec 18 02:03:41 2012 -0800
11577 Add reference counting tests for Object.bind_property
11579 Add tests which ensure transform callbacks and user_data
11580 are propertly ref-counted.
11582 https://bugzilla.gnome.org/show_bug.cgi?id=690397
11584 tests/test_gobject.py | 40 ++++++++++++++++++++++++++++++++++++----
11585 1 file changed, 36 insertions(+), 4 deletions(-)
11587 commit c29e11812d176b1f057074c9bab22c9614ae4f8c
11588 Author: Martin Pitt <martinpitt@gnome.org>
11589 Date: Tue Dec 18 11:43:04 2012 +0100
11591 testhelpermodule.c: Do not unref called method
11593 In _wrap_test_gerror_exception(), do not unref the method
11595 causes a crash when being run with the stricter refcounting/memory
11597 debug-enabled Python builds.
11599 tests/testhelpermodule.c | 1 -
11600 1 file changed, 1 deletion(-)
11602 commit ff0d9106bcd02a6b2c67cc3722481218c599a9f4
11603 Author: Martin Pitt <martinpitt@gnome.org>
11604 Date: Mon Dec 17 23:20:50 2012 +0100
11606 configure.ac: post-release bump to 3.7.4
11608 configure.ac | 2 +-
11609 1 file changed, 1 insertion(+), 1 deletion(-)
11611 commit 061b23d14386c0e54d2c3af113554231bbe85f16
11612 Author: Martin Pitt <martinpitt@gnome.org>
11613 Date: Mon Dec 17 23:18:31 2012 +0100
11617 NEWS | 19 +++++++++++++++++++
11618 1 file changed, 19 insertions(+)
11620 commit a242f02823a63c9dca5d0b1ce84b031221053690
11621 Author: Martin Pitt <martinpitt@gnome.org>
11622 Date: Mon Dec 17 23:11:29 2012 +0100
11624 Add (failing) tests for callbacks with out arguments
11626 Most of these fail and need marshalling fixes.
11628 tests/test_gi.py | 36 ++++++++++++++++++++++++++++++++++++
11629 1 file changed, 36 insertions(+)
11631 commit 449b1ef0d94450c1e457770a093abd6d6c9e6291
11632 Author: Martin Pitt <martinpitt@gnome.org>
11633 Date: Mon Dec 17 22:50:59 2012 +0100
11635 Add tests for internal API
11637 These cover functions like pygobject_new(), pyg_value_from_pyobject()
11639 pyg_value_as_pyobject() that are wrapped by testhelpermodule.c. With
11641 functions can be tested in isolation without the whole GI stack
11644 tests/Makefile.am | 1 +
11645 tests/test_internal_api.py | 73
11646 ++++++++++++++++++++++++++++++++++++++++++++++
11647 2 files changed, 74 insertions(+)
11649 commit e44312139426f51e576ef9e880819542cc224383
11650 Author: Martin Pitt <martinpitt@gnome.org>
11651 Date: Mon Dec 17 18:02:15 2012 +0100
11653 Add support for caller-allocated GArray out arguments
11655 https://bugzilla.gnome.org/show_bug.cgi?id=690041
11657 gi/pygi-cache.c | 2 +-
11658 gi/pygi-invoke.c | 57
11659 ++++++++++++++++++++++++++++++--------------------------
11660 tests/test_gi.py | 5 +++--
11661 3 files changed, 35 insertions(+), 29 deletions(-)
11663 commit f262320ac22b48a9d007c425633f3ca426b7fb4a
11664 Author: Martin Pitt <martinpitt@gnome.org>
11665 Date: Mon Dec 17 16:18:24 2012 +0100
11667 Add (failing) test for caller-allocated GArray return value
11669 Call new GIMarshallingTests.garray_utf8_full_out_caller_allocated()
11671 which reproduces https://bugzilla.gnome.org/show_bug.cgi?id=690041.
11673 The test is failing and causing a segfault right now, so disable it
11677 tests/test_gi.py | 4 ++++
11678 1 file changed, 4 insertions(+)
11680 commit 1cb4c30c3cf19690210010d39b6272965f489c58
11681 Author: Martin Pitt <martinpitt@gnome.org>
11682 Date: Mon Dec 17 15:56:44 2012 +0100
11684 GLib overrides: Avoid calling deprecated GLib.unix_signal_add_full()
11686 glib 2.35.x fixed the API to be GLib.unix_signal_add(). Call the
11688 available, but fall back to GLib.unix_signal_add_full() until we
11692 gi/overrides/GLib.py | 8 ++++++--
11693 1 file changed, 6 insertions(+), 2 deletions(-)
11695 commit 945263a89c3adee61f95d4211cf13b254ad6d51f
11696 Author: Martin Pitt <martinpitt@gnome.org>
11697 Date: Fri Nov 30 14:17:18 2012 +0100
11699 Re-support calling GLib.io_add_watch with an fd or Python file
11701 This does not strictly adhere to the GLib API, but it's very
11703 unlike the other modes, does not change the number or order of
11705 let's keep support for this and drop the deprecation warning.
11707 gi/overrides/GLib.py | 9 +++------
11708 1 file changed, 3 insertions(+), 6 deletions(-)
11710 commit 263b9f97e748746e1d26847a82a4d6e53a42798a
11711 Author: Martin Pitt <martinpitt@gnome.org>
11712 Date: Fri Nov 30 09:04:20 2012 +0100
11714 Robustify test_glib.TestGLib.test_io_add_watch_pyfile
11716 Use a longer timeout to avoid races on slow architectures, and cut
11718 loop as soon as we received all expected events.
11720 tests/test_glib.py | 5 ++++-
11721 1 file changed, 4 insertions(+), 1 deletion(-)
11723 commit 8e4e822cb273db4eb7e6e40f4739eeebee00798a
11724 Author: Martin Pitt <martinpitt@gnome.org>
11725 Date: Fri Nov 30 08:44:56 2012 +0100
11727 test_overrides_gtk: Ignore GVFS warnings from FileChooserDialog
11729 Do not cause GVFS warnings from Gtk.FileChooserDialog (which may
11731 unavailable monitor backends in the test environment) to fail
11734 tests/test_overrides_gtk.py | 12 +++++++++---
11735 1 file changed, 9 insertions(+), 3 deletions(-)
11737 commit d47283936b4c0b5e8b6ede8886c4badbf6d6e694
11738 Author: Martin Pitt <martinpitt@gnome.org>
11739 Date: Thu Nov 29 16:45:49 2012 +0100
11741 pygtkcompat: Work around IndexError on large flags
11743 On 32 bit systems pygtkcompat currently fails with
11745 File "pygtkcompat/pygtkcompat.py", line 74, in _install_enums
11746 name = flag.value_names[-1].replace(modname + '_', '')
11747 IndexError: cannot fit 'int' into an index-sized integer
11749 on 32 bit systems as some flags in Gdk are too large to fit into a
11751 "long". Work around this crash until this gets fixed properly
11755 pygtkcompat/pygtkcompat.py | 7 ++++++-
11756 1 file changed, 6 insertions(+), 1 deletion(-)
11758 commit 3fa31b1a7936c556e76bd8a42030567c6a867e0d
11759 Author: Martin Pitt <martinpitt@gnome.org>
11760 Date: Thu Nov 29 14:11:29 2012 +0100
11762 Fix pyg_value_from_pyobject() range check for uint
11764 We cannot use PYGLIB_PyLong_AsLong() for the range check, as on 32
11766 this overflows large uints. Use PyLong_AsLongLong() separately to
11768 negative values, and PyLong_AsUnsignedLong() for the actual
11771 gi/_gobject/pygtype.c | 12 ++++++++----
11772 1 file changed, 8 insertions(+), 4 deletions(-)
11774 commit 05d767a602571805e80099f1db47ad4164575c53
11775 Author: Martin Pitt <martinpitt@gnome.org>
11776 Date: Thu Nov 29 13:30:56 2012 +0100
11778 Fix tests to work with g-i 1.34.2
11780 Do not try to call GIMarshallingTests API which isn't present
11782 against g-i 1.34.2. This can be dropped when the g-i dependency gets
11786 tests/test_gi.py | 8 +++++---
11787 1 file changed, 5 insertions(+), 3 deletions(-)
11789 commit a107c928ef85b4e3b9075a408774b74879586029
11790 Author: Martin Pitt <martinpitt@gnome.org>
11791 Date: Thu Nov 29 13:13:14 2012 +0100
11793 Fix wrong refcount for GVariant property defaults
11795 Drop the bogus DECREF for the GVariant default argument, as we need
11797 around in the class. Otherwise the refcount drops to zero, and
11799 garbage collection run causes segfaults.
11801 https://bugzilla.gnome.org/show_bug.cgi?id=689267
11803 gi/_gobject/gobjectmodule.c | 1 -
11804 1 file changed, 1 deletion(-)
11806 commit 9b7dd1318cf540d5f8d03655da03534ed72707ec
11807 Author: Martin Pitt <martinpitt@gnome.org>
11808 Date: Thu Nov 29 11:44:22 2012 +0100
11810 test_gi: Fix TestFilename failure under C locale
11812 tests/test_gi.py | 1 +
11813 1 file changed, 1 insertion(+)
11815 commit 37ab227555ba8628b4fa99aa286bd046208745ed
11816 Author: Martin Pitt <martinpitt@gnome.org>
11817 Date: Thu Nov 29 11:16:26 2012 +0100
11819 Fix array arguments on 32 bit
11821 In _pygi_argument_from_object() we never put the actual element
11823 constructed array. The array contains GIArguments, or bytes in the
11825 passing a string as an array.
11827 This happened to work on 64 bit machines where GIArgument and char*
11829 same size, but not on 32 bit machines
11830 (test_gi.TestPropertiesObject.test_strv
11833 gi/pygi-argument.c | 6 +++++-
11834 1 file changed, 5 insertions(+), 1 deletion(-)
11836 commit 7bd852fc82f92dac8723e18b61a56ed1b1a1b81c
11837 Author: Martin Pitt <martinpitt@gnome.org>
11838 Date: Thu Nov 29 10:20:27 2012 +0100
11840 test_gi: Disable failing check in test_module_name()
11842 When calling this under some conditions, such as
11844 TEST_NAMES='test_thread test_gi.TestOverrides'
11846 then the module name of GObject.InitiallyUnowned comes out as
11847 "importlib._bootstrap" instead of "gi.repository.GObject". To be
11849 Add a couple of other tests to ensure that it is not broken in
11852 tests/test_gi.py | 10 +++++++++-
11853 1 file changed, 9 insertions(+), 1 deletion(-)
11855 commit 94a6cc93a104b22dcee2ac73cae36b83a4b5d9c1
11856 Author: Martin Pitt <martinpitt@gnome.org>
11857 Date: Thu Nov 29 09:40:32 2012 +0100
11859 test_gdbus: Drop failure if timeout=0 works differently
11861 In some test environments we do not actually get a timeout exceptions
11863 timeout=0, but a different error message. So only ensure that we
11867 tests/test_gdbus.py | 4 +++-
11868 1 file changed, 3 insertions(+), 1 deletion(-)
11870 commit c3b2f5fee573aa03a8a9563efbbbc1bc4fa25da7
11871 Author: Martin Pitt <martinpitt@gnome.org>
11872 Date: Thu Nov 29 09:29:05 2012 +0100
11874 test_glib: Drop some assumptions about XDG dirs
11876 Some directories do not exist in minimal test environments, and this
11878 important for testing that calling these GLib functions works.
11880 tests/test_glib.py | 8 +++++---
11881 1 file changed, 5 insertions(+), 3 deletions(-)
11883 commit e45c690bc83b6d513887649de88965a9752e316d
11884 Author: Martin Pitt <martinpitt@gnome.org>
11885 Date: Wed Nov 28 12:20:31 2012 +0100
11887 Add backwards compatible API for GLib.unix_signal_add_full()
11889 This was renamed to GLib.unix_signal_add() in
11890 http://git.gnome.org/browse/glib/commit/?id=fca30c3e165
11892 Provide a backwards compatible shim with a deprecation message.
11894 gi/overrides/GLib.py | 10 ++++++++++
11895 1 file changed, 10 insertions(+)
11897 commit 00b9ea32d766ae486249f402d9dee511fd9f53a9
11898 Author: Martin Pitt <martinpitt@gnome.org>
11899 Date: Mon Nov 26 08:11:36 2012 +0100
11901 Drop MININT64/MAXUINT64 workaround
11903 g-i 1.34.2 properly handles 64 bit constants now, so bug 685022 has
11905 properly now. Drop the workaround in the overrides to manually
11909 gi/overrides/GLib.py | 7 -------
11910 1 file changed, 7 deletions(-)
11912 commit d16604f64d25d18409270d7537fc993113b65c19
11913 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
11914 Date: Fri Nov 23 19:57:56 2012 +0200
11916 Fix maximum and minimum ranges of TYPE_(U)INT64 properties
11918 In corner case where properties use values 2 ** 62 < ±x < 2 ** 63 for
11919 TYPE_INT64 and 2 ** 63 < x < 2 ** 64 for TYPE_UINT64 they will raise
11920 warnings even tough values are valid.
11922 https://bugzilla.gnome.org/show_bug.cgi?id=688949
11924 gi/_gobject/propertyhelper.py | 6 +++---
11925 tests/test_properties.py | 11 ++++-------
11926 2 files changed, 7 insertions(+), 10 deletions(-)
11928 commit 93e9e309d8ba54884881cfca203e8bc355c2727e
11929 Author: Martin Pitt <martinpitt@gnome.org>
11930 Date: Wed Nov 21 12:58:07 2012 +0100
11932 Test virtual methods with in and out arguments
11934 ... and both caller and callee out argument allocation.
11936 This came up in https://bugzilla.gnome.org/show_bug.cgi?id=688783
11938 tests/test_gi.py | 13 +++++++++++++
11939 1 file changed, 13 insertions(+)
11941 commit 25a9cfb043448efbab9168ef66f852cc34b9909b
11942 Author: Martin Pitt <martinpitt@gnome.org>
11943 Date: Tue Nov 20 07:00:44 2012 +0100
11945 Ship pygi-convert.sh in tarballs
11947 https://bugzilla.gnome.org/show_bug.cgi?id=688697
11950 1 file changed, 1 insertion(+)
11952 commit 4a8d31e6f56a3f1360bdb880ffd9a6eb139c02d8
11953 Author: Martin Pitt <martinpitt@gnome.org>
11954 Date: Mon Nov 19 15:25:38 2012 +0100
11956 Post-release version bump to 3.7.3
11958 configure.ac | 2 +-
11959 1 file changed, 1 insertion(+), 1 deletion(-)
11961 commit d0ed62afbc4cada0bf6abc4f8754e5a8d73036e4
11962 Author: Martin Pitt <martinpitt@gnome.org>
11963 Date: Mon Nov 19 15:13:28 2012 +0100
11967 NEWS | 47 +++++++++++++++++++++++++++++++++++++++++++++++
11968 1 file changed, 47 insertions(+)
11970 commit 29dc7425dd7584411b52ef07b50f929ed119a000
11971 Author: Martin Pitt <martinpitt@gnome.org>
11972 Date: Mon Nov 19 14:37:02 2012 +0100
11976 Commit e617f76e forgot to rename the file in EXTRA_DIST
11978 tests/Makefile.am | 2 +-
11979 1 file changed, 1 insertion(+), 1 deletion(-)
11981 commit 567aae6e7c56bb89f53fcfccb1b0bc732f85b847
11982 Author: Martin Pitt <martinpitt@gnome.org>
11983 Date: Mon Nov 19 14:34:13 2012 +0100
11985 tests: Fix unicode vs. str issues in Python 2
11987 Some of the tests assumed a system default encoding of UTF-8, which
11989 in Python 2 unless pygtkcompat is imported. Commit e617f76 uncovered
11992 tests/test_gi.py | 8 ++++----
11993 tests/test_iochannel.py | 16 +++++++++-------
11994 2 files changed, 13 insertions(+), 11 deletions(-)
11996 commit 509e5ac1a6dd8504e89c33c559fe4f72156a1ddf
11997 Author: Martin Pitt <martinpitt@gnome.org>
11998 Date: Mon Nov 19 14:20:56 2012 +0100
12000 tests: Fix previous commit to fail properly on test failures
12002 tests/Makefile.am | 2 +-
12003 1 file changed, 1 insertion(+), 1 deletion(-)
12005 commit e617f76e5b0c301c3ae92e1091aa86792de4d8e8
12006 Author: Martin Pitt <martinpitt@gnome.org>
12007 Date: Mon Nov 19 14:09:14 2012 +0100
12009 tests: Run pygtkcompat tests separately
12011 pygtkcompat changes the global namespace, in particular patching
12013 overrides. Run the tests in a separate process so that the main
12015 potentially affected by the pygtkcompat test.
12017 runtests.py runs all tests/test_*.py by default, so rename to
12018 compat_test_pygtk.py and run that explicitly after successfully
12022 See https://bugzilla.gnome.org/show_bug.cgi?id=688219
12024 tests/Makefile.am | 3 +++
12025 tests/{test_pygtkcompat.py => compat_test_pygtk.py} | 0
12026 2 files changed, 3 insertions(+)
12028 commit 8180b8092f99b7c9f0dee1742418efdbd23ab330
12029 Author: Simon Feltman <sfeltman@src.gnome.org>
12030 Date: Thu Nov 15 02:51:52 2012 -0800
12032 Move pygtkcompat into sibling package of gi
12034 Move the pygtkcompat module out of the gi package and into
12035 a sibling package as follows:
12041 This allows for pygtkcompat to grow without affecting the gi package.
12042 Add deprecation message to gi/pygtkcompat.py
12044 https://bugzilla.gnome.org/show_bug.cgi?id=688219
12048 gi/pygtkcompat.py | 524
12049 +++------------------------------------------
12050 pygtkcompat/Makefile.am | 15 ++
12051 pygtkcompat/__init__.py | 20 ++
12052 pygtkcompat/pygtkcompat.py | 501
12053 +++++++++++++++++++++++++++++++++++++++++++
12054 tests/test_pygtkcompat.py | 6 +-
12055 7 files changed, 565 insertions(+), 504 deletions(-)
12057 commit f736694d09e9d0fca4769d9f1f34ec34e6354d87
12058 Author: Martin Pitt <martinpitt@gnome.org>
12059 Date: Mon Nov 19 13:59:20 2012 +0100
12061 Bump g-i dependency to >= 1.34.2
12063 We need this for updated GLib annotations and new test API.
12065 configure.ac | 2 +-
12066 1 file changed, 1 insertion(+), 1 deletion(-)
12068 commit f6c994c76cd8010460b76bf455e1a341348d735b
12069 Author: Martin Pitt <martinpitt@gnome.org>
12070 Date: Mon Nov 19 10:39:26 2012 +0100
12072 test_gi: Fix failing tests with g-i 1.34.x
12074 Skip tests which require g-i test API from 1.35.x when building
12078 tests/test_gi.py | 6 ++++++
12079 1 file changed, 6 insertions(+)
12081 commit 8ce0d028fe79e2ce52cfecbb682afba6651a7a70
12082 Author: Martin Pitt <martinpitt@gnome.org>
12083 Date: Wed Nov 14 11:57:21 2012 +0100
12085 test_gi: Add tests for type "filename"
12087 tests/test_gi.py | 30 ++++++++++++++++++++++++++++++
12088 1 file changed, 30 insertions(+)
12090 commit 3408a151e49d9520f54ad9bc04f620c7777125ec
12091 Author: Martin Pitt <martinpitt@gnome.org>
12092 Date: Wed Nov 14 11:09:33 2012 +0100
12094 Drop foreign GVariant registration/support
12096 This is dead code. We have tests for GVariant in and out method
12098 callback arguments and return values, properties, etc to ensure that
12102 gi/Makefile.am | 2 --
12103 gi/pygi-foreign-gvariant.c | 63
12104 ----------------------------------------------
12105 gi/pygi-foreign-gvariant.h | 41 ------------------------------
12106 gi/pygi-foreign.c | 8 +-----
12107 4 files changed, 1 insertion(+), 113 deletions(-)
12109 commit 47c46d847bb69ebc139d5e0b6c609da6f27201f2
12110 Author: Martin Pitt <martinpitt@gnome.org>
12111 Date: Wed Nov 14 10:33:24 2012 +0100
12113 test_properties.py: Fix PEP-8 errors
12115 tests/test_properties.py | 3 +--
12116 1 file changed, 1 insertion(+), 2 deletions(-)
12118 commit 78f49e6253500bfa382ce6c07412613d8f7f9d7f
12119 Author: Martin Pitt <martinpitt@gnome.org>
12120 Date: Wed Nov 14 10:14:36 2012 +0100
12122 Add support for GVariant properties defined in Python
12124 gi/_gobject/gobjectmodule.c | 13 +++++++
12125 gi/_gobject/propertyhelper.py | 11 ++++--
12126 tests/test_properties.py | 81
12127 +++++++++++++++++++++++++++++++++++++------
12128 3 files changed, 91 insertions(+), 14 deletions(-)
12130 commit f3b77f4304be20b7422c262b973f3eeb540c4bf6
12131 Author: Martin Pitt <martinpitt@gnome.org>
12132 Date: Wed Nov 14 09:33:43 2012 +0100
12134 pyg_value_from_pyobject(): Simplify GVariant type check
12136 Use pyg_type_from_object_strict() instead of the much more expensive
12138 pyg_get_gvariant_type().
12140 gi/_gobject/pygtype.c | 23 +----------------------
12141 1 file changed, 1 insertion(+), 22 deletions(-)
12143 commit 0c0fb8ef88a2c61cf95cd1cb96f6d5f296cad5fc
12144 Author: Martin Pitt <martinpitt@gnome.org>
12145 Date: Wed Nov 14 09:27:42 2012 +0100
12147 test_everything: Add test for callback returning wrong type
12149 This covers the "expected a GVariant, got something else" check in
12150 pyg_value_from_pyobject().
12152 tests/test_everything.py | 16 ++++++++++++++++
12153 1 file changed, 16 insertions(+)
12155 commit 84db7109dfbaf443758a5a4871ee385686d2703d
12156 Author: Martin Pitt <martinpitt@gnome.org>
12157 Date: Wed Nov 14 08:42:53 2012 +0100
12159 Add type checking to GVariant argument assignment
12161 gi/pygi-argument.c | 7 ++++++-
12162 tests/test_gi.py | 5 ++---
12163 2 files changed, 8 insertions(+), 4 deletions(-)
12165 commit e944caf5ff53143a98dd4a5578530996358013ec
12166 Author: Martin Pitt <martinpitt@gnome.org>
12167 Date: Wed Nov 14 08:22:35 2012 +0100
12169 Add support for GVariant properties defined in C
12171 Note that trying to assign a non-GVariant value to a GVariant property
12174 gi/pygi-property.c | 6 +++++-
12175 tests/test_gi.py | 21 +++++++++++++++++++++
12176 2 files changed, 26 insertions(+), 1 deletion(-)
12178 commit 614cc9594cb34d92a6d4b00773427d4fb023c65e
12179 Author: Martin Pitt <martinpitt@gnome.org>
12180 Date: Wed Nov 14 07:09:58 2012 +0100
12182 test_unknown.py: Check property interface
12184 NB that the property implementation in test-unknown.c does not
12186 anything, we just want to assert that the properties are properly
12189 tests/test_unknown.py | 10 ++++++++++
12190 1 file changed, 10 insertions(+)
12192 commit 9d7771affcf788d251cced65da56fc2773a278b3
12193 Author: Martin Pitt <martinpitt@gnome.org>
12194 Date: Wed Nov 14 07:01:24 2012 +0100
12196 Fix previous commit for Python 2
12198 gi/pygi-foreign-cairo.c | 2 +-
12199 1 file changed, 1 insertion(+), 1 deletion(-)
12201 commit 997d4e70b2793039d916acf8921087576622152e
12202 Author: Martin Pitt <martinpitt@gnome.org>
12203 Date: Wed Nov 14 06:57:04 2012 +0100
12205 pygi-foreign-cairo.c: Use official py3cairo API
12207 Do not clobber py3cairo's Pycairo_CAPI global variable, and use
12209 instead of our own code.
12211 gi/pygi-foreign-cairo.c | 4 ++--
12212 1 file changed, 2 insertions(+), 2 deletions(-)
12214 commit cec5d1a55347b81c1ae4ddc47ea2b4fbf964d239
12215 Author: Martin Pitt <martinpitt@gnome.org>
12216 Date: Wed Nov 14 06:47:23 2012 +0100
12218 Drop dead code from pygi-callbacks.[hc]
12220 _pygi_create_callback() and _pygi_scan_for_callbacks() are not
12222 _pygi_destroy_notify_create() fits better in pygi-marshal-from-py.c,
12224 there, and drop pygi-callbacks.[hc] completely.
12226 gi/Makefile.am | 2 -
12227 gi/pygi-callbacks.c | 217
12228 ----------------------------------------------
12229 gi/pygi-callbacks.h | 48 ----------
12230 gi/pygi-marshal-from-py.c | 44 ++++++++++
12231 gi/pygi-private.h | 1 -
12232 5 files changed, 44 insertions(+), 268 deletions(-)
12234 commit 55070cc9c98993ccda7ebcb05783fad182b2eb11
12235 Author: Carlos Garnacho <carlos@lanedo.com>
12236 Date: Tue Nov 13 18:24:28 2012 +0100
12238 Fix marshalling of arrays of struct pointers to Python
12240 Fill in the pointer to the struct, not the pointer to the
12241 array position. This makes the GdkAtom** argument in
12242 gtk_clipboard_wait_for_targets() work.
12244 https://bugzilla.gnome.org/show_bug.cgi?id=678620
12246 gi/pygi-marshal-to-py.c | 5 ++++-
12247 1 file changed, 4 insertions(+), 1 deletion(-)
12249 commit fc021516552b1720bacc4afe6b7a610c413194c4
12250 Author: Martin Pitt <martinpitt@gnome.org>
12251 Date: Wed Nov 14 06:27:17 2012 +0100
12253 test_atoms.py: Add test for out array
12255 This reproduces https://bugzilla.gnome.org/show_bug.cgi?id=678620
12257 tests/test_atoms.py | 19 +++++++++++++++++++
12258 1 file changed, 19 insertions(+)
12260 commit e2790d22610aae773635d4caef2458082a307283
12261 Author: Martin Pitt <martinpitt@gnome.org>
12262 Date: Tue Nov 13 16:38:36 2012 +0100
12264 Fix Gdk.Atom str()/repr() fallback
12266 Fix regression in commit 6713618: If an atom does not have a name,
12268 recursively call our own str()/repr() methods, but just print
12269 "Gdk.Atom<atom_id>".
12271 gi/overrides/Gdk.py | 6 ++++--
12272 1 file changed, 4 insertions(+), 2 deletions(-)
12274 commit 9879fd41a7d8d72f8db9cadf5b1ee29fc4d5d6bf
12275 Author: Martin Pitt <martinpitt@gnome.org>
12276 Date: Tue Nov 13 13:16:14 2012 +0100
12278 test_gi: Stop using GLib.bytes.unref_to_array()
12280 This method isn't safe for GI, and should be (skip)ed. Use get_data()
12282 which is safe and works fine.
12284 See https://bugzilla.gnome.org/show_bug.cgi?id=688242
12286 tests/test_gi.py | 6 ------
12287 1 file changed, 6 deletions(-)
12289 commit 671361841de797ef62b59d1d7568fc3d431898c7
12290 Author: Martin Pitt <martinpitt@gnome.org>
12291 Date: Tue Nov 13 12:56:11 2012 +0100
12293 Fix Gdk.Atom to have a proper str() and repr()
12295 Gdk.Atom is not proper GType'd class, so we cannot override the
12297 Just override its __str__() and __repr__() methods so that printing
12299 something sensible. For nameless/invalid atoms, fall back to the old
12300 <void at 0xdeadbeef> output to help with debugging.
12302 https://bugzilla.gnome.org/show_bug.cgi?id=678620
12304 gi/overrides/Gdk.py | 21 +++++++++++++++++++++
12305 tests/test_atoms.py | 12 ++++++++++++
12306 2 files changed, 33 insertions(+)
12308 commit 56e62858e9c2bdde3186f5cf4e83be94fb4e5306
12309 Author: Simon Feltman <sfeltman@src.gnome.org>
12310 Date: Tue Nov 13 02:53:34 2012 -0800
12312 Make sure g_value_set_boxed does not cause a buffer overrun with
12315 Add NULL terminator to gchar** passed to g_value_set_boxed to
12316 make sure it does not overrun memory in pygi_set_property_value_real.
12317 Add MALLOC_CHECK_=3 to "make check" which prints an error and aborts
12320 https://bugzilla.gnome.org/show_bug.cgi?id=688232
12322 gi/pygi-property.c | 8 ++++++--
12323 tests/Makefile.am | 1 +
12324 2 files changed, 7 insertions(+), 2 deletions(-)
12326 commit ca11ec124fdd3fb2b67efdeb3ac93aaeb8b3fd83
12327 Author: Martin Pitt <martinpitt@gnome.org>
12328 Date: Mon Nov 12 08:35:28 2012 +0100
12330 types.py: Fix PEP-8 violation
12333 1 file changed, 1 insertion(+), 1 deletion(-)
12335 commit df589458358d7e7bf178dff4e6ad937a70f806e3
12336 Author: Simon Feltman <sfeltman@src.gnome.org>
12337 Date: Sun Nov 11 22:26:19 2012 -0800
12339 Fix leaks with GValues holding boxed and object types
12341 Expose read access to PyGIBoxed.free_on_dealloc.
12342 Add GObject.Value.__del__ override and call unset() to
12343 correctly free reference counts.
12345 https://bugzilla.gnome.org/show_bug.cgi?id=688137
12347 gi/overrides/GObject.py | 9 +++++++++
12348 gi/pygi-boxed.c | 12 ++++++++++++
12349 tests/test_gi.py | 2 --
12350 3 files changed, 21 insertions(+), 2 deletions(-)
12352 commit c01c95b9fb3d726385efac945f6d1270ae65d109
12353 Author: Simon Feltman <sfeltman@src.gnome.org>
12354 Date: Sun Nov 11 19:46:15 2012 -0800
12356 Add expectantly failing unittests for GValue boxed/object leaks
12358 https://bugzilla.gnome.org/show_bug.cgi?id=688137
12360 tests/test_gi.py | 80
12361 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
12362 1 file changed, 80 insertions(+)
12364 commit 13629f5a9c9a7022f3521a3616d9ce8fa4a6161b
12365 Author: Simon Feltman <s.feltman@gmail.com>
12366 Date: Thu Aug 16 15:09:08 2012 -0700
12368 Add doc strings showing method signatures for gi methods
12370 Add signature based doc string to all methods pulled in from
12371 introspection. For example: Gtk.SpinButton.get_icon_area.__doc__
12372 get_icon_area(self, icon_pos:Gtk.EntryIconPosition) ->
12373 icon_area:cairo.RectangleInt
12375 https://bugzilla.gnome.org/show_bug.cgi?id=681967
12377 gi/overrides/GIMarshallingTests.py | 1 +
12378 gi/pygi-info.c | 103
12379 +++++++++++++++++++++++++++++++++----
12380 gi/pygi-type.c | 60 +++++++++++++++++++++
12381 gi/pygi-type.h | 1 +
12383 ++++++++++++++++++++++++++-------
12384 tests/test_gi.py | 30 +++++++++++
12385 6 files changed, 259 insertions(+), 28 deletions(-)
12387 commit 7b7277f3cc099280f8e2d6cf6693490290fedc24
12388 Author: Simon Feltman <sfeltman@src.gnome.org>
12389 Date: Fri Nov 9 19:17:03 2012 -0800
12391 Set Property instance doc string and blurb to getter doc string
12393 Assign Property getter __doc__ strings or explicit blurb parameters
12394 to the Property instances __doc__ attribute. This clobbers the
12395 default Property classes lengthy and unhelpful doc string in the case
12398 https://bugzilla.gnome.org/show_bug.cgi?id=688025
12400 gi/_gobject/propertyhelper.py | 10 +++++++---
12401 tests/test_properties.py | 14 ++++++++++----
12402 2 files changed, 17 insertions(+), 7 deletions(-)
12404 commit c5343d329ebb452d97afac30e4120ebab8477556
12405 Author: Martin Pitt <martinpitt@gnome.org>
12406 Date: Mon Nov 12 07:47:02 2012 +0100
12408 tests: Fix for Python 2
12410 Add quirks for Python 2's string handling, and disable the
12411 Everything.test_array_gint8_in() as there seems to be no way of
12415 tests/test_everything.py | 7 +++++--
12416 1 file changed, 5 insertions(+), 2 deletions(-)
12418 commit 964f33ca3a74bfb7d850f136d0844ac1551d36e9
12419 Author: Martin Pitt <martinpitt@gnome.org>
12420 Date: Sat Nov 10 15:52:15 2012 +0100
12422 test_everything: Add tests for more Regress data and container types
12424 Add more tests for Regress' data and container type test API.
12426 This detects a number of bugs, which have been marked as expected
12428 disabled completely for the cases where they cause crashes:
12430 * unsigned enums with values >= 0x80000000 do not work
12431 * nested ghashes in return values do not work
12432 * array length arguments in callbacks are passed instead of
12435 tests/test_everything.py | 156
12436 ++++++++++++++++++++++++++++++++++++++++++++++-
12437 1 file changed, 154 insertions(+), 2 deletions(-)
12439 commit 476e29d1ba3eda92cc021710017bce4ec252e5b5
12440 Author: Martin Pitt <martinpitt@gnome.org>
12441 Date: Fri Nov 9 18:45:22 2012 +0100
12443 test_everything: Add tests for Regress type tests
12445 Add tests for all the data type handling tests of g-i's Regress
12448 tests/test_everything.py | 183
12449 +++++++++++++++++++++++++++++++++++++++++++++++
12450 1 file changed, 183 insertions(+)
12452 commit 0d7974396e8379b518403983d9d13629066680d7
12453 Author: Martin Pitt <martinpitt@gnome.org>
12454 Date: Fri Nov 9 18:44:50 2012 +0100
12456 Add GObject.G_MINSSIZE
12458 gi/_gobject/gobjectmodule.c | 1 +
12459 gi/overrides/GObject.py | 2 +-
12460 2 files changed, 2 insertions(+), 1 deletion(-)
12462 commit b800a6903300dbe9435ed8eb3677eb9c0536ec31
12463 Author: Martin Pitt <martinpitt@gnome.org>
12464 Date: Fri Nov 9 16:02:00 2012 +0100
12466 Fix marshalling of GByteArrays
12468 In _pygi_marshal_from_py_array(), set the array length after copying
12470 in the GI_TYPE_TAG_UINT8 case (which applies for GByteArrays),
12472 will always come out as zero length.
12474 Enable the TestGByteArray.test_bytearray_none_in() test case as that
12477 gi/pygi-marshal-from-py.c | 1 +
12478 tests/test_gi.py | 3 +--
12479 2 files changed, 2 insertions(+), 2 deletions(-)
12481 commit fa568949c46dd4b537357f1af74d1f675294b760
12482 Author: Martin Pitt <martinpitt@gnome.org>
12483 Date: Fri Nov 9 15:23:37 2012 +0100
12485 Fix marshalling of ssize_t to smaller ints
12487 Add missing marshalling cases for (u)int8 and (u)int16. This fixes the
12488 TestArray.test_array_in test, so drop the expected failure.
12490 gi/pygi-marshal-from-py.c | 30 +++++++++++++++++++++++++++++-
12491 tests/test_gi.py | 2 --
12492 2 files changed, 29 insertions(+), 3 deletions(-)
12494 commit 5a5940a0a0704be8e222d4cad6cedda1ad3e0f71
12495 Author: Martin Pitt <martinpitt@gnome.org>
12496 Date: Fri Nov 9 09:37:00 2012 +0100
12498 test_gi: Enable GByteArray constructor tests
12500 GByteArray annotations have been fixed in GLib now, enable the
12503 Drop the redundant disabled_test_bytearray_none_in_from_bytes()
12505 is the same as disabled_test_bytearray_none_in().
12507 tests/test_gi.py | 16 ++++------------
12508 1 file changed, 4 insertions(+), 12 deletions(-)
12510 commit e2c545896ab08b1f1885b502a8472db83f193d08
12511 Author: Martin Pitt <martinpitt@gnome.org>
12512 Date: Fri Nov 9 09:11:38 2012 +0100
12514 test_gi: Enable GBytes test cases
12516 GBytes annotations are fixed in GLib now, enable the test case and
12518 for g_bytes_new_take() and g_bytes_{compare,equal}().
12520 Please note that calling unref_to_array() on a GBytes object that
12522 ourselves currently causes a double free crash, so disable that part
12525 tests/test_gi.py | 30 +++++++++++++++++++++++++-----
12526 1 file changed, 25 insertions(+), 5 deletions(-)
12528 commit 1ba4e201f86ffa28c645d7c9eea99cf31080ea43
12529 Author: Martin Pitt <martinpitt@gnome.org>
12530 Date: Fri Nov 9 08:26:29 2012 +0100
12532 test_gi: Add missing data type tests from GIMarshallingTests
12534 Add tests for types time_t, GBytes, GByteArray, and various variants
12536 around GValues, flags, enums, arrays, and boxed structs. This tests
12538 is provided by GIMarshallingTests, but which we did not cover yet.
12540 This detects a number of bugs in annotations and our
12541 marshalling. These have
12542 been marked as expected failure, or disabled completely for the
12544 they cause crashes.
12546 tests/test_gi.py | 152
12547 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
12548 1 file changed, 152 insertions(+)
12550 commit 0456d9c892b76ed79134230a4a8610a23c602964
12551 Author: Martin Pitt <martinpitt@gnome.org>
12552 Date: Fri Nov 9 06:44:46 2012 +0100
12554 autogen.sh: Only enable code coverage if lcov is installed
12556 Otherwise we break minimal build environments.
12558 autogen.sh | 8 +++++++-
12559 1 file changed, 7 insertions(+), 1 deletion(-)
12561 commit 76a3acebf73f930c541d0f30249f67d254f948ab
12562 Author: Martin Pitt <martinpitt@gnome.org>
12563 Date: Fri Nov 9 06:41:58 2012 +0100
12565 Lower autoconf dependency to 2.68 again
12567 configure.ac | 2 +-
12568 1 file changed, 1 insertion(+), 1 deletion(-)
12570 commit f1a5f1b92d577c542d4258e63e595d4da9acd484
12571 Author: Martin Pitt <martinpitt@gnome.org>
12572 Date: Thu Nov 8 14:54:30 2012 +0100
12574 Add support for lcov code coverage
12576 Use gnome-common's new code coverage flags. Default to enabling
12578 in autogen.sh (but not for dist).
12580 To use this, run "make check-code-coverage" after building.
12585 configure.ac | 6 ++++++
12586 4 files changed, 10 insertions(+), 1 deletion(-)
12588 commit e46af4aba220cfaf4b84a9be847f3363da556993
12589 Author: Martin Pitt <martinpitt@gnome.org>
12590 Date: Wed Nov 7 17:14:22 2012 +0100
12592 Update documentation files
12594 Update AUTHORS to have the current maintainers.
12596 Update HACKING to drop Tomeu's GNOME login (this should be set in
12599 Update INSTALL to current upstream version.
12604 +++++++++++++++++++++++++++++++++++++++++++---------------------
12605 3 files changed, 267 insertions(+), 130 deletions(-)
12607 commit 06f5ed0ebabce34eca6bc6de80221cba6453feec
12608 Author: Martin Pitt <martinpitt@gnome.org>
12609 Date: Wed Nov 7 17:08:11 2012 +0100
12611 Quiesce automake output
12613 Use $(AM_V_GEN) with custom $(LINK) commands, and avoid error
12615 existing symlinks on rebuilds.
12617 gi/Makefile.am | 2 +-
12618 gi/_glib/Makefile.am | 2 +-
12619 gi/_gobject/Makefile.am | 2 +-
12620 tests/Makefile.am | 6 +++---
12621 4 files changed, 6 insertions(+), 6 deletions(-)
12623 commit 37270de8ead0b281a1824ff204a4aa9686a7225b
12624 Author: Martin Pitt <martinpitt@gnome.org>
12625 Date: Wed Nov 7 16:50:07 2012 +0100
12627 Drop unused variable, fail builds on those
12629 Build with -Werror=unused-variable, as these could hide programming
12631 incomplete refactoring, and are not platform dependent.
12633 Drop unused variable in pyg_type_add_interfaces().
12636 gi/_gobject/gobjectmodule.c | 1 -
12637 2 files changed, 1 insertion(+), 1 deletion(-)
12639 commit 495fd98555e0c89724bb8fa9478dc096c5d61e22
12640 Author: Martin Pitt <martinpitt@gnome.org>
12641 Date: Wed Nov 7 16:37:04 2012 +0100
12643 configure.ac: Drop maintainer mode, modernize libtool declarations
12645 Use all arguments of AC_INIT.
12647 AM_MAINTAINER_MODE is discouraged now, drop it.
12649 Use LT_PREREQ and LT_INIT for libtool initialization instead of
12653 See https://live.gnome.org/GnomeGoals/ModernAutotools
12655 configure.ac | 19 ++++++-------------
12656 1 file changed, 6 insertions(+), 13 deletions(-)
12658 commit 059d0cb879fe5a7b0296ec21f3bfcb64c8596cb0
12659 Author: Martin Pitt <martinpitt@gnome.org>
12660 Date: Wed Nov 7 16:21:13 2012 +0100
12662 autoupdate configure.ac
12664 Result of "autoupdate", with slight manual beautification.
12666 See https://live.gnome.org/GnomeGoals/ModernAutotools
12668 configure.ac | 21 +++++++++------------
12669 1 file changed, 9 insertions(+), 12 deletions(-)
12671 commit a932446e6648ecd98c9038298b18c6fbd36c01aa
12672 Author: Jose Rostagno <joserostagno@vijona.com.ar>
12673 Date: Mon Nov 5 14:26:05 2012 -0300
12675 pygi-convert: remove deprecated GLib → GObject conversions
12677 Using these functions from the GObject module is deprecated now,
12681 pygi-convert.sh | 5 -----
12682 1 file changed, 5 deletions(-)
12684 commit 21076d4b8f3ec8e253ca236fa3b20b07fde237fe
12685 Author: Simon Feltman <sfeltman@src.gnome.org>
12686 Date: Wed Nov 7 03:49:24 2012 -0800
12688 Use hasattr when testing for __info__ when finding vfuncs
12690 Change gi.types.find_vfunc_info_in_interface to use hasattr
12691 when finding vfuncs. Using '__info__' in __dict__ was skipping
12692 overridden interfaces which don't directly contain the __info__.
12695 1 file changed, 1 insertion(+), 1 deletion(-)
12697 commit 1b5c9b3d1499b3bc59afb297672abc671e175546
12698 Author: Martin Pitt <martinpitt@gnome.org>
12699 Date: Wed Nov 7 12:05:24 2012 +0100
12701 tests: Ensure that the fatal mask is always reset
12703 On test case failures the fatal mask might be left in a wrong state,
12705 with "finally" that it is reset on failed tests as well, to avoid
12709 tests/test_gi.py | 11 ++++++-----
12710 tests/test_overrides_gtk.py | 33 +++++++++++++++++++--------------
12711 tests/test_pygtkcompat.py | 6 ++++--
12712 tests/test_signal.py | 6 ++++--
12713 4 files changed, 33 insertions(+), 23 deletions(-)
12715 commit 463f660cd6bb78ae7f2ea7c70c0491e6b4744942
12716 Author: Simon Feltman <sfeltman@src.gnome.org>
12717 Date: Tue Nov 6 21:34:06 2012 -0800
12719 Replace GObject notify methods with introspection and python
12721 Replace static context managers for freeze_notify and
12722 handler_block with python context managers. Remove notify,
12723 freeze_notify, thaw_notify static methods as the introspection
12724 versions work fine.
12726 https://bugzilla.gnome.org/show_bug.cgi?id=672727
12728 gi/_gobject/pygobject.c | 173
12729 ++----------------------------------------------
12730 gi/overrides/GObject.py | 61 +++++++++++++++--
12731 tests/test_gobject.py | 26 ++++++--
12732 tests/test_signal.py | 13 +++-
12733 4 files changed, 91 insertions(+), 182 deletions(-)
12735 commit 3fcd987272a779e5ee9173a2c3a043b4b7475842
12736 Author: Simon Feltman <sfeltman@src.gnome.org>
12737 Date: Tue Oct 23 13:56:32 2012 -0700
12739 Add support for overriding GObject.Object
12741 Shift pygi module mechanics so the introspection generated 'Object'
12742 class becomes derived from the static GObject class. Add initial
12743 GObject.Object override which sets all static methods back essentially
12744 leapfrogging the introspection methods. This sets the stage for having
12745 the ability to remove static methods piecemeal in favor of
12746 introspection/python in future commits.
12748 https://bugzilla.gnome.org/show_bug.cgi?id=672727
12750 gi/module.py | 30 +++++++++++---------
12751 gi/overrides/GObject.py | 74
12752 ++++++++++++++++++++++++++++++++++++++++++++++++
12753 gi/pygobject-external.h | 10 +------
12754 gi/types.py | 7 +++++
12755 tests/test_gobject.py | 31 ++++++++++++++++----
12756 tests/testhelpermodule.c | 2 +-
12757 6 files changed, 126 insertions(+), 28 deletions(-)
12759 commit 4da6f93d86b104941c5533c3da5edb4a00ec62e9
12760 Author: Martin Pitt <martinpitt@gnome.org>
12761 Date: Tue Nov 6 13:55:21 2012 +0100
12763 Bump glib dependency to >= 2.34.2
12765 We need 2.34.2 or 2.35.2 as we now depend on the GIOChannel annotation
12769 configure.ac | 4 ++--
12770 2 files changed, 3 insertions(+), 3 deletions(-)
12772 commit 85c8dd7a9bc81fb5df5abc6d8a95f966955ec775
12773 Author: Martin Pitt <martinpitt@gnome.org>
12774 Date: Tue Nov 6 11:28:42 2012 +0100
12778 Point to python-hackers-list instead of the old pygtk list, update
12780 versions, and point to wiki page and IRC.
12782 README | 19 ++++++++++---------
12783 1 file changed, 10 insertions(+), 9 deletions(-)
12785 commit 6d8b29ba56fb085948a155c75af36dcea9c71da8
12786 Author: Martin Pitt <martinpitt@gnome.org>
12787 Date: Tue Nov 6 11:21:32 2012 +0100
12789 Add --with-python configure option
12791 This behaves like setting $PYTHON, but also works in build systems
12793 which do not support setting environment variables.
12795 Update README accordingly.
12797 README | 15 +++++++++------
12798 configure.ac | 43 ++++++++++++++++++++++++++++++++++---------
12799 2 files changed, 43 insertions(+), 15 deletions(-)
12801 commit 4e5556a5238a3b86da9a0e40fd0e23004ed6af75
12802 Author: Martin Pitt <martinpitt@gnome.org>
12803 Date: Tue Nov 6 10:39:27 2012 +0100
12805 python.m4: Add python3.3, do not prefer unversioned "python"
12807 Add python 3.3 to the search list.
12809 http://www.python.org/dev/peps/pep-0394/ broke the well-defined
12811 "python", so use that as last fallback if more specific versions do
12814 configure.ac | 2 +-
12815 m4/python.m4 | 2 +-
12816 2 files changed, 2 insertions(+), 2 deletions(-)
12818 commit e71c046ed8f5b06e6b7383ddc0fc18f06de6abee
12819 Author: Martin Pitt <martinpitt@gnome.org>
12820 Date: Tue Nov 6 09:48:50 2012 +0100
12822 m4: Update py-compile to current upstream version
12824 Update py-compile to current versions from automake 1.11.6.
12827 +++++++++++++++++++++++++++++++++++------------------------
12828 1 file changed, 48 insertions(+), 33 deletions(-)
12830 commit 8406b39f4e9ff98e0d59e880dde3ddb5e5131726
12831 Author: Martin Pitt <martinpitt@gnome.org>
12832 Date: Tue Nov 6 09:57:00 2012 +0100
12834 m4: Update introspection.m4 to current upstream version
12836 m4/introspection.m4 | 4 ++++
12837 1 file changed, 4 insertions(+)
12839 commit 4ffa61b7c39cf038440dc9acfe8d214c9b77c3a6
12840 Author: Martin Pitt <martinpitt@gnome.org>
12841 Date: Tue Nov 6 09:53:15 2012 +0100
12843 option.py: Fix PEP-8 error
12845 gi/_glib/option.py | 2 +-
12846 1 file changed, 1 insertion(+), 1 deletion(-)
12848 commit 2cbb54e79c23b96486d4a2bfa170460df5bd6c84
12849 Author: Simon Feltman <sfeltman@src.gnome.org>
12850 Date: Mon Nov 5 18:27:56 2012 -0800
12852 Remove DynamicGLibModule and DynamicGObjectModule
12854 Move final bits of _glib static binding imports directly into
12855 the GLib override. Change _glib/option use the .so directly
12856 rather than the staged variables in _glib/__init__.py.
12857 Remove DynamicGLibModule and DynamicGObjectModule and update
12860 https://bugzilla.gnome.org/show_bug.cgi?id=687488
12862 gi/_glib/__init__.py | 11 ----------
12863 gi/_glib/option.py | 16 +++++++-------
12864 gi/importer.py | 12 ++---------
12866 ----------------------------------------------------
12867 gi/overrides/GLib.py | 14 ++++++++++++
12868 tests/test_gi.py | 9 ++------
12869 6 files changed, 26 insertions(+), 96 deletions(-)
12871 commit 901c1b6e3722a9cd999e4948297e2c460f101d20
12872 Author: Daniel Drake <dsd@laptop.org>
12873 Date: Thu Nov 1 14:46:22 2012 +0000
12875 Fix property lookup in class hierarchy
12877 Commit 4bfe7972546413f46f5c36737ff03bb5612c1921 introduced a bug where
12878 a Python subclass of a gi-provided base class overrides a property
12882 The new behaviour in the above commit causes pygobject to seek
12884 in the base class and try to read it from there (resulting in
12886 rather than noticing that the property is overridden and present
12888 Python object instance.
12890 To provide a nicer solution here, we can exploit the fact that
12891 g_object_class_find_property() will traverse the hierarchy in order to
12892 find the right GParamSpec, and the returned GParamSpec can tell
12894 which GType introduces the property. The strategy is:
12896 1. Find pspec with g_object_class_find_property()
12897 2. Find the class that owns that property (pspec->owner_type)
12898 3. See if girepository owns that class.
12899 3a. If yes, get property from there.
12900 3b. If not, get property "directly"
12902 And the same for property setting.
12904 Now that _pygi_lookup_property_from_g_type is always passed the
12906 implements the property, it no longer has to go recursing through
12908 classes, which was the original cause of confusion.
12910 https://bugzilla.gnome.org/show_bug.cgi?id=686942
12912 gi/_gobject/pygobject.c | 92 +++++++++++++++++++++++----------
12913 gi/pygi-property.c | 130
12914 ++++++++++++++++++++++-------------------------
12915 gi/pygi-property.h | 4 +-
12916 gi/pygi.h | 12 ++---
12917 tests/test_properties.py | 30 +++++++++++
12918 5 files changed, 164 insertions(+), 104 deletions(-)
12920 commit efcb0f9fda65e24ae98438d61487d06db9eac1b1
12921 Author: Martin Pitt <martinpitt@gnome.org>
12922 Date: Sat Nov 3 16:14:01 2012 +0100
12924 Move property and signal creation into _class_init()
12926 We must not add class interfaces after g_type_class_ref() has been
12928 first time. Move signal and property creation from pyg_type_register()
12930 pyg_object_class_init(), and drop the hack of registering interfaces
12933 This changed class initialization order now exposes GLib's warning
12935 unknown signals, so adjust
12936 test_signal.TestGSignalsError.test_invalid_name() to
12939 https://bugzilla.gnome.org/show_bug.cgi?id=686149
12941 gi/_gobject/gobjectmodule.c | 177
12942 ++++++++++++++++++--------------------------
12943 tests/test_signal.py | 6 +-
12944 2 files changed, 75 insertions(+), 108 deletions(-)
12946 commit 655a5002ffaa088b775adbc59e5125444f7bc1ca
12947 Author: Jose Rostagno <joserostagno@vijona.com.ar>
12948 Date: Sat Nov 3 13:21:52 2012 -0300
12950 Remove unused macro definitions
12952 PYGLIB_*_VERSION are not used anywhere any more, remove those.
12953 (dropped in commit 8d52bceb1)
12955 gi/_glib/glibmodule.c | 5 -----
12956 1 file changed, 5 deletions(-)
12958 commit fa054fd15b8874760bee97d9af168a2969e6ece4
12959 Author: Martin Pitt <martinpitt@gnome.org>
12960 Date: Mon Nov 5 14:38:07 2012 +0100
12962 testhelpermodule.c: Drop obsolete g_thread_init()
12964 We already require a new enough glib version as we dropped
12966 the main code a long time ago. But for formality's sake, bump glib
12970 configure.ac | 4 ++--
12971 tests/testhelpermodule.c | 1 -
12972 2 files changed, 2 insertions(+), 3 deletions(-)
12974 commit 2e57530a27a44e94927d487cf2f2d9e543777654
12975 Author: Martin Pitt <martinpitt@gnome.org>
12976 Date: Mon Nov 5 14:37:11 2012 +0100
12978 pygi-source.c: Drop dead code
12980 gi/pygi-source.c | 2 --
12981 1 file changed, 2 deletions(-)
12983 commit 2a24c9ccd59bff719fa817a0ec5c959f6da03e1c
12984 Author: Simon Feltman <sfeltman@src.gnome.org>
12985 Date: Sun Nov 4 22:22:53 2012 -0800
12987 Move TYPE constants from _gobject to GObject
12989 Clear out TYPE constants from _gobject/__init__.py and move them
12991 GObject overrides. Disperse class imports among modules that use
12993 of using _gobject/__init__.py as a staging area (e.g. GInterface).
12995 https://bugzilla.gnome.org/show_bug.cgi?id=687487
12997 gi/_gobject/__init__.py | 30 ------------------------------
12998 gi/_gobject/constants.py | 2 +-
12999 gi/module.py | 38 +++++++++++++++++++++++++-------------
13000 gi/overrides/__init__.py | 9 ++++++---
13001 gi/types.py | 10 ++++++----
13002 5 files changed, 38 insertions(+), 51 deletions(-)
13004 commit c2aa6f0d0ed4c4e60f081b106dc7a65513963fce
13005 Author: Martin Pitt <martinpitt@gnome.org>
13006 Date: Mon Nov 5 13:10:05 2012 +0100
13008 Move G_MIN/MAX constants into GObject overrides
13010 These really ought to come from GLib's typelib, but are not right
13012 need to keep the static bindings for those. But drop them from
13014 move them into the overrides where they belong.
13016 gi/_gobject/__init__.py | 17 -----------------
13017 gi/_gobject/constants.py | 21 ---------------------
13018 gi/_gobject/propertyhelper.py | 2 +-
13019 gi/overrides/GObject.py | 9 +++++++++
13020 tests/test_gi.py | 32 ++++++++++++++++----------------
13021 5 files changed, 26 insertions(+), 55 deletions(-)
13023 commit 12b84727edc36f686a7031b5c4c6bf662838908d
13024 Author: Martin Pitt <martinpitt@gnome.org>
13025 Date: Mon Nov 5 11:04:54 2012 +0100
13027 Replace static OPTION_* constants with GI
13029 Drop static definitions of GLib.OPTION_* constants and use the ones
13033 https://bugzilla.gnome.org/show_bug.cgi?id=686765
13035 gi/_glib/__init__.py | 13 -------------
13036 gi/_glib/glibmodule.c | 32 --------------------------------
13037 gi/_glib/option.py | 46
13038 ++++++++++++++++++++++++----------------------
13039 gi/overrides/GLib.py | 13 +++++++++++++
13040 gi/overrides/GObject.py | 2 +-
13041 5 files changed, 38 insertions(+), 68 deletions(-)
13043 commit 7372e3c9ecb8e836894c32975eab8c4107ba0b28
13044 Author: Martin Pitt <martinpitt@gnome.org>
13045 Date: Mon Nov 5 10:14:52 2012 +0100
13047 tests: Do not use deprecated assertRaisesRegexp()
13049 Use assertRaisesRegex() instead and provide 2.7 compatibility in
13052 tests/runtests.py | 3 +++
13053 tests/test_signal.py | 8 ++++----
13054 2 files changed, 7 insertions(+), 4 deletions(-)
13056 commit da2106902eb3dabebdff1674743cb3040566a745
13057 Author: Simon Feltman <sfeltman@src.gnome.org>
13058 Date: Sun Nov 4 02:57:29 2012 -0800
13060 Move gobject static functions and constants to gi
13062 Replace the following functions with gi and overrides:
13063 type_children, type_interfaces, signal_list_ids, signal_list_names,
13064 signal_lookup, signal_name, type_parent. Assign SIGNAL_* and
13065 PARAM_* from gi SignalFlags and ParamFlags respectively.
13066 Move module level assignments of a number of static functions to
13067 the GObject.py overrides file.
13069 https://bugzilla.gnome.org/show_bug.cgi?id=687487
13071 docs/reference/pygobject-functions.xml | 25 ---
13072 gi/_gobject/__init__.py | 72 +--------
13073 gi/_gobject/gobjectmodule.c | 272
13074 ---------------------------------
13075 gi/overrides/GObject.py | 208 ++++++++++++++++++++++++-
13076 gi/overrides/__init__.py | 5 +-
13077 tests/test_signal.py | 11 +-
13078 6 files changed, 215 insertions(+), 378 deletions(-)
13080 commit f4acd6a9d14248d459708f61fd01f6d4735f087d
13081 Author: Simon Feltman <sfeltman@src.gnome.org>
13082 Date: Sun Nov 4 02:52:19 2012 -0800
13084 Make unitests for gobject functions moving to gi more strict
13086 Add expected failure test for invalid SystemError's coming from
13087 signal_lookup and signal_list_ids. Remove excessive type_name
13088 tests and type_from_name tests.
13090 https://bugzilla.gnome.org/show_bug.cgi?id=687487
13092 tests/test_gtype.py | 53
13093 ----------------------------------------------------
13094 tests/test_signal.py | 40 ++++++++++++++++++++++++---------------
13095 2 files changed, 25 insertions(+), 68 deletions(-)
13097 commit 3267808318b284814e52f2803b17af56fca648ad
13098 Author: Martin Pitt <martinpitt@gnome.org>
13099 Date: Sat Nov 3 14:17:25 2012 +0100
13101 [API change] Remove static filename_from_utf8() binding
13103 Replace static GLib.filename_from_utf8() with GI. The old static
13105 tried to convert the result to an Unicode object, which will fail
13107 is not UTF-8 encoded (which is the whole point of this function
13111 Although the static binding was rather useless before, this is
13115 docs/reference/pyglib-functions.xml | 32 --------------------------------
13116 gi/_glib/__init__.py | 1 -
13117 gi/_glib/glibmodule.c | 26 --------------------------
13118 gi/_gobject/__init__.py | 1 -
13119 gi/overrides/GLib.py | 8 ++++++++
13120 gi/overrides/GObject.py | 3 ++-
13121 tests/test_glib.py | 8 ++++++++
13122 7 files changed, 18 insertions(+), 61 deletions(-)
13124 commit 8d52bceb1e0aa0dc79cf77f36dda9f953f170459
13125 Author: Martin Pitt <martinpitt@gnome.org>
13126 Date: Sat Nov 3 13:14:15 2012 +0100
13128 Drop static glib_version and pyglib_version constants
13130 Use the GLib version from GI instead, and the already existing
13133 docs/reference/pyglib-constants.xml | 50
13134 ----------------------------------
13135 docs/reference/pygobject-constants.xml | 19 -------------
13136 gi/_glib/__init__.py | 2 --
13137 gi/_glib/glibmodule.c | 21 --------------
13138 gi/_gobject/__init__.py | 1 -
13139 gi/overrides/GLib.py | 8 +++++-
13140 gi/overrides/GObject.py | 3 +-
13141 tests/test_glib.py | 12 ++++++++
13142 8 files changed, 21 insertions(+), 95 deletions(-)
13144 commit 9f96325e75f7c5f88789ea3f74a068e73cfde1a2
13145 Author: Martin Pitt <martinpitt@gnome.org>
13146 Date: Sat Nov 3 12:12:44 2012 +0100
13148 Drop static G_MININT8 and related constants
13150 Use the introspected constants from GLib instead.
13152 gi/_gobject/__init__.py | 12 ------------
13153 gi/_gobject/constants.py | 12 ------------
13154 gi/_gobject/gobjectmodule.c | 18 +-----------------
13155 gi/overrides/GObject.py | 17 +++++++++++++++++
13156 tests/test_gobject.py | 4 ++++
13157 5 files changed, 22 insertions(+), 41 deletions(-)
13159 commit 3354c4eda0f098d1a8f744264ef9a2565a38b50d
13160 Author: Martin Pitt <martinpitt@gnome.org>
13161 Date: Sat Nov 3 11:58:40 2012 +0100
13163 test_gobject: Add test case for min/max int constants
13165 Related to https://bugzilla.gnome.org/show_bug.cgi?id=685022
13167 tests/test_gobject.py | 9 +++++++++
13168 1 file changed, 9 insertions(+)
13170 commit d70cb32789e057fe5a16e61a0cce77d9c54a3ee1
13171 Author: Jose Rostagno <joserostagno@vijona.com.ar>
13172 Date: Sat Oct 27 15:37:32 2012 -0300
13174 Use g_object_info_find_signal()
13176 Replace our custom code with a call to the corresponding
13177 gobject-instrospection
13180 https://bugzilla.gnome.org/show_bug.cgi?id=687371
13182 gi/pygi-signal-closure.c | 21 ++++-----------------
13183 1 file changed, 4 insertions(+), 17 deletions(-)
13185 commit ae6d0aada9587cd4dca168375527b80785b604a0
13186 Author: Martin Pitt <martinpitt@gnome.org>
13187 Date: Sat Nov 3 11:23:06 2012 +0100
13189 GLib overrides: code cleanup
13191 Factorize the logic to handle zero or multiple user_data arguments
13193 user_data_varargs_shim(), and put code that handles deprecated API
13195 corresponding "then" branches, to improve readability.
13197 gi/overrides/GLib.py | 87
13198 ++++++++++++++++++++++++++++------------------------
13199 1 file changed, 47 insertions(+), 40 deletions(-)
13201 commit d7f095b01e7208273703c880f4f0dfcc1a152a9a
13202 Author: Martin Pitt <martinpitt@gnome.org>
13203 Date: Sat Nov 3 09:33:08 2012 +0100
13205 Restore actual GLib API after previous fix
13207 Re-fix the acceptance of priority as first argument for idle_add(),
13208 io_add_watch() and timeout_add(), as that is the real GLib API. Ensure
13210 this keeps supporting the backwards compatible API with supplying
13214 https://bugzilla.gnome.org/show_bug.cgi?id=687047
13216 gi/overrides/GLib.py | 117
13217 +++++++++++++++++++++++++-----------------------
13218 tests/test_iochannel.py | 74 +++++++++++++++++++++++++++---
13219 tests/test_source.py | 30 +++++++++++++
13220 3 files changed, 158 insertions(+), 63 deletions(-)
13222 commit 648b653d85bf3bc28dc59c6d309f15d388076af9
13223 Author: Simon Feltman <sfeltman@src.gnome.org>
13224 Date: Fri Nov 2 21:01:38 2012 -0700
13226 Add unittests for module level type and signal functions
13228 Add tests for the following methods: signal_list_ids,
13229 signal_name, signal_lookup, signal_query, type_children,
13230 type_from_name, type_name, type_is_a, and type_interfaces.
13232 https://bugzilla.gnome.org/show_bug.cgi?id=687487
13234 tests/Makefile.am | 1 +
13235 tests/test_gtype.py | 106
13236 +++++++++++++++++++++++++++++++++++++++++++++++++++
13237 tests/test_signal.py | 43 +++++++++++++++++++++
13238 3 files changed, 150 insertions(+)
13240 commit 80db2a50feab9898d7c5f88ea27aadc3dfb5bec3
13241 Author: Simon Feltman <sfeltman@src.gnome.org>
13242 Date: Tue Oct 30 18:33:44 2012 -0700
13244 Fix GLib override incompatibilities with old static API
13246 Change idle_add, timeout_add, timeout_add_seconds, and
13247 io_add_watch to accept *args and **kwargs as arguments
13248 to the callback functions instead of only accepting a single
13249 user_data arg. This ensures the new overridden introspection
13250 methods are backwards compatible with the static versions
13253 https://bugzilla.gnome.org/show_bug.cgi?id=687047
13255 gi/overrides/GLib.py | 98
13256 ++++++++++++++++++++++++++++---------------------
13257 tests/test_iochannel.py | 37 +++++++++++++++++--
13258 2 files changed, 90 insertions(+), 45 deletions(-)
13260 commit 9c6399bbf75c312b1ef4933d079712ea5b05a935
13261 Author: Simon Feltman <sfeltman@src.gnome.org>
13262 Date: Tue Oct 30 12:01:44 2012 -0700
13264 Fix IOChannel unittests for python 2.7
13266 Use __future__ unicode_literals to minimize difference
13267 between python 2.7 and 3. Comparisons need to encode arguments as
13268 'UTF-8' for testing readline operations.
13269 Add backwards compatible "next" to support the python 2.7 iteration.
13270 Change isinstance(channel, file) to hasattr(channel, 'fileno') to
13271 support all python versions (and duck typing).
13273 https://bugzilla.gnome.org/show_bug.cgi?id=687047
13275 gi/overrides/GLib.py | 4 +++-
13276 tests/test_iochannel.py | 1 +
13277 2 files changed, 4 insertions(+), 1 deletion(-)
13279 commit 0f94a0a4ebd2bbfd06d8f9a2bb2b17dabf7678ef
13280 Author: Martin Pitt <martinpitt@gnome.org>
13281 Date: Mon Oct 29 23:00:31 2012 +0100
13283 Allow calling io_add_watch with a file object
13285 The old static bindings allowed that, so we need to allow it to
13287 backwards compatibility. Deprecate this mode as well, so that we
13291 https://bugzilla.gnome.org/show_bug.cgi?id=687047
13293 gi/overrides/GLib.py | 7 +++++++
13294 tests/test_glib.py | 26 ++++++++++++++++++++++++++
13295 2 files changed, 33 insertions(+)
13297 commit 3ba67fd41944309077eb81c4c03397519ed29dc4
13298 Author: John Ralls <jralls@ceridwen.us>
13299 Date: Mon Oct 29 14:57:22 2012 -0700
13301 Fix duplicate symbols error on OSX
13303 gi/pygi-source.c | 1 +
13304 1 file changed, 1 insertion(+)
13306 commit 5a367aa067e369f2b1e713199614e3426fecc10e
13307 Author: Martin Pitt <martinpitt@gnome.org>
13308 Date: Sun Oct 28 17:42:34 2012 +0100
13310 Drop removed markup-escape-text() from reference documentation
13312 docs/reference/pyglib-functions.xml | 36
13313 ------------------------------------
13314 1 file changed, 36 deletions(-)
13316 commit 057b3d3791e6f1947004f2482c0ae40529de03ae
13317 Author: Martin Pitt <martinpitt@gnome.org>
13318 Date: Sun Oct 28 17:41:03 2012 +0100
13320 Drop some dead code from gi/_glib/glibmodule.c
13322 gi/_glib/glibmodule.c | 45 ---------------------------------------------
13323 1 file changed, 45 deletions(-)
13325 commit 7b12803bce3418bb487127f497f022c973f35888
13326 Author: Martin Pitt <martinpitt@gnome.org>
13327 Date: Sun Oct 28 17:37:29 2012 +0100
13329 Remove static get_current_time() binding
13331 Use GLib.get_real_time() through GI instead. Deprecate the function,
13333 GLib.get_real_time() should be called directly.
13335 docs/reference/pyglib-functions.xml | 26 --------------------------
13336 gi/_glib/__init__.py | 1 -
13337 gi/_glib/glibmodule.c | 11 -----------
13338 gi/_glib/pyglib.c | 16 ----------------
13339 gi/_glib/pyglib.h | 1 -
13340 gi/_gobject/__init__.py | 1 -
13341 gi/overrides/GLib.py | 8 ++++++++
13342 gi/overrides/GObject.py | 2 +-
13343 tests/test_glib.py | 6 +++++-
13344 9 files changed, 14 insertions(+), 58 deletions(-)
13346 commit b3dfb780b3a74f6933e3afcd2ba512b36dfbe514
13347 Author: Martin Pitt <martinpitt@gnome.org>
13348 Date: Sun Oct 28 17:23:23 2012 +0100
13350 Add more tests for GLib.spawn_async()
13352 Check spawn_async() with getting stdin/out/err pipes and specifying
13355 tests/test_subprocess.py | 29 +++++++++++++++++++++++++++++
13356 1 file changed, 29 insertions(+)
13358 commit 70d78eee4a04dcaefea4615fe351e33fa717dffa
13359 Author: Martin Pitt <martinpitt@gnome.org>
13360 Date: Sun Oct 28 14:15:05 2012 +0100
13362 Remove static child_add_watch() binding
13364 Use the GLib API through GI instead, and provide override to keep
13366 compatible API. Also allow using the actual GLib API, and deprecate
13368 static API of calling without a priority as first argument.
13370 docs/reference/pyglib-functions.xml | 61 ---------------------------
13371 gi/_glib/__init__.py | 1 -
13372 gi/_glib/glibmodule.c | 72 -------------------------------
13373 gi/_gobject/__init__.py | 1 -
13374 gi/overrides/GLib.py | 46 ++++++++++++++++++++
13375 gi/overrides/GObject.py | 2 +-
13376 tests/test_mainloop.py | 2 +-
13377 tests/test_subprocess.py | 84
13378 ++++++++++++++++++++++++++++++++++---
13379 8 files changed, 127 insertions(+), 142 deletions(-)
13381 commit 4b16427714b850e33c6020d8de1833bae19a3b87
13382 Author: Martin Pitt <martinpitt@gnome.org>
13383 Date: Sun Oct 28 13:44:23 2012 +0100
13385 test_subprocess: Cover more child_watch_add() cases
13387 Verify that priority is set correctly, and also test calling without
13390 tests/test_subprocess.py | 24 +++++++++++++++++++-----
13391 1 file changed, 19 insertions(+), 5 deletions(-)
13393 commit 83ff5938612d37d52f112867a472777dd6786d69
13394 Author: Colin Walters <walters@verbum.org>
13395 Date: Sat Oct 27 12:22:53 2012 -0400
13397 gi/__init__.py: Pacify pep8 style checker
13399 It was complaining about finding only 1 blank line. Regression
13400 likely introduced by f976d05b.
13402 https://bugzilla.gnome.org/show_bug.cgi?id=686991
13404 gi/__init__.py | 1 +
13405 1 file changed, 1 insertion(+)
13407 commit f976d05b04f26e733d19988e68989e340eb3a29e
13408 Author: Martin Pitt <martinpitt@gnome.org>
13409 Date: Fri Oct 26 10:39:28 2012 +0200
13411 Use a custom deprecation warning to make them visible by default
13413 DeprecationWarning is not shown by default, and is thus rather
13415 developers. Use a custom PyGIDeprecationWarning class and derive
13417 RuntimeWarning to make it visible.
13419 gi/__init__.py | 5 +++++
13420 gi/overrides/GLib.py | 5 +++--
13421 gi/overrides/Gtk.py | 5 +++--
13422 gi/overrides/__init__.py | 4 ++--
13423 gi/pygtkcompat.py | 4 ++--
13424 tests/Makefile.am | 2 +-
13425 tests/test_glib.py | 5 +++--
13426 tests/test_gobject.py | 3 ++-
13427 tests/test_iochannel.py | 5 +++--
13428 tests/test_source.py | 3 ++-
13429 10 files changed, 26 insertions(+), 15 deletions(-)
13431 commit 366f5d2d3902c6293d0031e0b7dc5d6641a05ac7
13432 Author: Martin Pitt <martinpitt@gnome.org>
13433 Date: Fri Oct 26 09:26:17 2012 +0200
13435 Remove static io_add_watch() binding
13437 Use the GLib API through GI instead, and provide override to keep
13439 compatible API. Also allow using the actual GLib API, and deprecate
13442 - calling with an fd as first argument instead of an IOChannel
13443 - calling without a priority as second argument
13445 docs/reference/pyglib-functions.xml | 106
13446 ------------------------------------
13447 gi/_glib/__init__.py | 1 -
13448 gi/_glib/glibmodule.c | 98
13449 ---------------------------------
13450 gi/_gobject/__init__.py | 1 -
13451 gi/overrides/GLib.py | 51 ++++++++++++++---
13452 gi/overrides/GObject.py | 3 +-
13453 tests/test_glib.py | 15 ++++-
13454 tests/test_iochannel.py | 70 +++++++++++++++++++++++-
13455 8 files changed, 126 insertions(+), 219 deletions(-)
13457 commit 284de1eb5c37a3f6caa7d846dbd439f1eac410a2
13458 Author: Martin Pitt <martinpitt@gnome.org>
13459 Date: Fri Oct 26 08:48:35 2012 +0200
13461 Add tests for GLib.io_add_watch()
13463 tests/test_glib.py | 36 ++++++++++++++++++++++++++++++++++++
13464 1 file changed, 36 insertions(+)
13466 commit 15e717ce2c2a26c02c913f79bc7cf6876d943e92
13467 Author: Martin Pitt <martinpitt@gnome.org>
13468 Date: Thu Oct 25 15:55:46 2012 +0200
13470 Remove static GIOChannel bindings
13472 Use the GLib API through GI instead, and provide overrides to keep
13474 compatible API, including its bugs.
13476 We still need to keep a static wrapper around
13477 g_io_channel_read_chars() until
13478 we teach PyGObject to correctly handle caller allocated out array
13481 https://bugzilla.gnome.org/show_bug.cgi?id=686795
13483 gi/_glib/Makefile.am | 2 -
13484 gi/_glib/__init__.py | 1 -
13485 gi/_glib/glibmodule.c | 2 -
13486 gi/_glib/pygiochannel.c | 748
13487 ------------------------------------------------
13488 gi/_glib/pygiochannel.h | 29 --
13489 gi/_gobject/__init__.py | 1 -
13490 gi/gimodule.c | 72 +++++
13491 gi/overrides/GLib.py | 95 +++++-
13492 8 files changed, 161 insertions(+), 789 deletions(-)
13494 commit 0bfa6b44b808d9f8f55199216c29c1aec96c7719
13495 Author: Martin Pitt <martinpitt@gnome.org>
13496 Date: Thu Oct 25 12:59:46 2012 +0200
13498 test_iochannel.py: Fix data type of IOFlags
13500 ~GLib.IOFlags.NONBLOCK yields an int instead of a GLib.IOFlags,
13502 the result is of type GLib.IOFlags again.
13504 tests/test_iochannel.py | 2 +-
13505 1 file changed, 1 insertion(+), 1 deletion(-)
13507 commit 25d12afd06863ce223a161ba1317bfe5503bca5c
13508 Author: Martin Pitt <martinpitt@gnome.org>
13509 Date: Thu Oct 25 08:24:31 2012 +0200
13511 Add environment variable to disable pep8 checks
13513 pep8 takes quite long for "make check". Skip it if $SKIP_PEP8 is
13515 makes the test/fix turnaround time faster.
13517 tests/Makefile.am | 6 ++++--
13518 1 file changed, 4 insertions(+), 2 deletions(-)
13520 commit e9624ed1d38c777de2b430e3b0fbae2acbf34956
13521 Author: Simon Feltman <sfeltman@src.gnome.org>
13522 Date: Wed Oct 24 04:31:26 2012 -0700
13524 [API add] Add get_introspection_module for getting un-overridden
13527 Add gi.module.get_introspection_module to explicitly get a
13528 wrapped module pulled in through introspection without static
13529 and python override handling. This API is intended for python
13530 overrides to use rather than having them access
13531 gi.importer.modules['<name>']._introspection_module directly.
13532 Replace aforementioned usage in all overrides.
13534 https://bugzilla.gnome.org/show_bug.cgi?id=686828
13537 +++++++++++++++++++++++++++++++++++---
13538 gi/overrides/GIMarshallingTests.py | 4 ++--
13539 gi/overrides/GLib.py | 4 ++--
13540 gi/overrides/Gdk.py | 6 +++---
13541 gi/overrides/Gio.py | 4 ++--
13542 gi/overrides/Gtk.py | 5 +++--
13543 gi/overrides/Pango.py | 4 ++--
13544 tests/test_overrides.py | 29 +++++++++++++++++++++++++++++
13545 8 files changed, 78 insertions(+), 16 deletions(-)
13547 commit e6e047ef9b8575c852b3cdc3f5d4dfbb548cc648
13548 Author: Martin Pitt <martinpitt@gnome.org>
13549 Date: Wed Oct 24 15:16:13 2012 +0200
13551 test_option: Use public API
13553 Use GLib.option, not gi._glib.option.
13555 tests/test_option.py | 42 ++++++++++++++++++++----------------------
13556 1 file changed, 20 insertions(+), 22 deletions(-)
13558 commit 6a586af41b8740c4ba590591d1068d80071ff2dc
13559 Author: Martin Pitt <martinpitt@gnome.org>
13560 Date: Wed Oct 24 14:12:05 2012 +0200
13562 Drop static SPAWN_* constants
13564 Use the introspected constants instead, which are identical. Add
13566 compatible aliases.
13568 These constants are covered by tests/test_subprocess.py.
13570 https://bugzilla.gnome.org/show_bug.cgi?id=686765
13572 docs/reference/pyglib-constants.xml | 68
13573 ----------------------------------
13574 docs/reference/pyglib-functions.xml | 26 ++++++-------
13575 docs/reference/pygobject-constants.xml | 67
13576 ---------------------------------
13577 gi/_glib/__init__.py | 7 ----
13578 gi/_glib/glibmodule.c | 15 --------
13579 gi/_gobject/__init__.py | 7 ----
13580 gi/overrides/GLib.py | 6 +++
13581 gi/overrides/GObject.py | 6 ++-
13582 tests/test_subprocess.py | 6 ++-
13583 9 files changed, 29 insertions(+), 179 deletions(-)
13585 commit 0137a7af7bf69421e0c8e94120a1f8cff01fbeea
13586 Author: Martin Pitt <martinpitt@gnome.org>
13587 Date: Wed Oct 24 13:59:31 2012 +0200
13589 Drop static IO_* constants
13591 Use the introspected constants instead, which are identical. Add
13593 compatible aliases.
13595 These constants are covered by tests/test_iochannel.py.
13597 docs/reference/pyglib-constants.xml | 52
13598 -------------------------------------
13599 gi/_glib/__init__.py | 19 --------------
13600 gi/_glib/glibmodule.c | 32 -----------------------
13601 gi/_gobject/__init__.py | 18 -------------
13602 gi/overrides/GLib.py | 18 ++++++++++++-
13603 gi/overrides/GObject.py | 8 +++++-
13604 tests/test_iochannel.py | 1 +
13605 tests/test_source.py | 2 +-
13606 8 files changed, 26 insertions(+), 124 deletions(-)
13608 commit 0e1a6ccee45ae2239da1c44de1866596343165ba
13609 Author: Martin Pitt <martinpitt@gnome.org>
13610 Date: Wed Oct 24 12:50:50 2012 +0200
13612 Fix various bugs in GLib.IOChannel
13614 - Fix segfault when using an IOChannel as an iterator: PyIter_Next()
13616 NULL on the last element, instead of raising a StopIteration.
13618 - The default encoding of a stream is 'UTF-8', not NULL. NULL means
13620 stream is being used in binary mode; in that case, we should not
13622 do any automagic conversion to an Unicode object. As this special
13624 inconsistent and has never worked anyway, and the current buggy
13625 implementation breaks binary streams, just drop it without
13627 (Introduced in commit de9eae4dfcce8)
13629 These bugs were uncovered by the previously committed tests.
13631 gi/_glib/pygiochannel.c | 25 +++++--------------------
13632 1 file changed, 5 insertions(+), 20 deletions(-)
13634 commit a98c37937a4f7cb81a0b02c023d12097f386a22c
13635 Author: Martin Pitt <martinpitt@gnome.org>
13636 Date: Wed Oct 24 12:49:04 2012 +0200
13638 Add tests for GLib.IOChannel
13640 This did not have any code coverage at all. The tests uncover a
13642 which will be fixed in the next commit.
13644 tests/Makefile.am | 1 +
13645 tests/test_iochannel.py | 262
13646 ++++++++++++++++++++++++++++++++++++++++++++++++
13647 2 files changed, 263 insertions(+)
13649 commit 1b27432abf6004553e9476d5ffeb2bf603534419
13650 Author: Martin Pitt <martinpitt@gnome.org>
13651 Date: Wed Oct 24 08:50:37 2012 +0200
13653 Remove static idle_add/timeout_add bindings
13655 Use the GLib functions through GI instead. Add overrides to ensure
13657 arguments continue to work as before, and that callbacks are called
13659 userdata argument if it wasn't specified.
13661 docs/reference/pyglib-functions.xml | 165
13662 ------------------------------------
13663 gi/_glib/__init__.py | 3 -
13664 gi/_glib/glibmodule.c | 139 ------------------------------
13665 gi/_gobject/__init__.py | 3 -
13666 gi/overrides/GLib.py | 31 +++++++
13667 gi/overrides/GObject.py | 3 +-
13668 tests/test_source.py | 19 +++++
13669 7 files changed, 52 insertions(+), 311 deletions(-)
13671 commit 2357f4a0237feabcf6886f2a448aa3f42f6781b9
13672 Author: Martin Pitt <martinpitt@gnome.org>
13673 Date: Wed Oct 24 09:14:57 2012 +0200
13675 Add tests for priority argument of idle_add/timeout_add
13677 There is a potential to treat the priority as user data in a call like
13678 "GLib.idle_add(cb, GLib.PRIORITY_HIGH)". The current static bindings
13680 using a keyword argument for the priority (but silently ignore it
13682 specify both userdata and priority as a positional argument).
13684 Test the correct handling of priority as well.
13686 tests/test_source.py | 63
13687 ++++++++++++++++++++++++++++++++++++++++++++++++----
13688 1 file changed, 59 insertions(+), 4 deletions(-)
13690 commit dceb4d60e210cb1531ad81935733a3f0be0c8edb
13691 Author: Martin Pitt <martinpitt@gnome.org>
13692 Date: Wed Oct 24 08:40:50 2012 +0200
13694 Drop old ChangeLog.pre-2.18
13696 This is ancient by now, quite sizable, and the complete history can
13698 seen in the git log.
13700 ChangeLog.pre-2.18 | 3608
13701 ----------------------------------------------------
13703 2 files changed, 3609 deletions(-)
13705 commit 127ef91f1563caa346bc2ac2adb064487a84e6a0
13706 Author: Martin Pitt <martinpitt@gnome.org>
13707 Date: Wed Oct 24 08:39:05 2012 +0200
13709 Fix PEP-8 whitespace in previous commit
13711 tests/test_source.py | 4 ++++
13712 1 file changed, 4 insertions(+)
13714 commit 0bc0b55be0dae7528c2fc7439d672ad4e417335d
13715 Author: Martin Pitt <martinpitt@gnome.org>
13716 Date: Wed Oct 24 08:33:49 2012 +0200
13718 Add tests for idle_add()/timeout_add with and without user data
13720 This is implicitly spread over various test cases, but let's test
13722 to ensure that the behaviour stays consistent when moving this to GI.
13724 tests/test_source.py | 35 +++++++++++++++++++++++++++++++++++
13725 1 file changed, 35 insertions(+)
13727 commit d0a0332feb7946f4bb6b43211d6fe3ae67e7dba5
13728 Author: Martin Pitt <martinpitt@gnome.org>
13729 Date: Wed Oct 24 08:05:43 2012 +0200
13731 tests: consitent naming style
13733 Stop mixing camel case and underline naming, use the latter
13737 tests/test_gobject.py | 64
13738 +++++++++++++++++++++++------------------------
13739 tests/test_interface.py | 4 +--
13740 tests/test_option.py | 14 +++++------
13741 tests/test_pygtkcompat.py | 32 ++++++++++++------------
13742 tests/test_signal.py | 10 ++++----
13743 tests/test_source.py | 23 ++++++++---------
13744 tests/test_subprocess.py | 2 +-
13745 tests/test_thread.py | 2 +-
13746 tests/test_unknown.py | 2 +-
13747 9 files changed, 76 insertions(+), 77 deletions(-)
13749 commit 4b460e2eb18b8340fe99252063fdb08b0c222968
13750 Author: Martin Pitt <martinpitt@gnome.org>
13751 Date: Wed Oct 24 07:28:10 2012 +0200
13753 Work around wrong 64 bit constants in GLib Gir
13755 GLib's gir currently has wrong constants for MININT64 and MAXUINT64;
13757 set them in an override, until this gets fixed properly.
13759 https://bugzilla.gnome.org/show_bug.cgi?id=685022
13761 gi/overrides/GLib.py | 8 ++++++++
13762 tests/test_gi.py | 9 +++++++++
13763 2 files changed, 17 insertions(+)
13765 commit f30efd2619911c89ca873fac6bec06a1b60fab82
13766 Author: Martin Pitt <martinpitt@gnome.org>
13767 Date: Tue Oct 23 13:32:14 2012 +0200
13769 Mark GLib.Source.get_current_time() as deprecated
13771 This method has been deprecated in GLib long ago. We have a workaround
13772 implementation using GLib.get_real_time(), but eventually this should
13775 gi/overrides/GLib.py | 5 ++++-
13776 tests/test_source.py | 8 +++++++-
13777 2 files changed, 11 insertions(+), 2 deletions(-)
13779 commit 483c86267f2623eaa88d6a9e685c96ec3ba4f121
13780 Author: Martin Pitt <martinpitt@gnome.org>
13781 Date: Tue Oct 23 08:56:19 2012 +0200
13783 Mark GLib API that is exposed in GObject as deprecated
13785 A lot of API in GObject really belongs into GLib and is just there for
13786 historical/backwards compatible reasons. Mark these methods as
13788 that at some point we can drop them.
13790 gi/overrides/GObject.py | 3 ++-
13791 gi/overrides/__init__.py | 13 +++++++++++++
13792 tests/test_gobject.py | 24 ++++++++++++++----------
13793 3 files changed, 29 insertions(+), 11 deletions(-)
13795 commit 191cf45af44850fc29f2392ae2f0042aed6d13a9
13796 Author: Martin Pitt <martinpitt@gnome.org>
13797 Date: Fri Oct 19 09:55:05 2012 +0200
13799 Remove static MainLoop, MainContext, and some GSource bindings
13801 glib's MainLoop and MainContext are fully introspectable these days,
13803 our static bindings. This reduces our code, as well enables GLib
13805 hasn't been available through the static bindings before.
13807 This also requires dropping our custom static types for GLib Source,
13809 and Idle. The latter two work fine with introspection and just
13811 overrides for a backwards compatible API. g_source_new() is not
13813 though, so we need to keep our static wrappers for that. Move
13815 gi/_glib/pygsource.c to gi/pygi-source.c, so that it can use the
13818 Note that gi/_glib/pygsource.[hc] is still required for the static
13820 which is used by the static IOChannel binding. Once the latter
13822 PollFD can be dropped as well.
13824 https://bugzilla.gnome.org/show_bug.cgi?id=686443
13826 docs/Makefile.am | 6 +-
13827 docs/reference/pyglib-classes.xml | 2 -
13828 docs/reference/pyglib-constants.xml | 53 ---
13829 docs/reference/pyglib-functions.xml | 58 ---
13830 docs/reference/pyglib-maincontext.xml | 152 --------
13831 docs/reference/pyglib-mainloop.xml | 202 -----------
13832 gi/Makefile.am | 2 +
13833 gi/_glib/Makefile.am | 4 -
13834 gi/_glib/__init__.py | 12 -
13835 gi/_glib/glibmodule.c | 45 +--
13836 gi/_glib/pyglib.c | 15 -
13837 gi/_glib/pyglib.h | 1 -
13838 gi/_glib/pygmaincontext.c | 126 -------
13839 gi/_glib/pygmaincontext.h | 40 ---
13840 gi/_glib/pygmainloop.c | 362 -------------------
13841 gi/_glib/pygmainloop.h | 36 --
13842 gi/_glib/pygsource.c | 640
13843 ----------------------------------
13844 gi/_glib/pygsource.h | 3 -
13845 gi/_gobject/__init__.py | 13 -
13846 gi/gimodule.c | 9 +
13847 gi/overrides/GLib.py | 116 +++++-
13848 gi/overrides/GObject.py | 10 +-
13849 gi/pygi-private.h | 1 +
13850 gi/pygi-source.c | 247 +++++++++++++
13851 gi/pygi-source.h | 31 ++
13852 tests/test_glib.py | 22 +-
13853 tests/test_gobject.py | 2 +
13854 tests/test_source.py | 3 -
13855 28 files changed, 437 insertions(+), 1776 deletions(-)
13857 commit 326218a20681c1f2234a6eea1ed800382be57626
13858 Author: Simon Feltman <s.feltman@gmail.com>
13859 Date: Wed Sep 19 15:37:14 2012 -0700
13861 Deprecate void pointer fields as general PyObject storage.
13863 Complete deprecation of gpointer struct fields as general
13864 PyObject storage. Only int types are now allowed.
13865 Assignment of anything other than an int or None raises
13866 a TypeError stating the error and associated bug URL.
13868 https://bugzilla.gnome.org/show_bug.cgi?id=683599
13870 gi/pygi-argument.c | 25 ++++++++++++++++-----
13871 gi/pygi-info.c | 28 ++++--------------------
13872 tests/test_everything.py | 53
13873 +++++++++++++++++++++++++--------------------
13874 tests/test_overrides_gtk.py | 41 -----------------------------------
13875 4 files changed, 54 insertions(+), 93 deletions(-)
13877 commit 3dba328010a4ffd9259700ffec95871c7341d491
13878 Author: Martin Pitt <martinpitt@gnome.org>
13879 Date: Tue Oct 23 11:59:08 2012 +0200
13881 Add some MainLoop, MainContext, and Source test cases
13883 These cover the remaining static API and behaviour, so that we
13885 regression tests for converting them to GI.
13887 See https://bugzilla.gnome.org/show_bug.cgi?id=686443
13889 tests/test_glib.py | 21 +++++++++++++++++++++
13890 tests/test_gobject.py | 11 +++++++++++
13891 tests/test_mainloop.py | 16 ++++++++++++++++
13892 tests/test_source.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
13893 4 files changed, 92 insertions(+)
13895 commit 7635340271df0a135873459e6a2a365fd4b187a2
13896 Author: Steve Frécinaux <code@istique.net>
13897 Date: Wed Feb 9 18:37:33 2011 +0100
13899 [API change] Do not bind gobject_get_data() and gobject_set_data()
13901 They will basically cause a crash if misused, and you can always use a
13902 python member attribute instead.
13904 These methods were marked as deprecated for 3.4 and throwing a
13906 let's remove them for good now.
13908 https://bugzilla.gnome.org/show_bug.cgi?id=641944
13910 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
13912 docs/reference/pygobject.xml | 63
13913 --------------------------------------------
13914 gi/_gobject/pygobject.c | 44 -------------------------------
13915 2 files changed, 107 deletions(-)
13917 commit cfec113e3b3eabf8db834f48b2f16792d1e841a3
13918 Author: Martin Pitt <martinpitt@gnome.org>
13919 Date: Tue Oct 23 08:17:40 2012 +0200
13921 Add test for GLib.get_current_time()
13923 This adds a plausibility test, as well as ensuring the documented
13925 This will be useful if/once we drop the static _glib binding.
13927 tests/test_glib.py | 5 +++++
13928 1 file changed, 5 insertions(+)
13930 commit fb473b31054744e5ab59e9d4ed3b74571e27d3ff
13931 Author: Martin Pitt <martinpitt@gnome.org>
13932 Date: Tue Oct 23 07:48:52 2012 +0200
13934 Drop unnecessary static _glib bindings
13936 Drop static pyglib bindings which have straightforward and working
13938 bindings. Add tests for all dropped functions to ensure they keep
13941 docs/reference/pyglib-constants.xml | 59 -------
13942 docs/reference/pyglib-functions.xml | 270 ------------------------------
13943 gi/_glib/__init__.py | 24 ---
13944 gi/_glib/glibmodule.c | 319
13945 ------------------------------------
13946 gi/_gobject/__init__.py | 9 -
13947 gi/overrides/GLib.py | 16 ++
13948 gi/overrides/GObject.py | 32 ++++
13949 gi/overrides/Makefile.am | 1 +
13950 tests/Makefile.am | 1 -
13951 tests/test_glib.py | 46 ++++++
13952 tests/test_gobject.py | 4 +
13953 tests/test_uris.py | 16 --
13954 12 files changed, 99 insertions(+), 698 deletions(-)
13956 commit 126a10f765af3d3a6f08ce5db7ed9f3ef647848f
13957 Author: Martin Pitt <martinpitt@gnome.org>
13958 Date: Tue Oct 23 06:12:08 2012 +0200
13960 Fix OverflowError in source_remove()
13962 GSource IDs are unsigned, so we must use 'I' for parsing then, not
13965 https://bugzilla.gnome.org/show_bug.cgi?id=684526
13967 gi/_glib/glibmodule.c | 2 +-
13968 tests/test_source.py | 13 ++++++++++++-
13969 2 files changed, 13 insertions(+), 2 deletions(-)
13971 commit 15f7442bd0c45db25073e3d8494094f1c284ffa4
13972 Author: Martin Pitt <martinpitt@gnome.org>
13973 Date: Mon Oct 22 13:38:23 2012 +0200
13975 Fix TestSource.testSources() test case
13977 PyGObject has established the assumption that the destruction of
13979 Python object does not destroy the actual GSource, as shown in
13980 TestSource.setup_timeout(), TestTimeout.test504337(), and
13981 https://bugzilla.gnome.org/show_bug.cgi?id=504337.
13983 So we need to explicitly destroy our MySource and Idle objects
13985 them, as their callbacks always return True and we do not want them
13987 over into other tests.
13989 Also fix the assertions to actually verify that MySources' callback
13991 (pos > 0, not pos >= 0), and use the unittest comparison API instead
13993 simple assert statement.
13995 https://bugzilla.gnome.org/show_bug.cgi?id=686627
13997 tests/test_source.py | 8 +++++++-
13998 1 file changed, 7 insertions(+), 1 deletion(-)
14000 commit b984a5fe0d065818a153f259db4dbde79534f084
14001 Author: Martin Pitt <martinpitt@gnome.org>
14002 Date: Mon Oct 22 17:38:56 2012 +0200
14004 configure.ac: post-release bump to 3.7.2
14006 configure.ac | 2 +-
14007 1 file changed, 1 insertion(+), 1 deletion(-)
14009 commit ce0825f58c3eba6084143e430605ffb597622369
14010 Author: Martin Pitt <martinpitt@gnome.org>
14011 Date: Mon Oct 22 17:37:17 2012 +0200
14015 NEWS | 42 ++++++++++++++++++++++++++++++++++++++++++
14016 1 file changed, 42 insertions(+)
14018 commit a93763337ba7f952d787c42f45bfbb3ff02cc80d
14019 Author: Martin Pitt <martinpitt@gnome.org>
14020 Date: Mon Oct 22 17:33:12 2012 +0200
14022 Bump version to 3.7.1
14024 Let's follow the real GNOME versioning from now on.
14026 configure.ac | 2 +-
14027 1 file changed, 1 insertion(+), 1 deletion(-)
14029 commit 3fb13cc05a281970c3a624c2dd152996031b482c
14030 Author: Martin Pitt <martinpitt@gnome.org>
14031 Date: Mon Oct 22 11:36:49 2012 +0200
14033 test_mainloop code cleanup
14035 Ensure that sys.excepthook is always restored, even if the test
14037 assert{True,False,Equal} unittest API instead of simple asserts for
14041 tests/test_mainloop.py | 19 ++++++++++---------
14042 1 file changed, 10 insertions(+), 9 deletions(-)
14044 commit 31061f20083aa60919f6763a12addbf2b052cab7
14045 Author: Simon Feltman <sfeltman@src.gnome.org>
14046 Date: Sun Oct 21 18:55:24 2012 -0700
14048 Change install_properties to not use getattr on classes
14050 The usage of getattr for accessing a classes __gproperties__
14051 variable can be problematic due to the potential of it returning
14052 the parent classes variable when it does not exist on the sub-class.
14053 Similar to the fix for
14054 https://bugzilla.gnome.org/show_bug.cgi?id=686496,
14055 cls.__dict__.get is used to ensure this does not happen.
14057 https://bugzilla.gnome.org/show_bug.cgi?id=686559
14059 gi/_gobject/propertyhelper.py | 2 +-
14060 tests/test_properties.py | 6 ++++--
14061 2 files changed, 5 insertions(+), 3 deletions(-)
14063 commit 438d3e68f19e2af5d027e18842ab05e0421d088d
14064 Author: Simon Feltman <sfeltman@src.gnome.org>
14065 Date: Sat Oct 20 19:56:04 2012 -0700
14067 Move property install function into propertyhelper.py
14069 Move _install_properties() into gi/_gobject/propertyhelper.py
14072 https://bugzilla.gnome.org/show_bug.cgi?id=686559
14074 gi/_gobject/__init__.py | 45 +++----------------------------
14075 gi/_gobject/propertyhelper.py | 45 +++++++++++++++++++++++++++++++
14076 tests/test_properties.py | 63
14077 +++++++++++++++++++++++++++++++++++++++++++
14078 3 files changed, 111 insertions(+), 42 deletions(-)
14080 commit 695a9077aa8f40357e050f090caa5e2b8c5c9593
14081 Author: Simon Feltman <s.feltman@gmail.com>
14082 Date: Sat Oct 20 03:11:07 2012 -0700
14084 Fix Signal decorator to not use base class gsignals dict
14086 Fix install_signals to not use the parent classes __gsignals__
14087 dict if one does not exist on the given class.
14089 https://bugzilla.gnome.org/show_bug.cgi?id=686496
14091 gi/_gobject/signalhelper.py | 2 +-
14092 tests/test_signal.py | 43
14093 +++++++++++++++++++++++++++++++++++++++++++
14094 2 files changed, 44 insertions(+), 1 deletion(-)
14096 commit 1ff04e846d50b948df6fa3260c548ef4f4779c58
14097 Author: Martin Pitt <martinpitt@gnome.org>
14098 Date: Fri Oct 19 09:05:01 2012 +0200
14100 tests: Consistently use GLib.MainLoop
14102 ... instead of mixing GObject.MainLoop and GLib.MainLoop.
14104 tests/test_everything.py | 4 ++--
14105 tests/test_gdbus.py | 11 +++++------
14106 2 files changed, 7 insertions(+), 8 deletions(-)
14108 commit ff7e7401b4cf50532fef70263f7559ea513b8333
14109 Author: Kalev Lember <kalevlember@gmail.com>
14110 Date: Wed Oct 17 18:27:14 2012 +0200
14112 Install the .egg-info files into correct multilib directory
14114 This makes sure the .egg-info files end up in the same python
14116 directory as the rest of the gi .py files.
14118 https://bugzilla.gnome.org/show_bug.cgi?id=686315
14120 Makefile.am | 6 +++---
14121 1 file changed, 3 insertions(+), 3 deletions(-)
14123 commit 91e4cb2063d4e83fb1f6586a4396471d64f234f4
14124 Author: Simon Feltman <s.feltman@gmail.com>
14125 Date: Mon Oct 15 04:03:50 2012 -0700
14127 Fix leaked vfunc return values
14129 Simple fix to dec ref returned values from closures wrapping
14132 https://bugzilla.gnome.org/show_bug.cgi?id=686140
14134 gi/pygi-closure.c | 1 +
14135 tests/test_gi.py | 21 +++++++++++++++++++--
14136 2 files changed, 20 insertions(+), 2 deletions(-)
14138 commit 75e373b99c3cb66dd60b13c803e5f7eec77cc415
14139 Author: Martin Pitt <martinpitt@gnome.org>
14140 Date: Mon Oct 15 07:42:05 2012 +0200
14142 Skip Regress tests with --disable-cairo
14144 We need cairo to build g-i's Regress library, gir, and typelib. Update
14145 configure.ac to only require cairo if --disable-cairo was not
14147 --disable-cairo, skip building the Regress library and skip all
14151 https://bugzilla.gnome.org/show_bug.cgi?id=685094
14153 configure.ac | 5 ++---
14154 tests/Makefile.am | 45
14155 +++++++++++++++++++++++++++------------------
14156 tests/test_everything.py | 15 +++++++++++----
14157 tests/test_overrides.py | 7 ++++++-
14158 4 files changed, 46 insertions(+), 26 deletions(-)
14160 commit a2ab72aa39824579d1767d1fdba7e1031341f86c
14161 Author: Martin Pitt <martinpitt@gnome.org>
14162 Date: Fri Oct 12 11:05:24 2012 +0200
14164 _pygi_marshal_from_py_uint64: Re-fix check of negative values
14166 Fix regression from commit 1bfcd5d94 (exposed by several test cases)
14170 https://bugzilla.gnome.org/show_bug.cgi?id=685000
14172 gi/pygi-marshal-from-py.c | 6 +++---
14173 1 file changed, 3 insertions(+), 3 deletions(-)
14175 commit 22c22124b787ae67638aff89796d7ce14900ea8e
14176 Author: Simon Feltman <s.feltman@gmail.com>
14177 Date: Mon Oct 8 05:54:30 2012 -0700
14179 Fix leak with python callables as closure argument.
14181 The fix adds an extra args_data list to the PyGIInvokeState
14182 structure. This list is used to track dynamically generated
14183 closures that wrap python callables. This allows the ffi closure
14184 and python callable to be freed when call scope has finished.
14186 https://bugzilla.gnome.org/show_bug.cgi?id=685598
14188 gi/pygi-cache.c | 1 +
14189 gi/pygi-closure.c | 41 +++++++++----
14190 gi/pygi-invoke-state-struct.h | 4 ++
14191 gi/pygi-invoke.c | 7 +++
14192 gi/pygi-marshal-cleanup.c | 14 +++++
14193 gi/pygi-marshal-cleanup.h | 4 ++
14194 gi/pygi-marshal-from-py.c | 57 ++++++++++++++----
14195 tests/test_everything.py | 137
14196 +++++++++++++++++++++++++++++++-----------
14197 8 files changed, 206 insertions(+), 59 deletions(-)
14199 commit c0bc69906df2db64560f7c054277ad1956aab57f
14200 Author: Martin Pitt <martinpitt@gnome.org>
14201 Date: Thu Oct 11 17:49:30 2012 +0200
14203 Gio overrides: Handle setting GSettings enum keys
14205 https://bugzilla.gnome.org/show_bug.cgi?id=685947
14207 gi/overrides/Gio.py | 9 ++++++++-
14208 tests/test_overrides_gio.py | 3 +++
14209 2 files changed, 11 insertions(+), 1 deletion(-)
14211 commit bbbb7c9ed047a22ac3c43f2b0331d3b5ea32e812
14212 Author: Martin Pitt <martinpitt@gnome.org>
14213 Date: Thu Oct 11 17:20:38 2012 +0200
14215 tests: Check reading GSettings enums in Gio overrides
14217 Also split test_override() into several smaller test cases.
14219 tests/org.gnome.test.gschema.xml | 9 +++++++++
14220 tests/test_overrides_gio.py | 14 +++++++++-----
14221 2 files changed, 18 insertions(+), 5 deletions(-)
14223 commit 8a2e96cd4e33b6c119a368d73a9d5504576cdccb
14224 Author: Martin Pitt <martinpitt@gnome.org>
14225 Date: Thu Oct 11 16:08:11 2012 +0200
14227 Fix unsigned values in GArray/GList/GSList/GHash
14229 _pygi_hash_pointer_to_arg() needs to handle unsigned integers as well.
14231 https://bugzilla.gnome.org/show_bug.cgi?id=685860
14233 gi/pygi-argument.c | 9 +++++++++
14234 tests/test_gi.py | 12 ++++++++++++
14235 2 files changed, 21 insertions(+)
14237 commit d394acbb58b38e6f52ee71e8e663a892676ab9e4
14238 Author: Colin Walters <walters@verbum.org>
14239 Date: Thu Oct 4 20:13:55 2012 -0400
14241 build: Fix srcdir != builddir
14244 1 file changed, 1 insertion(+), 1 deletion(-)
14246 commit 1bfcd5d94b71edc9f03c8b3e87952a8bc8097586
14247 Author: Alban Browaeys <prahal@yahoo.com>
14248 Date: Thu Sep 27 22:44:22 2012 +0200
14250 _pygi_marshal_from_py_uint64(): Use correct data type in py2.7 check
14252 Casting an unsigned to signed and checking if positive was not
14254 unsigned 64 is below G_MAXUINT64 instead.
14256 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=685000
14258 gi/pygi-marshal-from-py.c | 4 ++--
14259 1 file changed, 2 insertions(+), 2 deletions(-)
14261 commit f0870336b9fc7797895f206e0d3ef17a19efe253
14262 Author: Johan Dahlin <johan@gnome.org>
14263 Date: Tue Oct 2 05:30:16 2012 -0700
14265 Install an .egg-info file
14267 This will help easy_install and pip to figure out that PyGObject
14268 is already installed.
14270 https://bugzilla.gnome.org/show_bug.cgi?id=680138
14272 Makefile.am | 13 ++++++++-----
14273 1 file changed, 8 insertions(+), 5 deletions(-)
14275 commit 4c9318d97aa34051a0460e8db2ed0f963126b7f5
14276 Author: Johan Dahlin <johan@gnome.org>
14277 Date: Thu Oct 4 09:42:41 2012 +0200
14279 PyGProps_getattro(): Fix GObjectClass leak
14281 https://bugzilla.gnome.org/show_bug.cgi?id=685218
14283 gi/_gobject/pygobject.c | 4 +++-
14284 1 file changed, 3 insertions(+), 1 deletion(-)
14286 commit 2aa61520eb4f293ce94d54605d7642a39e18e03d
14287 Author: Olivier Crête <olivier.crete@collabora.com>
14288 Date: Mon Sep 17 15:16:32 2012 -0400
14290 pygobject.c: Don't leak GObjectClass reference
14292 https://bugzilla.gnome.org/show_bug.cgi?id=684062
14294 gi/_gobject/pygobject.c | 6 +++++-
14295 1 file changed, 5 insertions(+), 1 deletion(-)
14297 commit 43d356d03d4c83e9de3c56f98a70d387b46f17af
14298 Author: Alban Browaeys <prahal@yahoo.com>
14299 Date: Sat Sep 29 01:17:14 2012 +0200
14301 Fix memory leak in _pygi_argument_to_array()
14303 Length arg and type info need to be unref'ed.
14305 https://bugzilla.gnome.org/show_bug.cgi?id=685082
14307 gi/pygi-argument.c | 3 +++
14308 1 file changed, 3 insertions(+)
14310 commit 34270a109d2af20391c80e88874ee7303eaf5c09
14311 Author: Martin Pitt <martinpitt@gnome.org>
14312 Date: Fri Sep 28 07:42:51 2012 +0200
14314 Fix error messages for out of range numbers
14316 PyErr_Format() does not understand %lli and %li, it needs to be %lld
14318 So we cannot use those and G_GINT64_FORMAT.
14320 Also remove the "if (long_ < G_MININT64 || long_ > G_MAXINT64)"
14322 is a gint64 which can't possibly overflow its own data type. It
14324 an unprintable error message.
14326 https://bugzilla.gnome.org/show_bug.cgi?id=684314
14328 gi/pygi-marshal-from-py.c | 21 ++++++++-------------
14329 1 file changed, 8 insertions(+), 13 deletions(-)
14331 commit 7f1422bf929976722edd6144beb0b4c96d74391b
14332 Author: Martin Pitt <martinpitt@gnome.org>
14333 Date: Fri Sep 28 06:59:38 2012 +0200
14335 Kill dbus-daemon after running tests
14337 dbus-launch does not kill the spawned dbus-daemon by itself (see
14338 https://bugs.freedesktop.org/show_bug.cgi?id=39196), so do that
14340 our tests. Take care to preserve the exit code.
14342 https://bugzilla.gnome.org/show_bug.cgi?id=685009
14344 tests/Makefile.am | 5 ++++-
14345 1 file changed, 4 insertions(+), 1 deletion(-)
14347 commit bfd9c8fac1ea240b29fbcd4185dc1702539c1e96
14348 Author: Martin Pitt <martinpitt@gnome.org>
14349 Date: Thu Sep 27 08:18:34 2012 +0200
14351 GVariant overrides: Support empty tuple arrays
14353 Implement the "empty value" branch in _create_tuple(), so that
14355 can call it for parsing the element type for an empty array.
14357 This fixes creating variants such as GLib.Variant('a(ii)', []).
14359 https://bugzilla.gnome.org/show_bug.cgi?id=684928
14361 gi/overrides/GLib.py | 30 +++++++++++++++++++++++-------
14362 tests/test_overrides_glib.py | 31 +++++++++++++++++++++++++++++++
14363 2 files changed, 54 insertions(+), 7 deletions(-)
14365 commit 75d452ea5b179c3585adcf95356b4316c9180768
14366 Author: Martin Pitt <martinpitt@gnome.org>
14367 Date: Thu Sep 27 06:50:12 2012 +0200
14369 TestGVariant: Split creation test case into several smaller ones
14371 tests/test_overrides_glib.py | 20 ++++++--------------
14372 1 file changed, 6 insertions(+), 14 deletions(-)
14374 commit 4a20bcb3f97614044d351f8e436a81d332db55ba
14375 Author: Martin Pitt <martinpitt@gnome.org>
14376 Date: Tue Sep 25 09:10:10 2012 +0200
14378 Fix unused variables and results
14380 This gets rid of all warnings except the deprecated symbol ones.
14382 gi/_glib/pygiochannel.c | 9 +++------
14383 gi/pygi-argument.c | 4 +---
14384 gi/pygi-callbacks.c | 4 ----
14385 gi/pygi-ccallback.c | 1 -
14386 gi/pygi-repository.c | 3 +--
14387 5 files changed, 5 insertions(+), 16 deletions(-)
14389 commit 5285f14fee93d2729d4422c40a945adc2be69c14
14390 Author: Martin Pitt <martinpitt@gnome.org>
14391 Date: Tue Sep 25 08:56:20 2012 +0200
14393 tests: Fix wrong return type in test_int64_callback()
14395 https://bugzilla.gnome.org/show_bug.cgi?id=684700
14397 tests/testhelpermodule.c | 2 +-
14398 1 file changed, 1 insertion(+), 1 deletion(-)
14400 commit e14ebab6099d082466ec11ca21d44de0d6017216
14401 Author: Giovanni Campagna <gcampagna@src.gnome.org>
14402 Date: Wed Sep 19 00:10:57 2012 +0200
14404 Fix GValue marshalling of long and unsigned long
14406 long can be equivalent to int64 or int32, depending on the
14408 and GI conflates this distinction in the typelib, but GType does
14410 warns if the wrong accessor is used.
14412 https://bugzilla.gnome.org/show_bug.cgi?id=684331
14414 gi/pygi-argument.c | 25 +++++++++++++++++++++----
14415 1 file changed, 21 insertions(+), 4 deletions(-)
14417 commit 50571dd27d1f7c6bed8c5aaa518b504c9f4c4ab6
14418 Author: Simon Feltman <s.feltman@gmail.com>
14419 Date: Wed Sep 19 19:07:00 2012 -0700
14421 Clean up deprecation message for assigning gpointers to objects.
14423 The previous deprecation message was worded as if the deprecation
14424 had already occurred and it has not.
14426 https://bugzilla.gnome.org/show_bug.cgi?id=683599
14428 gi/pygi-info.c | 4 ++--
14429 1 file changed, 2 insertions(+), 2 deletions(-)
14431 commit 4bfe7972546413f46f5c36737ff03bb5612c1921
14432 Author: Olivier Crête <olivier.crete@collabora.com>
14433 Date: Tue Sep 18 08:52:02 2012 +0200
14435 pygi-property: Lookup property in base classes of non-introspected
14438 Look for introspection data in the base classes of non-introspected
14440 This is necessary to look up introspection data for plugins.
14442 https://bugzilla.gnome.org/show_bug.cgi?id=684058
14444 gi/pygi-property.c | 28 ++++++++++++++--------------
14445 tests/test_everything.py | 12 ++++++++++++
14446 2 files changed, 26 insertions(+), 14 deletions(-)
14448 commit 7aa94cc861082147b9c382b930f3257f0a842c84
14449 Author: Martin Pitt <martinpitt@gnome.org>
14450 Date: Mon Sep 24 09:41:10 2012 +0200
14452 post-release bump to 3.4.1
14454 configure.ac | 2 +-
14455 1 file changed, 1 insertion(+), 1 deletion(-)
14457 commit fcceed3adb8d78baba68861a1408627321b2c1ef
14458 Author: Martin Pitt <martinpitt@gnome.org>
14459 Date: Mon Sep 24 09:35:33 2012 +0200
14464 configure.ac | 4 ++--
14465 2 files changed, 5 insertions(+), 2 deletions(-)
14467 commit 645a9d9d4712f8f0d1b63899b309bbc97eb1f216
14468 Author: Martin Pitt <martinpitt@gnome.org>
14469 Date: Mon Sep 24 09:27:47 2012 +0200
14471 Bump g-i dependency to 1.33.14
14473 To ensure we have all the Regress test APIs that we use.
14475 configure.ac | 2 +-
14476 1 file changed, 1 insertion(+), 1 deletion(-)
14478 commit b6f4ef327fbeaa10fd74571c3df540311834d6ae
14479 Author: Martin Pitt <martinpitt@gnome.org>
14480 Date: Mon Sep 17 22:52:49 2012 +0200
14482 post-release bump to 3.3.93
14484 configure.ac | 2 +-
14485 1 file changed, 1 insertion(+), 1 deletion(-)
14487 commit 7e154cf01cf0ce7a8b52c45ba4db755f73b45d1d
14488 Author: Martin Pitt <martinpitt@gnome.org>
14489 Date: Mon Sep 17 22:48:13 2012 +0200
14493 NEWS | 12 ++++++++++++
14494 1 file changed, 12 insertions(+)
14496 commit adbe30dc72b4d88bb31055f6ee33fddf32638af9
14497 Author: Martin Pitt <martinpitt@gnome.org>
14498 Date: Mon Sep 17 22:32:55 2012 +0200
14500 release-news: Generate HTML changelog
14502 In addition to producing a NEWS paragraph from the changelog,
14504 changelog HTML which can be put into blog announcements.
14506 Update HACKING to point this out, too.
14509 Makefile.am | 22 ++++++++++++++++------
14510 2 files changed, 17 insertions(+), 7 deletions(-)
14512 commit be4a0682bdd189ee908ab1961001f759a80e133c
14513 Author: Simon Feltman <s.feltman@gmail.com>
14514 Date: Sun Sep 16 17:27:25 2012 -0700
14516 [API add] Add ObjectInfo.get_abstract method
14518 Adds exposure of g_object_info_get_abstract to python for
14519 helping with analysis of non-constructable objects from
14522 https://bugzilla.gnome.org/show_bug.cgi?id=675581
14524 gi/pygi-info.c | 8 ++++++++
14525 tests/test_gi.py | 12 ++++++++++++
14526 2 files changed, 20 insertions(+)
14528 commit 3ada408434860d0c8eee6c6a869b5a3d801cfbc8
14529 Author: Simon Feltman <s.feltman@gmail.com>
14530 Date: Thu Sep 13 20:53:22 2012 -0700
14532 Add deprecation warning when setting gpointers to anything other
14535 This is a first pass which does not change anything except add
14537 when anything other than an int is set on a gpointer on a boxed type.
14539 https://bugzilla.gnome.org/show_bug.cgi?id=683599
14541 gi/pygi-info.c | 8 ++++++++
14542 1 file changed, 8 insertions(+)
14544 commit a047f61f26d9c78b82d22948199313e5a389e918
14545 Author: Martin Pitt <martinpitt@gnome.org>
14546 Date: Mon Sep 17 09:41:24 2012 +0200
14548 test_properties: Test accessing a property from a superclass
14550 We already cover accessing the superclass' property if that was
14552 Python. Add a corresponding test case for a property defined in C.
14554 See https://bugzilla.gnome.org/show_bug.cgi?id=684058
14556 tests/test_properties.py | 12 ++++++++++++
14557 1 file changed, 12 insertions(+)
14559 commit 3e6a4000cbc4b0cb503fcd89b50202ed0b70d3a7
14560 Author: Martin Pitt <martinpitt@gnome.org>
14561 Date: Mon Sep 17 09:31:05 2012 +0200
14563 test_properties.py: Consistent test names
14565 Use underscore style method/test case names consistently. Also rename
14567 cases to better describe what they do.
14569 tests/test_properties.py | 78
14570 ++++++++++++++++++++++++------------------------
14571 1 file changed, 39 insertions(+), 39 deletions(-)
14573 commit 4069c3d8547f35437e0cee175a5912febe25326d
14574 Author: Martin Pitt <martinpitt@gnome.org>
14575 Date: Wed Sep 12 06:51:24 2012 +0200
14577 test_everything: Ensure TestSignals callback does get called
14579 tests/test_everything.py | 3 +++
14580 1 file changed, 3 insertions(+)
14582 commit 4e4c87e3868948743e0446abe2ba0cf5626374c4
14583 Author: Nicolas Dufresne <nicolas.dufresne@collabora.com>
14584 Date: Fri Sep 7 17:17:09 2012 -0400
14586 argument: Fix 64bit integer convertion from GValue
14588 Trying to get a 64bit integer using the wrong getter was resulting
14590 assertion and 0 being returned.
14592 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
14594 https://bugzilla.gnome.org/show_bug.cgi?id=683596
14596 gi/pygi-argument.c | 8 ++++++--
14597 tests/test_everything.py | 52
14598 ++++++++++++++++++++++++++++++++++++++++++++++++
14599 2 files changed, 58 insertions(+), 2 deletions(-)
14601 commit e474ce243ea7a58358af344ccadb1418f4d2c8eb
14602 Author: Martin Pitt <martinpitt@gnome.org>
14603 Date: Tue Sep 11 12:32:10 2012 +0200
14605 Add Simon Feltman as a project maintainer
14607 Signed-off-By: Martin Pitt <martinpitt@gnome.org>
14608 Signed-off-By: Paolo Borelli <pborelli@gnome.org>
14610 pygobject.doap | 7 +++++++
14611 1 file changed, 7 insertions(+)
14613 commit ee1fc78258f10e8a7872ee3da6c9ad6e7984706e
14614 Author: Martin Pitt <martinpitt@gnome.org>
14615 Date: Tue Sep 11 10:17:50 2012 +0200
14617 test_signals.py: Drop global type variables
14619 Just use the real types and flags from GObject instead of redefining
14621 for them. They weren't used consistently, make the tests harder to
14623 really do not want global single-letter variables like "f" and "l".
14625 tests/test_signal.py | 38 ++++++++++++++++----------------------
14626 1 file changed, 16 insertions(+), 22 deletions(-)
14628 commit 3688cf6efe7161585b943cfaafcfd4610b7ad768
14629 Author: Martin Pitt <martinpitt@gnome.org>
14630 Date: Tue Sep 11 10:11:58 2012 +0200
14632 test_signals.py: Consistent test names
14634 Use underscore style method/test case names consistently.
14636 tests/test_signal.py | 88
14637 ++++++++++++++++++++++++++--------------------------
14638 1 file changed, 44 insertions(+), 44 deletions(-)
14640 commit 4559247553b792db956f69c9674c12344d719c82
14641 Author: Martin Pitt <martinpitt@gnome.org>
14642 Date: Tue Sep 11 09:43:14 2012 +0200
14644 Add test cases for GValue signal arguments
14646 These cover various types, (u)int(64) and string.
14648 Keep the test case for implicit int64 GValues disabled, as this
14650 not work and it is not clear whether it should:
14651 https://bugzilla.gnome.org/show_bug.cgi?id=683775
14653 tests/test_signal.py | 41 +++++++++++++++++++++++++++++++++++++++++
14654 tests/testhelpermodule.c | 17 +++++++++++++++++
14655 2 files changed, 58 insertions(+)
14657 commit fddb01b0b71b68d154d130cf40fd5f38647b1a4d
14658 Author: Martin Pitt <martinpitt@gnome.org>
14659 Date: Tue Sep 11 09:31:18 2012 +0200
14661 Add test for GValue signal return values
14663 Another attempt to reproduce the reported error in
14664 https://bugzilla.gnome.org/show_bug.cgi?id=683596
14665 but this works already.
14667 tests/test_signal.py | 13 +++++++++++++
14668 tests/testhelpermodule.c | 36 ++++++++++++++++++++++++++++++++++++
14669 2 files changed, 49 insertions(+)
14671 commit 4f77c7798563ea436ff5b6306a987f03de50b211
14672 Author: Simon Feltman <s.feltman@gmail.com>
14673 Date: Fri Sep 7 02:32:15 2012 -0700
14675 Improve setting pointer fields/arguments to NULL using None
14677 Setting gi pointers will set them to the address of the python object.
14678 This is good except in the case of None which should be used to NULL
14679 the pointer out as a special case.
14681 Commit 21b1d17d2a already fixed this. This improved patch
14682 does that in a cleaner and safer way and adds more comments.
14684 https://bugzilla.gnome.org/show_bug.cgi?id=683150
14686 gi/pygi-argument.c | 8 +-------
14687 gi/pygi-info.c | 14 +++++++++++++-
14688 2 files changed, 14 insertions(+), 8 deletions(-)
14690 commit 15046b5a11f6c58a3e5a9c50cf0ce7f31f2cd55f
14691 Author: Martin Pitt <martinpitt@gnome.org>
14692 Date: Mon Sep 10 16:46:30 2012 +0200
14694 Test gint64 C signal arguments and return values
14696 tests/test_signal.py | 12 ++++++++++++
14697 tests/testhelpermodule.c | 14 ++++++++++++++
14698 2 files changed, 26 insertions(+)
14700 commit 822d9e07a95f706a40f64335765293542787da90
14701 Author: Martin Pitt <martinpitt@gnome.org>
14702 Date: Mon Sep 10 16:29:32 2012 +0200
14704 Test in/out int64 GValue method arguments.
14706 See https://bugzilla.gnome.org/show_bug.cgi?id=683596
14708 tests/test_gi.py | 9 +++++++++
14709 1 file changed, 9 insertions(+)
14711 commit 2d83e52233812618493af4b165615e8741ba41c8
14712 Author: Martin Pitt <martinpitt@gnome.org>
14713 Date: Wed Sep 5 08:54:53 2012 +0200
14715 Bump g-i dependency to 1.33.10
14717 To ensure we have all the Regress test APIs that we use.
14719 configure.ac | 2 +-
14720 1 file changed, 1 insertion(+), 1 deletion(-)
14722 commit 6a4f4dc9a3d21c3ac8a0aa51432fb8952b4e1ebf
14723 Author: Thibault Saunier <thibault.saunier@collabora.com>
14724 Date: Wed Aug 8 12:57:41 2012 -0400
14726 Fix -uninstalled.pc.in file
14728 https://bugzilla.gnome.org/show_bug.cgi?id=683379
14730 pygobject-3.0-uninstalled.pc.in | 6 +++---
14731 1 file changed, 3 insertions(+), 3 deletions(-)
14733 commit d8f1398dbc7fa7803639c542a607f24f18614ad6
14734 Author: Martin Pitt <martinpitt@gnome.org>
14735 Date: Mon Sep 3 22:16:47 2012 +0200
14737 post-release bump to 3.3.92
14739 configure.ac | 2 +-
14740 1 file changed, 1 insertion(+), 1 deletion(-)
14742 commit ea992324b8197b2d04ff2849b9ab46f8a04b4ed7
14743 Author: Martin Pitt <martinpitt@gnome.org>
14744 Date: Mon Sep 3 22:04:01 2012 +0200
14748 NEWS | 32 ++++++++++++++++++++++++++++++++
14749 1 file changed, 32 insertions(+)
14751 commit 1e1f5b2f2f15547c1f2cbc948d2b764bd0a37c44
14752 Author: Martin Pitt <martinpitt@gnome.org>
14753 Date: Mon Sep 3 21:57:00 2012 +0200
14755 Fix exception test case for Python 2
14757 Regression from commit 77844c5 which did not work with Python 2.
14759 tests/test_everything.py | 12 +++++++-----
14760 1 file changed, 7 insertions(+), 5 deletions(-)
14762 commit 41bb687c058e08b05108b4b2f081cd83d4f93da8
14763 Author: Martin Pitt <martinpitt@gnome.org>
14764 Date: Mon Sep 3 21:16:01 2012 +0200
14766 Bump g-i dependency
14768 Require at least 1.33.9, as we got a couple of bug fixes there which
14770 and for some cases the code, depend on. We actually require 1.33.10
14772 tests to succeed, but that hasn't been released yet.
14774 configure.ac | 2 +-
14775 1 file changed, 1 insertion(+), 1 deletion(-)
14777 commit 77844c571ad0badc189428b93de9f2572051b67e
14778 Author: Martin Pitt <martinpitt@gnome.org>
14779 Date: Mon Sep 3 17:58:38 2012 +0200
14781 Show proper exception when trying to allocate a disguised struct
14783 Instead of a simple "MemoryError" with no details, raise a proper
14784 TypeError with a traceback and an explanation what happened.
14786 https://bugzilla.gnome.org/show_bug.cgi?id=639972
14788 gi/pygi-struct.c | 7 +++++++
14789 tests/test_everything.py | 13 +++++++++++++
14790 2 files changed, 20 insertions(+)
14792 commit 0d099bdb3f4bbd962e5e60b583673d9e6f5673cc
14793 Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
14794 Date: Mon Sep 3 16:47:22 2012 +0200
14796 Support marshalling GParamSpec signal arguments
14798 Fix marshalling GParamSpec arguments from C to Python.
14800 https://bugzilla.gnome.org/show_bug.cgi?id=683099
14802 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
14804 gi/pygi-argument.c | 10 +++++++++-
14805 tests/test_signal.py | 14 ++++++++++++++
14806 2 files changed, 23 insertions(+), 1 deletion(-)
14808 commit 69fb92c22b3f3d1d5e8c3e14134eee3242fdc5fc
14809 Author: Martin Pitt <martinpitt@gnome.org>
14810 Date: Mon Sep 3 16:06:49 2012 +0200
14812 Add test for a signal that returns a GParamSpec
14814 https://bugzilla.gnome.org/show_bug.cgi?id=683265
14816 tests/test_signal.py | 6 ++++++
14817 tests/testhelpermodule.c | 12 ++++++++++++
14818 2 files changed, 18 insertions(+)
14820 commit a7c524219987fbf37e455a91e4c78d2b9b4db12d
14821 Author: Simon Feltman <s.feltman@gmail.com>
14822 Date: Tue Mar 20 04:33:50 2012 -0700
14824 [API add] Add Signal class for adding and connecting custom signals.
14826 The Signal class provides easy creation of signals and removes the
14827 need for __gsignals__ in client code. The Signal class can also be
14828 used as a decorator for wrapping up the custom closure. As well as
14829 providing a "BoundSignal" when accessed on an instance for making
14830 connections without specifying a signal name string.
14831 Python3 annotations can also be used to supply closure argument and
14832 return types when Signal is used as a decorator. For example:
14834 class Eggs(GObject.GObject):
14836 def spam(self, count:int):
14839 https://bugzilla.gnome.org/show_bug.cgi?id=434924
14841 examples/signal.py | 34 ++++--
14842 gi/_gobject/Makefile.am | 3 +-
14843 gi/_gobject/__init__.py | 5 +
14844 gi/_gobject/signalhelper.py | 251
14845 ++++++++++++++++++++++++++++++++++++++++++++
14846 tests/test_signal.py | 208 ++++++++++++++++++++++++++++++++++--
14847 5 files changed, 482 insertions(+), 19 deletions(-)
14849 commit 96fa22369fd188465559fc904c7f76e73040e6dd
14850 Author: Martin Pitt <martinpitt@gnome.org>
14851 Date: Mon Sep 3 15:32:12 2012 +0200
14853 Fix pygtkcompat's Gtk.TreeView.insert_column_with_attributes()
14855 We have a proper implementation for insert_column_with_attributes()
14857 drop pygtkcompat's empty stub for it.
14859 Also improve test case for
14860 Gtk.TreeView.insert_column_with_attributes().
14862 gi/pygtkcompat.py | 6 ------
14863 tests/test_overrides_gtk.py | 16 ++++++++--------
14864 2 files changed, 8 insertions(+), 14 deletions(-)
14866 commit 542cf22c9de9b2094868c4e879b0f24b15c4c012
14867 Author: Marta Maria Casetti <mmcasetti@gmail.com>
14868 Date: Mon Sep 3 13:06:22 2012 +0200
14870 Add override for Gtk.TreeView.insert_column_with_attributes()
14872 https://bugzilla.gnome.org/show_bug.cgi?id=679415
14874 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
14876 gi/overrides/Gtk.py | 7 +++++++
14877 tests/test_overrides_gtk.py | 38 ++++++++++++++++++++++++++++++++++++++
14878 2 files changed, 45 insertions(+)
14880 commit 1c73e845361e471b1c3a3f17e40e6a6cfa740877
14881 Author: Martin Pitt <martinpitt@gnome.org>
14882 Date: Mon Sep 3 11:09:55 2012 +0200
14884 .gitignore: Add missing built files
14886 .gitignore | 9 +++++++--
14887 1 file changed, 7 insertions(+), 2 deletions(-)
14889 commit 96431f393036a688666dcf67911bf12b9824b264
14890 Author: Martin Pitt <martinpitt@gnome.org>
14891 Date: Mon Sep 3 11:07:32 2012 +0200
14893 Ship tests/gi in tarball
14895 Spotted by distcheck.
14897 tests/Makefile.am | 6 +++++-
14898 1 file changed, 5 insertions(+), 1 deletion(-)
14900 commit dc2c6e6f60d2757462cbceef6176b0b3013904d3
14901 Author: Martin Pitt <martinpitt@gnome.org>
14902 Date: Mon Sep 3 10:18:45 2012 +0200
14904 Fix separate build tree and distcheck
14906 Fix regression from c7c95a79: We must set sys.path in runtests.py
14908 cannot rely on setting $PYTHONPATH from Makefile.am only. Python
14910 prepends the directory of the source file to sys.path, but that
14912 source dir, not the build dir. The build dir has to take precedence,
14914 we fail to import the built libraries.
14916 tests/runtests-windows.py | 10 +++++++---
14917 tests/runtests.py | 13 ++++++++-----
14918 2 files changed, 15 insertions(+), 8 deletions(-)
14920 commit 2d8f48f4ff56bb75985136452b50b75895258608
14921 Author: Martin Pitt <martinpitt@gnome.org>
14922 Date: Mon Sep 3 07:57:01 2012 +0200
14924 Split test_overrides.py
14926 Split the huge test_overrides.py into separate files for gdk, gtk,
14928 and pango. Further split the monolithic classes for Gtk and Gio
14932 https://bugzilla.gnome.org/show_bug.cgi?id=683188
14934 tests/Makefile.am | 5 +
14935 tests/test_overrides.py | 2198
14936 +----------------------------------------
14937 tests/test_overrides_gdk.py | 119 +++
14938 tests/test_overrides_gio.py | 114 +++
14939 tests/test_overrides_glib.py | 445 +++++++++
14940 tests/test_overrides_gtk.py | 1517 ++++++++++++++++++++++++++++
14941 tests/test_overrides_pango.py | 32 +
14942 7 files changed, 2234 insertions(+), 2196 deletions(-)
14944 commit 1223358e2c558dd7ac3300126f989054ec5a5b3f
14945 Author: Martin Pitt <martinpitt@gnome.org>
14946 Date: Mon Sep 3 07:17:57 2012 +0200
14948 _pygi_argument_to_object(): Clean up array unmarshalling
14950 The NULL case is already handled at the top, so it does not need to be
14953 Emit a critical if we fail to allocate a Python array of the
14956 gi/pygi-argument.c | 47 ++++++++++++++++-------------------------------
14957 1 file changed, 16 insertions(+), 31 deletions(-)
14959 commit 65bfbc624bc9da6e18ff2945b14099ab8eeb7601
14960 Author: Alban Browaeys <prahal@yahoo.com>
14961 Date: Wed Aug 29 21:24:17 2012 +0200
14963 Fix memory leak in _pygi_argument_to_object()
14965 Avoid leaking the item_type_info when breaking out of the
14966 switch in _pygi_argument_to_object() for unmarshalling arrays.
14968 https://bugzilla.gnome.org/show_bug.cgi?id=682979
14970 gi/pygi-argument.c | 4 ++++
14971 1 file changed, 4 insertions(+)
14973 commit 21b1d17d2ada2edf4063a4262b3436c279da3dc2
14974 Author: Simon Feltman <s.feltman@gmail.com>
14975 Date: Sat Sep 1 03:40:31 2012 -0700
14977 Fix setting pointer fields/arguments to NULL using None.
14979 Setting gi pointers will set them to the address of the python object.
14980 This is good except in the case of None which should be used to NULL
14981 the pointer out as a special case.
14983 https://bugzilla.gnome.org/show_bug.cgi?id=683150
14985 gi/pygi-argument.c | 8 +++++++-
14986 tests/test_overrides.py | 41 +++++++++++++++++++++++++++++++++++++++++
14987 2 files changed, 48 insertions(+), 1 deletion(-)
14989 commit 6123e6f5001ca5eaea18123d8a53525abab31a45
14990 Author: Martin Pitt <martinpitt@gnome.org>
14991 Date: Thu Aug 23 06:44:27 2012 +0200
14993 Fix for python 2.6, drop support for < 2.6
14995 Replace sys.version_info.major access to tuple access which also
14999 When building for Python 2.6, inject some missing unittest API such as
15000 @unittest.skipUnless and assertGreaterEqual() into the unittest
15002 runtests.py, so that the tests have a chance to run.
15004 As building with Python 2.5 has been broken for a long time with
15006 complaining, and 2.5 is ancient, bump minimum Python requirement to
15008 obsolete #ifdef paths which only apply to <= 2.5.
15010 https://bugzilla.gnome.org/show_bug.cgi?id=682422
15012 configure.ac | 2 +-
15013 gi/_glib/pyglib-python-compat.h | 8 --------
15014 gi/_gobject/gobjectmodule.c | 8 --------
15015 gi/module.py | 2 +-
15016 tests/runtests.py | 27 +++++++++++++++++++++++++++
15017 tests/test_gi.py | 2 +-
15018 6 files changed, 30 insertions(+), 19 deletions(-)
15020 commit b1a9848a7a7255e6b1ccd98712dd62b1514078b9
15021 Author: Thibault Saunier <thibault.saunier@collabora.com>
15022 Date: Tue Aug 21 07:54:09 2012 +0200
15024 Allow overrides in other directories than gi itself
15026 Use pkgutil.extend_path() for the gi and gi.overrides modules, so that
15027 libraries can install overrides in a path that is different from
15029 pygobject installs itself into. These overrides need to put this
15031 __init__.py at the top:
15033 from pkgutil import extend_path
15034 __path__ = extend_path(__path__, __name__)
15036 and put themselves somewhere into the default PYTHONPATH.
15038 https://bugzilla.gnome.org/show_bug.cgi?id=680913
15040 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
15041 Co-Authored-By: Simon Feltman <s.feltman@gmail.com>
15043 gi/__init__.py | 4 ++++
15044 gi/overrides/__init__.py | 4 ++++
15045 tests/gi/__init__.py | 2 ++
15046 tests/gi/overrides/Regress.py | 26 ++++++++++++++++++++++++++
15047 tests/gi/overrides/__init__.py | 2 ++
15048 tests/test_overrides.py | 6 ++++++
15049 6 files changed, 44 insertions(+)
15051 commit c7c95a795eee499373499ea5b771447746317bfb
15052 Author: Simon Feltman <s.feltman@gmail.com>
15053 Date: Thu Aug 23 06:03:09 2012 +0200
15055 Clean up sys.path handling in tests
15057 Only set sys.path once in runtests.py, not in the individual test
15059 reduces hidden dependencies between tests by building up a run
15061 search path, and also makes it easier in the future to run the
15063 the installed system libraries.
15065 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=680913
15067 tests/runtests-windows.py | 6 +++++-
15068 tests/runtests.py | 3 +++
15069 tests/test_everything.py | 1 -
15070 tests/test_gdbus.py | 3 ---
15071 tests/test_overrides.py | 3 ---
15072 tests/test_pygtkcompat.py | 3 ---
15073 6 files changed, 8 insertions(+), 11 deletions(-)
15075 commit 3e3525e93d852cde0f63e835b774a9b004773c69
15076 Author: Simon Feltman <s.feltman@gmail.com>
15077 Date: Sun Aug 19 02:30:39 2012 -0700
15079 Fix dynamic creation of enum and flag gi types for Python 3.3
15081 Importing Gtk was crashing on instantiation of dynamic Enum and Flag
15082 subclasses due to what looks to be an unsupported technique. Change
15083 tp_new() method for classes dynamically derived from PyGEnum_Type and
15084 PyGFlags_Type to call PyLong_Type.tp_new() instead of attempting
15086 __new__() as a python method. This technique seems to work with all
15087 versions of python so the previous python version checking also became
15090 https://bugzilla.gnome.org/show_bug.cgi?id=682323
15092 gi/_gobject/pygenum.c | 29 ++++++++++++++++-------------
15093 gi/_gobject/pygflags.c | 21 +++++++++------------
15094 2 files changed, 25 insertions(+), 25 deletions(-)
15096 commit dd31b67e821f92b5f1c2ee0382cac5edd477cd11
15097 Author: Paolo Borelli <pborelli@gnome.org>
15098 Date: Wed Aug 22 10:45:39 2012 +0200
15100 [API add] Override g_menu_item_set_attribute
15102 This C utility API take a vararg, add a corresponding override that
15103 takes a list of tuples
15105 https://bugzilla.gnome.org/show_bug.cgi?id=682436
15107 gi/overrides/Gio.py | 10 ++++++++++
15108 tests/test_overrides.py | 11 +++++++++++
15109 2 files changed, 21 insertions(+)
15111 commit 836902801373e386d370c44e7487aac3432f19f6
15112 Author: Martin Pitt <martinpitt@gnome.org>
15113 Date: Mon Aug 20 23:37:40 2012 +0200
15115 post-release bump to 3.3.91
15117 configure.ac | 2 +-
15118 1 file changed, 1 insertion(+), 1 deletion(-)
15120 commit 6a629e23ff7b0d6f532184017577c7427d577e28
15121 Author: Martin Pitt <martinpitt@gnome.org>
15122 Date: Mon Aug 20 23:05:49 2012 +0200
15126 NEWS | 13 +++++++++++++
15127 configure.ac | 2 +-
15128 2 files changed, 14 insertions(+), 1 deletion(-)
15130 commit 5cd18c9bd59a60b930ced0b35d728c12bb3291c7
15131 Author: Mathieu Duponchelle <mathieu.duponchelle@epitech.eu>
15132 Date: Mon Aug 20 22:54:52 2012 +0200
15134 Implement marshalling for GParamSpec
15136 https://bugzilla.gnome.org/show_bug.cgi?id=681565
15138 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
15140 gi/pygi-marshal-to-py.c | 16 ++++++++++++----
15141 tests/test_gi.py | 14 ++++++++++++++
15142 2 files changed, 26 insertions(+), 4 deletions(-)
15144 commit 16462de3f025f14706ec23fa9b3653feb66ad57f
15145 Author: Martin Pitt <martinpitt@gnome.org>
15146 Date: Mon Aug 20 15:24:10 2012 +0200
15148 Fix pep8/pyflakes invocation
15150 Fix regression from commit 1e056e4f4a: Do fail the tests if
15154 tests/Makefile.am | 4 ++--
15155 1 file changed, 2 insertions(+), 2 deletions(-)
15157 commit 1bee194274bcda9ba5f6751fa921218a92c8ac72
15158 Author: Simon Feltman <s.feltman@gmail.com>
15159 Date: Thu Aug 16 16:05:52 2012 -0700
15161 Fix erronous import statements for Python 3.3
15163 Update pygobject-external.h to use GType (which is what GTypeWrapper
15165 exposed as) instead of GTypeWrapper when attempting import.
15167 Catch ImportError around attempted imports of a typelibs override file
15168 which don't always exist (GObject...). This is a behavioural change in
15169 Python 3.3 (http://bugs.python.org/issue15715), but let's fix
15172 https://bugzilla.gnome.org/show_bug.cgi?id=682051
15174 gi/module.py | 7 +++++--
15175 gi/pygobject-external.h | 2 +-
15176 2 files changed, 6 insertions(+), 3 deletions(-)
15178 commit 1e056e4f4a19fd1139187467677c2592c2722290
15179 Author: Martin Pitt <martinpitt@gnome.org>
15180 Date: Mon Aug 20 11:52:08 2012 +0200
15182 Do not fail tests if pyflakes or pep8 are not installed
15184 These tools might not be desirable in restricted build environments or
15185 backports, and e. g. Fedora patches those out. So let the tests
15189 tests/Makefile.am | 4 ++--
15190 1 file changed, 2 insertions(+), 2 deletions(-)
15192 commit c219fa6da89a7d55c5c111751684aae6876a9fe3
15193 Author: Martin Pitt <martinpitt@gnome.org>
15194 Date: Mon Aug 20 11:42:47 2012 +0200
15196 gtk-demo: Fix some PEP-8 whitespace issues
15198 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 3 +--
15199 demos/gtk-demo/demos/dialogs.py | 2 +-
15200 demos/gtk-demo/demos/rotatedtext.py | 3 +--
15201 3 files changed, 3 insertions(+), 5 deletions(-)
15203 commit 0ac2a85cae368c046839b5619a96efc9e0b91ba3
15204 Author: Martin Pitt <martinpitt@gnome.org>
15205 Date: Mon Aug 20 11:38:50 2012 +0200
15207 test_overrides.py: Fix PEP8 whitespacing
15209 tests/test_overrides.py | 48
15210 +++++++++++++++++++++++++-----------------------
15211 1 file changed, 25 insertions(+), 23 deletions(-)
15213 commit 631a9cd05cbc7dc3d0f743a84b948ef7d93c0ed4
15214 Author: Martin Pitt <martinpitt@gnome.org>
15215 Date: Mon Aug 20 11:36:19 2012 +0200
15217 Ignore E124 pep8 error
15219 This is "closing bracket does not match visual indentation" which
15221 stupid. We do want the closing bracket at the same indentation level
15223 opening bracket, not the indentation level of the whole statement.
15225 tests/Makefile.am | 2 +-
15226 1 file changed, 1 insertion(+), 1 deletion(-)
15228 commit 266d37719bb54e6f04d23ff21bcceb9514e20ff2
15229 Author: David Malcolm <dmalcolm@redhat.com>
15230 Date: Mon Aug 20 11:27:52 2012 +0200
15232 Fix unmarshalling of gssize
15234 Do not assume that the v_int union member always corresponds to a
15236 is not true on big-endian 64 bit machines like ppc64, so add a new
15237 gi_argument_to_gssize() and use it properly.
15239 https://bugzilla.gnome.org/show_bug.cgi?id=680693
15240 https://bugzilla.redhat.com/show_bug.cgi?id=842880
15242 gi/pygi-argument.c | 53
15243 +++++++++++++++++++++++++++++++++++++++++++++---
15244 gi/pygi-argument.h | 1 +
15245 gi/pygi-closure.c | 2 +-
15246 gi/pygi-info.c | 4 ++--
15247 gi/pygi-signal-closure.c | 2 +-
15248 5 files changed, 55 insertions(+), 7 deletions(-)
15250 commit 1c5d497d3c354f4d02f1d4570df2c61d6f47300c
15251 Author: David Malcolm <dmalcolm@redhat.com>
15252 Date: Mon Aug 20 11:19:27 2012 +0200
15254 Fix various endianess errors
15256 Fix code which assumed little endian behaviour when mixing different
15258 ints, putting ints into pointers, etc.
15260 https://bugzilla.gnome.org/show_bug.cgi?id=680692
15261 https://bugzilla.redhat.com/show_bug.cgi?id=841596
15263 gi/pygi-argument.c | 64 +++++++++++++--
15264 gi/pygi-argument.h | 6 ++
15265 gi/pygi-cache.c | 2 +
15266 gi/pygi-closure.c | 57 ++++++++++++-
15267 gi/pygi-marshal-from-py.c | 203
15268 ++++++++++++++++++++++++++++++++++++----------
15269 gi/pygi-marshal-from-py.h | 3 +
15270 gi/pygi-marshal-to-py.c | 137 ++++++++++++++++++++++++-------
15271 7 files changed, 391 insertions(+), 81 deletions(-)
15273 commit ee6da6f1aa2cd6e55834f9edc17f785613d00031
15274 Author: Paolo Borelli <pborelli@gnome.org>
15275 Date: Wed Aug 15 13:16:11 2012 +0200
15277 Add unit test for the TreeModelSort override
15279 tests/test_overrides.py | 7 +++++++
15280 1 file changed, 7 insertions(+)
15282 commit 9f027daa5737107b5959964b699c0089aec8ab1e
15283 Author: Simon Feltman <s.feltman@gmail.com>
15284 Date: Thu Aug 9 03:33:06 2012 -0700
15286 Gtk overrides: Add TreeModelSort.__init__(self, model)
15288 This adds "model" as a required argument to TreeModelSort
15289 instead of it being a hidden keyword argument. This is needed
15290 because the model property is set to construct only and the
15291 default value of None/NULL makes the object useless anyhow.
15293 https://bugzilla.gnome.org/show_bug.cgi?id=681477
15295 gi/overrides/Gtk.py | 8 ++++++++
15296 1 file changed, 8 insertions(+)
15298 commit c8424c2bb19356679e250e73542682dd5f4c74a5
15299 Author: Manuel Quiñones <manuq@laptop.org>
15300 Date: Fri Aug 10 09:38:24 2012 -0300
15302 Convert Gtk.CellRendererState in the pygi-convert script
15304 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
15306 https://bugzilla.gnome.org/show_bug.cgi?id=681596
15308 pygi-convert.sh | 5 +++++
15309 1 file changed, 5 insertions(+)
15311 commit 54d829b34a0d32d852db370f61cc7f25c149f373
15312 Author: Paolo Borelli <pborelli@gnome.org>
15313 Date: Mon Aug 6 16:19:28 2012 +0200
15315 More updates to the HACKING file
15317 module-install has been replaced with 'ftpadmin install' and other
15321 HACKING | 26 ++++++++++----------------
15322 1 file changed, 10 insertions(+), 16 deletions(-)
15324 commit 0788880c6cf4070d3db09896c165fe470d2ec186
15325 Author: Paolo Borelli <pborelli@gnome.org>
15326 Date: Mon Aug 6 16:00:39 2012 +0200
15328 Post-release version bump to 3.3.6
15330 configure.ac | 2 +-
15331 1 file changed, 1 insertion(+), 1 deletion(-)
15333 commit 664403d953c3e07077d0db90bfae3b51c7f1767c
15334 Author: Paolo Borelli <pborelli@gnome.org>
15335 Date: Mon Aug 6 15:52:22 2012 +0200
15339 NEWS | 29 +++++++++++++++++++++++++++++
15340 1 file changed, 29 insertions(+)
15342 commit b748753a2a9af018001213e2e58c48d6c8bfadbd
15343 Author: Paolo Borelli <pborelli@gnome.org>
15344 Date: Mon Aug 6 15:44:32 2012 +0200
15346 Update HACKING file to mention "make release-news"
15348 HACKING | 7 +++----
15349 1 file changed, 3 insertions(+), 4 deletions(-)
15351 commit 587a0c33901383b891f8eb77351c17f06af20b4f
15352 Author: Paolo Borelli <pborelli@gnome.org>
15353 Date: Mon Aug 6 15:38:23 2012 +0200
15355 pygi-closure: remove unused variables
15357 These variables are assigned but never actually used
15359 gi/pygi-closure.c | 8 --------
15360 1 file changed, 8 deletions(-)
15362 commit dbc6df6aad7197fcf8721ade429baadd749f7069
15363 Author: Martin Pitt <martinpitt@gnome.org>
15364 Date: Fri Aug 3 07:13:55 2012 +0200
15366 tests: Do not break on Pango warnings
15368 In some restricted environments (like chroots) we sometimes get
15370 Pango when it cannot find an appropriate font. Do not make the tests
15374 tests/test_overrides.py | 4 ++++
15375 tests/test_pygtkcompat.py | 6 ++++++
15376 2 files changed, 10 insertions(+)
15378 commit 770e6abfd5bc5dad7d5f56a18f1ef63f9754ada9
15379 Author: Martin Pitt <martinpitt@gnome.org>
15380 Date: Fri Aug 3 06:45:48 2012 +0200
15382 Fix list marshalling on big-endian machines
15384 On big endian machines we cannot simply set e. g. GIArgument.v_int8
15386 GIArgument.v_pointer to be a correct representation. This needs to use
15387 GINT_TO_POINTER/GPOINTER_TO_INT properly, so use the already existing
15388 _pygi_hash_pointer_to_arg()/_pygi_arg_to_hash_pointer() methods
15390 to and from GList and GSList, and handle int8 and int16 as well.
15392 Part of porting pygobject to ppc64:
15393 https://bugzilla.redhat.com/show_bug.cgi?id=842880
15394 https://bugzilla.gnome.org/show_bug.cgi?id=680693
15396 gi/pygi-marshal-from-py.c | 48 ++++++++++++++++++++++++-----------------
15397 gi/pygi-marshal-to-py.c | 54
15398 +++++++++++++++++++++++++++--------------------
15399 2 files changed, 60 insertions(+), 42 deletions(-)
15401 commit b5cd13f47309ec26727b7574e33595a357602468
15402 Author: Colin Walters <walters@verbum.org>
15403 Date: Tue Jul 31 11:47:02 2012 -0400
15405 pygi-marshal: One more 32-bit -Werror=format fix
15407 gi/pygi-marshal-from-py.c | 6 +++---
15408 1 file changed, 3 insertions(+), 3 deletions(-)
15410 commit 526bf43691cb6ed908589312b1693a6389eba00c
15411 Author: Martin Pitt <martinpitt@gnome.org>
15412 Date: Tue Jul 31 17:14:37 2012 +0200
15414 Beautify class/interface type mismatch error messages
15416 Avoid saying "<unknown module>.int", just skip the module name
15417 completely if we do not have one.
15419 gi/pygi-marshal-from-py.c | 20 ++++++++++++--------
15420 1 file changed, 12 insertions(+), 8 deletions(-)
15422 commit 8fb18c62d9c7faff38df3886cb4289b618c81b85
15423 Author: Martin Pitt <martinpitt@gnome.org>
15424 Date: Tue Jul 31 13:13:21 2012 +0200
15426 Skip instead of fail tests which need Pango, Atk, Gdk, Gtk
15428 On initial jhbuild bootstrap or restricted environments, the Pango,
15430 and Gtk typelibs might not be available. Skip tests which need these
15432 failing the testsuite.
15434 tests/test_atoms.py | 7 ++++++-
15435 tests/test_everything.py | 9 ++++++++-
15436 tests/test_overrides.py | 32 ++++++++++++++++++++++++++------
15437 tests/test_pygtkcompat.py | 30 ++++++++++++++++++++----------
15438 4 files changed, 60 insertions(+), 18 deletions(-)
15440 commit a2e73c109f3ed6080eabc85810e624b9f984317e
15441 Author: Colin Walters <walters@verbum.org>
15442 Date: Tue Jul 31 09:02:24 2012 -0400
15444 pygi-argument: Fix -Wformat warning on 32 bit builds
15446 gi/pygi-argument.c | 4 ++--
15447 1 file changed, 2 insertions(+), 2 deletions(-)
15449 commit 7563bb9f8ed5740f52ddf0ca59daf7839853505b
15450 Author: Martin Pitt <martinpitt@gnome.org>
15451 Date: Tue Jul 31 11:14:36 2012 +0200
15453 Fix tests for Python 2
15455 In Python 2 we get different error messages for a mismatching self
15457 check after commit 121b14028.
15459 tests/test_gi.py | 32 ++++++++++++++++++++------------
15460 1 file changed, 20 insertions(+), 12 deletions(-)
15462 commit 5c5b066854cc0b3b7702f31d212aa3f511c62127
15463 Author: Martin Pitt <martinpitt@gnome.org>
15464 Date: Tue Jul 31 10:30:22 2012 +0200
15466 Build with -Werror=format
15468 This catches format string problems on particular architectures like
15470 dea24f8e12 much more insistently.
15473 1 file changed, 1 insertion(+)
15475 commit 6e84a3052667fdc88c2081e20cc6dc3257ec9d6c
15476 Author: Simon Feltman <s.feltman@gmail.com>
15477 Date: Mon Jul 30 02:00:16 2012 -0700
15479 [API add] pygtkcompat: Add more pixbuf creation functions
15481 Add the following functions:
15482 pixbuf_new_from_data
15483 pixbuf_new_from_file_at_scale
15484 pixbuf_new_from_file_at_size
15485 pixbuf_new_from_inline
15486 pixbuf_new_from_stream
15487 pixbuf_new_from_stream_at_scale
15488 pixbuf_new_from_xpm_data
15489 pixbuf_get_file_info
15491 https://bugzilla.gnome.org/show_bug.cgi?id=680814
15493 gi/pygtkcompat.py | 10 +++++++++-
15494 1 file changed, 9 insertions(+), 1 deletion(-)
15496 commit dea24f8e1221516b2d8ea578e55124b0409d6a76
15497 Author: Colin Walters <walters@verbum.org>
15498 Date: Mon Jul 30 22:17:44 2012 -0400
15500 marshal: Fix a lot of format string warnings on 32 bit
15502 G_GUINT64_FORMAT and friends handle "%lld" portably.
15504 https://bugzilla.gnome.org/show_bug.cgi?id=680878
15506 gi/pygi-marshal-from-py.c | 18 +++++++++---------
15507 1 file changed, 9 insertions(+), 9 deletions(-)
15509 commit b630038d9a1c8cb7e5914c77fbacbed646c154d1
15510 Author: Colin Walters <walters@verbum.org>
15511 Date: Mon Jul 30 22:30:07 2012 -0400
15513 marshal: Fix build break on Python 2
15515 I *think* using this wrapper function instead is right.
15517 https://bugzilla.gnome.org/show_bug.cgi?id=680879
15519 gi/pygi-marshal-from-py.c | 8 ++++----
15520 1 file changed, 4 insertions(+), 4 deletions(-)
15522 commit a8338a991bbe919f0e2d9b92f7b71f89ccd2c875
15523 Author: Manuel Quiñones <manuq@laptop.org>
15524 Date: Mon Jul 30 12:53:36 2012 -0300
15526 Improve testcase for tree_view_column_set_attributes
15528 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
15530 https://bugzilla.gnome.org/show_bug.cgi?id=680320
15532 tests/test_overrides.py | 20 ++++++++++++++++++--
15533 1 file changed, 18 insertions(+), 2 deletions(-)
15535 commit 121b1402860407fe46f7501e42447bf3607872ec
15536 Author: Martin Pitt <martinpitt@gnome.org>
15537 Date: Tue Jul 31 00:37:55 2012 +0200
15539 Fix error messages on interface/class type mismatches
15541 Previously, when you called a function with an argument which was not
15542 compatible with the expected class/interface type, you got an
15546 TypeError: Expected Gtk.TreeViewColumn, but got GObjectMeta
15548 which had the wrong (and useless) class name for the actual type,
15550 tell you which argument caused the problem. With this it says e. g.
15552 TypeError: argument column: Expected Gtk.TreeViewColumn, but
15557 gi/pygi-marshal-from-py.c | 41 ++++++++++++++++++++++++++--------
15558 tests/test_gi.py | 57
15559 ++++++++++++++++++++++++++++++++++++++++++++++-
15560 2 files changed, 88 insertions(+), 10 deletions(-)
15562 commit 8f31e85db1392eb7222593fc0d05144c2bca06a3
15563 Author: Simon Feltman <s.feltman@gmail.com>
15564 Date: Sun Jul 29 23:36:25 2012 -0700
15566 Fix crash when returning (False, None) from
15567 Gtk.TreeModel.do_get_iter()
15569 Add a Py_None check before attempting memcpy().
15571 https://bugzilla.gnome.org/show_bug.cgi?id=680812
15573 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15575 gi/pygi-closure.c | 10 +++++++---
15576 tests/test_overrides.py | 9 +++++++++
15577 2 files changed, 16 insertions(+), 3 deletions(-)
15579 commit 94e5d58e7794de91d3291e0e51c42070da4fc92b
15580 Author: Martin Pitt <martinpitt@gnome.org>
15581 Date: Mon Jul 30 11:58:24 2012 +0200
15583 Add test case for Gtk.TextIter.forward_search()
15585 https://bugzilla.gnome.org/show_bug.cgi?id=679415
15587 tests/test_overrides.py | 19 +++++++++++++++++++
15588 1 file changed, 19 insertions(+)
15590 commit aae4e77482c02e21154ab02b159f380f5f0f74be
15591 Author: Martin Pitt <martinpitt@gnome.org>
15592 Date: Fri Jul 27 23:06:39 2012 +0200
15594 Add missing static declarations
15596 This fixes a lot of -Wmissing-prototype warnings.
15598 Also remove _pygi_marshal_cleanup_closure_unref() which is not
15601 gi/_gobject/gobjectmodule.c | 4 ++--
15602 gi/_gobject/pygobject.c | 2 +-
15603 gi/pygi-cache.c | 2 +-
15604 gi/pygi-foreign-cairo.c | 24 ++++++++++++------------
15605 gi/pygi-foreign.c | 2 +-
15606 gi/pygi-marshal-cleanup.c | 9 ---------
15607 tests/test-unknown.c | 2 +-
15608 tests/testhelpermodule.c | 4 ++--
15609 8 files changed, 20 insertions(+), 29 deletions(-)
15611 commit 5f88d3017f853c4ff5e9fd89ef39e4569a9b9c16
15612 Author: Martin Pitt <martinpitt@gnome.org>
15613 Date: Fri Jul 27 23:01:08 2012 +0200
15615 Fix more missing #includes
15617 Add missing includes which caused -Wmissing-prototypes warnings.
15619 gi/_gobject/pygenum.c | 2 ++
15620 gi/_gobject/pyginterface.c | 2 ++
15621 2 files changed, 4 insertions(+)
15623 commit 97b5184c6650964ae8a7616353f5ce8e3ca19af3
15624 Author: Martin Pitt <martinpitt@gnome.org>
15625 Date: Fri Jul 27 22:59:21 2012 +0200
15627 Make some warnings fatal
15629 Add -Werror for some warnings which are real errors in the source
15631 really want to avoid. This includes -Wmissing-prototypes, but that
15633 breaks on building g-i's regress.c.
15635 configure.ac | 5 +++++
15636 1 file changed, 5 insertions(+)
15638 commit c2ee8c550199de59dd220561ed028ec6fb8e1daf
15639 Author: Martin Pitt <martinpitt@gnome.org>
15640 Date: Fri Jul 27 22:08:47 2012 +0200
15642 Fix missing #includes
15644 Add missing includes which caused -Wmissing-prototypes warnings.
15646 gi/_glib/pygiochannel.c | 2 ++
15647 gi/_glib/pygspawn.c | 2 ++
15648 2 files changed, 4 insertions(+)
15650 commit 8bc98fc6665ebab763ee92361929139a0ebe66b5
15651 Author: Martin Pitt <martinpitt@gnome.org>
15652 Date: Fri Jul 27 20:52:00 2012 +0200
15654 pygi-info.c: Robustify pointer arithmetic
15656 In _wrap_g_field_info_{get,set}_value(), use explicit char* casts
15658 that we are using byte offsets. Fixes warnings:
15660 pygi-info.c:1277:43: warning: pointer of type 'void *' used in
15661 arithmetic [-Werror=pointer-arith]
15663 gi/pygi-info.c | 4 ++--
15664 1 file changed, 2 insertions(+), 2 deletions(-)
15666 commit d0a561057b727ebcc1fd06fa6a3b48f2a1f8338e
15667 Author: Martin Pitt <martinpitt@gnome.org>
15668 Date: Fri Jul 27 20:50:30 2012 +0200
15670 pyglib.c: Remove some dead code
15672 Drop unused pyglib_gil_state_ensure_py23() and
15673 pyglib_gil_state_release_py23().
15675 gi/_glib/pyglib.c | 18 ------------------
15676 1 file changed, 18 deletions(-)
15678 commit a46d165d906d0ac7613f4d946542423e979f39d5
15679 Author: Manuel Quiñones <manuq@laptop.org>
15680 Date: Fri Jul 20 10:37:04 2012 -0300
15682 Add set_attributes() override to Gtk.TreeViewColumn
15684 Looking at the C code, gtk_tree_view_column_set_attributesv just calls
15685 gtk_cell_layout_clear_attributes and then
15686 gtk_cell_layout_add_attribute for each (name, value) passed. This
15687 patch makes the same in the overrides.
15689 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
15690 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15692 gi/overrides/Gtk.py | 7 +++++++
15693 tests/test_overrides.py | 6 ++++++
15694 2 files changed, 13 insertions(+)
15696 commit 4df676e10a5ea595a0d491af10268f557dd722d7
15697 Author: Daniel Narvaez <dwnarvaez@gmail.com>
15698 Date: Tue Jul 24 13:49:15 2012 +0200
15702 The autogenerated gitignores was missing several files. So we
15703 was using a manual .gitignore at the root. But since it's
15704 enough to add a couple of entries to it to cover the whole
15705 tree, there is no much point in using git.mk at all.
15707 https://bugzilla.gnome.org/show_bug.cgi?id=678192
15710 docs/Makefile.am | 2 -
15711 examples/Makefile.am | 3 -
15712 gi/Makefile.am | 3 -
15713 gi/_glib/Makefile.am | 3 -
15714 gi/_gobject/Makefile.am | 2 -
15715 gi/overrides/Makefile.am | 2 -
15716 gi/repository/Makefile.am | 2 -
15718 ----------------------------------------------
15719 tests/Makefile.am | 2 -
15720 10 files changed, 222 deletions(-)
15722 commit 0d729c1534c7f3226b492f549d8f6ad3bb3ac8b7
15723 Author: Simon Feltman <s.feltman@gmail.com>
15724 Date: Fri Jul 20 19:55:46 2012 -0700
15726 Gtk overrides: Add TreePath.__getitem__()
15728 Use pythons sub-script operator for indexing into TreePaths
15729 as was the case in PyGtk. Also changed __iter__ to use
15730 TreePath.get_indices as opposed to formatting and re-parsing
15731 a string for getting an index list.
15733 https://bugzilla.gnome.org/show_bug.cgi?id=680353
15735 gi/overrides/Gtk.py | 5 ++++-
15736 tests/test_overrides.py | 4 ++++
15737 2 files changed, 8 insertions(+), 1 deletion(-)
15739 commit affc7faa3fa7250e2e8c2c65e6860906f6fbc4fb
15740 Author: Simon Feltman <s.feltman@gmail.com>
15741 Date: Fri Jul 20 21:34:33 2012 -0700
15743 Fix property type mapping from int to TYPE_INT for python3.
15745 Python3 does not have a long type, however, propertyhelper.py was
15746 using long_ = int; to get things working. Type mapping code
15747 was then checking for long_ first and always returning TYPE_LONG.
15748 Additional refactoring was done to move large if/elif statements
15749 into dictionary lookups and usage of tuples instead of lists
15750 for simple 'in' list of items tests.
15752 https://bugzilla.gnome.org/show_bug.cgi?id=679939
15754 gi/_gobject/propertyhelper.py | 117
15755 +++++++++++++++++++-----------------------
15756 tests/test_properties.py | 55 +++++++++++++++-----
15757 2 files changed, 96 insertions(+), 76 deletions(-)
15759 commit 6fddba5bc5ea02938677a89ffeb0cfc53229b894
15760 Author: Manuel Quiñones <manuq@laptop.org>
15761 Date: Thu Jul 19 12:11:34 2012 -0300
15763 Convert Gtk.DestDefaults constants in pygi-convert.sh script
15765 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
15767 https://bugzilla.gnome.org/show_bug.cgi?id=680259
15769 pygi-convert.sh | 1 +
15770 1 file changed, 1 insertion(+)
15772 commit d58c3553062fd8704a81a8233b4a1563a6611718
15773 Author: Manuel Quiñones <manuq@laptop.org>
15774 Date: Thu Jul 19 12:04:03 2012 -0300
15776 Convert all Gdk.WindowState constants in pygi-convert.sh
15778 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
15780 https://bugzilla.gnome.org/show_bug.cgi?id=680257
15782 pygi-convert.sh | 1 +
15783 1 file changed, 1 insertion(+)
15785 commit a3aae2e152c0b955037b7b85e16d14d00881d870
15786 Author: Joe R. Nassimian <placidrage@gmail.com>
15787 Date: Thu Jul 19 15:48:20 2012 +0200
15789 [API add] Add API for checking pygobject's version
15791 Add a gi.__version__ attribute for the textual version, and
15792 gi.version_info for
15793 a version triple similar to sys.version_info.
15795 Also add a gi.require_version(<minimum_version>) which raises an
15797 the pygobject version is older.
15799 https://bugzilla.gnome.org/show_bug.cgi?id=680176
15801 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15803 gi/__init__.py | 16 ++++++++++++++++
15804 tests/test_gi.py | 16 ++++++++++++++++
15805 2 files changed, 32 insertions(+)
15807 commit a2d9b71d84f0fcb7aaf5ce483ffee3b3a1ccaca1
15808 Author: Manuel Quiñones <manuq@laptop.org>
15809 Date: Mon Jul 16 17:14:46 2012 -0300
15811 pygi-convert.sh: Add some missing Gdk.CursorTypes
15813 This patch adds WATCH, ARROW and CLOCK.
15815 https://bugzilla.gnome.org/show_bug.cgi?id=680050
15817 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
15818 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15820 pygi-convert.sh | 3 +++
15821 1 file changed, 3 insertions(+)
15823 commit 0b08c01414ac73a4604acd9a846e7af09574929f
15824 Author: Manuel Kaufmann <humitos@gmail.com>
15825 Date: Tue Jul 17 09:05:27 2012 -0300
15827 pygi-convert.sh: convert rsvg.Handle(data=...)
15829 Replace rsvg.Handle(data=data) with Rsvg.Handle.new_from_data(data)
15831 https://bugzilla.gnome.org/show_bug.cgi?id=680092
15833 Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
15834 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15836 pygi-convert.sh | 2 ++
15837 1 file changed, 2 insertions(+)
15839 commit 975855d0fff7f2042fe1f0e843f96b9a37cc6b79
15840 Author: Martin Pitt <martinpitt@gnome.org>
15841 Date: Mon Jul 16 17:35:38 2012 +0200
15843 configure.ac: post-release bump to 3.3.5
15845 configure.ac | 2 +-
15846 1 file changed, 1 insertion(+), 1 deletion(-)
15848 commit 126842b7227fcc1381dc158acdc5a96d0a465515
15849 Author: Martin Pitt <martinpitt@gnome.org>
15850 Date: Mon Jul 16 17:33:08 2012 +0200
15854 NEWS | 28 ++++++++++++++++++++++++++++
15855 1 file changed, 28 insertions(+)
15857 commit 079b73b3eb9083bd53e06d095f9dccc02acf2a6e
15858 Author: Martin Pitt <martinpitt@gnome.org>
15859 Date: Mon Jul 16 17:29:22 2012 +0200
15861 test_gi: Fix for Python 2
15863 tests/test_gi.py | 7 +++++--
15864 1 file changed, 5 insertions(+), 2 deletions(-)
15866 commit 30935fe31bfe201bbfdb7734f09fdd2bbaf80e08
15867 Author: Martin Pitt <martinpitt@gnome.org>
15868 Date: Mon Jul 16 16:35:33 2012 +0200
15870 pygi-convert.sh: Drop bogus filter_new() conversion
15872 my_tree_model.filter_new() is still a method on GtkTreeModel, not a
15873 constructor, so do not try to convert it to a constructor call.
15875 https://bugzilla.gnome.org/show_bug.cgi?id=679999
15877 pygi-convert.sh | 1 -
15878 1 file changed, 1 deletion(-)
15880 commit c0607d970fc59528ca27d518282cf2871b92e909
15881 Author: Martin Pitt <martinpitt@gnome.org>
15882 Date: Mon Jul 16 16:00:40 2012 +0200
15884 Fix help() for GI modules
15886 Derive DynamicModule from types.ModuleType, so that the inspect
15888 ismodule() actually succeeds on those and generates useful help on
15892 https://bugzilla.gnome.org/show_bug.cgi?id=679804
15894 gi/module.py | 3 ++-
15895 tests/test_gi.py | 15 +++++++++++++++
15896 2 files changed, 17 insertions(+), 1 deletion(-)
15898 commit 3235f1a397c334de5a7570f5ceed4da709fe1714
15899 Author: Martin Pitt <martinpitt@gnome.org>
15900 Date: Mon Jul 16 15:53:31 2012 +0200
15902 Skip gi.CallbackInfo objects from a module's dir()
15904 Skip gi.CallbackInfo items from IntrospectionModule's __dir__(),
15906 implement __getattr__ for those.
15908 Add a test case that dir() works on GI modules, contain expected
15910 and that all identifiers in dir() can actually be retrieved.
15912 Prerequisite for https://bugzilla.gnome.org/show_bug.cgi?id=679804
15914 gi/module.py | 7 +++++--
15915 tests/test_gi.py | 14 ++++++++++++++
15916 2 files changed, 19 insertions(+), 2 deletions(-)
15918 commit f6cc039e014448a553d626aac4020ee69717edab
15919 Author: Martin Pitt <martinpitt@gnome.org>
15920 Date: Mon Jul 16 15:38:05 2012 +0200
15922 Fix __path__ module attribute
15924 get_typelib_path() returns bytes, not strings, so in Python 3 we
15926 it to get a proper __path__ attribute.
15928 gi/module.py | 17 +++++++++++++++++
15929 tests/test_gi.py | 10 ++++++++++
15930 2 files changed, 27 insertions(+)
15932 commit 858048f7cec78129aa914e2341ab80aac0e95cc5
15933 Author: Joe R. Nassimian <placidrage@gmail.com>
15934 Date: Mon Jul 16 15:02:10 2012 +0200
15936 pygi-convert.sh: Fix some child → getChild() false positives
15938 https://bugzilla.gnome.org/show_bug.cgi?id=680004
15940 pygi-convert.sh | 2 +-
15941 1 file changed, 1 insertion(+), 1 deletion(-)
15943 commit a31fabdc12f1da301c8df0af319ca3f4181671ee
15944 Author: Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com>
15945 Date: Thu Jul 12 09:19:42 2012 +0200
15947 Fix array handling for interfaces, properties, and signals
15949 Fix lots of corner cases where arrays are not handled properly.
15950 _pygi_argument_to_object() now has the documented expectation of
15952 packed in GArrays. This was implicit before and not correctly done
15956 The helper _pygi_argument_to_array() has been improved to work on
15958 array. Fix all call sites of _pygi_argument_to_object() to do the
15959 array conversion appropriately before calling
15960 _pygi_argument_to_object().
15962 Adds a test case that implements a GInterface with a method that
15964 of variants as input.
15966 https://bugzilla.gnome.org/show_bug.cgi?id=667244
15968 gi/pygi-argument.c | 156
15969 ++++++++++++++++++++++++++++++++---------------
15970 gi/pygi-argument.h | 4 +-
15971 gi/pygi-closure.c | 11 ++++
15972 gi/pygi-info.c | 20 ++++--
15973 gi/pygi-property.c | 1 +
15974 gi/pygi-signal-closure.c | 14 ++++-
15975 tests/test_gi.py | 18 ++++++
15976 7 files changed, 167 insertions(+), 57 deletions(-)
15978 commit bb80d124269ee2389c04d03a478475868fd9ff7b
15979 Author: Manuel Quiñones <manuq@laptop.org>
15980 Date: Wed Jul 11 22:05:41 2012 -0300
15982 Add conversion of the Gdk.PropMode constants to pygi-convert.sh script
15984 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
15986 https://bugzilla.gnome.org/show_bug.cgi?id=679775
15988 pygi-convert.sh | 3 +++
15989 1 file changed, 3 insertions(+)
15991 commit e3a63eefa5fb2abeabd210790e12642e577363c8
15992 Author: Manuel Quiñones <manuq@laptop.org>
15993 Date: Wed Jul 11 13:18:16 2012 -0300
15995 Add the same rules for pack_start to convert pack_end
15997 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
15999 https://bugzilla.gnome.org/show_bug.cgi?id=679760
16001 pygi-convert.sh | 5 +++++
16002 1 file changed, 5 insertions(+)
16004 commit b4bef457c2d0ca6899e06a021f1f06252a37e326
16005 Author: Dave Malcolm <dmalcolm@redhat.com>
16006 Date: Wed Jul 11 08:21:27 2012 +0200
16008 Add error-checking for the case where _arg_cache_new() fails
16010 This can happen when a typelib and its underlying library are
16012 converts the segfault into a more helpful traceback.
16014 https://bugzilla.gnome.org/show_bug.cgi?id=678914
16016 gi/pygi-cache.c | 2 ++
16017 1 file changed, 2 insertions(+)
16019 commit 41287d8a439c656e4ac60361fddec643c713234c
16020 Author: Manuel Quiñones <manuq@laptop.org>
16021 Date: Wed Jul 11 11:13:38 2012 -0300
16023 Add conversion of the Gdk.NotifyType constants to pygi-convert.sh
16026 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
16028 https://bugzilla.gnome.org/show_bug.cgi?id=679754
16030 pygi-convert.sh | 6 ++++++
16031 1 file changed, 6 insertions(+)
16033 commit 5403149b900d1b73cbc78767dc43be2eb344c836
16034 Author: Simon Feltman <s.feltman@gmail.com>
16035 Date: Tue Jul 10 19:07:32 2012 -0700
16037 Fix PyObject_Repr and PyObject_Str reference leaks
16039 Fix all calls to PyObject_Repr() and PyObject_Str() to be properly
16042 https://bugzilla.gnome.org/show_bug.cgi?id=675857
16044 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16046 gi/_glib/glibmodule.c | 10 +++++++--
16047 gi/_gobject/gobjectmodule.c | 17 ++++++++++-----
16048 gi/_gobject/pygobject.c | 53
16049 ++++++++++++++++++++++++++++++---------------
16050 gi/pygi-marshal-from-py.c | 9 +++++---
16051 4 files changed, 62 insertions(+), 27 deletions(-)
16053 commit 0ddfecf3bf0a5d7893cd02cff41503d810ef6ce8
16054 Author: Martin Pitt <martinpitt@gnome.org>
16055 Date: Wed Jul 4 08:46:30 2012 +0200
16057 [API add] Gtk overrides: Add TreePath.__len__()
16059 Use the path depth as length of a Gtk.TreePath object.
16061 https://bugzilla.gnome.org/show_bug.cgi?id=679199
16063 gi/overrides/Gtk.py | 3 +++
16064 tests/test_overrides.py | 4 ++++
16065 2 files changed, 7 insertions(+)
16067 commit e1e849d1a9af77c29ee35971db8d439bac60d573
16068 Author: Martin Pitt <martinpitt@gnome.org>
16069 Date: Wed Jul 4 08:35:16 2012 +0200
16071 GLib.Variant: Fix repr(), add proper str()
16073 Fix the GLib.Variant override's repr() after commit 16280d6985. Also
16075 proper __str__() method, and tests for both.
16077 Thanks to Rul Matos for spotting this!
16079 https://bugzilla.gnome.org/show_bug.cgi?id=679336
16081 gi/overrides/GLib.py | 6 +++++-
16082 tests/test_overrides.py | 5 +++++
16083 2 files changed, 10 insertions(+), 1 deletion(-)
16085 commit af20d7c929b9c1888454b52932a308d346e1c12b
16086 Author: Martin Pitt <martinpitt@gnome.org>
16087 Date: Thu Jun 28 06:51:22 2012 +0200
16089 m4/python.m4: Update Python version list
16091 Thanks to Dieter Verfaillie for pointing this out.
16093 m4/python.m4 | 3 +--
16094 1 file changed, 1 insertion(+), 2 deletions(-)
16096 commit a96a26234e2aaa157837d26094864e3ad9b63edf
16097 Author: Micah Carrick <micah@quixotix.com>
16098 Date: Mon Jun 25 09:05:59 2012 -0700
16100 Remove "label" property from Gtk.MenuItem if it is not set
16102 The Gtk.MenuItem will not render as a separator if the "label" or
16103 "user-underline" properties have been accessed. The constructor
16104 for Gtk.MenuItem override should not pass the "label" property
16105 as an argument if it is None since that will still result in an
16106 empty label widget which breaks Gtk.SeparatorMenuItem.
16108 https://bugzilla.gnome.org/show_bug.cgi?id=670575
16110 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16112 gi/overrides/Gtk.py | 5 ++++-
16113 1 file changed, 4 insertions(+), 1 deletion(-)
16115 commit afa12faf339efb4f7780168e884ecf49b630644a
16116 Author: Martin Pitt <martinpitt@gnome.org>
16117 Date: Mon Jun 25 16:36:31 2012 +0200
16119 configure.ac: Post-release bump to 3.3.4.
16121 configure.ac | 2 +-
16122 1 file changed, 1 insertion(+), 1 deletion(-)
16124 commit 198066effc0ca44ccb897e9f0738ab627e8b3275
16125 Author: Martin Pitt <martinpitt@gnome.org>
16126 Date: Mon Jun 25 16:35:49 2012 +0200
16131 configure.ac | 2 +-
16132 2 files changed, 4 insertions(+), 1 deletion(-)
16134 commit cb70ae0aa52ab7624b2b8c30297d8a52a7db7f44
16135 Author: Martin Pitt <martinpitt@gnome.org>
16136 Date: Mon Jun 25 16:32:45 2012 +0200
16138 Do not escape enum and flag names that are Python keywords
16140 These are translated to upper case, and thus can never be
16141 keywords. This broke
16142 existing API such as Gtk.ShadowType.IN.
16144 gi/module.py | 2 +-
16145 gi/pygi-info.c | 7 +++++++
16146 tests/test_gi.py | 3 +++
16147 3 files changed, 11 insertions(+), 1 deletion(-)
16149 commit f2524a982b0b8ba7cdbb77003372416af0b7a978
16150 Author: Martin Pitt <martinpitt@gnome.org>
16151 Date: Mon Jun 25 15:39:50 2012 +0200
16153 configure.ac: Post-release version bump to 3.3.4
16155 configure.ac | 2 +-
16156 1 file changed, 1 insertion(+), 1 deletion(-)
16158 commit fe56faa346c8e8f9fd5915602424778d458a776d
16159 Author: Martin Pitt <martinpitt@gnome.org>
16160 Date: Mon Jun 25 15:36:37 2012 +0200
16164 NEWS | 15 +++++++++++++++
16165 1 file changed, 15 insertions(+)
16167 commit 299a2fd726f0aceaf67b1cec7a0ef8b21ff7bcbc
16168 Author: Martin Pitt <martinpitt@gnome.org>
16169 Date: Mon Jun 25 15:35:19 2012 +0200
16171 Bring back ChangeLog make target
16173 This is being used by "make dist".
16175 Makefile.am | 15 +++++++++++++++
16176 1 file changed, 15 insertions(+)
16178 commit 760118e4ed73de2f022706ef897fcc848e90c005
16179 Author: Martin Pitt <martinpitt@gnome.org>
16180 Date: Mon Jun 25 15:31:14 2012 +0200
16182 Remove obsolete ChangeLog and release-tag make targets
16184 Makefile.am | 23 -----------------------
16185 1 file changed, 23 deletions(-)
16187 commit e92278692bb51679d6e957c2ac36db64498a7c73
16188 Author: Simon Schampijer <simon@schampijer.de>
16189 Date: Fri Jun 15 16:11:21 2012 +0200
16191 Do not do any python calls when GObjects are destroyed after the
16192 python interpreter has been finalized
16194 This happens when pygobject_data_free () function is called after
16196 interpreter shuts down, we can't do python calls after that.
16198 Benzea did the findings because of a bug in Sugar, and commented
16200 SugarLabs ticket: http://bugs.sugarlabs.org/ticket/3670
16202 https://bugzilla.gnome.org/show_bug.cgi?id=678046
16204 Signed-off-by: Benjamin Berg <benzea@sugarlabs.org>
16205 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16207 gi/_gobject/pygobject.c | 27 ++++++++++++++++++++++-----
16208 1 file changed, 22 insertions(+), 5 deletions(-)
16210 commit de4aa426002eeb09a060f8fd70bd6cb25a17766a
16211 Author: Martin Pitt <martinpitt@gnome.org>
16212 Date: Mon Jun 25 15:06:47 2012 +0200
16214 Do not change constructor-only "type" Window property
16216 When reading a Gtk.Window subclass from a GtkBuilder object,
16218 properties are already set at __init__ time. Do not try to set it
16222 https://bugzilla.gnome.org/show_bug.cgi?id=678510
16224 gi/overrides/Gtk.py | 8 +++++++-
16225 tests/test_overrides.py | 36 ++++++++++++++++++++++++++++++++++++
16226 2 files changed, 43 insertions(+), 1 deletion(-)
16228 commit 16280d6985f2cf4db9cf062e857650e620fd9da8
16229 Author: Martin Pitt <martinpitt@gnome.org>
16230 Date: Mon Jun 25 09:40:38 2012 +0200
16232 Escape identifiers which are Python keywords
16234 Add a trailing underscore to identifiers which are Python keywords.
16236 We use a per-major-version static identifier list derived from
16238 instead of calling out to Python's keyword.iskeyword(). This is
16240 and also allows us to tweak the result. For example, Python 3 dropped
16242 as a keyword, but we still want to escape that to avoid breaking
16244 between different Python versions.
16246 Error out when building with a major Python version not covered yet,
16248 do not forget to update the list in the future.
16250 https://bugzilla.gnome.org/show_bug.cgi?id=676746
16252 gi/pygi-info.c | 38 +++++++++++++++++++++++++++++++++++++-
16253 tests/test_gi.py | 17 +++++++++++++++++
16254 2 files changed, 54 insertions(+), 1 deletion(-)
16256 commit 3864d7a3b7def035ee2daf22ba717371c8d261de
16257 Author: Martin Pitt <martinpitt@gnome.org>
16258 Date: Fri Jun 22 13:13:37 2012 +0200
16260 Ignore E123 in pep8 tests
16262 This is "closing bracket does not match indentation of opening
16264 but it really looks better to have the closing bracket on the
16266 of the opening bracket instead of the indentation level of the
16268 contains the opening bracket.
16270 tests/Makefile.am | 2 +-
16271 1 file changed, 1 insertion(+), 1 deletion(-)
16273 commit fb436dd6d3b40b3f2a8ba6f402e2987752ad1902
16274 Author: Martin Pitt <martinpitt@gnome.org>
16275 Date: Fri Jun 22 13:08:34 2012 +0200
16277 PEP8: Fix indentation
16279 Spotted by current pep8 checker.
16281 demos/gtk-demo/demos/Entry/entry_buffer.py | 6 +--
16282 demos/gtk-demo/demos/Entry/entry_completion.py | 6 +--
16283 demos/gtk-demo/demos/Entry/search_entry.py | 4 +-
16284 demos/gtk-demo/demos/appwindow.py | 2 +-
16285 demos/gtk-demo/demos/clipboard.py | 8 +--
16286 demos/gtk-demo/demos/colorselector.py | 6 +--
16287 demos/gtk-demo/demos/rotatedtext.py | 8 +--
16288 demos/gtk-demo/gtk-demo.py | 6 +--
16289 examples/option.py | 29 ++++++-----
16290 examples/signal.py | 3 +-
16291 gi/_glib/option.py | 6 +--
16292 gi/_gobject/propertyhelper.py | 18 +++----
16293 gi/module.py | 14 +++---
16294 gi/overrides/GLib.py | 2 +-
16295 gi/overrides/Gio.py | 11 +++--
16296 gi/overrides/Gtk.py | 16 +++---
16297 gi/pygtkcompat.py | 7 ++-
16298 gi/types.py | 17 ++++---
16299 tests/runtests.py | 2 +-
16300 tests/test_gdbus.py | 55 +++++++++++----------
16301 tests/test_gi.py | 15 +++---
16302 tests/test_gobject.py | 18 +++----
16303 tests/test_option.py | 26 +++++-----
16304 tests/test_overrides.py | 67
16305 +++++++++++++-------------
16306 tests/test_properties.py | 30 ++++++------
16307 tests/test_signal.py | 2 +-
16308 tests/test_uris.py | 9 ++--
16309 27 files changed, 200 insertions(+), 193 deletions(-)
16311 commit 129462ccc4a2191ecbb42247030c91bd0f1454f6
16312 Author: Martin Pitt <martinpitt@gnome.org>
16313 Date: Fri Jun 22 12:36:54 2012 +0200
16315 PEP8: Use isinstance() instead of direct type comparisons
16317 Spotted by current pep8 checker.
16319 gi/overrides/GLib.py | 2 +-
16320 gi/overrides/__init__.py | 2 +-
16321 2 files changed, 2 insertions(+), 2 deletions(-)
16323 commit 50e45a624e6301e65c150e137aad6d092f203f3f
16324 Author: Martin Pitt <martinpitt@gnome.org>
16325 Date: Fri Jun 22 12:30:10 2012 +0200
16327 PEP8: Fix continuation lines
16329 Spotted by current pep8 checker.
16331 demos/gtk-demo/demos/Entry/search_entry.py | 6 +++---
16332 gi/__init__.py | 6 +++---
16333 gi/_gobject/__init__.py | 6 ++----
16334 gi/module.py | 6 +++---
16335 tests/test_overrides.py | 11 +++--------
16336 5 files changed, 14 insertions(+), 21 deletions(-)
16338 commit ef06548b0dc6aee0e8ab208a78966dc1d5d917ee
16339 Author: Martin Pitt <martinpitt@gnome.org>
16340 Date: Fri Jun 22 12:24:32 2012 +0200
16342 PEP8: Consistent comparisons against True, False, and None
16344 Spotted by current pep8 checker.
16346 demos/gtk-demo/demos/clipboard.py | 4 ++--
16347 demos/gtk-demo/demos/drawingarea.py | 4 ++--
16348 demos/gtk-demo/gtk-demo.py | 8 ++++----
16349 gi/overrides/Gdk.py | 2 +-
16350 gi/overrides/Gtk.py | 2 +-
16351 tests/test_gi.py | 4 ++--
16352 tests/test_overrides.py | 3 +--
16353 7 files changed, 13 insertions(+), 14 deletions(-)
16355 commit 379c1474a071292a1e8da413af2f5438cff09fc8
16356 Author: Martin Pitt <martinpitt@gnome.org>
16357 Date: Wed Jun 20 12:23:12 2012 +0200
16359 Fix crash in GLib.find_program_in_path()
16361 We need to handle a NULL return value properly.
16363 https://bugzilla.gnome.org/show_bug.cgi?id=678119
16365 gi/_glib/glibmodule.c | 10 ++++++++--
16366 tests/Makefile.am | 1 +
16367 tests/test_glib.py | 15 +++++++++++++++
16368 3 files changed, 24 insertions(+), 2 deletions(-)
16370 commit 73531fd7820bd1922347bd856298d68205a27877
16371 Author: Martin Pitt <martinpitt@gnome.org>
16372 Date: Wed Jun 20 11:16:39 2012 +0200
16374 Revert "Do not bind gobject_get_data() and gobject_set_data()"
16376 We should have some deprecation period for this, so bring back
16378 methods and add deprecation warnings.
16380 This reverts commit 24cc09a7105299805fcc5bc151f53ac69958d728.
16382 https://bugzilla.gnome.org/show_bug.cgi?id=641944
16384 gi/_gobject/pygobject.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
16385 1 file changed, 44 insertions(+)
16387 commit a0daa843801658929ffee5bcb9eb67d955dc7921
16388 Author: David Keijser <keijser@gmail.com>
16389 Date: Mon Jun 18 15:09:34 2012 +0200
16391 GVariant: Raise proper TypeError on invalid tuple input
16393 https://bugzilla.gnome.org/show_bug.cgi?id=678317
16395 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16397 gi/overrides/GLib.py | 4 ++--
16398 tests/test_overrides.py | 1 +
16399 2 files changed, 3 insertions(+), 2 deletions(-)
16401 commit fb39ba934180e1e48fd15774e69d1cecf47a4c84
16402 Author: Martin Pitt <martinpitt@gnome.org>
16403 Date: Tue Jun 5 19:11:38 2012 +0200
16405 configure.ac: Post-release bump to 3.3.3
16407 configure.ac | 2 +-
16408 1 file changed, 1 insertion(+), 1 deletion(-)
16410 commit 7f0995e7fa865ebde7490d0570a7135a2f962cdf
16411 Author: Martin Pitt <martinpitt@gnome.org>
16412 Date: Tue Jun 5 19:09:12 2012 +0200
16416 NEWS | 44 ++++++++++++++++++++++++++++++++++++++++++++
16417 1 file changed, 44 insertions(+)
16419 commit 8209c1ae1632c77768699481e574d5d378956e71
16420 Author: Martin Pitt <martinpitt@gnome.org>
16421 Date: Tue Jun 5 19:04:49 2012 +0200
16423 Fix "release-news" make target
16425 Actually list changes since the previous release, not since 3.1.92.
16428 1 file changed, 1 insertion(+), 1 deletion(-)
16430 commit b21f66d2a399b8c9a36a1758107b7bdff0ec8eaa
16431 Author: Bastian Winkler <buz@netbuz.org>
16432 Date: Wed May 9 19:04:01 2012 +0200
16434 foreign: Register cairo.Path and cairo.FontOptions foreign structs
16436 They are rarely used, but they are used at least by Gdk, PangoCairo
16440 clutter.Path is not used by any API that the test suite uses, so
16442 without a test for now.
16444 https://bugzilla.gnome.org/show_bug.cgi?id=677388
16446 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16448 gi/pygi-foreign-cairo.c | 85
16449 ++++++++++++++++++++++++++++++++++++++++++++++++
16450 tests/test_everything.py | 8 +++++
16451 2 files changed, 93 insertions(+)
16453 commit 635a7d1b48d99ddd1ea123797c493b18b0cdfd45
16454 Author: Marien Zwart <marien.zwart@gmail.com>
16455 Date: Wed May 23 01:51:46 2012 +0200
16457 Check types in GBoxed assignments
16459 Check if the Python value is GBoxed instead of assuming it is.
16460 Without this, the following segfaults:
16462 from gi.repository import Soup
16464 msg = Soup.Message()
16465 msg.props.uri = 'http://www.gnome.org'
16467 as we assume the new property is a GBoxed while it is actually a
16470 https://bugzilla.gnome.org/show_bug.cgi?id=676603
16472 Co-authored-by: Martin Pitt <martinpitt@gnome.org>
16473 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16475 gi/pygi-argument.c | 10 +++++++---
16476 tests/test_gi.py | 19 +++++++++++++++++++
16477 2 files changed, 26 insertions(+), 3 deletions(-)
16479 commit 2305dcd7e8841f87dc2fc683390df78453a5dc2a
16480 Author: Bastian Winkler <buz@netbuz.org>
16481 Date: Sat May 12 14:08:51 2012 +0200
16483 [API add] Gtk overrides: Add TreeModelRow.get_previous()
16485 TreeModelRow has get_next() and a next property, it should also have
16486 get_previous() and previous.
16488 https://bugzilla.gnome.org/show_bug.cgi?id=677389
16490 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16492 gi/overrides/Gtk.py | 9 +++++++++
16493 1 file changed, 9 insertions(+)
16495 commit 5501fba534696974899f2591929bff9e1b6ecd65
16496 Author: Bastian Winkler <buz@netbuz.org>
16497 Date: Sat May 12 13:50:02 2012 +0200
16499 [API add] Add missing GObject.TYPE_VARIANT
16501 Add TYPE_VARIANT to constants to make it accessible as
16502 GObject.TYPE_VARIANT.
16504 https://bugzilla.gnome.org/show_bug.cgi?id=677387
16506 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16508 gi/_gobject/__init__.py | 1 +
16509 gi/_gobject/constants.py | 1 +
16510 2 files changed, 2 insertions(+)
16512 commit 4c51a5411092f8ab6f8f6e9692a9b49692f621a7
16513 Author: Jasper St. Pierre <jstpierre@mecheye.net>
16514 Date: Fri Jun 1 02:53:13 2012 -0400
16516 Fix boxed type equality
16518 Each boxed type has its own Python type, not PyGBoxed_Type. Use
16519 PyObject_IsInstance instead of comparing against PyGBoxed_Type
16522 https://bugzilla.gnome.org/show_bug.cgi?id=677249
16524 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16526 gi/_gobject/pygboxed.c | 3 ++-
16527 tests/test_everything.py | 8 ++++++++
16528 2 files changed, 10 insertions(+), 1 deletion(-)
16530 commit dc8eef26906753fcb3ce057b23ca110137897fa5
16531 Author: Jose Rostagno <joserostagno@vijona.com.ar>
16532 Date: Fri Jun 1 13:43:38 2012 +0200
16534 Fix TestProperties.testBoxed test
16536 A typo was preventing the test from being run.
16538 https://bugzilla.gnome.org/show_bug.cgi?id=676644
16540 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16542 tests/test_properties.py | 4 ++--
16543 1 file changed, 2 insertions(+), 2 deletions(-)
16545 commit 853e6a71234ebd66af5a64dfb296e323c2c905a6
16546 Author: Carlos Garnacho <carlos@lanedo.com>
16547 Date: Thu May 17 17:09:15 2012 +0200
16549 Fix handling of by-reference structs as out parameters
16551 When marshalling back from python, copy the result of by-reference
16552 structs into the memory expected by the native caller, instead of
16553 attempting to handle it as a pointer.
16555 https://bugzilla.gnome.org/show_bug.cgi?id=653151
16557 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16559 gi/pygi-closure.c | 17 +++++++++++++++++
16560 tests/test_gi.py | 5 +++++
16561 2 files changed, 22 insertions(+)
16563 commit bac9d526f6a9774821d1c9c0e7b35cc6db942975
16564 Author: Martin Pitt <martinpitt@gnome.org>
16565 Date: Fri Jun 1 12:28:53 2012 +0200
16567 tests: Add more vfunc checks for GIMarshallingTestsObject
16569 tests/test_gi.py | 25 +++++++++++++++++++++++++
16570 1 file changed, 25 insertions(+)
16572 commit e1aaf4a48453be0e69e7f3a70a2e7a790871a4d2
16573 Author: Martin Pitt <martinpitt@gnome.org>
16574 Date: Fri Jun 1 12:02:55 2012 +0200
16576 Test caller-allocated GValue out parameter
16578 This came up as a side issue in
16579 https://bugzilla.gnome.org/show_bug.cgi?id=653151
16581 tests/test_gi.py | 3 +++
16582 1 file changed, 3 insertions(+)
16584 commit edc17e703e1a05e20545d3df9167ceb076450443
16585 Author: Bastian Winkler <buz@netbuz.org>
16586 Date: Wed May 16 11:13:05 2012 +0200
16588 GObject.bind_property: Support transform functions
16590 Add support for optional transformation functions to
16591 pygobject_bind_property(). It uses a custom PyGClosure to marshal the
16592 return value correctly.
16594 https://bugzilla.gnome.org/show_bug.cgi?id=676169
16596 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16598 gi/_gobject/pygobject.c | 130
16599 +++++++++++++++++++++++++++++++++++++++++++++---
16600 tests/test_gobject.py | 59 ++++++++++++++++++++++
16601 2 files changed, 181 insertions(+), 8 deletions(-)
16603 commit 07a08b49aae83a297e2f91240448314e4663f724
16604 Author: Carlos Garnacho <carlos@lanedo.com>
16605 Date: Mon May 14 15:31:14 2012 +0200
16607 Fix lookup of vfuncs in parent classes
16609 https://bugzilla.gnome.org/show_bug.cgi?id=672864.
16611 As subclasses implemented in python override the attribute for the
16612 vfunc, __mro__ has to be used so subclasses of the subclass overriding
16613 methods may find the corresponding VFuncInfo.
16615 Co-Authored-by: Martin Pitt <martinpitt@gnome.org>
16617 gi/types.py | 6 +++---
16618 tests/test_gi.py | 27 +++++++++++++++++++++++++++
16619 2 files changed, 30 insertions(+), 3 deletions(-)
16621 commit b965ee15bac6cd28d16d32205d96d2b1bdd3f0e1
16622 Author: Martin Pitt <martinpitt@gnome.org>
16623 Date: Fri Jun 1 08:18:40 2012 +0200
16625 tests/test_properties.py: Fix whitespace
16627 The pep8 check failed on this.
16629 tests/test_properties.py | 2 +-
16630 1 file changed, 1 insertion(+), 1 deletion(-)
16632 commit 274d60a7c08d74a299f4b83d8054c00eadb4bdbd
16633 Author: Jasper St. Pierre <jstpierre@mecheye.net>
16634 Date: Wed May 30 16:45:53 2012 -0400
16636 gi: Support zero-terminated arrays with length arguments
16638 Sometimes, you may see (array zero-terminated=1 length=length)
16640 Don't expose the length argument to the user in this case.
16642 https://bugzilla.gnome.org/show_bug.cgi?id=677124
16644 gi/pygi-cache.c | 13 ++++---------
16645 tests/test_gi.py | 3 +++
16646 2 files changed, 7 insertions(+), 9 deletions(-)
16648 commit 62c2e962a225ec2527aa3d7406aa0dae232a0886
16649 Author: Jasper St. Pierre <jstpierre@mecheye.net>
16650 Date: Fri May 25 17:09:55 2012 -0400
16654 libregress now needs cairo-gobject
16656 configure.ac | 2 +-
16657 1 file changed, 1 insertion(+), 1 deletion(-)
16659 commit 9477f0f2f17a6d9b97e5ee08378bc009b8d4c30a
16660 Author: Martin Pitt <martinpitt@gnome.org>
16661 Date: Mon May 14 15:48:34 2012 +0200
16663 Fix comment in previous commit
16665 tests/test_gobject.py | 2 +-
16666 1 file changed, 1 insertion(+), 1 deletion(-)
16668 commit 6610428394d0c65987de5021bf2c38641cdb7116
16669 Author: Simon Feltman <s.feltman@gmail.com>
16670 Date: Tue May 8 20:04:09 2012 -0700
16672 [API add] Add GObject.bind_property method
16674 This adds the "bind_property" method for binding two gobject
16676 together. The method returns a weak reference to a GBinding object.
16677 The BindingWeakRef object is used to manage GBinding objects within
16679 created through GObject.bind_property. It is a sub-class
16680 PyGObjectWeakRef so
16681 that we can maintain the same reference counting semantics between
16683 and GObject Binding objects. This gives explicit direct control of the
16684 binding lifetime by using the "unbind" method on the BindingWeakRef
16686 along with implicit management based on the lifetime of the source or
16689 Note this does not yet include support for converter closures. This
16691 later after the initial implementation is accepted.
16693 https://bugzilla.gnome.org/show_bug.cgi?id=675582
16695 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16697 gi/_gobject/pygobject.c | 104
16698 +++++++++++++++++++++++++++++++++++++++++++++++-
16699 tests/test_gobject.py | 90 +++++++++++++++++++++++++++++++++++++++++
16700 2 files changed, 193 insertions(+), 1 deletion(-)
16702 commit 88babe7377402f6e6f912a8b83615aab848eae81
16703 Author: Jose Rostagno <joserostagno@vijona.com.ar>
16704 Date: Fri May 11 19:08:47 2012 -0300
16706 pygtkcompat: Correctly set flags
16708 https://bugzilla.gnome.org/show_bug.cgi?id=675911
16710 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16712 gi/pygtkcompat.py | 5 ++---
16713 tests/test_pygtkcompat.py | 1 +
16714 2 files changed, 3 insertions(+), 3 deletions(-)
16716 commit 3f712b56397296bca2f5358cd52977b1a2011964
16717 Author: Jose Rostagno <joserostagno@vijona.com.ar>
16718 Date: Fri May 11 12:39:05 2012 -0300
16720 Gtk overrides: Implement __delitem__ on TreeModel
16722 https://bugzilla.gnome.org/show_bug.cgi?id=675892
16724 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16726 gi/overrides/Gtk.py | 16 ++++++++++++----
16727 tests/test_overrides.py | 9 +++++++++
16728 2 files changed, 21 insertions(+), 4 deletions(-)
16730 commit 9a1a07742ec0b1821d469603f9996a2b7d832f40
16731 Author: Simon Feltman <s.feltman@gmail.com>
16732 Date: Sun May 6 18:10:39 2012 -0700
16734 Gdk Color override should support red/green/blue_float properties
16736 Added red_float, green_float, and blue_float properties to Color.
16737 Also added Color.from_floats, RGBA.to_color, and RGBA.from_color.
16739 https://bugzilla.gnome.org/show_bug.cgi?id=675579
16741 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16743 gi/overrides/Gdk.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
16744 tests/Makefile.am | 2 +-
16745 tests/test_overrides.py | 17 +++++++++++++++++
16746 3 files changed, 62 insertions(+), 1 deletion(-)
16748 commit d9608c332d9592f03545b110cfac8105453ea035
16749 Author: Martin Pitt <martinpitt@gnome.org>
16750 Date: Sat May 5 12:42:42 2012 -0700
16752 Support marshalling of GVariants for closures
16754 Add GVariant handling to pyg_value_{as,from}_pyobject(), so that
16756 be called with GVariant arguments and return GVariant.
16758 Unmark the corresponding test case as "expected failure", and also
16760 for None values and type mismatches.
16762 https://bugzilla.gnome.org/show_bug.cgi?id=656554
16764 gi/_gobject/pygtype.c | 47
16765 +++++++++++++++++++++++++++++++++++++++++++++--
16766 tests/test_everything.py | 16 ++++++++++++----
16767 2 files changed, 57 insertions(+), 6 deletions(-)
16769 commit e7a909c16dc1c625ab11e270f23d540f15c71767
16770 Author: Johan Dahlin <johan@gnome.org>
16771 Date: Mon May 7 10:33:40 2012 -0300
16773 Require gobject-introspection 1.33.0
16775 configure.ac | 2 +-
16776 1 file changed, 1 insertion(+), 1 deletion(-)
16778 commit 9e8239684433631e0d1650d25416e4d7bf92a058
16779 Author: Martin Pitt <martinpitt@gnome.org>
16780 Date: Sun May 6 18:28:23 2012 -0700
16782 NEWS: Add API additions since 3.2.0
16785 1 file changed, 4 insertions(+), 3 deletions(-)
16787 commit d1a2bf51eb25b54028fbf496d20dfad9546bcb5e
16788 Author: Martin Pitt <martinpitt@gnome.org>
16789 Date: Sun May 6 18:25:23 2012 -0700
16791 NEWS: Mark API changes since 3.2.0
16794 1 file changed, 3 insertions(+), 3 deletions(-)
16796 commit a3329539291bd8ea9aa6cb184a05ea7c21f8885a
16797 Author: Martin Pitt <martinpitt@gnome.org>
16798 Date: Sun May 6 18:19:35 2012 -0700
16800 Fix commit 168a087 for Python 3
16802 Simplify the type check and use the already existing one. Fix the
16804 to work with both Python 2 and 3.
16806 gi/pygi-argument.c | 42 +++++++++---------------------------------
16807 1 file changed, 9 insertions(+), 33 deletions(-)
16809 commit 42c717ed77613e02f3c8ef2685bc071462b87d73
16810 Author: Martin Pitt <martinpitt@gnome.org>
16811 Date: Sun May 6 18:08:57 2012 -0700
16813 pygtkcompat.py: Typo fix
16815 Was missing a space around operator, causing the PEP8 check to fail.
16817 gi/pygtkcompat.py | 2 +-
16818 1 file changed, 1 insertion(+), 1 deletion(-)
16820 commit 168a08753cec1ff77ccca5d81b9a5fd2af5d3720
16821 Author: Martin Pitt <martinpitt@gnome.org>
16822 Date: Sun May 6 18:02:04 2012 -0700
16824 _pygi_argument_from_object(): Check for compatible data type
16826 Verify that the passed PyObject actually matches the expected type
16828 argument. With this, trying to assign a wrong type to a property
16830 a proper TypeError.
16832 gi/pygi-argument.c | 39 +++++++++++++++++++++++++++++++++++++++
16833 gi/pygi-property.c | 3 +++
16834 tests/test_gi.py | 40 ++++++++++++++++++++++++++++++++++++++++
16835 3 files changed, 82 insertions(+)
16837 commit 5948b62ba3e08ea943e6965ee38c94c363186226
16838 Author: Martin Pitt <martinpitt@gnome.org>
16839 Date: Sun May 6 17:59:57 2012 -0700
16841 pygtkcompat: Fix color conversion
16843 gtk_style_context_get_background_color() returns a GdkRGBA value,
16845 float values between 0 and 1. However, we construct a GdkColor
16847 that, so we need to scale to 0..65535 and round to int.
16849 gi/pygtkcompat.py | 6 +++---
16850 1 file changed, 3 insertions(+), 3 deletions(-)
16852 commit 6af74c501bc604559f8b5b4e0d856d022ed882bb
16853 Author: Martin Pitt <martinpitt@gnome.org>
16854 Date: Sun May 6 06:02:31 2012 -0700
16856 test_gi: Check setting properties in constructor
16858 tests/test_gi.py | 33 +++++++++++++++++++++++++++++++++
16859 1 file changed, 33 insertions(+)
16861 commit 9f50fd214e4214f83959b2883a0c667f7f157c97
16862 Author: Martin Pitt <martinpitt@gnome.org>
16863 Date: Sun May 6 05:50:00 2012 -0700
16865 Support getting and setting GStrv properties
16867 gi/pygi-property.c | 36 ++++++++++++++++++++++++++++++++++++
16868 tests/test_gi.py | 11 +++++++++++
16869 2 files changed, 47 insertions(+)
16871 commit 8321af2c7df499291e664c676376f149a0c3dcac
16872 Author: Martin Pitt <martinpitt@gnome.org>
16873 Date: Sat May 5 13:58:29 2012 -0700
16875 Support defining GStrv properties from Python
16877 gi/_gobject/propertyhelper.py | 10 ++++++--
16878 tests/test_properties.py | 58
16879 +++++++++++++++++++++++++++++++++++++++++--
16880 2 files changed, 64 insertions(+), 4 deletions(-)
16882 commit f2494526e1c579c41babfe7ff67deef0f6966adf
16883 Author: Martin Pitt <martinpitt@gnome.org>
16884 Date: Sat May 5 13:21:20 2012 -0700
16886 Add GObject.TYPE_STRV constant
16888 gi/_gobject/__init__.py | 1 +
16889 gi/_gobject/constants.py | 1 +
16890 tests/test_everything.py | 2 +-
16891 tests/test_signal.py | 2 +-
16892 4 files changed, 4 insertions(+), 2 deletions(-)
16894 commit 8c7306e4d6355ca45f8f1b4adf7d0595b4e8bcf8
16895 Author: Martin Pitt <martinpitt@gnome.org>
16896 Date: Sat May 5 09:28:36 2012 +0200
16898 Unref GVariants when destroying the wrapper
16900 https://bugzilla.gnome.org/show_bug.cgi?id=675472
16902 gi/overrides/GLib.py | 3 +++
16903 1 file changed, 3 insertions(+)
16905 commit d6c091d87c86c8ccc7cb54347fbceccedac61633
16906 Author: Martin Pitt <martinpitt@gnome.org>
16907 Date: Sat May 5 09:23:55 2012 +0200
16909 Fix TestArrayGVariant test cases
16911 test_array_gvariant_container_in() and test_array_gvariant_full_in()
16913 GIMarshallingTests.array_gvariant_none_in(), presumably a copy&paste
16915 Actually do what they mean to do now and call the corresponding
16916 GIMarshallingTests methods.
16918 tests/test_gi.py | 4 ++--
16919 1 file changed, 2 insertions(+), 2 deletions(-)
16921 commit fda8a069d503e63c76a6b1ba285a181822549059
16922 Author: Jose Rostagno <joserostagno@vijona.com.ar>
16923 Date: Sat May 5 08:52:41 2012 +0200
16925 pygtkcompat: Add gdk.pixbuf_get_formats compat code
16927 https://bugzilla.gnome.org/show_bug.cgi?id=675489
16929 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16931 gi/pygtkcompat.py | 20 ++++++++++++++++++++
16932 tests/test_pygtkcompat.py | 8 ++++++++
16933 2 files changed, 28 insertions(+)
16935 commit 2b49c5f58bb841de7a9077eeeaf996eb9851dab3
16936 Author: Jose Rostagno <joserostagno@vijona.com.ar>
16937 Date: Mon Apr 30 13:44:19 2012 -0300
16939 pygtkcompat: Add some more compat functions
16941 https://bugzilla.gnome.org/show_bug.cgi?id=675489
16943 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16945 gi/pygtkcompat.py | 14 ++++++++++++++
16946 1 file changed, 14 insertions(+)
16948 commit 16fbb17a9fd17eeb9f886af99e89a214d328dae1
16949 Author: Martin Pitt <martinpitt@gnome.org>
16950 Date: Thu May 3 12:25:04 2012 +0200
16952 Fix tests for Python 3
16954 cmp() does not exist any more in Python 3, replace with comparison
16957 GIMarshallingTests.array_in_nonzero_nonlen() expects a guint8 array,
16959 can't pass a str (which is an Unicode object in Python 3). Pass a
16963 tests/test_gi.py | 2 +-
16964 tests/test_overrides.py | 2 +-
16965 2 files changed, 2 insertions(+), 2 deletions(-)
16967 commit fd7f8eefbe8aba0b29d80e3eb9d985d33a268c8a
16968 Author: Martin Pitt <martinpitt@gnome.org>
16969 Date: Thu May 3 09:38:56 2012 +0200
16971 Fix building with --disable-cairo
16973 Build gobject-introspection's regress.c against cairo, not
16974 pycairo/py3cairo. We
16975 always need cairo to build, so unconditionally check for this in
16978 In test_everything.py, gracefully handle the absence of the "cairo"
16980 module, which we do not have when building without cairo support.
16982 configure.ac | 3 +++
16983 tests/Makefile.am | 4 ++--
16984 tests/test_everything.py | 8 +++++++-
16985 3 files changed, 12 insertions(+), 3 deletions(-)
16987 commit 1c5634e6d98c8b67b37a2747951c66f5d8f1907d
16988 Author: Martin Pitt <martinpitt@gnome.org>
16989 Date: Thu May 3 09:28:51 2012 +0200
16991 tests: Fix deprecated assertions
16993 assertAlmostEquals → assertAlmostEqual
16994 assertNotEquals → assertNotEqual
16996 tests/test_everything.py | 4 ++--
16997 tests/test_gi.py | 12 ++++++------
16998 tests/test_overrides.py | 10 +++++-----
16999 3 files changed, 13 insertions(+), 13 deletions(-)
17001 commit 07f312e66c07357168098d3f96813d2c997e8dc7
17002 Author: Martin Pitt <martinpitt@gnome.org>
17003 Date: Wed May 2 12:08:19 2012 +0200
17005 Run tests with MALLOC_PERTURB_
17007 We mostly use the glib allocation functions, but this might
17008 help to uncover access to already freed or uninitialized memory in
17012 tests/Makefile.am | 1 +
17013 1 file changed, 1 insertion(+)
17015 commit b0740d386c2cbbd153878209b584b568968e4d98
17016 Author: Martin Pitt <martinpitt@gnome.org>
17017 Date: Mon Apr 30 16:26:57 2012 +0200
17019 configure.ac: Post-release bump to 3.3.2
17021 configure.ac | 2 +-
17022 1 file changed, 1 insertion(+), 1 deletion(-)
17024 commit d3977266faadacd3d05705497c1cf51a01a6606f
17025 Author: Martin Pitt <martinpitt@gnome.org>
17026 Date: Mon Apr 30 16:08:09 2012 +0200
17031 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
17032 1 file changed, 66 insertions(+)
17034 commit a8e222f04aac3bcf7e4421c4da8d080eeb8b5f56
17035 Author: Giovanni Campagna <gcampagna@src.gnome.org>
17036 Date: Sun Apr 29 23:55:15 2012 +0200
17038 GSettings: allow extra keyword arguments
17040 All GObject constructors are expected to accept any construct
17041 property as keyword argument, and overrides should respect that.
17042 In particular, not doing this for GSettings prevents using a custom
17045 https://bugzilla.gnome.org/show_bug.cgi?id=675105
17047 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
17049 gi/overrides/Gio.py | 4 ++--
17050 1 file changed, 2 insertions(+), 2 deletions(-)
17052 commit 592c67482c254f65817c1a1b5c5de5dfcaab31b4
17053 Author: Jose Rostagno <joserostagno@vijona.com.ar>
17054 Date: Sun Apr 29 12:56:50 2012 -0300
17056 pygtkcompat: Correct Userlist module use
17058 https://bugzilla.gnome.org/show_bug.cgi?id=675084
17060 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
17062 gi/pygtkcompat.py | 2 +-
17063 tests/test_pygtkcompat.py | 4 ++++
17064 2 files changed, 5 insertions(+), 1 deletion(-)
17066 commit 3551462a429ef30274fa01fc8111da5025f9c342
17067 Author: Martin Pitt <martinpitt@gnome.org>
17068 Date: Sun Apr 29 20:17:47 2012 +0200
17070 Add release-news make rule
17072 This produces a commit log since the previous release in our
17074 format. This does not currently wrap long lines automatically, though.
17076 Do include bug numbers from now on, as they are very useful.
17078 Makefile.am | 12 ++++++++++--
17079 1 file changed, 10 insertions(+), 2 deletions(-)
17081 commit fe79ef612a7853f024b73c7997b8ec89015ae94c
17082 Author: Martin Pitt <martinpitt@gnome.org>
17083 Date: Wed Apr 25 13:07:59 2012 +0200
17085 Add "make check.nemiver" target
17087 Similar to "check.gdb", but invokes nemiver.
17089 Makefile.am | 3 +++
17090 tests/Makefile.am | 3 +++
17091 2 files changed, 6 insertions(+)
17093 commit 3090cc70a7ce8df38dd6cf6c17350417a7367c0b
17094 Author: Martin Pitt <martinpitt@gnome.org>
17095 Date: Tue Apr 24 13:24:00 2012 +0200
17097 Test flags and enums in GHash values
17099 https://bugzilla.gnome.org/show_bug.cgi?id=637466
17101 tests/test_everything.py | 18 ++++++++++++------
17102 1 file changed, 12 insertions(+), 6 deletions(-)
17104 commit 88d189ec3e3d900a96496a50c1d6e76615b19558
17105 Author: Martin Pitt <martinpitt@gnome.org>
17106 Date: Tue Apr 24 13:03:36 2012 +0200
17108 tests: Activate test_hash_in and apply workaround
17110 Work around pygobject's current inability to produce a GStrv object
17112 string array by explicitly producing a GStrV object, and reactivate
17115 https://bugzilla.gnome.org/show_bug.cgi?id=666636
17117 tests/test_everything.py | 24 +++++++++++++-----------
17118 1 file changed, 13 insertions(+), 11 deletions(-)
17120 commit 8ee21619b3cfc179cf114813478470d9aa3f6fb8
17121 Author: Martin Pitt <martinpitt@gnome.org>
17122 Date: Mon Apr 23 12:33:09 2012 +0200
17124 Add special case for Gdk.Atom array entries from Python
17126 Gdk.Atom pretends to be a struct pointer, but is really just an
17128 into a pointer. So we must not dereference it directly, nor free
17130 instead just copy the pointer value.
17132 Also add a few other test cases for "single Atom return", "single
17134 in", and Atom GList return", which already work fine.
17136 https://bugzilla.gnome.org/show_bug.cgi?id=661709
17138 gi/pygi-marshal-from-py.c | 18 ++++++++++++++----
17139 tests/Makefile.am | 1 +
17140 tests/test_atoms.py | 41 +++++++++++++++++++++++++++++++++++++++++
17141 3 files changed, 56 insertions(+), 4 deletions(-)
17143 commit b9f24b4fbc2ca9f9b94b86f029c59b2fc3e8590f
17144 Author: Martin Pitt <martinpitt@gnome.org>
17145 Date: Mon Apr 23 20:09:43 2012 +0200
17147 test_gdbus: Call GetConnectionUnixProcessID() with correct signature
17149 https://bugzilla.gnome.org/show_bug.cgi?id=667954
17151 tests/test_gdbus.py | 2 +-
17152 1 file changed, 1 insertion(+), 1 deletion(-)
17154 commit 3ae38d7519524288a57e5d522954b9d6725f0185
17155 Author: Martin Pitt <martinpitt@gnome.org>
17156 Date: Mon Apr 23 18:47:34 2012 +0200
17158 Add test case for Gtk.ListStore custom sort
17160 This works in Python 2, but crashes in Python 3, another case of
17162 we get when C calls a Python callback in Python 3.
17164 https://bugzilla.gnome.org/show_bug.cgi?id=674475
17166 tests/test_overrides.py | 31 +++++++++++++++++++++++++++++++
17167 1 file changed, 31 insertions(+)
17169 commit c12b10ca0feaaf61f23354c7b6631a9ef3635c36
17170 Author: Martin Pitt <martinpitt@gnome.org>
17171 Date: Mon Apr 23 17:40:23 2012 +0200
17173 GTK overrides: Add missing keyword arguments
17175 Add missing **kwargs to overridden __init__() constructors, to
17177 arbitrary widget properties.
17179 https://bugzilla.gnome.org/show_bug.cgi?id=660018
17181 gi/overrides/Gtk.py | 34 ++++++++++++++++++----------------
17182 tests/test_overrides.py | 6 ++++++
17183 2 files changed, 24 insertions(+), 16 deletions(-)
17185 commit d37680bb9390426f7f58ea3d352c3e5e2106e978
17186 Author: Martin Pitt <martinpitt@gnome.org>
17187 Date: Mon Apr 23 15:24:04 2012 +0200
17189 Add missing override for TreeModel.iter_previous()
17191 This should behave like the override for TreeModel.iter_next().
17193 https://bugzilla.gnome.org/show_bug.cgi?id=660018
17195 gi/overrides/Gtk.py | 6 ++++++
17196 tests/test_overrides.py | 4 ++++
17197 2 files changed, 10 insertions(+)
17199 commit e03284f852f0e404cc91374f3e2e42b0ac1977b4
17200 Author: Martin Pitt <martinpitt@gnome.org>
17201 Date: Sun Apr 22 16:45:06 2012 +0200
17203 pygi-convert.py: Drop obsolete drag method conversions
17205 Drop conversion of drag_source_unset() and drag_dest_{,un}set(). These
17207 fixed a while ago to be proper Widget methods again.
17209 https://bugzilla.gnome.org/show_bug.cgi?id=652860
17211 pygi-convert.sh | 3 ---
17212 1 file changed, 3 deletions(-)
17214 commit f82eca6006dec21624796074af8ffe9b2256f7a4
17215 Author: Martin Pitt <martinpitt@gnome.org>
17216 Date: Sat Apr 21 14:00:50 2012 +0200
17218 tests: Replace deprecated assertEquals() with assertEqual()
17220 tests/test_everything.py | 144 ++++++-------
17221 tests/test_gi.py | 502
17222 +++++++++++++++++++++++-----------------------
17223 tests/test_gobject.py | 58 +++---
17224 tests/test_option.py | 6 +-
17225 tests/test_overrides.py | 352 ++++++++++++++++----------------
17226 tests/test_properties.py | 18 +-
17227 tests/test_pygtkcompat.py | 42 ++--
17228 7 files changed, 561 insertions(+), 561 deletions(-)
17230 commit ddb0bf01e694585d58af52673a21796e7c9578ea
17231 Author: Paolo Borelli <pborelli@gnome.org>
17232 Date: Sat Apr 21 12:02:54 2012 +0200
17234 Plug tiny leak in constant_info_get_value
17236 Fixes https://bugzilla.gnome.org/show_bug.cgi?id=642754
17238 gi/pygi-info.c | 1 +
17239 1 file changed, 1 insertion(+)
17241 commit 9c48a561c5ee010410df7d6e430353b41d5fbd88
17242 Author: Bastian Winkler <buz@netbuz.org>
17243 Date: Thu Apr 12 20:30:05 2012 +0200
17245 Fix len_arg_index for array arguments
17247 Don't set len_arg_index for arrays without the length annotation
17249 This fixes methods like Clutter.Texture.set_from_rgb_data() and
17250 Clutter.Image.set_data()
17252 https://bugzilla.gnome.org/show_bug.cgi?id=674271
17254 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
17256 gi/pygi-cache.c | 4 +++-
17257 gi/pygi-marshal-cleanup.c | 4 ++--
17258 tests/test_gi.py | 3 +++
17259 3 files changed, 8 insertions(+), 3 deletions(-)
17261 commit 71246ca0568bf3e9b81e88dd13b6d29e9417e313
17262 Author: Martin Pitt <martinpitt@gnome.org>
17263 Date: Thu Apr 19 13:11:56 2012 +0200
17265 Support defining GType properties from Python
17267 Commit 84e3471 fixed the handling of GType properties for properties
17269 defined in the C library already. Add the missing support for
17271 properties in Python as well.
17273 https://bugzilla.gnome.org/show_bug.cgi?id=674351
17275 gi/_gobject/gobjectmodule.c | 5 ++++-
17276 gi/_gobject/propertyhelper.py | 9 ++++++---
17277 tests/test_properties.py | 42
17278 +++++++++++++++++++++++++++++++++++++++---
17279 3 files changed, 49 insertions(+), 7 deletions(-)
17281 commit 2158ecd05a2770d6538bae67d01d1f718855a7d4
17282 Author: Martin Pitt <martinpitt@gnome.org>
17283 Date: Thu Apr 19 16:12:29 2012 +0200
17285 Fix typo in previous commit
17287 In the test case, actually assign the newly created object, so that
17289 properties of the right object.
17291 tests/test_everything.py | 2 +-
17292 1 file changed, 1 insertion(+), 1 deletion(-)
17294 commit 84e3471ba4595534cbe6875f1c8b77776e1d1814
17295 Author: Bastian Winkler <buz@netbuz.org>
17296 Date: Wed Apr 18 21:44:08 2012 +0200
17298 Handle GType properties correctly
17300 Fix conversion from/to properties of type G_TYPE_GTYPE
17302 https://bugzilla.gnome.org/show_bug.cgi?id=674351
17304 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
17306 gi/_gobject/pygtype.c | 9 +++++++--
17307 tests/test_everything.py | 15 +++++++++++++++
17308 2 files changed, 22 insertions(+), 2 deletions(-)
17310 commit d1362451e070e156d2f49c9cde930cc38befb12b
17311 Author: Martin Pitt <martinpitt@gnome.org>
17312 Date: Thu Apr 19 07:27:10 2012 +0200
17314 Add missing GObject.TYPE_GTYPE
17316 gi/_gobject/__init__.py | 1 +
17317 gi/_gobject/constants.py | 1 +
17318 2 files changed, 2 insertions(+)
17320 commit d3225f1540e09719caa73e52d402e946da3add24
17321 Author: Martin Pitt <martinpitt@gnome.org>
17322 Date: Tue Apr 10 12:44:00 2012 +0200
17324 Fix test_mainloop.py for Python 3
17326 tests/test_mainloop.py | 9 +++++++--
17327 1 file changed, 7 insertions(+), 2 deletions(-)
17329 commit 903283119896f3e054694484da4147788b02ce60
17330 Author: Martin Pitt <martinpitt@gnome.org>
17331 Date: Mon Apr 9 15:20:39 2012 +0200
17333 Make callback exception propagation test stricter
17335 Propagating Python exceptions from callbacks through the C context
17337 original caller does not currently happen, is nontrivial/unsafe
17339 and not desirable at this point any more as by now we have established
17341 current behaviour. So remove the catching of ZeroDivisionError in
17344 https://bugzilla.gnome.org/show_bug.cgi?id=616279
17346 tests/test_everything.py | 16 ++++++++--------
17347 1 file changed, 8 insertions(+), 8 deletions(-)
17349 commit 0fd900d351c8d7d57dc6a1b049ee05f342f6ab1d
17350 Author: Simon Feltman <s.feltman@gmail.com>
17351 Date: Sun Mar 18 15:59:58 2012 -0700
17353 Add context management to freeze_notify() and handler_block().
17355 These methods now return a context manager object. Within the
17357 thaw_notify() and handler_unblock() are called respectively. This
17359 statements like the following:
17361 with obj.freeze_notify():
17362 obj.props.width = 100
17363 obj.props.height = 100
17364 obj.props.opacity = 0.5
17366 This does not affect standard usage of these methods.
17368 https://bugzilla.gnome.org/show_bug.cgi?id=672324
17370 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
17372 gi/_gobject/pygobject.c | 138 +++++++++++++++++++++++++++++++++++++++---
17373 tests/test_gobject.py | 158
17374 ++++++++++++++++++++++++++++++++++++++++++++++++
17375 2 files changed, 288 insertions(+), 8 deletions(-)
17377 commit c0922589964c1d8bffe5a56d2f56df96eedfac10
17378 Author: Martin Pitt <martinpitt@gnome.org>
17379 Date: Wed Apr 4 19:08:54 2012 +0200
17381 Add support for GFlags properties
17383 https://bugzilla.gnome.org/show_bug.cgi?id=620943
17385 gi/_gobject/propertyhelper.py | 9 +++++++--
17386 tests/test_properties.py | 28 +++++++++++++++++++++++++++-
17387 2 files changed, 34 insertions(+), 3 deletions(-)
17389 commit d4054be9de3b7e4ed64c8172ebbde0a697462c79
17390 Author: Martin Pitt <martinpitt@gnome.org>
17391 Date: Wed Apr 4 17:54:52 2012 +0200
17393 Wrap GLib.Source.is_destroyed() method
17395 Based on original patch from Bryan Silverthorn.
17397 https://bugzilla.gnome.org/show_bug.cgi?id=524719
17399 gi/_glib/pygsource.c | 15 +++++++++++++++
17400 tests/test_source.py | 24 ++++++++++++++++++++++++
17401 2 files changed, 39 insertions(+)
17403 commit 05030a95a4d3090162ed5f510a26d69bbb152942
17404 Author: Martin Pitt <martinpitt@gnome.org>
17405 Date: Wed Apr 4 15:59:24 2012 +0200
17407 Fix error message when trying to override a non-GI class
17409 Based on original patch by Juanje Ojeda <jojeda@emergya.es>.
17411 https://bugzilla.gnome.org/show_bug.cgi?id=646667
17413 gi/overrides/__init__.py | 7 ++++---
17414 tests/test_overrides.py | 13 +++++++++++++
17415 2 files changed, 17 insertions(+), 3 deletions(-)
17417 commit 96f14989baea76fe8692f10c1a37e2dfc45fecbf
17418 Author: Steve Frécinaux <code@istique.net>
17419 Date: Wed Apr 4 15:30:55 2012 +0200
17421 Fix segfault when accessing __grefcount__ before creating the GObject
17423 When creating a new instance using Type() and trying to access
17424 __grefcount__ before calling the subclass's __init__ function, there
17425 used to be a segmentation fault because we were trying to access the
17426 not yet created object. Now raise a proper exception instead.
17428 https://bugzilla.gnome.org/show_bug.cgi?id=640434
17430 Co-authored-by: Martin Pitt <martinpitt@gnome.org>
17432 gi/_gobject/pygobject.c | 4 ++++
17433 tests/test_gobject.py | 11 +++++++++++
17434 2 files changed, 15 insertions(+)
17436 commit 24cc09a7105299805fcc5bc151f53ac69958d728
17437 Author: Steve Frécinaux <code@istique.net>
17438 Date: Wed Feb 9 18:37:33 2011 +0100
17440 Do not bind gobject_get_data() and gobject_set_data()
17442 They will basically cause a crash if misused, and you can always use a
17443 python member attribute instead.
17445 https://bugzilla.gnome.org/show_bug.cgi?id=641944
17447 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
17449 gi/_gobject/pygobject.c | 40 ----------------------------------------
17450 1 file changed, 40 deletions(-)
17452 commit 2a5a33a9c9c170830c98c2e32fa8dcea3c35f2e6
17453 Author: Martin Pitt <martinpitt@gnome.org>
17454 Date: Tue Apr 3 22:26:34 2012 +0200
17456 Add test case for multiple GLib.MainLoop instances
17458 Commit 832f16f9 fixed a lockup with multiple GLib.MainLoops. Add
17462 https://bugzilla.gnome.org/show_bug.cgi?id=663068
17464 tests/test_mainloop.py | 25 ++++++++++++++++++++++++-
17465 1 file changed, 24 insertions(+), 1 deletion(-)
17467 commit d03696c1aaa7e66f8f16554cf4a4b97addb5aea1
17468 Author: John (J5) Palmieri <johnp@redhat.com>
17469 Date: Tue Feb 21 15:13:42 2012 +0100
17471 Add a ccallback type which is used to invoke callbacks passed to
17474 Used when overriding methods like gtk_container_forall wich pass in a
17475 callback that needs to be executed on internal children:
17476 def do_forall(self, callback, userdata):
17477 callback(self.custom_child, userdata)
17479 https://bugzilla.gnome.org/show_bug.cgi?id=644926
17481 Co-authored-by: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
17482 Co-authored-by: Simon Schampijer <simon@laptop.org>
17484 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
17486 gi/Makefile.am | 2 +
17487 gi/gimodule.c | 1 +
17488 gi/module.py | 5 +++
17489 gi/pygi-argument.c | 12 +----
17490 gi/pygi-cache.c | 28 ++++++++++--
17491 gi/pygi-cache.h | 9 ++--
17492 gi/pygi-ccallback.c | 100
17493 ++++++++++++++++++++++++++++++++++++++++++
17494 gi/pygi-ccallback.h | 41 +++++++++++++++++
17495 gi/pygi-closure.c | 50 ++++++++++++++++++++-
17496 gi/pygi-invoke-state-struct.h | 2 +
17497 gi/pygi-invoke.c | 73 ++++++++++++++++++++----------
17498 gi/pygi-invoke.h | 3 ++
17499 gi/pygi-private.h | 1 +
17500 gi/pygi.h | 10 +++++
17501 tests/test_gi.py | 16 +++++++
17502 15 files changed, 312 insertions(+), 41 deletions(-)
17504 commit db7e1d078db16b6f11dee51aa97525c451346632
17505 Author: Alberto Mardegan <alberto.mardegan@canonical.com>
17506 Date: Tue Mar 27 17:34:48 2012 +0200
17508 Regression test: marshalling GValues in GHashTable
17510 https://bugzilla.gnome.org/show_bug.cgi?id=668903
17512 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
17514 tests/test_everything.py | 19 +++++++++++++++++++
17515 1 file changed, 19 insertions(+)
17517 commit 7c0017c30129a8db391f902ed592782200d69c64
17518 Author: Martin Pitt <martin.pitt@ubuntu.com>
17519 Date: Mon Mar 26 17:55:41 2012 +0200
17521 Bump version to 3.3.1
17523 3.2.x is built from the pygobject-3-2 branch now, and 3.2.0 is
17525 continue with 3.3.x on master.
17527 configure.ac | 4 ++--
17528 1 file changed, 2 insertions(+), 2 deletions(-)
17530 commit 8309f305e5ce508fc5f6411c8153bea2cee5f741
17531 Author: Martin Pitt <martin.pitt@ubuntu.com>
17532 Date: Mon Mar 26 17:51:37 2012 +0200
17536 - Ignore *.o, backup files, and generated Makefiles in all
17538 - Ignore *.pyc files.
17539 - Do not ignore .gitignore, we actually want to track this.
17542 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
17543 1 file changed, 61 insertions(+)
17545 commit 81de788a72b40acd2f857718d78bdeea01d12eb1
17546 Author: Martin Pitt <martin.pitt@ubuntu.com>
17547 Date: Mon Mar 26 17:45:08 2012 +0200
17549 Fix "distcheck" and tests with out-of-tree builds
17551 - Symlink *.py files from srcdir into builddir during build, as
17553 accept the extensions and modules in different paths.
17554 - "make clean" should remove *.pyc files
17555 - tests/runtests.py: Look for tests in srcdir, not in builddir
17557 Makefile.am | 6 ++++--
17558 gi/Makefile.am | 13 +++++++++++--
17559 gi/_glib/Makefile.am | 12 ++++++++++--
17560 gi/_gobject/Makefile.am | 12 ++++++++++--
17561 gi/overrides/Makefile.am | 10 ++++++++++
17562 gi/repository/Makefile.am | 11 +++++++++++
17563 tests/runtests.py | 6 ++++--
17564 7 files changed, 60 insertions(+), 10 deletions(-)
17566 commit f83d95e6fff572bda659a48e309b4524dafa4e83
17567 Author: Johan Dahlin <johan@gnome.org>
17568 Date: Thu Mar 22 11:14:03 2012 -0300
17570 Add a pep8 check to the makefile
17572 Also reorganize the pyflakes check, since target dependencies do not
17573 take the exit status of the shell command into account.
17575 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17577 tests/Makefile.am | 9 ++++-----
17578 1 file changed, 4 insertions(+), 5 deletions(-)
17580 commit d1f5474c6c50163aefe660e0689dc7f30e6cd48b
17581 Author: Johan Dahlin <johan@gnome.org>
17582 Date: Thu Mar 22 10:56:59 2012 -0300
17584 PEP8: Remaining whitespace fixes
17586 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17588 demos/gtk-demo/demos/Icon View/iconviewedit.py | 7 +++----
17589 demos/gtk-demo/demos/Tree View/liststore.py | 28
17590 +++++++++++++-------------
17591 demos/gtk-demo/demos/appwindow.py | 10 ++++-----
17592 demos/gtk-demo/demos/rotatedtext.py | 2 +-
17593 examples/cairo-demo.py | 4 ++--
17594 tests/test_gi.py | 12 +++++------
17595 tests/test_overrides.py | 2 +-
17596 7 files changed, 32 insertions(+), 33 deletions(-)
17598 commit 032fcce2bf6070a9001cbb780e90403051e303b1
17599 Author: Johan Dahlin <johan@gnome.org>
17600 Date: Thu Mar 22 10:56:03 2012 -0300
17602 PEP8: Add spaces before #
17604 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17606 demos/gtk-demo/demos/drawingarea.py | 6 +++---
17607 demos/gtk-demo/demos/images.py | 10 +++++-----
17608 demos/gtk-demo/demos/rotatedtext.py | 2 +-
17609 gi/__init__.py | 2 +-
17610 gi/_glib/option.py | 2 +-
17611 gi/_gobject/__init__.py | 2 +-
17612 gi/overrides/GLib.py | 12 ++++++------
17613 gi/types.py | 4 ++--
17614 tests/runtests.py | 2 +-
17615 tests/test_gdbus.py | 4 ++--
17616 10 files changed, 23 insertions(+), 23 deletions(-)
17618 commit 6a58edbf11c612e9a14347b1556d1e0dd2ec1823
17619 Author: Johan Dahlin <johan@gnome.org>
17620 Date: Thu Mar 22 10:52:05 2012 -0300
17622 PEP8: Add missing whitespace after : and ,
17624 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17626 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
17627 demos/gtk-demo/demos/appwindow.py | 2 +-
17628 tests/test_everything.py | 23 +++++++++--------------
17629 tests/test_gi.py | 2 +-
17630 tests/test_overrides.py | 2 +-
17631 5 files changed, 13 insertions(+), 18 deletions(-)
17633 commit a8d361e66b2a0e09cfa5dbade4725074b0cc2fd1
17634 Author: Johan Dahlin <johan@gnome.org>
17635 Date: Thu Mar 22 10:49:52 2012 -0300
17637 PEP8: Remove too whitespace before }
17639 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17641 tests/test_overrides.py | 2 +-
17642 1 file changed, 1 insertion(+), 1 deletion(-)
17644 commit 2b8eb9fa5b9ca454d7130b3eec15a982fee1bdc9
17645 Author: Johan Dahlin <johan@gnome.org>
17646 Date: Thu Mar 22 10:49:27 2012 -0300
17648 PEP8: Remove too many blank lines
17650 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17652 demos/gtk-demo/demos/rotatedtext.py | 1 -
17653 tests/test_overrides.py | 1 -
17654 2 files changed, 2 deletions(-)
17656 commit 03e597cb8f3b075efae556ee51a598695a883ad3
17657 Author: Johan Dahlin <johan@gnome.org>
17658 Date: Thu Mar 22 10:48:59 2012 -0300
17660 PEP8: Fix whitespace around operators
17662 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17664 demos/gtk-demo/demos/images.py | 2 +-
17665 examples/cairo-demo.py | 8 ++++----
17666 tests/test_gi.py | 4 ++--
17667 tests/test_overrides.py | 8 ++++----
17668 tests/test_properties.py | 14 +++++++-------
17669 tests/test_signal.py | 2 +-
17670 6 files changed, 19 insertions(+), 19 deletions(-)
17672 commit 21aeb19107b718293116e51ecd6479d4d7198b8f
17673 Author: Johan Dahlin <johan@gnome.org>
17674 Date: Thu Mar 22 10:46:17 2012 -0300
17676 PEP8: Remove whitespace before (
17678 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17680 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
17681 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
17682 demos/gtk-demo/demos/Entry/search_entry.py | 12 ++---
17683 demos/gtk-demo/demos/Icon View/iconviewedit.py | 4 +-
17684 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
17685 demos/gtk-demo/demos/dialogs.py | 12 ++---
17686 demos/gtk-demo/demos/pickers.py | 8 ++--
17687 demos/gtk-demo/demos/pixbuf.py | 4 +-
17688 demos/gtk-demo/demos/printing.py | 8 ++--
17689 demos/gtk-demo/demos/rotatedtext.py | 2 +-
17690 demos/gtk-demo/gtk-demo.py | 4 +-
17691 gi/module.py | 4 +-
17692 gi/overrides/Pango.py | 2 +-
17693 gi/pygtkcompat.py | 4 +-
17694 tests/test_everything.py | 4 +-
17695 tests/test_overrides.py | 62
17696 +++++++++++++-------------
17697 16 files changed, 68 insertions(+), 68 deletions(-)
17699 commit b04d209930ab01bae6563b0d714aec829739bdc6
17700 Author: Johan Dahlin <johan@gnome.org>
17701 Date: Thu Mar 22 10:40:46 2012 -0300
17703 PEP8: Remove whitespace around {}
17705 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17707 tests/test_signal.py | 20 ++++++++++----------
17708 1 file changed, 10 insertions(+), 10 deletions(-)
17710 commit 725483a5dc36739dc7836716b5d6d48091564bf8
17711 Author: Johan Dahlin <johan@gnome.org>
17712 Date: Thu Mar 22 10:38:59 2012 -0300
17714 PEP8: run via --fix from craigds fork
17716 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17718 demos/gtk-demo/demos/Entry/entry_buffer.py | 1 +
17719 demos/gtk-demo/demos/Entry/entry_completion.py | 1 +
17720 demos/gtk-demo/demos/Entry/search_entry.py | 3 +-
17721 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 1 +
17722 demos/gtk-demo/demos/Icon View/iconviewedit.py | 2 +
17723 demos/gtk-demo/demos/Tree View/liststore.py | 3 ++
17724 demos/gtk-demo/demos/appwindow.py | 13 +++++-
17725 demos/gtk-demo/demos/assistant.py | 1 +
17726 demos/gtk-demo/demos/builder.py | 1 +
17727 demos/gtk-demo/demos/button_box.py | 1 +
17728 demos/gtk-demo/demos/clipboard.py | 2 +-
17729 demos/gtk-demo/demos/colorselector.py | 1 +
17730 demos/gtk-demo/demos/combobox.py | 4 +-
17731 demos/gtk-demo/demos/dialogs.py | 2 +
17732 demos/gtk-demo/demos/drawingarea.py | 1 +
17733 demos/gtk-demo/demos/expander.py | 4 +-
17734 demos/gtk-demo/demos/images.py | 10 +++--
17735 demos/gtk-demo/demos/infobars.py | 2 +
17736 demos/gtk-demo/demos/links.py | 2 +
17737 demos/gtk-demo/demos/menus.py | 2 +
17738 demos/gtk-demo/demos/pickers.py | 2 +
17739 demos/gtk-demo/demos/pixbuf.py | 2 +
17740 demos/gtk-demo/demos/printing.py | 5 ++-
17741 demos/gtk-demo/demos/rotatedtext.py | 4 +-
17742 demos/gtk-demo/demos/test.py | 1 +
17743 demos/gtk-demo/gtk-demo.py | 9 ++--
17744 examples/cairo-demo.py | 57
17745 ++++++++++++++----------
17746 examples/option.py | 1 -
17747 examples/properties.py | 1 +
17748 examples/signal.py | 4 ++
17749 gi/__init__.py | 2 +
17750 gi/_glib/option.py | 4 +-
17751 gi/_gobject/__init__.py | 1 +
17752 gi/_gobject/propertyhelper.py | 5 ++-
17753 gi/module.py | 3 ++
17754 gi/overrides/GIMarshallingTests.py | 2 +
17755 gi/overrides/GLib.py | 12 +++--
17756 gi/overrides/Gdk.py | 9 ++++
17757 gi/overrides/Gio.py | 4 ++
17758 gi/overrides/Gtk.py | 56
17759 ++++++++++++++++++++---
17760 gi/overrides/Pango.py | 2 +
17761 gi/overrides/__init__.py | 5 ++-
17762 gi/pygtkcompat.py | 16 +++++--
17764 tests/test_everything.py | 30 +++++++++----
17765 tests/test_gdbus.py | 1 +
17766 tests/test_gi.py | 30 +++++++------
17767 tests/test_gobject.py | 3 +-
17768 tests/test_mainloop.py | 1 +
17769 tests/test_option.py | 1 +
17770 tests/test_overrides.py | 55
17771 ++++++++++++-----------
17772 tests/test_properties.py | 11 ++++-
17773 tests/test_signal.py | 32 ++++++++++++-
17774 tests/test_source.py | 1 +
17775 tests/test_subprocess.py | 1 +
17776 tests/test_thread.py | 1 +
17777 tests/test_uris.py | 1 +
17778 tests/testmodule.py | 1 +
17779 58 files changed, 326 insertions(+), 111 deletions(-)
17781 commit 917275d4aa81db39ccaca34fa514032fb80a3187
17782 Author: Johan Dahlin <johan@gnome.org>
17783 Date: Thu Mar 22 10:33:29 2012 -0300
17785 PEP8: Remove spaces around = for keyword arguments
17787 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17789 demos/gtk-demo/demos/appwindow.py | 8 ++++----
17790 demos/gtk-demo/demos/colorselector.py | 4 ++--
17791 demos/gtk-demo/gtk-demo.py | 24 ++++++++++++------------
17792 examples/option.py | 4 ++--
17793 gi/_glib/option.py | 2 +-
17794 gi/overrides/Gtk.py | 2 +-
17795 tests/test_gi.py | 26 +++++++++++++-------------
17796 tests/test_option.py | 2 +-
17797 tests/test_overrides.py | 8 ++++----
17798 9 files changed, 40 insertions(+), 40 deletions(-)
17800 commit 0c85656f95d3cb31becff10bbee7faae7b0b875b
17801 Author: Johan Dahlin <johan@gnome.org>
17802 Date: Thu Mar 22 10:28:28 2012 -0300
17804 PEP8: Remove trailing ;
17806 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17808 demos/gtk-demo/demos/appwindow.py | 4 ++--
17809 demos/gtk-demo/demos/dialogs.py | 30 +++++++++++++++---------------
17810 demos/gtk-demo/demos/links.py | 2 +-
17811 demos/gtk-demo/demos/pixbuf.py | 2 +-
17812 demos/gtk-demo/demos/printing.py | 8 ++++----
17813 gi/overrides/Gtk.py | 4 ++--
17814 tests/test_everything.py | 22 +++++++++++-----------
17815 tests/test_gi.py | 2 +-
17816 tests/test_overrides.py | 8 ++++----
17817 9 files changed, 41 insertions(+), 41 deletions(-)
17819 commit 32cc594ab6dfbd4843f3db5ec8338d31ad5df6c6
17820 Author: Johan Dahlin <johan@gnome.org>
17821 Date: Thu Mar 22 10:24:40 2012 -0300
17823 Remove all tabs and fix indentation
17825 By running the whole source tree via the indent.py script found
17826 in the Python distribution.
17828 demos/gtk-demo/demos/Entry/search_entry.py | 4 +-
17829 demos/gtk-demo/demos/Icon View/iconviewedit.py | 41 +++----
17830 demos/gtk-demo/demos/Tree View/liststore.py | 8 +-
17831 demos/gtk-demo/demos/appwindow.py | 18 +--
17832 demos/gtk-demo/demos/dialogs.py | 26 ++---
17833 demos/gtk-demo/demos/expander.py | 6 +-
17834 demos/gtk-demo/demos/images.py | 2 +-
17835 demos/gtk-demo/demos/links.py | 2 +-
17836 demos/gtk-demo/demos/rotatedtext.py | 20 ++--
17837 gi/_glib/option.py | 2 +-
17838 gi/_gobject/constants.py | 1 -
17839 gi/importer.py | 1 -
17840 gi/module.py | 10 +-
17841 gi/overrides/GLib.py | 11 +-
17842 gi/overrides/Gdk.py | 30 ++---
17843 gi/overrides/Gio.py | 4 +-
17844 gi/overrides/Gtk.py | 150
17845 ++++++++++++-------------
17846 gi/overrides/Pango.py | 1 -
17847 gi/overrides/__init__.py | 10 +-
17848 gi/pygtkcompat.py | 2 +-
17849 tests/compathelper.py | 2 +-
17850 tests/runtests.py | 19 ++--
17851 tests/test_everything.py | 22 ++--
17852 tests/test_gdbus.py | 11 +-
17853 tests/test_gi.py | 38 +++----
17854 tests/test_gobject.py | 2 +-
17855 tests/test_interface.py | 1 -
17856 tests/test_option.py | 1 -
17857 tests/test_overrides.py | 78 ++++++-------
17858 tests/test_properties.py | 2 +-
17859 tests/test_uris.py | 1 -
17860 31 files changed, 255 insertions(+), 271 deletions(-)
17862 commit c375e3136f0f48eb8a6717c0053155db088b329d
17863 Author: Martin Pitt <martin.pitt@ubuntu.com>
17864 Date: Thu Mar 22 10:32:43 2012 +0100
17866 tests: Replace deprecated Python API
17868 failIf → assertFalse, failUnless → assertTrue
17870 Caught by the previous commit of making deprecations fatal.
17872 tests/test_option.py | 10 +++----
17873 tests/test_overrides.py | 66
17874 +++++++++++++++++++++++------------------------
17875 tests/test_properties.py | 14 +++++-----
17876 tests/test_pygtkcompat.py | 18 ++++++-------
17877 tests/test_signal.py | 4 +--
17878 5 files changed, 56 insertions(+), 56 deletions(-)
17880 commit 32525e565cc48454cdacbc44ad3fd751b81cb7e3
17881 Author: Martin Pitt <martin.pitt@ubuntu.com>
17882 Date: Thu Mar 22 10:31:22 2012 +0100
17884 Fail tests if they use or encounter deprecations
17886 tests/Makefile.am | 2 +-
17887 1 file changed, 1 insertion(+), 1 deletion(-)
17889 commit 65762243a34af014950527c323a51a29d40fb3e1
17890 Author: Martin Pitt <martin.pitt@ubuntu.com>
17891 Date: Thu Mar 22 10:15:16 2012 +0100
17893 Do not run tests in two phases any more
17895 As we dropped the static bindings a while ago, there is no need any
17897 the tests in two phases (static/GI). Now just run them all in one go,
17898 simplifying tests/Makefile.am.
17900 As this changes the order of the tests, defining $GSETTINGS_SCHEMA_DIR
17902 needs to happen even further, so move it from tests/test_overrides.py
17906 tests/Makefile.am | 33 ++++++++++++---------------------
17907 tests/runtests.py | 7 +++++++
17908 tests/test_overrides.py | 6 ------
17909 3 files changed, 19 insertions(+), 27 deletions(-)
17911 commit 3b4ae83a0ece8e3aed1de5452e2acd32841e629a
17912 Author: Martin Pitt <martin.pitt@ubuntu.com>
17913 Date: Thu Mar 22 09:58:21 2012 +0100
17915 test_overrides: Find local gsettings schema with current glib
17917 With current glib, gsettings now fails to find the gschemas.compiled
17919 tests. Move the setting of $GSETTINGS_SCHEMA_DIR before the module
17921 which makes this work again.
17923 tests/test_overrides.py | 9 +++++----
17924 1 file changed, 5 insertions(+), 4 deletions(-)
17926 commit 927f7877ffa5e16c4cabcecbc05656ee0ec6a167
17927 Author: Paolo Borelli <pborelli@gnome.org>
17928 Date: Wed Mar 21 21:09:24 2012 +0100
17930 Add GtkComboBoxEntry compatibility
17932 This widget has been removed in Gtk+ 3, add a small wrapper to the
17933 compat module to make at least basic pygtk programs that use it work.
17935 https://bugzilla.gnome.org/show_bug.cgi?id=672589
17937 gi/pygtkcompat.py | 19 +++++++++++++++++++
17938 tests/test_pygtkcompat.py | 22 ++++++++++++++++++++++
17939 2 files changed, 41 insertions(+)
17941 commit b322d6a1f6d44bace4eefb98558cfe94a73a727c
17942 Author: Johan Dahlin <johan@gnome.org>
17943 Date: Wed Mar 21 16:01:35 2012 -0300
17945 Correct review comments from Martin
17947 https://bugzilla.gnome.org/show_bug.cgi?id=672578
17949 tests/test_everything.py | 4 ++--
17950 tests/test_pygtkcompat.py | 18 ++++++++++++++++++
17951 2 files changed, 20 insertions(+), 2 deletions(-)
17953 commit c8bc6ae10cfe8b2eff4204ec2175907a6eb0585a
17954 Author: Johan Dahlin <johan@gnome.org>
17955 Date: Wed Mar 21 14:45:53 2012 -0300
17957 Correct pyflakes warnings/errors
17959 And add a target to make check that runs pyflakes.
17961 https://bugzilla.gnome.org/show_bug.cgi?id=672578
17963 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
17964 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
17965 demos/gtk-demo/demos/Entry/search_entry.py | 12 +-
17966 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 2 +-
17967 demos/gtk-demo/demos/Icon View/iconviewedit.py | 2 +-
17968 demos/gtk-demo/demos/Tree View/liststore.py | 3 +-
17969 demos/gtk-demo/demos/appwindow.py | 13 +-
17970 demos/gtk-demo/demos/assistant.py | 4 +-
17971 demos/gtk-demo/demos/builder.py | 4 +-
17972 demos/gtk-demo/demos/button_box.py | 2 +-
17973 demos/gtk-demo/demos/clipboard.py | 2 +-
17974 demos/gtk-demo/demos/colorselector.py | 2 +-
17975 demos/gtk-demo/demos/combobox.py | 4 +-
17976 demos/gtk-demo/demos/dialogs.py | 4 +-
17977 demos/gtk-demo/demos/drawingarea.py | 2 +-
17978 demos/gtk-demo/demos/expander.py | 4 +-
17979 demos/gtk-demo/demos/images.py | 8 +-
17980 demos/gtk-demo/demos/infobars.py | 2 +-
17981 demos/gtk-demo/demos/links.py | 2 +-
17982 demos/gtk-demo/demos/menus.py | 5 +-
17983 demos/gtk-demo/demos/pickers.py | 2 +-
17984 demos/gtk-demo/demos/pixbuf.py | 2 +-
17985 demos/gtk-demo/demos/printing.py | 3 +-
17986 demos/gtk-demo/demos/rotatedtext.py | 6 +-
17987 demos/gtk-demo/gtk-demo.py | 9 +-
17988 examples/cairo-demo.py | 2 +-
17989 gi/__init__.py | 4 +
17990 gi/_glib/__init__.py | 101 ++++++++++-
17991 gi/_glib/option.py | 1 +
17992 gi/_gobject/__init__.py | 203
17993 ++++++++++++++++++++---
17994 gi/_gobject/constants.py | 2 -
17995 gi/_gobject/propertyhelper.py | 4 +-
17996 gi/importer.py | 2 +-
17998 gi/overrides/Gtk.py | 1 -
17999 gi/overrides/__init__.py | 1 -
18000 gi/pygtkcompat.py | 2 +
18002 tests/Makefile.am | 5 +
18003 tests/test_everything.py | 6 +-
18004 tests/test_gi.py | 8 +-
18005 tests/test_option.py | 10 +-
18006 tests/test_overrides.py | 30 ++--
18007 tests/test_properties.py | 12 +-
18008 tests/test_pygtkcompat.py | 4 -
18009 tests/test_signal.py | 4 +-
18010 tests/test_source.py | 6 +-
18011 47 files changed, 377 insertions(+), 138 deletions(-)
18013 commit 39650906559fcc39b4be406fa7e25c4788d349a3
18014 Author: Martin Pitt <martin.pitt@ubuntu.com>
18015 Date: Wed Mar 21 16:59:33 2012 +0100
18017 Make tests fail on CRITICAL logs, too, and apply to all tests
18019 Instead of setting warnings/criticals to fatal in individual test
18021 it in runtests.py, so that it applies to all tests.
18023 We currently have some tests which are known to generate CRITICALs
18025 with FIXME), and some WARNINGs (as they test behaviour with known-bad
18027 For these, warnings/criticals are now explicitly permitted.
18029 tests/runtests.py | 1 +
18030 tests/test_gi.py | 7 ++++++-
18031 tests/test_overrides.py | 14 +++++++-------
18032 tests/test_properties.py | 36 +++++++++++++++++++++---------------
18033 4 files changed, 35 insertions(+), 23 deletions(-)
18035 commit efcb4b0b32c4dda06c3eeec83802fc0f302f0d27
18036 Author: Alberto Mardegan <alberto.mardegan@canonical.com>
18037 Date: Tue Mar 20 14:55:07 2012 +0400
18039 Support marshalling GI_TYPE_TAG_INTERFACE
18041 Marshalling of interfaces got broken with commit
18042 7746d2188ac4933c2c9011d84525d1e62fc18953.
18044 Also, do not abort on unsupported types, but log a critical failure
18048 https://bugzilla.gnome.org/show_bug.cgi?id=668903
18050 gi/pygi-marshal-from-py.c | 3 ++-
18051 gi/pygi-marshal-to-py.c | 3 ++-
18052 2 files changed, 4 insertions(+), 2 deletions(-)
18054 commit 8d85d6639778ec6364235071d272d67e7aae49ae
18055 Author: Martin Pitt <martin.pitt@ubuntu.com>
18056 Date: Wed Mar 21 14:34:36 2012 +0100
18058 Fix warnings on None values in added tree/list store rows
18060 Commit bf8c95836e1c changed the List/TreeStore overrides to use
18061 insert_with_valuesv(), but supplied all columns instead of just
18063 not None. With this, None values cause warnings like
18065 (runtests.py:12375): Gtk-WARNING **:
18066 /build/buildd/gtk+3.0-3.3.20/./gtk/gtkliststore.c:851: Unable to
18067 convert from (null) to gboolean
18069 Update the tests to make warnings fatal, to catch this better.
18071 Change _convert_row() to skip the None entries and return the list
18073 columns, and use the latter instead of a simple range(n_columns). This
18075 the behaviour before bf8c95836e1c, where columns with None values
18079 https://bugzilla.gnome.org/show_bug.cgi?id=672463
18081 gi/overrides/Gtk.py | 26 ++++++++++++++------------
18082 tests/test_overrides.py | 5 +++++
18083 2 files changed, 19 insertions(+), 12 deletions(-)
18085 commit 38aecc481741fd3a319a76a0ec8bf5329a483876
18086 Author: Martin Pitt <martin.pitt@ubuntu.com>
18087 Date: Wed Mar 21 15:21:02 2012 +0100
18089 pygtkcompat test: Properly clean up PixbufLoader
18091 Tests currently give
18093 (runtests.py:15072): GdkPixbuf-WARNING **: GdkPixbufLoader finalized
18094 without calling gdk_pixbuf_loader_close() - this is not allowed. You
18095 must explicitly end the data stream to the loader before dropping
18096 the last reference.
18098 Fix this by calling close().
18100 tests/test_pygtkcompat.py | 3 ++-
18101 1 file changed, 2 insertions(+), 1 deletion(-)
18103 commit 5e0e5e72a4436badd09f0aa07f62960afcdca8c6
18104 Author: Martin Pitt <martin.pitt@ubuntu.com>
18105 Date: Mon Mar 19 16:58:22 2012 +0100
18109 Use 3.1.93 for now, this will most likely become 3.2.0 as it is.
18111 configure.ac | 2 +-
18112 1 file changed, 1 insertion(+), 1 deletion(-)
18114 commit 88924e399d7ccf7af2e9a78720e0c508cd6080d8
18115 Author: Martin Pitt <martin.pitt@ubuntu.com>
18116 Date: Mon Mar 19 16:41:17 2012 +0100
18120 NEWS | 46 ++++++++++++++++++++++++++++++++++++++++++++++
18121 1 file changed, 46 insertions(+)
18123 commit b41e6139befb984c0b78bcefe2630ab1393b4b40
18124 Author: Martin Pitt <martin.pitt@ubuntu.com>
18125 Date: Mon Mar 19 16:14:54 2012 +0100
18127 README: Update current maintainers
18129 Also update Martin's email address.
18131 README | 10 ++++++----
18132 pygobject.doap | 2 +-
18133 2 files changed, 7 insertions(+), 5 deletions(-)
18135 commit 45e27ba7e447552057a2950fc768c63ff2e6612e
18136 Author: Martin Pitt <martin.pitt@ubuntu.com>
18137 Date: Mon Mar 19 16:11:22 2012 +0100
18139 Bump version to 3.1.92, in sync with GNOME
18141 configure.ac | 2 +-
18142 1 file changed, 1 insertion(+), 1 deletion(-)
18144 commit 77d358f8c5f524259249ea686899e3a4da05562e
18145 Author: Johan Dahlin <johan@gnome.org>
18146 Date: Mon Mar 19 11:54:07 2012 -0300
18148 Correct Gtk.TreePath.__iter__ to work with Python 3
18150 gi/overrides/Gtk.py | 2 +-
18151 1 file changed, 1 insertion(+), 1 deletion(-)
18153 commit 1f18bcb37bdc42368ad9a07c7f348f736c2f665d
18154 Author: Martin Pitt <martin.pitt@ubuntu.com>
18155 Date: Mon Mar 19 15:54:13 2012 +0100
18157 Fix pygtkcompat.py to work with Python 3
18159 gi/pygtkcompat.py | 20 +++++++++++++++-----
18160 1 file changed, 15 insertions(+), 5 deletions(-)
18162 commit 96a9f92da801989464fbcedf6d849819f6dbea64
18163 Author: Martin Pitt <martin.pitt@ubuntu.com>
18164 Date: Mon Mar 19 15:32:22 2012 +0100
18166 Fix test_everything.TestSignals.test_object_param_signal test case
18168 The callback gets two arguments, not one. This short-circuited
18170 assertions. Fix the arguments and update the refcount check, as it
18172 exactly two at the moment.
18174 tests/test_everything.py | 4 ++--
18175 1 file changed, 2 insertions(+), 2 deletions(-)
18177 commit ba00afb1e50759b2b321f16e05a15946053cdafa
18178 Author: Johan Dahlin <johan@gnome.org>
18179 Date: Mon Mar 19 10:58:09 2012 -0300
18181 pygtkcompat: Remove first argument for get_origin()
18183 gi/pygtkcompat.py | 5 +++++
18184 tests/test_pygtkcompat.py | 5 +++++
18185 2 files changed, 10 insertions(+)
18187 commit 65499246a862ce6a82bc3b0cc74fe8ff82dde687
18188 Author: Johan Dahlin <johan@gnome.org>
18189 Date: Fri Mar 16 16:08:44 2012 -0300
18191 GtkViewport: Add a default values for the adjustment constructor
18194 https://bugzilla.gnome.org/show_bug.cgi?id=672260
18196 gi/overrides/Gtk.py | 10 ++++++++++
18197 tests/test_overrides.py | 11 +++++++++++
18198 2 files changed, 21 insertions(+)
18200 commit 43c761d9f35252dcb58b9cf2278016d841eea4ec
18201 Author: Johan Dahlin <johan@gnome.org>
18202 Date: Fri Mar 16 16:08:23 2012 -0300
18204 GtkIconSet: Add a default value for the pixbuf constructor parameter
18206 https://bugzilla.gnome.org/show_bug.cgi?id=672260
18208 gi/overrides/Gtk.py | 11 +++++++++++
18209 tests/test_overrides.py | 6 ++++++
18210 2 files changed, 17 insertions(+)
18212 commit 116d3712251b1b8aa2d4f4a9e40e22f5b9fcbe4f
18213 Author: Johan Dahlin <johan@gnome.org>
18214 Date: Fri Mar 16 16:07:30 2012 -0300
18216 PangoLayout: Add a default value for set_markup()
18218 https://bugzilla.gnome.org/show_bug.cgi?id=672260
18220 gi/overrides/Pango.py | 3 +++
18221 tests/test_overrides.py | 4 ++++
18222 2 files changed, 7 insertions(+)
18224 commit a3ca47b086b7fcf084282be788c5d737dde847ac
18225 Author: Johan Dahlin <johan@gnome.org>
18226 Date: Fri Mar 16 16:06:37 2012 -0300
18228 Gtk[HV]Scrollbar: Add a default value for the adjustment constructor
18231 https://bugzilla.gnome.org/show_bug.cgi?id=672260
18233 gi/overrides/Gtk.py | 15 +++++++++++++++
18234 tests/test_overrides.py | 14 ++++++++++++++
18235 2 files changed, 29 insertions(+)
18237 commit 458dab08c78cb730dd95bcd67af20a0d73a3af2f
18238 Author: Johan Dahlin <johan@gnome.org>
18239 Date: Fri Mar 16 16:06:12 2012 -0300
18241 GtkToolButton: Add a default value for the stock_id constructor
18244 https://bugzilla.gnome.org/show_bug.cgi?id=672260
18246 gi/overrides/Gtk.py | 10 ++++++++++
18247 tests/test_overrides.py | 9 ++++++++-
18248 2 files changed, 18 insertions(+), 1 deletion(-)
18250 commit 2f7789a5a1f55ec38c5ff0f96bc5c9023679a333
18251 Author: Johan Dahlin <johan@gnome.org>
18252 Date: Fri Mar 16 16:05:55 2012 -0300
18254 GtkIconView: Add a default value for the model constructor parameter
18256 https://bugzilla.gnome.org/show_bug.cgi?id=672260
18258 gi/overrides/Gtk.py | 3 +++
18259 tests/test_overrides.py | 11 +++++++++++
18260 2 files changed, 14 insertions(+)
18262 commit 2dd9dadd1bd92c3324e9de209ba8205a9d4106d6
18263 Author: Johan Dahlin <johan@gnome.org>
18264 Date: Thu Mar 15 15:22:46 2012 -0300
18266 Add a default value for column in Gtk.TreeView.get_cell_area()
18268 https://bugzilla.gnome.org/show_bug.cgi?id=672260
18270 gi/overrides/Gtk.py | 5 +++++
18271 tests/test_overrides.py | 3 +++
18272 2 files changed, 8 insertions(+)
18274 commit bf8c95836e1cc1e1629937cbc69ea3027fb82746
18275 Author: Martin Pitt <martin.pitt@ubuntu.com>
18276 Date: Thu Mar 15 09:48:10 2012 +0100
18278 Atomic inserts in Gtk.{List,Tree}Store overrides
18280 Gtk.{List,Tree}Store's overrides provide append(), insert()
18282 take an optional data row array. If this is given, use
18283 insert_with_valuesv()
18284 instead of creating a new iter and then filling it with data. The
18286 row-added signal, at which time the row was still empty, and a
18288 row-changed signal. With this we only get a single row-added
18292 Note that this does not change insert_{before,after}(), as there is no
18293 counterpart of insert_with_valuesv() which takes a TreeIter instead
18295 position. For those you will still get two signals, and have to deal
18299 https://bugzilla.gnome.org/show_bug.cgi?id=671610
18301 gi/overrides/Gtk.py | 81
18302 ++++++++++++++++++++++++++++++-------------------
18303 tests/test_overrides.py | 74 ++++++++++++++++++++++++++++++++++++++++++++
18304 2 files changed, 124 insertions(+), 31 deletions(-)
18306 commit f7db4eaf8148f2dd8bf1718152a1dcae509470c7
18307 Author: Martin Pitt <martin.pitt@ubuntu.com>
18308 Date: Sun Mar 18 16:07:26 2012 +0100
18310 Fix Gtk.Button constructor to accept use_stock parameter
18312 Thanks to kalanzun@googlemail.com!
18314 https://bugzilla.gnome.org/show_bug.cgi?id=672318
18316 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
18318 gi/overrides/Gtk.py | 4 +---
18319 tests/test_overrides.py | 6 ++++++
18320 2 files changed, 7 insertions(+), 3 deletions(-)
18322 commit 466337cf2fd091738eeab12c10d250a9d0827284
18323 Author: Johan Dahlin <johan@gnome.org>
18324 Date: Fri Mar 16 16:55:47 2012 -0300
18326 Correct bad rebase, remove duplicate Window
18328 gi/overrides/Gtk.py | 7 -------
18329 1 file changed, 7 deletions(-)
18331 commit c60d5ee3c88bd8e1c68ea97f079947cf79d5bb7d
18332 Author: Johan Dahlin <johan@gnome.org>
18333 Date: Thu Mar 15 15:42:28 2012 -0300
18335 Add a PyGTK compatibility layer
18337 This module tries quite a bit harder to maintain compatibility
18338 with PyGTK, module names, enums, flags and some API.
18340 https://bugzilla.gnome.org/show_bug.cgi?id=653462
18342 gi/Makefile.am | 3 +-
18343 gi/pygtkcompat.py | 421
18344 ++++++++++++++++++++++++++++++++++++++++++++++
18345 tests/Makefile.am | 3 +-
18346 tests/test_pygtkcompat.py | 77 +++++++++
18347 4 files changed, 502 insertions(+), 2 deletions(-)
18349 commit 680a2e04ac4f80ad16e820d3f753519477c988aa
18350 Author: Johan Dahlin <johan@gnome.org>
18351 Date: Wed Mar 14 15:20:53 2012 -0300
18353 Add bw-compatible arguments to Gtk.Adjustment
18355 The argument used to be called page/step_incr, if they
18356 are found map them to the existing properties for extra
18359 https://bugzilla.gnome.org/show_bug.cgi?id=672087
18361 gi/overrides/Gtk.py | 8 +++++++-
18362 1 file changed, 7 insertions(+), 1 deletion(-)
18364 commit fbd21ee7176bc1b70547ea464b512c8ffd674187
18365 Author: Johan Dahlin <johan@gnome.org>
18366 Date: Wed Mar 14 17:13:04 2012 -0300
18368 GtkTreePath: make it iterable
18370 https://bugzilla.gnome.org/show_bug.cgi?id=672093
18372 gi/overrides/Gtk.py | 3 +++
18373 tests/test_overrides.py | 2 ++
18374 2 files changed, 5 insertions(+)
18376 commit a7b08cb75541612c78d123b1d968be7874e3c481
18377 Author: Johan Dahlin <johan@gnome.org>
18378 Date: Wed Mar 14 13:32:31 2012 -0300
18380 Add a default argument to TreeModelFilter.set_visible_func()
18382 https://bugzilla.gnome.org/show_bug.cgi?id=672081
18384 gi/overrides/Gtk.py | 14 ++++++++++++++
18385 1 file changed, 14 insertions(+)
18387 commit 02950cabb38b1b3c9378c42c069eefdbccbce17d
18388 Author: Johan Dahlin <johan@gnome.org>
18389 Date: Wed Mar 14 13:31:41 2012 -0300
18391 Add a default argument to Gtk.TreeView.set_cursor
18393 And also make sure that the path is a Gtk.TreePath.
18395 https://bugzilla.gnome.org/show_bug.cgi?id=672081
18397 gi/overrides/Gtk.py | 4 ++++
18398 tests/test_overrides.py | 10 ++++++++++
18399 2 files changed, 14 insertions(+)
18401 commit 7245bd0ae3f6243c79fa8543a0ed1e50e5015844
18402 Author: Johan Dahlin <johan@gnome.org>
18403 Date: Wed Mar 14 13:31:06 2012 -0300
18405 Add a default argument to Pango.Context.get_metrics()
18407 https://bugzilla.gnome.org/show_bug.cgi?id=672081
18409 gi/overrides/Pango.py | 9 +++++++++
18410 1 file changed, 9 insertions(+)
18412 commit bc1fd8814df6c1e85b586d0fb943c89f7e2b78b5
18413 Author: Martin Pitt <martin.pitt@ubuntu.com>
18414 Date: Fri Mar 16 13:27:56 2012 +0100
18416 Fix double-freeing GValues in arrays
18418 When marshalling a GValue array to C, the GValue items are copied
18420 GValue array, not a C GValue pointer
18421 array. _pygi_marshal_from_py_array()
18422 already calls the cleanup_func for the original item;
18423 _pygi_marshal_cleanup_from_py_array() must not do it again, as this
18425 to g_slice_free the array item.
18427 https://bugzilla.gnome.org/show_bug.cgi?id=672224
18429 gi/pygi-marshal-from-py.c | 7 ++++++-
18430 1 file changed, 6 insertions(+), 1 deletion(-)
18432 commit a906b7d1947ba905f959d3f738eb6c29b02f96e7
18433 Author: Simon Feltman <s.feltman@gmail.com>
18434 Date: Fri Mar 16 00:29:31 2012 -0700
18436 Renamed "property" class to "Property"
18438 Renamed to match the rest of the class names in GObject and also
18439 not clobber the builtin python property.
18441 Keep the old "property" identifier for backwards compatibility
18444 https://bugzilla.gnome.org/show_bug.cgi?id=672168
18446 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
18448 examples/properties.py | 6 +--
18449 gi/_gobject/__init__.py | 7 ++--
18450 gi/_gobject/propertyhelper.py | 12 +++---
18451 tests/test_interface.py | 4 +-
18452 tests/test_properties.py | 94
18453 +++++++++++++++++++++----------------------
18454 5 files changed, 62 insertions(+), 61 deletions(-)
18456 commit d7d28d717e38c0546529b09b8b571a5cc631c5b5
18457 Author: Martin Pitt <martin.pitt@ubuntu.com>
18458 Date: Wed Mar 14 22:52:47 2012 +0100
18460 Fix Python to C marshalling of GValue arrays
18462 For GValues we cannot just copy the GValue memory in
18463 _pygi_marshal_from_py_array(), as the from_py_cleanup() function
18465 releases the GValue and with it its v_pointer. Use g_value_copy()
18469 This uncovered another bug in _pygi_marshal_cleanup_from_py_array():
18471 assumed that C arrays contained pointers, but this is not the case
18473 arrays: these are actual struct arrays, not struct pointer arrays
18475 construction in _pygi_marshal_from_py_array()). Check if an array
18477 pointers or values and compute the correct array item pointer for
18480 Also add a corresponding test case for marshalling GValue arrays
18482 Python, which works fine.
18484 https://bugzilla.gnome.org/show_bug.cgi?id=672065
18486 gi/pygi-marshal-cleanup.c | 19 ++++++++++++++-----
18487 gi/pygi-marshal-from-py.c | 13 ++++++++++++-
18488 tests/test_gi.py | 8 ++++++++
18489 3 files changed, 34 insertions(+), 6 deletions(-)
18491 commit 27ac9c1de6487035b18ef4511c155d251cb6d39d
18492 Author: Johan Dahlin <johan@gnome.org>
18493 Date: Fri Mar 16 09:59:57 2012 +0100
18495 Correct the Gtk.Window hierarchy
18497 We need to make sure that all Gtk.Dialog subclasses inherit from
18498 the overridden Window class. For that to be done automaticly we need
18499 to create the Window class before the Dialog class.
18501 Now when it's inherited properly we need to avoid calling the Window
18502 constructor twice as it passes in a construct-only parameter. So add
18503 **kwargs to the Window constructor to allow us to pass in any kind
18504 of GObject property to it and refactor the Dialog subclasses to pass
18505 in all properties to the same constructor.
18507 Also adds a bunch of tests to make sure that the hiearchy is correct.
18509 https://bugzilla.gnome.org/show_bug.cgi?id=672158
18511 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
18513 gi/overrides/Gtk.py | 56
18514 ++++++++++++++++++++++++-------------------------
18515 tests/test_overrides.py | 35 +++++++++++++++++++++++++++++--
18516 2 files changed, 61 insertions(+), 30 deletions(-)
18518 commit 77ab27ab8a580d98f76730f075e083e1e870f55e
18519 Author: simon <simon@gerty>
18520 Date: Tue Mar 13 01:41:53 2012 -0700
18522 Renamed getter/setter instance attributes to fget/fset respectively.
18524 The python 'property' class allows for decoration of methods using
18525 .getter and .setter. These were added as methods to the
18527 class to match that of the python property class and allow for
18531 In addition, __call__ was added to allow an instantiated decorator
18533 args to also decorate a method:
18535 class C(GObject.GObject):
18537 @GObject.property(type=int, default=0)
18541 def propInt(self, value):
18542 self._value = value
18544 https://bugzilla.gnome.org/show_bug.cgi?id=586181
18546 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
18548 gi/_gobject/__init__.py | 10 ++++----
18549 gi/_gobject/propertyhelper.py | 59
18550 +++++++++++++++++++++++++++++++------------
18551 tests/test_properties.py | 41 ++++++++++++++++++++++++++++++
18552 3 files changed, 89 insertions(+), 21 deletions(-)
18554 commit 174a61fb3149c07dab5cc35e64825922cdefcb95
18555 Author: Johan Dahlin <johan@gnome.org>
18556 Date: Tue Mar 13 17:10:13 2012 -0300
18558 Add Gtk.Arrow/Gtk.Window constructor override
18560 Adds argument that makes them compatible with PyGTK.
18562 https://bugzilla.gnome.org/show_bug.cgi?id=672045
18564 gi/overrides/Gtk.py | 17 +++++++++++++++++
18565 1 file changed, 17 insertions(+)
18567 commit 7746d2188ac4933c2c9011d84525d1e62fc18953
18568 Author: Michel Dänzer <michel@daenzer.net>
18569 Date: Fri Mar 9 12:26:53 2012 +0100
18571 Fix marshalling to/from Python to work on big endian machines.
18573 https://bugzilla.gnome.org/show_bug.cgi?id=668903
18575 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
18577 gi/pygi-argument.c | 25 ++++++++++++++++---------
18578 gi/pygi-marshal-from-py.c | 32 +++++++++++++++++++++++++-------
18579 gi/pygi-marshal-to-py.c | 19 +++++++++++++++++++
18580 3 files changed, 60 insertions(+), 16 deletions(-)
18582 commit 0591cc6f160ae6e9d8c3970934ae105ef340d7d3
18583 Author: Michel Dänzer <michel@daenzer.net>
18584 Date: Thu Mar 8 12:21:28 2012 +0100
18586 Use gi_cclosure_marshal_generic instead of duplicating it.
18588 Bump gobject-introspection dependency to ensure that we have the
18592 https://bugzilla.gnome.org/show_bug.cgi?id=668903
18594 Signed-off-by: Michel Dänzer <michel@daenzer.net>
18595 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
18597 configure.ac | 3 +-
18598 gi/_gobject/Makefile.am | 7 +-
18599 gi/_gobject/ffi-marshaller.c | 194
18600 -------------------------------------------
18601 gi/_gobject/ffi-marshaller.h | 31 -------
18602 gi/_gobject/gobjectmodule.c | 12 +--
18603 5 files changed, 4 insertions(+), 243 deletions(-)
18605 commit 8ca828825a2c47080055c5f986979aac8da9a93f
18606 Author: René Stadler <rene.stadler@collabora.co.uk>
18607 Date: Mon Mar 5 21:10:55 2012 +0100
18609 Override Gtk.TreeView.get_visible_range to fix return
18611 Just like IconView.
18613 https://bugzilla.gnome.org/show_bug.cgi?id=671409
18615 gi/overrides/Gtk.py | 5 +++++
18616 1 file changed, 5 insertions(+)
18618 commit 4824ceaa77b59788325a2c1ee0f994d4e74d7a1c
18619 Author: Paolo Borelli <pborelli@gnome.org>
18620 Date: Sun Mar 4 16:41:18 2012 +0100
18622 Plug memory leak in _is_union_member
18624 When we found the member, unref the objects before breaking out of the
18627 gi/pygi-marshal-from-py.c | 9 +++------
18628 1 file changed, 3 insertions(+), 6 deletions(-)
18630 commit c6ae29ac157978a61b11cc2de9e8485d8a175105
18631 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18632 Date: Tue Feb 21 15:37:18 2012 +0100
18634 tests: Split TestInterfaces into separate tests
18636 tests/test_gi.py | 36 +++++++++++++++++++-----------------
18637 1 file changed, 19 insertions(+), 17 deletions(-)
18639 commit de3299818ae5fdf1c7abbe05a36bfd5cdface7b8
18640 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18641 Date: Mon Feb 20 19:37:32 2012 +0100
18643 Post release version bump to 3.1.2
18645 configure.ac | 2 +-
18646 1 file changed, 1 insertion(+), 1 deletion(-)
18648 commit fd020e783c0dacea3320225b4ddd57d6a0fce7ea
18649 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18650 Date: Mon Feb 20 19:33:56 2012 +0100
18652 Prepare 3.1.1 release
18654 NEWS | 18 ++++++++++++++++++
18655 1 file changed, 18 insertions(+)
18657 commit 99485d96811667ef7a7a393b68b7361733157d61
18658 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18659 Date: Sat Feb 18 00:38:05 2012 +0100
18661 Don't use C99 style
18663 gi/pygi-cache.c | 3 ++-
18664 1 file changed, 2 insertions(+), 1 deletion(-)
18666 commit 0739c39f6282d95fc17ee406fa1151d074b0450d
18667 Author: Martin Pitt <martin.pitt@ubuntu.com>
18668 Date: Thu Feb 16 16:42:53 2012 +0100
18670 Add test for GPtrArray with transfer full
18672 This complements the already existing test for a "transfer container"
18674 array. We can't verify the internal refcount as these arrays get
18676 internally, but at least we can verify that it does not crash due to
18679 tests/test_everything.py | 10 +++++++++-
18680 1 file changed, 9 insertions(+), 1 deletion(-)
18682 commit 087a104f66793a981a0c02f1c7ab9cc1cf659da3
18683 Author: Martin Pitt <martin.pitt@ubuntu.com>
18684 Date: Wed Feb 15 13:36:39 2012 +0100
18686 Drop obsolete g_thread_init()
18688 Not necessary any more since glib 2.24, and we depend on 2.31.
18690 gi/_glib/pyglib.c | 3 ---
18691 1 file changed, 3 deletions(-)
18693 commit 66fb610e45912a7def29e5848577d280ef55643a
18694 Author: Martin Pitt <martin.pitt@ubuntu.com>
18695 Date: Wed Feb 15 13:35:33 2012 +0100
18697 Fix deprecated g_source_get_current_time()
18699 Use g_get_real_time() instead as recommended by the
18700 documentation. This also
18701 simplifies the code.
18703 gi/_glib/pygsource.c | 4 +---
18704 1 file changed, 1 insertion(+), 3 deletions(-)
18706 commit 18342edded05d3d9cccf648ed92bc1cac95c51eb
18707 Author: Martin Pitt <martin.pitt@ubuntu.com>
18708 Date: Wed Feb 15 13:31:23 2012 +0100
18710 Fix deprecated g_value_[gs]et_char()
18712 Replace with _schar(). We depend on glib >= 2.31 already.
18714 gi/_gobject/ffi-marshaller.c | 2 +-
18715 gi/_gobject/pygtype.c | 6 +++---
18716 gi/pygi-argument.c | 2 +-
18717 3 files changed, 5 insertions(+), 5 deletions(-)
18719 commit 3dfb8dcbe7cf09dc170433fc48d3273c6ea9448e
18720 Author: Simon Schampijer <simon@schampijer.de>
18721 Date: Thu Feb 2 19:06:01 2012 +0100
18723 Make pygiconvert.sh correctly convert gtk.gdk.x11_*
18725 Looking at the gir file gtk.gdk.x11_* should get converted to
18726 GdkX11.x11_*. Fixing pygiconvert.sh to do so.
18728 pygi-convert.sh | 2 +-
18729 1 file changed, 1 insertion(+), 1 deletion(-)
18731 commit 3af5016978df598d5fd1c225cc49bb2c04dc4e35
18732 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18733 Date: Fri Feb 10 13:29:41 2012 +0100
18735 Raise required glib version to 2.31 because of g_value_(get|set)_schar
18737 Commit ee62df4d2fc0cc63c2f29d3ad9b47b875dbd5f89 introduced both calls
18739 configure.ac | 6 +++---
18740 1 file changed, 3 insertions(+), 3 deletions(-)
18742 commit 50c3b1bad3ea79750649f4b48fce0adbfaba5268
18743 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18744 Date: Fri Feb 10 09:28:36 2012 +0100
18746 Fix cset_first typo
18748 https://bugzilla.gnome.org/show_bug.cgi?id=649267
18750 gi/_gobject/pygparamspec.c | 2 +-
18751 1 file changed, 1 insertion(+), 1 deletion(-)
18753 commit 6ab542fb3ec1031922ba65664d77bbaac0df453e
18754 Author: Bastian Winkler <buz@netbuz.org>
18755 Date: Mon Nov 14 14:41:08 2011 +0100
18757 pygi-convert: Handle Clutter and Cogl
18759 https://bugzilla.gnome.org/show_bug.cgi?id=664496
18761 pygi-convert.sh | 76
18762 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
18763 1 file changed, 76 insertions(+)
18765 commit 4aeb27efc43e131de5d0bc0f60dca7c1d34c3d45
18766 Author: Cédric Krier <cedric.krier@b2ck.com>
18767 Date: Fri Feb 10 09:04:18 2012 +0100
18769 Provide access to gpointer struct values
18771 https://bugzilla.gnome.org/show_bug.cgi?id=668356
18773 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
18775 gi/pygi-argument.c | 3 ++-
18776 gi/pygi-info.c | 13 +++++++++++++
18777 tests/test_everything.py | 21 +++++++++++++++++++++
18778 3 files changed, 36 insertions(+), 1 deletion(-)
18780 commit 5c0b20cc1a261cb7430a5251dffe60da698033b5
18781 Author: Paolo Borelli <pborelli@gnome.org>
18782 Date: Thu Feb 9 18:15:42 2012 +0100
18784 Add some GType tests
18786 Use what was recently added in g-i
18788 tests/test_gi.py | 17 +++++++++++++++--
18789 1 file changed, 15 insertions(+), 2 deletions(-)
18791 commit ea7778f6f37a6fc38f88d89d4b6cae8be0ed9753
18792 Author: Paolo Borelli <pborelli@gnome.org>
18793 Date: Thu Feb 9 18:14:52 2012 +0100
18795 Split GStrv and array variant tests in their own classes
18797 Also tidy up the spacing a bit
18799 tests/test_gi.py | 29 +++++++++++++++++++++++------
18800 1 file changed, 23 insertions(+), 6 deletions(-)
18802 commit db7f9be319d3cf52aef300fbac60cabb7ff57276
18803 Author: Paolo Borelli <pborelli@gnome.org>
18804 Date: Wed Feb 8 22:23:30 2012 +0100
18806 Add unit test for builder's connect_after
18808 tests/test_overrides.py | 8 ++++++++
18809 1 file changed, 8 insertions(+)
18811 commit 671f9b0dd73ac41a84caf9d1f04cec351bc01b47
18812 Author: Ryan Lortie <desrt@desrt.ca>
18813 Date: Wed Feb 8 16:06:22 2012 -0500
18815 fix GtkBuilder signal connection 'after' logic
18817 All GtkBuilder signals are presently being connected 'after', ignoring
18818 what is specified in the builder XML. This is due to an obvious logic
18821 https://bugzilla.gnome.org/show_bug.cgi?id=669705
18823 gi/overrides/Gtk.py | 2 +-
18824 1 file changed, 1 insertion(+), 1 deletion(-)
18826 commit 1d23d8006be98b77a0134fddd23b76df05e489fa
18827 Author: Patrick Welche <prlw1@cam.ac.uk>
18828 Date: Tue Feb 7 11:49:58 2012 +0000
18830 test(1) uses '=' to test if strings are identical
18832 https://bugzilla.gnome.org/show_bug.cgi?id=669598
18834 m4/python.m4 | 6 +++---
18835 1 file changed, 3 insertions(+), 3 deletions(-)
18837 commit 945fd18e531c2131440af93dcd89f6c63abbfd7c
18838 Author: Ryan Lortie <desrt@desrt.ca>
18839 Date: Tue Feb 7 13:42:19 2012 -0500
18841 pygspawn: improve error checking
18843 gspawn 'argv' and 'envp' parameters expect sequences of strings. This
18844 is enforced by checking that the passed argument is a sequence
18846 each item returned from it is a string.
18848 We do now, however, verify that each item can be successfully
18850 the sequence. 'os.environ' is an example of an object that passes
18851 PySequence_Check() but fails to return objects from PySequence_ITEM().
18853 Add a simple NULL check to avoid the crash.
18855 https://bugzilla.gnome.org/show_bug.cgi?id=669594
18857 gi/_glib/pygspawn.c | 4 ++--
18858 1 file changed, 2 insertions(+), 2 deletions(-)
18860 commit 8fc969c45d6d720400dc6c9ef391d0ca93f14b5a
18861 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18862 Date: Mon Feb 6 19:15:53 2012 +0100
18864 Post release version bump to 3.1.1
18866 configure.ac | 2 +-
18867 1 file changed, 1 insertion(+), 1 deletion(-)
18869 commit f76b2fe6d37be76bf129ee2adee90b2cc0eee56e
18870 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18871 Date: Mon Feb 6 19:11:52 2012 +0100
18873 Prepare 3.1.0 release
18875 NEWS | 34 ++++++++++++++++++++++++++++++++++
18876 1 file changed, 34 insertions(+)
18878 commit c09d0dffc5a570d5ae4df1ae07b2e5594c3ca1bf
18879 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18880 Date: Mon Feb 6 19:04:41 2012 +0100
18882 Updated DOAP file to only include people currently actively working
18885 Removed obsolete MAINTAINERS file
18887 MAINTAINERS | 19 -------------------
18888 pygobject.doap | 44 +++++++++++++++-----------------------------
18889 2 files changed, 15 insertions(+), 48 deletions(-)
18891 commit 0285e107be581c4d594127dc06cd05df1f02fb3f
18892 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18893 Date: Mon Feb 6 18:57:01 2012 +0100
18895 Revert "Convert all strings to utf-8 encoding when retrieving from
18898 This reverts commit 654711d0f940d7480d0f1cdb25a3dc9996f7a706.
18900 Due to this commit breaking backwards compatability, we decided to
18903 gi/overrides/Gtk.py | 15 ---------------
18904 tests/compathelper.py | 2 --
18905 tests/test_overrides.py | 31 +------------------------------
18906 3 files changed, 1 insertion(+), 47 deletions(-)
18908 commit 0e921cd26ed5a6e3bc6ef5f553e8b22b862d72a6
18909 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18910 Date: Sun Feb 5 13:47:10 2012 +0100
18912 tests: Fixed issues with python3
18914 tests/test_gi.py | 9 ++++++---
18915 1 file changed, 6 insertions(+), 3 deletions(-)
18917 commit ee62df4d2fc0cc63c2f29d3ad9b47b875dbd5f89
18918 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18919 Date: Sun Feb 5 11:59:51 2012 +0100
18921 Properly distinguish between different integer types for properties
18923 https://bugzilla.gnome.org/show_bug.cgi?id=664150
18925 gi/pygi-property.c | 48 ++++++++++++++++++++++++++++++++++++++----
18926 tests/test_gi.py | 62
18927 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
18928 2 files changed, 106 insertions(+), 4 deletions(-)
18930 commit c329bf2aee8d75ce452638db75e09197ff2b9b65
18931 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18932 Date: Sun Feb 5 11:46:21 2012 +0100
18934 Distinguish between GArray and GPtrArray when cleaning up
18936 This fixes a crash in test_gi.TestGPtrArray and makes sure
18937 memory is free'd correctly
18939 https://bugzilla.gnome.org/show_bug.cgi?id=669393
18941 gi/pygi-marshal-cleanup.c | 32 +++++++++++++++++++++++---------
18942 1 file changed, 23 insertions(+), 9 deletions(-)
18944 commit 4ea37c606f67df843788261b2c8acd6bac4c1e0c
18945 Author: Paolo Borelli <pborelli@gnome.org>
18946 Date: Sun Feb 5 18:51:53 2012 +0100
18948 Add null_gerror_callback unit test
18950 This models the case where the callback is successful and does not set
18953 https://bugzilla.gnome.org/show_bug.cgi?id=669415
18955 tests/test_everything.py | 9 +++++++++
18956 1 file changed, 9 insertions(+)
18958 commit a41984780ee49dcf02c718ca1be87bba747472e5
18959 Author: Martin Pitt <martin.pitt@ubuntu.com>
18960 Date: Mon Feb 6 09:34:28 2012 +0100
18962 pyglib_error_check: Re-add missing NULL check
18964 Commit adcfe96d49b09bc accidentally dropped the check if *error is
18966 any error is actually set. Due to that, pyglib_error_check()
18968 TRUE. Reintroduce the check.
18970 Thanks to Alberto Mardegan for spotting this!
18972 https://bugzilla.gnome.org/show_bug.cgi?id=669415
18974 gi/_glib/pyglib.c | 2 ++
18975 1 file changed, 2 insertions(+)
18977 commit 2c797c17913999379e277788d5e4cce8d68cebb0
18978 Author: Michael Culbertson <michael.culbertson@gmail.com>
18979 Date: Sat Feb 4 16:11:34 2012 +0100
18981 Add tests/runtests-windows.py to source tarball
18983 https://bugzilla.gnome.org/show_bug.cgi?id=663288
18985 tests/Makefile.am | 1 +
18986 1 file changed, 1 insertion(+)
18988 commit d6a899cdf70e978534326155e3fad75a705f4b20
18989 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18990 Date: Sat Feb 4 15:55:55 2012 +0100
18992 Don't issue a depreciation warning for GtkDialog's NO_SEPARATOR flag,
18995 https://bugzilla.gnome.org/show_bug.cgi?id=665553
18997 gi/overrides/Gtk.py | 6 ++----
18998 1 file changed, 2 insertions(+), 4 deletions(-)
19000 commit 534ec71c575a279ff1c05da20a8858bb1145b4d0
19001 Author: Nirbheek Chauhan <nirbheek@gentoo.org>
19002 Date: Sat Feb 4 15:42:36 2012 +0100
19004 Fix bool() operations on GLib.Variant objects
19006 Defines __nonzero__ (python2) and __bool__ (python3) for GLib.Variant
19008 Also adds some tests for boolean comparisons.
19010 https://bugzilla.gnome.org/show_bug.cgi?id=647723
19012 gi/overrides/GLib.py | 18 ++++++++++++++++++
19013 tests/test_overrides.py | 45
19014 +++++++++++++++++++++++++++++++++++++++++++++
19015 2 files changed, 63 insertions(+)
19017 commit 8d6a127df5dd1e5f26faeba8f977074b4496b24f
19018 Author: Nirbheek Chauhan <nirbheek@gentoo.org>
19019 Date: Sat Feb 4 15:41:08 2012 +0100
19021 Fix hash() and __eq__() for GLib.Variant objects
19023 Define __hash__, __eq__, __ne__ for GLib.Variant so that objects can
19024 be used in sets, dicts, and can be compared using == and != easily.
19026 Also adds some tests for this.
19028 https://bugzilla.gnome.org/show_bug.cgi?id=647725
19030 gi/overrides/GLib.py | 23 ++++++++++++++++++++
19031 tests/test_overrides.py | 56
19032 +++++++++++++++++++++++++++++++++++++++++++++++++
19033 2 files changed, 79 insertions(+)
19035 commit f82404034be042bf2026bbb7f1e33b11d6e17a6f
19036 Author: Martin Pitt <martin.pitt@ubuntu.com>
19037 Date: Wed Jan 25 07:01:06 2012 +0100
19039 Fix method names of callback tests
19041 Change test_everything.TestCallbacks.* test names from camelCase
19043 standard PEP-8 underscore_style. This is now consistent with all
19047 tests/test_everything.py | 30 +++++++++++++++---------------
19048 1 file changed, 15 insertions(+), 15 deletions(-)
19050 commit e37ee78fbf0aa72159a40da4165a26bea065faf1
19051 Author: Will Thompson <will.thompson@collabora.co.uk>
19052 Date: Mon Jan 23 13:10:30 2012 +0000
19054 Cairo: add missing braces around array-of-struct definition
19056 This triggered a -Wmissing-braces warning.
19058 https://bugzilla.gnome.org/show_bug.cgi?id=668497
19060 gi/pygi-foreign-cairo.c | 2 +-
19061 1 file changed, 1 insertion(+), 1 deletion(-)
19063 commit db24865d6b60351d72f5b8f47103d6d0a6c63b2e
19064 Author: Will Thompson <will.thompson@collabora.co.uk>
19065 Date: Mon Jan 23 13:06:41 2012 +0000
19067 g_instance_init: cast to PyGObject * as needed
19069 This squashes a compiler warning.
19071 https://bugzilla.gnome.org/show_bug.cgi?id=668497
19073 gi/_gobject/gobjectmodule.c | 2 +-
19074 1 file changed, 1 insertion(+), 1 deletion(-)
19076 commit a8408cfd68cd5e7cdb0b8a83e107d9a0d828e4bd
19077 Author: Will Thompson <will.thompson@collabora.co.uk>
19078 Date: Mon Jan 23 13:01:27 2012 +0000
19080 Fix a few set-but-not-used warnings.
19082 In a couple of cases, the variable in question was set to a value
19083 spelled out again later in the function.
19085 The 'sequence_cache' variable is re-declared five lines below.
19087 The return value of 'read' was previously completely ignored. The
19088 'gssize ret' variable was in fact added to squash an unused-result
19091 https://bugzilla.gnome.org/show_bug.cgi?id=668497
19093 gi/_glib/pygiochannel.c | 2 +-
19094 gi/_glib/pygmainloop.c | 3 +--
19095 gi/_gobject/pygobject.c | 2 +-
19096 gi/pygi-marshal-cleanup.c | 2 --
19097 4 files changed, 3 insertions(+), 6 deletions(-)
19099 commit 29a30490ed51e347e8f57d2bf9af69400734eee8
19100 Author: Stefano Facchini <stefano.facchini@gmail.com>
19101 Date: Thu Jan 19 18:09:07 2012 +0100
19103 pygmainloop: allow for extra arguments in 'quit' method
19105 To allow for the common syntax:
19107 object.connect('signal-name', main_loop.quit)
19109 https://bugzilla.gnome.org/show_bug.cgi?id=668288
19111 gi/_glib/pygmainloop.c | 4 ++--
19112 1 file changed, 2 insertions(+), 2 deletions(-)
19114 commit 557a61c12c01137a0d7c679c4b053973df09d445
19115 Author: Alexandre Rostovtsev <tetromino@gentoo.org>
19116 Date: Mon Dec 26 00:44:56 2011 -0500
19118 Fix bytearray test compatibility with python3
19120 https://bugs.gentoo.org/show_bug.cgi?id=321879
19122 https://bugzilla.gnome.org/show_bug.cgi?id=666852
19124 tests/test_gi.py | 4 ++--
19125 1 file changed, 2 insertions(+), 2 deletions(-)
19127 commit d69e5b3c7bdb9113382fd125c256b12bff4c24d2
19128 Author: Alberto Mardegan <mardy@users.sourceforge.net>
19129 Date: Mon Jan 23 12:37:26 2012 +0200
19131 Respect transfer-type when demarshalling GErrors
19133 The marshaller previously ignored "transfer full" on GError*
19135 crashes due to double-freeing them. This causes the
19136 testCallbackUserdata() test
19137 case to crash after the previous GError/GHashTable marshalling fix.
19139 https://bugzilla.gnome.org/show_bug.cgi?id=666270
19141 gi/pygi-argument.c | 12 +++++++++++-
19142 1 file changed, 11 insertions(+), 1 deletion(-)
19144 commit 77f32d9110bfeb6dad8457f565b4c70b5998fef6
19145 Author: Alberto Mardegan <mardy@users.sourceforge.net>
19146 Date: Thu Dec 15 16:12:01 2011 +0200
19148 Support GHashTable and GError as callback/closure arguments
19150 Marshalling of these types from C is already implemented, let's
19152 into use for calbacks and closures too.
19154 Add corresponding test cases.
19156 https://bugzilla.gnome.org/show_bug.cgi?id=666270
19158 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
19160 gi/pygi-closure.c | 2 ++
19161 tests/test_everything.py | 35 +++++++++++++++++++++++++++++++++++
19162 2 files changed, 37 insertions(+)
19164 commit 4b9dc03d0e49e9a1f4bf0f2df503bdff00d13a2b
19165 Author: Will Thompson <will.thompson@collabora.co.uk>
19166 Date: Mon Jan 23 13:56:02 2012 +0000
19168 Don't leak when marshalling GErrors to C
19170 Python-land GLib.GErrors are supposed to have three attributes:
19171 "message", "domain" and "code". If those attributes are missing,
19173 have the wrong types, the C GError is filled in with a message
19174 describing the error. The present-but-ill-typed code paths did not
19175 DECREF the ill-typed values.
19177 https://bugzilla.gnome.org/show_bug.cgi?id=666098
19179 gi/_glib/pyglib.c | 3 +++
19180 1 file changed, 3 insertions(+)
19182 commit adcfe96d49b09bcc550653d73de196610fd5144d
19183 Author: Will Thompson <will.thompson@collabora.co.uk>
19184 Date: Fri Jan 20 16:20:10 2012 +0000
19186 Support functions which return GError
19188 GStreamer has the following method:
19190 void gst_message_parse_error (
19191 GstMessage *message,
19193 gchar **debug_message);
19195 With this patch, we marshal the GError out parameter as a
19197 exception, but return it rather than throwing it. The test cases cover
19198 two variations on the theme of the function above (one with (transfer
19199 full), as in GStreamer, and another with (transfer none)) as well as a
19200 function with return type GError *.
19202 https://bugzilla.gnome.org/show_bug.cgi?id=666098
19204 gi/_glib/pyglib.c | 46
19205 +++++++++++++++++++++++++++++++++++-----------
19206 gi/_glib/pyglib.h | 1 +
19207 gi/pygi-marshal-to-py.c | 16 +++++++++++++---
19208 tests/test_gi.py | 32 ++++++++++++++++++++++++++++++++
19209 4 files changed, 81 insertions(+), 14 deletions(-)
19211 commit 09f003729eac9d553a208c343c2a14d253b77d9a
19212 Author: Alberto Mardegan <mardy@users.sourceforge.net>
19213 Date: Mon Jan 23 12:42:21 2012 +0200
19215 Fix indentation of _pygi_argument_to_object()
19217 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=666270
19219 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
19221 gi/pygi-argument.c | 26 +++++++++++++-------------
19222 1 file changed, 13 insertions(+), 13 deletions(-)
19224 commit c71c010be01d706f90bc200194325fd82f4071b2
19225 Author: Paolo Borelli <pborelli@gnome.org>
19226 Date: Sat Jan 14 14:24:23 2012 +0100
19230 gi/gimodule.c | 10 ++++++----
19231 1 file changed, 6 insertions(+), 4 deletions(-)
19233 commit c299d058c22385ececaec64c872d1dd1bc1ae17a
19234 Author: Paolo Borelli <pborelli@gnome.org>
19235 Date: Fri Jan 6 13:39:31 2012 +0100
19237 Connect to first action of a radio group.
19239 gi/overrides/Gtk.py | 4 ++--
19240 1 file changed, 2 insertions(+), 2 deletions(-)
19242 commit dee2f179037902a3883bd0e61ff1c350e1fd8a4f
19243 Author: Paolo Borelli <pborelli@gnome.org>
19244 Date: Wed Jan 4 16:40:51 2012 +0100
19246 Use g_slist_free_full in pygi-closure.
19248 gi/pygi-closure.c | 3 +--
19249 1 file changed, 1 insertion(+), 2 deletions(-)
19251 commit 2bee4207ab6f07dc9c0952affe72f0e304cfb624
19252 Author: Paolo Borelli <pborelli@gnome.org>
19253 Date: Wed Jan 4 15:24:13 2012 +0100
19255 Avoid O(n^2) behavior when marshalling lists
19257 Appending requires walking the list every time: just prepend and
19259 the list at the end.
19261 https://bugzilla.gnome.org/show_bug.cgi?id=667261
19263 gi/pygi-marshal-from-py.c | 8 ++++----
19264 1 file changed, 4 insertions(+), 4 deletions(-)
19266 commit d68455e99b1a9ebba31209b17a11317b1958678b
19267 Author: Paolo Borelli <pborelli@gnome.org>
19268 Date: Tue Jan 3 16:57:40 2012 +0100
19270 Handle NULL as a valid case of a char** array
19272 Treat NULL as an empty array and add the corresponding testcase
19274 gi/pygi-marshal-to-py.c | 9 +++++----
19275 tests/test_gi.py | 3 +++
19276 2 files changed, 8 insertions(+), 4 deletions(-)
19278 commit e3451b8e6018bb76e9992fb6af24a71725de5cfd
19279 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
19280 Date: Fri Dec 23 12:01:43 2011 +0100
19282 Branching, bump version to 3.1.0
19284 configure.ac | 4 ++--
19285 1 file changed, 2 insertions(+), 2 deletions(-)
19287 commit 8d1a36cc73f5f4df091ecb289c8a7b38ec2ab605
19288 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
19289 Date: Mon Dec 12 18:35:30 2011 +0100
19291 Add notes about branching to HACKING
19293 HACKING | 10 ++++++++++
19294 1 file changed, 10 insertions(+)
19296 commit 00030bc6f0fb961c716ed692144cd8e4bb9be7d0
19297 Author: Sebastian Pölsterl <sebp@k-d-w.org>
19298 Date: Sat Dec 10 12:51:45 2011 +0100
19300 Fixed bug where GObject.property did not respect minimum and maximum
19303 https://bugzilla.gnome.org/show_bug.cgi?id=664864
19305 gi/_gobject/propertyhelper.py | 2 +-
19306 tests/test_properties.py | 31 +++++++++++++++++++++++++++++++
19307 2 files changed, 32 insertions(+), 1 deletion(-)
19309 commit 7b78abc6c399abd0daa4c11c644d107e1bb7b452
19310 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
19311 Date: Mon Dec 12 17:00:24 2011 +0100
19313 Remove mention of removed option --enable-docs
19316 1 file changed, 1 insertion(+), 1 deletion(-)
19318 commit 4cba52f5b5e79b7b6212cb0795e8976a9da9f21d
19319 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
19320 Date: Mon Dec 12 17:00:03 2011 +0100
19322 Fix sebp's name in NEWS
19325 1 file changed, 1 insertion(+), 1 deletion(-)
19327 commit 8c95981d0ba224a577f87998030c384b3dae3d80
19328 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
19329 Date: Mon Dec 12 16:20:09 2011 +0100
19333 NEWS | 15 +++++++++++++++
19334 1 file changed, 15 insertions(+)
19336 commit 58e47fd28c5d75bb78042c8f9eb5aae84de9c64d
19337 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
19338 Date: Mon Dec 12 16:16:44 2011 +0100
19340 Pre-release version bump
19342 configure.ac | 2 +-
19343 1 file changed, 1 insertion(+), 1 deletion(-)
19345 commit 884468d4816fc976c0c0c72651e7f81d13f3f78b
19346 Author: Manuel Quiñones <manuq@laptop.org>
19347 Date: Thu Dec 1 11:50:38 2011 -0300
19349 Convert all modifier constants to Gdk.ModifierType
19351 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
19353 pygi-convert.sh | 14 ++++++++++++++
19354 1 file changed, 14 insertions(+)
19356 commit 654711d0f940d7480d0f1cdb25a3dc9996f7a706
19357 Author: Sebastian Pölsterl <sebp@k-d-w.org>
19358 Date: Tue Nov 8 12:38:12 2011 +0100
19360 Convert all strings to utf-8 encoding when retrieving from TreeModel
19362 https://bugzilla.gnome.org/show_bug.cgi?id=663610
19364 gi/overrides/Gtk.py | 15 +++++++++++++++
19365 tests/compathelper.py | 2 ++
19366 tests/test_overrides.py | 31 ++++++++++++++++++++++++++++++-
19367 3 files changed, 47 insertions(+), 1 deletion(-)
19369 commit 4f637212f13b197a95c824967a58496b9e3b877c
19370 Author: John (J5) Palmieri <johnp@redhat.com>
19371 Date: Wed Nov 2 14:51:24 2011 -0400
19373 add test for bytearray variants
19375 tests/test_gi.py | 4 ++++
19376 1 file changed, 4 insertions(+)
19378 commit 20ca3f129d6cc662285cce8c732b55596016aefa
19379 Author: John (J5) Palmieri <johnp@redhat.com>
19380 Date: Wed Nov 2 14:50:42 2011 -0400
19382 handle NULL arrays correctly for each array type
19384 gi/pygi-marshal-to-py.c | 11 ++++++-----
19385 1 file changed, 6 insertions(+), 5 deletions(-)
19387 commit ce2f780bffe44b1d4de617dcbce4b90c58b03c18
19388 Author: John (J5) Palmieri <johnp@redhat.com>
19389 Date: Wed Nov 2 14:17:21 2011 -0400
19391 Revert "Revert "Fix array termination and size calculation""
19393 This reverts commit cfda820e8d9604c5ef2ad1161c22b20080d5daf4.
19395 gi/pygi-marshal-from-py.c | 6 +++++-
19396 gi/pygi-marshal-to-py.c | 8 +++++++-
19397 2 files changed, 12 insertions(+), 2 deletions(-)
19399 commit 832f16f96815adc22cc3acbeb3fa969631795a29
19400 Author: Owen W. Taylor <otaylor@fishsoup.net>
19401 Date: Sun Oct 30 18:08:57 2011 -0400
19403 pygmainloop: avoid lockups if multiple glib.MainLoop exist
19405 If multiple glib.MainLoop() sources exist, then we will add multiple
19406 watches, and when python writes a byte to the wakeup pipe, all of the
19407 sources will try to read it; only one will succeed and the others
19408 will block. Set both ends of the pipe nonblocking to avoid this.
19410 https://bugzilla.gnome.org/show_bug.cgi?id=663068
19412 gi/_glib/pygmainloop.c | 5 ++++-
19413 1 file changed, 4 insertions(+), 1 deletion(-)
19415 commit 2fd3aa9d4ca0906a5e609845ee500ba72e358f94
19416 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
19417 Date: Sat Oct 29 15:08:03 2011 +0200
19419 Properly chain up to the class that implements a given vfunc.
19421 https://bugzilla.gnome.org/show_bug.cgi?id=662994
19423 gi/types.py | 22 +++++++++++++---------
19424 tests/test_gi.py | 20 ++++++++++----------
19425 2 files changed, 23 insertions(+), 19 deletions(-)
19427 commit cfda820e8d9604c5ef2ad1161c22b20080d5daf4
19428 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
19429 Date: Wed Nov 2 14:54:21 2011 +0100
19431 Revert "Fix array termination and size calculation"
19433 This reverts commit eef35b2df8023ffff2d195ee16c084f5cfcb6ba3.
19435 gi/pygi-marshal-from-py.c | 6 +-----
19436 gi/pygi-marshal-to-py.c | 8 +-------
19437 2 files changed, 2 insertions(+), 12 deletions(-)
19439 commit eef35b2df8023ffff2d195ee16c084f5cfcb6ba3
19440 Author: Holger Berndt <hb@gnome.org>
19441 Date: Sun Oct 30 16:36:32 2011 +0100
19443 Fix array termination and size calculation
19445 When creating an array of element type uint8 and setting it directly
19447 memcpy(), make sure that zero-termination is respected.
19449 When calculating the length of a zero-terminated array of type uint8,
19450 fall back to strlen() instead of g_strv_length().
19452 https://bugzilla.gnome.org/show_bug.cgi?id=662550
19454 gi/pygi-marshal-from-py.c | 6 +++++-
19455 gi/pygi-marshal-to-py.c | 8 +++++++-
19456 2 files changed, 12 insertions(+), 2 deletions(-)
19458 commit 4c1d9f01b8fa6702f73b290180f934250e179caa
19459 Author: Daniel Drake <dsd@laptop.org>
19460 Date: Sun Oct 30 09:20:45 2011 +0000
19462 pygi-convert: fix for Pango.Alignment
19464 pygi-convert.sh | 1 +
19465 1 file changed, 1 insertion(+)
19467 commit e3abd76096cc9f335681c7225f452c286b9c59e2
19468 Author: Daniel Drake <dsd@laptop.org>
19469 Date: Sun Oct 30 07:06:57 2011 +0000
19471 pygi-convert: fix for Gtk.Orientation
19473 pygi-convert.sh | 1 +
19474 1 file changed, 1 insertion(+)
19476 commit 52b82c5f78ef3755388457fa9440c36ccd2dfbbf
19477 Author: Martin Pitt <martin.pitt@ubuntu.com>
19478 Date: Thu Oct 27 07:16:24 2011 +0200
19480 Add tests for calling closures
19482 Add checks for correct handling of closure calls.
19483 Regress.test_closure_one_arg() is working fine and should continue
19485 Regress.test_closure_variant() is known to not work yet, so mark
19487 for now. (See https://bugzilla.gnome.org/show_bug.cgi?id=656554)
19489 tests/test_everything.py | 24 ++++++++++++++++++++++++
19490 1 file changed, 24 insertions(+)
19492 commit c7aa0e79dfb4c1092c51ae1464b8414083b4f3fc
19493 Author: Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com>
19494 Date: Tue Oct 4 12:28:26 2011 +0200
19496 fix marshaling of arrays of GVariants
19498 Add unit tests for marshaling of arrays of variants with all
19499 transfer modes. Requires latest gobject-introspection.
19501 Plug potential leaks of GArray data members
19503 Fix calling of wrong cleanup_from_py for arrays
19505 Simplify and fix logic for cleaning up arrays both in from_py()
19506 and to_py() code paths.
19508 https://bugzilla.gnome.org/show_bug.cgi?id=638915
19510 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
19512 gi/pygi-cache.c | 2 +-
19513 gi/pygi-marshal-cleanup.c | 81
19514 ++++++++++++++++++++++++++++++-----------------
19515 gi/pygi-marshal-from-py.c | 10 ++++--
19516 gi/pygi-marshal-to-py.c | 13 ++++++--
19517 tests/test_gi.py | 14 +++++++-
19518 5 files changed, 85 insertions(+), 35 deletions(-)
19520 commit c2ec4d8eb46ae2e6ee4372b2a4f9d5df0e5d82f3
19521 Author: Ignacio Casal Quinteiro <icq@gnome.org>
19522 Date: Sat Oct 22 00:20:57 2011 +0200
19527 1 file changed, 8 insertions(+)
19529 commit 5c24760b797e985721f7fe51d52252e4dd54a417
19530 Author: Martin Pitt <martin.pitt@ubuntu.com>
19531 Date: Fri Oct 21 17:31:41 2011 +0200
19533 Fix "Returns: (skip)" method calls without (out) arguments
19535 When we have a method call with a skipped return value, but no
19537 arguments, we previously returned NULL to Python, which causes
19539 error return without exception set". Return None instead.
19541 https://bugzilla.gnome.org/show_bug.cgi?id=662383
19543 gi/pygi-invoke.c | 10 ++++++++++
19544 tests/test_everything.py | 8 ++++++++
19545 2 files changed, 18 insertions(+)
19547 commit 585222915dc98b0e375de3db4771466278a32e81
19548 Author: John (J5) Palmieri <johnp@redhat.com>
19549 Date: Tue Oct 18 00:39:16 2011 -0400
19551 Do union member checks for unions that are parameters
19553 * before we were only doing checks if the union was an instance
19555 https://bugzilla.gnome.org/show_bug.cgi?id=661673
19557 gi/pygi-marshal-from-py.c | 121
19558 ++++++++++++++++++++++++++--------------------
19559 1 file changed, 68 insertions(+), 53 deletions(-)
19561 commit 8deaec6b9abd87f02060c9feec773d4693e89028
19562 Author: Martin Pitt <martin.pitt@ubuntu.com>
19563 Date: Wed Oct 19 14:35:11 2011 +0200
19565 Gdk overrides: Unbreak for Gdk-2.0
19567 Fix regression from commit 31db3ed: Gdk 2.0 did not yet have
19569 only do this for Gdk >= 3.0.
19571 https://launchpad.net/bugs/875399
19573 gi/overrides/Gdk.py | 95
19574 +++++++++++++++++++++++++++--------------------------
19575 1 file changed, 48 insertions(+), 47 deletions(-)
19577 commit f395fb131caf7ca550acd17138d8061926ef4f92
19578 Author: John (J5) Palmieri <johnp@redhat.com>
19579 Date: Fri Oct 14 17:19:45 2011 -0400
19581 unit test for checking ref count of object param in signals
19583 https://bugzilla.gnome.org/show_bug.cgi?id=661359
19585 tests/test_everything.py | 11 +++++++++++
19586 1 file changed, 11 insertions(+)
19588 commit 611f58b99851328653af4930f188c33eccaa9f6f
19589 Author: John (J5) Palmieri <johnp@redhat.com>
19590 Date: Fri Oct 14 16:42:32 2011 -0400
19592 when converting an object with transfer none, make sure the wrapper
19595 https://bugzilla.gnome.org/show_bug.cgi?id=661359
19597 gi/pygi-argument.c | 10 ++++++++++
19598 1 file changed, 10 insertions(+)
19600 commit 0f1eb9fa0e7aa5e7c22dabc709c0dfb469e404f1
19601 Author: Timo Vanwynsberghe <timovwb@gmail.com>
19602 Date: Tue Oct 4 11:13:43 2011 +0200
19604 Allow GBoxed types as property
19606 Add the GBoxed type as valid type to the gobject property helper
19607 https://bugzilla.gnome.org/show_bug.cgi?id=660798
19609 gi/_gobject/propertyhelper.py | 5 +++--
19610 1 file changed, 3 insertions(+), 2 deletions(-)
19612 commit bef8d385117dd0295c9ba7567710d76fc2bb729a
19613 Author: Ignacio Casal Quinteiro <icq@gnome.org>
19614 Date: Mon Oct 10 11:24:42 2011 +0200
19616 Add tests for boxed properties.
19618 tests/test_properties.py | 20 ++++++++++++++++++--
19619 1 file changed, 18 insertions(+), 2 deletions(-)
19621 commit 77123ffeb1585837033848f4d5a90cfa63fdaee0
19622 Author: Ignacio Casal Quinteiro <icq@gnome.org>
19623 Date: Fri Sep 30 20:21:07 2011 +0200
19625 Post release bump version
19627 configure.ac | 2 +-
19628 1 file changed, 1 insertion(+), 1 deletion(-)
19630 commit f5ccfec0a1bc4c999bfa49d75383ea06d3a068c4
19631 Author: Ignacio Casal Quinteiro <icq@gnome.org>
19632 Date: Fri Sep 30 20:19:46 2011 +0200
19637 configure.ac | 2 +-
19638 2 files changed, 6 insertions(+), 1 deletion(-)
19640 commit 56ac9339eb1d6950623dc4d8c3b9972874e7fa86
19641 Author: John (J5) Palmieri <johnp@redhat.com>
19642 Date: Thu Sep 22 19:03:20 2011 -0400
19644 when checking instances union members are same type as parent
19646 * this is so we can support sending Gdk.Event members in place of
19647 the Event union into methods
19648 * we only support this if the union member has a type of GI_INTERFACE
19651 https://bugzilla.gnome.org/show_bug.cgi?id=659879
19653 gi/pygi-marshal-from-py.c | 60
19654 +++++++++++++++++++++++++++++++++++++++++++----
19655 1 file changed, 56 insertions(+), 4 deletions(-)
19657 commit 311a4f8035a95b41bc3c0a836c32b7a5bf2d9959
19658 Author: John (J5) Palmieri <johnp@redhat.com>
19659 Date: Wed Sep 21 21:50:48 2011 -0400
19661 add a floating flag to pygobjects
19663 * this allows us to correctly refcount when custom gobjects are
19667 gi/_gobject/gobjectmodule.c | 5 +++++
19668 gi/_gobject/pygobject-private.h | 3 +++
19669 gi/_gobject/pygobject.c | 27 ++++++++++++++++++++++++++-
19670 gi/_gobject/pygobject.h | 3 ++-
19671 4 files changed, 36 insertions(+), 2 deletions(-)
19673 commit d2d29ae5845217254b9336fd8629f369cb119b25
19674 Author: John (J5) Palmieri <johnp@redhat.com>
19675 Date: Wed Sep 21 21:13:22 2011 -0400
19677 Revert "Fix refcount bug by not creating python wrapper during
19678 gobject init stage"
19680 This reverts commit f6fa5dd8f39af1b8a52d7600d257400b0983e8c5.
19682 gi/_gobject/gobjectmodule.c | 32 +++++++++++++++++---------------
19683 1 file changed, 17 insertions(+), 15 deletions(-)
19685 commit a24c10b779f2a1b0425d56d03d59c393389cad98
19686 Author: John (J5) Palmieri <johnp@redhat.com>
19687 Date: Wed Sep 21 21:10:00 2011 -0400
19689 make sure to commit the NEWS file
19692 1 file changed, 4 insertions(+)
19694 commit 2eed2940c9be099fb6305288d895265e6b35d3d2
19695 Author: John (J5) Palmieri <johnp@redhat.com>
19696 Date: Mon Sep 19 13:19:57 2011 -0400
19698 prep for 3.0 release
19700 configure.ac | 6 +++---
19701 1 file changed, 3 insertions(+), 3 deletions(-)
19703 commit fbd58b70c2c3c1128f95a87eb4cc8313b6a401b8
19704 Author: John (J5) Palmieri <johnp@redhat.com>
19705 Date: Fri Sep 16 14:19:15 2011 -0400
19707 up version required of gobject-introspection to 1.29.0
19709 configure.ac | 2 +-
19710 1 file changed, 1 insertion(+), 1 deletion(-)
19712 commit 225f21117b6b3546989abe22538c784291e86b2a
19713 Author: John (J5) Palmieri <johnp@redhat.com>
19714 Date: Fri Sep 16 12:26:10 2011 -0400
19718 * remove some unused vars
19719 * correctly cast vars
19720 * handle deprecated enums in switch statments by using default:
19721 * unused wanrings still remain in some places
19723 gi/pygi-argument.c | 2 +-
19724 gi/pygi-cache.c | 7 ++-----
19725 gi/pygi-info.c | 6 ++++++
19726 gi/pygi-invoke.c | 2 +-
19727 gi/pygi-marshal-from-py.c | 17 +++++++++--------
19728 gi/pygi-marshal-to-py.c | 3 +--
19729 6 files changed, 20 insertions(+), 17 deletions(-)
19731 commit 9a70f01288e1b049206d25d67938907f1b38a490
19732 Author: John (J5) Palmieri <johnp@redhat.com>
19733 Date: Fri Sep 16 12:24:38 2011 -0400
19737 configure.ac | 2 +-
19738 1 file changed, 1 insertion(+), 1 deletion(-)
19740 commit 3ec4020205e909ee4400650434f9ae7b89c2bde8
19741 Author: John (J5) Palmieri <johnp@redhat.com>
19742 Date: Thu Sep 15 18:12:01 2011 -0400
19744 edit HACKING file to show correct tag format
19747 1 file changed, 1 insertion(+), 1 deletion(-)
19749 commit 2e864fd05bc0adf48df9f65ab72785ebb1d0d3f0
19750 Author: John (J5) Palmieri <johnp@redhat.com>
19751 Date: Thu Sep 15 18:10:33 2011 -0400
19753 update NEWS file to prep for release
19755 NEWS | 35 +++++++++++++++++++++++++++++++++++
19756 1 file changed, 35 insertions(+)
19758 commit 0da687fa699aba4f42c42a924d6754e2bd47df50
19759 Author: John (J5) Palmieri <johnp@redhat.com>
19760 Date: Thu Sep 15 17:59:31 2011 -0400
19762 fix typo s/lenth/length
19764 gi/overrides/Gtk.py | 2 +-
19765 1 file changed, 1 insertion(+), 1 deletion(-)
19767 commit 0e4861abaff64d8e7e8d1aeedf9dd1e80de8aab2
19768 Author: John (J5) Palmieri <johnp@redhat.com>
19769 Date: Thu Sep 15 17:48:58 2011 -0400
19771 fix typo in docstring
19773 gi/_gobject/propertyhelper.py | 2 +-
19774 1 file changed, 1 insertion(+), 1 deletion(-)
19776 commit e7fcc326d64def610e5a1003cf6c7ca97023814d
19777 Author: John (J5) Palmieri <johnp@redhat.com>
19778 Date: Thu Sep 15 17:46:46 2011 -0400
19780 do not pass in len(str) to the length argument of
19781 gtk_test_buffer_insert* apis
19783 * in python 3 len(str) returns the number of characters while
19785 parameter is expecting the number of bytes. It also excepts -1
19787 terminated string. Since all of our strings are null terminated,
19789 set length to that.
19791 gi/overrides/Gtk.py | 6 ++----
19792 1 file changed, 2 insertions(+), 4 deletions(-)
19794 commit 6f380153afb3390f7da9f4b8befb1c4ee224da17
19795 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19796 Date: Mon Sep 12 21:07:20 2011 +0200
19798 Switch tarball compression format to tar.xz only.
19801 http://mail.gnome.org/archives/gnome-announce-list/2011-September/msg00031.html
19802 for more information.
19804 https://bugzilla.gnome.org/show_bug.cgi?id=659140
19806 configure.ac | 2 +-
19807 1 file changed, 1 insertion(+), 1 deletion(-)
19809 commit 11c45ac6dcb6ffad766d03bfc77f45a6d703a90d
19810 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19811 Date: Thu Sep 15 14:18:57 2011 +0200
19813 Remove pygtk_version attribute from internal gi._gobject module.
19815 This used to be provided for backwards compatibility with older PyGTK
19816 versions. As PyGObject3 no longer provides support for static bindings
19817 like PyGTK, the pygtk_version attribute has become obsolete.
19819 https://bugzilla.gnome.org/show_bug.cgi?id=659142
19821 gi/_gobject/gobjectmodule.c | 4 ----
19822 gi/_gobject/pygobject.h | 2 --
19823 2 files changed, 6 deletions(-)
19825 commit 7e48fd6dfd86b7082c3fd35d25d9693c56c9665a
19826 Author: John (J5) Palmieri <johnp@redhat.com>
19827 Date: Thu Sep 15 15:52:18 2011 -0400
19829 remove overridesdir from the .pc file and add it to the gi module
19831 * having the variable in the .pc file caused issues parallel
19833 for different versions of python
19834 * putting it into the module allows us to give the correct directory
19835 based on which version of python you run the script from
19836 * access the var as such:
19838 installdir = gi._overridesdir
19840 gi/__init__.py | 2 ++
19841 pygobject-3.0.pc.in | 10 +++++++++-
19842 2 files changed, 11 insertions(+), 1 deletion(-)
19844 commit beea7072a5a989be47a755ac46647380d4dbd6b4
19845 Author: John (J5) Palmieri <johnp@redhat.com>
19846 Date: Thu Sep 15 00:11:09 2011 -0400
19848 fix tests to correctly construct a dummy Gtk.TargetEntry
19850 * structs are sometimes a pain in gi. Simply constructing them
19852 the standard constructor (e.g. Gtk.TargetEntry()) will malloc
19854 but not correctly initialize the fields which can cause a crash.
19855 * tests didn't crash before because they were sending in bogus
19857 somehow did not trigger the issue
19858 * now with the C struct array marshallers doing the right thing,
19860 use of TargetEntry was causing a crash
19862 https://bugzilla.gnome.org/show_bug.cgi?id=627236
19864 tests/test_overrides.py | 4 ++--
19865 1 file changed, 2 insertions(+), 2 deletions(-)
19867 commit 46ba7f04ef3df08e07ddda5c10f0c98bec5fa183
19868 Author: John (J5) Palmieri <johnp@redhat.com>
19869 Date: Thu Sep 15 00:08:31 2011 -0400
19871 we now assume that C arrays of structs are flat so memcpy them
19874 * there is no way in GI to tell if a C array is flat or an array
19876 so we assume that all arrays of simple structs and gvalues are
19878 all arrays of objects and boxed structs are pointer arrays.
19879 * this will be removed once GI gets the ability to annotate level
19882 https://bugzilla.gnome.org/show_bug.cgi?id=627236
19884 gi/pygi-marshal-from-py.c | 35 ++++++++++++++++++++++++++++++++---
19885 tests/test_gi.py | 29 +++++++++++++++++++++++++++++
19886 2 files changed, 61 insertions(+), 3 deletions(-)
19888 commit e30a41592baa942188574e5c9f99572963e2e387
19889 Author: John (J5) Palmieri <johnp@redhat.com>
19890 Date: Thu Sep 15 00:02:34 2011 -0400
19892 only update the arg counts once if child arg comes before parent arg
19894 * if the child arg comes before the parent arg we need to update the
19895 argument counts and take the child arg out of the marshalling lists
19896 since it is handled by the parent
19897 * when two parents reference the same child arg as is the case with
19898 two arrays which have a single length argument we only want
19901 * to do this we introduce the PYGI_META_ARG_CHILD_NEEDS_UPDATE
19903 and only do the count update if this is set
19904 * APIs should keep in mind that this take extra processing so
19906 should really come after their parents
19908 https://bugzilla.gnome.org/show_bug.cgi?id=627236
19910 gi/pygi-cache.c | 30 ++++++++++++++++++++----------
19911 gi/pygi-cache.h | 9 +++++++--
19912 2 files changed, 27 insertions(+), 12 deletions(-)
19914 commit f6fa5dd8f39af1b8a52d7600d257400b0983e8c5
19915 Author: John (J5) Palmieri <johnp@redhat.com>
19916 Date: Wed Sep 14 20:26:15 2011 -0400
19918 Fix refcount bug by not creating python wrapper during gobject
19921 * This only applys to python subclasses of GObject which are
19924 * Because we were creating the wrapper when the gobject is
19926 and then again calling pygobject_new_full the wrapper would get
19928 * we could not simply Py_DECREF the wrapper due to the fact that
19929 non-subclassed objects (e.g. GObject.Object) instantiated via
19930 new do not run the same initialization code and would not have the
19932 * solution was to simply not create the wrapper during initialization
19933 because if it doesn't exist when pygobject_new_full is called
19934 it gets created and registered there
19935 * move the call to __init__ into pyg_object_new
19937 https://bugzilla.gnome.org/show_bug.cgi?id=657403
19939 gi/_gobject/gobjectmodule.c | 32 +++++++++++++++-----------------
19940 1 file changed, 15 insertions(+), 17 deletions(-)
19942 commit 61b64a65beee9011f8e4ed20f0a83e6630ba154f
19943 Author: John (J5) Palmieri <johnp@redhat.com>
19944 Date: Tue Sep 13 18:08:04 2011 -0400
19946 don't destroy just created wrapper when object is created via
19949 https://bugzilla.gnome.org/show_bug.cgi?id=657403
19951 gi/_gobject/gobjectmodule.c | 2 +-
19952 1 file changed, 1 insertion(+), 1 deletion(-)
19954 commit 93e12cc2eb7e7f2c18971da86e9c9452d3f566b7
19955 Author: Steve Frécinaux <code@istique.net>
19956 Date: Fri Aug 26 11:22:09 2011 +0200
19958 Remove deprecated API from pygobject.h
19960 https://bugzilla.gnome.org/show_bug.cgi?id=657416
19962 gi/_gobject/pygobject.h | 19 +------------------
19963 1 file changed, 1 insertion(+), 18 deletions(-)
19965 commit e1c71092af6e2cffa36248519adfceac1874051d
19966 Author: Marcin Owsiany <marcin@owsiany.pl>
19967 Date: Wed Aug 31 09:43:28 2011 +0100
19969 Convert gtk.TRUE/FALSE to Python True/False.
19971 https://bugzilla.gnome.org/show_bug.cgi?id=657785
19973 pygi-convert.sh | 2 ++
19974 1 file changed, 2 insertions(+)
19976 commit 3ace5c2e2268285a5dcb39889fcb2a71bc1063bd
19977 Author: Steve Frécinaux <code@istique.net>
19978 Date: Fri Sep 2 08:37:15 2011 +0200
19980 Drop legacy __gobject_init__ method of GObject.Object.
19982 This method was used in gobject initialization at some point, but now
19983 using GObject.__init__() is sufficient, so let's not keep this old
19984 method around and let people misuse it.
19986 https://bugzilla.gnome.org/show_bug.cgi?id=658032
19988 examples/signal.py | 2 --
19989 gi/_gobject/pygobject.c | 11 -----------
19990 2 files changed, 13 deletions(-)
19992 commit fcd457d1d1d8a813acb2ebfe5ee0e9aab2c9c88c
19993 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19994 Date: Tue Sep 13 12:05:30 2011 +0200
19996 AM_CHECK_PYTHON_LIBS does not work for lib64
19998 But on Windows, Python extension modules need to be explicitly
19999 linked to libpython.
20001 https://bugzilla.gnome.org/show_bug.cgi?id=658856
20003 configure.ac | 4 +++-
20004 gi/Makefile.am | 9 ++++++---
20005 gi/_glib/Makefile.am | 10 ++++++++--
20006 gi/_gobject/Makefile.am | 8 +++++++-
20007 4 files changed, 24 insertions(+), 7 deletions(-)
20009 commit 863c087911203a8f3ebaa8e77622a3437a7cd320
20010 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20011 Date: Mon Sep 12 23:03:05 2011 +0200
20013 Remove common_ldflags from Makefile.am as it is no longer used.
20015 https://bugzilla.gnome.org/show_bug.cgi?id=658856
20017 Makefile.am | 6 ------
20018 1 file changed, 6 deletions(-)
20020 commit 24b920f9922e367bdb8b3e56c2f61e0c8f5cdb66
20021 Author: John (J5) Palmieri <johnp@redhat.com>
20022 Date: Tue Sep 13 16:20:48 2011 -0400
20024 cast params for PyObject_IsInstance to suppress warnings
20026 gi/_gobject/pygobject-private.h | 4 ++--
20027 1 file changed, 2 insertions(+), 2 deletions(-)
20029 commit 861369ec59b17f67151813dc2e87c6e86126b954
20030 Author: John (J5) Palmieri <johnp@redhat.com>
20031 Date: Tue Sep 13 16:04:31 2011 -0400
20033 check if object is actually a PyGFlag before trying to access g_type
20035 * we are lucky this bit of code worked for as long as it did but when
20036 checking if an object is a PyGFlag we can't just rely on looking
20037 at the g_type field because if a regular gobject is passed in
20038 as is the case when you compare a long to a gflag, the gobject
20039 will not have a g_type field. Accessing a non-existant field
20040 could at best give you a false positive and at worse read
20041 memory beyond the bounds of the actual structure passed in
20043 gi/_gobject/pygobject-private.h | 4 ++--
20044 1 file changed, 2 insertions(+), 2 deletions(-)
20046 commit eea93e89fb064253bd8903c8b453daf4b3c87c2c
20047 Author: John (J5) Palmieri <johnp@redhat.com>
20048 Date: Tue Sep 13 16:03:02 2011 -0400
20050 fix regression - add instance type checks since Py3 no longer does
20053 gi/pygi-marshal-from-py.c | 21 +++++++++++++++++++--
20054 1 file changed, 19 insertions(+), 2 deletions(-)
20056 commit a4e4318b50a24a688e32579273fbcfa51d1b422a
20057 Author: John (J5) Palmieri <johnp@redhat.com>
20058 Date: Fri Sep 2 18:39:51 2011 -0400
20060 refactor in/out marshalling to be to_py/from_py
20062 * in/out make sense from a C perspective but when you get to the
20063 python layers it makes more sense to label them as to_py and
20064 from_py to denote which way we are marshalling
20065 * this helps clear up the difference between callbacks which
20066 call into python and invoked functions which call into C
20067 * in the callback case we marshal in values to Python objects
20068 and out values to C types but in the invoke case we do the
20069 reverse. Dealing with to_py/from_py makes the code much more
20070 resuable and consistant
20072 https://bugzilla.gnome.org/show_bug.cgi?id=658362
20074 gi/Makefile.am | 8 +-
20075 gi/pygi-cache.c | 673
20076 ++++++++++++-----------
20077 gi/pygi-cache.h | 62 ++-
20078 gi/pygi-invoke.c | 144 ++---
20079 gi/pygi-marshal-cleanup.c | 168 +++---
20080 gi/pygi-marshal-cleanup.h | 128 ++---
20081 gi/{pygi-marshal-in.c => pygi-marshal-from-py.c} | 372 ++++++-------
20082 gi/pygi-marshal-from-py.h | 186 +++++++
20083 gi/pygi-marshal-in.h | 186 -------
20084 gi/pygi-marshal-out.h | 144 -----
20085 gi/{pygi-marshal-out.c => pygi-marshal-to-py.c} | 278 +++++-----
20086 gi/pygi-marshal-to-py.h | 144 +++++
20087 12 files changed, 1267 insertions(+), 1226 deletions(-)
20089 commit 45b0fcff9e948c65a3903c32a3957802034c5e47
20090 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20091 Date: Fri Sep 9 16:50:25 2011 +0200
20093 Examples: fix cairo-demo.py imports
20095 examples/cairo-demo.py | 6 +++---
20096 1 file changed, 3 insertions(+), 3 deletions(-)
20098 commit 3ca19fc13e6024fd04851e6f269020a92b09fa17
20099 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20100 Date: Fri Sep 9 15:08:27 2011 +0200
20102 Fix paths and add missing overridesdir variable used in uninstalled
20105 https://bugzilla.gnome.org/show_bug.cgi?id=658654
20107 pygobject-3.0-uninstalled.pc.in | 14 +++++++-------
20108 1 file changed, 7 insertions(+), 7 deletions(-)
20110 commit 6e773175b9d2f46b3df5075ec952a8c5aff3c607
20111 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20112 Date: Fri Sep 9 15:08:04 2011 +0200
20114 Remove no longer used variables from pkgconfig files
20116 https://bugzilla.gnome.org/show_bug.cgi?id=658654
20118 pygobject-3.0-uninstalled.pc.in | 6 ------
20119 pygobject-3.0.pc.in | 5 +----
20120 2 files changed, 1 insertion(+), 10 deletions(-)
20122 commit 81d388780311311d8dc4a027a59d114edf9a00fc
20123 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20124 Date: Fri Sep 9 14:57:58 2011 +0200
20126 docs/Makefile.am and m4/python.m4: Python3 portability fixes
20128 https://bugzilla.gnome.org/show_bug.cgi?id=658652
20130 docs/Makefile.am | 2 +-
20131 m4/python.m4 | 2 +-
20132 2 files changed, 2 insertions(+), 2 deletions(-)
20134 commit 7e692ee061406e48e4862b98a0829650b1d6d585
20135 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20136 Date: Fri Sep 9 14:57:46 2011 +0200
20138 Refactor and clean Makefile.am files
20140 https://bugzilla.gnome.org/show_bug.cgi?id=658652
20143 gi/Makefile.am | 81 +++++++++++++++++++++++--------------
20144 gi/_glib/Makefile.am | 100
20145 ++++++++++++++++++++++++++++++----------------
20146 gi/_gobject/Makefile.am | 85 ++++++++++++++++++++-------------------
20147 gi/overrides/Makefile.am | 4 +-
20148 gi/repository/Makefile.am | 4 +-
20149 6 files changed, 162 insertions(+), 114 deletions(-)
20151 commit 3dd59b07d1f4a93ee1f65d6a64e1afb6f5e84232
20152 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20153 Date: Fri Sep 9 14:57:36 2011 +0200
20155 Remove all PLATFORM_VERSION = 2.0 traces
20157 https://bugzilla.gnome.org/show_bug.cgi?id=658652
20159 gi/Makefile.am | 2 --
20160 gi/overrides/Makefile.am | 1 -
20161 gi/repository/Makefile.am | 1 -
20162 3 files changed, 4 deletions(-)
20164 commit db1e484bfa157967de55ee2e0e18a82b8e388b61
20165 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20166 Date: Fri Sep 9 14:57:25 2011 +0200
20168 Remove gi/tests/ directory as all the tests now live in tests/
20170 https://bugzilla.gnome.org/show_bug.cgi?id=658652
20172 gi/tests/Makefile.am | 24 ------------------------
20173 gi/tests/runtests.py | 21 ---------------------
20174 2 files changed, 45 deletions(-)
20176 commit b0ecbf00138ef1147e478ebf3c66f0e9b3f85dfc
20177 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20178 Date: Fri Sep 9 14:55:25 2011 +0200
20180 autogen.sh: Use autoreconf instead of a custom script and honor
20183 https://bugzilla.gnome.org/show_bug.cgi?id=658652
20187 +++++++------------------------------------------------------
20188 2 files changed, 12 insertions(+), 85 deletions(-)
20190 commit 4671f5397003f376f00830e3fd1c214de594619f
20191 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20192 Date: Fri Sep 9 14:55:01 2011 +0200
20194 use improved python.m4 macros to search for Python headers and libs
20196 https://bugzilla.gnome.org/show_bug.cgi?id=658652
20198 configure.ac | 3 ++-
20199 m4/python.m4 | 47 +++++++++++++++++++++++++++++++++++++----------
20200 2 files changed, 39 insertions(+), 11 deletions(-)
20202 commit 2c9fd09da196d35db968bff4ae63fcce2d891e69
20203 Author: Javier Jardón <jjardon@gnome.org>
20204 Date: Fri Sep 9 15:38:22 2011 +0100
20206 Make maintiner mode enabled by default
20209 http://blogs.gnome.org/desrt/2011/09/08/am_maintainer_mode-is-not-cool/
20211 configure.ac | 2 +-
20212 1 file changed, 1 insertion(+), 1 deletion(-)
20214 commit b24dcb415406668931e02a1f669ef9861bb3a660
20215 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20216 Date: Wed Aug 24 09:58:10 2011 +0200
20218 Disable documentation for now since they are completely wrong for GI.
20220 https://bugzilla.gnome.org/show_bug.cgi?id=657054
20223 configure.ac | 25 -------------------------
20224 2 files changed, 1 insertion(+), 26 deletions(-)
20226 commit ecea2358a379c8ff44dff2f8f9c30a9092af1681
20227 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20228 Date: Wed Sep 7 10:38:28 2011 +0200
20230 Fix documentation installation directory
20232 https://bugzilla.gnome.org/show_bug.cgi?id=657054
20234 docs/Makefile.am | 5 +++--
20235 1 file changed, 3 insertions(+), 2 deletions(-)
20237 commit 8d3125c8ce9890c70400dd8a3ac273b590fe6a31
20238 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20239 Date: Tue Sep 6 22:22:11 2011 +0200
20241 Remove distutils based build system.
20243 The only reason this might be brought back to life again is when
20244 the whole stack can be built with Visual Studio (including
20245 gobject-introspection) again. Building with MinGW/MSYS can now
20246 be done with the usual autogen.sh/configure/make/make install dance.
20248 https://bugzilla.gnome.org/show_bug.cgi?id=657054
20251 Makefile.am | 25 +--
20252 README.win32 | 21 --
20254 -----------------------------------------------
20255 pygobject_postinstall.py | 9 -
20256 setup.py | 351 --------------------------------
20257 6 files changed, 7 insertions(+), 915 deletions(-)
20259 commit b82d916635aa0b732840548088a3fcfcb2e41bc4
20260 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20261 Date: Wed Sep 7 10:40:36 2011 +0200
20263 [gtk-demo] Fix syntax highlighter encoding issue
20265 With Python 3, Gtk.TextBuffer.get_text returns a str (not bytes), with
20266 Python 2 however we get a str (not unicode). So with Python 2 the
20267 tokenizer returned bogus data when ran over a demo that contains real
20268 UTF-8 codepoints (like rotatedtext.py for example).
20270 This patch thus fixes the "Gtk-CRITICAL **:
20271 gtk_text_iter_set_line_offset:
20272 assertion `char_on_line <= chars_in_line` failed" assertions when
20274 the rotated text demo in the treeview.
20276 demos/gtk-demo/gtk-demo.py | 3 +++
20277 1 file changed, 3 insertions(+)
20279 commit 31db3ed3d233bd495c3a2f99b3fa51031bfa30c6
20280 Author: Ignacio Casal Quinteiro <icq@gnome.org>
20281 Date: Tue Sep 6 22:13:54 2011 +0200
20283 overrides: add constants for atoms
20285 gi/overrides/Gdk.py | 49
20286 +++++++++++++++++++++++++++++++++++++++++++++++++
20287 1 file changed, 49 insertions(+)
20289 commit 81861bc2d664eb38d46e5c38ff755d436f040f63
20290 Author: Steve Frécinaux <code@istique.net>
20291 Date: Wed Aug 31 14:18:56 2011 +0200
20293 Drop pygobject_construct() from public API.
20295 These functions were introduced in 2005 because python objects
20297 "just" be instantiated using g_object_new(), but this is not true
20298 anymore since the introduction of new-style constructors. Hence
20300 has no reason to be there anymore.
20302 Nowadays, people who want to construct GObjects defined in python
20304 just use g_object_new().
20306 https://bugzilla.gnome.org/show_bug.cgi?id=657814
20308 gi/_gobject/gobjectmodule.c | 118
20309 +++++++++-------------------------------
20310 gi/_gobject/pygobject-private.h | 3 -
20311 gi/_gobject/pygobject.h | 8 ---
20312 3 files changed, 26 insertions(+), 103 deletions(-)
20314 commit c4c55a98ccf9e39ed0d10ed49b66a76dc7d7c509
20315 Author: Ignacio Casal Quinteiro <icq@gnome.org>
20316 Date: Wed Aug 31 18:00:44 2011 +0200
20318 post release version bump
20320 configure.ac | 2 +-
20321 1 file changed, 1 insertion(+), 1 deletion(-)
20323 commit ac5a0f46242abdd3cd98ec5f9f2bf8e5b05f3845
20324 Author: Ignacio Casal Quinteiro <icq@gnome.org>
20325 Date: Wed Aug 31 17:58:37 2011 +0200
20329 NEWS | 12 ++++++++++++
20330 1 file changed, 12 insertions(+)
20332 commit 429569abddada5a3bad554de707ddf35b349936e
20333 Author: John (J5) Palmieri <johnp@redhat.com>
20334 Date: Thu Aug 25 13:57:53 2011 -0400
20336 support skip annotation for return values
20338 * this is used for things like skiping gboolean returns that are
20339 useful is C but useless in python
20341 * cleans up after skipped returns that are also marked transfer
20343 https://bugzilla.gnome.org/show_bug.cgi?id=650135
20345 gi/pygi-cache.c | 1 +
20346 gi/pygi-cache.h | 1 +
20347 gi/pygi-invoke.c | 48
20348 ++++++++++++++++++++++++++++++------------------
20349 tests/test_everything.py | 8 ++++++++
20350 4 files changed, 40 insertions(+), 18 deletions(-)
20352 commit 7a234b185b131f3eb6a6e8a8c717ddf4d508b15e
20353 Author: Xavier Claessens <xclaesse@gmail.com>
20354 Date: Tue Aug 2 12:05:12 2011 +0200
20356 Test GPtrArray regression
20358 tests/test_everything.py | 3 +++
20359 1 file changed, 3 insertions(+)
20361 commit 42fc9fa437102c882844a0e70a081ab08de92658
20362 Author: Steve Frécinaux <code@istique.net>
20363 Date: Fri Aug 26 10:53:43 2011 +0200
20365 Drop support for old constructor style.
20367 Bindings don't write their own constructors anymore, and the old style
20368 has been deprecated for ages, so let's just drop them now and make
20371 https://bugzilla.gnome.org/show_bug.cgi?id=657413
20373 gi/_gobject/gobjectmodule.c | 20 --------------------
20374 gi/_gobject/pygobject-private.h | 1 -
20375 gi/_gobject/pygobject.c | 1 -
20376 gi/_gobject/pygobject.h | 2 --
20377 gi/gimodule.c | 28 ----------------------------
20379 tests/testhelpermodule.c | 5 -----
20380 7 files changed, 59 deletions(-)
20382 commit 3961a405e1bddef22e1a5a0c7aa3ae55e4ec09ad
20383 Author: Steve Frécinaux <code@istique.net>
20384 Date: Fri Aug 26 10:45:59 2011 +0200
20386 Drop support for sink functions.
20388 Sink functions were meant to deal with floating references in a custom
20389 way. They are not useful anymore with the dynamic bindings.
20391 https://bugzilla.gnome.org/show_bug.cgi?id=642233
20393 gi/_gobject/gobjectmodule.c | 1 -
20394 gi/_gobject/pygobject.c | 53 ----------------------------------------
20395 gi/_gobject/pygobject.h | 4 ---
20396 tests/test-floating.c | 59
20397 +++++++--------------------------------------
20398 tests/test-floating.h | 42 +++++++++-----------------------
20399 tests/test_gobject.py | 13 +++-------
20400 tests/testhelpermodule.c | 32 +++++++-----------------
20401 7 files changed, 32 insertions(+), 172 deletions(-)
20403 commit 631d8ef879a13492945a3e30b3df9863a4ba2f44
20404 Author: Mike Gorse <mgorse@novell.com>
20405 Date: Wed Aug 24 17:30:09 2011 -0500
20407 Reinstate copying of in-line structs in arrays
20409 For arrays of in-line, non-boxed structures with (transfer full),
20410 _pygi_marshal_free_out_array eventually gets called and frees
20412 data, so we should copy it (IE, BGO#653588).
20414 https://bugzilla.gnome.org/show_bug.cgi?id=657120
20416 gi/pygi-marshal-out.c | 8 +++++++-
20417 1 file changed, 7 insertions(+), 1 deletion(-)
20419 commit f38511f251602e18551c04617cc2e2d42e812e1e
20420 Author: John (J5) Palmieri <johnp@redhat.com>
20421 Date: Tue Aug 23 14:18:43 2011 -0400
20423 fix inline struct array handling
20425 * we now assume any non-boxed structs are inline in an array since
20427 no way to check in GI and this is the most common use for an
20431 https://bugzilla.gnome.org/show_bug.cgi?id=657120
20433 gi/pygi-marshal-out.c | 23 +++++++++--------------
20434 tests/test_gi.py | 8 ++++++++
20435 2 files changed, 17 insertions(+), 14 deletions(-)
20437 commit d92846a5446b0dd2e69c813f56224a1966ab1a33
20438 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20439 Date: Tue Aug 23 11:30:41 2011 +0200
20441 [gtk-demo] printing.py: set print and error dialog transient parent
20443 demos/gtk-demo/demos/printing.py | 8 ++++----
20444 1 file changed, 4 insertions(+), 4 deletions(-)
20446 commit 1aebc1565752840075027b9452fe2a67217bf53b
20447 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20448 Date: Tue Aug 23 11:28:05 2011 +0200
20450 [gtk-demo] printing.py: exit Gtk mainloop when done and correctly
20451 handle printing errors
20453 demos/gtk-demo/demos/printing.py | 14 ++++++++++----
20454 1 file changed, 10 insertions(+), 4 deletions(-)
20456 commit 1f9e4486c5b84209ce0038887738fc16a4ef7da3
20457 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20458 Date: Tue Aug 23 08:05:43 2011 +0200
20460 [gtk-demo] show "activated" demo's in italic font in the TreeView
20462 demos/gtk-demo/gtk-demo.py | 7 +++++--
20463 1 file changed, 5 insertions(+), 2 deletions(-)
20465 commit 971d063f7a36e13ef6621db7002b00af52f6292a
20466 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20467 Date: Mon Aug 22 14:52:28 2011 +0200
20469 [gtk-demo] source colorizer: Python3 does not have the BACKQUOTE
20470 token, so simply remove it
20472 demos/gtk-demo/gtk-demo.py | 5 +----
20473 1 file changed, 1 insertion(+), 4 deletions(-)
20475 commit c2979a37d6d505095b6e55789150a6498d95819d
20476 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20477 Date: Mon Aug 22 14:22:18 2011 +0200
20479 [gtk-demo] In Python3, GLib.file_get_contents returns a bytes object
20480 but Gtk.TextBuffer.insert expects a string.
20482 Fixed by using codes.open() as hinted in
20483 http://docs.python.org/dev/howto/pyporting.html#text-files
20484 section "If pre-2.6 compatibility is needed" (because configure.ac
20485 is still happy with Python 2.5.2).
20487 demos/gtk-demo/gtk-demo.py | 6 +++++-
20488 1 file changed, 5 insertions(+), 1 deletion(-)
20490 commit 9ea56535f35abbea4cd977dea4c89247e4b01694
20491 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20492 Date: Mon Aug 22 12:30:24 2011 +0200
20494 [gtk-demo] images.py: fix 'Insensitive 'button mnenomic
20496 demos/gtk-demo/demos/images.py | 2 +-
20497 1 file changed, 1 insertion(+), 1 deletion(-)
20499 commit 7829dae1cdb8697a19c2b5e158ef0e08f6c2558b
20500 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20501 Date: Mon Aug 22 10:38:04 2011 +0200
20503 [gtk-demo] printing.py: fix Pango.EllipsizeType > Pango.EllipsizeMode
20506 demos/gtk-demo/demos/printing.py | 4 ++--
20507 1 file changed, 2 insertions(+), 2 deletions(-)
20509 commit 07f0274301d77d9bf62b49a14b059d9a52afb445
20510 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20511 Date: Mon Aug 22 10:37:08 2011 +0200
20513 [gtk-demo] printing.py: fix text file loading
20515 demos/gtk-demo/demos/printing.py | 32 ++++++++++++++++----------------
20516 1 file changed, 16 insertions(+), 16 deletions(-)
20518 commit 135148a4c35aac1d132b0b8fa3adbf1fdcdb3a24
20519 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20520 Date: Mon Aug 22 10:20:35 2011 +0200
20522 [gtk-demo] pixbuf.py: fix image loading
20524 demos/gtk-demo/demos/pixbuf.py | 25 +++++++++++--------------
20525 1 file changed, 11 insertions(+), 14 deletions(-)
20527 commit a93cae2c80e30a408f86e7e6c4d15a538011a189
20528 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20529 Date: Mon Aug 22 10:10:02 2011 +0200
20531 [gtk-demo] images.py: fix logo loading
20533 demos/gtk-demo/demos/images.py | 70
20534 +++++++++++++++++-------------------------
20535 1 file changed, 29 insertions(+), 41 deletions(-)
20537 commit eddc0824e0e4c156fca5de05bdeb600c534d4b24
20538 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20539 Date: Wed Aug 24 12:19:21 2011 +0200
20541 [gtk-demo] appwindow.py: set AboutDialog parent
20543 demos/gtk-demo/demos/appwindow.py | 7 +++----
20544 1 file changed, 3 insertions(+), 4 deletions(-)
20546 commit 7fe10a5b33148b1f029f3d34f76b7f880c1c2e7a
20547 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20548 Date: Mon Aug 22 07:58:25 2011 +0200
20550 [gtk-demo] appwindow.py: fix logo loading
20552 demos/gtk-demo/demos/appwindow.py | 10 +++-------
20553 1 file changed, 3 insertions(+), 7 deletions(-)
20555 commit 62fda288c1c37167c589e8e9d49ed625f770a98a
20556 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20557 Date: Mon Aug 22 07:57:31 2011 +0200
20559 [gtk-demo] appwindow.py: fix callback signatures
20561 demos/gtk-demo/demos/appwindow.py | 6 +++---
20562 1 file changed, 3 insertions(+), 3 deletions(-)
20564 commit 87e9ab4d3a0aac4f4710aa0f8af0a1736f781ad9
20565 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20566 Date: Mon Aug 22 07:48:28 2011 +0200
20568 [gtk-demo] fix glib vs GLib usage
20570 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 2 +-
20571 demos/gtk-demo/demos/appwindow.py | 2 +-
20572 2 files changed, 2 insertions(+), 2 deletions(-)
20574 commit d29cad6976a80862e1fc590d3e7d190e8a234866
20575 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20576 Date: Wed Aug 24 12:19:02 2011 +0200
20578 [gtk-demo] iconviewedit.py: fix for Gdk.color_parse API breakage
20579 caused by improved GDK overrides
20581 demos/gtk-demo/demos/Icon View/iconviewedit.py | 6 +++---
20582 1 file changed, 3 insertions(+), 3 deletions(-)
20584 commit f29d3a85a275a39e8481484779264b0dea1160ab
20585 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20586 Date: Mon Aug 22 07:25:32 2011 +0200
20588 [gtk-demo] optimize source colorizer by only preparing iters for
20589 known colorized tokens
20591 demos/gtk-demo/gtk-demo.py | 20 +++++++++++++++-----
20592 1 file changed, 15 insertions(+), 5 deletions(-)
20594 commit ecd1eb00b19733da3f2e3d7935792378f34cab19
20595 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20596 Date: Fri Aug 19 18:31:20 2011 +0200
20598 [gtk-demo] small formatting fixes
20600 demos/gtk-demo/demos/Entry/entry_buffer.py | 1 +
20601 demos/gtk-demo/demos/Entry/entry_completion.py | 1 +
20602 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 8 ++++----
20603 demos/gtk-demo/demos/assistant.py | 1 +
20604 demos/gtk-demo/demos/builder.py | 4 +++-
20605 demos/gtk-demo/demos/button_box.py | 1 +
20606 demos/gtk-demo/demos/clipboard.py | 1 +
20607 demos/gtk-demo/demos/colorselector.py | 1 +
20608 demos/gtk-demo/demos/combobox.py | 1 +
20609 demos/gtk-demo/demos/drawingarea.py | 4 +++-
20610 demos/gtk-demo/demos/test.py | 2 ++
20611 11 files changed, 19 insertions(+), 6 deletions(-)
20613 commit c42cb4da399ff5732f4ca732b85134de796a60fa
20614 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20615 Date: Fri Aug 19 18:30:50 2011 +0200
20617 [gtk-demo] remove "is_fully_bound" from demos
20619 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 --
20620 demos/gtk-demo/demos/Entry/entry_completion.py | 2 --
20621 demos/gtk-demo/demos/appwindow.py | 3 ---
20622 demos/gtk-demo/demos/assistant.py | 2 --
20623 demos/gtk-demo/demos/builder.py | 2 --
20624 demos/gtk-demo/demos/button_box.py | 2 --
20625 demos/gtk-demo/demos/clipboard.py | 2 --
20626 demos/gtk-demo/demos/colorselector.py | 2 --
20627 demos/gtk-demo/demos/combobox.py | 2 --
20628 demos/gtk-demo/demos/drawingarea.py | 2 --
20629 demos/gtk-demo/demos/test.py | 1 -
20630 11 files changed, 22 deletions(-)
20632 commit cad6a62c63f455f0b1315465a9cd71c0f02b12a5
20633 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20634 Date: Fri Aug 19 18:26:31 2011 +0200
20636 [gtk-demo] add source colorizer loosely based on PyGTK's pygtk-demo
20637 and GTK+'s gtk-demo code
20639 demos/gtk-demo/gtk-demo.py | 116
20640 +++++++++++++++++++++++++++++++++++++++------
20641 1 file changed, 101 insertions(+), 15 deletions(-)
20643 commit 250c36f4a8352ff1b31c1c85b156d3e803d4b8ef
20644 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20645 Date: Fri Aug 19 15:08:15 2011 +0200
20647 [gtk-demo] remove C-isms
20649 demos/gtk-demo/gtk-demo.py | 28 ++++++++++++++--------------
20650 1 file changed, 14 insertions(+), 14 deletions(-)
20652 commit cf35fe8e259e786d0fa21b08b1f5c64c9bb0a84e
20653 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20654 Date: Fri Aug 19 14:54:39 2011 +0200
20656 [gtk-demo] fix text on info tab to be more like GTK+'s gtk-demo
20658 demos/gtk-demo/gtk-demo.py | 4 ++--
20659 1 file changed, 2 insertions(+), 2 deletions(-)
20661 commit 241827208e25c72a990d8edd95a3b879470d6409
20662 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20663 Date: Fri Aug 19 14:40:56 2011 +0200
20665 [gtk-demo] remove duplicate storage of demos by only storing them
20666 in a TreeStore subclass
20668 This also moves demos loading code into the TreeStore subclass and
20669 demo loading code into the Demo class
20671 demos/gtk-demo/gtk-demo.py | 151
20672 +++++++++++++++++++++------------------------
20673 1 file changed, 70 insertions(+), 81 deletions(-)
20675 commit 58797c355a08a35375988881a17958bb42ad54bb
20676 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20677 Date: Fri Aug 19 14:40:00 2011 +0200
20679 [gtk-demo] make GtkDemoApp a Gtk.Window subclass and adapt main()
20680 to demonstrate the GLib.MainLoop
20682 demos/gtk-demo/gtk-demo.py | 43
20683 ++++++++++++++++++++++++++-----------------
20684 1 file changed, 26 insertions(+), 17 deletions(-)
20686 commit 1e4fc1ea54527cff78f6c633db39e9a0bd3c64d2
20687 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20688 Date: Fri Aug 19 11:46:17 2011 +0200
20690 [gtk-demo] correctly load demo code when cwd != demos/gtk-demo/
20692 demos/gtk-demo/gtk-demo.py | 39 +++++++++++++++++++++++----------------
20693 1 file changed, 23 insertions(+), 16 deletions(-)
20695 commit 6ffc999fbd4c9990fb5bde53ddd46d139b53245e
20696 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20697 Date: Fri Aug 19 11:02:35 2011 +0200
20699 [gtk-demo] drawingarea: fix labels
20701 demos/gtk-demo/demos/drawingarea.py | 4 ++--
20702 1 file changed, 2 insertions(+), 2 deletions(-)
20704 commit 9fd3986affe11cbc5a816adcccdc56d0592f3618
20705 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20706 Date: Fri Aug 19 09:57:31 2011 +0200
20708 [gtk-demo] fix imports
20710 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 6 ++++--
20711 demos/gtk-demo/demos/appwindow.py | 9 ++++++---
20712 demos/gtk-demo/gtk-demo.py | 8 ++++----
20713 3 files changed, 14 insertions(+), 9 deletions(-)
20715 commit 9f314babfdee3b82799e00ea003972b0bbe6a8d5
20716 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20717 Date: Fri Aug 19 10:07:14 2011 +0200
20719 [gtk-demo] fix shebang
20721 demos/gtk-demo/gtk-demo.py | 2 +-
20722 1 file changed, 1 insertion(+), 1 deletion(-)
20724 commit 01142060ae7d71a8a1f7d3e9bbc6f52e65f01c8d
20725 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20726 Date: Fri Aug 19 12:27:04 2011 +0200
20728 Added support for __setitem__ to TreeModel and support for slices
20731 https://bugzilla.gnome.org/show_bug.cgi?id=656891
20733 gi/overrides/Gtk.py | 26 ++++++++++++++++++++--
20734 tests/test_overrides.py | 57
20735 +++++++++++++++++++++++++++++++++++++++++++++++++
20736 2 files changed, 81 insertions(+), 2 deletions(-)
20738 commit d6da96c65b2ed3cda238886990a624fbc31f6987
20739 Author: Olav Vitters <olav@vitters.nl>
20740 Date: Wed Aug 24 16:31:12 2011 +0200
20742 Convert ACCEL_* constants into Gtk.AccelFlags.
20744 pygi-convert.sh | 1 +
20745 1 file changed, 1 insertion(+)
20747 commit 0841d41698302abb5d987849a5874252564ed428
20748 Author: Olav Vitters <olav@vitters.nl>
20749 Date: Wed Aug 24 16:22:17 2011 +0200
20751 Convert TREE_VIEW_DROP_* constants into Gtk.TreeViewDropPosition
20753 pygi-convert.sh | 1 +
20754 1 file changed, 1 insertion(+)
20756 commit 37b0d0f9dc3d485829cae6e50da369fdea91a2d1
20757 Author: John (J5) Palmieri <johnp@redhat.com>
20758 Date: Thu Aug 18 14:06:32 2011 -0400
20760 post commit version bump
20762 configure.ac | 2 +-
20763 1 file changed, 1 insertion(+), 1 deletion(-)
20765 commit e51efc50835a14e0418cc27cc928c52d1aa6a3cf
20766 Author: John (J5) Palmieri <johnp@redhat.com>
20767 Date: Thu Aug 18 14:02:30 2011 -0400
20771 NEWS | 10 ++++++++++
20772 1 file changed, 10 insertions(+)
20774 commit 74c727b53fcf64f465ee77b5a1ea04a69ca90968
20775 Author: John (J5) Palmieri <johnp@redhat.com>
20776 Date: Thu Aug 18 13:50:51 2011 -0400
20778 remove tests that were removed from gi
20780 tests/test_gi.py | 11 -----------
20781 1 file changed, 11 deletions(-)
20783 commit 11ea24dd30d8eeca11c8433c6bd75b06e52ae1ef
20784 Author: John (J5) Palmieri <johnp@redhat.com>
20785 Date: Thu Aug 18 13:48:57 2011 -0400
20787 don't calculate item_size using is_pointer
20789 * is_pointer is poorly defined and cacluating item_size for
20790 arrays causes a crash in the tests because of this
20791 * disregaurd is_pointer when cacluating item sizes
20793 gi/pygi-info.c | 8 ++------
20794 1 file changed, 2 insertions(+), 6 deletions(-)
20796 commit 493b4a21dd162d78cf572b548b58ba6a9ff22971
20797 Author: Timo Vanwynsberghe <timovwb@gmail.com>
20798 Date: Wed Jul 6 01:50:31 2011 +0200
20800 Updated signal example to use GObject introspection
20802 https://bugzilla.gnome.org/show_bug.cgi?id=654162
20804 examples/signal.py | 9 ++++-----
20805 1 file changed, 4 insertions(+), 5 deletions(-)
20807 commit 0332010e704e253380e993874eab9dd122e59a7e
20808 Author: Timo Vanwynsberghe <timovwb@gmail.com>
20809 Date: Wed Jul 6 01:54:50 2011 +0200
20811 Updated properties example to use GObject introspection
20813 https://bugzilla.gnome.org/show_bug.cgi?id=654162
20815 examples/properties.py | 14 +++++++-------
20816 1 file changed, 7 insertions(+), 7 deletions(-)
20818 commit c39f4555ebd703651eca6f978ed9870655b737f0
20819 Author: Martin Pitt <martin.pitt@ubuntu.com>
20820 Date: Fri Aug 12 22:55:02 2011 +0200
20822 Add override for GLib.Variant.split_signature()
20824 This is useful for e. g. iterating over method parameters which are
20826 single Variant. In particular we will need it for automatically
20828 introspection XML for exported DBus server objects.
20830 gi/overrides/GLib.py | 50
20831 +++++++++++++++++++++++++++++++++++++++++++++++++
20832 tests/test_overrides.py | 22 ++++++++++++++++++++++
20833 2 files changed, 72 insertions(+)
20835 commit 735f98d83c1c19df7457aa32a378e8c80cf2831f
20836 Author: Timo Vanwynsberghe <timovwb@gmail.com>
20837 Date: Mon Aug 15 18:58:31 2011 +0200
20839 [pygi-convert.sh] Handle the import of pygtk and require Gtk 3.0
20841 https://bugzilla.gnome.org/show_bug.cgi?id=654001
20843 pygi-convert.sh | 2 ++
20844 1 file changed, 2 insertions(+)
20846 commit d0a96a0a75f2bc969522abce2d326ef440cf143a
20847 Author: Ignacio Casal Quinteiro <icq@gnome.org>
20848 Date: Mon Aug 15 13:12:49 2011 +0200
20850 Install pygobject.h again.
20852 This is needed by libpeas.
20854 gi/_gobject/Makefile.am | 5 ++++-
20855 pygobject-3.0-uninstalled.pc.in | 4 ++--
20856 pygobject-3.0.pc.in | 6 +++---
20857 3 files changed, 9 insertions(+), 6 deletions(-)
20859 commit 081dc2eb03b677eac9f08d3ad05deecc7c51554c
20860 Author: John (J5) Palmieri <johnp@redhat.com>
20861 Date: Sun Aug 14 11:20:15 2011 -0400
20863 update the doap file
20865 pygobject.doap | 26 ++++++++++++++------------
20866 1 file changed, 14 insertions(+), 12 deletions(-)
20868 commit 762a36d2343bc39a502507d600fd1b9db9649dae
20869 Author: John (J5) Palmieri <johnp@redhat.com>
20870 Date: Sun Aug 14 11:13:25 2011 -0400
20874 configure.ac | 2 +-
20875 1 file changed, 1 insertion(+), 1 deletion(-)
20877 commit d3f85a61ec4b1a1d04838f73dc8d862258150048
20878 Author: John (J5) Palmieri <johnp@redhat.com>
20879 Date: Sun Aug 14 10:13:37 2011 -0400
20881 get things ready for release
20884 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
20885 1 file changed, 194 insertions(+)
20887 commit ffd057649380d4249c1c52e1225e3646f3994bc6
20888 Author: John (J5) Palmieri <johnp@redhat.com>
20889 Date: Sun Aug 14 05:26:18 2011 -0400
20891 pass exta keywords to the Box constructor
20893 gi/overrides/Gtk.py | 4 ++--
20894 1 file changed, 2 insertions(+), 2 deletions(-)
20896 commit cadbd4142bd0045368b5123d4b0a1876bdd5d798
20897 Author: John (J5) Palmieri <johnp@redhat.com>
20898 Date: Sat Aug 13 11:03:07 2011 -0400
20900 add (Tree|List)Store set method override
20902 gi/overrides/Gtk.py | 50 ++++++++++++++++++++++++
20903 tests/test_overrides.py | 102
20904 ++++++++++++++++++++++++++++++++++++++++++++++--
20905 2 files changed, 149 insertions(+), 3 deletions(-)
20907 commit 9ee9b22bd95e44bd2eca26e7bf3b0a9a988700c5
20908 Author: John (J5) Palmieri <johnp@redhat.com>
20909 Date: Sat Aug 13 09:19:29 2011 -0400
20911 add test for object arrays
20913 tests/test_everything.py | 6 ++++++
20914 1 file changed, 6 insertions(+)
20916 commit c9d9ffd0380878792cbdb13dec4e53be897e5fbc
20917 Author: John (J5) Palmieri <johnp@redhat.com>
20918 Date: Sat Aug 13 08:46:18 2011 -0400
20920 only support C pointer arrays for structs and objects
20922 * There is no way to know if an array of structs or objects are
20924 or flat arrays. Since pointer arrays are the most useful and
20926 it has been decided to only support those arrays
20928 gi/pygi-marshal-out.c | 2 +-
20929 tests/test_gi.py | 8 --------
20930 2 files changed, 1 insertion(+), 9 deletions(-)
20932 commit b12379de1790b72d51883bf7b63c892639a892e7
20933 Author: John (J5) Palmieri <johnp@redhat.com>
20934 Date: Sat Aug 13 06:31:52 2011 -0400
20936 revert Gtk.Window override because it causes issues with subclasses
20938 gi/overrides/Gtk.py | 9 ---------
20939 1 file changed, 9 deletions(-)
20941 commit 3e64a62d6d7f9e9d2820aad54187ef9c34710a1f
20942 Author: Jonathan Matthew <jonathan@d14n.org>
20943 Date: Thu Apr 7 21:05:32 2011 +1000
20945 take GIL in _pygi_invoke_closure_free (bug #647016)
20947 gi/pygi-closure.c | 3 +++
20948 1 file changed, 3 insertions(+)
20950 commit f8de9b8615f5dc30f492781d792aef5fc1e9ab73
20951 Author: Johan Dahlin <jdahlin@litl.com>
20952 Date: Mon Jun 27 00:41:24 2011 -0300
20954 Add a default parameter to GtkTreeModel.filter_new
20956 https://bugzilla.gnome.org/show_bug.cgi?id=653462
20958 gi/overrides/Gtk.py | 3 +++
20959 1 file changed, 3 insertions(+)
20961 commit 583d0b3c6b53712128d7c2d5f075000a2a76ae5f
20962 Author: Johan Dahlin <jdahlin@litl.com>
20963 Date: Mon Jun 27 00:40:12 2011 -0300
20965 Add vbox/action_area properties
20967 Accessing vbox/action_area directly creates segmentation fault,
20968 avoid that by mapping the fields to their getters for PyGTK
20971 https://bugzilla.gnome.org/show_bug.cgi?id=653462
20973 gi/overrides/Gtk.py | 3 +++
20974 1 file changed, 3 insertions(+)
20976 commit 017fdfc1dd06259006719e02ffa48883cee01ffd
20977 Author: Johan Dahlin <jdahlin@litl.com>
20978 Date: Mon Jun 27 00:39:41 2011 -0300
20980 Add a couple of constructors
20982 This is for PyGTK compatibility, so that gtk.HBox(True, 2) etc
20985 https://bugzilla.gnome.org/show_bug.cgi?id=653462
20987 gi/overrides/Gtk.py | 40 ++++++++++++++++++++++++++++++++++++++++
20988 1 file changed, 40 insertions(+)
20990 commit af8bc9d5cdba48a7ee728ccb7ea9039df3ecceba
20991 Author: Johan Dahlin <jdahlin@litl.com>
20992 Date: Mon Jun 27 00:38:30 2011 -0300
20994 Do not always pass in user_data to callbacks.
20996 This keeps API compatibility with PyGTK and avoids sending
20997 in user_data if it's None.
20999 https://bugzilla.gnome.org/show_bug.cgi?id=653462
21001 gi/overrides/Gtk.py | 15 ++++++++++++---
21002 1 file changed, 12 insertions(+), 3 deletions(-)
21004 commit 7914d814350af1a18bdeda64f049c8e9a68d1d18
21005 Author: Johan Dahlin <jdahlin@litl.com>
21006 Date: Mon Jun 27 00:38:20 2011 -0300
21008 Add a default detail value for Widget.render_icon
21010 https://bugzilla.gnome.org/show_bug.cgi?id=653462
21012 gi/overrides/Gtk.py | 3 +++
21013 1 file changed, 3 insertions(+)
21015 commit 5b1c875269b7979caae97e84919a690a34d92f29
21016 Author: Johan Dahlin <jdahlin@litl.com>
21017 Date: Mon Jun 27 00:36:20 2011 -0300
21019 Add an override for Gdk.color_parse()
21021 Change Gdk.color_parse() to not return a tuple, instead just
21022 return the created color or None if it wasn't possible to parse
21023 the name into a color.
21025 This keeps compatibility with PyGTK but breaks the current API.
21027 https://bugzilla.gnome.org/show_bug.cgi?id=653462
21029 gi/overrides/Gdk.py | 8 ++++++++
21030 1 file changed, 8 insertions(+)
21032 commit 187a2932bbf1e724f759ff3ed3392fc7341c6aa8
21033 Author: Laszlo Pandy <lpandy@src.gnome.org>
21034 Date: Mon Aug 8 12:06:18 2011 +0200
21036 Support function calling with keyword arguments in invoke.
21038 https://bugzilla.gnome.org/show_bug.cgi?id=625596
21040 gi/pygi-cache.c | 39 ++++++++++++
21041 gi/pygi-cache.h | 4 ++
21042 gi/pygi-invoke.c | 162
21043 +++++++++++++++++++++++++++++++++++++++++++++--
21044 gi/types.py | 12 ++--
21045 tests/test_everything.py | 2 +-
21046 tests/test_gi.py | 58 +++++++++++++++++
21047 6 files changed, 265 insertions(+), 12 deletions(-)
21049 commit e5df32ffbf37481dbb6a70c4d4e7b7b9778c5549
21050 Author: John (J5) Palmieri <johnp@redhat.com>
21051 Date: Sat Aug 13 04:13:28 2011 -0400
21053 remove references to deprecated GI_INFO_TYPE_ERROR_DOMAIN
21055 gi/pygi-info.c | 5 -----
21056 1 file changed, 5 deletions(-)
21058 commit 745001178fc72be5626c7211366d694f41162987
21059 Author: Martin Pitt <martin.pitt@ubuntu.com>
21060 Date: Thu Aug 11 15:11:42 2011 +0200
21062 Fix gobject vs. gi.repository warning
21064 Check the warning earlier and fix the operator, so that it actually
21066 update the warning to explain how to fix the problem.
21068 gi/_gobject/__init__.py | 8 ++++----
21069 1 file changed, 4 insertions(+), 4 deletions(-)
21071 commit 25d2d05cba05414cd4551e0e06f6286a9b97a509
21072 Author: John (J5) Palmieri <johnp@redhat.com>
21073 Date: Fri Jul 22 15:46:31 2011 -0400
21075 make GObject and GLib able to take overrides
21077 * derive directly from DynamicModule instead of InterfaceModule
21079 https://bugzilla.gnome.org/show_bug.cgi?id=642048
21081 gi/importer.py | 11 +++---
21083 ++++++++++++++++++++++++++++-----------------------------
21084 2 files changed, 64 insertions(+), 65 deletions(-)
21086 commit 698b2284e29c0f699198cf6a22eeb0e399daba6e
21087 Author: John (J5) Palmieri <johnp@redhat.com>
21088 Date: Fri Jul 22 15:45:09 2011 -0400
21090 avoid dependency issue by importing the internal gobject
21092 https://bugzilla.gnome.org/show_bug.cgi?id=642048
21094 gi/__init__.py | 2 +-
21095 1 file changed, 1 insertion(+), 1 deletion(-)
21097 commit 7b068ebe59884ebd9aeb4425dc80cdff73a66fb1
21098 Author: John (J5) Palmieri <johnp@redhat.com>
21099 Date: Fri Jul 22 14:13:02 2011 -0400
21101 fix tests to use the new GLib module
21103 https://bugzilla.gnome.org/show_bug.cgi?id=642048
21105 tests/test_mainloop.py | 7 +++----
21106 tests/test_option.py | 3 ++-
21107 tests/test_source.py | 24 +++++++++++-------------
21108 tests/test_subprocess.py | 12 +++++-------
21109 tests/test_thread.py | 10 ++++------
21110 tests/test_uris.py | 4 ++--
21111 6 files changed, 27 insertions(+), 33 deletions(-)
21113 commit 191ef79315f8a5641699536fde58da18e23ef904
21114 Author: John (J5) Palmieri <johnp@redhat.com>
21115 Date: Fri Jul 22 14:11:53 2011 -0400
21117 add DynamicGLibModule which works like DynamicGObjectModule
21119 https://bugzilla.gnome.org/show_bug.cgi?id=642048
21121 gi/importer.py | 7 +++++--
21122 gi/module.py | 32 +++++++++++++++++++++++++++++---
21123 2 files changed, 34 insertions(+), 5 deletions(-)
21125 commit fbd4a8263260c187211799454c08b1e55e2cb998
21126 Author: John (J5) Palmieri <johnp@redhat.com>
21127 Date: Fri Jul 22 12:27:41 2011 -0400
21129 refactor, add objects and types to the correct internal module
21131 https://bugzilla.gnome.org/show_bug.cgi?id=642048
21133 gi/_glib/pygiochannel.c | 38 +++++++++++++++++++-------------------
21134 gi/_glib/pygmaincontext.c | 2 +-
21135 gi/_glib/pygmainloop.c | 4 ++--
21136 gi/_glib/pygoptioncontext.c | 4 ++--
21137 gi/_glib/pygoptiongroup.c | 4 ++--
21138 gi/_glib/pygsource.c | 14 +++++++-------
21139 gi/_glib/pygspawn.c | 14 +++++++-------
21140 7 files changed, 40 insertions(+), 40 deletions(-)
21142 commit 7431b49a161df9178c55b814d3adff992ac2d722
21143 Author: John (J5) Palmieri <johnp@redhat.com>
21144 Date: Fri Jul 22 12:26:32 2011 -0400
21146 rename the pyglib shared library so we don't load the old one
21148 https://bugzilla.gnome.org/show_bug.cgi?id=642048
21150 gi/Makefile.am | 2 +-
21151 gi/_glib/Makefile.am | 10 +++++-----
21152 gi/_gobject/Makefile.am | 2 +-
21153 3 files changed, 7 insertions(+), 7 deletions(-)
21155 commit b8700451acd4a19b59b64fc8641fca748d2189e2
21156 Author: John (J5) Palmieri <johnp@redhat.com>
21157 Date: Fri Jul 22 11:20:09 2011 -0400
21159 refactor tests to only use PyGObject 3 syntax
21161 * for PyGObject 3 we want to discourage the use of legacy
21163 * Using interfaces like from gi.repository import GObject makes
21164 sure that the internal _gobject module is loaded and not
21165 PyGObject 2's gobject module which would cause the application
21166 to not work correctly
21168 https://bugzilla.gnome.org/show_bug.cgi?id=642048
21170 tests/runtests-windows.py | 4 +-
21171 tests/test_gdbus.py | 12 ++---
21172 tests/test_gi.py | 4 +-
21173 tests/test_gobject.py | 31 ++++++------
21174 tests/test_interface.py | 16 +++---
21175 tests/test_mainloop.py | 3 +-
21176 tests/test_overrides.py | 8 +--
21177 tests/test_properties.py | 124
21178 +++++++++++++++++++++++-----------------------
21179 tests/test_signal.py | 98 ++++++++++++++++++------------------
21180 tests/test_source.py | 5 +-
21181 tests/test_subprocess.py | 3 +-
21182 tests/test_thread.py | 5 +-
21183 tests/test_unknown.py | 8 +--
21184 tests/testhelpermodule.c | 2 +-
21185 tests/testmodule.py | 10 ++--
21186 15 files changed, 169 insertions(+), 164 deletions(-)
21188 commit c980dae21468fe073cc8782608148c346bb90ad7
21189 Author: John (J5) Palmieri <johnp@redhat.com>
21190 Date: Fri Jul 22 11:16:00 2011 -0400
21192 refactor the internal _glib module to import correct modules
21194 https://bugzilla.gnome.org/show_bug.cgi?id=642048
21196 gi/_glib/__init__.py | 3 ++-
21197 gi/_glib/glibmodule.c | 10 +++++-----
21198 gi/_glib/option.py | 4 ++--
21199 gi/_glib/pyglib.c | 18 +++++++++---------
21200 4 files changed, 18 insertions(+), 17 deletions(-)
21202 commit 65ac35cca8d24f4c133991e1c6ac02f49416a9a4
21203 Author: John (J5) Palmieri <johnp@redhat.com>
21204 Date: Fri Jul 22 11:10:46 2011 -0400
21206 refactor to use the new internal _glib and _gobject modules
21208 * use relative imports instead of aboslute
21209 * fix the C imports to import the internal _gobject libs
21210 * add a check to see if the PyGObject 2 gobject module
21211 was already imported
21213 https://bugzilla.gnome.org/show_bug.cgi?id=642048
21215 gi/_gobject/__init__.py | 20 +++++++++++++-------
21216 gi/_gobject/constants.py | 3 +--
21217 gi/_gobject/gobjectmodule.c | 2 +-
21218 gi/_gobject/propertyhelper.py | 11 +++++------
21219 gi/_gobject/pygobject.c | 16 ++++++++--------
21220 gi/_gobject/pygobject.h | 2 +-
21221 6 files changed, 29 insertions(+), 25 deletions(-)
21223 commit 59ed1289f76bc287443b3974710ea0da3e2cc8cc
21224 Author: John (J5) Palmieri <johnp@redhat.com>
21225 Date: Fri Jul 22 11:07:10 2011 -0400
21227 refactor gi module to import and use internal _gobject module
21229 https://bugzilla.gnome.org/show_bug.cgi?id=642048
21231 gi/importer.py | 2 --
21232 gi/module.py | 31 ++++++++++++++++---------------
21233 gi/overrides/Gtk.py | 2 +-
21234 gi/overrides/__init__.py | 6 +++---
21235 gi/pygobject-external.h | 2 +-
21236 gi/types.py | 12 ++++++------
21237 6 files changed, 27 insertions(+), 28 deletions(-)
21239 commit 6b9d738d78c6ac45d49f00402c89356887555069
21240 Author: John (J5) Palmieri <johnp@redhat.com>
21241 Date: Fri Jul 22 11:02:49 2011 -0400
21243 move the static bits internal to gi and refactor build files
21245 * the glib module now becomes the gi._glib module
21246 * the gobject module now becomes the gi._gobject module
21247 * we do this so we can install in parallel with PyGObject 2
21249 https://bugzilla.gnome.org/show_bug.cgi?id=642048
21252 configure.ac | 6 +++---
21253 gi/Makefile.am | 8 +++++---
21254 {glib => gi/_glib}/Makefile.am | 5 +----
21255 {glib => gi/_glib}/__init__.py | 0
21256 {glib => gi/_glib}/glibmodule.c | 0
21257 {glib => gi/_glib}/option.py | 0
21258 {glib => gi/_glib}/pygiochannel.c | 0
21259 {glib => gi/_glib}/pygiochannel.h | 0
21260 {glib => gi/_glib}/pyglib-private.h | 0
21261 {glib => gi/_glib}/pyglib-python-compat.h | 0
21262 {glib => gi/_glib}/pyglib.c | 0
21263 {glib => gi/_glib}/pyglib.h | 0
21264 {glib => gi/_glib}/pygmaincontext.c | 0
21265 {glib => gi/_glib}/pygmaincontext.h | 0
21266 {glib => gi/_glib}/pygmainloop.c | 0
21267 {glib => gi/_glib}/pygmainloop.h | 0
21268 {glib => gi/_glib}/pygoptioncontext.c | 0
21269 {glib => gi/_glib}/pygoptioncontext.h | 0
21270 {glib => gi/_glib}/pygoptiongroup.c | 0
21271 {glib => gi/_glib}/pygoptiongroup.h | 0
21272 {glib => gi/_glib}/pygsource.c | 0
21273 {glib => gi/_glib}/pygsource.h | 0
21274 {glib => gi/_glib}/pygspawn.c | 0
21275 {glib => gi/_glib}/pygspawn.h | 0
21276 {gobject => gi/_gobject}/Makefile.am | 10 ++++------
21277 {gobject => gi/_gobject}/__init__.py | 0
21278 {gobject => gi/_gobject}/constants.py | 0
21279 {gobject => gi/_gobject}/ffi-marshaller.c | 0
21280 {gobject => gi/_gobject}/ffi-marshaller.h | 0
21281 {gobject => gi/_gobject}/gobjectmodule.c | 0
21282 {gobject => gi/_gobject}/propertyhelper.py | 0
21283 {gobject => gi/_gobject}/pygboxed.c | 0
21284 {gobject => gi/_gobject}/pygboxed.h | 0
21285 {gobject => gi/_gobject}/pygenum.c | 0
21286 {gobject => gi/_gobject}/pygenum.h | 0
21287 {gobject => gi/_gobject}/pygflags.c | 0
21288 {gobject => gi/_gobject}/pygflags.h | 0
21289 {gobject => gi/_gobject}/pyginterface.c | 0
21290 {gobject => gi/_gobject}/pyginterface.h | 0
21291 {gobject => gi/_gobject}/pygobject-private.h | 0
21292 {gobject => gi/_gobject}/pygobject.c | 0
21293 {gobject => gi/_gobject}/pygobject.h | 0
21294 {gobject => gi/_gobject}/pygparamspec.c | 0
21295 {gobject => gi/_gobject}/pygparamspec.h | 0
21296 {gobject => gi/_gobject}/pygpointer.c | 0
21297 {gobject => gi/_gobject}/pygpointer.h | 0
21298 {gobject => gi/_gobject}/pygtype.c | 0
21299 {gobject => gi/_gobject}/pygtype.h | 0
21300 tests/Makefile.am | 2 +-
21301 50 files changed, 15 insertions(+), 18 deletions(-)
21303 commit f0d2ddcf7e61c36f79a9adf8ccc53bf3db9349d3
21304 Author: John (J5) Palmieri <johnp@redhat.com>
21305 Date: Mon Jul 18 18:46:31 2011 -0400
21309 https://bugzilla.gnome.org/show_bug.cgi?id=642048
21311 Makefile.am | 5 ----
21313 -------------------------------------------------------------
21314 2 files changed, 100 deletions(-)
21316 commit 75e9f7d80d9224c05e6063b88479f1baee48c489
21317 Author: John (J5) Palmieri <johnp@redhat.com>
21318 Date: Mon Jul 18 18:41:41 2011 -0400
21320 introspection is no longer optional
21322 https://bugzilla.gnome.org/show_bug.cgi?id=642048
21324 Makefile.am | 8 +-------
21325 configure.ac | 43 +++++++++++++++++--------------------------
21326 gi/pygi.h | 37 -------------------------------------
21327 gobject/Makefile.am | 5 +----
21328 tests/Makefile.am | 7 +------
21329 5 files changed, 20 insertions(+), 80 deletions(-)
21331 commit d862168d6a82edd59547d39f5b0ab8279b1e511c
21332 Author: John (J5) Palmieri <johnp@redhat.com>
21333 Date: Mon Jul 18 18:28:50 2011 -0400
21335 up platform version to 3.0
21337 https://bugzilla.gnome.org/show_bug.cgi?id=642048
21342 pygobject-2.0-uninstalled.pc.in => pygobject-3.0-uninstalled.pc.in | 0
21343 pygobject-2.0.pc.in => pygobject-3.0.pc.in | 0
21344 4 files changed, 3 insertions(+), 3 deletions(-)
21346 commit 5189b360ccddbbaee267ce857968fbf1aafdd07a
21347 Author: Martin Pitt <martin.pitt@ubuntu.com>
21348 Date: Thu Aug 11 09:53:15 2011 +0200
21350 [gi] Handle GVariants from callback return values
21352 Callbacks still use GIArgument, add missing GVariant support for
21355 gi/pygi-argument.c | 6 ++++--
21356 1 file changed, 4 insertions(+), 2 deletions(-)
21358 commit 18a240cc492d2e5ebe2709a0d7155e27c8ff9e63
21359 Author: Martin Pitt <martin.pitt@ubuntu.com>
21360 Date: Wed Aug 10 14:11:10 2011 +0200
21362 Handle GVariants for callback arguments
21364 Callbacks still use GIArgument, add missing GVariant support. This
21366 equivalent of what commit 9d5604220bd56 did for pygi_marshall_*().
21368 gi/pygi-argument.c | 7 +++++++
21369 1 file changed, 7 insertions(+)
21371 commit aa820d6ce2fee83e61e3e9de7c6b7d2452e2847d
21372 Author: Laszlo Pandy <lpandy@src.gnome.org>
21373 Date: Mon Aug 8 01:58:10 2011 +0200
21375 [gi] Fix crash: check return value of
21376 _invoke_state_init_from_callable_cache() before continuing.
21378 gi/pygi-invoke.c | 4 +++-
21379 1 file changed, 3 insertions(+), 1 deletion(-)
21381 commit eaad9f3c71cedfe28ff2d2bb05ea6c64e323715f
21382 Author: Laszlo Pandy <lpandy@src.gnome.org>
21383 Date: Fri Aug 5 21:03:33 2011 +0200
21385 [gi] Pass gtype as first parameter to vfuncs (instead of using
21388 gi/pygi-invoke.c | 32 ++++++++++++++++++--------------
21390 2 files changed, 19 insertions(+), 15 deletions(-)
21392 commit 76edfd0d5776f61c92c84fd9fb8dcc246c580e93
21393 Author: John (J5) Palmieri <johnp@redhat.com>
21394 Date: Mon Jul 18 18:21:51 2011 -0400
21399 codegen/Makefile.am | 33 -
21400 codegen/README.defs | 351 --------
21401 codegen/__init__.py | 16 -
21402 codegen/argtypes.py | 1043 -----------------------
21403 codegen/code-coverage.py | 44 -
21404 codegen/codegen.py | 1722
21405 --------------------------------------
21406 codegen/createdefs.py | 17 -
21407 codegen/definitions.py | 575 -------------
21408 codegen/defsconvert.py | 132 ---
21409 codegen/defsgen.py | 737 ----------------
21410 codegen/defsparser.py | 153 ----
21411 codegen/docextract.py | 461 ----------
21412 codegen/docextract_to_xml.py | 142 ----
21413 codegen/docgen.py | 766 -----------------
21414 codegen/h2def.py | 631 --------------
21415 codegen/mergedefs.py | 26 -
21416 codegen/missingdefs.py | 17 -
21417 codegen/mkskel.py | 89 --
21418 codegen/override.py | 285 -------
21419 codegen/pygobject-codegen-2.0.in | 11 -
21420 codegen/reversewrapper.py | 912 --------------------
21421 codegen/scanvirtuals.py | 54 --
21422 codegen/scmexpr.py | 143 ----
21424 pygobject-2.0-uninstalled.pc.in | 1 -
21425 pygobject-2.0.pc.in | 1 -
21426 27 files changed, 1 insertion(+), 8368 deletions(-)
21428 commit bf284c7c47c3e52ab4d8700327a170903e9ebad2
21429 Author: John (J5) Palmieri <johnp@redhat.com>
21430 Date: Mon Jul 18 11:04:58 2011 -0400
21432 remove some left over ifdefs to complete merge of the invoke-rewrite
21435 gi/pygi-cache.h | 2 --
21436 gi/pygi-info.c | 2 --
21437 gi/pygi-private.h | 5 +----
21439 4 files changed, 1 insertion(+), 10 deletions(-)
21441 commit 8c653ec3033fab47c4bb4071b5732a349357141f
21442 Author: John (J5) Palmieri <johnp@redhat.com>
21443 Date: Mon Jul 18 10:59:45 2011 -0400
21445 rename pygi-invoke-ng to pygi-invoke
21447 gi/Makefile.am | 3 ++-
21448 gi/{pygi-invoke-ng.c => pygi-invoke.c} | 0
21449 2 files changed, 2 insertions(+), 1 deletion(-)
21451 commit 62d59fa2c2b31d7a3cac8996d58234d4b13bb19f
21452 Author: John (J5) Palmieri <johnp@redhat.com>
21453 Date: Mon Jul 18 10:56:36 2011 -0400
21455 make invoke-ng the only invoker
21457 configure.ac | 11 -
21458 gi/Makefile.am | 10 +-
21459 gi/pygi-invoke.c | 1030
21460 ------------------------------------------------------
21461 3 files changed, 1 insertion(+), 1050 deletions(-)
21463 commit 2937cfe5bb7122dd3783c7919294d6a34a3dfc05
21464 Merge: 519e556d 917ea2df
21465 Author: John (J5) Palmieri <johnp@redhat.com>
21466 Date: Mon Jul 18 10:45:18 2011 -0400
21468 Merge branch 'master' into invoke-rewrite
21470 commit 519e556dc1e5874e1668bad93043fb9258c7ee79
21471 Merge: bab7e882 38cca3c1
21472 Author: John (J5) Palmieri <johnp@redhat.com>
21473 Date: Mon Jul 18 10:37:20 2011 -0400
21475 Merge branch 'master' into invoke-rewrite
21477 commit bab7e88251bffcd360186c6dedc26be8eb077084
21478 Author: John (J5) Palmieri <johnp@redhat.com>
21479 Date: Mon Jul 18 10:35:10 2011 -0400
21481 split the marshalling routines into two source files
21483 * update copy and paste copyright info to list the correct owner
21485 gi/Makefile.am | 6 +-
21486 gi/pygi-cache.c | 3 +-
21487 gi/{pygi-marshal.c => pygi-marshal-in.c} | 739
21488 +----------------------------
21489 gi/{pygi-marshal.h => pygi-marshal-in.h} | 117 -----
21490 gi/pygi-marshal-out.c | 767
21491 +++++++++++++++++++++++++++++++
21492 gi/pygi-marshal-out.h | 144 ++++++
21493 6 files changed, 920 insertions(+), 856 deletions(-)
21495 commit 917ea2dfa2d097e563233145003a66b3e4423287
21496 Author: Martin Pitt <martin.pitt@ubuntu.com>
21497 Date: Thu Jul 14 11:21:10 2011 +0200
21499 Ship tests/te_ST@nouppera in release tarballs for tests to succeed
21501 tests/Makefile.am | 1 +
21502 1 file changed, 1 insertion(+)
21504 commit e024e832ab9c82d3e299cc6e1cb427de44f2d16e
21505 Author: John (J5) Palmieri <johnp@redhat.com>
21506 Date: Wed Jul 13 15:43:02 2011 -0400
21508 [invoke] break out caller_allocates allocating into its own function
21510 gi/pygi-invoke-ng.c | 78
21511 +++++++++++++++++++++++++++++++++--------------------
21512 1 file changed, 49 insertions(+), 29 deletions(-)
21514 commit fc8b8ce768ac780f7ed9edc63b70dd35194153c0
21515 Author: John (J5) Palmieri <johnp@redhat.com>
21516 Date: Wed Jul 13 15:42:26 2011 -0400
21518 [invoke] missed a bit when removing constructor_class usage
21520 gi/pygi-invoke-ng.c | 2 +-
21521 1 file changed, 1 insertion(+), 1 deletion(-)
21523 commit c94bcf4ae7e36f90c356c89712b00609f9f849bd
21524 Author: John (J5) Palmieri <johnp@redhat.com>
21525 Date: Wed Jul 13 15:16:17 2011 -0400
21527 [invoke] don't hold on to the constructor class, just add a TODO
21529 gi/pygi-invoke-ng.c | 11 +++++------
21530 gi/pygi-invoke-state-struct.h | 1 -
21531 2 files changed, 5 insertions(+), 7 deletions(-)
21533 commit c11d3195f324ea41e86e3da7ff99b55425c2faec
21534 Author: Martin Pitt <martin.pitt@ubuntu.com>
21535 Date: Wed Jul 13 10:40:25 2011 +0200
21537 [gi] Port test_properties from static gio to GI Gio
21539 As we ripped out the static gio bindings a while ago, this test case
21541 the system installed gio bindings with Python 2, and now fails
21543 Python 3. Rewrite it to use gi.repository.Gio.
21545 tests/test_properties.py | 38 +++++++++++++++++++-------------------
21546 1 file changed, 19 insertions(+), 19 deletions(-)
21548 commit 8f89ff24fcac627ce15ca93038711fded1a7c5ed
21549 Author: Martin Pitt <martin.pitt@ubuntu.com>
21550 Date: Wed Jul 13 08:42:22 2011 +0200
21552 [python3] Fix maketrans import
21554 Python3 moved the maketrans() function from the string module to a
21556 This unbreaks gi/module.py for Python 3 again.
21558 gi/module.py | 8 ++++++--
21559 1 file changed, 6 insertions(+), 2 deletions(-)
21561 commit 20aea4b052126fa0bface3e6e0dccfd77f9505b1
21562 Author: John (J5) Palmieri <johnp@redhat.com>
21563 Date: Fri Jul 8 14:39:22 2011 -0400
21565 [caching] remove all inline compiler flags
21567 gi/pygi-cache.c | 96
21568 ++++++++++++++++++++++++++++-----------------------------
21569 1 file changed, 48 insertions(+), 48 deletions(-)
21571 commit bf7bb79b66ad406063fb443e7452d830c55986ef
21572 Author: John (J5) Palmieri <johnp@redhat.com>
21573 Date: Fri Jul 8 14:35:20 2011 -0400
21575 [caching] refactor function names to be less confusing
21577 gi/pygi-cache.c | 307
21578 +++++++++++++++++++++++++++-----------------------------
21579 1 file changed, 150 insertions(+), 157 deletions(-)
21581 commit c167a9345b01c070bd5a84b4a4b3a53baf9e217d
21582 Author: John (J5) Palmieri <johnp@redhat.com>
21583 Date: Fri Jul 8 11:24:09 2011 -0400
21585 [overrides] deprecate the use of type keyword MessageDialog
21588 * pygtk used type to determine the "type" of message dialog to
21590 use the proper property name "message_type" since we should not be
21591 overriding a reserved word
21592 * to keep compat with pygtk we check the kwds hash for the key
21594 assign it to message_type while throwing a deprecation warning
21595 * also add a deprication warning when trying to use the depricated
21599 gi/overrides/Gtk.py | 13 ++++++++-----
21600 1 file changed, 8 insertions(+), 5 deletions(-)
21602 commit 367e4ededd4a45125157050bcc9e4e685fd4a82d
21603 Author: Martin Pitt <martin.pitt@ubuntu.com>
21604 Date: Fri Jul 8 10:15:53 2011 +0200
21606 gdbus tests: Fix hang if test case fails
21608 In the TestGDBusClient.test_native_calls_async() test case, the main
21610 never quit when the call failed.
21612 tests/test_gdbus.py | 6 ++++--
21613 1 file changed, 4 insertions(+), 2 deletions(-)
21615 commit 11b578400cbf9f7c270b662a5e8953ccd466e5ef
21616 Author: John (J5) Palmieri <johnp@redhat.com>
21617 Date: Thu Jul 7 19:30:11 2011 -0400
21619 use an enum instead of booleans to denote function type
21621 gi/pygi-cache.c | 85
21622 ++++++++++++++++++++++++++++++-----------------------
21623 gi/pygi-cache.h | 18 +++++++++---
21624 gi/pygi-invoke-ng.c | 8 ++---
21625 3 files changed, 67 insertions(+), 44 deletions(-)
21627 commit 10e31005baec26f61c0f8fca2b5c0337b0be6c70
21628 Author: John (J5) Palmieri <johnp@redhat.com>
21629 Date: Thu Jul 7 15:18:03 2011 -0400
21631 rename aux arguments to child arguments to make their purpose clearer
21633 gi/pygi-cache.c | 64
21634 ++++++++++++++++++++++++++---------------------------
21635 gi/pygi-cache.h | 29 ++++++++++++++++--------
21636 gi/pygi-invoke-ng.c | 10 ++++-----
21637 gi/pygi-marshal.c | 12 +++++-----
21638 4 files changed, 63 insertions(+), 52 deletions(-)
21640 commit b4ad91c40f713ebdc278ce40b011e4adf9ddbbd7
21641 Author: Timo Vanwynsberghe <timovwb@gmail.com>
21642 Date: Thu Jul 7 10:59:08 2011 +0200
21644 Fixed the cairo example
21646 https://bugzilla.gnome.org/show_bug.cgi?id=653844
21648 examples/cairo-demo.py | 6 ++----
21649 1 file changed, 2 insertions(+), 4 deletions(-)
21651 commit a606bab1ddc605167f2e9dc7c46c8f929fdce23b
21652 Author: Adam Dingle <adam@yorba.org>
21653 Date: Tue Jul 5 14:28:20 2011 -0700
21655 Add override binding for Gtk.ListStore.prepend().
21657 https://bugzilla.gnome.org/show_bug.cgi?id=654056
21659 gi/overrides/Gtk.py | 8 ++++++++
21660 tests/test_overrides.py | 13 ++++++++++++-
21661 2 files changed, 20 insertions(+), 1 deletion(-)
21663 commit fc5c869486c7f6929e285ea7a86623ec41ecd9bd
21664 Author: Martin Pitt <martin.pitt@ubuntu.com>
21665 Date: Thu Jul 7 13:39:19 2011 +0200
21667 Fix crash in Gtk.TextIter overrides
21669 With commit 17cd0fb3 Gtk.TextIter.{forward,backward}_search()
21671 pointers when the search was unsuccessful. Actually check the
21673 value; if it is False return None, just like PyGTK used to.
21675 Thanks to Michael Vogt for discovering this and writing the test case!
21679 -------------- 8< -----------------
21680 from gi.repository import Gtk
21682 win = Gtk.Window.new(Gtk.WindowType.TOPLEVEL)
21683 textview = Gtk.TextView()
21684 buffer = textview.get_buffer()
21685 buffer.set_text("hello world")
21690 iter = buffer.get_start_iter()
21691 end = buffer.get_end_iter()
21692 ret = iter.forward_search("foo",
21693 Gtk.TextSearchFlags.VISIBLE_ONLY,
21695 print "this is my return value"
21697 print "now I crash"
21698 print ret[0].get_offset()
21701 -------------- 8< -----------------
21703 gi/overrides/Gtk.py | 10 ++++++++--
21704 1 file changed, 8 insertions(+), 2 deletions(-)
21706 commit 5c04fc5b2ca7e262c052426d5863d69d0c4a24da
21707 Author: John (J5) Palmieri <johnp@redhat.com>
21708 Date: Tue Jul 5 15:57:23 2011 -0400
21710 use gssize instead of int for arg indexes
21712 gi/pygi-cache.c | 24 ++++++++++++------------
21713 gi/pygi-cache.h | 6 +++---
21714 gi/pygi-invoke-ng.c | 6 +++---
21715 gi/pygi-marshal-cleanup.c | 6 +++---
21716 4 files changed, 21 insertions(+), 21 deletions(-)
21718 commit ecc09749c34cd4eabf47cc722d768b042dc0be9f
21719 Author: John (J5) Palmieri <johnp@redhat.com>
21720 Date: Tue Jul 5 14:17:30 2011 -0400
21722 [cache] remove refrence to default value as it is not implemented yet
21724 gi/pygi-cache.h | 1 -
21725 1 file changed, 1 deletion(-)
21727 commit 433e0fb259047d8c81e5949a31abb5e0feefd27b
21728 Author: Sebastian Pölsterl <sebp@k-d-w.org>
21729 Date: Thu May 12 18:53:06 2011 +0200
21731 Handle arguments that are flags correctly
21733 https://bugzilla.gnome.org/show_bug.cgi?id=647581
21735 gi/pygi-argument.c | 2 ++
21736 1 file changed, 2 insertions(+)
21738 commit 38cca3c14e79fbc383e3fc65a120bee03714b99f
21739 Author: John (J5) Palmieri <johnp@redhat.com>
21740 Date: Fri Jul 1 05:19:15 2011 -0400
21742 correctly initialize the _gi_cairo_functions array to be zero filled
21744 gi/pygi-foreign-cairo.c | 2 +-
21745 1 file changed, 1 insertion(+), 1 deletion(-)
21747 commit 9ae43fdbcc547eb1e3c61bf9545da40555b2e2c6
21748 Author: John (J5) Palmieri <johnp@redhat.com>
21749 Date: Fri Jul 1 05:19:15 2011 -0400
21751 correctly initialize the _gi_cairo_functions array to be zero filled
21753 gi/pygi-foreign-cairo.c | 2 +-
21754 1 file changed, 1 insertion(+), 1 deletion(-)
21756 commit d3ee40b36b1718e6fb4544dbe07e291138ea1eb9
21757 Author: John (J5) Palmieri <johnp@redhat.com>
21758 Date: Wed Jun 29 18:14:40 2011 -0400
21760 pass in the address of the gerror, not the gerror itself
21762 gi/pygi-argument.c | 2 +-
21763 1 file changed, 1 insertion(+), 1 deletion(-)
21765 commit 49dc98eb9339ea64355cd752ca000c79da56f3a2
21766 Author: John (J5) Palmieri <johnp@redhat.com>
21767 Date: Wed Jun 29 18:01:44 2011 -0400
21769 [gi] handle marshalling gerrors arguments for signals
21771 gi/pygi-argument.c | 18 ++++++++++++++++--
21772 1 file changed, 16 insertions(+), 2 deletions(-)
21774 commit db9419fcef628e9ffee10591156007ea9c0bc1f0
21775 Author: John (J5) Palmieri <johnp@redhat.com>
21776 Date: Wed Jun 29 12:12:29 2011 -0400
21778 [gi-invoke-ng] fix NULL check to check before we access the cache
21781 gi/pygi-cache.c | 6 +++---
21782 1 file changed, 3 insertions(+), 3 deletions(-)
21784 commit 9027e1a20fd06df5c26edcec1893ef0814ec938a
21785 Author: John (J5) Palmieri <johnp@redhat.com>
21786 Date: Tue Jun 28 18:21:55 2011 -0400
21788 [gi-tests] add test for PyGObject->PyObject TreeModel storage
21790 * make sure we can store a custom GObject as a PyObject inside of
21793 tests/test_overrides.py | 26 +++++++++++++++-----------
21794 1 file changed, 15 insertions(+), 11 deletions(-)
21796 commit b6842e4b2a28733e143d4022864041ca82e91f7a
21797 Author: John (J5) Palmieri <johnp@redhat.com>
21798 Date: Tue Jun 28 18:13:38 2011 -0400
21800 [gtk-overrides] special case TreeModel columns of PYGOBJECT types
21802 * box the PYGOBJECT in a GValue so we can store PyGObjects in a
21805 gi/overrides/Gtk.py | 7 ++++---
21806 gobject/pygtype.c | 7 ++++---
21807 2 files changed, 8 insertions(+), 6 deletions(-)
21809 commit 7fc9d45860210fd9d333fd3769c6cf93a6a20eb6
21810 Author: John (J5) Palmieri <johnp@redhat.com>
21811 Date: Tue Jun 28 17:32:29 2011 -0400
21813 [gi-invoke-ng] copy structs when transfer is full for array
21815 gi/pygi-marshal.c | 21 ++++++++++++++++++---
21816 1 file changed, 18 insertions(+), 3 deletions(-)
21818 commit 8d60c0bc7b327aa757a8727f1146f02cc0b78af8
21819 Author: John (J5) Palmieri <johnp@redhat.com>
21820 Date: Tue Jun 28 13:54:48 2011 -0400
21822 [gtk-override] print warning if user imports Gtk 2.0
21824 * this is needed because people file bugs not realizing they are
21826 which is not supported
21828 gi/overrides/Gtk.py | 12 ++++++++++++
21829 1 file changed, 12 insertions(+)
21831 commit 7c589c0c1de1a786e00685afd5292b6fb1f93ed3
21832 Author: John (J5) Palmieri <johnp@redhat.com>
21833 Date: Tue Jun 28 13:08:49 2011 -0400
21835 [gtk-overrides] allow the message_type keyword to be used for
21838 * for pygtk compat we use the type keyword for message type but
21840 the use of message_type because it is more descriptive and does
21842 with a python reserved word
21843 * if you passed message_type into a MessageDialog constructor you
21845 an error because we also convert type to message_type when
21848 * this patch looks to see if message_type was passed in as a
21850 assigns it to type while removing message_type from the keywords
21852 to avoid name clashing
21854 gi/overrides/Gtk.py | 5 +++++
21855 1 file changed, 5 insertions(+)
21857 commit 2aa12267bee91aa696633a0cea2a0accae09250a
21858 Author: Johan Dahlin <jdahlin@litl.com>
21859 Date: Mon Jun 27 10:56:20 2011 -0300
21861 Add support for enums in gobject.property
21863 https://bugzilla.gnome.org/show_bug.cgi?id=653488
21865 gobject/propertyhelper.py | 23 ++++++++++++++++-------
21866 tests/test_properties.py | 40 ++++++++++++++++++++++++++++++++++++----
21867 2 files changed, 52 insertions(+), 11 deletions(-)
21869 commit dc62e67b447ef526a6f2d1aa8648ad101d95024b
21870 Author: Johan Dahlin <jdahlin@litl.com>
21871 Date: Mon Jun 27 10:56:20 2011 -0300
21873 Add support for enums in gobject.property
21875 https://bugzilla.gnome.org/show_bug.cgi?id=653488
21877 gobject/propertyhelper.py | 23 ++++++++++++++++-------
21878 tests/test_properties.py | 40 ++++++++++++++++++++++++++++++++++++----
21879 2 files changed, 52 insertions(+), 11 deletions(-)
21881 commit 50cfccb5801c1b9a0a42ffe2826cd245f21fd88d
21882 Author: John (J5) Palmieri <johnp@redhat.com>
21883 Date: Fri Jun 24 14:17:24 2011 -0400
21885 [gi-invoke-ng] use g_slice for allocating GValues that are caller
21888 gi/pygi-invoke-ng.c | 2 ++
21889 gi/pygi-marshal-cleanup.c | 2 ++
21890 2 files changed, 4 insertions(+)
21892 commit eff65cd2ce490296865441c3c78b7846f380459c
21893 Author: John (J5) Palmieri <johnp@redhat.com>
21894 Date: Fri Jun 24 11:49:05 2011 -0400
21896 [gi-invoke-ng] Convert Overflow errors to ValueErrors when marshalling
21899 gi/pygi-marshal.c | 56
21900 +++++++++++++++++++++++++++++++++++++++++++------------
21901 1 file changed, 44 insertions(+), 12 deletions(-)
21903 commit 05ed688d54e3ff04e961b60d0b5d3ed0b97c771d
21904 Author: John (J5) Palmieri <johnp@redhat.com>
21905 Date: Wed Jun 22 12:26:39 2011 -0400
21907 [gi-invoke-ng] only cache caller allocates for interfaces as some
21910 gi/pygi-cache.c | 6 ++++--
21911 1 file changed, 4 insertions(+), 2 deletions(-)
21913 commit 4fd957a5de364c0588168dee15e1e61d4f12e173
21914 Author: John (J5) Palmieri <johnp@redhat.com>
21915 Date: Fri Jun 17 17:07:56 2011 -0400
21917 [gi-invoke-ng] handle in pointer array marshalling
21919 gi/pygi-marshal.c | 28 ++++++++++++++++++++++------
21920 1 file changed, 22 insertions(+), 6 deletions(-)
21922 commit df3911ad2ce83af9bf9679ed1b221847b23ba2de
21923 Author: Alex Eftimie <alex@eftimie.ro>
21924 Date: Fri Jun 10 08:44:04 2011 +0300
21926 Adding GPtrArray tests
21928 tests/test_gi.py | 43 ++++++++++++++++++++++++++++++++++++++++++-
21929 1 file changed, 42 insertions(+), 1 deletion(-)
21931 commit e32c2be53175014399d89e1e85c9afc6e53c94be
21932 Author: John (J5) Palmieri <johnp@redhat.com>
21933 Date: Fri Jun 17 11:32:28 2011 -0400
21935 [gi-invoke-ng] fix array element offset calculations
21937 * use pointer arithmetic to calculate based on element size instead of
21938 relying on the size of GIArgument
21939 * special case GPtrArrays
21941 gi/pygi-marshal.c | 27 +++++++++------------------
21942 1 file changed, 9 insertions(+), 18 deletions(-)
21944 commit 6e8dc28cb261cafbfed40fc0797a0dd5f91f497b
21945 Author: John (J5) Palmieri <johnp@redhat.com>
21946 Date: Wed Jun 15 12:46:03 2011 -0400
21948 [gi] don't clean up arguments that weren't yet processed during in
21951 gi/pygi-marshal-cleanup.c | 2 +-
21952 1 file changed, 1 insertion(+), 1 deletion(-)
21954 commit af7c93ea98b7f492eef265e58c8b3c878805524f
21955 Author: John (J5) Palmieri <johnp@redhat.com>
21956 Date: Wed Jun 15 12:06:47 2011 -0400
21958 [gi-overrides] use new instead of init when constructing a
21959 GLib.VariantBuilder
21961 * init is now skipped in the gir
21963 gi/overrides/GLib.py | 18 ++++++++----------
21964 tests/test_overrides.py | 6 ++----
21965 2 files changed, 10 insertions(+), 14 deletions(-)
21967 commit c6112307f29f9a850e6e9efa5f55d5d4a363c6b0
21968 Author: John (J5) Palmieri <johnp@redhat.com>
21969 Date: Wed Jun 15 11:42:45 2011 -0400
21971 [gi-invoke-ng] actual code to import overrides
21973 gi/pygi-cache.c | 7 +------
21974 1 file changed, 1 insertion(+), 6 deletions(-)
21976 commit 902575d857beffb14e56821ea8a52f705385f6bb
21977 Author: John (J5) Palmieri <johnp@redhat.com>
21978 Date: Wed Jun 15 11:25:10 2011 -0400
21980 [gi-invoke-ng] import pytypes so we get overrides
21982 gi/pygi-marshal.c | 4 +++-
21983 1 file changed, 3 insertions(+), 1 deletion(-)
21985 commit 9d5604220bd56ae2708e9b74122c14208e0a30b4
21986 Author: John (J5) Palmieri <johnp@redhat.com>
21987 Date: Tue Jun 14 16:13:37 2011 -0400
21989 [gi-invoke-ng] handle gvariants now that they are not foreign
21991 gi/pygi-marshal.c | 7 ++++++-
21992 1 file changed, 6 insertions(+), 1 deletion(-)
21994 commit c1f5651062687e800a52b5d8d16c88c0acde2934
21995 Author: John (J5) Palmieri <johnp@redhat.com>
21996 Date: Tue Jun 14 16:12:43 2011 -0400
21998 [gi-invoke-ng] do not try to clean up NULL arguments
22000 gi/pygi-marshal-cleanup.c | 24 ++++++++++++++++--------
22001 1 file changed, 16 insertions(+), 8 deletions(-)
22003 commit fbf5382fbc1aed49ed491d2255d616a1643a45fc
22004 Merge: 499b68d6 1491f622
22005 Author: John (J5) Palmieri <johnp@redhat.com>
22006 Date: Mon Jun 13 17:28:23 2011 -0400
22008 Merge branch 'master' into invoke-rewrite
22010 commit 499b68d6c9040cffc6e43dc87789d68446564a92
22011 Merge: 4c9bcedb 426c7109
22012 Author: John (J5) Palmieri <johnp@redhat.com>
22013 Date: Mon Jun 13 17:26:37 2011 -0400
22015 Merge branch 'master' into invoke-rewrite
22017 commit 1491f6225b9906bd369b5a42e6369ab6884736b7
22018 Author: Ignacio Casal Quinteiro <icq@gnome.org>
22019 Date: Fri Jun 10 14:01:32 2011 +0200
22021 closure: avoid double free crash
22023 gi/pygi-closure.c | 12 ++++--------
22024 1 file changed, 4 insertions(+), 8 deletions(-)
22026 commit 929f4236f2b8601e7960a4a7b0a860d976ad83c6
22027 Author: Jason Siefken <siefkenj@gmail.com>
22028 Date: Fri Jun 3 23:11:17 2011 -0700
22030 Added __eq__ method for Gdk.Color and Gdk.RGBA
22032 Call Gdk.Color.equal and Gdk.RGBA.equal when
22033 == equality testing is used.
22035 gi/overrides/Gdk.py | 6 ++++++
22036 tests/test_overrides.py | 4 ++++
22037 2 files changed, 10 insertions(+)
22039 commit dff5961ba229c7c34bd7b0a18a446b56bbe39e3a
22040 Author: Ignacio Casal Quinteiro <icq@gnome.org>
22041 Date: Wed Jun 8 19:13:48 2011 +0200
22043 closure: Check the out arg is not null. Fixes bug #651812
22045 gi/pygi-closure.c | 3 +++
22046 1 file changed, 3 insertions(+)
22048 commit d7d178206bfbb0858556fcfd6c9ca8eefda3fdf5
22049 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22050 Date: Wed Jun 8 09:47:20 2011 +0200
22052 Use constants instead of literals
22054 tests/test_overrides.py | 8 ++++----
22055 1 file changed, 4 insertions(+), 4 deletions(-)
22057 commit fe386a0ad548a23e30e9cb947bfa2198fb48ef29
22058 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22059 Date: Mon Jun 6 19:07:22 2011 +0200
22061 GVariant has now a GType, take that into account
22063 https://bugzilla.gnome.org/show_bug.cgi?id=647509
22065 gi/pygi-argument.c | 8 ++++----
22066 gi/pygi-invoke.c | 20 +++++++++++++-------
22067 2 files changed, 17 insertions(+), 11 deletions(-)
22069 commit bd7b8d96a7420522c1fdc127ef8cfb7d6e8a1b31
22070 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22071 Date: Mon Jun 6 19:05:07 2011 +0200
22073 GVariantType is a boxed struct
22075 https://bugzilla.gnome.org/show_bug.cgi?id=647509
22077 gi/gimodule.c | 2 +-
22078 1 file changed, 1 insertion(+), 1 deletion(-)
22080 commit 2d73012e5dbcc45a5782a6c119dfb272c14b5a61
22081 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22082 Date: Mon Jun 6 17:38:21 2011 +0200
22084 Use _gi.Struct to wrap fundamentals
22086 https://bugzilla.gnome.org/show_bug.cgi?id=647509
22088 gi/module.py | 4 +++-
22089 1 file changed, 3 insertions(+), 1 deletion(-)
22091 commit d82e6c8d1d9f2fc48fdcc15b7d2a97e4f24cf3bf
22092 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22093 Date: Mon Jun 6 17:24:28 2011 +0200
22095 Merge gi/HACKING into /HACKING
22097 HACKING | 16 ++++++++++++++++
22098 gi/HACKING | 26 --------------------------
22099 2 files changed, 16 insertions(+), 26 deletions(-)
22101 commit 92aca4416a7930e5870b8d1a4016bae8140462ee
22102 Author: Daniel Drake <dsd@laptop.org>
22103 Date: Fri Jun 3 16:59:15 2011 +0100
22105 Fix GC-related crash during PyGObject deallocation
22107 Python-2.7.1's GC source has the following comment:
22109 /* Python's cyclic gc should never see an incoming refcount
22110 * of 0: if something decref'ed to 0, it should have been
22111 * deallocated immediately at that time.
22112 * Possible cause (if the assert triggers): a tp_dealloc
22113 * routine left a gc-aware object tracked during its teardown
22114 * phase, and did something-- or allowed something to
22116 * that called back into Python. gc can trigger then, and may
22117 * see the still-tracked dying object. Before this assert
22118 * was added, such mistakes went on to allow gc to try to
22119 * delete the object again. In a debug build, that caused
22120 * a mysterious segfault, when _Py_ForgetReference tried
22121 * to remove the object from the doubly-linked list of all
22122 * objects a second time. In a release build, an actual
22123 * double deallocation occurred, which leads to corruption
22124 * of the allocator's internal bookkeeping pointers. That's
22125 * so serious that maybe this should be a release-build
22126 * check instead of an assert?
22129 As shown in a backtrace at
22130 https://bugzilla.redhat.com/show_bug.cgi?id=640972 , pygobject
22132 this exact mistake. Before untracking its object, pygobject_dealloc
22133 calls PyObject_ClearWeakRefs() which can call back into python, create
22134 new allocations, and trigger the GC.
22136 This is causing Sugar (based on pygobject2 + pygtk2 static bindings)
22138 crash on a regular basis while interacting with widgets or launching
22141 Fix this by untracking the object early. Also fix the same issue
22143 in the GSource wrapper.
22145 Thanks to Bernie Innocenti for initial diagnosis.
22147 glib/pygsource.c | 6 ++++--
22148 gobject/pygobject.c | 8 +++++++-
22149 2 files changed, 11 insertions(+), 3 deletions(-)
22151 commit 4c9bcedb4e11ad66a4b86174e2425c7afcafc473
22152 Author: John (J5) Palmieri <johnp@redhat.com>
22153 Date: Tue May 31 16:59:41 2011 -0400
22155 [gi-invoke-ng] enable invoke-ng by default
22157 configure.ac | 8 ++++----
22158 1 file changed, 4 insertions(+), 4 deletions(-)
22160 commit 2e4cfb85a55ff205e263591d573ee5ecf0ffff3e
22161 Author: John (J5) Palmieri <johnp@redhat.com>
22162 Date: Tue May 31 16:37:21 2011 -0400
22164 [gi-invoke-ng] add code to clean up when input values fail to marshal
22166 gi/pygi-marshal-cleanup.c | 30 +++++++++++++++++++++++++-----
22167 1 file changed, 25 insertions(+), 5 deletions(-)
22169 commit 508b1b6ca1b143f1e123a3ddb83e8ce146758dfc
22170 Author: John (J5) Palmieri <johnp@redhat.com>
22171 Date: Tue May 31 16:01:03 2011 -0400
22173 [gi-invoke-ng] add hash cleanup routines
22175 gi/pygi-cache.c | 2 ++
22176 gi/pygi-marshal-cleanup.c | 64
22177 +++++++++++++++++++++++++++++++++++++++++++++++
22178 gi/pygi-marshal-cleanup.h | 10 ++++++--
22179 3 files changed, 74 insertions(+), 2 deletions(-)
22181 commit 1954c75b94a74259b4e5d28f5ff8d76aa4610832
22182 Author: John (J5) Palmieri <johnp@redhat.com>
22183 Date: Tue May 31 14:47:30 2011 -0400
22185 [gi-invoke-ng] handle arrays with transfers of GI_TRANSFER_CONTAINER
22187 gi/pygi-marshal-cleanup.c | 3 ++-
22188 1 file changed, 2 insertions(+), 1 deletion(-)
22190 commit b626c46b4a95602c7bf1278c2a39aacb7f5027d9
22191 Author: John (J5) Palmieri <johnp@redhat.com>
22192 Date: Tue May 31 14:40:49 2011 -0400
22194 [gi-invoke-ng] add list cleanup routines
22196 gi/pygi-cache.c | 8 ++---
22197 gi/pygi-marshal-cleanup.c | 84
22198 +++++++++++++++++++++++++++++++++++++++++++++++
22199 gi/pygi-marshal-cleanup.h | 8 +++++
22200 3 files changed, 96 insertions(+), 4 deletions(-)
22202 commit 2e542c327cd52c1f77af28905557dd25c64175d8
22203 Author: John (J5) Palmieri <johnp@redhat.com>
22204 Date: Thu May 26 16:10:13 2011 -0400
22208 gi/pygi-marshal.c | 8 ++++----
22209 1 file changed, 4 insertions(+), 4 deletions(-)
22211 commit 601aec11c49e821fe97dd30a2187fe3c75844712
22212 Author: John (J5) Palmieri <johnp@redhat.com>
22213 Date: Thu May 26 16:09:38 2011 -0400
22215 [gi-invoke-ng] add out array cleanup
22217 gi/pygi-cache.c | 2 +-
22218 gi/pygi-marshal-cleanup.c | 24 ++++++++++++++++++++++++
22219 gi/pygi-marshal.c | 37 +++++++++++++++++++++++++++++++------
22220 3 files changed, 56 insertions(+), 7 deletions(-)
22222 commit e9ad4428b769f8c9ace1cdc973c684de84fb1a5e
22223 Author: John (J5) Palmieri <johnp@redhat.com>
22224 Date: Thu May 26 13:22:38 2011 -0400
22226 [gi-invoke-ng] do not allocate null terminator for garray
22228 * We are simply setting our own array so we don't want any allocate
22231 gi/pygi-marshal.c | 2 +-
22232 1 file changed, 1 insertion(+), 1 deletion(-)
22234 commit a986b2b8e5ee37f2a330f5aabc85c73ebb0de508
22235 Author: John (J5) Palmieri <johnp@redhat.com>
22236 Date: Thu May 26 13:21:55 2011 -0400
22238 [gi-invoke-ng] add array cleanup for in arrays
22240 gi/pygi-cache.c | 2 +-
22241 gi/pygi-marshal-cleanup.c | 72
22242 ++++++++++++++++++++++++++++++++++++++++++++++-
22243 gi/pygi-marshal-cleanup.h | 9 ++++++
22244 gi/pygi-marshal.c | 13 +++++++--
22245 4 files changed, 91 insertions(+), 5 deletions(-)
22247 commit 990c60805c8ef718eb29e2e1b24f057552c6159e
22248 Author: John (J5) Palmieri <johnp@redhat.com>
22249 Date: Mon May 23 17:06:30 2011 -0400
22251 [gi-invoke-ng] remove remaining bits of the invoke stage state machine
22253 gi/pygi-invoke-ng.c | 7 +------
22254 gi/pygi-invoke-state-struct.h | 14 --------------
22255 2 files changed, 1 insertion(+), 20 deletions(-)
22257 commit dbbcf4a0e76fb572d85843ee31c3798df5cd5cc5
22258 Author: John (J5) Palmieri <johnp@redhat.com>
22259 Date: Mon May 23 16:59:57 2011 -0400
22261 [gi-invoke-ng] revamp cleanup framework to be orthogonal to cache
22264 * cleanup now has symmetry with setup so there are now in and out
22266 for each type that needs to be cleaned up
22267 * no longer use state machine but instead call different cleanup
22269 different stages of invoke, making it easier to understand what
22273 gi/pygi-cache.c | 19 ++-
22274 gi/pygi-cache.h | 7 +-
22275 gi/pygi-invoke-ng.c | 10 +-
22276 gi/pygi-invoke-state-struct.h | 2 +
22277 gi/pygi-marshal-cleanup.c | 301
22278 +++++++++++++++++-------------------------
22279 gi/pygi-marshal-cleanup.h | 45 ++++---
22280 gi/pygi-marshal.c | 15 +--
22281 7 files changed, 174 insertions(+), 225 deletions(-)
22283 commit 198714dc4585f7463f38929f1ca4e4b60a27dadb
22284 Author: John (J5) Palmieri <johnp@redhat.com>
22285 Date: Thu May 12 17:29:20 2011 -0400
22287 [gi-invoke-ng] stub out a cleaner way of cleaning up after ourselves
22289 * The state machine concept of cleaning up was getting a bit messy.
22290 It was like we took a big bowl of spaghetti code and dumped it.
22291 * Now we call specific cleanup functions at the point of failure (or
22292 successful completion of a marshalling stage)
22294 gi/pygi-invoke-ng.c | 59 +++++++++++++++++++++++++++++++-------
22295 gi/pygi-marshal-cleanup.c | 72
22296 +++++++++++++++++++++++++++++++++++++++++++++++
22297 gi/pygi-marshal-cleanup.h | 14 +++++++++
22298 3 files changed, 135 insertions(+), 10 deletions(-)
22300 commit c1389dadbf35afee3f28d90ef637efd8c1f071a5
22301 Author: José Alburquerque <jaalburqu@svn.gnome.org>
22302 Date: Thu May 12 11:53:40 2011 -0400
22304 Doc Extractor: Correct the logic of the --no-since option.
22306 * codegen/docextract.py (process_final_sections): If the
22308 option has been specified and a "Since:" is encountered
22310 processing of the final sections, simply don't append the
22312 instead of reading the next line. This preserves the logical
22316 codegen/docextract.py | 4 ++--
22317 1 file changed, 2 insertions(+), 2 deletions(-)
22319 commit 303d8e8ab9e60cb554de7fc0e8592cd9b2c50843
22320 Author: José Alburquerque <jaalburqu@svn.gnome.org>
22321 Date: Mon May 9 17:32:09 2011 -0400
22323 Doc Extractor: Add a --no-since option.
22325 * codegen/docextract.py:
22326 * codegen/docextract_to_xml.py: Modified so that if a
22328 option is specified at the command line, the "Since:
22330 the gtkdoc function block is omitted. This is useful for
22332 such as gstreamermm where this information would not be
22334 as the C API is still unstable.
22336 codegen/docextract.py | 15 ++++++++++++++-
22337 codegen/docextract_to_xml.py | 9 ++++++---
22338 2 files changed, 20 insertions(+), 4 deletions(-)
22340 commit 4f615c6e300d6f2d7551b640efa301060206ab58
22341 Author: John (J5) Palmieri <johnp@redhat.com>
22342 Date: Thu May 5 14:04:34 2011 -0400
22344 [gi-invoke-ng] tweek cleanup routines
22346 gi/pygi-cache.c | 5 +++
22347 gi/pygi-marshal-cleanup.c | 87
22348 +++++++++++++++++++++++++++++++++++------------
22349 gi/pygi-marshal-cleanup.h | 6 ++--
22350 gi/pygi-marshal.c | 11 ++----
22351 4 files changed, 76 insertions(+), 33 deletions(-)
22353 commit 63c7f17c224821cb7136d06e8ef87eab7291848d
22354 Author: Martin Pitt <martin.pitt@ubuntu.com>
22355 Date: Mon May 2 15:49:52 2011 +0200
22357 Fix symbol names to be locale independent
22359 We currently use upper() to present enum values, which are usually
22361 lower case in the typelib, in upper cases. However, upper() is locale
22362 dependent, so that e. g. in tr_TR.UTF-8, "invalid" becomes "iNVALiD"
22363 because Turkish has some extra variants of "i".
22365 Use a local ASCII-only translate() call instead to avoid this. Thanks
22367 Philippsen for the idea!
22369 This also adds a test locale "te_ST@nouppera" which defines
22370 toupper('a') == 'a'.
22371 Run the Enum tests under this locale to reproduce the bug and verify
22374 https://bugzilla.gnome.org/show_bug.cgi?id=649165
22376 gi/module.py | 9 ++++++++-
22377 tests/te_ST@nouppera | 50
22378 ++++++++++++++++++++++++++++++++++++++++++++++++++
22379 tests/test_gi.py | 30 ++++++++++++++++++++++++++++++
22380 3 files changed, 88 insertions(+), 1 deletion(-)
22382 commit b5e150da76c3d4de1a75f58d03c3a761e9005a63
22383 Author: Martin Pitt <martin.pitt@ubuntu.com>
22384 Date: Wed May 4 08:35:27 2011 +0200
22386 [gi] pygi-convert.sh: Convert gtk.gdk.CROSSHAIR
22388 pygi-convert.sh | 1 +
22389 1 file changed, 1 insertion(+)
22391 commit fcc5ea201ab25da6db94ea8a37364a1d3c4d7c65
22392 Author: John (J5) Palmieri <johnp@redhat.com>
22393 Date: Fri Apr 29 17:41:08 2011 -0400
22395 [gi-invoke-ng] handle filename cleanup with the utf8 cleanup function
22397 gi/pygi-cache.c | 2 ++
22398 1 file changed, 2 insertions(+)
22400 commit dbe8c4fabc8ac19415a3be0e854d3a54c2317e0b
22401 Author: John (J5) Palmieri <johnp@redhat.com>
22402 Date: Fri Apr 29 17:40:13 2011 -0400
22404 [gi-invoke-ng] handle caller allocates cleanup
22406 gi/pygi-invoke-ng.c | 5 ++-
22407 gi/pygi-marshal-cleanup.c | 104
22408 ++++++++++++++++++++++++++++++++++++----------
22409 gi/pygi-marshal-cleanup.h | 7 ++--
22410 3 files changed, 90 insertions(+), 26 deletions(-)
22412 commit cdbf57f3b1f041a06cf545a5557424f701ed1ec7
22413 Author: John (J5) Palmieri <johnp@redhat.com>
22414 Date: Thu Apr 28 19:16:02 2011 -0400
22416 [gi-invoke-ng] refactor the cleanup code and add utf8 cleanup as
22419 gi/pygi-cache.c | 15 ++-----------
22420 gi/pygi-invoke-ng.c | 8 +++----
22421 gi/pygi-invoke-state-struct.h | 2 ++
22422 gi/pygi-marshal-cleanup.c | 51
22423 ++++++++++++++++++++++++++++++++++++++++++-
22424 gi/pygi-marshal-cleanup.h | 3 +++
22425 5 files changed, 60 insertions(+), 19 deletions(-)
22427 commit d1f1f4ccc55f9ecab73b7c0ee78762c4039b2c79
22428 Author: John (J5) Palmieri <johnp@redhat.com>
22429 Date: Wed Apr 27 15:47:19 2011 -0400
22431 use PyCapsule when importing pycairo/require pycairo 1.10.0 for
22434 * PyCObject is deprecated and pycairo 1.10.0 is first release to
22437 configure.ac | 15 +++++++++++----
22438 gi/pygi-foreign-cairo.c | 2 +-
22439 2 files changed, 12 insertions(+), 5 deletions(-)
22441 commit 83b7823a510b0b391560c6deaf9d15d8303c7b14
22442 Author: Ignacio Casal Quinteiro <icq@gnome.org>
22443 Date: Thu Apr 21 16:52:20 2011 +0200
22445 [python3] fix build. PYcairo_IMPORT doesn't exists anymore
22447 gi/pygi-foreign-cairo.c | 7 ++++++-
22448 1 file changed, 6 insertions(+), 1 deletion(-)
22450 commit 3e933784df423757e591d703614cb700adb0bbe0
22451 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22452 Date: Mon Apr 18 18:36:25 2011 +0200
22456 pygobject.doap | 15 +++++++++++++++
22457 1 file changed, 15 insertions(+)
22459 commit 399d06b4b20685eb38acfd7e43226e06737ab7d2
22460 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22461 Date: Sat Apr 16 16:02:05 2011 +0200
22463 [gi] Don't create variant twice
22465 gi/overrides/GLib.py | 2 +-
22466 1 file changed, 1 insertion(+), 1 deletion(-)
22468 commit 8d8a84ea23d28d25851c5870f261c020d762cef4
22469 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22470 Date: Fri Apr 15 16:14:43 2011 +0200
22472 pygi-convert.sh: Make sure the uppercase GObject module is imported
22473 instead of the lowercase
22475 https://bugzilla.gnome.org/show_bug.cgi?id=647736
22477 pygi-convert.sh | 1 +
22478 1 file changed, 1 insertion(+)
22480 commit 3b51d6426d0f59b2dd7e0dcdcded4bed43d6b9d8
22481 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22482 Date: Fri Apr 15 15:58:53 2011 +0200
22484 [gi] Removed hack to avoid using GLib.Variant.new_variant.
22486 The bug in the annotations of GLib is fixed now.
22487 https://bugzilla.gnome.org/show_bug.cgi?id=639952
22488 https://bugzilla.gnome.org/show_bug.cgi?id=647796
22490 gi/overrides/GLib.py | 14 +-------------
22491 1 file changed, 1 insertion(+), 13 deletions(-)
22493 commit bb4dce14ba666969815d4e56adbc38f0ac4f7ff7
22494 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22495 Date: Fri Apr 15 15:58:31 2011 +0200
22497 [gi] Added additional test case for GVariant handling
22499 tests/test_overrides.py | 15 +++++++++++++++
22500 1 file changed, 15 insertions(+)
22502 commit 138df2778543409752e229a09828a805f68a420d
22503 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22504 Date: Mon Apr 11 18:34:31 2011 +0200
22506 [gi] Added support for GVariant arguments
22508 This is required in order for the "g-signal" signal of GDBusProxy
22509 to work properly and thus to properly receive DBus signals with any
22512 https://bugzilla.gnome.org/show_bug.cgi?id=647477
22514 gi/pygi-argument.c | 2 ++
22515 1 file changed, 2 insertions(+)
22517 commit 985f239d891c7697d76ccecb797b189669ae6ee1
22518 Author: John (J5) Palmieri <johnp@redhat.com>
22519 Date: Tue Mar 22 18:46:28 2011 -0400
22521 fix static ABI for setting string gvalues from python objects
22523 * the static bindings used to be able to set a string gvalue to
22525 object that implemented __str__, for instance when setting a
22527 * this restores that code while still keeping unicode and python 3
22530 gobject/pygtype.c | 28 +++++++++++++++++++---------
22531 tests/test_properties.py | 8 ++++++++
22532 2 files changed, 27 insertions(+), 9 deletions(-)
22534 commit 58cfc3cd1152b4448b56a6ff597f954d8450b83e
22535 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
22536 Date: Tue Mar 22 20:47:51 2011 +0100
22538 dsextras.py: ensure eol characters are preserved when writing template
22539 files (so \n does not become \r\n)
22542 1 file changed, 1 insertion(+), 1 deletion(-)
22544 commit 629d267478982c426ba61a639d5c9603fed856e6
22545 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
22546 Date: Tue Mar 22 11:35:44 2011 +0100
22548 dsextras.py: remove \r as wel as \n character
22551 1 file changed, 1 insertion(+), 1 deletion(-)
22553 commit 426c7109d4c0dbf0d56cc075f97f33b3451f79a8
22554 Author: John (J5) Palmieri <johnp@redhat.com>
22555 Date: Wed Apr 27 15:47:19 2011 -0400
22557 use PyCapsule when importing pycairo/require pycairo 1.10.0 for
22560 * PyCObject is deprecated and pycairo 1.10.0 is first release to
22563 configure.ac | 15 +++++++++++----
22564 gi/pygi-foreign-cairo.c | 2 +-
22565 2 files changed, 12 insertions(+), 5 deletions(-)
22567 commit 4e5833d0c2fe548617e5ea510f05920fd0caf73b
22568 Author: Ignacio Casal Quinteiro <icq@gnome.org>
22569 Date: Thu Apr 21 16:52:20 2011 +0200
22571 [python3] fix build. PYcairo_IMPORT doesn't exists anymore
22573 gi/pygi-foreign-cairo.c | 7 ++++++-
22574 1 file changed, 6 insertions(+), 1 deletion(-)
22576 commit 91ec337359720839862d3f5a8a0ea98f760a0752
22577 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22578 Date: Mon Apr 18 18:36:25 2011 +0200
22582 pygobject.doap | 15 +++++++++++++++
22583 1 file changed, 15 insertions(+)
22585 commit 05c766044c83340c44564d0097514bfc1d1d9df7
22586 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22587 Date: Sat Apr 16 16:02:05 2011 +0200
22589 [gi] Don't create variant twice
22591 gi/overrides/GLib.py | 2 +-
22592 1 file changed, 1 insertion(+), 1 deletion(-)
22594 commit eb8f212e3687af30407cf01fcdfbf530257bcddb
22595 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22596 Date: Fri Apr 15 16:14:43 2011 +0200
22598 pygi-convert.sh: Make sure the uppercase GObject module is imported
22599 instead of the lowercase
22601 https://bugzilla.gnome.org/show_bug.cgi?id=647736
22603 pygi-convert.sh | 1 +
22604 1 file changed, 1 insertion(+)
22606 commit af31729573de24161ee90563e5738187c749783c
22607 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22608 Date: Fri Apr 15 15:58:53 2011 +0200
22610 [gi] Removed hack to avoid using GLib.Variant.new_variant.
22612 The bug in the annotations of GLib is fixed now.
22613 https://bugzilla.gnome.org/show_bug.cgi?id=639952
22614 https://bugzilla.gnome.org/show_bug.cgi?id=647796
22616 gi/overrides/GLib.py | 14 +-------------
22617 1 file changed, 1 insertion(+), 13 deletions(-)
22619 commit 070f6688be4afb926656038dcceac4c8b8ed97c7
22620 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22621 Date: Fri Apr 15 15:58:31 2011 +0200
22623 [gi] Added additional test case for GVariant handling
22625 tests/test_overrides.py | 15 +++++++++++++++
22626 1 file changed, 15 insertions(+)
22628 commit 65aa040e86d94ee6bb227a2bce09668b60208027
22629 Author: John (J5) Palmieri <johnp@redhat.com>
22630 Date: Tue Apr 12 14:51:35 2011 -0400
22632 [gi-invoke-ng] fix prototype
22634 gi/pygi-cache.h | 2 +-
22635 1 file changed, 1 insertion(+), 1 deletion(-)
22637 commit 12aa4e6376366ca9d758434f6544c9c70a1e5df8
22638 Author: John (J5) Palmieri <johnp@redhat.com>
22639 Date: Tue Apr 12 14:48:16 2011 -0400
22641 [gi-invoke-ng] create new framework for cleaning up args
22643 * we now have a state machine so we know what point in the marshalling
22645 we are and which args need to be cleaned up
22646 * call the cleanup functions after invoking the gi callable, after
22648 the out parameters and at any time an error occures
22650 gi/Makefile.am | 4 ++-
22651 gi/pygi-cache.c | 25 +++++++------
22652 gi/pygi-cache.h | 5 ++-
22653 gi/pygi-invoke-ng.c | 34 ++++++++++++++----
22654 gi/pygi-invoke-state-struct.h | 13 +++++++
22655 gi/pygi-marshal-cleanup.c | 81
22656 +++++++++++++++++++++++++++++++++++++++++++
22657 gi/pygi-marshal-cleanup.h | 43 +++++++++++++++++++++++
22658 gi/pygi-marshal.c | 1 +
22659 8 files changed, 187 insertions(+), 19 deletions(-)
22661 commit 0463295cd046bd6382ad9dc71ea1518858d63c5f
22662 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22663 Date: Mon Apr 11 18:34:31 2011 +0200
22665 [gi] Added support for GVariant arguments
22667 This is required in order for the "g-signal" signal of GDBusProxy
22668 to work properly and thus to properly receive DBus signals with any
22671 https://bugzilla.gnome.org/show_bug.cgi?id=647477
22673 gi/pygi-argument.c | 2 ++
22674 1 file changed, 2 insertions(+)
22676 commit 1d64c3d3db2ec17b9a48df55271f712db6c07060
22677 Author: John (J5) Palmieri <johnp@redhat.com>
22678 Date: Wed Mar 30 16:40:31 2011 -0400
22680 [gi-invoke-ng] fix marshal header that is no longer part of
22683 gi/pygi-marshal.h | 8 ++++----
22684 1 file changed, 4 insertions(+), 4 deletions(-)
22686 commit 3580cd1c7222022ebeef3476f9e609c8045f12a3
22687 Author: John (J5) Palmieri <johnp@redhat.com>
22688 Date: Wed Mar 30 15:53:13 2011 -0400
22690 [gi-invoke-ng] code style space fixes
22692 gi/pygi-cache.c | 420 +++++++++++++++++++-------------------
22693 gi/pygi-invoke-ng.c | 145 +++++++-------
22694 gi/pygi-marshal.c | 565
22695 ++++++++++++++++++++++++++--------------------------
22696 3 files changed, 566 insertions(+), 564 deletions(-)
22698 commit 81662fcd09f112bfffcdc5b7f01a5537b84cd9d4
22699 Author: John (J5) Palmieri <johnp@redhat.com>
22700 Date: Tue Mar 29 16:54:44 2011 -0400
22702 [gi-invoke-ng] don't decref value taken from a dict as it is borrowed
22704 gi/pygi-invoke-ng.c | 1 -
22705 1 file changed, 1 deletion(-)
22707 commit a456fc0adc1f8a0754bf59cde8924f905bfc7dc1
22708 Author: John (J5) Palmieri <johnp@redhat.com>
22709 Date: Tue Mar 29 15:23:06 2011 -0400
22711 [gi-invoke-ng] return None when appropriate so we don't crash
22713 gi/pygi-marshal.c | 18 +++++++++++++++++-
22714 1 file changed, 17 insertions(+), 1 deletion(-)
22716 commit e8c8c37e5587dc7ff62519df336988a12e6f5d0a
22717 Author: John (J5) Palmieri <johnp@redhat.com>
22718 Date: Tue Mar 29 15:21:41 2011 -0400
22720 [gi-invoke-ng] fix aux value caching
22722 gi/pygi-cache.c | 15 ++++++++++-----
22723 1 file changed, 10 insertions(+), 5 deletions(-)
22725 commit 4e4c1847c713a4eb4ab34d04488e94dac24d9167
22726 Author: John (J5) Palmieri <johnp@redhat.com>
22727 Date: Mon Mar 28 20:25:46 2011 -0400
22729 [gi-invoke-ng] backport handling flags with no gtype
22731 gi/pygi-marshal.c | 25 ++++++++++++++++++++++++-
22732 1 file changed, 24 insertions(+), 1 deletion(-)
22734 commit fd76423e655b3711e1ffbf9b61ea4e2c94040234
22735 Author: John (J5) Palmieri <johnp@redhat.com>
22736 Date: Mon Mar 28 18:32:00 2011 -0400
22738 [gi-invoke-ng] backport raw gvalue handling
22740 gi/pygi-marshal.c | 23 ++++++++++++++++++-----
22741 1 file changed, 18 insertions(+), 5 deletions(-)
22743 commit 507b5051c83f70ceae79e0fa693c86e5cbb9f442
22744 Author: John (J5) Palmieri <johnp@redhat.com>
22745 Date: Mon Mar 28 18:30:31 2011 -0400
22747 [gi-invoke-ng] marshal instances seperately since they differ slightly
22750 gi/pygi-cache.c | 2 +-
22751 gi/pygi-marshal.c | 38 ++++++++++++++++++++++++++++++++++++++
22752 2 files changed, 39 insertions(+), 1 deletion(-)
22754 commit 726a27c0e74ace3ff23d9cc4d393ae53e57f1fac
22755 Author: John (J5) Palmieri <johnp@redhat.com>
22756 Date: Mon Mar 28 18:26:09 2011 -0400
22758 [gi-invoke-ng] refactor FunctionCache to be more generic CallableCache
22760 gi/pygi-cache.c | 392
22761 +++++++++++++++++++++++++++-------------------------
22762 gi/pygi-cache.h | 12 +-
22763 gi/pygi-info.c | 2 +-
22764 gi/pygi-invoke-ng.c | 40 +++---
22765 gi/pygi-marshal.c | 140 +++++++++----------
22766 gi/pygi-marshal.h | 159 +++++++++------------
22768 7 files changed, 362 insertions(+), 385 deletions(-)
22770 commit 3d5d9ff5c18a850650992bdd52e8e4c722b23396
22771 Author: John (J5) Palmieri <johnp@redhat.com>
22772 Date: Mon Mar 28 15:01:12 2011 -0400
22774 [gi-invoke-rewrite] backport glib error handling
22776 gi/pygi-invoke-ng.c | 14 ++++++--------
22777 1 file changed, 6 insertions(+), 8 deletions(-)
22779 commit 37b14b28a5f2aec16ac7f321efbf07e1403e9531
22780 Author: John (J5) Palmieri <johnp@redhat.com>
22781 Date: Fri Mar 25 18:48:42 2011 -0400
22783 [gi-invoke-ng] backport closure passing from invoke
22785 gi/pygi-marshal.c | 13 ++++++++++---
22786 1 file changed, 10 insertions(+), 3 deletions(-)
22788 commit cf7f97eabc9c49773c2916929b8c43ef453d0652
22789 Author: John (J5) Palmieri <johnp@redhat.com>
22790 Date: Fri Mar 25 18:47:36 2011 -0400
22792 [gi-invoke-ng] handle vfuncs and fix cosntrutors
22794 gi/pygi-cache.c | 9 +++++++
22795 gi/pygi-cache.h | 2 ++
22796 gi/pygi-invoke-ng.c | 56
22797 ++++++++++++++++++++++++++++++++-----------
22798 gi/pygi-invoke-state-struct.h | 2 ++
22799 4 files changed, 55 insertions(+), 14 deletions(-)
22801 commit af2ce400fcf771ee6c9bc01aecfb59467be5a0ce
22802 Author: John (J5) Palmieri <johnp@redhat.com>
22803 Date: Fri Mar 25 18:39:06 2011 -0400
22805 [gi-invoke-ng] handle foreign types correctly
22807 gi/pygi-cache.c | 22 ++++++----------------
22808 gi/pygi-marshal.c | 3 +++
22809 2 files changed, 9 insertions(+), 16 deletions(-)
22811 commit 482553ae5d863ca523be3bd1eededa5d02a4f87e
22812 Author: John (J5) Palmieri <johnp@redhat.com>
22813 Date: Fri Mar 25 13:14:01 2011 -0400
22815 [gi] remove the class parameter from the argument list of constructors
22817 * constructors pass in their class to be constructed. Since we
22819 and g_object_new to do the construction we ignore this for now but
22820 keep it around in the state for future use.
22822 gi/pygi-invoke-ng.c | 46
22823 +++++++++++++++++++++++++++++++++++++------
22824 gi/pygi-invoke-state-struct.h | 1 +
22825 2 files changed, 41 insertions(+), 6 deletions(-)
22827 commit 0534eb0e843cdf09611143da184052f7e549e4dc
22828 Author: John (J5) Palmieri <johnp@redhat.com>
22829 Date: Tue Mar 22 18:46:28 2011 -0400
22831 fix static ABI for setting string gvalues from python objects
22833 * the static bindings used to be able to set a string gvalue to
22835 object that implemented __str__, for instance when setting a
22837 * this restores that code while still keeping unicode and python 3
22840 gobject/pygtype.c | 28 +++++++++++++++++++---------
22841 tests/test_properties.py | 8 ++++++++
22842 2 files changed, 27 insertions(+), 9 deletions(-)
22844 commit 5f0e130026a663a57ed1317e0fa0e1f78f9e6e0a
22845 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
22846 Date: Tue Mar 22 20:47:51 2011 +0100
22848 dsextras.py: ensure eol characters are preserved when writing template
22849 files (so \n does not become \r\n)
22852 1 file changed, 1 insertion(+), 1 deletion(-)
22854 commit 62a6274105003ef386ddfe9ef38e8afa8c43d124
22855 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
22856 Date: Tue Mar 22 11:35:44 2011 +0100
22858 dsextras.py: remove \r as wel as \n character
22861 1 file changed, 1 insertion(+), 1 deletion(-)
22863 commit 86c436978c933f6ebe17627abe98325ce66f6baa
22864 Author: John (J5) Palmieri <johnp@redhat.com>
22865 Date: Tue Mar 22 16:13:58 2011 -0400
22867 [gi] make new invoke-ng codepath compile correctly
22870 gi/Makefile.am | 5 +-
22871 gi/pygi-cache.c | 2 +-
22872 gi/pygi-invoke-ng.c | 841 ----------------------
22873 gi/pygi-marshal.c | 1962
22874 +--------------------------------------------------
22875 gi/pygi-private.h | 4 +-
22876 6 files changed, 9 insertions(+), 2809 deletions(-)
22878 commit 35619fec43f4df85edf5456f3fc9733b16f2ba90
22879 Author: John (J5) Palmieri <johnp@redhat.com>
22880 Date: Tue Mar 22 15:40:02 2011 -0400
22882 [gi] conditionalize invoke code paths
22884 configure.ac | 7 +++++++
22885 gi/Makefile.am | 20 +++++++++++++++-----
22886 gi/pygi-cache.h | 2 ++
22887 gi/pygi-info.c | 4 +++-
22888 gi/pygi-private.h | 9 +++++++--
22890 6 files changed, 37 insertions(+), 9 deletions(-)
22892 commit 83c51bd2bb6ca24ce610c04cff1527bcd2689d90
22893 Author: John (J5) Palmieri <johnp@redhat.com>
22894 Date: Tue Mar 22 15:37:24 2011 -0400
22896 [gi] revert back to the type.py from master
22898 gi/types.py | 21 +++++++++++++++------
22899 1 file changed, 15 insertions(+), 6 deletions(-)
22901 commit cb30d00d1c92e73d9bfb08cc7b600a5aa70f2fc0
22902 Author: John (J5) Palmieri <johnp@redhat.com>
22903 Date: Tue Mar 22 14:46:29 2011 -0400
22905 [gi] revert pygi-argument.h and move the invoke-ng code to
22908 gi/pygi-argument.h | 268 +-----------------------------------------
22909 gi/pygi-marshal.h | 336
22910 +++++++++++++++++++++++++++++++++++++++++++++++++++++
22911 2 files changed, 337 insertions(+), 267 deletions(-)
22913 commit 17cb714cfdaf45b6d7dd627b0189bd24e6578f74
22914 Merge: 7332a1b9 01596a9b
22915 Author: John (J5) Palmieri <johnp@redhat.com>
22916 Date: Tue Mar 22 13:34:36 2011 -0400
22918 Merge branch 'master' into invoke-rewrite
22923 gi/pygi-foreign-cairo.c
22924 gi/pygi-foreign-gvariant.c
22925 gi/pygi-foreign-gvariant.h
22931 commit 01596a9b7cc0ceef3904da5b96939140ee0732fd
22932 Author: John (J5) Palmieri <johnp@redhat.com>
22933 Date: Tue Mar 22 13:20:54 2011 -0400
22935 [gi] foreign types now take interface infos instead of type infos
22937 * this is a prep for the invoke-rewrite branch
22938 * when marshalling foreign structs we may not have the type info but
22939 we will always have the interface info to pass
22940 * this simplifies the code because we were simply converting the
22941 type info back to an interface info anyway so there is less
22942 refcounting to keep track of
22943 * also fixes a bug where we were leaking PyNone ref counts
22945 gi/pygi-argument.c | 4 ++--
22946 gi/pygi-foreign-cairo.c | 16 ++++++++--------
22947 gi/pygi-foreign-gvariant.c | 12 ++++++------
22948 gi/pygi-foreign.c | 32 +++++++++++++-------------------
22949 gi/pygi-foreign.h | 8 ++++----
22950 gi/pygi-invoke.c | 6 +++---
22951 gi/pygi.h | 12 ++++++------
22952 7 files changed, 42 insertions(+), 48 deletions(-)
22954 commit fbabc1fdafa1dcbd1f6aaea7b821bd1c64a546ab
22955 Author: Martin Pitt <martin.pitt@ubuntu.com>
22956 Date: Tue Mar 22 15:04:01 2011 +0100
22958 Fix GSchema tests for separate build tree
22960 When using a separate build tree, the compiled GSettings schema will
22962 build tree, but as the test scripts are only in the source tree they
22964 the compiled schema. Pass the build dir as environment variable and
22966 over test_overrides.py's directory.
22968 tests/Makefile.am | 3 ++-
22969 tests/test_overrides.py | 4 +++-
22970 2 files changed, 5 insertions(+), 2 deletions(-)
22972 commit 7332a1b99775519fdc5500cab6628b713e946a8c
22973 Author: John (J5) Palmieri <johnp@redhat.com>
22974 Date: Mon Mar 21 19:03:29 2011 -0400
22976 [gi] start of merge from master
22978 * move some of the modified files that will cause merge conflicts
22980 own, nonconflicting files
22981 * copy the old files out of master
22983 gi/pygi-argument.c | 2101 +++------------------------
22984 gi/pygi-invoke-ng.c | 1179 ++++++++++++++++
22985 gi/pygi-invoke.c | 421 ++----
22986 gi/pygi-marshal.c | 3916
22987 +++++++++++++++++++++++++++++++++++++++++++++++++++
22988 4 files changed, 5389 insertions(+), 2228 deletions(-)
22990 commit 62b49dae97441953452d097cb1751df14302547a
22991 Author: John (J5) Palmieri <johnp@redhat.com>
22992 Date: Wed Mar 16 17:34:18 2011 -0400
22994 [gi] marshal raw closures
22996 * before we were able to marshal python callables into methods
22998 GClosures but we had no way to take a GClosure returned from one
22999 method and pass it to another - this enables that usecase
23001 https://bugzilla.gnome.org/show_bug.cgi?id=644757
23003 gi/pygi-argument.c | 17 ++++++++++-------
23004 tests/test_gi.py | 4 ++++
23005 2 files changed, 14 insertions(+), 7 deletions(-)
23007 commit 1e70957c5470a0f4bceba38ca66a4e4274fdc8d8
23008 Author: John Stowers <john.stowers@gmail.com>
23009 Date: Sun Mar 6 23:41:01 2011 +1300
23011 pygi-convert.sh add GObject.xxx and webkit
23013 https://bugzilla.gnome.org/show_bug.cgi?id=644347
23015 pygi-convert.sh | 7 +++++++
23016 1 file changed, 7 insertions(+)
23018 commit 2292673c96e7973a0732ca15bbd5b0bf7a9c7dcf
23019 Author: John Stowers <john.stowers@gmail.com>
23020 Date: Sun Mar 6 23:41:30 2011 +1300
23022 pygi-convert.sh remove gobject tests, GObject works now
23024 https://bugzilla.gnome.org/show_bug.cgi?id=644347
23026 pygi-convert.sh | 28 ----------------------------
23027 1 file changed, 28 deletions(-)
23029 commit d26e5cc45f277f6b7edb32aa416520bb53bff9c2
23030 Author: John (J5) Palmieri <johnp@redhat.com>
23031 Date: Fri Mar 11 14:09:02 2011 -0500
23033 [gi-demos] add pickers demo
23035 demos/gtk-demo/demos/pickers.py | 74
23036 +++++++++++++++++++++++++++++++++++++++++
23037 1 file changed, 74 insertions(+)
23039 commit b8d926a458ed7d7e92719e41b5bc1c36f68882b3
23040 Author: John (J5) Palmieri <johnp@redhat.com>
23041 Date: Thu Mar 10 18:12:50 2011 -0500
23043 [gi-demos] add menu demo
23045 demos/gtk-demo/demos/menus.py | 122
23046 ++++++++++++++++++++++++++++++++++++++++++
23047 1 file changed, 122 insertions(+)
23049 commit 9baec8ed1c5d99c1677a75eaa1d38912f41f0b2d
23050 Author: John (J5) Palmieri <johnp@redhat.com>
23051 Date: Wed Mar 9 13:02:50 2011 -0500
23053 [gi-overrides] fix exception block so it works in Python 2.5
23055 gi/overrides/Gio.py | 5 ++++-
23056 1 file changed, 4 insertions(+), 1 deletion(-)
23058 commit 5ac534ac3ceee3cc19fe2297e3cd009817ed726f
23059 Author: Martin Pitt <martin.pitt@ubuntu.com>
23060 Date: Mon Mar 21 13:19:58 2011 +0100
23062 Revert "Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES"
23064 This reverts commit fc7d7f7f153d57ff3866b7bfd5e6479d702cc4d9.
23066 This introduces additional libpython dependencies, which breaks
23068 which support multiple Python versions, and also causes the python
23070 to be in memory twice in some cases.
23072 https://bugzilla.gnome.org/show_bug.cgi?id=620215
23074 gi/Makefile.am | 4 +---
23075 glib/Makefile.am | 2 +-
23076 m4/python.m4 | 7 ++-----
23077 tests/Makefile.am | 2 +-
23078 4 files changed, 5 insertions(+), 10 deletions(-)
23080 commit cd01f8ce1373f28b1427dd847bef44f747f1e6b3
23081 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
23082 Date: Fri Mar 18 17:06:08 2011 +0100
23084 setup.py: fix user_access_control option
23087 1 file changed, 1 insertion(+), 1 deletion(-)
23089 commit 2da60baec4f43c41f43527cbfde4e21e0eea728c
23090 Author: Martin Pitt <martin.pitt@ubuntu.com>
23091 Date: Wed Mar 16 10:22:35 2011 +0100
23093 [gi] Respect the MessageType for Gtk.MessageDialog
23095 Don't just ignore the type argument, actually pass it on. Thanks
23097 Chou for spotting this!
23099 gi/overrides/Gtk.py | 1 +
23100 1 file changed, 1 insertion(+)
23102 commit 029a79d1af1e0998aa6bc88ce1c1f48ce0ccd2a0
23103 Author: Martin Pitt <martin.pitt@ubuntu.com>
23104 Date: Tue Mar 15 10:22:39 2011 +0100
23106 [gi] Do not require signature for D-BUS methods without arguments
23108 Calling methods on DBusProxy objects usually requires specifying
23110 as first argument. However, if the D-BUS method does not take any
23112 specifying the empty '()' signature does not give any additional
23114 so allow the caller to just call the proxy method without any
23117 Also ensure that passing a non-string signature raises a
23119 exception, instead of crashing deep in the GVariant leaf constructor.
23121 https://bugzilla.gnome.org/show_bug.cgi?id=644260
23123 gi/overrides/Gio.py | 16 +++++++++++++++-
23124 tests/test_gdbus.py | 13 +++++++++++++
23125 2 files changed, 28 insertions(+), 1 deletion(-)
23127 commit 5bf66ce79267b25bcc80251f9170498fa1d765f6
23128 Author: John Stowers <john.stowers@gmail.com>
23129 Date: Sun Mar 6 23:05:33 2011 +1300
23131 [gi-overrides] TreeViewColumn.set_cell_data_func func_data can be None
23133 https://bugzilla.gnome.org/show_bug.cgi?id=644343
23135 gi/overrides/Gtk.py | 2 ++
23136 1 file changed, 2 insertions(+)
23138 commit 8e4f86e17a1de533a93b0748fd8de3cbfa70ba62
23139 Author: John Stowers <john.stowers@gmail.com>
23140 Date: Sun Mar 6 17:48:04 2011 +1300
23142 [gi-demos] dont try and run demos that represent directories
23144 demos/gtk-demo/gtk-demo.py | 3 ++-
23145 1 file changed, 2 insertions(+), 1 deletion(-)
23147 commit 097e5efab29d3d2d91d0b9fc75bf00219e9b7810
23148 Author: John (J5) Palmieri <johnp@redhat.com>
23149 Date: Mon Mar 7 18:09:18 2011 -0500
23151 [gi-demos] some python 3 compat fixes
23153 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 6 ++++++
23154 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
23155 demos/gtk-demo/demos/rotatedtext.py | 4 ++--
23156 demos/gtk-demo/gtk-demo.py | 4 ++--
23157 4 files changed, 11 insertions(+), 5 deletions(-)
23159 commit fd5d5ef3abc947d3c6066eea6378514f87b7f0ce
23160 Author: John (J5) Palmieri <johnp@redhat.com>
23161 Date: Tue Feb 22 15:07:40 2011 -0500
23163 [gi-demos] add liststore demo
23165 demos/gtk-demo/demos/Tree View/__init__.py | 0
23166 demos/gtk-demo/demos/Tree View/liststore.py | 205
23167 ++++++++++++++++++++++++++++
23168 2 files changed, 205 insertions(+)
23170 commit 09de5cf99474fc8a34b5f4a61cede1fb47353ebb
23171 Author: John (J5) Palmieri <johnp@redhat.com>
23172 Date: Mon Mar 7 18:08:40 2011 -0500
23174 [gi-demos] catch the correct error class
23176 demos/gtk-demo/demos/images.py | 11 ++++++-----
23177 1 file changed, 6 insertions(+), 5 deletions(-)
23179 commit 7284d2d4622978fc9ddfd00f2714b3a572b7ab56
23180 Author: Steve Frécinaux <code@istique.net>
23181 Date: Sun Mar 6 21:18:36 2011 +0100
23183 Do not leak python references when using the gobject.property()
23186 Since this helper was storing plain references in a long-lived
23188 refcount for the instances would never drop to zero, and so they would
23189 never get finalized.
23191 https://bugzilla.gnome.org/show_bug.cgi?id=644039
23193 gobject/propertyhelper.py | 5 ++---
23194 tests/test_properties.py | 23 +++++++++++++++++++++++
23195 2 files changed, 25 insertions(+), 3 deletions(-)
23197 commit 618dbb0ee15b47e5e7cb16a34ffce0937d7fa26d
23198 Author: John (J5) Palmieri <johnp@redhat.com>
23199 Date: Fri Mar 4 12:25:49 2011 -0500
23201 handle uchar as bytes, not strings in python 3
23203 * This worked in Python2 because bytes and strings are equivilant
23205 PYGLIB_PyString_FromStringAndSize evaluated to a PyString
23206 * In Python 3 PYGLIB_PyString_FromStringAndSize evaluates to
23208 * PYGLIB_PyBytes_FromStringAndSize evaluates to a PyString in Python 2
23209 and a PyBytes object in Python 3
23211 gobject/pygtype.c | 2 +-
23212 1 file changed, 1 insertion(+), 1 deletion(-)
23214 commit 7e9483ff75b7a63ddda0fa9a9847f9f22ad71240
23215 Author: John (J5) Palmieri <johnp@redhat.com>
23216 Date: Fri Mar 4 12:24:35 2011 -0500
23218 [gi-overrides] handle unichar gvalues when setting treemodels
23220 gi/overrides/Gtk.py | 10 ++++++++++
23221 1 file changed, 10 insertions(+)
23223 commit 6367bffa006e94dc667d7008fccad8d47d8d3646
23224 Author: John (J5) Palmieri <johnp@redhat.com>
23225 Date: Fri Mar 4 11:43:51 2011 -0500
23227 [gi-overrides] special case python 2 keywords that crept in
23229 gi/overrides/Gtk.py | 6 +++++-
23230 tests/test_overrides.py | 8 ++++----
23231 2 files changed, 9 insertions(+), 5 deletions(-)
23233 commit 83b0f8a37d5f3236780d87a1ca466c5e44ae2bc0
23234 Author: John (J5) Palmieri <johnp@redhat.com>
23235 Date: Fri Mar 4 11:10:16 2011 -0500
23237 check for the py3 _thread module in configure.ac if thread is
23240 configure.ac | 6 +++++-
23241 1 file changed, 5 insertions(+), 1 deletion(-)
23243 commit 4645af87d3c587f535404867dab56608719e5c7b
23244 Author: John (J5) Palmieri <johnp@redhat.com>
23245 Date: Fri Mar 4 00:39:23 2011 -0500
23247 [gi-demos] add iconview demo
23249 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 212
23250 +++++++++++++++++++++++
23251 1 file changed, 212 insertions(+)
23253 commit 761dcb516a04f7a89b3c7d68e88fff23055e2a80
23254 Author: John (J5) Palmieri <johnp@redhat.com>
23255 Date: Thu Mar 3 18:39:16 2011 -0500
23257 [gi] wrap the keyword argument in a dict so we don't break Python 2.5
23259 * python < 2.6 does not allow sending in keyword litterals after
23261 *args. You can only send in **kwds.
23264 1 file changed, 1 insertion(+), 1 deletion(-)
23266 commit f9604e90af12a1b9dbe7d7f311308e87cd0ed7dd
23267 Author: John (J5) Palmieri <johnp@redhat.com>
23268 Date: Thu Mar 3 18:30:40 2011 -0500
23270 [gi-demos] add the combobox with string ids section to the demos
23272 demos/gtk-demo/demos/combobox.py | 49
23273 +++++++++++++++++++++++++++++++++++++++-
23274 1 file changed, 48 insertions(+), 1 deletion(-)
23276 commit b70f4daf071cf77a4561b57f5521eb928f66d1ce
23277 Author: John (J5) Palmieri <johnp@redhat.com>
23278 Date: Thu Mar 3 16:47:51 2011 -0500
23280 [gi-overrides] add an override for Gdk.RGBA
23282 gi/overrides/Gdk.py | 18 ++++++++++++++++++
23283 tests/test_overrides.py | 10 ++++++++++
23284 2 files changed, 28 insertions(+)
23286 commit ee2b63f60f350332ed21927721ed9ddff3a8034e
23287 Author: John (J5) Palmieri <johnp@redhat.com>
23288 Date: Thu Mar 3 16:10:17 2011 -0500
23290 [gi-demos] fix up search-entry to reflect annotations fixed in Gtk+
23293 demos/gtk-demo/demos/Entry/search_entry.py | 23 +++++++++--------------
23294 1 file changed, 9 insertions(+), 14 deletions(-)
23296 commit cd046e4c355706ead5f512b810a2a48317f8c32e
23297 Author: John (J5) Palmieri <johnp@redhat.com>
23298 Date: Wed Mar 2 18:13:43 2011 -0500
23300 [gi-demos] add search entry demo
23302 demos/gtk-demo/demos/Entry/search_entry.py | 257
23303 +++++++++++++++++++++++++++++
23304 1 file changed, 257 insertions(+)
23306 commit d5ddaa92e6349c2f52b67317326060973cb69661
23307 Author: John (J5) Palmieri <johnp@redhat.com>
23308 Date: Wed Mar 2 15:37:27 2011 -0500
23310 [gi] wrap map in a list for Python 3 compat
23313 1 file changed, 1 insertion(+), 1 deletion(-)
23315 commit 3e5ab72a2e1fa2d8c4c2864137c6251f264ff4af
23316 Author: John (J5) Palmieri <johnp@redhat.com>
23317 Date: Tue Mar 1 14:52:00 2011 -0500
23319 [gi-demos] fix up the validation combobox
23321 demos/gtk-demo/demos/combobox.py | 21 +++++++++++++++------
23322 1 file changed, 15 insertions(+), 6 deletions(-)
23324 commit 08af5f99f0838b3584f6a3b210d0a0304811e8ff
23325 Author: John (J5) Palmieri <johnp@redhat.com>
23326 Date: Tue Mar 1 12:31:35 2011 -0500
23328 add overridesdir variable in the .pc file for 3rd party overrides
23330 pygobject-2.0.pc.in | 1 +
23331 1 file changed, 1 insertion(+)
23333 commit 4a6b14a92a687a2311516b2c16c355216b5270a7
23334 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
23335 Date: Fri Feb 11 17:14:11 2011 +0100
23337 setup.py: Set bdist_wininst user-access-control property
23340 1 file changed, 2 insertions(+), 1 deletion(-)
23342 commit ad3ab659b83cb985730e19a83651da319d4bcb9c
23343 Author: Martin Pitt <martin.pitt@ubuntu.com>
23344 Date: Wed Mar 2 16:29:00 2011 +0100
23346 Fix uninitialized variable in gi.require_version()
23348 gi/__init__.py | 3 ++-
23349 1 file changed, 2 insertions(+), 1 deletion(-)
23351 commit 6e7606ee8830f6f51b777f41f6df2f6ea1784e89
23352 Author: Martin Pitt <martin.pitt@ubuntu.com>
23353 Date: Tue Mar 1 23:26:07 2011 +0100
23355 Run tests with LC_MESSAGES="C"
23357 Some tests, such as tests/test_gdbus.py check parts of error messages
23359 visible strings. Ensure that these do not get translated in the
23362 tests/runtests.py | 2 ++
23363 1 file changed, 2 insertions(+)
23365 commit 0461e05174637ae02f34029b85ba217d5ae48c53
23366 Author: John (J5) Palmieri <johnp@redhat.com>
23367 Date: Mon Feb 28 18:21:43 2011 -0500
23369 [gi-overrides] override Gtk.stock_lookup to not return success
23371 demos/gtk-demo/demos/combobox.py | 2 +-
23372 gi/overrides/Gtk.py | 9 +++++++++
23373 2 files changed, 10 insertions(+), 1 deletion(-)
23375 commit 40decf3501823004a6e4d3acbbf204c4d4d0a7ec
23376 Author: John (J5) Palmieri <johnp@redhat.com>
23377 Date: Mon Feb 28 14:16:00 2011 -0500
23379 update NEWS to reflect changes in the 2.27.91 release (PYGOBJECT_2_28
23382 NEWS | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
23383 1 file changed, 50 insertions(+)
23385 commit c2d5122b8e3cf51ec52418f90f1788895b842b6a
23386 Author: John (J5) Palmieri <johnp@redhat.com>
23387 Date: Mon Feb 28 14:08:05 2011 -0500
23389 [gi-tests] use Gdk.test_simulate_button instead of emitting event
23392 * this function is available specifically so we can test events so
23394 instead of creating our own button press event
23396 tests/test_overrides.py | 9 +++++----
23397 1 file changed, 5 insertions(+), 4 deletions(-)
23399 commit 1be1a2ea2787dffeb71ab4a38233fb71e761bd21
23400 Author: Laszlo Pandy <lpandy@src.gnome.org>
23401 Date: Thu Feb 24 19:30:32 2011 +0100
23403 [gi-tests] tests for EventButton override.
23405 * John (J5) Palmieri - fixed up original patch so that we actually
23406 emit the event instead of just creating a Gdk.ButtonEvent object
23408 https://bugzilla.gnome.org/show_bug.cgi?id=642554
23410 tests/test_overrides.py | 21 +++++++++++++++++++++
23411 1 file changed, 21 insertions(+)
23413 commit 99044a4860dd65c97f52b41b7cd3f216f4a97cd4
23414 Author: John (J5) Palmieri <johnp@redhat.com>
23415 Date: Wed Feb 23 18:43:27 2011 -0500
23417 [gi-overrides] Add event methods to all event union members
23419 https://bugzilla.gnome.org/show_bug.cgi?id=642554
23421 gi/overrides/Gdk.py | 70
23422 +++++++++++++++++++++++++++++++++++++++++++++++++++++
23423 1 file changed, 70 insertions(+)
23425 commit 6e30c69d38fd382414eb820097c297a80be547ac
23426 Author: John (J5) Palmieri <johnp@redhat.com>
23427 Date: Wed Feb 23 14:14:16 2011 -0500
23429 [gi] check to see if object is a member of a union when validating
23432 * union members are not subclasses of the union they belong to so
23434 inteface requires you pass a union but you pass one of its members
23435 there will be a type error
23436 * this patch checks to see if the type you are passing is a member
23438 union and passes the checks if it is
23439 * this works in python 3 but in python 2 methods do their own
23441 check on the instance parameter (e.g. self) so we need to figure
23442 out how to override that for union methods
23443 (e.g. Gdk.Event.get_state)
23445 https://bugzilla.gnome.org/show_bug.cgi?id=642554
23447 gi/pygi-argument.c | 38 ++++++++++++++++++++++++++++++++++++++
23448 1 file changed, 38 insertions(+)
23450 commit 525f21d1365c24488b768955362085bf82512dee
23451 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23452 Date: Wed Feb 16 09:44:12 2011 +0100
23454 Skip interfaces when checking for conflicts in the MRO
23456 https://bugzilla.gnome.org/show_bug.cgi?id=642437
23458 gi/types.py | 40 ++++++++++++++++++++++++++++++++++++++++
23459 gobject/gobjectmodule.c | 9 +++++++--
23460 tests/test_gi.py | 16 ++++++++++++++++
23461 3 files changed, 63 insertions(+), 2 deletions(-)
23463 commit da212024772a7a0c32f04f3589bfb24d2eb5706f
23464 Author: Laszlo Pandy <lpandy@src.gnome.org>
23465 Date: Thu Feb 24 18:46:15 2011 +0100
23467 [gi] Remove DyanmicModule.load() to _load() to prevent overriding
23470 gi/importer.py | 2 +-
23471 gi/module.py | 2 +-
23472 2 files changed, 2 insertions(+), 2 deletions(-)
23474 commit 2ce6b58c7427cf67ba4f55731ba0a4c04703e495
23475 Author: Laszlo Pandy <lpandy@src.gnome.org>
23476 Date: Wed Feb 23 12:05:03 2011 +0100
23478 Test case with John's fix for crash with C arrays and a GError is set.
23480 I have added a test case, and made a few fixes to John's patch,
23482 solution is the same his.
23484 Workaround a bug when freeing C array types
23486 * This is a hack and there is really no way around it without
23488 the current array handling code which spans between pygi-invoke.c
23490 pygi-argument.c and completely rewriting it.
23491 * The is no time before our stable release
23492 * This patch trades a segfault for a leak in the very unusual
23494 an error occures inside an interface that takes one or more C
23496 we wrap C arrays in GArrays internally but have to unwrap them
23498 to the introspected C function, there is a period of time where
23500 can occure with the C array in an unknown state (some being true
23502 and others still wrapped in a GArray)
23503 * This patch adds a c_arrays_are_wrapped state to signal that it
23505 free them. However since c_arrays_are_wrapped can only track
23507 as a group, not individually, if it is set to FALSE we can
23509 that every array is a pure C array, so instead we will simply
23511 to avoid incorrectly freeing one and causing a segfault.
23512 * This issue is fixed in the invoke rewrite branch as it treats
23514 GArrays separately, however that branch is not yet ready to be
23516 won't be until the next release.
23518 https://bugzilla.gnome.org/show_bug.cgi?id=642708
23520 gi/pygi-invoke.c | 54
23521 ++++++++++++++++++++++++++++++++++++++++++++++++++----
23522 tests/test_gi.py | 9 +++++++++
23523 2 files changed, 59 insertions(+), 4 deletions(-)
23525 commit 702a89beca92cab6b0142829b20281b9245f28b8
23526 Author: John (J5) Palmieri <johnp@redhat.com>
23527 Date: Wed Feb 23 15:11:59 2011 -0500
23529 [gi-overrides] fix setting rows in treeview to accept None as a value
23531 * as done in PyGTK None indicates the column should not be set
23533 gi/overrides/Gtk.py | 3 +++
23534 tests/test_overrides.py | 18 +++++++++++++-----
23535 2 files changed, 16 insertions(+), 5 deletions(-)
23537 commit 498f0d9c903131aca5efe27ffaad7620e40f72ea
23538 Author: Laszlo Pandy <lpandy@src.gnome.org>
23539 Date: Wed Feb 23 14:23:19 2011 +0100
23541 [gi] Add value_name for enum and flags from introspection
23542 "c:identifier" (if attr is available).
23544 gi/gimodule.c | 22 ++++++++++++++++++----
23545 tests/test_gi.py | 36 ++++++++++++++++++++++++++++++++++++
23546 2 files changed, 54 insertions(+), 4 deletions(-)
23548 commit 824aeb7fab17d6590e5babf2d1f64298f2d0e16b
23549 Author: Laszlo Pandy <lpandy@src.gnome.org>
23550 Date: Wed Feb 23 11:40:55 2011 +0100
23552 Fix flags with multiple names for the same value.
23554 Flags constructs a dict __flags_values__ and uses it to cache
23555 instances. However some flags in Glib such as G_IO_FLAG_MASK and
23556 G_IO_FLAG_GET_MASK are aliases for the same int value, and will
23557 override each other's place in the dictionary.
23559 The dict length check is not necessary. It only reduces the number
23560 of duplicate instances we keep, because if an instance is not
23561 found in the dict, a new one is created anyway.
23563 gobject/pygflags.c | 2 +-
23564 1 file changed, 1 insertion(+), 1 deletion(-)
23566 commit 3afbebeee486e14fd3f48552368903eb78f6b10c
23567 Author: Laszlo Pandy <lpandy@src.gnome.org>
23568 Date: Tue Feb 22 21:37:33 2011 +0100
23570 Don't force loading of DynamicModule until set in sys.modules
23572 This fixes Tomeu's previous commit, which removed lazy loading.
23573 Forcing the loading of a module before it is installed in sys.modules
23574 prevents some overrides from being registered (namely Gtk.main_quit).
23576 https://bugzilla.gnome.org/show_bug.cgi?id=642305
23578 gi/importer.py | 2 +-
23579 1 file changed, 1 insertion(+), 1 deletion(-)
23581 commit 2a9cbfb435b47dc646e2c6ffe630464b560229a6
23582 Author: John (J5) Palmieri <johnp@redhat.com>
23583 Date: Mon Feb 21 17:20:57 2011 -0500
23585 use GValue support to marshal GtkTreeModel values correctly
23587 * needs patch from https://bugzilla.gnome.org/show_bug.cgi?id=642914
23589 https://bugzilla.gnome.org/show_bug.cgi?id=642921
23591 gi/overrides/Gtk.py | 37 ++++++++++++++++++---
23592 tests/test_overrides.py | 87
23593 +++++++++++++++++++++++++++++++++++++++++--------
23594 2 files changed, 107 insertions(+), 17 deletions(-)
23596 commit 9e4ce7dc0f03ea407654c4af028122f57cbc4c5e
23597 Author: John (J5) Palmieri <johnp@redhat.com>
23598 Date: Mon Feb 21 16:14:20 2011 -0500
23600 [gi] pass raw GValues instead of trying to marshal them
23602 * Right now GValues are transparent to the user but this leave us no
23603 way to describe fundimental types other than those supported
23605 by python (e.g. int, str, etc)
23606 * If an interface is expecting a uint or other GValue type a user
23608 the raw GValue interfaces and expect paramaters that take
23610 marshal them correctly e.g.:
23611 value = GObject.Value()
23612 value.int(GObject.TYPE_UINT)
23613 value.set_uint(1234)
23614 * The objective here is to not for users to use this API but for
23616 to be able to utilize them. For instance in the TreeModel API
23618 get the expected type for a column and them create a GValue with
23620 type so that he underlying python object is marshalled correctly.
23622 https://bugzilla.gnome.org/show_bug.cgi?id=642914
23624 gi/pygi-argument.c | 24 ++++++++++++++++++------
23625 tests/test_gi.py | 9 ++++++++-
23626 2 files changed, 26 insertions(+), 7 deletions(-)
23628 commit b458f6f3424a04f6ceece09d443009372d70544c
23629 Author: John (J5) Palmieri <johnp@redhat.com>
23630 Date: Sat Feb 19 19:42:41 2011 -0500
23632 [gi-demos] add icon view edit and drag-and-drop demo
23634 demos/gtk-demo/demos/Icon View/__init__.py | 0
23635 demos/gtk-demo/demos/Icon View/iconviewedit.py | 101
23636 +++++++++++++++++++++++++
23637 2 files changed, 101 insertions(+)
23639 commit 7b47289e25d1dd57ce15556ccfbb3ede1c4bfe8b
23640 Author: John (J5) Palmieri <johnp@redhat.com>
23641 Date: Sat Feb 19 17:26:42 2011 -0500
23643 [gi-demos] add info bars demo
23645 demos/gtk-demo/demos/infobars.py | 99
23646 ++++++++++++++++++++++++++++++++++++++++
23647 1 file changed, 99 insertions(+)
23649 commit 76758efb6579752237a0dc4d56cf9518de6c6e55
23650 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23651 Date: Wed Feb 16 11:53:18 2011 +0100
23653 Load typelibs at import time, add gi.require_version()
23655 also adds Repository.get_loaded_namespaces()
23657 https://bugzilla.gnome.org/show_bug.cgi?id=642305
23659 gi/__init__.py | 29 ++++++++++++++++++++++++++++-
23660 gi/importer.py | 1 +
23661 gi/module.py | 21 ++++-----------------
23662 gi/pygi-repository.c | 23 +++++++++++++++++++++++
23663 4 files changed, 56 insertions(+), 18 deletions(-)
23665 commit 96f7d1aed732db09a74cd463ed894b7347dbcb15
23666 Author: Laszlo Pandy <lpandy@src.gnome.org>
23667 Date: Sat Feb 19 23:11:25 2011 +0100
23669 [gi] Register GType for non-GType enums and flags at runtime.
23671 Note: rebuild of gobject-introspection is required for new tests.
23673 Previously non-GType enums used a separate type implemented in
23674 Python, and non-GType flags had no implementation at all. This
23675 removes the separate type for enums, and registers a new GType at
23676 runtime if there isn't one.
23678 This allows non-GType enums and flags to use the same Python type
23679 as GType enums and flags. This removes duplication of code, and
23680 make both kinds behave identically.
23682 https://bugzilla.gnome.org/show_bug.cgi?id=642607
23684 gi/gimodule.c | 117
23685 +++++++++++++++++++++++++++++++++++++++++++++++++++++
23686 gi/module.py | 24 ++++++-----
23687 gi/pygi-info.c | 15 +++++++
23688 gi/types.py | 16 --------
23689 gobject/pygflags.c | 13 ++++--
23690 tests/test_gi.py | 35 ++++++++++++++++
23691 6 files changed, 191 insertions(+), 29 deletions(-)
23693 commit 63a60bcc20e724f96ea8d565ee0cf13a228b72b9
23694 Author: Martin Pitt <martin.pitt@ubuntu.com>
23695 Date: Tue Feb 8 15:38:21 2011 +0100
23697 [gi] Add Pythonic gdbus method invocation
23699 Provide a wrapper for Gio.DBusProxy for calling D-Bus methods like
23701 Python object. This will handle the Python object <-> GVariant
23703 optional keyword arguments for flags, timeout, and a result handler
23705 asynchronous calls.
23707 Require specifying the input argument signature as the first argument
23709 method call. This ensures that the types of e. g. integers are
23711 and avoids having to do expensive D-Bus introspection for each call.
23713 https://bugzilla.gnome.org/show_bug.cgi?id=640181
23715 gi/overrides/Gio.py | 99
23716 ++++++++++++++++++++++++++++++++++++++++++++++++++
23717 tests/test_gdbus.py | 102
23718 ++++++++++++++++++++++++++++++++++++++++++++++++++--
23719 2 files changed, 199 insertions(+), 2 deletions(-)
23721 commit ed5cdbb6f52bdbd13521a814516b15687955d6f7
23722 Author: Laszlo Pandy <lpandy@src.gnome.org>
23723 Date: Fri Feb 18 22:48:59 2011 +0100
23725 Skip GError out parameters in Python closure.
23727 Python code should have never have to explicitely return a GError.
23728 Once we are able to marshal exceptions the Python code should
23729 throw an exception instead. Until then, set GError to NULL, and
23730 don't complain if a Python function doesn't return an arg for it.
23732 https://bugzilla.gnome.org/show_bug.cgi?id=642715
23734 gi/pygi-closure.c | 8 ++++++++
23735 1 file changed, 8 insertions(+)
23737 commit 5a5ee3877e22939a697772a7f0630ef8cae3d52f
23738 Author: Laszlo Pandy <lpandy@src.gnome.org>
23739 Date: Fri Feb 18 10:15:59 2011 +0100
23741 Fix runtests.py to work with Python3 (print function syntax error).
23743 tests/runtests.py | 2 +-
23744 1 file changed, 1 insertion(+), 1 deletion(-)
23746 commit ad5d3fccff9433e2dadac89d731dac5cafb0eac3
23747 Author: John (J5) Palmieri <johnp@redhat.com>
23748 Date: Thu Feb 17 19:46:49 2011 -0500
23750 [gi-demos] added rotate text demo
23752 * needs some Pango Attr fixes to be 100% done, See FIXME
23754 demos/gtk-demo/demos/rotatedtext.py | 196
23755 ++++++++++++++++++++++++++++++++++++
23756 1 file changed, 196 insertions(+)
23758 commit 9ac11c3c3b1c0399c85ece57c0983ed60d419d7a
23759 Author: John (J5) Palmieri <johnp@redhat.com>
23760 Date: Thu Feb 17 17:25:00 2011 -0500
23762 [gi-demos] add images demo
23764 * needs annotation fix from GdkPixbuf for ImageLoader to work
23766 demos/gtk-demo/demos/images.py | 311
23767 +++++++++++++++++++++++++++++++++++++++++
23768 1 file changed, 311 insertions(+)
23770 commit 13b06170b89b3468e6255be32af4833ffc675c9d
23771 Author: John (J5) Palmieri <johnp@redhat.com>
23772 Date: Thu Feb 17 14:48:24 2011 -0500
23774 [gi-demos] add pixbuf demo
23776 demos/gtk-demo/demos/pixbuf.py | 183
23777 +++++++++++++++++++++++++++++++++++++++++
23778 1 file changed, 183 insertions(+)
23780 commit 7abcfd5b4db99bb0f50c5a47d346a2de3836f994
23781 Author: John (J5) Palmieri <johnp@redhat.com>
23782 Date: Thu Feb 17 14:47:12 2011 -0500
23784 [gi-demos] remove fixmes from print demo, fixed in pango
23786 demos/gtk-demo/demos/printing.py | 10 +++-------
23787 1 file changed, 3 insertions(+), 7 deletions(-)
23789 commit 9b13f49356da7d71c69b82da2a59d92f456a6913
23790 Author: John (J5) Palmieri <johnp@redhat.com>
23791 Date: Wed Feb 16 19:39:30 2011 -0500
23793 [gi-demos] add printing demo
23795 * needs some annotations for pango before it is 100% useful
23797 demos/gtk-demo/demos/printing.py | 177
23798 +++++++++++++++++++++++++++++++++++++++
23799 1 file changed, 177 insertions(+)
23801 commit 6025b62ee662af347e48b6752e6d5be74b4a8215
23802 Author: John (J5) Palmieri <johnp@redhat.com>
23803 Date: Wed Feb 16 17:52:38 2011 -0500
23805 [gi-overrides] add cursor overrides
23807 https://bugzilla.gnome.org/show_bug.cgi?id=635947
23809 gi/overrides/Gdk.py | 41 +++++++++++++++++++++++++++++++++++++++++
23810 tests/test_overrides.py | 23 +++++++++++++++++++++++
23811 2 files changed, 64 insertions(+)
23813 commit 03c0aa498470037ef2aa6a8233198ff521f8d42f
23814 Author: John (J5) Palmieri <johnp@redhat.com>
23815 Date: Wed Feb 16 16:18:24 2011 -0500
23817 [gi-demos] add the links demo
23819 demos/gtk-demo/demos/links.py | 74
23820 +++++++++++++++++++++++++++++++++++++++++++
23821 1 file changed, 74 insertions(+)
23823 commit 79ecddf8d54b3f4f8b5ef05d302675152622c832
23824 Author: John (J5) Palmieri <johnp@redhat.com>
23825 Date: Wed Feb 16 15:48:40 2011 -0500
23827 [gi-demos] add expander demo
23829 demos/gtk-demo/demos/expander.py | 60
23830 ++++++++++++++++++++++++++++++++++++++++
23831 1 file changed, 60 insertions(+)
23833 commit 76cdb13ab872f91f8384d26b0f2932087a746117
23834 Author: John (J5) Palmieri <johnp@redhat.com>
23835 Date: Wed Feb 16 15:14:35 2011 -0500
23837 [gi-overrides] use pop instead of del and add extra tests for
23840 gi/overrides/Gtk.py | 6 ++----
23841 tests/test_overrides.py | 8 ++++++++
23842 2 files changed, 10 insertions(+), 4 deletions(-)
23844 commit 6ef83c049735689c42f085ca9d7b8e1f251c410f
23845 Author: Laszlo Pandy <lpandy@src.gnome.org>
23846 Date: Tue Feb 15 20:07:42 2011 +0100
23848 [tests] Separate processes for GI and static binding tests.
23850 Importing and using both static gobject bindings and
23851 introspection GObject bindings in the same process can cause
23852 conflicts with types which otherwise wouldn't be there.
23854 This patch changes "make check" to call runtests.py twice -- once
23855 for each set of tests.
23857 In the case of a test failure, runtests.py now sets the exit code
23858 so that make does not continue. Otherwise you might miss the
23859 failures from the first batch of tests in the scrollback.
23861 tests/Makefile.am | 19 +++++++++++--------
23862 tests/runtests.py | 4 +++-
23863 2 files changed, 14 insertions(+), 9 deletions(-)
23865 commit e0896b45f60f37097ec521f1bc38778383b78dd8
23866 Author: John (J5) Palmieri <johnp@redhat.com>
23867 Date: Tue Feb 15 14:47:10 2011 -0500
23869 [gi-demos] add dialogs demo
23871 demos/gtk-demo/demos/dialogs.py | 153
23872 ++++++++++++++++++++++++++++++++++++++++
23873 1 file changed, 153 insertions(+)
23875 commit 2dea743e82f6b18697950c34f116b2d0f1d6b1dd
23876 Author: John (J5) Palmieri <johnp@redhat.com>
23877 Date: Tue Feb 15 14:46:41 2011 -0500
23879 [gi-overrides] fix typo in GtkTable constructor
23881 gi/overrides/Gtk.py | 8 ++++----
23882 1 file changed, 4 insertions(+), 4 deletions(-)
23884 commit 9c277e1782c5a9d672d91fabf5289c5415891682
23885 Author: John (J5) Palmieri <johnp@redhat.com>
23886 Date: Tue Feb 15 13:26:38 2011 -0500
23888 [gi-demos] keep popup menu from destroying itself by holding a ref
23891 demos/gtk-demo/demos/clipboard.py | 8 ++++----
23892 1 file changed, 4 insertions(+), 4 deletions(-)
23894 commit 18800c4db0e1faea38fd84f635d26a7ded5d10de
23895 Author: John (J5) Palmieri <johnp@redhat.com>
23896 Date: Tue Feb 15 13:25:13 2011 -0500
23898 [gi-overrides] add a Gtk.Menu override for the popup method
23900 gi/overrides/Gtk.py | 7 +++++++
23901 1 file changed, 7 insertions(+)
23903 commit ad93386ba9f73ef4c3826544b3868cf03c01225e
23904 Author: John (J5) Palmieri <johnp@redhat.com>
23905 Date: Tue Feb 15 13:24:33 2011 -0500
23907 [gi-demos] fix the about dialog in appwindow demo
23909 demos/gtk-demo/demos/appwindow.py | 22 +++++++++-------------
23910 1 file changed, 9 insertions(+), 13 deletions(-)
23912 commit d0c45c80974f05b6adfd3bb01d785be268a53a98
23913 Author: John (J5) Palmieri <johnp@redhat.com>
23914 Date: Tue Feb 15 11:21:13 2011 -0500
23916 [gi-demos] fix clipboard demo so DnD works
23918 * menu popups don't work because the API takes a callback without
23922 demos/gtk-demo/demos/clipboard.py | 20 ++++++++++----------
23923 1 file changed, 10 insertions(+), 10 deletions(-)
23925 commit 02d0327508234ab2e3b7dc6de506d70e6fcaaa17
23926 Author: John (J5) Palmieri <johnp@redhat.com>
23927 Date: Tue Feb 15 10:18:53 2011 -0500
23929 [gi-demos] fix clipboard demo to reflect new API
23931 demos/gtk-demo/demos/clipboard.py | 6 +++---
23932 1 file changed, 3 insertions(+), 3 deletions(-)
23934 commit aa006cad6990eff0cbb68fa9550e428f2bc96473
23935 Author: John (J5) Palmieri <johnp@redhat.com>
23936 Date: Mon Feb 14 18:17:20 2011 -0500
23938 [gi-demo] Fix color dialog demo to run with new draw, style and
23941 demos/gtk-demo/demos/colorselector.py | 44
23942 ++++++++++++++---------------------
23943 1 file changed, 17 insertions(+), 27 deletions(-)
23945 commit f94a96c53e9432ac085bd05acee7ebdd2803fbad
23946 Author: John (J5) Palmieri <johnp@redhat.com>
23947 Date: Mon Feb 14 17:58:25 2011 -0500
23949 [gi-demos] fix most of the combobox app
23951 * Still having some issues with filtering the ComboBoxText widget
23953 demos/gtk-demo/demos/combobox.py | 17 ++++++++---------
23954 1 file changed, 8 insertions(+), 9 deletions(-)
23956 commit 3606eb20ad1651af621bf1aa429ec102082565eb
23957 Author: Laszlo Pandy <lpandy@src.gnome.org>
23958 Date: Mon Feb 14 19:36:27 2011 +0100
23960 Use PyGI type conversion (to fix foreign types) for signal callbacks.
23962 First attempt at patch to fix foreign types in signal callbacks.
23963 Tests are not implemented yet.
23965 https://bugzilla.gnome.org/show_bug.cgi?id=637601
23967 gi/Makefile.am | 2 +
23968 gi/gimodule.c | 1 +
23969 gi/pygi-argument.c | 91 ++++++++++++++++++
23970 gi/pygi-argument.h | 2 +
23971 gi/pygi-private.h | 1 +
23972 gi/pygi-signal-closure.c | 245
23973 +++++++++++++++++++++++++++++++++++++++++++++++
23974 gi/pygi-signal-closure.h | 46 +++++++++
23975 gi/pygi.h | 28 ++++++
23976 gobject/pygobject.c | 24 ++++-
23977 9 files changed, 436 insertions(+), 4 deletions(-)
23979 commit 2e39d5e8f96be2253acb2f34a0d0b5b9c9adb8ff
23980 Author: John (J5) Palmieri <johnp@redhat.com>
23981 Date: Mon Feb 14 16:47:03 2011 -0500
23983 [gi-demos] fix drawingarea app to use the new draw api
23985 demos/gtk-demo/demos/drawingarea.py | 144
23986 +++++++++++++-----------------------
23987 1 file changed, 50 insertions(+), 94 deletions(-)
23989 commit 8385afbbc5df295d9b7cd3b5d19c90faa1f7ea8e
23990 Author: John (J5) Palmieri <johnp@redhat.com>
23991 Date: Mon Feb 14 16:43:35 2011 -0500
23993 [gi-overrides] for Gtk 3 alias Gdk.Rectangle to cairo.RectangleInt
23995 * note this is the introspected gobject-cairo boxed type not the
23998 * we alias this so people do not get confused
24000 gi/overrides/Gdk.py | 5 +++++
24001 1 file changed, 5 insertions(+)
24003 commit d491c369e049ab726f09002af0462391d5c2f3ec
24004 Author: John (J5) Palmieri <johnp@redhat.com>
24005 Date: Mon Feb 14 15:07:11 2011 -0500
24007 [gi-overrides] let user set the proper property names in Gtk.Table
24009 * the old override added a columns and rows parameters to the Table
24011 to be in sync with PyGtk.
24012 * The GTK properties are n_columns and n_rows
24015 gi/overrides/Gtk.py | 8 ++++++++
24016 1 file changed, 8 insertions(+)
24018 commit 95bc2b2b025d659725d701c3b759c0c4d9681a36
24019 Author: John (J5) Palmieri <johnp@redhat.com>
24020 Date: Mon Feb 14 15:06:38 2011 -0500
24022 [gi-demos] get appwindow demo working again
24024 demos/gtk-demo/demos/appwindow.py | 24 ++++--------------------
24025 1 file changed, 4 insertions(+), 20 deletions(-)
24027 commit 015185f502c498c21cb108d3bb288c5b6dbf202f
24028 Author: John (J5) Palmieri <johnp@redhat.com>
24029 Date: Mon Feb 14 15:05:44 2011 -0500
24031 [gi-demos] fixed use of tree_iter_get
24033 demos/gtk-demo/gtk-demo.py | 2 +-
24034 1 file changed, 1 insertion(+), 1 deletion(-)
24036 commit 0c20977e4598e5447dd07c069e91226efacb1160
24037 Author: Simon van der Linden <svdlinden@gnome.org>
24038 Date: Fri Feb 11 22:02:03 2011 +0100
24040 Remove last GIO-related bits
24042 https://bugzilla.gnome.org/show_bug.cgi?id=638899
24046 configure.ac | 3 --
24047 examples/gio/directory-async.py | 33 ------------------
24048 examples/gio/downloader.py | 77
24049 -----------------------------------------
24050 pygobject.doap | 2 +-
24051 6 files changed, 3 insertions(+), 117 deletions(-)
24053 commit e4ebbd7de5570af1abf41bdf9469d4ce3edd48cb
24054 Author: Simon van der Linden <svdlinden@gnome.org>
24055 Date: Fri Feb 11 18:38:27 2011 +0100
24057 Remove GIO documentation
24059 https://bugzilla.gnome.org/show_bug.cgi?id=638899
24061 docs/Makefile.am | 82 +-
24062 docs/reference/pygio-appinfo.xml | 894 -----
24063 docs/reference/pygio-applaunchcontext.xml | 194 --
24064 docs/reference/pygio-asyncresult.xml | 117 -
24065 docs/reference/pygio-bufferedinputstream.xml | 461 ---
24066 docs/reference/pygio-bufferedoutputstream.xml | 275 --
24067 docs/reference/pygio-cancellable.xml | 290 --
24068 docs/reference/pygio-classes.xml | 47 -
24069 docs/reference/pygio-constants.xml | 1540 ---------
24070 docs/reference/pygio-datainputstream.xml | 799 -----
24071 docs/reference/pygio-dataoutputstream.xml | 504 ---
24072 docs/reference/pygio-drive.xml | 546 ---
24073 docs/reference/pygio-emblem.xml | 232 --
24074 docs/reference/pygio-emblemedicon.xml | 160 -
24075 docs/reference/pygio-file.xml | 4534
24076 -------------------------
24077 docs/reference/pygio-fileattributeinfo.xml | 73 -
24078 docs/reference/pygio-fileenumerator.xml | 488 ---
24079 docs/reference/pygio-fileicon.xml | 109 -
24080 docs/reference/pygio-fileinfo.xml | 346 --
24081 docs/reference/pygio-fileinputstream.xml | 214 --
24082 docs/reference/pygio-filemonitor.xml | 128 -
24083 docs/reference/pygio-fileoutputstream.xml | 257 --
24084 docs/reference/pygio-filterinputstream.xml | 152 -
24085 docs/reference/pygio-filteroutputstream.xml | 152 -
24086 docs/reference/pygio-functions.xml | 395 ---
24087 docs/reference/pygio-icon.xml | 217 --
24088 docs/reference/pygio-inputstream.xml | 730 ----
24089 docs/reference/pygio-loadableicon.xml | 198 --
24090 docs/reference/pygio-memoryinputstream.xml | 151 -
24091 docs/reference/pygio-memoryoutputstream.xml | 175 -
24092 docs/reference/pygio-mount.xml | 962 ------
24093 docs/reference/pygio-mountoperation.xml | 726 ----
24094 docs/reference/pygio-outputstream.xml | 140 -
24095 docs/reference/pygio-seekable.xml | 231 --
24096 docs/reference/pygio-simpleasyncresult.xml | 317 --
24097 docs/reference/pygio-themedicon.xml | 204 --
24098 docs/reference/pygio-unixinputstream.xml | 202 --
24099 docs/reference/pygio-unixoutputstream.xml | 202 --
24100 docs/reference/pygio-volume.xml | 718 ----
24101 docs/reference/pygio-volumemonitor.xml | 844 -----
24102 docs/reference/pygiounix-classes.xml | 13 -
24103 docs/reference/pygobject-ref.xml | 2 -
24104 42 files changed, 1 insertion(+), 19020 deletions(-)
24106 commit abdebc7f6515f9658812c0355d8ad0892e5371e4
24107 Author: John (J5) Palmieri <johnp@redhat.com>
24108 Date: Fri Feb 11 11:05:04 2011 -0500
24110 bump version to reflect the master branch moving towards pygobject 3.0
24112 * added NEWS file from branch pygobject-2-28
24114 * this branch will drop support for the static binding
24115 * use the pygobject-2-28 branch for static binding fixes
24118 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
24119 configure.ac | 4 +-
24120 2 files changed, 291 insertions(+), 2 deletions(-)
24122 commit 16140237aa45b4f188923da9f95b9d2af971011b
24123 Author: John (J5) Palmieri <johnp@redhat.com>
24124 Date: Thu Feb 10 16:46:08 2011 -0500
24126 fix build to correctly use python-config
24129 configure.ac | 6 ------
24130 m4/python.m4 | 9 +++++----
24131 tests/runtests.py | 1 +
24132 4 files changed, 9 insertions(+), 10 deletions(-)
24134 commit c2079f415638ef892b1e51f25eaafa3e1621667f
24135 Author: Simon van der Linden <svdlinden@gnome.org>
24136 Date: Thu Feb 10 22:26:00 2011 +0100
24138 Add missing libraries to link against
24140 glib/Makefile.am | 2 +-
24141 gobject/Makefile.am | 1 +
24142 2 files changed, 2 insertions(+), 1 deletion(-)
24144 commit 3cca62a9e7afd3d3d302c66f4fafe253f7743d4e
24145 Author: Steve Frécinaux <code@istique.net>
24146 Date: Wed Jan 19 15:00:56 2011 +0100
24148 Make runtests.py able to run command-line provided test files
24150 With this patch we are now able to run ./runtests.py <somefile>, which
24151 is more friendly than defining an environment variable to run some
24154 https://bugzilla.gnome.org/show_bug.cgi?id=639948
24156 tests/runtests.py | 9 +++++++++
24157 1 file changed, 9 insertions(+)
24159 commit 14c4cf8e6edae893538680964380d543bde4a14d
24160 Author: Martin Pitt <martin.pitt@ubuntu.com>
24161 Date: Wed Feb 9 11:34:59 2011 +0100
24163 Run test suite under dbus-launch
24165 When available, run the test suite in dbus-launch, so that the
24167 succeed even when building this in an environment without a running
24169 D-BUS (such as distribution package builds).
24171 tests/Makefile.am | 3 ++-
24172 1 file changed, 2 insertions(+), 1 deletion(-)
24174 commit 0858f550e2b6f75e3f583f963f5952f5ddae4e0e
24175 Author: Martin Pitt <martin.pitt@ubuntu.com>
24176 Date: Tue Feb 8 15:46:36 2011 +0100
24178 Fix test_gdbus.py to be Python3 friendly
24180 - TestCase.assert_() has been deprecated by assertTrue().
24181 - Exceptions don't have a message attribute any more, use str(e)
24183 tests/test_gdbus.py | 34 +++++++++++++++-------------------
24184 1 file changed, 15 insertions(+), 19 deletions(-)
24186 commit b7f32e4cca0cef201489b55653f96ac64a8f9ab9
24187 Author: Martin Pitt <martin.pitt@ubuntu.com>
24188 Date: Sat Jan 29 12:20:50 2011 +0100
24190 [gi] Provide comfortable GSettings API
24192 Make Gio.Settings behave like a dictionary, with transparent
24194 GVariants. Also provide a more comfortable constructor.
24196 https://bugzilla.gnome.org/show_bug.cgi?id=640838
24198 gi/overrides/Gio.py | 54 +++++++++++++++++++++++++++++
24199 tests/org.gnome.test.gschema.xml | 9 +++++
24200 tests/test_overrides.py | 73
24201 ++++++++++++++++++++++++++++++++--------
24202 3 files changed, 122 insertions(+), 14 deletions(-)
24204 commit 8dad0eaed60a9de26e9a729a48a1f6bc74be486e
24205 Author: Laszlo Pandy <lpandy@src.gnome.org>
24206 Date: Fri Feb 4 16:36:07 2011 +0100
24208 Fix vfunc search bug when using GInterfaces and a do_* method.
24210 If a class inherits from a GInterface, as well as implements a do_*
24211 method (which is not in a super class), all the base interfaces
24212 will be searched for an __info__ attribute. GInterface doesn't
24213 have one, causing an error on class creation.
24215 https://bugzilla.gnome.org/show_bug.cgi?id=641493
24217 gi/types.py | 4 +++-
24218 tests/test_gi.py | 8 ++++++++
24219 2 files changed, 11 insertions(+), 1 deletion(-)
24221 commit 2660be1f227be7a53092483bc9d8ead1bd1fb266
24222 Author: Laszlo Pandy <lpandy@src.gnome.org>
24223 Date: Thu Feb 3 15:31:42 2011 +0100
24225 [GI] Add tests for Gtk.Widget.drag_* methods.
24227 Previously all the drag_* methods were accessible as Gtk.drag_*.
24228 Now that the (method) attribute has been included for these
24229 methods in Gtk+, this test checks that they are included as class
24230 methods when using pygobject introspection.
24232 https://bugzilla.gnome.org/show_bug.cgi?id=639945
24234 tests/test_overrides.py | 40 ++++++++++++++++++++++++++++++++++++++++
24235 1 file changed, 40 insertions(+)
24237 commit d57500537014b3da624be33b40401ba289fa22b8
24238 Author: John (J5) Palmieri <johnp@redhat.com>
24239 Date: Thu Feb 3 09:02:16 2011 -0500
24241 [gi] make caller allocates work again
24243 gi/pygi-cache.c | 18 +++---------------
24244 gi/pygi-invoke.c | 37 ++++++++++++++++++++++++++++++++++---
24245 2 files changed, 37 insertions(+), 18 deletions(-)
24247 commit 99d6e6c8d806e6f9e48c3c2380024fb3511d110a
24248 Author: John (J5) Palmieri <johnp@redhat.com>
24249 Date: Wed Feb 2 19:27:40 2011 -0500
24251 [gi] fix container object reffing
24253 gi/pygi-argument.c | 7 +++----
24254 gi/pygi-cache.c | 12 ++++--------
24255 2 files changed, 7 insertions(+), 12 deletions(-)
24257 commit 09acaff29dfaabc77477cffca2c7137f68991e7f
24258 Author: Ignacio Casal Quinteiro <icq@gnome.org>
24259 Date: Wed Feb 2 21:00:48 2011 +0100
24261 [python 3] use the right syntaxis to raise exceptions
24263 codegen/argtypes.py | 8 ++++----
24264 codegen/definitions.py | 14 +++++++-------
24265 gi/overrides/Gtk.py | 2 +-
24266 3 files changed, 12 insertions(+), 12 deletions(-)
24268 commit 36094e5982d3e05d5662843b6d401f0974f5235f
24269 Author: Ignacio Casal Quinteiro <icq@gnome.org>
24270 Date: Wed Feb 2 20:50:12 2011 +0100
24272 [gi] return PYGLIB_MODULE_ERROR_RETURN on error and use pygobject_init
24274 tests/testhelpermodule.c | 6 +++---
24275 1 file changed, 3 insertions(+), 3 deletions(-)
24277 commit c913c1789296310c2cf27554ce719d7f6e9c94cd
24278 Author: Ignacio Casal Quinteiro <icq@gnome.org>
24279 Date: Wed Feb 2 20:37:21 2011 +0100
24281 [gi] return PYGLIB_MODULE_ERROR_RETURN on error
24283 This is to avoid some warnings when building with python 3
24285 gi/gimodule.c | 6 +++---
24286 1 file changed, 3 insertions(+), 3 deletions(-)
24288 commit 7bc4122897d9d05172a2bd5b56bded87e2afaec4
24289 Author: Steve Frécinaux <code@istique.net>
24290 Date: Sat Jan 29 00:16:50 2011 +0100
24292 Fix wrong refcount when calling introspected widget constructors
24294 Introspected widget constructors, like Gtk.Button.new(), can return
24295 objects with a floating reference, which was then reffed by pygobject,
24296 resulting in two references, despite the object is not owned by
24299 This patch uses ref_sink() when pygobject takes its own reference, to
24300 avoid adding that extra reference. Hence we now claim ownership on
24301 objects returned by constructors with transfer=none (which is the case
24302 for nearly all the widget constructors, despite the floating ref).
24304 https://bugzilla.gnome.org/show_bug.cgi?id=640868
24306 gobject/pygobject.c | 4 +++-
24307 tests/test_everything.py | 9 ++++++++-
24308 2 files changed, 11 insertions(+), 2 deletions(-)
24310 commit afeaaa126f7cd6556fb855ecd0facc174c0f946c
24311 Author: Simon Schampijer <simon@laptop.org>
24312 Date: Wed Jan 19 16:19:46 2011 +0100
24314 Gdk.Window: Map the standard constructor to the *new* constructor
24316 Gdk.Window had to be made abstract
24317 (see c4a36d875235e0bf1e52dbf2fa14d08bfc8bd4ec in gtk),
24318 this override allows using the standard constructor
24320 This commit adds as well a testcase.
24322 https://bugzilla.gnome.org/show_bug.cgi?id=639936
24324 gi/overrides/Gdk.py | 6 ++++++
24325 tests/test_overrides.py | 8 ++++++++
24326 2 files changed, 14 insertions(+)
24328 commit 4a67f45880433905de33632fe0c32a13b44c0b33
24329 Author: John (J5) Palmieri <johnp@redhat.com>
24330 Date: Mon Jan 31 16:51:37 2011 -0500
24332 [gi] handle hash being NULL
24334 gi/pygi-argument.c | 6 ++++++
24335 1 file changed, 6 insertions(+)
24337 commit 2fbfe410f4b4394a2018ada0e538585c1bec23ae
24338 Author: John (J5) Palmieri <johnp@redhat.com>
24339 Date: Mon Jan 31 16:50:52 2011 -0500
24341 [gi] handle the situation where an aux arg comes before its parent
24343 gi/pygi-cache.c | 70
24344 ++++++++++++++++++++++++++++++++++++++++----------------
24345 gi/pygi-invoke.c | 2 +-
24346 2 files changed, 51 insertions(+), 21 deletions(-)
24348 commit 858669f92c9907dd70b4966d6a8521ed122225be
24349 Author: Martin Pitt <martin.pitt@ubuntu.com>
24350 Date: Mon Jan 31 17:38:52 2011 +0100
24352 Ship tests/org.gnome.test.gschema.xml in dist tarballs
24354 tests/Makefile.am | 3 ++-
24355 1 file changed, 2 insertions(+), 1 deletion(-)
24357 commit 77d76df59606e470808085e977fb199cc76e8251
24358 Author: John (J5) Palmieri <johnp@redhat.com>
24359 Date: Sun Jan 30 18:21:24 2011 -0500
24361 [gi] allow caching and marshalling of ghash out
24363 gi/pygi-argument.c | 155
24364 +++++++++++++++++++++++++++++++++++++++++++++++++----
24365 gi/pygi-cache.c | 27 ++++++----
24366 2 files changed, 162 insertions(+), 20 deletions(-)
24368 commit bd66af67f248a3ca90d2fa2626605263c2392e16
24369 Author: John (J5) Palmieri <johnp@redhat.com>
24370 Date: Sun Jan 30 17:06:44 2011 -0500
24372 [gi] whitespace fixes
24374 gi/pygi-cache.c | 60
24375 ++++++++++++++++++++++++++++-----------------------------
24376 1 file changed, 30 insertions(+), 30 deletions(-)
24378 commit 1cdbd4be9b015f792c2c02afa5ac7e24edbdae86
24379 Author: John (J5) Palmieri <johnp@redhat.com>
24380 Date: Sun Jan 30 17:04:13 2011 -0500
24382 [gi] added ugly aux arg counters
24384 * we need to simplify the ffi invoke so we can simply reference args
24385 at their position in the C parameter list
24386 * this works for now but is fragile if new aux values are added in
24389 gi/pygi-argument.c | 12 ++++++++--
24390 gi/pygi-cache.c | 66
24391 +++++++++++++++++++++++++++++++++++++-----------------
24392 gi/pygi-cache.h | 2 ++
24393 gi/pygi-invoke.c | 12 +++++++---
24394 4 files changed, 66 insertions(+), 26 deletions(-)
24396 commit c51447f4efde2ce4caf39c1ffac905ec428d1d64
24397 Author: John (J5) Palmieri <johnp@redhat.com>
24398 Date: Sun Jan 30 11:30:54 2011 -0500
24400 [gi] make inout marshalling work
24402 * refactor cache generation so we can create caches and then fill
24404 values based on if they are in, out or inout
24405 * in invoke we order the pointers based on their direction
24407 gi/pygi-cache.c | 1445
24408 ++++++++++++++++++++++++++----------------------------
24409 gi/pygi-invoke.c | 19 +-
24410 2 files changed, 711 insertions(+), 753 deletions(-)
24412 commit 2b185362de45f46ce0f0b8816499aef06ab1ad1e
24413 Author: John (J5) Palmieri <johnp@redhat.com>
24414 Date: Sat Jan 29 13:49:36 2011 -0500
24416 [gi] marshal arrays out
24418 gi/pygi-argument.c | 101
24419 +++++++++++++++++++++++++++++++++++++++++++++++++++--
24420 1 file changed, 99 insertions(+), 2 deletions(-)
24422 commit e62e7062d5cfd782eac64852f681c63e2776b8d4
24423 Author: John (J5) Palmieri <johnp@redhat.com>
24424 Date: Sat Jan 29 13:48:23 2011 -0500
24426 [gi] fix sequence caching to support out
24428 gi/pygi-cache.c | 111
24429 ++++++++++++++++++++++++++++++++++++++++++++------------
24430 1 file changed, 87 insertions(+), 24 deletions(-)
24432 commit 69207910209ebfe450df616aeb8fa4cc2e7eccf3
24433 Author: Martin Pitt <martin.pitt@ubuntu.com>
24434 Date: Fri Jan 28 17:14:19 2011 +0100
24436 [gi] Add GSettings tests
24438 Ryan Lortie proposed an override for more convenient GSettings access,
24440 first make sure that the canonical GLib API works.
24442 tests/Makefile.am | 7 +++++--
24443 tests/org.gnome.test.gschema.xml | 16 ++++++++++++++++
24444 tests/test_overrides.py | 31 +++++++++++++++++++++++++++++++
24445 3 files changed, 52 insertions(+), 2 deletions(-)
24447 commit 488478a83640d50baee963337fcc870fec76b784
24448 Author: Martin Pitt <martin.pitt@ubuntu.com>
24449 Date: Fri Jan 28 07:20:26 2011 +0100
24451 [gi] Provide GtkTextBuffer.insert_with_tags_by_name()
24453 Provide an actual insert_with_tags_by_name() instead of overloading
24454 insert_with_tags() to handle both types. This keeps the overrides
24456 with the actual GTK API.
24458 gi/overrides/Gtk.py | 19 ++++++++++++++-----
24459 tests/test_overrides.py | 4 ++--
24460 2 files changed, 16 insertions(+), 7 deletions(-)
24462 commit dace1a553793fb7fb054b60760f02c9e5cf00b38
24463 Author: Martin Pitt <martin.pitt@ubuntu.com>
24464 Date: Thu Jan 27 13:37:18 2011 +0100
24466 [gi] Support tag names in GtkTextBuffer.insert_with_tags()
24468 Neither insert_with_tags() nor insert_with_tags_by_name() are
24470 due to using varargs. As both are useful, support both cases in
24473 gi/overrides/Gtk.py | 5 +++++
24474 tests/test_overrides.py | 9 +++++++++
24475 2 files changed, 14 insertions(+)
24477 commit 91d34124b2a5128e93e13c7fee8693d5edc4e9bb
24478 Author: Ignacio Casal Quinteiro <icq@gnome.org>
24479 Date: Thu Jan 27 12:23:18 2011 +0100
24481 Add MAINTAINERCLEANFILES
24483 This var behaves like .gitignore and allows us to skip some specific
24486 Makefile.am | 27 +++++++++++++++++++++++++++
24487 1 file changed, 27 insertions(+)
24489 commit 8a98d26981ce68809a21c64cac4962e58c927905
24490 Author: Ignacio Casal Quinteiro <icq@gnome.org>
24491 Date: Thu Jan 27 12:15:30 2011 +0100
24493 Remove .gitignore files and use git.mk
24495 git.mk is a script maintained in pango. From time to time we must
24496 check if it was updated and update it here.
24498 .gitignore | 46 -----------
24500 codegen/.gitignore | 2 -
24501 codegen/Makefile.am | 2 +
24502 docs/.gitignore | 7 --
24503 docs/Makefile.am | 2 +
24504 examples/Makefile.am | 2 +
24505 gi/.gitignore | 40 ----------
24506 gi/Makefile.am | 2 +
24507 gi/overrides/Makefile.am | 2 +
24508 gi/repository/Makefile.am | 2 +
24509 gi/tests/Makefile.am | 2 +
24511 ++++++++++++++++++++++++++++++++++++++++++++++
24512 glib/Makefile.am | 2 +
24513 gobject/.gitignore | 3 -
24514 gobject/Makefile.am | 2 +
24515 tests/.gitignore | 2 -
24516 tests/Makefile.am | 2 +
24517 18 files changed, 222 insertions(+), 100 deletions(-)
24519 commit 331c42b63bc60a3b906fa21e1c0a7c1b9428f347
24520 Author: Martin Pitt <martin.pitt@ubuntu.com>
24521 Date: Thu Jan 27 12:04:19 2011 +0100
24523 pygi-convert.sh: Convert Pango.TabAlign.*
24525 pygi-convert.sh | 1 +
24526 1 file changed, 1 insertion(+)
24528 commit be1a2959fa0a3d8682e0e8aef389d73dacab0689
24529 Author: Martin Pitt <martin.pitt@ubuntu.com>
24530 Date: Thu Jan 27 12:02:39 2011 +0100
24532 pygi-convert.sh: Drop window -> get_window() conversion
24534 It is doing more harm than good for projects which use things like
24537 pygi-convert.sh | 1 -
24538 1 file changed, 1 deletion(-)
24540 commit dd7deb4b658c56857c26b1a278a3d688f2ea6a2a
24541 Author: Martin Pitt <martin.pitt@ubuntu.com>
24542 Date: Thu Jan 27 11:58:26 2011 +0100
24544 pygi-convert.sh: Don't convert self.window assignments
24546 pygi-convert.sh | 2 +-
24547 1 file changed, 1 insertion(+), 1 deletion(-)
24549 commit 975341a26772966d4afc87a88a6a566d61237fa0
24550 Author: Steve Frécinaux <code@istique.net>
24551 Date: Fri Jan 21 18:41:54 2011 +0100
24553 Fix leaked python reference in python-defined subclasses
24555 https://bugzilla.gnome.org/show_bug.cgi?id=640184
24557 gobject/gobjectmodule.c | 1 +
24558 tests/test_gobject.py | 4 ++++
24559 2 files changed, 5 insertions(+)
24561 commit a59e2d58bdb3f31a4f415dbe14b7d9988ac28ce3
24562 Author: Steve Frécinaux <code@istique.net>
24563 Date: Fri Jan 21 15:54:43 2011 +0100
24565 Add some tests for the number of python refs held at creation time
24567 https://bugzilla.gnome.org/show_bug.cgi?id=640184
24569 tests/test_gobject.py | 21 +++++++++++++++++++++
24570 1 file changed, 21 insertions(+)
24572 commit 7d70105eb324ea4b6a58c2d3fb3f2dda36e7ab33
24573 Author: Steve Frécinaux <code@istique.net>
24574 Date: Fri Jan 21 17:24:49 2011 +0100
24576 Factor out parameter marshalling from construction functions.
24578 https://bugzilla.gnome.org/show_bug.cgi?id=640197
24580 gobject/gobjectmodule.c | 35 ++--------------------
24581 gobject/pygobject-private.h | 5 ++++
24582 gobject/pygobject.c | 71
24583 +++++++++++++++++++++++++++------------------
24584 3 files changed, 50 insertions(+), 61 deletions(-)
24586 commit a3e0cfe8924887ecd1e07cedd2cfb999c853ac62
24587 Author: John (J5) Palmieri <johnp@redhat.com>
24588 Date: Wed Jan 26 15:34:24 2011 -0500
24590 [gi] in python 3 an array of uint8 can be bytes but not string
24592 tests/test_gi.py | 4 +++-
24593 1 file changed, 3 insertions(+), 1 deletion(-)
24595 commit 843553ea958eddec185bb660851a310dc050a14b
24596 Author: John (J5) Palmieri <johnp@redhat.com>
24597 Date: Wed Jan 26 15:30:06 2011 -0500
24599 [gi] fix Gio.FileEnumerator to reflect the Python 3 iter protocol
24601 gi/overrides/Gio.py | 6 +++++-
24602 1 file changed, 5 insertions(+), 1 deletion(-)
24604 commit 6ff357839feb39930a5f3175de3d0ed35f24d3f4
24605 Author: John (J5) Palmieri <johnp@redhat.com>
24606 Date: Wed Jan 26 15:17:03 2011 -0500
24608 [gi] python 3 fixes
24610 Patches need to work in Python 3 - here are some of the issues I
24612 Patch submitters should keep this in mind. When I note to only
24614 in tests it means that there is a compat module that is only available
24616 tests. Actuall code should either add the workaround to the top
24618 module or try not to have a distinction between things such as
24620 longs which no longer exist in Python 3
24622 * use range instead of xrange - loss of performance in Python 2 but
24624 treats range similarly to python 2's xrange
24625 * use dict.items() instead of dict.iteritems() - same as the xrange
24627 * callable does not exist in 3.x, use hasattr(obj, '__call__') or
24629 if sys.version_info > (3, 0):
24631 return hasattr(obj, '__call__')
24633 * using unicode in tests is tricky, you can't use u'' even in
24635 conditional as python3's parser chokes on it. Do this in tests
24639 from compathelper import _unicode
24640 unicode_string = _unicode('this is a unicode string')
24642 * exception caching changed in 2.7, instead of except Exception,
24644 except Exception as e. Do this to be compatible with older
24648 etype, e = sys.exc_info()[:2]
24650 * Unbound methods with an im_func attribute no longer exits in 3.x.
24651 Unbound methods are now just functions so class.method in 3.x is
24652 equivalent to class.method.im_func in 2.x. If you have to go this
24655 func = class1.method
24656 if sys.version_info < (3,0):
24657 func = func.im_func
24659 * all numbers are long in 3.x so 42L is invalid in 3.x. In tests (and
24660 only in tests) do this:
24662 from compathelper import _long
24665 gi/overrides/GLib.py | 16 ++++++++--------
24666 gi/types.py | 5 ++++-
24667 tests/compathelper.py | 19 +++++++++++++++++++
24668 tests/test_gdbus.py | 12 ++++++++----
24669 tests/test_gi.py | 19 ++++++++++++-------
24670 tests/test_overrides.py | 8 +++++---
24671 6 files changed, 56 insertions(+), 23 deletions(-)
24673 commit 832d662b9f90f5762bbf28b3cca73f947c1f83ce
24674 Author: John (J5) Palmieri <johnp@redhat.com>
24675 Date: Wed Jan 26 14:00:08 2011 -0500
24677 [gi] fix try/except blocks using depricated raise format
24679 gi/overrides/GLib.py | 4 ++--
24680 gi/overrides/Gdk.py | 2 +-
24681 2 files changed, 3 insertions(+), 3 deletions(-)
24683 commit d3e30e240fed6ef1dd40fd29fd13dc2effc6c7b1
24684 Author: Martin Pitt <martin.pitt@ubuntu.com>
24685 Date: Wed Jan 26 19:03:48 2011 +0100
24687 [gi] Add docstring to GLib.Variant constructor
24689 gi/overrides/GLib.py | 11 +++++++++++
24690 1 file changed, 11 insertions(+)
24692 commit 963cd52fec26f7a4fb34414f8ac6662932ede322
24693 Author: Martin Pitt <martin.pitt@ubuntu.com>
24694 Date: Wed Jan 26 18:45:38 2011 +0100
24696 [gi] update gdbus test cases for previous GVariant change
24698 tests/test_gdbus.py | 4 ++--
24699 1 file changed, 2 insertions(+), 2 deletions(-)
24701 commit 27e3a6276ff5f2cdc03ddf69ee80d44c3bf2c094
24702 Author: Martin Pitt <martin.pitt@ubuntu.com>
24703 Date: Wed Jan 26 18:39:17 2011 +0100
24705 [gi] Accept only a single object in GLib.Variant constructor
24707 We previously allowed flat arguments for tuple signatures, e. g.
24709 GLib.Variant('(ii)', 1, 2)
24711 However, that's not how GVariant is supposed to work. Remove the
24713 to handle flat argument lists, and only accept a single value, i. e.
24715 GLib.Variant('(ii)', (1, 2))
24717 Note that this breaks the current API, but as it is not used widely
24721 Thanks to Ryan Lortie for pointing this out!
24723 gi/overrides/GLib.py | 25 ++++++++++---------------
24724 tests/test_overrides.py | 32 +++++++++++++-------------------
24725 2 files changed, 23 insertions(+), 34 deletions(-)
24727 commit b15e8e2c0c933d0f827a70280faf875ac383d81b
24728 Author: Laszlo Pandy <lpandy@src.gnome.org>
24729 Date: Wed Jan 26 00:40:49 2011 +0100
24731 Speed up _setup_native_vfuncs()
24733 This changes _setup_native_vfuncs() to only install native
24734 vfunc wrappers from the current class on the current class.
24735 Native vfuncs will not be propogated up or down the class
24736 hierarchy as this is unnecessary and wastes CPU and memory.
24738 Since the normal process in python to retrieve a method or
24739 attribute recurses to the base classes if an attribute is not
24740 found in the subclass, there is no need to setup all base class
24741 virtual functions on a subclass.
24743 This patch removes the recursion in _setup_native_vfuncs()
24744 and lets Python find them in the base classes like a normal
24745 Python class would work. This significantly increases the speed
24746 of any class which is or inherits from a C class which includes
24749 https://bugzilla.gnome.org/show_bug.cgi?id=640629
24751 gi/types.py | 26 +++++++++++++-------------
24752 tests/test_gi.py | 13 +++++++++++++
24753 2 files changed, 26 insertions(+), 13 deletions(-)
24755 commit 569d42ac2f50fb706ef289ff631db743483f40ee
24756 Author: Laszlo Pandy <lpandy@src.gnome.org>
24757 Date: Thu Jan 20 16:26:18 2011 +0100
24759 Speed up class creation: rewrite _setup_vfuncs() to be much more
24762 This patch rewrites the _setup_vfuncs() method to remove recursion and
24763 make the running time linear in the number of virtual functions to
24765 (ie. methods starting with "do_") instead of linear in the number of
24766 virtual functions in the base class which could possibly be
24769 Since most classes do not override all of the virtual functions in the
24770 base class (and many override none), this runs much faster.
24772 It is possible to not recurse on all base classes because
24774 base classes will have the virtual function installed as an attribute.
24775 Thus getattr() can be called, which recurses to the base classes much
24776 faster than a custom implementation in Python. If the method cannot be
24777 found with getattr(), all interface bases classes are searched
24780 The function is_function_in_classes() has been deleted. Because of the
24781 above changes, it is not used anymore.
24783 https://bugzilla.gnome.org/show_bug.cgi?id=640073
24786 ++++++++++++++++++++++++++++++++++---------------------
24787 tests/test_gi.py | 13 +++++++
24788 2 files changed, 77 insertions(+), 40 deletions(-)
24790 commit 8f4e6536f3c2edf38a45632d1c23eb7c6681c3be
24791 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24792 Date: Mon Jan 24 19:23:19 2011 +0100
24794 pygi-convert.sh: Convert gtk.UI_MANAGER_*
24796 pygi-convert.sh | 1 +
24797 1 file changed, 1 insertion(+)
24799 commit 1f473b5164407a178203eb8cc7f3c786e0d0e5c2
24800 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24801 Date: Fri Jan 21 18:41:54 2011 +0100
24803 pygi-convert.sh: Convert gdk.GRAB_*
24805 pygi-convert.sh | 1 +
24806 1 file changed, 1 insertion(+)
24808 commit f5d0b7b9d189f65503c0bf66d8bda4186ca3223a
24809 Author: Ignacio Casal Quinteiro <icq@gnome.org>
24810 Date: Fri Jan 21 16:45:07 2011 +0100
24812 [gi] set the gtype GValue correctly
24814 gi/pygi-property.c | 4 ++--
24815 1 file changed, 2 insertions(+), 2 deletions(-)
24817 commit ce521011d7f6d7f082aaea76fa05c5af9f6e93f5
24818 Author: Ignacio Casal Quinteiro <icq@gnome.org>
24819 Date: Fri Jan 21 16:20:23 2011 +0100
24821 [gi] use the right argument type for callback
24823 gi/pygi-foreign-cairo.c | 8 ++++----
24824 gi/pygi-foreign-gvariant.c | 4 ++--
24825 gi/pygi-foreign-gvariant.h | 2 +-
24826 gi/pygi-foreign.c | 2 +-
24828 5 files changed, 9 insertions(+), 9 deletions(-)
24830 commit 9f101baaa63a75acf62f955cfc4b311ff0dd5464
24831 Author: John (J5) Palmieri <johnp@redhat.com>
24832 Date: Fri Jan 21 09:23:54 2011 -0500
24834 [gi] marshal out flags and enum
24836 gi/pygi-argument.c | 14 +++++++++-----
24837 gi/pygi-cache.c | 24 ++++++++++++------------
24838 2 files changed, 21 insertions(+), 17 deletions(-)
24840 commit 4c93bdeae76830aa4029dfc86e32e6f277d5271d
24841 Author: John (J5) Palmieri <johnp@redhat.com>
24842 Date: Fri Jan 21 08:18:37 2011 -0500
24844 [gi] marshal unions
24846 gi/pygi-cache.c | 27 +++++++++++++--------------
24847 1 file changed, 13 insertions(+), 14 deletions(-)
24849 commit a060287d1a6d190acb9d344f08fd5662e3296da5
24850 Author: Martin Pitt <martin.pitt@ubuntu.com>
24851 Date: Fri Jan 21 11:00:27 2011 +0100
24853 [gi] Add test cases for GDBus client operations
24855 tests/Makefile.am | 1 +
24856 tests/test_gdbus.py | 94
24857 +++++++++++++++++++++++++++++++++++++++++++++++++++++
24858 2 files changed, 95 insertions(+)
24860 commit e7699d9af41f8c374326b8a4ec0939ef1426e386
24861 Author: John (J5) Palmieri <johnp@redhat.com>
24862 Date: Fri Jan 21 04:28:15 2011 -0500
24864 [gi] error out if the constructor returns NULL
24866 gi/pygi-invoke.c | 7 +++++++
24867 1 file changed, 7 insertions(+)
24869 commit 58ff2b2c38c1004861083ca88633be76767229f0
24870 Author: John (J5) Palmieri <johnp@redhat.com>
24871 Date: Fri Jan 21 04:26:45 2011 -0500
24873 [gi] throw error for caller allocates until we can write code to
24876 gi/pygi-cache.c | 11 +++++++++++
24877 1 file changed, 11 insertions(+)
24879 commit 5eb779439daa8bf1e86df689377dc10ef1430eab
24880 Author: John (J5) Palmieri <johnp@redhat.com>
24881 Date: Fri Jan 21 04:26:11 2011 -0500
24883 [gi] support struct out
24885 gi/pygi-argument.c | 30 ++++++++++++++++++++++++++----
24886 gi/pygi-cache.c | 15 ++-------------
24887 2 files changed, 28 insertions(+), 17 deletions(-)
24889 commit 3133dc595adf44279397d30712c0f8595f0e1acc
24890 Author: John (J5) Palmieri <johnp@redhat.com>
24891 Date: Fri Jan 21 04:22:06 2011 -0500
24893 [gi] move to using type_info and interface_info instead of arg_info
24895 * only arguments have arg_infos, not return types and instances so
24896 type_info is much better to pass. In fact most API that took an
24897 arg_info simply converted it to a type_info
24898 * In the case of instances for methods we don't even have a type_info.
24899 Since all instances are interfaces, we also attach the
24901 to the interface cache
24903 gi/pygi-argument.c | 20 ++++----------------
24904 gi/pygi-cache.c | 43
24905 ++++++++++++++++++++++++++++++++-----------
24906 gi/pygi-cache.h | 4 +++-
24907 gi/pygi-foreign-cairo.c | 24 ++++++++++++------------
24908 gi/pygi-foreign-gvariant.c | 11 +++++------
24909 gi/pygi-foreign-gvariant.h | 10 +++++-----
24910 gi/pygi-foreign.c | 21 +++++++++------------
24911 gi/pygi-foreign.h | 6 +++---
24912 gi/pygi.h | 8 ++++----
24913 9 files changed, 77 insertions(+), 70 deletions(-)
24915 commit e97e28048efb966ecc1a03277d36cbaa81b8db7d
24916 Author: Martin Pitt <martin.pitt@ubuntu.com>
24917 Date: Fri Jan 21 09:54:14 2011 +0100
24919 [gi] Add Variant construction/unpack support for boxed Variants
24921 Construction uses a GVariantBuilder for now, as the new_variant()
24923 currently does not work (see
24924 https://bugzilla.gnome.org/show_bug.cgi?id=639952)
24926 gi/overrides/GLib.py | 18 +++++++++++++++++-
24927 tests/test_overrides.py | 26 ++++++++++++++++++++++++++
24928 2 files changed, 43 insertions(+), 1 deletion(-)
24930 commit 71dd03261fc06b8180c14cd31b54d8e4b200be3a
24931 Merge: bc29600a bd002c72
24932 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24933 Date: Fri Jan 21 09:33:16 2011 +0100
24935 Merge branch 'windows-setup-fixes'
24937 commit bc29600a2a04c972ceab7ef8d3292e8633977591
24938 Author: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
24939 Date: Thu Jan 20 19:48:23 2011 +0100
24941 pygi-convert.sh: GdkPixbuf methods
24945 pygi-convert.sh | 1 +
24946 1 file changed, 1 insertion(+)
24948 commit d1b0fa501cc431baa530d96fb50f4c35590890ac
24949 Author: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
24950 Date: Thu Jan 20 19:45:01 2011 +0100
24952 pygi-convert.sh: Gdk.COLORSPACE_RGB
24956 pygi-convert.sh | 1 +
24957 1 file changed, 1 insertion(+)
24959 commit 6d8ff4d5bdda5480089543869535cc3ee83da2f5
24960 Author: Martin Pitt <martin.pitt@ubuntu.com>
24961 Date: Wed Jan 19 11:41:11 2011 +0100
24963 [gi] Support nested objects and empty sequences in GLib.Variant
24966 The GVariant constructor (in the overrides) previously did not
24968 arrays/dictionaries or nested structures. Rewrite the VariantCreator
24970 be fully recursive and determine the element types of
24971 arrays/dictionaries.
24973 This now also allows you to use actual tuples as input values for
24975 tuple types. Taking values from the flat argument list is still
24977 convenience, though.
24979 https://bugzilla.gnome.org/show_bug.cgi?id=639939
24981 gi/overrides/GLib.py | 229
24982 ++++++++++++++++++++++++++----------------------
24983 tests/test_overrides.py | 159 +++++++++++++++++++++++++++++++--
24984 2 files changed, 273 insertions(+), 115 deletions(-)
24986 commit ac095f5435f106e175fa3297cb273e63c85d2809
24987 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24988 Date: Thu Jan 20 15:55:45 2011 +0100
24990 Uncomment test_gi.TestInterfaceClash
24992 tests/test_gi.py | 22 +++++++++++-----------
24993 1 file changed, 11 insertions(+), 11 deletions(-)
24995 commit 1239f3709ba257c404dda72b7067b77b19c240fa
24996 Author: John (J5) Palmieri <johnp@redhat.com>
24997 Date: Thu Jan 20 09:05:02 2011 -0500
24999 [gi] add support for enum and flags
25001 gi/pygi-argument.c | 121
25002 +++++++++++++++++++++++++++++++++++++++++------------
25003 gi/pygi-cache.c | 30 ++++++-------
25004 2 files changed, 111 insertions(+), 40 deletions(-)
25006 commit f0a0b6c2eda89622de2b1e5ebb6a48103ad72a42
25007 Author: Steve Frécinaux <code@istique.net>
25008 Date: Thu Jan 20 14:14:15 2011 +0100
25010 Fix reference leaks for GInitiallyUnowned objects
25012 References were leaked for GInitiallyUnowned objects which got their
25013 wrappers created several times, because someone else holds reference
25014 on it and it got out of python scope at some point.
25016 https://bugzilla.gnome.org/show_bug.cgi?id=639949
25018 gobject/gobjectmodule.c | 2 ++
25019 gobject/pygobject.c | 14 +++++------
25020 tests/test-floating.c | 36 +++++++++++++++++++++++++++
25021 tests/test-floating.h | 21 ++++++++++++++++
25022 tests/test_gobject.py | 63
25023 ++++++++++++++++++++++++++++++++++++++++++++++++
25024 tests/testhelpermodule.c | 50 ++++++++++++++++++++++++++++++++++++++
25025 6 files changed, 179 insertions(+), 7 deletions(-)
25027 commit cae2cf3d4fb049c94389bf8f84d7d97a544d7a3f
25028 Author: Steve Frécinaux <code@istique.net>
25029 Date: Wed Jan 19 16:57:57 2011 +0100
25031 Add tests for refcount of a GObject owned by a library
25033 When the object is constructed, its refcount is 2 because the library
25034 refs it once. It should remain around until we ask the library to
25035 release its reference.
25037 https://bugzilla.gnome.org/show_bug.cgi?id=639949
25039 tests/test-floating.c | 30 +++++++++++++++++++++++
25040 tests/test-floating.h | 20 ++++++++++++++++
25041 tests/test_gobject.py | 62
25042 ++++++++++++++++++++++++++++++++++++++++++++++++
25043 tests/testhelpermodule.c | 51 +++++++++++++++++++++++++++++++++++++++
25044 4 files changed, 163 insertions(+)
25046 commit b6737b91938d527872eff1d645a205cacf94e15d
25047 Author: Steve Frécinaux <code@istique.net>
25048 Date: Wed Jan 19 14:52:41 2011 +0100
25050 Add a test to check for regular object reference count
25052 https://bugzilla.gnome.org/show_bug.cgi?id=639949
25054 tests/test_gobject.py | 8 +++++++-
25055 1 file changed, 7 insertions(+), 1 deletion(-)
25057 commit 2b0f1ede820414ef1cfd6b37569fcb946d2031fc
25058 Author: Martin Pitt <martin.pitt@ubuntu.com>
25059 Date: Thu Jan 20 14:15:52 2011 +0100
25061 [gi] Update TreeView.enable_model_drag_{source,dest} to current GTK
25063 GTK master now landed a lot of annotation fixes which also correctly
25065 array length argument of
25066 Gtk.TreeView.enable_model_drag_{source,dest}(). Thus
25067 drop the explicit array length argument from the call in the override.
25069 gi/overrides/Gtk.py | 2 --
25070 1 file changed, 2 deletions(-)
25072 commit b59edf4f0f7cab44033f9d704d476e10ee0d0c0a
25073 Author: Steve Frécinaux <code@istique.net>
25074 Date: Wed Jan 19 18:04:10 2011 +0100
25076 Fix a typo in a private symbol name.
25078 gobject/gobjectmodule.c | 6 +++---
25079 1 file changed, 3 insertions(+), 3 deletions(-)
25081 commit 6447688e283a8fb22de3ab68cbc06e34ad23d198
25082 Author: Martin Pitt <martin.pitt@ubuntu.com>
25083 Date: Thu Jan 20 11:49:08 2011 +0100
25085 pygi-convert.sh: Convert glib.source_remove()
25087 pygi-convert.sh | 1 +
25088 1 file changed, 1 insertion(+)
25090 commit 84ee8de4bc00a8f901926cc6386d73c12dbd0b0b
25091 Author: Martin Pitt <martin.pitt@ubuntu.com>
25092 Date: Thu Jan 20 11:42:34 2011 +0100
25094 Fix typo in previous commit to actually convert glib.GError
25096 pygi-convert.sh | 2 +-
25097 1 file changed, 1 insertion(+), 1 deletion(-)
25099 commit b238cb614338f46e6feb7935cca0a55c7a929418
25100 Author: Martin Pitt <martin.pitt@ubuntu.com>
25101 Date: Thu Jan 20 11:40:14 2011 +0100
25103 pygi-convert.sh: Move some glib bits which are better handled
25106 pygi-convert.sh | 3 +++
25107 1 file changed, 3 insertions(+)
25109 commit 21c09a7ee294b59abb3eca6f64f13bf5c8a2fa0e
25110 Author: Laszlo Pandy <lpandy@src.gnome.org>
25111 Date: Wed Jan 19 12:00:02 2011 +0100
25113 Modify override for Gtk.Adjustment to allow position or keyword
25114 arguments in __init__().
25116 Previously passing no arguments was not working, because the default
25117 value for each parameter was None, and GObject.__init__() refuses to
25118 allow None for integer properties. This patch does not pass None up
25119 to GObject.__init__. Instead it does not pass the parameter at all,
25120 and uses the class's default values.
25122 https://bugzilla.gnome.org/show_bug.cgi?id=639934
25124 gi/overrides/Gtk.py | 14 ++++++++++++--
25125 tests/test_overrides.py | 34 +++++++++++++++++++++++++++-------
25126 2 files changed, 39 insertions(+), 9 deletions(-)
25128 commit d465e25297ad6589ff2cd0c00e11e8bd8ffe3f78
25129 Author: Martin Pitt <martin.pitt@ubuntu.com>
25130 Date: Wed Jan 19 22:52:51 2011 +0100
25132 [gi] Fix small typo in previous commit
25134 The GVariant signature of the self test had a trailing 'i'. The
25136 GVariant builder doesn't mind, but the new implementation proposed
25140 tests/test_overrides.py | 2 +-
25141 1 file changed, 1 insertion(+), 1 deletion(-)
25143 commit 2b8e1d0531dcb8f57dc9f2fddf25970bee3daa90
25144 Author: Martin Pitt <martin.pitt@ubuntu.com>
25145 Date: Wed Jan 19 20:18:19 2011 +0100
25147 [gi] Add pythonic iterator and indexing for string GVariants
25149 This extends commit b1a98083c to also work for strings.
25151 gi/overrides/GLib.py | 8 +++++++-
25152 tests/test_overrides.py | 13 +++++++++++++
25153 2 files changed, 20 insertions(+), 1 deletion(-)
25155 commit 8efd14c87b35072cdd039bf223f8ced8f51be9bb
25156 Author: John (J5) Palmieri <johnp@redhat.com>
25157 Date: Wed Jan 19 14:08:03 2011 -0500
25159 [gi] return NULL if out_marshaller fails
25161 gi/pygi-invoke.c | 5 +++++
25162 1 file changed, 5 insertions(+)
25164 commit 5b1db41d60204c8021f47f43b85dac126c389c8d
25165 Author: John (J5) Palmieri <johnp@redhat.com>
25166 Date: Wed Jan 19 13:57:54 2011 -0500
25168 [gi] fix some transfer issues and test case failures
25170 gi/pygi-argument.c | 4 ++++
25171 gi/pygi-cache.c | 11 ++++++++---
25172 gi/pygi-invoke.c | 17 +++++++++--------
25173 3 files changed, 21 insertions(+), 11 deletions(-)
25175 commit 7c2f48bb6d67ec9a1ee5ac03a5aee34b54c6ebdd
25176 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25177 Date: Wed Jan 19 18:09:23 2011 +0100
25179 Construct structs using default API constructor
25181 If the struct has something that looks like a default constructor,
25182 use it instead of trying to directly allocate it, as it will fail
25183 if the struct fields are not exposed.
25185 https://bugzilla.gnome.org/show_bug.cgi?id=627444
25187 gi/pygi-info.c | 37 +++++++++++++++++++++++++++++++++++++
25188 gi/types.py | 7 +++++++
25189 2 files changed, 44 insertions(+)
25191 commit db7300e173388d9557dcd2333781bfaa6b021605
25192 Author: Martin Pitt <martin.pitt@ubuntu.com>
25193 Date: Wed Jan 19 18:54:39 2011 +0100
25195 pygi-convert.sh: Migrate Gdk.Cursor constructor, and some cursor names
25197 pygi-convert.sh | 2 ++
25198 1 file changed, 2 insertions(+)
25200 commit 4c1d4faddf1c9cb233c484da3eadd8e31c231f70
25201 Author: Martin Pitt <martin.pitt@ubuntu.com>
25202 Date: Wed Jan 19 18:43:29 2011 +0100
25204 pygi-convert.sh: Handle .window attributes
25206 In general, convert them to .get_window(). For some of them, prefer
25208 GtkWidget methods instead.
25210 pygi-convert.sh | 5 ++++-
25211 1 file changed, 4 insertions(+), 1 deletion(-)
25213 commit b1049b947d073fb569ba900a4d5c8519482d831e
25214 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25215 Date: Wed Jan 19 17:35:09 2011 +0100
25217 Also deal with foreign boxed structs
25219 cairo.Context has been boxed and our tests started failing
25221 https://bugzilla.gnome.org/show_bug.cgi?id=639967
25223 gi/pygi-argument.c | 4 ++--
25224 1 file changed, 2 insertions(+), 2 deletions(-)
25226 commit 25b69ae257a12b6dc97ed3f2f7ea54b166ddbba1
25227 Author: Laszlo Pandy <lpandy@src.gnome.org>
25228 Date: Wed Jan 19 17:45:11 2011 +0100
25230 [gi] Convert GErrors to GObject.GError exceptions, and throw them
25231 upon returning from calling the C function.
25233 This changes gi to make use of pyglib_error_check() which already
25236 The included tests make use of the other patch attached to this bug,
25237 to check that the right exception is thrown from the new function
25238 in GIMarshallingTests.
25239 two Gtk C functions.
25241 https://bugzilla.gnome.org/show_bug.cgi?id=639834
25243 gi/Makefile.am | 3 ++-
25244 gi/pygi-invoke.c | 12 +++---------
25245 tests/test_gi.py | 10 ++++++++++
25246 3 files changed, 15 insertions(+), 10 deletions(-)
25248 commit 18b84767db1d66e3d6f09067ab19ffd4b82539ca
25249 Author: John (J5) Palmieri <johnp@redhat.com>
25250 Date: Wed Jan 19 12:05:45 2011 -0500
25252 [gi] fix out marshalling for a couple of int types
25254 gi/pygi-argument.c | 2 +-
25255 gi/pygi-cache.c | 2 +-
25256 2 files changed, 2 insertions(+), 2 deletions(-)
25258 commit c5d7c730008275b2c585b2609fc2ff5e051cce47
25259 Author: John (J5) Palmieri <johnp@redhat.com>
25260 Date: Wed Jan 19 11:59:09 2011 -0500
25262 [gi] fixed range checking and type conversion with unsigned and
25265 gi/pygi-argument.c | 90
25266 +++++++++++++++++++++++++++++++++++++++++++++---------
25267 gi/pygi-cache.c | 2 +-
25268 2 files changed, 76 insertions(+), 16 deletions(-)
25270 commit e6fcafc6179e963cbae7774e7ee50415bde2c523
25271 Author: Martin Pitt <martin.pitt@ubuntu.com>
25272 Date: Wed Jan 19 17:03:06 2011 +0100
25274 pygi-convert.sh: Don't convert glib -> GLib for now
25276 This currently leads to a load of crashes, MemoryErrors, etc, as
25278 very well introspectable, due to the low-level operations that
25281 John Palmieri confirms that using the static "glib" binding is
25283 now, so disable the replacement rules.
25285 pygi-convert.sh | 19 ++++++++++---------
25286 1 file changed, 10 insertions(+), 9 deletions(-)
25288 commit 167261d556eab0d2e448c7ed28eef540a024ba1d
25289 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25290 Date: Wed Jan 19 16:47:08 2011 +0100
25292 Link libregress.so to GIO_LIBS again
25294 configure.ac | 5 +++++
25295 1 file changed, 5 insertions(+)
25297 commit d143afa6da4f5b5f47be8df11fa41d7b47ab1794
25298 Author: Laszlo Pandy <lpandy@src.gnome.org>
25299 Date: Wed Jan 19 16:14:42 2011 +0100
25301 Fix attributes 2BUTTON_PRESS and 3BUTTON_PRESS of Gdk.EventType.
25303 This puts an underscore in front of 2BUTTON_PRESS and 3BUTTON_PRESS
25304 because in Python attributes starting with a numeral causes a
25307 gi/overrides/Gdk.py | 7 +++++--
25308 1 file changed, 5 insertions(+), 2 deletions(-)
25310 commit 4f5d20966d4a8c649e5fae584039621edab178f3
25311 Author: John (J5) Palmieri <johnp@redhat.com>
25312 Date: Wed Jan 19 10:02:40 2011 -0500
25314 [gi] use correct format stings when setting errors
25316 gi/pygi-argument.c | 12 ++++++------
25317 1 file changed, 6 insertions(+), 6 deletions(-)
25319 commit 7f08fd5c33ee5c9907f5becbe2f21fb7122d6e19
25320 Author: John (J5) Palmieri <johnp@redhat.com>
25321 Date: Wed Jan 19 09:45:09 2011 -0500
25323 [gi] allow marshalling strings as None
25325 gi/pygi-argument.c | 5 +++++
25326 1 file changed, 5 insertions(+)
25328 commit 093242a9e125998cd07bf66fc4b2880f532a2e4d
25329 Author: John (J5) Palmieri <johnp@redhat.com>
25330 Date: Wed Jan 19 09:41:56 2011 -0500
25332 [gi] make error messages more detailed
25334 gi/pygi-argument.c | 2 +-
25335 gi/pygi-cache.c | 18 +++++++++---------
25336 2 files changed, 10 insertions(+), 10 deletions(-)
25338 commit f0b17605ed2eb917b350654b070984beb553eae3
25339 Author: John (J5) Palmieri <johnp@redhat.com>
25340 Date: Wed Jan 19 09:41:13 2011 -0500
25342 [gi] allow marshalling None for hashes
25344 gi/pygi-argument.c | 5 +++++
25345 1 file changed, 5 insertions(+)
25347 commit 93f1b787ab8420300d1064c0237a0c2d8a2ac98f
25348 Author: John (J5) Palmieri <johnp@redhat.com>
25349 Date: Wed Jan 19 09:40:37 2011 -0500
25351 [gi] add marshalling to some out values
25353 gi/pygi-argument.c | 50
25354 +++++++++++++++++++++++++++++++++++++++++---------
25355 1 file changed, 41 insertions(+), 9 deletions(-)
25357 commit 614b6ca7f45c4acbee088fe74fecf279ed50cc0c
25358 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25359 Date: Wed Jan 19 15:27:33 2011 +0100
25361 [gi] Fixed typo in exception
25363 gi/overrides/Gtk.py | 2 +-
25364 1 file changed, 1 insertion(+), 1 deletion(-)
25366 commit 5f16df31b5a5a9f45f702eee48c3a18899ea3f71
25367 Author: John (J5) Palmieri <johnp@redhat.com>
25368 Date: Wed Jan 19 09:13:44 2011 -0500
25370 [gi] fix marshalling structs
25372 gi/pygi-argument.c | 47 +++++++++++++++++++++++++++++++++++------------
25373 gi/pygi-foreign.c | 18 ++++++++++++------
25374 gi/pygi-foreign.h | 8 ++++----
25375 3 files changed, 51 insertions(+), 22 deletions(-)
25377 commit b2189424f9dd6d3a4a5b9792f0d5843fc27657d1
25378 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25379 Date: Wed Jan 19 15:12:25 2011 +0100
25381 [gi] Enable handling of Gdk.EventType.2BUTTON_PRESS and 3BUTTON_PRESS
25383 gi/overrides/Gdk.py | 4 ++--
25384 1 file changed, 2 insertions(+), 2 deletions(-)
25386 commit 5eca5ff2c9509ec96158fe43b29f0fd951243efe
25387 Author: Martin Pitt <martin.pitt@ubuntu.com>
25388 Date: Wed Jan 19 14:54:57 2011 +0100
25390 Revert "Fix Pango FontDescription override"
25393 http://library.gnome.org/devel/pango/1.28/pango-Fonts.html#pango-font-description-new
25394 the default constructor actually does take no arguments; we should
25396 the MemoryError. Add a test case for this.
25398 Remove the FIXME though, as pango_font_description_from_string()
25400 FontDescription constructor, but a static factory method.
25402 Thanks to Paolo Borelli for pointing this out!
25404 This reverts commit 8878c57676091c08e66bc6cbe735d898cb420582.
25406 gi/overrides/Pango.py | 5 ++++-
25407 tests/test_overrides.py | 5 +++++
25408 2 files changed, 9 insertions(+), 1 deletion(-)
25410 commit 9e7b95b3676a1b502662523a9bd4ebe40ccb4845
25411 Author: Tony Young <rofflwaffls@gmail.com>
25412 Date: Thu Dec 16 23:39:33 2010 +0000
25414 Python iterator interface support for GFileEnumerator.
25416 gi/overrides/Gio.py | 41 +++++++++++++++++++++++++++++++++++++++++
25417 gi/overrides/Makefile.am | 1 +
25418 tests/test_overrides.py | 20 ++++++++++++++++++++
25419 3 files changed, 62 insertions(+)
25421 commit bca5834fc8fa342149e0eec7b396877a2abe6d33
25422 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25423 Date: Fri Jan 7 12:10:37 2011 +0100
25425 Remove gio static bindings
25427 https://bugzilla.gnome.org/show_bug.cgi?id=638899
25430 configure.ac | 25 -
25431 gio/.gitignore | 3 -
25432 gio/Makefile.am | 117 -
25433 gio/__init__.py | 40 -
25434 gio/gappinfo.override | 213 --
25435 gio/gapplaunchcontext.override | 99 -
25436 gio/gbufferedinputstream.override | 70 -
25437 gio/gcancellable.override | 38 -
25438 gio/gdatainputstream.override | 250 --
25439 gio/gdrive.override | 347 --
25440 gio/gfile.override | 2215 -----------
25441 gio/gfileattribute.override | 153 -
25442 gio/gfileenumerator.override | 184 -
25443 gio/gfileinfo.override | 121 -
25444 gio/gfileinputstream.override | 68 -
25445 gio/gfileiostream.override | 68 -
25446 gio/gfileoutputstream.override | 68 -
25447 gio/gicon.override | 310 --
25448 gio/ginputstream.override | 344 --
25449 gio/gio-types.defs | 807 ----
25450 gio/gio.defs | 7465
25451 -------------------------------------
25452 gio/gio.override | 409 --
25453 gio/giomodule.c | 208 --
25454 gio/giostream.override | 68 -
25455 gio/gmemoryinputstream.override | 91 -
25456 gio/gmemoryoutputstream.override | 45 -
25457 gio/gmount.override | 454 ---
25458 gio/goutputstream.override | 292 --
25459 gio/gresolver.override | 312 --
25460 gio/gsocket.override | 575 ---
25461 gio/gvolume.override | 237 --
25462 gio/gvolumemonitor.override | 94 -
25463 gio/pygio-utils.c | 236 --
25464 gio/pygio-utils.h | 49 -
25465 gio/unix-types.defs | 55 -
25466 gio/unix.defs | 475 ---
25467 gio/unix.override | 62 -
25468 gio/unixmodule.c | 52 -
25469 tests/Makefile.am | 9 -
25470 tests/runtests-windows.py | 3 -
25471 tests/test_gcancellable.py | 15 -
25472 tests/test_gicon.py | 112 -
25473 tests/test_gio.py | 1138 ------
25474 tests/test_gresolver.py | 68 -
25475 tests/test_gsocket.py | 126 -
25476 46 files changed, 1 insertion(+), 18191 deletions(-)
25478 commit 6ab3d8d286573289cf8e41eee31eb806621f6f43
25479 Author: John (J5) Palmieri <johnp@redhat.com>
25480 Date: Wed Jan 19 07:56:16 2011 -0500
25482 [gi] switch from using (*arg). to arg-> when referencing union
25485 gi/pygi-argument.c | 54
25486 +++++++++++++++++++++++++++---------------------------
25487 1 file changed, 27 insertions(+), 27 deletions(-)
25489 commit 762ccb3d2620ea22023446b6ae79f3a111d8b56a
25490 Author: John (J5) Palmieri <johnp@redhat.com>
25491 Date: Wed Jan 19 07:49:52 2011 -0500
25493 [gi] return FALSE when setting errors in the marshaller
25495 gi/pygi-argument.c | 3 ++-
25496 1 file changed, 2 insertions(+), 1 deletion(-)
25498 commit cbaba6357937cbed3ebd34d2db1cdd59d37df118
25499 Author: John (J5) Palmieri <johnp@redhat.com>
25500 Date: Wed Jan 19 07:14:18 2011 -0500
25502 [gi] do arg counting in new invoke
25504 gi/pygi-cache.c | 2 ++
25505 gi/pygi-cache.h | 14 ++++++++------
25506 gi/pygi-invoke-state-struct.h | 2 +-
25507 gi/pygi-invoke.c | 20 +++++++++++++++++++-
25508 4 files changed, 30 insertions(+), 8 deletions(-)
25510 commit f45033858bed70d7defec3f71f26aa5b3999d680
25511 Author: John (J5) Palmieri <johnp@redhat.com>
25512 Date: Wed Jan 19 06:35:45 2011 -0500
25514 [gi] set length for uint8 in arrays in new invoke marshaller
25516 gi/pygi-argument.c | 1 +
25517 1 file changed, 1 insertion(+)
25519 commit 09f7ca7e2378e6679002677ac3f4802f4cc7d9d5
25520 Author: Ignacio Casal Quinteiro <icq@gnome.org>
25521 Date: Wed Jan 19 12:04:15 2011 +0100
25523 [gi] set length when marshalling guint8 erases
25525 gi/pygi-argument.c | 1 +
25526 tests/test_gi.py | 4 ++++
25527 2 files changed, 5 insertions(+)
25529 commit 22eee43e50a150ace80694213fb87be9f0c72f51
25530 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25531 Date: Wed Jan 19 10:27:47 2011 +0100
25533 Convert Gdk.Pixbuf to GdkPixbuf.Pixbuf
25535 pygi-convert.sh | 1 +
25536 1 file changed, 1 insertion(+)
25538 commit a4b210d69c832629894090b7154ae194209b0c60
25539 Author: Arnaud Charlet <charlet@adacore.com>
25540 Date: Tue Jan 18 18:31:29 2011 +0100
25542 Disable calls to PyGILState_* when threads are disabled
25544 Since threads may also be disabled in Python too, those symbols
25548 https://bugzilla.gnome.org/show_bug.cgi?id=374603
25550 glib/pyglib.c | 12 ++++++++++++
25551 gobject/pygobject-private.h | 6 ++++++
25552 2 files changed, 18 insertions(+)
25554 commit 329afb6fb1b3c325a6a9de2b6aca91c64d51dd9f
25555 Author: John (J5) Palmieri <johnp@redhat.com>
25556 Date: Tue Jan 18 12:31:57 2011 -0500
25558 [gi] fix handling of garrays vs c arrays
25560 gi/pygi-argument.c | 9 +++++++--
25561 gi/pygi-cache.c | 2 ++
25562 gi/pygi-cache.h | 1 +
25563 3 files changed, 10 insertions(+), 2 deletions(-)
25565 commit a000627ec3904b9414ce375aec8d144fc0c26248
25566 Author: Martin Pitt <martin.pitt@ubuntu.com>
25567 Date: Tue Jan 18 18:29:50 2011 +0100
25569 pygi-convert.sh: Do not comment out set_cell_data_func() calls;
25570 these should be ported properly
25572 pygi-convert.sh | 1 -
25573 1 file changed, 1 deletion(-)
25575 commit 99ff4610fb5ece2fc8d2f9eba13e661968adf3f0
25576 Author: Martin Pitt <martin.pitt@ubuntu.com>
25577 Date: Tue Jan 18 18:26:01 2011 +0100
25579 pygi-convert.sh: Fix match for adding missing imports
25581 pygi-convert.sh | 8 ++++----
25582 1 file changed, 4 insertions(+), 4 deletions(-)
25584 commit 3aa95011fad67df20370e92bf25236a34d7d08d3
25585 Author: Martin Pitt <martin.pitt@ubuntu.com>
25586 Date: Tue Jan 18 18:09:30 2011 +0100
25588 pygi-convert.sh: Fix Gtk.Label handling to be idempotent
25590 As we are not replacing line by line, but the whole file at once,
25592 hackish unfortunately. We can't use a match test or a lookahead/behind
25595 pygi-convert.sh | 5 +++--
25596 1 file changed, 3 insertions(+), 2 deletions(-)
25598 commit f66051380c0432bf142774542ade2144adcd455e
25599 Author: John (J5) Palmieri <johnp@redhat.com>
25600 Date: Tue Jan 18 11:44:27 2011 -0500
25602 [gi] use correct union memeber when marshalling floats
25604 gi/pygi-argument.c | 2 +-
25605 1 file changed, 1 insertion(+), 1 deletion(-)
25607 commit 36bc1c17e7d4189059337cc6a73c64edd819ec12
25608 Author: Laszlo Pandy <lpandy@src.gnome.org>
25609 Date: Tue Jan 18 17:29:52 2011 +0100
25611 Remove trailing whitespace from gi/overrides/Gtk.py
25613 gi/overrides/Gtk.py | 10 +++++-----
25614 1 file changed, 5 insertions(+), 5 deletions(-)
25616 commit 1006df1929a667716c25e74b35b8f14643358732
25617 Author: John (J5) Palmieri <johnp@redhat.com>
25618 Date: Tue Jan 18 11:24:06 2011 -0500
25620 [gi] fix constructor invoking and add some support for interface
25623 * constructors are now simplified and are treated like normal
25625 which happen to return an instance
25627 gi/pygi-argument.c | 8 ++--
25628 gi/pygi-cache.c | 132
25629 +++++++++++++++++++++++++++++++++++++++++++++++++++--
25630 gi/pygi-invoke.c | 9 ++--
25631 gi/types.py | 21 +++------
25632 4 files changed, 142 insertions(+), 28 deletions(-)
25634 commit 8878c57676091c08e66bc6cbe735d898cb420582
25635 Author: Martin Pitt <martin.pitt@ubuntu.com>
25636 Date: Tue Jan 18 16:47:10 2011 +0100
25638 Fix Pango FontDescription override
25640 Trying to call __new__() on a record crashes with a MemoryError,
25642 the intended static factory method for a None argument as well
25646 gi/overrides/Pango.py | 7 +------
25647 1 file changed, 1 insertion(+), 6 deletions(-)
25649 commit efbbe71634037fa100b17327389b883b259cca54
25650 Author: Martin Pitt <martin.pitt@ubuntu.com>
25651 Date: Tue Jan 18 16:23:39 2011 +0100
25653 tests: Respect existing $GI_TYPELIB_PATH
25655 This allows us to run the test suite against local typelibs.
25657 tests/Makefile.am | 2 +-
25658 1 file changed, 1 insertion(+), 1 deletion(-)
25660 commit c96ca383350e5b9b079d9a86464922314939c006
25661 Author: John (J5) Palmieri <johnp@redhat.com>
25662 Date: Tue Jan 18 07:16:40 2011 -0500
25664 [gi] fix aux value offsets for methods and element size crashers
25666 * if the callable is a method we need to add 1 to the aux index
25667 for in values so we grab the right argument cache
25668 * use _pygi_g_type_info_size instead of _pygi_g_type_tag_size to
25671 gi/pygi-cache.c | 42 ++++++++++++++++++++++++------------------
25672 1 file changed, 24 insertions(+), 18 deletions(-)
25674 commit f56d85a7f39c2088bf9fd50b1b1e5b67c03104d3
25675 Merge: 84d6142c 7d997b6f
25676 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25677 Date: Tue Jan 18 13:14:45 2011 +0100
25679 Merge branch 'value'
25681 commit 7d997b6fe88343776c4d67a9f3437ba0c4122da0
25682 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25683 Date: Tue Jan 18 13:12:36 2011 +0100
25685 GTK overrides: Do type conversion to column types of ListStore and
25686 TreeStore in set_value
25688 gi/overrides/Gtk.py | 28 ++++++++++++++++++----------
25689 tests/test_overrides.py | 12 +++++++++++-
25690 2 files changed, 29 insertions(+), 11 deletions(-)
25692 commit 84d6142c14a7ebfb7284d3db52e14d3393f93905
25693 Author: Steve Frécinaux <code@istique.net>
25694 Date: Mon Jan 17 18:57:58 2011 +0100
25696 Always register a new GType when a GObject class is subclassed
25698 This patch makes the GType <-> python mapping much more predictible,
25699 and fixes the bug caused by overriding methods without specifying a
25700 __gtype_name__ member in the subclass, and makes type_register useless
25703 It is still possible to provide an explicit __gtype_name__ member
25705 subclass as it allows having a predictible GType name, which is handy
25706 for some of our tests. There is also an explicit special case for
25707 overrides because we obviously do not want to register new GTypes for
25708 those ones as it would clearly defeat the purpose of overrides.
25710 https://bugzilla.gnome.org/show_bug.cgi?id=543056
25712 gobject/__init__.py | 6 +++---
25713 tests/test_gi.py | 21 ++-------------------
25714 2 files changed, 5 insertions(+), 22 deletions(-)
25716 commit 30750ccef31e6c864628f418fc00e8c573d29a1b
25717 Author: Simon van der Linden <svdlinden@gnome.org>
25718 Date: Tue Jan 18 12:57:13 2011 +0100
25720 Raise required versions of GLib and GObject-Introspection
25722 https://bugzilla.gnome.org/show_bug.cgi?id=612126
25724 configure.ac | 6 +++---
25725 1 file changed, 3 insertions(+), 3 deletions(-)
25727 commit 761e98d32729f5894f4c75a54c65ed11329dc9d5
25728 Author: Martin Pitt <martin.pitt@ubuntu.com>
25729 Date: Tue Jan 18 12:52:32 2011 +0100
25731 pygi-convert.sh: Handle keysyms
25733 pygi-convert.sh | 1 +
25734 1 file changed, 1 insertion(+)
25736 commit d62cdfa38a675c1daf3bc12d5cd769434eea5dc8
25737 Author: Martin Pitt <martin.pitt@ubuntu.com>
25738 Date: Tue Jan 18 12:14:09 2011 +0100
25740 GLib overrides: Add test case for array variant building
25742 tests/test_overrides.py | 7 +++++++
25743 1 file changed, 7 insertions(+)
25745 commit 69a78307f3762e3f54d28d98514cec7d31ff20db
25746 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25747 Date: Tue Jan 18 10:21:03 2011 +0100
25749 Remove cairo.RectangleInt from the foreign module
25751 https://bugzilla.gnome.org/show_bug.cgi?id=639824
25753 gi/pygi-foreign-cairo.c | 96
25754 -------------------------------------------------
25755 1 file changed, 96 deletions(-)
25757 commit 017680c9a5e163021628bf29543598861a3b600a
25758 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25759 Date: Tue Jan 18 10:20:25 2011 +0100
25761 Dont try to guess the transfer if its a boxed
25763 https://bugzilla.gnome.org/show_bug.cgi?id=639823
25765 gi/pygi-invoke.c | 5 ++++-
25766 1 file changed, 4 insertions(+), 1 deletion(-)
25768 commit 771ef76574690eb98926249f38661d741d1ebbb0
25769 Author: Ignacio Casal Quinteiro <icq@gnome.org>
25770 Date: Tue Jan 18 12:02:01 2011 +0100
25772 The tags can be Empty not None.
25774 gi/overrides/Gtk.py | 2 +-
25775 1 file changed, 1 insertion(+), 1 deletion(-)
25777 commit b1a98083cdc50653e1d7bfb809bdf089f833df3d
25778 Author: Martin Pitt <martin.pitt@ubuntu.com>
25779 Date: Tue Jan 18 12:01:28 2011 +0100
25781 Add Pythonic iterators and indexing to GVariant
25783 Add the usual set of iterators and index accessors to GLib.Variant
25785 which are containers.
25787 Add corresponding test cases.
25789 gi/overrides/GLib.py | 50 ++++++++++++++++++++++++++++++++++++++++++++
25790 tests/test_overrides.py | 55
25791 +++++++++++++++++++++++++++++++++++++++++++++++++
25792 2 files changed, 105 insertions(+)
25794 commit ecb9f824c503c529d43e585b4cdb4c1c9ab14593
25795 Author: Martin Pitt <martin.pitt@ubuntu.com>
25796 Date: Tue Jan 18 10:48:03 2011 +0100
25798 Add GLib.Variant.unpack()
25800 This method decomposes a GLib.Variant into a native Python object,
25802 counterpart of _VariantCreator. This makes it a lot nicer for
25804 developers to use e. g. return values from gdbus calls.
25806 Add appropriate test case.
25808 gi/overrides/GLib.py | 45
25809 +++++++++++++++++++++++++++++++++++++++++++++
25810 tests/test_overrides.py | 33 ++++++++++++++++++++++++++++++++-
25811 2 files changed, 77 insertions(+), 1 deletion(-)
25813 commit 31c73dee34a52fd22b5ff3a23adce92cea5ddc3d
25814 Author: Ignacio Casal Quinteiro <icq@gnome.org>
25815 Date: Tue Jan 18 10:56:18 2011 +0100
25817 Add override for gtk_text_buffer_insert_with_tags
25819 gi/overrides/Gtk.py | 12 ++++++++++++
25820 tests/test_overrides.py | 6 ++++++
25821 2 files changed, 18 insertions(+)
25823 commit fc7d7f7f153d57ff3866b7bfd5e6479d702cc4d9
25824 Author: Simon van der Linden <svdlinden@gnome.org>
25825 Date: Mon Jan 17 14:35:14 2011 +0100
25827 Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES
25829 https://bugzilla.gnome.org/show_bug.cgi?id=620215
25831 gi/Makefile.am | 6 ++++--
25832 gio/Makefile.am | 2 +-
25833 glib/Makefile.am | 2 +-
25834 m4/python.m4 | 7 +++++--
25835 tests/Makefile.am | 2 +-
25836 5 files changed, 12 insertions(+), 7 deletions(-)
25838 commit bceec758b27e6c396d17a79424633b5dc9116f54
25839 Author: Simon van der Linden <svdlinden@gnome.org>
25840 Date: Mon Jan 17 14:20:55 2011 +0100
25842 Kill JD_CHECK_PYTHON_HEADERS
25844 Use AM_CHECK_PYTHON_HEADERS instead, which is identical.
25846 https://bugzilla.gnome.org/show_bug.cgi?id=620215
25848 configure.ac | 2 +-
25849 m4/python.m4 | 31 +------------------------------
25850 2 files changed, 2 insertions(+), 31 deletions(-)
25852 commit e2dea065da94d17a915abe1ce4671b1dc48e02c0
25853 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25854 Date: Mon Jan 17 19:09:27 2011 +0100
25856 Revert "Override Gtk.Box.pack_start and pack_end to set default
25857 values to be compliant with pygtk"
25859 This reverts commit a8c727b9c4195d8085a45661683a18614ae84485.
25863 gi/overrides/Gtk.py
25865 gi/overrides/Gtk.py | 10 ----------
25866 1 file changed, 10 deletions(-)
25868 commit 4fbae9629adc166627de05bb0946b71485343d69
25869 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25870 Date: Mon Jan 17 19:08:23 2011 +0100
25872 Revert "Override Gtk.CellLayout.pack_start and pack_end to add
25873 default values to be compliant with pygtk"
25875 This reverts commit 232841148f35684be83a2f47b5b18da4fb74f63a.
25877 gi/overrides/Gtk.py | 13 ++-----------
25878 1 file changed, 2 insertions(+), 11 deletions(-)
25880 commit c054f0aca67952876b3519bb75ddc62c5517f7cb
25881 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25882 Date: Mon Jan 17 19:08:06 2011 +0100
25884 Revert "Override Gtk.TreeViewColumn.pack_start, pack_end and
25885 set_cell_data_func to add default values to be compliant with pygtk"
25887 This reverts commit ed7e7a8f22b1481acf78c0c2e4c489dbad72f599.
25889 gi/overrides/Gtk.py | 9 ---------
25890 1 file changed, 9 deletions(-)
25892 commit 2d9534f347505573da46743b47318e08bf073aef
25893 Author: Martin Pitt <martin.pitt@ubuntu.com>
25894 Date: Mon Jan 17 18:54:10 2011 +0100
25896 pygi-convert.sh: Handle gtk.combo_box_new_text()
25898 pygi-convert.sh | 1 +
25899 1 file changed, 1 insertion(+)
25901 commit 0586a83212a9f9234fe00659ae744ab04e7ccc67
25902 Author: John (J5) Palmieri <johnp@redhat.com>
25903 Date: Mon Jan 17 12:31:03 2011 -0500
25907 gi/pygi-argument.c | 68 ++++++++++++++++++++++++++++++++++++++++++++--
25908 gi/pygi-cache.c | 80
25909 +++++++++++++++++++++++++++++++++++++++++-------------
25910 gi/pygi-cache.h | 13 +++++++--
25911 gi/pygi-invoke.c | 2 +-
25912 4 files changed, 138 insertions(+), 25 deletions(-)
25914 commit 914d3a0a29680f4d3aa0e1f8afdd625b017b013a
25915 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25916 Date: Mon Jan 17 16:57:53 2011 +0100
25918 Override TreeSortable.set_sort_func and set_default_sort_func to
25919 add default values to be pygtk compliant
25921 gi/overrides/Gtk.py | 6 ++++++
25922 1 file changed, 6 insertions(+)
25924 commit ed7e7a8f22b1481acf78c0c2e4c489dbad72f599
25925 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25926 Date: Mon Jan 17 16:29:28 2011 +0100
25928 Override Gtk.TreeViewColumn.pack_start, pack_end and
25929 set_cell_data_func to add default values to be compliant with pygtk
25931 gi/overrides/Gtk.py | 9 +++++++++
25932 1 file changed, 9 insertions(+)
25934 commit 232841148f35684be83a2f47b5b18da4fb74f63a
25935 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25936 Date: Mon Jan 17 16:28:51 2011 +0100
25938 Override Gtk.CellLayout.pack_start and pack_end to add default values
25939 to be compliant with pygtk
25941 gi/overrides/Gtk.py | 13 +++++++++++--
25942 1 file changed, 11 insertions(+), 2 deletions(-)
25944 commit 1dec12826753756fcadefc8ef8c756fc902c320b
25945 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25946 Date: Mon Jan 17 15:54:32 2011 +0100
25948 Override Gtk.Paned pack1 and pack2 to add default values to be
25949 compliant with pygtk
25951 gi/overrides/Gtk.py | 10 ++++++++++
25952 1 file changed, 10 insertions(+)
25954 commit a8c727b9c4195d8085a45661683a18614ae84485
25955 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25956 Date: Mon Jan 17 15:46:25 2011 +0100
25958 Override Gtk.Box.pack_start and pack_end to set default values to
25959 be compliant with pygtk
25961 gi/overrides/Gtk.py | 10 ++++++++++
25962 1 file changed, 10 insertions(+)
25964 commit 7cc8ac35bb0d8dbf7d66f014f8cd7ff070b3acb8
25965 Author: Steve Frécinaux <code@istique.net>
25966 Date: Wed Aug 4 00:30:05 2010 +0200
25968 Handle GObject subclasses in the property helper.
25970 https://bugzilla.gnome.org/show_bug.cgi?id=625982
25972 gobject/propertyhelper.py | 26 +++++++++++++-------------
25973 tests/test_properties.py | 9 +++++++++
25974 2 files changed, 22 insertions(+), 13 deletions(-)
25976 commit 7a0548dbfbdfe481f75315b6bc7824a9f1a8a87b
25977 Author: Martin Pitt <martin.pitt@ubuntu.com>
25978 Date: Mon Jan 17 17:52:15 2011 +0100
25980 Fix handling of unicode for GtkTreeModels
25982 The code previously converted an unicode object into unicode, but
25984 models actually have to specify 'str' (GTK expects a gchararray). So
25986 UTF-8 instead to get what GTK expects.
25988 Add corresponding test case.
25990 gi/overrides/Gtk.py | 2 +-
25991 tests/test_overrides.py | 12 +++++++++++-
25992 2 files changed, 12 insertions(+), 2 deletions(-)
25994 commit 09c21c79fb6063c8451f53d4588363d2be7239f4
25995 Author: Laszlo Pandy <lpandy@src.gnome.org>
25996 Date: Mon Jan 17 16:46:08 2011 +0100
25998 In IntrospectionModule and DynamicModule classes, make all instance
25999 attributes start with an underscore.
26001 This changes IntrospectionModule.version to _version and
26002 DynamicModule.introspection_module to _introspection_module.
26003 This is done to mark the attributes as private, and also avoid name
26004 collisions with attributes from the typelib.
26005 In Gstreamer, there is a function gst_version, which was previously
26006 inaccessible because of IntrospectionModule.version overriding it.
26008 gi/module.py | 26 +++++++++++++-------------
26009 gi/overrides/GIMarshallingTests.py | 2 +-
26010 gi/overrides/GLib.py | 2 +-
26011 gi/overrides/Gdk.py | 10 +++++-----
26012 gi/overrides/Gtk.py | 2 +-
26013 gi/overrides/Pango.py | 2 +-
26014 gi/overrides/__init__.py | 2 +-
26015 tests/test_everything.py | 2 +-
26016 8 files changed, 24 insertions(+), 24 deletions(-)
26018 commit 2c70beca9e76e4dc253453c556e6985ce59a3dd9
26019 Author: Laszlo Pandy <lpandy@src.gnome.org>
26020 Date: Mon Jan 17 16:17:25 2011 +0100
26022 Amend previous enum wrapping commit to remove redundant setting of
26023 __info__ attribute.
26025 gi/module.py | 2 +-
26026 gi/types.py | 6 +++---
26027 2 files changed, 4 insertions(+), 4 deletions(-)
26029 commit 6fbb6be5a5d0d9cd43e1504b8dda5aa75feb95ca
26030 Author: Martin Pitt <martin.pitt@ubuntu.com>
26031 Date: Mon Jan 17 16:16:45 2011 +0100
26033 pygi-convert.sh: Handle GdkPixbuf.InterpType
26035 pygi-convert.sh | 2 ++
26036 1 file changed, 2 insertions(+)
26038 commit 66a5784f4ab5de5b6d8d51eb4ce869fa26f6a601
26039 Author: Laszlo Pandy <laszlok2@gmail.com>
26040 Date: Mon Jan 17 15:43:34 2011 +0100
26042 Fix wrapping of enums: Create new Python type for each non-gtype enum.
26044 Previously non-gtype enums used the same class, which meant they
26045 were all the same type.
26046 This caused another problem that since they were all the same class,
26047 attributes from different enums were available from each other.
26049 A new test case is created to check for this bug. It requires a new
26050 enum from the GIMarshallingTests (updating gobject-introspection
26053 gi/module.py | 2 +-
26055 tests/test_gi.py | 10 ++++++++++
26056 3 files changed, 13 insertions(+), 1 deletion(-)
26058 commit da50d5620a42046d4fc905bb28a0890d73533cb1
26059 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26060 Date: Mon Dec 13 18:03:51 2010 +0100
26062 Use g_vfunc_info_invoke for chaining up in vfuncs
26064 https://bugzilla.gnome.org/show_bug.cgi?id=637165
26066 gi/pygi-info.c | 4 ++--
26067 gi/pygi-invoke.c | 72
26068 +++++++++++++++++++++++++++++++++++++++++++-------------
26069 gi/pygi-invoke.h | 3 ++-
26070 gi/types.py | 28 +++++++++++++++++++++-
26071 tests/test_gi.py | 5 ++--
26072 5 files changed, 89 insertions(+), 23 deletions(-)
26074 commit 8ceef79c98a1c2e22ed8ab655ef1169f1763dd23
26075 Author: Simon van der Linden <svdlinden@gnome.org>
26076 Date: Fri Dec 31 18:38:04 2010 +0100
26078 Move pyglib_{main_context, option_context, option_group}_new into
26081 _PyG{MainContext, OptionContext, and OptionGroup_Type} were not
26083 when used inside the glib module, since pyglib_init is not called.
26085 pyglib.c is compiled as a stand-alone library loaded by the _glib
26087 declares the above-mentioned types. Hence, they cannot be accessed
26089 former. This patch moves the functions that need those symbols
26091 glib._glib module and exports them to the pyglib library through
26094 https://bugzilla.gnome.org/show_bug.cgi?id=636656
26096 glib/glibmodule.c | 5 ++++-
26097 glib/pyglib-private.h | 3 +++
26099 +++---------------------------------------------
26100 glib/pygmaincontext.c | 22 ++++++++++++++++++++++
26101 glib/pygmaincontext.h | 2 +-
26102 glib/pygmainloop.c | 2 +-
26103 glib/pygoptioncontext.c | 21 +++++++++++++++++++++
26104 glib/pygoptioncontext.h | 2 ++
26105 glib/pygoptiongroup.c | 26 ++++++++++++++++++++++++++
26106 glib/pygoptiongroup.h | 2 ++
26107 glib/pygsource.c | 2 +-
26108 11 files changed, 86 insertions(+), 49 deletions(-)
26110 commit 17caffe4eeefeaf33a56ececbc6c7454f60b9d76
26111 Author: Martin Pitt <martin.pitt@ubuntu.com>
26112 Date: Mon Jan 17 14:51:26 2011 +0100
26114 pygi-convert.sh: Handle Gdk.DragAction
26116 pygi-convert.sh | 1 +
26117 1 file changed, 1 insertion(+)
26119 commit aa390aa80f06ac83ec89e5c5ee143d21ace97917
26120 Author: Martin Pitt <martin.pitt@ubuntu.com>
26121 Date: Mon Jan 17 14:46:58 2011 +0100
26123 pygi-convert.sh: Generalize Gtk.Settings migration
26125 There are other GSettings.get_* functions like get_for_screen().
26127 pygi-convert.sh | 2 +-
26128 1 file changed, 1 insertion(+), 1 deletion(-)
26130 commit 2e6d5bb49425e6087ca61765ecb72e7a760f2ab2
26131 Author: Martin Pitt <martin.pitt@ubuntu.com>
26132 Date: Mon Jan 17 11:22:46 2011 +0100
26134 pygi-convert.sh: Don't change the name of "glib" submodules
26136 This particular affects dbus.mainloop.glib.*
26138 pygi-convert.sh | 2 +-
26139 1 file changed, 1 insertion(+), 1 deletion(-)
26141 commit 3887b030fc19d25e0cd7b4ed504f4ed23363c3d6
26142 Author: Paolo Borelli <pborelli@gnome.org>
26143 Date: Sun Jan 16 22:09:56 2011 +0100
26145 Plug another memory leak
26147 Do not leak interface info in (g|s)_et_property.
26149 gi/pygi-property.c | 4 ++++
26150 1 file changed, 4 insertions(+)
26152 commit a4950b4cbb3c7567a8586061bb361adb7d9afb98
26153 Author: Paolo Borelli <pborelli@gnome.org>
26154 Date: Sun Jan 16 21:43:30 2011 +0100
26156 Plug a small memory leak.
26158 Do not leak type_info in find_vfunc_info
26160 gi/gimodule.c | 10 +++++-----
26161 1 file changed, 5 insertions(+), 5 deletions(-)
26163 commit d0cbcc45366d40702c69cef207d3c0f361260c02
26164 Author: Paolo Borelli <pborelli@gnome.org>
26165 Date: Sun Jan 16 12:16:31 2011 +0100
26167 Override Table.attach() to behave like pygtk
26169 It is fairly common and even gtk itself still has attach_defaults.
26171 gi/overrides/Gtk.py | 3 +++
26172 tests/test_overrides.py | 4 ++++
26173 2 files changed, 7 insertions(+)
26175 commit 6409d659326bf3cefdf6051379e8bc2031f16733
26176 Author: Martin Pitt <martin.pitt@ubuntu.com>
26177 Date: Sat Jan 15 11:20:23 2011 -0600
26179 pygi-convert.sh: Convert Pango.WrapMode
26181 pygi-convert.sh | 1 +
26182 1 file changed, 1 insertion(+)
26184 commit 6aaa6a38198e84a189ca1e8d26b1871d5b6bb711
26185 Author: Martin Pitt <martin.pitt@ubuntu.com>
26186 Date: Sat Jan 15 11:17:09 2011 -0600
26188 pygi-convert.sh: Don't change the name of "gtk" submodules
26190 Some projects have local modules like "myproject.ui.gtk". Avoid
26192 just change module names which start with "gtk" or "gdk".
26194 pygi-convert.sh | 4 ++--
26195 1 file changed, 2 insertions(+), 2 deletions(-)
26197 commit 9be0f1f2dfb89150faf1827ef482feea03645149
26198 Author: John (J5) Palmieri <johnp@redhat.com>
26199 Date: Thu Jan 13 23:56:19 2011 -0500
26201 [gi] implement aux arg handling for array lengths
26203 gi/pygi-argument.c | 8 ++++++++
26204 gi/pygi-cache.c | 36 ++++++++++++++++++++++++++++--------
26205 gi/pygi-cache.h | 1 -
26206 gi/pygi-invoke.c | 8 ++++++--
26207 4 files changed, 42 insertions(+), 11 deletions(-)
26209 commit cfca2f0a53a5c29f543875ca4cb83a2e18d3bc72
26210 Author: John (J5) Palmieri <johnp@redhat.com>
26211 Date: Thu Jan 13 21:07:25 2011 -0500
26213 [gi] marshal in hashes
26215 gi/pygi-argument.c | 93 ++++++++++++++++++++++++++++++++++++++--
26216 gi/pygi-cache.c | 122
26217 +++++++++++++++++++++++++++++++++++++----------------
26218 2 files changed, 176 insertions(+), 39 deletions(-)
26220 commit c36fbf4918c8557a8e274a12004a412da3b22b2c
26221 Author: Laszlo Pandy <git@laszlopandy.com>
26222 Date: Tue Jan 11 21:41:47 2011 +0100
26224 Fix the __dir__() methods on DynamicModule and IntrospectionModule
26226 Previously the __dir__() methods did not list all attributes.
26227 A simple test case is included. It does not test to see if
26228 every attribute is listed, it just tests a few of each kind:
26229 - (wrapped) typelib attributes
26230 - class attributes and methods
26231 - instance attributes
26233 A set() is used to avoid returning duplicate attributes.
26234 The test case checks for this as well.
26236 https://bugzilla.gnome.org/show_bug.cgi?id=639229
26238 gi/module.py | 28 +++++++++++++++++++++-------
26239 tests/test_everything.py | 18 ++++++++++++++++++
26240 2 files changed, 39 insertions(+), 7 deletions(-)
26242 commit 1679e6af3f212e4d4644e048dc3c6177ed3fac6b
26243 Author: Paolo Borelli <pborelli@gnome.org>
26244 Date: Thu Jan 13 00:02:20 2011 +0100
26246 pygi-convert.sh: handle ReliefStyle
26248 pygi-convert.sh | 1 +
26249 1 file changed, 1 insertion(+)
26251 commit e9166ba5d19f2b586f65a3b83a671a5afd486d8f
26252 Author: John (J5) Palmieri <johnp@redhat.com>
26253 Date: Wed Jan 12 16:50:30 2011 -0500
26255 [gi] support for GList and GSList in
26257 gi/pygi-argument.c | 122
26258 ++++++++++++++++++++++++++++++++++++++++++++++++++---
26259 1 file changed, 116 insertions(+), 6 deletions(-)
26261 commit 9baf3240fbac103823ad0feaaf1c82e46d276722
26262 Author: John (J5) Palmieri <johnp@redhat.com>
26263 Date: Wed Jan 12 16:24:17 2011 -0500
26265 [gi] handle allow_none for all args
26267 gi/pygi-cache.c | 3 ++-
26268 gi/pygi-cache.h | 1 +
26269 gi/pygi-invoke.c | 7 +++++++
26270 3 files changed, 10 insertions(+), 1 deletion(-)
26272 commit d54d12c66226910952b0dc44c8d9514a7edaa6f2
26273 Author: John (J5) Palmieri <johnp@redhat.com>
26274 Date: Wed Jan 12 16:23:02 2011 -0500
26276 [gi] fix marshalling fixed arrays
26278 * get the correct item_size and pass the GArray data not the GArray
26280 gi/pygi-argument.c | 39 ++++++++++++++++++++++-----------------
26281 gi/pygi-cache.c | 3 ++-
26282 2 files changed, 24 insertions(+), 18 deletions(-)
26284 commit 3b0eff80d2ee35e0417476f0a170b9e178e3d1ee
26285 Author: John (J5) Palmieri <johnp@redhat.com>
26286 Date: Tue Jan 11 17:20:43 2011 -0500
26288 [gi] implement out arg handling
26290 gi/pygi-argument.c | 43 ++++++++++---------------------------
26291 gi/pygi-cache.c | 22 ++++++++++++++-----
26292 gi/pygi-invoke-state-struct.h | 13 +++++++++++
26293 gi/pygi-invoke.c | 50
26294 +++++++++++++++++++++++++++++++++++++++++--
26295 4 files changed, 89 insertions(+), 39 deletions(-)
26297 commit bd002c72675d35b5e60ab773181e7c36c30d2625
26298 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26299 Date: Tue Jan 11 22:21:18 2011 +0100
26301 setup.py: fix the provides keyword argument
26304 1 file changed, 1 insertion(+), 1 deletion(-)
26306 commit 59dac72d0fa8e1d68bbbc13d76c2747f1cb11857
26307 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26308 Date: Tue Jan 11 22:19:18 2011 +0100
26310 setup.py: use the same spaces-less format for all setup() parameters
26312 setup.py | 8 ++++----
26313 1 file changed, 4 insertions(+), 4 deletions(-)
26315 commit c5c149be171895d292852df364541f14f0ec423a
26316 Author: John (J5) Palmieri <johnp@redhat.com>
26317 Date: Tue Jan 11 15:39:09 2011 -0500
26319 [gi] implemented return marshalling and started on out marshalling
26321 gi/pygi-argument.c | 387
26322 ++++++++++++++++++++++++++++++++++++++++++++++++++++-
26323 gi/pygi-argument.h | 117 ++++++++++++++++
26324 gi/pygi-cache.c | 316 ++++++++++++++++++++++++++++++++++++++++++-
26325 gi/pygi-cache.h | 8 +-
26326 gi/pygi-invoke.c | 12 +-
26327 5 files changed, 829 insertions(+), 11 deletions(-)
26329 commit 4fcca8518774ab89607196dfc52037e3da30ac8a
26330 Author: John (J5) Palmieri <johnp@redhat.com>
26331 Date: Tue Jan 11 13:49:58 2011 -0500
26333 [gi] flesh out interface in marshalling a bit more
26335 gi/pygi-argument.c | 74
26336 ++++++++++++++++++++++++++++++++++++++++----------
26337 gi/pygi-cache.c | 79
26338 ++++++++++++++++++++++++++++++++++++++++++------------
26339 gi/pygi-cache.h | 1 +
26340 3 files changed, 123 insertions(+), 31 deletions(-)
26342 commit 4992dca9f5cea68d85eb2ed86105c9c6b8311d79
26343 Author: Laszlo Pandy <laszlok2@gmail.com>
26344 Date: Tue Jan 11 19:30:38 2011 +0100
26346 Add a __repr__() method to DynamicModule.
26348 This patch adds a __repr__() method to DynamicModule so that modules
26350 meaningful string with the typelib path included:
26352 >>> from gi.repository import Gtk
26354 <gi.module.DynamicModule 'Gtk' from
26355 '/home/laszlo/Dev/gnome-jh-install/lib64/girepository-1.0/Gtk-3.0.typelib'>
26357 https://bugzilla.gnome.org/show_bug.cgi?id=639232
26359 gi/module.py | 9 +++++++++
26360 1 file changed, 9 insertions(+)
26362 commit 2ffaec59e7349c145a0e2a5edba2ffb7d8628369
26363 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26364 Date: Tue Jan 11 19:40:19 2011 +0100
26366 Go back to using getattr() in DynamicModule.__getattr__
26368 Breaks marshalling of some types
26370 gi/module.py | 2 +-
26371 1 file changed, 1 insertion(+), 1 deletion(-)
26373 commit 52a298cc0f05ceec96457f17f9a801e9838fb757
26374 Author: Laszlo Pandy <laszlok2@gmail.com>
26375 Date: Tue Jan 11 19:26:50 2011 +0100
26377 Change __dir__() to report all the attributes that __getattr__
26380 Change DynamicModule.__dir__() to return the local class members as
26382 typelib attributes.
26384 Change DynamicModule.__getattr__() to call
26385 IntrospectionModule.__getattr__()
26386 directly, so that it won't inadvertently return class attributes from
26387 IntrospectionModule.
26389 https://bugzilla.gnome.org/show_bug.cgi?id=639229
26391 gi/module.py | 10 +++++++---
26392 1 file changed, 7 insertions(+), 3 deletions(-)
26394 commit 369a75ba5fb64ff7a7c95d21f8bfe359e639e9ff
26395 Author: John (J5) Palmieri <johnp@redhat.com>
26396 Date: Mon Jan 10 17:55:03 2011 -0500
26398 [gi] add object and interface in marshalling
26400 * also remove the PyGIArgCleanup sinature as GDestroyNotify works
26403 gi/pygi-argument.c | 15 +++--
26404 gi/pygi-cache.c | 182
26405 ++++++++++++++++++++++++++++++++++++++++++++++++-----
26406 gi/pygi-cache.h | 1 -
26407 gi/pygi-invoke.c | 1 +
26408 4 files changed, 178 insertions(+), 21 deletions(-)
26410 commit 88531c58d0491a31dd319387237a03df5c9edc07
26411 Author: John (J5) Palmieri <johnp@redhat.com>
26412 Date: Mon Jan 10 15:33:56 2011 -0500
26414 [gi] fix casting when marshaling a char to uint8
26416 gi/pygi-argument.c | 2 +-
26417 1 file changed, 1 insertion(+), 1 deletion(-)
26419 commit 441da4a7346ca059630dbc820c5b46e4d0222f4b
26420 Author: John (J5) Palmieri <johnp@redhat.com>
26421 Date: Mon Jan 10 15:07:16 2011 -0500
26423 [gi] hook up invoke to the cache
26425 * We now can invoke with in values
26426 * out, constructors and returns still don't work along with numerous
26430 gi/Makefile.am | 1 +
26431 gi/pygi-argument.c | 60 +++++++++--------
26432 gi/pygi-argument.h | 60 ++++++++---------
26433 gi/pygi-cache.h | 6 +-
26434 gi/pygi-invoke-state-struct.h | 26 ++++++++
26435 gi/pygi-invoke.c | 149
26436 ++++++++++++++++++++++++++++++++----------
26437 gi/pygi-invoke.h | 2 +-
26438 gi/pygi-private.h | 1 +
26439 8 files changed, 208 insertions(+), 97 deletions(-)
26441 commit f32b1f494aa5d09b9b198f607722c819c6bbd808
26442 Author: John (J5) Palmieri <johnp@redhat.com>
26443 Date: Sun Jan 9 19:37:55 2011 -0500
26445 hooked up caching stage and fixed segfaults
26447 * caching stage is hooked up but not used yet
26448 * throws exceptions for everything that can not be cached yet
26450 gi/pygi-cache.c | 59
26451 +++++++++++++++++++++++++++++++++++++++++++-------------
26452 gi/pygi-info.c | 3 +++
26453 gi/pygi-invoke.c | 5 +++++
26455 4 files changed, 56 insertions(+), 13 deletions(-)
26457 commit c2bf1d4d9cf2e9f8e313528fe717f6279dad5da1
26458 Author: John (J5) Palmieri <johnp@redhat.com>
26459 Date: Sun Jan 9 18:05:31 2011 -0500
26461 [gi] fix some function names
26463 gi/pygi-cache.c | 5 ++---
26464 1 file changed, 2 insertions(+), 3 deletions(-)
26466 commit 2ec4230a5180f048c26c2e4234b2a098d42f030b
26467 Author: John (J5) Palmieri <johnp@redhat.com>
26468 Date: Sun Jan 9 15:58:06 2011 -0500
26470 [gi] refactor cache structs so they inherit from ArgCache
26472 gi/pygi-argument.c | 122 +++++++++----------
26473 gi/pygi-cache.c | 344
26474 +++++++++++++++++++++++++++++------------------------
26475 gi/pygi-cache.h | 50 ++++----
26476 3 files changed, 273 insertions(+), 243 deletions(-)
26478 commit f4cdf0c0321285da015686fcb7115bd91bfd5c7c
26479 Author: John (J5) Palmieri <johnp@redhat.com>
26480 Date: Sat Jan 8 20:45:11 2011 -0500
26482 [gi]fix cache compile error - now compiles but cache still not
26485 gi/Makefile.am | 2 +
26486 gi/pygi-argument.c | 100 +++++++++++++++---------------
26487 gi/pygi-argument.h | 174
26488 ++++++++++++++++++++++++++++++++++++++++++++---------
26489 gi/pygi-cache.c | 169
26490 +++++++++++++++++++++++++--------------------------
26491 gi/pygi-cache.h | 25 ++++----
26492 5 files changed, 293 insertions(+), 177 deletions(-)
26494 commit 5f8f3044dd8085b2e8ce0bf70e9d52f05abf909d
26495 Author: John (J5) Palmieri <johnp@redhat.com>
26496 Date: Sat Jan 8 19:10:29 2011 -0500
26498 add sequence caching and array marshalling w/ item marshalling
26500 * simplify what we pass into the arg cache generators so we may
26502 for geneating marshalling caches for container items, not just
26505 gi/pygi-argument.c | 76 ++++++++++++++++-
26506 gi/pygi-cache.c | 242
26507 ++++++++++++++++++++++-------------------------------
26508 gi/pygi-cache.h | 4 +-
26509 3 files changed, 175 insertions(+), 147 deletions(-)
26511 commit 202a268db7f98f5a3c525c6e65ec4bff1917257e
26512 Author: Emilio Pozuelo Monfort <pochu27@gmail.com>
26513 Date: Sat Jan 8 02:19:52 2011 +0000
26515 Bump the minimum gio dependency
26517 Needed for G_TYPE_CONVERTER_FLAGS and others.
26519 configure.ac | 2 +-
26520 1 file changed, 1 insertion(+), 1 deletion(-)
26522 commit c3aa36151fdef9ed9884d93114786bbe86387983
26523 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26524 Date: Fri Jan 7 12:58:11 2011 +0100
26526 Add test for incorrect attributes in Gdk.Event
26528 tests/test_overrides.py | 4 ++++
26529 1 file changed, 4 insertions(+)
26531 commit 204b45c7e95eb50d9e3843127fb10e13b1b17fee
26532 Author: Simon van der Linden <svdlinden@gnome.org>
26533 Date: Sun Jan 2 19:25:55 2011 +0100
26535 Don't call getattr again in gi.overrides.Gdk.Event.__getattr__
26537 __getattr__ is only called when the attribute is not found through
26539 mechanism, so getattr must not be called again in __getattr__
26541 create an infinite loop).
26543 Another possibility would be to implement __getattribute__ instead,
26545 called in place of the normal mechanism. In that case, calling
26547 needed for normal attributes.
26549 https://bugzilla.gnome.org/show_bug.cgi?id=638523
26551 gi/overrides/Gdk.py | 2 +-
26552 1 file changed, 1 insertion(+), 1 deletion(-)
26554 commit 6cf298ca5565d0eb99824f050ff47407e50a5c01
26555 Author: Mike Gorse <mgorse@novell.com>
26556 Date: Fri Jan 7 09:08:31 2011 +0100
26558 Release allocated array of arguments when handling closures
26560 https://bugzilla.gnome.org/show_bug.cgi?id=638847
26562 gi/pygi-closure.c | 3 +++
26563 1 file changed, 3 insertions(+)
26565 commit 1be76d5e006efa24598ff7bf26153660dbe0a890
26566 Author: Mike Gorse <mgorse@novell.com>
26567 Date: Fri Jan 7 09:07:35 2011 +0100
26569 Release GIValueInfo when checking an enum argument
26571 https://bugzilla.gnome.org/show_bug.cgi?id=638847
26573 gi/pygi-argument.c | 1 +
26574 1 file changed, 1 insertion(+)
26576 commit 43849c51391fc9cd239697065c3d40fa02fb6783
26577 Author: John (J5) Palmieri <johnp@redhat.com>
26578 Date: Thu Jan 6 17:30:14 2011 -0500
26582 gi/pygi-cache.c | 24 ++++++++++++------------
26583 gi/pygi-cache.h | 42 +++++++++++++++++++++---------------------
26584 2 files changed, 33 insertions(+), 33 deletions(-)
26586 commit 8b5b3d2bbbbdf5d26c83e9a6fe67121cbd77ebe1
26587 Author: John (J5) Palmieri <johnp@redhat.com>
26588 Date: Thu Jan 6 17:29:00 2011 -0500
26590 add marshalling for basic types and add more skeleton code
26592 * still doesn't compile
26594 gi/pygi-argument.c | 708
26595 +++++++++++++++++++++++++++++++++++++++++++++++++++++
26596 gi/pygi-argument.h | 35 ++-
26597 gi/pygi-cache.c | 82 +++++--
26598 gi/pygi-cache.h | 41 +++-
26599 4 files changed, 832 insertions(+), 34 deletions(-)
26601 commit f554cf62848104d31518138ae85bc51acaafda67
26602 Author: John (J5) Palmieri <johnp@redhat.com>
26603 Date: Tue Jan 4 18:49:53 2011 -0500
26605 first checkin of the new caching branch
26607 * this does not compile and is not hooked up to the build system
26608 * lays out the caching data structures and some skeleton functions
26610 gi/pygi-cache.c | 480
26611 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
26612 gi/pygi-cache.h | 104 ++++++++++++
26613 2 files changed, 584 insertions(+)
26615 commit 8d5a7857876669f56bb03bf618bcfdcc290721c0
26616 Author: Eitan Isaacson <eitan@monotonous.org>
26617 Date: Wed Dec 22 12:34:10 2010 -0800
26619 Respect different type lengths when assigning out-argument pointers.
26621 https://bugzilla.gnome.org/show_bug.cgi?id=637832
26623 gi/pygi-closure.c | 66
26624 ++++++++++++++++++++++++++++++++++++++++++++++---------
26625 1 file changed, 56 insertions(+), 10 deletions(-)
26627 commit f14976ffabec28f6cafe1e37dc81d207a947d4ca
26628 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26629 Date: Tue Dec 28 18:34:25 2010 +0100
26631 Fix stupid name clash
26633 gi/module.py | 7 +++++--
26634 1 file changed, 5 insertions(+), 2 deletions(-)
26636 commit 01b2a193d403beb861eab524300b4f1af63157ce
26637 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26638 Date: Tue Dec 28 13:49:18 2010 +0100
26640 Add /usr/share to XDG_DATA_DIRS when running the tests
26642 tests/Makefile.am | 7 ++++++-
26643 1 file changed, 6 insertions(+), 1 deletion(-)
26645 commit efc186f692f9eac781cc47456be74a3da7f14dcd
26646 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26647 Date: Tue Dec 28 13:25:34 2010 +0100
26649 Comment out tests that require SRV lookups
26651 tests/test_gresolver.py | 5 ++++-
26652 1 file changed, 4 insertions(+), 1 deletion(-)
26654 commit d2462cc1ab51d76fb4625c47c3d34de1d5d0dee8
26655 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26656 Date: Tue Dec 28 13:00:16 2010 +0100
26658 Use suppresion file when running valgrind
26660 tests/Makefile.am | 2 +-
26661 tests/python.supp | 387
26662 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
26663 2 files changed, 388 insertions(+), 1 deletion(-)
26665 commit 0ee58113ecbea72784c52de928c041fc8fc88984
26666 Author: Ignacio Casal Quinteiro <icq@gnome.org>
26667 Date: Thu Dec 23 00:10:41 2010 +0100
26671 gi/pygi-argument.c | 16 +++++++---------
26672 gi/pygi-foreign-cairo.c | 13 ++-----------
26673 gio/gfile.override | 5 ++---
26674 glib/pyglib-python-compat.h | 3 +++
26675 glib/pyglib.c | 2 +-
26676 glib/pygmainloop.c | 3 ++-
26677 6 files changed, 17 insertions(+), 25 deletions(-)
26679 commit 78ea84cd91392400ebac5a361ef8793bfe928fd0
26680 Author: Jesse van den Kieboom <jesse.vandenkieboom@epfl.ch>
26681 Date: Sun Dec 19 23:10:57 2010 +0100
26683 Allow comparing Gtk.TreePath to None
26685 https://bugzilla.gnome.org/show_bug.cgi?id=637615
26687 gi/overrides/Gtk.py | 12 ++++++------
26688 tests/test_overrides.py | 6 ++++++
26689 2 files changed, 12 insertions(+), 6 deletions(-)
26691 commit 046cc5915286e042d1040271a90676b77632409e
26692 Author: John (J5) Palmieri <johnp@redhat.com>
26693 Date: Thu Dec 16 15:41:10 2010 -0500
26695 handle unicode objects in properties
26697 * There are still some cavets in Python 2:
26698 - properties are returned as String objects with the unicode
26700 - you must add # coding=utf-8 to the top of your python file
26702 will error out if it sees embeded unicode charaters (such as when
26703 supporting python 3 and python 2 from the same source)
26705 https://bugzilla.gnome.org/show_bug.cgi?id=620579
26707 gobject/pygtype.c | 35 ++++++++++++++++++++++++++---------
26708 tests/test_properties.py | 16 ++++++++++++++++
26709 2 files changed, 42 insertions(+), 9 deletions(-)
26711 commit 7aa783d5cd674f34da318f826bd5f4a0e09d24cb
26712 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26713 Date: Tue Dec 14 12:29:54 2010 +0100
26715 dsextras.py: check if gcc is there when platform is win32 and compiler
26718 dsextras.py | 6 ++++++
26719 1 file changed, 6 insertions(+)
26721 commit cebf5f09a6c5018ced64f35e7747fc81b93b823e
26722 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26723 Date: Tue Dec 14 12:29:01 2010 +0100
26725 dsextras.py: be consistent in how distutils imports are done
26727 dsextras.py | 6 +++---
26728 1 file changed, 3 insertions(+), 3 deletions(-)
26730 commit 35e590d48c78f2e76c47c2b4eaf0f7e8d1ed5c93
26731 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26732 Date: Tue Dec 14 12:25:07 2010 +0100
26734 dsextras.py: add have_gcc() function
26736 dsextras.py | 5 +++++
26737 1 file changed, 5 insertions(+)
26739 commit 637c2c287cfb0e89365026531c651111f5593ac7
26740 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26741 Date: Tue Dec 14 12:24:41 2010 +0100
26743 dsextras.py: use distutils.spawn.find_executable for have_pkgconfig()
26745 dsextras.py | 8 ++------
26746 1 file changed, 2 insertions(+), 6 deletions(-)
26748 commit 020d00bc0ce7b77006b4d4f42d63122d79bcbf89
26749 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26750 Date: Tue Dec 14 12:22:54 2010 +0100
26752 setup.py: fix another case of use True/False instead of 1/0
26755 1 file changed, 1 insertion(+), 1 deletion(-)
26757 commit b03cc9e0d66d8caea3cd6a63db198c43de9267e9
26758 Author: Paolo Borelli <pborelli@gnome.org>
26759 Date: Mon Dec 13 10:21:52 2010 +0100
26761 pygi-convert.sh: improve GtkSourceView conversion
26763 pygi-convert.sh | 7 +++++++
26764 1 file changed, 7 insertions(+)
26766 commit fbc12cd7c09a67de9e28b7b0b28de9dc0e0e3418
26767 Author: Paolo Borelli <pborelli@gnome.org>
26768 Date: Mon Dec 13 10:27:56 2010 +0100
26770 pygi-convert.sh: Gtk.DialogFlags conversion
26772 pygi-convert.sh | 1 +
26773 1 file changed, 1 insertion(+)
26775 commit 73e933d2429aea4d14e15350a538da1c5c3f71eb
26776 Author: José Alburquerque <jaalburqu@svn.gnome.org>
26777 Date: Sun Dec 12 20:38:46 2010 -0500
26779 Doc Extractor: Print the gtk-doc blocks sorted by function
26782 * codegen/docextract_to_xml.py: Print the xml of the gtk-doc
26784 alphabetical order according to the identifier (function name)
26786 the generation of xml files in the C++ bindings is
26788 Thanks to Krzesimir Nowak for suggesting this in a
26792 codegen/docextract_to_xml.py | 2 +-
26793 1 file changed, 1 insertion(+), 1 deletion(-)
26795 commit db7ffa75b007074cb6b33b547c6d8140da300a3e
26796 Author: Paolo Borelli <pborelli@gnome.org>
26797 Date: Mon Dec 13 00:17:26 2010 +0100
26799 pygi-convert.sh: add more Gtk conversions and sort
26801 pygi-convert.sh | 50 ++++++++++++++++++++++++++------------------------
26802 1 file changed, 26 insertions(+), 24 deletions(-)
26804 commit f4bfe73d0ccedf7f671d3acd6d9e262d5383b733
26805 Author: Paolo Borelli <pborelli@gnome.org>
26806 Date: Mon Dec 13 00:01:40 2010 +0100
26808 pygi-convert.sh: convert Atk
26810 pygi-convert.sh | 12 ++++++++++++
26811 1 file changed, 12 insertions(+)
26813 commit e55ce3667eb1d352bf96f265bf018ffe8aea75f9
26814 Author: Paolo Borelli <pborelli@gnome.org>
26815 Date: Sun Dec 12 23:48:48 2010 +0100
26817 pygi-convert.sh: convert a few more Gio types
26819 pygi-convert.sh | 9 +++++++++
26820 1 file changed, 9 insertions(+)
26822 commit acc9f84bc6e13d76c6516cefe393d4a4f868aa24
26823 Author: Paolo Borelli <pborelli@gnome.org>
26824 Date: Sun Dec 12 14:19:00 2010 +0100
26826 pygi-convert.sh: more GLib conversion
26828 pygi-convert.sh | 7 +++++++
26829 1 file changed, 7 insertions(+)
26831 commit c903390814bebdc62d530472f6f94feecc59b8b3
26832 Author: Paolo Borelli <pborelli@gnome.org>
26833 Date: Sun Dec 12 14:00:34 2010 +0100
26835 pygi-convert.sh: remove two cases handled by overrides
26837 pygi-convert.sh | 2 --
26838 1 file changed, 2 deletions(-)
26840 commit d33c987e505ec8ddffa2b8cb5526f05b9b5f62be
26841 Author: Paolo Borelli <pborelli@gnome.org>
26842 Date: Sun Dec 12 13:38:56 2010 +0100
26844 Override Gtk.ScrolledWindow constructor
26846 gi/overrides/Gtk.py | 7 +++++++
26847 tests/test_overrides.py | 7 +++++++
26848 2 files changed, 14 insertions(+)
26850 commit 1c24bb089fcd69e3104ae72a0e7560a8c5a3f05b
26851 Author: Paolo Borelli <pborelli@gnome.org>
26852 Date: Sun Dec 12 12:32:39 2010 +0100
26854 pygi-convert.sh: Fix 'find' syntax
26856 pygi-convert.sh | 2 +-
26857 1 file changed, 1 insertion(+), 1 deletion(-)
26859 commit f0a1d6b6bb53d0fa2788d8b9027d737b0aef8dfc
26860 Author: Paolo Borelli <pborelli@gnome.org>
26861 Date: Sun Dec 12 12:29:38 2010 +0100
26863 pygi-convert.sh: start handling Gio and GLib
26865 pygi-convert.sh | 8 ++++++++
26866 1 file changed, 8 insertions(+)
26868 commit 365bf3251af3498dc797a58cce071805451b49b1
26869 Author: Paolo Borelli <pborelli@gnome.org>
26870 Date: Sat Dec 11 23:05:31 2010 +0100
26872 pygi-convert.sh: convert Gdk.ScrollDirection.
26874 pygi-convert.sh | 1 +
26875 1 file changed, 1 insertion(+)
26877 commit bca603de0f217fb290189a0ea330f82961c46d5d
26878 Author: Paolo Borelli <pborelli@gnome.org>
26879 Date: Sat Dec 11 15:03:21 2010 +0100
26881 Override Pango.Layout constructor.
26883 I must take a Pango.Context argument. Unfortumately the context is
26885 gobject property so we need to jump through some oops.
26887 gi/overrides/Pango.py | 13 +++++++++++++
26888 tests/test_overrides.py | 6 ++++++
26889 2 files changed, 19 insertions(+)
26891 commit df233301802e3f7f9ce338cde015ca2a2fc648ab
26892 Author: Paolo Borelli <pborelli@gnome.org>
26893 Date: Sat Dec 11 14:18:53 2010 +0100
26895 Remove Pango.FontDescription() conversion.
26897 It is now properly handled by an override.
26899 pygi-convert.sh | 1 -
26900 1 file changed, 1 deletion(-)
26902 commit d8abcc9463542af9cd43d71849d0ad4c183b570b
26903 Author: Paolo Borelli <pborelli@gnome.org>
26904 Date: Fri Dec 10 14:05:20 2010 +0100
26906 Override GtkAction and GtkRadioAction constructors.
26908 gi/overrides/Gtk.py | 20 +++++++++++++++++---
26909 tests/test_overrides.py | 18 ++++++++++++++++++
26910 2 files changed, 35 insertions(+), 3 deletions(-)
26912 commit 7924b18a99a0680c04aca46be4b64a7aa507dfe5
26913 Author: Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com>
26914 Date: Sat Dec 4 22:13:28 2010 +0000
26916 Override Adjustment constructor to behave like pygtk
26918 https://bugzilla.gnome.org/show_bug.cgi?id=636486
26920 gi/overrides/Gtk.py | 7 +++++++
26921 tests/test_overrides.py | 9 +++++++++
26922 2 files changed, 16 insertions(+)
26924 commit e76352dd83c8706e68ad57d00d185da9afea99c4
26925 Author: John (J5) Palmieri <johnp@redhat.com>
26926 Date: Thu Dec 9 13:23:10 2010 -0500
26928 add secondary_text apis to MessageDialog
26930 gi/overrides/Gtk.py | 8 ++++++++
26931 tests/test_overrides.py | 8 ++++++++
26932 2 files changed, 16 insertions(+)
26934 commit de682b2d36c362140ab7d43c0743b01ec0865a74
26935 Author: John (J5) Palmieri <johnp@redhat.com>
26936 Date: Wed Dec 8 16:39:27 2010 -0500
26938 [gi] get rid of some debug prints and fix error messages
26940 gi/overrides/Gtk.py | 7 +++----
26941 1 file changed, 3 insertions(+), 4 deletions(-)
26943 commit dbb16571803bf51f497768bf80944514f4290ee5
26944 Author: Paolo Borelli <pborelli@gnome.org>
26945 Date: Wed Dec 8 18:25:15 2010 +0100
26947 Fix demo for override changes.
26949 demos/gtk-demo/gtk-demo.py | 5 +++--
26950 1 file changed, 3 insertions(+), 2 deletions(-)
26952 commit 2adcd95762944a4e27123093d3c8d080e49be1ea
26953 Author: Paolo Borelli <pborelli@gnome.org>
26954 Date: Wed Dec 8 18:06:01 2010 +0100
26956 Override Pango.FontDescription.
26958 demos/gtk-demo/gtk-demo.py | 2 +-
26959 gi/overrides/Makefile.am | 1 +
26960 gi/overrides/Pango.py | 40 ++++++++++++++++++++++++++++++++++++++++
26961 tests/test_overrides.py | 7 +++++++
26962 4 files changed, 49 insertions(+), 1 deletion(-)
26964 commit 769da968c9187414d0420412d8fb8c833d12042a
26965 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26966 Date: Wed Dec 8 17:38:11 2010 +0100
26968 Stop checking that all vfuncs are implemented
26970 Because some methods are optionally implementable but g-i won't
26973 https://bugzilla.gnome.org/show_bug.cgi?id=619606
26975 gi/gimodule.c | 4 +++-
26976 gi/types.py | 12 ++----------
26977 tests/test_gi.py | 10 ----------
26978 3 files changed, 5 insertions(+), 21 deletions(-)
26980 commit 167a01c46b3fa0b3c8339502c875d32bd2bca974
26981 Author: Paolo Borelli <pborelli@gnome.org>
26982 Date: Wed Dec 8 17:37:00 2010 +0100
26984 Fix usage of TreeIter api that is now an override.
26986 demos/gtk-demo/gtk-demo.py | 6 +++---
26987 1 file changed, 3 insertions(+), 3 deletions(-)
26989 commit d2cfd6e9250d40de7c715ac74e299deddf137683
26990 Author: Paolo Borelli <pborelli@gnome.org>
26991 Date: Wed Dec 8 17:34:54 2010 +0100
26993 Fix Gtk.Label(label="Foo")
26995 Use 'label' as an argument name instead of 'str', otherwise we may
26996 end up up with two 'label' in the kwds dict. Besides 'str' is a
26999 gi/overrides/Gtk.py | 4 ++--
27000 1 file changed, 2 insertions(+), 2 deletions(-)
27002 commit c0c684c9bb4e2bc08d7cb6ac246705e8a3b77656
27003 Author: Paolo Borelli <pborelli@gnome.org>
27004 Date: Wed Dec 8 14:16:39 2010 +0100
27006 Fix typo when raising an exception
27009 1 file changed, 1 insertion(+), 1 deletion(-)
27011 commit 88c9a3ad49d9fcf779c3523672d8bf4767910301
27012 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27013 Date: Wed Dec 8 10:46:27 2010 +0100
27015 pygi-convert.sh: Added more conversions
27017 pygi-convert.sh | 14 ++++++++++++++
27018 1 file changed, 14 insertions(+)
27020 commit 4d8d96326b2cac91e6d75e6601b92e202d1918ff
27021 Author: Paolo Borelli <pborelli@gnome.org>
27022 Date: Tue Dec 7 20:39:15 2010 +0100
27024 Override LinkButton constructor to make 'uri' mandatory
27026 gi/overrides/Gtk.py | 7 +++++++
27027 tests/test_overrides.py | 6 ++++++
27028 2 files changed, 13 insertions(+)
27030 commit f4f7fb35af1b41598dc050f5df155a01c370a920
27031 Author: Dmitry Morozov <dmitry.a.morozov@yandex.ru>
27032 Date: Sat Dec 4 19:19:19 2010 +0600
27034 Container should be iterable.
27036 gi/overrides/Gtk.py | 9 +++++++++
27037 tests/test_overrides.py | 6 +++++-
27038 2 files changed, 14 insertions(+), 1 deletion(-)
27040 commit d2ad05d6d8d53b941e0ad33fcb200f1245a2d308
27041 Author: Paolo Borelli <pborelli@gnome.org>
27042 Date: Tue Dec 7 14:13:00 2010 +0100
27044 No need to import Gdk
27046 gi/overrides/Gtk.py | 1 -
27047 1 file changed, 1 deletion(-)
27049 commit b6a40badf0b2b59e690ce818efb03c7c816b8a04
27050 Author: Paolo Borelli <pborelli@gnome.org>
27051 Date: Tue Dec 7 14:07:53 2010 +0100
27055 gi/overrides/Gtk.py | 7 +++----
27056 1 file changed, 3 insertions(+), 4 deletions(-)
27058 commit cdc9c26553bf47ea488676e7bdc5f8ab0a2c906b
27059 Author: John (J5) Palmieri <johnp@redhat.com>
27060 Date: Mon Dec 6 16:05:30 2010 -0500
27062 [gi] make sure Gtk.Button override passes all keywords to parent
27065 gi/overrides/Gtk.py | 4 ++--
27066 1 file changed, 2 insertions(+), 2 deletions(-)
27068 commit cede81ad65db017e95543d8d35715751aa202fed
27069 Author: Paolo Borelli <pborelli@gnome.org>
27070 Date: Sun Dec 5 13:31:20 2010 +0100
27072 Fix cut&paste error in the Label override
27074 gi/overrides/Gtk.py | 2 +-
27075 1 file changed, 1 insertion(+), 1 deletion(-)
27077 commit 607c59b74ebbc1e39cb4121c870b689e1888c106
27078 Author: Paolo Borelli <pborelli@gnome.org>
27079 Date: Sat Dec 4 16:03:27 2010 +0100
27081 pygi-convert.sh: handle TextWindowType
27083 pygi-convert.sh | 1 +
27084 1 file changed, 1 insertion(+)
27086 commit dfeabe0b68938e27da2e65903983b5113dc422f1
27087 Author: Paolo Borelli <pborelli@gnome.org>
27088 Date: Sat Dec 4 15:49:15 2010 +0100
27090 Override Label constructor to behave like pygtk
27092 gi/overrides/Gtk.py | 7 +++++++
27093 tests/test_overrides.py | 4 ++++
27094 2 files changed, 11 insertions(+)
27096 commit da4e045e5abbed2796cc4ed39df35a0dde2de31b
27097 Author: Paolo Borelli <pborelli@gnome.org>
27098 Date: Sat Dec 4 15:40:35 2010 +0100
27100 Override GtkTable constructor to behave like pygtk
27102 gi/overrides/Gtk.py | 7 +++++++
27103 tests/test_overrides.py | 12 ++++++++++++
27104 2 files changed, 19 insertions(+)
27106 commit 81452c23ab1befa59ff375692e582791432796a5
27107 Author: Paolo Borelli <pborelli@gnome.org>
27108 Date: Sat Dec 4 12:59:43 2010 +0100
27110 pygi-convert.sh: convert MovementStep
27112 pygi-convert.sh | 1 +
27113 1 file changed, 1 insertion(+)
27115 commit 4d097eea94258eda0c328711491fd456cbd6741b
27116 Author: Paolo Borelli <pborelli@gnome.org>
27117 Date: Sat Dec 4 11:57:02 2010 +0100
27119 Update Gdk overrides to work with latest Gtk+ 3
27121 For now added consitionals on version == 2.0, but maybe at some
27123 shuld just clean up the old stuff.
27125 gi/overrides/Gdk.py | 22 ++++++++++++++++------
27126 1 file changed, 16 insertions(+), 6 deletions(-)
27128 commit cda317195566711d66190145b545e26ed7226172
27129 Author: Johan Dahlin <johan@gnome.org>
27130 Date: Thu Dec 2 23:47:40 2010 -0200
27132 Gtk: add an override for Gtk.main_quit
27134 Override gtk.main_quit so that it can be used as a callback
27135 to signals, most importantly to the destroy signal of a widget:
27137 widget.connect('destroy', gtk.main_quit)
27139 This is compatible with what PyGTK does.
27141 https://bugzilla.gnome.org/show_bug.cgi?id=636336
27143 gi/overrides/Gtk.py | 5 ++++-
27144 gi/overrides/__init__.py | 27 +++++++++++++++++++++++++--
27145 2 files changed, 29 insertions(+), 3 deletions(-)
27147 commit 82689cbf53d92b1b951a459fe3de0e1d3a91791a
27148 Author: John (J5) Palmieri <johnp@redhat.com>
27149 Date: Thu Dec 2 16:27:04 2010 -0500
27151 [gi] handle subtypes when inserting into tree models
27153 * Often modules will give back basic types wrapped in a subtype.
27154 This is the case with D-Bus where you may want to keep some of the
27155 metadata around. More often than not, the developer is just looking
27156 to use the basetype.
27158 * This override checks the column type and handles basic types such as
27159 gchararrays, ints, longs, floats and doubles, converting them
27161 base types before sending them to the generic GI type marshaller.
27163 * More types may need to be supported but these are the common
27167 https://bugzilla.gnome.org/show_bug.cgi?id=635172
27169 gi/overrides/Gtk.py | 38 ++++++++++++++++++++++++++++++++++++--
27170 tests/test_overrides.py | 8 +++++++-
27171 2 files changed, 43 insertions(+), 3 deletions(-)
27173 commit 677490e9402bad7b7c2a832345ef54f7f0c5fc7f
27174 Author: Paolo Borelli <pborelli@gnome.org>
27175 Date: Fri Dec 3 23:39:50 2010 +0100
27177 Override TreeSelection.select_path and TreeView.scroll_to_cell
27179 The "path" argument may also be a string or a tuple
27181 gi/overrides/Gtk.py | 10 ++++++++++
27182 tests/test_overrides.py | 29 +++++++++++++++++++++++++++++
27183 2 files changed, 39 insertions(+)
27185 commit dacfe618fa244445c979f1a5efa80c1f9a5a4ae9
27186 Author: Paolo Borelli <pborelli@gnome.org>
27187 Date: Fri Dec 3 23:29:00 2010 +0100
27189 Override TreePath.__new__
27191 Instead of having a private _tree_path_from_string it is cleaner to
27192 override __new__ and it will be useful for all the api that take a
27193 TreePath or a string or a tuple.
27195 gi/overrides/Gtk.py | 33 +++++++++++++++------------------
27196 tests/test_overrides.py | 18 ++++++++++++++++++
27197 2 files changed, 33 insertions(+), 18 deletions(-)
27199 commit 7a8af9e220ee48aa28f6b025c5dae324b14fe128
27200 Author: Paolo Borelli <pborelli@gnome.org>
27201 Date: Sun Nov 28 13:02:30 2010 +0100
27203 Override Container to behave like a sequence
27205 gi/overrides/Gtk.py | 6 ++++++
27206 tests/test_overrides.py | 11 +++++++++++
27207 2 files changed, 17 insertions(+)
27209 commit 94e8befc935d4a6c7f766e34195e10fc3fb3b93a
27210 Author: John (J5) Palmieri <johnp@redhat.com>
27211 Date: Tue Nov 30 16:57:05 2010 -0500
27213 refactor Jonathan Matthew recurse vfunc patch so it applys and clean
27216 * this patch does the recursion using the previous patche's support
27219 gi/types.py | 55 +++++++++++++++++++++++++++++++++++++++++++++----------
27220 1 file changed, 45 insertions(+), 10 deletions(-)
27222 commit 9c5aee4f06f92457f9ae987656c0c469f76d0ee8
27223 Author: Jonathan Matthew <jonathan@d14n.org>
27224 Date: Thu Jul 22 23:19:51 2010 +1000
27226 Recurse up through base classes when setting up vfuncs
27228 * this patch adds the support methods to do the recursion
27230 https://bugzilla.gnome.org/show_bug.cgi?id=625033
27232 gi/gimodule.c | 130
27233 ++++++++++++++++++++++++++++++++++++++++---------------
27234 tests/test_gi.py | 37 ++++++++++++++++
27235 2 files changed, 131 insertions(+), 36 deletions(-)
27237 commit 78358e1ab54d02317f397276adee03ecb2187588
27238 Author: John (J5) Palmieri <johnp@redhat.com>
27239 Date: Mon Nov 29 18:29:57 2010 -0500
27241 add a profiling torture test for when we fix up invoke
27243 tests/test_everything.py | 67
27244 ++++++++++++++++++++++++++++++++++++++++++++++++
27245 1 file changed, 67 insertions(+)
27247 commit 792e679c06df4357843fd310c7953a931172fc99
27248 Author: John (J5) Palmieri <johnp@redhat.com>
27249 Date: Mon Nov 29 16:41:38 2010 -0500
27251 moved dynamic and base modules outside of gtk-2.0 directory
27253 * do not move header files yet as they are mostly used by static
27255 * do not remove pygtk.pth and pygtk.py files yet - there is a debate
27257 these back to pygtk but you might want to import gio static
27259 having to have pygtk installed
27260 * I have not tested this with pygtk, committing it so we can find
27262 causes any issues with legacy modules and code
27264 gi/Makefile.am | 2 +-
27265 gi/overrides/Makefile.am | 2 +-
27266 gi/repository/Makefile.am | 2 +-
27267 glib/Makefile.am | 2 +-
27268 gobject/Makefile.am | 2 +-
27269 tests/test_gi.py | 2 --
27270 tests/test_overrides.py | 3 ---
27271 7 files changed, 5 insertions(+), 10 deletions(-)
27273 commit c587e1ace7429195ac6fd4db03d2f33e2af09838
27274 Author: John (J5) Palmieri <johnp@redhat.com>
27275 Date: Mon Nov 29 15:11:46 2010 -0500
27277 add test for inout argument count
27279 tests/test_gi.py | 1 +
27280 1 file changed, 1 insertion(+)
27282 commit 5de88b4bcffdafcf8c7c20033cdf95dc690199ce
27283 Author: John (J5) Palmieri <johnp@redhat.com>
27284 Date: Mon Nov 22 19:17:23 2010 -0500
27286 [gi] add check for UNICHAR
27288 https://bugzilla.gnome.org/show_bug.cgi?id=623615
27290 gi/pygi-argument.c | 27 ++++++++++++++++++++++++++-
27291 tests/test_everything.py | 17 +++++++++++++++--
27292 2 files changed, 41 insertions(+), 3 deletions(-)
27294 commit f129b3db2c78d3cce3614993fdd1619fb9eb9c79
27295 Author: Paolo Borelli <pborelli@gnome.org>
27296 Date: Sun Nov 21 12:16:53 2010 +0100
27300 https://bugzilla.gnome.org/show_bug.cgi?id=623615
27302 gi/pygi-argument.c | 60
27303 ++++++++++++++++++++++++++++++++++++++++++++++++
27304 gi/pygi-info.c | 5 ++++
27305 tests/test_everything.py | 5 ++++
27306 3 files changed, 70 insertions(+)
27308 commit fd2c0288eb67823fca1265348a27a9f8f147ae50
27309 Author: Paolo Borelli <pborelli@gnome.org>
27310 Date: Sat Nov 27 23:01:42 2010 +0100
27312 pygi-convert.sh: gtk.accel_map -> Gtk.AccelMap._
27314 pygi-convert.sh | 1 +
27315 1 file changed, 1 insertion(+)
27317 commit 13d0ff1d9c129bb458e234b630ebe920b50e2e0f
27318 Author: Paolo Borelli <pborelli@gnome.org>
27319 Date: Sat Nov 27 22:34:13 2010 +0100
27321 pygi-convert.sh: handle "from gtk import gdk"
27323 pygi-convert.sh | 2 ++
27324 1 file changed, 2 insertions(+)
27326 commit 63a97634031c3d159ad77fdaa1f6341d7656eb07
27327 Author: Paolo Borelli <pborelli@gnome.org>
27328 Date: Sat Nov 27 22:23:24 2010 +0100
27330 pygi-convert.sh: add some Pango special cases
27332 pygi-convert.sh | 3 +++
27333 1 file changed, 3 insertions(+)
27335 commit 57e42bf4230d1aa20a47e3b0df2e509602333892
27336 Author: Paolo Borelli <pborelli@gnome.org>
27337 Date: Sat Nov 27 19:51:38 2010 +0100
27339 Override TextIter (begins|ends|toggles)_tag()
27341 Make the tag argument optional.
27343 gi/overrides/Gtk.py | 9 +++++++++
27344 tests/test_overrides.py | 17 +++++++++++++++++
27345 2 files changed, 26 insertions(+)
27347 commit 828b698e47ee819a60d24a772a3cc51ff9cd6601
27348 Author: Paolo Borelli <pborelli@gnome.org>
27349 Date: Sat Nov 27 19:32:48 2010 +0100
27351 Override TextBuffer.set_text() to make length optional
27353 gi/overrides/Gtk.py | 3 +++
27354 tests/test_overrides.py | 11 ++++++++++-
27355 2 files changed, 13 insertions(+), 1 deletion(-)
27357 commit bf55dc862755a57bb1b998702d284fc460e88a30
27358 Author: Paolo Borelli <pborelli@gnome.org>
27359 Date: Sat Nov 27 16:46:40 2010 +0100
27361 Override TextBuffer.create_mark()
27363 Override create_mark to make the left_gravity argument optional
27365 gi/overrides/Gtk.py | 3 +++
27366 tests/test_overrides.py | 3 +++
27367 2 files changed, 6 insertions(+)
27369 commit 94c0e2f71636d055bdebe3ec378f3d339eea66c9
27370 Author: Paolo Borelli <pborelli@gnome.org>
27371 Date: Sat Nov 27 16:10:33 2010 +0100
27373 Fix TextBuffer.get_selection_bounds() override
27375 Fix the override and add unit test
27377 gi/overrides/Gtk.py | 8 +++++---
27378 tests/test_overrides.py | 7 +++++++
27379 2 files changed, 12 insertions(+), 3 deletions(-)
27381 commit 0cd717e3926276540b9145e58a4a3368136b00de
27382 Author: John (J5) Palmieri <johnp@redhat.com>
27383 Date: Mon Nov 22 18:35:09 2010 -0500
27385 [gi] fix ActionGroup constructor to allow other keyword properties
27388 gi/overrides/Gtk.py | 4 ++--
27389 1 file changed, 2 insertions(+), 2 deletions(-)
27391 commit 226777cdb70fc72d206664ffd8b6737f7239d23f
27392 Author: John (J5) Palmieri <johnp@redhat.com>
27393 Date: Mon Nov 22 18:32:28 2010 -0500
27395 [gi] require the name parameter when creatin a Gtk.ActionGroup
27397 gi/overrides/Gtk.py | 3 +++
27398 tests/test_overrides.py | 2 ++
27399 2 files changed, 5 insertions(+)
27401 commit d0049fa9982d13b3553b05569fb0a227e48b6647
27402 Author: Paolo Borelli <pborelli@gnome.org>
27403 Date: Sun Nov 21 15:20:58 2010 +0100
27405 Override UIManager.insert_action_group
27407 https://bugzilla.gnome.org/show_bug.cgi?id=635437
27409 gi/overrides/Gtk.py | 3 +++
27410 tests/test_overrides.py | 34 +++++++++++++++++++++-------------
27411 2 files changed, 24 insertions(+), 13 deletions(-)
27413 commit e1db544e46aeed984133896af34b671a6a5547df
27414 Author: Paolo Borelli <pborelli@gnome.org>
27415 Date: Sun Nov 21 23:03:25 2010 +0100
27417 Override TreeModel.get() to return a tuple
27419 https://bugzilla.gnome.org/show_bug.cgi?id=635466
27421 gi/overrides/Gtk.py | 15 +++++++++++++++
27422 tests/test_overrides.py | 6 ++++++
27423 2 files changed, 21 insertions(+)
27425 commit a5e806ad8a8b279402ff7adb1c1cdc04f9f3da76
27426 Author: Paolo Borelli <pborelli@gnome.org>
27427 Date: Sun Nov 21 21:57:40 2010 +0100
27429 Make TreeSelection.get_selected_rows compatible with PyGtk
27431 https://bugzilla.gnome.org/show_bug.cgi?id=635464
27433 gi/overrides/Gtk.py | 6 ++++++
27434 1 file changed, 6 insertions(+)
27436 commit 1c537bc67107948c92b51ba6ba749747e84263e2
27437 Author: John (J5) Palmieri <johnp@redhat.com>
27438 Date: Mon Nov 22 15:04:00 2010 -0500
27440 [gi] switch to using sequences/tuples when marshalling
27441 cairo_rectangle_int_t
27443 * Upstream pycairo didn't want to add a new wrapper for
27444 cairo_rectangle_int_t
27445 * this works around that issue by using 4 element squences instead
27447 should be accepted by pycairo for any API that takes a rect
27449 gi/pygi-foreign-cairo.c | 85
27450 +++++++++++++++++++++++++++++++++++++------------
27451 1 file changed, 64 insertions(+), 21 deletions(-)
27453 commit 4cede8f12321bed6c3b71813a62c01b61853ba69
27454 Author: John (J5) Palmieri <johnp@redhat.com>
27455 Date: Fri Nov 19 16:46:53 2010 -0500
27457 [gi] overrides for treeview Drag and Drop
27459 https://bugzilla.gnome.org/show_bug.cgi?id=627367
27461 gi/overrides/Gdk.py | 7 +++++++
27462 gi/overrides/Gtk.py | 25 +++++++++++++++++++++++++
27463 2 files changed, 32 insertions(+)
27465 commit 3fd51bb903724b752f72f49c7cb35652b819791d
27466 Author: John (J5) Palmieri <johnp@redhat.com>
27467 Date: Fri Nov 19 16:44:32 2010 -0500
27469 [gi] when encountering guint8 arrays treat them as byte arrays
27471 * In Python 2 this means returning a PyString object
27472 * In Python 3 we return a PyBytes object
27474 https://bugzilla.gnome.org/show_bug.cgi?id=627367
27476 gi/pygi-argument.c | 65
27477 ++++++++++++++++++++++++++++++++++++++++++++----------
27478 tests/test_gi.py | 6 +++--
27479 2 files changed, 57 insertions(+), 14 deletions(-)
27481 commit 7ddb0f7fd8b1b9e8f691c6d42a83cb16c6561d26
27482 Author: Martin Pitt <martin.pitt@ubuntu.com>
27483 Date: Fri Nov 19 18:19:38 2010 +0100
27485 pygi-convert.sh: Add pynotify -> Notify
27487 pygi-convert.sh | 3 +++
27488 1 file changed, 3 insertions(+)
27490 commit bf03d4db03a7739ac16ddc4e614441557ede554d
27491 Author: Martin Pitt <martin.pitt@ubuntu.com>
27492 Date: Fri Nov 19 09:08:07 2010 +0100
27494 pygi-convert.sh: Remove sugar specifics, and allow command line
27497 This script is generally useful for converting pygtk2 projects,
27499 sugar. Remove the sugar specific bits, since they will just cause
27502 Also allow the user to specify the files to convert as command line
27503 arguments. If not given, all *.py files will be processed.
27505 https://bugzilla.gnome.org/show_bug.cgi?id=635244
27507 pygi-convert.sh | 25 +++++--------------------
27508 1 file changed, 5 insertions(+), 20 deletions(-)
27510 commit 18f5d229d3a4b9520c1c456be2635c8e36015c12
27511 Author: Martin Pitt <martin.pitt@ubuntu.com>
27512 Date: Fri Nov 19 09:00:35 2010 +0100
27514 pygi-convert.sh: Cover Message and Buttons types
27516 https://bugzilla.gnome.org/show_bug.cgi?id=635244
27518 pygi-convert.sh | 2 ++
27519 1 file changed, 2 insertions(+)
27521 commit ef74273c2043944708515e59a654ebe4944b46ff
27522 Author: John (J5) Palmieri <johnp@redhat.com>
27523 Date: Thu Nov 18 13:54:48 2010 -0500
27525 [gi] fix actiongroup test since actions are hashed
27527 * when actions are listed they may not show up in the order they
27529 since they reside in an unordered hash internally
27531 tests/test_overrides.py | 9 +++++----
27532 1 file changed, 5 insertions(+), 4 deletions(-)
27534 commit 2c25886bf6710568d0646f82dce4770faa44c40d
27535 Author: John (J5) Palmieri <johnp@redhat.com>
27536 Date: Wed Nov 17 14:38:09 2010 -0500
27538 [gi] when converting to UTF-8 accept Python Unicode objects as input
27541 https://bugzilla.gnome.org/show_bug.cgi?id=620579
27543 gi/pygi-argument.c | 14 ++++++++++++--
27544 glib/pyglib-python-compat.h | 5 +++++
27545 tests/test_gi.py | 3 +++
27546 3 files changed, 20 insertions(+), 2 deletions(-)
27548 commit 8c2d32c8205b971b4353e3d5d2ed1efa6ef0e06c
27549 Author: Damien Caliste <damien.caliste@cea.fr>
27550 Date: Fri Nov 12 10:20:32 2010 +0100
27552 Correct a bug in the freeing of memory in pygi-invoke.c.
27554 When a method with inout arguments is called from Python with
27555 a wrong number of arguments, the system crashs because of an
27556 assertion fail. This patch corrects this behaviour.
27558 https://bugzilla.gnome.org/show_bug.cgi?id=634671
27560 gi/pygi-invoke.c | 25 ++++++++++++++-----------
27561 1 file changed, 14 insertions(+), 11 deletions(-)
27563 commit d9bab3b185bb59bd29e3c3f6225f3636f58ec45e
27564 Author: John (J5) Palmieri <johnp@redhat.com>
27565 Date: Wed Nov 10 14:11:56 2010 -0500
27567 update news for release
27570 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
27571 1 file changed, 73 insertions(+)
27573 commit 1338a95339e21cc02b9df6d10166996c8b97a6bf
27574 Author: Jonathan Matthew <jonathan@d14n.org>
27575 Date: Tue Sep 28 13:44:13 2010 +1000
27577 Implement richcompare for GIBaseInfo
27579 https://bugzilla.gnome.org/show_bug.cgi?id=625033
27581 gi/pygi-info.c | 29 +++++++++++++++++++++++++++++
27582 1 file changed, 29 insertions(+)
27584 commit 9ce3edf69824935aeca9e676eaa9782786c22a97
27585 Author: John (J5) Palmieri <johnp@redhat.com>
27586 Date: Tue Nov 9 22:57:41 2010 -0500
27588 [gi] add the rectangle_int_t forign cairo type
27590 * the pycairo maintainer is not being responsive so you will need
27592 https://bugs.freedesktop.org/show_bug.cgi?id=31111
27593 * added conditionals, if the api doesn't exist in PyCairo we will
27595 without the forign structs
27597 gi/pygi-foreign-cairo.c | 4 ++++
27598 1 file changed, 4 insertions(+)
27600 commit 68b8211d8b014cf26ca7e9ab751fb3f61f228290
27601 Author: John (J5) Palmieri <johnp@redhat.com>
27602 Date: Mon Oct 25 18:28:36 2010 -0400
27604 add a foreign type for cairo_rectangle_int_t and allow it to be
27607 * this is needed because Gdk and Gtk switched from returning a
27609 to a CairoRectangleInt structure
27610 * the patch in https://bugs.freedesktop.org/show_bug.cgi?id=31111
27612 for pycairo (however there is currently no patch for python 2)
27613 * added fix for foreign types to allow them to be caller allocated
27614 * in order for a type to be caller allocated it must be able to take
27616 and create an empty struct in foreign_struct_from_arg and it must
27618 to handle GI_TRANFER_EVERYTHING in foreign_struct_to_arg.
27620 https://bugzilla.gnome.org/show_bug.cgi?id=627545
27622 gi/pygi-foreign-cairo.c | 57
27623 +++++++++++++++++++++++++++++++++++++++++++++++++
27624 gi/pygi-invoke.c | 15 +++++++++++--
27625 2 files changed, 70 insertions(+), 2 deletions(-)
27627 commit ce8b948310220288e9eef904eef4ec8f4e24a376
27628 Author: John (J5) Palmieri <johnp@redhat.com>
27629 Date: Tue Nov 9 22:11:51 2010 -0500
27631 [gi] add overrides to Gtk.Editable
27633 gi/overrides/Gtk.py | 17 +++++++++++++++++
27634 tests/test_overrides.py | 12 ++++++++++++
27635 2 files changed, 29 insertions(+)
27637 commit 87dbc716f26cefc0e9427c3d6e8befe8eabd3d1e
27638 Author: John (J5) Palmieri <johnp@redhat.com>
27639 Date: Tue Nov 9 21:12:54 2010 -0500
27641 [gi] handle virtual invokers
27643 * right now we check to see if there is an method with the same name
27644 as the virtual method and assume that is the invoker
27645 * some invokers are named different so we now ask the VFuncInfo if
27646 the vfunc has an invoker
27647 * this is still not completly correct, gi needs to support telling
27648 us which vfuncs must be overridden.
27649 * this keeps the old way of checking vfuncs while adding the edge case
27650 where vfunc is named differently from their invoker
27652 gi/pygi-info.c | 16 ++++++++++++++++
27654 2 files changed, 17 insertions(+), 1 deletion(-)
27656 commit 540e9f1f349ba3625e28b7673c92210eb8974098
27657 Author: John (J5) Palmieri <johnp@redhat.com>
27658 Date: Tue Nov 9 12:17:05 2010 -0500
27660 add overrides for the insert* apis of list_store and tree_store
27662 * add set_row to tree_model as convinience method for both list and
27665 https://bugzilla.gnome.org/show_bug.cgi?id=634423
27667 gi/overrides/Gtk.py | 80
27668 ++++++++++++++++++++++++++++++++++++++-----------
27669 tests/test_overrides.py | 53 +++++++++++++++++++++++++++++++-
27670 2 files changed, 114 insertions(+), 19 deletions(-)
27672 commit 0bcb58b9541d9ae52e1d96e6239e9dbe0698872a
27673 Author: John (J5) Palmieri <johnp@redhat.com>
27674 Date: Fri Nov 5 13:56:12 2010 -0400
27676 fix dialogs overrides which were relying on broken inheritance
27679 gi/overrides/Gtk.py | 14 ++++++++++++--
27680 1 file changed, 12 insertions(+), 2 deletions(-)
27682 commit 89c104d17d79d7b935cd76101cba19d49390f7be
27683 Author: John (J5) Palmieri <johnp@redhat.com>
27684 Date: Thu Nov 4 12:00:14 2010 -0400
27686 Add a overrides registry so we can refrence overrides inside the
27689 * Overrides have a reentrancy issue when doing inheritance. If an
27691 inherits from another override down the stack it won't see the
27693 because the module is not finished loading and will inherit from the
27694 non-overriden object instead. This causes type errors later.
27695 * By adding the overrides to a registry outside of the module we
27697 registration and make the override available as soon as the class
27699 not when the whole module is parsed.
27701 https://bugzilla.gnome.org/show_bug.cgi?id=633347
27703 gi/module.py | 12 ++++++++++-
27704 gi/overrides/GIMarshallingTests.py | 2 +-
27705 gi/overrides/Gdk.py | 2 +-
27706 gi/overrides/Gtk.py | 2 +-
27707 gi/overrides/__init__.py | 43
27708 ++++++++++++++++++++++++++++++++++++++
27709 gi/types.py | 8 -------
27710 tests/test_overrides.py | 27 ++++++++++++++++++++++++
27711 7 files changed, 84 insertions(+), 12 deletions(-)
27713 commit 878b8f630acd2146bee364054acd45cd33eea37a
27714 Merge: cdacaa95 e3178381
27715 Author: John Stowers <john.stowers@gmail.com>
27716 Date: Fri Nov 5 11:40:22 2010 +1300
27718 Merge remote branch 'dieterv/setup-fixes-for-merge'
27720 commit e317838178fba5f0590fb8bd323f49602d564b53
27721 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27722 Date: Thu Nov 4 11:16:43 2010 +0100
27724 setup.py: ease maintenance burden for tests installation
27726 setup.py | 23 +++--------------------
27727 1 file changed, 3 insertions(+), 20 deletions(-)
27729 commit cdacaa9572893796e0f3aa3730d0191911cb29ee
27730 Author: John (J5) Palmieri <johnp@redhat.com>
27731 Date: Wed Nov 3 09:51:09 2010 -0400
27733 fix inheritence issues in overrides
27735 gi/overrides/Gtk.py | 79
27736 +++++++++++++++++++++++++++--------------------------
27737 1 file changed, 40 insertions(+), 39 deletions(-)
27739 commit 3d5955767d81f45e796ab2af0707533375681774
27740 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27741 Date: Wed Nov 3 09:38:56 2010 +0100
27743 tests: add runtests-windows.py script
27745 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27747 tests/runtests-windows.py | 47
27748 +++++++++++++++++++++++++++++++++++++++++++++++
27749 1 file changed, 47 insertions(+)
27751 commit 8cb3f2e78161639c568110aad6a807dcf59f3ae8
27752 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27753 Date: Wed Nov 3 09:35:52 2010 +0100
27755 pygobject_postinstall.py: remove pygobject-2.0.pc treatment from
27756 postinstall as pkg-config on windows figures out the correct prefix
27759 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27761 pygobject_postinstall.py | 26 +++-----------------------
27762 1 file changed, 3 insertions(+), 23 deletions(-)
27764 commit 63167574df53eb481cc11b6a097b2bfe7d5747f5
27765 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27766 Date: Wed Nov 3 09:34:38 2010 +0100
27768 pygobject_postinstall.py: remove shortcut creation
27770 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27772 pygobject_postinstall.py | 35 +----------------------------------
27773 1 file changed, 1 insertion(+), 34 deletions(-)
27775 commit f7b12611f94fd8c27fb67a03746c10149ce6e0ef
27776 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27777 Date: Wed Nov 3 09:31:14 2010 +0100
27779 setup.py: formatting cleanup, makes things readable
27781 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27783 setup.py | 56 ++++++++++++++++++++++++++------------------------------
27784 1 file changed, 26 insertions(+), 30 deletions(-)
27786 commit a31b4196fbb4638a245430f2fdeafd7534b1d84d
27787 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27788 Date: Wed Nov 3 09:28:36 2010 +0100
27790 setup.py: build and install tests
27792 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27795 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
27796 1 file changed, 61 insertions(+)
27798 commit 7c3b0c20b83c05833d73c240690dce3daf43fde8
27799 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27800 Date: Wed Nov 3 09:26:59 2010 +0100
27802 setup.py: install documentation when available on build system
27804 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27807 1 file changed, 3 insertions(+)
27809 commit 78533d851ee1314686f18cfa793613a9cf7d6686
27810 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27811 Date: Wed Nov 3 09:25:56 2010 +0100
27813 setup.py: install pygobject-codegen script
27815 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27817 setup.py | 25 +++++++++++++++++++++++++
27818 1 file changed, 25 insertions(+)
27820 commit ad40688df533dda0b1f7be8ea37c542b8796a26b
27821 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27822 Date: Wed Nov 3 09:24:45 2010 +0100
27824 setup.py: install fixxref.py script
27826 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27829 1 file changed, 3 insertions(+)
27831 commit 21ddfc66e4e18c002a33154eb4ab81170ed71ecc
27832 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27833 Date: Wed Nov 3 09:23:05 2010 +0100
27835 setup.py: rearrange constants
27837 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27839 setup.py | 37 ++++++++++++++++++++-----------------
27840 1 file changed, 20 insertions(+), 17 deletions(-)
27842 commit 7d353d04892de67265bf693f591f37fd393de639
27843 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27844 Date: Wed Nov 3 09:18:11 2010 +0100
27846 setup.py: check python version and pkgconig availability before
27849 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27851 setup.py | 18 ++++++++++--------
27852 1 file changed, 10 insertions(+), 8 deletions(-)
27854 commit 286364ed39953e942e24d5911519bcac2f90975a
27855 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27856 Date: Wed Nov 3 09:05:59 2010 +0100
27858 setup.py: simplify sys.platform != 'win32' detection and error
27861 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27863 setup.py | 29 +++++++++--------------------
27864 1 file changed, 9 insertions(+), 20 deletions(-)
27866 commit 3f70f92904c123e6cc40929c0affd3f75d061828
27867 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27868 Date: Wed Nov 3 09:02:30 2010 +0100
27870 setup.py: rearrange imports
27872 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27874 setup.py | 31 ++++++++++++++++++++++---------
27875 1 file changed, 22 insertions(+), 9 deletions(-)
27877 commit 9aa54b65f729c0f3b0e96ab7ff797f87dad6a455
27878 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27879 Date: Wed Nov 3 08:58:00 2010 +0100
27881 README.win32: update build instructions
27883 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27885 README.win32 | 13 +++++--------
27886 1 file changed, 5 insertions(+), 8 deletions(-)
27888 commit 5a33105f690ba84b2e4bb15d73d3467e92fa06e0
27889 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27890 Date: Wed Nov 3 07:59:18 2010 +0100
27892 dsextras.py: formatting cleanup, makes things readable
27894 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27897 ++++++++++++++++++++++++++++++++++++++----------------------
27898 1 file changed, 93 insertions(+), 55 deletions(-)
27900 commit d03503d0412d173acb383926ab3c2d640dad3e3f
27901 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27902 Date: Wed Nov 3 07:00:40 2010 +0100
27904 dsextras.py: add ggc4 to MSVC compatible struct packing comment
27906 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27908 dsextras.py | 4 ++--
27909 1 file changed, 2 insertions(+), 2 deletions(-)
27911 commit 8c62968e9f8467e24870b8c4f61112676eef4630
27912 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27913 Date: Wed Nov 3 06:56:32 2010 +0100
27915 dsextras.py: use the pkgc_ functions instead of repeating pgk-config
27916 incantations all over the place
27918 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27920 dsextras.py | 15 ++++++---------
27921 1 file changed, 6 insertions(+), 9 deletions(-)
27923 commit b98277afc24886bbda400e0ad360992bffa77b7c
27924 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27925 Date: Wed Nov 3 06:49:48 2010 +0100
27927 dsextras.py: add pkgc_get_version and pkgc_get_defs_dir functions
27929 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27931 dsextras.py | 10 ++++++++++
27932 1 file changed, 10 insertions(+)
27934 commit a565558652ebc3fa49d7aea40d399b06bbe376c4
27935 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27936 Date: Wed Nov 3 06:45:05 2010 +0100
27938 dsextras.py: PEP8: Comparisons to singletons like None should always
27939 be done with 'is' or 'is not', never the equality operators.
27941 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27943 dsextras.py | 4 ++--
27944 1 file changed, 2 insertions(+), 2 deletions(-)
27946 commit 4b1ff0c7f9953f925d2178069263cca67ca7db02
27947 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27948 Date: Wed Nov 3 06:44:21 2010 +0100
27950 dsextras.py: use True/False instead of 1/0
27952 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27954 dsextras.py | 25 +++++++++++++------------
27955 1 file changed, 13 insertions(+), 12 deletions(-)
27957 commit 819a21cea831c3892040390e9446b78a91d1cbbe
27958 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27959 Date: Wed Nov 3 06:28:04 2010 +0100
27961 dsextras.py: rearrange imports
27963 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27966 +++++++++++++++++++++++++++++++---------------------------
27967 1 file changed, 31 insertions(+), 27 deletions(-)
27969 commit d20edbfdde2819f8d4fee8cb3170c126fcd31d5f
27970 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27971 Date: Wed Nov 3 06:16:21 2010 +0100
27973 Add distutils generated build/dist directories and eclipse
27974 configuration files to .gitignore
27976 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27978 .gitignore | 7 +++++++
27979 1 file changed, 7 insertions(+)
27981 commit 268d6ed2b0b1d266c612da4453b6117d9e14437e
27982 Author: John (J5) Palmieri <johnp@redhat.com>
27983 Date: Thu Oct 28 15:32:28 2010 -0400
27985 [gi] add tests for calling dir on a dynamic module
27987 tests/test_gi.py | 24 ++++++++++++++++++++++++
27988 1 file changed, 24 insertions(+)
27990 commit f6386a6e0d225c83cdbe1add4c4d3ea51d3ec2f0
27991 Author: Deepankar Sharma <deepankar.sharma@gmail.com>
27992 Date: Wed Oct 27 18:28:11 2010 -0400
27994 [gi] dir() now works for modules
27996 https://bugzilla.gnome.org/show_bug.cgi?id=625093
27998 gi/module.py | 8 ++++++++
27999 1 file changed, 8 insertions(+)
28001 commit 28ed01c34c503cfb4f14fe7af7912060ca70aba6
28002 Author: Simón Pena <spenap@gmail.com>
28003 Date: Mon Sep 20 23:10:14 2010 +0200
28005 Don't check the inner type when comparing gpointers
28007 When using pyg_pointer_richcompare to compare two objects,
28008 don't check their inner types. As we can't compare their private
28009 fields, nor get a proper compare function, we can consider them
28010 gpointers and compare them that way.
28012 https://bugzilla.gnome.org/show_bug.cgi?id=629552
28014 gobject/pygpointer.c | 2 +-
28015 1 file changed, 1 insertion(+), 1 deletion(-)
28017 commit 1731f89e4b5a20c33976963e12a1f39a21d33fde
28018 Author: John (J5) Palmieri <johnp@redhat.com>
28019 Date: Thu Oct 28 14:21:12 2010 -0400
28021 Release GIL when calling into C functions
28023 Author: Daniel P. Berrange <dan@berrange.com>
28025 https://bugzilla.gnome.org/show_bug.cgi?id=629042
28027 gi/pygi-invoke.c | 10 +++++++++-
28028 1 file changed, 9 insertions(+), 1 deletion(-)
28030 commit 783e2e351ec7470bda6b441e51f387dd61543c4b
28031 Author: José Aliste <jaliste@src.gnome.org>
28032 Date: Fri Oct 15 14:30:10 2010 -0300
28034 _gi.Repository : Implement missing info bindings.
28036 https://bugzilla.gnome.org/show_bug.cgi?id=632185
28038 gi/pygi-info.c | 91
28039 +++++++++++++++++++++++++++++++++++++++++++++++++---------
28040 gi/pygi-info.h | 7 +++++
28041 2 files changed, 84 insertions(+), 14 deletions(-)
28043 commit 2ca897273f52ae38f5e06e72c773a048e199eee5
28044 Author: John (J5) Palmieri <johnp@redhat.com>
28045 Date: Thu Oct 28 13:49:15 2010 -0400
28047 include Python.h so that PY_VERSION_HEX gets defined
28049 gi/pygi-foreign-cairo.c | 1 +
28050 1 file changed, 1 insertion(+)
28052 commit 8b28b1d713df33931e255600ab98feda37a8e02a
28053 Author: John (J5) Palmieri <johnp@redhat.com>
28054 Date: Thu Oct 28 13:47:34 2010 -0400
28056 [gi] make overrides work for python 3.x protocols and alias for
28059 gi/overrides/Gtk.py | 9 +++++++--
28060 1 file changed, 7 insertions(+), 2 deletions(-)
28062 commit 3c09710d2f68af9c16ce39fd25656147656a486a
28063 Author: Sebastian Pölsterl <sebp@k-d-w.org>
28064 Date: Sat Oct 23 14:24:24 2010 +0200
28066 Override Gtk.Widget.translate_coordinates to not return success value
28068 gi/overrides/Gtk.py | 11 +++++++++++
28069 1 file changed, 11 insertions(+)
28071 commit 9d4443b3de8c327d8645ddde0a7a6dc5b977d7b4
28072 Author: Sebastian Pölsterl <sebp@k-d-w.org>
28073 Date: Sat Oct 23 14:22:36 2010 +0200
28075 Override Gtk.TreeViewColumn.cell_get_position to not return success
28078 gi/overrides/Gtk.py | 5 +++++
28079 1 file changed, 5 insertions(+)
28081 commit 6679d39ace06294e98f9d6fc911ed6fb27656010
28082 Author: Sebastian Pölsterl <sebp@k-d-w.org>
28083 Date: Sat Oct 23 14:21:36 2010 +0200
28085 Override get_path_at_pos and get_dest_row_at_pos of Gtk.TreeView to
28086 not return success value
28088 gi/overrides/Gtk.py | 15 +++++++++++++++
28089 1 file changed, 15 insertions(+)
28091 commit 80b1b266fa68a5c67106871502017166628f71e4
28092 Author: Sebastian Pölsterl <sebp@k-d-w.org>
28093 Date: Sat Oct 23 14:20:38 2010 +0200
28095 Override Gtk.TreeSortable.get_sort_column_id to not return success
28098 gi/overrides/Gtk.py | 12 ++++++++++++
28099 1 file changed, 12 insertions(+)
28101 commit 17cd0fb3a2d2ca0c6109c41727ba0b8c42217cd5
28102 Author: Sebastian Pölsterl <sebp@k-d-w.org>
28103 Date: Sat Oct 23 14:19:20 2010 +0200
28105 Override forward_search and backward_search of Gtk.TextIter to not
28106 return success value
28108 gi/overrides/Gtk.py | 15 +++++++++++++++
28109 1 file changed, 15 insertions(+)
28111 commit 95c86fa31da3d2fe84db0e2b5bc2a6dc896c9223
28112 Author: Sebastian Pölsterl <sebp@k-d-w.org>
28113 Date: Sat Oct 23 14:18:09 2010 +0200
28115 Override Gtk.TextBuffer.get_selection_bounds to not return success
28118 gi/overrides/Gtk.py | 5 +++++
28119 1 file changed, 5 insertions(+)
28121 commit da6d87460b9392c29d025a7eed9249fb604204bc
28122 Author: Sebastian Pölsterl <sebp@k-d-w.org>
28123 Date: Sat Oct 23 14:17:04 2010 +0200
28125 Override Gtk.RecentInfo.get_application_info to not return success
28128 gi/overrides/Gtk.py | 10 ++++++++++
28129 1 file changed, 10 insertions(+)
28131 commit 0ed2e8772bdc405b0d0c7e0b2803e0e141abcb6a
28132 Author: Sebastian Pölsterl <sebp@k-d-w.org>
28133 Date: Sat Oct 23 14:16:21 2010 +0200
28135 Override Gtk.IMContext.get_surrounding to not return success value
28137 gi/overrides/Gtk.py | 10 ++++++++++
28138 1 file changed, 10 insertions(+)
28140 commit b85b445f15421209c0b4adf676d7c8218d6437c5
28141 Author: Sebastian Pölsterl <sebp@k-d-w.org>
28142 Date: Sat Oct 23 14:15:24 2010 +0200
28144 Override get_item_at_pos, get_visible_range, get_dest_item_at_pos
28145 of Gtk.IconView to not return success value
28147 gi/overrides/Gtk.py | 19 +++++++++++++++++++
28148 1 file changed, 19 insertions(+)
28150 commit 684d716192d58c972083e579e909bcd97f8a5025
28151 Author: Sebastian Pölsterl <sebp@k-d-w.org>
28152 Date: Sat Oct 23 14:13:47 2010 +0200
28154 Override Gtk.Container.get_focus_chain to not return success value
28156 gi/overrides/Gtk.py | 10 ++++++++++
28157 1 file changed, 10 insertions(+)
28159 commit 8ec830c57fafbfe50d9619c6caba3cb95a00d688
28160 Author: Sebastian Pölsterl <sebp@k-d-w.org>
28161 Date: Sat Oct 23 14:12:44 2010 +0200
28163 Override Gtk.ComboBox.get_active_iter to not return success value
28165 gi/overrides/Gtk.py | 10 ++++++++++
28166 1 file changed, 10 insertions(+)
28168 commit b483852904468722230903989e3451c7c6a24c0f
28169 Author: John (J5) Palmieri <johnp@redhat.com>
28170 Date: Tue Oct 12 12:18:33 2010 -0400
28172 [gi] make parameter check less strict when dealing with GValue params
28174 * Some GValue API can store a pointer to a python object for later
28175 use but our parameter checking was too strict to allow this
28176 * Add pyg_type_from_object_strict API which takes a strict boolean and
28177 returns PY_TYPE_OBJECT if no other GType can be found
28178 * Since we don't have enough info to genrically check GValue
28180 use the less strict type guessing when encountering a GValue param
28181 * Other API stays the same and continues to do strict testing
28183 https://bugzilla.gnome.org/show_bug.cgi?id=622987
28185 gi/pygi-argument.c | 17 ++++++---------
28186 gobject/gobjectmodule.c | 4 ++--
28187 gobject/pygobject-private.h | 1 +
28188 gobject/pygobject.h | 2 ++
28189 gobject/pygtype.c | 37 +++++++++++++++++++++++++++++----
28190 tests/test_gi.py | 1 -
28191 tests/test_overrides.py | 50
28192 +++++++++++++++++++++++++++++++++++++++++----
28193 7 files changed, 90 insertions(+), 22 deletions(-)
28195 commit 8c87d622dcc6d76a981edfc5818fe67bb2e114e2
28196 Author: John Stowers <john.stowers@gmail.com>
28197 Date: Fri Oct 22 13:28:31 2010 +1300
28199 Shortcut removal is not needed on post-uninstall
28201 pygobject_postinstall.py | 14 ++------------
28202 1 file changed, 2 insertions(+), 12 deletions(-)
28204 commit a3ed97fe6f80548801739fe6b72771b9eb6d93f7
28205 Author: John Stowers <john.stowers@gmail.com>
28206 Date: Thu Oct 21 13:25:35 2010 +1300
28208 Disable shortcut creation in windows installer
28210 pygobject_postinstall.py | 2 +-
28211 1 file changed, 1 insertion(+), 1 deletion(-)
28213 commit a3d6212b0abccef58f05d454c091936776413d98
28214 Author: John (J5) Palmieri <johnp@redhat.com>
28215 Date: Thu Oct 7 11:43:27 2010 -0400
28217 overrides for all subclasses of dialog
28219 https://bugzilla.gnome.org/show_bug.cgi?id=631634
28221 gi/overrides/Gtk.py | 94
28222 +++++++++++++++++++++++++++++++++++++++++++++----
28223 tests/test_overrides.py | 64 ++++++++++++++++++++++++++++++++-
28224 2 files changed, 151 insertions(+), 7 deletions(-)
28226 commit a87e3ba64b54e6df0b5b96af47c34e3be790b58f
28227 Author: Sebastian Pölsterl <sebp@k-d-w.org>
28228 Date: Thu Oct 7 19:37:53 2010 +0200
28230 Make TreeModel behave like in GTK-2.x
28232 Moved stuff from __getitem__ to get_iter.
28233 Added TreePath.__cmp__
28235 get_iter_from_string throws ValueError.
28236 iterchildren() does not return None.
28238 Adjusted tests to new TreeModel and added TestGtk.test_tree_model
28241 Added support for negative row and column indices
28243 Use rich comparison methods instead of __cmp__
28245 Added TreeModel.__bool__/__nonzero__
28247 Raise Error if tree path string is empty
28249 https://bugzilla.gnome.org/show_bug.cgi?id=631547
28251 gi/overrides/Gtk.py | 195
28252 ++++++++++++++++++++++++++++++++++++++++++++++++
28253 tests/test_overrides.py | 160 +++++++++++++++++++++++++++++++++++++--
28254 2 files changed, 349 insertions(+), 6 deletions(-)
28256 commit acfcc29af727fb67d0dfbbcc7cc14963ef21f1ea
28257 Author: John Stowers <john.stowers@gmail.com>
28258 Date: Sat Oct 16 18:59:25 2010 +1300
28260 Correctly build GIO on windows
28262 setup.py | 6 +++---
28263 1 file changed, 3 insertions(+), 3 deletions(-)
28265 commit 33b59fd7437009b6c3ed43412e171d2cc91ee317
28266 Author: John Stowers <john.stowers@gmail.com>
28267 Date: Sat Oct 16 18:17:28 2010 +1300
28269 Require Python >= 2.6.0 for Windows build
28272 1 file changed, 1 insertion(+), 1 deletion(-)
28274 commit 544e0e4de4f5f97b0584eaf72ae8a081eca28ab6
28275 Author: John Stowers <john.stowers@gmail.com>
28276 Date: Sat Oct 16 17:41:01 2010 +1300
28278 Fix depreciation warning in dsextras.py
28281 1 file changed, 1 insertion(+), 1 deletion(-)
28283 commit 239ff961778e4e1587404d8a70dfbe8630ab0623
28284 Author: John Stowers <john.stowers@gmail.com>
28285 Date: Sat Oct 16 17:34:50 2010 +1300
28287 Fix build on windows
28289 gi/pygi-foreign.c | 5 ++++-
28290 gi/pygi.h | 5 ++++-
28292 3 files changed, 10 insertions(+), 4 deletions(-)
28294 commit 9a2f81d63012fef23fdde2b4d903bd69601c07c6
28295 Author: Michael Culbertson <michael.culbertson@gmail.com>
28296 Date: Sat Oct 16 17:08:11 2010 +1300
28298 Support for GCC4 in Windows distutils build - bug 626548
28300 dsextras.py | 3 ++-
28301 1 file changed, 2 insertions(+), 1 deletion(-)
28303 commit 27367c8dc3a3a31fdd778505b319cd3f4afb9e27
28304 Author: John Stowers <john.stowers@gmail.com>
28305 Date: Fri Oct 15 09:39:02 2010 +1300
28307 Remove obsolete comments in dsextras.py
28309 dsextras.py | 11 ++---------
28310 1 file changed, 2 insertions(+), 9 deletions(-)
28312 commit b5f383f854fb8f72677828b029589320c59006d1
28313 Author: John Stowers <john.stowers@gmail.com>
28314 Date: Fri Oct 15 09:21:03 2010 +1300
28316 Broken dsextras.py pkg-config check error message
28321 1 file changed, 1 insertion(+), 1 deletion(-)
28323 commit e1981da105b574e273ae6500fc6d25caf6af6aae
28324 Author: John (J5) Palmieri <johnp@redhat.com>
28325 Date: Tue Sep 28 15:31:03 2010 -0400
28327 add compat functions for the deprecated PyCObject api
28329 * Moved to using the PyCapsule API for python >= 3
28330 * PyCObject is removed from Python 3.2
28331 * It has also been deprecated in 2.7 but since we use the API in
28333 which are consumed by static binding modules, appling this for
28335 causes crashes unless the modules are recompiled, breaking ABI.
28337 to rely on for 2.7 because it will never be removed and there is
28339 undeprecating it upstream.
28340 * There is no issues with static bindings under python 3 because
28342 supported yet and most likely never will be.
28343 * Even if PyCObject is brought back in 3.2, PyCapsule is a much
28345 which adds a poorman's type check when unboxing.
28347 https://bugzilla.gnome.org/show_bug.cgi?id=630844
28349 gi/gimodule.c | 2 +-
28350 gi/pygi.h | 5 ++++-
28351 glib/glibmodule.c | 2 +-
28352 glib/pyglib-python-compat.h | 28 ++++++++++++++++++++++++++++
28353 glib/pyglib.c | 6 +++---
28354 glib/pygoptioncontext.c | 2 +-
28355 gobject/gobjectmodule.c | 2 +-
28356 gobject/pygobject.h | 6 ++++++
28357 gobject/pygtype.c | 10 +++++-----
28358 9 files changed, 50 insertions(+), 13 deletions(-)
28360 commit 03d2e2924e27a9d6cae89e5748f70e0a51be91c6
28361 Author: Damien Caliste <damien.caliste@cea.fr>
28362 Date: Tue Sep 28 12:44:42 2010 +0200
28364 Add __path__ attributes.
28366 Add an attribute __path__ to DynamicModule and IntrospectionModule,
28367 using the path of the typelib.
28369 https://bugzilla.gnome.org/show_bug.cgi?id=630807
28371 gi/module.py | 2 ++
28372 1 file changed, 2 insertions(+)
28374 commit 28f9366c9cb382801bad080864f667c867daa3c7
28375 Author: Sebastian Pölsterl <sebp@k-d-w.org>
28376 Date: Sat Oct 9 17:40:40 2010 +0200
28378 Override Gtk.TreeSelection.get_selected to not return success value.
28380 https://bugzilla.gnome.org/show_bug.cgi?id=631765
28382 gi/overrides/Gtk.py | 12 ++++++++++++
28383 1 file changed, 12 insertions(+)
28385 commit f01a7d9e8222663ce52100e061033f2745a5e7af
28386 Author: Vincent Untz <vuntz@gnome.org>
28387 Date: Thu Oct 7 09:42:24 2010 +0200
28389 Make row optional in Gtk.TreeStore/ListStore.append override
28391 https://bugzilla.gnome.org/show_bug.cgi?id=631548
28393 gi/overrides/Gtk.py | 36 ++++++++++++++++++++++--------------
28394 1 file changed, 22 insertions(+), 14 deletions(-)
28396 commit 1e1357f5fa1a034b0b707040d664ac46be6e23f7
28397 Author: John (J5) Palmieri <johnp@redhat.com>
28398 Date: Mon Oct 4 12:50:55 2010 -0400
28400 Revert "add compat functions for the deprecated PyCObject api"
28402 This reverts commit f25e763d53e5cdd4de08e90b04aea4b4c4720ac0.
28404 I ment to commit another patch and ended up comitting both
28406 gi/gimodule.c | 2 +-
28407 gi/pygi.h | 5 +----
28408 glib/glibmodule.c | 2 +-
28409 glib/pyglib-python-compat.h | 19 -------------------
28410 glib/pyglib.c | 6 +++---
28411 glib/pygoptioncontext.c | 2 +-
28412 gobject/gobjectmodule.c | 2 +-
28413 gobject/pygobject.h | 6 ------
28414 gobject/pygtype.c | 10 +++++-----
28415 9 files changed, 13 insertions(+), 41 deletions(-)
28417 commit 97774cb149c5b03d5ef82a5af3f19e2ce4d79d0b
28418 Author: John (J5) Palmieri <johnp@redhat.com>
28419 Date: Mon Oct 4 12:43:31 2010 -0400
28421 return NULL instead of -1 which fixes crash when introspection is
28424 * see https://bugzilla.gnome.org/show_bug.cgi?id=631158
28427 1 file changed, 1 insertion(+), 1 deletion(-)
28429 commit f25e763d53e5cdd4de08e90b04aea4b4c4720ac0
28430 Author: John (J5) Palmieri <johnp@redhat.com>
28431 Date: Tue Sep 28 15:31:03 2010 -0400
28433 add compat functions for the deprecated PyCObject api
28435 * Moved to using the PyCapsule API for python >= 2.7
28437 https://bugzilla.gnome.org/show_bug.cgi?id=630844
28439 gi/gimodule.c | 2 +-
28440 gi/pygi.h | 5 ++++-
28441 glib/glibmodule.c | 2 +-
28442 glib/pyglib-python-compat.h | 19 +++++++++++++++++++
28443 glib/pyglib.c | 6 +++---
28444 glib/pygoptioncontext.c | 2 +-
28445 gobject/gobjectmodule.c | 2 +-
28446 gobject/pygobject.h | 6 ++++++
28447 gobject/pygtype.c | 10 +++++-----
28448 9 files changed, 41 insertions(+), 13 deletions(-)
28450 commit 80b8ccd450fe4e3ea77b27e58bb63cabc2a2bb2b
28451 Author: John (J5) Palmieri <johnp@redhat.com>
28452 Date: Tue Sep 28 15:28:16 2010 -0400
28454 fix commit 7fe83108 which didn't use the compat functions for
28457 glib/glibmodule.c | 2 +-
28458 1 file changed, 1 insertion(+), 1 deletion(-)
28460 commit 9562842907a9d94f6adae2c1bb20d6b1f189abda
28461 Author: John (J5) Palmieri <johnp@redhat.com>
28462 Date: Tue Sep 28 13:15:57 2010 -0400
28464 Python 3 fixes for dsextras and the python.m4 distribution files
28466 dsextras.py | 13 +++++++------
28467 m4/python.m4 | 4 ++--
28468 2 files changed, 9 insertions(+), 8 deletions(-)
28470 commit 98f69957ee9e3037b0a05a037098e4d2133ca256
28471 Author: John (J5) Palmieri <johnp@redhat.com>
28472 Date: Mon Sep 27 14:01:31 2010 -0400
28474 post release bump to 2.27.0 unstable
28476 * update hacking to fill in some holes in the release instructions
28479 configure.ac | 2 +-
28480 2 files changed, 5 insertions(+), 3 deletions(-)
28482 commit fd38010101411e6bc1ca9314657f418de660fa13
28483 Author: John (J5) Palmieri <johnp@redhat.com>
28484 Date: Mon Sep 27 12:03:10 2010 -0400
28486 update NEWS for release
28489 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
28490 1 file changed, 93 insertions(+)
28492 commit 7072d56b6cba13da97a052c75d1ae0c2cc417fd1
28493 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28494 Date: Sun Sep 26 08:37:31 2010 +0200
28496 Pre-release version bump 2.26.0
28498 configure.ac | 4 ++--
28499 1 file changed, 2 insertions(+), 2 deletions(-)
28501 commit a549f429d2ced7a78d5baa5e2f28f6750b4788f2
28502 Author: John Stowers <john.stowers@gmail.com>
28503 Date: Fri Sep 24 22:44:03 2010 +1200
28505 Wrap g_get_system_{config,data}_dirs ()
28507 * Also tidy up g_get_{cache,config,data}_dir
28508 to share common code
28510 glib/glibmodule.c | 68
28511 ++++++++++++++++++++++++++++++++++++++++---------------
28512 1 file changed, 50 insertions(+), 18 deletions(-)
28514 commit 328aca600714bdca89dfdb531c222ee561ede27e
28515 Author: John (J5) Palmieri <johnp@redhat.com>
28516 Date: Fri Sep 24 12:16:22 2010 -0400
28518 fixed make check and make dist
28520 tests/Makefile.am | 31 ++++++++++++++++++-------------
28521 1 file changed, 18 insertions(+), 13 deletions(-)
28523 commit 27023fd56148dd17b5576c1e81e0fe851d9b8727
28524 Author: John Stowers <john.stowers@gmail.com>
28525 Date: Fri Sep 24 21:20:53 2010 +1200
28527 Disable GI tests when introspection disabled
28529 tests/Makefile.am | 2 ++
28530 1 file changed, 2 insertions(+)
28532 commit 7fe831081cdd2e26f5d948326b9f89ea0694e752
28533 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
28534 Date: Sat Jul 18 19:35:08 2009 +0200
28536 Wrap g_uri_list_extract_uris. Fixes bug #584431
28538 glib/glibmodule.c | 38 ++++++++++++++++++++++++++++++++++++++
28539 gobject/__init__.py | 2 +-
28540 tests/Makefile.am | 3 ++-
28541 tests/test_uris.py | 15 +++++++++++++++
28542 4 files changed, 56 insertions(+), 2 deletions(-)
28544 commit d6721a59c294f2471142b8c32de2f647b7084bca
28545 Author: Paul Bolle <pebolle@tiscali.nl>
28546 Date: Thu Sep 23 15:38:40 2010 -0400
28548 Fix a few uses of TRUE and FALSE in the docs
28550 docs/reference/pygio-mount.xml | 5 +++--
28551 docs/reference/pyglib-functions.xml | 18 +++++++++---------
28552 docs/reference/pyglib-maincontext.xml | 12 ++++++------
28553 docs/reference/pyglib-mainloop.xml | 6 +++---
28554 docs/reference/pygobject-functions.xml | 6 +++---
28555 docs/reference/pygobject.xml | 4 ++--
28556 6 files changed, 26 insertions(+), 25 deletions(-)
28558 commit a08c9fffb4262ae678e17f90bbfb2d5f880cfad0
28559 Author: Damien Caliste <damien.caliste@cea.fr>
28560 Date: Tue Sep 21 17:52:14 2010 +0200
28562 pygi: always free the invocation_state struct
28564 In pygi-invoke.c, the invocation_state struct is never freed
28565 in case of success. Thus, always call _free_invocation_state()
28567 Modify _free_invocation_state to avoid double free in case of
28568 caller-allocated GValue, once as a released argument in the
28569 _process routine and another time in the _free as the special
28570 case. So move all argument releasing code from the _process
28571 routine to the _free one.
28572 Modify the tests for the callback routines to return an integer
28573 value as specified in the GIR file.
28575 Make check is as successful as before (already existing error
28576 related to GVariant is still there).
28578 https://bugzilla.gnome.org/show_bug.cgi?id=630271
28580 gi/pygi-invoke.c | 83
28581 +++++++++++++++++++++---------------------------
28582 tests/test_everything.py | 4 ++-
28583 2 files changed, 40 insertions(+), 47 deletions(-)
28585 commit 9714d765a34e246899f11b6792eea3aecce0b7ec
28586 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28587 Date: Mon Sep 13 16:36:47 2010 +0200
28589 Start implementing something equivalent to g_variant_new
28591 https://bugzilla.gnome.org/show_bug.cgi?id=629367
28593 gi/gimodule.c | 20 +++++++
28594 gi/overrides/GLib.py | 131
28595 ++++++++++++++++++++++++++++++++++++++++++---
28596 gi/pygi-foreign-gvariant.c | 2 +-
28597 tests/test_everything.py | 16 ------
28598 tests/test_overrides.py | 25 +++++++++
28599 5 files changed, 170 insertions(+), 24 deletions(-)
28601 commit fc45abdd9b55ab63556798ab0f04715be79dba08
28602 Author: John (J5) Palmieri <johnp@redhat.com>
28603 Date: Thu Sep 23 10:49:36 2010 -0400
28605 fixed typo - missing comma in glib.option module
28607 * https://bugzilla.gnome.org/show_bug.cgi?id=627449
28609 glib/option.py | 2 +-
28610 1 file changed, 1 insertion(+), 1 deletion(-)
28612 commit 4ed100f3183c6325dd04461484e877bb7d4131b1
28613 Author: John (J5) Palmieri <johnp@redhat.com>
28614 Date: Fri Sep 17 12:08:09 2010 -0400
28616 add checks so we can compile under python 3 by setting PYTHON=python3
28618 * compile for python 3
28619 * disables gio if compiling under python 3.x
28620 * runs only pertinant tests
28622 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28624 configure.ac | 32 +++++++++++++++++++++++++++++---
28625 tests/Makefile.am | 35 ++++++++++++++++++++---------------
28626 tests/runtests.py | 4 ++++
28627 3 files changed, 53 insertions(+), 18 deletions(-)
28629 commit 269ff8564eeb597dc06c27e293354b7ff7a71a82
28630 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28631 Date: Fri Sep 17 15:50:47 2010 +0200
28633 Rename static methods as functions
28635 In recent gobject-introspection releases, static methods have been
28636 removed and placed as functions in the namespace level. In a future
28637 releases it's planned to become static methods again but for now
28638 let's fix the tests.
28640 tests/test_gi.py | 14 +++++++-------
28641 1 file changed, 7 insertions(+), 7 deletions(-)
28643 commit 2da8da589644d6125101210712defb1272a8abb1
28644 Author: John (J5) Palmieri <johnp@redhat.com>
28645 Date: Thu Sep 9 13:52:14 2010 -0400
28647 fix a couple of compiler warnings
28649 https://bugzilla.gnome.org/show_bug.cgi?id=629199
28651 gi/pygi-argument.c | 4 ++--
28652 gi/pygi-struct.c | 2 +-
28653 gobject/gobjectmodule.c | 2 +-
28654 3 files changed, 4 insertions(+), 4 deletions(-)
28656 commit 6769a4704f0876ac3baacd4da03ff16d9f0906be
28657 Author: John (J5) Palmieri <johnp@redhat.com>
28658 Date: Thu Sep 9 13:55:17 2010 -0400
28662 * we use richcompare now
28664 https://bugzilla.gnome.org/show_bug.cgi?id=629198
28666 gobject/pygtype.c | 9 ---------
28667 1 file changed, 9 deletions(-)
28669 commit 98f54f9d33996baeaa8c8c1240310f5396d03a1d
28670 Author: John (J5) Palmieri <johnp@redhat.com>
28671 Date: Tue Sep 14 14:10:49 2010 -0400
28673 Check the type of the instance object
28675 * in python 2 methods were added to classes as unbound methods and
28677 check the instance type to make sure it was correct
28678 * in python 3 for perfomance reasons methods are added to classes
28680 functions which treat the instance as an untyped argument so
28683 * this patch adds a type check so that the correct errors are
28685 python 3 (python 2 this just adds another layer of redundancy should
28686 something change with type checking in the future)
28687 * since GI handles regular args and the instance arg slightly
28689 we had to split out the interface checks in
28690 _pygi_g_type_info_check_object
28691 in order to not duplicate code
28693 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28695 gi/pygi-argument.c | 182
28696 ++++++++++++++++++++++++++++-------------------------
28697 gi/pygi-argument.h | 2 +
28698 gi/pygi-invoke.c | 14 +++++
28699 3 files changed, 112 insertions(+), 86 deletions(-)
28701 commit 5d79498d38b147b66ae72c1481e397160491e8d6
28702 Author: John (J5) Palmieri <johnp@redhat.com>
28703 Date: Wed Sep 15 10:26:20 2010 -0400
28705 include the correct pycairo version
28707 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28709 gi/pygi-foreign-cairo.c | 6 ++++++
28710 1 file changed, 6 insertions(+)
28712 commit b855562e5c0019cd7e4982fe00c467ede9e3926d
28713 Author: John (J5) Palmieri <johnp@redhat.com>
28714 Date: Thu Sep 9 22:16:58 2010 -0400
28716 Use PyMapping_Keys to determine if an object is a dict (py3k fix)
28718 * in Py3k PyMapping_Check returns true for sequences such as strings
28719 and lists. Since we need to get the keys anyway, and it returns
28720 NULL if this is not a dict, this is a much better test, even in
28723 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28725 gi/pygi-argument.c | 10 +++-------
28726 1 file changed, 3 insertions(+), 7 deletions(-)
28728 commit 0e72e28c6c5502c7db5103cf1299c9f0e6689fdd
28729 Author: John (J5) Palmieri <johnp@redhat.com>
28730 Date: Thu Sep 9 18:44:11 2010 -0400
28732 fix handling of UINT64 and INT64 arguments in py3k
28734 * decode to the right sized C long
28736 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28738 gi/pygi-argument.c | 20 ++++++++++++--------
28739 1 file changed, 12 insertions(+), 8 deletions(-)
28741 commit d5666d99a1c0396b7da0cb14f9f4ff8892da7e2e
28742 Author: John (J5) Palmieri <johnp@redhat.com>
28743 Date: Thu Sep 9 17:35:10 2010 -0400
28745 properly handle ulongs properties in py3k
28747 * If this is a PyLong object pull use AsUnsignedLong
28749 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28751 gobject/pygtype.c | 29 ++++++++++++++++-------------
28752 1 file changed, 16 insertions(+), 13 deletions(-)
28754 commit 3d431c7dd0de97db10cb0c00c39d9c1837bed2f2
28755 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28756 Date: Fri Sep 17 12:14:56 2010 +0200
28758 Specify encoding of tests/test_gi.py
28760 tests/test_gi.py | 3 ++-
28761 1 file changed, 2 insertions(+), 1 deletion(-)
28763 commit a808bdabb9fa6f4a9b9ce42e1cce05fb37403f0f
28764 Author: John (J5) Palmieri <johnp@redhat.com>
28765 Date: Thu Sep 9 13:24:30 2010 -0400
28767 use actual unicode in the tests on py3k, not the byte representation
28769 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28771 tests/test_gi.py | 6 +++++-
28772 1 file changed, 5 insertions(+), 1 deletion(-)
28774 commit 928f4485041d80d0c36ff2daeae4bcd09bd0bde4
28775 Author: John (J5) Palmieri <johnp@redhat.com>
28776 Date: Thu Sep 9 12:45:21 2010 -0400
28778 s/METH_KEYWORDS/METH_VARARGS|METH_KEYWORDS/ when defining object
28781 * in Py3k the METH_KEYWORDS flag by itself is invalid. A method
28783 with both the METH_VARARGS and METH_KEYWORDS flags.
28785 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28787 glib/pygiochannel.c | 30 +++++++++++++++---------------
28788 glib/pygsource.c | 4 ++--
28789 gobject/pygobject.c | 2 +-
28790 3 files changed, 18 insertions(+), 18 deletions(-)
28792 commit b5ee20afa4399c7689fbec8939fa20b927eeb782
28793 Author: John (J5) Palmieri <johnp@redhat.com>
28794 Date: Thu Sep 9 08:04:40 2010 -0400
28796 fix subclassing PyLong by calling __new__ correctly
28798 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28800 glib/pygspawn.c | 4 ++--
28801 1 file changed, 2 insertions(+), 2 deletions(-)
28803 commit a499b2f0d622b671bd154544f66b73f1278e66ed
28804 Author: John (J5) Palmieri <johnp@redhat.com>
28805 Date: Thu Sep 9 07:56:44 2010 -0400
28807 minor py3k fixups for python modules
28809 * add _basestring and _bytes and _callable wrappers
28810 * use items instead of iteritems and range instead of xrange
28814 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28816 gi/overrides/Gtk.py | 24 ++++++++++++++++--------
28817 glib/option.py | 16 ++++++++++++----
28818 2 files changed, 28 insertions(+), 12 deletions(-)
28820 commit dec9001d26c97949e7b3578086cb35e98075c047
28821 Author: John (J5) Palmieri <johnp@redhat.com>
28822 Date: Thu Sep 9 07:36:04 2010 -0400
28824 minor fixes in tests for py3k compat
28826 * add a _bytes wrapper for API that expects bytes in py3k but str
28828 * fix some more exception handling using sys.exc_info()[:2]
28829 * use range instead of xrange, items instead of iteritems since py3k
28830 dropped support for the different ways of accessing iterators
28831 - this is less efficient in py2 but we plan to target py3k as the
28833 * use list(dict.items()) since py3k only returns iterables which
28836 * missed some _long wrapping
28838 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28840 tests/compathelper.py | 18 ++++++++++++++++++
28841 tests/test_everything.py | 5 +++--
28842 tests/test_mainloop.py | 3 ++-
28843 tests/test_option.py | 6 ++++--
28844 tests/test_overrides.py | 4 ++--
28845 tests/test_properties.py | 6 +++---
28846 6 files changed, 32 insertions(+), 10 deletions(-)
28848 commit 09a0daeedf49eaf376c1288be5743b57fbc76d51
28849 Author: Colin Walters <walters@verbum.org>
28850 Date: Thu Sep 9 16:25:51 2010 -0400
28852 compilation: Fix syntax error
28854 gi/pygi-info.c | 2 +-
28855 1 file changed, 1 insertion(+), 1 deletion(-)
28857 commit 9f7afd6d5afd8c1a5f36bf1295814757b71c8cbc
28858 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28859 Date: Thu Sep 9 22:17:00 2010 +0200
28863 gi/overrides/GLib.py | 48
28864 ++++++++++++++++++++++++++++++++++++++++++++++++
28865 1 file changed, 48 insertions(+)
28867 commit 306b792ac97a458ddee59fb86d66453495117f3e
28868 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28869 Date: Thu Jul 22 13:48:51 2010 +0100
28871 Add override for GLib.Variant.new_tuple
28873 * gi/gimodule.c: Add _wrap_pyg_variant_new_tuple
28874 * gi/overrides/GLib.py: Override Variant.new_tuple and
28876 * gi/pygi-type.[hc]: split _pygi_type_import_by_name out from
28877 _pygi_type_import_by_gi_info
28878 * gi/types.py: Never override gobject.TYPE_NONE
28879 * tests/test_everything.py: Add tests for GVariant tuples
28881 https://bugzilla.gnome.org/show_bug.cgi?id=625050
28883 gi/gimodule.c | 38 ++++++++++++++++++++++++++++++++++++++
28884 gi/overrides/Makefile.am | 1 +
28885 gi/pygi-type.c | 15 +++++++++------
28886 gi/pygi-type.h | 2 ++
28888 tests/test_everything.py | 9 +++++++++
28889 6 files changed, 60 insertions(+), 6 deletions(-)
28891 commit 22e53aa2ed9cf6173a877b0af6928d5ab8da2f4f
28892 Author: John (J5) Palmieri <johnp@redhat.com>
28893 Date: Wed Sep 8 13:08:48 2010 -0400
28895 fix for changes in the gi test libraries
28897 tests/test_everything.py | 2 +-
28898 1 file changed, 1 insertion(+), 1 deletion(-)
28900 commit 246877074617b0e9c3b2ba2a5395a73e0ed9cd5d
28901 Author: John (J5) Palmieri <johnp@redhat.com>
28902 Date: Wed Sep 8 13:08:07 2010 -0400
28904 Gtk.DialogFlags.NO_SEPARATOR has been removed in Gtk 3.0
28906 gi/overrides/Gtk.py | 10 ++++++++--
28907 1 file changed, 8 insertions(+), 2 deletions(-)
28909 commit f92fc48e7e2ec50996e994ccb7d08a61e7374f22
28910 Author: John (J5) Palmieri <johnp@redhat.com>
28911 Date: Wed Sep 8 12:35:09 2010 -0400
28913 no need to offset arg positions when is_method is true
28915 * The old GI libraries required we offset arg positions for the
28917 self argument. The new library fixes this so we don't have
28921 https://bugzilla.gnome.org/show_bug.cgi?id=629087
28923 gi/pygi-callbacks.c | 5 +----
28924 1 file changed, 1 insertion(+), 4 deletions(-)
28926 commit 8c517de2d278bdef641c72b8f2919a3924290ec1
28927 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28928 Date: Fri Aug 20 14:54:35 2010 +0200
28930 gi: Add support for more property types
28932 https://bugzilla.gnome.org/show_bug.cgi?id=627494
28934 gi/pygi-property.c | 156
28935 ++++++++++++++++++++++++++++++++++++-----------
28936 tests/test_everything.py | 34 +++++++++++
28937 2 files changed, 154 insertions(+), 36 deletions(-)
28939 commit 6d183d1fff55d54569ba3e1f90a10284df74fd40
28940 Author: John (J5) Palmieri <johnp@redhat.com>
28941 Date: Fri Sep 3 12:04:16 2010 -0400
28943 use PyObject_SetAttrString, not PyDict_SetItemString when setting
28946 * When registering a gtype wrapper we used to set tp_dict
28947 directly. This works
28948 in python 2 but python 3 seems to handle attributes in a slightly
28950 way where the tp_dict and attr get out of sync. By setting the attr
28951 directly we avoid this issue.
28952 * Note that there are many more places where we set __gtype__
28954 however for objects which are not instantiated yet we have to
28957 * Since this one change fixes a lot of failed tests, for now we
28959 other places where we set __gtype__. If we run into more issues
28961 with __gtype__ we can take a closer look later.
28963 https://bugzilla.gnome.org/show_bug.cgi?id=627878
28965 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28967 gobject/gobjectmodule.c | 2 +-
28968 1 file changed, 1 insertion(+), 1 deletion(-)
28970 commit b7bf4269682a3335f5e0a52b46fa721af134d09a
28971 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28972 Date: Wed Sep 1 11:03:40 2010 +0200
28974 Rename GArgument to GIArgument
28976 gi/pygi-argument.c | 52
28977 +++++++++++++++++++++++-----------------------
28978 gi/pygi-argument.h | 10 ++++-----
28979 gi/pygi-closure.c | 34 +++++++++++++++---------------
28980 gi/pygi-foreign-cairo.c | 8 +++----
28981 gi/pygi-foreign-gvariant.c | 4 ++--
28982 gi/pygi-foreign-gvariant.h | 4 ++--
28983 gi/pygi-foreign.c | 12 +++++------
28984 gi/pygi-foreign.h | 8 +++----
28985 gi/pygi-info.c | 8 +++----
28986 gi/pygi-invoke.c | 28 ++++++++++++-------------
28987 gi/pygi-property.c | 4 ++--
28988 gi/pygi.h | 16 +++++++-------
28989 12 files changed, 94 insertions(+), 94 deletions(-)
28991 commit 7197f85c9be2b03636639ac909ca2c3170653509
28992 Author: John (J5) Palmieri <johnp@redhat.com>
28993 Date: Wed Aug 18 10:29:19 2010 -0400
28995 fix up tests so they run in py3k
28997 * add a compat helper that should only be used by tests
28998 * fix long notation to use the compat helper instead
28999 * add parens to print statements
29000 * use compatable try/except pattern
29002 https://bugzilla.gnome.org/show_bug.cgi?id=615872
29004 gobject/propertyhelper.py | 16 +++++++++++-----
29005 tests/compathelper.py | 32 ++++++++++++++++++++++++++++++++
29006 tests/test_option.py | 7 ++++++-
29007 tests/test_properties.py | 24 ++++++++++++++----------
29008 tests/test_signal.py | 14 +++++++-------
29009 tests/test_source.py | 4 ++--
29010 6 files changed, 72 insertions(+), 25 deletions(-)
29012 commit 720e614acdbcf734d4bcccc403e639b5a5bcae24
29013 Author: Colin Walters <walters@verbum.org>
29014 Date: Fri Aug 20 10:58:48 2010 -0400
29016 tests: Port to new introspection tests
29018 Everything is renamed "Regress", and both it and GIMarshallingTests
29019 are now in source form, so we compile them.
29021 The scanner now adds "static methods" to objects, structs, and unions,
29022 so update the test code to use those.
29024 In the tests, remove broken (inout) cases - the person writing these
29025 tests misunderstood the semantics of (inout). It's not acceptable for
29026 a C API to mutate e.g. a GSList* passed in, or unref an object.
29028 The invocation code needed to be updated for this - remove some
29031 https://bugzilla.gnome.org/show_bug.cgi?id=627878
29033 configure.ac | 5 +-
29034 gi/pygi-argument.c | 9 +--
29035 gi/pygi-invoke.c | 147
29036 +++++----------------------------------------
29037 tests/Makefile.am | 42 ++++++++++++-
29038 tests/test_everything.py | 6 +-
29039 tests/test_gi.py | 151
29040 +++++++++--------------------------------------
29041 6 files changed, 93 insertions(+), 267 deletions(-)
29043 commit f6c4d9e58c8f05cb2d82e158c9eb8480308565bd
29044 Author: John (J5) Palmieri <johnp@redhat.com>
29045 Date: Fri Aug 20 10:43:58 2010 -0400
29047 we need to specify tp_hash since we overide tp_richcompare
29049 https://bugzilla.gnome.org/show_bug.cgi?id=615872
29051 gobject/pygenum.c | 1 +
29052 gobject/pygflags.c | 1 +
29053 2 files changed, 2 insertions(+)
29055 commit c03e6b482548aee99362356807c804f8834fad2b
29056 Author: John Ehresman <jpe@wingware.com>
29057 Date: Thu Apr 15 17:11:30 2010 -0400
29059 working enum/flags/pid subclasses of long
29061 https://bugzilla.gnome.org/show_bug.cgi?id=615872
29063 glib/pygspawn.c | 7 ++---
29064 gobject/pygenum.c | 61 ++++++++++++++++++++++++-------------------
29065 gobject/pygflags.c | 76
29066 +++++++++++++++++++++++-------------------------------
29067 3 files changed, 71 insertions(+), 73 deletions(-)
29069 commit 0db676fd2296750a46ba0fb069e472da06ecc53a
29070 Author: John (J5) Palmieri <johnp@redhat.com>
29071 Date: Wed Aug 18 11:03:32 2010 -0400
29073 make vfuncs work in py3k
29075 * methods now export __func__ instead of im_func for getting the
29077 out of a method closure
29078 * however classes no longer return unbound methods in py3k and instead
29079 return the actual function
29080 * in python 2 we use im_func when getting the function from the
29082 * in py3k we simply assign vfunc to the function
29084 https://bugzilla.gnome.org/show_bug.cgi?id=615872
29086 gi/types.py | 12 ++++++++----
29087 1 file changed, 8 insertions(+), 4 deletions(-)
29089 commit 286dcd0c6455961d818ac7f05f80f82435abc1dc
29090 Author: John (J5) Palmieri <johnp@redhat.com>
29091 Date: Tue Aug 17 15:43:42 2010 -0400
29093 make cairo module compile in py3k
29095 https://bugzilla.gnome.org/show_bug.cgi?id=615872
29097 gi/Makefile.am | 2 +-
29098 gi/pygi-foreign-cairo.c | 17 +++++++----------
29099 2 files changed, 8 insertions(+), 11 deletions(-)
29101 commit bda58ec34fc443fe1108afc8532bec50f6fd0b44
29102 Author: John (J5) Palmieri <johnp@redhat.com>
29103 Date: Tue Aug 17 02:33:45 2010 -0400
29105 fix exceptions so they work in python 3.x
29107 https://bugzilla.gnome.org/show_bug.cgi?id=615872
29109 gi/module.py | 2 +-
29111 2 files changed, 2 insertions(+), 2 deletions(-)
29113 commit 427a3c8053feca35ccd746575760ac8a0ed50a12
29114 Author: John (J5) Palmieri <johnp@redhat.com>
29115 Date: Tue Aug 17 02:24:44 2010 -0400
29117 make the gi module compile under 3.x
29119 * include the compat macros
29120 * use GLIB_MODULE_START/END to define module
29121 * add PyInit__gi to the exported symbols
29123 https://bugzilla.gnome.org/show_bug.cgi?id=615872
29125 gi/Makefile.am | 2 +-
29126 gi/gimodule.c | 24 +++++++++---------------
29127 2 files changed, 10 insertions(+), 16 deletions(-)
29129 commit 1dee5dcd2b1747b4a4af438c0443d7930e4802db
29130 Author: John (J5) Palmieri <johnp@redhat.com>
29131 Date: Tue Aug 17 02:14:14 2010 -0400
29133 fix up testshelper module so it compiles in python 3.x
29135 * include the compat header
29136 * fix up PyInts to be PYGLIB_Long
29137 * Use PYGLIB_DEFINE_TYPE macros to define module objects
29138 * Use PYGLIB_MODULE_START/END to define modules
29140 https://bugzilla.gnome.org/show_bug.cgi?id=615872
29142 tests/Makefile.am | 2 +-
29143 tests/testhelpermodule.c | 221
29144 ++++++-----------------------------------------
29145 2 files changed, 28 insertions(+), 195 deletions(-)
29147 commit 1ff83a2ccb7301c8f675913f1c4f6118ea50b9c7
29148 Author: John (J5) Palmieri <johnp@redhat.com>
29149 Date: Mon Aug 16 21:14:27 2010 -0400
29151 convert to using PYGLIB_DEFINE_TYPE for module objects
29153 https://bugzilla.gnome.org/show_bug.cgi?id=615872
29155 gi/pygi-boxed.c | 43 ++-----------
29156 gi/pygi-info.c | 171
29157 ++++++++++++++++++++-------------------------------
29158 gi/pygi-repository.c | 39 +++---------
29159 gi/pygi-struct.c | 45 +++-----------
29160 4 files changed, 88 insertions(+), 210 deletions(-)
29162 commit 1efa2b12913b194d433c17014bc1077271a6ca32
29163 Author: John (J5) Palmieri <johnp@redhat.com>
29164 Date: Mon Aug 16 13:51:05 2010 -0400
29166 some more p3k PyString and PyInt eradication in GI
29168 * add the glib dir to the includes list in the build
29169 * make sure we include the compat macros
29170 * add GLIB_PyBytes_FromString to compat macros
29171 * add GLIB_PyNumber_Long to compat macros
29172 * use RichCompare instead of Compare
29174 https://bugzilla.gnome.org/show_bug.cgi?id=615872
29176 gi/Makefile.am | 2 +-
29177 gi/pygi-argument.c | 96
29178 +++++++++++++++++++++++++++------------------
29179 gi/pygi-boxed.c | 1 +
29180 gi/pygi-info.c | 13 +++---
29181 gi/pygi-private.h | 23 +++++++++++
29182 gi/pygi-repository.c | 8 ++--
29183 gi/pygi-struct.c | 1 +
29184 glib/pyglib-python-compat.h | 6 +++
29185 8 files changed, 103 insertions(+), 47 deletions(-)
29187 commit 6b902c66200c1684513a9ef31bdef3f2ff64e4fa
29188 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29189 Date: Fri Aug 20 09:28:57 2010 +0200
29191 pyglib: Fix typo (Leo Singer)
29193 https://bugzilla.gnome.org/show_bug.cgi?id=627408
29195 glib/option.py | 4 ++--
29196 1 file changed, 2 insertions(+), 2 deletions(-)
29198 commit 3cefffecc1317b6ad77a5ed936bfb990d16bf9d3
29199 Author: Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
29200 Date: Thu Aug 19 18:45:05 2010 -0300
29202 Add defines for size_t and ssize_t conversion functions
29204 These missing defines cause the resulting module to have unresolved
29205 symbols, rendering it unusable.
29207 https://bugzilla.gnome.org/show_bug.cgi?id=627440
29209 glib/pyglib-python-compat.h | 2 ++
29210 1 file changed, 2 insertions(+)
29212 commit d45c7031876f355e15409f00f3e50e77d18f8f4b
29213 Author: Colin Walters <walters@verbum.org>
29214 Date: Thu Aug 19 17:50:35 2010 -0400
29216 pyglib: Fix a compiler warning
29218 glib/pyglib.c | 1 +
29219 1 file changed, 1 insertion(+)
29221 commit 0fe6828ddce187ac1897a1f02ca1c5480796d5b9
29222 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29223 Date: Wed Aug 18 20:36:51 2010 +0200
29225 Don't force gtk 2.0
29227 pygi-convert.sh | 11 +++++++----
29228 1 file changed, 7 insertions(+), 4 deletions(-)
29230 commit ac59c18a4f2bfff47c862b763aaf1d1cf136a4f5
29231 Author: Steve Frécinaux <code@istique.net>
29232 Date: Tue Aug 17 14:49:30 2010 +0200
29234 Fix some ref leaks in hook_up_vfunc_implementation()
29236 https://bugzilla.gnome.org/show_bug.cgi?id=627143
29238 gi/gimodule.c | 9 +++++++--
29239 1 file changed, 7 insertions(+), 2 deletions(-)
29241 commit 18ee0db673c2fa42244ab85950bbf4840edb674b
29242 Author: John (J5) Palmieri <johnp@redhat.com>
29243 Date: Thu Aug 12 12:16:31 2010 -0400
29245 handle strings correctly in gio
29247 gio/gappinfo.override | 5 +++++
29248 gio/pygio-utils.c | 42 +++++++++++++++++++++++++++++++++++-------
29249 2 files changed, 40 insertions(+), 7 deletions(-)
29251 commit 45ab0c03110c911b47519941dfd753326891b5e0
29252 Author: John (J5) Palmieri <johnp@redhat.com>
29253 Date: Wed Aug 11 16:13:59 2010 -0400
29255 make giomodule compile under py3k
29257 https://bugzilla.gnome.org/show_bug.cgi?id=615872
29259 gio/giomodule.c | 153
29260 +++++++++++++++++++++++++++++---------------------------
29261 1 file changed, 78 insertions(+), 75 deletions(-)
29263 commit c52f8ed3ae8cb66a03b5695e980770c3f467f755
29264 Author: John (J5) Palmieri <johnp@redhat.com>
29265 Date: Wed Aug 11 16:04:48 2010 -0400
29267 for py3k we need to do some more processing to get bytes from a
29270 https://bugzilla.gnome.org/show_bug.cgi?id=615872
29272 gi/pygi-argument.c | 31 +++++++++++++++++++++++++++----
29273 1 file changed, 27 insertions(+), 4 deletions(-)
29275 commit de9eae4dfcce856a42cc5c569a5b9683c28d0eeb
29276 Author: John (J5) Palmieri <johnp@redhat.com>
29277 Date: Wed Aug 11 15:03:55 2010 -0400
29279 use Bytes instead of Unicode when reading io
29281 https://bugzilla.gnome.org/show_bug.cgi?id=615872
29283 glib/pygiochannel.c | 30 ++++++++++++++++++++++++------
29284 1 file changed, 24 insertions(+), 6 deletions(-)
29286 commit 5824ff98175b749dbcfa72d24b994230b6e05377
29287 Author: John (J5) Palmieri <johnp@redhat.com>
29288 Date: Mon Aug 9 15:16:51 2010 -0400
29290 prefix compat macros with PYGLIB
29292 * refactor from John Ehresman <jpe@wingware.com> py3k branch
29293 * fix up some extranious PyString calls
29294 * remove duplicate macros from pyglib.h that are in
29295 pyglib-python-compat.h
29296 * pygobject.h can't import pyglib-python-compat.h so add codepaths
29297 for both Py3k and legacy code instead of using macros
29299 https://bugzilla.gnome.org/show_bug.cgi?id=615872
29301 glib/glibmodule.c | 48 +++++-----
29302 glib/pygiochannel.c | 46 +++++-----
29303 glib/pyglib-python-compat.h | 153 +++++++++++++++++++++++--------
29304 glib/pyglib.c | 22 ++---
29305 glib/pyglib.h | 14 ---
29306 glib/pygoptioncontext.c | 4 +-
29307 glib/pygsource.c | 16 ++--
29308 glib/pygspawn.c | 32 +++----
29309 gobject/gobjectmodule.c | 216
29310 ++++++++++++++++++++++----------------------
29311 gobject/pygboxed.c | 2 +-
29312 gobject/pygenum.c | 84 ++++++++---------
29313 gobject/pygflags.c | 122 ++++++++++++-------------
29314 gobject/pygobject-private.h | 12 +--
29315 gobject/pygobject.c | 46 +++++-----
29316 gobject/pygobject.h | 23 +++++
29317 gobject/pygparamspec.c | 24 ++---
29318 gobject/pygpointer.c | 2 +-
29319 gobject/pygtype.c | 170 +++++++++++++++++-----------------
29320 18 files changed, 563 insertions(+), 473 deletions(-)
29322 commit 231e934cc01d061e81bb60d35127a133cd0e1793
29323 Author: John (J5) Palmieri <johnp@redhat.com>
29324 Date: Mon Aug 16 10:14:04 2010 +0200
29326 Gtk.Button unit tests
29328 https://bugzilla.gnome.org/show_bug.cgi?id=622606
29330 tests/test_overrides.py | 10 ++++++++++
29331 1 file changed, 10 insertions(+)
29333 commit f07cfde377e42686c6b80f56cac62338ee333e61
29334 Author: Johan Dahlin <johan@gnome.org>
29335 Date: Mon Aug 16 10:08:38 2010 +0200
29337 [Gtk] Add overrides for Button
29339 https://bugzilla.gnome.org/show_bug.cgi?id=622606
29341 gi/overrides/Gtk.py | 13 +++++++++++++
29342 1 file changed, 13 insertions(+)
29344 commit 65a06a7216163c7e65b32c5b5f3388faa7fda5d6
29345 Author: Simon van der Linden <svdlinden@gnome.org>
29346 Date: Thu Aug 12 16:18:58 2010 +0200
29348 Make Cairo an optional dependency
29350 Add the --enable-cairo configure argument.
29352 https://bugzilla.gnome.org/show_bug.cgi?id=616732
29354 configure.ac | 15 ++++++++++++---
29355 gi/Makefile.am | 20 ++++++++++++--------
29356 2 files changed, 24 insertions(+), 11 deletions(-)
29358 commit b83507263231d9bf47f6c8450583e3d03f0a3b5b
29359 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29360 Date: Mon Aug 16 09:55:35 2010 +0200
29362 Don't import again PyGObject (John Ralls)
29364 https://bugzilla.gnome.org/show_bug.cgi?id=626996
29367 1 file changed, 1 insertion(+)
29369 commit 0dc3656070f496431829c6e8441ca17129c569f8
29370 Author: John (J5) Palmieri <johnp@redhat.com>
29371 Date: Mon Aug 9 16:11:55 2010 -0400
29373 move to using richcompare slot instead of compare
29375 https://bugzilla.gnome.org/show_bug.cgi?id=615872
29377 glib/pygiochannel.c | 18 +++++++----
29379 +++++++++++++++++++++++++++++++++++++++++++++++++
29380 glib/pyglib.h | 3 ++
29381 glib/pygmaincontext.c | 17 ++++++----
29382 glib/pygmainloop.c | 17 ++++++----
29383 glib/pygoptioncontext.c | 18 +++++++----
29384 glib/pygoptiongroup.c | 22 +++++++------
29385 gobject/pygboxed.c | 18 +++++++----
29386 gobject/pygobject.c | 44 ++++++++++++++++++-------
29387 gobject/pygparamspec.c | 19 +++++++----
29388 gobject/pygpointer.c | 17 ++++++----
29389 gobject/pygtype.c | 26 +++++++++++----
29390 12 files changed, 233 insertions(+), 71 deletions(-)
29392 commit b426e531dc53d4b50e572a2da19733479635e662
29393 Author: Simon van der Linden <svdlinden@gnome.org>
29394 Date: Thu Aug 12 18:09:33 2010 +0200
29396 Replace autogen.sh by a newer version
29398 It pulls automake 1.10 or 1.11.
29399 Greatly inspired from GLib's.
29401 https://bugzilla.gnome.org/show_bug.cgi?id=625661
29404 +++++++------------------------------------------------------
29405 1 file changed, 58 insertions(+), 448 deletions(-)
29407 commit 769645e00d6d055a4cd802454dbfc1bbfcbee691
29408 Author: Simon van der Linden <svdlinden@gnome.org>
29409 Date: Thu Aug 12 14:11:55 2010 +0200
29413 pyglib.c: In function ‘pyglib_gerror_exception_check’:
29414 pyglib.c:362: warning: format not a string literal and no format
29416 pyglib.c:371: warning: format not a string literal and no format
29419 gio.override: In function 'pygio_notify_allocate_buffer':
29420 gio.override:144:13: warning: format '%d' expects type 'int', but
29424 https://bugzilla.gnome.org/show_bug.cgi?id=625437
29426 gio/gio.override | 2 +-
29427 glib/pyglib.c | 4 ++--
29428 2 files changed, 3 insertions(+), 3 deletions(-)
29430 commit e4c4cccb588b258dbcd21702e6cddcfe9ebe4ffc
29431 Author: Simon van der Linden <svdlinden@gnome.org>
29432 Date: Thu Aug 12 11:09:37 2010 +0200
29434 Fix caller-allocates emergency free.
29436 In the state, args, args[i], arg_infos[i], and arg_type_infos[i]
29438 NULL in order to be able caller-allocates. This patch adds those
29441 Moreover, the interface info needs to be freed afterwards.
29443 https://bugzilla.gnome.org/show_bug.cgi?id=626684
29445 gi/pygi-invoke.c | 9 ++++++++-
29446 1 file changed, 8 insertions(+), 1 deletion(-)
29448 commit 0ab967ca40ddcffc2834d4e656bb2010c6b9bdda
29449 Author: Simon van der Linden <svdlinden@gnome.org>
29450 Date: Thu Aug 12 10:46:17 2010 +0200
29452 Remove useless checks.
29454 No need to check for state->arg_infos, state->arg_type_infos, and
29455 state->args_is_auxiliary to be NULL, they are always allocated.
29457 https://bugzilla.gnome.org/show_bug.cgi?id=626684
29459 gi/pygi-invoke.c | 14 +++-----------
29460 1 file changed, 3 insertions(+), 11 deletions(-)
29462 commit e17be9cd288fee5d7cb174d9d577eb9279044c67
29463 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29464 Date: Tue Aug 10 17:40:16 2010 +0200
29466 Call valgrind with G_SLICE=always-malloc G_DEBUG=gc-friendly
29468 tests/Makefile.am | 2 +-
29469 1 file changed, 1 insertion(+), 1 deletion(-)
29471 commit 8be59c37dd57acc51875c7189ca09d728b729013
29472 Author: Ignacio Casal Quinteiro <icq@gnome.org>
29473 Date: Wed Aug 4 13:43:17 2010 +0200
29477 gi/pygi-argument.c | 2 --
29478 gi/pygi-invoke.c | 2 +-
29479 gi/pygi-struct.c | 1 -
29480 3 files changed, 1 insertion(+), 4 deletions(-)
29482 commit 529eca6054e9a7e2267f1529e317c2373932762f
29483 Author: Simon van der Linden <svdlinden@gnome.org>
29484 Date: Fri Jul 30 22:39:40 2010 +0200
29486 Add myself as a maintainer
29488 MAINTAINERS | 4 ++++
29489 1 file changed, 4 insertions(+)
29491 commit caac75a6ed6f671b37e38a78e71b87906a00ac1b
29492 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29493 Date: Fri Jul 30 14:14:16 2010 +0200
29495 Properly allocate boxed structs that are (caller-allocates)
29497 * gi/pygi-boxed.[hc]: Refactor out the allocation of boxed structs
29498 * gi/pygi-invoke.c: Don't use g_malloc0 for boxed structs that
29499 are (caller-allocates)
29500 * tests/test_overrides.py: Split the TreeView tests
29502 https://bugzilla.gnome.org/show_bug.cgi?id=625653
29504 gi/pygi-boxed.c | 50
29505 ++++++++++++++++++++++++++++++++-----------------
29506 gi/pygi-boxed.h | 10 ++++++----
29507 gi/pygi-invoke.c | 16 ++++++----------
29508 tests/test_overrides.py | 39 +++++++++++++++++++-------------------
29509 4 files changed, 64 insertions(+), 51 deletions(-)
29511 commit 99c7322898c00a576c7319ea0a7c808446253133
29512 Author: Toms Baugis <toms.baugis@gmail.com>
29513 Date: Fri Jul 30 15:44:21 2010 +0200
29515 override gdk.Event to return attribute from the proper event object
29517 https://bugzilla.gnome.org/show_bug.cgi?id=620593
29519 gi/overrides/Gdk.py | 48
29520 ++++++++++++++++++++++++++++++++++++++++++++++++
29521 gi/pygi-invoke.c | 4 ----
29522 tests/test_overrides.py | 10 ++++++++++
29523 3 files changed, 58 insertions(+), 4 deletions(-)
29525 commit 55814e722c2ae11310f346790c9221e4fad92b50
29526 Author: John (J5) Palmieri <johnp@redhat.com>
29527 Date: Fri Jul 30 06:30:48 2010 -0400
29529 check if z# needs an int or Py_ssize_t
29531 https://bugzilla.gnome.org/show_bug.cgi?id=625438
29533 gio/gio.override | 5 +++++
29534 1 file changed, 5 insertions(+)
29536 commit 477315465d0a6d84b51e146e86e254873bc564ff
29537 Author: John (J5) Palmieri <johnp@redhat.com>
29538 Date: Fri Jul 30 06:43:06 2010 -0400
29540 make sure we parse parameters to python object vars not glib vars
29542 * py_flags was already set up but due to a typo &flags was being
29546 https://bugzilla.gnome.org/show_bug.cgi?id=625438
29548 gio/gfile.override | 8 ++++----
29549 1 file changed, 4 insertions(+), 4 deletions(-)
29551 commit faa7d4eece7ddb698725098970c2478a3b45c4d5
29552 Author: Paul Bolle <pebolle@tiscali.nl>
29553 Date: Fri Jul 30 10:56:01 2010 +0200
29555 Make an example and a demo work out of the box
29557 cairo-demo.py and gtk-demo.py need the two (kind of) magic lines
29558 regarding pygtk to work out of the box. So add those.
29560 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
29562 https://bugzilla.gnome.org/show_bug.cgi?id=625638
29564 demos/gtk-demo/gtk-demo.py | 2 ++
29565 examples/cairo-demo.py | 2 ++
29566 2 files changed, 4 insertions(+)
29568 commit c9da5782e6c633d9af43ee85075e9ee65db09780
29569 Author: John (J5) Palmieri <johnp@redhat.com>
29570 Date: Fri Jul 9 13:14:42 2010 -0400
29572 make sure caller allocated structs are freed when they go out of scope
29574 * Move struct transfer checks from pygi-arguments to pygi-invoke
29575 * add better warning if an unknown struct is fully transfered
29576 * only free GValues we create in the invoke cleanup. All other
29578 get cleaned up when they go out of scope in python
29579 * Fixes issues with caller allocated treeiters getting freed to early
29580 * this is a fix to crashes in the current test suite when API's
29582 TreeIters were annotated as out caller-allocates so no new tests
29585 https://bugzilla.gnome.org/show_bug.cgi?id=623969
29587 gi/pygi-argument.c | 13 +++++--------
29588 gi/pygi-invoke.c | 46 ++++++++++++++++++++++++++++++++++++++++------
29589 2 files changed, 45 insertions(+), 14 deletions(-)
29591 commit e0a85305cd107aae5902e524afd074cd8c329927
29592 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29593 Date: Fri Jul 30 10:35:33 2010 +0200
29595 Revert "override gdk.Event to return attribute from the proper
29598 Pushed by mistake, we still need testcases
29600 This reverts commit e7bb3954880568884ca66e7751ede689dc2f24f6.
29602 gi/overrides/Gdk.py | 44 --------------------------------------------
29603 1 file changed, 44 deletions(-)
29605 commit 61ffb8d6d08fcfe638f71ea97ceac3a366e5536d
29606 Author: Paul Bolle <pebolle@tiscali.nl>
29607 Date: Thu Jul 29 22:55:28 2010 +0200
29609 PyGI: properly quit cairo-demo
29611 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
29613 https://bugzilla.gnome.org/show_bug.cgi?id=625619
29615 examples/cairo-demo.py | 2 +-
29616 1 file changed, 1 insertion(+), 1 deletion(-)
29618 commit e7bb3954880568884ca66e7751ede689dc2f24f6
29619 Author: Toms Baugis <toms.baugis@gmail.com>
29620 Date: Tue Jul 27 21:37:16 2010 +0200
29622 override gdk.Event to return attribute from the proper event object.
29624 https://bugzilla.gnome.org/show_bug.cgi?id=620593
29626 gi/overrides/Gdk.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
29627 1 file changed, 44 insertions(+)
29629 commit 0a9f1da052fd33dcef81d0e267fc7972f02c7888
29630 Author: Simon van der Linden <svdlinden@gnome.org>
29631 Date: Wed Jul 28 14:56:00 2010 +0200
29633 Clean and improve the test infrastructure
29635 To run select tests, use for instance:
29636 % make check TEST_NAMES='test_everything test_gi.TestConstant'
29638 It works with check.gdb and check.valgrind too.
29640 https://bugzilla.gnome.org/show_bug.cgi?id=625488
29642 Makefile.am | 5 ----
29643 tests/Makefile.am | 65
29644 +++++++++++++++++++++-------------------------
29645 tests/common.py | 47 ---------------------------------
29646 tests/runtests.py | 43 ++++++++++++------------------
29647 tests/test_gcancellable.py | 4 +--
29648 tests/test_gi.py | 3 ---
29649 tests/test_gicon.py | 3 ++-
29650 tests/test_gio.py | 3 ++-
29651 tests/test_gobject.py | 3 ++-
29652 tests/test_gresolver.py | 4 +--
29653 tests/test_gsocket.py | 4 ++-
29654 tests/test_interface.py | 6 ++++-
29655 tests/test_mainloop.py | 11 +++-----
29656 tests/test_signal.py | 4 ++-
29657 tests/test_source.py | 4 +--
29658 tests/test_subprocess.py | 5 +---
29659 tests/test_thread.py | 5 +++-
29660 tests/test_unknown.py | 5 +++-
29661 18 files changed, 82 insertions(+), 142 deletions(-)
29663 commit 82f4cb5ebf5d992493b7a2f74cfd5f175e19eb76
29664 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29665 Date: Thu Jul 29 12:34:19 2010 +0200
29667 Add some more transformations to pygi-convert.sh
29669 pygi-convert.sh | 37 +++++++++++++++++++++++++++++--------
29670 1 file changed, 29 insertions(+), 8 deletions(-)
29672 commit de519adcd21947a0aef7932cdecb78cef200c85e
29673 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29674 Date: Wed Jul 28 14:42:36 2010 +0200
29676 Adapt to API changes: g_irepository_enumerate_versions
29678 gi/importer.py | 2 +-
29679 gi/pygi-repository.c | 12 ++++++------
29680 2 files changed, 7 insertions(+), 7 deletions(-)
29682 commit 01cd9abb43f93f9a57a5a05b6dc9560614e666e3
29683 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29684 Date: Wed Jul 28 12:26:48 2010 +0200
29686 Add GValue<->GArgument marshalling for some more types
29688 gi/pygi-property.c | 37 ++++++++++++++++++++++++++++++++++++-
29689 1 file changed, 36 insertions(+), 1 deletion(-)
29691 commit ddffa70c3ee0e837070f390632bc692430f79171
29692 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29693 Date: Wed Jul 28 11:10:42 2010 +0200
29695 Chain up with the non-introspection implementation for properties
29698 gobject/pygobject.c | 7 ++++++-
29699 1 file changed, 6 insertions(+), 1 deletion(-)
29701 commit 045433a1f8167205dc8eae613dcb8835d02c8916
29702 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29703 Date: Wed Jul 28 10:59:49 2010 +0200
29705 Improve error reporting for missing attributes in introspection
29708 gi/module.py | 4 ++--
29709 1 file changed, 2 insertions(+), 2 deletions(-)
29711 commit 6655a79b2f13fe417aefdf6aebab0f2d6162ba00
29712 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29713 Date: Tue Jul 27 21:52:49 2010 +0200
29715 Implement getting and setting properties using introspection
29718 This allows us to use information not present in GObject such as
29719 transfer and element types.
29721 https://bugzilla.gnome.org/show_bug.cgi?id=620808
29723 gi/Makefile.am | 2 +
29724 gi/gimodule.c | 2 +
29725 gi/pygi-argument.c | 2 +
29726 gi/pygi-private.h | 1 +
29727 gi/pygi-property.c | 226
29728 +++++++++++++++++++++++++++++++++++++++++++++++
29729 gi/pygi-property.h | 39 ++++++++
29730 gi/pygi.h | 41 +++++++++
29731 gobject/pygobject.c | 9 ++
29732 tests/test_everything.py | 19 ++++
29733 9 files changed, 341 insertions(+)
29735 commit 85f4572b3ffbfa364ebb2e470eab759edc557b36
29736 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29737 Date: Tue Jul 27 21:32:41 2010 +0200
29739 Readd Gdk.Rectangle override for Gtk-2.0
29741 gi/overrides/Gdk.py | 19 +++++++++++++++++++
29742 1 file changed, 19 insertions(+)
29744 commit 2082ee35e2a33f52bf1e8ec49cb4a43398e91989
29745 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29746 Date: Tue Jul 27 18:25:27 2010 +0200
29748 Allow specifying a version when loading a typelib
29750 * gi/importer.py: Defer loading the typelib until first usage.
29751 * gi/module.py: Load the typelib in IntrospectionModule().
29752 * gi/overrides/*.py: Adapt to API change.
29753 * gi/pygi-repository.c: Add wrappers for g_irepository_enumerate and
29754 g_irepository_get_version.
29756 gi/importer.py | 26 ++++++-----------
29758 +++++++++++++++++++++++++-------------
29759 gi/overrides/GIMarshallingTests.py | 2 +-
29760 gi/overrides/Gdk.py | 2 +-
29761 gi/overrides/Gtk.py | 2 +-
29762 gi/pygi-repository.c | 56
29763 +++++++++++++++++++++++++++++++++++-
29764 6 files changed, 105 insertions(+), 41 deletions(-)
29766 commit 6d7ed6c322234c240b1063a1dfaadd17157432a9
29767 Author: Jonathan Matthew <jonathan@d14n.org>
29768 Date: Tue Jul 13 20:27:28 2010 +1000
29770 treat GFreeFunc as equivalent to GDestroyNotify when scanning
29773 https://bugzilla.gnome.org/show_bug.cgi?id=624232
29775 gi/pygi-callbacks.c | 3 ++-
29776 1 file changed, 2 insertions(+), 1 deletion(-)
29778 commit 7e9cbd5601ad548b78d106bac1a1576d33b91c65
29779 Author: Simon van der Linden <svdlinden@gnome.org>
29780 Date: Mon Jul 26 17:00:23 2010 +0200
29782 Don't use == to compare doubles, use <= and =>.
29784 This avoids inequality due to small precisions difference.
29786 https://bugzilla.gnome.org/show_bug.cgi?id=625326
29788 tests/testhelpermodule.c | 2 +-
29789 1 file changed, 1 insertion(+), 1 deletion(-)
29791 commit 5ca2a41f16f4a5fcc3ab4d00bec46b077c7eb384
29792 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29793 Date: Thu Jul 8 11:36:12 2010 +0200
29795 Allow passing ints as enum args
29797 https://bugzilla.gnome.org/show_bug.cgi?id=622584
29799 gi/pygi-argument.c | 23 +++++++++++++++++++++--
29800 tests/test_gi.py | 6 ++++--
29801 2 files changed, 25 insertions(+), 4 deletions(-)
29803 commit 890c3233f8a9f884b045a294bf0122bb3afcd54a
29804 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29805 Date: Sun Jul 25 17:30:40 2010 +0100
29807 Make error message less ambiguous
29809 https://bugzilla.gnome.org/show_bug.cgi?id=625095
29811 gi/pygi-callbacks.c | 3 ++-
29812 1 file changed, 2 insertions(+), 1 deletion(-)
29814 commit 1162e436273ff8e9e4e24bd8ba74615fd4624753
29815 Author: John (J5) Palmieri <johnp@redhat.com>
29816 Date: Thu Jun 24 10:07:12 2010 -0400
29818 fix passing in type names as a GType and add gtype unit tests
29820 * a simple call to pyg_type_from_object covers all the bases
29821 * added unit tests to check for correct GType value passing
29822 * fixed up tree override tests to also check different ways of
29825 https://bugzilla.gnome.org/show_bug.cgi?id=622605
29827 gi/pygi-argument.c | 8 +-------
29828 tests/test_everything.py | 27 +++++++++++++++++++++++++++
29829 tests/test_overrides.py | 6 ++----
29830 3 files changed, 30 insertions(+), 11 deletions(-)
29832 commit 8becd32fc042445d62b885bac12dac326b2dc1fa
29833 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29834 Date: Mon Jul 26 11:54:47 2010 +0200
29836 Increase a bit verbosity of tests so people know which test failed
29838 tests/runtests.py | 2 +-
29839 1 file changed, 1 insertion(+), 1 deletion(-)
29841 commit 3b3c63514f311592e6769a373d37a2bde7ea6b38
29842 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29843 Date: Thu Jul 15 15:17:53 2010 +0200
29845 Actually add the files for GVariant foreign structs
29847 gi/pygi-foreign-gvariant.c | 63
29848 ++++++++++++++++++++++++++++++++++++++++++++++
29849 gi/pygi-foreign-gvariant.h | 41 ++++++++++++++++++++++++++++++
29850 2 files changed, 104 insertions(+)
29852 commit e65275bc57f345c111eb12a6b4476ff1ddc3bc24
29853 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29854 Date: Thu Jul 15 13:31:33 2010 +0200
29856 Add foreign struct support for GVariant
29858 * gi/pygi-invoke.c: Wrap foreign structs returned by constructors
29859 * gi/pygi-foreign.c: Register foreign support for GVariant
29860 * gi/pygi-struct.c: properly release foreign structs
29861 * gi/pygi-argument.c, gi/pygi-foreign-cairo.c, gi/pygi.h: Adapt to
29863 * tests/test_everything.py: Add basic tests for GVariant
29865 https://bugzilla.gnome.org/show_bug.cgi?id=619501
29867 gi/Makefile.am | 2 +
29868 gi/pygi-argument.c | 2 +-
29869 gi/pygi-foreign-cairo.c | 16 +++----
29870 gi/pygi-foreign.c | 107
29871 +++++++++++++++++++++++++++++------------------
29872 gi/pygi-foreign.h | 7 ++--
29873 gi/pygi-invoke.c | 18 ++++----
29874 gi/pygi-struct.c | 10 ++++-
29876 tests/test_everything.py | 8 ++++
29877 9 files changed, 110 insertions(+), 69 deletions(-)
29879 commit 3b3bd4da3fbc993fa7f7cfb46ed4e67671c94cc0
29880 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29881 Date: Mon Jul 12 11:19:06 2010 +0200
29883 Add HACKING to MANIFEST.in
29886 1 file changed, 1 insertion(+), 1 deletion(-)
29888 commit 40bf08ff001b119c7daf709197005ef6480216c5
29889 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29890 Date: Mon Jul 12 11:18:04 2010 +0200
29892 Add HACKING file with instructions for releasing
29894 HACKING | 14 ++++++++++++++
29895 1 file changed, 14 insertions(+)
29897 commit 3b9dffe7cc3820dfb84fd968fc604899601c5dc4
29898 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29899 Date: Mon Jul 12 11:09:58 2010 +0200
29901 Post release version bump to 2.21.6
29903 configure.ac | 2 +-
29904 1 file changed, 1 insertion(+), 1 deletion(-)
29906 commit 42a5a0897b38156ae010c396ea254abf502f35de
29907 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29908 Date: Mon Jul 12 11:00:29 2010 +0200
29910 Update NEWS and release PyGObject-2.21.5
29912 NEWS | 17 +++++++++++++++++
29913 1 file changed, 17 insertions(+)
29915 commit 5857f25c1c6e25b79e6134558bd7151bc6c30ef7
29916 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29917 Date: Mon Jul 12 11:00:20 2010 +0200
29919 Pre-release version bump to 2.21.5
29921 configure.ac | 2 +-
29922 1 file changed, 1 insertion(+), 1 deletion(-)
29924 commit e500adc3ac19ef6f436809e5a8828ac7e8db28f6
29925 Author: Florian Müllner <florian.muellner@gmail.com>
29926 Date: Sat Jul 10 22:35:13 2010 +0200
29928 Shut up some compiler warnings
29930 Remove unused variables, make sure variables are properly initialized.
29932 https://bugzilla.gnome.org/show_bug.cgi?id=624066
29934 gi/pygi-callbacks.c | 1 -
29935 gi/pygi-closure.c | 2 +-
29936 gi/pygi-invoke.c | 1 -
29937 3 files changed, 1 insertion(+), 3 deletions(-)
29939 commit 2efa18afbcc2fac1c90958535b2f80e6e730ee56
29940 Author: =?UTF-8?q?Florian=20M=C3=BCllner?= <florian.muellner@gmail.com>
29941 Date: Mon Jul 12 10:31:42 2010 +0200
29943 Adjust to API break in GObject-Introspection
29945 As of commit 5cb925b20, many type_tags for standard C types have
29946 been removed - namely machine-dependent integer types and derived
29947 types (size_t, time_t).
29949 Most removals are just synonyms of other types, so their removal
29950 should not have too much impact, with the exception of time_t,
29951 which was translated to a native datetime object before.
29953 Also remove time_t tests (Tomeu Vizoso).
29955 https://bugzilla.gnome.org/show_bug.cgi?id=624065
29957 configure.ac | 2 +-
29958 gi/importer.py | 7 +--
29959 gi/pygi-argument.c | 146
29960 -----------------------------------------------------
29961 gi/pygi-closure.c | 10 ----
29962 gi/pygi-info.c | 37 --------------
29963 tests/test_gi.py | 21 --------
29964 6 files changed, 5 insertions(+), 218 deletions(-)
29966 commit 27a417c71f8c122e46c7472663bb25c17413f103
29967 Author: John (J5) Palmieri <johnp@redhat.com>
29968 Date: Thu Jul 8 16:01:25 2010 -0400
29970 pass in the demo app so demos can use utility methods like requesting
29973 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
29974 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
29975 demos/gtk-demo/demos/appwindow.py | 13 +++++++++++--
29976 demos/gtk-demo/demos/assistant.py | 2 +-
29977 demos/gtk-demo/demos/builder.py | 14 ++++++++++----
29978 demos/gtk-demo/demos/button_box.py | 2 +-
29979 demos/gtk-demo/demos/clipboard.py | 8 +-------
29980 demos/gtk-demo/demos/colorselector.py | 2 +-
29981 demos/gtk-demo/demos/combobox.py | 8 +++++---
29982 demos/gtk-demo/demos/drawingarea.py | 2 +-
29983 demos/gtk-demo/demos/test.py | 2 +-
29984 demos/gtk-demo/gtk-demo.py | 6 +++---
29985 12 files changed, 37 insertions(+), 26 deletions(-)
29987 commit e7daae919c2c6ae35d3927f0006252aacd49ea86
29988 Author: John (J5) Palmieri <johnp@redhat.com>
29989 Date: Thu Jul 8 15:38:07 2010 -0400
29991 demo fixes to keep up with Gtk+
29993 * treeiter changes to reflect caller-allocate annotations
29994 * fix some flag handling
29995 * use get_indicies_with_depth instead of get_indices for paths
29997 demos/gtk-demo/demos/appwindow.py | 10 +++++++---
29998 demos/gtk-demo/demos/combobox.py | 24 ++++++++++++------------
29999 demos/gtk-demo/gtk-demo.py | 13 +++++--------
30000 3 files changed, 24 insertions(+), 23 deletions(-)
30002 commit 3d9fd6391710cc33058394d6821e4d4e11f09b22
30003 Author: John (J5) Palmieri <johnp@redhat.com>
30004 Date: Thu Jul 8 12:54:43 2010 -0400
30006 override test fixes for new GTK+ annotations
30008 tests/test_overrides.py | 23 +++++++++++++----------
30009 1 file changed, 13 insertions(+), 10 deletions(-)
30011 commit 7a400f8139b70ddfe7c949035e0851689951c647
30012 Author: Ignacio Casal Quinteiro <icq@gnome.org>
30013 Date: Thu Jul 8 12:42:25 2010 +0200
30017 gi/pygi-argument.c | 4 ++--
30018 1 file changed, 2 insertions(+), 2 deletions(-)
30020 commit 39fd0a85a3de06b1b877d1125f91036409886373
30021 Author: John (J5) Palmieri <johnp@redhat.com>
30022 Date: Wed Jul 7 15:48:36 2010 -0400
30024 fix up treeiter usage due to caller-allocates annotations in gtk+
30026 * we still don't pass tests because the caller-allocates code path
30028 handle the case where the parameter is followed by a regular
30031 gi/overrides/Gtk.py | 7 +++----
30032 tests/test_overrides.py | 21 +++++++++++----------
30033 2 files changed, 14 insertions(+), 14 deletions(-)
30035 commit 4d970b75dc5c75c1bec04cb2954c9985b476070c
30036 Author: John (J5) Palmieri <johnp@redhat.com>
30037 Date: Tue Jul 6 17:50:10 2010 -0400
30039 add entry completion demo
30041 demos/gtk-demo/demos/Entry/entry_completion.py | 87
30042 ++++++++++++++++++++++++++
30043 1 file changed, 87 insertions(+)
30045 commit f3531eaa1bfa4e01651d35cd587384d30a398ba8
30046 Author: John (J5) Palmieri <johnp@redhat.com>
30047 Date: Tue Jul 6 17:49:18 2010 -0400
30051 demos/gtk-demo/demos/Entry/entry_buffer.py | 4 ++--
30052 1 file changed, 2 insertions(+), 2 deletions(-)
30054 commit baf1e9bb550c7bf45e2ac0b70ba29c434ef1ccc6
30055 Author: John (J5) Palmieri <johnp@redhat.com>
30056 Date: Tue Jul 6 17:27:04 2010 -0400
30058 add the Entry demo directory and the entry_buffer demo
30060 demos/gtk-demo/demos/Entry/__init__.py | 0
30061 demos/gtk-demo/demos/Entry/entry_buffer.py | 73
30062 ++++++++++++++++++++++++++++++
30063 2 files changed, 73 insertions(+)
30065 commit f2b1d222120f055bec9339cca55c9cc90f538c00
30066 Author: John (J5) Palmieri <johnp@redhat.com>
30067 Date: Tue Jul 6 17:26:03 2010 -0400
30069 fix loading of demo modules to support sub modules
30071 demos/gtk-demo/gtk-demo.py | 9 +++++++--
30072 1 file changed, 7 insertions(+), 2 deletions(-)
30074 commit 4f9390fb1892b13ab2ea00ed66c5000a40f09029
30075 Author: John (J5) Palmieri <johnp@redhat.com>
30076 Date: Tue Jul 6 15:56:34 2010 -0400
30078 add the ability to have demos in sub catagories
30080 demos/gtk-demo/gtk-demo.py | 76
30081 ++++++++++++++++++++++++++++++++--------------
30082 1 file changed, 54 insertions(+), 22 deletions(-)
30084 commit dc2249a3ecf339008351316217191d0551ccc588
30085 Author: Jose Aliste <jaliste@src.gnome.org>
30086 Date: Mon Jul 5 14:36:59 2010 -0400
30088 Add __name__ to DynamicModule class.
30093 1 file changed, 1 insertion(+)
30095 commit 2357bca8d14539894b6bd0acfdc18d30b4bb4db6
30096 Author: Ignacio Casal Quinteiro <icq@gnome.org>
30097 Date: Mon Jul 5 16:11:07 2010 +0200
30099 Do not override GdkRectangle.
30101 This class was lately removed from gtk+ 3, so there is no need
30105 gi/overrides/Gdk.py | 19 -------------------
30106 1 file changed, 19 deletions(-)
30108 commit daca09dc2c2306d4fa82a68bbdd147d4b170a1e7
30109 Author: Philip Withnall <philip.withnall@collabora.co.uk>
30110 Date: Tue Jun 29 16:37:36 2010 +0100
30112 Add override for TreeModel implementing __len__()
30116 gi/overrides/Gtk.py | 11 +++++++++--
30117 tests/test_overrides.py | 5 +++++
30118 2 files changed, 14 insertions(+), 2 deletions(-)
30120 commit bb8adb7f02f0c5494df2cb6e535e44d23902e8f5
30121 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30122 Date: Tue Jun 29 11:27:13 2010 +0200
30124 Update NEWS and release PyGObject-2.21.4
30126 NEWS | 27 +++++++++++++++++++++++++--
30127 1 file changed, 25 insertions(+), 2 deletions(-)
30129 commit 2d473ee17be4671244bb4a2a0953a21ccf2a0df6
30130 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30131 Date: Tue Jun 29 10:55:03 2010 +0200
30133 Remove files from the makefiles
30135 gi/Makefile.am | 4 +---
30136 gobject/Makefile.am | 3 +--
30137 2 files changed, 2 insertions(+), 5 deletions(-)
30139 commit 89827314fd183eac07443c8e9d275ca9d4ce59df
30140 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30141 Date: Tue Jun 29 10:27:39 2010 +0200
30143 Build the cairo shim as a python module so the _gi module stops
30146 https://bugzilla.gnome.org/show_bug.cgi?id=623021
30149 gi/Makefile.am | 38 ++++++++++-----
30150 gi/gimodule.c | 8 +---
30151 gi/pygi-argument.c | 10 +---
30152 gi/pygi-foreign-cairo.c | 56 ++++++++++++++++------
30153 gi/pygi-foreign-cairo.h | 55 ---------------------
30154 gi/pygi-foreign.c | 125
30155 ++++++++++++++++++++++++++++--------------------
30156 gi/pygi-foreign.h | 31 ++++++------
30157 gi/pygi.h | 40 ++++++++++++++--
30158 9 files changed, 196 insertions(+), 169 deletions(-)
30160 commit a6a90551311bc64f037cbd442e13f70c30060871
30161 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30162 Date: Mon Jun 28 14:20:43 2010 +0200
30164 Remove pygi-external.h
30166 https://bugzilla.gnome.org/show_bug.cgi?id=623021
30168 gi/gimodule.c | 8 +++---
30169 gi/pygi-type.c | 4 +--
30170 gi/pygi-type.h | 2 +-
30171 gi/pygi.h | 54 ++++++++++++++++-----------------------
30172 gobject/Makefile.am | 6 +++++
30173 gobject/pygboxed.c | 2 +-
30174 gobject/pygenum.c | 2 +-
30175 gobject/pygflags.c | 2 +-
30176 gobject/pygi-external.h | 67
30177 -------------------------------------------------
30178 gobject/pygobject.c | 2 +-
30179 gobject/pygpointer.c | 2 +-
30180 11 files changed, 40 insertions(+), 111 deletions(-)
30182 commit 8b3a3baacb45cb3f9112f7597607602fa89c6634
30183 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30184 Date: Fri Jun 25 13:54:57 2010 +0200
30186 Revert "correctly handle floating objects in gtk"
30188 This reverts commit 60fdf4b8f738dd0f5c190bc18ddf010032d3c5ca.
30193 tests/test_everything.py
30195 gi/gimodule.c | 13 -------------
30196 tests/test_everything.py | 3 ++-
30197 2 files changed, 2 insertions(+), 14 deletions(-)
30199 commit 0f2a09d7eae63abb71723b7cd8fb290dcba33426
30200 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30201 Date: Fri Jun 25 13:49:04 2010 +0200
30203 Make valgrind happy again
30205 * gi/pygi-argument.c, gi/pygi-info.c: Zero two GArgument instances.
30206 * gi/pygi-invoke.c: workaround bgo#622711 and zero invocation_state.
30208 gi/pygi-argument.c | 1 +
30209 gi/pygi-info.c | 2 ++
30210 gi/pygi-invoke.c | 8 ++++++--
30211 3 files changed, 9 insertions(+), 2 deletions(-)
30213 commit 63afe55906c8637e913783e65b82b540b81bed65
30214 Author: John (J5) Palmieri <johnp@redhat.com>
30215 Date: Thu Jun 24 16:13:37 2010 -0400
30217 add drawing area demo
30219 demos/gtk-demo/demos/drawingarea.py | 249
30220 ++++++++++++++++++++++++++++++++++++
30221 1 file changed, 249 insertions(+)
30223 commit 8bba5f842393a284367cdd15f3d32a8c7745516a
30224 Author: John (J5) Palmieri <johnp@redhat.com>
30225 Date: Thu Jun 24 14:11:00 2010 -0400
30229 demos/gtk-demo/gtk-demo.py | 2 ++
30230 1 file changed, 2 insertions(+)
30232 commit b9da82742701ed276b01dee39626cd71cbef8556
30233 Author: John (J5) Palmieri <johnp@redhat.com>
30234 Date: Thu Jun 24 13:56:18 2010 -0400
30236 rename iter to treeiter so we aren't using a python reserved word
30238 demos/gtk-demo/gtk-demo.py | 12 ++++++------
30239 1 file changed, 6 insertions(+), 6 deletions(-)
30241 commit c93935621f2fb1ff5e8c424ae884bd684ea68e50
30242 Author: John (J5) Palmieri <johnp@redhat.com>
30243 Date: Thu Jun 24 13:47:54 2010 -0400
30245 Fixup for change in buffer API
30247 * Part of buffer API dealing with TextIter now marked (out
30250 demos/gtk-demo/gtk-demo.py | 10 ++++------
30251 1 file changed, 4 insertions(+), 6 deletions(-)
30253 commit 8d9516a593a515290109401a9db7aa259b5aa35c
30254 Author: John (J5) Palmieri <johnp@redhat.com>
30255 Date: Wed Jun 23 17:04:33 2010 -0400
30257 add ListStore, TreeStore and TreeViewColumn APIs
30259 * this is enough to support the gtk-demo.py shell
30260 * TreeStore and ListStore allow passing in as an argument list
30261 of either python or GLib types to the constructor as a description
30262 of the columns in the model
30263 * TreeStore and ListStore override the append method, allowing
30264 the application developer to send in a list of column values
30265 for one row in the model. Unlike the append in C which
30266 just returns an iter that you can then add data to,
30267 this append actualy appends data in one step
30268 * TreeViewColumn overrides the constructor to allow the adding
30269 of attributes and a cell renderer when constructing the
30272 https://bugzilla.gnome.org/show_bug.cgi?id=620405
30274 gi/overrides/Gtk.py | 59 ++++++++++++++++++++++++++++++++++++++++++
30275 tests/test_overrides.py | 69
30276 +++++++++++++++++++++++++++++++++++++++++++++++++
30277 2 files changed, 128 insertions(+)
30279 commit c305fbeb7bdb44623d5198f4a8f0a374d529fdf4
30280 Author: Johan Dahlin <johan@gnome.org>
30281 Date: Wed Jun 23 14:34:28 2010 -0300
30283 [gi] Add -I../gobject to cflags
30285 Since we're no longer pulling in pygobject cflags,
30286 add this to be able to include pygobject.h
30288 gi/Makefile.am | 3 +++
30289 1 file changed, 3 insertions(+)
30291 commit 53a093198851e3ba5abd1f6c3314737decd401d8
30292 Author: Ignacio Casal Quinteiro <icq@gnome.org>
30293 Date: Wed Jun 23 18:09:19 2010 +0200
30295 Add unit test for add_actions user data.
30297 tests/test_overrides.py | 20 +++++++++++++++-----
30298 1 file changed, 15 insertions(+), 5 deletions(-)
30300 commit 7f829af620cba768de619dd9f228d5d2ebf7fee4
30301 Author: Paolo Borelli <pborelli@gnome.org>
30302 Date: Wed Jun 23 18:06:46 2010 +0200
30304 Pass user_data param when adding actions
30306 gi/overrides/Gtk.py | 12 ++++++------
30307 1 file changed, 6 insertions(+), 6 deletions(-)
30309 commit 8f537ccd62f41ebe0db3853e2ae08080666f598f
30310 Author: John (J5) Palmieri <johnp@redhat.com>
30311 Date: Wed Jun 23 12:02:04 2010 -0400
30313 add an exception type to the try/except block
30315 * we should always specify what exception types we are expecting
30317 gi/overrides/Gtk.py | 6 +++---
30318 1 file changed, 3 insertions(+), 3 deletions(-)
30320 commit f140a8ebf59347162b67b550bd6f62d2eafad29a
30321 Author: Johan Dahlin <johan@gnome.org>
30322 Date: Wed Jun 23 12:31:51 2010 -0300
30324 Avoid duplicating required versions
30326 Avoid duplicating the version of all required packages.
30327 Also remove cyclic dependency of pygobject
30329 https://bugzilla.gnome.org/show_bug.cgi?id=622503
30331 configure.ac | 9 +++++----
30332 1 file changed, 5 insertions(+), 4 deletions(-)
30334 commit e8bd25355fbe7de38a28b7a0583167a2c0ffc31f
30335 Author: John (J5) Palmieri <johnp@redhat.com>
30336 Date: Tue Jun 22 15:03:08 2010 -0400
30338 return PyList instead of PyTuple for array, return empty list for
30341 * returns an empty list when a NULL array (empty array) is encountered
30342 * fix tests to check for lists instead of tuples or None
30343 * test the ability to send in both None and empty list for arrays
30346 gi/pygi-argument.c | 7 ++--
30347 tests/test_everything.py | 5 ++-
30348 tests/test_gi.py | 84
30349 ++++++++++++++++++++++++------------------------
30350 3 files changed, 49 insertions(+), 47 deletions(-)
30352 commit f312e6a49505eca07815146cfbdb0e48e5b3b8a8
30353 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30354 Date: Wed Jun 23 15:42:29 2010 +0200
30356 Fix 'make distcheck'
30358 * Makefile.am: put the tests dir to the end
30359 * g*/Makefile.am: build the .so when running make check
30360 * tests/Makefile.am: Don't pass the src dir to runtests.py and
30361 remove (hopefully) unneeded cruft.
30362 * tests/common.py: Don't add the src dir to the python path
30363 * tests/runtests.py: Don't pass the src dir to common.py
30365 Makefile.am | 4 +++-
30366 gi/Makefile.am | 1 +
30367 gio/Makefile.am | 1 +
30368 glib/Makefile.am | 2 +-
30369 gobject/Makefile.am | 1 +
30370 tests/Makefile.am | 17 ++---------------
30371 tests/common.py | 3 +--
30372 tests/runtests.py | 12 +++++-------
30373 8 files changed, 15 insertions(+), 26 deletions(-)
30375 commit 5f82e7d2909cbbbecbf5dbee2342f516c0d1f371
30376 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30377 Date: Wed Jun 23 13:59:14 2010 +0200
30379 Allow building pygobject without introspection support by providing
30380 --disable-introspection to configure.
30382 Makefile.am | 6 +++++-
30383 configure.ac | 15 ++++++++-------
30384 gobject/pygi-external.h | 4 ++--
30385 tests/Makefile.am | 8 ++++++--
30386 tests/runtests.py | 21 +++++++--------------
30387 5 files changed, 28 insertions(+), 26 deletions(-)
30389 commit cc3ea77318ee572673d2a044deca9001366b0f08
30390 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30391 Date: Wed Jun 23 12:26:51 2010 +0200
30393 Make sure that sys.argv is a list and not a sequence.
30395 Because Python's optparse will try to do things on it that can
30396 only be done with list.
30398 gi/overrides/Gtk.py | 2 +-
30399 1 file changed, 1 insertion(+), 1 deletion(-)
30401 commit 3d72b8248cc534a689dee5679a729b2fba56c528
30402 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30403 Date: Wed Jun 23 12:26:02 2010 +0200
30405 Force loading the GObject typelib so we have available the wrappers
30406 for base classes such as GInitiallyUnowned.
30408 gi/__init__.py | 3 +++
30409 1 file changed, 3 insertions(+)
30411 commit c7c94ef349c30597f2f10d90f74718d678ec7add
30412 Author: John (J5) Palmieri <johnp@redhat.com>
30413 Date: Tue Jun 22 14:45:48 2010 -0400
30415 we shouldn't g_array_free NULL pointers
30417 https://bugzilla.gnome.org/show_bug.cgi?id=622425
30419 gi/pygi-info.c | 5 +++--
30420 1 file changed, 3 insertions(+), 2 deletions(-)
30422 commit fb1ee243493616d7a7e4f6924c574db39f5a423d
30423 Merge: acf7b43a 5f9cb91c
30424 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30425 Date: Wed Jun 23 12:53:05 2010 +0200
30427 Merge branch 'pygi'
30429 commit 5f9cb91c2b3851056d5e2d7ff1401d4ce2be7c1f
30430 Author: John (J5) Palmieri <johnp@redhat.com>
30431 Date: Tue Jun 22 15:39:46 2010 -0400
30433 remove unneeded TextIter creation in the tests
30435 tests/test_overrides.py | 3 ---
30436 1 file changed, 3 deletions(-)
30438 commit 53c355d2cc0894e7f551e9b4eb719b89188a978e
30439 Author: John (J5) Palmieri <johnp@redhat.com>
30440 Date: Mon Jun 21 11:42:12 2010 -0400
30442 add override for TextBuffer
30444 * TextBuffer.create_tag takes vargs which we can't bind yet so
30446 to except a keyword list of properties
30447 * override the insert* methods so the developer does not have to
30449 - lengths are already encapsulated by a string in Python
30451 https://bugzilla.gnome.org/show_bug.cgi?id=620583
30453 gi/overrides/Gtk.py | 51
30454 +++++++++++++++++++++++++++++++++++++++++++++++++
30455 tests/test_overrides.py | 25 ++++++++++++++++++++++++
30456 2 files changed, 76 insertions(+)
30458 commit 1d89a88b212c7411ad28e74eda80ae751de92e50
30459 Author: John (J5) Palmieri <johnp@redhat.com>
30460 Date: Tue Jun 22 12:46:39 2010 -0400
30462 fix up some build issues
30464 * configure.ac: moved AM_PROG_CC_C_O below AM_PROG_CC_STDC because
30466 was complaining that AM_PROG_CC_STDC can't come after AM_PROC_CC_C_0
30467 * tests/Makefile.am: fix check-local target to use EXEC_NAME so
30469 make check.gdb work
30471 configure.ac | 2 +-
30472 tests/Makefile.am | 2 +-
30473 2 files changed, 2 insertions(+), 2 deletions(-)
30475 commit 4fe0d94c219deb69a2309693202309c53a0e5e69
30476 Author: John (J5) Palmieri <johnp@redhat.com>
30477 Date: Tue Jun 22 11:50:30 2010 -0400
30479 make the overrides file git friendly by appending to __all__ after
30482 * modifying the __all__ line for each override would confuse git as
30483 each override needs to get seperate approval before comitting.
30485 this commits would not always go in in the same order as they
30487 Also different people working on the same file would start from
30489 commit states. This caused conflicts when patches were merged.
30490 * instead of modifying a single hard coded list we now append to
30492 after each override. This creates distinct blocks of changed text
30493 which will not conflict
30495 gi/overrides/GIMarshallingTests.py | 10 ++++------
30496 gi/overrides/Gdk.py | 8 ++++----
30497 gi/overrides/Gtk.py | 7 +++++--
30498 3 files changed, 13 insertions(+), 12 deletions(-)
30500 commit 49321b934603e1ec69fb04082c63902970907d2b
30501 Author: Paolo Borelli <pborelli@gnome.org>
30502 Date: Sun Jun 20 13:27:34 2010 +0200
30504 Override Dialog constructor and add_buttons method
30506 gi/overrides/Gtk.py | 46
30507 +++++++++++++++++++++++++++++++++++++++++++++-
30508 tests/test_overrides.py | 16 ++++++++++++++++
30509 2 files changed, 61 insertions(+), 1 deletion(-)
30511 commit acf7b43a41ce814f0c57ce609a090826f04771db
30512 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30513 Date: Mon Jun 21 18:17:38 2010 +0200
30515 Post release version bump to 2.21.4
30517 configure.ac | 2 +-
30518 1 file changed, 1 insertion(+), 1 deletion(-)
30520 commit a7fa8b80406227a06cf18f8675dbc1f471283829
30521 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30522 Date: Mon Jun 21 18:10:32 2010 +0200
30524 Update NEWS and release PyGObject-2.21.3
30527 1 file changed, 7 insertions(+)
30529 commit 79acac7b86ec52cd3681d94d7f116314c3f00167
30530 Author: Ludovic L'Hours <ludovic.lhours@gmail.com>
30531 Date: Tue Jul 21 16:28:34 2009 +0200
30533 Proper handling of null-ok in virtual methods
30535 https://bugzilla.gnome.org/show_bug.cgi?id=589253
30537 codegen/codegen.py | 2 ++
30538 codegen/reversewrapper.py | 18 +++++++++++++++---
30539 2 files changed, 17 insertions(+), 3 deletions(-)
30541 commit 259a4b08f009aa01451caed20dbb6e68b402da2a
30542 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30543 Date: Mon Jun 21 17:34:54 2010 +0200
30545 Add *~ and *.orig to .gitignore
30547 .gitignore | 5 ++++-
30548 1 file changed, 4 insertions(+), 1 deletion(-)
30550 commit 00a85f6a844714d1715e2f67431747d1a4cdacb1
30551 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30552 Date: Mon Jun 21 17:33:56 2010 +0200
30554 Fall back to use the floating references API in glib if there isn't
30555 a sinkfunc defined.
30557 * tests/*: Add ref counting tests for floating objects
30558 * gobject/gobjectmodule.c, gobject/pygobject.c: Fall back to
30560 or g_object_ref if there isn't a sinkfunc defined. Make sure that
30561 pygobject_sink gets called only once per GObject instance.
30563 https://bugzilla.gnome.org/show_bug.cgi?id=583909
30565 gobject/gobjectmodule.c | 2 -
30566 gobject/pygobject.c | 50 +++++++++++++---------
30567 gobject/pygobject.h | 1 +
30568 tests/Makefile.am | 2 +
30569 tests/test-floating.c | 95 +++++++++++++++++++++++++++++++++++++++++
30570 tests/test-floating.h | 60 ++++++++++++++++++++++++++
30571 tests/test_gobject.py | 19 ++++++++-
30572 tests/testhelpermodule.c | 109
30573 +++++++++++++++++++++++++++++++++++++++++++++++
30574 8 files changed, 315 insertions(+), 23 deletions(-)
30576 commit e71238a699ae783fd1a59c8a76e3555d8066cf82
30577 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30578 Date: Mon Jun 21 13:06:13 2010 +0200
30580 Revert "Drop sinkfuncs."
30582 This reverts commit 04627488220b4f2a16e11f8982af7866fea9f7eb.
30584 gobject/gobjectmodule.c | 3 ++-
30585 gobject/pygobject.c | 42 ++++++++++++++++++++++++++++++++++--------
30586 gobject/pygobject.h | 1 -
30587 3 files changed, 36 insertions(+), 10 deletions(-)
30589 commit b2661054d6bde673484eab472e69ca021124528d
30590 Author: Johan Dahlin <johan@gnome.org>
30591 Date: Sun Jun 20 11:09:57 2010 -0300
30595 For reasons outlined at:
30596 http://mail.gnome.org/archives/python-hackers-list/2010-June/msg00009.html
30598 Makefile.am | 14 ++++-
30599 configure.ac | 29 ++++++++--
30600 {gi/demos => demos}/gtk-demo/demos/__init__.py | 0
30601 {gi/demos => demos}/gtk-demo/demos/appwindow.py | 0
30602 {gi/demos => demos}/gtk-demo/demos/assistant.py | 0
30603 {gi/demos => demos}/gtk-demo/demos/builder.py | 0
30604 {gi/demos => demos}/gtk-demo/demos/button_box.py | 0
30605 {gi/demos => demos}/gtk-demo/demos/clipboard.py | 0
30606 .../gtk-demo/demos/colorselector.py | 0
30607 {gi/demos => demos}/gtk-demo/demos/combobox.py | 0
30608 .../gtk-demo/demos/data/alphatest.png | Bin
30609 .../gtk-demo/demos/data/apple-red.png | Bin
30610 .../gtk-demo/demos/data/background.jpg | Bin
30611 {gi/demos => demos}/gtk-demo/demos/data/demo.ui | 0
30612 .../gtk-demo/demos/data/floppybuddy.gif | Bin
30613 .../gtk-demo/demos/data/gnome-applets.png | Bin
30614 .../gtk-demo/demos/data/gnome-calendar.png | Bin
30615 .../gtk-demo/demos/data/gnome-foot.png | Bin
30616 .../gtk-demo/demos/data/gnome-fs-directory.png | Bin
30617 .../gtk-demo/demos/data/gnome-fs-regular.png | Bin
30618 .../gtk-demo/demos/data/gnome-gimp.png | Bin
30619 .../gtk-demo/demos/data/gnome-gmush.png | Bin
30620 .../gtk-demo/demos/data/gnome-gsame.png | Bin
30621 .../gtk-demo/demos/data/gnu-keys.png | Bin
30622 .../gtk-demo/demos/data/gtk-logo-rgb.gif | Bin
30623 {gi/demos => demos}/gtk-demo/demos/test.py | 0
30624 {gi/demos => demos}/gtk-demo/gtk-demo.py | 0
30625 examples/Makefile.am | 2 +-
30626 {gi/examples => examples}/cairo-demo.py | 0
30627 gi/Makefile.am | 4 +-
30628 gi/examples/Makefile.am | 2 -
30629 pygi-Makefile.am | 28 ----------
30630 pygi-configure.ac | 60
30631 ---------------------
30632 pygi.doap | 34 ------------
30633 pygobject.doap | 16 +++++-
30634 tests/Makefile.am | 23 ++++++--
30635 {gi/tests => tests}/test_everything.py | 0
30636 {gi/tests => tests}/test_gi.py | 0
30637 {gi/tests => tests}/test_overrides.py | 0
30638 39 files changed, 75 insertions(+), 137 deletions(-)
30640 commit 597bd64319d7966045b5b8613ca6fc85668c3f56
30641 Merge: ec8d148e fa91dfd3
30642 Author: Johan Dahlin <johan@gnome.org>
30643 Date: Sun Jun 20 10:53:46 2010 -0300
30645 Merge branch 'pygi-merge'
30647 commit fa91dfd3ec79ecd03c9fb59b9363eab4a5b3ff2b
30648 Author: Johan Dahlin <johan@gnome.org>
30649 Date: Sun Jun 20 10:53:36 2010 -0300
30654 ---------------------
30655 .gitignore => gi/.gitignore | 0
30656 HACKING => gi/HACKING | 0
30657 {demos => gi/demos}/gtk-demo/demos/__init__.py | 0
30658 {demos => gi/demos}/gtk-demo/demos/appwindow.py | 0
30659 {demos => gi/demos}/gtk-demo/demos/assistant.py | 0
30660 {demos => gi/demos}/gtk-demo/demos/builder.py | 0
30661 {demos => gi/demos}/gtk-demo/demos/button_box.py | 0
30662 {demos => gi/demos}/gtk-demo/demos/clipboard.py | 0
30663 .../demos}/gtk-demo/demos/colorselector.py | 0
30664 {demos => gi/demos}/gtk-demo/demos/combobox.py | 0
30665 .../demos}/gtk-demo/demos/data/alphatest.png | Bin
30666 .../demos}/gtk-demo/demos/data/apple-red.png | Bin
30667 .../demos}/gtk-demo/demos/data/background.jpg | Bin
30668 {demos => gi/demos}/gtk-demo/demos/data/demo.ui | 0
30669 .../demos}/gtk-demo/demos/data/floppybuddy.gif | Bin
30670 .../demos}/gtk-demo/demos/data/gnome-applets.png | Bin
30671 .../demos}/gtk-demo/demos/data/gnome-calendar.png | Bin
30672 .../demos}/gtk-demo/demos/data/gnome-foot.png | Bin
30673 .../gtk-demo/demos/data/gnome-fs-directory.png | Bin
30674 .../gtk-demo/demos/data/gnome-fs-regular.png | Bin
30675 .../demos}/gtk-demo/demos/data/gnome-gimp.png | Bin
30676 .../demos}/gtk-demo/demos/data/gnome-gmush.png | Bin
30677 .../demos}/gtk-demo/demos/data/gnome-gsame.png | Bin
30678 .../demos}/gtk-demo/demos/data/gnu-keys.png | Bin
30679 .../demos}/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin
30680 {demos => gi/demos}/gtk-demo/demos/test.py | 0
30681 {demos => gi/demos}/gtk-demo/gtk-demo.py | 0
30682 {examples => gi/examples}/Makefile.am | 0
30683 {examples => gi/examples}/cairo-demo.py | 0
30684 {tests => gi/tests}/Makefile.am | 0
30685 {tests => gi/tests}/runtests.py | 0
30686 {tests => gi/tests}/test_everything.py | 0
30687 {tests => gi/tests}/test_gi.py | 0
30688 {tests => gi/tests}/test_overrides.py | 0
30689 Makefile.am => pygi-Makefile.am | 0
30690 configure.ac => pygi-configure.ac | 0
30691 37 files changed, 166 deletions(-)
30693 commit ec8d148eccbb3714093f21b595ea77ae4c7c3bce
30694 Author: Johan Dahlin <johan@gnome.org>
30695 Date: Sun Jun 20 10:49:55 2010 -0300
30697 [giounix] Make it possible to compile on glib 2.20
30699 gio/unix.override | 2 ++
30700 1 file changed, 2 insertions(+)
30702 commit 606018a2c551d890fc2bb987d99683f777598bda
30703 Author: John (J5) Palmieri <johnp@redhat.com>
30704 Date: Mon Jun 7 16:32:29 2010 -0400
30706 Don't free transfer full struct pointers because we can't do it safely
30708 * Most libraries which are sending back structs as transfer-full
30709 are either annotated incorrectly or should be sending boxed types
30710 * It is much better to throw a warning and leak memory than it is to
30711 call free on an unknown struct pointer. Doing so may cause
30713 * Specific case is gdk_atom_intern where a GdkAtom is not actually
30715 but an integer stuffed into a pointer type
30717 https://bugzilla.gnome.org/show_bug.cgi?id=620898
30719 gi/pygi-argument.c | 9 ++++++++-
30720 gi/pygi-invoke.c | 11 +++++++++--
30721 2 files changed, 17 insertions(+), 3 deletions(-)
30723 commit 433ee2aa029a1482961f478252a06492bd3498e6
30724 Author: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
30725 Date: Tue Jun 15 11:42:28 2010 +0200
30727 Release the lock when potentially invoking Python code.
30729 * gobject/pygobject.c: Release GIL lock when retrieving properties
30730 and when clearing a PyGObject.
30732 https://bugzilla.gnome.org/show_bug.cgi?id=530935
30734 gobject/pygobject.c | 11 ++++++++++-
30735 1 file changed, 10 insertions(+), 1 deletion(-)
30737 commit aa1e82c7eb87620bd73e1edb486f5b9e0d49aa96
30738 Author: John (J5) Palmieri <johnp@redhat.com>
30739 Date: Mon Jun 14 18:36:57 2010 -0400
30741 add combobox example
30743 demos/gtk-demo/demos/combobox.py | 282
30744 +++++++++++++++++++++++++++++++++++++++
30745 1 file changed, 282 insertions(+)
30747 commit a8668694da59c2dd959c875f13337e64ca22f7e9
30748 Author: John (J5) Palmieri <johnp@redhat.com>
30749 Date: Mon Jun 14 13:43:53 2010 -0400
30751 fix leak in the allow None callbacks patch
30753 gi/pygi-callbacks.c | 4 ++--
30754 1 file changed, 2 insertions(+), 2 deletions(-)
30756 commit 729072e73d65e7fd5b5197ebe5a8c53a449d0ec0
30757 Author: John (J5) Palmieri <johnp@redhat.com>
30758 Date: Mon Jun 7 17:12:09 2010 -0400
30760 Allow passing None for callbacks which are annotated allow-none
30762 * Many callbacks are optional parameters yet we were asserting on
30764 * We now check to see if allow_none is set when setting up callbacks,
30765 if it is set and py_function == Py_None, we set the closure to NULL
30767 * pygi-invoke.c now checks to see if the closure == NULL when setting
30769 * if it is NULL there is no reason to set the the destroy notify
30771 so we skip that too
30773 https://bugzilla.gnome.org/show_bug.cgi?id=620906
30775 gi/pygi-callbacks.c | 7 +++++++
30776 gi/pygi-invoke.c | 14 +++++++++++---
30777 tests/test_everything.py | 4 ++++
30778 3 files changed, 22 insertions(+), 3 deletions(-)
30780 commit a3eb5c7de5836c37aa7ae01dbe98996ec2632c17
30781 Author: Paolo Borelli <pborelli@gnome.org>
30782 Date: Mon Jun 14 19:06:45 2010 +0200
30784 Fix to match latest gtk annotations
30786 demos/gtk-demo/demos/appwindow.py | 3 +--
30787 1 file changed, 1 insertion(+), 2 deletions(-)
30789 commit 6306dd73cc74aa9202569eac0eaaa5f825c8dc59
30790 Author: John (J5) Palmieri <johnp@redhat.com>
30791 Date: Tue Jun 8 15:03:49 2010 -0400
30793 fix variable member names in Gdk.Color override
30795 * override was using r, g, and b for the red, green, blue components
30797 the struct specifies red, green, blue so we need to use those names
30799 https://bugzilla.gnome.org/show_bug.cgi?id=621007
30801 gi/overrides/Gdk.py | 10 +++++-----
30802 tests/test_overrides.py | 6 +++---
30803 2 files changed, 8 insertions(+), 8 deletions(-)
30805 commit d182630e1128fef6f1c2aea28ccd8da4bddd2c8f
30806 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30807 Date: Thu Jun 10 20:23:13 2010 +0200
30809 Post release version bump to 2.21.3
30811 configure.ac | 2 +-
30812 1 file changed, 1 insertion(+), 1 deletion(-)
30814 commit c4e64d5d264593051b9a3131e4985a58e8e76f8b
30815 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30816 Date: Thu Jun 10 20:21:13 2010 +0200
30818 Update NEWS and release PyGObject-2.21.2
30820 NEWS | 26 ++++++++++++++++++++++++++
30821 1 file changed, 26 insertions(+)
30823 commit e0fe844d5fe8f7e26316f197444fd4143ed36adf
30824 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30825 Date: Thu Jun 10 20:09:07 2010 +0200
30827 Remove deleted files from the Makefile.
30834 tests/Makefile.am | 4 ----
30835 1 file changed, 4 deletions(-)
30837 commit 495a301cb81c5e914bcef905999265604faa27fc
30838 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30839 Date: Thu Jun 10 19:39:09 2010 +0200
30841 Add myself to the maintainers list in the README
30844 1 file changed, 1 insertion(+)
30846 commit 04627488220b4f2a16e11f8982af7866fea9f7eb
30847 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30848 Date: Thu Jun 10 19:24:31 2010 +0200
30852 * use g_object methods to sink floating refs instead of allowing
30853 custom sink functions to be registered
30854 * we now sink inside of pygobject_new_full to handle cases where
30855 a library creates its own gobject via g_object_new and just
30856 needs a python wrapper
30857 - a previous patch had done the sink when creating the gobject,
30858 since it needs to call pygobject_new_full to wrap the object,
30859 this patch handles both cases (e.g. pygobject created object
30860 and externally created gobject)
30862 https://bugzilla.gnome.org/show_bug.cgi?id=583909
30864 gobject/gobjectmodule.c | 3 +--
30865 gobject/pygobject.c | 42 ++++++++----------------------------------
30866 gobject/pygobject.h | 1 +
30867 3 files changed, 10 insertions(+), 36 deletions(-)
30869 commit 07df124dc06cf506634e95d08397f50a2d07fce2
30870 Author: Steve Frécinaux <code@istique.net>
30871 Date: Mon Jun 7 09:47:23 2010 +0200
30873 Make the "wrong argument count" exception more explicit.
30875 Previously we had messages like this one:
30876 TypeError: takes exactly 2 argument(s) (1 given)
30878 With this patch, they become like this:
30879 TypeError: get_end_iter() takes exactly 2 argument(s) (1 given)
30881 It makes things much easier to debug when there are several pygi calls
30884 https://bugzilla.gnome.org/show_bug.cgi?id=620804
30886 gi/pygi-invoke.c | 3 ++-
30887 tests/test_everything.py | 6 ++++++
30888 2 files changed, 8 insertions(+), 1 deletion(-)
30890 commit b435319fe830a909cc4d414533b3b66574931e24
30891 Author: Steve Frécinaux <code@istique.net>
30892 Date: Mon Jun 7 09:54:06 2010 +0200
30894 Use bash explicitely in the pre-commit hook.
30896 The "builtin" command is not available in all sh flavours, so the
30897 pre-commit hook is going to fail if you use dash or others instead of
30898 bash as your default 'sh' alias.
30900 https://bugzilla.gnome.org/show_bug.cgi?id=620805
30902 pre-commit.hook | 2 +-
30903 1 file changed, 1 insertion(+), 1 deletion(-)
30905 commit e9ee2916494eb7654004925c1ee1e94f99b14f1a
30906 Author: John (J5) Palmieri <johnp@redhat.com>
30907 Date: Tue Jun 8 16:55:26 2010 -0400
30911 demos/gtk-demo/demos/colorselector.py | 121
30912 ++++++++++++++++++++++++++++++++++
30913 1 file changed, 121 insertions(+)
30915 commit ec598128de9e90dccab662ed2f5511c8d659e156
30916 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30917 Date: Tue Jun 8 15:48:33 2010 +0200
30919 Update PyGObject dependency to 2.21.1
30921 configure.ac | 2 +-
30922 1 file changed, 1 insertion(+), 1 deletion(-)
30924 commit 87774a17bd607724a56e18c2eb1ac71b04b7079d
30925 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30926 Date: Tue Jun 8 10:40:39 2010 +0200
30928 Add myself to maintainers
30930 MAINTAINERS | 4 ++++
30931 pygobject.doap | 7 +++++++
30932 2 files changed, 11 insertions(+)
30934 commit 46c91a11d448e5e11d142d3362aff1483226bca4
30935 Author: Colin Walters <walters@verbum.org>
30936 Date: Wed May 5 13:54:27 2010 -0400
30938 Clear error if we failed the import
30940 Otherwise we leave the exception set which causes bizarre problems
30941 later in unrelated code.
30943 https://bugzilla.redhat.com/show_bug.cgi?id=569885
30945 https://bugzilla.gnome.org/show_bug.cgi?id=617796
30947 gobject/pygi-external.h | 2 ++
30948 1 file changed, 2 insertions(+)
30950 commit c1c41576d053cc1cdd8366d8cd1e59fff1c3a9c6
30951 Author: John (J5) Palmieri <johnp@redhat.com>
30952 Date: Mon Jun 7 17:19:30 2010 -0400
30954 fix some typos and add a link to a patch which fixes a FIXME
30956 demos/gtk-demo/demos/clipboard.py | 7 +++++--
30957 1 file changed, 5 insertions(+), 2 deletions(-)
30959 commit e7fabb5024d94a3166766e5fca740741bc50380a
30960 Author: John (J5) Palmieri <johnp@redhat.com>
30961 Date: Mon Jun 7 16:21:42 2010 -0400
30965 demos/gtk-demo/demos/clipboard.py | 235
30966 ++++++++++++++++++++++++++++++++++++++
30967 1 file changed, 235 insertions(+)
30969 commit e0f1dce5ec58d071759f886697501da6eeea549d
30970 Author: John (J5) Palmieri <johnp@redhat.com>
30971 Date: Sun Jun 6 13:27:46 2010 -0400
30973 set is_fully_bound to false
30975 demos/gtk-demo/demos/button_box.py | 2 +-
30976 1 file changed, 1 insertion(+), 1 deletion(-)
30978 commit 986db1c73746d3a8ad7d8d5141c7eed194e7b948
30979 Author: John (J5) Palmieri <johnp@redhat.com>
30980 Date: Sat Jun 5 23:53:36 2010 -0400
30982 new button box demo
30984 demos/gtk-demo/demos/button_box.py | 121
30985 +++++++++++++++++++++++++++++++++++++
30986 1 file changed, 121 insertions(+)
30988 commit e9f5f8a829121e59367bae690442150f144946ad
30989 Author: John (J5) Palmieri <johnp@redhat.com>
30990 Date: Sat Jun 5 23:26:03 2010 -0400
30992 set is_fully_bound to True fro builder example
30994 demos/gtk-demo/demos/builder.py | 2 +-
30995 1 file changed, 1 insertion(+), 1 deletion(-)
30997 commit d9968c3a4dea1d4a73a9376009cf486c80ea3da6
30998 Author: John (J5) Palmieri <johnp@redhat.com>
30999 Date: Sat Jun 5 23:24:36 2010 -0400
31001 fix up formatting in demos
31003 demos/gtk-demo/demos/appwindow.py | 16 ++++++++--------
31004 demos/gtk-demo/demos/assistant.py | 24 ++++++++++++------------
31005 demos/gtk-demo/demos/builder.py | 2 +-
31006 3 files changed, 21 insertions(+), 21 deletions(-)
31008 commit ffca02536bafb55e8c3bce31cd992365207429f6
31009 Author: John (J5) Palmieri <johnp@redhat.com>
31010 Date: Sat Jun 5 14:54:47 2010 -0400
31012 add the builder demo
31014 demos/gtk-demo/demos/builder.py | 57
31015 +++++++++++++++++++++++++++++++++++++++++
31016 1 file changed, 57 insertions(+)
31018 commit a96dbafdf562a2ac6bde4df27919d3628689dbdb
31019 Author: John (J5) Palmieri <johnp@redhat.com>
31020 Date: Fri Jun 4 17:48:24 2010 -0400
31024 demos/gtk-demo/demos/assistant.py | 134
31025 ++++++++++++++++++++++++++++++++++++++
31026 1 file changed, 134 insertions(+)
31028 commit 7e1b8cf32f33d45603aaec76afb0d14be84ffd94
31029 Author: John (J5) Palmieri <johnp@redhat.com>
31030 Date: Fri Jun 4 16:56:46 2010 -0400
31032 add formatting rules and copyright notice
31034 demos/gtk-demo/demos/appwindow.py | 19 +++++++++++++++++++
31035 1 file changed, 19 insertions(+)
31037 commit 03b99692b81631d397ab62dcd263341465bcee88
31038 Author: John (J5) Palmieri <johnp@redhat.com>
31039 Date: Fri Jun 4 16:26:54 2010 -0400
31041 add the gtk-demo app along with a couple of demos
31043 * note there are still a couple of patches in bugzilla that are
31046 - http://bugzilla-attachments.gnome.org/attachment.cgi?id=162682
31047 - http://bugzilla-attachments.gnome.org/attachment.cgi?id=162764
31049 demos/gtk-demo/demos/__init__.py | 0
31050 demos/gtk-demo/demos/appwindow.py | 393
31051 +++++++++++++++++++++++
31052 demos/gtk-demo/demos/data/alphatest.png | Bin 0 -> 26529 bytes
31053 demos/gtk-demo/demos/data/apple-red.png | Bin 0 -> 3545 bytes
31054 demos/gtk-demo/demos/data/background.jpg | Bin 0 -> 22219 bytes
31055 demos/gtk-demo/demos/data/demo.ui | 258 +++++++++++++++
31056 demos/gtk-demo/demos/data/floppybuddy.gif | Bin 0 -> 5216 bytes
31057 demos/gtk-demo/demos/data/gnome-applets.png | Bin 0 -> 3090 bytes
31058 demos/gtk-demo/demos/data/gnome-calendar.png | Bin 0 -> 2755 bytes
31059 demos/gtk-demo/demos/data/gnome-foot.png | Bin 0 -> 2916 bytes
31060 demos/gtk-demo/demos/data/gnome-fs-directory.png | Bin 0 -> 2044 bytes
31061 demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 0 -> 1795 bytes
31062 demos/gtk-demo/demos/data/gnome-gimp.png | Bin 0 -> 3410 bytes
31063 demos/gtk-demo/demos/data/gnome-gmush.png | Bin 0 -> 3244 bytes
31064 demos/gtk-demo/demos/data/gnome-gsame.png | Bin 0 -> 4263 bytes
31065 demos/gtk-demo/demos/data/gnu-keys.png | Bin 0 -> 3852 bytes
31066 demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 0 -> 6427 bytes
31067 demos/gtk-demo/demos/test.py | 14 +
31068 demos/gtk-demo/gtk-demo.py | 266 +++++++++++++++
31069 19 files changed, 931 insertions(+)
31071 commit b3b1f029d8d16cf9bd74160009808147d07e3b3f
31072 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31073 Date: Fri Jun 4 11:25:08 2010 +0200
31075 Update gobject-introspection dependency to 0.6.14
31077 configure.ac | 2 +-
31078 1 file changed, 1 insertion(+), 1 deletion(-)
31080 commit 45c4e46ae93bd83a0e3f3550df6c64ce96bbedb4
31081 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31082 Date: Fri Jun 4 11:23:41 2010 +0200
31084 Post-release version bump to 0.6.1
31086 configure.ac | 2 +-
31087 1 file changed, 1 insertion(+), 1 deletion(-)
31089 commit 7a94270dac48b67aabc7dbad156cf1180db9cb5e
31090 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31091 Date: Fri Jun 4 08:29:42 2010 +0200
31093 Pre-release version bump 0.6.0
31095 configure.ac | 2 +-
31096 1 file changed, 1 insertion(+), 1 deletion(-)
31098 commit 1e42ee6eb25a07a5201f24ffeac18d298a98477e
31099 Author: John (J5) Palmieri <johnp@redhat.com>
31100 Date: Fri May 28 10:03:11 2010 -0400
31102 support for caller-allocates annotations for structs
31104 * out caller-allocates parameters expect an already constructed
31106 to be passed in by reference. It is then modified and the caller
31108 modified value. We support this by using only one level of pointer
31110 * Only structs are considered to be caller-allocates parameters
31112 they are marked as such by GI. This is because the GI scanner
31114 enough to correctly guess 100% of the time
31115 * GValues are a special case of a caller-allocates parameter when
31117 up (e.g. g_value_unset is called). GValues make no sense in
31119 language. Developers should never deal with them.
31121 https://bugzilla.gnome.org/show_bug.cgi?id=620406
31123 gi/pygi-invoke.c | 73
31124 +++++++++++++++++++++++++++++++++++++++++++++---
31125 tests/test_everything.py | 28 +++++++++++++++++++
31126 2 files changed, 97 insertions(+), 4 deletions(-)
31128 commit c3f467e0ae99aa78c2fdb91b973a272d2fe970bd
31129 Author: John (J5) Palmieri <johnp@redhat.com>
31130 Date: Wed Jun 2 14:14:16 2010 -0400
31132 don't import gobject directly in the tests
31134 * use from gi.repository import GObject
31136 tests/test_overrides.py | 5 ++---
31137 1 file changed, 2 insertions(+), 3 deletions(-)
31139 commit 46b5133fea4cd5db57a360b3cbe9ee923e27560c
31140 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31141 Date: Tue Jun 1 14:28:57 2010 +0200
31143 Wrap C arrays in structs as GArrays before converting to Python
31145 https://bugzilla.gnome.org/show_bug.cgi?id=620247
31147 gi/pygi-info.c | 11 +++++++++++
31148 tests/test_gi.py | 17 +++++++++++++++++
31149 2 files changed, 28 insertions(+)
31151 commit 5f0f9a9c9145a129a063b041424c3109a24d9ead
31152 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31153 Date: Wed May 26 13:20:27 2010 +0200
31155 Install pre-commit hook that checks the code changes for style
31158 autogen.sh | 7 +++++++
31159 pre-commit.hook | 39 +++++++++++++++++++++++++++++++++++++++
31160 2 files changed, 46 insertions(+)
31162 commit 1319da5b7f483e48a90b0b7489f77236ba26f479
31163 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31164 Date: Wed May 26 12:19:17 2010 +0200
31166 Apply consistent whitespace formatting with:
31168 astyle -p -d -c -S -U -M60
31170 This won't affect git blame nor git diff if the switch -w is used.
31172 gi/gimodule.c | 138 +++----
31173 gi/pygi-argument.c | 960
31174 ++++++++++++++++++++++++------------------------
31175 gi/pygi-boxed.c | 108 +++---
31176 gi/pygi-callbacks.c | 154 ++++----
31177 gi/pygi-callbacks.h | 8 +-
31178 gi/pygi-closure.c | 270 +++++++-------
31179 gi/pygi-closure.h | 18 +-
31180 gi/pygi-foreign-cairo.c | 36 +-
31181 gi/pygi-foreign-cairo.h | 36 +-
31182 gi/pygi-foreign.c | 54 +--
31183 gi/pygi-foreign.h | 10 +-
31184 gi/pygi-info.c | 646 ++++++++++++++++----------------
31185 gi/pygi-invoke.c | 380 +++++++++----------
31186 gi/pygi-repository.c | 114 +++---
31187 gi/pygi-struct.c | 88 ++---
31188 gi/pygi-type.c | 32 +-
31190 gi/pygobject-external.h | 14 +-
31191 18 files changed, 1544 insertions(+), 1542 deletions(-)
31193 commit 6156f15cb15b4c20e975527227135d49207c520a
31194 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31195 Date: Tue May 25 14:08:51 2010 +0200
31197 Prepend gi.repository to the __module__ attribute of wrapper classes.
31199 https://bugzilla.gnome.org/show_bug.cgi?id=619597
31201 gi/module.py | 4 ++--
31202 tests/test_gi.py | 4 +++-
31203 2 files changed, 5 insertions(+), 3 deletions(-)
31205 commit 097b92983b7a322c58fecb1e691ba6ddf5035548
31206 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31207 Date: Tue May 25 14:17:13 2010 +0200
31209 Correctly identify at creation time:
31211 * if the class is defined in python -> hook up vfuncs
31212 * if the class wraps a type from a .typelib -> set atributes
31213 * else (GLocalFile) -> do nothing
31215 https://bugzilla.gnome.org/show_bug.cgi?id=619604
31217 gi/types.py | 15 +++++++++++----
31218 1 file changed, 11 insertions(+), 4 deletions(-)
31220 commit 686e10fcdb108af9758eb025a3447813c3513a93
31221 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31222 Date: Thu Apr 29 10:55:13 2010 +0200
31224 Dont complain if another base has implemented the method
31226 https://bugzilla.gnome.org/show_bug.cgi?id=617153
31228 gi/types.py | 3 ++-
31229 1 file changed, 2 insertions(+), 1 deletion(-)
31231 commit 9f34d120845d936b04546a5cea599ec67e9181a7
31232 Author: John (J5) Palmieri <johnp@redhat.com>
31233 Date: Mon May 24 16:16:50 2010 -0400
31235 fix up Builder override, add new override methods, and add unit tests
31237 * check for flags when connecting signals now that we get gi
31239 * override the add_from_string and add_objects_from string overrides
31241 that you don't have to pass in the length of the buffer
31242 * add test that loads objects from strings and connects them to
31245 gi/overrides/Gtk.py | 19 +++++++++++--
31246 tests/test_overrides.py | 72
31247 ++++++++++++++++++++++++++++++++++++++++++++++---
31248 2 files changed, 86 insertions(+), 5 deletions(-)
31250 commit 1561d2977691f1cb8684f183a2e274c47960d931
31251 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31252 Date: Mon May 24 18:48:10 2010 +0200
31254 Improve handling of subclasses without __gtype_name__
31256 Gives a better message at type registration.
31258 https://bugzilla.gnome.org/show_bug.cgi?id=616849
31260 gi/gimodule.c | 9 +++++++++
31261 tests/test_gi.py | 13 ++++++++++++-
31262 2 files changed, 21 insertions(+), 1 deletion(-)
31264 commit c9d44d4d46c3da3a445000b1db592baa9c378a92
31265 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31266 Date: Fri Apr 30 18:17:50 2010 +0200
31268 Add support for GArray args
31270 https://bugzilla.gnome.org/show_bug.cgi?id=617054
31272 gi/pygi-invoke.c | 11 +++++++----
31273 tests/test_gi.py | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
31274 2 files changed, 57 insertions(+), 4 deletions(-)
31276 commit c171579ee22681e1ee4ad33441c89f1053bdc3d1
31277 Author: John (J5) Palmieri <johnp@redhat.com>
31278 Date: Mon May 24 11:48:16 2010 -0400
31280 check refcounting of callback userdata in unit tests
31282 tests/test_everything.py | 18 ++++++++++++++++++
31283 1 file changed, 18 insertions(+)
31285 commit 8eb809468fe3e1f8e4f92bd7f25d96f9cf802cd4
31286 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31287 Date: Sat May 22 15:12:37 2010 +0200
31289 Add support for out args in callbacks
31291 This patch refactors argument marshalling for closures in
31292 preparation for more complete support.
31294 Also fixes a bug in the memory management of user_data args.
31296 https://bugzilla.gnome.org/show_bug.cgi?id=617780
31298 gi/pygi-closure.c | 335
31299 +++++++++++++++++++++++++++++++++++++++++-------------
31300 tests/test_gi.py | 4 +
31301 2 files changed, 263 insertions(+), 76 deletions(-)
31303 commit 0df0c956bb2476392c9d81f0a243a7e84c067166
31304 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31305 Date: Sun May 23 10:59:27 2010 +0200
31307 If None is passed to an interface which takes an object, convert it to
31310 * without this patch PyGI treats the None object as a PyGObject
31312 extracting garbage data causing a crash
31313 * None's equivalent in C is NULL so we must provide a special case
31315 marshal the None as NULL
31317 https://bugzilla.gnome.org/show_bug.cgi?id=617880
31319 gi/pygi-argument.c | 5 +++++
31320 tests/test_everything.py | 6 ++++++
31321 2 files changed, 11 insertions(+)
31323 commit 60fdf4b8f738dd0f5c190bc18ddf010032d3c5ca
31324 Author: John (J5) Palmieri <johnp@redhat.com>
31325 Date: Sat May 22 14:06:37 2010 +0200
31327 correctly handle floating objects in gtk
31329 * this is a stopgap so we work with older pygobject libraries
31330 * there is a patch at
31331 https://bugzilla.gnome.org/show_bug.cgi?id=583909
31332 which adds the correct fix to pygobject
31333 * once pygobject accepts the above patch this patch does not need to
31334 be reverted because pygobject_register_sinkfunc becomes a noop
31335 * add tests (Tomeu)
31337 https://bugzilla.gnome.org/show_bug.cgi?id=619007
31339 gi/gimodule.c | 12 ++++++++++++
31340 tests/test_everything.py | 3 +++
31341 2 files changed, 15 insertions(+)
31343 commit 4b369f8aca980fc6a582094d6648f40fe4af5e9f
31344 Author: John (J5) Palmieri <johnp@redhat.com>
31345 Date: Sat May 22 13:21:30 2010 +0200
31347 Return an empty list when a NULL GList and GSList is returned
31349 * In GTK a GList * and GSList set to NULL is equivilant to empty
31351 GTK list methods can take a NULL and treat it as an empty list. e.g.
31352 g_list_length(NULL) returns 0
31353 * PyGtk consitently returns empty list when a NULL is returned for
31356 * Many PyGtk apps do this:
31357 for i in range(len(obj.get_list())):
31359 * If we were to continue to return None, they would have to add
31361 which is needlessly verbose and isn't very "pythonic"
31363 https://bugzilla.gnome.org/show_bug.cgi?id=619232
31365 gi/pygi-argument.c | 6 ------
31366 tests/test_everything.py | 4 ++--
31367 2 files changed, 2 insertions(+), 8 deletions(-)
31369 commit 71a2148b00dfdda99e0d961ae39b901608724e59
31370 Author: Steve Frécinaux <code@istique.net>
31371 Date: Fri May 21 19:05:03 2010 +0200
31373 Fix warning in configure.
31375 The warning is caused by the use of the construction 'CFLAGS+=' in a
31376 sh version that doesn't understand it (in this case, 'dash').
31378 https://bugzilla.gnome.org/show_bug.cgi?id=619311
31380 configure.ac | 2 +-
31381 1 file changed, 1 insertion(+), 1 deletion(-)
31383 commit aa0357e468eb91e0f3707346e9b32f312fbf51d3
31384 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31385 Date: Thu Apr 29 13:06:15 2010 +0200
31387 GTypeInterface cannot be unrefed
31389 https://bugzilla.gnome.org/show_bug.cgi?id=617159
31391 gi/gimodule.c | 4 +++-
31392 1 file changed, 3 insertions(+), 1 deletion(-)
31394 commit ab1aaff108d23aabd28c3634edfb67236eb55460
31395 Author: John (J5) Palmieri <johnp@redhat.com>
31396 Date: Sat May 22 13:09:48 2010 +0200
31398 fix NULL array unit tests and fix crasher when sending None as
31401 * Unit tests were wrong given the annotation for
31402 test_array_int_null_in and
31403 test_array_int_null_out:
31406 * test_array_int_null_in:
31407 * @arr: (array length=len) (allow-none):
31414 * test_array_int_null_out:
31415 * @arr: (out) (array length=len) (allow-none):
31416 * @len: (out) : length
31419 The (array length=len) annotation meant we don't pass in or
31420 receive the len argument as this is handled under the hood
31421 (Python's representation of an array, the list type, encapsulates
31422 the length inside the type)
31424 * Fixing up the tests revealed a latent crasher bug when passing
31426 interface that accepts an array. The fix was to check for NULL
31428 the length argument to 0 when invoking the bound method.
31430 https://bugzilla.gnome.org/show_bug.cgi?id=619235
31432 gi/pygi-invoke.c | 6 +++++-
31433 tests/test_everything.py | 4 ++--
31434 2 files changed, 7 insertions(+), 3 deletions(-)
31436 commit e928ea9b1df9d87314ff8e93479530e26be9bd87
31437 Author: John (J5) Palmieri <johnp@redhat.com>
31438 Date: Fri May 14 14:57:27 2010 -0400
31440 don't error out on methods with callbacks as return type
31442 * Right now we just throw an error which means API's like
31443 gtk_about_dialog_set_url_hook aren't able to be called,
31444 * this allows us to call such APIs while printing a warning, in
31446 API such as this doesn't need to be used anymore and is a result of
31447 early GTK development
31449 gi/pygi-argument.c | 14 +++++++++++---
31450 1 file changed, 11 insertions(+), 3 deletions(-)
31452 commit d963007aab123f4e53a944a66a935db2d22907c2
31453 Author: John (J5) Palmieri <johnp@redhat.com>
31454 Date: Mon May 17 11:54:34 2010 -0400
31456 reset sys.argv to the return value of Gtk.init_check
31458 * applications which check command line arguments will error out if it
31459 encounters a GTK command line switch such as --g-fatal-warnings.
31460 * The Gtk.init* API reads these switches and returns a new argv with
31462 switches stripped out
31463 * In C argv is modified in place but in Python we must set sys.argv
31465 new modified argument list
31466 * fixes https://bugzilla.gnome.org/show_bug.cgi?id=618889
31468 gi/overrides/Gtk.py | 1 +
31469 1 file changed, 1 insertion(+)
31471 commit 897420ed97cc4a7b8a806894df5e76ed72617614
31472 Author: John (J5) Palmieri <johnp@redhat.com>
31473 Date: Wed May 12 14:25:32 2010 -0400
31475 add GtkUIManager and GtkActionGroup overrides
31477 * fixes bug https://bugzilla.gnome.org/show_bug.cgi?id=618476
31479 gi/overrides/Gtk.py | 167
31480 +++++++++++++++++++++++++++++++++++++++++++++++-
31481 tests/test_overrides.py | 45 +++++++++++++
31482 2 files changed, 211 insertions(+), 1 deletion(-)
31484 commit 865939d29c1e9d69dbe6b9cf89477b5516dbff1f
31485 Author: Zach Goldberg <zach@zachgoldberg.com>
31486 Date: Thu May 13 01:02:24 2010 -0400
31488 Bump version for development to 0.5.2 (hopefully 0.6)
31490 configure.ac | 2 +-
31491 1 file changed, 1 insertion(+), 1 deletion(-)
31493 commit 2674a9546b0246d4a75d71cf1708df77dc0173f9
31494 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31495 Date: Wed May 5 15:54:39 2010 +0200
31497 Fix overrides.Gdk.Color.__new__ args
31499 https://bugzilla.gnome.org/show_bug.cgi?id=617757
31501 gi/overrides/Gdk.py | 2 +-
31502 tests/Makefile.am | 3 ++-
31503 tests/test_overrides.py | 22 ++++++++++++++++++++++
31504 3 files changed, 25 insertions(+), 2 deletions(-)
31506 commit c20b9f632a35bada1320ccc10fb7d5b2c06b9a88
31507 Author: John (J5) Palmieri <johnp@redhat.com>
31508 Date: Thu Apr 29 14:55:33 2010 -0400
31510 wrap GObject module so we can go through GI when requesting attrs
31512 * This gives us the best of both worlds.
31513 - We remain backwards compatable with pygobject by checking for
31515 attrs in the gobject module
31516 - If an attr does not exist we use the GI mechanism to look it up
31518 things like flags look the same whether exported from GObject, Gtk
31519 or any GI managed library
31521 * add DynamicGObjectModule tests and make tests use the new module
31522 - change import gobject to from gi.repository import GObject
31524 gi/importer.py | 6 ++--
31525 gi/module.py | 30 ++++++++++++++++
31526 tests/test_everything.py | 6 ++--
31527 tests/test_gi.py | 93
31528 ++++++++++++++++++++++++++----------------------
31529 4 files changed, 87 insertions(+), 48 deletions(-)
31531 commit 64324a4c629432b2e688299b6edbfd5da4439a2a
31532 Author: John (J5) Palmieri <johnp@redhat.com>
31533 Date: Fri Apr 30 14:11:55 2010 -0400
31535 override Gdk.Drawable to add cairo_create convinience method
31537 gi/overrides/Gdk.py | 7 ++++++-
31538 1 file changed, 6 insertions(+), 1 deletion(-)
31540 commit 17fa1289b1e2ed841dd5de09a2ec7c25d401886e
31541 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31542 Date: Mon May 3 19:13:46 2010 +0200
31544 Fix passing callbacks as constructor args
31546 https://bugzilla.gnome.org/show_bug.cgi?id=617551
31548 gi/pygi-callbacks.c | 3 ++-
31549 gi/pygi-callbacks.h | 1 +
31550 gi/pygi-invoke.c | 7 +++++--
31551 tests/test_everything.py | 21 +++++++++++++++++++++
31552 4 files changed, 29 insertions(+), 3 deletions(-)
31554 commit f9fff978d56ddf2c012b906169ae16abb7fdc2a5
31555 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31556 Date: Wed May 5 08:06:03 2010 +0200
31558 Avoid freeing garbage
31560 gi/pygi-invoke.c | 6 ++++--
31561 1 file changed, 4 insertions(+), 2 deletions(-)
31563 commit 5e20c018ae09a936f5ff140df5d1c133c98e98ba
31564 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31565 Date: Thu Apr 29 13:09:03 2010 +0200
31567 Only hookup vfunc implementations for locally-defined methods
31569 https://bugzilla.gnome.org/show_bug.cgi?id=617160
31571 gi/types.py | 10 +++++++++-
31572 tests/test_gi.py | 10 ++++++++++
31573 2 files changed, 19 insertions(+), 1 deletion(-)
31575 commit 3e61e7d4450a2bb133c7f3862e0962a35339ce8d
31576 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31577 Date: Mon May 3 18:35:13 2010 +0200
31579 Fix passing GDestroyNotify
31581 https://bugzilla.gnome.org/show_bug.cgi?id=617542
31583 gi/pygi-invoke.c | 3 ++-
31584 tests/test_everything.py | 10 ++++++++++
31585 2 files changed, 12 insertions(+), 1 deletion(-)
31587 commit 9669acd0fad193013ef3505ae231588307f9834c
31588 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31589 Date: Mon May 3 12:23:58 2010 +0200
31591 Move invocation code to its own file
31593 https://bugzilla.gnome.org/show_bug.cgi?id=617107
31595 gi/Makefile.am | 2 +
31596 gi/pygi-info.c | 884
31597 ----------------------------------------------------
31598 gi/pygi-invoke.c | 909
31599 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
31600 gi/pygi-invoke.h | 37 +++
31601 gi/pygi-private.h | 1 +
31602 5 files changed, 949 insertions(+), 884 deletions(-)
31604 commit 9b923a68dfde06fc2df6321b3f1e53f1c57b3666
31605 Author: John (J5) Palmieri <johnp@redhat.com>
31606 Date: Tue Apr 27 19:13:08 2010 -0400
31608 Add the Gtk.Builder override
31610 gi/overrides/Gtk.py | 37 ++++++++++++++++++++++++++++++++++++-
31611 1 file changed, 36 insertions(+), 1 deletion(-)
31613 commit 9fc6783406b8263ebd67ceae2730b4e86689b43e
31614 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31615 Date: Fri Apr 30 15:00:52 2010 +0200
31617 Fix GAsyncReadyCallback
31619 https://bugzilla.gnome.org/show_bug.cgi?id=616236
31621 gi/pygi-closure.c | 8 +++++++-
31622 tests/test_everything.py | 16 ++++++++++++++++
31623 2 files changed, 23 insertions(+), 1 deletion(-)
31625 commit 5657ccaaec09e2a3194ea2e9a923724bcc66759e
31626 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31627 Date: Thu Apr 29 18:32:50 2010 +0200
31629 Add override for Gdk.Color
31631 https://bugzilla.gnome.org/show_bug.cgi?id=617162
31633 gi/overrides/Gdk.py | 20 +++++++++++++++++++-
31634 1 file changed, 19 insertions(+), 1 deletion(-)
31636 commit 4410abd589a2f64cfbd7bbcb4013fae9e4aa734f
31637 Author: John (J5) Palmieri <johnp@redhat.com>
31638 Date: Wed Apr 28 13:19:48 2010 -0400
31640 make __all__ be a list of strings, fix override mechanism to use
31643 * before we were adding classes to the __all__ module property but
31644 the convention is to use the name of the class
31645 * simplified the check to just check the name against __all__
31646 instead of trying to get the class and then checking the class
31647 against None as well as in __all__
31648 * went through all the overrides and made __all__ be a list of strings
31650 gi/module.py | 9 ++++-----
31651 gi/overrides/GIMarshallingTests.py | 2 +-
31652 gi/overrides/Gdk.py | 2 +-
31653 3 files changed, 6 insertions(+), 7 deletions(-)
31655 commit 64fa8f936bad9a90628df446e690d67d947a0a22
31656 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31657 Date: Mon Apr 26 11:41:06 2010 +0200
31659 One more step at refactoring _wrap_g_function_info_invoke
31661 https://bugzilla.gnome.org/show_bug.cgi?id=616357
31663 gi/pygi-callbacks.c | 22 +-
31664 gi/pygi-callbacks.h | 4 +-
31665 gi/pygi-info.c | 582
31666 ++++++++++++++++++++++++++++++----------------------
31667 3 files changed, 346 insertions(+), 262 deletions(-)
31669 commit 7fc5528273edae5ecdd5d8bdf0e5b898eec7a624
31670 Author: Zach Goldberg <zach@zachgoldberg.com>
31671 Date: Tue Apr 20 23:23:38 2010 -0400
31673 Step 1 of refactoring _wrap_g_function_info_invoke
31675 Original patch by David Malcom <dmalcolm@redhat.com>
31677 This patch bitrots *REALLY* fast.
31679 https://bugzilla.gnome.org/show_bug.cgi?id=616357
31681 gi/pygi-info.c | 417
31682 +++++++++++++++++++++++++++++----------------------------
31683 1 file changed, 214 insertions(+), 203 deletions(-)
31685 commit 1d9c6b6d76a3e27f66e6f0cfc7b16c5191e4fc22
31686 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31687 Date: Tue Apr 27 10:24:35 2010 +0200
31689 Dont force subclasses to implement all virtual methods of their bases
31691 https://bugzilla.gnome.org/show_bug.cgi?id=616674
31693 gi/types.py | 4 ++--
31694 tests/test_gi.py | 15 +++++++++++++++
31695 2 files changed, 17 insertions(+), 2 deletions(-)
31697 commit 8a0c48f4dd512797e5cf132f8ec6fb6d4d1e7aaa
31698 Author: Zach Goldberg <zach@zachgoldberg.com>
31699 Date: Sun Apr 25 15:09:08 2010 -0400
31701 Correct the reference counting of userdata in closure handling
31703 Without this we lose references on every call and eventually end up
31705 while they are still in use.
31707 https://bugzilla.gnome.org/show_bug.cgi?id=616786
31709 gi/pygi-closure.c | 3 +++
31710 tests/test_everything.py | 13 +++++++++++++
31711 2 files changed, 16 insertions(+)
31713 commit 2b12049306bf57513c43d08017185468bf897a4a
31714 Author: Zach Goldberg <zach@zachgoldberg.com>
31715 Date: Tue Apr 20 22:57:14 2010 -0400
31717 Change SCOPE_TYPE_INVALID handling to be a more verbose error.
31719 (Previous commit did not include the proper error message. I blame
31722 https://bugzilla.gnome.org/show_bug.cgi?id=616356
31724 gi/pygi-closure.c | 4 ++--
31725 1 file changed, 2 insertions(+), 2 deletions(-)
31727 commit 8240320d0b67074ce91bdf7aadcf5951c5a8c45a
31728 Author: Zach Goldberg <zach@zachgoldberg.com>
31729 Date: Tue Apr 20 23:53:57 2010 -0400
31731 Force out arguments to be initialized as NULL. Comes with a test.
31733 This fix was motivated by a real world library which had a transfer
31735 utf8 out argument which sometimes was not set. We would leave
31737 dangling and try and free it at the end of invoke() and crash.
31739 to change their behavior so we're forced to take care of it on
31742 https://bugzilla.gnome.org/show_bug.cgi?id=616043
31744 gi/pygi-info.c | 1 +
31745 tests/test_gi.py | 3 +++
31746 2 files changed, 4 insertions(+)
31748 commit 10e558ca283cdd06725bb0d24b5071ccbecc7d13
31749 Author: Zach Goldberg <zach@zachgoldberg.com>
31750 Date: Tue Apr 20 22:57:14 2010 -0400
31752 Change SCOPE_TYPE_INVALID handling to be a warning and not an error
31754 Be slightly nicer to library maintainers. It really isn't a fatal
31756 if we don't have a proper scope type, better to leave a good code
31758 and a warning than to cause their code to segv.
31760 https://bugzilla.gnome.org/show_bug.cgi?id=616356
31762 gi/pygi-closure.c | 3 ++-
31763 1 file changed, 2 insertions(+), 1 deletion(-)
31765 commit d3b5fae9d609dbcd83deb0fa9102b24faf76787c
31766 Author: Zach Goldberg <zach@zachgoldberg.com>
31767 Date: Tue Apr 20 22:43:20 2010 -0400
31769 Refactor implementation of scope call to allow for multiple calls
31770 during lifetime of function invocation.
31772 https://bugzilla.gnome.org/show_bug.cgi?id=616343
31774 gi/pygi-closure.c | 10 +++++-----
31775 gi/pygi-info.c | 9 +++++++--
31776 tests/test_everything.py | 9 +++++++++
31777 3 files changed, 21 insertions(+), 7 deletions(-)
31779 commit 3ba666b7ab9c393963922c272e7d87bff50a93f9
31780 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31781 Date: Sat Jan 2 16:31:55 2010 +0100
31783 Add basic support for unions
31785 https://bugzilla.gnome.org/show_bug.cgi?id=603598
31787 gi/module.py | 3 +-
31788 gi/pygi-argument.c | 24 +++-----------
31789 gi/pygi-boxed.c | 18 +++++++++--
31790 gi/pygi-info.c | 94
31791 ++++++++++++++++++++++++++++++++++++++++++++++++------
31792 gi/pygi-info.h | 1 +
31793 tests/test_gi.py | 56 ++++++++++++++++++++++++++++++++
31794 6 files changed, 165 insertions(+), 31 deletions(-)
31796 commit af9e4e086d160fe7fb24758ed81753e784b198a8
31797 Author: Simon van der Linden <svdlinden@src.gnome.org>
31798 Date: Fri Jan 22 22:16:32 2010 +0100
31800 Bump required GLib version to 2.22
31802 Since PyGObject now depends on GLib 2.22.4, there is no need to
31804 backward-compatible.
31806 configure.ac | 2 +-
31807 gi/pygi-private.h | 20 --------------------
31808 2 files changed, 1 insertion(+), 21 deletions(-)
31810 commit c0f40de5648e2ebc556c449342a0025ffce2e33b
31811 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31812 Date: Sun Apr 18 11:50:14 2010 -0400
31814 Refactor get_* methods in the *Info wrappers
31816 https://bugzilla.gnome.org/show_bug.cgi?id=616108
31818 gi/pygi-info.c | 360
31819 +++++++++++++++++++++++++++------------------------------
31820 1 file changed, 168 insertions(+), 192 deletions(-)
31822 commit 24bb89f1310dc2fc8ee6ddaf945342ebf80055cd
31823 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31824 Date: Tue Apr 20 15:12:47 2010 +0200
31826 Print any error messages raised inside _pygi_closure_handle
31828 https://bugzilla.gnome.org/show_bug.cgi?id=616279
31830 gi/pygi-closure.c | 9 +++++----
31831 1 file changed, 5 insertions(+), 4 deletions(-)
31833 commit d1ba23cdd05686ea721425f233371d573a2e9cce
31834 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31835 Date: Thu Apr 22 19:57:17 2010 +0200
31837 Rename variable with a very generic name
31839 gi/module.py | 28 ++++++++++++++--------------
31840 1 file changed, 14 insertions(+), 14 deletions(-)
31842 commit 391640b30ede50af3667b1019edb72bd79f2c68c
31843 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31844 Date: Thu Apr 22 19:53:06 2010 +0200
31846 Add support for enums without GType
31848 https://bugzilla.gnome.org/show_bug.cgi?id=616520
31850 gi/module.py | 6 +++++-
31851 gi/pygi-argument.c | 22 +++++++++++++++++++++-
31852 gi/types.py | 14 ++++++++++++++
31853 tests/test_gi.py | 30 ++++++++++++++++++++++++++++--
31854 4 files changed, 68 insertions(+), 4 deletions(-)
31856 commit 89704f60ddae0c81f1383d86491ef2785590a353
31857 Author: Zach Goldberg <zach@zachgoldberg.com>
31858 Date: Tue Apr 20 22:20:42 2010 -0400
31860 Bump version during development to 0.5.1
31862 This follows what is, according to Colin Walters,
31863 standard versioning practice. During development the
31864 version in your config is the *next* version you will release,
31865 not the version after. Thus after a release you make a new commit
31866 bumping to the next development version.
31868 configure.ac | 2 +-
31869 1 file changed, 1 insertion(+), 1 deletion(-)
31871 commit e203dc7c8f524c16aa52e15758dc3a2b09fbac75
31872 Author: John Ehresman <jpe@wingware.com>
31873 Date: Tue Apr 20 20:40:02 2010 -0400
31875 Added missing , to keyword list of gio.GFile.set_attribute
31877 gio/gresolver.override | 2 +-
31878 1 file changed, 1 insertion(+), 1 deletion(-)
31880 commit 0b222f01ac9ceea1d127083623ad532ecc75bf7e
31881 Author: John Ehresman <jpe@wingware.com>
31882 Date: Tue Apr 20 20:37:12 2010 -0400
31884 Fix arg conversion in gio.GFile.set_attribute
31886 gio/gfile.override | 232
31887 +++++++++++++++++++++++++++++++++++++++++++++++++++--
31888 1 file changed, 227 insertions(+), 5 deletions(-)
31890 commit a579ccc8bea90937bf970be3d461e2b650b0c7d6
31891 Author: John Ehresman <jpe@wingware.com>
31892 Date: Tue Apr 20 20:01:53 2010 -0400
31894 Set constants under python 2.5 or before
31896 gobject/gobjectmodule.c | 8 ++++++++
31897 1 file changed, 8 insertions(+)
31899 commit 11fa39a861abf679e01b5f0da97be93ae0adf0f0
31900 Author: José Alburquerque <jaalburqu@svn.gnome.org>
31901 Date: Sun Apr 18 20:22:21 2010 -0400
31903 Doc Extractor: Use replacements that make sense for &...;
31906 * codegen/docextract_to_xml.py: Use # and  
31908 # (#) and . These are interpreted correctly in
31910 not make the parsing crash.
31912 codegen/docextract_to_xml.py | 4 ++--
31913 1 file changed, 2 insertions(+), 2 deletions(-)
31915 commit 8dbc2cb016acef7b364804cd9bc8f0b1da37e84b
31916 Author: Zach Goldberg <zach@zachgoldberg.com>
31917 Date: Sun Apr 18 14:32:06 2010 -0400
31919 Bump version for release 0.5.0
31921 HACKING | 7 +++++++
31922 configure.ac | 4 ++--
31923 2 files changed, 9 insertions(+), 2 deletions(-)
31925 commit 3293c91d90c5c497b45e42a527d7f79f7435823e
31926 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31927 Date: Sun Apr 18 14:28:13 2010 -0400
31929 One more missing file...
31931 examples/Makefile.am | 2 ++
31932 1 file changed, 2 insertions(+)
31934 commit 1dc575af19fe985cc3fa3ec0cf18aeab1f43c16d
31935 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31936 Date: Sun Apr 18 14:18:44 2010 -0400
31938 Add more stuff to the tarballs
31940 Makefile.am | 8 +++++++-
31942 2 files changed, 8 insertions(+), 1 deletion(-)
31944 commit 8a9bb04755057e934b7f46c917af6ef281a2fedd
31945 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31946 Date: Sun Apr 18 13:48:45 2010 -0400
31948 Add one more missing file to tarballs
31950 gi/overrides/GIMarshallingTests.py | 0
31951 gi/overrides/Makefile.am | 1 +
31952 2 files changed, 1 insertion(+)
31954 commit 979e01852fc7f830ee91093accdc387fa535075f
31955 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31956 Date: Sun Apr 18 13:45:29 2010 -0400
31958 Add missing file to tarballs
31960 tests/Makefile.am | 1 +
31961 1 file changed, 1 insertion(+)
31963 commit 8b70faa7a9a32b9ea8862f28a503e38f496cfd89
31964 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31965 Date: Sun Apr 18 13:11:11 2010 -0400
31969 https://bugzilla.gnome.org/show_bug.cgi?id=602736
31972 +++++++++++++++++++++++++++++++++++++++++++++++++++++
31973 gi/pygi-argument.c | 1 +
31974 gi/pygi-callbacks.c | 3 +-
31975 gi/pygi-closure.c | 4 +--
31976 gi/pygi-closure.h | 2 +-
31977 gi/pygi-info.c | 86
31978 +++++++++++++++++++++++++++++++++++++++++++++++++--
31979 gi/pygi-info.h | 1 +
31980 gi/types.py | 44 +++++++++++++++++---------
31981 tests/test_gi.py | 18 +++++++++++
31982 9 files changed, 227 insertions(+), 21 deletions(-)
31984 commit e239faacb4798fe2d166233ca1a19a843a6225e3
31985 Author: Zach Goldberg <zach@zachgoldberg.com>
31986 Date: Sun Apr 18 11:59:06 2010 -0400
31988 Fix a typo in pygi-callbacks.c header
31990 gi/pygi-callbacks.c | 2 +-
31991 1 file changed, 1 insertion(+), 1 deletion(-)
31993 commit 79aa416ae8632b123da61d79fb820d9e2704209c
31994 Author: Zach Goldberg <zach@zachgoldberg.com>
31995 Date: Sat Apr 17 12:00:05 2010 -0400
31997 Implement nullable argument support, including tests
31999 https://bugzilla.gnome.org/show_bug.cgi?id=616035
32001 gi/pygi-argument.c | 43 +++++++++++++++++++++++++++++++++++++------
32002 gi/pygi-argument.h | 3 ++-
32003 gi/pygi-info.c | 19 +++++++++++++------
32004 tests/test_everything.py | 28 ++++++++++++++++++++++++++++
32005 4 files changed, 80 insertions(+), 13 deletions(-)
32007 commit 7d533b8893bc4a8a82fd9708278fa1dce5d3551e
32008 Author: Zach Goldberg <zach@zachgoldberg.com>
32009 Date: Sat Apr 17 12:56:19 2010 -0400
32011 Move some tests from test_gi to test_everything
32013 tests/test_everything.py | 60
32014 ++++++++++++++++++++++++++++++++++++++++++++++
32015 tests/test_gi.py | 62
32016 +-----------------------------------------------
32017 2 files changed, 61 insertions(+), 61 deletions(-)
32019 commit a90298cc9e6c0f336f887a71d80b1efd07ec2811
32020 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32021 Date: Sun Apr 18 10:44:35 2010 -0400
32023 Update to latest version of the pygi-convert.sh script
32025 pygi-convert.sh | 193
32026 ++++++++++++++++++++++++++++++++++++++++----------------
32027 1 file changed, 137 insertions(+), 56 deletions(-)
32029 commit 34a39318c674737c6d64f2430456daef86ba1626
32030 Author: Colin Walters <walters@verbum.org>
32031 Date: Sun Apr 18 10:40:44 2010 -0400
32033 Add Tomeu's prototype script for converting pygtk to pygi
32035 pygi-convert.sh | 71
32036 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
32037 1 file changed, 71 insertions(+)
32039 commit a3afdb5fd33de0bf11d63857a245a8f5edec242c
32040 Author: Olav Vitters <olav@vitters.nl>
32041 Date: Sun Apr 18 13:01:58 2010 +0200
32046 1 file changed, 4 insertions(+)
32048 commit 0de73d0bba79f92af22f43693f3575c596712416
32049 Author: Zach Goldberg <zach@zachgoldberg.com>
32050 Date: Sat Apr 17 16:01:31 2010 -0400
32052 Add Zach Goldberg as a pygi maintainer
32054 pygi.doap | 5 +++++
32055 1 file changed, 5 insertions(+)
32057 commit a0e22e36e8cf0c1e0da3c0ec48c821fdb5a07ccd
32058 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32059 Date: Sat Apr 17 11:47:54 2010 -0400
32063 configure.ac | 7 +------
32064 1 file changed, 1 insertion(+), 6 deletions(-)
32066 commit 2778f8a1bf6379a46beec6546c8efcb0fec2d7ad
32067 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32068 Date: Sat Apr 17 11:40:14 2010 -0400
32070 Add examples/cairo-demo.py
32072 examples/cairo-demo.py | 121
32073 +++++++++++++++++++++++++++++++++++++++++++++++++
32074 1 file changed, 121 insertions(+)
32076 commit 610dd1eec87fab5c8c3badb4d104cba74477c745
32077 Author: Zach Goldberg <zach@zachgoldberg.com>
32078 Date: Sat Apr 17 09:17:14 2010 -0400
32080 Implementation callback support with scoping and basic argument
32083 This patch was originally written by
32084 Zach Goldberg <zach@zachgoldberg.com> with modifications and
32085 review by Simon van der Linden <svdlinden@src.gnome.org> and
32086 Colin Walters <walters@verbum.org>.
32088 This impementation enforces the assumption that any one function
32089 signature can only have one (callback, userdata, destronotify) tuple.
32090 This allows us to move callback creation into the actual function
32091 invoke pipeline and also to keep just one destroy notify callback
32092 around, vastly simplifying the code.
32094 https://bugzilla.gnome.org/show_bug.cgi?id=603095
32097 gi/Makefile.am | 4 +
32098 gi/pygi-argument.c | 12 ++-
32099 gi/pygi-callbacks.c | 216
32100 ++++++++++++++++++++++++++++++++++++++++++++++++++++
32101 gi/pygi-callbacks.h | 47 ++++++++++++
32102 gi/pygi-closure.c | 205
32103 +++++++++++++++++++++++++++++++++++++++++++++++++
32104 gi/pygi-closure.h | 57 ++++++++++++++
32105 gi/pygi-info.c | 49 ++++++++++--
32106 gi/pygi-private.h | 2 +
32107 tests/test_gi.py | 64 +++++++++++++++-
32108 10 files changed, 648 insertions(+), 10 deletions(-)
32110 commit a34cb9f0038a6c89e5e6c5f7761d48a5a833044f
32111 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32112 Date: Sat Apr 17 10:54:45 2010 -0400
32114 Add support for foreign structs
32116 https://bugzilla.gnome.org/show_bug.cgi?id=603712
32118 configure.ac | 6 +++
32119 gi/Makefile.am | 10 +++-
32120 gi/gimodule.c | 7 +++
32121 gi/pygi-argument.c | 27 ++++++++++-
32122 gi/pygi-foreign-cairo.c | 103 +++++++++++++++++++++++++++++++++++++++
32123 gi/pygi-foreign-cairo.h | 55 +++++++++++++++++++++
32124 gi/pygi-foreign.c | 123
32125 +++++++++++++++++++++++++++++++++++++++++++++++
32126 gi/pygi-foreign.h | 52 ++++++++++++++++++++
32127 gi/pygi-private.h | 1 +
32128 tests/test_everything.py | 48 ++++++++++++++++++
32129 10 files changed, 428 insertions(+), 4 deletions(-)
32131 commit e73b6f6fe8b5f23a2a390ae0a6bbced593ded155
32132 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32133 Date: Fri Apr 16 14:35:13 2010 -0400
32135 Allow creating structs with pointers
32137 https://bugzilla.gnome.org/show_bug.cgi?id=603537
32139 gi/pygi-struct.c | 6 ------
32140 tests/test_gi.py | 3 ++-
32141 2 files changed, 2 insertions(+), 7 deletions(-)
32143 commit fc9ff02e53aacf9e77625c70985e99813544912a
32144 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32145 Date: Fri Apr 16 10:40:40 2010 -0400
32147 Add gdb and valgrind variants for the tests
32149 HACKING | 19 +++++++++++++++++++
32150 Makefile.am | 12 ++++++++++++
32151 tests/Makefile.am | 14 +++++++++++++-
32152 3 files changed, 44 insertions(+), 1 deletion(-)
32154 commit 695ac7bc5c60371a32538d690c7a15509f3c9637
32155 Author: John Stowers <john.stowers@gmail.com>
32156 Date: Fri Apr 16 14:36:11 2010 +1200
32158 Add build docs for windows
32161 README.win32 | 24 ++++++++++++++++++++++++
32162 2 files changed, 25 insertions(+)
32164 commit e580da87f0b2fd36cb5d8008fb2fb0c3b01f456a
32165 Author: John Stowers <john.stowers@gmail.com>
32166 Date: Thu Apr 15 13:40:39 2010 +1200
32168 Setup.py cosmetic tidy
32170 * Remove local doc install, point to website instead
32171 * link to versioned docs
32173 pygobject_postinstall.py | 43 ++++++++++++++++++++++++++-----------------
32174 setup.py | 39 ++++++++++++++-------------------------
32175 2 files changed, 40 insertions(+), 42 deletions(-)
32177 commit 69ecd506c83ddf180c6cc9a2a8dc753a02543959
32178 Author: John Stowers <john.stowers@gmail.com>
32179 Date: Sat Jul 25 14:12:30 2009 +1200
32181 Fix crash when importing gio
32183 Only seems to be necessary on windows, but
32184 no harm on linux as multiple calls to init
32187 gio/giomodule.c | 3 +++
32188 1 file changed, 3 insertions(+)
32190 commit 5d159a13d89587cba189a0ca3203ac003e2f1f2b
32191 Author: John Stowers <john.stowers@gmail.com>
32192 Date: Thu Apr 15 22:52:48 2010 +1200
32194 Bug 589671 - Dont use generate-constants
32196 This breaks the build using distutils, and it is
32197 largely unneeded. Just add the G_XXX constants
32198 to the module directly
32200 gobject/Makefile.am | 16 +----------
32201 gobject/{constants.py.in => constants.py} | 33 +++++++++++++++++++++++
32202 gobject/generate-constants.c | 44
32203 -------------------------------
32204 gobject/gobjectmodule.c | 35 ++++++++++++++++++++++++
32206 tests/runtests.py | 3 +--
32207 6 files changed, 71 insertions(+), 62 deletions(-)
32209 commit 6d7a3ab9ce352692d0faccbf106974d264fa953d
32210 Author: John Stowers <john.stowers@gmail.com>
32211 Date: Thu Apr 15 22:49:17 2010 +1200
32213 Bug 589671 - Fix setup.py for windows build
32215 * Building pyglib as a static private library
32216 * Update to include new defs
32217 * Modernise setup.py and add more util functions
32220 dsextras.py | 32 ++++++++++++++++---
32222 +++++++++++++++++++++++++++++++++++++++++++++++++++---------
32223 2 files changed, 116 insertions(+), 18 deletions(-)
32225 commit d11ef47072acae5801ce25c68d1289e425eb9fc2
32226 Author: John Stowers <john.stowers@gmail.com>
32227 Date: Thu Apr 15 22:48:28 2010 +1200
32229 Include pygsource.h
32231 glib/pygiochannel.c | 1 +
32232 1 file changed, 1 insertion(+)
32234 commit c5f6af4844c74354abc508d17969d9d45153acf2
32235 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32236 Date: Thu Apr 15 14:25:59 2010 -0400
32238 Add metadata to the .doap file
32241 1 file changed, 3 insertions(+)
32243 commit 81796cb77cbe6b9598a652bd63c047af93e747ee
32244 Author: John (J5) Palmieri <johnp@redhat.com>
32245 Date: Wed Apr 14 12:01:43 2010 -0400
32247 override that wasn't checked in - fixes some test cases
32249 gi/overrides/GIMarshallingTests.py | 69
32250 ++++++++++++++++++++++++++++++++++++++
32251 1 file changed, 69 insertions(+)
32253 commit de5d2ea1584b01af809346316c7fbd4955a9db1d
32254 Author: Colin Walters <walters@verbum.org>
32255 Date: Wed Apr 14 10:06:07 2010 -0400
32257 [Makefile.am] Clean up CFLAGS handling, don't override all: target
32259 First, we should move the CFLAGS into AM_CFLAGS, otherwise the
32260 per-target CFLAGS forces Automake to prefix object files, which
32261 is unnecessary since we only have one target.
32263 More importantly, avoid overriding the all: target here; that's
32264 owned by Automake. Use all-local instead to append things to
32265 the end of the normal build.
32267 gi/Makefile.am | 15 +++++++++------
32268 1 file changed, 9 insertions(+), 6 deletions(-)
32270 commit 5a47e96e3f580c973e6880dafa747f54c144c760
32271 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32272 Date: Tue Apr 13 19:15:49 2010 -0400
32274 Use GIMarshallingTests (old TestGI) in gobject-introspection
32276 gi/overrides/TestGI.py | 69 --
32277 tests/Makefile.am | 40 -
32278 tests/libtestgi.c | 2924
32279 ------------------------------------------------
32280 tests/libtestgi.h | 628 -----------
32281 tests/test_gi.py | 832 +++++++-------
32282 5 files changed, 416 insertions(+), 4077 deletions(-)
32284 commit 681832c3cd040433a488a400693b68f213bf7078
32285 Author: José Alburquerque <jaalburqu@svn.gnome.org>
32286 Date: Tue Apr 13 13:33:12 2010 -0400
32288 codegen/docextract_to_xml.py: One more &...; replacement
32291 * codegen/docextract_to_xml.py: Replace which also
32293 errors with a regular space.
32295 codegen/docextract_to_xml.py | 1 +
32296 1 file changed, 1 insertion(+)
32298 commit bd4e7f2459e34957aaae59b9be807d6dff5ec1eb
32299 Author: José Alburquerque <jaalburqu@svn.gnome.org>
32300 Date: Tue Apr 13 12:28:10 2010 -0400
32302 codegen/docextract_to_xml.py: Replace some &..; that cause
32305 * codegen/docextract_to_xml.py (escape_text): Replace
32307 expressions that cause errors with more appropriate output.
32309 codegen/docextract_to_xml.py | 4 ++++
32310 1 file changed, 4 insertions(+)
32312 commit f00b9ce91fc9c3aabd4af4132fc112d9e415e12e
32313 Author: José Alburquerque <jaalburqu@svn.gnome.org>
32314 Date: Sun Apr 11 17:46:40 2010 -0400
32316 codegen/docextract_to_xml.py: Handle C++ multi-line comments.
32318 * codegen/docextract_to_xml.py (escape_text): Translate '/*'
32320 in text to '/ *' and '* /' respectively so that comment
32322 show up when the descriptions that include C++ code with C++
32323 multi-line comments are used in Doxygen blocks.
32325 codegen/docextract_to_xml.py | 9 +++++++++
32326 1 file changed, 9 insertions(+)
32328 commit a2fcdecbb5e109da5568084d7acb2332af83b6f5
32329 Author: José Alburquerque <jaalburqu@svn.gnome.org>
32330 Date: Sun Apr 11 16:15:01 2010 -0400
32332 codegen/docextract.py: Stop final section processing on
32335 * codegen/docextract.py (process_final_sections): Modify
32337 section pattern matching for loop to stop on first match so
32339 doesn't match both a colon return ('Returns: ...') and a
32341 return ('Returns ...') which leads to annotation extraction
32344 codegen/docextract.py | 4 ++++
32345 1 file changed, 4 insertions(+)
32347 commit 825fd305f03b726665edca34963978ce27448182
32348 Author: José Alburquerque <jaalburqu@svn.gnome.org>
32349 Date: Sun Apr 11 15:45:09 2010 -0400
32351 Update doc extraction tool to handle GObjectIntrospection
32354 * codegen/docextract.py (FunctionDoc): Renamed class to
32356 (GtkDoc::annotations): Added a list field to store annotations
32358 are 2-tuples of (name, value).
32359 (GtkDoc::ret): Modified field to store the return description
32361 with a list of annotations as described above.
32362 (GtkDoc::params): Now holds a list of 3-tupples: name,
32364 annotations (as described above).
32365 (GtkDoc::block_type): Add a field to tell if the comment
32367 function block, signal block or property block.
32368 (GtkDoc::set_type):
32369 (GtkDoc::get_type): Add methods for setting/getting the
32371 (GtkDoc::add_param): Modified to also accept a list of
32373 be added with the parameter.
32374 (GtkDoc::add_annotation):
32375 (GtkDoc::get_annotations): Added methods to add/get
32378 (GtkDoc::append_description): Renamed to
32379 append_to_description().
32380 (GtkDoc::get_param_description): Removed unused method.
32381 (GtkDoc::get_description): Added method to get block
32383 (GtkDoc::add_return): Added method to add a return accepting
32385 line of the description and its annotations.
32386 (GtkDoc::append_return): Renamed to append_to_return().
32387 (Regular expressions):
32388 - Made the names of the variables un-abbreviated.
32390 - Added 'since', 'deprecated' and 'rename to' regular
32393 - Modified the return matching regular expression so that
32395 match descriptions that begin with 'Returns ...'.
32397 the docs of many function.
32399 - Added signal and property comment block identifier
32401 expressions in case those are useful.
32403 - Modified existing identifier matching regular expressions
32405 signal, and property regular expressions) to properly parse
32406 annotations. Also added a regular expression for extracting
32407 annotations from the parameter and return descriptions.
32409 - Refined the function name matching regular expression to
32411 identifiers that begin with a lowercase letter.
32413 'SECTION:' matches.
32415 - Finally, grouped commonly related expressions like
32417 since_pattern, etc. into groups (in lists) so that
32419 sections can be done using loops.
32421 (Parsing algorithm): Modified the algorithm to use a
32423 approach to parsing. Extra methods like skip_to_comment() and
32424 processs_params() have been added and used in the parse_file()
32425 function to now process the comment blocks.
32426 (parse_dir): Added file processing output to stderr.
32427 * codegen/docextract_to_xml.py (usage): Added function to
32430 (print_annotations): Added function to print the given list of
32432 (options): Added --with-signals (-i), with-properties (-p) and
32433 --with-annotation (-a) to the existing --source-dir (-s)
32436 (algorithm): Now prints annotations, if specified. Also,
32438 signals and properties correctly (using names like
32440 for signals and Classs:property) with xml such as <signal
32441 name="...">...</signal>. The return xml is slightly
32443 annotations but this would only be exhibited if annotation
32447 codegen/docextract.py | 439
32448 ++++++++++++++++++++++++++++++++++---------
32449 codegen/docextract_to_xml.py | 87 ++++++---
32450 2 files changed, 414 insertions(+), 112 deletions(-)
32452 commit 9fef1acb42cd900d4a814a7378f60bc189121785
32453 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32454 Date: Fri Apr 9 13:47:03 2010 +0200
32456 Always create the .so link
32458 gi/Makefile.am | 2 +-
32459 1 file changed, 1 insertion(+), 1 deletion(-)
32461 commit e9f7fd414e94595e40eb1ba0fc471ca69136d82f
32462 Author: Paul Bolle <pebolle@tiscali.nl>
32463 Date: Thu Apr 8 11:52:25 2010 +0200
32465 Docs: replace gio.IO_ERROR_* with gio.ERROR_*
32467 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
32469 docs/reference/pygio-file.xml | 58
32470 ++++++++++++++++++------------------
32471 docs/reference/pygio-inputstream.xml | 22 +++++++-------
32472 docs/reference/pygio-mount.xml | 10 +++----
32473 3 files changed, 45 insertions(+), 45 deletions(-)
32475 commit 4cbd9941c5705970a9f7a429e236e1203d3155a1
32476 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32477 Date: Mon Apr 5 18:10:42 2010 +0200
32479 Bug 613341 - pygobject tests seem to require pygtk causing a circular
32480 dependencies problem
32482 move tests that require pygtk to pygtk itself
32484 tests/test_conversion.py | 83 --------------
32485 tests/test_enum.py | 234 --------------------------------------
32486 tests/test_gtype.py | 112 ------------------
32487 tests/test_subtype.py | 289
32488 -----------------------------------------------
32489 4 files changed, 718 deletions(-)
32491 commit ef0ceb266a45715ece58642fb0042e3376416755
32492 Author: Simon van der Linden <svdlinden@src.gnome.org>
32493 Date: Wed Feb 3 20:33:03 2010 +0100
32495 Add modelines and copyright information to overrides modules
32497 gi/overrides/Gdk.py | 21 +++++++++++++++++++++
32498 gi/overrides/Gtk.py | 21 +++++++++++++++++++++
32499 gi/overrides/TestGI.py | 20 ++++++++++++++++++++
32500 3 files changed, 62 insertions(+)
32502 commit 5106523a4b8378997a1e6cb0488398aa73e7d9d5
32503 Author: Simon van der Linden <svdlinden@src.gnome.org>
32504 Date: Wed Feb 3 20:29:55 2010 +0100
32506 Fix and complete overrides tests
32508 Those tests were missing in the last commit
32510 https://bugzilla.gnome.org/show_bug.cgi?id=602830
32512 gi/overrides/TestGI.py | 49
32513 +++++++++++++++++++++++++++++++++++++++++++++++++
32514 tests/test_gi.py | 8 +++++++-
32515 2 files changed, 56 insertions(+), 1 deletion(-)
32517 commit 23fc0f615d87994acafd9d39e92dd92b587fc2eb
32518 Author: Simon van der Linden <svdlinden@src.gnome.org>
32519 Date: Thu Jan 21 17:30:51 2010 +0100
32521 Don't raise an error in _pygi_import if pygi support is disabled
32523 http://bugzilla.gnome.org/show_bug.cgi?id=607674
32525 gobject/pygboxed.c | 6 +-----
32526 gobject/pygi-external.h | 1 -
32527 gobject/pygobject.c | 6 +-----
32528 gobject/pygpointer.c | 6 +-----
32529 4 files changed, 3 insertions(+), 16 deletions(-)
32531 commit aefac8c5f64bf059dd6652f8a843d17b34fa0854
32532 Author: Simon van der Linden <svdlinden@src.gnome.org>
32533 Date: Fri Jan 22 22:22:37 2010 +0100
32535 Remove support for pointers to basic types as input-only argument
32538 There is no reason for an API to use such things, and
32539 g_function_info_invoke
32540 broke such features.
32542 https://bugzilla.gnome.org/show_bug.cgi?id=607759
32544 gi/pygi-argument.c | 586 ++++-------------------------------------------
32545 gi/pygi-argument.h | 1 -
32546 gi/pygi-info.c | 8 +-
32547 tests/libtestgi.c | 660
32548 -----------------------------------------------------
32549 tests/libtestgi.h | 86 -------
32550 tests/test_gi.py | 144 ------------
32551 6 files changed, 47 insertions(+), 1438 deletions(-)
32553 commit eaf7cb8ebb7e34f9493ac83b2f04af4dcf45f40f
32554 Author: Simon van der Linden <svdlinden@src.gnome.org>
32555 Date: Fri Jan 22 13:41:21 2010 +0100
32557 Restore the overrides support
32559 Add a ModuleProxy in front of the DynamicModule when an overrides
32561 present. There is no need for an overrides module to be a class;
32562 it can just be a module.
32564 Add an override decorator to override the wrapper of a registered
32567 Adapt Gdk and Gtk accordingly.
32571 https://bugzilla.gnome.org/show_bug.cgi?id=602830
32573 gi/importer.py | 40 +++++++-------------
32574 gi/module.py | 43 ++++++++++++++-------
32575 gi/overrides/Gdk.py | 42 +++++++++++++--------
32576 gi/overrides/Gtk.py | 16 ++++----
32577 gi/types.py | 6 +++
32578 tests/libtestgi.c | 105
32579 ++++++++++++++++++++++++++++++++++++++++++++++++++++
32580 tests/libtestgi.h | 49 ++++++++++++++++++++++++
32581 tests/test_gi.py | 36 ++++++++++++++++++
32582 8 files changed, 273 insertions(+), 64 deletions(-)
32584 commit 289d641775d1ea52d2a5379126b70b7fcee46683
32585 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32586 Date: Sun Jan 10 21:01:59 2010 +0100
32588 Initialize PyGPollFD_Type.fd_obj to NULL
32590 https://bugzilla.gnome.org/show_bug.cgi?id=606582
32592 gio/gcancellable.override | 1 +
32593 1 file changed, 1 insertion(+)
32595 commit b11cf2595987c1f0fc4ffd834f07c98b92aa2355
32596 Author: Simon van der Linden <svdlinden@src.gnome.org>
32597 Date: Fri Jan 8 21:10:28 2010 +0100
32599 Initialize struct fields to 0 when allocating
32601 gi/pygi-struct.c | 2 +-
32602 tests/test_gi.py | 5 +++++
32603 2 files changed, 6 insertions(+), 1 deletion(-)
32605 commit b4189be2b2d3c350fdf33e27309bee5a72e4f72a
32606 Author: Simon van der Linden <svdlinden@src.gnome.org>
32607 Date: Fri Jan 8 20:33:44 2010 +0100
32609 Don't set a default constructor for structures.
32611 Update tests accordingly.
32613 The reason for this change is that setting __new__ in the metaclass
32615 one overrides it afterwards, in a subclass (in my experience, at
32617 though it seems weird).
32619 https://bugzilla.gnome.org/show_bug.cgi?id=603536
32621 gi/types.py | 35 +++++++----------------------------
32622 tests/libtestgi.c | 33 ---------------------------------
32623 tests/libtestgi.h | 7 -------
32624 tests/test_gi.py | 21 ++++++++++-----------
32625 4 files changed, 17 insertions(+), 79 deletions(-)
32627 commit 4db68b958ea11bd2c3a88067cae03fd6bdd1d24b
32628 Author: Simon van der Linden <svdlinden@src.gnome.org>
32629 Date: Tue Jan 5 13:36:44 2010 +0100
32631 Suppress compilation warnings
32633 gi/pygi-argument.c | 3 ++-
32634 gi/pygi-boxed.c | 2 --
32635 gi/pygobject-external.h | 2 +-
32636 3 files changed, 3 insertions(+), 4 deletions(-)
32638 commit 4e2efa91d101bf755739e1cca8eee41eb0ad20fd
32639 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32640 Date: Mon Jan 4 08:35:14 2010 +0100
32642 Bug 605937 - pygobject: Makefile.am sets $TMPDIR, disrupting distcc
32644 Committed a patch from Kevin Pyle
32646 Makefile.am | 27 +++++++++++++--------------
32647 1 file changed, 13 insertions(+), 14 deletions(-)
32649 commit 8ddcbca0e98e0b0c082170a2b2b6cfcbd7864b40
32650 Author: Simon van der Linden <svdlinden@src.gnome.org>
32651 Date: Fri Dec 11 22:24:30 2009 +0100
32653 sys.path must be modified after pygtk is imported
32655 Otherwise, sys.path is overridden by pygtk and gi.repository is
32657 system's default site-package directory.
32659 tests/runtests.py | 1 -
32660 tests/test_gi.py | 3 +++
32661 2 files changed, 3 insertions(+), 1 deletion(-)
32663 commit 284a1e1c0143c95d3007cf58e6c248b5d11fb4d1
32664 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32665 Date: Sun Jan 3 11:02:57 2010 +0100
32667 Wrap gio.Cancellable.make_pollfd() and add a test
32669 gio/Makefile.am | 1 +
32670 gio/gcancellable.override | 37 +++++++++++++++++++++++++++++++++++++
32671 gio/gio.override | 3 +++
32672 tests/test_gcancellable.py | 15 +++++++++++++++
32673 4 files changed, 56 insertions(+)
32675 commit 82d7bcbf37200ee2ef5892dd12bebd2f39965c56
32676 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32677 Date: Sat Jan 2 23:15:56 2010 +0100
32679 Make cancellable an optional parameter in many methods
32682 +++++++++++++++++++++++++++++------------------------------
32683 1 file changed, 51 insertions(+), 51 deletions(-)
32685 commit 49a078cd22d55dc33a03ecfda235d63955edc741
32686 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32687 Date: Sat Jan 2 23:15:21 2010 +0100
32689 Post release version bump to 2.21.2
32691 configure.ac | 2 +-
32692 1 file changed, 1 insertion(+), 1 deletion(-)
32694 commit 4f9f1f43ab4e2cfb204ffa0e257a34cfd95d84e2
32695 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32696 Date: Sat Jan 2 22:58:36 2010 +0100
32698 Update NEWS and release PyGObject-2.21.1
32700 NEWS | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
32701 1 file changed, 55 insertions(+)
32703 commit c1f34be73bd186d7b4682dfef133da2c4229d213
32704 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32705 Date: Fri Jan 1 20:25:35 2010 +0100
32707 Wrap gio.Volume.eject_with_operation()
32709 gio/gvolume.override | 54
32710 ++++++++++++++++++++++++++++++++++++++++++++++++++++
32711 1 file changed, 54 insertions(+)
32713 commit 9b76fbff6f6897aaf26ed4644c1f19efc2826917
32714 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32715 Date: Fri Jan 1 20:22:21 2010 +0100
32717 gio.Mount.unmount_with_operation() fix a copy/paste leftover
32719 gio/gmount.override | 4 ++--
32720 1 file changed, 2 insertions(+), 2 deletions(-)
32722 commit 6f459786dd641cd49d81eba403d940620f961cab
32723 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32724 Date: Fri Jan 1 20:21:05 2010 +0100
32726 Wrap gio.Mount.eject_with_operation()
32728 gio/gmount.override | 54
32729 +++++++++++++++++++++++++++++++++++++++++++++++++++++
32730 1 file changed, 54 insertions(+)
32732 commit d4b5d1b4839364e5676eb2da28f1d21db7e2552d
32733 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32734 Date: Fri Jan 1 20:15:38 2010 +0100
32736 Wrap gio.Mount.unmount_mountable_with_operation()
32738 gio/gmount.override | 54
32739 +++++++++++++++++++++++++++++++++++++++++++++++++++++
32740 1 file changed, 54 insertions(+)
32742 commit e919d47c2430451b436cec955e9b99237f97028c
32743 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32744 Date: Fri Jan 1 18:22:46 2010 +0100
32746 Wrap File.unmount_mountable_with_operation()
32748 gio/gfile.override | 54
32749 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
32750 1 file changed, 54 insertions(+)
32752 commit 5a614df9c5507d67f240462f7bf71b4cd411addf
32753 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32754 Date: Fri Jan 1 18:14:11 2010 +0100
32756 Wrap gio.File.stop_mountable()
32758 gio/gfile.override | 52
32759 ++++++++++++++++++++++++++++++++++++++++++++++++++++
32760 1 file changed, 52 insertions(+)
32762 commit 6af506647f36f2b825bc6556df5ee57fa7721906
32763 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32764 Date: Fri Jan 1 18:10:49 2010 +0100
32766 Wrap gio.File.start_mountable()
32768 gio/gfile.override | 52
32769 ++++++++++++++++++++++++++++++++++++++++++++++++++++
32770 1 file changed, 52 insertions(+)
32772 commit e700efc839fc0b651fc9794a1611190bffa80263
32773 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32774 Date: Fri Jan 1 18:02:46 2010 +0100
32776 Wrap gio.File.replace_readwrite_async()
32778 gio/gfile.override | 55
32779 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
32780 1 file changed, 55 insertions(+)
32782 commit 92662f129fc728258fd5e34f53dcb081e3715017
32783 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32784 Date: Fri Jan 1 17:00:26 2010 +0100
32786 Wrap gio.File.poll_mountable()
32788 gio/gfile.override | 41 +++++++++++++++++++++++++++++++++++++++++
32789 1 file changed, 41 insertions(+)
32791 commit 99902b786500948c3278779841e4db54223b9256
32792 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32793 Date: Fri Jan 1 16:56:26 2010 +0100
32795 Wrap gio.File.open_readwrite_async()
32797 gio/gfile.override | 44 ++++++++++++++++++++++++++++++++++++++++++++
32798 1 file changed, 44 insertions(+)
32800 commit 8cff5d53183ae81364ac74a34a1d52e55e082eb4
32801 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32802 Date: Fri Jan 1 16:50:15 2010 +0100
32804 Wrap gio.File.eject_mountable_with_operation()
32806 gio/gfile.override | 54
32807 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
32808 1 file changed, 54 insertions(+)
32810 commit ca436fe7785fd24b0f0e65f2f8c9fa6478277682
32811 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32812 Date: Fri Jan 1 13:30:24 2010 +0100
32814 Wrap gio.File.create_readwrite_async() and add a test
32816 gio/gfile.override | 51
32817 +++++++++++++++++++++++++++++++++++++++++++++++++++
32818 tests/test_gio.py | 24 ++++++++++++++++++++++++
32819 2 files changed, 75 insertions(+)
32821 commit f72c5e451dfaeb01b3c3d9243fed2732d3620462
32822 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32823 Date: Fri Jan 1 13:20:11 2010 +0100
32825 Wrap gio.Drive.stop()
32827 gio/gdrive.override | 52
32828 ++++++++++++++++++++++++++++++++++++++++++++++++++++
32829 1 file changed, 52 insertions(+)
32831 commit 29043bade408338cefa13fb4b0c875aabd3ef05e
32832 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32833 Date: Fri Jan 1 13:00:42 2010 +0100
32835 Wrap gio.Drive.start()
32837 gio/gdrive.override | 52
32838 ++++++++++++++++++++++++++++++++++++++++++++++++++++
32839 1 file changed, 52 insertions(+)
32841 commit dff374287bbecc8af782bbc726fad86c6c867754
32842 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32843 Date: Fri Jan 1 12:45:29 2010 +0100
32845 Add more remainders on missing methods of gio.Socket and related types
32847 gio/gsocket.override | 3 +++
32848 1 file changed, 3 insertions(+)
32850 commit b8c7e996498bd72df551011af85ff05ef7335b4f
32851 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32852 Date: Fri Jan 1 12:41:08 2010 +0100
32854 Wrap gio.SocketListener.accept_socket_async|finish() and add a test
32856 gio/gsocket.override | 86
32857 +++++++++++++++++++++++++++++++++++++++++++++++++--
32858 tests/test_gsocket.py | 24 ++++++++++++++
32859 2 files changed, 108 insertions(+), 2 deletions(-)
32861 commit a5ae2d5ba3db34967fe07a3cc97b75df2793988c
32862 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32863 Date: Fri Jan 1 12:28:53 2010 +0100
32865 Wrap gio.SocketListener.accept_finish() and add a test
32867 gio/gsocket.override | 44 ++++++++++++++++++++++++++++++++++++++++++--
32868 tests/test_gsocket.py | 24 ++++++++++++++++++++++++
32869 2 files changed, 66 insertions(+), 2 deletions(-)
32871 commit a5ab26cc1bb3e9dd57e2fdb26ef5c02e8066d097
32872 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32873 Date: Fri Jan 1 11:19:34 2010 +0100
32875 Wrap gio.SocketListener.accept_async()
32877 gio/gsocket.override | 42 ++++++++++++++++++++++++++++++++++++++++++
32878 1 file changed, 42 insertions(+)
32880 commit c9496b29ef9ef232020a4044577d2947353953a5
32881 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32882 Date: Fri Jan 1 11:14:35 2010 +0100
32884 Wrap gio.SocketListener.accept_socket() and add a test
32886 gio/gsocket.override | 48
32887 +++++++++++++++++++++++++++++++++++++++++++++++-
32888 tests/test_gsocket.py | 13 +++++++++++++
32889 2 files changed, 60 insertions(+), 1 deletion(-)
32891 commit 1aa5e301c49f11e1c5ef58de44b4b03f714d1a70
32892 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32893 Date: Thu Dec 31 16:35:18 2009 +0100
32895 Wrap gio.SocketListener.accept() and add a test
32897 gio/gsocket.override | 46 +++++++++++++++++++++++++++++++++++++++++++++-
32898 tests/test_gsocket.py | 13 +++++++++++++
32899 2 files changed, 58 insertions(+), 1 deletion(-)
32901 commit aaedcf166c78baf5449ef59d0ade4a29077fedc7
32902 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32903 Date: Thu Dec 31 16:25:33 2009 +0100
32905 Make cancellable optional in gio.SocketClient.connect_to_host()
32907 gio/gio.defs | 2 +-
32908 1 file changed, 1 insertion(+), 1 deletion(-)
32910 commit 3829d7667b19126fb74562b28d271e616b154c99
32911 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32912 Date: Thu Dec 31 15:25:10 2009 +0100
32914 Wrap gio.SocketListener.add_address() and add a test
32916 gio/gsocket.override | 57
32917 ++++++++++++++++++++++++++++++++++++++++++++++++++-
32918 tests/test_gsocket.py | 9 ++++++++
32919 2 files changed, 65 insertions(+), 1 deletion(-)
32921 commit 5bec72f34ea75bc56158cae5c39d61a2a4e7e601
32922 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32923 Date: Thu Dec 31 10:19:47 2009 +0100
32925 Add more remainders on missing methods of gio.Socket and related types
32927 gio/gsocket.override | 8 ++++++++
32928 1 file changed, 8 insertions(+)
32930 commit b08b20f2b1a57bcbf400d6fe8e87cf052bdb719d
32931 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32932 Date: Thu Dec 31 10:16:18 2009 +0100
32934 Wrap gio.SocketClient.connect_to_service_async()
32936 gio/gsocket.override | 47 +++++++++++++++++++++++++++++++++++++++++++++++
32937 1 file changed, 47 insertions(+)
32939 commit 116ea1bfe32946e67aa54eb8dc7b977e57f254c2
32940 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32941 Date: Thu Dec 31 10:10:43 2009 +0100
32943 Wrap gio.SocketClient.connect_to_host_async()
32945 gio/gsocket.override | 48
32946 ++++++++++++++++++++++++++++++++++++++++++++++++
32947 1 file changed, 48 insertions(+)
32949 commit 9c930910505d5b9001b8cec17ff98fadeaa799e2
32950 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32951 Date: Thu Dec 31 09:59:46 2009 +0100
32953 Wrap gio.SocketClient.connect_async()
32955 gio/gsocket.override | 45 +++++++++++++++++++++++++++++++++++++++++++++
32956 1 file changed, 45 insertions(+)
32958 commit dff024256295c15e49888ad9d5fef74a7746edd7
32959 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32960 Date: Wed Dec 30 23:44:25 2009 +0100
32962 Wrap gio.SocketAddressEnumerator.next_async() and add a test
32964 gio/gsocket.override | 42 ++++++++++++++++++++++++++++++++++++++++++
32965 tests/test_gsocket.py | 16 ++++++++++++++++
32966 2 files changed, 58 insertions(+)
32968 commit e2330bd0d6cbc49b0ecb27b30e3b0593935ce229
32969 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32970 Date: Wed Dec 30 23:43:14 2009 +0100
32972 Add a missing object gio.InetSocketAddress new in GIO 2.22
32974 gio/gio-types.defs | 7 +++++++
32975 gio/gio.defs | 31 +++++++++++++++++++++++++++++++
32976 2 files changed, 38 insertions(+)
32978 commit 6040b33467ea381c6cb02f6a5efc0745fa8fa47b
32979 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32980 Date: Wed Dec 30 22:54:47 2009 +0100
32982 Make cancellable optional for gio.SocketAddressEnumerator.next()
32984 gio/gio.defs | 2 +-
32985 1 file changed, 1 insertion(+), 1 deletion(-)
32987 commit b19f59790b9de943d69b6c5e483928e0443c3d20
32988 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32989 Date: Wed Dec 30 22:17:44 2009 +0100
32991 Add a remainder of the Socket methods that needs manual wrapping still
32993 gio/gsocket.override | 5 +++++
32994 1 file changed, 5 insertions(+)
32996 commit 771a7c3fdef7b2e98e509293a8376a81c1282286
32997 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32998 Date: Wed Dec 30 17:20:35 2009 +0100
33000 Wrap gio.Socket.condition_wait() and add a test
33002 gio/gsocket.override | 27 +++++++++++++++++++++++++++
33003 tests/test_gsocket.py | 6 +++++-
33004 2 files changed, 32 insertions(+), 1 deletion(-)
33006 commit 50960656815b0897a5ebe5f011537b8dcbdc857e
33007 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33008 Date: Wed Dec 30 16:21:49 2009 +0100
33010 Wrap gio.Socket.condition_check() and add a test
33012 gio/Makefile.am | 1 +
33013 gio/gio.override | 1 +
33014 gio/gsocket.override | 41 +++++++++++++++++++++++++++++++++++++++++
33015 tests/test_gsocket.py | 21 +++++++++++++++++++++
33016 4 files changed, 64 insertions(+)
33018 commit de7a359e81792ae8573ac944455ea289985449ed
33019 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33020 Date: Wed Dec 30 14:07:52 2009 +0100
33022 Wrap gio.Resolver.lookup_service_finish() and add a test
33024 gio/gresolver.override | 37 +++++++++++++++++++++++++++++++++++++
33025 tests/test_gresolver.py | 13 +++++++++++++
33026 2 files changed, 50 insertions(+)
33028 commit 308421789ce849040d645077c41c80b6e2e65e83
33029 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33030 Date: Wed Dec 30 14:00:22 2009 +0100
33032 Wrap gio.Resolver.lookup_service_async()
33034 gio/gresolver.override | 48
33035 ++++++++++++++++++++++++++++++++++++++++++++++++
33036 1 file changed, 48 insertions(+)
33038 commit 9d56ce775f56fff1b1ef3c75843c0583e39f75c3
33039 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33040 Date: Wed Dec 30 11:11:32 2009 +0100
33042 Wrap gio.Resolver.lookup_service() and add a test
33044 gio/gresolver.override | 42 ++++++++++++++++++++++++++++++++++++++++++
33045 tests/test_gresolver.py | 5 +++++
33046 2 files changed, 47 insertions(+)
33048 commit 7fc71f490494dae73a5264869a97a9d30814930e
33049 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33050 Date: Tue Dec 29 22:12:50 2009 +0100
33052 Wrap gio.Resolver.lookup_by_address_async() and add a test
33054 gio/gresolver.override | 46
33055 ++++++++++++++++++++++++++++++++++++++++++++++
33056 tests/test_gresolver.py | 14 ++++++++++++++
33057 2 files changed, 60 insertions(+)
33059 commit c91656dbe56f07d3ebbad5113467c22427cf212a
33060 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33061 Date: Tue Dec 29 21:41:30 2009 +0100
33063 Wrap gio.Resolver.lookup_by_name_finish() and add a test
33065 gio/gresolver.override | 82
33066 +++++++++++++++++++++++++++++++++++++++++++++++++
33067 tests/test_gresolver.py | 16 ++++++++--
33068 2 files changed, 96 insertions(+), 2 deletions(-)
33070 commit 45b477342fa1c2435917c6d97745ad57665c4734
33071 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33072 Date: Tue Dec 29 17:15:44 2009 +0100
33074 Wrap gio.Drive.eject_with_data()
33076 gio/gdrive.override | 54
33077 +++++++++++++++++++++++++++++++++++++++++++++++++++++
33078 1 file changed, 54 insertions(+)
33080 commit 635227480f9659a1f91ab1ec12536d3ed012a976
33081 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33082 Date: Tue Dec 29 17:06:52 2009 +0100
33084 Deprecate old gio.Drive methods
33086 gio/gdrive.override | 7 ++++++-
33088 2 files changed, 7 insertions(+), 1 deletion(-)
33090 commit 3c0cbc95af29b1e192ed4b5963e96e39c70b349c
33091 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33092 Date: Tue Dec 29 13:51:54 2009 +0100
33094 Small fix in the header
33096 gio/gdrive.override | 2 +-
33097 1 file changed, 1 insertion(+), 1 deletion(-)
33099 commit 7589128515b79d836365247dc876538c6352da23
33100 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33101 Date: Tue Dec 29 12:40:50 2009 +0100
33103 Wrap gio.Resolver.lookup_by_name() and add a couple of tests
33105 gio/Makefile.am | 1 +
33106 gio/gio.override | 1 +
33107 gio/gresolver.override | 57
33108 +++++++++++++++++++++++++++++++++++++++++++++++++
33109 tests/test_gresolver.py | 21 ++++++++++++++++++
33110 4 files changed, 80 insertions(+)
33112 commit 604d2bf220b1fefa415baaedbdb2882dbaf9e07e
33113 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33114 Date: Tue Dec 29 12:39:13 2009 +0100
33116 Make cancellable an optional parameter in
33117 gio.Resolver.lookup_by_address()
33119 gio/gio.defs | 2 +-
33120 1 file changed, 1 insertion(+), 1 deletion(-)
33122 commit 00029145f4cd10759b37b38fb9f72435bf26b28b
33123 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33124 Date: Tue Dec 29 10:15:14 2009 +0100
33126 Strip g_ prefix for many other functions
33129 ++++++++++++++++++++++++++++++------------------------------
33130 1 file changed, 47 insertions(+), 47 deletions(-)
33132 commit 56d5dfc4fd862e32c19f944a0feb7a00a9154f06
33133 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33134 Date: Tue Dec 29 10:12:53 2009 +0100
33136 Strip g_prefix from InetAddress functions
33138 gio/gio.defs | 8 ++++----
33139 1 file changed, 4 insertions(+), 4 deletions(-)
33141 commit 1d360301d51a587a36a59f5d62e354484bbd2b31
33142 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33143 Date: Tue Dec 29 10:03:59 2009 +0100
33145 Fix function name gio.resolver_get_default()
33147 Strip the g_ prefix from function name
33149 gio/gio.defs | 2 +-
33150 1 file changed, 1 insertion(+), 1 deletion(-)
33152 commit 0fe00109c4f6fc27cbaae9b0a24ecfac71355d2f
33153 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33154 Date: Tue Dec 29 09:54:05 2009 +0100
33156 Wrap gio.FileIOStream.query_info_async() and add a test
33158 gio/Makefile.am | 1 +
33159 gio/gfileiostream.override | 68
33160 ++++++++++++++++++++++++++++++++++++++++++++++
33161 gio/gio.override | 1 +
33162 tests/test_gio.py | 18 ++++++++++++
33163 4 files changed, 88 insertions(+)
33165 commit 86783c695f3641b9491962e8f95a4dcb91f4017c
33166 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33167 Date: Tue Dec 29 13:08:29 2009 +0100
33169 Register enums and flags in PyGI if needed
33171 https://bugzilla.gnome.org/show_bug.cgi?id=603534
33173 gobject/pygenum.c | 20 ++++++++++++++------
33174 gobject/pygflags.c | 19 +++++++++++++------
33175 2 files changed, 27 insertions(+), 12 deletions(-)
33177 commit b90c01cff5ff5cb2796182f2ffd7b5248eaeed6a
33178 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33179 Date: Mon Dec 28 22:41:54 2009 +0100
33181 Wrap GIOStream.close_async() and add a test
33183 gio/Makefile.am | 1 +
33184 gio/gio.override | 1 +
33185 gio/giostream.override | 68
33186 ++++++++++++++++++++++++++++++++++++++++++++++++++
33187 tests/test_gio.py | 21 ++++++++++++++++
33188 4 files changed, 91 insertions(+)
33190 commit 0bff01bcee73a0e0d18342331136119c4e8bf151
33191 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33192 Date: Mon Dec 28 22:39:09 2009 +0100
33194 Make cancellable an optional parameter in GFile.create_readwrite()
33196 gio/gio.defs | 2 +-
33197 1 file changed, 1 insertion(+), 1 deletion(-)
33199 commit 1cabd733cde269ce3164834933f4a226673ecb0b
33200 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33201 Date: Mon Dec 28 21:39:50 2009 +0100
33203 Remove a duplicate entry in gio.defs
33205 gio/gio.defs | 9 ---------
33206 1 file changed, 9 deletions(-)
33208 commit 9ac372ad0bcfdec4bb1c96bc152246542a59a9b1
33209 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33210 Date: Mon Dec 28 21:37:49 2009 +0100
33212 Wrap gio.FileInfo.set_modification_time and add a test
33214 gio/gfileinfo.override | 33 ++++++++++++++++++++++++++++++++-
33215 tests/test_gio.py | 7 ++++++-
33216 2 files changed, 38 insertions(+), 2 deletions(-)
33218 commit 7bc2673f92138b1804d8eba091942d14d8884f90
33219 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33220 Date: Mon Dec 28 18:28:03 2009 +0100
33222 Wrap gio.EmblemedIcon.get_emblems() and add a test
33224 gio/gicon.override | 14 ++++++++++++++
33225 tests/test_gicon.py | 7 +++++++
33226 2 files changed, 21 insertions(+)
33228 commit 3d5056ad766d6856d8d6459fe9b377de2f0fd172
33229 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33230 Date: Sat Dec 26 22:27:48 2009 +0100
33232 Update Enums and Flags with new API
33234 gio/gio-types.defs | 153
33235 +++++++++++++++++++++++++++++++++++++++++++++++++++--
33236 1 file changed, 149 insertions(+), 4 deletions(-)
33238 commit 62a9d660a4a2d5fab1d57c6c96c984ff02d25ccd
33239 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33240 Date: Fri Dec 25 18:06:39 2009 +0100
33242 Post release version bump to 2.21.1
33244 configure.ac | 2 +-
33245 1 file changed, 1 insertion(+), 1 deletion(-)
33247 commit 2bd92cba5b028f0f78c35ecb34e648e95248f9d3
33248 Author: Bastian Winkler <buz@netbuz.org>
33249 Date: Fri Aug 14 15:10:26 2009 +0200
33251 Fix handling of uchar in pyg_value_from_pyobject
33253 Set the value by g_value_set_uchar and allow to use integer types
33256 gobject/pygtype.c | 15 +++++++++++----
33257 1 file changed, 11 insertions(+), 4 deletions(-)
33259 commit 828d0f042b59ea0319f33a23803c179af34ef2f1
33260 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33261 Date: Tue Dec 22 18:05:47 2009 +0100
33263 Add Gtk.keysyms to overrides
33265 gi/overrides/Gtk.py | 2 +
33266 gi/overrides/Makefile.am | 1 +
33267 gi/overrides/keysyms.py | 1499
33268 ++++++++++++++++++++++++++++++++++++++++++++++
33269 3 files changed, 1502 insertions(+)
33271 commit 24fa1224ff00b9da177e0bfaa1e14e1b899e4976
33272 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33273 Date: Wed Nov 25 10:33:56 2009 +0100
33275 The array field 'length' starts to count from the C arg list, so
33276 need to decrement when it's a method
33278 https://bugzilla.gnome.org/show_bug.cgi?id=602640
33280 gi/pygi-argument.c | 11 +++++++++-
33281 gi/pygi-argument.h | 3 ++-
33282 gi/pygi-info.c | 14 +++++++++++--
33283 tests/libtestgi.c | 60
33284 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
33285 tests/libtestgi.h | 4 ++++
33286 tests/test_gi.py | 15 ++++++++++++++
33287 6 files changed, 103 insertions(+), 4 deletions(-)
33289 commit 867536c6734e606d045760837ed22583da06566e
33290 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33291 Date: Fri Dec 18 10:50:09 2009 +0100
33293 Update NEWS and README, release pygobject 2.21.0
33295 NEWS | 18 ++++++++++++++++++
33297 2 files changed, 21 insertions(+), 3 deletions(-)
33299 commit f50fbd24fa61863aaefa4ae1e12e0b314ecd43ae
33300 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33301 Date: Fri Dec 18 10:31:48 2009 +0100
33303 Add pygi-external.h into Makefile SOURCES
33305 gobject/Makefile.am | 3 ++-
33306 1 file changed, 2 insertions(+), 1 deletion(-)
33308 commit 108c03b78f04b4bcfe066a6cb4d941e172bd32fe
33309 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33310 Date: Fri Dec 18 01:20:34 2009 +0100
33312 Bug 598435 - No wrapping for g_find_program_in_path ()
33314 glib/glibmodule.c | 20 ++++++++++++++++++++
33315 1 file changed, 20 insertions(+)
33317 commit d3d5cb3a4a2c2cb2bd0c2571304d59e19bc08452
33318 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33319 Date: Thu Dec 17 21:54:36 2009 +0100
33321 Wrap new API added in GIO-UNIX 2.22
33323 gio/unix-types.defs | 22 ++++++++++
33324 gio/unix.defs | 115
33325 +++++++++++++++++++++++++++++++++++++++++++++++++++-
33326 gio/unix.override | 8 ++++
33327 3 files changed, 144 insertions(+), 1 deletion(-)
33329 commit c87c8a81947a68507e8f3bcaf8e0e969b3e5331b
33330 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33331 Date: Thu Dec 17 21:52:11 2009 +0100
33333 Bump required glib version to 2.22.4
33335 I've committed a patch to glib which will be released in the stable
33337 Without the patch the unix module will fail, so I'm forced to bump.
33339 configure.ac | 6 +++---
33340 1 file changed, 3 insertions(+), 3 deletions(-)
33342 commit b630c8d4b1e55938dac89729768c4a877b305215
33343 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33344 Date: Thu Dec 17 02:24:45 2009 +0100
33346 Properly define Connectable as interface type and not object type
33348 gio/gio-types.defs | 12 ++++++------
33349 1 file changed, 6 insertions(+), 6 deletions(-)
33351 commit e955b931b07113c7432f7a85f882f69f12d263ad
33352 Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
33353 Date: Mon Nov 30 22:01:25 2009 +0100
33355 Depend on GLib 2.20 rather than 2.22
33357 Backport g_array_get_element_size.
33359 https://bugzilla.gnome.org/show_bug.cgi?id=603411
33361 configure.ac | 2 +-
33362 gi/pygi-private.h | 19 +++++++++++++++++++
33363 2 files changed, 20 insertions(+), 1 deletion(-)
33365 commit 542fdf6da4ad8f2d28d0d50152bd93cb4d8ee39a
33366 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33367 Date: Sat Nov 28 18:48:19 2009 +0000
33369 Use the limit constants from glib and interpret G_MAXUINT32 as
33370 PyLong_FromLongLong
33372 https://bugzilla.gnome.org/show_bug.cgi?id=602384
33374 gi/pygi-argument.c | 14 +++++++-------
33375 tests/test_gi.py | 18 +++++++++---------
33376 2 files changed, 16 insertions(+), 16 deletions(-)
33378 commit 38e89942d29f2a1dba47ab4a8d5edc84322707cd
33379 Author: Simon van der Linden <svdlinden@src.gnome.org>
33380 Date: Mon Nov 30 00:10:56 2009 +0100
33382 Suppress warnings about format conversion
33384 https://bugzilla.gnome.org/show_bug.cgi?id=603355
33386 gobject/generate-constants.c | 32 ++++++++++++++++----------------
33387 1 file changed, 16 insertions(+), 16 deletions(-)
33389 commit cfa7d005487e17e8f7c1ceb14282d3a5baadb736
33390 Author: Simon van der Linden <svdlinden@src.gnome.org>
33391 Date: Sat Nov 28 00:22:21 2009 +0100
33393 Remove global checks for pointers and move them in type cases that
33396 gi/pygi-argument.c | 516
33397 +++++++++++++++++++++++++++++++++++++++++++----------
33398 gi/pygi-info.c | 333 +++++++++++++++++-----------------
33399 2 files changed, 596 insertions(+), 253 deletions(-)
33401 commit d1ae73f3cf7cebdb74c9ec56b08928a2a53b9de6
33402 Author: Johan Dahlin <johan@gnome.org>
33403 Date: Mon Nov 23 15:58:17 2009 -0200
33405 Pythonify. Avoid ; and () around if statements
33407 https://bugzilla.gnome.org/show_bug.cgi?id=602830
33409 gi/types.py | 8 ++++----
33410 1 file changed, 4 insertions(+), 4 deletions(-)
33412 commit a8660621679c629fc81320a8ddf5bf2c7ee1f177
33413 Author: Johan Dahlin <johan@gnome.org>
33414 Date: Tue Nov 24 10:36:18 2009 -0200
33416 Remove trailing whitespace
33418 https://bugzilla.gnome.org/show_bug.cgi?id=602830
33420 gi/module.py | 4 ++--
33421 1 file changed, 2 insertions(+), 2 deletions(-)
33423 commit 66c34805223af9e63c7d61f21a3dbd7505a8f256
33424 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33425 Date: Mon Nov 30 10:03:34 2009 +0000
33427 Set a default constructor for boxed structs that don't have one
33429 https://bugzilla.gnome.org/show_bug.cgi?id=602735
33431 gi/Makefile.am | 2 +
33432 gi/gimodule.c | 1 +
33433 gi/module.py | 2 +-
33434 gi/pygi-argument.c | 14 +++-
33435 gi/pygi-boxed.c | 184
33436 +++++++++++++++++++++++++++++++++++++++++++++++++++++
33437 gi/pygi-boxed.h | 40 ++++++++++++
33438 gi/pygi-info.c | 2 +-
33439 gi/pygi-private.h | 1 +
33441 gi/types.py | 18 ------
33442 tests/libtestgi.c | 72 ++++++++++-----------
33443 tests/libtestgi.h | 18 +++---
33444 tests/test_gi.py | 47 ++++++++------
33445 13 files changed, 321 insertions(+), 86 deletions(-)
33447 commit e7e2fccae36c28c7e9f288fcd4c90a001140e307
33448 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33449 Date: Mon Nov 30 10:53:57 2009 +0000
33451 Revert "Use the limit constants from glib and interpret G_MAXUINT32
33452 as PyLong_FromLongLong"
33454 This reverts commit 05a2ed55f3e5d2620de8b3b6b0d99e928ef3b041.
33456 gi/pygi-argument.c | 14 +++++++-------
33457 tests/test_gi.py | 18 +++++++++---------
33458 2 files changed, 16 insertions(+), 16 deletions(-)
33460 commit 05a2ed55f3e5d2620de8b3b6b0d99e928ef3b041
33461 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33462 Date: Sat Nov 28 18:48:19 2009 +0000
33464 Use the limit constants from glib and interpret G_MAXUINT32 as
33465 PyLong_FromLongLong
33467 https://bugzilla.gnome.org/show_bug.cgi?id=602384
33469 gi/pygi-argument.c | 14 +++++++-------
33470 tests/test_gi.py | 18 +++++++++---------
33471 2 files changed, 16 insertions(+), 16 deletions(-)
33473 commit e24d155dd7b4a5b9c25c054137d1370c369d3192
33474 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33475 Date: Sat Nov 28 18:45:54 2009 +0000
33477 Add the missing limit constants from glibconfig.h
33479 https://bugzilla.gnome.org/show_bug.cgi?id=603244
33481 gobject/generate-constants.c | 17 ++++++++++++++++-
33482 1 file changed, 16 insertions(+), 1 deletion(-)
33484 commit 3a295cb7ffaaaf29c71b8833cf0ee5ec7ceaa909
33485 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33486 Date: Sat Nov 28 18:48:49 2009 +0100
33488 Fix bad name when rebuilding the unix source module
33490 gio/Makefile.am | 2 +-
33491 1 file changed, 1 insertion(+), 1 deletion(-)
33493 commit a8cbb6fb72dbe6630d1265b18095c9a96f496b86
33494 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33495 Date: Sat Nov 28 18:47:26 2009 +0100
33497 Wrap new API added in GIO 2.22
33499 gio/gio-types.defs | 138 +++
33500 gio/gio.defs | 2444
33501 +++++++++++++++++++++++++++++++++++++++++++++++-----
33502 2 files changed, 2360 insertions(+), 222 deletions(-)
33504 commit 96f6c638709636d7e2ddf560b877879691da3314
33505 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33506 Date: Sat Nov 28 11:03:51 2009 +0000
33508 A few tests about interfaces
33510 https://bugzilla.gnome.org/show_bug.cgi?id=601181
33512 tests/libtestgi.c | 23 +++++++++++++++++++++++
33513 tests/libtestgi.h | 16 ++++++++++++++++
33514 tests/test_gi.py | 21 +++++++++++++++++++++
33515 3 files changed, 60 insertions(+)
33517 commit 076ba3156c13375a75983cef7a409c8c8afea119
33518 Author: Simon van der Linden <svdlinden@src.gnome.org>
33519 Date: Thu Nov 26 23:50:54 2009 +0100
33521 Fix members initialization in metaclasses
33523 In metaclasses, the test for the name of the class was wrong, since it
33524 prevented one to create a subclass with the same name (especially
33526 overrides). Now, if a GType is available from the info, the fact
33528 doesn't have any wrapper yet means that the metaclass is creating
33530 class, which will be registerd just after its creation. This is
33532 objects, and for structures registered as boxed or pointer too.
33534 This patch includes a test for basic subclassing in Python. It
33536 that methods don't get overridden by the metaclass.
33538 gi/types.py | 5 +++--
33539 tests/test_gi.py | 19 +++++++++++++++++++
33540 2 files changed, 22 insertions(+), 2 deletions(-)
33542 commit ac80e64c9f7d257865aa820753e52d56cf2871c8
33543 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33544 Date: Fri Nov 27 12:06:59 2009 +0000
33546 Structs in arrays are not marshalled correctly
33548 https://bugzilla.gnome.org/show_bug.cgi?id=602709
33550 gi/pygi-argument.c | 29 ++++++++++++++++++++++++-----
33551 tests/libtestgi.c | 23 ++++++++++++++++++++++-
33552 tests/libtestgi.h | 7 +++++--
33553 tests/test_gi.py | 8 ++++++++
33554 4 files changed, 59 insertions(+), 8 deletions(-)
33556 commit 4a373b8ad6ec137e911b92a3e745e0fd76541292
33557 Author: Simon van der Linden <svdlinden@src.gnome.org>
33558 Date: Wed Nov 25 16:53:55 2009 +0100
33560 Use the right variable when looking up in sys.modules
33562 gi/importer.py | 2 +-
33563 1 file changed, 1 insertion(+), 1 deletion(-)
33565 commit fc3dca018e85aee34ade79d104ebd8cdd1dd5968
33566 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33567 Date: Tue Nov 24 15:52:47 2009 +0100
33569 Accept 0 as a valid value for flag and enum arguments
33571 https://bugzilla.gnome.org/show_bug.cgi?id=602638
33573 gi/pygi-argument.c | 19 ++++++++++++++++++-
33574 tests/libtestgi.c | 6 ++++++
33575 tests/libtestgi.h | 1 +
33576 tests/test_gi.py | 1 +
33577 4 files changed, 26 insertions(+), 1 deletion(-)
33579 commit 33081c29a1c2fdec2b8bfe17ae0a72b8db7a8d84
33580 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33581 Date: Tue Nov 24 13:10:11 2009 +0100
33583 Add stuff to .gitignore
33585 .gitignore | 7 +++++++
33586 1 file changed, 7 insertions(+)
33588 commit 5c010fe673d9bd01c27c8d7d312064665275888c
33589 Author: Simon van der Linden <svdlinden@src.gnome.org>
33590 Date: Mon Nov 23 22:39:12 2009 +0100
33592 Remove the girepository module
33595 configure.ac | 17 -
33596 girepository/Makefile.am | 54 --
33597 girepository/__init__.py | 24 -
33598 girepository/bank-argument.c | 379 ------------
33599 girepository/bank-info.c | 1194
33600 ------------------------------------
33601 girepository/bank-repository.c | 236 -------
33602 girepository/bank.c | 155 -----
33603 girepository/bank.h | 80 ---
33604 girepository/btypes.py | 300 ---------
33605 girepository/importer.py | 51 --
33606 girepository/module.py | 224 -------
33607 girepository/overrides/Gdk.py | 14 -
33608 girepository/overrides/Gtk.py | 8 -
33609 girepository/overrides/__init__.py | 0
33610 girepository/repository.py | 51 --
33611 tests/test_girepository.py | 386 ------------
33612 17 files changed, 1 insertion(+), 3174 deletions(-)
33614 commit a644edf0515c26ed027522891ccf02aceac764e8
33615 Author: Johan Dahlin <johan@gnome.org>
33616 Date: Mon Nov 23 15:32:16 2009 -0200
33618 Create overridden modules in two passes
33620 This patch splits overridden module creation into two passes. The
33622 creates the auto-generated module normally before the overridden
33624 attempted to be imported. The second pass imports the overridden
33626 replaces the auto-generated module with the overridden. This is
33628 for the overridden modules to be able to access the auto-generated
33631 gi/importer.py | 34 +++++++++++++++++++++-------------
33632 1 file changed, 21 insertions(+), 13 deletions(-)
33634 commit fad89e12a744b57e6348968f351d25d167de8248
33635 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33636 Date: Sun Nov 22 17:56:20 2009 +0100
33638 Add support for Any arguments
33640 https://bugzilla.gnome.org/show_bug.cgi?id=601253
33642 gi/pygi-argument.c | 20 ++++++++++++--------
33643 tests/libtestgi.c | 5 +++++
33644 tests/libtestgi.h | 5 +++++
33645 tests/test_gi.py | 5 +++++
33646 4 files changed, 27 insertions(+), 8 deletions(-)
33648 commit 1dc62a998dd8d2a0a397f8309011a8d79cb56034
33649 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33650 Date: Sun Nov 22 17:25:04 2009 +0100
33652 Register interfaces
33654 https://bugzilla.gnome.org/show_bug.cgi?id=601181
33656 gi/gimodule.c | 33 +++++++++++++++++++++++++++++++++
33657 gi/types.py | 5 ++++-
33658 2 files changed, 37 insertions(+), 1 deletion(-)
33660 commit d67d5afb5115c1d8294415b2e1a82af2c737ba17
33661 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33662 Date: Sun Nov 22 18:23:02 2009 +0200
33664 Ignore one more file.
33667 1 file changed, 1 insertion(+)
33669 commit 408b2186aea58a41ec26b9d0ca29ecd42df5ef7e
33670 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33671 Date: Sun Nov 22 18:22:23 2009 +0200
33673 Fix wrong minimum checking in float properties
33675 Bug #587637. Test the fix.
33677 gobject/propertyhelper.py | 5 +++--
33678 tests/test_properties.py | 6 ++++++
33679 2 files changed, 9 insertions(+), 2 deletions(-)
33681 commit 6ccf58afcf58e118903ced0135f0fe69b00e09ad
33682 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33683 Date: Mon Oct 26 18:06:06 2009 +0000
33685 Treat GI_INFO_TYPE_INTERFACE same as GI_INFO_TYPE_OBJECT
33687 gi/pygi-argument.c | 3 +++
33688 1 file changed, 3 insertions(+)
33690 commit e6f730d6e1431e36bd5f6b503a1038617f8d1e7d
33691 Author: Simon van der Linden <svdlinden@src.gnome.org>
33692 Date: Sat Nov 14 21:42:43 2009 +0100
33694 Import pygtk properly to avoid failure on some setups
33696 tests/test_gi.py | 3 +++
33697 1 file changed, 3 insertions(+)
33699 commit e604a89e9dc1a79687ef5fb94af7a2182be07dfb
33700 Author: Alex Dedul <rotmer@gmail.com>
33701 Date: Sat Nov 14 21:39:15 2009 +0100
33703 Search for python-config-${VERSION} when python${VERSION}-config is
33706 On Gentoo, notably, the config tool is named python-config-${VERSION},
33708 Fedora and Ubuntu, it is named python${VERSION}-config.
33710 Signed-off-by: Simon van der Linden <svdlinden@src.gnome.org>
33712 configure.ac | 7 +++++--
33713 1 file changed, 5 insertions(+), 2 deletions(-)
33715 commit 4a887cfabb326cb99dc65073d592c03f59e2f141
33716 Author: Simon van der Linden <svdlinden@src.gnome.org>
33717 Date: Sat Nov 14 21:36:19 2009 +0100
33719 Fix silent rules setup
33721 configure.ac | 2 +-
33722 1 file changed, 1 insertion(+), 1 deletion(-)
33724 commit 602afea88c338a38327cd84e08703c5daa384ec6
33725 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33726 Date: Tue Nov 10 22:32:33 2009 +0200
33728 Move threads_init() function from 'gobject' to 'glib'
33730 Retain in original place for backward compatibility, but remove it
33733 docs/reference/pygobject-functions.xml | 36
33734 +++++++---------------------------
33735 glib/glibmodule.c | 16 +++++++++++++++
33736 2 files changed, 23 insertions(+), 29 deletions(-)
33738 commit 734755912fff11332dc0e96317b7d6b7c4014e6a
33739 Author: Simon van der Linden <svdlinden@src.gnome.org>
33740 Date: Mon Nov 9 22:44:12 2009 +0100
33742 Remove PyGObject patches since they've been merged to master
33744 ...pytype-aware-of-the-interface-enum-flags-.patch | 78 --------
33745 patches/0002-Fix-girpository-build-setup.patch | 186
33746 -------------------
33747 ...capabilities-to-import-wrappers-from-pygi.patch | 200
33748 ---------------------
33749 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 29 ---
33750 4 files changed, 493 deletions(-)
33752 commit 6a69288941e65312fe82649ec72d2f21b2dc618f
33753 Author: Simon van der Linden <svdlinden@src.gnome.org>
33754 Date: Sat Nov 7 23:42:07 2009 +0100
33756 Create instances by calling tp_alloc rather than PyObject_NEW
33758 PyObject_NEW calls a generic allocator and should only be called by
33760 that the type's free function agrees. In pyg_boxed_new, we may
33762 PyGBoxed subtypes, so the subtype's allocation function must be
33765 gobject/pygboxed.c | 3 ++-
33766 1 file changed, 2 insertions(+), 1 deletion(-)
33768 commit 000f7c36e667c6e078e3370769ea868e56a1b4ee
33769 Author: Simon van der Linden <svdlinden@src.gnome.org>
33770 Date: Sat Nov 7 16:43:35 2009 +0100
33772 Add capabilities to import wrappers from pygi
33774 At instance creation for boxed and pointers, at lookup for objects,
33775 when the gtype has no wrapper yet, a wrapper may be imported from
33778 The feature is turned on at configure time by --enable-pygi.
33780 Because we couldn't create a circular build dependency, PyGI's import
33782 API definition had to be copied in this tree.
33784 configure.ac | 8 ++++++
33785 gobject/pygboxed.c | 10 ++++++++
33786 gobject/pygi-external.h | 66
33787 +++++++++++++++++++++++++++++++++++++++++++++++++
33788 gobject/pygobject.c | 10 ++++++++
33789 gobject/pygpointer.c | 11 +++++++++
33790 5 files changed, 105 insertions(+)
33792 commit fdfbc90dbc9e305646b62d73de506b5e0e99cc91
33793 Author: Simon van der Linden <svdlinden@src.gnome.org>
33794 Date: Sun Nov 8 20:03:58 2009 +0100
33796 Update PyGObject patches
33798 A file, pygi-external.h, was missing in patch #3.
33800 ...capabilities-to-import-wrappers-from-pygi.patch | 74
33801 ++++++++++++++++++++--
33802 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 2 +-
33803 2 files changed, 69 insertions(+), 7 deletions(-)
33805 commit 8f53ca8a72f9958711765281dd5c5bdfb7042d7d
33806 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33807 Date: Sun Nov 8 16:52:18 2009 +0100
33809 Add myself to pygi.doap
33811 pygi.doap | 5 +++++
33812 1 file changed, 5 insertions(+)
33814 commit 6f50d5102aec9288e1851f12e9d232b9c141d524
33815 Author: Simon van der Linden <svdlinden@src.gnome.org>
33816 Date: Sun Nov 8 15:40:51 2009 +0100
33820 pygi.doap | 17 +++++++++++++++++
33821 1 file changed, 17 insertions(+)
33823 commit ce673b9027868e6add4eeb438bc707eb40bfd046
33824 Author: Simon van der Linden <svdlinden@src.gnome.org>
33825 Date: Sun Nov 8 13:06:54 2009 +0100
33827 Add PyGObject patches
33829 ...pytype-aware-of-the-interface-enum-flags-.patch | 78 +++++++++
33830 patches/0002-Fix-girpository-build-setup.patch | 186
33831 +++++++++++++++++++++
33832 ...capabilities-to-import-wrappers-from-pygi.patch | 138 +++++++++++++++
33833 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 29 ++++
33834 4 files changed, 431 insertions(+)
33836 commit b24fd9633cabe1d95cde173a04e9a49833b06a26
33837 Author: Simon van der Linden <svdlinden@src.gnome.org>
33838 Date: Sun Nov 8 12:35:08 2009 +0100
33844 autogen.sh | 159 +++
33845 configure.ac | 53 +
33846 gi/Makefile.am | 50 +
33847 gi/__init__.py | 24 +
33848 gi/gimodule.c | 144 ++
33849 gi/importer.py | 89 ++
33850 gi/module.py | 167 +++
33851 gi/overrides/Gdk.py | 21 +
33852 gi/overrides/Gtk.py | 13 +
33853 gi/overrides/Makefile.am | 10 +
33854 gi/overrides/__init__.py | 0
33855 gi/pygi-argument.c | 1976 ++++++++++++++++++++++++++
33856 gi/pygi-argument.h | 65 +
33857 gi/pygi-info.c | 2093 ++++++++++++++++++++++++++++
33858 gi/pygi-info.h | 64 +
33859 gi/pygi-private.h | 55 +
33860 gi/pygi-repository.c | 238 ++++
33861 gi/pygi-repository.h | 39 +
33862 gi/pygi-struct.c | 175 +++
33863 gi/pygi-struct.h | 40 +
33864 gi/pygi-type.c | 96 ++
33865 gi/pygi-type.h | 43 +
33867 gi/pygobject-external.h | 83 ++
33868 gi/repository/Makefile.am | 8 +
33869 gi/repository/__init__.py | 30 +
33870 gi/types.py | 163 +++
33871 tests/Makefile.am | 48 +
33872 tests/libtestgi.c | 3397
33873 +++++++++++++++++++++++++++++++++++++++++++++
33874 tests/libtestgi.h | 643 +++++++++
33875 tests/runtests.py | 22 +
33876 tests/test_gi.py | 1416 +++++++++++++++++++
33877 34 files changed, 11566 insertions(+)
33879 commit bfd3100a580b8bea9db25b8bb7443fb8c3dbe1cc
33880 Author: Simon van der Linden <svdlinden@src.gnome.org>
33881 Date: Sat Nov 7 13:23:53 2009 +0100
33883 Fix girpository build setup
33885 configure.ac | 21 ++++++-----
33886 girepository/Makefile.am | 13 ++++---
33887 m4/introspection.m4 | 92
33888 ++++++++++++++++++++++++++++++++++++++++++++++++
33889 3 files changed, 111 insertions(+), 15 deletions(-)
33891 commit 421c03b1c5b69f90c778663df901b45ca3ee8ba5
33892 Author: Simon van der Linden <svdlinden@src.gnome.org>
33893 Date: Fri Nov 6 19:17:36 2009 +0100
33895 Make GType.pytype aware of the interface, enum, flags, pointer and
33898 gobject/pygtype.c | 39 +++++++++++++++++++++++++++++++++------
33899 1 file changed, 33 insertions(+), 6 deletions(-)
33901 commit a9c168c58cc6a449b51653417bf3f58bdd41457c
33902 Author: Philippe Normad <phil@base-art.net>
33903 Date: Wed Oct 21 18:01:16 2009 +0200
33905 pygmainloop: fix use of PySignal_WakeUpFD API for nested loops
33909 glib/pygmainloop.c | 95
33910 ++++++++++++++++++++++++++++--------------------------
33911 1 file changed, 50 insertions(+), 45 deletions(-)
33913 commit c6a5750379354c12e2599b3c73b4f9a23fd39114
33914 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33915 Date: Fri Sep 25 20:12:21 2009 +0200
33917 Post release version bump to 2.21.0
33919 configure.ac | 2 +-
33920 1 file changed, 1 insertion(+), 1 deletion(-)
33922 commit 33920eb013628a5e22b7b32403fb965ae3210f47
33923 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33924 Date: Wed Sep 23 21:52:04 2009 +0200
33926 Update NEWS and release 2.20.0
33929 1 file changed, 6 insertions(+)
33931 commit 66b12f7d2f54143ea80b4f8aec863b26800363d6
33932 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33933 Date: Wed Sep 23 21:51:43 2009 +0200
33935 Bump version to 2.20.0
33937 configure.ac | 2 +-
33938 1 file changed, 1 insertion(+), 1 deletion(-)
33940 commit 7bf87338a026ac82f908aa5fddf2bfea2daf6617
33941 Author: Brian Cameron <Brian.Cameron@sun.com>
33942 Date: Wed Sep 23 12:11:50 2009 -0500
33944 Updated uninstalled.pc file so that it contains the right paths for
33945 defsdir files and codegen files. See bug #596023.
33947 pygobject-2.0-uninstalled.pc.in | 4 ++--
33948 1 file changed, 2 insertions(+), 2 deletions(-)
33950 commit d042402b7c649b2bed7f20038eb82518ec7cc9b3
33951 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33952 Date: Tue Sep 22 22:02:27 2009 +0300
33954 Plug reference leak of GSource in pyg_main_loop_init()
33956 Bug #579406, second change.
33958 glib/pygmainloop.c | 1 +
33959 1 file changed, 1 insertion(+)
33961 commit 640be8109d066e85ed77c810830a5f73c750415b
33962 Author: Frédéric Péters <fpeters@0d.be>
33963 Date: Sun Aug 30 16:46:02 2009 +0200
33965 Specify programming language in .devhelp file
33967 This add a new language attribute (hardcoded to python) in the
33969 file that is produced when using ref-html-style.xsl.
33971 docs/xsl/devhelp.xsl | 2 +-
33972 1 file changed, 1 insertion(+), 1 deletion(-)
33974 commit c888b5ca722fcad6a03de585606c677c2969ebd6
33975 Author: Paolo Borelli <pborelli@gnome.org>
33976 Date: Thu Aug 13 21:32:07 2009 +0200
33978 Allow to use automake 1.11
33980 autogen.sh | 13 +++++++------
33981 1 file changed, 7 insertions(+), 6 deletions(-)
33983 commit 30deaba4bd1e199aab75cb346ee9237237807fbd
33984 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33985 Date: Tue Aug 11 22:19:50 2009 +0200
33989 README | 10 ++++++++--
33990 1 file changed, 8 insertions(+), 2 deletions(-)
33992 commit af165d350d0d1bb493be5140bf84376d3da1e4d8
33993 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33994 Date: Tue Aug 11 22:16:52 2009 +0200
33998 AUTHORS | 8 +++++---
33999 1 file changed, 5 insertions(+), 3 deletions(-)
34001 commit 5f9f87f276b97964b525a501d8584ea8b4d8bfd2
34002 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34003 Date: Tue Aug 11 22:11:43 2009 +0200
34005 Add myself and Paul as maintainers
34007 MAINTAINERS | 8 ++++++++
34008 pygobject.doap | 14 ++++++++++++++
34009 2 files changed, 22 insertions(+)
34011 commit 3bfae47fbcb5523d91fb2d1ed7ea347eeddd1775
34012 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34013 Date: Tue Aug 11 20:52:44 2009 +0200
34015 Update NEWS release 2.19.0
34017 NEWS | 29 +++++++++++++++++++++++++++++
34018 1 file changed, 29 insertions(+)
34020 commit e82a1841f31ad54dd50569d0d45290713409e0bf
34021 Author: John Finlay <finlay@moeraki.com>
34022 Date: Tue Aug 11 00:04:31 2009 -0700
34024 Add macros to help with Python list to/from GList/GSList conversions.
34026 gobject/pygobject.h | 242
34027 +++++++++++++++++++++++++++++++++++++++++++++++++++-
34028 1 file changed, 241 insertions(+), 1 deletion(-)
34030 commit f1fad96da2c531fbd3218923baa4fe806a2942d4
34031 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34032 Date: Sat Aug 8 21:37:54 2009 +0200
34034 Bug 590063 – GFileInfo.list_attributes should accept None/NULL
34036 gio/gfileinfo.override | 4 ++--
34037 1 file changed, 2 insertions(+), 2 deletions(-)
34039 commit b7907cf6ff6ccf8d38b5206f09f5c864c205e5de
34040 Author: Johan Dahlin <johan@gnome.org>
34041 Date: Fri Jul 24 14:30:37 2009 -0300
34043 Remove myself as a maintainer
34045 MAINTAINERS | 4 ----
34046 pygobject.doap | 7 -------
34047 2 files changed, 11 deletions(-)
34049 commit be6eb21320b4688bcfcd8cbea33f7be29a76f2a2
34050 Author: John Finlay <finlay@moeraki.com>
34051 Date: Wed Jul 8 15:47:44 2009 -0700
34053 * codegen/defsgen.py (clean_patterns): Strip out Windows
34056 codegen/defsgen.py | 6 +++---
34057 1 file changed, 3 insertions(+), 3 deletions(-)
34059 commit 2214cad3529979e29342a7e1fdc2915b90ce9c10
34060 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34061 Date: Tue Jun 23 21:18:23 2009 +0200
34063 Fix the gio.unix namespace in docs
34065 docs/Makefile.am | 2 ++
34066 docs/reference/pygio-classes.xml | 2 --
34067 docs/reference/pygio-unixinputstream.xml | 26 +++++++++++++-------------
34068 docs/reference/pygio-unixoutputstream.xml | 26 +++++++++++++-------------
34069 docs/reference/pygiounix-classes.xml | 13 +++++++++++++
34070 docs/reference/pygobject-ref.xml | 1 +
34071 6 files changed, 42 insertions(+), 28 deletions(-)
34073 commit c0acaedfe7f4e488a490e07e3184f0709e1fadc2
34074 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34075 Date: Mon Jun 22 23:13:36 2009 +0200
34077 Add docs for gio functions (mostly for content types)
34079 docs/Makefile.am | 2 +
34080 docs/reference/pygio-classes.xml | 1 +
34081 docs/reference/pygio-functions.xml | 395
34082 +++++++++++++++++++++++++++++++++++++
34083 3 files changed, 398 insertions(+)
34085 commit ebddee47fb7f3e06f9e0a7a14b9532d5cf8a3881
34086 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34087 Date: Sun Jun 21 18:35:56 2009 +0200
34089 Add docs for gio.Unix[In|Out]putStream classes
34091 docs/Makefile.am | 4 +
34092 docs/reference/pygio-classes.xml | 2 +
34093 docs/reference/pygio-unixinputstream.xml | 202
34094 ++++++++++++++++++++++++++++++
34095 docs/reference/pygio-unixoutputstream.xml | 202
34096 ++++++++++++++++++++++++++++++
34097 4 files changed, 410 insertions(+)
34099 commit 5b71e58117c85634d95d08449eb54079b246e5be
34100 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34101 Date: Sun Jun 21 16:50:03 2009 +0300
34103 Document that many functions got moved gobject -> glib
34105 docs/reference/pygobject-functions.xml | 7 +++++++
34106 1 file changed, 7 insertions(+)
34108 commit b270dc43f2cef5260b0bbc71356fd8e6a2b7f754
34109 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34110 Date: Sat Jun 20 19:23:25 2009 +0200
34112 Add docs for class gio.DataOutputStream
34114 docs/Makefile.am | 2 +
34115 docs/reference/pygio-classes.xml | 1 +
34116 docs/reference/pygio-dataoutputstream.xml | 504
34117 ++++++++++++++++++++++++++++++
34118 3 files changed, 507 insertions(+)
34120 commit 549313fc4886fa3deb31761de6f5400708165d86
34121 Author: Murray Cumming <murrayc@murrayc.com>
34122 Date: Thu Jun 18 18:48:37 2009 +0200
34124 Allow h2def.py to work when there are tabs or multiple spaces after
34125 the struct keyword.
34127 codegen/h2def.py | 8 ++++----
34128 1 file changed, 4 insertions(+), 4 deletions(-)
34130 commit 5c36ef20dca8cd1793f2d3e88949675299097f40
34131 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34132 Date: Mon Jun 15 23:02:34 2009 +0200
34134 Add dpcs for class gio.DataInputStream
34136 docs/Makefile.am | 2 +
34137 docs/reference/pygio-classes.xml | 1 +
34138 docs/reference/pygio-constants.xml | 66 +++
34139 docs/reference/pygio-datainputstream.xml | 799
34140 +++++++++++++++++++++++++++++++
34141 4 files changed, 868 insertions(+)
34143 commit a8b36c343c6850af929c1d5a930f923831b4e637
34144 Author: Theppitak Karoonboonyanan <thep@linux.thai.net>
34145 Date: Mon Jun 15 23:25:01 2009 +0300
34147 Fix build when builddir is not the same as srcdir
34151 girepository/Makefile.am | 2 +-
34152 1 file changed, 1 insertion(+), 1 deletion(-)
34154 commit 9d9ae97b8a49836ec1f3b8d6529bafe1cc06d4d7
34155 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34156 Date: Mon Jun 15 23:19:47 2009 +0300
34158 Make gio.Emblem constructor new-style
34160 Add optional 'origin' parameter. Expand gio.Emblem documentation and
34161 mark gio.emblem_new_with_origin as sort-of-deprecated.
34163 docs/reference/pygio-emblem.xml | 51
34164 +++++++++++++++++++++++++++++++++++++++--
34165 gio/gio.defs | 5 ++--
34166 2 files changed, 52 insertions(+), 4 deletions(-)
34168 commit 268e1681fd5b46e6412d3a8db84f3f1cb02fdbde
34169 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34170 Date: Sat Jun 13 14:44:47 2009 +0200
34172 Add docs for gio.BufferedOutputStream class
34174 docs/Makefile.am | 96 ++++-----
34175 docs/reference/pygio-bufferedoutputstream.xml | 275
34176 ++++++++++++++++++++++++++
34177 docs/reference/pygio-classes.xml | 1 +
34178 3 files changed, 325 insertions(+), 47 deletions(-)
34180 commit a6e25aaa7c8f27d62f2917b06728d7ccfcd46416
34181 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34182 Date: Sat Jun 13 14:38:34 2009 +0200
34184 Fix gio.BufferedInputStream docs
34186 Added the constructor reference and fixed a typo in properties header
34188 docs/reference/pygio-bufferedinputstream.xml | 34
34189 ++++++++++++++++++++++++++--
34190 1 file changed, 32 insertions(+), 2 deletions(-)
34192 commit a9b13b60a5aad726d7d7dd7fdc5153b1561fb591
34193 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34194 Date: Sat Jun 13 01:25:06 2009 +0200
34196 Add docs for gio.BufferedInputStream
34198 docs/Makefile.am | 2 +
34199 docs/reference/pygio-bufferedinputstream.xml | 431
34200 +++++++++++++++++++++++++++
34201 docs/reference/pygio-classes.xml | 1 +
34202 3 files changed, 434 insertions(+)
34204 commit 7766daa59b0e2b85413cee368bf2ebd2afe198e1
34205 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34206 Date: Sun May 31 18:25:47 2009 +0300
34208 Cleanup GIO overrides to use Python function/method names
34210 Also move several gio.Mount overrides over from 'gio.override' to
34211 existing 'gmount.override'. Part of bug #584289.
34213 gio/gfile.override | 20 ++---
34214 gio/gfileenumerator.override | 6 +-
34215 gio/ginputstream.override | 2 +-
34216 gio/gio.override | 204
34217 -------------------------------------------
34218 gio/gmount.override | 204
34219 +++++++++++++++++++++++++++++++++++++++++++
34220 5 files changed, 218 insertions(+), 218 deletions(-)
34222 commit 07e9c18dc092f6546230168b6b69c1b3454e120a
34223 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34224 Date: Sun May 31 18:56:55 2009 +0300
34226 Make codegen report errors using Python function/method names
34228 Part of bug #584289.
34230 codegen/codegen.py | 9 +++++----
34231 codegen/definitions.py | 10 +++++++++-
34232 2 files changed, 14 insertions(+), 5 deletions(-)
34234 commit 235fde85d015382f2ba38b21968e82b3ac0b6612
34235 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34236 Date: Fri Jun 12 00:12:17 2009 +0200
34238 Fix object type in gio.BufferedInputStream_fill_async
34240 gio/gbufferedinputstream.override | 2 +-
34241 1 file changed, 1 insertion(+), 1 deletion(-)
34243 commit 407b0e909056f15960e6a4e549896d786ce0a0b2
34244 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34245 Date: Tue Jun 9 00:08:21 2009 +0200
34247 Wrap gio.BufferedInputStream.fill_async
34249 Wrap the method gio.BufferedInputStream.fill_async and add a test
34251 gio/Makefile.am | 1 +
34252 gio/gbufferedinputstream.override | 70
34253 +++++++++++++++++++++++++++++++++++++++
34254 gio/gio.override | 1 +
34255 tests/test_gio.py | 25 ++++++++++++++
34256 4 files changed, 97 insertions(+)
34258 commit b7c96b41b287685fe57504e0add3a6f16e649975
34259 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34260 Date: Mon Jun 8 15:42:40 2009 +0200
34262 Add gio.BufferedOutputStream which was forgotten in the types
34265 gio/gio-types.defs | 7 +++++++
34266 1 file changed, 7 insertions(+)
34268 commit 3666f75af4ef2c8e038116aee5afada59d59f689
34269 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34270 Date: Mon Jun 8 14:20:02 2009 +0200
34272 Add docs for gio.MemoryOutputStream
34274 docs/Makefile.am | 2 +
34275 docs/reference/pygio-classes.xml | 1 +
34276 docs/reference/pygio-memoryoutputstream.xml | 175
34277 ++++++++++++++++++++++++++++
34278 3 files changed, 178 insertions(+)
34280 commit 6eb5e3988cbddb4afb3d5747364d6eb80370bb78
34281 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34282 Date: Mon Jun 8 13:30:15 2009 +0200
34284 Split overrides for gio.MemoryOutputStream
34286 gio/Makefile.am | 1 +
34287 gio/gio.override | 1 +
34288 gio/gmemoryoutputstream.override | 45
34289 ++++++++++++++++++++++++++++++++++++++++
34290 gio/goutputstream.override | 24 ---------------------
34291 4 files changed, 47 insertions(+), 24 deletions(-)
34293 commit dfbdf23633a772e78b47b0e7b0c3e3b87855d9ff
34294 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34295 Date: Mon Jun 8 11:45:11 2009 +0200
34297 Wrap gio.memory_input_stream_new_from_data
34299 Add the wrapper for gio.memory_input_stream_new_from_data including
34302 docs/Makefile.am | 4 +-
34303 docs/reference/pygio-classes.xml | 1 +
34304 docs/reference/pygio-memoryinputstream.xml | 151
34305 +++++++++++++++++++++++++++++
34306 gio/Makefile.am | 1 +
34307 gio/ginputstream.override | 34 -------
34308 gio/gio.override | 1 +
34309 gio/gmemoryinputstream.override | 91 +++++++++++++++++
34310 tests/test_gio.py | 4 +
34311 8 files changed, 252 insertions(+), 35 deletions(-)
34313 commit fcc3cb0e167789746a1a9db0cba54ea7a97c7259
34314 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
34315 Date: Mon Jun 8 19:15:24 2009 +0200
34317 Fixes whitespaces style issues with girepository.
34319 girepository/Makefile.am | 2 +-
34320 girepository/bank-repository.c | 67
34321 +++++++++++++++++++++---------------------
34322 girepository/bank.h | 2 +-
34323 girepository/btypes.py | 6 ++--
34324 girepository/module.py | 2 +-
34325 5 files changed, 39 insertions(+), 40 deletions(-)
34327 commit fb4b2c8cdad2853e6bfe9526529e3a3ab052c5e0
34328 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
34329 Date: Fri Jun 5 19:03:59 2009 +0200
34331 Removes the header but the modeline in test_girepository.py.
34333 tests/test_girepository.py | 26 +-------------------------
34334 1 file changed, 1 insertion(+), 25 deletions(-)
34336 commit abe4828f52c7eb3a08f5b592e7ced1e97a58ef5c
34337 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
34338 Date: Wed Jun 3 10:47:58 2009 +0200
34340 Adds overrides modules from PyBank.
34342 girepository/Makefile.am | 3 +++
34343 girepository/importer.py | 3 +--
34344 girepository/overrides/Gdk.py | 14 ++++++++++++++
34345 girepository/overrides/Gtk.py | 8 ++++++++
34346 girepository/overrides/__init__.py | 0
34347 5 files changed, 26 insertions(+), 2 deletions(-)
34349 commit c12964e6a3354d8063355225c94e6d21d621e08b
34350 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
34351 Date: Tue Jun 2 23:40:41 2009 +0200
34353 Disables the tests that fail in tests/test_girepository.py.
34355 tests/test_girepository.py | 242
34356 ++++++++++++++++++++++++++++++++++-----------
34357 1 file changed, 182 insertions(+), 60 deletions(-)
34359 commit a4469a3f7d32a25156bae5e7aef9ec4ae5f6e140
34360 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
34361 Date: Tue Jun 2 23:03:26 2009 +0200
34363 Imports test_girepository.py from former PyBank's
34364 everything_unittest.py.
34366 tests/test_girepository.py | 288
34367 +++++++++++++++++++++++++++++++++++++++++++++
34368 1 file changed, 288 insertions(+)
34370 commit e4f2a5ef8734cf40cf8345d442612db1f6c62d5a
34371 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
34372 Date: Thu May 28 17:45:11 2009 +0200
34374 Introduces the girepository module from the former PyBank.
34378 configure.ac | 12 +
34379 girepository/Makefile.am | 52 ++
34380 girepository/__init__.py | 24 +
34381 girepository/bank-argument.c | 379 +++++++++++++
34382 girepository/bank-info.c | 1194
34383 ++++++++++++++++++++++++++++++++++++++++
34384 girepository/bank-repository.c | 237 ++++++++
34385 girepository/bank.c | 155 ++++++
34386 girepository/bank.h | 80 +++
34387 girepository/btypes.py | 300 ++++++++++
34388 girepository/importer.py | 52 ++
34389 girepository/module.py | 224 ++++++++
34390 girepository/repository.py | 51 ++
34391 14 files changed, 2799 insertions(+), 32 deletions(-)
34393 commit f5ab5046fe9b67ec5e8fc64679e1a3d01787af7e
34394 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34395 Date: Tue Jun 2 18:28:22 2009 +0200
34397 Fix the docs for gio.FilterOutputStream
34399 docs/reference/pygio-filteroutputstream.xml | 6 +++---
34400 1 file changed, 3 insertions(+), 3 deletions(-)
34402 commit fded60d8376fc45d19bf6cd8be6b927cc3f2e8c6
34403 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34404 Date: Tue Jun 2 18:27:00 2009 +0200
34406 Add gio.FilterOutputStream docs
34408 docs/Makefile.am | 2 +
34409 docs/reference/pygio-classes.xml | 1 +
34410 docs/reference/pygio-filteroutputstream.xml | 152
34411 ++++++++++++++++++++++++++++
34412 3 files changed, 155 insertions(+)
34414 commit e2c31f916967229b6547e68013628ce0082cf875
34415 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34416 Date: Tue Jun 2 13:29:59 2009 +0200
34418 Add gio.FilterInputStream docs
34420 docs/Makefile.am | 2 +
34421 docs/reference/pygio-classes.xml | 1 +
34422 docs/reference/pygio-filterinputstream.xml | 152
34423 +++++++++++++++++++++++++++++
34424 3 files changed, 155 insertions(+)
34426 commit 49a467eee445bc75554db0374006722ac075194b
34427 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34428 Date: Tue Jun 2 11:33:20 2009 +0200
34430 Add API appeared in 2.20 but not marked as such in gio docs
34432 gio/gio.defs | 30 ++++++++++++++++++++++++++++++
34433 1 file changed, 30 insertions(+)
34435 commit 180c157f2a20b7d2dd9af05bfb5f515fd23870a0
34436 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34437 Date: Tue Jun 2 10:41:26 2009 +0200
34439 Wrap gio.FileOutputStream.query_info_async
34441 Add the wrapper for gio.FileOutputStream.query_info_async
34442 including docs and a test.
34444 docs/Makefile.am | 2 +
34445 docs/reference/pygio-classes.xml | 1 +
34446 docs/reference/pygio-fileoutputstream.xml | 257
34447 ++++++++++++++++++++++++++++++
34448 gio/Makefile.am | 3 +-
34449 gio/gfileoutputstream.override | 68 ++++++++
34450 gio/gio.override | 1 +
34451 tests/test_gio.py | 27 ++++
34452 7 files changed, 358 insertions(+), 1 deletion(-)
34454 commit 4673577d1f6c3d54423808dd575987092fb05ad2
34455 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34456 Date: Tue Jun 2 10:17:41 2009 +0200
34458 Fix gio.FileInputStream docs
34460 Add implemented interface section and remove a method description
34462 docs/reference/pygio-fileinputstream.xml | 25 +++++++++----------------
34463 1 file changed, 9 insertions(+), 16 deletions(-)
34465 commit 1e1cad02879d514745b5233658654cbe944530a5
34466 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34467 Date: Mon Jun 1 22:54:26 2009 +0200
34469 Fix the method name
34471 gio/gfileinputstream.override | 14 +++++++-------
34472 1 file changed, 7 insertions(+), 7 deletions(-)
34474 commit f605811afe8c91f121e89b6f9ec28c70b62f4110
34475 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34476 Date: Mon Jun 1 22:40:56 2009 +0200
34478 Wrap gio.FileInputStream.query_async
34480 Add the wrapper for gio.FileInputStream.query_async including docs and
34483 docs/Makefile.am | 2 +
34484 docs/reference/pygio-classes.xml | 1 +
34485 docs/reference/pygio-fileinputstream.xml | 221
34486 +++++++++++++++++++++++++++++++
34487 gio/Makefile.am | 1 +
34488 gio/gfileinputstream.override | 68 ++++++++++
34489 gio/gio.override | 1 +
34490 tests/test_gio.py | 27 ++++
34491 7 files changed, 321 insertions(+)
34493 commit 08623e54a426377c1504b5c364aabae5a17f8ad8
34494 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34495 Date: Sun May 31 17:43:16 2009 +0300
34497 Install executable codegen parts with executing permissions
34499 Also add shebang where it was missing. Bug #583979.
34501 codegen/Makefile.am | 23 ++++++++++++-----------
34502 codegen/code-coverage.py | 2 ++
34503 codegen/codegen.py | 2 ++
34504 codegen/createdefs.py | 0
34505 codegen/defsconvert.py | 2 ++
34506 codegen/defsgen.py | 0
34507 codegen/docgen.py | 0
34508 codegen/scmexpr.py | 0
34509 8 files changed, 18 insertions(+), 11 deletions(-)
34511 commit 833d4da202bcfcb01a414f8aec4b751ec8e1ccb2
34512 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34513 Date: Sat May 30 16:57:49 2009 +0300
34515 Wrap gio.DataInputStream.read_line_async and read_until_async
34517 Wrap the functions and their corresponding *_finish() functions.
34518 Create 'gdatainputstream.override' for these and move two existing
34519 functions there. Add unit tests. Re-enable synchronous read_line
34520 unit test and adjust it for new official GIO behavior. Bug #584285.
34522 gio/Makefile.am | 1 +
34523 gio/gdatainputstream.override | 250
34524 ++++++++++++++++++++++++++++++++++++++++++
34525 gio/ginputstream.override | 65 -----------
34526 gio/gio.defs | 4 +-
34527 gio/gio.override | 1 +
34528 tests/test_gio.py | 51 ++++++++-
34529 6 files changed, 300 insertions(+), 72 deletions(-)
34531 commit 2cb569c0ced49f9ed5ca83292d5f15c837066688
34532 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34533 Date: Sat May 30 17:24:15 2009 +0300
34535 Fix gio.OutputStream.splice_async
34539 gio/goutputstream.override | 8 ++++----
34540 1 file changed, 4 insertions(+), 4 deletions(-)
34542 commit e43fa429f6b4019a432acb481bbc07c8201cc46d
34543 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34544 Date: Wed May 27 21:19:27 2009 +0300
34546 Code maintenance: ignore one more file created by unit tests
34548 tests/.gitignore | 1 +
34549 1 file changed, 1 insertion(+)
34551 commit 76e9dc74ac706a9207f9d31f887d6e38df2a678f
34552 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34553 Date: Mon May 25 20:20:38 2009 +0200
34555 Update the docs with new 2.20 API
34557 docs/reference/pygio-appinfo.xml | 115 +++++++++++++++++++++++++++++
34558 docs/reference/pygio-icon.xml | 99 ++++++++++++++++++++++++-
34559 docs/reference/pygio-mount.xml | 156
34560 +++++++++++++++++++++++++++++++++++++++
34561 3 files changed, 367 insertions(+), 3 deletions(-)
34563 commit 8e40d71ac23deb7d91789486ee8cad440a6be1dd
34564 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34565 Date: Mon May 25 01:33:08 2009 +0200
34569 add the new API added in gio 2.20, some needs to be wrapped manually
34572 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
34573 gio/unix.defs | 48 +++++++++++++++++++++-----
34574 2 files changed, 146 insertions(+), 8 deletions(-)
34576 commit 0d08df42514fba6abc896814abfee0d2d083c29e
34577 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34578 Date: Mon May 25 00:14:21 2009 +0200
34580 Post release version bump 2.19.0
34582 configure.ac | 2 +-
34583 1 file changed, 1 insertion(+), 1 deletion(-)
34585 commit edfb09e3de7baf294b3beba84b4ecb94e1f16764
34586 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34587 Date: Sun May 24 23:56:29 2009 +0200
34589 Update NEWS, release 2.18.0
34591 NEWS | 14 ++++++++++++++
34592 configure.ac | 4 ++--
34593 2 files changed, 16 insertions(+), 2 deletions(-)
34595 commit e0648ea435e0b309cdd5bb0ebe56d4534efd26e4
34596 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34597 Date: Sun May 24 22:18:40 2009 +0200
34599 Add documentation for the gio.OutputStream class
34601 The docs for this class are not completed, missing methods
34603 The index is complete though, it will be completed once all the
34605 are in place so we can ship a (almost) complete reference.
34607 docs/Makefile.am | 2 +
34608 docs/reference/pygio-classes.xml | 3 +-
34609 docs/reference/pygio-outputstream.xml | 140
34610 ++++++++++++++++++++++++++++++++++
34611 3 files changed, 144 insertions(+), 1 deletion(-)
34613 commit 11524cdf6472d9115a812ce431f6767aec5627bc
34614 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34615 Date: Sun May 24 22:12:04 2009 +0200
34617 Wrap gio.OutputStream.splice_async()
34619 wrap gio.OutputStream.splice_async() and add a test.
34621 gio/goutputstream.override | 58
34622 +++++++++++++++++++++++++++++++++++++++++++++-
34623 tests/test_gio.py | 20 ++++++++++++++++
34624 2 files changed, 77 insertions(+), 1 deletion(-)
34626 commit 82ad6b8c8ea4d6694126f5e0e67b826717e38f19
34627 Author: Emilio Pozuelo Monfort <pochu@ubuntu.com>
34628 Date: Sun May 24 22:55:16 2009 +0300
34630 Add Python version into installed libpyglib name
34632 Do this now, while no-one (as far as we know) links to the library
34633 besides PyGObject itself. Bug #550235.
34635 configure.ac | 2 ++
34636 gio/Makefile.am | 2 +-
34637 glib/Makefile.am | 10 +++++-----
34638 gobject/Makefile.am | 2 +-
34639 4 files changed, 9 insertions(+), 7 deletions(-)
34641 commit 59da8cd24ea390b6c983995833ec6b0e5d028b35
34642 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34643 Date: Sun May 24 11:44:24 2009 +0200
34645 Wrap gio.OutputStream.flush_async()
34647 wrap gio.OutputStream.flush_async() and add a test.
34649 gio/goutputstream.override | 47
34650 +++++++++++++++++++++++++++++++++++++++++++++-
34651 tests/test_gio.py | 11 +++++++++++
34652 2 files changed, 57 insertions(+), 1 deletion(-)
34654 commit 84ab6178ed0033f69932df5bc73c86bdff80c953
34655 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34656 Date: Sun May 17 17:29:37 2009 +0200
34658 Add documentation for the gio.FileMonitor class
34660 The docs for this class are not completed, missing methods
34662 The index is complete though, it will be completed once all the
34664 are in place so we can ship a (almost) complete reference.
34666 docs/Makefile.am | 2 +
34667 docs/reference/pygio-classes.xml | 1 +
34668 docs/reference/pygio-filemonitor.xml | 128
34669 +++++++++++++++++++++++++++++++++++
34670 3 files changed, 131 insertions(+)
34672 commit 629496a5617d30e4dfa494b05a62c85a6af77b9a
34673 Author: Josselin Mouette <joss@malsain.org>
34674 Date: Sun May 17 18:03:44 2009 +0300
34676 Use 'Requires.private' for libffi in '.pc' files
34678 Correction for patch in bug #550231.
34680 pygobject-2.0-uninstalled.pc.in | 3 ++-
34681 pygobject-2.0.pc.in | 3 ++-
34682 2 files changed, 4 insertions(+), 2 deletions(-)
34684 commit 90cd8b7c4a25cd2ecb751f8337b401c98538272b
34685 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34686 Date: Wed May 13 21:54:39 2009 +0200
34688 Add wrapper for gio.FileAttributeMatcher
34690 added a boxed type for gio.FileAttributeMatcher which has been
34692 wrapping the gio API. This should probably be done in gio itself.
34694 gio/gfileinfo.override | 24 ++++++++++++++++++++++--
34695 gio/gio-types.defs | 7 +++++++
34696 gio/gio.override | 2 ++
34697 3 files changed, 31 insertions(+), 2 deletions(-)
34699 commit e707447d9313f2f2ecba395cfe3682d5a5e859f4
34700 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34701 Date: Wed May 13 22:06:25 2009 +0300
34703 Mark relevant glib.IOChannel methods as METH_NOARGS
34705 Additionally fix glib.IOChannel.set_close_on_unref: was marked
34706 METH_NOARGS but actually accepted arguments. Fixes bug #582427.
34708 glib/pygiochannel.c | 83
34709 +++++++++++++----------------------------------------
34710 1 file changed, 20 insertions(+), 63 deletions(-)
34712 commit 002915e5f458fec5a89766a54e8119a70a80caa7
34713 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34714 Date: Tue May 12 20:37:24 2009 +0200
34716 Add documentation for the gio.FileInfo class
34718 The docs for this class are not completed, missing methods
34720 The index is complete though, it will be completed once all the
34722 are in place so we can ship a (almost) complete reference.
34724 docs/Makefile.am | 2 +
34725 docs/reference/pygio-classes.xml | 1 +
34726 docs/reference/pygio-fileinfo.xml | 346
34727 ++++++++++++++++++++++++++++++++++++++
34728 3 files changed, 349 insertions(+)
34730 commit 8cd25c871609580425c6c4c9e5bc6ec8d40862a1
34731 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34732 Date: Sat May 9 16:46:04 2009 +0300
34734 Retire hand-written ChangeLog; autocreate from Git history
34736 Basically copied over from GLib source tree.
34738 ChangeLog => ChangeLog.pre-2.18 | 2 ++
34739 Makefile.am | 32 ++++++++++++++++++++++++++++++++
34740 2 files changed, 34 insertions(+)
34742 commit 23556bdbcf9cf06db866901fb822dd78a9043648
34743 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34744 Date: Sat May 9 00:03:05 2009 +0200
34746 Fix a bug in InputStream.skip_async
34748 use the count argument instead of buffer_size which is always zero
34750 gio/ginputstream.override | 3 ++-
34751 1 file changed, 2 insertions(+), 1 deletion(-)
34753 commit ed6b06315c17441b41c001d38537c904b8fe18de
34754 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34755 Date: Sat May 9 00:02:33 2009 +0200
34757 Add docs for the gio.InputStream class
34759 docs/Makefile.am | 2 +
34760 docs/reference/pygio-classes.xml | 1 +
34761 docs/reference/pygio-inputstream.xml | 730
34762 +++++++++++++++++++++++++++++++++++
34763 3 files changed, 733 insertions(+)
34765 commit d58322b84d47da7905f95b43e9e0daf9f7c4b507
34766 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34767 Date: Mon May 4 23:40:28 2009 +0200
34769 Wrap gio.InputStream.skip_async()
34771 wrap gio.InputStream.skip_async() and add a test.
34773 gio/ginputstream.override | 50
34774 ++++++++++++++++++++++++++++++++++++++++++++++-
34775 tests/test_gio.py | 20 +++++++++++++++++++
34776 2 files changed, 69 insertions(+), 1 deletion(-)
34778 commit 2311187824d1b48a996ee2620fd3c9a63e3edd66
34779 Author: Siavash Safi <siavash@siavashs.org>
34780 Date: Mon May 4 15:46:49 2009 +0430
34782 Add -n --namespace option and the code to remove
34783 dll API in headers, Added documentation
34785 Patch from bug #579275
34788 codegen/h2def.py | 133
34789 +++++++++++++++++++++++++++++++++++++++++++++----------
34790 2 files changed, 117 insertions(+), 24 deletions(-)
34792 commit 442ec5bb997bb7dab55baeea6e54e79d3ce0d3c1
34793 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34794 Date: Sat May 2 23:54:52 2009 +0300
34796 Properly mark glib.get_user_special_dir() as a keywords method
34800 glib/glibmodule.c | 2 +-
34801 1 file changed, 1 insertion(+), 1 deletion(-)
34803 commit f466dca880cc6ea68b9fe236943eea7a07d33520
34804 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34805 Date: Sun May 3 11:03:25 2009 +0200
34807 Add docs for the gio.LoadableIcon class
34809 docs/Makefile.am | 2 +
34810 docs/reference/pygio-classes.xml | 1 +
34811 docs/reference/pygio-loadableicon.xml | 198
34812 ++++++++++++++++++++++++++++++++++
34813 3 files changed, 201 insertions(+)
34815 commit eab4ebf7f6c82580b61205f34e1cfe535aeada60
34816 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34817 Date: Sun May 3 01:21:55 2009 +0200
34819 Add docs for the gio.ThemedIcon class
34821 docs/Makefile.am | 2 +
34822 docs/reference/pygio-classes.xml | 1 +
34823 docs/reference/pygio-themedicon.xml | 204
34824 ++++++++++++++++++++++++++++++++++++
34825 3 files changed, 207 insertions(+)
34827 commit 22d7de8b620055f14b30f9c3c99160c8b4ebe672
34828 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34829 Date: Sat May 2 12:25:19 2009 +0200
34831 post release version bump to 2.17.1
34833 configure.ac | 2 +-
34834 1 file changed, 1 insertion(+), 1 deletion(-)
34836 commit 282ac3c76e1e3513bd76f819f320ec56aba15d9e
34837 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34838 Date: Fri May 1 23:40:31 2009 +0200
34840 Fix the class title
34842 docs/reference/pygio-mountoperation.xml | 2 +-
34843 1 file changed, 1 insertion(+), 1 deletion(-)
34845 commit d8b70dec1e5c09b73ae277f4f5b246315841fb8e
34846 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34847 Date: Fri May 1 22:24:33 2009 +0200
34849 Add docs for the gio.MountOperation class
34851 docs/Makefile.am | 2 +
34852 docs/reference/pygio-classes.xml | 1 +
34853 docs/reference/pygio-constants.xml | 107 +++++
34854 docs/reference/pygio-mountoperation.xml | 726
34855 ++++++++++++++++++++++++++++++++
34856 4 files changed, 836 insertions(+)
34858 commit fceea8e843e880f0469e454df23141e7dd2bc0cf
34859 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34860 Date: Thu Apr 30 22:13:06 2009 +0200
34862 Update NEWS, release 2.17.0
34865 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
34866 1 file changed, 93 insertions(+)
34868 commit 47389217d1a65a8e3f404d486c508cf5d3164756
34869 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34870 Date: Thu Apr 30 22:47:19 2009 +0300
34872 Fix memory leak in gio.File.query_info_async()
34874 After the recent patch it would leak exception data if old argument
34875 order was used. Properly decref the objects.
34877 gio/gfile.override | 4 ++++
34878 1 file changed, 4 insertions(+)