1 commit 7ccc164b6da6d87c0a200ea50314d213470a1f18
2 Author: Christoph Reiter <creiter@src.gnome.org>
3 Date: Sat Sep 3 20:02:13 2016 +0200
5 Handle nullable filename parameters
7 Make _pygi_marshal_from_py_filename handle None input
8 values. This allows one to pass None to parameters
9 annotated as nullable filenames.
11 This fixes a test suite error in test_spawn_async_with_pipes
12 triggered by an annotation change in glib.
14 https://bugzilla.gnome.org/show_bug.cgi?id=770821
16 gi/pygi-basictype.c | 5 +++++
17 tests/gimarshallingtestsextra.c | 22 ++++++++++++++++++++++
18 tests/gimarshallingtestsextra.h | 3 +++
19 tests/test_gi.py | 4 ++++
20 4 files changed, 34 insertions(+)
22 commit f4d858c069f06e7060a0bb067c29f5bffb7869ee
23 Author: Aurelien Jarno <aurelien@aurel32.net>
24 Date: Wed Aug 31 22:16:06 2016 +0200
26 Fix list/hashtable enum <-> hash conversion on 64-bit big endian
28 glist and ghashtable objects both store pointers. Complex objects are
29 stored as pointers to the objects, but simpler objects like an integer
30 value are stored directly as a pointer, using for example the
31 GINT_TO_POINTER and GPOINTER_TO_INT macros.
33 This is done in pygobject with the _pygi_hash_pointer_to_arg and
34 _pygi_arg_to_hash_pointer functions. These functions handle the
36 type of objects. However they consider that an enum, represented
38 GI_TYPE_TAG_INTERFACE type (extended interface object), are always a
39 pointer. This is wrong as it is often a 32-bit value. Therefore
41 big endian machines, the value is handle with the 2 32-bit parts
44 This patches fixes that by changing the second argument of both
46 from GITypeTag to GITypeInfo. This way the interface can be
48 and the underlying storage type can also be determined. This currently
49 only handles enum and flags, leaving other types as pointers. The
51 also adds two tests in the testsuite, one for each direction.
53 https://bugzilla.gnome.org/show_bug.cgi?id=770608
55 gi/pygi-argument.c | 33 +++++++++++++++++++++++++++++----
56 gi/pygi-argument.h | 4 ++--
57 gi/pygi-hashtable.c | 8 ++++----
58 gi/pygi-list.c | 8 ++++----
59 tests/gimarshallingtestsextra.c | 33 +++++++++++++++++++++++++++++++++
60 tests/gimarshallingtestsextra.h | 10 ++++++++++
61 tests/test_gi.py | 11 +++++++++++
62 7 files changed, 93 insertions(+), 14 deletions(-)
64 commit 1cb6c470e9d297afda21b73efaccb0b95e519b5d
65 Author: Lukas K <lu@0x83.eu>
66 Date: Fri May 13 21:30:47 2016 +0200
68 Allow passing sockets to io_add_watch on win32
70 https://bugzilla.gnome.org/show_bug.cgi?id=766396
72 gi/overrides/GLib.py | 4 ++++
73 1 file changed, 4 insertions(+)
75 commit 4617c39ca212f0da82af1a9989c912bcdfe1158b
76 Author: Michael Biebl <biebl@debian.org>
77 Date: Sat Sep 3 16:46:40 2016 +0200
79 tests: use dbus-run-session instead of dbus-launch to run tests
81 The use of dbus-launch is deprecated by dbus upstream.
82 See https://lists.debian.org/debian-devel/2016/08/msg00554.html
86 So use dbus-run-session instead, which was specifically designed to be
87 used for such cases, like running test-suites.
89 See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836049.
91 https://bugzilla.gnome.org/show_bug.cgi?id=770798
93 tests/Makefile.am | 7 ++-----
94 1 file changed, 2 insertions(+), 5 deletions(-)
96 commit 4b9185250d73c38231d90b53974d0d2912a02972
97 Author: Christoph Reiter <creiter@src.gnome.org>
98 Date: Thu Aug 25 16:57:11 2016 +0200
100 configure.ac: post-release version bump to 3.21.92
103 1 file changed, 1 insertion(+), 1 deletion(-)
105 commit 2f98ecc4df9e0feaab78ba289956f469e36c7d76
106 Author: Christoph Reiter <creiter@src.gnome.org>
107 Date: Thu Aug 25 16:51:39 2016 +0200
111 NEWS | 13 +++++++++++++
112 1 file changed, 13 insertions(+)
114 commit 91abec259ed0c387ab69762ff92142b08327d00a
115 Author: Christoph Reiter <creiter@src.gnome.org>
116 Date: Thu Aug 25 16:50:56 2016 +0200
118 configure.ac: version bump to 3.21.91
121 1 file changed, 1 insertion(+), 1 deletion(-)
123 commit f65bb1fc8f7f6172970545412fe56ab75f57904b
124 Author: Mathieu Bridon <bochecha@daitauha.fr>
125 Date: Thu Jun 23 22:35:42 2016 +0200
127 Allow installing with pip
129 This commit adds a setup.py file which just calls the autotools to
130 configure/make/make install.
132 It is heavily inspired by the similar work from Simon McVittie on
135 https://bugzilla.gnome.org/show_bug.cgi?id=767988
140 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
141 3 files changed, 110 insertions(+), 1 deletion(-)
143 commit 14626ee5dcf380ae94680626607742a8cc048351
144 Author: Christoph Reiter <creiter@src.gnome.org>
145 Date: Mon Jun 6 20:08:18 2016 +0200
147 Skip a test with older glib
149 https://bugzilla.gnome.org/show_bug.cgi?id=740301
151 tests/test_docstring.py | 4 ++++
152 1 file changed, 4 insertions(+)
154 commit a12f7027adeb57fe1c0142c86d34d5ec8f6b6d9e
155 Author: Christoph Reiter <creiter@src.gnome.org>
156 Date: Mon Jun 6 20:13:29 2016 +0200
158 Fix a test with Python 3.1/3.2
160 Fix Python version check in
161 TestImporter.test_invalid_repository_module_name()
162 to avoid failure with Python 3.1 and 3.2.
164 Fix provided by Arfrever Frehtes Taifersar Arahesis at
165 https://bugzilla.gnome.org/show_bug.cgi?id=740324#c1
167 https://bugzilla.gnome.org/show_bug.cgi?id=740324
169 tests/test_import_machinery.py | 4 ++--
170 1 file changed, 2 insertions(+), 2 deletions(-)
172 commit f5cf74f3b8d285de3591d89c6f3b4b8d59bde35e
173 Author: Christoph Reiter <creiter@src.gnome.org>
174 Date: Mon Jun 6 20:45:22 2016 +0200
176 tests: Use places kwarg for assertAlmostEqual
178 Always pass 'places' argument of TestCase.assertAlmostEqual
181 Fix by Arfrever Frehtes Taifersar Arahesis
182 https://bugzilla.gnome.org/show_bug.cgi?id=740337#c1
184 https://bugzilla.gnome.org/show_bug.cgi?id=740337
186 tests/test_properties.py | 6 +++---
187 tests/test_signal.py | 4 ++--
188 2 files changed, 5 insertions(+), 5 deletions(-)
190 commit e0b40099283a31ea23433f9d36dc9beebd4370c9
191 Author: Christoph Reiter <creiter@src.gnome.org>
192 Date: Mon Jun 6 11:34:47 2016 +0200
194 Print exception if marshalling a signal argument fails
196 For example if cairo support is missing a Gtk.Widget::draw call
198 "TypeError: Couldn't find foreign struct converter for
201 https://bugzilla.gnome.org/show_bug.cgi?id=748198
203 gi/pygi-signal-closure.c | 1 +
204 1 file changed, 1 insertion(+)
206 commit 76e2e30bc586016eba8bcfdd753dc1f4672dced7
207 Author: Marinus Schraal <mschraal@src.gnome.org>
208 Date: Fri May 20 01:26:27 2016 +0200
210 overrides: allow treemodel sequence shorthands
212 Add get_ and set_ overrides for sequences of GtkTreeModel
214 allows an arbitray list of indices to be retrieved or written in
216 from or to a GtkTreeModel row:
218 model[0][0, 1] = [True, "Hello"]
219 [foo, bar] = model[0][2, 7]
221 https://bugzilla.gnome.org/show_bug.cgi?id=766580
223 gi/overrides/Gtk.py | 15 +++++++++++++--
224 tests/test_overrides_gtk.py | 46
225 +++++++++++++++++++++++++++++++++++++++++++++
226 2 files changed, 59 insertions(+), 2 deletions(-)
228 commit ff1a6f0f00e042c5addfa42231ec8927ebf1a1a6
229 Author: Christoph Reiter <creiter@src.gnome.org>
230 Date: Tue May 31 19:26:00 2016 +0200
232 Remove pygobject-external.h
234 It's not used any more
236 https://bugzilla.gnome.org/show_bug.cgi?id=767084
239 gi/pygobject-external.h | 73
240 -------------------------------------------------
241 2 files changed, 74 deletions(-)
243 commit f5dd1551371308d33df9627bc8cc0e34fa68a2a8
244 Author: Christoph Reiter <creiter@src.gnome.org>
245 Date: Tue May 31 18:47:54 2016 +0200
247 Remove pygobject-private.h and rename pygobject.c to
250 Move all the random declarations in pygobject-private.h to their
251 respective header files. Rename pygobject.c to pygobject-object.c
252 so it's clearer that it's not the implementation of pygobject.h.
253 Add a new pygobject-internal.h which includes pygobject.h
254 with _INSIDE_PYGOBJECT_ defined like pygobject-private.h did.
256 In case you are looking at the git log and end up here due to the
259 git log --follow pygobject-object.c
261 or on the web interface go to the history of the old file name:
263 https://git.gnome.org/browse/pygobject/log/gi/pygobject.c?id=6b702c052e9f26e809cff494f0c896d17a514c64
265 https://bugzilla.gnome.org/show_bug.cgi?id=767084
267 gi/Makefile.am | 7 +-
268 gi/gimodule.c | 10 +-
269 gi/gobjectmodule.c | 56 +---------
270 gi/gobjectmodule.h | 11 ++
272 gi/pygboxed.h | 11 ++
274 gi/pygenum.h | 22 ++++
276 gi/pygflags.h | 21 ++++
277 gi/pygi-argument.c | 4 +-
278 gi/pygi-basictype.c | 2 +-
279 gi/pygi-boxed.c | 3 +-
280 gi/pygi-boxed.h | 2 +-
281 gi/pygi-cache.c | 1 +
282 gi/pygi-ccallback.c | 1 -
283 gi/pygi-enum-marshal.c | 3 +-
284 gi/pygi-foreign.c | 2 +-
285 gi/pygi-info.c | 2 +-
286 gi/pygi-object.c | 2 +-
287 gi/pygi-property.c | 1 +
288 gi/pygi-property.h | 2 +-
289 gi/pygi-signal-closure.h | 2 +-
290 gi/pygi-source.c | 3 +-
291 gi/pygi-struct-marshal.c | 3 +
292 gi/pygi-struct.c | 3 +-
293 gi/pygi-struct.h | 2 +-
294 gi/pygi-type.c | 2 +-
295 gi/pygi-util.c | 42 ++++++++
296 gi/pygi-util.h | 6 ++
297 gi/pygi-value.c | 6 +-
298 gi/pyginterface.c | 3 +-
299 gi/pygobject-internal.h | 7 ++
300 gi/{pygobject.c => pygobject-object.c} | 27 ++++-
301 gi/pygobject-object.h | 56 ++++++++++
302 gi/pygobject-private.h | 186
303 ---------------------------------
304 gi/pygparamspec.c | 5 +-
305 gi/pygpointer.c | 3 +-
306 gi/pygpointer.h | 8 ++
307 gi/pygtype.c | 27 ++---
308 gi/pygtype.h | 25 +++++
309 41 files changed, 305 insertions(+), 286 deletions(-)
311 commit ef7a6dad8cea6a3b9547cfae00bf15ebb9eb756e
312 Author: Christoph Reiter <creiter@src.gnome.org>
313 Date: Tue May 31 15:44:36 2016 +0200
315 Merge pyglib-private.h into pyglib.h
317 No need for another header
319 https://bugzilla.gnome.org/show_bug.cgi?id=767084
323 gi/glibmodule.c | 1 -
324 gi/pygi-resulttuple.c | 2 +-
325 gi/pygi-source.c | 1 -
326 gi/pyglib-private.h | 40 ----------------------------------------
328 gi/pyglib.h | 6 ++++++
329 gi/pygoptioncontext.c | 1 -
330 gi/pygoptiongroup.c | 1 -
332 11 files changed, 8 insertions(+), 49 deletions(-)
334 commit e1e05fb027c328ef41be0ba6d99883d2d7983f70
335 Author: Christoph Reiter <creiter@src.gnome.org>
336 Date: Tue May 31 15:31:38 2016 +0200
338 Remove pygi.h and pygi-private.h
340 Instead include things where needed.
342 https://bugzilla.gnome.org/show_bug.cgi?id=767084
344 gi/Makefile.am | 3 +-
345 gi/gimodule.c | 11 ++++-
349 gi/pygi-argument.c | 17 ++++++--
350 gi/pygi-array.c | 3 +-
351 gi/pygi-basictype.c | 2 +-
352 gi/pygi-boxed.c | 3 +-
353 gi/pygi-boxed.h | 8 ++++
354 gi/pygi-cache.c | 2 +
355 gi/pygi-ccallback.c | 2 +-
356 gi/pygi-ccallback.h | 11 +++++
357 gi/pygi-closure.c | 5 ++-
358 gi/pygi-enum-marshal.c | 3 +-
359 gi/pygi-error.c | 2 +-
360 gi/pygi-hashtable.c | 2 +-
361 gi/pygi-info.c | 6 ++-
362 gi/pygi-info.h | 22 ++++++++++
363 gi/pygi-invoke.c | 5 +++
364 gi/pygi-invoke.h | 2 +-
365 gi/pygi-list.c | 2 +-
366 gi/pygi-marshal-cleanup.c | 8 ++--
367 gi/pygi-marshal-cleanup.h | 4 +-
368 gi/pygi-object.c | 2 +-
369 gi/pygi-property.c | 3 +-
370 gi/pygi-property.h | 2 +-
371 gi/pygi-repository.c | 3 +-
372 gi/pygi-repository.h | 6 +++
373 gi/pygi-signal-closure.c | 4 +-
374 gi/pygi-signal-closure.h | 3 +-
375 gi/pygi-source.c | 4 +-
376 gi/pygi-struct-marshal.c | 6 ++-
377 gi/pygi-struct.c | 5 ++-
378 gi/pygi-struct.h | 6 +++
379 gi/pygi-type.c | 3 +-
380 gi/{pygi-private.h => pygi-util.h} | 47 ++--------------------
382 --------------------------------------
383 gi/pygobject.c | 3 +-
384 gi/pygpointer.c | 1 -
385 40 files changed, 146 insertions(+), 164 deletions(-)
387 commit c86424c73725610ac2ef832c1fa41a777f9a5efa
388 Author: Simon Feltman <sfeltman@src.gnome.org>
389 Date: Sun Apr 24 21:27:59 2016 -0700
391 configure.ac: post-release version bump to 3.21.1
394 1 file changed, 1 insertion(+), 1 deletion(-)
396 commit febd211b6628a8f63d92ae011d68b845e9fe6ec8
397 Author: Simon Feltman <sfeltman@src.gnome.org>
398 Date: Sun Apr 24 21:19:39 2016 -0700
403 1 file changed, 7 insertions(+)
405 commit 1bb267f1755b2ec314c751b27931cbe7032f3c36
406 Author: Dustin Falgout <dustin@falgout.us>
407 Date: Sun Mar 20 03:21:02 2016 -0500
409 gi: Add require_versions() function
411 Adds a new function that accepts a dict of one or more namespace,
413 pairs through which it iterates and calls `gi.require_version()`
414 for each pair. Also adds a test for the new function.
416 https://bugzilla.gnome.org/show_bug.cgi?id=761141
418 gi/__init__.py | 33 +++++++++++++++++++++++++++++++++
419 tests/test_import_machinery.py | 6 ++++++
420 2 files changed, 39 insertions(+)
422 commit b3f897b98c5a2c59ea34a8afcce0448b1ffb0731
423 Author: Iain Lane <iain@orangesquash.org.uk>
424 Date: Thu Mar 24 18:04:40 2016 +0000
426 test_gerror_novalue: Don't assign the error to a variable
428 Otherwise the build fails with:
430 CHECK Pyflakes examples gi tests pygtkcompat
431 tests/test_gobject.py:689: local variable 'error' is assigned to
434 https://bugzilla.gnome.org/show_bug.cgi?id=764165
436 tests/test_gobject.py | 2 +-
437 1 file changed, 1 insertion(+), 1 deletion(-)
439 commit 6ff29c91dfdbcc3203405da0aca8dbfa318d8b32
440 Author: Emmanuele Bassi <ebassi@gnome.org>
441 Date: Wed Mar 23 13:59:53 2016 +0000
443 build: Do not enable code coverage based on lcov
445 Code coverage turns on various slow paths and disables
447 should be, and it usually is, an opt in configuration flag.
449 Enabling it should not be conditional on the existence of the lcov
450 binary on the system, otherwise anybody building PyGObject from Git on
451 any moderately complete development environment will automatically
452 enable code coverage even when not wanted.
454 https://bugzilla.gnome.org/show_bug.cgi?id=764075
456 autogen.sh | 10 +---------
457 1 file changed, 1 insertion(+), 9 deletions(-)
459 commit c2a66daf3ac62e3e97f8d7fe16afccf37f413305
460 Author: Simon Feltman <sfeltman@src.gnome.org>
461 Date: Mon Mar 21 21:00:37 2016 -0700
463 configure.ac: post-release version bump to 3.21.0
466 1 file changed, 1 insertion(+), 1 deletion(-)
468 commit ce3034544f126f196cad57485f126f1246cd1acf
469 Author: Simon Feltman <sfeltman@src.gnome.org>
470 Date: Mon Mar 21 20:34:50 2016 -0700
475 1 file changed, 2 insertions(+)
477 commit eee366401383f92a2b2b233b2cd0db2ad50b6cb2
478 Author: Simon Feltman <sfeltman@src.gnome.org>
479 Date: Mon Mar 21 20:33:13 2016 -0700
481 configure.ac: pre-release version bump to 3.20.0
483 configure.ac | 4 ++--
484 1 file changed, 2 insertions(+), 2 deletions(-)
486 commit f4401234cdc9be784eea9347fec349e7cba0a153
487 Author: Simon Feltman <sfeltman@src.gnome.org>
488 Date: Tue Mar 15 22:56:10 2016 -0700
493 1 file changed, 2 insertions(+)
495 commit 3d8860c2d0a95cff38f7eaa65c38521654a162ae
496 Author: Simon Feltman <sfeltman@src.gnome.org>
497 Date: Tue Mar 1 22:10:21 2016 -0800
499 post-release version bump to 3.19.92
502 1 file changed, 1 insertion(+), 1 deletion(-)
504 commit a4865ef2f8c70b93f84f93236786c65ad5f973af
505 Author: Simon Feltman <sfeltman@src.gnome.org>
506 Date: Tue Mar 1 21:46:21 2016 -0800
510 NEWS | 11 +++++++++++
511 1 file changed, 11 insertions(+)
513 commit cc75f994a07639b9ffcc6afef757768780a076de
514 Author: Thibault Saunier <tsaunier@gnome.org>
515 Date: Fri Feb 5 15:00:10 2016 +0100
517 tests: check passing Boxed type in GValue as function parameters
519 https://bugzilla.gnome.org/show_bug.cgi?id=761592
521 tests/Makefile.am | 13 +++++++++++--
522 tests/gimarshallingtestsextra.c | 37
523 +++++++++++++++++++++++++++++++++++++
524 tests/gimarshallingtestsextra.h | 26 ++++++++++++++++++++++++++
525 tests/test_error.py | 6 ++++++
526 4 files changed, 80 insertions(+), 2 deletions(-)
528 commit 5f4b08f4e8a98046eab71537c7827edde2ca8742
529 Author: Simon Feltman <sfeltman@src.gnome.org>
530 Date: Mon Feb 29 22:50:32 2016 -0800
532 gerror: Add special case marshaling for boxing GErrors
534 Transfer gtype from introspection GError class to Python GError
536 Expose the PyGError pointer as an extern so other C files can pick
538 Add custom to/from GValue marshalers for GError.
539 Add tests for both complete and incomplete (no boxed pointer held).
541 https://bugzilla.gnome.org/show_bug.cgi?id=761592
543 gi/overrides/GLib.py | 1 +
544 gi/pygi-error.c | 32 +++++++++++++++++++++++++++++++-
545 gi/pygi-error.h | 2 ++
546 gi/pygi-value.c | 1 +
547 tests/test_gobject.py | 17 +++++++++++++++++
548 5 files changed, 52 insertions(+), 1 deletion(-)
550 commit cfca1457c39e3c4c7ef97e7b46a73c19e5adf305
551 Author: Simon Feltman <sfeltman@src.gnome.org>
552 Date: Sun Feb 28 01:39:31 2016 -0800
554 gerror: Add support for marshaling GError from Python to C
556 Refactor pygi_gerror_exception_check() to use a new broken out
558 pygi_error_marshal_from_py(). This allows re-use for argument
560 of a Python GError to a C GError.
561 Remove PYGI_META_ARG_TYPE_CHILD setting for GError out argument
563 This was incorrect since GError exception arguments are not specified
564 explicitly and instead uses the "throws" option.
566 https://bugzilla.gnome.org/show_bug.cgi?id=685197
568 gi/pygi-error.c | 132
569 +++++++++++++++++++++++++++++--------------
570 gi/pygi-error.h | 3 +
571 tests/test_overrides_glib.py | 30 ++++++++++
572 3 files changed, 123 insertions(+), 42 deletions(-)
574 commit 2fc1a689a81614649d042965997f4546b0a58ada
575 Author: Simon Feltman <sfeltman@src.gnome.org>
576 Date: Sat Feb 27 17:21:53 2016 -0800
578 gerror: Add "_to_py" suffix to pygi_error_marshal
580 This will allow for the a pygi_error_marshal_from_py function.
582 https://bugzilla.gnome.org/show_bug.cgi?id=685197
584 gi/pygi-error.c | 8 ++++----
585 gi/pygi-error.h | 2 +-
586 2 files changed, 5 insertions(+), 5 deletions(-)
588 commit 7e29227b6f58cfcc96118a4af83658ca1a6fa1f4
589 Author: Christoph Reiter <creiter@src.gnome.org>
590 Date: Sat Jul 4 22:09:46 2015 +0200
592 Some error handling/reporting fixes.
594 * Check in pyg_boxed_new() if the passed type is an actual subclass
595 * Don't replace existing exceptions in pyg_value_as_pyobject()
596 * Print an error in pyg_closure_marshal() in case marshalling
599 https://bugzilla.gnome.org/show_bug.cgi?id=751956
601 gi/pygboxed.c | 8 +++++++-
602 gi/pygi-value.c | 15 ++++++++++-----
603 gi/pygtype.c | 11 ++++++++++-
604 3 files changed, 27 insertions(+), 7 deletions(-)
606 commit 49880800b35029de3731523eede1b3174f10c1db
607 Author: Christoph Reiter <creiter@src.gnome.org>
608 Date: Sat Jul 4 21:40:04 2015 +0200
610 GVariant: Don't use pyg_boxed_new as GVariant isn't a PyGBoxed but
613 This only worked because they share the same struct layout.
614 This adds a new constructor for creating a new PyGIStruct instance
617 https://bugzilla.gnome.org/show_bug.cgi?id=751956
619 gi/pygi-struct.c | 32 ++++++++++++++++++++++++++++++++
620 gi/pygi-struct.h | 5 +++++
621 gi/pygi-value.c | 3 ++-
622 3 files changed, 39 insertions(+), 1 deletion(-)
624 commit f27b1976ea325fcd55359888401dd08ac8fb074a
625 Author: Mikhail Fludkov <misha@pexip.com>
626 Date: Tue Sep 1 17:54:17 2015 +0200
628 pygi-value: special case for NULL GValueArray
630 Don't segfault when dealing with GValue of GValueArray type containing
631 NULL. Return empty list in this case.
633 https://bugzilla.gnome.org/show_bug.cgi?id=754359
635 gi/pygi-value.c | 5 +++--
636 tests/test_gobject.py | 6 ++++++
637 2 files changed, 9 insertions(+), 2 deletions(-)
639 commit c8176dfabea694ce738ff4633e7522b0d1fc1c51
640 Author: Simon Feltman <sfeltman@src.gnome.org>
641 Date: Sat Feb 20 20:42:40 2016 -0800
643 post-release version bump to 3.19.91
646 1 file changed, 1 insertion(+), 1 deletion(-)
648 commit d16ae38f0a12653557bdeba17eb155144d91bff4
649 Author: Simon Feltman <sfeltman@src.gnome.org>
650 Date: Sat Feb 20 19:56:24 2016 -0800
655 1 file changed, 9 insertions(+)
657 commit 0190fb84fc1f88ba4c0623bf1b29fe3ca4f80932
658 Author: Simon Feltman <sfeltman@src.gnome.org>
659 Date: Sat Feb 20 19:49:31 2016 -0800
661 pre-release version bump to 3.19.90
664 1 file changed, 1 insertion(+), 1 deletion(-)
666 commit 0467808b97f89c5a36c01f5b7cba013acaef6851
667 Author: Simon Feltman <sfeltman@src.gnome.org>
668 Date: Sat Feb 20 19:40:45 2016 -0800
670 tests: Set the active style context state before retrieving values
672 compat_test_pygtk.TestGTKCompat.test_style() was giving a warning due
673 to set/get state mismatch. Set the current state before getting values
676 tests/compat_test_pygtk.py | 1 +
677 1 file changed, 1 insertion(+)
679 commit 8145fa69c8ace9772687f26f782acb5e461776be
680 Author: Simon Feltman <sfeltman@src.gnome.org>
681 Date: Sat Feb 20 17:32:01 2016 -0800
683 tests: Fix crash with empty drag source icon names
685 Add "_About" argument when testing call to
686 drag_source_set_icon_name().
687 Add Gtk.STOCK_ABOUT argument when testing call to
688 drag_source_set_icon_stock().
689 This avoids crashes due to GTK+ drag source attempting to unref a
692 https://bugzilla.gnome.org/show_bug.cgi?id=762392
694 tests/test_overrides_gtk.py | 4 ++--
695 1 file changed, 2 insertions(+), 2 deletions(-)
697 commit 6a26d3f2b25b3fbbd87def14f1df17b96ed23a0d
698 Author: Christoph Reiter <creiter@src.gnome.org>
699 Date: Sun Oct 4 11:18:04 2015 +0200
701 Try to import GdkX11 in Gdk overrides
703 pygobject will not provide GdkX11 instances until the namespace
704 is loaded so try to load it in the overrides.
706 This makes Gdk.Display.get_default() return a GdkX11.X11Display
707 instead of a dummy Gdk.Display subclass instance.
709 https://bugzilla.gnome.org/show_bug.cgi?id=673396
711 gi/overrides/Gdk.py | 11 ++++++++++-
712 1 file changed, 10 insertions(+), 1 deletion(-)
714 commit 12022437d663f49ba3a2a2f884da30dd5ca08ff6
715 Author: Christoph Reiter <creiter@src.gnome.org>
716 Date: Fri Oct 30 13:07:57 2015 +0100
718 Fix import warnings pointing to the wrong code with CPython 3.3/3.5
720 For making warnings point to the code doing the import, the stack
722 of the import system need to be skipped. The frame count number
724 between CPython versions and in 3.5 all frames of the import
726 skipped for warnings (https://bugs.python.org/issue24305).
728 This hardcodes the frame counts for all supported CPython versions
729 which fixes the import warning output for CPython 3.3 and 3.5.
731 This also fixes/works around a bug in CPython 3 where if a too
732 large stacklevel value was passed to warn(), CPython would try to
733 interpret a file called "sys" in the same directory of the
734 executed script (https://bugs.python.org/issue25493
735 and https://bugzilla.gnome.org/show_bug.cgi?id=757184).
737 https://bugzilla.gnome.org/show_bug.cgi?id=757184
739 gi/importer.py | 28 +++++++++++++++++++++++-----
740 tests/test_import_machinery.py | 4 ++++
741 2 files changed, 27 insertions(+), 5 deletions(-)
743 commit 72ab17963e81fb63f7238123c359be8d83a529f4
744 Author: Christoph Reiter <creiter@src.gnome.org>
745 Date: Sun Oct 25 11:39:22 2015 +0100
747 Bump automake version to 1.12.6
749 Required to a get a new enough py-compile which supports
750 the __pycache__ directories for newer Python 3 versions.
751 See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=8847
753 Also remove m4/py-compile which doesn't seem to get used in
754 either 1.11 or 1.15 here.
756 https://bugzilla.gnome.org/show_bug.cgi?id=757086
760 ----------------------------------------------------------
761 2 files changed, 3 insertions(+), 162 deletions(-)
763 commit b71f76af163c1d43b9f11e6a6362e7510d84c231
764 Author: Simon Feltman <sfeltman@src.gnome.org>
765 Date: Sat Oct 31 14:55:46 2015 -0700
767 post-release version bump to 3.19.3
770 1 file changed, 1 insertion(+), 1 deletion(-)
772 commit bedc7b883febceb3470f1b8e909cfab696d1fc5f
773 Author: Simon Feltman <sfeltman@src.gnome.org>
774 Date: Sat Oct 31 14:47:07 2015 -0700
779 1 file changed, 7 insertions(+)
781 commit 4164e7088be446fcab65cef642c6853aad3b6a69
782 Author: Simon Feltman <sfeltman@src.gnome.org>
783 Date: Sat Oct 31 14:06:40 2015 -0700
785 tests: Fix failure due to new GTK+ warning regarding size_allocate()
787 Call get_preferred_size() to avoid size_allocated() warning in
788 size-allocated signal handler test.
790 tests/test_overrides_gtk.py | 1 +
791 1 file changed, 1 insertion(+)
793 commit a8293f411234180d70e9ff979954b28381842e1f
794 Author: Simon Feltman <sfeltman@src.gnome.org>
795 Date: Sat Oct 31 14:03:21 2015 -0700
797 Fix build warnings regarding _POSIX_C_SOURCE redefinition
799 Move Python.h includes above glib includes to avoid build
800 warnings with Python 2 as noted here:
801 https://docs.python.org/2/c-api/intro.html#include-files
803 gi/gobjectmodule.c | 1 +
804 gi/pygi-array.c | 2 +-
805 gi/pygi-cache.c | 2 +-
806 gi/pygi-enum-marshal.c | 2 +-
807 gi/pygi-hashtable.c | 1 +
808 gi/pygi-hashtable.h | 2 +-
810 gi/pygi-object.c | 2 +-
811 gi/pygi-struct-marshal.c | 2 +-
812 gi/pygi-value.c | 1 +
813 10 files changed, 10 insertions(+), 6 deletions(-)
815 commit 3b1d130174951f7648beceac270daa8ac65939c7
816 Author: Matthias Clasen <mclasen@redhat.com>
817 Date: Fri Oct 30 12:15:26 2015 -0400
819 Drop -std=c90 for now
821 glib headers have a problem with it, and sorting it out on the
822 glib side will take a while, so drop this for now.
824 configure.ac | 9 ---------
825 1 file changed, 9 deletions(-)
827 commit ef219cc74a7c6803795692664fc3b2c8ebbb4fe4
828 Author: Christoph Reiter <creiter@src.gnome.org>
829 Date: Fri Oct 30 16:23:11 2015 +0100
831 configure.ac: post release version bump to 3.19.2
834 1 file changed, 1 insertion(+), 1 deletion(-)
836 commit 98a4bfe4606bd2c7534533633a20a998f732e248
837 Author: Christoph Reiter <creiter@src.gnome.org>
838 Date: Fri Oct 30 16:13:46 2015 +0100
842 NEWS | 20 ++++++++++++++++++++
843 1 file changed, 20 insertions(+)
845 commit 175d10665472e6f4090d707e3b89255814c932b1
846 Author: Christoph Reiter <creiter@src.gnome.org>
847 Date: Mon Jun 8 18:14:08 2015 +0200
849 Use a named tuple for returning multiple values
851 >>> v = Gtk.Button().get_alignment()
853 (xalign=0.5, yalign=0.5)
857 For each GICallable a new gi._gi.ResultTuple subclass
858 is created which knows the return value names of that
859 callable and displays them in __repr__, __dir__ and
860 allows to access tuple items by name.
862 The subclass is cached in PyGICallableCache.
864 To reduce the number of small tuple allocations use a free list
865 similar to the one used for pure tuples in CPython.
867 https://bugzilla.gnome.org/show_bug.cgi?id=727374
871 gi/pygi-cache.c | 34 +++++
872 gi/pygi-cache.h | 6 +
873 gi/pygi-invoke.c | 35 ++---
874 gi/pygi-private.h | 1 +
875 gi/pygi-resulttuple.c | 354
876 ++++++++++++++++++++++++++++++++++++++++++++++
877 gi/pygi-resulttuple.h | 34 +++++
878 gi/pyglib-python-compat.h | 5 +
879 tests/Makefile.am | 1 +
880 tests/test_resulttuple.py | 87 ++++++++++++
881 11 files changed, 543 insertions(+), 17 deletions(-)
883 commit b1788c9a445c8a820121c42260bcbdbc3ae8dfba
884 Author: Christoph Reiter <creiter@src.gnome.org>
885 Date: Mon Oct 26 11:17:34 2015 +0100
887 enum/flags: use gir info for type names and __repr__ instead of the
890 For example __name__ is now SpawnFlags instead of PyGLibSpawnFlags
891 and __repr__ shows GLib.SpawnFlags in stead of PyGLibSpawnFlags.
893 https://bugzilla.gnome.org/show_bug.cgi?id=657915
895 gi/gimodule.c | 35 ++++++++++++++++++++++++----
897 +++++++++++++++++++++++++++++++--------------
898 gi/pygflags.c | 31 +++++++++++++++++++-----
899 tests/test_gi.py | 41 ++++++++++++++++++++++++++++++++
900 tests/test_overrides_gdk.py | 6 ++---
901 5 files changed, 139 insertions(+), 31 deletions(-)
903 commit 6b702c052e9f26e809cff494f0c896d17a514c64
904 Author: Christoph Reiter <creiter@src.gnome.org>
905 Date: Wed Jun 10 18:24:44 2015 +0200
907 Improve and unify __repr__ format for PyGObject, PyGBoxed and
910 Includes the module, Python type name, pointer and wrapper pointer
912 "<Gtk.Border object at 0x7f26bee9e4c8 (GtkBorder at 0x1c72e30)>"
914 In case of PyGObjects created from GType set the module to __gi__
915 instead of guessing the old static binding name. Also
916 remove the code that tries to add them to the guessed static bindings
917 module while at it. The __repr__ will now return
918 "<__gi__.X11Keymap ..." instead of "<gtk.gdk.X11Keymap ..."
920 https://bugzilla.gnome.org/show_bug.cgi?id=657915
922 gi/pygboxed.c | 31 +++++++++++++++++++++----
923 gi/pygi-struct.c | 23 ++++++++++++++++++
925 +++++++++++++++++++++++++-------------------------------
926 tests/test_gi.py | 33 ++++++++++++++++++++++++++
927 4 files changed, 113 insertions(+), 45 deletions(-)
929 commit 9b821aa0d60857e612cde9dabe9c8f9f9c60214c
930 Author: Christoph Reiter <creiter@src.gnome.org>
931 Date: Sun Oct 4 11:13:37 2015 +0200
933 Don't leak internal RepositoryError on import.
935 In case a dependency of the imported namespace has a version
936 conflict with an already loaded version, import would raise
939 This fixes it to raise an ImportError instead.
941 https://bugzilla.gnome.org/show_bug.cgi?id=756033
943 gi/importer.py | 7 +++++--
944 gi/module.py | 4 ++++
945 2 files changed, 9 insertions(+), 2 deletions(-)
947 commit dba1da9b0770c7dec1abd82303b9b4266fe2ce3f
948 Author: Christoph Reiter <creiter@src.gnome.org>
949 Date: Sun Oct 4 10:13:35 2015 +0200
951 Import dependencies when importing typelibs from gi.repository
953 Recursively import a modules dependencies when importing from
956 This fixes the case where a library depends on initialization
957 code of dependency overrides. For example libwnck expects
958 gdk_init to be called before using its API and gdk_init
959 gets called in the Gdk overrrides.
961 https://bugzilla.gnome.org/show_bug.cgi?id=656314
963 gi/importer.py | 12 +++++++++++-
964 gi/pygi-repository.c | 35 +++++++++++++++++++++++++++++++++++
965 tests/test_import_machinery.py | 13 +++++++++++++
966 tests/test_repository.py | 10 ++++++++++
967 4 files changed, 69 insertions(+), 1 deletion(-)
969 commit dfa3a85290dd97ecd7cbe8f12fbc1ff2db5a1155
970 Author: Christoph Reiter <creiter@src.gnome.org>
971 Date: Sun Oct 11 01:28:48 2015 +0200
973 Fix Gdk.rectangle_intersect/rectangle_union missing with GTK+ 3.18
975 3.18 added a Gdk.Rectangle type which changed these functions
976 to methods in the gir.
978 Fix by providing aliases in the Gdk overrides.
980 https://bugzilla.gnome.org/show_bug.cgi?id=756364
982 gi/overrides/Gdk.py | 8 ++++++++
983 tests/test_overrides_gdk.py | 9 +++++++++
984 2 files changed, 17 insertions(+)
986 commit 98726caff183491cde1e145861adfcff0c243d9b
987 Author: Christoph Reiter <creiter@src.gnome.org>
988 Date: Sun Oct 4 09:53:27 2015 +0200
990 Don't import inspect at module level
992 Move it to the only user instead as importing inspect
995 gi/_signalhelper.py | 3 ++-
996 1 file changed, 2 insertions(+), 1 deletion(-)
998 commit e1921b7224ca1e909d9fe5483a09414742d0baf4
999 Author: Christoph Reiter <creiter@src.gnome.org>
1000 Date: Sat Sep 26 21:29:54 2015 +0200
1002 invoke state: add a free memory cache for PyGIInvokeArgState
1004 Keep one free allocation per argument count around
1005 to reduce g_slice_alloc/free usage.
1007 Reduces CPU time for simple functions by 10% and 5% for closures.
1009 https://bugzilla.gnome.org/show_bug.cgi?id=750658
1011 gi/pygi-closure.c | 6 ++----
1012 gi/pygi-invoke.c | 61
1013 +++++++++++++++++++++++++++++++++++++++++++++++++------
1014 gi/pygi-invoke.h | 4 ++++
1015 3 files changed, 61 insertions(+), 10 deletions(-)
1017 commit f72b6434de82ffa1950ff45a4daf80c84f58eca6
1018 Author: Christoph Reiter <creiter@src.gnome.org>
1019 Date: Sat Sep 26 21:25:38 2015 +0200
1021 invoke/closure: reduce g_slice_alloc usage
1023 Instead of allocating multiple arrays, combine argument
1024 data in a new PyGIInvokeArgState and allocate it in one go.
1026 This reduces CPU time by 20% for simple functions and by 15%
1029 https://bugzilla.gnome.org/show_bug.cgi?id=750658
1031 gi/pygi-array.c | 6 +--
1032 gi/pygi-closure.c | 99
1033 +++++++++++++++++++------------------------
1034 gi/pygi-invoke-state-struct.h | 34 +++++++++------
1035 gi/pygi-invoke.c | 50 +++++++---------------
1036 gi/pygi-marshal-cleanup.c | 10 ++---
1037 5 files changed, 86 insertions(+), 113 deletions(-)
1039 commit 640221c099031a55cbc32f5cdac3e6e018256fff
1040 Author: Christoph Reiter <creiter@src.gnome.org>
1041 Date: Sun Sep 27 11:19:14 2015 +0200
1043 pep8: ignore new errors reported by pep8 1.6
1045 Makes sure we get the same result for older and newer pep8.
1046 Once 1.6 is more common, the ignored errors could be added back
1047 and fixed (E402 might be impossible, see bug 755620)
1050 1 file changed, 1 insertion(+), 1 deletion(-)
1052 commit 5fcc0b49e5988bfb6893bd56dd25a6257cd9720d
1053 Author: Garrett Regier <garrett.regier@riftio.com>
1054 Date: Tue Sep 22 14:57:13 2015 -0700
1056 Bump g-i dependency to latest stable
1058 This is required for throwing exceptions in closures.
1062 2 files changed, 2 insertions(+), 2 deletions(-)
1064 commit 0acbf6ad543a928ce75fc6d6839d3e6aa2e9a3d3
1065 Author: Garrett Regier <garrett.regier@riftio.com>
1066 Date: Tue Jun 9 07:11:51 2015 -0700
1068 Avoid calling g_slist_length() during invoke
1070 We already know the number of Python args.
1072 gi/pygi-invoke.c | 3 +--
1073 1 file changed, 1 insertion(+), 2 deletions(-)
1075 commit 216e94cff0bbe5436efe423b197c9cfc4a00a02d
1076 Author: Garrett Regier <garrett.regier@riftio.com>
1077 Date: Wed Jun 3 08:14:08 2015 -0700
1079 Simplify closure_convert_arguments()
1081 This chunk of work should really be done
1082 in convert_ffi_arguments().
1084 gi/pygi-closure.c | 65
1085 +++++++++++++++++++++++++------------------------------
1086 1 file changed, 29 insertions(+), 36 deletions(-)
1088 commit 7f7d0c52c9b364ba0ec92c9415298c26b103a077
1089 Author: Garrett Regier <garrett.regier@riftio.com>
1090 Date: Wed Jun 3 08:09:31 2015 -0700
1092 Remove a level of indentation in convert_ffi_arguments()
1094 gi/pygi-closure.c | 138
1095 ++++++++++++++++++++++++++----------------------------
1096 1 file changed, 67 insertions(+), 71 deletions(-)
1098 commit 3066f3a88103f02c7e22db22efbeb501f4e30d32
1099 Author: Garrett Regier <garrett.regier@riftio.com>
1100 Date: Wed Jun 3 07:50:37 2015 -0700
1102 Prevent passing the user data multiple times to callbacks
1104 This can happen when a callback has multiple gpointers.
1105 Also, store the closure index as it is hopefully more reliable
1108 https://bugzilla.gnome.org/show_bug.cgi?id=750347
1110 gi/pygi-cache.c | 24 ++++++++++++++++++++++++
1111 gi/pygi-cache.h | 3 +++
1112 gi/pygi-closure.c | 8 ++------
1113 3 files changed, 29 insertions(+), 6 deletions(-)
1115 commit 40bba555c835cf53d6aa2645329631e6abe57e6c
1116 Author: Garrett Regier <garrett.regier@riftio.com>
1117 Date: Wed Jun 3 07:06:40 2015 -0700
1119 Support throwing exceptions in closures
1121 This allows exceptions raised in vfunc implemntations
1122 and callbacks to be turned into GErrors.
1124 NOTE: this requires matchs in
1125 https://bugzilla.gnome.org/show_bug.cgi?id=729543
1126 thus we must bump the GI req once they are commited.
1128 https://bugzilla.gnome.org/show_bug.cgi?id=710671
1130 gi/pygi-closure.c | 113
1131 ++++++++++++++++++++++++++++++----------------------
1132 tests/test_error.py | 22 ++++++++++
1133 2 files changed, 88 insertions(+), 47 deletions(-)
1135 commit ea75a89a7d2bdabc7a29f7f20f792211765f2ac7
1136 Author: Christoph Reiter <creiter@src.gnome.org>
1137 Date: Sun Sep 6 05:35:03 2015 +0200
1139 Don't emit require_version warning if namespace was loaded previously
1140 using g_irepository_require
1142 Instead of tracking loaded dependencies ourself to hide warnings
1144 were loaded by a previous import just look if the namespace was loaded
1145 before the import. This (a) makes the implementation much simpler and
1146 (b) also takes into account namespaces loaded outside of
1148 using the libgirepository C API (as is common in applications using
1149 libpeas with Python plugins)
1151 This also introduces a new Python wrapper for
1152 g_irepository_is_registered()
1153 to allow checking the loading state of namespaces before imports.
1155 This fixes unnecessary require_version warnings in gedit,
1157 totem, rhythmbox etc.
1159 https://bugzilla.gnome.org/show_bug.cgi?id=754491
1162 +++++++++++-------------------------------
1163 gi/pygi-repository.c | 19 +++++++++
1164 tests/test_import_machinery.py | 9 ----
1165 tests/test_repository.py | 11 +++++
1166 4 files changed, 54 insertions(+), 78 deletions(-)
1168 commit 65726314de2833ce0364a3f3e23f344d122b342f
1169 Author: Garrett Regier <garrett.regier@riftio.com>
1170 Date: Tue Sep 22 00:17:00 2015 -0700
1172 configure.ac: post release version bump to 3.19.1
1174 configure.ac | 4 ++--
1175 1 file changed, 2 insertions(+), 2 deletions(-)
1177 commit ea5ecca4916569b1eca6296ff1a8905e42c3c38a
1178 Author: Garrett Regier <garrettregier@gmail.com>
1179 Date: Tue Sep 22 00:10:35 2015 -0700
1184 configure.ac | 4 ++--
1185 2 files changed, 4 insertions(+), 2 deletions(-)
1187 commit e2b8ba0584d1a3273dfa2fcb23616d1dc68fdb8e
1188 Author: Simon Feltman <sfeltman@src.gnome.org>
1189 Date: Wed Aug 19 21:04:37 2015 -0700
1191 configure.ac: post-release version bump to 3.17.91
1194 1 file changed, 1 insertion(+), 1 deletion(-)
1196 commit 6392b2727e7ed391683bebbf69fbc8b474e99a5f
1197 Author: Simon Feltman <sfeltman@src.gnome.org>
1198 Date: Wed Aug 19 21:02:44 2015 -0700
1202 NEWS | 14 ++++++++++++++
1203 1 file changed, 14 insertions(+)
1205 commit 1da98892cf505b35ce0280db22e1e8ba31c095e0
1206 Author: Simon Feltman <sfeltman@src.gnome.org>
1207 Date: Wed Aug 19 20:57:37 2015 -0700
1209 configure.ac: pre-release version bump to 3.17.90
1212 1 file changed, 1 insertion(+), 1 deletion(-)
1214 commit 79d23e9accd331d954007dcae6b6b7fa2837cfa7
1215 Author: Christoph Reiter <reiter.christoph@gmail.com>
1216 Date: Wed Feb 18 19:30:30 2015 +0100
1218 Allow passing unicode lists to GStrv properties on Python 2
1220 https://bugzilla.gnome.org/show_bug.cgi?id=744745
1222 gi/pygi-value.c | 41 ++++++++++++++++++++++++++++++++---------
1223 tests/test_properties.py | 8 +++++++-
1224 2 files changed, 39 insertions(+), 10 deletions(-)
1226 commit 8aa3d5935b4541be6e76e8792e58bb301fa4f7d1
1227 Author: Rui Matos <tiagomatos@gmail.com>
1228 Date: Thu May 21 17:53:17 2015 +0200
1230 Avoid a silent long to int truncation
1232 If the python object contains a value bigger than MAXUINT we'd
1233 silently truncate it when assigning to 'val' and the if condition
1234 would always be true.
1236 This was caught by a coverity scan.
1238 https://bugzilla.gnome.org/show_bug.cgi?id=749698
1240 gi/pygi-value.c | 4 ++--
1241 1 file changed, 2 insertions(+), 2 deletions(-)
1243 commit 5af6c722e5b7db90a3ca0832c46efe0c9142a0d1
1244 Author: Christoph Reiter <creiter@src.gnome.org>
1245 Date: Sun Jul 5 11:58:50 2015 +0200
1247 tests: add a test for test_glist_gtype_container_in()
1249 https://bugzilla.gnome.org/show_bug.cgi?id=749696
1251 tests/test_everything.py | 6 ++++++
1252 1 file changed, 6 insertions(+)
1254 commit f69ce9f5f6cd81b057ed0006d1fe7f71fa294943
1255 Author: Mathieu Bridon <bochecha@daitauha.fr>
1256 Date: Sun Jul 5 11:07:00 2015 +0200
1258 Handle gtype marshalling
1260 https://bugzilla.gnome.org/show_bug.cgi?id=749696
1262 gi/pygi-argument.c | 5 +++++
1263 1 file changed, 5 insertions(+)
1265 commit 0ee1f562c975df51ce93578d35678ef1e915e202
1266 Author: Daniel Hahler <git@thequod.de>
1267 Date: Wed Mar 25 14:37:29 2015 +0100
1269 pygi-foreign-cairo.c: fix include for py3cairo.h
1271 The pkg-config info includes the "pycairo" folder already.
1273 https://bugzilla.gnome.org/show_bug.cgi?id=746742
1275 gi/pygi-foreign-cairo.c | 2 +-
1276 1 file changed, 1 insertion(+), 1 deletion(-)
1278 commit fea15145c2a3e6aac73350241a982a095e16c7d8
1279 Author: Christoph Reiter <creiter@src.gnome.org>
1280 Date: Thu Jun 18 13:36:52 2015 +0200
1282 tests: Silence various error messages and warnings.
1284 This silences glib warnings which are due to testing
1285 of error handling, deprecation warnings which we ignore
1286 since we want to continue testing deprecated code and
1287 other error output of code which is supposed to fail.
1289 To reduce code duplication and make things easier
1290 this introduces a shared helper module containing
1291 various context managers and decorators which allow
1292 testing and silencing of warnings and errors.
1294 https://bugzilla.gnome.org/show_bug.cgi?id=751156
1296 tests/Makefile.am | 1 +
1297 tests/compat_test_pygtk.py | 27 +++------
1298 tests/compathelper.py | 8 +++
1299 tests/helper.py | 132
1300 ++++++++++++++++++++++++++++++++++++++++++++
1301 tests/test_everything.py | 28 ++++++----
1302 tests/test_gi.py | 6 +-
1303 tests/test_gio.py | 3 +
1304 tests/test_iochannel.py | 20 +++----
1305 tests/test_overrides_gdk.py | 18 +++---
1306 tests/test_overrides_gtk.py | 20 +++----
1307 tests/test_properties.py | 21 +++----
1308 tests/test_repository.py | 13 ++---
1309 tests/test_signal.py | 24 +++-----
1310 tests/test_source.py | 8 +--
1311 14 files changed, 231 insertions(+), 98 deletions(-)
1313 commit 619777730891b42b98da556c3aa9ca5a1b3f617b
1314 Author: Christoph Reiter <creiter@src.gnome.org>
1315 Date: Thu Jun 18 13:30:03 2015 +0200
1317 Fix gcc warning regarding uninitialized use of variable
1319 https://bugzilla.gnome.org/show_bug.cgi?id=751156
1321 gi/pygobject.c | 4 +++-
1322 1 file changed, 3 insertions(+), 1 deletion(-)
1324 commit 1ed8200abefc3e51e4d2083b1372695aaf4163fb
1325 Author: Christoph Reiter <creiter@src.gnome.org>
1326 Date: Sun Jun 21 23:55:02 2015 +0200
1328 Fix test regression when xdg-user-dirs is not installed.
1330 GLib.get_user_special_dir is only guaranteed to always return
1331 a path in case GLib.UserDirectory.DIRECTORY_DESKTOP is passed.
1332 This was unintentionally changed to DIRECTORY_MUSIC
1333 in 9948a67e677c8a351f2de1708.
1335 https://bugzilla.gnome.org/show_bug.cgi?id=751299
1337 tests/test_glib.py | 2 +-
1338 1 file changed, 1 insertion(+), 1 deletion(-)
1340 commit 79cf1f70d247b5a4d33d1e60107e47903ca76055
1341 Author: Garrett Regier <garrett.regier@riftio.com>
1342 Date: Mon May 18 02:32:18 2015 -0700
1344 Explicitly check if an override exists instead of ImportError
1346 If an override depended on another module and it did not
1347 exist then the raised ImportError was consumed and assumed
1348 to mean that the override did not exist. This makes it
1349 difficult to diagnose issues with overrides.
1351 This uses pkgutil.get_loader() as it is the easier way to
1352 determine if a module exists in both Python 2 and 3
1353 and avoid deprecated functions.
1355 https://bugzilla.gnome.org/show_bug.cgi?id=749532
1357 gi/overrides/__init__.py | 17 +++++++++++++++--
1358 1 file changed, 15 insertions(+), 2 deletions(-)
1360 commit d2faa619f5e204b75315a42fec99dd48fe7fb31c
1361 Author: Simon Feltman <sfeltman@src.gnome.org>
1362 Date: Mon Jun 15 01:24:16 2015 -0700
1364 configure.ac: post-release version bump to 3.17.2
1367 1 file changed, 1 insertion(+), 1 deletion(-)
1369 commit 6fa54fe868d0e2a9a9d4dc300a61cbfa079681a8
1370 Author: Simon Feltman <sfeltman@src.gnome.org>
1371 Date: Mon Jun 15 01:20:47 2015 -0700
1375 NEWS | 16 ++++++++++++++++
1376 1 file changed, 16 insertions(+)
1378 commit 2048dc8d1d708abce7037f96483c6d776567d6b5
1379 Author: Christoph Reiter <creiter@src.gnome.org>
1380 Date: Mon Mar 2 20:58:04 2015 +0100
1382 Add gi.PyGIWarning and use it instead of PyGIDeprecationWarning in
1383 case the version to import wasn't specified.
1385 This makes the warning visible by default.
1386 See commit ef3bff4e570363e4f383d4cdae9cecd4073b03d8 for more info
1389 https://bugzilla.gnome.org/show_bug.cgi?id=727379
1391 gi/__init__.py | 2 ++
1392 gi/gimodule.c | 6 ++++++
1393 gi/importer.py | 3 ++-
1394 tests/test_gi.py | 15 +++++++++++++++
1395 4 files changed, 25 insertions(+), 1 deletion(-)
1397 commit 7a3bb6971f22accd25e987496d377e1879f6e1ba
1398 Author: Christoph Reiter <creiter@src.gnome.org>
1399 Date: Sat May 30 17:46:54 2015 +0200
1401 Remove Gdk.Rectangle alias with newer gobject-introspection and GTK+
1403 The new GdkRectangle in the typelib confuses the marshalling code
1404 as PyGObject uses the Python class from the overrides for marshalling
1405 to Python but uses the gtype from the typelib to do
1406 type checking when marshalling from Python.
1408 https://bugzilla.gnome.org/show_bug.cgi?id=749625
1410 gi/overrides/Gdk.py | 12 ++++++++----
1411 1 file changed, 8 insertions(+), 4 deletions(-)
1413 commit 64be2069d39b4d2767eb1efd47bb3f268ad7fb0d
1414 Author: Christoph Reiter <creiter@src.gnome.org>
1415 Date: Thu Apr 23 22:03:54 2015 +0200
1417 overrides: Provide _overrides_module attribute to make gst-python
1418 overrides work again.
1420 gi_gst_fraction_from_value () in gst-python's gstmodule.c tries
1422 the Gst.Fraction class through
1423 gi.repository.Gst._overrides_module.Fraction
1424 and failed since _overrides_module was removed in revision
1427 This adds it back pointing to the proxy itself which also contains
1430 https://bugzilla.gnome.org/show_bug.cgi?id=736678#c6
1432 gi/overrides/__init__.py | 7 +++++++
1433 1 file changed, 7 insertions(+)
1435 commit 6772e990ad889af817b9224e88ea9d79a04caef7
1436 Author: Simon Feltman <sfeltman@src.gnome.org>
1437 Date: Mon Apr 13 19:33:40 2015 -0700
1439 overrides: Conditionalize touch override support in Gdk
1441 Conditionalize Gdk.EventTouch union discrimination. This fixes the
1442 Gdk overrides to continue working with versions of Gdk less than 3.4.
1444 https://bugzilla.gnome.org/show_bug.cgi?id=747717
1446 gi/overrides/Gdk.py | 18 +++++++++++++-----
1447 1 file changed, 13 insertions(+), 5 deletions(-)
1449 commit 26c015b177ddcc0f35c97bcd7a4f2114fb2e8e2a
1450 Author: Christoph Reiter <reiter.christoph@gmail.com>
1451 Date: Sun Mar 29 23:23:09 2015 +0200
1453 Field setters: Remove unneeded type/range checks and resulting
1456 These checks are performed in the actual marshalling code
1457 paths as well, no need to do them twice.
1459 Also move _pygi_g_registered_type_info_check_object() to pygi-info.c
1460 as it's the only place where it is still used.
1462 https://bugzilla.gnome.org/show_bug.cgi?id=746985
1464 gi/pygi-argument.c | 626
1465 ---------------------------------------------------
1466 gi/pygi-argument.h | 12 -
1467 gi/pygi-info.c | 90 ++++++--
1468 tests/test_fields.py | 14 +-
1469 4 files changed, 83 insertions(+), 659 deletions(-)
1471 commit dbb0b199268ece884e19eb99093fc26bd7bf92af
1472 Author: Christoph Reiter <reiter.christoph@gmail.com>
1473 Date: Sun Mar 29 21:51:42 2015 +0200
1475 pygi-argument: Remove unused imports/includes
1477 https://bugzilla.gnome.org/show_bug.cgi?id=746985
1480 gi/pygi-argument.c | 7 -------
1481 gi/pygi-argument.h | 2 --
1482 3 files changed, 10 deletions(-)
1484 commit 7dee04efff418677eead36ee9ed497cc3eadf8f7
1485 Author: Christoph Reiter <reiter.christoph@gmail.com>
1486 Date: Sun Mar 29 21:47:47 2015 +0200
1488 Improve test coverage for field setters/getters.
1490 Field setters are the sole users of the GIArgument value validation
1491 code and the error handling is hardly tested. This tries to improve
1492 the coverage for the field types available in
1493 GLib/Regress/GIMarshallingTests.
1495 https://bugzilla.gnome.org/show_bug.cgi?id=746985
1497 tests/Makefile.am | 1 +
1498 tests/test_fields.py | 186
1499 +++++++++++++++++++++++++++++++++++++++++++++++++++
1500 2 files changed, 187 insertions(+)
1502 commit b0170220fabbf878a36e0c14b0a3024973b7355f
1503 Author: Simon Feltman <sfeltman@src.gnome.org>
1504 Date: Sun Mar 29 16:35:47 2015 -0700
1506 configure.ac: post release version bump to 3.17.1
1508 configure.ac | 4 ++--
1509 1 file changed, 2 insertions(+), 2 deletions(-)
1511 commit 46f463a3a3ff45eb8eba67fbb59ecc861b1e1d73
1512 Author: Simon Feltman <sfeltman@src.gnome.org>
1513 Date: Tue Mar 24 01:25:25 2015 -0700
1518 configure.ac | 4 ++--
1519 2 files changed, 4 insertions(+), 2 deletions(-)
1521 commit bf802599f5d0d13cc4b69f1716400561a16a2443
1522 Author: Simon Feltman <sfeltman@src.gnome.org>
1523 Date: Thu Mar 5 01:09:12 2015 -0800
1525 configure.ac: post release version bump to 3.15.92
1528 1 file changed, 1 insertion(+), 1 deletion(-)
1530 commit a86f309066f007f9787a6d1ac679dc041740d8dc
1531 Author: Simon Feltman <sfeltman@src.gnome.org>
1532 Date: Thu Mar 5 01:08:03 2015 -0800
1536 NEWS | 14 ++++++++++++++
1538 2 files changed, 15 insertions(+), 1 deletion(-)
1540 commit 9948a67e677c8a351f2de17080d7a671882570f3
1541 Author: Christoph Reiter <reiter.christoph@gmail.com>
1542 Date: Tue Jan 27 17:47:49 2015 +0100
1544 tests: Don't use deprecated override attributes
1546 In case the test explicitly tests the deprecated attribute
1547 silence the resulting warnings.
1549 Instead of replacing GObject.PARAM_READWRITE with
1550 GObject.ParamFlags.READWRITE use (READABLE | WRITABLE)
1551 to not depend on a newer glib version.
1553 https://bugzilla.gnome.org/show_bug.cgi?id=743514
1555 tests/test_everything.py | 168
1556 ++++++++++++++++++++++----------------------
1557 tests/test_gi.py | 66 ++++++++---------
1558 tests/test_glib.py | 33 +++++----
1559 tests/test_gobject.py | 21 +++---
1560 tests/test_internal_api.py | 4 +-
1561 tests/test_iochannel.py | 11 +--
1562 tests/test_overrides_gtk.py | 20 +++---
1563 tests/test_properties.py | 100 ++++++++++++++------------
1564 tests/test_signal.py | 111 ++++++++++++++---------------
1565 tests/test_source.py | 8 +--
1566 tests/test_subprocess.py | 7 +-
1567 tests/testmodule.py | 3 +-
1568 12 files changed, 292 insertions(+), 260 deletions(-)
1570 commit 9285b23cd1b253baaf06ddd49e2f000716bbf7f3
1571 Author: Christoph Reiter <reiter.christoph@gmail.com>
1572 Date: Tue Jan 27 16:36:02 2015 +0100
1574 Add GLib.MINFLOAT etc. and mark GObject.G_MINFLOAT etc. deprecated.
1576 They are defined in glib, not gobject and not included in the gir;
1577 Similar constants like G_MAXINT64 are defined in GLib gir and marked
1578 deprecated in the GObject overrides already.
1580 https://bugzilla.gnome.org/show_bug.cgi?id=743514
1582 gi/overrides/GLib.py | 12 ++++++++++++
1583 gi/overrides/GObject.py | 4 +++-
1584 tests/test_overrides_glib.py | 7 +++++++
1585 3 files changed, 22 insertions(+), 1 deletion(-)
1587 commit f74acb38f1410982f3419acb134adf173600e497
1588 Author: Christoph Reiter <reiter.christoph@gmail.com>
1589 Date: Tue Jan 27 16:06:03 2015 +0100
1591 Emit PyGIDeprecationWarning when accessing deprecated override
1594 Adds a new helper function for overrides to mark a module level
1596 as deprecated. A warning will be emitted every time the attribute gets
1599 e.g. when marking GObject.STATUS_FOO as deprecated using
1601 STATUS_FOO = GLib.Status.FOO
1602 deprecated_attr("GObject", "STATUS_FOO", "GLib.Status.FOO")
1603 __all__.append("STATUS_FOO")
1605 accessing it will emit
1607 "GObject.STATUS_FOO is deprecated; use GLib.Status.FOO instead"
1609 https://bugzilla.gnome.org/show_bug.cgi?id=743514
1611 gi/overrides/GLib.py | 44 ++++++++++++++++-------
1612 gi/overrides/GObject.py | 90
1613 +++++++++++++++++++++++++-----------------------
1614 gi/overrides/__init__.py | 74 ++++++++++++++++++++++++++++++++++++++-
1615 tests/test_gi.py | 70 +++++++++++++++++++++++++++++++++++++
1616 4 files changed, 221 insertions(+), 57 deletions(-)
1618 commit a10df7d28c01d70ee33d8e4e9ddaa23f1990ca60
1619 Author: Christoph Reiter <reiter.christoph@gmail.com>
1620 Date: Tue Jan 27 19:13:54 2015 +0100
1622 Add namespace and container name to callable cache and include them
1623 in all warnings/error messages.
1625 https://bugzilla.gnome.org/show_bug.cgi?id=743468
1627 gi/pygi-cache.c | 39 ++++++++++++++++++++++++++++++++++-----
1628 gi/pygi-cache.h | 5 +++++
1629 gi/pygi-closure.c | 4 +++-
1630 gi/pygi-invoke.c | 41 +++++++++++++++++++++++++++++------------
1631 tests/test_everything.py | 2 +-
1632 tests/test_gi.py | 28 ++++++++++++++++++----------
1633 6 files changed, 90 insertions(+), 29 deletions(-)
1635 commit 747fc3754c296ad5481d354bbf35521f886c5c61
1636 Author: Garrett Regier <garrettregier@gmail.com>
1637 Date: Sun Mar 1 03:30:46 2015 -0800
1639 tests: Add test for GIRepository.UnionInfo.get_size()
1641 https://bugzilla.gnome.org/show_bug.cgi?id=745362
1643 tests/test_repository.py | 1 +
1644 1 file changed, 1 insertion(+)
1646 commit 2dcce92b4fab95403b9bbedffa8a91453c947927
1647 Author: Garrett Regier <garrettregier@gmail.com>
1648 Date: Fri Jan 23 01:37:35 2015 -0800
1650 Avoid duping filenames when marshalling from Python to C
1652 https://bugzilla.gnome.org/show_bug.cgi?id=744719
1654 gi/pygi-basictype.c | 12 ++++++------
1655 1 file changed, 6 insertions(+), 6 deletions(-)
1657 commit 26fe8dafb933fa76afd41e45b10a3163a7380c1e
1658 Author: Simon Feltman <sfeltman@src.gnome.org>
1659 Date: Fri Feb 20 22:06:24 2015 -0800
1661 configure.ac: post release version bump to 3.15.1
1664 1 file changed, 1 insertion(+), 1 deletion(-)
1666 commit e8aef305d273ce551da41e74a54c5d03de5a0c2a
1667 Author: Simon Feltman <sfeltman@src.gnome.org>
1668 Date: Fri Feb 20 22:04:43 2015 -0800
1672 NEWS | 10 ++++++++++
1673 1 file changed, 10 insertions(+)
1675 commit 5dc113283c0a721c4027026bb8de7243585f1289
1676 Author: Simon Feltman <sfeltman@src.gnome.org>
1677 Date: Fri Feb 20 21:59:10 2015 -0800
1679 Ignore deprecation warning for g_option_group_free()
1681 gi/pygoptiongroup.c | 5 ++++-
1682 1 file changed, 4 insertions(+), 1 deletion(-)
1684 commit d8961622ea748c42171bdb4703e70022035ec3cc
1685 Author: Simon Feltman <sfeltman@src.gnome.org>
1686 Date: Fri Feb 20 21:52:58 2015 -0800
1688 tests: Make get_all_dependendencies() test more robust
1690 Replace array comparison with checking if individual items are in
1692 This solves a problem where the returned array might be in a
1694 as well as future proofs the test in case more dependencies are added.
1696 tests/test_import_machinery.py | 8 +++++---
1697 1 file changed, 5 insertions(+), 3 deletions(-)
1699 commit b10ab49afb97655507e2d3b92f621387287a2928
1700 Author: Simon Feltman <sfeltman@src.gnome.org>
1701 Date: Fri Feb 20 20:16:35 2015 -0800
1703 tests: Fix PEP8 error with commented code in test
1705 tests/test_gi.py | 1 -
1706 1 file changed, 1 deletion(-)
1708 commit 60de632153a693fb2b0f2ce26208c6ff668bdf4d
1709 Author: Garrett Regier <garrett.regier@riftio.com>
1710 Date: Tue Jan 27 10:39:53 2015 -0800
1712 Avoid copying bytearrays from Python to C when transfer nothing
1714 https://bugzilla.gnome.org/show_bug.cgi?id=743278
1716 gi/pygi-array.c | 23 +++++++++++++++++++----
1717 tests/test_gi.py | 14 +++++++++++++-
1718 2 files changed, 32 insertions(+), 5 deletions(-)
1720 commit a4160892dd28ab1d656cef4d4059f3b3f95caf4a
1721 Author: Garrett Regier <garrett.regier@riftio.com>
1722 Date: Mon Jan 19 14:53:53 2015 -0800
1724 Allows passing arguments to opaque Boxed types
1726 https://bugzilla.gnome.org/show_bug.cgi?id=743214
1728 gi/pygi-info.c | 7 +++++++
1729 gi/types.py | 10 +++++++++-
1730 tests/test_everything.py | 9 +++++++++
1731 tests/test_glib.py | 6 +++---
1732 4 files changed, 28 insertions(+), 4 deletions(-)
1734 commit ef3bff4e570363e4f383d4cdae9cecd4073b03d8
1735 Author: Christoph Reiter <reiter.christoph@gmail.com>
1736 Date: Sat Jan 24 20:01:00 2015 +0100
1738 Emit ImportWarning when gi.require_version() is not used
1740 gi tries to import the latest version of typelibs which can cause
1741 existing code to break when a newer typelib is released.
1742 Emit an ImportWarning when gi.require_version() is not used to give
1743 developers this awareness so they can future proof their code.
1745 https://bugzilla.gnome.org/show_bug.cgi?id=727379
1748 +++++++++++++++++++++++++++++++++++++++++-
1749 gi/pygi-repository.c | 35 +++++++++++++++
1750 tests/compat_test_pygtk.py | 7 ++-
1751 tests/test_atoms.py | 6 ++-
1752 tests/test_import_machinery.py | 22 ++++++++++
1753 tests/test_overrides_gtk.py | 7 ++-
1754 tests/test_overrides_pango.py | 5 ++-
1755 tests/test_properties.py | 5 ++-
1756 tests/test_repository.py | 10 +++++
1757 9 files changed, 187 insertions(+), 9 deletions(-)
1759 commit 149c31beced944c72fba6ca6e096c81c1100ea2b
1760 Author: Christoph Reiter <reiter.christoph@gmail.com>
1761 Date: Tue Dec 2 15:38:57 2014 +0100
1763 Refactor overrides import/modules
1765 Removes Registry and DynamicModule in favor of a simple module
1767 contains only overrides and falls back to the introspection module.
1768 Moves all the overrides logic into gi.overrides; Speeds up module
1771 https://bugzilla.gnome.org/show_bug.cgi?id=736678
1773 gi/importer.py | 11 ++--
1774 gi/module.py | 68 ---------------------
1775 gi/overrides/__init__.py | 131
1776 ++++++++++++++++++++++++++++++-----------
1777 tests/test_gi.py | 4 --
1778 tests/test_import_machinery.py | 32 +++++++---
1779 5 files changed, 126 insertions(+), 120 deletions(-)
1781 commit 4d0ab13a8461f781986accc637fada3909cfb91a
1782 Author: Simon Feltman <sfeltman@src.gnome.org>
1783 Date: Thu Aug 21 15:11:39 2014 -0700
1785 Replace statically bound GLib.Variant.new_tuple() with GI
1787 Remove the static implementation of _wrap_pyg_variant_new_tuple with
1788 usage of the dynamic version coming from GI. Array marshalling has
1789 drastically improved in recent years making the dynamic version usable
1790 with a small compatibility shim for the arguments.
1792 https://bugzilla.gnome.org/show_bug.cgi?id=735199
1794 gi/gimodule.c | 39 ---------------------------------------
1795 gi/overrides/GLib.py | 12 +++++-------
1796 2 files changed, 5 insertions(+), 46 deletions(-)
1798 commit 17ec0d39069b7a4cc19691ea1284f821caf84d24
1799 Author: Simon Feltman <sfeltman@src.gnome.org>
1800 Date: Wed Sep 10 13:30:48 2014 -0700
1802 overrides: Add Gdk.EventTouch union discrimination
1804 Add EventTouch to get/setattr pass-through to support BEGIN,
1806 and CANCEL touch event types. Ensure Gdk.Event methods get_state(),
1807 get_axis(), get_coords(), and get_root_coords() are patched onto
1810 https://bugzilla.gnome.org/show_bug.cgi?id=736380
1812 gi/overrides/Gdk.py | 5 +++++
1813 tests/test_overrides_gdk.py | 12 ++++++++++++
1814 2 files changed, 17 insertions(+)
1816 commit 16408a81713157cdf1e3b6bd74bd53e816e9dfda
1817 Author: Simon Feltman <sfeltman@src.gnome.org>
1818 Date: Sat Jan 3 17:20:14 2015 -0800
1820 tests: Update pixbuf loader test to not raise exception when closing
1823 https://git.gnome.org/browse/gdk-pixbuf/commit/?id=447bd32650af
1824 changed the close() method to raise if the a loader is prematurely
1826 Update the test to write a 1x1 PNG stream to ensure close() will
1829 tests/compat_test_pygtk.py | 9 +++++++++
1830 1 file changed, 9 insertions(+)
1832 commit fd3935541ab4baddb504e000ec659b80923afa13
1833 Author: Murray Cumming <murrayc@murrayc.com>
1834 Date: Tue Dec 2 19:55:51 2014 +0100
1836 PyGObjectFlags: Remove a trailing comma on the enum.
1838 Because this produces a g++ pedantic warning.
1840 gi/pygobject.h | 2 +-
1841 1 file changed, 1 insertion(+), 1 deletion(-)
1843 commit 3b70f5bc8e59e49795fcaa7b285aeff0c4565a04
1844 Author: Simon Feltman <sfeltman@src.gnome.org>
1845 Date: Mon Oct 27 20:19:23 2014 -0700
1847 Remove redefinitions of function and vfunc cache typedefs
1849 https://bugzilla.gnome.org/show_bug.cgi?id=737874
1851 gi/pygi-cache.h | 8 ++++----
1852 1 file changed, 4 insertions(+), 4 deletions(-)
1854 commit cec9c2b253bdbc1e6493630c533acf6bb4509114
1855 Author: Simon Feltman <sfeltman@src.gnome.org>
1856 Date: Mon Sep 22 13:26:24 2014 -0700
1858 configure.ac: post release version bump to 3.15.0
1861 1 file changed, 1 insertion(+), 1 deletion(-)
1863 commit f20df385f480b65a8128986ce3df4022b324ade0
1864 Author: Simon Feltman <sfeltman@src.gnome.org>
1865 Date: Mon Sep 22 12:38:35 2014 -0700
1870 1 file changed, 3 insertions(+)
1872 commit 309d4100a08867d18420586c3b1f8709c360250f
1873 Author: Simon Feltman <sfeltman@src.gnome.org>
1874 Date: Mon Sep 22 12:24:32 2014 -0700
1876 configure.ac: pre release version bump to 3.14.0
1878 configure.ac | 4 ++--
1879 1 file changed, 2 insertions(+), 2 deletions(-)
1881 commit 4b7c985aa57f8026da96d174454b308858ebd1cc
1882 Author: Simon Feltman <sfeltman@src.gnome.org>
1883 Date: Mon Sep 15 15:46:04 2014 -0700
1888 1 file changed, 7 insertions(+)
1890 commit 79bad703a089a4b0c31fcdb143b889667f5fa197
1891 Author: Simon Feltman <sfeltman@src.gnome.org>
1892 Date: Fri Sep 12 17:10:04 2014 -0700
1894 tests: Add test for Gio.Application.add_main_option()
1896 tests/test_gio.py | 29 +++++++++++++++++++++++++++++
1897 1 file changed, 29 insertions(+)
1899 commit a2f98a9ba0b0dda0d3cf59651327e5c93d5479d6
1900 Author: Simon Feltman <sfeltman@src.gnome.org>
1901 Date: Thu Sep 11 19:32:53 2014 -0700
1903 Split test_everything.TestEverything.test_string() into multiple tests
1905 https://bugzilla.gnome.org/show_bug.cgi?id=735193
1907 tests/test_everything.py | 25 +++++++++++++++++++------
1908 1 file changed, 19 insertions(+), 6 deletions(-)
1910 commit 6674701b6de02353738b9dc04ab88de23996704e
1911 Author: Simon Feltman <sfeltman@src.gnome.org>
1912 Date: Thu Sep 11 19:08:53 2014 -0700
1914 tests: Split array tests up
1916 Split test_everything.TestEverything.test_array(),
1917 test_array_fixed_size(),
1918 and test_ptrarray() into functions of a finer granularity. This
1920 easier diagnosis of problems and leaks when they occur.
1922 https://bugzilla.gnome.org/show_bug.cgi?id=735193
1924 tests/test_everything.py | 37 ++++++++++++++++++++++++++++++++-----
1925 1 file changed, 32 insertions(+), 5 deletions(-)
1927 commit d1bae18ba0514864a37bf5d182605e2100c28d7e
1928 Author: Simon Feltman <sfeltman@src.gnome.org>
1929 Date: Thu Sep 11 16:17:13 2014 -0700
1931 tests: Split test_strv() into multiple tests
1933 https://bugzilla.gnome.org/show_bug.cgi?id=735193
1935 tests/test_everything.py | 10 +++++++++-
1936 1 file changed, 9 insertions(+), 1 deletion(-)
1938 commit 6181f724bc2c6ea30194c961cb15b2c543a48f95
1939 Author: Simon Feltman <sfeltman@src.gnome.org>
1940 Date: Wed Sep 10 19:06:35 2014 -0700
1942 Fix invalid read error in argument cleanup code
1944 Always set initial length argument index for arrays to -1. Ensure
1946 attempt retrieving Python cleanup arguments until we know it is valid.
1947 This was causing an invalid read in test_gi.TestArray.test_array_out()
1949 gi/pygi-array.c | 1 +
1950 gi/pygi-marshal-cleanup.c | 13 ++++++++-----
1951 2 files changed, 9 insertions(+), 5 deletions(-)
1953 commit 972e944ad4b2aac03c61633b8c277e35395c114c
1954 Author: Simon Feltman <sfeltman@src.gnome.org>
1955 Date: Wed Sep 10 18:55:45 2014 -0700
1957 tests: Increase num-callers for valgrind runs
1959 Additionally split valgrind check variations over multiple lines
1962 tests/Makefile.am | 23 ++++++++++++++++++++---
1963 1 file changed, 20 insertions(+), 3 deletions(-)
1965 commit d70b300c7415dd7b20ff88b09fe835690da19831
1966 Author: Simon Feltman <sfeltman@src.gnome.org>
1967 Date: Sat Sep 6 23:58:25 2014 -0700
1969 Fix memory management problems with struct arguments to signals
1971 Replicate struct marshaling logic for determining if struct arguments
1972 to signals should be passed by reference to callbacks.
1973 Maintain a list of these structs and apply an in-place copy of
1975 pointer if the struct wrapper is held longer than the duration of the
1976 Python callback. This allows for both mutation of struct arguments
1978 callbacks as well as memory safety incase a callbacks holds onto
1981 https://bugzilla.gnome.org/show_bug.cgi?id=736175
1983 gi/pygi-boxed.c | 20 ++++++++++++++++++++
1984 gi/pygi-boxed.h | 2 ++
1985 gi/pygi-signal-closure.c | 43
1986 +++++++++++++++++++++++++++++++++++++------
1987 tests/test_overrides_gtk.py | 1 -
1988 tests/test_signal.py | 27 +++++++++++++++++++++++++++
1989 5 files changed, 86 insertions(+), 7 deletions(-)
1991 commit 09161ff690ad37c94668d5d65191f4d84829d41f
1992 Author: Simon Feltman <sfeltman@src.gnome.org>
1993 Date: Sun Sep 7 15:53:35 2014 -0700
1995 Limit foreign struct checks to GI_INFO_TYPE_STRUCT
1997 Add struct type check before calling g_struct_info_is_foreign().
1999 https://bugzilla.gnome.org/show_bug.cgi?id=736175
2001 gi/pygi-argument.c | 11 ++++++++---
2002 gi/pygi-struct-marshal.c | 7 +++++--
2003 2 files changed, 13 insertions(+), 5 deletions(-)
2005 commit 4ebb1f5a4750712bd919a31103ed8c8d6af483b3
2006 Author: Simon Feltman <sfeltman@src.gnome.org>
2007 Date: Sat Sep 6 15:16:06 2014 -0700
2009 tests: Add failing regression test for Gtk.TextBuffer.insert-text
2012 https://bugzilla.gnome.org/show_bug.cgi?id=736175
2014 tests/test_overrides_gtk.py | 19 +++++++++++++++++++
2015 1 file changed, 19 insertions(+)
2017 commit 2f355dc4e9724f25c200d30db1c8fbc4695f9ab7
2018 Author: Simon Feltman <sfeltman@src.gnome.org>
2019 Date: Mon Sep 1 17:36:46 2014 -0700
2021 configure.ac: post release version bump to 3.13.92
2024 1 file changed, 1 insertion(+), 1 deletion(-)
2026 commit 68d34721a21bfac1a43252bd92612c2460ea60dd
2027 Author: Simon Feltman <sfeltman@src.gnome.org>
2028 Date: Mon Sep 1 17:31:39 2014 -0700
2032 NEWS | 15 +++++++++++++++
2033 1 file changed, 15 insertions(+)
2035 commit 8c6cf22d74075b7169512b9e7773a511abb9b759
2036 Author: Simon Feltman <sfeltman@src.gnome.org>
2037 Date: Mon Sep 1 16:48:15 2014 -0700
2039 docs: Skip "Constructors" header for anonymous structs
2041 Structs which don't have a size or constructor should not procuce
2043 string. The trailing "::" was causing a problem with sphinx.
2045 gi/docstring.py | 8 ++++++--
2046 tests/test_docstring.py | 3 ++-
2047 2 files changed, 8 insertions(+), 3 deletions(-)
2049 commit c1ea60be30ebf11c2e5415180305e4ac3c573f57
2050 Author: Simon Feltman <sfeltman@src.gnome.org>
2051 Date: Mon Sep 1 15:21:04 2014 -0700
2053 docs: Fix error when using may_return_null()
2055 Fix error with an untested code path opened up by commit 1f78dc0ace.
2057 gi/docstring.py | 3 ++-
2058 tests/test_docstring.py | 4 ++++
2059 2 files changed, 6 insertions(+), 1 deletion(-)
2061 commit 1f78dc0ace5282def9f1f700bfe4523de07e7549
2062 Author: Simon Feltman <sfeltman@src.gnome.org>
2063 Date: Fri Aug 29 16:49:14 2014 -0700
2065 docs: Fix function doc string generator return types
2067 Change skip_return() access into a function call. This was causing
2068 return type doc strings to always be skipped.
2070 gi/docstring.py | 2 +-
2071 tests/test_docstring.py | 8 ++++++--
2072 2 files changed, 7 insertions(+), 3 deletions(-)
2074 commit 28d0337f0e3d4b0e9c4350ce5d6cf0cb68da843f
2075 Author: Simon Feltman <sfeltman@src.gnome.org>
2076 Date: Fri Aug 29 14:18:28 2014 -0700
2078 Special case signal output arguments which are structs as
2081 Add a special case which avoids copying of struct arguments marked
2083 to signals. Since we don't currently support output arguments,
2085 come to rely on a pass-by-reference bug which was fixed and caused
2087 regress (bug 722899). Add unittest which is currently failing due
2089 of issues with emit() not supporting type annotations or output
2093 https://bugzilla.gnome.org/show_bug.cgi?id=735486
2095 gi/pygi-signal-closure.c | 41
2096 +++++++++++++++++++++++++++++++++++------
2097 tests/test_overrides_gtk.py | 24 ++++++++++++++++++++++++
2098 2 files changed, 59 insertions(+), 6 deletions(-)
2100 commit 16f8f687eae0caa1e4059fd62bd1f9d4c7f655f7
2101 Author: Simon Feltman <sfeltman@src.gnome.org>
2102 Date: Wed Aug 27 23:55:06 2014 -0700
2104 Ignore closure callbacks when Python is not initialized
2106 Add an immediate return in ffi closures if Python is not initialized.
2107 This fixes rare events when which lead to a segfault when a process
2110 https://bugzilla.gnome.org/show_bug.cgi?id=722562
2112 gi/pygi-closure.c | 7 +++++++
2113 1 file changed, 7 insertions(+)
2115 commit 27a14679dce33f64bbb5d77677eba83849f168ff
2116 Author: Christoph Reiter <reiter.christoph@gmail.com>
2117 Date: Fri Aug 22 21:51:31 2014 -0700
2119 Change boxed init with args to warn instead of raise
2121 Replace raising a TypeError in gi.types.Boxed() with a warning.
2122 Even though passing arguments or keywords to the parent class is
2123 incorrect here, raising an exception was causing a bit of fallout
2124 in some apps (Gramps).
2126 https://bugzilla.gnome.org/show_bug.cgi?id=727810
2128 gi/pygi-boxed.c | 5 ++++-
2129 tests/test_gi.py | 13 +++++++++++--
2130 2 files changed, 15 insertions(+), 3 deletions(-)
2132 commit 6008748bd7ecc6e5c933e6902c77d8485b905a6f
2133 Author: Simon Feltman <sfeltman@src.gnome.org>
2134 Date: Fri Aug 22 02:16:10 2014 -0700
2136 tests: Add test for GLib.spawn_async_with_pipes()
2138 https://bugzilla.gnome.org/show_bug.cgi?id=735213
2140 tests/test_signal.py | 2 +-
2141 tests/test_subprocess.py | 17 +++++++++++++++++
2142 2 files changed, 18 insertions(+), 1 deletion(-)
2144 commit 983276fb1cbc261d062ef93ba2266d08a5a6f423
2145 Author: Simon Feltman <sfeltman@src.gnome.org>
2146 Date: Thu Aug 21 17:16:31 2014 -0700
2148 Revert "Replace statically bound GLib.Variant.new_tuple() with GI"
2150 This was accidentally pushed.
2151 Revert commit 35c6540c42a01e1155f44533cc09e6c9f94b6613.
2153 gi/gimodule.c | 39 +++++++++++++++++++++++++++++++++++++++
2154 gi/overrides/GLib.py | 12 +++++++-----
2155 2 files changed, 46 insertions(+), 5 deletions(-)
2157 commit b7a4e68a224ab66f67e45667023f74dd743e6177
2158 Author: Christoph Reiter <reiter.christoph@gmail.com>
2159 Date: Fri Aug 22 01:04:40 2014 +0200
2161 Fix crash in GList/GSList marshaling error handling path.
2163 In case PySequence_GetItem() failed, the retured NULL was passed
2166 https://bugzilla.gnome.org/show_bug.cgi?id=735201
2168 gi/pygi-list.c | 4 ++--
2169 tests/test_gi.py | 16 ++++++++++++++++
2170 2 files changed, 18 insertions(+), 2 deletions(-)
2172 commit 35c6540c42a01e1155f44533cc09e6c9f94b6613
2173 Author: Simon Feltman <sfeltman@src.gnome.org>
2174 Date: Thu Aug 21 15:11:39 2014 -0700
2176 Replace statically bound GLib.Variant.new_tuple() with GI
2178 Remove the static implementation of _wrap_pyg_variant_new_tuple with
2179 usage of the dynamic version coming from GI. Array marshalling has
2180 drastically improved in recent years making the dynamic version usable
2181 with a small compatibility shim for the arguments.
2183 https://bugzilla.gnome.org/show_bug.cgi?id=735199
2185 gi/gimodule.c | 39 ---------------------------------------
2186 gi/overrides/GLib.py | 12 +++++-------
2187 2 files changed, 5 insertions(+), 46 deletions(-)
2189 commit c1d387540a0b2db66e860c574b070051a5431914
2190 Author: Simon Feltman <sfeltman@src.gnome.org>
2191 Date: Thu Aug 21 14:37:14 2014 -0700
2193 Fix reference counting problems with GLib.Variant.new_tuple()
2195 Always sink the results of g_variant_new_tuple() in the statically
2196 bound wrapper. This matches the generic GI marshalling behavior
2197 of passing GVariants to Python with transfer-none.
2199 https://bugzilla.gnome.org/show_bug.cgi?id=735166
2202 tests/test_overrides_glib.py | 7 +++++++
2203 2 files changed, 8 insertions(+)
2205 commit 9ce261f27742ba200f70003f162291a375d244d3
2206 Author: Simon Feltman <sfeltman@src.gnome.org>
2207 Date: Tue Aug 19 14:57:31 2014 -0700
2209 configure.ac: Fix darwin builds
2211 Merge platform_win32 and os_win32 variables/case statements and
2212 define "link_python_libs" for win32 as well as darwin.
2214 https://bugzilla.gnome.org/show_bug.cgi?id=735068
2216 configure.ac | 30 +++++++++++-------------------
2217 1 file changed, 11 insertions(+), 19 deletions(-)
2219 commit 92f0d6ebf9b67729d8253e15fce77b0ad0375573
2220 Author: Simon Feltman <sfeltman@src.gnome.org>
2221 Date: Wed Aug 20 13:39:31 2014 -0700
2223 Skip marshalling NULL output arguments in Python closures
2225 Skip marshalling optional output arguments which are passed NULL
2226 as the memory location. This fixes fallout from bug 727004.
2228 https://bugzilla.gnome.org/show_bug.cgi?id=735090
2230 gi/pygi-closure.c | 3 ++-
2231 1 file changed, 2 insertions(+), 1 deletion(-)
2233 commit d7e30c3cacf3cdd550e4dbfe2fa47aea1ae28147
2234 Author: Simon Feltman <sfeltman@src.gnome.org>
2235 Date: Mon Aug 18 19:10:36 2014 -0700
2237 configure.ac: post release version bump to 3.13.91
2240 1 file changed, 1 insertion(+), 1 deletion(-)
2242 commit 17ba19c2e9b91a1bb8b03fabd4100d436c96975d
2243 Author: Simon Feltman <sfeltman@src.gnome.org>
2244 Date: Mon Aug 18 19:07:10 2014 -0700
2248 NEWS | 15 +++++++++++++++
2249 1 file changed, 15 insertions(+)
2251 commit 6bcfaf6e1e2331b704dd6067d45d6840e87632a2
2252 Author: Simon Feltman <sfeltman@src.gnome.org>
2253 Date: Mon Aug 18 18:57:28 2014 -0700
2255 configure.ac: pre release version bump to 3.13.90
2258 1 file changed, 1 insertion(+), 1 deletion(-)
2260 commit 3b5b590599ca98cc51871878618cd59fc05212d1
2261 Author: Simon Feltman <sfeltman@src.gnome.org>
2262 Date: Mon Aug 18 02:33:54 2014 -0700
2264 gtk-demo: Don't use deprecated constructor for Gtk.Label
2266 demos/gtk-demo/demos/pickers.py | 2 +-
2267 1 file changed, 1 insertion(+), 1 deletion(-)
2269 commit 5b82051d23f8d759b6fa57a4e9327e300568c89f
2270 Author: Simon Feltman <sfeltman@src.gnome.org>
2271 Date: Sat Aug 9 02:30:43 2014 -0700
2273 Fast path Python Property getter when accessed through GObject
2276 Break do_get_property() call into a re-usable function.
2277 Call do_get_property() Python implementations instead of going
2279 machinery for Python GObjects. This gives a performance boost
2281 GObject properties when accessed via. obj.get_property() and
2284 https://bugzilla.gnome.org/show_bug.cgi?id=723872
2286 gi/gobjectmodule.c | 11 ++++-------
2287 gi/pygi-property.c | 35 +++++++++++++++++++++++++++--------
2288 gi/pygi-property.h | 3 +++
2289 3 files changed, 34 insertions(+), 15 deletions(-)
2291 commit 0a99f878e40c8d683157dea69c3c9ac40d13d734
2292 Author: Simon Feltman <sfeltman@src.gnome.org>
2293 Date: Sat Aug 9 02:10:11 2014 -0700
2295 Fast path Python Property getter when accessing descriptor directly
2297 Call the Python implemented fget() when a property is accessed
2299 on a Python implemented GObject. This skips going through the GObject
2300 machinery which ends up calling fget() and marshalling the results
2303 https://bugzilla.gnome.org/show_bug.cgi?id=723872
2305 gi/_propertyhelper.py | 19 +++++++++++++++----
2306 1 file changed, 15 insertions(+), 4 deletions(-)
2308 commit 74722386192ad27aac8855d4603d8120af82c98e
2309 Author: Simon Feltman <sfeltman@src.gnome.org>
2310 Date: Mon Aug 18 02:05:58 2014 -0700
2312 Don't use GI type for determining pointer extraction from GValues
2314 Replace usage of g_type_is_a() with G_VALUE_HOLDS() when extracting
2315 pointers from GValues being marshalled from properties and signals.
2316 This fixes fallout from commit abdfb0f.
2318 gi/pygi-value.c | 10 ++++------
2319 1 file changed, 4 insertions(+), 6 deletions(-)
2321 commit 2601011e9eb3b5f391161313ed568e5c4b67c99a
2322 Author: Simon Feltman <sfeltman@src.gnome.org>
2323 Date: Fri Aug 8 23:58:17 2014 -0700
2325 Fast path property access for basic types
2327 Attempt marshalling with pygi_value_to_py_basic_type() prior to
2329 GI info. This gives a quick conversion for basic types like bools,
2331 strings without having to go through GIArgument and GI
2333 gives approximately a 3x performance boost for accessing these
2335 the unified GValue marshaller.
2337 https://bugzilla.gnome.org/show_bug.cgi?id=726999
2339 gi/pygi-property.c | 9 +++++++++
2340 gi/pygi-value.c | 26 ++++++++++++++++++--------
2341 2 files changed, 27 insertions(+), 8 deletions(-)
2343 commit 8f4b06f700ed79df32774fad8e2a2a922bfbfbe5
2344 Author: Simon Feltman <sfeltman@src.gnome.org>
2345 Date: Fri Aug 8 16:31:01 2014 -0700
2347 Break pyg_value_as_pyobject into two functions
2349 Add pygi_value_to_py_basic_type() which is limited to handling basic
2350 types that don't need introspection information when marshalling
2352 Add pygi_value_to_py_structured_type() for marshalling of structured
2354 which can eventually accept GI type hints.
2356 https://bugzilla.gnome.org/show_bug.cgi?id=726999
2358 gi/pygi-value.c | 74
2359 +++++++++++++++++++++++++++++++++++++++++++++++----------
2360 gi/pygi-value.h | 6 +++++
2361 2 files changed, 68 insertions(+), 12 deletions(-)
2363 commit b0236d6fde137e0b2ecf7f5556ad5d53c22874bc
2364 Author: Simon Feltman <sfeltman@src.gnome.org>
2365 Date: Fri Aug 8 20:55:28 2014 -0700
2367 Unify property getters
2369 Consolidate duplicate logic into pygi_get_property_value().
2370 Use the function for GObject.get_property(), GObject.get_properties(),
2372 Remove overridden expected failures in TestCGetPropertyMethod which
2373 now work due to the unification.
2375 https://bugzilla.gnome.org/show_bug.cgi?id=733893
2376 https://bugzilla.gnome.org/show_bug.cgi?id=726999
2378 gi/pygi-property.c | 85 +++++++++++++++++++++++++++++-------------
2379 gi/pygi-property.h | 4 ++
2381 +++++++-----------------------------------------
2382 tests/test_properties.py | 38 -------------------
2383 4 files changed, 77 insertions(+), 147 deletions(-)
2385 commit abdfb0fa3f72f9bf822c472d16c90d6b1871610b
2386 Author: Simon Feltman <sfeltman@src.gnome.org>
2387 Date: Mon Jul 28 19:09:30 2014 -0700
2389 Merge pygi_get_property_value and _pygi_argument_from_g_value
2391 Merge duplicated GValue marshaling code which has diverged over time
2392 (commits 3606eb20, ee62df4d, e14ebab6, 8cfd596c, 9f50fd21, 0d099bdb,
2394 Use _pygi_argument_to_array within pygi_get_property_value. This
2396 in the new code for supporting GI_TYPE_TAG_ARRAY and also fixes
2398 Side effects of this change also include support for properties
2400 G_TYPE_FLAGS and G_TYPE_PARAM.
2402 https://bugzilla.gnome.org/show_bug.cgi?id=726999
2404 gi/pygi-property.c | 140
2405 +++++------------------------------------------------
2406 gi/pygi-value.c | 24 ++++++---
2407 2 files changed, 28 insertions(+), 136 deletions(-)
2409 commit 142ff1903d34876db3d1bee5e9782ac49de12313
2410 Author: Simon Feltman <sfeltman@src.gnome.org>
2411 Date: Mon Jul 28 04:40:36 2014 -0700
2413 Never dup data structures when marshaling signal in arguments
2415 Always assume transfer-none of GValue arguments to signal handlers.
2416 A signal handler with arguments marked as transfer-full does not
2417 make any sense, so assume they are always transfer-none.
2419 https://bugzilla.gnome.org/show_bug.cgi?id=726999
2421 gi/pygi-signal-closure.c | 4 +---
2422 gi/pygi-value.c | 4 +++-
2423 2 files changed, 4 insertions(+), 4 deletions(-)
2425 commit 04816f74194bd2c95b8b958dcf9ed5da5a83e001
2426 Author: Simon Feltman <sfeltman@src.gnome.org>
2427 Date: Mon Jul 28 04:23:39 2014 -0700
2429 Never dup data structures when marshaling from g_object_get_property()
2431 Always use transfer-none with the results of g_object_get_property()
2432 and assume g_value_unset() will cleanup the results. This gives us
2433 control over memory of properties and limits property anotations to
2436 https://bugzilla.gnome.org/show_bug.cgi?id=726999
2438 gi/pygi-property.c | 24 +++++++-----------------
2439 1 file changed, 7 insertions(+), 17 deletions(-)
2441 commit 85175047e66dfc0c0263eac91d8056a95d0a60a0
2442 Author: Simon Feltman <sfeltman@src.gnome.org>
2443 Date: Tue Jul 29 19:29:28 2014 -0700
2445 Refactor boxed wrapper memory management strategy
2447 Change pygi_boxed_new() to accept "copy_boxed" instead of
2449 This changes memory management so the PyGIBoxed wrapper owns the boxed
2450 pointer given to it. Use __del__ instead of dealloc for freeing
2452 memory. This is needed for edge cases where objects like GSource can
2453 trigger the finalized callback during de-alloc, resulting in the
2455 references counts being manipulated and triggering a re-entrant
2457 Add hack to keep Gtk.TreeIter.do_iter_next/previous implementations
2459 which rely on pass-by-reference.
2460 See also: https://bugzilla.gnome.org/show_bug.cgi?id=734465
2462 https://bugzilla.gnome.org/show_bug.cgi?id=722899
2464 https://bugzilla.gnome.org/show_bug.cgi?id=726999
2466 gi/gimodule.c | 6 +++-
2467 gi/overrides/GLib.py | 4 ---
2468 gi/overrides/GObject.py | 3 ++
2469 gi/pygi-boxed.c | 54 +++++++++++++++++++++++++-------
2470 gi/pygi-boxed.h | 4 +--
2471 gi/pygi-source.c | 6 ++--
2472 gi/pygi-struct-marshal.c | 81
2473 +++++++++++++++++++++++++++++++++++++++++++++---
2474 tests/test_gi.py | 1 -
2475 tests/test_source.py | 8 +++--
2476 9 files changed, 140 insertions(+), 27 deletions(-)
2478 commit 62aed0977090f7099a5e538209f7c680ea22fe12
2479 Author: Simon Feltman <sfeltman@src.gnome.org>
2480 Date: Sun Aug 17 19:04:51 2014 -0700
2482 Replace GObject.signal_query with introspected version
2484 Remove the static bindings for GObject.signal_query and replace with a
2485 Python compatibility shim which utilizes the introspection exposed
2489 https://bugzilla.gnome.org/show_bug.cgi?id=688792
2491 gi/gobjectmodule.c | 89
2492 -------------------------------------------------
2493 gi/overrides/GObject.py | 39 ++++++++++++----------
2494 2 files changed, 21 insertions(+), 107 deletions(-)
2496 commit 4e130d72a5492fc00c61a816eddccdbc4f558b91
2497 Author: Simon Feltman <sfeltman@src.gnome.org>
2498 Date: Sun Aug 17 19:03:32 2014 -0700
2500 Use array lengths specified on struct fields
2502 Add array length marshalling policy for struct fields. This fixes
2504 C array fields on structs which also specify a length field.
2506 https://bugzilla.gnome.org/show_bug.cgi?id=688792
2508 gi/pygi-argument.c | 14 ++++++-------
2509 gi/pygi-argument.h | 4 ++++
2511 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
2512 3 files changed, 68 insertions(+), 9 deletions(-)
2514 commit c55d029d2d67b5920e9467212e22b0ad58d3ded8
2515 Author: Simon Feltman <sfeltman@src.gnome.org>
2516 Date: Sun Aug 17 18:15:23 2014 -0700
2518 Refactor signal array length marshalling to support a length policy
2520 Replace passing arrays of data to non-caching array marshallers with
2522 closure that can be customized depending on context. In the case
2524 this is mostly scaffolding which will be replaced with caching
2526 However, it opens the legacy marshaller for usage with struct
2530 https://bugzilla.gnome.org/show_bug.cgi?id=688792
2532 gi/pygi-argument.c | 70
2533 ++++++++++++++++++++++++++++++++----------------
2534 gi/pygi-argument.h | 14 +++++++---
2535 gi/pygi-signal-closure.c | 8 ++++--
2536 3 files changed, 64 insertions(+), 28 deletions(-)
2538 commit 3270dad356c44f5fef7571a9f29b22e7c293fa2c
2539 Author: Simon Feltman <sfeltman@src.gnome.org>
2540 Date: Sun Aug 17 13:58:10 2014 -0700
2542 Remove dead code for marshalling array lengths in the context
2545 Remove usage of the args parameter from _pygi_argument_to_array. This
2547 longer used because array marshalling for vfuncs is now handled by
2551 https://bugzilla.gnome.org/show_bug.cgi?id=688792
2553 gi/pygi-argument.c | 24 +++++++++---------------
2554 1 file changed, 9 insertions(+), 15 deletions(-)
2556 commit 6046ca87697fe80c6c0eb70f1efcad24de4f4fd8
2557 Author: Simon Feltman <sfeltman@src.gnome.org>
2558 Date: Sun Aug 17 21:53:55 2014 -0700
2560 Fix memory leak with unboxed caller allocated structs
2562 Take caller-allocates into account when wrapping unboxed structures.
2563 This will free the allocated memory when the Python object is
2566 gi/pygi-struct-marshal.c | 2 +-
2567 1 file changed, 1 insertion(+), 1 deletion(-)
2569 commit c607f07f5ae3ca62ee3a2649f84330eaaa8801c6
2570 Author: Simon Feltman <sfeltman@src.gnome.org>
2571 Date: Sat Aug 16 22:34:29 2014 -0700
2573 tests: Add reference count test for signal connection arguments
2575 Add tests for ensuring reference counts are what we expect for
2576 connect() callback, user_data, and swap object (currently broken
2579 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2581 tests/test_signal.py | 133
2582 +++++++++++++++++++++++++++++++++++++++++++++++++++
2583 1 file changed, 133 insertions(+)
2585 commit 7076669aadfc5227144df87277d69ae66865770a
2586 Author: Tobias Mueller <gnome-bugs@muelli.cryptobitch.de>
2587 Date: Sat Aug 16 17:46:50 2014 -0700
2589 Don't mask GObject sub-class doc strings in meta-class
2591 If a class has a __doc__ attribute explicitly set, always return it.
2592 Only generate doc strings for classes coming from gi.repository
2595 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
2597 https://bugzilla.gnome.org/show_bug.cgi?id=731452
2599 https://bugzilla.gnome.org/show_bug.cgi?id=734926
2601 gi/types.py | 12 +++++++++++-
2602 tests/test_docstring.py | 2 --
2603 2 files changed, 11 insertions(+), 3 deletions(-)
2605 commit 4cdca4328da7442be247e775294fc676cf677bb7
2606 Author: Piotr Iwaniuk <piwaniuk@poczta.onet.pl>
2607 Date: Sat Aug 16 15:06:40 2014 -0700
2609 tests: Add failing tests for GObject sub-class doc-strings
2611 Add tests for sub-class docstrings set with either doc-string
2612 syntax and by setting the __doc__ attribute directly.
2614 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
2616 https://bugzilla.gnome.org/show_bug.cgi?id=731452
2618 tests/test_docstring.py | 39 +++++++++++++++++++++++++++++++++++++++
2619 1 file changed, 39 insertions(+)
2621 commit 9328a6721909322f0e1444e5285ae1b7b5bf1e3c
2622 Author: Simon Feltman <sfeltman@src.gnome.org>
2623 Date: Thu Aug 14 22:47:14 2014 -0700
2625 configure.ac: post release version bump to 3.13.5
2628 1 file changed, 1 insertion(+), 1 deletion(-)
2630 commit 49fd1662623f6dbb6af16b9fbfc0fb57707a7eee
2631 Author: Simon Feltman <sfeltman@src.gnome.org>
2632 Date: Thu Aug 14 22:42:27 2014 -0700
2636 NEWS | 22 ++++++++++++++++++++++
2637 1 file changed, 22 insertions(+)
2639 commit 0d2e797812ab4e1a745ef97559104691dbb6b824
2640 Author: Simon Feltman <sfeltman@src.gnome.org>
2641 Date: Thu Aug 14 18:33:06 2014 -0700
2643 Fix invalid unref after getting callable container
2645 Don't unref the results of g_base_info_get_container() because it is
2646 transfer-none. This was causing an attempted unref on an invalid
2648 when setting up callback caches for signals.
2650 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2652 gi/pygi-cache.c | 2 --
2653 1 file changed, 2 deletions(-)
2655 commit 654c28faffc8d956bd31987adca092fa014cc897
2656 Author: Simon Feltman <sfeltman@src.gnome.org>
2657 Date: Thu Aug 14 21:31:33 2014 -0700
2659 tests: Silence valgrindlog and valgrindxml output from forked procs
2661 This is needed to properly diff valgrind runs between commits.
2663 tests/Makefile.am | 4 ++--
2664 1 file changed, 2 insertions(+), 2 deletions(-)
2666 commit 57070585a5d5dbc5f42d6fa6d2c309b36f38dfdc
2667 Author: Simon Feltman <sfeltman@src.gnome.org>
2668 Date: Wed Aug 13 10:27:01 2014 -0700
2670 Remove ffi wrapped destroy notify used for closure cleanup
2672 Remove global ffi wrapper for _pygi_invoke_closure_free() and
2674 a pointer to _pygi_invoke_closure_free() directly. There is no need
2676 a known single use function with an ffi closure. Originally
2678 commit 610dd1eec87f.
2680 gi/pygi-closure.c | 49 +------------------------------------------------
2681 1 file changed, 1 insertion(+), 48 deletions(-)
2683 commit 3f9b5f890ad1292f12eba1e545084de80b76dab7
2684 Author: Simon Feltman <sfeltman@src.gnome.org>
2685 Date: Tue Aug 12 22:19:24 2014 -0700
2687 tests: Update tests for static binding protection to check
2690 tests/test_import_machinery.py | 10 +++++-----
2691 1 file changed, 5 insertions(+), 5 deletions(-)
2693 commit e674340db90c29c556b45e0a8f8b2da72661b738
2694 Author: Simon Feltman <sfeltman@src.gnome.org>
2695 Date: Mon Aug 11 23:12:38 2014 -0700
2697 Use AttributeError for static binding protection
2699 Replace usage of RuntimeError with AttributeError in the dummy module
2700 protecting importing of static bindings. This is needed so we
2702 modules like inspect which is used by ipython.
2704 gi/__init__.py | 2 +-
2705 1 file changed, 1 insertion(+), 1 deletion(-)
2707 commit 86fb12b3e9b7558000d100f8f212e970ae8c4fd2
2708 Author: Simon Feltman <sfeltman@src.gnome.org>
2709 Date: Mon Aug 11 22:47:14 2014 -0700
2711 Add deprecation warning for connect_object() with non-GObject argument
2713 GObject.connect_object() accepts any Python object and holds a strong
2714 reference to it in the closure defeating the purpose of
2716 Add a warning so we can eventually limit connect_object() to GObject
2718 use the underlying g_signal_connect_object() which holds a weak
2721 https://bugzilla.gnome.org/show_bug.cgi?id=688064
2723 gi/pygobject.c | 9 +++++++++
2724 1 file changed, 9 insertions(+)
2726 commit 9c54bb9defb681316841158cc63df0b0b85c12f0
2727 Author: Simon Feltman <sfeltman@src.gnome.org>
2728 Date: Mon Aug 11 22:39:13 2014 -0700
2730 tests: Add tests for connect_object()
2732 Add tests for both introspected and non-introspected signals
2734 of connect_object() and connect_object_after() in combination
2736 and Python object swap data.
2738 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2740 tests/test_signal.py | 139
2741 +++++++++++++++++++++++++++++++++++++++++++--------
2742 1 file changed, 117 insertions(+), 22 deletions(-)
2744 commit 581acc4c56be127b3a724df504bb46a40959fdd9
2745 Author: Simon Feltman <sfeltman@src.gnome.org>
2746 Date: Mon Aug 11 21:21:42 2014 -0700
2748 Add Python implementation of Object.connect_data()
2750 Add GObject.Object.connect_data() which takes an optional
2752 keyword argument accepting GObject.ConnectFlags enum values. This is
2753 for supporting user data swapping (ConnectFlags.SWAPPED).
2755 https://bugzilla.gnome.org/show_bug.cgi?id=701843
2757 gi/overrides/GObject.py | 37 ++++++++++++++++
2758 tests/test_signal.py | 109
2759 ++++++++++++++++++++++++++++++++++++++++++++++++
2760 2 files changed, 146 insertions(+)
2762 commit b1caef95c4b68b65f3f159563162afde5a0b0939
2763 Author: Simon Feltman <sfeltman@src.gnome.org>
2764 Date: Sat Aug 9 02:14:23 2014 -0700
2766 tests: Add failing tests which verify exceptions raised in property
2769 https://bugzilla.gnome.org/show_bug.cgi?id=575652
2771 tests/test_properties.py | 17 +++++++++++++++++
2772 1 file changed, 17 insertions(+)
2774 commit 19cdbee5a89009da0eb366b9c698a860a7aa92b8
2775 Author: Garrett Regier <Garrett.Regier@riftio.com>
2776 Date: Fri Aug 8 10:08:23 2014 -0400
2778 Cleanup input args when marshaling in closures
2780 The cleanup must happen before setting the out args otherwise
2781 the args that cleanup would free are the just set args, not the
2784 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2786 gi/pygi-closure.c | 2 +-
2787 1 file changed, 1 insertion(+), 1 deletion(-)
2789 commit 7742fab42de5b1f4f8161237fc3cef91fd98791c
2790 Author: Simon Feltman <sfeltman@src.gnome.org>
2791 Date: Fri Aug 8 02:47:11 2014 -0700
2793 tests: Fix Python 2 build for newly added test_array_parm()
2795 Use @unittest.skip() with a string argument as required by Python 2.
2797 tests/test_signal.py | 2 +-
2798 1 file changed, 1 insertion(+), 1 deletion(-)
2800 commit 3165c17a455652de9a61439428fa40f30120dc6a
2801 Author: Simon Feltman <sfeltman@src.gnome.org>
2802 Date: Fri Aug 8 02:46:26 2014 -0700
2804 Remove incorrect and unused casts from tp_free calls
2806 Arguments to Py_TYPE() do not need to be cast since the macro
2808 to a PyObject* internall.
2810 gi/pygi-boxed.c | 2 +-
2811 gi/pygi-ccallback.c | 2 +-
2812 gi/pygi-info.c | 2 +-
2813 gi/pygi-struct.c | 2 +-
2814 4 files changed, 4 insertions(+), 4 deletions(-)
2816 commit 74dfec27c6008968cc66a13792dfb02b29c231b6
2817 Author: Simon Feltman <sfeltman@src.gnome.org>
2818 Date: Fri Aug 8 02:33:51 2014 -0700
2820 Fix GCallback Python wrapper leak
2822 The PyObject wrapper for GCallbacks was not calling tp_free in
2824 tp_dealloc class method.
2826 https://bugzilla.gnome.org/show_bug.cgi?id=695130
2828 gi/pygi-ccallback.c | 2 ++
2829 1 file changed, 2 insertions(+)
2831 commit dcf9111a86e01d66943909a0c9f21a181ccc38a6
2832 Author: Martin Pitt <martinpitt@gnome.org>
2833 Date: Fri Aug 8 01:55:21 2014 -0700
2835 tests: Add failing test for marshalling an array of GValues through
2838 https://bugzilla.gnome.org/show_bug.cgi?id=669496
2840 tests/test_signal.py | 12 ++++++++++++
2841 1 file changed, 12 insertions(+)
2843 commit d689d24f271c30612c6a86b5c51d50a1179aedad
2844 Author: Simon Feltman <sfeltman@src.gnome.org>
2845 Date: Thu Aug 7 17:52:35 2014 -0700
2847 tests: Add tests for GApplication local command line handling
2849 Add various tests which override Gio.Appliction.do_command_line and
2850 do_local_command_line.
2852 https://bugzilla.gnome.org/show_bug.cgi?id=690851
2854 tests/test_gio.py | 65
2855 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
2856 1 file changed, 65 insertions(+)
2858 commit 59c257ebc47fa725750344dd50dd8eb522536d3c
2859 Author: Garrett Regier <Garrett.Regier@riftio.com>
2860 Date: Thu Aug 7 12:25:59 2014 -0400
2862 Add test for a callback with an inout array
2864 This was broken until the closures used the caches for marshaling.
2866 https://bugzilla.gnome.org/show_bug.cgi?id=702508
2868 tests/test_everything.py | 19 +++++++++++++++++++
2869 1 file changed, 19 insertions(+)
2871 commit 9d0c43b2b9f92fff4249e4eb296f00ea73b15af3
2872 Author: Garrett Regier <Garrett.Regier@riftio.com>
2873 Date: Thu Aug 7 12:06:30 2014 -0400
2875 Fix raising an error in a constructor
2877 It should raise a Python exception instead of warnings about
2878 a constructor returning NULL.
2880 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2882 gi/pygi-cache.c | 6 +++---
2883 tests/test_gi.py | 6 ++++++
2884 2 files changed, 9 insertions(+), 3 deletions(-)
2886 commit d7b9ef0f5411ebcbb2597c16b221fd3482c535e4
2887 Author: Garrett Regier <Garrett.Regier@riftio.com>
2888 Date: Wed Aug 6 15:30:58 2014 -0400
2890 Use the caches for marshaling the arguments in closures
2892 Changes to object marshaling when the calling context is from
2893 C was required to correctly keep the correct floating status.
2895 The array cache has been modified to set to/from_py_marshaller
2896 for the length arg cache. This is required for closures which include
2897 the length arg for backwards compatibility. The closure cache takes
2898 care to change the length arg cache's meta type so it gets marshalled
2901 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2903 gi/pygi-array.c | 5 +-
2904 gi/pygi-basictype.c | 4 +-
2905 gi/pygi-basictype.h | 36 +++--
2906 gi/pygi-cache.c | 30 +++-
2907 gi/pygi-closure.c | 403
2908 ++++++++++++++++++++++++++++------------------------
2909 gi/pygi-invoke.c | 3 +-
2910 6 files changed, 271 insertions(+), 210 deletions(-)
2912 commit 9337acf98d783777c94d4bcb912a185ba6791efb
2913 Author: Garrett Regier <Garrett.Regier@riftio.com>
2914 Date: Wed Aug 6 12:14:27 2014 -0400
2916 Specialize GObject marshaling when called from C
2918 These are needed otherwise the floating status of
2919 the GObject will not be kept.
2921 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2923 gi/pygi-object.c | 86
2924 +++++++++++++++++++++++++++++++++++++++++++++++---------
2925 1 file changed, 72 insertions(+), 14 deletions(-)
2927 commit cf295f636b6324a46abbaf329cd6d92c04155d9d
2928 Author: Garrett Regier <Garrett.Regier@riftio.com>
2929 Date: Wed Aug 6 11:59:09 2014 -0400
2931 Move special handling of GObject from Python when calling from C
2933 This will soon be used in the GObject arg cache marshaling when
2934 the calling context is C.
2936 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2938 gi/pygi-argument.c | 21 +--------------------
2939 gi/pygi-object.c | 30 ++++++++++++++++++++++++++++++
2940 gi/pygi-object.h | 5 +++++
2941 3 files changed, 36 insertions(+), 20 deletions(-)
2943 commit 0d09234ea0399d756ee3fb0d358fab5b0a145657
2944 Author: Garrett Regier <Garrett.Regier@riftio.com>
2945 Date: Wed Aug 6 11:53:39 2014 -0400
2947 Always pass along the callable cache to the arg cache constructors
2949 This will be needed in a future patch which requires that the callable
2950 cache is always available.
2952 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2954 gi/pygi-array.c | 20 ++++++++++++--------
2955 gi/pygi-array.h | 9 +++++----
2956 gi/pygi-cache.c | 34 ++++++++++++++++++++--------------
2957 gi/pygi-cache.h | 7 ++++---
2958 gi/pygi-hashtable.c | 31 +++++++++++++++++--------------
2959 gi/pygi-hashtable.h | 9 +++++----
2960 gi/pygi-list.c | 30 +++++++++++++++++++-----------
2961 gi/pygi-list.h | 9 +++++----
2962 gi/pygi-object.c | 25 ++++++++++++++-----------
2963 gi/pygi-object.h | 3 ++-
2964 10 files changed, 103 insertions(+), 74 deletions(-)
2966 commit 203fef99205ce0c46b1530b0d480021ee8b8e325
2967 Author: Garrett Regier <Garrett.Regier@riftio.com>
2968 Date: Tue Aug 5 10:42:46 2014 -0400
2970 Set the correct meta type for GErrors when marshaling to Python
2972 Otherwise we do not pass the GError into python callbacks and
2973 we also want to convert these into Python Exceptions.
2975 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2977 gi/pygi-error.c | 2 +-
2978 1 file changed, 1 insertion(+), 1 deletion(-)
2980 commit 2e92809258d04e91c9d22f2fc0de09db2e60c962
2981 Author: Garrett Regier <Garrett.Regier@riftio.com>
2982 Date: Tue Aug 5 10:37:58 2014 -0400
2984 Pass the GIArgument to the closure assign functions
2986 This will be required once we use the caches for marshaling.
2988 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2990 gi/pygi-closure.c | 102
2991 ++++++++++++++++++++++++++----------------------------
2992 1 file changed, 50 insertions(+), 52 deletions(-)
2994 commit ca3579db14df278923674c294d07481a7255510f
2995 Author: Garrett Regier <Garrett.Regier@riftio.com>
2996 Date: Tue Aug 5 10:25:40 2014 -0400
2998 Use the caches for closures, but not yet for marshaling the arguments
3000 Instead of using the various GI functions we use the data from
3002 This also fixes generating an arg cache for a closure as it was
3004 data or simply setting incorrect data. Also, always included the
3006 until the closures no longer need it for marshaling the arguments.
3008 https://bugzilla.gnome.org/show_bug.cgi?id=727004
3010 gi/pygi-cache.c | 33 +++++++-
3011 gi/pygi-cache.h | 4 +
3012 gi/pygi-closure.c | 245
3013 +++++++++++++++++++++++++-----------------------------
3014 gi/pygi-closure.h | 2 +
3015 4 files changed, 150 insertions(+), 134 deletions(-)
3017 commit 6a21dab89b59db0afc6d6a22272028ee949b52ad
3018 Author: Garrett Regier <Garrett.Regier@riftio.com>
3019 Date: Tue Aug 5 10:16:45 2014 -0400
3021 Correctly set the destroy notify for callbacks in closures
3023 https://bugzilla.gnome.org/show_bug.cgi?id=727004
3025 gi/pygi-closure.c | 2 +-
3026 1 file changed, 1 insertion(+), 1 deletion(-)
3028 commit e6d48b4eadbeb1014c4eb140317b579e69eb8d88
3029 Author: Garrett Regier <Garrett.Regier@riftio.com>
3030 Date: Fri Aug 1 11:40:08 2014 -0400
3032 Split the callable cache into the different types
3034 Instead of doing different things based on the various function types
3035 this adds vfuncs for generate_args_cache() and invoke() which are then
3036 specialized for the various function types. Also add a calling context
3037 to the callable cache which is then used to determine the direction
3038 when generating the arg caches.
3040 This is in preparation for adding closure caches.
3042 https://bugzilla.gnome.org/show_bug.cgi?id=727004
3044 gi/pygi-cache.c | 514
3045 +++++++++++++++++++++++++++++++-----------
3046 gi/pygi-cache.h | 96 +++++---
3047 gi/pygi-ccallback.c | 16 +-
3048 gi/pygi-info.c | 3 +-
3049 gi/pygi-invoke-state-struct.h | 2 -
3050 gi/pygi-invoke.c | 244 ++++++++------------
3051 gi/pygi-invoke.h | 4 +
3053 8 files changed, 564 insertions(+), 317 deletions(-)
3055 commit 18341f27a5a9770d8caf3192a75737ab2bc06b1e
3056 Author: Ignacio Casal Quinteiro <icq@gnome.org>
3057 Date: Wed Aug 6 08:27:43 2014 +0200
3059 Generate .dll libraries on windows
3061 https://bugzilla.gnome.org/show_bug.cgi?id=734288
3063 configure.ac | 8 ++++++++
3064 tests/Makefile.am | 8 ++++----
3065 2 files changed, 12 insertions(+), 4 deletions(-)
3067 commit d70403357d6b510356dd375304fb97e458fd12b2
3068 Author: Simon Feltman <sfeltman@src.gnome.org>
3069 Date: Tue Aug 5 22:45:46 2014 -0700
3071 Add protection against attempts at importing static bindings
3073 Clobber gobject, gio, glib, gtk, and gtk.gdk in sys.modules upon
3075 gi with dummy modules which produce an error upon access.
3077 https://bugzilla.gnome.org/show_bug.cgi?id=709183
3079 gi/__init__.py | 25 ++++++++++++++++++++++---
3080 tests/test_import_machinery.py | 24 ++++++++++++++++++++++++
3081 2 files changed, 46 insertions(+), 3 deletions(-)
3083 commit 5ca4d25eac0efcc12b02fe53f379ee41e69bf1d2
3084 Author: Simon Feltman <sfeltman@src.gnome.org>
3085 Date: Tue Dec 31 16:15:04 2013 -0800
3087 Update and deprecate gi.overrides.keysyms
3089 Replace manually assigned keysyms with a dynamically generated version
3090 pulling names and values from Gdk via GI. Add a runtime warning when
3091 this module is imported.
3093 https://bugzilla.gnome.org/show_bug.cgi?id=721295
3095 gi/overrides/keysyms.py | 1490
3096 +-------------------------------------------
3097 pygtkcompat/pygtkcompat.py | 14 +-
3098 2 files changed, 27 insertions(+), 1477 deletions(-)
3100 commit 9eaeba9079c23d7e2837f62e8ed2b26c018351b6
3101 Author: Alexey Pavlov <alexpux@gmail.com>
3102 Date: Tue Aug 5 19:03:38 2014 -0700
3104 Use -no-undefined for building on Windows
3106 See LT_INIT([win32-dll]):
3107 http://www.gnu.org/software/libtool/manual/html_node/LT_005fINIT.html
3109 Additionally add PYTHON_LIBS to testhelper.la linking.
3111 https://bugzilla.gnome.org/show_bug.cgi?id=734284
3113 tests/Makefile.am | 6 +++---
3114 1 file changed, 3 insertions(+), 3 deletions(-)
3116 commit 5737a9ec4bf4d9d07a7e3994d91abf9077b342cc
3117 Author: Alexey Pavlov <alexpux@gmail.com>
3118 Date: Tue Aug 5 18:40:53 2014 -0700
3120 Use python-config for libs when available
3122 https://bugzilla.gnome.org/show_bug.cgi?id=734289
3124 m4/python.m4 | 7 ++++++-
3125 1 file changed, 6 insertions(+), 1 deletion(-)
3127 commit 093abb4ed052c768f51c90324c2e40063aa6b9b9
3128 Author: Alexey Pavlov <alexpux@gmail.com>
3129 Date: Tue Aug 5 18:20:25 2014 -0700
3131 Link gi.so with FFI_LIBS
3133 https://bugzilla.gnome.org/show_bug.cgi?id=734286
3135 gi/Makefile.am | 3 ++-
3136 1 file changed, 2 insertions(+), 1 deletion(-)
3138 commit 9df54d23a15b871fd71c994b97ffe847ff3b9eb5
3139 Author: Alexey Pavlov <alexpux@gmail.com>
3140 Date: Tue Aug 5 15:45:04 2014 +0200
3142 Include math headers also on mingw
3144 https://bugzilla.gnome.org/show_bug.cgi?id=734287
3146 gi/pygi-basictype.c | 2 --
3147 1 file changed, 2 deletions(-)
3149 commit 964ced98e03c704074d10cc362abfa14c00457ba
3150 Author: Garrett Regier <Garrett.Regier@riftio.com>
3151 Date: Thu Jul 31 10:16:47 2014 -0400
3153 Added args_offset to the cache instead of checking the function type
3155 gi/pygi-array.c | 6 ++----
3156 gi/pygi-cache.c | 6 +++---
3157 gi/pygi-cache.h | 3 +++
3158 gi/pygi-closure.c | 4 +---
3159 4 files changed, 9 insertions(+), 10 deletions(-)
3161 commit 9943d876059201cbee87f072a84234ed774ed932
3162 Author: Simon Feltman <sfeltman@src.gnome.org>
3163 Date: Thu Jul 31 21:51:00 2014 -0700
3165 doap: Update homepage URL and email address
3167 pygobject.doap | 4 ++--
3168 1 file changed, 2 insertions(+), 2 deletions(-)
3170 commit afef1020a43d91014c34ffcd5a5f66281f2e7cc9
3171 Author: Simon Feltman <sfeltman@src.gnome.org>
3172 Date: Thu Jul 31 21:46:37 2014 -0700
3174 Change maintainer in PKG-INFO to self
3176 PKG-INFO.in | 4 ++--
3177 1 file changed, 2 insertions(+), 2 deletions(-)
3179 commit 10c4d66574e35cc84bed3c3057b68ad98613d839
3180 Author: Andre Klapper <a9016009@gmx.de>
3181 Date: Thu Jul 31 21:28:12 2014 +0200
3183 doap: add <programming-language>
3185 pygobject.doap | 2 ++
3186 1 file changed, 2 insertions(+)
3188 commit f30001f2b01896577a2b4d956bc4658350e56b8d
3189 Author: Simon Feltman <sfeltman@src.gnome.org>
3190 Date: Wed Jul 30 00:29:01 2014 -0700
3192 Add GClosure marshalling cleanup
3194 Add marshalling cleanup for Python callables and boxed GClosures
3195 passed as arguments. Make sure the marshaller owns a reference
3196 until clean. Fix transfer everything case by adding a new reference.
3197 Remove unused header declaration: pygi_arg_gclosure_from_py_marshal
3199 https://bugzilla.gnome.org/show_bug.cgi?id=695128
3201 gi/pygi-struct-marshal.c | 46
3202 ++++++++++++++++++++++++++++++++++++++--------
3203 gi/pygi-struct-marshal.h | 4 ----
3204 2 files changed, 38 insertions(+), 12 deletions(-)
3206 commit cf4e830f1b613736ef9586562eb6c0b354165925
3207 Author: Simon Feltman <sfeltman@src.gnome.org>
3208 Date: Wed Jul 30 12:42:15 2014 -0700
3210 Remove decrementing argument index for failed marshalling cleanup
3212 Remove index decrement when cleanup function is called for failed
3214 marshalling. The decrement is incorrect and causes the failed argument
3215 cleanup to be skipped. The decrement also causes cleanup for arguments
3216 prior to the failed argument to receive "was_successful" as FALSE,
3220 https://bugzilla.gnome.org/show_bug.cgi?id=695128
3222 gi/pygi-invoke.c | 10 +++++-----
3223 1 file changed, 5 insertions(+), 5 deletions(-)
3225 commit 662a4421125d126a11ca163c362d205f0c2147c4
3226 Author: Simon Feltman <sfeltman@src.gnome.org>
3227 Date: Wed Jul 30 12:46:18 2014 -0700
3229 Use cleanup data for argument marshalling failures
3231 Use state->args_cleanup_data when cleaning up failed argument
3233 This was overlooked when cleanup data tracking was implemented
3236 https://bugzilla.gnome.org/show_bug.cgi?id=695128
3238 gi/pygi-marshal-cleanup.c | 14 +++++++-------
3239 1 file changed, 7 insertions(+), 7 deletions(-)
3241 commit 39746a3b4f307974d8b3f98f7ba2aefe06d897a3
3242 Author: Olav Vitters <olav@vitters.nl>
3243 Date: Wed Jul 30 20:41:37 2014 +0200
3247 pygobject.doap | 2 +-
3248 1 file changed, 1 insertion(+), 1 deletion(-)
3250 commit 36caa74a276972eee2b18162ac09edc83c30a3cb
3251 Author: Simon Feltman <sfeltman@src.gnome.org>
3252 Date: Mon Jul 28 23:51:19 2014 -0700
3254 tests: Move object property reference count tests to test_properties
3256 Move and consolidate tests for object property reference counts from
3257 tests_object_marshaling to test_properties.
3259 https://bugzilla.gnome.org/show_bug.cgi?id=726999
3261 tests/test_object_marshaling.py | 68
3262 -----------------------------------------
3263 tests/test_properties.py | 36 ++++++++++++++++++++++
3264 2 files changed, 36 insertions(+), 68 deletions(-)
3266 commit 15b795354ca5a8f436779ee5d81936af8961acb5
3267 Author: Simon Feltman <sfeltman@src.gnome.org>
3268 Date: Mon Jul 28 22:20:44 2014 -0700
3270 tests: Move test_everything.TestProperties into test_properties
3272 Consolidate property tests found in test_everything into test_property
3273 removing redundant tests already found in test_property.
3275 https://bugzilla.gnome.org/show_bug.cgi?id=726999
3277 tests/test_everything.py | 69
3278 +-----------------------------------------------
3279 tests/test_properties.py | 59 +++++++++++++++++++++++++++++++++++++++++
3280 2 files changed, 60 insertions(+), 68 deletions(-)
3282 commit c691d86c6f5f073f7c1e1e6ddd4311ed27431747
3283 Author: Simon Feltman <sfeltman@src.gnome.org>
3284 Date: Mon Jul 28 21:32:44 2014 -0700
3286 tests: Add tests for get/set_property()
3288 Re-use the new CPropertiesTestBase class for testing
3292 https://bugzilla.gnome.org/show_bug.cgi?id=726999
3294 tests/test_properties.py | 32 ++++++++++++++++++++++++++++++++
3295 1 file changed, 32 insertions(+)
3297 commit 115bc88ad5eb85e0a1821fa4fa2cad5c6df87dcc
3298 Author: Simon Feltman <sfeltman@src.gnome.org>
3299 Date: Mon Jul 28 21:32:00 2014 -0700
3301 tests: Break TestPropertiesObject up for re-use
3303 Refactor TestPropertiesObject into a base class which abstracts
3305 property methods. This will allow re-use for testing both
3307 and the props accessor.
3309 https://bugzilla.gnome.org/show_bug.cgi?id=726999
3311 tests/test_properties.py | 221
3312 +++++++++++++++++++++++++----------------------
3313 1 file changed, 118 insertions(+), 103 deletions(-)
3315 commit bf0a5c3345e65b6a7475fada4ea240dbe0049a26
3316 Author: Simon Feltman <sfeltman@src.gnome.org>
3317 Date: Mon Jul 28 19:32:00 2014 -0700
3319 tests: Move test_gi.TestPropertiesObject into test_properties
3321 Move all property testing code into the test_properties module.
3323 https://bugzilla.gnome.org/show_bug.cgi?id=726999
3325 tests/test_gi.py | 233
3326 ----------------------------------------------
3327 tests/test_properties.py | 235
3328 +++++++++++++++++++++++++++++++++++++++++++++++
3329 2 files changed, 235 insertions(+), 233 deletions(-)
3331 commit 4941691264970b19b81d435cd58ab18ef6bac9a5
3332 Author: Simon Feltman <sfeltman@src.gnome.org>
3333 Date: Fri Jul 25 18:33:15 2014 -0700
3335 pyflakes: Fix legacy print and exception usage under Python 3
3337 Fix print statements and legacy exception usage in examples.
3339 https://bugzilla.gnome.org/show_bug.cgi?id=731042
3341 examples/properties.py | 12 ++++++------
3342 tests/runtests-windows.py | 4 ++--
3343 2 files changed, 8 insertions(+), 8 deletions(-)
3345 commit c3d3cd2f798cbae7f66d8e57e191b5f9569a713b
3346 Author: Simon Feltman <sfeltman@src.gnome.org>
3347 Date: Fri Jul 25 17:49:57 2014 -0700
3349 tests: Ignore warnings for GtkAlignment
3351 This was causing unittests to bail. Even though this is deprecated,
3352 we still need to test its usage in the context of pygtkcompat.
3354 tests/compat_test_pygtk.py | 15 ++++++++++++++-
3355 1 file changed, 14 insertions(+), 1 deletion(-)
3357 commit 804b89447ae2748c88ad5efe5e6e37d949681b9e
3358 Author: Simon Feltman <sfeltman@src.gnome.org>
3359 Date: Fri Jul 25 17:40:36 2014 -0700
3361 tests: Remove usage of deprecated "schema" property in GSettings
3364 Use new and new_with_path instead as the schema property was causing a
3365 hard warning which fails the test suite.
3367 tests/test_gio.py | 6 +++---
3368 1 file changed, 3 insertions(+), 3 deletions(-)
3370 commit 6b806137825891cc6bdad82a68cf3deb087feb70
3371 Author: Simon Feltman <sfeltman@src.gnome.org>
3372 Date: Fri Jul 25 17:35:06 2014 -0700
3374 tests: Ignore stock-id usage warnings
3376 Add ignore_glib_warnings context manager for easily ignoring warnings
3377 caused by stock-id usage. Even though stock-id is deprecated, we still
3378 need to test the related Python binding overrides.
3380 tests/test_overrides_gtk.py | 40 ++++++++++++++++++++++++----------------
3381 1 file changed, 24 insertions(+), 16 deletions(-)
3383 commit 6b944c4e215a34bc4181c7c708b6d6f2d4898c15
3384 Author: Simon Feltman <sfeltman@src.gnome.org>
3385 Date: Mon Jun 23 15:55:57 2014 -0700
3387 configure.ac: post release version bump to 3.13.4
3390 1 file changed, 1 insertion(+), 1 deletion(-)
3392 commit 58198b6ae426448cde82cad7304018c7c770c0ea
3393 Author: Simon Feltman <sfeltman@src.gnome.org>
3394 Date: Mon Jun 23 15:53:03 2014 -0700
3399 1 file changed, 8 insertions(+)
3401 commit cdf8c40768b00d08a1facca696a042efc6e8988f
3402 Author: Simon Feltman <sfeltman@src.gnome.org>
3403 Date: Thu May 29 13:02:44 2014 -0700
3405 demos: Cleanup CSS accordion demo to use a loop for adding buttons
3407 Also use Gtk.main_quit directly since it has been overridden to accept
3410 demos/gtk-demo/demos/Css/css_accordion.py | 21 +++------------------
3411 1 file changed, 3 insertions(+), 18 deletions(-)
3413 commit ba8380d093d6f84eabcf18c02b248aae8ffc3cf5
3414 Author: Simon Feltman <sfeltman@src.gnome.org>
3415 Date: Tue May 27 19:24:20 2014 -0700
3417 refactor: Move builder connection utilities outside of Builder class
3419 Move _extract_handler_and_args and _builder_connect_callback into
3421 scope for re-use by GTK+ Composite Templates.
3423 https://bugzilla.gnome.org/show_bug.cgi?id=701843
3425 gi/overrides/Gtk.py | 83
3426 ++++++++++++++++++++++++---------------------
3427 tests/test_overrides_gtk.py | 8 ++---
3428 2 files changed, 48 insertions(+), 43 deletions(-)
3430 commit f127fabe9664b243774b76a68e6fce5986aa23a0
3431 Author: Simon Feltman <sfeltman@src.gnome.org>
3432 Date: Tue May 27 15:52:10 2014 -0700
3434 tests: Move TestSignals from test_everything into test_signal
3436 Move these tests into a more meaningful location.
3438 https://bugzilla.gnome.org/show_bug.cgi?id=701843
3440 tests/test_everything.py | 123
3441 --------------------------------------------
3442 tests/test_signal.py | 131
3443 +++++++++++++++++++++++++++++++++++++++++++++++
3444 2 files changed, 131 insertions(+), 123 deletions(-)
3446 commit da46963a0ce9f796ff4ee4ae2023adfd40ed54ca
3447 Author: Simon Feltman <sfeltman@src.gnome.org>
3448 Date: Mon May 26 04:21:07 2014 -0700
3450 configure.ac: post release version bump to 3.13.2
3453 1 file changed, 1 insertion(+), 1 deletion(-)
3455 commit 6258adf6c7c604954f0dbc1a9ed8c284114358bc
3456 Author: Simon Feltman <sfeltman@src.gnome.org>
3457 Date: Mon May 26 04:18:55 2014 -0700
3461 NEWS | 21 +++++++++++++++++++++
3462 1 file changed, 21 insertions(+)
3464 commit 32542a4ba24d413fb6e0d509bff05f4ac3f642a1
3465 Author: Simon Feltman <sfeltman@src.gnome.org>
3466 Date: Mon May 26 03:01:13 2014 -0700
3468 Python 3.4 make check fixes
3470 Bump GI required version to 1.39.0. This is needed to get rid of
3471 expectedFailures which pass when built with 1.39.0 (unexpected
3473 fail unittesting in Python 3.4).
3474 Silence deprecation warning when using imp.reload.
3476 https://bugzilla.gnome.org/show_bug.cgi?id=730411
3479 pygtkcompat/pygtkcompat.py | 4 +++-
3480 tests/test_gi.py | 1 -
3481 tests/test_repository.py | 2 --
3482 4 files changed, 4 insertions(+), 5 deletions(-)
3484 commit dbdc662b5743bb54fcc3621db775a6e948ec360c
3485 Author: Simon Feltman <sfeltman@src.gnome.org>
3486 Date: Mon May 26 01:53:14 2014 -0700
3488 tests: Don't use deprecated positional argument for Gio.Settings
3491 tests/test_gio.py | 6 +++---
3492 1 file changed, 3 insertions(+), 3 deletions(-)
3494 commit d0b23f08eebd4377f066a4483900fe6d09e3795e
3495 Author: Simon Feltman <sfeltman@src.gnome.org>
3496 Date: Sun May 25 23:03:35 2014 -0700
3498 overrides: Add Gtk.Container.child_get/set overrides
3500 Add overrides for child_get and child_set to Gtk.Container since these
3501 are not introspectable methods.
3503 https://bugzilla.gnome.org/show_bug.cgi?id=685076
3505 gi/overrides/Gtk.py | 10 ++++++++++
3506 tests/test_overrides_gtk.py | 16 ++++++++++++++++
3507 2 files changed, 26 insertions(+)
3509 commit 45a5fb2b0d6c7f46d355c83c73d829532e5a72ce
3510 Author: Simon Feltman <sfeltman@src.gnome.org>
3511 Date: Sun May 25 22:07:07 2014 -0700
3513 overrides: Make value argument to Widget.style_get_property optional
3515 Override Gtk.Widget.style_get_property to optionally accept the
3517 argument. If "value" is not supplied, the override will locate
3519 property value type and create the GValue. Additionally return
3521 GValue converted to a native Python value.
3523 https://bugzilla.gnome.org/show_bug.cgi?id=685076
3525 gi/overrides/Gtk.py | 11 +++++++++++
3526 tests/test_overrides_gtk.py | 29 +++++++++++++++++++++++++++++
3527 2 files changed, 40 insertions(+)
3529 commit 6f5a9a37bcdec5074332b1066396321d40b15d99
3530 Author: Simon Feltman <sfeltman@src.gnome.org>
3531 Date: Sun May 25 21:08:47 2014 -0700
3533 overrides: Make value argument to Container.child_get_property
3536 Override Gtk.Container.child_get_property to optionally accept the
3538 argument. If "value" is not supplied, the override will locate
3540 property value type and create the GValue. Additionally return
3542 GValue converted to a native Python value.
3544 https://bugzilla.gnome.org/show_bug.cgi?id=685076
3546 gi/overrides/Gtk.py | 11 +++++++++++
3547 tests/test_overrides_gtk.py | 47
3548 +++++++++++++++++++++++++++++++++++++++++++++
3549 2 files changed, 58 insertions(+)
3551 commit bf84915f89fd5fd502b4fb162eef7bc0a48c8783
3552 Author: Johan Dahlin <johan@gnome.org>
3553 Date: Mon Oct 1 06:42:24 2012 -0700
3555 Add GTypeClass methods as Python GObject class methods
3557 Take all the methods from an objects type classs and add them
3558 as class methods. For instance, GObject.ObjectClass.list_properties
3559 is available as GObject.Object.list_properties().
3561 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
3563 https://bugzilla.gnome.org/show_bug.cgi?id=685218
3565 gi/types.py | 13 +++++++++++++
3566 tests/test_typeclass.py | 13 +++++++++++++
3567 2 files changed, 26 insertions(+)
3569 commit 778d05c93e079ba207a250b754bda9377cb47457
3570 Author: Simon Feltman <sfeltman@src.gnome.org>
3571 Date: Sun May 25 19:05:56 2014 -0700
3573 Add marshalling coercion for Python classes and instances to
3576 Automatically marshal Python GObject classes and instances to
3578 structs (GObjectClass). This allows usage of the GTypeClass methods by
3579 passing a Python GObject class or instance to the GTypeClass method.
3580 This is needed to support usage of GTypeClass methods since we don't
3581 manually bind GTypeClasses and they are not very well supported with
3584 https://bugzilla.gnome.org/show_bug.cgi?id=685218
3586 gi/pygi-struct-marshal.c | 54 ++++++++++++++++++++++++++++++++++----
3587 tests/Makefile.am | 1 +
3588 tests/test_typeclass.py | 67
3589 ++++++++++++++++++++++++++++++++++++++++++++++++
3590 3 files changed, 117 insertions(+), 5 deletions(-)
3592 commit 1e606287e1244cba45e3bb174d27f1c01e4f9577
3593 Author: Simon Feltman <sfeltman@src.gnome.org>
3594 Date: Sun May 25 02:00:00 2014 -0700
3596 Cleanup struct marshalling function names
3598 Use a consistent naming scheme for struct marshalling cache related
3599 functions. This removes prefixed underscores from function names
3600 as well as redundant wording.
3602 To ignore this commit with git blame use:
3603 git blame <this-commit-sha>^ -- gi/pygi-struct-marshal.c
3605 https://bugzilla.gnome.org/show_bug.cgi?id=685218
3607 gi/pygi-argument.c | 34 ++++----
3608 gi/pygi-array.c | 2 +-
3609 gi/pygi-struct-marshal.c | 221
3610 ++++++++++++++++++++---------------------------
3611 gi/pygi-struct-marshal.h | 56 ++++++------
3612 4 files changed, 142 insertions(+), 171 deletions(-)
3614 commit bbbfa967d06eb8fdef6d6ebe705cc8df2869ddf3
3615 Author: Simon Feltman <sfeltman@src.gnome.org>
3616 Date: Fri May 16 15:08:35 2014 -0700
3618 Use accessors for getting and setting PyGParamSpec pointers
3620 Add pyg_param_spec_get and pyg_param_spec_set macros for getting and
3621 setting the GParamSpec pointer field held by the Python wrapper. This
3622 is preliminary cleanup work for supporting fundamental types.
3624 https://bugzilla.gnome.org/show_bug.cgi?id=631901
3626 gi/pygi-value.c | 2 +-
3627 gi/pygobject.h | 9 +++++++--
3628 gi/pygparamspec.c | 22 +++++++++++-----------
3629 3 files changed, 19 insertions(+), 14 deletions(-)
3631 commit b49179ba3b39576c0c8fe8586b7091dbbaef8046
3632 Author: Simon Feltman <sfeltman@src.gnome.org>
3633 Date: Fri May 16 14:50:57 2014 -0700
3635 Use accessors for getting and setting PyGPointer fields
3637 Add pyg_pointer_get_ptr and pyg_pointer_set_ptr macros for getting and
3638 setting the pointer field. This is preliminary cleanup work for
3642 https://bugzilla.gnome.org/show_bug.cgi?id=631901
3644 gi/gimodule.c | 2 +-
3645 gi/pygi-struct.c | 6 +++---
3646 gi/pygobject.h | 2 ++
3647 gi/pygpointer.c | 14 +++++++-------
3648 4 files changed, 13 insertions(+), 11 deletions(-)
3650 commit 92fe52243d819ffe91597744a6a1c2362a295bce
3651 Author: Simon Feltman <sfeltman@src.gnome.org>
3652 Date: Fri May 16 14:19:47 2014 -0700
3654 Use accessors for getting and setting PyGBoxed pointers
3656 Add pyg_boxed_get_ptr and pyg_boxed_set_ptr macros for getting
3658 the boxed pointer field. This is preliminary cleanup work for
3662 https://bugzilla.gnome.org/show_bug.cgi?id=631901
3664 gi/pygboxed.c | 20 ++++++++++----------
3665 gi/pygi-boxed.c | 6 +++---
3666 gi/pygobject.h | 2 ++
3667 gi/pygtype.c | 3 ++-
3668 4 files changed, 17 insertions(+), 14 deletions(-)
3670 commit 0a4f13a571cb9bd110f435f8b23ed942e3b007b0
3671 Author: Simon Feltman <sfeltman@src.gnome.org>
3672 Date: Sun May 11 16:04:55 2014 -0700
3674 tests: Use assertRaises as a context manager for GError test
3676 Simplify tests/test_error.py:TestMarshalling.test_exception so that
3677 it no longer needs to pull exception information out of sys.exc_info.
3679 tests/test_error.py | 14 ++++++--------
3680 1 file changed, 6 insertions(+), 8 deletions(-)
3682 commit bc7b0b69f651a118a053106fcae2d7c0f2173430
3683 Author: Andrew Grigorev <andrew@ei-grad.ru>
3684 Date: Sun May 11 23:54:46 2014 +0400
3686 Replace direct parent class call by super()
3688 Super works, it just needs the correct class.
3690 https://bugzilla.gnome.org/show_bug.cgi?id=729970
3692 demos/gtk-demo/gtk-demo.py | 6 ++----
3693 1 file changed, 2 insertions(+), 4 deletions(-)
3695 commit de827d00762f2a741f90bc38f8b55518593f4509
3696 Author: Simon Feltman <sfeltman@src.gnome.org>
3697 Date: Sun Mar 23 01:59:00 2014 -0700
3699 Add cairo marshaling support for non-introspected signals
3701 Add link dependency of cairo-gobject to _gi_cairo_la needed for
3703 the GTypes of cairo classes.
3704 Add GValue marshalers for cairo Context, Surface, FontFace,
3706 and Pattern classes.
3708 https://bugzilla.gnome.org/show_bug.cgi?id=694604
3710 gi/Makefile.am | 2 +
3711 gi/pygi-foreign-cairo.c | 186
3712 ++++++++++++++++++++++++++++++++++++++++++++++++
3713 gi/pygi-type.h | 1 +
3715 tests/test_cairo.py | 65 +++++++++++++++++
3716 5 files changed, 256 insertions(+)
3718 commit 22a952ec532cc83c8227861a7d5bfa2957608c3f
3719 Author: Simon Feltman <sfeltman@src.gnome.org>
3720 Date: Mon May 5 19:37:18 2014 -0700
3722 [New API] Add gi.require_foreign
3724 Add gi.require_foreign(namespace, symbol=None) API for determining
3725 if a foreign marshaling module is available. This can be used in an
3726 applications import statement block to verify the existence of a
3727 specific foreign marshaling module (cairo).
3728 Additionally it forces loading of the foreign marshaling module as
3729 well as the GI repository module. This allows non-introspected signal
3730 closures to correctly marshal their arguments (bug 694604).
3732 https://bugzilla.gnome.org/show_bug.cgi?id=707735
3734 gi/__init__.py | 28 +++++++++++++++++++++++++
3735 gi/gimodule.c | 2 ++
3736 gi/pygi-foreign.c | 60
3737 ++++++++++++++++++++++++++++++++++++++++++++++-------
3738 gi/pygi-foreign.h | 4 ++++
3739 tests/test_cairo.py | 9 ++++++++
3740 5 files changed, 95 insertions(+), 8 deletions(-)
3742 commit 4ee91a4cd0018d069c7aaf66d83e2f8235f2262a
3743 Author: Simon Feltman <sfeltman@src.gnome.org>
3744 Date: Mon May 5 19:48:06 2014 -0700
3746 tests: Move cairo tests into test_cairo.py
3748 Move cairo related tests from test_everything.py into test_cairo.py
3750 https://bugzilla.gnome.org/show_bug.cgi?id=694604
3752 tests/Makefile.am | 1 +
3753 tests/test_cairo.py | 67
3754 ++++++++++++++++++++++++++++++++++++++++++++++++
3755 tests/test_everything.py | 43 +------------------------------
3756 3 files changed, 69 insertions(+), 42 deletions(-)
3758 commit 31ecd935564984068e6646676392122bdc03e42e
3759 Author: Simon Feltman <sfeltman@src.gnome.org>
3760 Date: Mon May 5 19:42:59 2014 -0700
3762 Initialize the foreign API at PyGI load time
3764 Initialize the foreign struct list at gi._gi module load time. This
3766 we always have a valid (non-null) list of foreign marshalers outside
3768 context of marshaling.
3770 https://bugzilla.gnome.org/show_bug.cgi?id=694604
3772 gi/gimodule.c | 3 ++-
3773 gi/pygi-foreign.c | 12 ++++++++----
3774 gi/pygi-foreign.h | 2 ++
3775 3 files changed, 12 insertions(+), 5 deletions(-)
3777 commit def47144b63a1492ebf47a4eadb535f45253ff3a
3778 Author: Simon Feltman <sfeltman@src.gnome.org>
3779 Date: Sat Mar 22 14:13:01 2014 -0700
3781 Move pygi foreign API into pygi-foreign-api.h
3783 Move limited set of APIs necessary for registering foreign marshalers
3785 pygi-foreign-api.h. Remove "_real" from internally used APIs and
3787 includes to the rest of pygobject for calling directly (instead of
3789 the PyCapsule API within PyGI itself).
3790 This is needed to avoid compilation errors when including pygobject.h
3792 foreign marshaling plugins which conflicts with pygobject-private.h.
3794 https://bugzilla.gnome.org/show_bug.cgi?id=694604
3796 gi/Makefile.am | 1 +
3797 gi/gimodule.c | 6 +--
3801 gi/pygi-foreign-api.h | 85 +++++++++++++++++++++++++++++++++++++
3802 gi/pygi-foreign-cairo.c | 8 ++--
3803 gi/pygi-foreign.c | 10 ++---
3804 gi/pygi-foreign.h | 14 +++----
3805 gi/pygi-property.c | 8 ++--
3806 gi/pygi-property.h | 14 ++++---
3807 gi/pygi-signal-closure.c | 12 +++---
3808 gi/pygi-signal-closure.h | 15 +++----
3809 gi/pygi-type.c | 4 +-
3810 gi/pygi-type.h | 2 +-
3812 -----------------------------------------------
3813 gi/pygobject.c | 3 ++
3814 gi/pygpointer.c | 1 +
3815 18 files changed, 139 insertions(+), 154 deletions(-)
3817 commit 4c2e6914bf0277ebc3a6a4426f33a1b378a04b00
3818 Author: Simon Feltman <sfeltman@src.gnome.org>
3819 Date: Sun May 4 23:19:30 2014 -0700
3821 Clobber GLib.Error with custom implementation
3823 Clobber the introspection GLib.Error class with the custom Python
3824 implementation found in gi._error.GError. Update references to
3828 https://bugzilla.gnome.org/show_bug.cgi?id=712519
3830 gi/_error.py | 3 ++-
3831 gi/overrides/GLib.py | 9 ++++++---
3832 gi/pygi-error.c | 10 +++++-----
3833 tests/test_error.py | 24 ++++++++++++------------
3834 4 files changed, 25 insertions(+), 21 deletions(-)
3836 commit f80f5ec434ed868ab1f35d6a81537384e753b09d
3837 Author: Simon Feltman <sfeltman@src.gnome.org>
3838 Date: Sun May 4 23:43:50 2014 -0700
3840 Simplify pygi_error_marshal to use GError initializer arguments
3842 https://bugzilla.gnome.org/show_bug.cgi?id=712519
3844 gi/pygi-error.c | 25 ++++++-------------------
3845 1 file changed, 6 insertions(+), 19 deletions(-)
3847 commit 3083daf420ac1900bb20604c22fd61e5187b4ae8
3848 Author: Simon Feltman <sfeltman@src.gnome.org>
3849 Date: Sun May 4 04:13:46 2014 -0700
3851 Add Python implementation of GError
3853 Add internally used gi/_error.py module as a basis for implementing
3854 a unified GError between introspection and static bindings. Patch
3856 implementations of GError.matches and GError.new_literal in the GLib
3859 https://bugzilla.gnome.org/show_bug.cgi?id=712519
3863 ++++++++++++++++++++++++++++++++++++++++++++++++++++
3864 gi/_option.py | 3 ++-
3865 gi/overrides/GLib.py | 25 ++++++++++++++++++++++++-
3866 gi/pygi-error.c | 18 +++++++-----------
3867 tests/test_error.py | 37 ++++++++++++++++++++++++++++++++++++
3868 6 files changed, 125 insertions(+), 14 deletions(-)
3870 commit 664bfa6fdf2196a0d1449baaca62a9a496121f67
3871 Author: Simon Feltman <sfeltman@src.gnome.org>
3872 Date: Sun May 4 23:14:27 2014 -0700
3874 tests: Move GError tests into test_error.py
3876 https://bugzilla.gnome.org/show_bug.cgi?id=712519
3878 tests/Makefile.am | 1 +
3879 tests/test_error.py | 81
3880 +++++++++++++++++++++++++++++++++++++++++++++++++++++
3881 tests/test_gi.py | 49 --------------------------------
3882 3 files changed, 82 insertions(+), 49 deletions(-)
3884 commit 649895d83a90cd3a370da215a6f98a606b987419
3885 Author: Simon Feltman <sfeltman@src.gnome.org>
3886 Date: Sun May 4 00:18:41 2014 -0700
3888 Consolidate GError related code into pygi-error
3890 Rename all pyglib_error_* functions to pygi_error_* and move them into
3892 Register GError as part of the gi._gi module instead of gi._gi._glib.
3893 Update all code to use new naming.
3895 https://bugzilla.gnome.org/show_bug.cgi?id=712519
3897 gi/_option.py | 6 +-
3898 gi/gimodule.c | 4 +-
3899 gi/glibmodule.c | 19 -----
3900 gi/gobjectmodule.c | 54 +-----------
3901 gi/overrides/GLib.py | 3 +-
3902 gi/pygi-argument.c | 6 +-
3903 gi/pygi-cache.c | 4 +-
3904 gi/pygi-error.c | 222
3905 ++++++++++++++++++++++++++++++++++++++++++++++++-
3906 gi/pygi-error.h | 21 ++++-
3907 gi/pygi-invoke.c | 5 +-
3908 gi/pyglib-private.h | 1 -
3909 gi/pyglib.c | 199 --------------------------------------------
3911 gi/pygobject-private.h | 3 -
3912 gi/pygoptioncontext.c | 3 +-
3913 gi/pygoptiongroup.c | 3 +-
3914 gi/pygspawn.c | 3 +-
3915 17 files changed, 262 insertions(+), 299 deletions(-)
3917 commit 9080215e862a73ddcce16476f4dc4492a88dd3f2
3918 Author: Simon Feltman <sfeltman@src.gnome.org>
3919 Date: Sat May 3 22:56:49 2014 -0700
3921 Add gi.CallableInfo.can_throw_gerror()
3923 Add static binding for g_callable_info_can_throw_gerror.
3925 gi/pygi-info.c | 10 ++++++++++
3926 tests/test_repository.py | 16 ++++++++++++++++
3927 2 files changed, 26 insertions(+)
3929 commit f129e78d579b7897cb86111c524d87b5b12019ad
3930 Author: Simon Feltman <sfeltman@src.gnome.org>
3931 Date: Sat May 3 22:56:03 2014 -0700
3933 Derive PyCallbackInfo from PyCallableInfo
3935 Update the static GI bindings for PyGICallbackInfo to derive
3936 from PyGICallableInfo. This makes all the gi.CallableInfo methods
3937 available to gi.CallbackInfo for use from Python.
3939 gi/pygi-info.c | 4 ++--
3940 tests/test_repository.py | 7 +++++++
3941 2 files changed, 9 insertions(+), 2 deletions(-)
3943 commit 833f96807037e85445ac103d6fb6ad9c4fab65e4
3944 Author: Simon Feltman <sfeltman@src.gnome.org>
3945 Date: Fri May 2 21:36:25 2014 -0700
3949 Use infix 'not' instead of prefixed.
3950 Don't use double comments (##).
3951 Use space between comment and text.
3952 Un-comment tests that now work.
3953 Move broken (and won't fix) implicit int64 signal tests into
3954 a new skipped test function.
3956 gi/overrides/GIMarshallingTests.py | 4 ++--
3957 gi/overrides/Gio.py | 4 ++--
3958 gi/overrides/Gtk.py | 6 +++---
3960 pygtkcompat/pygtkcompat.py | 4 ++--
3961 tests/test_everything.py | 1 -
3962 tests/test_gi.py | 9 +++------
3963 tests/test_iochannel.py | 2 +-
3964 tests/test_option.py | 2 +-
3965 tests/test_signal.py | 28 +++++++++++++---------------
3966 10 files changed, 28 insertions(+), 34 deletions(-)
3968 commit 07af141dd8dcac551cb2e962f6bf338b3485006b
3969 Author: Simon Feltman <sfeltman@src.gnome.org>
3970 Date: Mon Apr 28 14:06:30 2014 -0700
3972 configure.ac: post release version bump to 3.13.2
3975 1 file changed, 1 insertion(+), 1 deletion(-)
3977 commit ba652c1fd9dbef6d3ff57e39b400ea827374a95e
3978 Author: Simon Feltman <sfeltman@src.gnome.org>
3979 Date: Mon Apr 28 14:00:59 2014 -0700
3983 NEWS | 14 ++++++++++++++
3984 1 file changed, 14 insertions(+)
3986 commit 3a2bfc8bf01fcae386355bc3652780e198e54d49
3987 Author: Christoph Reiter <reiter.christoph@gmail.com>
3988 Date: Mon Apr 14 23:33:52 2014 +0200
3990 Raise TypeError if arguments are passed to Boxed.__init__
3992 This is a partial revert of
3993 https://git.gnome.org/browse/pygobject/commit/?id=2f2069c9efcd8
3994 which removed a type check in __new__. This adds it back
3995 into __init__. Overrides which define __new__ now have to
3996 filter out any arguments in __init__ and not the other way
3997 around, which is a bit less surprising in the common case.
3999 https://bugzilla.gnome.org/show_bug.cgi?id=727810
4001 gi/overrides/GLib.py | 6 ++++++
4002 gi/overrides/Gtk.py | 6 ++++++
4003 gi/overrides/Pango.py | 3 +++
4004 gi/pygi-boxed.c | 6 ++++++
4005 tests/test_gi.py | 4 ++++
4006 5 files changed, 25 insertions(+)
4008 commit 906977047df2fb2f394410e4ebf360b69af8dcfe
4009 Author: Christoph Reiter <reiter.christoph@gmail.com>
4010 Date: Mon Apr 14 15:40:50 2014 +0200
4012 Gdk.Event: Override __setattr__ to set fields based on the event type
4014 Pass the setting of attributes through to the underlying union based
4015 on event type. This mirrors the logic in __getattr__.
4017 https://bugzilla.gnome.org/show_bug.cgi?id=727810
4019 gi/overrides/Gdk.py | 7 +++++++
4020 tests/test_overrides_gdk.py | 13 ++++++++++---
4021 2 files changed, 17 insertions(+), 3 deletions(-)
4023 commit 78a0508a4d40e3723b36297ba2d42889dabc1cdd
4024 Author: Christoph Reiter <reiter.christoph@gmail.com>
4025 Date: Mon Apr 14 13:06:02 2014 +0200
4027 Gdk.Event: Include GdkEventType in __repr__
4029 https://bugzilla.gnome.org/show_bug.cgi?id=727810
4031 gi/overrides/Gdk.py | 4 ++++
4032 tests/test_overrides_gdk.py | 4 ++++
4033 2 files changed, 8 insertions(+)
4035 commit 23965455f060793ffcbc0d8288527d41a667579c
4036 Author: Simon Feltman <sfeltman@src.gnome.org>
4037 Date: Mon Apr 14 15:10:01 2014 -0700
4039 Fix crash with type checking for GObject arguments
4041 Ensure we have a valid GObject before attempting to call g_type_is_a.
4042 Swap conditional blocks to make if condition more readable.
4044 https://bugzilla.gnome.org/show_bug.cgi?id=727604
4046 gi/pygi-object.c | 19 ++++++++++---------
4047 tests/test_object_marshaling.py | 35 +++++++++++++++++++++++++++++++++++
4048 2 files changed, 45 insertions(+), 9 deletions(-)
4050 commit 2e853f6a31636d6a26ce91eb30be5bb0326474b1
4051 Author: Paolo Borelli <pborelli@gnome.org>
4052 Date: Sun Mar 30 18:27:59 2014 +0200
4054 Do not leak info of destroy notify
4056 gi/pygi-closure.c | 11 ++++++-----
4057 1 file changed, 6 insertions(+), 5 deletions(-)
4059 commit f9e504c79c5ef6e1938e4db5b49115689b9f5c3c
4060 Author: Simon Feltman <sfeltman@src.gnome.org>
4061 Date: Fri Mar 28 19:51:58 2014 -0700
4063 configure.ac: Update PyGObject wiki link in AC_INIT
4066 1 file changed, 1 insertion(+), 1 deletion(-)
4068 commit ee84b5a2c83d88436aec6b62e7a271a3525569e0
4069 Author: Simon Feltman <sfeltman@src.gnome.org>
4070 Date: Mon Mar 24 18:57:56 2014 -0700
4072 Ignore GValueArray deprecations
4074 Wrap calls to GValueArray related calls with
4075 G_GNUC_BEGIN/END_IGNORE_DEPRECATIONS.
4076 Although GValueArray is deprecated, we still need to support the
4078 them in PyGObject. The deprecations add noise to the build processes
4080 new warnings could be lost. Essentially losing the element of surprise
4082 warning should have on maintainers.
4084 gi/pygi-value.c | 23 ++++++++++++++++++++---
4085 tests/testhelpermodule.c | 3 +++
4086 2 files changed, 23 insertions(+), 3 deletions(-)
4088 commit ac8b59ee335967efef974ab0aa89128ade9f3d0c
4089 Author: Simon Feltman <sfeltman@src.gnome.org>
4090 Date: Mon Mar 24 18:09:10 2014 -0700
4092 Raise ImportError when importing modules not found in repository
4094 Raise an ImportError with extra information noting the typelib was not
4095 found. This removes the need to log a similar message which adds
4097 noise when attempting controlled imports within try/except statements.
4098 In Python 2, the additional information is lost but in Python 3 it
4101 https://bugzilla.gnome.org/show_bug.cgi?id=726877
4103 gi/importer.py | 9 ++++-----
4104 tests/test_import_machinery.py | 18 ++++++++++++++++++
4105 2 files changed, 22 insertions(+), 5 deletions(-)
4107 commit e604ada06a8ef8f9a06f0638cf183cfeacdc63a9
4108 Author: Simon Feltman <sfeltman@src.gnome.org>
4109 Date: Mon Mar 24 18:04:27 2014 -0700
4111 tests: Rename test_overrides to test_import_machinery
4113 Rename this test to better suit the contents of the file. This
4115 us a more concise location to grow other tests related to import
4119 https://bugzilla.gnome.org/show_bug.cgi?id=726877
4121 tests/Makefile.am | 2 +-
4122 tests/{test_overrides.py => test_import_machinery.py} | 0
4123 2 files changed, 1 insertion(+), 1 deletion(-)
4125 commit a863e5ec0ac27de49a0ae261fd3a78745cfe84a0
4126 Author: Simon Feltman <sfeltman@src.gnome.org>
4127 Date: Mon Mar 24 04:39:47 2014 -0700
4129 HACKING: Update branch creation instructions to include -b
4132 1 file changed, 1 insertion(+), 1 deletion(-)
4134 commit 1012cfd58c1d41dd6b040a2d14f395e5578f5e79
4135 Author: Simon Feltman <sfeltman@src.gnome.org>
4136 Date: Mon Mar 24 04:35:52 2014 -0700
4138 configure.ac: post release version bump to 3.13.1
4140 configure.ac | 4 ++--
4141 1 file changed, 2 insertions(+), 2 deletions(-)
4143 commit 45eda91eac2f6c8ab1a5c38808f96de760196e90
4144 Author: Simon Feltman <sfeltman@src.gnome.org>
4145 Date: Mon Mar 24 03:35:21 2014 -0700
4150 1 file changed, 2 insertions(+)
4152 commit 70020e9934abb39cbccfa49e582fb838465c0490
4153 Author: Simon Feltman <sfeltman@src.gnome.org>
4154 Date: Mon Mar 24 03:05:16 2014 -0700
4156 pre-release version bump to 3.12.0
4158 configure.ac | 4 ++--
4159 1 file changed, 2 insertions(+), 2 deletions(-)
4161 commit a9a08a0c11e8802cce539f869ea93e1b729e829e
4162 Author: Simon Feltman <sfeltman@src.gnome.org>
4163 Date: Mon Mar 17 15:17:12 2014 -0700
4165 configure.ac: post release version bump to 3.11.93
4168 1 file changed, 1 insertion(+), 1 deletion(-)
4170 commit 7283d50de8413e9450820543d0d8fd43e6c24b27
4171 Author: Simon Feltman <sfeltman@src.gnome.org>
4172 Date: Mon Mar 17 15:12:33 2014 -0700
4177 1 file changed, 6 insertions(+)
4179 commit b3b1f38af1ac1bda9d6a3ba50e9b6fa37ae48d96
4180 Author: Simon Feltman <sfeltman@src.gnome.org>
4181 Date: Mon Mar 17 14:55:52 2014 -0700
4183 configure.ac: Remove option to build without libffi
4185 We've always had a hard dependency on libffi headers.
4186 Commit 5798f94b6a727b93 added a direct module dependency on libffi
4187 instead of indirect via GI. Remove the option to build without libffi.
4189 configure.ac | 21 +++------------------
4190 1 file changed, 3 insertions(+), 18 deletions(-)
4192 commit 1a2438497ffc445fe3f9da06b15085f29317c4ee
4193 Author: Simon Feltman <sfeltman@src.gnome.org>
4194 Date: Sat Mar 15 00:50:14 2014 -0700
4196 docs: Standardize Python doc strings
4198 Use consistent doc string quotations (three double quotes).
4199 Update usage of GObject.GObject in docs to GObject.Object.
4200 Use reStructuredText markup for parameter annotations, instance
4202 admonitions, and code examples.
4203 This allows for better Sphinx documentation generation for the
4205 Preliminary style guide:
4206 https://wiki.gnome.org/Projects/PyGObject/StyleGuide
4208 gi/_option.py | 67 +++++++++++++++------------
4209 gi/_propertyhelper.py | 86 +++++++++++++++++-----------------
4210 gi/_signalhelper.py | 117
4211 ++++++++++++++++++++++++-----------------------
4212 gi/docstring.py | 17 ++++---
4213 gi/glibmodule.c | 3 +-
4214 gi/overrides/GLib.py | 20 ++++----
4215 gi/overrides/GObject.py | 39 ++++++++++------
4216 gi/overrides/Gtk.py | 28 ++++++++----
4217 gi/overrides/__init__.py | 66 +++++++++++++-------------
4219 10 files changed, 242 insertions(+), 203 deletions(-)
4221 commit 2d268ef661badabcb63e696dab01857d57cb3371
4222 Author: Simon Feltman <sfeltman@src.gnome.org>
4223 Date: Sat Mar 15 00:49:00 2014 -0700
4225 Quote argument names in initializer deprecation warning
4227 Add quotation marks around names of deprecated positional arguments.
4228 This makes the message clearer in stating what has been deprecated
4229 in cases when only a single argument is displayed.
4231 gi/overrides/__init__.py | 2 +-
4232 tests/test_gi.py | 6 +++---
4233 2 files changed, 4 insertions(+), 4 deletions(-)
4235 commit a070e712526e433c236753813acc3ef300f0d203
4236 Author: Simon Feltman <sfeltman@src.gnome.org>
4237 Date: Sat Mar 15 00:35:03 2014 -0700
4239 docs: Ignore meta-class bases in dynamic docstring generation
4241 Skip attempts at generating a doc string for GObject meta-class bases
4242 since they do not contain an __info__ attribute.
4243 This circumvents errors with documentation generators (Sphinx).
4245 gi/types.py | 7 ++++++-
4246 1 file changed, 6 insertions(+), 1 deletion(-)
4248 commit ec44dea6bbc3f1adfb6c1a2781364a2df0d0e0e6
4249 Author: Simon Feltman <sfeltman@src.gnome.org>
4250 Date: Thu Mar 13 10:13:34 2014 -0700
4252 Update Free Software Foundation addresses
4254 Update all references to the FSF physical address
4255 to use the web address: http://www.gnu.org/licenses
4257 gi/_constants.py | 4 +---
4258 gi/_gobject/__init__.py | 4 +---
4259 gi/_option.py | 4 +---
4260 gi/_propertyhelper.py | 4 +---
4261 gi/_signalhelper.py | 4 +---
4262 gi/glibmodule.c | 4 +---
4263 gi/gobjectmodule.c | 4 +---
4264 gi/overrides/keysyms.py | 4 +---
4265 gi/pygboxed.c | 4 +---
4266 gi/pygboxed.h | 4 +---
4267 gi/pygenum.c | 4 +---
4268 gi/pygenum.h | 4 +---
4269 gi/pygflags.c | 4 +---
4270 gi/pygflags.h | 4 +---
4271 gi/pygi-argument.c | 4 +---
4272 gi/pygi-argument.h | 4 +---
4273 gi/pygi-boxed.c | 4 +---
4274 gi/pygi-boxed.h | 4 +---
4275 gi/pygi-cache.c | 4 +---
4276 gi/pygi-cache.h | 4 +---
4277 gi/pygi-ccallback.c | 4 +---
4278 gi/pygi-ccallback.h | 4 +---
4279 gi/pygi-info.c | 4 +---
4280 gi/pygi-info.h | 4 +---
4281 gi/pygi-invoke.c | 4 +---
4282 gi/pygi-invoke.h | 4 +---
4283 gi/pygi-marshal-cleanup.c | 4 +---
4284 gi/pygi-marshal-cleanup.h | 4 +---
4285 gi/pygi-repository.c | 4 +---
4286 gi/pygi-repository.h | 4 +---
4287 gi/pygi-signal-closure.c | 4 +---
4288 gi/pygi-struct.c | 4 +---
4289 gi/pygi-struct.h | 4 +---
4290 gi/pygi-type.c | 4 +---
4291 gi/pygi-type.h | 4 +---
4293 gi/pyginterface.c | 4 +---
4294 gi/pyginterface.h | 4 +---
4295 gi/pyglib-private.h | 4 +---
4296 gi/pyglib-python-compat.h | 4 +---
4297 gi/pyglib.c | 4 +---
4298 gi/pyglib.h | 4 +---
4299 gi/pygobject-external.h | 4 +---
4300 gi/pygobject.c | 4 +---
4301 gi/pygoptioncontext.c | 4 +---
4302 gi/pygoptioncontext.h | 4 +---
4303 gi/pygoptiongroup.c | 4 +---
4304 gi/pygoptiongroup.h | 4 +---
4305 gi/pygparamspec.c | 4 +---
4306 gi/pygparamspec.h | 4 +---
4307 gi/pygpointer.c | 4 +---
4308 gi/pygpointer.h | 4 +---
4309 gi/pygspawn.c | 4 +---
4310 gi/pygspawn.h | 4 +---
4311 gi/pygtype.c | 4 +---
4312 gi/pygtype.h | 4 +---
4313 pygtkcompat/generictreemodel.py | 4 +---
4314 tests/test_generictreemodel.py | 4 +---
4315 58 files changed, 58 insertions(+), 174 deletions(-)
4317 commit bbfcebdfdc5e574999221b60520422ea6da82435
4318 Author: Owen W. Taylor <otaylor@fishsoup.net>
4319 Date: Wed Mar 12 18:32:47 2014 -0400
4321 Handle GI_TRANSFER_EVERYTHING for returns of foreign structures
4323 Any (transfer full) return of a cairo type other than a path
4326 Pass the transfer type PyGIArgOverrideFromGIArgumentFunc and handle
4327 it for the cairo foreign type. For paths we can only handle
4328 (transfer full) so throw an error for (transfer none).
4330 https://bugzilla.gnome.org/show_bug.cgi?id=726206
4332 gi/pygi-foreign-cairo.c | 32 +++++++++++++++++++++++++-------
4333 gi/pygi-foreign.c | 3 ++-
4334 gi/pygi-foreign.h | 1 +
4335 gi/pygi-invoke.c | 1 +
4336 gi/pygi-struct-marshal.c | 1 +
4338 6 files changed, 31 insertions(+), 8 deletions(-)
4340 commit c5b641cb4eea9ae64a173dcaa4ee5a4accb036f6
4341 Author: Simon Feltman <sfeltman@src.gnome.org>
4342 Date: Mon Mar 3 15:20:02 2014 -0800
4344 configure.ac: post release version bump to 3.11.92
4347 1 file changed, 1 insertion(+), 1 deletion(-)
4349 commit 7816531691a3db3ae1fe74abc85ac37988b67d2b
4350 Author: Simon Feltman <sfeltman@src.gnome.org>
4351 Date: Mon Mar 3 15:16:43 2014 -0800
4356 1 file changed, 7 insertions(+)
4358 commit 1a63a04eaf2a77c1752b90e80ab571677f27ac3d
4359 Author: Simon Feltman <sfeltman@src.gnome.org>
4360 Date: Mon Mar 3 06:49:09 2014 -0800
4362 build: Update release-news to use srcdir
4364 Use $(top_srcdir)/NEWS for pulling in news items to ensure
4365 "make release-news" works in a vpath build environment.
4368 1 file changed, 1 insertion(+), 1 deletion(-)
4370 commit 5798f94b6a727b930b07fe840b0aef264f98a80e
4371 Author: Simon Feltman <sfeltman@src.gnome.org>
4372 Date: Fri Feb 7 20:16:21 2014 -0800
4374 Use ffi_call directly instead of g_callable_info_invoke
4376 Cleanup internal callable cache and state tracking by removing
4378 counting schemes for differently sized "in" and "out" argument arrays.
4379 Use a single count based on the total number of arguments passed to C
4380 (inclusive of instance argument and GError exception where
4382 Size all state tracking arrays to the same size and ensure argument
4384 indices always line up with these arrays. This cleans up logic
4386 required by g_callable_info_invoke for splitting "in" and "out"
4390 Cleanup array marshaling which can now rely on the new scheme
4392 the "arg_values" array always points to the correct location for
4396 Cache the ffi_cif struct in PyGICallableCache via GIFunctionInvoker
4398 related GI methods. Overall, these changes can give a performance
4400 almost 2x for simple function calls (see ticket for micro benchmarks).
4402 https://bugzilla.gnome.org/show_bug.cgi?id=723642
4404 gi/pygi-array.c | 26 ++---
4405 gi/pygi-cache.c | 61 +++++++++--
4406 gi/pygi-cache.h | 10 +-
4407 gi/pygi-ccallback.c | 3 +-
4408 gi/pygi-closure.c | 6 +-
4409 gi/pygi-invoke-state-struct.h | 42 +++++---
4410 gi/pygi-invoke.c | 241
4411 +++++++++++++++++++++++-------------------
4412 gi/pygi-invoke.h | 2 +-
4413 gi/pygi-marshal-cleanup.c | 4 +-
4414 9 files changed, 230 insertions(+), 165 deletions(-)
4416 commit ad680ae9c37a0091628a7d66010fbf70aa1a2e43
4417 Author: Simon Feltman <sfeltman@src.gnome.org>
4418 Date: Mon Mar 3 04:51:09 2014 -0800
4420 tests: Move class definition depending on GTK+ within function
4423 Move the definition of WindowWithSizeAllocOverride inside of the test
4424 function call to so it is lazily defined. This avoids problems
4426 on systems without GTK+ installed.
4428 tests/test_overrides_gtk.py | 32 ++++++++++++++++----------------
4429 1 file changed, 16 insertions(+), 16 deletions(-)
4431 commit 45d45e7c2704d68a3008f739e501fa332d326b8b
4432 Author: Simon Feltman <sfeltman@src.gnome.org>
4433 Date: Mon Mar 3 04:45:59 2014 -0800
4435 tests: Conditionalize usage of GTK+ in tests_generictreemodel
4437 This allows running make check without GTK+ installed.
4439 tests/test_generictreemodel.py | 16 +++++++++++++---
4440 1 file changed, 13 insertions(+), 3 deletions(-)
4442 commit 038563ed620e0d966e385a1779455d9b0e148c41
4443 Author: Simon Feltman <sfeltman@src.gnome.org>
4444 Date: Mon Mar 3 04:39:35 2014 -0800
4446 tests: Conditionalize usage of regress typelib in test_properties
4448 Unconditional usage of regress breaks tests when PyGObject is
4452 tests/test_properties.py | 27 +++++++++++++++++----------
4453 1 file changed, 17 insertions(+), 10 deletions(-)
4455 commit 1fa93ddc51b2d223d772aee7930fc96c0ced0e00
4456 Author: Simon Feltman <sfeltman@src.gnome.org>
4457 Date: Mon Mar 3 02:44:12 2014 -0800
4459 configure.ac: Use -std=c90 and error on declaration-after-statement
4461 Replace gcc option of -std=c9x with c90 and add
4462 -Werror=declaration-after-statement
4463 This ensures we keep compatibility with msvc builds.
4465 configure.ac | 3 ++-
4466 1 file changed, 2 insertions(+), 1 deletion(-)
4468 commit cee414ab5725c51d79a2c6aa1e8760e9fd754545
4469 Author: Simon Feltman <sfeltman@src.gnome.org>
4470 Date: Mon Mar 3 02:38:30 2014 -0800
4472 Use g_snprintf instead of snprintf
4474 Use g_snprintf for consistency with the rest of gobjectmodule.c
4476 gi/gobjectmodule.c | 2 +-
4477 1 file changed, 1 insertion(+), 1 deletion(-)
4479 commit b016ae6793839b2a6a00a69d00de30937bc611be
4480 Author: Simon Feltman <sfeltman@src.gnome.org>
4481 Date: Thu Feb 27 04:27:41 2014 -0800
4483 Use C style comments
4485 Update various locations which use C99 single line comments to
4487 C90 style comments. Found with: make CFLAGS="-std=C90"
4489 gi/gimodule.c | 2 +-
4490 gi/pygi-array.c | 3 ++-
4491 gi/pygi-property.c | 2 +-
4493 4 files changed, 5 insertions(+), 4 deletions(-)
4495 commit df7cba1495c167f1019dec7f4398dc5de62a5937
4496 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
4497 Date: Tue Feb 25 14:38:41 2014 +0800
4499 Fix Build on Visual Studio
4501 Some items from pygi-enum-marshal.c were moved to pygi-basictype.c,
4503 included the use of the NAN and INFINITY macros/constants, so the
4504 definitions for those need to be moved to pygi-basictype.c as well.
4506 avoid defining a variable in the middle of the block.
4508 https://bugzilla.gnome.org/show_bug.cgi?id=725122
4510 gi/pygi-basictype.c | 16 ++++++++++++++++
4511 gi/pygi-cache.c | 3 ++-
4512 gi/pygi-enum-marshal.c | 16 ----------------
4513 3 files changed, 18 insertions(+), 17 deletions(-)
4515 commit bb5550bc85ac0ff60ea39912416e347f27853fb4
4516 Author: Simon Feltman <sfeltman@src.gnome.org>
4517 Date: Mon Feb 17 17:22:40 2014 -0800
4519 Update release steps to be more explicit in regards to NEWS
4521 Add an explicit step to commit the NEWS changes and push prior
4524 HACKING | 11 ++++++-----
4525 1 file changed, 6 insertions(+), 5 deletions(-)
4527 commit c6ac95286bce858f1925a9d6173a91866d7e9f88
4528 Author: Simon Feltman <sfeltman@src.gnome.org>
4529 Date: Mon Feb 17 17:18:10 2014 -0800
4531 configure.ac: post release version bump to 3.11.91
4534 1 file changed, 1 insertion(+), 1 deletion(-)
4536 commit f87e341c5528d066371d4ec493956db28dd0bafa
4537 Author: Simon Feltman <sfeltman@src.gnome.org>
4538 Date: Mon Feb 17 17:08:13 2014 -0800
4543 1 file changed, 4 insertions(+)
4545 commit 9b345b153e86ca6c9b7290cf2ad3b38f6ad9d0e5
4546 Author: Simon Feltman <sfeltman@src.gnome.org>
4547 Date: Wed Feb 12 10:28:35 2014 -0800
4549 Use GObject type checking for instance arguments
4551 Add a g_type_is_a check to interface/object instance arguments
4553 to the Python IsInstance check. This loosens restrictions on
4555 don't use gi.overrides.override() and is needed to keep API
4557 which broke with commit:
4558 https://git.gnome.org/browse/pygobject/commit/?id=d5925b76
4560 https://bugzilla.gnome.org/show_bug.cgi?id=724009
4562 gi/pygi-object.c | 6 +++++-
4563 1 file changed, 5 insertions(+), 1 deletion(-)
4565 commit 419e13e1717b725d5c6815bae9672649b0afddd4
4566 Author: Simon Feltman <sfeltman@src.gnome.org>
4567 Date: Mon Feb 3 15:58:30 2014 -0800
4569 configure.ac: post release version bump to 3.11.90
4572 1 file changed, 1 insertion(+), 1 deletion(-)
4574 commit 57bceaac1d84ffd03f49d8e83a4c8507c9127a41
4575 Author: Simon Feltman <sfeltman@src.gnome.org>
4576 Date: Mon Feb 3 15:51:27 2014 -0800
4580 NEWS | 16 ++++++++++++++++
4581 1 file changed, 16 insertions(+)
4583 commit 058d944e3b9ef9157e912e6374b54a2eb5f7f5d1
4584 Author: Simon Feltman <sfeltman@src.gnome.org>
4585 Date: Mon Feb 3 06:45:09 2014 -0800
4587 Restore pygobject_version API needed for pygobject.h
4589 Add gi._gobject.pygobject_version which was removed with commit:
4590 https://git.gnome.org/browse/pygobject/commit/?id=2624bd2b
4591 This is needed for pygobject.h to function properly.
4593 gi/_gobject/__init__.py | 1 +
4594 1 file changed, 1 insertion(+)
4596 commit f3be4cedcb1d395a3fabee95d7460bce86268153
4597 Author: Simon Feltman <sfeltman@src.gnome.org>
4598 Date: Mon Feb 3 06:29:07 2014 -0800
4600 cache refactoring: Add comments to arg cache setup functions
4602 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4604 gi/pygi-cache.c | 36 ++++++++++++++++++++++++++++++++++++
4605 1 file changed, 36 insertions(+)
4607 commit 56ac6bd9ed99d6bb2cb8641581a594105036be68
4608 Author: Simon Feltman <sfeltman@src.gnome.org>
4609 Date: Mon Feb 3 06:24:18 2014 -0800
4611 cache refactoring: Use consistent prefix for arg cache functions
4613 Use "pygi_arg_cache" as the prefix for arg cache memory related
4616 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4618 gi/pygi-array.c | 6 ++--
4619 gi/pygi-basictype.c | 4 +--
4620 gi/pygi-cache.c | 74
4621 ++++++++++++++++++++++++------------------------
4622 gi/pygi-cache.h | 58 ++++++++++++++++++++-----------------
4623 gi/pygi-ccallback.c | 2 +-
4624 gi/pygi-closure.c | 6 ++--
4625 gi/pygi-enum-marshal.c | 4 +--
4626 gi/pygi-error.c | 4 +--
4627 gi/pygi-hashtable.c | 30 ++++++++++----------
4628 gi/pygi-info.c | 2 +-
4629 gi/pygi-invoke.c | 2 +-
4630 gi/pygi-list.c | 2 +-
4631 gi/pygi-object.c | 2 +-
4632 gi/pygi-struct-marshal.c | 2 +-
4633 14 files changed, 102 insertions(+), 96 deletions(-)
4635 commit 204f5a187782c5325ed6bed96c9a940f3aa67d04
4636 Author: Simon Feltman <sfeltman@src.gnome.org>
4637 Date: Sun Jan 12 12:26:30 2014 -0800
4639 marshal refactoring: Move GValue marshaling from pytype into
4642 Move marshaling of GValues to and from PyObjects into
4644 PyGTypeMarshal struct and related functions accessible via pygtype.h.
4646 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4648 gi/gobjectmodule.c | 2 +
4649 gi/pygi-struct-marshal.c | 1 +
4650 gi/pygi-value.c | 720
4651 +++++++++++++++++++++++++++++++++++++++++++++-
4652 gi/pygi-value.h | 12 +
4653 gi/pygobject-private.h | 16 --
4654 gi/pygobject.c | 2 +-
4656 +----------------------------------------------
4657 gi/pygtype.h | 17 ++
4658 8 files changed, 757 insertions(+), 741 deletions(-)
4660 commit b8120d848dc5d36832123b1a913015f6e1fd8cdc
4661 Author: Simon Feltman <sfeltman@src.gnome.org>
4662 Date: Sun Jan 12 11:41:20 2014 -0800
4664 marshal refactoring: Move GIArgument from GValue code to new file
4666 Add gi/pygi-value.h and .c files with initial contents of
4667 _pygi_argument_from_g_value. Eventually this file will contain
4669 related to GValue marshaling from various code locations in the
4672 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4674 gi/Makefile.am | 2 +
4675 gi/pygi-argument.c | 126 +----------------------------------------
4676 gi/pygi-argument.h | 3 -
4677 gi/pygi-signal-closure.c | 1 +
4678 gi/pygi-value.c | 144
4679 +++++++++++++++++++++++++++++++++++++++++++++++
4680 gi/pygi-value.h | 32 +++++++++++
4681 6 files changed, 180 insertions(+), 128 deletions(-)
4683 commit c2d5857e9b964427190e1230be32ae7919e86bc0
4684 Author: Simon Feltman <sfeltman@src.gnome.org>
4685 Date: Sat Oct 12 21:26:55 2013 -0700
4687 cache refactoring: Move enum and flags arg setup and marshaling to
4690 Move enum and flags argument cache setup and marshaling fragments into
4691 isolated file: pygi-enum-marshal.c. Remove pygi-marshal-from/to files.
4693 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4695 gi/Makefile.am | 6 +-
4696 gi/pygi-argument.c | 2 -
4697 gi/pygi-cache.c | 74 ++-------
4698 gi/pygi-enum-marshal.c | 408
4699 ++++++++++++++++++++++++++++++++++++++++++++++
4700 gi/pygi-enum-marshal.h | 42 +++++
4701 gi/pygi-marshal-from-py.c | 206 -----------------------
4702 gi/pygi-marshal-from-py.h | 57 -------
4703 gi/pygi-marshal-to-py.c | 152 -----------------
4704 gi/pygi-marshal-to-py.h | 34 ----
4705 9 files changed, 464 insertions(+), 517 deletions(-)
4707 commit 1d0f120d77582509b4e75d83f500a1ace7ed6421
4708 Author: Simon Feltman <sfeltman@src.gnome.org>
4709 Date: Sat Oct 12 20:00:12 2013 -0700
4711 cache refactoring: Move various struct arg setup and marshaling to
4714 Move struct (boxed, union, gvalue, gclosure, variant, and pointer)
4716 cache setup and marshaling fragments into isolated file:
4717 pygi-struct-marshal.c.
4718 Remove redundant and dead code related to boxed and union marshaling.
4720 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4722 gi/Makefile.am | 2 +
4723 gi/pygi-argument.c | 1 +
4724 gi/pygi-array.c | 3 +
4725 gi/pygi-cache.c | 72 +------
4726 gi/pygi-cache.h | 1 +
4727 gi/pygi-marshal-cleanup.c | 48 -----
4728 gi/pygi-marshal-cleanup.h | 16 --
4729 gi/pygi-marshal-from-py.c | 288 --------------------------
4730 gi/pygi-marshal-from-py.h | 33 ---
4731 gi/pygi-marshal-to-py.c | 120 -----------
4732 gi/pygi-marshal-to-py.h | 27 ---
4733 gi/pygi-object.c | 2 +-
4734 gi/pygi-struct-marshal.c | 516
4735 ++++++++++++++++++++++++++++++++++++++++++++++
4736 gi/pygi-struct-marshal.h | 73 +++++++
4737 14 files changed, 607 insertions(+), 595 deletions(-)
4739 commit 4dcaa2b988239e01224994098c3e7cbe8b455fe0
4740 Author: Simon Feltman <sfeltman@src.gnome.org>
4741 Date: Sat Oct 12 16:40:58 2013 -0700
4743 cache refactoring: Move GObject arg setup and marshaling into new file
4745 Move GObject argument cache setup and marshaling fragments into
4746 isolated file: pygi-object.c.
4747 Break GIInterfaceCache creation and setup into API for interface based
4748 argument cache usage.
4750 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4752 gi/Makefile.am | 2 +
4753 gi/pygi-argument.c | 7 +-
4754 gi/pygi-cache.c | 183 ++++++++++++++-----------------
4755 gi/pygi-cache.h | 7 ++
4756 gi/pygi-marshal-cleanup.c | 27 -----
4757 gi/pygi-marshal-cleanup.h | 10 --
4758 gi/pygi-marshal-from-py.c | 123 ---------------------
4759 gi/pygi-marshal-from-py.h | 12 --
4760 gi/pygi-marshal-to-py.c | 31 ------
4761 gi/pygi-marshal-to-py.h | 8 --
4762 gi/pygi-object.c | 273
4763 ++++++++++++++++++++++++++++++++++++++++++++++
4764 gi/pygi-object.h | 46 ++++++++
4765 12 files changed, 416 insertions(+), 313 deletions(-)
4767 commit 2cddba811592fbb990322fbf2dce516ffd7e94cd
4768 Author: Simon Feltman <sfeltman@src.gnome.org>
4769 Date: Sat Oct 12 12:39:20 2013 -0700
4771 cache refactoring: Move closure setup and marshaling into pygi-closure
4773 Move closure argument caching and marshaling fragments into
4776 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4778 gi/pygi-cache.c | 111 ++--------------
4779 gi/pygi-cache.h | 9 --
4780 gi/pygi-closure.c | 314
4781 +++++++++++++++++++++++++++++++++++++++++++++-
4782 gi/pygi-closure.h | 13 +-
4783 gi/pygi-marshal-cleanup.c | 14 ---
4784 gi/pygi-marshal-cleanup.h | 5 -
4785 gi/pygi-marshal-from-py.c | 160 -----------------------
4786 gi/pygi-marshal-from-py.h | 6 -
4787 gi/pygi-marshal-to-py.c | 13 --
4788 gi/pygi-marshal-to-py.h | 4 -
4789 10 files changed, 333 insertions(+), 316 deletions(-)
4791 commit 18d8274724484a27e05d2e60baac1f20c72b6d2b
4792 Author: Simon Feltman <sfeltman@src.gnome.org>
4793 Date: Sat Oct 12 11:30:36 2013 -0700
4795 cache refactoring: Move GError arg setup and marshaling to new file
4797 Move GError argument caching and marshaling fragments into
4798 isolated file: pygi-error.c.
4800 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4802 gi/Makefile.am | 2 +
4803 gi/pygi-cache.c | 93 ++++++++++++---------------------------
4804 gi/pygi-error.c | 109
4805 ++++++++++++++++++++++++++++++++++++++++++++++
4806 gi/pygi-error.h | 35 +++++++++++++++
4807 gi/pygi-marshal-from-py.c | 13 ------
4808 gi/pygi-marshal-from-py.h | 6 ---
4809 gi/pygi-marshal-to-py.c | 22 ----------
4810 gi/pygi-marshal-to-py.h | 4 --
4811 8 files changed, 174 insertions(+), 110 deletions(-)
4813 commit c45cafd07fc62ad545f3e58f2b7350ee4b2bb9b7
4814 Author: Simon Feltman <sfeltman@src.gnome.org>
4815 Date: Sat Oct 12 03:07:53 2013 -0700
4817 cache refactoring: Move GArray arg setup and marshaling into new file
4819 Move GArray argument caching and marshaling fragments into an
4820 isolated file: pygi-array.c.
4822 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4824 gi/Makefile.am | 2 +
4825 gi/pygi-array.c | 906
4826 ++++++++++++++++++++++++++++++++++++++++++++++
4827 gi/pygi-array.h | 42 +++
4828 gi/pygi-cache.c | 236 +-----------
4829 gi/pygi-marshal-cleanup.c | 150 --------
4830 gi/pygi-marshal-cleanup.h | 10 -
4831 gi/pygi-marshal-from-py.c | 354 ------------------
4832 gi/pygi-marshal-from-py.h | 6 -
4833 gi/pygi-marshal-to-py.c | 210 -----------
4834 gi/pygi-marshal-to-py.h | 4 -
4835 10 files changed, 963 insertions(+), 957 deletions(-)
4837 commit 4697a3793b46a803c6dbef749ba75c0fee80020d
4838 Author: Simon Feltman <sfeltman@src.gnome.org>
4839 Date: Fri Oct 11 23:26:08 2013 -0700
4841 cache refactoring: Move GList/GSList arg setup and marshaling into
4844 Move GList and GSList argument caching and marshaling fragments
4846 isolated file: pygi-list.c.
4848 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4850 gi/Makefile.am | 2 +
4851 gi/pygi-cache.c | 71 ++-----
4852 gi/pygi-list.c | 466
4853 ++++++++++++++++++++++++++++++++++++++++++++++
4854 gi/pygi-list.h | 38 ++++
4855 gi/pygi-marshal-cleanup.c | 80 --------
4856 gi/pygi-marshal-cleanup.h | 10 -
4857 gi/pygi-marshal-from-py.c | 156 ----------------
4858 gi/pygi-marshal-from-py.h | 12 --
4859 gi/pygi-marshal-to-py.c | 98 ----------
4860 gi/pygi-marshal-to-py.h | 8 -
4861 10 files changed, 517 insertions(+), 424 deletions(-)
4863 commit c48ddacf4479d2cf80beb9c614cdce2a61599b3b
4864 Author: Simon Feltman <sfeltman@src.gnome.org>
4865 Date: Fri Oct 11 21:30:45 2013 -0700
4867 cache refactoring: Break sequence cache up for array vs list
4869 Add new arg cache type specialized for arrays. This cleans up
4871 sequence cache type which does not need length and size related
4873 fixed length checks from GList and GSList from_py marshaling
4877 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4879 gi/pygi-cache.c | 160
4880 +++++++++++++++++++++++++++++++++++-----------
4881 gi/pygi-cache.h | 16 ++++-
4882 gi/pygi-invoke.c | 4 +-
4883 gi/pygi-marshal-cleanup.c | 28 ++++----
4884 gi/pygi-marshal-from-py.c | 37 ++++-------
4885 gi/pygi-marshal-to-py.c | 23 +++----
4886 6 files changed, 177 insertions(+), 91 deletions(-)
4888 commit c1a2a86a7b51f4dc5a5da9f8808552c38acadf9d
4889 Author: Simon Feltman <sfeltman@src.gnome.org>
4890 Date: Fri Oct 11 20:12:01 2013 -0700
4892 cache refactoring: Move basic type arg setup and marshaling into
4895 Move all basic type arg caching and marshaling fragments into
4897 file where most functions are made static. pygi-basictype.h exposes:
4898 pygi_arg_basic_type_new_from_info, _pygi_marshal_from_py_basic_type,
4900 _pygi_marshal_to_py_basic_type which allows continued use for all
4904 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4906 gi/Makefile.am | 2 +
4907 gi/pygi-argument.c | 1 +
4908 gi/pygi-basictype.c | 824
4909 ++++++++++++++++++++++++++++++++++++++++++++++
4910 gi/pygi-basictype.h | 42 +++
4911 gi/pygi-cache.c | 82 +----
4912 gi/pygi-cache.h | 1 +
4913 gi/pygi-marshal-cleanup.c | 26 --
4914 gi/pygi-marshal-cleanup.h | 10 -
4915 gi/pygi-marshal-from-py.c | 478 ---------------------------
4916 gi/pygi-marshal-from-py.h | 18 -
4917 gi/pygi-marshal-to-py.c | 155 ---------
4918 gi/pygi-marshal-to-py.h | 11 -
4919 12 files changed, 880 insertions(+), 770 deletions(-)
4921 commit 4a6bf3be49cc5aec7287c41ec02c78d60df1d44c
4922 Author: Simon Feltman <sfeltman@src.gnome.org>
4923 Date: Fri Oct 11 17:39:31 2013 -0700
4925 cache refactoring: Move PyGIHashCache and related marshaling into
4928 Re-organize hash table arg cache and its marshaling by moving all
4929 related code fragments into an isolated file where most of it is made
4930 static. pygi-hashtable.h exposes a single function:
4931 pygi_arg_hash_table_new_from_info. This is all the caching system
4933 produce the proper bits for handling hash table marshaling.
4935 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4937 gi/Makefile.am | 4 +-
4938 gi/pygi-cache.c | 103 +-----------
4939 gi/pygi-cache.h | 21 ++-
4940 gi/pygi-hashtable.c | 413
4941 ++++++++++++++++++++++++++++++++++++++++++++++
4942 gi/pygi-hashtable.h | 35 ++++
4943 gi/pygi-marshal-cleanup.c | 63 -------
4944 gi/pygi-marshal-cleanup.h | 10 --
4945 gi/pygi-marshal-from-py.c | 125 --------------
4946 gi/pygi-marshal-from-py.h | 6 -
4947 gi/pygi-marshal-to-py.c | 85 ----------
4948 gi/pygi-marshal-to-py.h | 4 -
4949 11 files changed, 471 insertions(+), 398 deletions(-)
4951 commit 983d0c2252f91e63d5fa0222ef2b67722cb97434
4952 Author: Simon Feltman <sfeltman@src.gnome.org>
4953 Date: Fri Oct 11 15:49:32 2013 -0700
4955 cache refactoring: Separate ArgCache creation and setup
4957 Move PyGIArgCache and PyGIInterfaceCache generic setup into standalone
4958 functions: pygi_arg_base_setup and pygi_arg_interface_setup
4960 Shift argument order and move arguments which will eventually
4962 from the signature into the tail with comment. Isolate special
4964 GI_INFO_TYPE_CALLBACK ArgCache creation to a single location in
4965 _arg_cache_new_for_interface.
4967 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4969 gi/pygi-cache.c | 263
4970 ++++++++++++++++++++++++++++++++------------------------
4971 gi/pygi-cache.h | 15 ++++
4972 2 files changed, 167 insertions(+), 111 deletions(-)
4974 commit 0af98aca40fe266d1fd93caaa7256bb92ba1d3e4
4975 Author: Simon Feltman <sfeltman@src.gnome.org>
4976 Date: Sun Feb 2 15:52:24 2014 -0800
4978 tests: Add skip and expectedFailure to test_gi.test_callback_owned_box
4980 https://bugzilla.gnome.org/show_bug.cgi?id=722899
4982 tests/test_gi.py | 3 +++
4983 1 file changed, 3 insertions(+)
4985 commit e79d2acc54c1e3b052835de5de20feb0b7069476
4986 Author: Mike Gorse <mgorse@suse.com>
4987 Date: Fri Jan 24 05:17:06 2014 -0600
4989 tests: Add test for an owned boxed struct passed in a callback
4991 https://bugzilla.gnome.org/show_bug.cgi?id=722899
4993 tests/test_gi.py | 11 +++++++++++
4994 1 file changed, 11 insertions(+)
4996 commit b12ceed8cc5fa398cea2061813aac6a5ba100b6f
4997 Author: Simon Feltman <sfeltman@src.gnome.org>
4998 Date: Thu Jan 23 17:19:12 2014 -0800
5000 Rename gi.types.GIObjectMeta to gi.types.GObjectMeta
5002 Rename GIObjectMeta to GObjectMeta reverting it to its original
5004 to commit https://git.gnome.org/browse/pygobject/commit/?id=2624bd2b
5005 That change could have been considered an API break for anyone
5007 gi.types.GObjectMeta since it is essentially public API. Rename
5009 class to _GObjectMetaBase which was previously gi._gobject before
5010 commit 2624bd2b (private API).
5012 gi/module.py | 8 ++++----
5013 gi/types.py | 10 +++++-----
5014 2 files changed, 9 insertions(+), 9 deletions(-)
5016 commit 15fdd827ce4bff847fb35c817c6ea2d3650eec00
5017 Author: Patrick Welche <prlw1@cam.ac.uk>
5018 Date: Thu Jan 23 23:49:51 2014 +0000
5020 build: Add --without-common configure option for package maintainers
5022 https://bugzilla.gnome.org/show_bug.cgi?id=721646
5025 configure.ac | 7 +++++++
5026 gi/Makefile.am | 2 ++
5027 3 files changed, 11 insertions(+)
5029 commit df21dbbc84fa319af2a0f0664de436ca30df616e
5030 Author: Simon Feltman <sfeltman@src.gnome.org>
5031 Date: Thu Jan 16 16:33:41 2014 -0800
5033 tests: Add skipped test for GLib.Source inheritance problems
5035 Add test showing memory problems with sub-classes of GLib.Source.
5037 https://bugzilla.gnome.org/show_bug.cgi?id=722387
5039 tests/test_source.py | 45 +++++++++++++++++++++++++++++++++++++++++++++
5040 1 file changed, 45 insertions(+)
5042 commit 7222a37a4b4955fe6c1dcc86e0eb798d653711e8
5043 Author: Simon Feltman <sfeltman@src.gnome.org>
5044 Date: Wed Jan 15 12:51:57 2014 -0800
5046 Fix reference sharing of gi sub-modules in Python 2
5048 Ensure we add a new reference to sub-modules added to gi._gi. This may
5049 have caused GC errors upon exiting the Python process since a
5051 shared by sys.modules and gi._gi.
5053 https://bugzilla.gnome.org/show_bug.cgi?id=722274
5055 gi/gimodule.c | 11 +++++++++++
5056 1 file changed, 11 insertions(+)
5058 commit 8c838b683220bcbf2091bba97b91ddb56b275aed
5059 Author: Simon Feltman <sfeltman@src.gnome.org>
5060 Date: Tue Jan 14 23:46:44 2014 -0800
5062 demo: Add TreeModel interface implementation demonstration
5064 Add demo which shows how to implement the Gtk.TreeModel interfaces
5068 demos/gtk-demo/demos/TreeView/treemodel_large.py | 143
5069 +++++++++++++++++++++++
5070 1 file changed, 143 insertions(+)
5072 commit 911898bac5d0ad5a42ed9990588bd98871f4a8a4
5073 Author: Simon Feltman <sfeltman@src.gnome.org>
5074 Date: Tue Jan 14 23:33:16 2014 -0800
5076 demo: Remove "Icon View" and "Tree View" directories
5078 demos/gtk-demo/demos/Icon View/__init__.py | 0
5079 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 220 ----------------
5080 demos/gtk-demo/demos/Icon View/iconviewedit.py | 98 --------
5081 demos/gtk-demo/demos/Tree View/__init__.py | 0
5082 demos/gtk-demo/demos/Tree View/liststore.py | 210 ----------------
5083 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 234
5085 .../gtk-demo/demos/Tree View/treemodel_filetree.py | 279
5086 ---------------------
5087 7 files changed, 1041 deletions(-)
5089 commit f89fa08ba756a1c529ff48beb39025f834a249bf
5090 Author: Simon Feltman <sfeltman@src.gnome.org>
5091 Date: Tue Jan 14 23:08:33 2014 -0800
5093 demo: Remove spaces from demo sub-directories
5095 Move "Icon View" to IconView and "Tree View" to TreeView. This
5097 ability to package the demos in tarball releases in future versions.
5099 demos/gtk-demo/demos/IconView/__init__.py | 0
5100 demos/gtk-demo/demos/IconView/iconviewbasics.py | 220 ++++++++++++++++
5101 demos/gtk-demo/demos/IconView/iconviewedit.py | 98 ++++++++
5102 demos/gtk-demo/demos/TreeView/__init__.py | 0
5103 demos/gtk-demo/demos/TreeView/liststore.py | 210 ++++++++++++++++
5104 .../gtk-demo/demos/TreeView/treemodel_filelist.py | 234
5106 .../gtk-demo/demos/TreeView/treemodel_filetree.py | 279
5107 +++++++++++++++++++++
5108 7 files changed, 1041 insertions(+)
5110 commit 0b7d85f3379adfb3cf1122588e333707ee089e46
5111 Author: Simon Feltman <sfeltman@src.gnome.org>
5112 Date: Tue Jan 14 14:28:52 2014 -0800
5114 build: Remove _glib directory include from testhelper CFLAGS
5116 tests/Makefile.am | 2 +-
5117 1 file changed, 1 insertion(+), 1 deletion(-)
5119 commit 35b5a85aad91f48935dd49fee60d69e6184eff2c
5120 Author: Colin Walters <walters@verbum.org>
5121 Date: Tue Jan 14 16:33:38 2014 -0500
5123 build: Set PLATFORM_VERSION again to 3.0
5125 We are installing headers to:
5126 /usr/include/pygobject-$(PLATFORM_VERSION)/pygobject.h
5128 If the variable isn't set, then things attempting to use pygobject
5131 This was a regression from a build system refactoring.
5133 gi/Makefile.am | 2 ++
5134 1 file changed, 2 insertions(+)
5136 commit f2a79904ff4d60bff657bfbfd6a2ce8ab9307848
5137 Author: Simon Feltman <sfeltman@src.gnome.org>
5138 Date: Tue Jan 14 12:54:42 2014 -0800
5140 Fix Python 2 build warning for module definitions
5142 Define PYGLIB_MODULE_ERROR_RETURN as NULL for both Python 2 and
5144 needed now that the function signature created with
5145 PYGLIB_MODULE_START is
5146 consistent between the two versions.
5148 gi/pyglib-python-compat.h | 5 ++---
5149 1 file changed, 2 insertions(+), 3 deletions(-)
5151 commit 61b4af05646a8f014cfb00a5507fec2deb9aafa6
5152 Author: Simon Feltman <sfeltman@src.gnome.org>
5153 Date: Tue Jan 14 12:26:16 2014 -0800
5155 tests: Run PyFlakes and PEP8 only on SUBDIRS
5157 Move PyFlakes and PEP8 checks into check-local of the root
5159 run these tools on selective subdirs of top_srcdir. This fixes
5161 where vpath build directories within the srcdir would contain links
5163 source files, causing these tools to run multiple times slowing
5167 Makefile.am | 21 ++++++++++++++++++++-
5168 tests/Makefile.am | 6 ------
5169 2 files changed, 20 insertions(+), 7 deletions(-)
5171 commit 9a7f6f08c1dc0eb0dd91437da8ac429fbafc8a4a
5172 Author: Simon Feltman <sfeltman@src.gnome.org>
5173 Date: Tue Jan 14 12:25:09 2014 -0800
5175 Remove _glib include path from gi module target
5177 gi/Makefile.am | 7 ++-----
5178 1 file changed, 2 insertions(+), 5 deletions(-)
5180 commit 8afd7e880a72a44e6ea46c763bab82146fd75c96
5181 Author: Simon Feltman <sfeltman@src.gnome.org>
5182 Date: Wed Jan 8 19:22:08 2014 -0800
5184 Move Python glib options module into gi package
5186 Move gi/_glib/option.py into gi/_option.py. Remove gi/_glib since
5190 https://bugzilla.gnome.org/show_bug.cgi?id=712197
5194 gi/Makefile.am | 1 -
5195 gi/_glib/Makefile.am | 21 ---------------------
5196 gi/_glib/__init__.py | 20 --------------------
5197 gi/{_glib/option.py => _option.py} | 2 +-
5198 gi/overrides/GLib.py | 2 +-
5199 gi/overrides/GObject.py | 2 +-
5200 8 files changed, 5 insertions(+), 47 deletions(-)
5202 commit ad565e5bbc9d12607c39be9479bc671a8f2de6e3
5203 Author: Simon Feltman <sfeltman@src.gnome.org>
5204 Date: Wed Jan 8 18:57:58 2014 -0800
5206 Merge static PyGLib module into PyGI
5208 Remove gi._glib._glib as a separately compiled module. Move all C
5210 pygobject/gi. Remove compilation and use of libpyglib-gi-2.0-python.so
5212 shared dependency since we do not distribute header files for it.
5213 Remove unused threading macros.
5215 https://bugzilla.gnome.org/show_bug.cgi?id=712197
5217 gi/Makefile.am | 16 +++++--
5218 gi/_glib/Makefile.am | 74
5219 +-------------------------------
5220 gi/_glib/__init__.py | 5 ---
5221 gi/_glib/option.py | 2 +-
5222 gi/gimodule.c | 9 ++++
5223 gi/{_glib => }/glibmodule.c | 34 ++-------------
5224 gi/gobjectmodule.c | 5 +--
5225 gi/overrides/GLib.py | 2 +-
5226 gi/{_glib => }/pyglib-private.h | 14 ++----
5227 gi/{_glib => }/pyglib-python-compat.h | 0
5228 gi/{_glib => }/pyglib.c | 81
5229 ++---------------------------------
5230 gi/{_glib => }/pyglib.h | 10 -----
5231 gi/{_glib => }/pygoptioncontext.c | 0
5232 gi/{_glib => }/pygoptioncontext.h | 0
5233 gi/{_glib => }/pygoptiongroup.c | 0
5234 gi/{_glib => }/pygoptiongroup.h | 0
5235 gi/{_glib => }/pygspawn.c | 0
5236 gi/{_glib => }/pygspawn.h | 0
5237 18 files changed, 40 insertions(+), 212 deletions(-)
5239 commit 2624bd2b4a465a2d234951dd5b855fe8a0d46e1c
5240 Author: Simon Feltman <sfeltman@src.gnome.org>
5241 Date: Thu Oct 31 03:13:53 2013 -0700
5243 Move gobject sub-module Python files into the main gi package
5245 This moves the signalhelper, propertyhelper, and constants Python
5247 from gi/_gobject into gi. Keep gi/_gobject/__init__.py around because
5249 still needed to maintain the "_PyGObject_API" exposed by
5251 allows external modules compiled with prior versions of PyGObject to
5252 continue working with newer versions.
5254 https://bugzilla.gnome.org/show_bug.cgi?id=712197
5257 gi/__init__.py | 19 +++++-----
5258 gi/{_gobject/constants.py => _constants.py} | 5 ++-
5259 gi/_gobject/Makefile.am | 5 +--
5260 gi/_gobject/__init__.py | 42
5261 ++--------------------
5262 .../propertyhelper.py => _propertyhelper.py} | 4 +--
5263 gi/{_gobject/signalhelper.py => _signalhelper.py} | 5 ++-
5264 gi/module.py | 16 ++++-----
5265 gi/overrides/GObject.py | 7 ++--
5266 gi/overrides/__init__.py | 2 +-
5268 ++++++++++++++++-----
5269 pygtkcompat/pygtkcompat.py | 4 +--
5270 tests/test_gi.py | 2 +-
5271 tests/test_gobject.py | 4 ++-
5272 tests/test_properties.py | 2 +-
5273 tests/test_signal.py | 2 +-
5274 16 files changed, 78 insertions(+), 87 deletions(-)
5276 commit d3e8946dbb23197a2e9d7de351a7b9cd04d360b9
5277 Author: Simon Feltman <sfeltman@src.gnome.org>
5278 Date: Thu Oct 31 02:22:03 2013 -0700
5280 Merge gobject static code into the gi module
5282 Remove gi._gobject._gobject as a separately compiled static module and
5283 move all the files into gi._gi.
5284 Remove dead module initialization macros from "pyglib-python-compat.h"
5286 https://bugzilla.gnome.org/show_bug.cgi?id=712197
5288 gi/Makefile.am | 31 ++++++++++++++--
5289 gi/_glib/pyglib-python-compat.h | 62
5290 +++++++++----------------------
5291 gi/_gobject/Makefile.am | 69
5292 +----------------------------------
5293 gi/_gobject/__init__.py | 4 +-
5294 gi/_gobject/constants.py | 3 +-
5295 gi/_gobject/propertyhelper.py | 16 +++++---
5296 gi/_gobject/signalhelper.py | 3 +-
5297 gi/gimodule.c | 13 ++++---
5298 gi/{_gobject => }/gobjectmodule.c | 0
5300 gi/{_gobject => }/pygboxed.c | 0
5301 gi/{_gobject => }/pygboxed.h | 0
5302 gi/{_gobject => }/pygenum.c | 0
5303 gi/{_gobject => }/pygenum.h | 0
5304 gi/{_gobject => }/pygflags.c | 0
5305 gi/{_gobject => }/pygflags.h | 0
5306 gi/pygi-argument.c | 3 +-
5307 gi/pygi-boxed.c | 2 +-
5308 gi/pygi-ccallback.c | 2 +-
5309 gi/pygi-foreign.c | 2 +-
5310 gi/pygi-info.c | 2 +-
5311 gi/pygi-marshal-to-py.c | 3 +-
5312 gi/pygi-private.h | 2 +-
5313 gi/pygi-source.c | 3 +-
5314 gi/pygi-struct.c | 2 +-
5316 gi/{_gobject => }/pyginterface.c | 0
5317 gi/{_gobject => }/pyginterface.h | 0
5318 gi/{_gobject => }/pygobject-private.h | 5 ++-
5319 gi/{_gobject => }/pygobject.c | 0
5320 gi/{_gobject => }/pygobject.h | 0
5321 gi/{_gobject => }/pygparamspec.c | 0
5322 gi/{_gobject => }/pygparamspec.h | 2 +
5323 gi/{_gobject => }/pygpointer.c | 0
5324 gi/{_gobject => }/pygpointer.h | 0
5325 gi/{_gobject => }/pygtype.c | 0
5326 gi/{_gobject => }/pygtype.h | 0
5328 tests/Makefile.am | 2 +-
5329 39 files changed, 93 insertions(+), 148 deletions(-)
5331 commit a329f559002f2be0898309c9d81cdf2c34aef158
5332 Author: Simon Feltman <sfeltman@src.gnome.org>
5333 Date: Tue Jan 14 10:15:53 2014 -0800
5335 tests: Fix test_torture_profile to return a number from its callback
5337 Return a number from rather than None from the callback passed to
5338 regress_test_torture_signature_2. This fixes a TypeError being
5340 callback return argument marshaling which was ignored by the test
5343 tests/test_everything.py | 2 +-
5344 1 file changed, 1 insertion(+), 1 deletion(-)
5346 commit a50a8386aae54dace7e46569415fdef85758fb9c
5347 Author: Martin Pitt <martinpitt@gnome.org>
5348 Date: Tue Jan 14 08:53:25 2014 +0100
5350 Add test for callback user data arguments with following arguments
5352 In this case we can't use the varargs userdata handling. Provides
5354 https://bugzilla.gnome.org/show_bug.cgi?id=722104.
5356 tests/test_everything.py | 48
5357 ++++++++++++++++++++++++++++++++++++++++++++++++
5358 1 file changed, 48 insertions(+)
5360 commit 3563a2d21a9e08a802d1cf30e04ba340e0bcfb49
5361 Author: Simon Feltman <sfeltman@src.gnome.org>
5362 Date: Mon Jan 13 08:19:02 2014 -0800
5364 valgrind: Add suppression files for python3.3 and python3.3dm
5366 Add new suppression files for Python 3. Use PYTHON_BASENAME for the
5367 suppression filename in the various make check.valgrind
5369 python.supp to python2.7.supp
5371 tests/Makefile.am | 6 +-
5372 tests/{python.supp => python2.7.supp} | 0
5373 tests/python3.3.supp | 471
5374 ++++++++++++++++++++++++++++++++++
5375 tests/python3.3dm.supp | 471
5376 ++++++++++++++++++++++++++++++++++
5377 4 files changed, 945 insertions(+), 3 deletions(-)
5379 commit 5c6f8afed5f6aa05d65d64509a2c9b8041a66b05
5380 Author: Simon Feltman <sfeltman@src.gnome.org>
5381 Date: Mon Jan 13 18:53:55 2014 -0800
5383 Makefile.am: Fix NEWS and ChangeLog generation under vpath builds
5385 Make sure NEWS generation uses top_srcdir to allow "make release-news"
5387 work under a vpath build (directory outside the source tree).
5388 Update ChangeLog target to use $(top_srcdir)/missing. This fixes
5390 where running "make dist" under a vpath build directory would
5394 Makefile.am | 6 +++---
5395 1 file changed, 3 insertions(+), 3 deletions(-)
5397 commit 056325cba3c86aefcf45ba10f2b7cf86e9fc1800
5398 Author: Simon Feltman <sfeltman@src.gnome.org>
5399 Date: Mon Jan 13 18:53:02 2014 -0800
5401 Update HACKING to include better release tagging instructions
5403 HACKING | 15 ++++++++-------
5404 1 file changed, 8 insertions(+), 7 deletions(-)
5406 commit c0a43d259c003c5d06db23debd0675b87e805b74
5407 Author: Simon Feltman <sfeltman@src.gnome.org>
5408 Date: Mon Jan 13 17:20:17 2014 -0800
5410 configure.ac: post release version bump to 3.11.5
5412 NEWS | 16 ++++++++++++++++
5414 2 files changed, 17 insertions(+), 1 deletion(-)
5416 commit 44d003798d9d14dde16fb44c69b94a411bdee26b
5417 Author: Simon Feltman <sfeltman@src.gnome.org>
5418 Date: Mon Jan 13 16:51:41 2014 -0800
5420 Fix mid-argument list callback user data expecting a tuple
5422 Ensure user data arguments are always packed into a tuple during
5424 marshaling. This fixes cases where there is mid-argument user data
5426 not in the form of a variable length tuple.
5428 https://bugzilla.gnome.org/show_bug.cgi?id=722104
5430 gi/pygi-marshal-from-py.c | 16 +++++++++++++++-
5431 1 file changed, 15 insertions(+), 1 deletion(-)
5433 commit 415b240e3baab522f3bf9752995610f950ba609e
5434 Author: Simon Feltman <sfeltman@src.gnome.org>
5435 Date: Tue Oct 15 03:57:52 2013 -0700
5437 Remove special case GObject base class check when creating GI classes
5439 Replace explicit GObject.Object string name check when calculating the
5440 introspection class hierarchy with a more generalized technique. This
5442 any C based wrapper of a GType to "underride" an introspection class
5443 automatically. This currently only handles the case of GObject.Object,
5445 will be used for fundamentals and GParamSpec.
5447 https://bugzilla.gnome.org/show_bug.cgi?id=631901
5449 gi/module.py | 17 +++++++++++------
5450 1 file changed, 11 insertions(+), 6 deletions(-)
5452 commit 9b02b29016958791dfa9d7ebfc6c2ec44ab5690d
5453 Author: Simon Feltman <sfeltman@src.gnome.org>
5454 Date: Tue Jan 7 09:16:54 2014 -0800
5456 overrides: Fix __repr__ for various Gdk structs
5458 Change __repr__ overrides for Gdk.Color, Gdk.RGBA, and Gdk.Atom to
5460 string reprentation that is valid Python given an expected
5462 See: http://docs.python.org/2/reference/datamodel.html#object.__repr__
5464 gi/overrides/Gdk.py | 10 +++++-----
5465 tests/test_atoms.py | 7 +++++--
5466 tests/test_overrides_gdk.py | 9 +++++++++
5467 3 files changed, 19 insertions(+), 7 deletions(-)
5469 commit f6a87935596a3b59c238a5572b288f34691b53d1
5470 Author: Simon Feltman <sfeltman@src.gnome.org>
5471 Date: Tue Jan 7 07:31:22 2014 -0800
5473 docs: Fix array length argument skipping with preceding out arguments
5475 Remove split_function_info_args and use a list of all arguments for
5476 generating skipped index lists. Determine argument skipping based
5478 full argument list in each in/inout and out/inout argument list
5480 This fixes a problem where out arguments preceding array length
5482 would still show array length arguments in the docstring. This was
5484 index mismatch when using split lists instead of list of all
5487 gi/docstring.py | 38 ++++++++++++--------------------------
5488 tests/test_docstring.py | 37 +++++++++++++++----------------------
5489 2 files changed, 27 insertions(+), 48 deletions(-)
5491 commit f114edc0a0afa64077a13459034afc4255b7a3f1
5492 Author: Simon Feltman <sfeltman@src.gnome.org>
5493 Date: Mon Jan 6 22:10:47 2014 -0800
5495 overrides: Remove GLib.Source.attach
5497 Remove GLib.Source.attach override now that tail end allow-none
5499 default to None when not specified.
5501 gi/overrides/GLib.py | 5 -----
5502 tests/test_glib.py | 7 +++++++
5503 2 files changed, 7 insertions(+), 5 deletions(-)
5505 commit 50ab6a8b70cbe7b67fc8d804b7773bb2c9b47251
5506 Author: Simon Feltman <sfeltman@src.gnome.org>
5507 Date: Mon Jan 6 21:42:09 2014 -0800
5509 overrides: Remove Gtk overrides with tail end allow-none keywords
5511 Remove overrides for Widget.render_icon, TextIter.begins_tag,
5513 toggles_tag, and TreeModel.filter_new. These overrides added an
5514 optional keyword=None for allow-none arguments. This is now implicitly
5515 accepted by the PyGObject machinery so the overrides can go away.
5517 gi/overrides/Gtk.py | 16 ----------------
5518 tests/test_overrides_gtk.py | 11 +++++++++++
5519 2 files changed, 11 insertions(+), 16 deletions(-)
5521 commit 2d388fcfca4bf1258d01b4491b4168589f3dd2b0
5522 Author: Simon Feltman <sfeltman@src.gnome.org>
5523 Date: Mon Jan 6 21:22:41 2014 -0800
5525 overrides: Remove Pango.Context.get_metrics
5527 Remove the override for Pango.Context and the get_metrics method. This
5529 be done now that tail end method arguments with "allow-none"
5531 defaulted to use None/NULL.
5533 gi/overrides/Pango.py | 9 ---------
5534 tests/test_overrides_pango.py | 12 ++++++++++++
5535 2 files changed, 12 insertions(+), 9 deletions(-)
5537 commit 43b35b1df3b6c0d8679f3cc0b08ef6ddcb276331
5538 Author: Simon Feltman <sfeltman@src.gnome.org>
5539 Date: Mon Jan 6 17:35:04 2014 -0800
5541 Add enum and flags member methods
5543 Add all methods from GIEnumInfo to both enums and flags classes.
5545 https://bugzilla.gnome.org/show_bug.cgi?id=693099
5548 tests/test_gi.py | 9 +++++++++
5549 2 files changed, 11 insertions(+)
5551 commit 731a2cb4372084eac6cfe5bf190f6efa730e97e4
5552 Author: Patrick Welche <prlw1@cam.ac.uk>
5553 Date: Mon Jan 6 22:31:48 2014 +0000
5555 python.m4: g/c JD_PYTHON_CHECK_VERSION
5557 We currently require automake 1.11.1, and its AM_PYTHON_CHECK_VERSION
5558 is identical (made here).
5560 https://bugzilla.gnome.org/show_bug.cgi?id=721662
5562 configure.ac | 4 ++--
5563 m4/python.m4 | 23 ++---------------------
5564 2 files changed, 4 insertions(+), 23 deletions(-)
5566 commit aaaead18e2167c2becb309f1d9ae199222c0256b
5567 Author: Simon Feltman <sfeltman@src.gnome.org>
5568 Date: Sat Jan 4 16:31:56 2014 -0800
5570 Support union creation with PyGIStruct
5572 Add additional case for allowing the creation bare unions wrapped with
5573 PyGIStruct. This is needed because PyGIStruct wraps both GIStruct and
5576 gi/pygi-struct.c | 39 ++++++++++++++++++++++++++++++++++-----
5577 tests/test_repository.py | 13 +++++++++++++
5578 2 files changed, 47 insertions(+), 5 deletions(-)
5580 commit 64f15961b637a7e1388bd8d2cd08f04fa20e4de4
5581 Author: Simon Feltman <sfeltman@src.gnome.org>
5582 Date: Sat Jan 4 16:07:44 2014 -0800
5584 Fix crash in error handling when creating struct with mismatched
5587 Error handling code was attempting to get the PyType of a pointer to a
5588 pointer. Use the correct amount of indirection so an exception is
5590 intended rather than a segfault.
5592 gi/pygi-info.c | 2 +-
5593 1 file changed, 1 insertion(+), 1 deletion(-)
5595 commit 07abf8343bbeac6f36d370ced654fa6506b22175
5596 Author: Simon Feltman <sfeltman@src.gnome.org>
5597 Date: Wed Jan 1 20:23:17 2014 -0800
5599 docs: Skip display of default constructor for disguised structs
5601 Structs which have zero length should now show a default constructor.
5602 Structs with a length should not show keyword arguments in the default
5605 https://bugzilla.gnome.org/show_bug.cgi?id=708060
5607 gi/docstring.py | 9 ++++++++-
5608 tests/test_docstring.py | 18 ++++++++++++++++--
5609 2 files changed, 24 insertions(+), 3 deletions(-)
5611 commit e8359847136e9ad76a670a382c0abc61cb4e81d3
5612 Author: Simon Feltman <sfeltman@src.gnome.org>
5613 Date: Wed Jan 1 19:57:06 2014 -0800
5615 Cleanup disguised struct constructor error and add it to boxed
5617 Give a cleaner error message when an attempt is made to create
5619 struct which also gives a hint to look at the pydoc. Add similar
5621 disguised boxed/unions.
5623 https://bugzilla.gnome.org/show_bug.cgi?id=647249
5625 gi/pygi-boxed.c | 17 ++++++++++++++---
5626 gi/pygi-struct.c | 2 +-
5627 tests/test_everything.py | 1 -
5628 tests/test_glib.py | 4 ++++
5629 4 files changed, 19 insertions(+), 5 deletions(-)
5631 commit 9ce527b09ed032f2cc83c2d83de8bb6d7b19be02
5632 Author: Simon Feltman <sfeltman@src.gnome.org>
5633 Date: Wed Jan 1 19:54:59 2014 -0800
5635 docs: List default constructor in doc strings
5637 Add default constructor to class docs strings as:
5638 Object(**properties)
5640 https://bugzilla.gnome.org/show_bug.cgi?id=708060
5642 gi/docstring.py | 10 ++++------
5643 1 file changed, 4 insertions(+), 6 deletions(-)
5645 commit 9bfd73e7c3f2ec4975b3e530ba7c2cc55ee793d5
5646 Author: Simon Feltman <sfeltman@src.gnome.org>
5647 Date: Wed Jan 1 17:34:32 2014 -0800
5649 docs: List constructors in object and struct doc strings
5651 Add type dispatching to gi.docstring documentation generator for
5653 of StructInfo and ObjectInfo. Add lazy doc string generation to
5654 Object and Struct meta classes by using a property for __doc__. This
5656 available constructors immediately in all GObject.Object and Struct
5662 Button(**properties)
5664 new_from_icon_name(icon_name:str, size:int)
5665 new_from_stock(stock_id:str)
5666 new_with_label(label:str)
5667 new_with_mnemonic(label:str)
5669 https://bugzilla.gnome.org/show_bug.cgi?id=708060
5671 gi/docstring.py | 36 +++++++++++++++++++++++++++++-------
5672 gi/types.py | 9 +++++++++
5673 tests/test_docstring.py | 8 ++++++++
5674 3 files changed, 46 insertions(+), 7 deletions(-)
5676 commit 44612636575dd93c97210a7255c4490e2c84db67
5677 Author: Simon Feltman <sfeltman@src.gnome.org>
5678 Date: Wed Jan 1 17:10:15 2014 -0800
5680 docs: Cleanup PyGIBaseInfo repr
5682 Remove angle brackets and pointer address from
5683 PyGIBaseInfo.__repr__. This
5684 cleans up documentation and makes it easier to read.
5686 gi/pygi-info.c | 5 ++---
5687 1 file changed, 2 insertions(+), 3 deletions(-)
5689 commit 826c0e63eabac68fd665335950d311988a1405e3
5690 Author: Simon Feltman <sfeltman@src.gnome.org>
5691 Date: Tue Dec 31 21:45:21 2013 -0800
5693 docs: Add return values and skip implicit out arguments in functions
5695 Add gi.CallableInfo.skip_return static binding for testing if
5697 value should show up in docs. Skip implicit list index arguments
5701 https://bugzilla.gnome.org/show_bug.cgi?id=697356
5703 gi/docstring.py | 26 +++++++++++++++++++++-----
5704 gi/pygi-info.c | 7 +++++++
5705 tests/test_docstring.py | 6 ++++++
5706 3 files changed, 34 insertions(+), 5 deletions(-)
5708 commit aeccdaddf32dc7b48a79a1cd95a421a26895c9b2
5709 Author: Simon Feltman <sfeltman@src.gnome.org>
5710 Date: Tue Dec 31 21:15:27 2013 -0800
5712 docs: Replace usage of functools.wraps with a custom version
5714 Using functools.wraps in overrides would cause docstring evaluation
5716 can hurt performance during overrides loading. Add custom wraps
5718 which only copies __name__ and __module__ attributes. Remove function
5719 wrapping used within gi.overrides.overridefunc because the wrapping
5721 doing anything, this preserves __doc__ ability without causing an
5725 https://bugzilla.gnome.org/show_bug.cgi?id=697356
5727 gi/overrides/GObject.py | 3 +--
5728 gi/overrides/__init__.py | 21 ++++++++++++---------
5729 2 files changed, 13 insertions(+), 11 deletions(-)
5731 commit cebf5314f195bf4bd6ee19a1da3bbb50c2c9bbd6
5732 Author: Simon Feltman <sfeltman@src.gnome.org>
5733 Date: Tue Dec 31 19:42:02 2013 -0800
5735 docs: Move GIArgInfo.get_pytype_hint into gi.docstring
5737 Move the C implementation of pytype hinting into pure Python. Now that
5738 doc strings are lazily evaluated we can simplify this tedious bit of C
5739 code with Python. This is precursory work for getting return
5741 function doc strings.
5743 https://bugzilla.gnome.org/show_bug.cgi?id=697356
5745 gi/docstring.py | 50 ++++++++++++++++++++++++++++++++++++++---
5746 gi/pygi-info.c | 49 ----------------------------------------
5748 ------------------------------------------------
5749 gi/pygi-type.h | 2 --
5750 tests/test_docstring.py | 8 ++++---
5751 tests/test_repository.py | 1 -
5752 6 files changed, 52 insertions(+), 116 deletions(-)
5754 commit 28a178e385e32c56910f1c430b370a8872218081
5755 Author: Simon Feltman <sfeltman@src.gnome.org>
5756 Date: Tue Dec 31 17:50:36 2013 -0800
5758 docs: Skip implicit array length args when building function doc
5761 https://bugzilla.gnome.org/show_bug.cgi?id=697356
5763 gi/docstring.py | 8 ++++++--
5764 tests/test_docstring.py | 4 ++++
5765 2 files changed, 10 insertions(+), 2 deletions(-)
5767 commit 2ef59b89311529e34366d4d7aa8f8ae9a8ea6371
5768 Author: Simon Feltman <sfeltman@src.gnome.org>
5769 Date: Tue Dec 31 13:41:20 2013 -0800
5771 gtk-demo: Avoid crash in CSS demos
5773 Avoid a potential crash in the CSS demos where the text editing
5775 out of sync with the last good CSS parsing buffer. In the case of CSS
5776 warnings, we get a parsing-error callback but no exception is raised.
5777 This would cause the buffers to become out of sync and accessing
5779 information from the parsing-error section would crash the text
5781 to an out of range iterator being created.
5783 demos/gtk-demo/demos/Css/css_basics.py | 31
5784 +++++++++++++++++++++--------
5785 demos/gtk-demo/demos/Css/css_multiplebgs.py | 31
5786 +++++++++++++++++++++--------
5787 2 files changed, 46 insertions(+), 16 deletions(-)
5789 commit b81f9c9b4e62d8cf589576aba8d9abbac4c80953
5790 Author: Simon Feltman <sfeltman@src.gnome.org>
5791 Date: Tue Dec 31 02:05:46 2013 -0800
5793 gtk-demo: Add info bar and better error handling to CSS demos
5795 Use an info bar for displaying CSS parsing errors. Store the last good
5796 stylesheet text for use as a backup when a parsing error occures. This
5798 a seamless look while typing changes into the text editor.
5800 https://bugzilla.gnome.org/show_bug.cgi?id=719722
5802 demos/gtk-demo/demos/Css/css_basics.py | 28
5803 +++++++++++++++++++++-------
5804 demos/gtk-demo/demos/Css/css_multiplebgs.py | 29
5805 ++++++++++++++++++++++-------
5806 2 files changed, 43 insertions(+), 14 deletions(-)
5808 commit becb56734e13df182fd31cfe46c465477dfc4d2c
5809 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
5810 Date: Mon Dec 30 16:36:28 2013 +0100
5812 gtk-demo: Add CSS demos
5814 Add a couple of demos demostrating the use of CSS, the css files are
5815 stored into a GResource binary file compiled with
5816 glib-compile-resources,
5817 the comments in gtk-demo.py explain the usage of GResource.
5819 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
5821 https://bugzilla.gnome.org/show_bug.cgi?id=719722
5824 demos/gtk-demo/demos/Css/__init__.py | 0
5825 demos/gtk-demo/demos/Css/css_accordion.py | 94 +++++++++++++++
5826 demos/gtk-demo/demos/Css/css_basics.py | 119 +++++++++++++++++++
5827 demos/gtk-demo/demos/Css/css_multiplebgs.py | 157
5828 ++++++++++++++++++++++++++
5829 demos/gtk-demo/demos/data/brick.png | Bin 0 -> 5043 bytes
5830 demos/gtk-demo/demos/data/brick2.png | Bin 0 -> 10713 bytes
5831 demos/gtk-demo/demos/data/css_accordion.css | 52 +++++++++
5832 demos/gtk-demo/demos/data/css_basics.css | 22 ++++
5833 demos/gtk-demo/demos/data/css_multiplebgs.css | 136
5834 ++++++++++++++++++++++
5835 demos/gtk-demo/demos/data/cssview.css | 41 +++++++
5836 demos/gtk-demo/demos/data/demo.gresource | Bin 0 -> 31110 bytes
5837 demos/gtk-demo/demos/data/demo.gresource.xml | 18 +++
5838 demos/gtk-demo/demos/data/reset.css | 68 +++++++++++
5839 demos/gtk-demo/gtk-demo.py | 16 ++-
5840 15 files changed, 723 insertions(+), 1 deletion(-)
5842 commit 2ff095ea0b0c05fbf6cc332eeadf26cfeb9e69f7
5843 Author: Colin Watson <cjwatson@ubuntu.com>
5844 Date: Tue Dec 24 22:19:02 2013 +0000
5846 build: Avoid clash between gi/types.py and stdlib
5848 Use non-recursive make for the Python modules in gi/ to work around a
5849 clash between gi/types.py and the standard library's types module when
5852 https://bugzilla.gnome.org/show_bug.cgi?id=721025
5854 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
5856 Makefile.am | 24 ++++++++++++++++++++++++
5857 gi/Makefile.am | 20 ++------------------
5858 2 files changed, 26 insertions(+), 18 deletions(-)
5860 commit b9716853fb7727fcf2b5ea59a3368d5a5b2e6be2
5861 Author: Simon Feltman <sfeltman@src.gnome.org>
5862 Date: Mon Dec 16 04:17:28 2013 -0800
5864 configure.ac: post-release bump to 3.11.4
5867 1 file changed, 1 insertion(+), 1 deletion(-)
5869 commit 2ec00c2563bebff1e55faf97c67e44fda862ad5b
5870 Author: Simon Feltman <sfeltman@src.gnome.org>
5871 Date: Mon Dec 16 04:10:54 2013 -0800
5876 1 file changed, 4 insertions(+)
5878 commit 7fb55f93e207378992cd9f3e0663604a4de2213f
5879 Author: Simon Feltman <sfeltman@src.gnome.org>
5880 Date: Thu Dec 12 01:35:11 2013 -0800
5882 Replace usage of PyGIBoxed_Type with PyGIStruct_Type
5884 Remove empty definition of PyGIBoxed_Type and use PyGIStruct_Type
5886 place for GI_INFO_TYPE_BOXED based infos in repositories. As noted in
5887 the docs: "GI_INFO_TYPE_BOXED boxed, see GIStructInfo or GIUnionInfo"
5888 we can use the GIStructInfo API for boxed types because we also
5890 base classes on GType checks as seen in:
5891 https://git.gnome.org/browse/pygobject/tree/gi/module.py?id=3.11.2#n186
5892 This fixes some of the issues noted in bug 581525.
5894 https://bugzilla.gnome.org/show_bug.cgi?id=581525
5896 gi/pygi-info.c | 13 +------------
5897 1 file changed, 1 insertion(+), 12 deletions(-)
5899 commit b3c85eec75c62c138c136531ebe49a33351941f0
5900 Author: Simon Feltman <sfeltman@src.gnome.org>
5901 Date: Sun Nov 17 20:12:50 2013 -0800
5903 configure.ac: post release version bump to 3.11.3
5906 1 file changed, 1 insertion(+), 1 deletion(-)
5908 commit d1314af8f237a634dbfefb0a1c319f910d3d8765
5909 Author: Simon Feltman <sfeltman@src.gnome.org>
5910 Date: Sun Nov 17 20:04:49 2013 -0800
5915 1 file changed, 6 insertions(+)
5917 commit 6fc3d977f17397e514aed492055e93d03c410f60
5918 Author: Simon Feltman <sfeltman@src.gnome.org>
5919 Date: Tue Nov 12 23:04:50 2013 -0800
5921 gtk-demo: Fix pyflakes error after recent commit
5923 demos/gtk-demo/demos/pixbuf.py | 2 +-
5924 1 file changed, 1 insertion(+), 1 deletion(-)
5926 commit a309b3baf5ee99139cc2d1817339233e24391bc2
5927 Author: Simon Feltman <sfeltman@src.gnome.org>
5928 Date: Tue Nov 12 18:41:35 2013 -0800
5930 gkt-demo: Change main info/source notebook into a GtkStack
5932 Use the new in 3.10 GtkStack and GtkStackSwitcher for switching
5934 and Source tabs. Beyond giving a newer look and feel to the demo,
5936 provides an example for how to use a GtkStack.
5938 demos/gtk-demo/gtk-demo.py | 23 +++++++++++++++++------
5939 1 file changed, 17 insertions(+), 6 deletions(-)
5941 commit 69ff43bf6292fb3ddaea027cfc595139c4f1655d
5942 Author: Simon Feltman <sfeltman@src.gnome.org>
5943 Date: Tue Nov 12 19:32:18 2013 -0800
5945 gtk-demo: Cleanup deprecated calls throughout demo code
5947 Specify constructor arguments as keyword args for various object
5948 creation calls. Update combobox demo to use bind_property instead
5950 signal connections with update callbacks.
5952 demos/gtk-demo/demos/Entry/entry_buffer.py | 6 ++---
5953 demos/gtk-demo/demos/Entry/entry_completion.py | 6 ++---
5954 demos/gtk-demo/demos/Entry/search_entry.py | 8 +++---
5955 demos/gtk-demo/demos/Tree View/liststore.py | 8 +++---
5956 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 2 +-
5957 .../gtk-demo/demos/Tree View/treemodel_filetree.py | 2 +-
5958 demos/gtk-demo/demos/appwindow.py | 4 +--
5959 demos/gtk-demo/demos/combobox.py | 30
5960 +++-------------------
5961 demos/gtk-demo/demos/dialogs.py | 26
5963 demos/gtk-demo/demos/expander.py | 9 +++----
5964 demos/gtk-demo/demos/images.py | 2 +-
5965 demos/gtk-demo/demos/infobars.py | 23 +++++++++--------
5966 demos/gtk-demo/demos/links.py | 10 ++++----
5967 demos/gtk-demo/demos/menus.py | 4 +--
5968 demos/gtk-demo/demos/pickers.py | 8 +++---
5969 demos/gtk-demo/demos/pixbuf.py | 4 +--
5970 demos/gtk-demo/demos/rotatedtext.py | 2 +-
5971 17 files changed, 64 insertions(+), 90 deletions(-)
5973 commit 890fb7b97823985d5c800284ead43a49174db244
5974 Author: Simon Feltman <sfeltman@src.gnome.org>
5975 Date: Tue Nov 12 18:19:34 2013 -0800
5977 Revert TreeStore and ListStore initializer replacements
5979 Revert changes to Tree/ListStore where the __init__ overrides were
5981 with __new__ overrides which accept column types directly. The
5983 the change is sub-classes of these types can override __init__
5985 passing in their own column types to the super class. These
5987 expect the super class to handle column type setup via __init__
5989 the change described is an API break. This reverts parts of commit:
5990 2f2069c9efcd8f312ce9ffa572df371fbc08822d
5992 gi/overrides/Gtk.py | 10 ++++++----
5993 1 file changed, 6 insertions(+), 4 deletions(-)
5995 commit 795201873a3aae530598f5e16470b6a8d2d55c23
5996 Author: Simon Feltman <sfeltman@src.gnome.org>
5997 Date: Thu Aug 15 20:01:48 2013 -0700
5999 Deprecate Gdk.Cursor constructor dispatching
6001 Give deprecation warning for the overridden __new__ method on
6002 Gdk.Cursor when more than one argument is used. Recommend using
6003 Gdk.Cursor.new_for_display, new_from_pixbuf, and new_from_pixmap
6006 https://bugzilla.gnome.org/show_bug.cgi?id=705810
6008 gi/overrides/Gdk.py | 48
6009 ++++++++++++++++++++++++++-------------------
6010 tests/test_overrides_gdk.py | 17 ++++++++++++----
6011 2 files changed, 41 insertions(+), 24 deletions(-)
6013 commit 2f2069c9efcd8f312ce9ffa572df371fbc08822d
6014 Author: Simon Feltman <sfeltman@src.gnome.org>
6015 Date: Thu Aug 15 19:23:18 2013 -0700
6017 Cleanup overzealous new and init implementations
6019 Remove PyGObject initializer code attempting to set properties on
6020 GObjects that have already been created. There were a number of
6021 overridden __new__ and __init__ methods that stripped away
6022 arguments before calling the base class to work around attempted
6023 property sets and argument count errors (fixing the symptom not
6025 Use Gtk.ListStore/TreeStore.new with __new__ override instead
6026 of __init__ with set_column_types.
6028 https://bugzilla.gnome.org/show_bug.cgi?id=705810
6030 gi/_gobject/gobjectmodule.c | 35 ++++++++++++++---------------------
6031 gi/_gobject/pygobject.c | 16 ++++++++++++++--
6032 gi/overrides/GObject.py | 3 ---
6033 gi/overrides/Gdk.py | 15 ---------------
6034 gi/overrides/Gtk.py | 11 ++++-------
6035 gi/overrides/Pango.py | 5 -----
6036 gi/pygi-boxed.c | 6 ------
6037 7 files changed, 32 insertions(+), 59 deletions(-)
6039 commit 86a37d67455dc5d435ade35f17b27c5de2b288f5
6040 Author: Simon Feltman <sfeltman@src.gnome.org>
6041 Date: Tue Aug 13 18:02:54 2013 -0700
6043 Add deprecation warnings and cleanup class initializer overrides
6045 Print deprecation warnings for calls to class initializers which
6046 don't explicitly specify keywords. Print deprecation warning
6047 for overrides that have renamed keywords (Gtk.Table.rows should
6048 be n_rows). Additionally deprecate non-standard defaults with
6049 initializers (Gtk.SizeGroup.mode defaults to HORIZONTAL in GTK+
6050 and VERTICAL in PyGI).
6051 Remove AboutDialog override because it doesn't do anything.
6053 https://bugzilla.gnome.org/show_bug.cgi?id=705810
6055 gi/overrides/Gio.py | 6 +-
6056 gi/overrides/Gtk.py | 367
6057 ++++++++++++++++++++++----------------------
6058 gi/overrides/__init__.py | 88 +++++++++++
6059 tests/test_gi.py | 75 +++++++++
6060 tests/test_overrides_gtk.py | 95 ++++++++----
6061 5 files changed, 411 insertions(+), 220 deletions(-)
6063 commit d2e9be8e2b3d21b55e1aad3d0b22dcff3421b702
6064 Author: Simon Feltman <sfeltman@src.gnome.org>
6065 Date: Tue Aug 13 17:42:11 2013 -0700
6067 tests: Use explicit keywords args when calling initializers
6069 Replace all usage of GObject creation that relies on positional
6070 arguments from overrides. Positional initializer args will be
6071 deprecated, updating the tests as a first pass proves backwards
6072 and forwards compatibility of the deprecation.
6074 https://bugzilla.gnome.org/show_bug.cgi?id=705810
6076 tests/test_overrides_gtk.py | 107
6077 +++++++++++++++++++++++---------------------
6078 1 file changed, 55 insertions(+), 52 deletions(-)
6080 commit 8342302dac9bf3fcb49ec3ac334dbf014b4db025
6081 Author: Simon Feltman <sfeltman@src.gnome.org>
6082 Date: Tue Nov 12 03:46:08 2013 -0800
6084 Revert "Add type checking to positional Gtk.Box and Gtk.Window
6087 This reverts commit 7193f0509a0ed7da7c810daa6733e34a22db3180.
6089 gi/overrides/Gtk.py | 7 -------
6090 tests/test_overrides_gtk.py | 18 ------------------
6091 tests/test_properties.py | 9 ---------
6092 3 files changed, 34 deletions(-)
6094 commit 1f37340c4623262a2146ec8cd25b487cdf4234bd
6095 Author: Simon Feltman <sfeltman@src.gnome.org>
6096 Date: Sun Nov 10 03:26:10 2013 -0800
6098 Fix dir method for static GParamSpec in Python 3
6100 Add a __dir__ method which lists GParamSpec attributes and remove
6102 getattr which made use of the deprecated __members__ technique for dir
6103 (removed in Python 3). This makes dir(pspec) work again in Python 3.
6105 gi/_gobject/pygparamspec.c | 218
6106 ++++++++++++++++++++++++---------------------
6107 tests/test_gi.py | 10 +++
6108 2 files changed, 126 insertions(+), 102 deletions(-)
6110 commit 7193f0509a0ed7da7c810daa6733e34a22db3180
6111 Author: Martin Pitt <martinpitt@gnome.org>
6112 Date: Tue Nov 5 15:28:12 2013 +0100
6114 Add type checking to positional Gtk.Box and Gtk.Window ctor arguments
6116 Gtk.Box and Gtk.Window are base classes of a lot of widgets. Avoid
6118 when trying to create a subclass of them through the GObject
6120 positional arguments by at least verifying that their type is
6122 you can do things like
6124 chooser = Gtk.FileChooserWidget(Gtk.FileChooserAction.SELECT_FOLDER)
6126 which succeeds, but does not have the desired effect (it sets the
6128 property of the Gtk.Box superclass instead).
6130 https://bugzilla.gnome.org/show_bug.cgi?id=711487
6132 gi/overrides/Gtk.py | 7 +++++++
6133 tests/test_overrides_gtk.py | 18 ++++++++++++++++++
6134 tests/test_properties.py | 9 +++++++++
6135 3 files changed, 34 insertions(+)
6137 commit 79aea2655db11bc9d2c0ad75c87862b2b66da594
6138 Author: Simon Feltman <sfeltman@src.gnome.org>
6139 Date: Mon Nov 4 03:29:57 2013 -0800
6141 Remove overzealous argument checking for callback userdata
6143 Remove check which ensures userdata is None if the callback is None.
6144 This check would need to become more complicated with recent
6146 PyGObject where userdata can be variable (would also need to check
6148 a tuple containing None). Instead of adding more complex checking,
6150 remove the checking as it is unnecessary to begin with.
6152 https://bugzilla.gnome.org/show_bug.cgi?id=711173
6154 gi/pygi-marshal-from-py.c | 7 -------
6155 tests/test_overrides_gtk.py | 11 +++++++----
6156 2 files changed, 7 insertions(+), 11 deletions(-)
6158 commit f32d649b72f865e32cc2b62a54d927b8345da0c8
6159 Author: Martin Pitt <martinpitt@gnome.org>
6160 Date: Mon Oct 28 16:00:57 2013 +0100
6162 configure.ac: post-release bump to 3.11.2
6165 1 file changed, 1 insertion(+), 1 deletion(-)
6167 commit 5bcdb56433d0ba2976f05946c6c5b6ffe3e84901
6168 Author: Martin Pitt <martinpitt@gnome.org>
6169 Date: Mon Oct 28 15:59:51 2013 +0100
6173 NEWS | 27 +++++++++++++++++++++++++++
6174 1 file changed, 27 insertions(+)
6176 commit 65b8f7bd77474e361c80905ec23de6dbde27970c
6177 Author: Simon Feltman <sfeltman@src.gnome.org>
6178 Date: Sun Oct 27 22:09:27 2013 -0700
6180 Fix toggleref safety problems by always enabling the GIL
6182 Call PyEval_InitThreads for the base gi module import. This forces the
6183 Python internals create the GIL and always support threading with the
6184 various thread state enter/exit funcs. This is needed since we cannot
6185 predict which GI repositories might accept Python callbacks and run
6187 non-Python threads or trigger toggle ref notifications in a thread
6191 https://bugzilla.gnome.org/show_bug.cgi?id=709223
6193 gi/__init__.py | 2 --
6194 gi/gimodule.c | 18 +++++++-----------
6195 gi/overrides/GLib.py | 8 ++------
6196 3 files changed, 9 insertions(+), 19 deletions(-)
6198 commit 57195c9c864bc25521bb3cb98286e6d6f0645652
6199 Author: Simon Feltman <sfeltman@src.gnome.org>
6200 Date: Sun Oct 27 16:02:13 2013 -0700
6202 Add consistent GLib.MainLoop SIGINT cleanup
6204 Remove auto cleanup of SIGINT source handling by returning True
6206 signal callback. This gives the __del__ method consistent cleanup
6208 regardless of whether or not a SIGINT occurred.
6210 https://bugzilla.gnome.org/show_bug.cgi?id=710978
6212 gi/overrides/GLib.py | 4 ++++
6213 1 file changed, 4 insertions(+)
6215 commit 1c03ebba9598e7b6d5293889f46b015bfac3611c
6216 Author: Simon Feltman <sfeltman@src.gnome.org>
6217 Date: Sun Oct 27 15:16:09 2013 -0700
6219 tests: Fix source testing to handle critical with non-existing sources
6221 Silence new critical coming from g_source_remove on non-existing
6223 This function still returns False, but we need to silence the new
6225 so the test suite doesn't fail. See bug 710724.
6227 https://bugzilla.gnome.org/show_bug.cgi?id=710978
6229 tests/test_source.py | 18 ++++++++++++------
6230 1 file changed, 12 insertions(+), 6 deletions(-)
6232 commit ac776da7e56b78a2fa422487f0ef0d8771bcb78f
6233 Author: Simon Feltman <sfeltman@src.gnome.org>
6234 Date: Sun Jul 28 00:01:35 2013 -0700
6236 docs: Add a keyword value of None for allow-none annotations
6238 Update documentation generator for allow-none arguments and
6239 user_data arguments to show a keyword value of None.
6240 Add skip for GDestroyNotify closure arguments.
6242 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6244 gi/docstring.py | 20 +++++++++++++++++---
6245 tests/test_docstring.py | 10 ++++++++++
6246 2 files changed, 27 insertions(+), 3 deletions(-)
6248 commit e1bf9c069644ea0bff0c6a7efa72a285e122a414
6249 Author: Simon Feltman <sfeltman@src.gnome.org>
6250 Date: Sat Oct 19 19:03:12 2013 -0700
6252 Remove overrides for supporting pre-3.10 GObject signal functions
6254 Remove GObject override code for supporting pre-3.10 signal functions
6256 annotate the object argument as "gpointer". With PyGObject 3.11
6258 dependency on GObject 3.10, clear the special case overrides out.
6260 gi/overrides/GObject.py | 76
6261 ++++++-------------------------------------------
6262 1 file changed, 9 insertions(+), 67 deletions(-)
6264 commit 0c308de528c402f67808b13760ca30d55d4c99d7
6265 Author: Simon Feltman <sfeltman@src.gnome.org>
6266 Date: Fri Oct 18 17:15:06 2013 -0700
6268 Add threads_init back as a requirement for non-Python threaded repos
6270 Re-add a "threads_init" function to gi for explicit intialization
6272 threading support. This was marked as deprecated in the previous cycle
6273 because using Python threads already initializes everything.
6274 However, we still need an explicit initalization when using
6276 with non-Python threads which may interact with Python callbacks
6279 https://bugzilla.gnome.org/show_bug.cgi?id=710447
6281 gi/__init__.py | 2 ++
6282 gi/gimodule.c | 10 ++++++++++
6283 gi/overrides/GLib.py | 11 +++++++----
6284 3 files changed, 19 insertions(+), 4 deletions(-)
6286 commit a2fa531b4dee73c193cac92fa3e870808688b5d7
6287 Author: Simon Feltman <sfeltman@src.gnome.org>
6288 Date: Mon Oct 14 20:38:13 2013 -0700
6290 Add dir method to GObject props accessor
6292 Remove special case __members__ attribute from the props accessor
6293 objects getattr method. This has been deprecated since Python 2.3 and
6294 removed in Python 3. Replace this with a __dir__ method making use
6296 old members list building code. Additionally fix error where the
6297 GObjectClass was being unref'd too many times when using
6299 causing a GLib critical.
6301 https://bugzilla.gnome.org/show_bug.cgi?id=705754
6303 gi/_gobject/pygobject.c | 29 +++++++++++++++++++++--------
6304 tests/test_gi.py | 14 ++++++++++++++
6305 2 files changed, 35 insertions(+), 8 deletions(-)
6307 commit 799989ada2f6b1d729f078f204445651c808a2c7
6308 Author: Simon Feltman <sfeltman@src.gnome.org>
6309 Date: Fri May 3 04:37:13 2013 -0700
6311 Remove PyGObjectWeakRef now that g_binding_unbind exists
6313 Remove the static code for managing GBinding weak references now
6315 has a method (unbind) for clearing out bindings.
6317 https://bugzilla.gnome.org/show_bug.cgi?id=699571
6319 gi/_gobject/pygobject.c | 59
6320 +------------------------------------------------
6321 gi/overrides/GObject.py | 19 ++++++++++++++++
6322 tests/test_gobject.py | 41 ++++++++++++++++++++--------------
6323 3 files changed, 44 insertions(+), 75 deletions(-)
6325 commit fe217e0afbd63f05285e59628533f351896377d9
6326 Author: Simon Feltman <sfeltman@src.gnome.org>
6327 Date: Wed Oct 9 00:34:37 2013 -0700
6329 Fix GArray, GList, GSList, and GHashTable marshaling leaks
6331 Remove calling of cleanup code for transfer-everything modes by
6333 cleanup_data is set to NULL in from_py marshalers. Use array and hash
6334 table ref/unref functions for container transfer mode to ensure we
6336 valid container ref after invoke and during from_py cleanup of
6338 Rework restrictions with to_py marshaling cleanup so we always
6340 container for transfer-everything and transfer-container modes.
6342 https://bugzilla.gnome.org/show_bug.cgi?id=693402
6344 gi/pygi-marshal-cleanup.c | 54 +++++++++++----------------------
6345 gi/pygi-marshal-from-py.c | 77
6346 ++++++++++++++++++++++++++++++++++++++++-------
6347 2 files changed, 84 insertions(+), 47 deletions(-)
6349 commit 7407367f424595c2780a2d6a47d936ad0bd91735
6350 Author: Simon Feltman <sfeltman@src.gnome.org>
6351 Date: Mon Oct 7 14:11:39 2013 -0700
6353 Add cleanup_data argument used for Python to C marshaler cleanup
6355 Add a new output argument to all from_py marshalers which is used for
6356 keeping track of marshaling data that later needs cleanup. Previously
6358 marshalers would rely on the GIArgument->v_pointer as the means
6360 cleanup. However, this pointer would get clobbered in the case of
6361 bi-directional arguments (inout) and the memory lost.
6362 Use the new cleanup_data for storing temporarily wrapped C arrays
6364 don't need to re-calculate the length argument during cleanup.
6366 Additionally delay the from_py marshaling cleanup function until after
6367 _invoke_marshal_out_args is called. This gives inout arguments
6369 modify the pointer sufficient time to exist until they marshaled
6371 Python (gi_marshalling_tests_gvalue_inout).
6373 https://bugzilla.gnome.org/show_bug.cgi?id=693402
6375 gi/pygi-argument.c | 4 +-
6376 gi/pygi-cache.h | 3 +-
6377 gi/pygi-invoke-state-struct.h | 7 +-
6378 gi/pygi-invoke.c | 20 +++---
6379 gi/pygi-marshal-cleanup.c | 43 +++++-------
6380 gi/pygi-marshal-from-py.c | 160
6381 ++++++++++++++++++++++++++++--------------
6382 gi/pygi-marshal-from-py.h | 45 ++++++++----
6383 7 files changed, 177 insertions(+), 105 deletions(-)
6385 commit 9456e83233a927f1f01c6ffcb1f07c62b491a1df
6386 Author: Simon Feltman <sfeltman@src.gnome.org>
6387 Date: Wed Aug 7 12:08:15 2013 -0700
6389 Add support for variable user data arguments
6391 Support a variable number of user data arguments for all callback
6392 connection function where the user data is the last explicit argument.
6393 This adds convience as well as consistency with the rest of PyGObject.
6394 Cleanup overrides for GLib.idle_add, timeout_add, timeout_add_seconds,
6395 io_add_watch, and child_watch_add which manually implemented this
6398 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6400 gi/overrides/GLib.py | 75
6401 +++++++++++++++--------------------------------
6402 gi/pygi-cache.c | 14 +++++++++
6403 gi/pygi-cache.h | 3 ++
6404 gi/pygi-closure.c | 37 +++++++++++++++--------
6405 gi/pygi-invoke.c | 71
6406 +++++++++++++++++++++++++++++++-------------
6407 gi/pygi-marshal-from-py.c | 5 ++++
6408 tests/test_everything.py | 32 ++++++++++++++++++++
6409 tests/test_glib.py | 21 +++++++++++++
6410 tests/test_subprocess.py | 8 ++---
6411 9 files changed, 177 insertions(+), 89 deletions(-)
6413 commit ba4a0a65bf9ec44c3b9449f63d63035bff75d8df
6414 Author: Martin Pitt <martinpitt@gnome.org>
6415 Date: Mon Oct 14 12:57:04 2013 +0200
6417 Bump glib and g-i dependencies to latest stable.
6419 glib 2.38 and g-i 1.38 are from stable GNOME 3.10 which we now
6423 Drop @unittest.skipUnless tags from tests which didn't work with
6427 configure.ac | 6 +++---
6428 tests/test_gi.py | 2 --
6429 3 files changed, 5 insertions(+), 6 deletions(-)
6431 commit 2a5ad2af6bc91b187a2f07fc8d001ec7ad618adf
6432 Author: Nuno Araujo <nuno.araujo@russo79.com>
6433 Date: Fri Oct 11 18:41:48 2013 +0200
6435 Fix TypeError when setting drag target_list to None
6437 When calling Widget.drag_dest_set_target_list(None) or
6438 Widget.drag_source_set_target_list(None)
6439 a "TypeError: 'NoneType' object is not iterable" is thrown.
6441 According to Gtk documentation [1] [2], this shouldn't be the case
6442 since client code should be
6443 able to pass NULL in calls made to gtk_drag_dest_set_target_list and
6444 gtk_drag_source_set_target_list.
6446 We now check if the target_list is None and do not try to create a
6447 TargetList if it is the case.
6450 https://developer.gnome.org/gtk3/3.10/gtk3-Drag-and-Drop.html#gtk-drag-dest-set-target-list
6452 https://developer.gnome.org/gtk3/3.10/gtk3-Drag-and-Drop.html#gtk-drag-source-set-target-list
6454 https://bugzilla.gnome.org/show_bug.cgi?id=709926
6456 gi/overrides/Gtk.py | 4 ++--
6457 tests/test_overrides_gtk.py | 2 ++
6458 2 files changed, 4 insertions(+), 2 deletions(-)
6460 commit 27e9f6ede021fc58e952491b67d69c2a5cdd6acb
6461 Author: Simon Feltman <sfeltman@src.gnome.org>
6462 Date: Tue Oct 1 17:09:39 2013 -0700
6464 Use qdata for wrapper retrieval in toggle reference notifications
6466 Replace usage of user data holding PyGObject wrappers in toggle ref
6467 notifications with GObject qdata retrieval. This fixes thread
6469 where a toggle notify may be called from another thread during
6471 wrappers dealloc. In this case the toggle notify is blocked because
6473 is held in dealloc, and when it continues, the user data would be
6475 invalid PyGObject wrapper. Using qdata solves this by ensuring
6477 retrieval is done within the safety of the GIL and may turn up
6480 https://bugzilla.gnome.org/show_bug.cgi?id=709223
6482 gi/_gobject/pygobject.c | 21 ++++++++++++++-------
6483 1 file changed, 14 insertions(+), 7 deletions(-)
6485 commit 55d925d5f0fb87464b1f391c325c1e70da10d33d
6486 Author: Simon Feltman <sfeltman@src.gnome.org>
6487 Date: Thu Oct 10 16:10:16 2013 -0700
6489 Add expected failure to deal with fixes in gimarshallingtests.c
6491 Fix test_object_full_inout based on newer gimarshallingtests.c >
6493 Add expectedFailure to deal with previous versions of
6494 gimarshallingtests.c.
6496 https://bugzilla.gnome.org/show_bug.cgi?id=709796
6498 tests/test_gi.py | 6 +++++-
6499 1 file changed, 5 insertions(+), 1 deletion(-)
6501 commit d866d422cc39b229f443dd08a3ea50cb3f7df8e6
6502 Author: Simon Feltman <sfeltman@src.gnome.org>
6503 Date: Mon Oct 7 01:17:08 2013 -0700
6505 Fix memory leaks for inout array arguments
6507 Add tracking for array allocations to from_py marashalers in the
6508 argument states extra data (arg_data). This is then used later
6510 marshaling cleanup to call the array cleanup function.
6512 https://bugzilla.gnome.org/show_bug.cgi?id=693402
6514 gi/pygi-invoke.c | 1 +
6515 gi/pygi-marshal-cleanup.c | 1 +
6516 gi/pygi-marshal-from-py.c | 13 +++++++++----
6517 3 files changed, 11 insertions(+), 4 deletions(-)
6519 commit 31263ac117027446c8e2fd1b56d7e348384aabef
6520 Author: Simon Feltman <sfeltman@src.gnome.org>
6521 Date: Sun Oct 6 21:54:15 2013 -0700
6523 Fix to Python marshaling leaks for arrays holding GVariants
6525 Add early check for array items holding pointers and simply assign the
6526 pointer to GIArgument.v_pointer prior giving it to the per-item
6528 This simplifies marshaling and fixes leaks regarding arrays of
6530 removing the unneeded g_variant_ref_sink (variants are always
6532 Conditionalize the use of g_variant_ref_sink based on transfer mode
6534 per-item marshaler. This fixes a reference leak where we are given
6536 of the variant (transfer full) but added a new ref anyway.
6538 https://bugzilla.gnome.org/show_bug.cgi?id=693402
6540 gi/pygi-marshal-to-py.c | 34 ++++++++++++++++++----------------
6541 1 file changed, 18 insertions(+), 16 deletions(-)
6543 commit c9580ce1156789221aa19b00c7aab404db5431b5
6544 Author: Simon Feltman <sfeltman@src.gnome.org>
6545 Date: Sun Oct 6 04:26:18 2013 -0700
6547 Cleanup per-item array marshaling code for flat arrays
6549 Add an early per-item check which tests if the item being marshaled
6551 pointer and simply copies the pointer into the array. This takes
6553 GdkAtom and GVariant special cases because these items are always
6556 Fix error condition cleanup code when an item fails marshaling in
6560 https://bugzilla.gnome.org/show_bug.cgi?id=693402
6562 gi/pygi-marshal-from-py.c | 87
6563 +++++++++++++++++++++--------------------------
6564 tests/test_gi.py | 32 +++++++++++++++++
6565 2 files changed, 71 insertions(+), 48 deletions(-)
6567 commit 4623caa71c54958ab821db27a9eff2790acb3975
6568 Author: Simon Feltman <sfeltman@src.gnome.org>
6569 Date: Sat Oct 5 17:00:54 2013 -0700
6571 Fix GValue array marshaling leaks and crash fallout
6573 * Decrement references for results of PySequence_GetItem. There were
6575 places we were not decrementing the Python reference, leaking
6577 * Add tracking of Python arguments with recursive marshaling
6579 allows arrays of GValues which have been coerced from Python types
6581 properly free'd (also fixes bug 703662).
6582 * Use g_variant_ref for variant arguments marked as transfer
6584 This fixes double free's caused by the decrementing of
6588 https://bugzilla.gnome.org/show_bug.cgi?id=693402
6590 gi/pygi-cache.h | 1 +
6591 gi/pygi-invoke.c | 1 +
6592 gi/pygi-marshal-cleanup.c | 50
6593 +++++++++++++++++++++++++++++++++++++++++------
6594 gi/pygi-marshal-cleanup.h | 14 +++++++++++++
6595 gi/pygi-marshal-from-py.c | 20 ++++++++++++++++---
6596 gi/pygi-marshal-to-py.c | 1 +
6597 6 files changed, 78 insertions(+), 9 deletions(-)
6599 commit 549f849ef8854352483657df3d7558688a4b0007
6600 Author: Simon Feltman <sfeltman@src.gnome.org>
6601 Date: Sat Sep 28 00:26:28 2013 -0700
6603 Refactor GLib.io_add_watch to make it more testable
6605 Break the argument munging code into a separate function which
6606 can be tested in isolation of adding an io watch.
6607 Add additional failing test which specifies all args as keywords
6608 which we eventually need to support for consistency with the
6611 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6613 gi/overrides/GLib.py | 23 ++++++++++++++++++-----
6614 1 file changed, 18 insertions(+), 5 deletions(-)
6616 commit bc780ed17bc4cc62959c63c3f0142161a924679f
6617 Author: Simon Feltman <sfeltman@src.gnome.org>
6618 Date: Fri Sep 27 20:59:45 2013 -0700
6620 Refactor GLib.child_watch_add to make it more testable
6622 Break the argument munging code into a separate function which
6623 can be tested in isolation of adding a child watch. Update tests
6624 to reflect this. Add additional failing test which specify
6625 all args as keywords which we eventually need to support for
6626 consistency with the rest of PyGObject.
6628 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6630 gi/overrides/GLib.py | 25 +++++++++-----
6631 tests/test_subprocess.py | 88
6632 +++++++++++++++++++++---------------------------
6633 2 files changed, 56 insertions(+), 57 deletions(-)
6635 commit 73c6213e8b47fa7c4c2c7a517fe7b56126145888
6636 Author: Simon Feltman <sfeltman@src.gnome.org>
6637 Date: Thu Sep 26 19:05:20 2013 -0700
6639 Don't pass None to callbacks when user data is not specified
6641 For APIs which support a callback and optional user data,
6642 don't pass the user data to the callback if it was not explicitly
6643 specified when the callback was connected.
6645 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6647 gi/pygi-closure.c | 17 ++++++++++++++---
6648 gi/pygi-marshal-from-py.c | 5 -----
6649 tests/test_everything.py | 7 ++-----
6650 3 files changed, 16 insertions(+), 13 deletions(-)
6652 commit a76b06179cdca43f1c7d1feb8e2563e3d884a8ff
6653 Author: Simon Feltman <sfeltman@src.gnome.org>
6654 Date: Fri Oct 4 17:27:47 2013 -0700
6656 Add missing methods on PyGIBaseInfo and sub-classes
6658 Expose all methods of GIBaseBase info and its sub-classes.
6660 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6662 gi/_glib/pyglib-python-compat.h | 1 +
6663 gi/pygi-info.c | 550
6664 +++++++++++++++++++++++++++++++++++++++-
6665 tests/test_repository.py | 134 ++++++++++
6666 3 files changed, 677 insertions(+), 8 deletions(-)
6668 commit e190eb75093e8bf36190dc1beb18d1c1b95b9582
6669 Author: Simon Feltman <sfeltman@src.gnome.org>
6670 Date: Fri Oct 4 13:46:36 2013 -0700
6672 Expose all GI enum and flags types
6674 Add new types for GIDirection, GITransfer, GIArrayType, GIScopeType,
6675 GIVFuncInfoFlags, GIFieldInfoFlags, GIFuncitonInfoFlags, GITypeTag,
6677 GInfoType. These types are found in the gi._gi module exposed
6679 "GI" prefix and contain all of their values as class attributes. e.g.
6680 gi._gi.Transfer.EVERYTHING.
6682 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6684 gi/docstring.py | 10 ++--
6685 gi/pygi-info.c | 150
6686 ++++++++++++++++++++++++++++++++++++++++++++---
6687 tests/test_repository.py | 13 +++-
6688 3 files changed, 158 insertions(+), 15 deletions(-)
6690 commit 0120af6c418d0f67f39c02a4e8327813645b97f4
6691 Author: Simon Feltman <sfeltman@src.gnome.org>
6692 Date: Fri Oct 4 13:42:34 2013 -0700
6694 Avoid calling g_base_info_get_name on GI_INFO_TYPE_TYPE
6696 Calling g_base_info_get_name on infos tagged with GI_INFO_TYPE_TYPE
6698 cause a crash. Avoid this by adding _safe_base_info_get_name and
6700 throughout the bindings.
6701 Logged GI bug as: https://bugzilla.gnome.org/show_bug.cgi?id=709456
6703 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6705 gi/pygi-info.c | 35 +++++++++++++++++++++++++----------
6706 1 file changed, 25 insertions(+), 10 deletions(-)
6708 commit c86b2fe8d01070f06c45fffd910d890afba1313a
6709 Author: Simon Feltman <sfeltman@src.gnome.org>
6710 Date: Fri Oct 4 13:41:08 2013 -0700
6712 Add GIBaseInfo.equal method
6714 Break PyGIBaseInfo rich compare into two methods: equal and
6716 Equal is a direct exposure of the GI method and richcompare makes
6718 this with additional support for Pyton "==" and "!=" operators.
6720 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6722 gi/pygi-info.c | 32 ++++++++++++++++++++++++--------
6723 tests/test_repository.py | 1 +
6724 2 files changed, 25 insertions(+), 8 deletions(-)
6726 commit e7b758badd0ab0b147117859f7871c39fb5399c1
6727 Author: Simon Feltman <sfeltman@src.gnome.org>
6728 Date: Fri Oct 4 13:36:11 2013 -0700
6730 Move info string retrieval into generic function
6732 Add get_info_string for sharing binding of simple string retrieval on
6735 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6737 gi/pygi-info.c | 15 +++++++++++++--
6738 1 file changed, 13 insertions(+), 2 deletions(-)
6740 commit d2aef364de778da966bc1cfffe184d649f9ebb21
6741 Author: Simon Feltman <sfeltman@src.gnome.org>
6742 Date: Tue Sep 24 06:26:17 2013 -0700
6744 Move child info retrieval into generic function
6746 Add a generic function for bindings which return a single child info.
6747 This trivializes binding methods like PyGIObjectInfo.get_parent and
6748 fixes leaks in PyGIObjectInfo.get_class_struct and
6749 PyGIVFuncInfo.get_invoker.
6751 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6754 +++++++++++++++++++++++---------------------------------
6755 1 file changed, 23 insertions(+), 33 deletions(-)
6757 commit cdd03a2b0baef19797a5b55c2880e5b7acf1dd93
6758 Author: Simon Feltman <sfeltman@src.gnome.org>
6759 Date: Tue Sep 24 02:52:22 2013 -0700
6761 Move info tuple retrieval into generic function
6763 Create new generic function for retrieving a tuple of child infos.
6764 This greatly simplifies all the bindings which return tuples from
6765 a common pattern of functions on GIBaseInfo based instances.
6767 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6769 gi/pygi-info.c | 469
6770 ++++++++-------------------------------------------------
6771 1 file changed, 59 insertions(+), 410 deletions(-)
6773 commit 62f185bef20b42f18290a3cf1d3b19dddc957f8a
6774 Author: Simon Feltman <sfeltman@src.gnome.org>
6775 Date: Sun Oct 6 16:41:37 2013 -0700
6777 tests: Update check.valgrind with always-malloc and add logging
6780 Based on notes in https://wiki.gnome.org/Valgrind we need to use
6781 always-malloc for valgrind runs.
6782 Add check.valgrindlog and check.valgrindxml which output valgrind
6784 an ignored local tmp. Output logs are named <head-sha>-$TEST_NAMES.log
6786 can track commits and use diff tools on the logs.
6789 Makefile.am | 6 ++++++
6790 tests/Makefile.am | 10 +++++++++-
6791 3 files changed, 16 insertions(+), 1 deletion(-)
6793 commit 314c933626c4dc5fc585d0e5b6c45ddb17c2e52f
6794 Author: Simon Feltman <sfeltman@src.gnome.org>
6795 Date: Fri Oct 4 20:43:02 2013 -0700
6797 Move existing repository tests into test_repository
6799 Move flags and enum double registration tests into test_repository.py.
6800 Remove duplicate ObjectInfo tests from test_gi.py.
6802 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6804 tests/test_gi.py | 38 --------------------------------------
6805 tests/test_repository.py | 28 ++++++++++++++++++++++++++++
6806 2 files changed, 28 insertions(+), 38 deletions(-)
6808 commit 31840888c8948aab78041da93c329572f3aabb64
6809 Author: Simon Feltman <sfeltman@src.gnome.org>
6810 Date: Fri Oct 4 17:31:21 2013 -0700
6812 Add unittests for GIRepository
6814 Add basic unittests for the existing classes and methods exposed for
6815 the GIRepository module (gi._gi).
6817 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6819 tests/Makefile.am | 1 +
6820 tests/test_repository.py | 170
6821 +++++++++++++++++++++++++++++++++++++++++++++++
6822 2 files changed, 171 insertions(+)
6824 commit 4408f83be70e92c5e3943f5ce85c551e7f2c87d0
6825 Author: Simon Feltman <sfeltman@src.gnome.org>
6826 Date: Fri Oct 4 15:50:05 2013 -0700
6828 Derive SignalInfo info from CallableInfo
6830 Change Python class derivation of PyGISignalInfo to use
6832 the base class. This accurately reflects the GI class layout and
6834 the callable information for signals.
6836 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6838 gi/pygi-info.c | 7 ++++---
6839 1 file changed, 4 insertions(+), 3 deletions(-)
6841 commit b01daba04ff001b9e63d343938e879d339d9a98c
6842 Author: Simon Feltman <sfeltman@src.gnome.org>
6843 Date: Fri Oct 4 15:48:05 2013 -0700
6845 Use PYGLIB_PyLong_FromLong for GIDirection return
6847 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6849 gi/pygi-info.c | 2 +-
6850 1 file changed, 1 insertion(+), 1 deletion(-)
6852 commit d644cbd0c0ad85142286754838db848c4eb1707f
6853 Author: Simon Feltman <sfeltman@src.gnome.org>
6854 Date: Thu Oct 3 19:25:34 2013 -0700
6856 Fix memory leak for caller allocated GValue out arguments
6858 Swizzle the order of type checks in _cleanup_caller_allocates so
6859 G_TYPE_VALUE arguments are checked before G_TYPE_BOXED. The
6861 important because G_TYPE_VALUE is a sub-type of boxed and so its
6863 cleanup code was never being called (g_value_unset).
6864 Additionally update check to use g_type_is_a instead of a compare
6866 the potential case of a G_TYPE_VALUE sub-type.
6868 https://bugzilla.gnome.org/show_bug.cgi?id=709397
6870 gi/pygi-marshal-cleanup.c | 11 ++++++-----
6871 1 file changed, 6 insertions(+), 5 deletions(-)
6873 commit 510789d52e9e2fd863d26613f3282364eb175601
6874 Author: Simon Feltman <sfeltman@src.gnome.org>
6875 Date: Sun Jul 28 14:44:51 2013 -0700
6877 Add support for default arguments annotated with allow-none
6879 Support default value of NULL for tail end arguments which are
6880 marked with allow-none.
6881 The implementation uses a place holder object for un-supplied
6883 which are annotated with allow-none. This is then used later during
6884 marshaling to supply NULL as the default.
6885 Additionally support an implicit default for callback user_data
6886 using the same technique.
6888 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6890 gi/gimodule.c | 6 +++
6891 gi/pygi-cache.c | 103
6892 ++++++++++++++++++++++++++++++----------------
6893 gi/pygi-cache.h | 8 ++++
6894 gi/pygi-invoke.c | 42 +++++++++++++------
6895 gi/pygi-marshal-from-py.c | 5 +++
6897 tests/test_everything.py | 16 +++++++
6898 tests/test_gi.py | 30 ++++++++++++++
6899 8 files changed, 162 insertions(+), 49 deletions(-)
6901 commit 03f531ffb1adde0c48e98f92bd92f79416654fbe
6902 Author: Simon Feltman <sfeltman@src.gnome.org>
6903 Date: Fri Aug 2 22:27:10 2013 -0700
6905 cache refactoring: Move arg cache field assignments into
6908 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6910 gi/pygi-cache.c | 23 +++++++++++------------
6911 1 file changed, 11 insertions(+), 12 deletions(-)
6913 commit cb7e7311bff57eb4c79c7772b6db4d00084656bb
6914 Author: Simon Feltman <sfeltman@src.gnome.org>
6915 Date: Fri Aug 2 20:27:02 2013 -0700
6917 cache refactoring: Cleanup array length argument marshaling
6919 Add shared function: _arg_cache_array_len_arg_setup for use
6920 with both to and from array marshaling setup. This function
6921 consolidates all of the edge cases regarding array length setup
6922 and removes the need for flagging arguments with
6923 PYGI_META_ARG_TYPE_CHILD_NEEDS_UPDATE.
6925 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6927 gi/pygi-cache.c | 145
6928 +++++++++++++++++++++++++++-----------------------------
6929 gi/pygi-cache.h | 5 --
6930 2 files changed, 71 insertions(+), 79 deletions(-)
6932 commit c9d8639401ae82977e960de44d80b94a501a2184
6933 Author: Simon Feltman <sfeltman@src.gnome.org>
6934 Date: Sat Aug 3 00:26:11 2013 -0700
6936 cache refactoring: Move variable declarations to blocks where they
6939 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6941 gi/pygi-cache.c | 25 ++++++++++++++-----------
6942 1 file changed, 14 insertions(+), 11 deletions(-)
6944 commit dbc2cf5f1fa0f9cc046170efa6afb086b90253cb
6945 Author: Simon Feltman <sfeltman@src.gnome.org>
6946 Date: Thu Aug 1 19:33:27 2013 -0700
6948 cache refactoring: Remove continue statements from
6949 _args_cache_generate
6951 Remove continue and goto statements from the large loop within
6952 _args_cache_generate. This simplifies the sharing of parts of
6953 the loop for future refactoring.
6955 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6957 gi/pygi-cache.c | 126
6958 +++++++++++++++++++++++++++-----------------------------
6959 1 file changed, 61 insertions(+), 65 deletions(-)
6961 commit 87ae14b8b4a0ed9beb22f48314247e988a2e017f
6962 Author: Simon Feltman <sfeltman@src.gnome.org>
6963 Date: Wed Jul 31 18:10:05 2013 -0700
6965 cache refactoring: Use bit field for PyGIDirection instead of enum
6967 This supports cleaner logic when testing the direction of
6968 arguments due to the majority of these tests being along the
6969 lines of: (direction == FROM_PYTHON || direction == BIDIRECTIONAL)
6970 Which is replaced with: (direction & FROM_PYTHON)
6972 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6974 gi/pygi-cache.c | 64
6975 ++++++++++++++++++++++++++++-----------------------------
6976 gi/pygi-cache.h | 6 +++---
6977 2 files changed, 35 insertions(+), 35 deletions(-)
6979 commit d5925b76afa3a429092cbafd82aed40bb0cf0b18
6980 Author: Simon Feltman <sfeltman@src.gnome.org>
6981 Date: Sun Jul 28 20:45:05 2013 -0700
6983 cache refactoring: Remove special case marshaling for instance
6986 Remove duplicate code for marshaling struct and objects for
6987 instance arguments. Re-use individual cache marshalers for
6988 structs and objects with the instance argument. This required
6989 removal of passing GITypeInfo to the marshaler because it is
6990 not available for instance arguments. Instead always assume
6991 "is_pointer" for the instance argument by using the cache.
6993 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6995 gi/pygi-argument.c | 4 +--
6996 gi/pygi-cache.c | 16 ++++-----
6997 gi/pygi-marshal-from-py.c | 87
6998 +++--------------------------------------------
6999 gi/pygi-marshal-from-py.h | 16 ++-------
7000 4 files changed, 16 insertions(+), 107 deletions(-)
7002 commit c19bed69c669160737e12d92cc29f3e6d1b008cc
7003 Author: Simon Feltman <sfeltman@src.gnome.org>
7004 Date: Sun Jul 28 16:44:01 2013 -0700
7006 cache refactoring: Use GPtrArray for callable arg cache
7008 Replace manual management of the C array holding individual
7009 argument caches with usage of GPtrArray. This provides storage
7010 of the array length along with item memory management.
7012 https://bugzilla.gnome.org/show_bug.cgi?id=640812
7014 gi/pygi-cache.c | 62
7015 +++++++++++++++++++++++------------------------
7016 gi/pygi-cache.h | 16 +++++++++---
7017 gi/pygi-invoke.c | 16 ++++++------
7018 gi/pygi-marshal-cleanup.c | 8 +++---
7019 gi/pygi-marshal-from-py.c | 6 ++---
7020 gi/pygi-marshal-to-py.c | 6 ++---
7021 6 files changed, 62 insertions(+), 52 deletions(-)
7023 commit 52ea3afb0a6494423eca36a54af928d4ae5d9954
7024 Author: Simon Feltman <sfeltman@src.gnome.org>
7025 Date: Sun Jul 28 15:02:51 2013 -0700
7027 cache refactoring: Move PyGI direction code into new function
7029 https://bugzilla.gnome.org/show_bug.cgi?id=640812
7031 gi/pygi-cache.c | 42 +++++++++++++++++++++---------------------
7032 1 file changed, 21 insertions(+), 21 deletions(-)
7034 commit 83208bf495b152e93a28a231d445f43ea827d2eb
7035 Author: Simon Feltman <sfeltman@src.gnome.org>
7036 Date: Fri Aug 2 15:59:25 2013 -0700
7038 cache refactoring: Add comments to callable cache structure
7040 Add comments to count fields on _PyGICallableCache.
7042 https://bugzilla.gnome.org/show_bug.cgi?id=640812
7044 gi/pygi-cache.h | 13 ++++++++++++-
7045 1 file changed, 12 insertions(+), 1 deletion(-)
7047 commit 0a8d5695972601eaa9f7f463bac173d02b0380a0
7048 Author: Simon Feltman <sfeltman@src.gnome.org>
7049 Date: Wed Jul 24 01:14:29 2013 -0700
7051 Remove support for allowing PyObjects as void pointers
7053 Final removal of marshaling Python object addresses as
7054 void pointers. This ensures we can successfully pass
7055 integer values as the pointer without the Python object
7056 leaking or crashing due to invalid memory.
7058 https://bugzilla.gnome.org/show_bug.cgi?id=688081
7060 gi/pygi-marshal-from-py.c | 20 ++++++--------------
7061 gi/pygi-marshal-to-py.c | 14 ++------------
7062 tests/test_signal.py | 5 +----
7063 3 files changed, 9 insertions(+), 30 deletions(-)
7065 commit 1469403ee2faa699430055384b338f0cd8e672d7
7066 Author: Simon Feltman <sfeltman@src.gnome.org>
7067 Date: Wed Sep 25 18:21:22 2013 -0700
7069 configure.ac: bump trunk to 3.11.1
7072 1 file changed, 1 insertion(+), 1 deletion(-)
7074 commit 8e774e61d62c82efa3d907c1201359121878b4b5
7075 Author: Simon Feltman <sfeltman@src.gnome.org>
7076 Date: Mon Sep 23 03:57:03 2013 -0700
7078 configure.ac: post-release bump to 3.10.1
7081 1 file changed, 1 insertion(+), 1 deletion(-)
7083 commit 95af6279a9affff5c816db2db53207ff0f19872d
7084 Author: Simon Feltman <sfeltman@src.gnome.org>
7085 Date: Mon Sep 23 03:17:19 2013 -0700
7090 configure.ac | 4 ++--
7091 2 files changed, 5 insertions(+), 2 deletions(-)
7093 commit c626be6317b610277c95461108573d1ae6f42b6d
7094 Author: Martin Pitt <martinpitt@gnome.org>
7095 Date: Mon Sep 23 12:06:11 2013 +0200
7097 Fix test_gi.TestProjectVersion.test_version_str()
7099 In this test case we only do a string comparison, not a proper
7101 component" numerical one. So relax the test to also work with 3.10.
7103 tests/test_gi.py | 2 +-
7104 1 file changed, 1 insertion(+), 1 deletion(-)
7106 commit 0a30f8d02099e582ea3ded800303e14d2e7ab212
7107 Author: Martin Pitt <martinpitt@gnome.org>
7108 Date: Mon Sep 16 10:12:33 2013 -0500
7113 1 file changed, 7 insertions(+)
7115 commit 506f1e35a9375be80a6a79421bf8272165fdd90a
7116 Author: Simon Feltman <sfeltman@src.gnome.org>
7117 Date: Mon Sep 16 01:23:49 2013 -0700
7119 Update current maintainers list in README
7122 1 file changed, 2 insertions(+), 1 deletion(-)
7124 commit ef120498e060e88a1efcb82de385a23c1fa9c7da
7125 Author: Simon Feltman <sfeltman@src.gnome.org>
7126 Date: Tue Sep 10 17:11:21 2013 -0700
7128 Fix union argument regression when marshaling from python
7130 Check for union members when marshaling boxed types from Python.
7131 This is a regression caused by stricter type checking added when
7132 merging code from pygi-argument.c.
7133 Re-add pyg_boxed_check to the same bit of code in addition to
7134 __gtype__ checking to avoid a double regression.
7136 https://bugzilla.gnome.org/show_bug.cgi?id=703873
7138 gi/pygi-marshal-from-py.c | 53
7139 ++++++++++++++++++++++++++---------------------
7140 1 file changed, 29 insertions(+), 24 deletions(-)
7142 commit 59a2964141e963d2961e55d4b84a777927b4f21b
7143 Author: Simon Feltman <sfeltman@src.gnome.org>
7144 Date: Wed Sep 11 05:05:33 2013 -0700
7146 Fix GLib.Source sub-classing with initializer args
7148 Add variable args and keyword args to the GLib.Source.__new__
7149 method to support sub-classes which want to implement __init__.
7151 https://bugzilla.gnome.org/show_bug.cgi?id=707904
7153 gi/overrides/GLib.py | 2 +-
7154 tests/test_source.py | 11 +++++++++++
7155 2 files changed, 12 insertions(+), 1 deletion(-)
7157 commit afa42ab95327da1de0cf86005974cd8ab0d46872
7158 Author: Vratislav Podzimek <vpodzime@redhat.com>
7159 Date: Wed Sep 4 14:17:31 2013 +0200
7161 Copy __doc__ when wrapping function
7163 Signed-off-by: Vratislav Podzimek <vpodzime@redhat.com>
7164 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
7166 gi/overrides/__init__.py | 1 +
7167 1 file changed, 1 insertion(+)
7169 commit 7914a6828a533d8c579a5b422351e18b9f9afc8c
7170 Author: Martin Pitt <martinpitt@gnome.org>
7171 Date: Mon Sep 2 14:56:24 2013 +0200
7173 configure.ac: post-release bump to 3.9.92
7176 1 file changed, 1 insertion(+), 1 deletion(-)
7178 commit ad8b7d1a89eb2d030a504d521f7589a4c1d835fb
7179 Author: Martin Pitt <martinpitt@gnome.org>
7180 Date: Mon Sep 2 14:38:41 2013 +0200
7184 NEWS | 10 ++++++++++
7185 1 file changed, 10 insertions(+)
7187 commit 9df8eb79929025f12d51bc7f79b1d160156c2755
7188 Author: Simon Feltman <sfeltman@src.gnome.org>
7189 Date: Mon Sep 2 04:19:35 2013 -0700
7191 Fix GObject signal methods to work with new annotations
7193 Add conditional support for signal methods annotated as gpointer
7194 or GObject.Object. This is needed to work with newer versions of
7195 glib which changed annotations to GObject.Object (bug #685387).
7197 https://bugzilla.gnome.org/show_bug.cgi?id=707280
7199 gi/overrides/GObject.py | 106
7200 ++++++++++++++++++++++++++++++------------------
7201 1 file changed, 66 insertions(+), 40 deletions(-)
7203 commit 9b6b6c7ee6a621cba99f51857eadd622a1535118
7204 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
7205 Date: Thu Aug 15 14:41:40 2013 +0800
7207 Fix build on C89 Compilers
7209 Avoid a variable declaration at the middle of the block
7211 https://bugzilla.gnome.org/show_bug.cgi?id=707264
7213 gi/pygi-closure.c | 3 ++-
7214 1 file changed, 2 insertions(+), 1 deletion(-)
7216 commit 19c1a2dfb91a83a6fb0ca76b9c95c42a49a3736e
7217 Author: Simon Feltman <sfeltman@src.gnome.org>
7218 Date: Sun Sep 1 20:44:26 2013 -0700
7220 Change boxed type checking in marshaling to use __gtype__ attribute
7222 Replace usage of pyg_boxed_check(pyboxed) with g_type_is_a and
7223 pyg_type_from_object. This has the effect of using the __gtype__
7224 attribute stashed on object class instead of the PyGBoxed
7225 internally held gtype. This fixes type descrepencies for objects
7226 marshaled into overridden signal class closures and passed back
7227 to functions taking an alias their type.
7229 https://bugzilla.gnome.org/show_bug.cgi?id=707140
7231 gi/pygi-marshal-from-py.c | 8 +++++++-
7232 tests/test_overrides_gtk.py | 34 ++++++++++++++++++++++++++++++++++
7233 2 files changed, 41 insertions(+), 1 deletion(-)
7235 commit dab0c09f1996e124ca98334e5aea0852904b44b5
7236 Author: Simon Feltman <sfeltman@src.gnome.org>
7237 Date: Sun Sep 1 17:49:09 2013 -0700
7239 Use G_IS_VALUE for checking return values in closure marshaling
7241 Replace return_value argument NULL checks in GClosureMarshal
7242 implementations with G_IS_VALUE. This checks both NULL and
7243 validity of the value (!= G_TYPE_INVALID). This is needed
7244 because GLib can pass either NULL or an invalid value based
7245 on whether or not G_ENABLE_DEBUG is set.
7246 See: https://bugzilla.gnome.org/show_bug.cgi?id=707249
7248 https://bugzilla.gnome.org/show_bug.cgi?id=707170
7250 gi/_gobject/pygtype.c | 4 ++--
7251 gi/pygi-signal-closure.c | 2 +-
7252 2 files changed, 3 insertions(+), 3 deletions(-)
7254 commit c7b75a8c250078ac8ea28752f087ed687bd20edd
7255 Author: Yanko Kaneti <yaneti@declera.com>
7256 Date: Wed Aug 21 08:53:07 2013 +0200
7258 Fix PEP-8 errors in propertyhelper.py
7260 https://bugzilla.gnome.org/show_bug.cgi?id=706319
7262 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
7264 gi/_gobject/propertyhelper.py | 12 ++++++------
7265 1 file changed, 6 insertions(+), 6 deletions(-)
7267 commit 6fdd58404103596accb6ab04d4de33846d853c58
7268 Author: Martin Pitt <martinpitt@gnome.org>
7269 Date: Mon Aug 19 17:13:30 2013 +0200
7271 configure.ac: post-release bump to 3.9.91
7274 1 file changed, 1 insertion(+), 1 deletion(-)
7276 commit 6fbe2580deda215896e9583b418b8bc1aceb2f96
7277 Author: Martin Pitt <martinpitt@gnome.org>
7278 Date: Mon Aug 19 17:10:52 2013 +0200
7283 1 file changed, 9 insertions(+)
7285 commit a8d5da559ef088b05062681206758d2718946269
7286 Author: Martin Pitt <martinpitt@gnome.org>
7287 Date: Mon Aug 19 11:38:31 2013 +0200
7289 NEWS: retroactively fix last version number
7292 1 file changed, 1 insertion(+), 1 deletion(-)
7294 commit aba45eb2617c4b35168089bc9028f351732a617f
7295 Author: Benjamin Berg <benjamin@sipsolutions.net>
7296 Date: Tue Aug 6 00:41:52 2013 +0200
7298 Create GLib.Pid in the same way on python 2 and 3
7300 https://bugzilla.gnome.org/show_bug.cgi?id=705451
7302 gi/_glib/pygspawn.c | 8 --------
7303 1 file changed, 8 deletions(-)
7305 commit 2d203b7529c95ba4461a5a6d4c6b67169fabc4cf
7306 Author: Benjamin Berg <benjamin@sipsolutions.net>
7307 Date: Mon Aug 5 17:04:15 2013 +0200
7309 Use PyLong_Type.tp_new for GLib.Pid
7311 For GLib.Pid the original implementation for __new__ needs to be used,
7312 as it is able to initialize the integer correctly.
7314 https://bugzilla.gnome.org/show_bug.cgi?id=705451
7316 gi/_glib/pygspawn.c | 1 +
7317 tests/test_subprocess.py | 1 +
7318 2 files changed, 2 insertions(+)
7320 commit c32793dafbd52eab87b14ca064b47f5a4fb9000b
7321 Author: Simon Feltman <sfeltman@src.gnome.org>
7322 Date: Mon Aug 5 14:40:38 2013 -0700
7324 Add accumulator and accu_data arguments to GObject.Signal decorator
7326 Update __init__, __call__, and copy methods to accept and pass
7327 accumulators and associated user data through them. Update
7328 accumulator unittests to use Signal decorators for testing accumulator
7329 pass throughs. Verified the __gsignals__ dictionary accepts None
7330 as valid values for accumulator and accu_data so specialization
7331 for these arguments is not necessary.
7333 https://bugzilla.gnome.org/show_bug.cgi?id=705533
7335 gi/_gobject/signalhelper.py | 17 ++++++++++-----
7336 tests/test_signal.py | 52
7337 ++++++++++++++++++++++++---------------------
7338 2 files changed, 40 insertions(+), 29 deletions(-)
7340 commit 78f72654f5cb6c06e76ed9a532fc1ee328b60e50
7341 Author: Simon Feltman <sfeltman@src.gnome.org>
7342 Date: Mon Aug 5 14:12:24 2013 -0700
7344 Pass return values through the GObject.Signal.emit wrapper
7346 Return the result of GObject.emit from the Signal decorators wrapping.
7347 Update unittest for decorated return type to use skipUnless for
7349 Add test for Signal decorator return type.
7351 https://bugzilla.gnome.org/show_bug.cgi?id=705530
7353 gi/_gobject/signalhelper.py | 2 +-
7354 tests/test_signal.py | 37 +++++++++++++++++++++----------------
7355 2 files changed, 22 insertions(+), 17 deletions(-)
7357 commit 08cc206afeaefd1ce50ecfd1411807225a11c8f8
7358 Author: Simon Feltman <sfeltman@src.gnome.org>
7359 Date: Mon Jul 29 03:33:40 2013 -0700
7361 configure.ac: post-release bump to 3.9.90
7364 1 file changed, 1 insertion(+), 1 deletion(-)
7366 commit 2d8f5490cdc078b3e56a92deb9eca71b3fc5ef17
7367 Author: Simon Feltman <sfeltman@src.gnome.org>
7368 Date: Mon Jul 29 02:23:02 2013 -0700
7372 NEWS | 41 +++++++++++++++++++++++++++++++++++++++++
7374 2 files changed, 42 insertions(+), 1 deletion(-)
7376 commit ec3de7608ec970f6f272c9d7937344f02c6e9c3d
7377 Author: Simon Feltman <sfeltman@src.gnome.org>
7378 Date: Mon Jul 29 01:21:19 2013 -0700
7380 Ensure exceptions set in closure out argument marshaling are printed
7382 Call PyErr_Print when an exception occurs after marshaling closure
7383 out arguments. These exceptions were being ignored and cleared out
7384 only to show up in debug builds of Python.
7386 https://bugzilla.gnome.org/show_bug.cgi?id=705064
7388 gi/pygi-closure.c | 8 ++++++++
7389 tests/test_generictreemodel.py | 17 +++++++++++------
7390 2 files changed, 19 insertions(+), 6 deletions(-)
7392 commit b5dcb1800839f747a052e487643c234668384677
7393 Author: Simon Feltman <sfeltman@src.gnome.org>
7394 Date: Sun Jul 28 23:00:26 2013 -0700
7396 Use Python error messages for marshaling integers from Python
7398 Use Pythons default error messages where possible.
7399 Change all explicitly raised ValueError to use OverflowError
7400 for out of range data.
7402 https://bugzilla.gnome.org/show_bug.cgi?id=705057
7404 gi/pygi-marshal-from-py.c | 76
7405 +++++++++++++++++------------------------------
7406 tests/test_everything.py | 52 ++++++++++++++++----------------
7407 tests/test_gi.py | 64 +++++++++++++++++++--------------------
7408 tests/test_gobject.py | 2 +-
7409 4 files changed, 86 insertions(+), 108 deletions(-)
7411 commit 3c83bfb14b850670eb7c0208e55c120ca203f8af
7412 Author: Simon Feltman <sfeltman@src.gnome.org>
7413 Date: Sat Jul 27 21:10:07 2013 -0700
7415 Use Py_CLEAR for closure cleanup instead of test with Py_DECREF
7417 gi/pygi-closure.c | 11 ++---------
7418 1 file changed, 2 insertions(+), 9 deletions(-)
7420 commit f5e3876dee512ca82af6ea798b10d5ecad785dd1
7421 Author: Simon Feltman <sfeltman@src.gnome.org>
7422 Date: Sat Jul 27 15:25:20 2013 -0700
7424 Cleanup invoke args and kwargs combiner code
7426 Change _py_args_combine_and_check_length use cleaner reference
7428 It no longer DECREFs input arguments and always returns a new value
7430 Use PyGICallableCache directly as an argument instead of passing
7434 gi/pygi-invoke.c | 44 +++++++++++++++++---------------------------
7435 1 file changed, 17 insertions(+), 27 deletions(-)
7437 commit 91c49822363d8a1efc82163b46daa667d6cfc1b7
7438 Author: Simon Feltman <sfeltman@src.gnome.org>
7439 Date: Wed Jul 17 16:10:25 2013 -0700
7441 Replace Python VFunc descriptor directly with PyGIVFuncInfo
7443 Add tp_getdesc (__get__) to PyGIVFuncInfo to allow the object
7444 to be used directly as a callable descriptor. This piggy backs
7445 off the added support for functions and constructors in previous
7448 https://bugzilla.gnome.org/show_bug.cgi?id=704037
7450 gi/pygi-info.c | 25 +++++++++++++++++++++++--
7451 gi/types.py | 33 ++++-----------------------------
7452 2 files changed, 27 insertions(+), 31 deletions(-)
7454 commit 35f79b22ec5abf02fd0bb66352eb1f251b65a078
7455 Author: Simon Feltman <sfeltman@src.gnome.org>
7456 Date: Tue Jul 16 16:00:14 2013 -0700
7458 Add callable and descriptor protocols to PyGICallableInfo
7460 Add tp_call (__call__) function to callable info objects.
7461 This allows for replacement of wrapped invoke methods directly
7462 with the already created callable info object. This has the
7463 additional side effect of making doc strings lazily bound
7464 (only generated when __doc__ is accessed).
7466 Add tp_desc_get (__get__) to PyGIFunctionInfo which returns
7467 a bound version of itself for methods and constructors.
7469 Update various internal type checks to reflect the changes.
7470 Update tests to reflect the new callable type being the same
7471 across Python 2 & 3.
7473 This patch gives roughly a %17 speedup for Gtk imports and
7474 an %11 speedup for GI method calls.
7476 https://bugzilla.gnome.org/show_bug.cgi?id=704037
7479 gi/overrides/__init__.py | 10 ++-
7480 gi/pygi-info.c | 179
7481 ++++++++++++++++++++++++++++++++++++++++++--
7483 gi/types.py | 35 +--------
7484 tests/test_docstring.py | 6 +-
7485 tests/test_gi.py | 32 +++-----
7486 tests/test_overrides_gtk.py | 4 +-
7487 8 files changed, 212 insertions(+), 72 deletions(-)
7489 commit 2339e030e4dc4d93ea770bca380a89f831d56be6
7490 Author: Simon Feltman <sfeltman@src.gnome.org>
7491 Date: Fri Jul 26 19:33:32 2013 -0700
7493 Move "from Python" GObject out arg marshaler into specialized function
7495 Move hacks specific to out argument marshaling for vfuncs into a
7496 a specialized function. This allows standard function call marshaling
7497 to continue working correctly when there are no extra references
7498 holding the arguments "foo(SomeObject())". This is currently being
7499 masked because all GI functions are wrapped by additional layers
7500 of Python functions. When these layers are removed, it exposes
7501 bugs introduced by reference counting hacks intended for vfunc
7504 https://bugzilla.gnome.org/show_bug.cgi?id=704037
7506 gi/pygi-argument.c | 2 +-
7507 gi/pygi-marshal-from-py.c | 37 ++++++++++++++++++++++++++++++-------
7508 gi/pygi-marshal-from-py.h | 3 +++
7509 3 files changed, 34 insertions(+), 8 deletions(-)
7511 commit 627c5faaa54ed9a2b59ac1547833c171cd1a1e87
7512 Author: Simon Feltman <sfeltman@src.gnome.org>
7513 Date: Fri Jul 26 17:34:01 2013 -0700
7515 Add underscore prefix and _cache_adapter suffix to marshaling
7518 Add underscores to all _pygi_marshal_* functions. We don't currently
7519 export symbols, but we might need to for C unittesting. This will
7520 ensure we don't have a "public API".
7521 Add _cache_adapter suffix to marshaling functions which are light
7522 weight wrappers intended only for cached marshalers.
7524 gi/pygi-argument.c | 40 +++++++++++-----------
7525 gi/pygi-cache.c | 10 +++---
7526 gi/pygi-marshal-from-py.c | 86
7527 +++++++++++++++++++++++------------------------
7528 gi/pygi-marshal-from-py.h | 44 ++++++++++++------------
7529 gi/pygi-marshal-to-py.c | 48 +++++++++++++-------------
7530 gi/pygi-marshal-to-py.h | 34 +++++++++----------
7531 6 files changed, 131 insertions(+), 131 deletions(-)
7533 commit bec0b543be8d993996d8a17c343c3f2f33a9398f
7534 Author: Simon Feltman <sfeltman@src.gnome.org>
7535 Date: Tue Jul 16 11:13:17 2013 -0700
7537 Add common attribute accessors to PyGIBaseInfo
7539 Add __name__, __module__, and __doc__ accessors to
7540 PyGIBaseInfo object. This is a precursory patch for setting
7541 up PyGICallableInfo as a directly callable object with lazy
7542 doc string evaluation.
7544 https://bugzilla.gnome.org/show_bug.cgi?id=704037
7546 gi/_glib/pyglib-python-compat.h | 5 +++
7548 +++++++++++++++++++++++++++++++++++++++--
7549 gi/types.py | 7 ++--
7550 3 files changed, 88 insertions(+), 7 deletions(-)
7552 commit ea194404843a16555f9a475cc973872a4428bfe1
7553 Author: Simon Feltman <sfeltman@src.gnome.org>
7554 Date: Sat Jul 13 23:10:31 2013 -0700
7556 Merge method and constructor setup
7558 Merge _setup_constructors into _setup_methods as they contain same
7559 basic logic. This removes an unnecessary call with additional
7560 filtering of GIObjectInfo.get_methods() which can be large for
7561 objects with many methods.
7563 https://bugzilla.gnome.org/show_bug.cgi?id=704037
7565 gi/types.py | 15 ++++-----------
7566 1 file changed, 4 insertions(+), 11 deletions(-)
7568 commit 6b36fbe904d19f515578f447daa7657d3a9a859c
7569 Author: Simon Feltman <sfeltman@src.gnome.org>
7570 Date: Sat Jul 13 18:11:18 2013 -0700
7572 Remove redundant info.get_name calls
7574 Remove a number of redundant calls to GIBaseInfo.get_name. Info
7575 names are already cached on function objects so re-use them when
7576 possible. This gives a small load time improvement by removing over
7577 2000 calls when importing Gtk.
7579 https://bugzilla.gnome.org/show_bug.cgi?id=704037
7582 gi/types.py | 8 +++-----
7583 2 files changed, 3 insertions(+), 6 deletions(-)
7585 commit 6fdde256e840600c84a648ab21da2fe5c212e5bc
7586 Author: Simon Feltman <sfeltman@src.gnome.org>
7587 Date: Fri Jul 12 12:21:54 2013 -0700
7589 Move doc string generator into separate module
7591 Move the doc string generator for creating function signatures
7592 into "gi.docstring". This includes a new API for getting and
7593 setting the doc string creation functions:
7595 gi.docstring.get_doc_string_generator
7596 gi.docstring.set_doc_string_generator
7597 gi.docstring.generate_doc_string
7599 Beyond adding the ability for custom doc string generators,
7600 this API is a necessary step for adding lazy __doc__
7601 attribute access for optimization.
7603 https://bugzilla.gnome.org/show_bug.cgi?id=704037
7605 gi/Makefile.am | 3 +-
7606 gi/docstring.py | 106
7607 ++++++++++++++++++++++++++++++++++++++++++++++++
7608 gi/types.py | 55 ++-----------------------
7609 tests/Makefile.am | 1 +
7610 tests/test_docstring.py | 49 ++++++++++++++++++++++
7611 tests/test_gi.py | 30 --------------
7612 6 files changed, 161 insertions(+), 83 deletions(-)
7614 commit f86701b15ee04c717d9c6bf688101606165e4f83
7615 Author: Simon Feltman <sfeltman@src.gnome.org>
7616 Date: Wed Jul 24 19:36:28 2013 -0700
7618 tests: Change GHashTable<string,GValue> marshaling test to use GValue
7620 Add test to explicitly use a boxed GStrv GValue in addition to a
7621 Python list sub-class.
7623 https://bugzilla.gnome.org/show_bug.cgi?id=666636
7625 tests/test_everything.py | 21 +++++++++++++++------
7626 1 file changed, 15 insertions(+), 6 deletions(-)
7628 commit 6ea41b60691e1ba7e21374582d7aea072af71103
7629 Author: Simon Feltman <sfeltman@src.gnome.org>
7630 Date: Thu Jul 25 18:00:47 2013 -0700
7632 gtk-demo: Change demo to use Gtk.Application
7634 Replace deriving from Gtk.Window with deriving from Gtk.Application
7635 connected to a Gtk.ApplicationWindow instance.
7637 https://bugzilla.gnome.org/show_bug.cgi?id=698547
7639 demos/gtk-demo/demos/printing.py | 2 +-
7640 demos/gtk-demo/gtk-demo.py | 40
7641 ++++++++++++++++++++--------------------
7642 2 files changed, 21 insertions(+), 21 deletions(-)
7644 commit fae58044ea0b2e7f47fbdacc5b58ac36f673ecbd
7645 Author: Simon Feltman <sfeltman@src.gnome.org>
7646 Date: Tue Jul 23 14:25:01 2013 -0700
7648 Move _pygi_argument_to_object_basic_type into pygi-marshal-to-py.c
7650 Move _pygi_argument_to_object_basic_type into pygi-marshal-to-py.c
7651 and rename to _pygi_marshal_to_py_basic_type.
7652 Cleanup and simplify dependant sub-marshalers for unichar, utf8,
7655 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7657 gi/pygi-argument.c | 73 +-----------------------------
7658 gi/pygi-argument.h | 4 --
7659 gi/pygi-cache.c | 4 +-
7660 gi/pygi-marshal-to-py.c | 115
7661 +++++++++++++++++++++++++++++++++++++-----------
7662 gi/pygi-marshal-to-py.h | 27 +++---------
7663 5 files changed, 99 insertions(+), 124 deletions(-)
7665 commit cba401ac1543c2fdb68fff0dba8f6da7eed23bfa
7666 Author: Simon Feltman <sfeltman@src.gnome.org>
7667 Date: Tue Jul 23 13:06:33 2013 -0700
7669 Unify and clean up from Python marshalers for basic types
7671 Unify and cleanup boolean, float, double, gtype, unichar, utf8,
7672 and filename marshalers.
7674 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7676 gi/pygi-cache.c | 101
7677 ++--------------------------------------------
7678 gi/pygi-marshal-from-py.c | 86 ++++++++++++---------------------------
7679 gi/pygi-marshal-from-py.h | 30 --------------
7680 3 files changed, 28 insertions(+), 189 deletions(-)
7682 commit 9e6e01d065bf0acc5b99ae0e8c034d689231bfe1
7683 Author: Simon Feltman <sfeltman@src.gnome.org>
7684 Date: Tue Jul 23 12:35:06 2013 -0700
7686 Unify from Python int64 and uint64 marshalers
7688 Replaced int64 and uint64 cached marshalers with usage of the
7689 unified basic type marshaler. Replace a large amount of int64
7690 exception formatting code with usage of %S for Python 3 and
7691 give a more vague message for Python 2.
7693 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7695 gi/pygi-cache.c | 36 +--------
7696 gi/pygi-marshal-from-py.c | 193
7697 ++++++++++------------------------------------
7698 gi/pygi-marshal-from-py.h | 10 ---
7699 3 files changed, 43 insertions(+), 196 deletions(-)
7701 commit 46653922003c7d1d5d16f5cdb39b3faadf9aff27
7702 Author: Simon Feltman <sfeltman@src.gnome.org>
7703 Date: Tue Jul 23 11:03:14 2013 -0700
7705 Unify from Python int16 and int32 marshalers
7707 Add PyNumber_Check to unified basic type marshaler.
7708 Add bounds checking to unified int16 and int32 marshalers.
7709 Replaced int16 and int32 cached marshalers with usage of
7710 unified basic type marshaler.
7712 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7714 gi/pygi-cache.c | 69 +--------------
7715 gi/pygi-marshal-from-py.c | 218
7716 ++++++++++------------------------------------
7717 gi/pygi-marshal-from-py.h | 20 -----
7718 3 files changed, 48 insertions(+), 259 deletions(-)
7720 commit 4b9c725a615fcf4a5e8d089d275d4586032d0d1f
7721 Author: Simon Feltman <sfeltman@src.gnome.org>
7722 Date: Tue Jul 23 00:27:14 2013 -0700
7724 Unify from Python boolean, int8, and uint8 marshalers
7726 Replaced boolean, int8, and uint8 cached marshalers with usage of
7727 unified basic type marshaler. Add bounds checking to unified int8
7730 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7732 gi/pygi-cache.c | 48 +++------------
7733 gi/pygi-marshal-from-py.c | 146
7734 +++++++++++-----------------------------------
7735 gi/pygi-marshal-from-py.h | 20 ++-----
7736 3 files changed, 45 insertions(+), 169 deletions(-)
7738 commit f517bfbc134b78a23b754332e59b9bb67bb68e98
7739 Author: Simon Feltman <sfeltman@src.gnome.org>
7740 Date: Mon Jul 22 23:24:13 2013 -0700
7742 Add support for PyBytes with int8 and uint8 from Python marshaler
7744 This additional type marshaling is necessary for unifying marhalers
7745 due to the same feature being available with cached argument
7748 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7750 gi/pygi-marshal-from-py.c | 14 ++++++++++++++
7751 1 file changed, 14 insertions(+)
7753 commit fe9df90531f3dd04c0d13d73ebd4ae7dd396c9b1
7754 Author: Simon Feltman <sfeltman@src.gnome.org>
7755 Date: Mon Jul 22 23:23:29 2013 -0700
7757 Move from Python integer marshaling into separate function
7759 Add _pygi_marshal_from_py_long for marshaling Python objects
7760 that can convert to a PyLong type. This allows for better
7761 sharing of code amongst marshalers along with unifying
7762 them across Python 2.7 and 3.0.
7764 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7766 gi/pygi-argument.c | 3 +-
7767 gi/pygi-marshal-from-py.c | 159
7768 ++++++++++++++++++++++++----------------------
7769 2 files changed, 84 insertions(+), 78 deletions(-)
7771 commit f7748affae3d6ef0cc2e409f65761fb29c01b038
7772 Author: Simon Feltman <sfeltman@src.gnome.org>
7773 Date: Mon Jul 22 22:19:26 2013 -0700
7775 Move _pygi_argument_from_object_basic_type into pygi-marshal-from-py.c
7777 Move _pygi_argument_from_object_basic_type into pygi-marshal-from-py.c
7778 and rename to: _pygi_marshal_from_py_basic_type
7780 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7782 gi/pygi-argument.c | 149
7783 +---------------------------------------------
7784 gi/pygi-marshal-from-py.c | 147
7785 +++++++++++++++++++++++++++++++++++++++++++++
7786 gi/pygi-marshal-from-py.h | 4 ++
7787 3 files changed, 152 insertions(+), 148 deletions(-)
7789 commit 9c9510eec782f242280af24e86adf3561e4fac72
7790 Author: Simon Feltman <sfeltman@src.gnome.org>
7791 Date: Fri Jul 19 23:37:35 2013 -0700
7793 Move basic type marshaling out of _pygi_argument_from_object
7795 Move the marshaling of Python objects to GI arguments for basic types
7796 into a new function: _pygi_argument_from_object_basic_type
7797 This is staging work needed before unifying basic type marshaling
7798 of arguments from Python to GI.
7800 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7802 gi/pygi-argument.c | 73
7803 ++++++++++++++++++++++++++++++++++--------------------
7804 1 file changed, 46 insertions(+), 27 deletions(-)
7806 commit 0e2441518ef31bd2b4102ba5780c3ded00bec59a
7807 Author: Simon Feltman <sfeltman@src.gnome.org>
7808 Date: Fri Jul 19 20:16:10 2013 -0700
7810 Replace to Python cached marshalers with unified basic type marshaler
7812 Add cached arg marshaler "_pygi_marshal_to_py_basic_type" which
7813 unifies functions, vfuncs, signals, and property marshaling for
7814 "basic types". Remove all the individual cached arg marshalers
7817 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7819 gi/pygi-argument.c | 104 +++++++++++------------------------
7820 gi/pygi-argument.h | 4 ++
7821 gi/pygi-cache.c | 114 +++++++-------------------------------
7822 gi/pygi-marshal-to-py.c | 142
7823 ++++--------------------------------------------
7824 gi/pygi-marshal-to-py.h | 48 ++--------------
7825 5 files changed, 73 insertions(+), 339 deletions(-)
7827 commit 663fe5893bbc9f34bf8aa4da3cb6f9186a8233b1
7828 Author: Simon Feltman <sfeltman@src.gnome.org>
7829 Date: Fri Jul 19 18:00:40 2013 -0700
7831 Move to Python basic type marshaling out of _pygi_argument_to_object
7833 Move the marshaling of GI arguments to Python objects for basic types
7834 into a new function. The required information for this marshaler
7835 is a GITypeTag and GITransfer. Argument marshaling matching these
7836 requirments are now found in: _pygi_argument_to_object_basic_type.
7837 The new marshaler can be used with a generic argument cache marshaler
7838 to unify all of the "basic type" marshaling.
7840 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7842 gi/pygi-argument.c | 86
7843 +++++++++++++++++++++++++++++++++++++++---------------
7844 1 file changed, 63 insertions(+), 23 deletions(-)
7846 commit dd43a1e19440dbe025451d2e4e07a6074086498d
7847 Author: Simon Feltman <sfeltman@src.gnome.org>
7848 Date: Sat Jul 6 14:16:36 2013 -0700
7850 Override GValue.set/get_boxed with static C marshaler
7852 Override boxed type get/set methods on GValue to use the static C
7853 GValue marshaler. This works around the inability of the introspection
7854 version of these methods to know what the held GValue type is.
7855 With this, all boxed types will now marshal properly with GValues as
7858 https://bugzilla.gnome.org/show_bug.cgi?id=688081
7860 gi/_gobject/gobjectmodule.c | 38 ++++++++++++++++++++++++++++++++++++++
7861 gi/overrides/GObject.py | 9 +++++++++
7862 2 files changed, 47 insertions(+)
7864 commit 2cff4827e6d15bcad630316a8a4e67968a70bbbf
7865 Author: Simon Feltman <sfeltman@src.gnome.org>
7866 Date: Sat Jul 6 14:10:20 2013 -0700
7868 Refactor pyg_value_from_pyobject into two functions
7870 Break pyg_value_from_pyobject into two functions. One which keeps
7871 Python exceptions queued (pyg_value_from_pyobject_with_error) and
7872 one which clears them (pyg_value_from_pyobject). This allows for
7873 re-use for code which want to keep the errors around
7875 https://bugzilla.gnome.org/show_bug.cgi?id=688081
7877 gi/_gobject/gobjectmodule.c | 4 ++-
7878 gi/_gobject/pygobject-private.h | 1 +
7879 gi/_gobject/pygobject.h | 2 ++
7880 gi/_gobject/pygtype.c | 67
7881 ++++++++++++++++++++++++++++++++---------
7882 4 files changed, 59 insertions(+), 15 deletions(-)
7884 commit 84e91a9da3522d042faca65fd2ada1ccaee60153
7885 Author: Simon Feltman <sfeltman@src.gnome.org>
7886 Date: Sat Jul 6 20:41:19 2013 -0700
7888 Fix indentation for pyg_value_from_pyobject
7890 https://bugzilla.gnome.org/show_bug.cgi?id=688081
7892 gi/_gobject/pygtype.c | 744
7893 +++++++++++++++++++++++++-------------------------
7894 1 file changed, 372 insertions(+), 372 deletions(-)
7896 commit 6a29d9be14ec33d06816ade67a5ccf5c7a1cf398
7897 Author: Simon Feltman <sfeltman@src.gnome.org>
7898 Date: Sat Jul 6 13:32:39 2013 -0700
7900 Add deprecation warning for marshaling arbitrary objects as pointers
7902 Add deprecation warning for marshaling arbitrary objects to/from void
7903 pointers with the exception of integers, PyCapsules, and None.
7905 https://bugzilla.gnome.org/show_bug.cgi?id=688081
7907 gi/pygi-marshal-from-py.c | 17 ++++++++++++++++-
7908 gi/pygi-marshal-to-py.c | 10 ++++++++--
7909 2 files changed, 24 insertions(+), 3 deletions(-)
7911 commit 077aefed8566adcb99d7570f52fe09c74c2098e5
7912 Author: Simon Feltman <sfeltman@src.gnome.org>
7913 Date: Sat Jul 6 13:34:53 2013 -0700
7915 Move PyGIDeprecationWarning to C for shared Python/C usage
7917 https://bugzilla.gnome.org/show_bug.cgi?id=688081
7919 gi/__init__.py | 19 ++++---------------
7920 gi/gimodule.c | 18 ++++++++++++++++++
7922 3 files changed, 24 insertions(+), 15 deletions(-)
7924 commit 90427107af36ea3c624b36967ee181ed13b9828f
7925 Author: Simon Feltman <sfeltman@src.gnome.org>
7926 Date: Thu Jul 18 14:59:55 2013 -0700
7928 Replace usage of __import__ with importlib.import_module
7930 https://bugzilla.gnome.org/show_bug.cgi?id=682320
7932 gi/module.py | 8 ++++----
7933 1 file changed, 4 insertions(+), 4 deletions(-)
7935 commit 6391a8e4f03d4010c0d7de79fc83138fd69e0e33
7936 Author: Mike Gorse <mgorse@suse.com>
7937 Date: Wed Jul 10 16:44:23 2013 -0500
7939 Always unref the GiTypeInfo when generating an argument cache
7941 We were leaking a GiTypeInfo when handling child arguments.
7943 https://bugzilla.gnome.org/show_bug.cgi?id=703973
7945 gi/pygi-cache.c | 1 +
7946 1 file changed, 1 insertion(+)
7948 commit ce0ad7066ebdb7018fdce58dc32bbaa715206a0c
7949 Author: Mike Gorse <mgorse@suse.com>
7950 Date: Wed Jul 10 12:10:16 2013 -0500
7952 Unref interface info when fetching enums or flags
7954 When calling g_type_info_get_interface, the resulting interface should
7955 be dereferenced by calling g_base_info_unref.
7957 https://bugzilla.gnome.org/show_bug.cgi?id=703960
7959 gi/pygi-marshal-from-py.c | 8 +++++++-
7960 gi/pygi-marshal-to-py.c | 3 +++
7961 2 files changed, 10 insertions(+), 1 deletion(-)
7963 commit a93755ddba9a1761b627583d7b9be63783c2c063
7964 Author: Daniel Drake <dsd@laptop.org>
7965 Date: Tue Jul 9 13:03:36 2013 -0600
7967 Speed up MRO calculation
7969 Optimize gi.type.mro() with the following observations and tricks:
7971 1. Python prepares all the base classes before trying to calculate the
7972 MRO of the current one (it first needs to populate __bases__, for
7973 example). So we can assume that the base class MRO is already
7975 in __mro__ and this will have been previously calculated (by us,
7977 case of gi classes). This avoids repeating a lot of MRO-calculating
7979 and also avoids (re)calculating MROs for inheritance chains
7981 have any gi classes in them anyway.
7983 2. With that simplification in place, we can avoid recursion, which
7985 all that great in Python...
7987 3. ...except in the uncommon case of a Python2 old-style classes,
7989 __mro__ is not available. There doesn't seem to be any existing
7990 function to calculate or read MRO of old-style python classes,
7992 keep doing as before: calculate the C3 MRO of the old-style
7994 recursion. That behaviour is not really correct, and the
7996 not desirable, so we print a warning here.
7998 This makes the "hello world" Sugar app start up approximately
8002 https://bugzilla.gnome.org/show_bug.cgi?id=703829
8004 gi/types.py | 30 +++++++++++++++++++++++++++---
8005 tests/test_gi.py | 16 ++++++++++++----
8006 2 files changed, 39 insertions(+), 7 deletions(-)
8008 commit 7aca95781fc76f3e820e63325ccc07d128a60075
8009 Author: Daniel Drake <dsd@laptop.org>
8010 Date: Wed Jul 10 10:45:47 2013 -0600
8012 tests: Add tests for MRO override
8014 Add tests for the MRO override to prevent against unintended
8017 https://bugzilla.gnome.org/show_bug.cgi?id=703829
8019 tests/test_gi.py | 66
8020 ++++++++++++++++++++++++++++++++++++++++++--------------
8021 1 file changed, 50 insertions(+), 16 deletions(-)
8023 commit a15333a36e31b76ea6b80251553840269ec5deb1
8024 Author: Simon Feltman <sfeltman@src.gnome.org>
8025 Date: Sat Jul 6 13:34:13 2013 -0700
8027 Add GIL safety to pyobject_copy for copying boxed PyObjects
8029 https://bugzilla.gnome.org/show_bug.cgi?id=688081
8031 gi/_gobject/pygobject.c | 3 +++
8032 1 file changed, 3 insertions(+)
8034 commit 097c116d43a21bebf8e4bccde9cacc551db1e1e5
8035 Author: Simon Feltman <sfeltman@src.gnome.org>
8036 Date: Sat Jul 6 09:48:35 2013 -0700
8038 testhelper: Fix import requirement for GObject
8040 Replace the importing of gi._gobject._gobject with
8041 gi.repository.GObject
8042 in tests/testhelpermodule.c
8044 The testhelper module was only importing the static bindings
8045 (gi._gobject._gobject) and not the overrides (gi.repository.GObject).
8046 This was causing some tests to fail when test_thread was the first
8047 test to run in the suite due to it registering new types based on
8050 https://bugzilla.gnome.org/show_bug.cgi?id=703647
8052 tests/testhelpermodule.c | 2 +-
8053 1 file changed, 1 insertion(+), 1 deletion(-)
8055 commit 0f6c571755e65b5e77d3d84e4516ef90d8ce0162
8056 Author: Simon Feltman <sfeltman@src.gnome.org>
8057 Date: Wed Jul 3 05:26:12 2013 -0700
8059 Add marshalling of GI_TYPE_TAG_VOID held in a GValue to int
8061 Replace assertion for this case with a simple marshalling of the
8062 pointer value to a Python int. While not particularly useful
8063 this allows some callbacks in WebKit to function without causing
8066 https://bugzilla.gnome.org/show_bug.cgi?id=694233
8068 gi/pygi-argument.c | 4 ++--
8069 1 file changed, 2 insertions(+), 2 deletions(-)
8071 commit e0084e7e73845fa2a2da29017d3622f361f11dfb
8072 Author: Cole Robinson <crobinso@redhat.com>
8073 Date: Sat Feb 16 17:26:43 2013 -0500
8075 GTK overrides: Make connect_signals handle tuple
8077 This is used for passing extra arguments to callbacks during
8078 signal emission in the form of:
8079 builder.connect_signals({'on_clicked': (on_clicked, arg1, arg2)})
8081 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
8083 https://bugzilla.gnome.org/show_bug.cgi?id=693994
8085 gi/overrides/Gtk.py | 51 ++++++++----
8086 tests/test_overrides_gtk.py | 196
8087 +++++++++++++++++++++++++++++---------------
8088 2 files changed, 165 insertions(+), 82 deletions(-)
8090 commit 466567373289e6f141709f08efa80ba588d3d64a
8091 Author: Simon Feltman <sfeltman@src.gnome.org>
8092 Date: Tue Jul 2 18:06:01 2013 -0700
8094 Re-add support for passing GValue's by reference
8096 Fix special casing when marshaling from a Python held GValue
8097 to a GValue argument intended for a function call.
8098 The re-factoring of GValue marshaling in commit #9e47afe459df942d9f
8099 broke this by always making a copy of the GValue. This removed the
8100 ability to retrieve values with functions like
8101 gtk_style_context_get_style_property.
8103 https://bugzilla.gnome.org/show_bug.cgi?id=701058
8105 gi/pygi-argument.c | 2 +-
8106 gi/pygi-marshal-from-py.c | 32 +++++++++++++++-----------------
8107 2 files changed, 16 insertions(+), 18 deletions(-)
8109 commit 40a3cd18fd7111ae177f6ab716f78d131f59a1c0
8110 Author: Simon Feltman <sfeltman@src.gnome.org>
8111 Date: Tue Jul 2 19:20:04 2013 -0700
8113 tests: Add test for pass-by-reference GValue
8115 https://bugzilla.gnome.org/show_bug.cgi?id=701058
8117 tests/test_gi.py | 7 +++++++
8118 1 file changed, 7 insertions(+)
8120 commit 3b3251593ea107f06b160234b0ca5393cb39ac1b
8121 Author: Simon Feltman <sfeltman@src.gnome.org>
8122 Date: Tue Jul 2 23:02:17 2013 -0700
8124 Clear return value of closures to zero when an exception occures
8126 For return types other than void, set the ffi closure return argument
8127 to 0 when a Python exception occures. This a good default in general
8128 but also has the side affect of fixing failing idle callbacks
8129 by causing them to be removed from main loops (after their stack
8132 https://bugzilla.gnome.org/show_bug.cgi?id=702552
8134 gi/pygi-closure.c | 14 ++++++++++++++
8135 tests/test_gi.py | 8 ++++++++
8136 2 files changed, 22 insertions(+)
8138 commit ae3439f1d22482d6a920a869d3d17e7054af6f80
8139 Author: Martin Pitt <martinpitt@gnome.org>
8140 Date: Wed Jul 3 10:40:28 2013 +0200
8142 Don't use doctest syntax in docstrings for examples
8144 These are not actual doctests, so don't use the >>> syntax there. Just
8148 This fixes pyflakes 0.7 failures.
8150 https://bugzilla.gnome.org/show_bug.cgi?id=701009
8152 gi/_gobject/propertyhelper.py | 11 +++++------
8153 gi/overrides/GObject.py | 8 ++++----
8154 gi/overrides/Gtk.py | 2 +-
8155 3 files changed, 10 insertions(+), 11 deletions(-)
8157 commit b96a6dc968566d339a2dfd7dd631ae52d812302a
8158 Author: Garrett Regier <garrettregier@gmail.com>
8159 Date: Tue Jul 2 06:07:15 2013 -0700
8161 Add support for properties of type GInterface
8163 Add support for G_TYPE_INTERFACE/GInterface to switch
8164 statement which handles G_TYPE_OBJECT based properties.
8166 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
8168 https://bugzilla.gnome.org/show_bug.cgi?id=703456
8170 gi/_gobject/gobjectmodule.c | 1 +
8171 gi/_gobject/propertyhelper.py | 3 ++-
8172 tests/test_properties.py | 16 ++++++++++++++++
8173 3 files changed, 19 insertions(+), 1 deletion(-)
8175 commit 61b268e44af63d6d78feae42578bf75aa5cfd511
8176 Author: Martin Pitt <martinpitt@gnome.org>
8177 Date: Fri Jun 21 07:27:48 2013 +0200
8179 pygtkcompat: Fix for missing methods on Windows
8181 Deal with non-existing Gtk.Clipboard.get() and
8182 GdkPixbuf.Pixbuf.new_from_file_at_scale() methods.
8184 https://bugzilla.gnome.org/show_bug.cgi?id=702787
8186 pygtkcompat/pygtkcompat.py | 10 ++++++++--
8187 1 file changed, 8 insertions(+), 2 deletions(-)
8189 commit 5e3ab0bb974cc785659666b871d795730b4f06b3
8190 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
8191 Date: Fri Jun 21 12:32:33 2013 +0800
8193 gi/pygi-info.c: Avoid C99-style variable declaration
8195 https://bugzilla.gnome.org/show_bug.cgi?id=702786
8197 gi/pygi-info.c | 3 ++-
8198 1 file changed, 2 insertions(+), 1 deletion(-)
8200 commit 94167e12c118c85cd3172f9f5824fe53e55bcc2d
8201 Author: Martin Pitt <martinpitt@gnome.org>
8202 Date: Wed May 29 11:20:35 2013 +0200
8204 GLib overrides: fix typo in deprecation message
8206 Spotted by Dmitrijs Ledkovs, thanks!
8208 gi/overrides/GLib.py | 2 +-
8209 1 file changed, 1 insertion(+), 1 deletion(-)
8211 commit 86569b69ade0fe157fa87365e9369dde84cd5c90
8212 Author: Martin Pitt <martinpitt@gnome.org>
8213 Date: Tue May 28 17:57:20 2013 +0200
8215 configure.ac: post-release version bump to 3.9.3
8218 1 file changed, 1 insertion(+), 1 deletion(-)
8220 commit 10f703189ed6a7104252907d1b1a114f26d79559
8221 Author: Martin Pitt <martinpitt@gnome.org>
8222 Date: Tue May 28 17:56:07 2013 +0200
8226 NEWS | 15 +++++++++++++++
8227 1 file changed, 15 insertions(+)
8229 commit af8d048442b924c72a1d0ae868ee63ccf292759d
8230 Author: Martin Pitt <martinpitt@gnome.org>
8231 Date: Fri May 24 13:03:07 2013 +0200
8233 examples/option.py: Port to GI and Python 3
8235 examples/option.py | 38 +++++++++++++++++++-------------------
8236 1 file changed, 19 insertions(+), 19 deletions(-)
8238 commit bef5939ca77f4d6939cd9229bd124dfe825b3bdb
8239 Author: Simon Feltman <sfeltman@src.gnome.org>
8240 Date: Sun May 12 18:58:06 2013 -0700
8242 Fix vfunc info search for classes with multiple inheritance
8244 Ensure the search for vfunc GI info continues recursively even if the
8245 current class being looked at does not contain GI info of type
8246 InterfaceInfo. This more exhaustive search is needed for setups with
8247 multiple sub-classes and multiple inheritance.
8249 https://bugzilla.gnome.org/show_bug.cgi?id=700092
8251 gi/types.py | 12 +++++++-----
8252 tests/test_gi.py | 1 -
8253 2 files changed, 7 insertions(+), 6 deletions(-)
8255 commit 5b8dff59baa1a3e524dac7877dd5b33dea52b026
8256 Author: Simon Feltman <sfeltman@src.gnome.org>
8257 Date: Sun May 12 22:19:38 2013 -0700
8259 Fix closure argument conversion for enum and flag in args
8261 Replace incorrect cast and assignment of double with uint for flags
8264 gi/pygi-closure.c | 2 +-
8265 1 file changed, 1 insertion(+), 1 deletion(-)
8267 commit 065503d5e284dc89bacd79d0d9a72eb739882bf8
8268 Author: Simon Feltman <sfeltman@src.gnome.org>
8269 Date: Sat May 11 21:47:54 2013 -0700
8271 tests: Add tests for overriding vfunc implementations
8273 Add tests for overriding vfuncs for both single inheritance
8274 and multiple inheritance with an interface (currently failing).
8276 https://bugzilla.gnome.org/show_bug.cgi?id=700092
8278 tests/test_gi.py | 23 +++++++++++++++++++++++
8279 1 file changed, 23 insertions(+)
8281 commit c4e1112840004af264b4f2a052f333ea38f95cb6
8282 Author: Simon Feltman <sfeltman@src.gnome.org>
8283 Date: Sat May 11 20:28:22 2013 -0700
8285 Fix marshaling Python to FFI return value for enum and flags
8287 Add break to GI_TYPE_TAG_INTERFACE case. This was falling through
8289 assignment of arg.v_pointer to the ffi return arg.
8291 gi/pygi-closure.c | 1 +
8292 1 file changed, 1 insertion(+)
8294 commit a703217eaf4075e9720d4247351e1dfc4f553772
8295 Author: Simon Feltman <sfeltman@src.gnome.org>
8296 Date: Fri Apr 19 06:37:24 2013 -0700
8298 Remove half implemented GC in PyGIBaseInfo, PyGIStruct, and PyGIBoxed
8300 Remove half implemented GC tracking from PyGIBaseInfo as it was not
8301 needed (the implemented was also missing usage of
8302 PyObject_GC_New/Track).
8303 Ensure weakref list for PyGIBaseInfo is initialized to NULL and
8306 Remove invalid calls to PyObject_GC_UnTrack and PyObject_ClearWeakRefs
8307 for both PyGIStruct and PyGIBoxed as these types were not being
8308 advertised as GC aware with Py_TPFLAGS_HAVE_GC.
8310 https://bugzilla.gnome.org/show_bug.cgi?id=677091
8312 gi/pygi-boxed.c | 4 ----
8313 gi/pygi-info.c | 20 +++++---------------
8314 gi/pygi-struct.c | 4 ----
8315 3 files changed, 5 insertions(+), 23 deletions(-)
8317 commit 87e41db2e060acd689a2ac043bc1ac51007de6f3
8318 Author: Simon Feltman <sfeltman@src.gnome.org>
8319 Date: Fri May 3 02:00:07 2013 -0700
8321 Replace usage of pyg_begin_allow_threads with Py_BEGIN_ALLOW_THREADS
8323 Replace all usage of pyg[lib]_begin_allow_threads with direct usage
8324 of Py_BEGIN_ALLOW_THREADS.
8326 https://bugzilla.gnome.org/show_bug.cgi?id=699440
8328 gi/_glib/pyglib.h | 4 ----
8329 gi/_glib/pygoptioncontext.c | 4 ++--
8330 gi/_gobject/pygobject.c | 33 ++++++++++++++++-----------------
8331 gi/gimodule.c | 4 ++--
8332 gi/pygi-invoke.c | 4 ++--
8333 5 files changed, 22 insertions(+), 27 deletions(-)
8335 commit c9e95663d05de98a9abd3d1479554b1f09753382
8336 Author: Simon Feltman <sfeltman@src.gnome.org>
8337 Date: Thu May 2 03:57:05 2013 -0700
8339 Remove and deprecate API for setting of thread blocking functions
8341 Remove pyglib_set_thread_block_funcs and deprecate
8342 pyg_set_thread_block_funcs.
8343 The thread block function APIs are no longer be neccessary because
8345 can use the Python C API directly when working with threads.
8347 https://bugzilla.gnome.org/show_bug.cgi?id=699440
8349 gi/_glib/pyglib.c | 41 -----------------------------------
8350 gi/_glib/pyglib.h | 9 ++++----
8351 gi/_gobject/gobjectmodule.c | 25 ++++++++-------------
8352 gi/_gobject/pygobject-private.h | 33 ----------------------------
8353 gi/_gobject/pygobject.h | 48
8354 ++++++++++++++++++++---------------------
8355 gi/gimodule.c | 15 +++++++------
8356 6 files changed, 46 insertions(+), 125 deletions(-)
8358 commit 05498a5732582a5ed1944bd1383af154ca5fc4e6
8359 Author: Martin Pitt <martinpitt@gnome.org>
8360 Date: Tue Apr 30 11:51:05 2013 -0700
8362 configure.ac: Post-release bump to 3.9.2
8365 1 file changed, 1 insertion(+), 1 deletion(-)
8367 commit 902bb6685fd9c90c7d81127861a152b0fab4b107
8368 Author: Martin Pitt <martinpitt@gnome.org>
8369 Date: Tue Apr 30 11:49:03 2013 -0700
8373 NEWS | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
8374 1 file changed, 49 insertions(+)
8376 commit f463d7cfaf65e0f3594ec15d897325f84225f1c5
8377 Author: Simon Feltman <sfeltman@src.gnome.org>
8378 Date: Sun Apr 28 19:59:35 2013 -0700
8380 gtk-demo: Wrap description strings at 80 characters
8382 Wrap trailing demo description strings so they are easier to read
8383 in a programming editor. The gtk-demo itself re-wraps this using
8384 textwrap and the Gtk.TextView dynamic wrapping.
8386 https://bugzilla.gnome.org/show_bug.cgi?id=698547
8388 demos/gtk-demo/demos/Entry/search_entry.py | 6 +++---
8389 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 8 ++++----
8390 demos/gtk-demo/demos/Icon View/iconviewedit.py | 5 +++--
8391 demos/gtk-demo/demos/Tree View/liststore.py | 5 ++++-
8392 demos/gtk-demo/demos/images.py | 6 ++++--
8393 demos/gtk-demo/demos/menus.py | 20
8394 ++++++++++++++++----
8395 demos/gtk-demo/demos/pickers.py | 4 ++--
8396 demos/gtk-demo/demos/pixbuf.py | 5 +++--
8397 demos/gtk-demo/demos/rotatedtext.py | 6 ++++--
8398 9 files changed, 43 insertions(+), 22 deletions(-)
8400 commit f0d4b963c42ac31d4d17ec0f2271940df2568644
8401 Author: Simon Feltman <sfeltman@src.gnome.org>
8402 Date: Sat Apr 27 22:30:35 2013 -0700
8404 gtk-demo: Use textwrap to reformat description for Gtk.TextView
8406 https://bugzilla.gnome.org/show_bug.cgi?id=698547
8408 demos/gtk-demo/gtk-demo.py | 8 +++++++-
8409 1 file changed, 7 insertions(+), 1 deletion(-)
8411 commit ed41e260dcf5745fcc0656412be3c4a520ee20fc
8412 Author: Simon Feltman <sfeltman@src.gnome.org>
8413 Date: Sat Apr 27 21:58:28 2013 -0700
8415 gtk-demo: Use GtkSource.View for showing source code
8417 Replace manual syntax highlighting of Gtk.TextView with usage of
8418 GtkSource.View when available. Fall back to TextView with no
8419 hightlighting when GtkSource is not available.
8421 https://bugzilla.gnome.org/show_bug.cgi?id=698547
8423 demos/gtk-demo/gtk-demo.py | 170
8424 ++++++++++++---------------------------------
8425 1 file changed, 44 insertions(+), 126 deletions(-)
8427 commit 150104db47ac5ba32758fba0c156adaecc0fbcc0
8428 Author: Mike Ruprecht <mike.ruprecht@collabora.co.uk>
8429 Date: Sun Apr 28 01:40:34 2013 -0500
8431 Use correct class for GtkEditable's get_selection_bounds() function
8433 https://bugzilla.gnome.org/show_bug.cgi?id=699096
8435 gi/overrides/Gtk.py | 2 +-
8436 1 file changed, 1 insertion(+), 1 deletion(-)
8438 commit 61663928259f6f48c11f6e43334a62dd2b3eb8e6
8439 Author: Simon Feltman <sfeltman@src.gnome.org>
8440 Date: Thu Apr 25 05:27:35 2013 -0700
8442 Test results of g_base_info_get_name for NULL
8444 Block against potential NULL result when generating type hint with
8445 _g_arg_get_pytype_hint.
8447 https://bugzilla.gnome.org/show_bug.cgi?id=698829
8449 gi/pygi-info.c | 12 ++++++++++--
8450 1 file changed, 10 insertions(+), 2 deletions(-)
8452 commit 0dff1940caf52ea5f1de27cc801ea6d4dab3a446
8453 Author: Jose Rostagno <joserostagno@vijona.com.ar>
8454 Date: Sun Apr 21 19:09:59 2013 -0300
8456 Remove g_type_init conditional call
8458 It's deprecated in the glib version we depend on.
8460 https://bugzilla.gnome.org/show_bug.cgi?id=698763
8462 gi/_gobject/gobjectmodule.c | 3 ---
8463 1 file changed, 3 deletions(-)
8465 commit c84b071ed8d3b78b4e4a6aef12f5f8bb99bdc107
8466 Author: Jose Rostagno <joserostagno@vijona.com.ar>
8467 Date: Sat Mar 30 20:59:44 2013 -0300
8469 Update deps versions also in README
8471 commit f957e33bc1ef2a4175bab85cfcd9b5faf092aa2f missed to update
8474 https://bugzilla.gnome.org/show_bug.cgi?id=698763
8477 1 file changed, 2 insertions(+), 2 deletions(-)
8479 commit 4f25fa43e1e5c0f3cd22bcdadadb1d731f01fe34
8480 Author: Jose Rostagno <joserostagno@vijona.com.ar>
8481 Date: Sat Mar 30 20:50:35 2013 -0300
8483 Drop compat code for old python version
8485 https://bugzilla.gnome.org/show_bug.cgi?id=698763
8487 gi/_glib/pyglib-python-compat.h | 12 ------------
8488 1 file changed, 12 deletions(-)
8490 commit 8104fa04cac2cba74337e6c4b3ecf56fd6cbb80b
8491 Author: Niklas Koep <niklas.koep@gmail.com>
8492 Date: Thu Apr 25 06:14:12 2013 +0200
8494 Remove duplicate call to _gi.Repository.require()
8496 repository.require() was called twice in IntrospectionModule's
8499 https://bugzilla.gnome.org/show_bug.cgi?id=698797
8502 1 file changed, 1 deletion(-)
8504 commit f22b95033c0bcd99e9c70e6f0dc999f5e64b08a6
8505 Author: Johan Dahlin <johan@gnome.org>
8506 Date: Mon Oct 1 03:02:10 2012 -0700
8508 Add ObjectInfo.get_class_struct()
8510 https://bugzilla.gnome.org/show_bug.cgi?id=685218
8512 gi/pygi-info.c | 15 +++++++++++++++
8513 tests/test_gi.py | 4 ++++
8514 2 files changed, 19 insertions(+)
8516 commit 2d34d35e5db06b0eb29cba91d0999b20a5c0b450
8517 Author: Simon Feltman <sfeltman@src.gnome.org>
8518 Date: Mon Apr 22 03:43:23 2013 -0700
8520 Change interpretation of NULL pointer field from None to 0
8522 The usage of 0 is needed because these fields should generally
8523 be used to store integer indices or hashes, not necessarily
8524 pointers to actual data.
8526 https://bugzilla.gnome.org/show_bug.cgi?id=698366
8528 gi/pygi-argument.c | 11 +----------
8529 tests/test_everything.py | 5 +++--
8530 2 files changed, 4 insertions(+), 12 deletions(-)
8532 commit 8d61ad38eb90d639da08289c036ae4cb99336c2a
8533 Author: Sobhan Mohammadpour <sobhanmohammadpour1@yahoo.fr>
8534 Date: Fri Mar 8 08:25:58 2013 +0330
8536 Do not build tests until needed
8538 Originally by [Alexandre Rostovtsev <tetromino@gmail.com>
8540 https://bugzilla.gnome.org/show_bug.cgi?id=698444
8542 tests/Makefile.am | 12 ++++++------
8543 1 file changed, 6 insertions(+), 6 deletions(-)
8545 commit f61f23b999ae6e27ca852753da906de4ab8e6e25
8546 Author: Kai Willadsen <kai.willadsen@gmail.com>
8547 Date: Sun Apr 14 15:16:40 2013 +1000
8549 pygi-convert: Support toolbar styles
8551 https://bugzilla.gnome.org/show_bug.cgi?id=698477
8553 pygi-convert.sh | 1 +
8554 1 file changed, 1 insertion(+)
8556 commit 7a92ade7ee5fe2f9eb8de2626c34650e2e5c06df
8557 Author: Kai Willadsen <kai.willadsen@gmail.com>
8558 Date: Sun Apr 14 10:54:04 2013 +1000
8560 pygi-convert: Support new-style constructors for Gio.File
8562 https://bugzilla.gnome.org/show_bug.cgi?id=698477
8564 pygi-convert.sh | 2 ++
8565 1 file changed, 2 insertions(+)
8567 commit 1e8120992dc103ac817351be3c150e6cb25f719f
8568 Author: Kai Willadsen <kai.willadsen@gmail.com>
8569 Date: Sun Apr 14 10:22:55 2013 +1000
8571 pygi-convert: Add some support for recent manager constructs
8573 https://bugzilla.gnome.org/show_bug.cgi?id=698477
8575 pygi-convert.sh | 3 +++
8576 1 file changed, 3 insertions(+)
8578 commit 17d349f98d62ea7947c1553e0ef7e867301523aa
8579 Author: Kai Willadsen <kai.willadsen@gmail.com>
8580 Date: Sun Apr 14 07:37:24 2013 +1000
8582 pygi-convert: Check for double quote in require statement
8584 https://bugzilla.gnome.org/show_bug.cgi?id=698477
8586 pygi-convert.sh | 1 +
8587 1 file changed, 1 insertion(+)
8589 commit cc8bd6bd3fdf99762aa3431ceee347a05f6f3200
8590 Author: Kai Willadsen <kai.willadsen@gmail.com>
8591 Date: Sun Apr 14 07:37:00 2013 +1000
8593 pygi-convert: Don't transform arbitrary keysym imports
8595 https://bugzilla.gnome.org/show_bug.cgi?id=698477
8597 pygi-convert.sh | 2 +-
8598 1 file changed, 1 insertion(+), 1 deletion(-)
8600 commit 99872a18ed1468b2c85cc7b96a0d12f2ae5167f0
8601 Author: Simon Feltman <sfeltman@src.gnome.org>
8602 Date: Thu Apr 11 04:09:59 2013 -0700
8604 Remove Python keyword escapement in Repository.find_by_name
8606 Strip trailing underscore from module level items before
8607 calling g_irepository_find_by_name. This fixes a problem
8608 with GI module level items having the same name as a Python
8609 keyword raising an AttributeError during access (Pango.break_).
8611 https://bugzilla.gnome.org/show_bug.cgi?id=697363
8613 gi/pygi-info.c | 32 ++++++++++++++++++++++----------
8614 gi/pygi-info.h | 2 ++
8615 gi/pygi-repository.c | 16 ++++++++++++++++
8616 tests/test_overrides_pango.py | 5 +++++
8617 4 files changed, 45 insertions(+), 10 deletions(-)
8619 commit c07404461b126206e369270b56e613f81369c70a
8620 Author: Daniel Drake <dsd@laptop.org>
8621 Date: Mon Mar 18 16:08:09 2013 -0600
8623 Optimize signal lookup in gi repository
8625 Now that we have GSignalQuery results available to us when connecting
8626 signals, we already know which GType implements the signal in
8629 Therefore there is no need to traverse the class parent hierarchy
8630 looking for this, which takes a considerable amount of CPU time.
8632 There is also no need to canonicalize the signal name; both before
8633 and after this patch, by the time we reach this point we have already
8634 successfully looked up the signal name as presented from Python.
8636 https://bugzilla.gnome.org/show_bug.cgi?id=696143
8638 gi/_gobject/pygobject.c | 5 ++--
8639 gi/pygi-signal-closure.c | 59
8640 +++++++++++++-----------------------------------
8641 gi/pygi-signal-closure.h | 1 +
8643 4 files changed, 23 insertions(+), 46 deletions(-)
8645 commit e220706b3e4d9fd454613fbfe1e60e7e1da94ae0
8646 Author: Daniel Drake <dsd@laptop.org>
8647 Date: Mon Mar 18 15:38:19 2013 -0600
8649 Optimize connection of Python-implemented signals
8651 Like properties, when working with signals we must detect if the
8652 signal is implemented in a Python class or if it originates from the
8653 gi repository, and act accordingly.
8655 Asking the gi repository if it can find a signal that is implemented
8656 in a Python class (it can't) takes a considerable amount of CPU time.
8658 Use g_signal_query() to find out which GType implements the signal.
8659 Then perform a simple test to see if this type is implemented at the
8660 Python level, allowing us to to skip the GI querying in this case.
8662 https://bugzilla.gnome.org/show_bug.cgi?id=696143
8664 gi/_gobject/pygobject.c | 19 +++++++++++++++----
8665 1 file changed, 15 insertions(+), 4 deletions(-)
8667 commit e91b35d72f93678a79623347dce271148d57046f
8668 Author: Daniel Drake <dsd@laptop.org>
8669 Date: Mon Mar 18 15:24:52 2013 -0600
8671 Consolidate signal connection code
8673 This code was repeated 4 times with very little variance;
8674 consolidate it and add simple tests to ensure basic coverage.
8676 https://bugzilla.gnome.org/show_bug.cgi?id=696143
8678 gi/_gobject/pygobject.c | 129
8679 +++++++++++++++--------------------------------
8680 tests/test_everything.py | 33 ++++++++++++
8681 2 files changed, 74 insertions(+), 88 deletions(-)
8683 commit cd91e1d5db617d470acbf8c5bc74c11c92f946f6
8684 Author: Daniel Drake <dsd@laptop.org>
8685 Date: Mon Mar 18 15:11:16 2013 -0600
8687 Fix setting of struct property values
8689 "goto out" in this context means that an error occurred, but this
8690 particular instance was sitting in the "good" codepath.
8692 Fixes setting of struct property values.
8694 gi/pygi-property.c | 3 ++-
8695 1 file changed, 2 insertions(+), 1 deletion(-)
8697 commit 8981ea0422c6837d488311dafe8937593372e736
8698 Author: Daniel Drake <dsd@laptop.org>
8699 Date: Mon Mar 18 14:25:45 2013 -0600
8701 Optimize property get/set when using GObject.props
8703 Skip GI repository lookup for properties defined on Python
8704 defined GObject types.
8706 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
8708 https://bugzilla.gnome.org/show_bug.cgi?id=696143
8710 gi/_gobject/pygobject.c | 37 +++++++++++++++++++------------------
8711 1 file changed, 19 insertions(+), 18 deletions(-)
8713 commit 266e389ff90d982151bae3ac22b9b8b0739f520f
8714 Author: Christoph Reiter <reiter.christoph@gmail.com>
8715 Date: Sat Apr 13 17:28:26 2013 +0200
8717 configure.ac: Fix PYTHON_SO with Python3.3
8719 https://bugzilla.gnome.org/show_bug.cgi?id=696646
8721 configure.ac | 5 ++++-
8722 1 file changed, 4 insertions(+), 1 deletion(-)
8724 commit e54c2d1df3812a1789ee240b0ba71ddf77c2f90a
8725 Author: Daniel Drake <dsd@laptop.org>
8726 Date: Mon Mar 18 14:13:37 2013 -0600
8728 Simplify registration of custom types
8730 Use custom quark data to track Python created GTypes.
8732 Remove previous mechanism to track registration of python-implemented
8733 GTypes as it was unused (no custom registration was ever tracked).
8735 Leave vtable pointer and set to NULL to avoid an ABI break.
8737 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
8739 https://bugzilla.gnome.org/show_bug.cgi?id=696143
8741 gi/_gobject/gobjectmodule.c | 11 +++++--
8742 gi/_gobject/pygobject-private.h | 8 ++---
8743 gi/_gobject/pygobject.c | 8 ++---
8744 gi/_gobject/pygobject.h | 9 +++---
8745 gi/_gobject/pygtype.c | 69
8746 +++--------------------------------------
8747 5 files changed, 22 insertions(+), 83 deletions(-)
8749 commit 50702a09344825e3a8aa54365d78de807f989d88
8750 Author: Christoph Reiter <reiter.christoph@gmail.com>
8751 Date: Sat Apr 13 16:04:17 2013 +0200
8753 pygi-convert.sh: Add GStreamer rules
8755 https://bugzilla.gnome.org/show_bug.cgi?id=697951
8757 pygi-convert.sh | 17 +++++++++++++++++
8758 1 file changed, 17 insertions(+)
8760 commit b289176e6b37cb2825bd555cea019b85b68d5c57
8761 Author: Jussi Kukkonen <jussi.kukkonen@intel.com>
8762 Date: Sun Mar 10 15:04:40 2013 +0200
8764 pygi-convert: Add rule for TreeModelFlags
8766 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
8768 pygi-convert.sh | 1 +
8769 1 file changed, 1 insertion(+)
8771 commit 09610bf42be76f65d7d2afe1c691f7b4a7c64e5b
8772 Author: Simon Feltman <sfeltman@src.gnome.org>
8773 Date: Fri Mar 29 03:20:44 2013 -0700
8775 Unify interface struct to Python GI marshaling code
8777 Add pygi_marshal_to_py_interface_struct used for direct gi method
8778 call out args and vfunc in args.
8780 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8782 gi/pygi-argument.c | 72 ++++++-------------------------
8783 gi/pygi-marshal-to-py.c | 112
8784 +++++++++++++++++++++++++++++-------------------
8785 gi/pygi-marshal-to-py.h | 8 ++++
8786 3 files changed, 91 insertions(+), 101 deletions(-)
8788 commit 6d3a0751e71ee3c37b3bb646723aed75971e5b39
8789 Author: Simon Feltman <sfeltman@src.gnome.org>
8790 Date: Thu Mar 28 22:41:51 2013 -0700
8792 Unify Python interface struct to GI marshaling code
8794 Add pygi_marshal_from_py_interface_struct used for direct gi method
8795 call in args and vfunc out args.
8797 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8799 gi/pygi-argument.c | 75 +++++++--------------
8800 gi/pygi-cache.c | 12 +---
8801 gi/pygi-marshal-from-py.c | 167
8802 +++++++++++++++++++++++++++++-----------------
8803 gi/pygi-marshal-from-py.h | 11 +++
8804 4 files changed, 141 insertions(+), 124 deletions(-)
8806 commit 1ea654b4d34e0d119556b232796cd9370b2572f1
8807 Author: Simon Feltman <sfeltman@src.gnome.org>
8808 Date: Thu Mar 28 06:17:15 2013 -0700
8810 Unify Python float and double to GI marshaling code
8812 Change _pygi_argument_from_object to use the cachers marshalers
8813 (_pygi_marshal_from_py_float/double) directly instead of keeping a
8815 Refactor _pygi_marshal_from_py_float/double to use a common utility
8816 _pygi_py_arg_to_double for initial error checking and conversion.
8818 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8820 gi/pygi-argument.c | 26 ++++----------------------
8821 gi/pygi-marshal-from-py.c | 42 ++++++++++++++++++++----------------------
8822 2 files changed, 24 insertions(+), 44 deletions(-)
8824 commit 2eb2a712864a1a685d19018e0860cf0da7c5c9ab
8825 Author: Simon Feltman <sfeltman@src.gnome.org>
8826 Date: Thu Mar 28 05:29:08 2013 -0700
8828 Unify filename to Python GI marshaling code
8830 Change _pygi_argument_to_object to use the cachers marshaler
8831 (_pygi_marshal_to_py_filename) directly instead of keeping a
8834 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8836 gi/pygi-argument.c | 22 ++--------------------
8837 gi/pygi-marshal-to-py.c | 6 ++----
8838 2 files changed, 4 insertions(+), 24 deletions(-)
8840 commit 54aa043d96deb02589e13042a46917405ca53780
8841 Author: Simon Feltman <sfeltman@src.gnome.org>
8842 Date: Thu Mar 28 05:20:00 2013 -0700
8844 Unify utf8 to Python GI marshaling code
8846 Change _pygi_argument_to_object to use the cachers marshaler
8847 (_pygi_marshal_to_py_utf8) directly instead of keeping a
8850 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8852 gi/pygi-argument.c | 11 ++++-------
8853 gi/pygi-marshal-to-py.c | 4 +---
8854 2 files changed, 5 insertions(+), 10 deletions(-)
8856 commit 03ff41ae4bb83858338d96cc6210092c7fb82464
8857 Author: Simon Feltman <sfeltman@src.gnome.org>
8858 Date: Thu Mar 28 05:10:45 2013 -0700
8860 Unify unichar to Python GI marshaling code
8862 Change _pygi_argument_to_object to use the cachers marshaler
8863 (_pygi_marshal_to_py_unichar) directly instead of keeping a
8866 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8868 gi/pygi-argument.c | 19 ++-----------------
8869 1 file changed, 2 insertions(+), 17 deletions(-)
8871 commit 594ad084c2cc21cebce209c11740e6d4866b0b82
8872 Author: Simon Feltman <sfeltman@src.gnome.org>
8873 Date: Sat Feb 16 19:49:59 2013 -0800
8875 Unify Python unicode to filename GI marshaling code
8877 Change _pygi_argument_from_object to use the cachers marshaler
8878 (_pygi_marshal_from_py_filename) directly instead of keeping a
8881 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8883 gi/pygi-argument.c | 30 ++----------------------------
8884 1 file changed, 2 insertions(+), 28 deletions(-)
8886 commit a62e8cdf90f7b03cfc8116125ef3557f9ad08dde
8887 Author: Simon Feltman <sfeltman@src.gnome.org>
8888 Date: Sat Feb 16 19:32:54 2013 -0800
8890 Unify Python unicode to utf8 GI marshaling code
8892 Change _pygi_argument_from_object to use the cachers marshaler
8893 (_pygi_marshal_from_py_utf8) directly instead of keeping a
8896 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8898 gi/pygi-argument.c | 32 ++------------------------------
8899 1 file changed, 2 insertions(+), 30 deletions(-)
8901 commit e253c73335fccabc61e0329f8528a90f79858c67
8902 Author: Simon Feltman <sfeltman@src.gnome.org>
8903 Date: Sat Feb 16 19:16:43 2013 -0800
8905 Unify Python unicode to unichar GI marshaling code
8907 Change _pygi_argument_from_object to use the cachers marshaler
8908 (_pygi_marshal_from_py_unichar) directly instead of keeping a
8911 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8913 gi/pygi-argument.c | 34 ++--------------------------------
8914 gi/pygi-marshal-from-py.c | 9 +++++++++
8915 2 files changed, 11 insertions(+), 32 deletions(-)
8917 commit 216caf590b262fed40d10bb34d020089d1197160
8918 Author: Simon Feltman <sfeltman@src.gnome.org>
8919 Date: Thu Apr 4 15:57:12 2013 -0700
8921 Fix enum and flags marshaling type assumptions
8923 Replace assignments of GFlags and GEnum values to various GIArgument
8924 members with v_uint and v_int respectively.
8926 gi/pygi-argument.c | 6 +++---
8927 gi/pygi-property.c | 4 ++--
8928 2 files changed, 5 insertions(+), 5 deletions(-)
8930 commit 4799ef1d0cb9a4b27c7952585d33b58ea9ec34ca
8931 Author: Christoph Reiter <reiter.christoph@gmail.com>
8932 Date: Thu Apr 4 10:08:38 2013 +0200
8934 Make AM_CHECK_PYTHON_LIBS not depend on AM_CHECK_PYTHON_HEADERS
8936 https://bugzilla.gnome.org/show_bug.cgi?id=696648#c6
8938 m4/python.m4 | 4 ++--
8939 1 file changed, 2 insertions(+), 2 deletions(-)
8941 commit f82f755a0f419539c223e4a74e33145726c6e69f
8942 Author: Christoph Reiter <reiter.christoph@gmail.com>
8943 Date: Thu Apr 4 09:05:48 2013 +0200
8945 Use distutils.sysconfig to retrieve the python include path.
8947 https://bugzilla.gnome.org/show_bug.cgi?id=696648
8949 m4/python.m4 | 8 ++------
8950 1 file changed, 2 insertions(+), 6 deletions(-)
8952 commit cf81dd66e6387bf27122a71176e91ca39beb6519
8953 Author: Martin Pitt <martinpitt@gnome.org>
8954 Date: Thu Apr 4 06:47:56 2013 +0200
8956 Use g_strdup() consistently
8958 https://bugzilla.gnome.org/show_bug.cgi?id=696650
8960 gi/pygi-marshal-from-py.c | 2 +-
8961 1 file changed, 1 insertion(+), 1 deletion(-)
8963 commit 6c22fea63fa6978c2a717ff12ff84d3aff776b5e
8964 Author: Christoph Reiter <reiter.christoph@gmail.com>
8965 Date: Tue Mar 26 16:03:59 2013 +0100
8967 Support PEP 3149 (ABI version tagged .so files)
8969 Add a ABI suffix to the shared library retrieved from
8971 instead of hardcoding it. This should also make things more robust
8974 https://bugzilla.gnome.org/show_bug.cgi?id=696646
8976 configure.ac | 3 +++
8977 gi/Makefile.am | 14 +++++++-------
8978 gi/_glib/Makefile.am | 14 +++++++-------
8979 gi/_gobject/Makefile.am | 14 +++++++-------
8980 4 files changed, 24 insertions(+), 21 deletions(-)
8982 commit 2259ccac8aa2ec23240e92e303ea3f2c53dc2a88
8983 Author: Simon Feltman <sfeltman@src.gnome.org>
8984 Date: Sun Mar 31 01:32:34 2013 -0700
8986 Fix stack corruption due to incorrect format for argument parser
8988 Fix call to PyArg_ParseTupleAndKeywords that used a format parser
8989 of "l" meaning long (8 bytes) in combination with an output pointer
8990 of guint (4 bytes). Change to use gulong with a format of "k".
8992 https://bugzilla.gnome.org/show_bug.cgi?id=696892
8994 gi/_gobject/pygflags.c | 4 ++--
8995 1 file changed, 2 insertions(+), 2 deletions(-)
8997 commit 48e52210ece0e144b4c959e773ea542a912358e7
8998 Author: Simon Feltman <sfeltman@src.gnome.org>
8999 Date: Thu Mar 7 00:26:37 2013 -0800
9001 Deprecate GLib and GObject threads_init
9003 Remove a handful of Python threading related helper functions
9004 from pyglib and pygobject. The binding internals required
9005 GLib.threads_init to be called for PyGObject to work with
9006 Python threads. This was removed as it should not be a requirement.
9007 Using the Python threading module already initializes threading
9008 for us (PyEval_InitThreads).
9010 https://bugzilla.gnome.org/show_bug.cgi?id=686914
9012 gi/_glib/glibmodule.c | 16 --------
9013 gi/_glib/pyglib.c | 94
9014 ---------------------------------------------
9015 gi/_glib/pyglib.h | 28 +++++++-------
9016 gi/_gobject/gobjectmodule.c | 31 ++++-----------
9017 gi/overrides/GLib.py | 8 +++-
9018 gi/overrides/GObject.py | 2 +-
9019 6 files changed, 28 insertions(+), 151 deletions(-)
9021 commit 89d05f91cee419d46cb5318d4a9001ec315a3475
9022 Author: Martin Pitt <martinpitt@gnome.org>
9023 Date: Mon Mar 25 09:03:51 2013 +0100
9025 Drop support for Python 2.6
9027 2.7 has been released long ago, nobody tests PyGObject with 2.6 any
9029 this unblocks e. g. GNOME #682320.
9031 Drop usage of PyCObject_* (which has been superseded by PyCapsule
9033 and drop Python 2.6 specific workarounds.
9036 gi/_glib/pyglib-python-compat.h | 20 ------------------
9037 gi/_gobject/pygobject.h | 6 ------
9040 tests/runtests.py | 45
9041 +----------------------------------------
9042 tests/test_gobject.py | 1 -
9043 tests/test_signal.py | 4 ----
9044 8 files changed, 3 insertions(+), 81 deletions(-)
9046 commit 56347953abb1e214817186581eaf2b2d8762cf97
9047 Author: Martin Pitt <martinpitt@gnome.org>
9048 Date: Wed Oct 24 16:43:25 2012 +0200
9050 Remove static PollFD bindings
9052 Use the GLib API through GI instead, and provide an override to keep a
9053 backwards compatible constructor syntax.
9055 https://bugzilla.gnome.org/show_bug.cgi?id=686795
9057 gi/_glib/Makefile.am | 2 --
9058 gi/_glib/glibmodule.c | 2 --
9059 gi/_glib/pygsource.c | 98
9060 ---------------------------------------------------
9061 gi/_glib/pygsource.h | 36 -------------------
9062 gi/overrides/GLib.py | 17 +++++++--
9063 5 files changed, 15 insertions(+), 140 deletions(-)
9065 commit a93eb5ecc982b5fe1bdf8f78b15ba10351a63b89
9066 Author: Martin Pitt <martinpitt@gnome.org>
9067 Date: Mon Mar 25 08:44:24 2013 +0100
9069 Drop test skipping due to too old g-i
9071 We depend on gobject-introspection 1.35.9 now, which has all this API.
9073 tests/test_gi.py | 24 ------------------------
9074 tests/test_object_marshaling.py | 14 --------------
9075 2 files changed, 38 deletions(-)
9077 commit f957e33bc1ef2a4175bab85cfcd9b5faf092aa2f
9078 Author: Martin Pitt <martinpitt@gnome.org>
9079 Date: Mon Mar 25 08:37:37 2013 +0100
9081 Bump glib and g-i dependencies
9083 Now require g-i 1.35.9 and glib 2.35.9, i. e. the current stable
9085 versions. This allows us to drop the conditional test suite skips
9087 static PollFD bindings.
9089 configure.ac | 6 +++---
9090 1 file changed, 3 insertions(+), 3 deletions(-)
9092 commit 252556d044322207429c0d0c269365f48e4d819a
9093 Author: Martin Pitt <martinpitt@gnome.org>
9094 Date: Mon Mar 25 08:43:53 2013 +0100
9096 configure.ac: post-release version bump to 3.9.1
9098 configure.ac | 4 ++--
9099 1 file changed, 2 insertions(+), 2 deletions(-)
9101 commit 5f82e007e2dcdbfd82a20d8c4d54f9cd7b3b77ac
9102 Author: Martin Pitt <martinpitt@gnome.org>
9103 Date: Mon Mar 25 08:12:10 2013 +0100
9108 1 file changed, 4 insertions(+)
9110 commit bb4fa093d59173f68a0b16e10016bafe7cd18f62
9111 Author: Simon Feltman <sfeltman@src.gnome.org>
9112 Date: Wed Mar 20 23:45:01 2013 -0700
9114 tests: Fix incorrect assumption when testing pyglib version
9116 Replace version test of 3.7.2 with 3.0.0 as it is the only reasonable
9117 value that can be used for a future proof unittest here.
9119 tests/test_glib.py | 4 ++--
9120 1 file changed, 2 insertions(+), 2 deletions(-)
9122 commit 78b7b0bea3068b81ba67deea4d06b1fb27434841
9123 Author: Martin Pitt <martinpitt@gnome.org>
9124 Date: Mon Mar 18 14:02:29 2013 +0100
9126 configure.ac: post-release bump to 3.8.0
9128 configure.ac | 4 ++--
9129 1 file changed, 2 insertions(+), 2 deletions(-)
9131 commit defbd63e95faafaa84230f160bc95dad0f55e37d
9132 Author: Martin Pitt <martinpitt@gnome.org>
9133 Date: Mon Mar 18 14:01:05 2013 +0100
9137 NEWS | 18 ++++++++++++++++++
9138 1 file changed, 18 insertions(+)
9140 commit a0844a896603c5c91bed24cf94106765f0ced74e
9141 Author: Simon Feltman <sfeltman@src.gnome.org>
9142 Date: Sun Mar 17 23:22:38 2013 -0700
9144 Fix stack smasher when marshaling enums as a vfunc return value
9146 Add special case for marshaling GI_TYPE_TAG_INTERFACE with enum or
9147 flag types. Default interfaces to marshal as a pointer.
9148 Add explicit cases for GType and Unichar out/return marshaling.
9149 Fix leaking of GIBaseInfo when marshaling interface as out arg.
9151 https://bugzilla.gnome.org/show_bug.cgi?id=637832
9153 gi/pygi-closure.c | 69
9154 ++++++++++++++++++++++++++++++++++++++++++++++---------
9155 tests/test_gi.py | 19 +++++++++++++++
9156 2 files changed, 77 insertions(+), 11 deletions(-)
9158 commit 669e15c35213dbce6ceb0a4a3d474aae620910ce
9159 Author: Simon Feltman <sfeltman@src.gnome.org>
9160 Date: Sun Mar 17 15:37:09 2013 -0700
9162 Change base class of PyGIDeprecationWarning based on minor version
9164 Use RuntimeWarning as the base class of PyGIDeprecationWarning
9165 for unstable (odd minor version) and use DeprecationWarning for
9166 stable (even minor version). This is so PyGObject deprecations
9167 behave the same as regular Python deprecations in stable releases.
9169 https://bugzilla.gnome.org/show_bug.cgi?id=696011
9171 gi/__init__.py | 14 +++++++++++---
9172 1 file changed, 11 insertions(+), 3 deletions(-)
9174 commit 755b2e6fc635489d98d48254ea60b2631b43dfbd
9175 Author: Alban Browaeys <prahal@yahoo.com>
9176 Date: Thu Feb 28 18:57:21 2013 +0100
9178 autogen.sh: Source gnome-autogen to fix out of source builddir
9180 https://bugzilla.gnome.org/show_bug.cgi?id=694889
9183 1 file changed, 1 insertion(+), 1 deletion(-)
9185 commit a38392a9d713b0001cf30066d337b1abbbbbc59e
9186 Author: Martin Pitt <martinpitt@gnome.org>
9187 Date: Tue Mar 5 12:22:15 2013 +0100
9189 Add 3.7.91.1 NEWS entry
9191 Forgot to push this back then.
9194 1 file changed, 3 insertions(+)
9196 commit 85f8aae849dd0fb21de8722a3af9234ca20ea1e0
9197 Author: Simon Feltman <sfeltman@src.gnome.org>
9198 Date: Sun Mar 17 04:19:57 2013 -0700
9200 pygtkcompat: Make gdk.Window.get_geometry return tuple of 5
9202 Make get_geometry return a tuple of (x, y, width, height, depth)
9203 as it did in pygtk 2.
9204 Update pygtkcompat.enable_gtk() to default to version 3.0 because
9205 version 2.0 core dumps trying to use introspection with gtk 2.
9207 pygtkcompat/pygtkcompat.py | 8 +++++++-
9208 1 file changed, 7 insertions(+), 1 deletion(-)
9210 commit 38683f721c33cc35f0260868e58643fd35f04cbe
9211 Author: Simon Feltman <sfeltman@src.gnome.org>
9212 Date: Sun Mar 17 02:08:03 2013 -0700
9214 testhelpermodule: Fix build warning for PyGObject_Type redefinition
9216 Remove dynamic retrieval of PyGObject_Type as it is available
9217 in pygobject.h since commit 2656bc47 (causing this compile warning)
9219 tests/testhelpermodule.c | 14 +-------------
9220 1 file changed, 1 insertion(+), 13 deletions(-)
9222 commit a3ec8867945da7722beebb7e77c6255ee3ba8bb8
9223 Author: Simon Feltman <sfeltman@src.gnome.org>
9224 Date: Sun Mar 17 01:51:33 2013 -0700
9226 pygtkcompat: Initialize hint to zero in set_geometry_hints
9228 pygtkcompat/pygtkcompat.py | 2 +-
9229 1 file changed, 1 insertion(+), 1 deletion(-)
9231 commit 471204953d6fc93b3d311afd133d40f7d75ec541
9232 Author: Simon Feltman <sfeltman@src.gnome.org>
9233 Date: Fri Mar 15 04:33:22 2013 -0700
9235 Remove incorrect bounds check with property helper flags
9237 Remove bounds check for flags as it is not necessary for the
9238 helper to make these kind of judgement calls in general.
9239 e.g. leave it to marshaling/internals to complain about potential
9240 problems. The flags were being bounds checked to a maximum
9241 value of 32 (the intention was most likely to limit it to 32 bits).
9243 gi/_gobject/propertyhelper.py | 3 ---
9244 tests/test_properties.py | 1 -
9245 2 files changed, 4 deletions(-)
9247 commit 2656bc47ca1219b329066da1c2c58018ae624866
9248 Author: Simon Feltman <sfeltman@src.gnome.org>
9249 Date: Thu Mar 7 18:07:17 2013 -0800
9251 Fix crash when setting property of type object to an incorrect type
9253 Add type check when marshaling an object from Python for GObject
9255 Add PyGObject_Type as part of the pygobject API to check for this.
9257 https://bugzilla.gnome.org/show_bug.cgi?id=695420
9259 gi/_gobject/gobjectmodule.c | 3 ++-
9260 gi/_gobject/pygobject.h | 2 ++
9261 gi/pygi-marshal-from-py.c | 8 ++++++++
9262 tests/test_object_marshaling.py | 4 ++++
9263 4 files changed, 16 insertions(+), 1 deletion(-)
9265 commit 44587f42224a44a480629223c8d78a426bc32a12
9266 Author: Simon Feltman <sfeltman@src.gnome.org>
9267 Date: Thu Mar 7 17:59:02 2013 -0800
9269 Remove skipping of object property tests
9271 These were showing up as unexpected successes now that bug 675726
9274 https://bugzilla.gnome.org/show_bug.cgi?id=695420
9276 tests/test_object_marshaling.py | 7 ++-----
9277 1 file changed, 2 insertions(+), 5 deletions(-)
9279 commit 10214ba2d96fd6d66eeea159219f585abff8632a
9280 Author: Simon Feltman <sfeltman@src.gnome.org>
9281 Date: Thu Mar 7 15:34:49 2013 -0800
9283 Give more informative error when setting property to incorrect type
9285 https://bugzilla.gnome.org/show_bug.cgi?id=695420
9287 gi/_gobject/pygobject.c | 10 ++++++++--
9288 1 file changed, 8 insertions(+), 2 deletions(-)
9290 commit 9ab6e5451aea43ed086c0d26324c4efed24476d7
9291 Author: Martin Pitt <martinpitt@gnome.org>
9292 Date: Tue Mar 5 12:04:55 2013 +0100
9294 Revert "Drop gi.overrides.overridefunc()"
9296 This reverts commit 1dc2bc9f65669417ae1964d70b85f115928b2963. External
9298 like GEdit plugins use @overrides for functions as well, we must
9302 https://bugzilla.gnome.org/show_bug.cgi?id=695199
9304 gi/overrides/Gtk.py | 7 ++++---
9305 gi/overrides/__init__.py | 24 ++++++++++++++++++++++--
9306 2 files changed, 26 insertions(+), 5 deletions(-)
9308 commit 862de794bf01a66aa6d796c674bce375cad37ba7
9309 Author: Martin Pitt <martinpitt@gnome.org>
9310 Date: Mon Mar 4 17:33:51 2013 +0100
9312 configure.ac: Post-release bump to 3.7.92
9315 1 file changed, 1 insertion(+), 1 deletion(-)
9317 commit bb12e652d661cf6ce931b44a89c11951894101bf
9318 Author: Martin Pitt <martinpitt@gnome.org>
9319 Date: Mon Mar 4 17:27:50 2013 +0100
9323 NEWS | 33 +++++++++++++++++++++++++++++++++
9324 1 file changed, 33 insertions(+)
9326 commit 25a6f90f28b065dd4f1cd352826598577402dc0b
9327 Author: Martin Pitt <martinpitt@gnome.org>
9328 Date: Mon Mar 4 17:16:22 2013 +0100
9330 Dot not clobber original Gdk/Gtk functions with overrides
9332 https://bugzilla.gnome.org/show_bug.cgi?id=686835
9334 gi/overrides/Gdk.py | 3 ++-
9335 gi/overrides/Gtk.py | 3 ++-
9336 2 files changed, 4 insertions(+), 2 deletions(-)
9338 commit d50d16428edf42799489fe1befbc4ce56f0fa181
9339 Author: Martin Pitt <martinpitt@gnome.org>
9340 Date: Mon Mar 4 15:30:31 2013 +0100
9342 tests: Reorganize GError and GClosure tests
9344 Split TestGClosure.test_gclosure_in() into its three components.
9346 Merge the various TestGError* classes into one, to match the structure
9350 tests/test_gi.py | 59
9351 +++++++++++++++++++++++++-------------------------------
9352 1 file changed, 26 insertions(+), 33 deletions(-)
9354 commit 8cfd596c7849bf78a74fee04630fbbb104f02080
9355 Author: Martin Pitt <martinpitt@gnome.org>
9356 Date: Mon Mar 4 15:16:25 2013 +0100
9358 Fix memory leaks in property setting/getting
9360 Do not leak GValues and string arrays, free them properly. As we
9362 the intermediate GValues, use g_value_dup_boxed() instead of
9363 g_value_get_boxed() when appropriate.
9365 Detected by test_gi.TestPropertiesObject.test_strv test case.
9367 gi/pygi-property.c | 21 ++++++++++++++++-----
9368 1 file changed, 16 insertions(+), 5 deletions(-)
9370 commit eec8c3a932d42e92ccaf7f97d3d90948842e263f
9371 Author: Martin Pitt <martinpitt@gnome.org>
9372 Date: Mon Mar 4 12:43:24 2013 +0100
9374 Fix memory leak in pyg_flags_get_value_nicks()
9376 Discovered by test_gi.TestKeywords.test_uppercase() test.
9378 gi/_gobject/pygflags.c | 7 +++++--
9379 1 file changed, 5 insertions(+), 2 deletions(-)
9381 commit 002a834dd993b82508a4fe262269befcf1a6d341
9382 Author: Martin Pitt <martinpitt@gnome.org>
9383 Date: Mon Mar 4 12:10:03 2013 +0100
9385 Fix memory leak in _pygi_argument_to_array()
9387 Free the originally allocated GArray data before setting it to
9391 Discovered by test_gi.TestStructure.test_boxed_struct_return test
9394 gi/pygi-argument.c | 1 +
9395 1 file changed, 1 insertion(+)
9397 commit d32b410a1b1fcca6d10d75fbd771ea789999da64
9398 Author: Martin Pitt <martinpitt@gnome.org>
9399 Date: Mon Mar 4 10:19:34 2013 +0100
9401 Fix leaking inout C arrays
9403 g_*_info_invoke() changes the original state->in_args and state->args
9405 to the output values for (inout) arguments, thus losing the pointer
9407 originally allocated array. Remember that in state->args_data,
9409 free it in _pygi_marshal_cleanup_from_py_array().
9411 Reproduced by test_gi.TestArray.test_array_fixed_inout test case.
9413 gi/pygi-marshal-cleanup.c | 6 ++++++
9414 gi/pygi-marshal-from-py.c | 4 ++++
9415 2 files changed, 10 insertions(+)
9417 commit e4098cbc28ff9324fa851bca2e423da4e51b5091
9418 Author: Martin Pitt <martinpitt@gnome.org>
9419 Date: Fri Mar 1 15:12:31 2013 +0100
9421 Fix leak in _PyGI_ERROR_PREFIX()
9423 Properly clean up our allocated py_error_prefix string.
9425 Fixes memory leak in e. g. test_gi.TestArray.test_array_fixed_int_in.
9427 gi/pygi-private.h | 1 +
9428 1 file changed, 1 insertion(+)
9430 commit b388c3e87ce86d26560337c88eb33d0a95647db8
9431 Author: Martin Pitt <martinpitt@gnome.org>
9432 Date: Fri Mar 1 15:01:06 2013 +0100
9434 Fix leaking of boxed array elements
9436 Commit 631d8ef879a copies struct array elements, but this needlessly
9438 and leaks the array element for boxed types. So only do it for
9441 This fixes the memory leak with
9442 test_gi.TestGValue.test_gvalue_flat_array_out.
9444 https://bugzilla.gnome.org/show_bug.cgi?id=693402
9446 gi/pygi-marshal-to-py.c | 3 ++-
9447 1 file changed, 2 insertions(+), 1 deletion(-)
9449 commit 1dc2bc9f65669417ae1964d70b85f115928b2963
9450 Author: Martin Pitt <martinpitt@gnome.org>
9451 Date: Fri Mar 1 14:04:34 2013 +0100
9453 Drop gi.overrides.overridefunc()
9455 This just adds an unnecessary extra function call and is not really
9457 Drop it from the only remaining function which uses this
9459 drop overridefunc().
9461 https://bugzilla.gnome.org/show_bug.cgi?id=686835
9463 gi/overrides/Gtk.py | 7 +++----
9464 gi/overrides/__init__.py | 24 ++----------------------
9465 2 files changed, 5 insertions(+), 26 deletions(-)
9467 commit 1edc4ba31b3f9375ec3920aab5b71eb066ee3739
9468 Author: Martin Pitt <martinpitt@gnome.org>
9469 Date: Fri Mar 1 14:02:02 2013 +0100
9471 Add some tests for overridden Gdk/Gtk functions
9473 Add tests for Gtk.main_quit, Gtk.stock_parse(), and Gdk.color_parse(),
9475 have overrides for them.
9477 tests/test_overrides_gdk.py | 7 +++++++
9478 tests/test_overrides_gtk.py | 15 +++++++++++++++
9479 2 files changed, 22 insertions(+)
9481 commit 6f6c0ceff00fea83bc85756b10694f7c96039abc
9482 Author: Martin Pitt <martinpitt@gnome.org>
9483 Date: Fri Mar 1 11:10:01 2013 +0100
9485 Fix GLib.Source ref leak upon destruction
9487 In GLib.Source.__del__(), manually unref the source if we are a
9489 As we use a static binding to create it, the GI part won't unref it
9491 leading to finalize() method not being called and the GSource
9494 https://bugzilla.gnome.org/show_bug.cgi?id=510511
9496 gi/overrides/GLib.py | 4 ++++
9497 tests/test_source.py | 31 +++++++++++++++++++++++++++++++
9498 2 files changed, 35 insertions(+)
9500 commit 91f76dd94fb0afc6888a821a31c3a4e2e053360e
9501 Author: Martin Pitt <martinpitt@gnome.org>
9502 Date: Thu Feb 28 15:08:56 2013 +0100
9504 Add performance test for Gtk.ListStore.append
9506 We are going to optimize this in various ways, so let's measure it.
9508 tests/test_overrides_gtk.py | 14 ++++++++++++++
9509 1 file changed, 14 insertions(+)
9511 commit b1ff74b085bdca72c272f019be4dd387073a991a
9512 Author: Simon Feltman <sfeltman@src.gnome.org>
9513 Date: Thu Feb 28 04:32:30 2013 -0800
9515 Optimize GValue.get/set_value by setting GValue.g_type to a local
9517 This increases performance by a factor of 2x for types later
9520 https://bugzilla.gnome.org/show_bug.cgi?id=694857
9522 gi/overrides/GObject.py | 98
9523 +++++++++++++++++++++++++------------------------
9524 1 file changed, 51 insertions(+), 47 deletions(-)
9526 commit 105e6738ee249b64904da26ae45dd273ca4eeba8
9527 Author: Martin Pitt <martinpitt@gnome.org>
9528 Date: Thu Feb 28 11:43:47 2013 +0100
9530 Fix leak of caller-allocated boxed values
9532 Add a new "allocated_slice" argument to _pygi_boxed_new() which
9534 whether its "boxed" pointer was allocated using a slice (by giving
9536 malloc (by specifying 0), as _pygi_boxed_new cannot determine that
9540 Use this in _pygi_marshal_to_py_interface_struct() for
9541 caller-allocated boxed
9542 values, as _caller_alloc() uses _pygi_boxed_alloc() for those
9544 which would otherwise leak.
9546 Thanks to Mike Gorse <mgorse@suse.com> for the original patch!
9548 https://bugzilla.gnome.org/show_bug.cgi?id=691501
9550 gi/gimodule.c | 2 +-
9551 gi/pygi-argument.c | 2 +-
9552 gi/pygi-boxed.c | 14 ++++++++++----
9553 gi/pygi-boxed.h | 3 ++-
9554 gi/pygi-marshal-to-py.c | 6 ++++--
9555 gi/pygi-source.c | 3 ++-
9556 6 files changed, 20 insertions(+), 10 deletions(-)
9558 commit 64bcca2d39fed1734ad1abbe291406387e901f5c
9559 Author: Martin Pitt <martinpitt@gnome.org>
9560 Date: Thu Feb 28 10:48:18 2013 +0100
9562 Fix memory handling of caller-allocated boxed types
9564 _pygi_marshal_to_py_interface_struct() and other places treat
9566 G_TYPE_BOXED as boxed values and wrap them with _pygi_boxed_new(). Fix
9567 _caller_alloc() and _cleanup_caller_allocates() to consider
9569 subtypes as well and use the slice allocator instead of malloc()'ing
9571 This avoids trying to free an malloc'ed struct with g_slice_free()
9573 cleans up the boxed values.
9575 The leak was produced with:
9577 G_SLICE=debug-blocks PYTHONPATH=. valgrind --tool=memcheck
9578 --leak-check=full --show-possibly-lost=no \
9579 python3 -c 'from gi.repository import Gtk; b=Gtk.TextBuffer();
9580 (s,e) = b.get_bounds()'
9582 gi/pygi-invoke.c | 2 +-
9583 gi/pygi-marshal-cleanup.c | 2 +-
9584 2 files changed, 2 insertions(+), 2 deletions(-)
9586 commit 4f5e8b7554b6388aa2d0eb4a3b285d99499163be
9587 Author: Martin Pitt <martinpitt@gnome.org>
9588 Date: Wed Feb 27 23:21:34 2013 +0100
9590 Fix cleanup of GValue arrays
9592 Commit bc1fd8 introduced a thinko: We must not change
9593 item_arg_cache->from_py_cleanup, as it's a global cache. Revert
9595 change, and instead put the hack into
9596 _pygi_marshal_cleanup_from_py_array(),
9597 which now short-circuits
9598 _pygi_marshal_cleanup_from_py_interface_struct_gvalue() to avoid
9599 trying to release a slice which has never been allocated in
9600 _pygi_marshal_from_py_array().
9602 https://bugzilla.gnome.org/show_bug.cgi?id=672224
9604 gi/pygi-marshal-cleanup.c | 11 ++++++++++-
9605 gi/pygi-marshal-from-py.c | 10 +++-------
9606 2 files changed, 13 insertions(+), 8 deletions(-)
9608 commit 70118c3840b10e1585d066a4be485c097cd23e99
9609 Author: Martin Pitt <martinpitt@gnome.org>
9610 Date: Wed Feb 27 21:52:43 2013 +0100
9612 Revert "Mark caller-allocated boxed structures as having a slice
9615 This is wrong after all, as it sets slice_allocated to TRUE, but
9617 corresponding size. Also, poking in internal fields from that place
9619 this should rather be fixed in gi/pygi-marshal-cleanup.c
9620 _cleanup_caller_allocates().
9622 This reverts commit dc3d21173b75232f7ea0b9913f7309486456a69d.
9624 gi/pygi-marshal-to-py.c | 4 +---
9625 1 file changed, 1 insertion(+), 3 deletions(-)
9627 commit a51c72c771dafc0c13d7990f1ff3e428dca729a1
9628 Author: Martin Pitt <martinpitt@gnome.org>
9629 Date: Wed Feb 27 21:51:30 2013 +0100
9631 Run tests with G_SLICE=debug_blocks
9633 This will help finding regressions in slice management, like in
9634 https://bugzilla.gnome.org/show_bug.cgi?id=691501
9636 tests/Makefile.am | 3 ++-
9637 1 file changed, 2 insertions(+), 1 deletion(-)
9639 commit 4f6ebcfe0605a7a593dc3f9dd322a4da9bd091a3
9640 Author: Martin Pitt <martinpitt@gnome.org>
9641 Date: Wed Feb 27 18:30:23 2013 +0100
9643 Add override helper for stripping boolean returns
9645 Introduce a gi.overrides.strip_boolean_result() helper which checks
9647 return value and if True, return the remaining arguments, otherwise
9649 default. This pattern is being used by a lot of overrides, which get
9650 significantly smaller and more consistent that way.
9652 https://bugzilla.gnome.org/show_bug.cgi?id=694431
9654 gi/overrides/Gdk.py | 27 +-------
9655 gi/overrides/Gtk.py | 156
9656 +++++++++--------------------------------------
9657 gi/overrides/__init__.py | 22 +++++++
9658 3 files changed, 53 insertions(+), 152 deletions(-)
9660 commit 08c97b0bd3140921f1b5c74f7764e23d3a9bf0ee
9661 Author: Martin Pitt <martinpitt@gnome.org>
9662 Date: Wed Feb 27 15:39:23 2013 +0100
9664 Drop obsolete pygobject_register_sinkfunc() declaration
9666 There is no definition for this any more, nor is it being used
9669 https://bugzilla.gnome.org/show_bug.cgi?id=639849
9671 gi/_gobject/pygobject-private.h | 2 --
9672 1 file changed, 2 deletions(-)
9674 commit b6fefd625b843d4fc3dabc456584a2ad27a48c8c
9675 Author: Martin Pitt <martinpitt@gnome.org>
9676 Date: Wed Feb 27 13:41:55 2013 +0100
9678 Fix marshalling of C arrays with explicit length in signal arguments
9680 We need _pygi_argument_to_array() from both closure marshalling
9682 the arguments as GIArgument array) and signal closure marshalling
9684 have the arguments in a GValue array). Add an alternative
9686 parameter to _pygi_argument_to_array() so that callers can specify
9688 other depending on which type they have available.
9690 This allows us to pass on the full argument list for signal closures,
9692 _pygi_argument_to_array() can access the explicit length argument
9696 This fixes the GSettings:change-event signal.
9698 https://bugzilla.gnome.org/show_bug.cgi?id=662241
9700 gi/pygi-argument.c | 36 ++++++++++++++++++++++++++++--------
9701 gi/pygi-argument.h | 1 +
9702 gi/pygi-closure.c | 2 +-
9703 gi/pygi-info.c | 4 ++--
9704 gi/pygi-signal-closure.c | 3 ++-
9705 tests/test_gio.py | 18 ++++++++++++++++++
9706 6 files changed, 52 insertions(+), 12 deletions(-)
9708 commit caeeeb7e4282e183eefc3c53b2d53c8c2bb7de89
9709 Author: Martin Pitt <martinpitt@gnome.org>
9710 Date: Wed Feb 27 08:07:20 2013 +0100
9712 Fix signedness, overflow checking, and 32 bit overflow of GFlags
9714 GFlagsValue.value is a guint, so we must access it as unsigned
9716 new macros PYGLIB_PyLong_FromUnsignedLong() and
9717 PYGLIB_PyLong_AsUnsignedLong()
9718 for that purpose, and consistently use them for handling flag
9720 checked variant of these functions which produce OverflowErrors
9722 of the unchecked PYGLIB_PyLong_AS_LONG().
9724 Insert zero padding after the PyLongObject in PyGFlags and
9726 this, the directly adjacent GType field seems to confuse
9727 PyLong_FromUnsignedLong() and includes the GType into the numeric
9730 https://bugzilla.gnome.org/show_bug.cgi?id=693121
9732 gi/_glib/pyglib-python-compat.h | 8 +++++++
9733 gi/_gobject/gobjectmodule.c | 2 +-
9734 gi/_gobject/pygflags.c | 52
9735 +++++++++++++++++++++++++----------------
9736 gi/_gobject/pygobject-private.h | 10 ++++----
9737 gi/_gobject/pygobject.h | 4 ++--
9738 gi/_gobject/pygtype.c | 6 ++---
9739 tests/test_overrides_gdk.py | 15 ++++++++++++
9740 7 files changed, 67 insertions(+), 30 deletions(-)
9742 commit b3a3da37e369f3f5d434c8dc9f3c7f1e74d537ac
9743 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
9744 Date: Tue Feb 26 16:15:36 2013 +0800
9746 gi/pygi-marshal-from-py.c: Fix build on Visual C++
9748 Since Visual C++ does not provide the INFINITY and NAN constants
9750 math.h (they are items defined by C99), provide fallback
9752 for it here. The INFINITY constant can be provided with HUGE_VAL,
9754 we are using INFINITY to check the value of a variable of double
9756 we could use a rather simple workaround for NAN.
9758 Also avoid declaring variables in the middle of the block.
9760 https://bugzilla.gnome.org/show_bug.cgi?id=692856
9762 gi/pygi-marshal-from-py.c | 19 ++++++++++++++++++-
9763 1 file changed, 18 insertions(+), 1 deletion(-)
9765 commit 5210e3d5bb7936a21b6a2c938ede505bf1d848c9
9766 Author: Martin Pitt <martinpitt@gnome.org>
9767 Date: Tue Feb 26 16:42:19 2013 +0100
9769 Fix some style issues with previous patch
9771 gi/pygi-cache.c | 6 +++---
9772 1 file changed, 3 insertions(+), 3 deletions(-)
9774 commit 999679beaa9f5b36d9483abdbd30cd5e113b6bf6
9775 Author: Martin Pitt <martinpitt@gnome.org>
9776 Date: Tue Feb 26 10:15:22 2013 +0100
9778 Raise DeprecationWarning on deprecated callables
9780 Check if a callable is marked as deprecated and raise a
9781 DeprecationWarning in
9785 - Python hides DeprecationWarning by default, you need to enable
9787 - The deprecation message is currently not in the typelib (bug
9790 https://bugzilla.gnome.org/show_bug.cgi?id=665084
9792 gi/pygi-cache.c | 14 ++++++++++++++
9793 tests/test_gi.py | 10 ++++++++++
9794 2 files changed, 24 insertions(+)
9796 commit 9f8258cfdcf562aa6cf37b9e66075b7f6a6ed97a
9797 Author: Simon Feltman <sfeltman@src.gnome.org>
9798 Date: Mon Feb 18 00:39:45 2013 -0800
9800 pygtkcompat: Add Widget.window, scroll_to_mark, and window methods
9802 Fix gi.pygtkcompat attempting relative import in Python < 3.0.
9803 Add Gtk.Widget.window property which uses get_window()
9804 Add Gtk.TextView.scroll_to_mark with defaults
9805 Add Gtk.window_list_toplevels and Gtk.window_set_default_icon_name
9807 https://bugzilla.gnome.org/show_bug.cgi?id=694067
9809 gi/pygtkcompat.py | 2 ++
9810 pygtkcompat/pygtkcompat.py | 14 ++++++++++++++
9811 2 files changed, 16 insertions(+)
9813 commit e8e2bbee7bb79039bbd9a968f7db88438bd937f9
9814 Author: Simon Feltman <sfeltman@src.gnome.org>
9815 Date: Sun Dec 16 02:56:06 2012 -0800
9817 pygtkcompat: Add Gtk.Window.set_geometry_hints which accepts keyword
9820 Monkey patch a keyword argument version of set_geometry_hints onto
9822 This version is compatible with pygtk and takes keywords instead of a
9823 Gdk.Geometry and Gdk.GeometryMask.
9825 https://bugzilla.gnome.org/show_bug.cgi?id=694067
9827 pygtkcompat/pygtkcompat.py | 44
9828 ++++++++++++++++++++++++++++++++++++++++++++
9829 1 file changed, 44 insertions(+)
9831 commit 1ca0e142709843cdae9ca965dfa6cc292ef53ab5
9832 Author: Martin Pitt <martinpitt@gnome.org>
9833 Date: Tue Feb 26 10:09:47 2013 +0100
9835 tests: Fix warning behaviour
9837 -Werror::* does not seem to do what it says on the tin, these
9839 ignored entirely apparently. Just keep -Wd to actually show all
9841 including DeprecationWarning, which is hidden by default.
9843 tests/Makefile.am | 2 +-
9844 1 file changed, 1 insertion(+), 1 deletion(-)
9846 commit e7ea6952c7a2d8da68ed8b66770d889cd756df9a
9847 Author: Martin Pitt <martinpitt@gnome.org>
9848 Date: Tue Feb 26 08:49:10 2013 +0100
9850 Ship pygobject.doap for autogen.sh
9852 https://bugzilla.gnome.org/show_bug.cgi?id=694591
9855 1 file changed, 1 insertion(+)
9857 commit 80ed803dab3ad914d7214a475e3c6ed743dfdccc
9858 Author: Simon Feltman <sfeltman@src.gnome.org>
9859 Date: Tue Feb 19 03:07:19 2013 -0800
9861 Fix crashes in various GObject signal handler functions
9863 Fix crashes in a large amount of signal handler functions exposed
9864 on the GObject module. This is possible now that the underlying
9865 GObject pointer is exposed to Python as a PyCapsule which marshaling
9866 can handle. The following functions in the GObject module have been
9869 signal_handler_unblock
9870 signal_handler_disconnect
9871 signal_handler_is_connected
9872 signal_stop_emission
9873 signal_stop_emission_by_name
9874 signal_has_handler_pending
9875 signal_connect_closure
9876 signal_connect_closure_by_id
9878 signal_handlers_destroy
9880 https://bugzilla.gnome.org/show_bug.cgi?id=633927
9882 gi/_gobject/gobjectmodule.c | 57 ++--------------
9883 gi/overrides/GObject.py | 158
9884 ++++++++++++++++++++++++++++++++++----------
9885 tests/test_signal.py | 121 ++++++++++++++++++++++++++++++++-
9886 3 files changed, 247 insertions(+), 89 deletions(-)
9888 commit e9c578c1d47375cb2249ccdd86873faad04b89e1
9889 Author: Olivier Crête <olivier.crete@collabora.com>
9890 Date: Fri Sep 14 21:29:53 2012 -0400
9892 pygi-closure: Protect the GSList prepend with the GIL
9894 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
9896 https://bugzilla.gnome.org/show_bug.cgi?id=684060
9898 gi/pygi-closure.c | 4 ++--
9899 1 file changed, 2 insertions(+), 2 deletions(-)
9901 commit 6e0a32f6d9febbd782dc56a619974f009e79abd9
9902 Author: Simon Feltman <sfeltman@src.gnome.org>
9903 Date: Wed Feb 20 01:21:32 2013 -0800
9905 generictreemodel: Fix bad default return type for get_column_type
9907 pygtkcompat/generictreemodel.py | 2 +-
9908 1 file changed, 1 insertion(+), 1 deletion(-)
9910 commit 8ec5c335e223bdf00c7bb6c9aac3e7ac7791e38e
9911 Author: Martin Pitt <martinpitt@gnome.org>
9912 Date: Tue Feb 19 12:23:13 2013 +0100
9914 configure.ac: post-release bump to 3.7.91
9917 1 file changed, 1 insertion(+), 1 deletion(-)
9919 commit f2fb7f6142cd7112db9c2526d7f1c642a50cfc2a
9920 Author: Martin Pitt <martinpitt@gnome.org>
9921 Date: Tue Feb 19 12:19:35 2013 +0100
9925 NEWS | 17 +++++++++++++++++
9927 2 files changed, 18 insertions(+), 1 deletion(-)
9929 commit 840c871441cb215f24cc6e7ed26b9f38e5aad0df
9930 Author: Simon Feltman <sfeltman@src.gnome.org>
9931 Date: Mon Feb 18 01:46:22 2013 -0800
9933 overrides: Fix inconsistencies with drag and drop target list API
9935 Add support to Gtk.Widget.drag_dest_set_target_list and
9936 Gtk.Widget.drag_source_set_target_list to accept iterables containing
9937 mixed TargetEntry or a tuple of (target, flags, info).
9938 Add support to Gtk.TreeView.enable_model_drag_source and
9939 Gtk.TreeView.enable_model_drag_dest to accept a list of
9943 https://bugzilla.gnome.org/show_bug.cgi?id=680640
9945 gi/overrides/Gtk.py | 40 +++++++++++++++++++++++++++++-----------
9946 tests/test_overrides_gtk.py | 32 ++++++++++++++++++++++++++++++++
9947 2 files changed, 61 insertions(+), 11 deletions(-)
9949 commit 62e94b0f87845bb7a1cfddf70dcdc89ff7a80bf7
9950 Author: Simon Feltman <sfeltman@src.gnome.org>
9951 Date: Mon Feb 18 03:19:34 2013 -0800
9953 tests: Add test_marshaling_object to Makefile.am
9955 tests/Makefile.am | 1 +
9956 1 file changed, 1 insertion(+)
9958 commit a10fb7216de57046d1ecacb73dd032eaadcbad09
9959 Author: Simon Feltman <s.feltman@gmail.com>
9960 Date: Wed Aug 29 03:46:23 2012 -0700
9962 pygtkcompat: Add pygtk compatible GenericTreeModel implementation
9964 Add Python implementation of the GenericTreeModel that was
9965 available in pygtk. The implementation attempts a better job
9966 than the original at ref counting by guaranteeing no leaks
9967 upon deletion of the model itself. Or by using the extra "node"
9968 argument to the row_deleted signal. The model is available in
9969 the pygtkcompat package directly as
9970 pygtkcompat.generictreemodel.GenericTreeModel or with as
9971 gtk.GenericTreeModel when pygtkcompat.enable_gtk() is set.
9973 Add file list and tree demos making use of GenericTreeModel
9976 Auto-expand gtk-demo app tree to give a better overview of
9977 the demos available.
9979 https://bugzilla.gnome.org/show_bug.cgi?id=682933
9981 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 234 ++++++++++++
9982 .../gtk-demo/demos/Tree View/treemodel_filetree.py | 279 ++++++++++++++
9983 demos/gtk-demo/gtk-demo.py | 2 +-
9984 gi/pygtkcompat.py | 2 +-
9985 pygtkcompat/Makefile.am | 1 +
9986 pygtkcompat/generictreemodel.py | 420
9987 +++++++++++++++++++++
9988 pygtkcompat/pygtkcompat.py | 3 +
9989 tests/Makefile.am | 1 +
9990 tests/test_generictreemodel.py | 406
9991 ++++++++++++++++++++
9992 9 files changed, 1346 insertions(+), 2 deletions(-)
9994 commit 871878c7a1e18fbdbf0744e0dd52cbcc6b610cdb
9995 Author: Simon Feltman <sfeltman@src.gnome.org>
9996 Date: Mon Feb 18 02:54:14 2013 -0800
9998 overrides: Add support for iterables besides tuples for TreePath
10001 Allow Gtk.TreePath to accept any iterable for creation of the path.
10003 https://bugzilla.gnome.org/show_bug.cgi?id=682933
10005 gi/overrides/Gtk.py | 2 +-
10006 1 file changed, 1 insertion(+), 1 deletion(-)
10008 commit 93c1536b45f56c20b6d874c41c4cacd2b6cdca0a
10009 Author: Simon Feltman <sfeltman@src.gnome.org>
10010 Date: Fri Feb 15 22:56:29 2013 -0800
10012 Unify Python callable to GClosure GI marshaling code
10014 Add pygi_marshal_from_py_gclosure which can be used for direct
10016 call args and vfunc out args.
10018 https://bugzilla.gnome.org/show_bug.cgi?id=693405
10020 gi/pygi-argument.c | 14 +-----------
10021 gi/pygi-marshal-from-py.c | 55
10022 ++++++++++++++++++++++++++++-------------------
10023 gi/pygi-marshal-from-py.h | 3 +++
10024 3 files changed, 37 insertions(+), 35 deletions(-)
10026 commit 9e47afe459df942d9ffc4f71b39f1443976293df
10027 Author: Simon Feltman <sfeltman@src.gnome.org>
10028 Date: Fri Feb 15 20:56:12 2013 -0800
10030 Unify Python object to GValue GI marshaling code
10032 Add pygi_marshal_from_py_g_value which can be used for direct
10034 call args and vfunc out args. The new method also adds an
10036 parameter that will be used to fix leaks in the future.
10038 https://bugzilla.gnome.org/show_bug.cgi?id=693405
10040 gi/pygi-argument.c | 43 +++++++--------------------
10041 gi/pygi-marshal-from-py.c | 74
10042 ++++++++++++++++++++++++++++++++---------------
10043 gi/pygi-marshal-from-py.h | 5 ++++
10044 3 files changed, 65 insertions(+), 57 deletions(-)
10046 commit 15cd7be5ad80e2411d6c13b04f5e2c33e4f5605e
10047 Author: Simon Feltman <sfeltman@src.gnome.org>
10048 Date: Fri Feb 15 23:07:57 2013 -0800
10050 Rename pygi_marshal_from_py_object to make it more explicit
10052 Rename pygi_marshal_from_py_object to pygi_marshal_from_py_gobject
10053 to make it more explicit and give consistency with future refactoring.
10055 https://bugzilla.gnome.org/show_bug.cgi?id=693405
10057 gi/pygi-argument.c | 2 +-
10058 gi/pygi-marshal-from-py.c | 22 +++++++++++++---------
10059 gi/pygi-marshal-from-py.h | 6 +++---
10060 3 files changed, 17 insertions(+), 13 deletions(-)
10062 commit 84103dfabd05742d1a18729663a609e9bf7c45f8
10063 Author: Niklas Koep <niklas.koep@gmail.com>
10064 Date: Fri Feb 15 21:23:01 2013 -0800
10066 Prefix __module__ attribute of function objects with gi.repository
10068 This allows gi module methods to work with pydoc and help().
10069 Additionally correct typo in two docstrings of the same module.
10071 Co-authored-by: Simon Feltman <sfeltman@src.gnome.org>
10073 https://bugzilla.gnome.org/show_bug.cgi?id=693839
10075 gi/overrides/__init__.py | 3 ++-
10076 gi/types.py | 6 +++---
10077 2 files changed, 5 insertions(+), 4 deletions(-)
10079 commit f6d4d2da676ae63d7a24dd172775b488ce665fe4
10080 Author: Jonathan Ballet <jon@multani.info>
10081 Date: Thu Feb 14 07:50:02 2013 +0100
10083 configure.ac: only enable code coverage when available
10085 When building with an older gnome-common which does not yet provide
10087 coverage support, disable it instead of breaking the configure script.
10089 https://bugzilla.gnome.org/show_bug.cgi?id=693328
10091 configure.ac | 10 +++++++++-
10092 1 file changed, 9 insertions(+), 1 deletion(-)
10094 commit 42cbff60e2032f715d9be6ab280954211899e03c
10095 Author: Jonathan Ballet <jon@multani.info>
10096 Date: Tue Feb 12 23:03:00 2013 +0100
10098 Correctly set properties on object with statically defined properties
10100 Fix failures in GObject.Object.set_properties() when used with
10101 statically defined properties:
10103 * Calling the method was raising a "SystemError: error return without
10104 exception set" since `result` was (most of the time) still NULL at the
10105 end of pygobject_set_properties()
10107 * Calling the method with several properties would only set one of
10108 the properties, since the function was exiting too early.
10110 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
10112 https://bugzilla.gnome.org/show_bug.cgi?id=693618
10114 gi/_gobject/pygobject.c | 19 +++++++++++--------
10115 tests/test_gi.py | 6 ++++++
10116 2 files changed, 17 insertions(+), 8 deletions(-)
10118 commit 2384769810a61d6ed08d8742b7ae976ebfaa8cb5
10119 Author: Martin Pitt <martinpitt@gnome.org>
10120 Date: Mon Feb 11 18:08:37 2013 +0100
10122 autogen.sh: Use gnome-autogen.sh
10124 We depend on gnome-common now anyway, so use gnome-autogen.sh. This
10126 in a much better error message when gnome-common is not installed,
10129 https://bugzilla.gnome.org/show_bug.cgi?id=693328
10131 autogen.sh | 30 +++++++++++++++++-------------
10132 1 file changed, 17 insertions(+), 13 deletions(-)
10134 commit c107bb1f9275a748b494d3f32818f227e07cadf0
10135 Author: Christoph Reiter <christoph.reiter@gmx.at>
10136 Date: Mon Feb 11 10:07:47 2013 +0100
10138 GTK tests: Add and use context manager for realized widgets
10140 https://bugzilla.gnome.org/show_bug.cgi?id=693377
10142 tests/test_overrides_gtk.py | 91
10143 +++++++++++++++++++++++++--------------------
10144 1 file changed, 50 insertions(+), 41 deletions(-)
10146 commit e6670ee26b7682e6213f71deef813ce2e7cd6730
10147 Author: Martin Pitt <martinpitt@gnome.org>
10148 Date: Mon Feb 11 08:55:19 2013 +0100
10150 _pygi_marshal_from_py_array: Fix uninitialized variable
10152 gi/pygi-marshal-from-py.c | 2 +-
10153 1 file changed, 1 insertion(+), 1 deletion(-)
10155 commit a37bfdcb3d9dcc8bcdd8126ad55d80fab4729c62
10156 Author: Christoph Reiter <christoph.reiter@gmx.at>
10157 Date: Mon Feb 11 08:34:42 2013 +0100
10159 Skip some vfunc tests with gi 1.34
10161 https://bugzilla.gnome.org/show_bug.cgi?id=693374
10163 tests/test_object_marshaling.py | 14 ++++++++++++++
10164 1 file changed, 14 insertions(+)
10166 commit aff2ea1b681c3019f7dbdc841c2e33de78dbb88f
10167 Author: Simon Feltman <sfeltman@src.gnome.org>
10168 Date: Sun Feb 10 13:40:45 2013 -0800
10170 Remove workaround for g_struct_info_get_size reporting incorrect size
10172 Remove workaround for g_struct_info_get_size reporting incorrect size
10173 for boxed GValues. Verified this now returns the correct size of 24.
10175 https://bugzilla.gnome.org/show_bug.cgi?id=622711
10177 gi/pygi-boxed.c | 31 +++++++++++++------------------
10178 1 file changed, 13 insertions(+), 18 deletions(-)
10180 commit 5efe2e5c8458d9f4d72329ea1209d96b5ebecfb4
10181 Author: Simon Feltman <sfeltman@src.gnome.org>
10182 Date: Mon Feb 4 20:50:10 2013 -0800
10184 Fix reference leaks with transient floating objects
10186 Unify and refactor caller and callee GObject argument marshalers.
10187 Combine code from the large switch statement used to marshal
10188 arguments to and from vfuncs/closures with the marshalers used
10189 for direct calls to gi functions. This fixes a reference leak
10190 when marshalling GObjects to Python with transfer=full due to
10191 the diverging code paths.
10192 Replace ability in gobject_new_full to optionally sink objects
10193 with ability to optionaly "steal" objects. This fits the premise
10194 that binding layers should always sink objects initially. The
10195 steal argument is then used for marshalling arguments which are
10197 Add hacks and comments to work around GTK+ bugs 693393 and 693400.
10199 https://bugzilla.gnome.org/show_bug.cgi?id=687522
10201 gi/_gobject/gobjectmodule.c | 10 +++++--
10202 gi/_gobject/pygobject-private.h | 2 +-
10203 gi/_gobject/pygobject.c | 45 ++++++++++++++++++++----------
10204 gi/_gobject/pygobject.h | 8 ++++--
10205 gi/pygi-argument.c | 52 +++++++++++++++++------------------
10206 gi/pygi-marshal-from-py.c | 61
10207 +++++++++++++++++++++++++++++++++++++----
10208 gi/pygi-marshal-from-py.h | 6 ++++
10209 gi/pygi-marshal-to-py.c | 45 +++++++++++++++---------------
10210 gi/pygi-marshal-to-py.h | 5 ++++
10211 tests/test_object_marshaling.py | 44 ++++++++++++++---------------
10212 10 files changed, 181 insertions(+), 97 deletions(-)
10214 commit bd54b8ab30fc957849e7f57e9ee4c4b41aa37013
10215 Author: Simon Feltman <sfeltman@src.gnome.org>
10216 Date: Wed Feb 6 12:56:44 2013 -0800
10218 tests: Fix spelling mistakes in new vfunc object marshalling tests
10220 tests/test_object_marshaling.py | 12 ++++++------
10221 1 file changed, 6 insertions(+), 6 deletions(-)
10223 commit cd96fd8b8e10add9890f36ec237bb78548de7002
10224 Author: Martin Pitt <martinpitt@gnome.org>
10225 Date: Tue Feb 5 07:53:38 2013 +0100
10227 configure.ac: post-release bump to 3.7.6
10229 configure.ac | 2 +-
10230 1 file changed, 1 insertion(+), 1 deletion(-)
10232 commit 92b1404e61f46348168f32720eff4a482531e5e3
10233 Author: Martin Pitt <martinpitt@gnome.org>
10234 Date: Tue Feb 5 07:46:46 2013 +0100
10239 configure.ac | 2 +-
10240 2 files changed, 4 insertions(+), 1 deletion(-)
10242 commit a3a30559240077194f23c4651d6f382fa59b7d63
10243 Author: Simon Feltman <sfeltman@src.gnome.org>
10244 Date: Mon Feb 4 15:16:37 2013 -0800
10246 Fix API break with pygobject.h
10248 Move pygobject_new_full after everything in the public API table.
10249 This fixes a break that went in along with bug 675726.
10251 https://bugzilla.gnome.org/show_bug.cgi?id=675726
10253 gi/_gobject/gobjectmodule.c | 5 +++--
10254 gi/_gobject/pygobject.h | 2 +-
10255 2 files changed, 4 insertions(+), 3 deletions(-)
10257 commit b3ca7e27494c35620995840d777037a097082661
10258 Author: Martin Pitt <martinpitt@gnome.org>
10259 Date: Mon Feb 4 19:53:26 2013 +0100
10261 configure.ac: post-release bump to 3.7.6
10263 configure.ac | 2 +-
10264 1 file changed, 1 insertion(+), 1 deletion(-)
10266 commit 77f638411314218748f349b337a36e2864eed1f4
10267 Author: Martin Pitt <martinpitt@gnome.org>
10268 Date: Mon Feb 4 19:37:14 2013 +0100
10272 NEWS | 24 ++++++++++++++++++++++++
10273 1 file changed, 24 insertions(+)
10275 commit 50da4fca1435f8c27072e15875227c5e7fb9b7e4
10276 Author: Simon Feltman <sfeltman@src.gnome.org>
10277 Date: Sun Feb 3 23:56:14 2013 -0800
10279 Fix pointer cast warning that was missed in bug 675726
10281 https://bugzilla.gnome.org/show_bug.cgi?id=675726
10283 gi/_gobject/pygobject.h | 2 +-
10284 1 file changed, 1 insertion(+), 1 deletion(-)
10286 commit b31d8a952cd57dc92b06a381e054199660a2d570
10287 Author: Simon Feltman <sfeltman@src.gnome.org>
10288 Date: Thu Jan 31 02:35:36 2013 -0800
10290 Move various signal methods from static bindings to gi and python
10292 Move disconnect, handler_is_connected, handler_block, handler_unblock,
10293 and stop_emission from static to gi python overrides.
10295 https://bugzilla.gnome.org/show_bug.cgi?id=692918
10297 gi/_gobject/pygobject.c | 90
10298 -------------------------------------------------
10299 gi/overrides/GObject.py | 44 +++++++++++++++++-------
10300 tests/test_signal.py | 19 ++++++-----
10301 3 files changed, 42 insertions(+), 111 deletions(-)
10303 commit 3a6a4a7a21a0f5e851518b7912d8ff455aa3ede4
10304 Author: Paolo Borelli <pborelli@gnome.org>
10305 Date: Fri Feb 1 21:09:26 2013 +0100
10307 GLib overrides: Support unpacking 'maybe' variants
10309 Automatically unpack 'maybe' variants to None or to their actual value
10310 as we do for other kind of variants
10312 https://bugzilla.gnome.org/show_bug.cgi?id=693032
10314 gi/overrides/GLib.py | 5 +++++
10315 tests/test_overrides_glib.py | 8 ++++++++
10316 2 files changed, 13 insertions(+)
10318 commit 9bc3e6807f6c14fb0e132a90ff8f9984229896f6
10319 Author: Mike Gorse <mgorse@suse.com>
10320 Date: Mon Jan 21 16:45:52 2013 -0600
10322 Fix ref count leak when creating pygobject wrappers for input args
10324 Only sink input references for closures and vfuncs when transfer is
10325 everything. This fixes cases where incoming floating references for
10326 callbacks need to maintain their floating state throughout the
10327 callback so they don't leak a strong reference. Re-introduce a
10328 working "sink" argument to pygobject_new_full which allows for this.
10329 Change existing callers to always sink in order maintain behavior.
10331 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
10333 https://bugzilla.gnome.org/show_bug.cgi?id=675726
10335 gi/_gobject/gobjectmodule.c | 5 +--
10336 gi/_gobject/pygobject.c | 7 ++--
10337 gi/_gobject/pygobject.h | 2 ++
10338 gi/pygi-argument.c | 13 +++----
10339 tests/test_object_marshaling.py | 76
10340 +++++++++++++++++++++++++++++++++++++----
10341 5 files changed, 85 insertions(+), 18 deletions(-)
10343 commit a53a9176a3f87cfb26f3ad98ea746ada0f1a39fa
10344 Author: Simon Feltman <sfeltman@src.gnome.org>
10345 Date: Thu Jan 31 01:50:44 2013 -0800
10347 Add tests for signal stop_emission, disconnect, and
10348 handler_is_connected
10350 Add tests for methods which will be moving from static bindings to gi
10351 by using the new __gpointer__ attribute of GObject.
10353 https://bugzilla.gnome.org/show_bug.cgi?id=692918
10355 tests/test_signal.py | 51
10356 ++++++++++++++++++++++++++++++++++++++++++++++++++-
10357 1 file changed, 50 insertions(+), 1 deletion(-)
10359 commit df18f9cc3828d1bcf6b6cdf26af786fd9f36d77e
10360 Author: Simon Feltman <sfeltman@src.gnome.org>
10361 Date: Wed Jan 30 21:37:07 2013 -0800
10363 Add __gpointer__ property to GObject static binding
10365 Add access to the underlying C GObject pointer by wrapping it in a
10366 PyCapsule/PyCPointer and exposing it as __gpointer__.
10367 Add special case marshaling for gi parameters annotated as gpointer
10368 to accept a PyCapsule and extract the underlying pointer as the arg.
10369 This allows usage of methods like GObject.signal_handler_disconnect
10370 which we can start replacing the static bindings with.
10372 https://bugzilla.gnome.org/show_bug.cgi?id=692918
10374 gi/_gobject/pygobject.c | 11 +++++++++--
10375 gi/pygi-marshal-from-py.c | 6 +++++-
10376 2 files changed, 14 insertions(+), 3 deletions(-)
10378 commit 571e0cb246baa4ef7db179b20da6b325f358fe5b
10379 Author: Simon Feltman <sfeltman@src.gnome.org>
10380 Date: Sun Jan 27 01:22:37 2013 -0800
10382 Prefix names of typeless enums and flags for GType registration
10384 Prefix names given to g_flags_register_static and
10385 g_enum_register_static
10386 with "Py". This avoids conflicts with GTypes of the same name being
10387 registered later by a library which does not provide a "get-type"
10390 https://bugzilla.gnome.org/show_bug.cgi?id=692515
10392 gi/gimodule.c | 10 ++++++++--
10393 tests/test_gi.py | 4 ++--
10394 2 files changed, 10 insertions(+), 4 deletions(-)
10396 commit 97f48f5dcabc8dad4480727a78416b1c2a220777
10397 Author: Simon Feltman <sfeltman@src.gnome.org>
10398 Date: Wed Jan 30 04:35:32 2013 -0800
10400 Add tests for vfunc object arguments and returns
10402 Add tests which use different combinations of floating, transfer full,
10403 transfer none, and held wrapper as in, out, or return arguments
10405 Most of these are marked as skip or expectedFailure due to various
10407 noted on the tests.
10409 https://bugzilla.gnome.org/show_bug.cgi?id=687522
10411 gi/overrides/GObject.py | 15 +-
10412 tests/test_object_marshaling.py | 540
10413 ++++++++++++++++++++++++++++++++++++++++
10414 2 files changed, 550 insertions(+), 5 deletions(-)
10416 commit 73a83186329ede7702501d5bc49df269482461e4
10417 Author: Paolo Borelli <pborelli@gnome.org>
10418 Date: Wed Jan 30 17:48:12 2013 +0100
10420 Cosmetic fix to last patch
10422 gi/pygi-argument.c | 7 +++++--
10423 1 file changed, 5 insertions(+), 2 deletions(-)
10425 commit 9e0c41509d62e8df7d0d82608a8be75f3defe05c
10426 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
10427 Date: Fri Jan 25 13:05:18 2013 +0800
10429 gi/pygi-info.c, gi/pygi-repository.c: Deal with C99isms
10431 Drop the array forward static declarations. They are not necessary
10435 Also move declarations of variables to the top of their respective
10438 https://bugzilla.gnome.org/show_bug.cgi?id=692856
10440 gi/pygi-info.c | 18 ++++++++++--------
10441 gi/pygi-repository.c | 2 --
10442 2 files changed, 10 insertions(+), 10 deletions(-)
10444 commit 2e7c458ef6377a872043634b47737ef12eed744a
10445 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
10446 Date: Fri Jan 25 13:00:48 2013 +0800
10448 Move variable declaration to top of blocks (C99ism)
10450 Move variable declarations to the top of their respective blocks,
10452 code will build under C89 compilers such as Visual C++.
10454 https://bugzilla.gnome.org/show_bug.cgi?id=692856
10456 gi/pygi-argument.c | 10 ++++++----
10457 gi/pygi-closure.c | 23 +++++++++++++++--------
10458 gi/pygi-invoke.c | 3 ++-
10459 gi/pygi-marshal-cleanup.c | 3 ++-
10460 gi/pygi-property.c | 3 ++-
10461 5 files changed, 27 insertions(+), 15 deletions(-)
10463 commit 20fc5aa7514215fc7807adceb603d17f7943304a
10464 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
10465 Date: Fri Jan 25 12:58:26 2013 +0800
10467 gi/pygobject-external.h: Remove GCCism
10469 We can use G_GNUC_UNUSED from GLib that does the same purpose of
10470 __attribute__ ( (unused)) when we are using a GCC that provides this.
10472 The GLib headers that defines that macro should have already been
10474 before this header is included (due to use of gboolean).
10476 https://bugzilla.gnome.org/show_bug.cgi?id=692856
10478 gi/pygobject-external.h | 2 +-
10479 1 file changed, 1 insertion(+), 1 deletion(-)
10481 commit 5d2f453f3fdb167a4b4a833011ae777bfd228eb9
10482 Author: Martin Pitt <martinpitt@gnome.org>
10483 Date: Wed Jan 30 14:59:11 2013 +0100
10485 tests: Update test_double() after e65c1248
10487 Commit e65c1248 introduced support for NaN and ±inf as valid
10489 rendering the "expect ValueError on 2*double" check broken. Just
10492 tests/test_everything.py | 1 -
10493 1 file changed, 1 deletion(-)
10495 commit b8bf4ec6c2478275dc9c813946a90b82ded6d9ce
10496 Author: Martin Pitt <martinpitt@gnome.org>
10497 Date: Wed Jan 23 07:14:16 2013 +0100
10499 Do not immediately initialize Gdk and Gtk on import
10501 Raising an exception if Gdk/Gtk cannot be imported makes it
10503 merely import a module for e. g. nosetests without actually running
10506 Programs who want to provide a proper error message should check
10507 Gtk.initialized explicitly after importing. Check initialized
10509 Window.__init__() instead to provide a reasonably early error message
10513 https://bugzilla.gnome.org/show_bug.cgi?id=692300
10515 gi/overrides/Gdk.py | 2 --
10516 gi/overrides/Gtk.py | 5 +++--
10517 2 files changed, 3 insertions(+), 4 deletions(-)
10519 commit 93d5cc2986cb3d3d979694b1beb1719d2d8fed53
10520 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
10521 Date: Fri Jan 25 12:49:18 2013 +0800
10523 gi/overrides/Glib.py: Fix running on Windows/non-Unix
10525 The definition of self._signal_source uses a Unix-specific GLib
10527 does not exist or have a direct equivilant on Windows.
10529 Only define and use that variable when we aren't on Windows.
10531 gi/overrides/GLib.py | 18 ++++++++++--------
10532 1 file changed, 10 insertions(+), 8 deletions(-)
10534 commit e65c124893ceaa9c97eb4c8c743fbeb756b9a6e6
10535 Author: Martin Pitt <martinpitt@gnome.org>
10536 Date: Wed Jan 23 14:56:02 2013 +0100
10538 Accept ±inf and NaN as float and double values
10540 Also fix the broken error message when a float value is out of range.
10541 PyErr_Format() does not support float macros.
10543 https://bugzilla.gnome.org/show_bug.cgi?id=692381
10545 gi/pygi-marshal-from-py.c | 37 +++++++++++++++++++------------------
10546 tests/test_gobject.py | 14 ++++++++++++++
10547 2 files changed, 33 insertions(+), 18 deletions(-)
10549 commit a52245381fab3c2aebd330cc9c5e717a93c9607d
10550 Author: Martin Pitt <martinpitt@gnome.org>
10551 Date: Wed Jan 23 14:28:42 2013 +0100
10553 Fix repr() of GLib.Variant
10555 When using a standard constructor like GLib.Variant.new_*(), the
10557 not have a format_string property, and previously repr() would
10559 to get_type_string() instead.
10561 Also drop the unintended type annotations in repr().
10563 gi/overrides/GLib.py | 6 +++++-
10564 tests/test_overrides_glib.py | 15 ++++++++++++++-
10565 2 files changed, 19 insertions(+), 2 deletions(-)
10567 commit 2270cf15012005362dc47456213c5d9e7f6ed28a
10568 Author: Martin Pitt <martinpitt@gnome.org>
10569 Date: Wed Jan 23 14:14:29 2013 +0100
10571 Fix gtk-demo for Python 3
10573 It was crashing with
10575 package = __import__(packagename, globals(), locals(),
10577 ValueError: level must be >= 0
10579 Using level zero works with both Python 2 and 3.
10581 demos/gtk-demo/gtk-demo.py | 2 +-
10582 1 file changed, 1 insertion(+), 1 deletion(-)
10584 commit b24d07577da1e17c8e27f758fc1a23d7f2d0f668
10585 Author: Colin Walters <walters@verbum.org>
10586 Date: Tue Jan 22 10:49:57 2013 -0500
10588 build: Add autogen.sh to EXTRA_DIST
10590 So downstreams that patch the autotools can use it.
10593 1 file changed, 1 insertion(+)
10595 commit ed7fb99efa81854d947ae548d41a03f5275c5884
10596 Author: Martin Pitt <martinpitt@gnome.org>
10597 Date: Thu Jan 17 08:23:02 2013 +0100
10599 Define GObject.TYPE_VALUE gtype constant
10601 gi/overrides/GObject.py | 4 +++-
10602 tests/test_gobject.py | 4 ++++
10603 2 files changed, 7 insertions(+), 1 deletion(-)
10605 commit fd32acdd97f49f086a8ad5cf2b65862c4e6ccc44
10606 Author: Olivier Crête <olivier.crete@collabora.com>
10607 Date: Mon Sep 17 15:37:04 2012 -0400
10609 gobject: Go through introspection on property setting
10611 Consider introspected properties in object.set_property().
10613 https://bugzilla.gnome.org/show_bug.cgi?id=684062
10615 gi/_gobject/pygobject.c | 18 +++++++++++++++++-
10616 tests/test_properties.py | 13 ++++++++++---
10617 2 files changed, 27 insertions(+), 4 deletions(-)
10619 commit 9a2060f26c2cc2f9ef79ab6fb9f512c317004856
10620 Author: Mike Gorse <mgorse@suse.com>
10621 Date: Tue Jan 15 20:04:46 2013 -0600
10623 Clean up caller-allocated GValues and their memory
10625 When space for a GValue is allocated by the caller (as in
10626 gtk_tree_model_get_value), we need to free the space allocated for the
10627 value along with its contents. The GValue is not needed after
10628 Pyg_value_as_pyobject is called, so call _cleanup_caller_allocates and
10629 have it unset the value and deallocate the memory.
10631 https://bugzilla.gnome.org/show_bug.cgi?id=691820
10633 gi/pygi-marshal-cleanup.c | 20 ++++++++++++++++++--
10634 1 file changed, 18 insertions(+), 2 deletions(-)
10636 commit 45b7975d0a3d78f01f1112ae7b3f4208f15694d8
10637 Author: Dmitry Shachnev <mitya57@ubuntu.com>
10638 Date: Wed Jan 16 13:44:42 2013 +0400
10640 tests: define correct unittest.skipIf for python 2.6
10642 tests/runtests.py | 2 +-
10643 1 file changed, 1 insertion(+), 1 deletion(-)
10645 commit 4706cd686ea1b25260c9ecc77abd324d6e4cf505
10646 Author: Martin Pitt <martinpitt@gnome.org>
10647 Date: Wed Jan 16 09:17:13 2013 +0100
10649 tests: More robust tree view realization
10651 With current GNOME git head, the Gtk.TreeViews were not realized
10653 more to receive property values. Put them into a Gtk.Dialog now and
10655 ensure that they are realized.
10657 tests/test_overrides_gtk.py | 16 ++++++++++------
10658 1 file changed, 10 insertions(+), 6 deletions(-)
10660 commit 90c6f596df2a96f9c8059ae9157bc467a80b7574
10661 Author: Martin Pitt <martinpitt@gnome.org>
10662 Date: Tue Jan 15 10:42:49 2013 +0100
10664 Drop deprecated g_thread_create()
10666 Replace with g_thread_new(). This is available with glib >= 2.32,
10668 already require >= 2.34.
10670 tests/test-thread.c | 3 +--
10671 1 file changed, 1 insertion(+), 2 deletions(-)
10673 commit 98504273dead9eade6e53c2297bcaec7bea6265a
10674 Author: Martin Pitt <martinpitt@gnome.org>
10675 Date: Tue Jan 15 10:37:52 2013 +0100
10677 Drop usage of deprecated GStaticPrivate
10679 Replace with GPrivate.
10681 gi/_gobject/gobjectmodule.c | 6 +++---
10682 1 file changed, 3 insertions(+), 3 deletions(-)
10684 commit 655e2eece14f5de3baf4505f524d17484b8b5a75
10685 Author: Martin Pitt <martinpitt@gnome.org>
10686 Date: Tue Jan 15 10:29:47 2013 +0100
10688 Don't call g_type_init() with glib >= 2.35.x
10690 This fixes a deprecation warning.
10692 gi/_gobject/gobjectmodule.c | 2 ++
10693 1 file changed, 2 insertions(+)
10695 commit 206e736380ba798c68de09f661d75c8e27451117
10696 Author: Martin Pitt <martinpitt@gnome.org>
10697 Date: Tue Jan 15 09:47:11 2013 +0100
10699 Use GNOME_COMPILE_WARNINGS from gnome-common
10701 As we are now using gnome-common anyway for the code coverage macro,
10703 GNOME_COMPILE_WARNINGS, and only manually specify the extra options
10707 This also enables -Wstrict-prototypes.
10709 configure.ac | 14 ++++----------
10710 1 file changed, 4 insertions(+), 10 deletions(-)
10712 commit 137679426ff39507e15f08e9e6428d851fee06b7
10713 Author: Martin Pitt <martinpitt@gnome.org>
10714 Date: Tue Jan 15 09:46:01 2013 +0100
10716 Fix function prototypes and static functions
10718 These cause errors/warnings with -Wstrict-prototypes.
10720 gi/_glib/pyglib-python-compat.h | 2 ++
10721 gi/pygi-foreign.c | 2 +-
10722 gi/pygi-marshal-from-py.c | 4 ++--
10723 gi/pygi-marshal-to-py.c | 4 ++--
10724 gi/pygi-source.c | 2 +-
10725 gi/pygi-source.h | 2 +-
10726 6 files changed, 9 insertions(+), 7 deletions(-)
10728 commit d47927f1701a11aec8566425f22688c5df73d7f2
10729 Author: Martin Pitt <martinpitt@gnome.org>
10730 Date: Mon Jan 14 17:38:23 2013 +0100
10732 configure.ac: post-release bump to 3.7.5
10734 configure.ac | 2 +-
10735 1 file changed, 1 insertion(+), 1 deletion(-)
10737 commit bd6da84a4aec74e47f5d70e8ed18695c37e746c6
10738 Author: Martin Pitt <martinpitt@gnome.org>
10739 Date: Mon Jan 14 17:30:48 2013 +0100
10743 NEWS | 38 ++++++++++++++++++++++++++++++++++++++
10744 1 file changed, 38 insertions(+)
10746 commit c90ef9dfac7dd51ec82c99c3605915996bea0f73
10747 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
10748 Date: Tue Dec 4 15:45:00 2012 +0200
10750 Allow setting values through GtkTreeModelFilter
10752 Previously, trying to set a value through filter throwed an exception
10754 model has no set_value() method. You had to first retrieve the
10756 model and set value to it.
10758 https://bugzilla.gnome.org/show_bug.cgi?id=689624
10760 gi/overrides/Gtk.py | 5 +++++
10761 tests/test_overrides_gtk.py | 11 +++++++++++
10762 2 files changed, 16 insertions(+)
10764 commit b092630efc691a6f7ae94ae896193254f5a961a6
10765 Author: Martin Pitt <martinpitt@gnome.org>
10766 Date: Mon Jan 14 12:37:18 2013 +0100
10768 tests: Add (failing) test case for GParamSpec arguments
10771 https://bugzilla.gnome.org/show_bug.cgi?id=682355
10773 tests/test_gi.py | 9 +++++++++
10774 1 file changed, 9 insertions(+)
10776 commit 52d84b5da7f9fd4f65faea4e6fe3d250f937a208
10777 Author: Martin Pitt <martinpitt@gnome.org>
10778 Date: Mon Jan 14 12:20:27 2013 +0100
10780 tests: Skip struct string member tests with g-i 1.34
10782 We still support building against gobject-introspection 1.34, so
10784 which do not work with that version yet.
10786 tests/test_gi.py | 8 ++++++++
10787 1 file changed, 8 insertions(+)
10789 commit f9429192cb1002725a11a75a7b8f9300375b9caf
10790 Author: Martin Pitt <martinpitt@gnome.org>
10791 Date: Mon Jan 14 12:15:27 2013 +0100
10793 Support GParamSpec signal arguments from Python
10795 In pyg_value_from_pyobject(), recognize both the real GI
10796 GObject.ParamSpec type
10797 as well as the statically wrapped _gobject.GParamSpec type.
10799 This fixes marshalling GObject.ParamSpec signal/vfunc arguments.
10801 https://bugzilla.gnome.org/show_bug.cgi?id=683099
10803 gi/_gobject/pygtype.c | 6 +++++-
10804 tests/test_signal.py | 12 ++++++++++++
10805 tests/testhelpermodule.c | 13 +++++++++++++
10806 3 files changed, 30 insertions(+), 1 deletion(-)
10808 commit 99f72925c7de76611f7592bce9d8217a9ff46809
10809 Author: Martin Pitt <martinpitt@gnome.org>
10810 Date: Mon Jan 14 11:48:11 2013 +0100
10812 pygobject_emit(): Fix cleanup on error
10814 Dot not try to unset GValues which have not been initialized yet,
10816 conversion fails for a parameter.
10818 gi/_gobject/pygobject.c | 8 ++++----
10819 1 file changed, 4 insertions(+), 4 deletions(-)
10821 commit acef1d3266d11b2465d61185a55526df879a5c62
10822 Author: Simon Feltman <sfeltman@src.gnome.org>
10823 Date: Mon Dec 31 19:01:57 2012 -0800
10825 Add signal emission methods to TreeModel which coerce the path
10828 Override TreeModel row_changed, row_inserted, row_has_child_toggled,
10829 row_deleted, and rows_reordered methods to accept python iterables as
10830 the path parameter. This is for compatibility with pygtk and
10832 with the rest of the TreeModel and TreePath overrides.
10834 https://bugzilla.gnome.org/show_bug.cgi?id=682933
10836 gi/overrides/Gtk.py | 31 ++++++++++++++++++++++++++++---
10837 tests/test_overrides_gtk.py | 27 +++++++++++++++++++++++++++
10838 2 files changed, 55 insertions(+), 3 deletions(-)
10840 commit 9cfba517e1a6dced5e66786b28ed5e101b7b4a29
10841 Author: Martin Pitt <martinpitt@gnome.org>
10842 Date: Mon Jan 14 10:36:36 2013 +0100
10844 Simplify overrides and tests using the new GObject.Value override
10846 The previous commit added support for constructing a GObject.Value
10848 GType and Python object conversion. Use this to simplify the Gtk
10850 the tests that construct GValues.
10852 See https://bugzilla.gnome.org/show_bug.cgi?id=677473
10854 gi/overrides/Gtk.py | 88
10855 +++------------------------------------------
10856 tests/test_gi.py | 26 +++++---------
10857 tests/test_overrides_gtk.py | 2 +-
10858 tests/test_signal.py | 12 ++-----
10859 4 files changed, 17 insertions(+), 111 deletions(-)
10861 commit f62b98398177991bfdbe0b6753342e79e6cf170a
10862 Author: Bastian Winkler <buz@netbuz.org>
10863 Date: Mon Jan 14 10:26:08 2013 +0100
10865 Add override for GValue
10867 Override GValue with a custom constructor and set_value()/get_value()
10868 methods. This allows you to call
10870 >>> GObject.Value(GObject.TYPE_FLOAT, 42.23)
10874 >>> value = GObject.Value()
10875 >>> value.init(GObject.TYPE_FLOAT)
10876 >>> value.set_float(42.23)
10878 This is especially useful for overrides that need to convert a Python
10879 value to a expected type like G_TYPE_FLOAT.
10881 https://bugzilla.gnome.org/show_bug.cgi?id=677473
10883 gi/overrides/GObject.py | 127
10884 +++++++++++++++++++++++++++++++++++++++++++++++-
10885 tests/test_gobject.py | 47 +++++++++++++++++-
10886 2 files changed, 172 insertions(+), 2 deletions(-)
10888 commit dc3d21173b75232f7ea0b9913f7309486456a69d
10889 Author: Mike Gorse <mgorse@suse.com>
10890 Date: Thu Jan 10 15:48:30 2013 -0600
10892 Mark caller-allocated boxed structures as having a slice allocated
10894 When a C function takes a pointer and fills it with a boxed structure
10896 gtk_tree_store_insert_with_values), pygi should deallocate the slice
10898 box is no longer being used.
10900 https://bugzilla.gnome.org/show_bug.cgi?id=699501
10902 gi/pygi-marshal-to-py.c | 4 +++-
10903 1 file changed, 3 insertions(+), 1 deletion(-)
10905 commit 0c496d230fee7fd3ada90ee9af10e0bc1e29ee12
10906 Author: Olivier Crête <olivier.crete@collabora.com>
10907 Date: Fri Sep 14 21:31:32 2012 -0400
10909 pygi-property: Support boxed GSList/GList types
10911 Note that this does not yet work for construct properties.
10913 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
10915 https://bugzilla.gnome.org/show_bug.cgi?id=684059
10917 gi/pygi-property.c | 10 ++++++++--
10918 tests/test_gi.py | 21 +++++++++++++++++++++
10919 2 files changed, 29 insertions(+), 2 deletions(-)
10921 commit 074f10d815453e58f4bee2f440c5db799add3876
10922 Author: Martin Pitt <martinpitt@gnome.org>
10923 Date: Mon Jan 14 07:48:31 2013 +0100
10925 test_gio: Fix for Python 2
10927 Python 2 does not yet take an "encoding" argument for str(), while
10929 requires it. Use a less fancy static test string instead.
10931 tests/test_gio.py | 2 +-
10932 1 file changed, 1 insertion(+), 1 deletion(-)
10934 commit 734979d0c8317201148a7e94a323225fba2d1635
10935 Author: Martin Pitt <martinpitt@gnome.org>
10936 Date: Mon Jan 14 07:40:10 2013 +0100
10938 tests: Add missing backwards compat methods for Python 2.6
10940 Define skipIf(), assertLess(), and assertLessEqual() for running
10944 https://bugzilla.gnome.org/show_bug.cgi?id=691646
10946 tests/runtests.py | 17 +++++++++++++++++
10947 1 file changed, 17 insertions(+)
10949 commit dc0dafd1f6ca3ebbf04210768a45587387e44551
10950 Author: Martin Pitt <martinpitt@gnome.org>
10951 Date: Mon Jan 14 07:34:46 2013 +0100
10953 tests: Stop using assertSequenceEqual()
10955 assertSequenceEqual() does not yet exist in Python 2.6, and is
10957 either as assertEqual() on sequences automatically does list
10960 Part of https://bugzilla.gnome.org/show_bug.cgi?id=691646
10962 tests/test_gtype.py | 6 ++----
10963 tests/test_signal.py | 6 ++----
10964 2 files changed, 4 insertions(+), 8 deletions(-)
10966 commit 0a5587b6a56d417a6703e342f153596f08cd5889
10967 Author: Simon Feltman <sfeltman@src.gnome.org>
10968 Date: Sun Jan 13 18:19:51 2013 -0800
10970 Allow setting TreeModel values to None
10972 Change TreeModel.set_value to use an empty but initialized GValue when
10973 None is used as the value argument. This allows clearing of cell data
10974 which was not accessible due to auto-coercion.
10976 https://bugzilla.gnome.org/show_bug.cgi?id=684094
10978 gi/overrides/Gtk.py | 11 ++++++++---
10979 tests/test_overrides_gtk.py | 8 ++++++++
10980 2 files changed, 16 insertions(+), 3 deletions(-)
10982 commit 5ae129da436793478750f0dc9427a174a980e10b
10983 Author: Mike Gorse <mgorse@suse.com>
10984 Date: Thu Jan 10 16:42:17 2013 -0600
10986 Set clean-up handler for marshalled arrays
10988 Arrays did not have a cleanup handler set in some cases, resulting
10991 https://bugzilla.gnome.org/show_bug.cgi?id=691509
10993 gi/pygi-cache.c | 1 +
10994 1 file changed, 1 insertion(+)
10996 commit 58bd307c57d542a8f69867dea2d0a0eb51230c7b
10997 Author: Vadim Rutkovsky <vrutkovs@redhat.com>
10998 Date: Fri Jan 11 15:41:27 2013 +0100
11000 Support setting string fields in structs
11002 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
11004 https://bugzilla.gnome.org/show_bug.cgi?id=678401
11006 gi/pygi-info.c | 3 ++-
11007 tests/test_gi.py | 16 ++++++++++++++++
11008 2 files changed, 18 insertions(+), 1 deletion(-)
11010 commit f2bcaa43c1158040a8c2cbc3a2ba5070d126a410
11011 Author: Martin Pitt <martinpitt@gnome.org>
11012 Date: Fri Jan 11 14:58:44 2013 +0100
11014 Re-enable test_gi.TestPropertiesObject.test_char test
11016 The gobject-introspection bug got fixed:
11017 https://bugzilla.gnome.org/show_bug.cgi?id=691524
11019 tests/test_gi.py | 14 +++-----------
11020 1 file changed, 3 insertions(+), 11 deletions(-)
11022 commit 9a8c49087cf400e01c1f78241fa4d74b4d15f54e
11023 Author: Martin Pitt <martinpitt@gnome.org>
11024 Date: Fri Jan 11 09:46:56 2013 +0100
11026 tests: Re-enable test_callback_scope_call_array() check
11028 Drop the expected failure from test_callback_scope_call_array()
11030 the explicit array length arguments. While it would look cleaner to
11032 them, it is probably not worth breaking the API for this.
11034 tests/test_everything.py | 9 +++------
11035 1 file changed, 3 insertions(+), 6 deletions(-)
11037 commit 609636424b5f9b659e99a4bb53a48c165187c430
11038 Author: Martin Pitt <martinpitt@gnome.org>
11039 Date: Fri Jan 11 09:13:36 2013 +0100
11041 Permit plain integers for "gchar" values
11043 Similar to guchar/guint8, allow plain integers (withing correct
11045 values for gchar/gint8 types.
11047 This is covered by the test_gi.TestPropertiesObject.test_char
11049 removing the "expected failure" flag.
11051 gi/_gobject/pygtype.c | 16 ++++++++++++----
11052 1 file changed, 12 insertions(+), 4 deletions(-)
11054 commit a558d3d3a9274aeccfc54705bf5effdf71dee06b
11055 Author: Martin Pitt <martinpitt@gnome.org>
11056 Date: Fri Jan 11 09:09:41 2013 +0100
11058 Allow single byte values for int8 types
11060 When fixing gobject-introspection to consider "gchar" as signed (see
11061 https://bugzilla.gnome.org/show_bug.cgi?id=691524), we must also
11063 single-element "bytes" array as a valid value for int8, not just
11066 This is caught by the test_overrides_gtk.TestTreeModel.test_tree_store
11069 gi/pygi-argument.c | 4 ++--
11070 gi/pygi-marshal-from-py.c | 34 +++++++++++++++++++++-------------
11071 2 files changed, 23 insertions(+), 15 deletions(-)
11073 commit aa7f6cd12fe403acb2cffc7890724af7abb9b990
11074 Author: Mike Gorse <mgorse@suse.com>
11075 Date: Thu Jan 10 14:11:56 2013 -0600
11077 Fix invalid memory access handling errors when registering an
11080 Don't free the name until we are done with it.
11082 gi/gimodule.c | 8 ++++----
11083 1 file changed, 4 insertions(+), 4 deletions(-)
11085 commit ecd235959317d39b6d598662c00829e0ec717b17
11086 Author: Martin Pitt <martinpitt@gnome.org>
11087 Date: Thu Jan 10 16:42:46 2013 +0100
11089 Fix (out) arguments in callbacks
11091 Do not ignore the first argument in _pygi_closure_set_out_arguments().
11092 Presumably that has been done to skip over "self", but callbacks
11094 required to have a self argument. As self is never (out), we can
11098 gi/pygi-closure.c | 2 +-
11099 tests/test_gi.py | 4 ----
11100 2 files changed, 1 insertion(+), 5 deletions(-)
11102 commit d8e241e24a816691acbd592775b73defd9aa4f44
11103 Author: Martin Pitt <martinpitt@gnome.org>
11104 Date: Thu Jan 10 15:14:05 2013 +0100
11106 Fix C to Python marshalling of struct pointer arrays
11108 Do not treat an array of pointers to values like an array of values on
11109 marshalling from C. This makes the test_array_boxed_struct_return()
11113 gi/pygi-marshal-to-py.c | 5 +++--
11114 tests/test_gi.py | 2 --
11115 2 files changed, 3 insertions(+), 4 deletions(-)
11117 commit 60544b02f6f98c0b212625ae83b94a4c6debddeb
11118 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
11119 Date: Tue Jan 8 23:22:54 2013 +0200
11121 Add tests for GFile
11123 Most notably this commit contains a test for
11124 Gio.File.replace_contents_async(),
11125 which currently fails. Disable the tests for now as it breaks the
11128 https://bugzilla.gnome.org/show_bug.cgi?id=690525
11130 tests/test_gio.py | 64
11131 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
11132 1 file changed, 64 insertions(+)
11134 commit 118c5eaad045580455515876ba73b9537a8468b4
11135 Author: Martin Pitt <martinpitt@gnome.org>
11136 Date: Thu Jan 10 13:56:11 2013 +0100
11138 Rename test_overrides_gio.py to test_gio.py
11140 As we want to add more tests for non-overridden API.
11142 tests/Makefile.am | 2 +-
11143 tests/{test_overrides_gio.py => test_gio.py} | 0
11144 2 files changed, 1 insertion(+), 1 deletion(-)
11146 commit 8117e6bce73581e89211371708ff7d5de7d870d4
11147 Author: Martin Pitt <martinpitt@gnome.org>
11148 Date: Thu Jan 10 12:13:16 2013 +0100
11150 Don't let Property.setter() method names define property names
11152 Defining property names in install_properties() is too late when using
11153 @propname.setter decorators; their method names don't define a
11155 nor are they even required to be a valid property identifier.
11157 So change the logic to already fix the property name when using
11159 decorator and use that instead of the member name in
11160 install_properties().
11162 https://bugzilla.gnome.org/show_bug.cgi?id=688971
11164 gi/_gobject/propertyhelper.py | 29 ++++++++++++++++++++++-------
11165 tests/test_properties.py | 18 ++++++++++++++++++
11166 2 files changed, 40 insertions(+), 7 deletions(-)
11168 commit c0bd060521cc1b481995648dbe286b7e2f9ecd80
11169 Author: Martin Pitt <martinpitt@gnome.org>
11170 Date: Wed Jan 9 10:39:36 2013 +0100
11172 tests: Force UTF-8 file name encoding
11174 The test_gi.TestFilename tests fail if the environment specifies
11176 file name encoding. Force it to "UTF-8" for the tests.
11178 https://bugzilla.gnome.org/show_bug.cgi?id=691355
11180 tests/runtests.py | 1 +
11181 1 file changed, 1 insertion(+)
11183 commit c02a00ae9599a661076630b21b7e24e78fb88c29
11184 Author: Martin Pitt <martinpitt@gnome.org>
11185 Date: Tue Jan 8 16:56:40 2013 +0100
11187 Use g-i stack allocation API
11189 Where possible, i. e. when not keeping references across functions,
11191 _load_() methods instead of the _get_() ones from
11192 gobject-introspection, which
11193 is faster and less prone to memory leaks:
11195 g_callable_info_get_arg () → g_callable_info_load_arg ()
11196 g_callable_info_get_return_type() →
11197 g_callable_info_load_return_type ()
11198 g_arg_info_get_type() → g_arg_info_load_type ()
11200 https://bugzilla.gnome.org/show_bug.cgi?id=615982
11202 gi/pygi-argument.c | 16 ++++------
11203 gi/pygi-closure.c | 88
11204 ++++++++++++++++++++++++------------------------------
11205 2 files changed, 45 insertions(+), 59 deletions(-)
11207 commit 23d1f14f553069740465c82eaa937b877c41e0cb
11208 Author: Ray Strode <rstrode@redhat.com>
11209 Date: Wed Dec 19 13:04:32 2012 -0500
11211 pyg_value_from_pyobject: support GArray
11213 This commit adds support for marshalling a python list (or other
11215 returned from signal handlers to GArray, if necessary.
11217 This parallels the implementation written to marshal to (the now
11221 This fixes a crash in rhythmbox as seen downstream here:
11222 https://bugzilla.redhat.com/show_bug.cgi?id=872851
11224 https://bugzilla.gnome.org/show_bug.cgi?id=690514
11226 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
11228 gi/_gobject/pygtype.c | 60
11229 ++++++++++++++++++++++++++++++++++++++++++++++++
11230 tests/test_everything.py | 22 ++++++++++++++++++
11231 2 files changed, 82 insertions(+)
11233 commit 2089dbb117bae769b0303411c2630b6f86dc7d2d
11234 Author: Marko Lindqvist <cazfi74@gmail.com>
11235 Date: Fri Jan 4 07:01:29 2013 +0100
11237 Fix obsolete automake macros
11239 https://bugzilla.gnome.org/show_bug.cgi?id=691101
11241 configure.ac | 3 +--
11242 1 file changed, 1 insertion(+), 2 deletions(-)
11244 commit 6c02ab0ad720780f176192fdc6372aaa178812fd
11245 Author: Simon Feltman <sfeltman@src.gnome.org>
11246 Date: Mon Dec 31 02:53:07 2012 -0800
11248 Change dynamic enum and flag gtype creation to use namespaced naming
11250 Use the combination of g_base_info_get_namespace and
11251 g_base_info_get_name
11252 as the name for registering enum and flag types with glib through
11253 g_enum_register_static and g_flags_register_static. This avoids
11255 with types like GLib.SeekType and Gst.SeekType. Add better exceptions
11256 and memory cleanup for invalid registration problems.
11258 https://bugzilla.gnome.org/show_bug.cgi?id=690455
11260 gi/_gobject/pygenum.c | 6 ++--
11262 ++++++++++++++++++++++++++++++++++++++++++++-------
11263 tests/test_gi.py | 35 +++++++++++++++++++++++
11264 3 files changed, 106 insertions(+), 13 deletions(-)
11266 commit 692c80e11a05e2fb0515580acb22fd6fe65cede1
11267 Author: Dan Horák <dan@danny.cz>
11268 Date: Fri Dec 28 22:12:32 2012 +0100
11270 Fix test for GBytes.compare()
11272 The result of the compare method is defined as equal, less than or
11274 and the test must match to that. The underlaying memcmp() function
11276 values than -1, 0 and 1. For example on architectures where it is
11277 implemented directly
11278 via a CPU instruction like on s390(x) where I can see -2 as a result
11282 https://bugzilla.gnome.org/show_bug.cgi?id=690837
11284 tests/test_gi.py | 4 ++--
11285 1 file changed, 2 insertions(+), 2 deletions(-)
11287 commit 948dbcb223249a08f4398d4ad8861e92e3de0dfa
11288 Author: Jonathan Ballet <jon@multani.info>
11289 Date: Thu Dec 27 16:04:51 2012 +0100
11291 Fix Gtk.UIManager.add_ui_from_string() override for non-ASCII chars
11293 The length argument is the size of the buffer in bytes, not in
11296 https://bugzilla.gnome.org/show_bug.cgi?id=690329
11298 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
11300 gi/overrides/Gtk.py | 2 +-
11301 tests/test_overrides_gtk.py | 7 +++++++
11302 2 files changed, 8 insertions(+), 1 deletion(-)
11304 commit 53bc12a87da824cbfb006a4fd65731edec12ecc7
11305 Author: Mike Gorse <mgorse@suse.com>
11306 Date: Wed Dec 19 20:51:03 2012 -0500
11308 Don't dup strings before passing them to type registration functions
11310 Strings passed to g_enum_register_static and g_flags_register_static
11312 eventually passed to g_quark_from_string, which dups the string
11314 needed and does not take ownership of it, so passing in a
11315 dynamically-allocated
11316 string without freeing it results in a small leak.
11318 https://bugzilla.gnome.org/show_bug.cgi?id=690532
11320 gi/gimodule.c | 2 --
11321 1 file changed, 2 deletions(-)
11323 commit 9454c01f2b1b82d43eea0f72fe9a28ef50065fc9
11324 Author: Carlos Garnacho <carlos@lanedo.com>
11325 Date: Tue Dec 18 22:47:09 2012 +0100
11327 Fix marshalling of arrays of boxed struct values
11329 This fixes methods like gtk_selection_set_with_data(). In such cases
11330 data is passed as an array of struct pointers, so it must be converted
11331 to an array of structs.
11333 https://bugzilla.gnome.org/show_bug.cgi?id=656312
11335 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
11337 gi/pygi-marshal-from-py.c | 6 ++++++
11338 tests/test_gi.py | 12 ++++++++++++
11339 2 files changed, 18 insertions(+)
11341 commit 231d5a7cfc73518b4e2b0c926d4c1ce9a804797e
11342 Author: Simon Feltman <sfeltman@src.gnome.org>
11343 Date: Tue Dec 18 02:03:41 2012 -0800
11345 Add reference counting tests for Object.bind_property
11347 Add tests which ensure transform callbacks and user_data
11348 are propertly ref-counted.
11350 https://bugzilla.gnome.org/show_bug.cgi?id=690397
11352 tests/test_gobject.py | 40 ++++++++++++++++++++++++++++++++++++----
11353 1 file changed, 36 insertions(+), 4 deletions(-)
11355 commit c29e11812d176b1f057074c9bab22c9614ae4f8c
11356 Author: Martin Pitt <martinpitt@gnome.org>
11357 Date: Tue Dec 18 11:43:04 2012 +0100
11359 testhelpermodule.c: Do not unref called method
11361 In _wrap_test_gerror_exception(), do not unref the method
11363 causes a crash when being run with the stricter refcounting/memory
11365 debug-enabled Python builds.
11367 tests/testhelpermodule.c | 1 -
11368 1 file changed, 1 deletion(-)
11370 commit ff0d9106bcd02a6b2c67cc3722481218c599a9f4
11371 Author: Martin Pitt <martinpitt@gnome.org>
11372 Date: Mon Dec 17 23:20:50 2012 +0100
11374 configure.ac: post-release bump to 3.7.4
11376 configure.ac | 2 +-
11377 1 file changed, 1 insertion(+), 1 deletion(-)
11379 commit 061b23d14386c0e54d2c3af113554231bbe85f16
11380 Author: Martin Pitt <martinpitt@gnome.org>
11381 Date: Mon Dec 17 23:18:31 2012 +0100
11385 NEWS | 19 +++++++++++++++++++
11386 1 file changed, 19 insertions(+)
11388 commit a242f02823a63c9dca5d0b1ce84b031221053690
11389 Author: Martin Pitt <martinpitt@gnome.org>
11390 Date: Mon Dec 17 23:11:29 2012 +0100
11392 Add (failing) tests for callbacks with out arguments
11394 Most of these fail and need marshalling fixes.
11396 tests/test_gi.py | 36 ++++++++++++++++++++++++++++++++++++
11397 1 file changed, 36 insertions(+)
11399 commit 449b1ef0d94450c1e457770a093abd6d6c9e6291
11400 Author: Martin Pitt <martinpitt@gnome.org>
11401 Date: Mon Dec 17 22:50:59 2012 +0100
11403 Add tests for internal API
11405 These cover functions like pygobject_new(), pyg_value_from_pyobject()
11407 pyg_value_as_pyobject() that are wrapped by testhelpermodule.c. With
11409 functions can be tested in isolation without the whole GI stack
11412 tests/Makefile.am | 1 +
11413 tests/test_internal_api.py | 73
11414 ++++++++++++++++++++++++++++++++++++++++++++++
11415 2 files changed, 74 insertions(+)
11417 commit e44312139426f51e576ef9e880819542cc224383
11418 Author: Martin Pitt <martinpitt@gnome.org>
11419 Date: Mon Dec 17 18:02:15 2012 +0100
11421 Add support for caller-allocated GArray out arguments
11423 https://bugzilla.gnome.org/show_bug.cgi?id=690041
11425 gi/pygi-cache.c | 2 +-
11426 gi/pygi-invoke.c | 57
11427 ++++++++++++++++++++++++++++++--------------------------
11428 tests/test_gi.py | 5 +++--
11429 3 files changed, 35 insertions(+), 29 deletions(-)
11431 commit f262320ac22b48a9d007c425633f3ca426b7fb4a
11432 Author: Martin Pitt <martinpitt@gnome.org>
11433 Date: Mon Dec 17 16:18:24 2012 +0100
11435 Add (failing) test for caller-allocated GArray return value
11437 Call new GIMarshallingTests.garray_utf8_full_out_caller_allocated()
11439 which reproduces https://bugzilla.gnome.org/show_bug.cgi?id=690041.
11441 The test is failing and causing a segfault right now, so disable it
11445 tests/test_gi.py | 4 ++++
11446 1 file changed, 4 insertions(+)
11448 commit 1cb4c30c3cf19690210010d39b6272965f489c58
11449 Author: Martin Pitt <martinpitt@gnome.org>
11450 Date: Mon Dec 17 15:56:44 2012 +0100
11452 GLib overrides: Avoid calling deprecated GLib.unix_signal_add_full()
11454 glib 2.35.x fixed the API to be GLib.unix_signal_add(). Call the
11456 available, but fall back to GLib.unix_signal_add_full() until we
11460 gi/overrides/GLib.py | 8 ++++++--
11461 1 file changed, 6 insertions(+), 2 deletions(-)
11463 commit 945263a89c3adee61f95d4211cf13b254ad6d51f
11464 Author: Martin Pitt <martinpitt@gnome.org>
11465 Date: Fri Nov 30 14:17:18 2012 +0100
11467 Re-support calling GLib.io_add_watch with an fd or Python file
11469 This does not strictly adhere to the GLib API, but it's very
11471 unlike the other modes, does not change the number or order of
11473 let's keep support for this and drop the deprecation warning.
11475 gi/overrides/GLib.py | 9 +++------
11476 1 file changed, 3 insertions(+), 6 deletions(-)
11478 commit 263b9f97e748746e1d26847a82a4d6e53a42798a
11479 Author: Martin Pitt <martinpitt@gnome.org>
11480 Date: Fri Nov 30 09:04:20 2012 +0100
11482 Robustify test_glib.TestGLib.test_io_add_watch_pyfile
11484 Use a longer timeout to avoid races on slow architectures, and cut
11486 loop as soon as we received all expected events.
11488 tests/test_glib.py | 5 ++++-
11489 1 file changed, 4 insertions(+), 1 deletion(-)
11491 commit 8e4e822cb273db4eb7e6e40f4739eeebee00798a
11492 Author: Martin Pitt <martinpitt@gnome.org>
11493 Date: Fri Nov 30 08:44:56 2012 +0100
11495 test_overrides_gtk: Ignore GVFS warnings from FileChooserDialog
11497 Do not cause GVFS warnings from Gtk.FileChooserDialog (which may
11499 unavailable monitor backends in the test environment) to fail
11502 tests/test_overrides_gtk.py | 12 +++++++++---
11503 1 file changed, 9 insertions(+), 3 deletions(-)
11505 commit d47283936b4c0b5e8b6ede8886c4badbf6d6e694
11506 Author: Martin Pitt <martinpitt@gnome.org>
11507 Date: Thu Nov 29 16:45:49 2012 +0100
11509 pygtkcompat: Work around IndexError on large flags
11511 On 32 bit systems pygtkcompat currently fails with
11513 File "pygtkcompat/pygtkcompat.py", line 74, in _install_enums
11514 name = flag.value_names[-1].replace(modname + '_', '')
11515 IndexError: cannot fit 'int' into an index-sized integer
11517 on 32 bit systems as some flags in Gdk are too large to fit into a
11519 "long". Work around this crash until this gets fixed properly
11523 pygtkcompat/pygtkcompat.py | 7 ++++++-
11524 1 file changed, 6 insertions(+), 1 deletion(-)
11526 commit 3fa31b1a7936c556e76bd8a42030567c6a867e0d
11527 Author: Martin Pitt <martinpitt@gnome.org>
11528 Date: Thu Nov 29 14:11:29 2012 +0100
11530 Fix pyg_value_from_pyobject() range check for uint
11532 We cannot use PYGLIB_PyLong_AsLong() for the range check, as on 32
11534 this overflows large uints. Use PyLong_AsLongLong() separately to
11536 negative values, and PyLong_AsUnsignedLong() for the actual
11539 gi/_gobject/pygtype.c | 12 ++++++++----
11540 1 file changed, 8 insertions(+), 4 deletions(-)
11542 commit 05d767a602571805e80099f1db47ad4164575c53
11543 Author: Martin Pitt <martinpitt@gnome.org>
11544 Date: Thu Nov 29 13:30:56 2012 +0100
11546 Fix tests to work with g-i 1.34.2
11548 Do not try to call GIMarshallingTests API which isn't present
11550 against g-i 1.34.2. This can be dropped when the g-i dependency gets
11554 tests/test_gi.py | 8 +++++---
11555 1 file changed, 5 insertions(+), 3 deletions(-)
11557 commit a107c928ef85b4e3b9075a408774b74879586029
11558 Author: Martin Pitt <martinpitt@gnome.org>
11559 Date: Thu Nov 29 13:13:14 2012 +0100
11561 Fix wrong refcount for GVariant property defaults
11563 Drop the bogus DECREF for the GVariant default argument, as we need
11565 around in the class. Otherwise the refcount drops to zero, and
11567 garbage collection run causes segfaults.
11569 https://bugzilla.gnome.org/show_bug.cgi?id=689267
11571 gi/_gobject/gobjectmodule.c | 1 -
11572 1 file changed, 1 deletion(-)
11574 commit 9b7dd1318cf540d5f8d03655da03534ed72707ec
11575 Author: Martin Pitt <martinpitt@gnome.org>
11576 Date: Thu Nov 29 11:44:22 2012 +0100
11578 test_gi: Fix TestFilename failure under C locale
11580 tests/test_gi.py | 1 +
11581 1 file changed, 1 insertion(+)
11583 commit 37ab227555ba8628b4fa99aa286bd046208745ed
11584 Author: Martin Pitt <martinpitt@gnome.org>
11585 Date: Thu Nov 29 11:16:26 2012 +0100
11587 Fix array arguments on 32 bit
11589 In _pygi_argument_from_object() we never put the actual element
11591 constructed array. The array contains GIArguments, or bytes in the
11593 passing a string as an array.
11595 This happened to work on 64 bit machines where GIArgument and char*
11597 same size, but not on 32 bit machines
11598 (test_gi.TestPropertiesObject.test_strv
11601 gi/pygi-argument.c | 6 +++++-
11602 1 file changed, 5 insertions(+), 1 deletion(-)
11604 commit 7bd852fc82f92dac8723e18b61a56ed1b1a1b81c
11605 Author: Martin Pitt <martinpitt@gnome.org>
11606 Date: Thu Nov 29 10:20:27 2012 +0100
11608 test_gi: Disable failing check in test_module_name()
11610 When calling this under some conditions, such as
11612 TEST_NAMES='test_thread test_gi.TestOverrides'
11614 then the module name of GObject.InitiallyUnowned comes out as
11615 "importlib._bootstrap" instead of "gi.repository.GObject". To be
11617 Add a couple of other tests to ensure that it is not broken in
11620 tests/test_gi.py | 10 +++++++++-
11621 1 file changed, 9 insertions(+), 1 deletion(-)
11623 commit 94a6cc93a104b22dcee2ac73cae36b83a4b5d9c1
11624 Author: Martin Pitt <martinpitt@gnome.org>
11625 Date: Thu Nov 29 09:40:32 2012 +0100
11627 test_gdbus: Drop failure if timeout=0 works differently
11629 In some test environments we do not actually get a timeout exceptions
11631 timeout=0, but a different error message. So only ensure that we
11635 tests/test_gdbus.py | 4 +++-
11636 1 file changed, 3 insertions(+), 1 deletion(-)
11638 commit c3b2f5fee573aa03a8a9563efbbbc1bc4fa25da7
11639 Author: Martin Pitt <martinpitt@gnome.org>
11640 Date: Thu Nov 29 09:29:05 2012 +0100
11642 test_glib: Drop some assumptions about XDG dirs
11644 Some directories do not exist in minimal test environments, and this
11646 important for testing that calling these GLib functions works.
11648 tests/test_glib.py | 8 +++++---
11649 1 file changed, 5 insertions(+), 3 deletions(-)
11651 commit e45c690bc83b6d513887649de88965a9752e316d
11652 Author: Martin Pitt <martinpitt@gnome.org>
11653 Date: Wed Nov 28 12:20:31 2012 +0100
11655 Add backwards compatible API for GLib.unix_signal_add_full()
11657 This was renamed to GLib.unix_signal_add() in
11658 http://git.gnome.org/browse/glib/commit/?id=fca30c3e165
11660 Provide a backwards compatible shim with a deprecation message.
11662 gi/overrides/GLib.py | 10 ++++++++++
11663 1 file changed, 10 insertions(+)
11665 commit 00b9ea32d766ae486249f402d9dee511fd9f53a9
11666 Author: Martin Pitt <martinpitt@gnome.org>
11667 Date: Mon Nov 26 08:11:36 2012 +0100
11669 Drop MININT64/MAXUINT64 workaround
11671 g-i 1.34.2 properly handles 64 bit constants now, so bug 685022 has
11673 properly now. Drop the workaround in the overrides to manually
11677 gi/overrides/GLib.py | 7 -------
11678 1 file changed, 7 deletions(-)
11680 commit d16604f64d25d18409270d7537fc993113b65c19
11681 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
11682 Date: Fri Nov 23 19:57:56 2012 +0200
11684 Fix maximum and minimum ranges of TYPE_(U)INT64 properties
11686 In corner case where properties use values 2 ** 62 < ±x < 2 ** 63 for
11687 TYPE_INT64 and 2 ** 63 < x < 2 ** 64 for TYPE_UINT64 they will raise
11688 warnings even tough values are valid.
11690 https://bugzilla.gnome.org/show_bug.cgi?id=688949
11692 gi/_gobject/propertyhelper.py | 6 +++---
11693 tests/test_properties.py | 11 ++++-------
11694 2 files changed, 7 insertions(+), 10 deletions(-)
11696 commit 93e9e309d8ba54884881cfca203e8bc355c2727e
11697 Author: Martin Pitt <martinpitt@gnome.org>
11698 Date: Wed Nov 21 12:58:07 2012 +0100
11700 Test virtual methods with in and out arguments
11702 ... and both caller and callee out argument allocation.
11704 This came up in https://bugzilla.gnome.org/show_bug.cgi?id=688783
11706 tests/test_gi.py | 13 +++++++++++++
11707 1 file changed, 13 insertions(+)
11709 commit 25a9cfb043448efbab9168ef66f852cc34b9909b
11710 Author: Martin Pitt <martinpitt@gnome.org>
11711 Date: Tue Nov 20 07:00:44 2012 +0100
11713 Ship pygi-convert.sh in tarballs
11715 https://bugzilla.gnome.org/show_bug.cgi?id=688697
11718 1 file changed, 1 insertion(+)
11720 commit 4a8d31e6f56a3f1360bdb880ffd9a6eb139c02d8
11721 Author: Martin Pitt <martinpitt@gnome.org>
11722 Date: Mon Nov 19 15:25:38 2012 +0100
11724 Post-release version bump to 3.7.3
11726 configure.ac | 2 +-
11727 1 file changed, 1 insertion(+), 1 deletion(-)
11729 commit d0ed62afbc4cada0bf6abc4f8754e5a8d73036e4
11730 Author: Martin Pitt <martinpitt@gnome.org>
11731 Date: Mon Nov 19 15:13:28 2012 +0100
11735 NEWS | 47 +++++++++++++++++++++++++++++++++++++++++++++++
11736 1 file changed, 47 insertions(+)
11738 commit 29dc7425dd7584411b52ef07b50f929ed119a000
11739 Author: Martin Pitt <martinpitt@gnome.org>
11740 Date: Mon Nov 19 14:37:02 2012 +0100
11744 Commit e617f76e forgot to rename the file in EXTRA_DIST
11746 tests/Makefile.am | 2 +-
11747 1 file changed, 1 insertion(+), 1 deletion(-)
11749 commit 567aae6e7c56bb89f53fcfccb1b0bc732f85b847
11750 Author: Martin Pitt <martinpitt@gnome.org>
11751 Date: Mon Nov 19 14:34:13 2012 +0100
11753 tests: Fix unicode vs. str issues in Python 2
11755 Some of the tests assumed a system default encoding of UTF-8, which
11757 in Python 2 unless pygtkcompat is imported. Commit e617f76 uncovered
11760 tests/test_gi.py | 8 ++++----
11761 tests/test_iochannel.py | 16 +++++++++-------
11762 2 files changed, 13 insertions(+), 11 deletions(-)
11764 commit 509e5ac1a6dd8504e89c33c559fe4f72156a1ddf
11765 Author: Martin Pitt <martinpitt@gnome.org>
11766 Date: Mon Nov 19 14:20:56 2012 +0100
11768 tests: Fix previous commit to fail properly on test failures
11770 tests/Makefile.am | 2 +-
11771 1 file changed, 1 insertion(+), 1 deletion(-)
11773 commit e617f76e5b0c301c3ae92e1091aa86792de4d8e8
11774 Author: Martin Pitt <martinpitt@gnome.org>
11775 Date: Mon Nov 19 14:09:14 2012 +0100
11777 tests: Run pygtkcompat tests separately
11779 pygtkcompat changes the global namespace, in particular patching
11781 overrides. Run the tests in a separate process so that the main
11783 potentially affected by the pygtkcompat test.
11785 runtests.py runs all tests/test_*.py by default, so rename to
11786 compat_test_pygtk.py and run that explicitly after successfully
11790 See https://bugzilla.gnome.org/show_bug.cgi?id=688219
11792 tests/Makefile.am | 3 +++
11793 tests/{test_pygtkcompat.py => compat_test_pygtk.py} | 0
11794 2 files changed, 3 insertions(+)
11796 commit 8180b8092f99b7c9f0dee1742418efdbd23ab330
11797 Author: Simon Feltman <sfeltman@src.gnome.org>
11798 Date: Thu Nov 15 02:51:52 2012 -0800
11800 Move pygtkcompat into sibling package of gi
11802 Move the pygtkcompat module out of the gi package and into
11803 a sibling package as follows:
11809 This allows for pygtkcompat to grow without affecting the gi package.
11810 Add deprecation message to gi/pygtkcompat.py
11812 https://bugzilla.gnome.org/show_bug.cgi?id=688219
11816 gi/pygtkcompat.py | 524
11817 +++------------------------------------------
11818 pygtkcompat/Makefile.am | 15 ++
11819 pygtkcompat/__init__.py | 20 ++
11820 pygtkcompat/pygtkcompat.py | 501
11821 +++++++++++++++++++++++++++++++++++++++++++
11822 tests/test_pygtkcompat.py | 6 +-
11823 7 files changed, 565 insertions(+), 504 deletions(-)
11825 commit f736694d09e9d0fca4769d9f1f34ec34e6354d87
11826 Author: Martin Pitt <martinpitt@gnome.org>
11827 Date: Mon Nov 19 13:59:20 2012 +0100
11829 Bump g-i dependency to >= 1.34.2
11831 We need this for updated GLib annotations and new test API.
11833 configure.ac | 2 +-
11834 1 file changed, 1 insertion(+), 1 deletion(-)
11836 commit f6c994c76cd8010460b76bf455e1a341348d735b
11837 Author: Martin Pitt <martinpitt@gnome.org>
11838 Date: Mon Nov 19 10:39:26 2012 +0100
11840 test_gi: Fix failing tests with g-i 1.34.x
11842 Skip tests which require g-i test API from 1.35.x when building
11846 tests/test_gi.py | 6 ++++++
11847 1 file changed, 6 insertions(+)
11849 commit 8ce0d028fe79e2ce52cfecbb682afba6651a7a70
11850 Author: Martin Pitt <martinpitt@gnome.org>
11851 Date: Wed Nov 14 11:57:21 2012 +0100
11853 test_gi: Add tests for type "filename"
11855 tests/test_gi.py | 30 ++++++++++++++++++++++++++++++
11856 1 file changed, 30 insertions(+)
11858 commit 3408a151e49d9520f54ad9bc04f620c7777125ec
11859 Author: Martin Pitt <martinpitt@gnome.org>
11860 Date: Wed Nov 14 11:09:33 2012 +0100
11862 Drop foreign GVariant registration/support
11864 This is dead code. We have tests for GVariant in and out method
11866 callback arguments and return values, properties, etc to ensure that
11870 gi/Makefile.am | 2 --
11871 gi/pygi-foreign-gvariant.c | 63
11872 ----------------------------------------------
11873 gi/pygi-foreign-gvariant.h | 41 ------------------------------
11874 gi/pygi-foreign.c | 8 +-----
11875 4 files changed, 1 insertion(+), 113 deletions(-)
11877 commit 47c46d847bb69ebc139d5e0b6c609da6f27201f2
11878 Author: Martin Pitt <martinpitt@gnome.org>
11879 Date: Wed Nov 14 10:33:24 2012 +0100
11881 test_properties.py: Fix PEP-8 errors
11883 tests/test_properties.py | 3 +--
11884 1 file changed, 1 insertion(+), 2 deletions(-)
11886 commit 78f49e6253500bfa382ce6c07412613d8f7f9d7f
11887 Author: Martin Pitt <martinpitt@gnome.org>
11888 Date: Wed Nov 14 10:14:36 2012 +0100
11890 Add support for GVariant properties defined in Python
11892 gi/_gobject/gobjectmodule.c | 13 +++++++
11893 gi/_gobject/propertyhelper.py | 11 ++++--
11894 tests/test_properties.py | 81
11895 +++++++++++++++++++++++++++++++++++++------
11896 3 files changed, 91 insertions(+), 14 deletions(-)
11898 commit f3b77f4304be20b7422c262b973f3eeb540c4bf6
11899 Author: Martin Pitt <martinpitt@gnome.org>
11900 Date: Wed Nov 14 09:33:43 2012 +0100
11902 pyg_value_from_pyobject(): Simplify GVariant type check
11904 Use pyg_type_from_object_strict() instead of the much more expensive
11906 pyg_get_gvariant_type().
11908 gi/_gobject/pygtype.c | 23 +----------------------
11909 1 file changed, 1 insertion(+), 22 deletions(-)
11911 commit 0c0fb8ef88a2c61cf95cd1cb96f6d5f296cad5fc
11912 Author: Martin Pitt <martinpitt@gnome.org>
11913 Date: Wed Nov 14 09:27:42 2012 +0100
11915 test_everything: Add test for callback returning wrong type
11917 This covers the "expected a GVariant, got something else" check in
11918 pyg_value_from_pyobject().
11920 tests/test_everything.py | 16 ++++++++++++++++
11921 1 file changed, 16 insertions(+)
11923 commit 84db7109dfbaf443758a5a4871ee385686d2703d
11924 Author: Martin Pitt <martinpitt@gnome.org>
11925 Date: Wed Nov 14 08:42:53 2012 +0100
11927 Add type checking to GVariant argument assignment
11929 gi/pygi-argument.c | 7 ++++++-
11930 tests/test_gi.py | 5 ++---
11931 2 files changed, 8 insertions(+), 4 deletions(-)
11933 commit e944caf5ff53143a98dd4a5578530996358013ec
11934 Author: Martin Pitt <martinpitt@gnome.org>
11935 Date: Wed Nov 14 08:22:35 2012 +0100
11937 Add support for GVariant properties defined in C
11939 Note that trying to assign a non-GVariant value to a GVariant property
11942 gi/pygi-property.c | 6 +++++-
11943 tests/test_gi.py | 21 +++++++++++++++++++++
11944 2 files changed, 26 insertions(+), 1 deletion(-)
11946 commit 614cc9594cb34d92a6d4b00773427d4fb023c65e
11947 Author: Martin Pitt <martinpitt@gnome.org>
11948 Date: Wed Nov 14 07:09:58 2012 +0100
11950 test_unknown.py: Check property interface
11952 NB that the property implementation in test-unknown.c does not
11954 anything, we just want to assert that the properties are properly
11957 tests/test_unknown.py | 10 ++++++++++
11958 1 file changed, 10 insertions(+)
11960 commit 9d7771affcf788d251cced65da56fc2773a278b3
11961 Author: Martin Pitt <martinpitt@gnome.org>
11962 Date: Wed Nov 14 07:01:24 2012 +0100
11964 Fix previous commit for Python 2
11966 gi/pygi-foreign-cairo.c | 2 +-
11967 1 file changed, 1 insertion(+), 1 deletion(-)
11969 commit 997d4e70b2793039d916acf8921087576622152e
11970 Author: Martin Pitt <martinpitt@gnome.org>
11971 Date: Wed Nov 14 06:57:04 2012 +0100
11973 pygi-foreign-cairo.c: Use official py3cairo API
11975 Do not clobber py3cairo's Pycairo_CAPI global variable, and use
11977 instead of our own code.
11979 gi/pygi-foreign-cairo.c | 4 ++--
11980 1 file changed, 2 insertions(+), 2 deletions(-)
11982 commit cec5d1a55347b81c1ae4ddc47ea2b4fbf964d239
11983 Author: Martin Pitt <martinpitt@gnome.org>
11984 Date: Wed Nov 14 06:47:23 2012 +0100
11986 Drop dead code from pygi-callbacks.[hc]
11988 _pygi_create_callback() and _pygi_scan_for_callbacks() are not
11990 _pygi_destroy_notify_create() fits better in pygi-marshal-from-py.c,
11992 there, and drop pygi-callbacks.[hc] completely.
11994 gi/Makefile.am | 2 -
11995 gi/pygi-callbacks.c | 217
11996 ----------------------------------------------
11997 gi/pygi-callbacks.h | 48 ----------
11998 gi/pygi-marshal-from-py.c | 44 ++++++++++
11999 gi/pygi-private.h | 1 -
12000 5 files changed, 44 insertions(+), 268 deletions(-)
12002 commit 55070cc9c98993ccda7ebcb05783fad182b2eb11
12003 Author: Carlos Garnacho <carlos@lanedo.com>
12004 Date: Tue Nov 13 18:24:28 2012 +0100
12006 Fix marshalling of arrays of struct pointers to Python
12008 Fill in the pointer to the struct, not the pointer to the
12009 array position. This makes the GdkAtom** argument in
12010 gtk_clipboard_wait_for_targets() work.
12012 https://bugzilla.gnome.org/show_bug.cgi?id=678620
12014 gi/pygi-marshal-to-py.c | 5 ++++-
12015 1 file changed, 4 insertions(+), 1 deletion(-)
12017 commit fc021516552b1720bacc4afe6b7a610c413194c4
12018 Author: Martin Pitt <martinpitt@gnome.org>
12019 Date: Wed Nov 14 06:27:17 2012 +0100
12021 test_atoms.py: Add test for out array
12023 This reproduces https://bugzilla.gnome.org/show_bug.cgi?id=678620
12025 tests/test_atoms.py | 19 +++++++++++++++++++
12026 1 file changed, 19 insertions(+)
12028 commit e2790d22610aae773635d4caef2458082a307283
12029 Author: Martin Pitt <martinpitt@gnome.org>
12030 Date: Tue Nov 13 16:38:36 2012 +0100
12032 Fix Gdk.Atom str()/repr() fallback
12034 Fix regression in commit 6713618: If an atom does not have a name,
12036 recursively call our own str()/repr() methods, but just print
12037 "Gdk.Atom<atom_id>".
12039 gi/overrides/Gdk.py | 6 ++++--
12040 1 file changed, 4 insertions(+), 2 deletions(-)
12042 commit 9879fd41a7d8d72f8db9cadf5b1ee29fc4d5d6bf
12043 Author: Martin Pitt <martinpitt@gnome.org>
12044 Date: Tue Nov 13 13:16:14 2012 +0100
12046 test_gi: Stop using GLib.bytes.unref_to_array()
12048 This method isn't safe for GI, and should be (skip)ed. Use get_data()
12050 which is safe and works fine.
12052 See https://bugzilla.gnome.org/show_bug.cgi?id=688242
12054 tests/test_gi.py | 6 ------
12055 1 file changed, 6 deletions(-)
12057 commit 671361841de797ef62b59d1d7568fc3d431898c7
12058 Author: Martin Pitt <martinpitt@gnome.org>
12059 Date: Tue Nov 13 12:56:11 2012 +0100
12061 Fix Gdk.Atom to have a proper str() and repr()
12063 Gdk.Atom is not proper GType'd class, so we cannot override the
12065 Just override its __str__() and __repr__() methods so that printing
12067 something sensible. For nameless/invalid atoms, fall back to the old
12068 <void at 0xdeadbeef> output to help with debugging.
12070 https://bugzilla.gnome.org/show_bug.cgi?id=678620
12072 gi/overrides/Gdk.py | 21 +++++++++++++++++++++
12073 tests/test_atoms.py | 12 ++++++++++++
12074 2 files changed, 33 insertions(+)
12076 commit 56e62858e9c2bdde3186f5cf4e83be94fb4e5306
12077 Author: Simon Feltman <sfeltman@src.gnome.org>
12078 Date: Tue Nov 13 02:53:34 2012 -0800
12080 Make sure g_value_set_boxed does not cause a buffer overrun with
12083 Add NULL terminator to gchar** passed to g_value_set_boxed to
12084 make sure it does not overrun memory in pygi_set_property_value_real.
12085 Add MALLOC_CHECK_=3 to "make check" which prints an error and aborts
12088 https://bugzilla.gnome.org/show_bug.cgi?id=688232
12090 gi/pygi-property.c | 8 ++++++--
12091 tests/Makefile.am | 1 +
12092 2 files changed, 7 insertions(+), 2 deletions(-)
12094 commit ca11ec124fdd3fb2b67efdeb3ac93aaeb8b3fd83
12095 Author: Martin Pitt <martinpitt@gnome.org>
12096 Date: Mon Nov 12 08:35:28 2012 +0100
12098 types.py: Fix PEP-8 violation
12101 1 file changed, 1 insertion(+), 1 deletion(-)
12103 commit df589458358d7e7bf178dff4e6ad937a70f806e3
12104 Author: Simon Feltman <sfeltman@src.gnome.org>
12105 Date: Sun Nov 11 22:26:19 2012 -0800
12107 Fix leaks with GValues holding boxed and object types
12109 Expose read access to PyGIBoxed.free_on_dealloc.
12110 Add GObject.Value.__del__ override and call unset() to
12111 correctly free reference counts.
12113 https://bugzilla.gnome.org/show_bug.cgi?id=688137
12115 gi/overrides/GObject.py | 9 +++++++++
12116 gi/pygi-boxed.c | 12 ++++++++++++
12117 tests/test_gi.py | 2 --
12118 3 files changed, 21 insertions(+), 2 deletions(-)
12120 commit c01c95b9fb3d726385efac945f6d1270ae65d109
12121 Author: Simon Feltman <sfeltman@src.gnome.org>
12122 Date: Sun Nov 11 19:46:15 2012 -0800
12124 Add expectantly failing unittests for GValue boxed/object leaks
12126 https://bugzilla.gnome.org/show_bug.cgi?id=688137
12128 tests/test_gi.py | 80
12129 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
12130 1 file changed, 80 insertions(+)
12132 commit 13629f5a9c9a7022f3521a3616d9ce8fa4a6161b
12133 Author: Simon Feltman <s.feltman@gmail.com>
12134 Date: Thu Aug 16 15:09:08 2012 -0700
12136 Add doc strings showing method signatures for gi methods
12138 Add signature based doc string to all methods pulled in from
12139 introspection. For example: Gtk.SpinButton.get_icon_area.__doc__
12140 get_icon_area(self, icon_pos:Gtk.EntryIconPosition) ->
12141 icon_area:cairo.RectangleInt
12143 https://bugzilla.gnome.org/show_bug.cgi?id=681967
12145 gi/overrides/GIMarshallingTests.py | 1 +
12146 gi/pygi-info.c | 103
12147 +++++++++++++++++++++++++++++++++----
12148 gi/pygi-type.c | 60 +++++++++++++++++++++
12149 gi/pygi-type.h | 1 +
12151 ++++++++++++++++++++++++++-------
12152 tests/test_gi.py | 30 +++++++++++
12153 6 files changed, 259 insertions(+), 28 deletions(-)
12155 commit 7b7277f3cc099280f8e2d6cf6693490290fedc24
12156 Author: Simon Feltman <sfeltman@src.gnome.org>
12157 Date: Fri Nov 9 19:17:03 2012 -0800
12159 Set Property instance doc string and blurb to getter doc string
12161 Assign Property getter __doc__ strings or explicit blurb parameters
12162 to the Property instances __doc__ attribute. This clobbers the
12163 default Property classes lengthy and unhelpful doc string in the case
12166 https://bugzilla.gnome.org/show_bug.cgi?id=688025
12168 gi/_gobject/propertyhelper.py | 10 +++++++---
12169 tests/test_properties.py | 14 ++++++++++----
12170 2 files changed, 17 insertions(+), 7 deletions(-)
12172 commit c5343d329ebb452d97afac30e4120ebab8477556
12173 Author: Martin Pitt <martinpitt@gnome.org>
12174 Date: Mon Nov 12 07:47:02 2012 +0100
12176 tests: Fix for Python 2
12178 Add quirks for Python 2's string handling, and disable the
12179 Everything.test_array_gint8_in() as there seems to be no way of
12183 tests/test_everything.py | 7 +++++--
12184 1 file changed, 5 insertions(+), 2 deletions(-)
12186 commit 964f33ca3a74bfb7d850f136d0844ac1551d36e9
12187 Author: Martin Pitt <martinpitt@gnome.org>
12188 Date: Sat Nov 10 15:52:15 2012 +0100
12190 test_everything: Add tests for more Regress data and container types
12192 Add more tests for Regress' data and container type test API.
12194 This detects a number of bugs, which have been marked as expected
12196 disabled completely for the cases where they cause crashes:
12198 * unsigned enums with values >= 0x80000000 do not work
12199 * nested ghashes in return values do not work
12200 * array length arguments in callbacks are passed instead of
12203 tests/test_everything.py | 156
12204 ++++++++++++++++++++++++++++++++++++++++++++++-
12205 1 file changed, 154 insertions(+), 2 deletions(-)
12207 commit 476e29d1ba3eda92cc021710017bce4ec252e5b5
12208 Author: Martin Pitt <martinpitt@gnome.org>
12209 Date: Fri Nov 9 18:45:22 2012 +0100
12211 test_everything: Add tests for Regress type tests
12213 Add tests for all the data type handling tests of g-i's Regress
12216 tests/test_everything.py | 183
12217 +++++++++++++++++++++++++++++++++++++++++++++++
12218 1 file changed, 183 insertions(+)
12220 commit 0d7974396e8379b518403983d9d13629066680d7
12221 Author: Martin Pitt <martinpitt@gnome.org>
12222 Date: Fri Nov 9 18:44:50 2012 +0100
12224 Add GObject.G_MINSSIZE
12226 gi/_gobject/gobjectmodule.c | 1 +
12227 gi/overrides/GObject.py | 2 +-
12228 2 files changed, 2 insertions(+), 1 deletion(-)
12230 commit b800a6903300dbe9435ed8eb3677eb9c0536ec31
12231 Author: Martin Pitt <martinpitt@gnome.org>
12232 Date: Fri Nov 9 16:02:00 2012 +0100
12234 Fix marshalling of GByteArrays
12236 In _pygi_marshal_from_py_array(), set the array length after copying
12238 in the GI_TYPE_TAG_UINT8 case (which applies for GByteArrays),
12240 will always come out as zero length.
12242 Enable the TestGByteArray.test_bytearray_none_in() test case as that
12245 gi/pygi-marshal-from-py.c | 1 +
12246 tests/test_gi.py | 3 +--
12247 2 files changed, 2 insertions(+), 2 deletions(-)
12249 commit fa568949c46dd4b537357f1af74d1f675294b760
12250 Author: Martin Pitt <martinpitt@gnome.org>
12251 Date: Fri Nov 9 15:23:37 2012 +0100
12253 Fix marshalling of ssize_t to smaller ints
12255 Add missing marshalling cases for (u)int8 and (u)int16. This fixes the
12256 TestArray.test_array_in test, so drop the expected failure.
12258 gi/pygi-marshal-from-py.c | 30 +++++++++++++++++++++++++++++-
12259 tests/test_gi.py | 2 --
12260 2 files changed, 29 insertions(+), 3 deletions(-)
12262 commit 5a5940a0a0704be8e222d4cad6cedda1ad3e0f71
12263 Author: Martin Pitt <martinpitt@gnome.org>
12264 Date: Fri Nov 9 09:37:00 2012 +0100
12266 test_gi: Enable GByteArray constructor tests
12268 GByteArray annotations have been fixed in GLib now, enable the
12271 Drop the redundant disabled_test_bytearray_none_in_from_bytes()
12273 is the same as disabled_test_bytearray_none_in().
12275 tests/test_gi.py | 16 ++++------------
12276 1 file changed, 4 insertions(+), 12 deletions(-)
12278 commit e2c545896ab08b1f1885b502a8472db83f193d08
12279 Author: Martin Pitt <martinpitt@gnome.org>
12280 Date: Fri Nov 9 09:11:38 2012 +0100
12282 test_gi: Enable GBytes test cases
12284 GBytes annotations are fixed in GLib now, enable the test case and
12286 for g_bytes_new_take() and g_bytes_{compare,equal}().
12288 Please note that calling unref_to_array() on a GBytes object that
12290 ourselves currently causes a double free crash, so disable that part
12293 tests/test_gi.py | 30 +++++++++++++++++++++++++-----
12294 1 file changed, 25 insertions(+), 5 deletions(-)
12296 commit 1ba4e201f86ffa28c645d7c9eea99cf31080ea43
12297 Author: Martin Pitt <martinpitt@gnome.org>
12298 Date: Fri Nov 9 08:26:29 2012 +0100
12300 test_gi: Add missing data type tests from GIMarshallingTests
12302 Add tests for types time_t, GBytes, GByteArray, and various variants
12304 around GValues, flags, enums, arrays, and boxed structs. This tests
12306 is provided by GIMarshallingTests, but which we did not cover yet.
12308 This detects a number of bugs in annotations and our
12309 marshalling. These have
12310 been marked as expected failure, or disabled completely for the
12312 they cause crashes.
12314 tests/test_gi.py | 152
12315 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
12316 1 file changed, 152 insertions(+)
12318 commit 0456d9c892b76ed79134230a4a8610a23c602964
12319 Author: Martin Pitt <martinpitt@gnome.org>
12320 Date: Fri Nov 9 06:44:46 2012 +0100
12322 autogen.sh: Only enable code coverage if lcov is installed
12324 Otherwise we break minimal build environments.
12326 autogen.sh | 8 +++++++-
12327 1 file changed, 7 insertions(+), 1 deletion(-)
12329 commit 76a3acebf73f930c541d0f30249f67d254f948ab
12330 Author: Martin Pitt <martinpitt@gnome.org>
12331 Date: Fri Nov 9 06:41:58 2012 +0100
12333 Lower autoconf dependency to 2.68 again
12335 configure.ac | 2 +-
12336 1 file changed, 1 insertion(+), 1 deletion(-)
12338 commit f1a5f1b92d577c542d4258e63e595d4da9acd484
12339 Author: Martin Pitt <martinpitt@gnome.org>
12340 Date: Thu Nov 8 14:54:30 2012 +0100
12342 Add support for lcov code coverage
12344 Use gnome-common's new code coverage flags. Default to enabling
12346 in autogen.sh (but not for dist).
12348 To use this, run "make check-code-coverage" after building.
12353 configure.ac | 6 ++++++
12354 4 files changed, 10 insertions(+), 1 deletion(-)
12356 commit e46af4aba220cfaf4b84a9be847f3363da556993
12357 Author: Martin Pitt <martinpitt@gnome.org>
12358 Date: Wed Nov 7 17:14:22 2012 +0100
12360 Update documentation files
12362 Update AUTHORS to have the current maintainers.
12364 Update HACKING to drop Tomeu's GNOME login (this should be set in
12367 Update INSTALL to current upstream version.
12372 +++++++++++++++++++++++++++++++++++++++++++---------------------
12373 3 files changed, 267 insertions(+), 130 deletions(-)
12375 commit 06f5ed0ebabce34eca6bc6de80221cba6453feec
12376 Author: Martin Pitt <martinpitt@gnome.org>
12377 Date: Wed Nov 7 17:08:11 2012 +0100
12379 Quiesce automake output
12381 Use $(AM_V_GEN) with custom $(LINK) commands, and avoid error
12383 existing symlinks on rebuilds.
12385 gi/Makefile.am | 2 +-
12386 gi/_glib/Makefile.am | 2 +-
12387 gi/_gobject/Makefile.am | 2 +-
12388 tests/Makefile.am | 6 +++---
12389 4 files changed, 6 insertions(+), 6 deletions(-)
12391 commit 37270de8ead0b281a1824ff204a4aa9686a7225b
12392 Author: Martin Pitt <martinpitt@gnome.org>
12393 Date: Wed Nov 7 16:50:07 2012 +0100
12395 Drop unused variable, fail builds on those
12397 Build with -Werror=unused-variable, as these could hide programming
12399 incomplete refactoring, and are not platform dependent.
12401 Drop unused variable in pyg_type_add_interfaces().
12404 gi/_gobject/gobjectmodule.c | 1 -
12405 2 files changed, 1 insertion(+), 1 deletion(-)
12407 commit 495fd98555e0c89724bb8fa9478dc096c5d61e22
12408 Author: Martin Pitt <martinpitt@gnome.org>
12409 Date: Wed Nov 7 16:37:04 2012 +0100
12411 configure.ac: Drop maintainer mode, modernize libtool declarations
12413 Use all arguments of AC_INIT.
12415 AM_MAINTAINER_MODE is discouraged now, drop it.
12417 Use LT_PREREQ and LT_INIT for libtool initialization instead of
12421 See https://live.gnome.org/GnomeGoals/ModernAutotools
12423 configure.ac | 19 ++++++-------------
12424 1 file changed, 6 insertions(+), 13 deletions(-)
12426 commit 059d0cb879fe5a7b0296ec21f3bfcb64c8596cb0
12427 Author: Martin Pitt <martinpitt@gnome.org>
12428 Date: Wed Nov 7 16:21:13 2012 +0100
12430 autoupdate configure.ac
12432 Result of "autoupdate", with slight manual beautification.
12434 See https://live.gnome.org/GnomeGoals/ModernAutotools
12436 configure.ac | 21 +++++++++------------
12437 1 file changed, 9 insertions(+), 12 deletions(-)
12439 commit a932446e6648ecd98c9038298b18c6fbd36c01aa
12440 Author: Jose Rostagno <joserostagno@vijona.com.ar>
12441 Date: Mon Nov 5 14:26:05 2012 -0300
12443 pygi-convert: remove deprecated GLib → GObject conversions
12445 Using these functions from the GObject module is deprecated now,
12449 pygi-convert.sh | 5 -----
12450 1 file changed, 5 deletions(-)
12452 commit 21076d4b8f3ec8e253ca236fa3b20b07fde237fe
12453 Author: Simon Feltman <sfeltman@src.gnome.org>
12454 Date: Wed Nov 7 03:49:24 2012 -0800
12456 Use hasattr when testing for __info__ when finding vfuncs
12458 Change gi.types.find_vfunc_info_in_interface to use hasattr
12459 when finding vfuncs. Using '__info__' in __dict__ was skipping
12460 overridden interfaces which don't directly contain the __info__.
12463 1 file changed, 1 insertion(+), 1 deletion(-)
12465 commit 1b5c9b3d1499b3bc59afb297672abc671e175546
12466 Author: Martin Pitt <martinpitt@gnome.org>
12467 Date: Wed Nov 7 12:05:24 2012 +0100
12469 tests: Ensure that the fatal mask is always reset
12471 On test case failures the fatal mask might be left in a wrong state,
12473 with "finally" that it is reset on failed tests as well, to avoid
12477 tests/test_gi.py | 11 ++++++-----
12478 tests/test_overrides_gtk.py | 33 +++++++++++++++++++--------------
12479 tests/test_pygtkcompat.py | 6 ++++--
12480 tests/test_signal.py | 6 ++++--
12481 4 files changed, 33 insertions(+), 23 deletions(-)
12483 commit 463f660cd6bb78ae7f2ea7c70c0491e6b4744942
12484 Author: Simon Feltman <sfeltman@src.gnome.org>
12485 Date: Tue Nov 6 21:34:06 2012 -0800
12487 Replace GObject notify methods with introspection and python
12489 Replace static context managers for freeze_notify and
12490 handler_block with python context managers. Remove notify,
12491 freeze_notify, thaw_notify static methods as the introspection
12492 versions work fine.
12494 https://bugzilla.gnome.org/show_bug.cgi?id=672727
12496 gi/_gobject/pygobject.c | 173
12497 ++----------------------------------------------
12498 gi/overrides/GObject.py | 61 +++++++++++++++--
12499 tests/test_gobject.py | 26 ++++++--
12500 tests/test_signal.py | 13 +++-
12501 4 files changed, 91 insertions(+), 182 deletions(-)
12503 commit 3fcd987272a779e5ee9173a2c3a043b4b7475842
12504 Author: Simon Feltman <sfeltman@src.gnome.org>
12505 Date: Tue Oct 23 13:56:32 2012 -0700
12507 Add support for overriding GObject.Object
12509 Shift pygi module mechanics so the introspection generated 'Object'
12510 class becomes derived from the static GObject class. Add initial
12511 GObject.Object override which sets all static methods back essentially
12512 leapfrogging the introspection methods. This sets the stage for having
12513 the ability to remove static methods piecemeal in favor of
12514 introspection/python in future commits.
12516 https://bugzilla.gnome.org/show_bug.cgi?id=672727
12518 gi/module.py | 30 +++++++++++---------
12519 gi/overrides/GObject.py | 74
12520 ++++++++++++++++++++++++++++++++++++++++++++++++
12521 gi/pygobject-external.h | 10 +------
12522 gi/types.py | 7 +++++
12523 tests/test_gobject.py | 31 ++++++++++++++++----
12524 tests/testhelpermodule.c | 2 +-
12525 6 files changed, 126 insertions(+), 28 deletions(-)
12527 commit 4da6f93d86b104941c5533c3da5edb4a00ec62e9
12528 Author: Martin Pitt <martinpitt@gnome.org>
12529 Date: Tue Nov 6 13:55:21 2012 +0100
12531 Bump glib dependency to >= 2.34.2
12533 We need 2.34.2 or 2.35.2 as we now depend on the GIOChannel annotation
12537 configure.ac | 4 ++--
12538 2 files changed, 3 insertions(+), 3 deletions(-)
12540 commit 85c8dd7a9bc81fb5df5abc6d8a95f966955ec775
12541 Author: Martin Pitt <martinpitt@gnome.org>
12542 Date: Tue Nov 6 11:28:42 2012 +0100
12546 Point to python-hackers-list instead of the old pygtk list, update
12548 versions, and point to wiki page and IRC.
12550 README | 19 ++++++++++---------
12551 1 file changed, 10 insertions(+), 9 deletions(-)
12553 commit 6d8b29ba56fb085948a155c75af36dcea9c71da8
12554 Author: Martin Pitt <martinpitt@gnome.org>
12555 Date: Tue Nov 6 11:21:32 2012 +0100
12557 Add --with-python configure option
12559 This behaves like setting $PYTHON, but also works in build systems
12561 which do not support setting environment variables.
12563 Update README accordingly.
12565 README | 15 +++++++++------
12566 configure.ac | 43 ++++++++++++++++++++++++++++++++++---------
12567 2 files changed, 43 insertions(+), 15 deletions(-)
12569 commit 4e5556a5238a3b86da9a0e40fd0e23004ed6af75
12570 Author: Martin Pitt <martinpitt@gnome.org>
12571 Date: Tue Nov 6 10:39:27 2012 +0100
12573 python.m4: Add python3.3, do not prefer unversioned "python"
12575 Add python 3.3 to the search list.
12577 http://www.python.org/dev/peps/pep-0394/ broke the well-defined
12579 "python", so use that as last fallback if more specific versions do
12582 configure.ac | 2 +-
12583 m4/python.m4 | 2 +-
12584 2 files changed, 2 insertions(+), 2 deletions(-)
12586 commit e71c046ed8f5b06e6b7383ddc0fc18f06de6abee
12587 Author: Martin Pitt <martinpitt@gnome.org>
12588 Date: Tue Nov 6 09:48:50 2012 +0100
12590 m4: Update py-compile to current upstream version
12592 Update py-compile to current versions from automake 1.11.6.
12595 +++++++++++++++++++++++++++++++++++------------------------
12596 1 file changed, 48 insertions(+), 33 deletions(-)
12598 commit 8406b39f4e9ff98e0d59e880dde3ddb5e5131726
12599 Author: Martin Pitt <martinpitt@gnome.org>
12600 Date: Tue Nov 6 09:57:00 2012 +0100
12602 m4: Update introspection.m4 to current upstream version
12604 m4/introspection.m4 | 4 ++++
12605 1 file changed, 4 insertions(+)
12607 commit 4ffa61b7c39cf038440dc9acfe8d214c9b77c3a6
12608 Author: Martin Pitt <martinpitt@gnome.org>
12609 Date: Tue Nov 6 09:53:15 2012 +0100
12611 option.py: Fix PEP-8 error
12613 gi/_glib/option.py | 2 +-
12614 1 file changed, 1 insertion(+), 1 deletion(-)
12616 commit 2cbb54e79c23b96486d4a2bfa170460df5bd6c84
12617 Author: Simon Feltman <sfeltman@src.gnome.org>
12618 Date: Mon Nov 5 18:27:56 2012 -0800
12620 Remove DynamicGLibModule and DynamicGObjectModule
12622 Move final bits of _glib static binding imports directly into
12623 the GLib override. Change _glib/option use the .so directly
12624 rather than the staged variables in _glib/__init__.py.
12625 Remove DynamicGLibModule and DynamicGObjectModule and update
12628 https://bugzilla.gnome.org/show_bug.cgi?id=687488
12630 gi/_glib/__init__.py | 11 ----------
12631 gi/_glib/option.py | 16 +++++++-------
12632 gi/importer.py | 12 ++---------
12634 ----------------------------------------------------
12635 gi/overrides/GLib.py | 14 ++++++++++++
12636 tests/test_gi.py | 9 ++------
12637 6 files changed, 26 insertions(+), 96 deletions(-)
12639 commit 901c1b6e3722a9cd999e4948297e2c460f101d20
12640 Author: Daniel Drake <dsd@laptop.org>
12641 Date: Thu Nov 1 14:46:22 2012 +0000
12643 Fix property lookup in class hierarchy
12645 Commit 4bfe7972546413f46f5c36737ff03bb5612c1921 introduced a bug where
12646 a Python subclass of a gi-provided base class overrides a property
12650 The new behaviour in the above commit causes pygobject to seek
12652 in the base class and try to read it from there (resulting in
12654 rather than noticing that the property is overridden and present
12656 Python object instance.
12658 To provide a nicer solution here, we can exploit the fact that
12659 g_object_class_find_property() will traverse the hierarchy in order to
12660 find the right GParamSpec, and the returned GParamSpec can tell
12662 which GType introduces the property. The strategy is:
12664 1. Find pspec with g_object_class_find_property()
12665 2. Find the class that owns that property (pspec->owner_type)
12666 3. See if girepository owns that class.
12667 3a. If yes, get property from there.
12668 3b. If not, get property "directly"
12670 And the same for property setting.
12672 Now that _pygi_lookup_property_from_g_type is always passed the
12674 implements the property, it no longer has to go recursing through
12676 classes, which was the original cause of confusion.
12678 https://bugzilla.gnome.org/show_bug.cgi?id=686942
12680 gi/_gobject/pygobject.c | 92 +++++++++++++++++++++++----------
12681 gi/pygi-property.c | 130
12682 ++++++++++++++++++++++-------------------------
12683 gi/pygi-property.h | 4 +-
12684 gi/pygi.h | 12 ++---
12685 tests/test_properties.py | 30 +++++++++++
12686 5 files changed, 164 insertions(+), 104 deletions(-)
12688 commit efcb0f9fda65e24ae98438d61487d06db9eac1b1
12689 Author: Martin Pitt <martinpitt@gnome.org>
12690 Date: Sat Nov 3 16:14:01 2012 +0100
12692 Move property and signal creation into _class_init()
12694 We must not add class interfaces after g_type_class_ref() has been
12696 first time. Move signal and property creation from pyg_type_register()
12698 pyg_object_class_init(), and drop the hack of registering interfaces
12701 This changed class initialization order now exposes GLib's warning
12703 unknown signals, so adjust
12704 test_signal.TestGSignalsError.test_invalid_name() to
12707 https://bugzilla.gnome.org/show_bug.cgi?id=686149
12709 gi/_gobject/gobjectmodule.c | 177
12710 ++++++++++++++++++--------------------------
12711 tests/test_signal.py | 6 +-
12712 2 files changed, 75 insertions(+), 108 deletions(-)
12714 commit 655a5002ffaa088b775adbc59e5125444f7bc1ca
12715 Author: Jose Rostagno <joserostagno@vijona.com.ar>
12716 Date: Sat Nov 3 13:21:52 2012 -0300
12718 Remove unused macro definitions
12720 PYGLIB_*_VERSION are not used anywhere any more, remove those.
12721 (dropped in commit 8d52bceb1)
12723 gi/_glib/glibmodule.c | 5 -----
12724 1 file changed, 5 deletions(-)
12726 commit fa054fd15b8874760bee97d9af168a2969e6ece4
12727 Author: Martin Pitt <martinpitt@gnome.org>
12728 Date: Mon Nov 5 14:38:07 2012 +0100
12730 testhelpermodule.c: Drop obsolete g_thread_init()
12732 We already require a new enough glib version as we dropped
12734 the main code a long time ago. But for formality's sake, bump glib
12738 configure.ac | 4 ++--
12739 tests/testhelpermodule.c | 1 -
12740 2 files changed, 2 insertions(+), 3 deletions(-)
12742 commit 2e57530a27a44e94927d487cf2f2d9e543777654
12743 Author: Martin Pitt <martinpitt@gnome.org>
12744 Date: Mon Nov 5 14:37:11 2012 +0100
12746 pygi-source.c: Drop dead code
12748 gi/pygi-source.c | 2 --
12749 1 file changed, 2 deletions(-)
12751 commit 2a24c9ccd59bff719fa817a0ec5c959f6da03e1c
12752 Author: Simon Feltman <sfeltman@src.gnome.org>
12753 Date: Sun Nov 4 22:22:53 2012 -0800
12755 Move TYPE constants from _gobject to GObject
12757 Clear out TYPE constants from _gobject/__init__.py and move them
12759 GObject overrides. Disperse class imports among modules that use
12761 of using _gobject/__init__.py as a staging area (e.g. GInterface).
12763 https://bugzilla.gnome.org/show_bug.cgi?id=687487
12765 gi/_gobject/__init__.py | 30 ------------------------------
12766 gi/_gobject/constants.py | 2 +-
12767 gi/module.py | 38 +++++++++++++++++++++++++-------------
12768 gi/overrides/__init__.py | 9 ++++++---
12769 gi/types.py | 10 ++++++----
12770 5 files changed, 38 insertions(+), 51 deletions(-)
12772 commit c2aa6f0d0ed4c4e60f081b106dc7a65513963fce
12773 Author: Martin Pitt <martinpitt@gnome.org>
12774 Date: Mon Nov 5 13:10:05 2012 +0100
12776 Move G_MIN/MAX constants into GObject overrides
12778 These really ought to come from GLib's typelib, but are not right
12780 need to keep the static bindings for those. But drop them from
12782 move them into the overrides where they belong.
12784 gi/_gobject/__init__.py | 17 -----------------
12785 gi/_gobject/constants.py | 21 ---------------------
12786 gi/_gobject/propertyhelper.py | 2 +-
12787 gi/overrides/GObject.py | 9 +++++++++
12788 tests/test_gi.py | 32 ++++++++++++++++----------------
12789 5 files changed, 26 insertions(+), 55 deletions(-)
12791 commit 12b84727edc36f686a7031b5c4c6bf662838908d
12792 Author: Martin Pitt <martinpitt@gnome.org>
12793 Date: Mon Nov 5 11:04:54 2012 +0100
12795 Replace static OPTION_* constants with GI
12797 Drop static definitions of GLib.OPTION_* constants and use the ones
12801 https://bugzilla.gnome.org/show_bug.cgi?id=686765
12803 gi/_glib/__init__.py | 13 -------------
12804 gi/_glib/glibmodule.c | 32 --------------------------------
12805 gi/_glib/option.py | 46
12806 ++++++++++++++++++++++++----------------------
12807 gi/overrides/GLib.py | 13 +++++++++++++
12808 gi/overrides/GObject.py | 2 +-
12809 5 files changed, 38 insertions(+), 68 deletions(-)
12811 commit 7372e3c9ecb8e836894c32975eab8c4107ba0b28
12812 Author: Martin Pitt <martinpitt@gnome.org>
12813 Date: Mon Nov 5 10:14:52 2012 +0100
12815 tests: Do not use deprecated assertRaisesRegexp()
12817 Use assertRaisesRegex() instead and provide 2.7 compatibility in
12820 tests/runtests.py | 3 +++
12821 tests/test_signal.py | 8 ++++----
12822 2 files changed, 7 insertions(+), 4 deletions(-)
12824 commit da2106902eb3dabebdff1674743cb3040566a745
12825 Author: Simon Feltman <sfeltman@src.gnome.org>
12826 Date: Sun Nov 4 02:57:29 2012 -0800
12828 Move gobject static functions and constants to gi
12830 Replace the following functions with gi and overrides:
12831 type_children, type_interfaces, signal_list_ids, signal_list_names,
12832 signal_lookup, signal_name, type_parent. Assign SIGNAL_* and
12833 PARAM_* from gi SignalFlags and ParamFlags respectively.
12834 Move module level assignments of a number of static functions to
12835 the GObject.py overrides file.
12837 https://bugzilla.gnome.org/show_bug.cgi?id=687487
12839 docs/reference/pygobject-functions.xml | 25 ---
12840 gi/_gobject/__init__.py | 72 +--------
12841 gi/_gobject/gobjectmodule.c | 272
12842 ---------------------------------
12843 gi/overrides/GObject.py | 208 ++++++++++++++++++++++++-
12844 gi/overrides/__init__.py | 5 +-
12845 tests/test_signal.py | 11 +-
12846 6 files changed, 215 insertions(+), 378 deletions(-)
12848 commit f4acd6a9d14248d459708f61fd01f6d4735f087d
12849 Author: Simon Feltman <sfeltman@src.gnome.org>
12850 Date: Sun Nov 4 02:52:19 2012 -0800
12852 Make unitests for gobject functions moving to gi more strict
12854 Add expected failure test for invalid SystemError's coming from
12855 signal_lookup and signal_list_ids. Remove excessive type_name
12856 tests and type_from_name tests.
12858 https://bugzilla.gnome.org/show_bug.cgi?id=687487
12860 tests/test_gtype.py | 53
12861 ----------------------------------------------------
12862 tests/test_signal.py | 40 ++++++++++++++++++++++++---------------
12863 2 files changed, 25 insertions(+), 68 deletions(-)
12865 commit 3267808318b284814e52f2803b17af56fca648ad
12866 Author: Martin Pitt <martinpitt@gnome.org>
12867 Date: Sat Nov 3 14:17:25 2012 +0100
12869 [API change] Remove static filename_from_utf8() binding
12871 Replace static GLib.filename_from_utf8() with GI. The old static
12873 tried to convert the result to an Unicode object, which will fail
12875 is not UTF-8 encoded (which is the whole point of this function
12879 Although the static binding was rather useless before, this is
12883 docs/reference/pyglib-functions.xml | 32 --------------------------------
12884 gi/_glib/__init__.py | 1 -
12885 gi/_glib/glibmodule.c | 26 --------------------------
12886 gi/_gobject/__init__.py | 1 -
12887 gi/overrides/GLib.py | 8 ++++++++
12888 gi/overrides/GObject.py | 3 ++-
12889 tests/test_glib.py | 8 ++++++++
12890 7 files changed, 18 insertions(+), 61 deletions(-)
12892 commit 8d52bceb1e0aa0dc79cf77f36dda9f953f170459
12893 Author: Martin Pitt <martinpitt@gnome.org>
12894 Date: Sat Nov 3 13:14:15 2012 +0100
12896 Drop static glib_version and pyglib_version constants
12898 Use the GLib version from GI instead, and the already existing
12901 docs/reference/pyglib-constants.xml | 50
12902 ----------------------------------
12903 docs/reference/pygobject-constants.xml | 19 -------------
12904 gi/_glib/__init__.py | 2 --
12905 gi/_glib/glibmodule.c | 21 --------------
12906 gi/_gobject/__init__.py | 1 -
12907 gi/overrides/GLib.py | 8 +++++-
12908 gi/overrides/GObject.py | 3 +-
12909 tests/test_glib.py | 12 ++++++++
12910 8 files changed, 21 insertions(+), 95 deletions(-)
12912 commit 9f96325e75f7c5f88789ea3f74a068e73cfde1a2
12913 Author: Martin Pitt <martinpitt@gnome.org>
12914 Date: Sat Nov 3 12:12:44 2012 +0100
12916 Drop static G_MININT8 and related constants
12918 Use the introspected constants from GLib instead.
12920 gi/_gobject/__init__.py | 12 ------------
12921 gi/_gobject/constants.py | 12 ------------
12922 gi/_gobject/gobjectmodule.c | 18 +-----------------
12923 gi/overrides/GObject.py | 17 +++++++++++++++++
12924 tests/test_gobject.py | 4 ++++
12925 5 files changed, 22 insertions(+), 41 deletions(-)
12927 commit 3354c4eda0f098d1a8f744264ef9a2565a38b50d
12928 Author: Martin Pitt <martinpitt@gnome.org>
12929 Date: Sat Nov 3 11:58:40 2012 +0100
12931 test_gobject: Add test case for min/max int constants
12933 Related to https://bugzilla.gnome.org/show_bug.cgi?id=685022
12935 tests/test_gobject.py | 9 +++++++++
12936 1 file changed, 9 insertions(+)
12938 commit d70cb32789e057fe5a16e61a0cce77d9c54a3ee1
12939 Author: Jose Rostagno <joserostagno@vijona.com.ar>
12940 Date: Sat Oct 27 15:37:32 2012 -0300
12942 Use g_object_info_find_signal()
12944 Replace our custom code with a call to the corresponding
12945 gobject-instrospection
12948 https://bugzilla.gnome.org/show_bug.cgi?id=687371
12950 gi/pygi-signal-closure.c | 21 ++++-----------------
12951 1 file changed, 4 insertions(+), 17 deletions(-)
12953 commit ae6d0aada9587cd4dca168375527b80785b604a0
12954 Author: Martin Pitt <martinpitt@gnome.org>
12955 Date: Sat Nov 3 11:23:06 2012 +0100
12957 GLib overrides: code cleanup
12959 Factorize the logic to handle zero or multiple user_data arguments
12961 user_data_varargs_shim(), and put code that handles deprecated API
12963 corresponding "then" branches, to improve readability.
12965 gi/overrides/GLib.py | 87
12966 ++++++++++++++++++++++++++++------------------------
12967 1 file changed, 47 insertions(+), 40 deletions(-)
12969 commit d7f095b01e7208273703c880f4f0dfcc1a152a9a
12970 Author: Martin Pitt <martinpitt@gnome.org>
12971 Date: Sat Nov 3 09:33:08 2012 +0100
12973 Restore actual GLib API after previous fix
12975 Re-fix the acceptance of priority as first argument for idle_add(),
12976 io_add_watch() and timeout_add(), as that is the real GLib API. Ensure
12978 this keeps supporting the backwards compatible API with supplying
12982 https://bugzilla.gnome.org/show_bug.cgi?id=687047
12984 gi/overrides/GLib.py | 117
12985 +++++++++++++++++++++++++-----------------------
12986 tests/test_iochannel.py | 74 +++++++++++++++++++++++++++---
12987 tests/test_source.py | 30 +++++++++++++
12988 3 files changed, 158 insertions(+), 63 deletions(-)
12990 commit 648b653d85bf3bc28dc59c6d309f15d388076af9
12991 Author: Simon Feltman <sfeltman@src.gnome.org>
12992 Date: Fri Nov 2 21:01:38 2012 -0700
12994 Add unittests for module level type and signal functions
12996 Add tests for the following methods: signal_list_ids,
12997 signal_name, signal_lookup, signal_query, type_children,
12998 type_from_name, type_name, type_is_a, and type_interfaces.
13000 https://bugzilla.gnome.org/show_bug.cgi?id=687487
13002 tests/Makefile.am | 1 +
13003 tests/test_gtype.py | 106
13004 +++++++++++++++++++++++++++++++++++++++++++++++++++
13005 tests/test_signal.py | 43 +++++++++++++++++++++
13006 3 files changed, 150 insertions(+)
13008 commit 80db2a50feab9898d7c5f88ea27aadc3dfb5bec3
13009 Author: Simon Feltman <sfeltman@src.gnome.org>
13010 Date: Tue Oct 30 18:33:44 2012 -0700
13012 Fix GLib override incompatibilities with old static API
13014 Change idle_add, timeout_add, timeout_add_seconds, and
13015 io_add_watch to accept *args and **kwargs as arguments
13016 to the callback functions instead of only accepting a single
13017 user_data arg. This ensures the new overridden introspection
13018 methods are backwards compatible with the static versions
13021 https://bugzilla.gnome.org/show_bug.cgi?id=687047
13023 gi/overrides/GLib.py | 98
13024 ++++++++++++++++++++++++++++---------------------
13025 tests/test_iochannel.py | 37 +++++++++++++++++--
13026 2 files changed, 90 insertions(+), 45 deletions(-)
13028 commit 9c6399bbf75c312b1ef4933d079712ea5b05a935
13029 Author: Simon Feltman <sfeltman@src.gnome.org>
13030 Date: Tue Oct 30 12:01:44 2012 -0700
13032 Fix IOChannel unittests for python 2.7
13034 Use __future__ unicode_literals to minimize difference
13035 between python 2.7 and 3. Comparisons need to encode arguments as
13036 'UTF-8' for testing readline operations.
13037 Add backwards compatible "next" to support the python 2.7 iteration.
13038 Change isinstance(channel, file) to hasattr(channel, 'fileno') to
13039 support all python versions (and duck typing).
13041 https://bugzilla.gnome.org/show_bug.cgi?id=687047
13043 gi/overrides/GLib.py | 4 +++-
13044 tests/test_iochannel.py | 1 +
13045 2 files changed, 4 insertions(+), 1 deletion(-)
13047 commit 0f94a0a4ebd2bbfd06d8f9a2bb2b17dabf7678ef
13048 Author: Martin Pitt <martinpitt@gnome.org>
13049 Date: Mon Oct 29 23:00:31 2012 +0100
13051 Allow calling io_add_watch with a file object
13053 The old static bindings allowed that, so we need to allow it to
13055 backwards compatibility. Deprecate this mode as well, so that we
13059 https://bugzilla.gnome.org/show_bug.cgi?id=687047
13061 gi/overrides/GLib.py | 7 +++++++
13062 tests/test_glib.py | 26 ++++++++++++++++++++++++++
13063 2 files changed, 33 insertions(+)
13065 commit 3ba67fd41944309077eb81c4c03397519ed29dc4
13066 Author: John Ralls <jralls@ceridwen.us>
13067 Date: Mon Oct 29 14:57:22 2012 -0700
13069 Fix duplicate symbols error on OSX
13071 gi/pygi-source.c | 1 +
13072 1 file changed, 1 insertion(+)
13074 commit 5a367aa067e369f2b1e713199614e3426fecc10e
13075 Author: Martin Pitt <martinpitt@gnome.org>
13076 Date: Sun Oct 28 17:42:34 2012 +0100
13078 Drop removed markup-escape-text() from reference documentation
13080 docs/reference/pyglib-functions.xml | 36
13081 ------------------------------------
13082 1 file changed, 36 deletions(-)
13084 commit 057b3d3791e6f1947004f2482c0ae40529de03ae
13085 Author: Martin Pitt <martinpitt@gnome.org>
13086 Date: Sun Oct 28 17:41:03 2012 +0100
13088 Drop some dead code from gi/_glib/glibmodule.c
13090 gi/_glib/glibmodule.c | 45 ---------------------------------------------
13091 1 file changed, 45 deletions(-)
13093 commit 7b12803bce3418bb487127f497f022c973f35888
13094 Author: Martin Pitt <martinpitt@gnome.org>
13095 Date: Sun Oct 28 17:37:29 2012 +0100
13097 Remove static get_current_time() binding
13099 Use GLib.get_real_time() through GI instead. Deprecate the function,
13101 GLib.get_real_time() should be called directly.
13103 docs/reference/pyglib-functions.xml | 26 --------------------------
13104 gi/_glib/__init__.py | 1 -
13105 gi/_glib/glibmodule.c | 11 -----------
13106 gi/_glib/pyglib.c | 16 ----------------
13107 gi/_glib/pyglib.h | 1 -
13108 gi/_gobject/__init__.py | 1 -
13109 gi/overrides/GLib.py | 8 ++++++++
13110 gi/overrides/GObject.py | 2 +-
13111 tests/test_glib.py | 6 +++++-
13112 9 files changed, 14 insertions(+), 58 deletions(-)
13114 commit b3dfb780b3a74f6933e3afcd2ba512b36dfbe514
13115 Author: Martin Pitt <martinpitt@gnome.org>
13116 Date: Sun Oct 28 17:23:23 2012 +0100
13118 Add more tests for GLib.spawn_async()
13120 Check spawn_async() with getting stdin/out/err pipes and specifying
13123 tests/test_subprocess.py | 29 +++++++++++++++++++++++++++++
13124 1 file changed, 29 insertions(+)
13126 commit 70d78eee4a04dcaefea4615fe351e33fa717dffa
13127 Author: Martin Pitt <martinpitt@gnome.org>
13128 Date: Sun Oct 28 14:15:05 2012 +0100
13130 Remove static child_add_watch() binding
13132 Use the GLib API through GI instead, and provide override to keep
13134 compatible API. Also allow using the actual GLib API, and deprecate
13136 static API of calling without a priority as first argument.
13138 docs/reference/pyglib-functions.xml | 61 ---------------------------
13139 gi/_glib/__init__.py | 1 -
13140 gi/_glib/glibmodule.c | 72 -------------------------------
13141 gi/_gobject/__init__.py | 1 -
13142 gi/overrides/GLib.py | 46 ++++++++++++++++++++
13143 gi/overrides/GObject.py | 2 +-
13144 tests/test_mainloop.py | 2 +-
13145 tests/test_subprocess.py | 84
13146 ++++++++++++++++++++++++++++++++++---
13147 8 files changed, 127 insertions(+), 142 deletions(-)
13149 commit 4b16427714b850e33c6020d8de1833bae19a3b87
13150 Author: Martin Pitt <martinpitt@gnome.org>
13151 Date: Sun Oct 28 13:44:23 2012 +0100
13153 test_subprocess: Cover more child_watch_add() cases
13155 Verify that priority is set correctly, and also test calling without
13158 tests/test_subprocess.py | 24 +++++++++++++++++++-----
13159 1 file changed, 19 insertions(+), 5 deletions(-)
13161 commit 83ff5938612d37d52f112867a472777dd6786d69
13162 Author: Colin Walters <walters@verbum.org>
13163 Date: Sat Oct 27 12:22:53 2012 -0400
13165 gi/__init__.py: Pacify pep8 style checker
13167 It was complaining about finding only 1 blank line. Regression
13168 likely introduced by f976d05b.
13170 https://bugzilla.gnome.org/show_bug.cgi?id=686991
13172 gi/__init__.py | 1 +
13173 1 file changed, 1 insertion(+)
13175 commit f976d05b04f26e733d19988e68989e340eb3a29e
13176 Author: Martin Pitt <martinpitt@gnome.org>
13177 Date: Fri Oct 26 10:39:28 2012 +0200
13179 Use a custom deprecation warning to make them visible by default
13181 DeprecationWarning is not shown by default, and is thus rather
13183 developers. Use a custom PyGIDeprecationWarning class and derive
13185 RuntimeWarning to make it visible.
13187 gi/__init__.py | 5 +++++
13188 gi/overrides/GLib.py | 5 +++--
13189 gi/overrides/Gtk.py | 5 +++--
13190 gi/overrides/__init__.py | 4 ++--
13191 gi/pygtkcompat.py | 4 ++--
13192 tests/Makefile.am | 2 +-
13193 tests/test_glib.py | 5 +++--
13194 tests/test_gobject.py | 3 ++-
13195 tests/test_iochannel.py | 5 +++--
13196 tests/test_source.py | 3 ++-
13197 10 files changed, 26 insertions(+), 15 deletions(-)
13199 commit 366f5d2d3902c6293d0031e0b7dc5d6641a05ac7
13200 Author: Martin Pitt <martinpitt@gnome.org>
13201 Date: Fri Oct 26 09:26:17 2012 +0200
13203 Remove static io_add_watch() binding
13205 Use the GLib API through GI instead, and provide override to keep
13207 compatible API. Also allow using the actual GLib API, and deprecate
13210 - calling with an fd as first argument instead of an IOChannel
13211 - calling without a priority as second argument
13213 docs/reference/pyglib-functions.xml | 106
13214 ------------------------------------
13215 gi/_glib/__init__.py | 1 -
13216 gi/_glib/glibmodule.c | 98
13217 ---------------------------------
13218 gi/_gobject/__init__.py | 1 -
13219 gi/overrides/GLib.py | 51 ++++++++++++++---
13220 gi/overrides/GObject.py | 3 +-
13221 tests/test_glib.py | 15 ++++-
13222 tests/test_iochannel.py | 70 +++++++++++++++++++++++-
13223 8 files changed, 126 insertions(+), 219 deletions(-)
13225 commit 284de1eb5c37a3f6caa7d846dbd439f1eac410a2
13226 Author: Martin Pitt <martinpitt@gnome.org>
13227 Date: Fri Oct 26 08:48:35 2012 +0200
13229 Add tests for GLib.io_add_watch()
13231 tests/test_glib.py | 36 ++++++++++++++++++++++++++++++++++++
13232 1 file changed, 36 insertions(+)
13234 commit 15e717ce2c2a26c02c913f79bc7cf6876d943e92
13235 Author: Martin Pitt <martinpitt@gnome.org>
13236 Date: Thu Oct 25 15:55:46 2012 +0200
13238 Remove static GIOChannel bindings
13240 Use the GLib API through GI instead, and provide overrides to keep
13242 compatible API, including its bugs.
13244 We still need to keep a static wrapper around
13245 g_io_channel_read_chars() until
13246 we teach PyGObject to correctly handle caller allocated out array
13249 https://bugzilla.gnome.org/show_bug.cgi?id=686795
13251 gi/_glib/Makefile.am | 2 -
13252 gi/_glib/__init__.py | 1 -
13253 gi/_glib/glibmodule.c | 2 -
13254 gi/_glib/pygiochannel.c | 748
13255 ------------------------------------------------
13256 gi/_glib/pygiochannel.h | 29 --
13257 gi/_gobject/__init__.py | 1 -
13258 gi/gimodule.c | 72 +++++
13259 gi/overrides/GLib.py | 95 +++++-
13260 8 files changed, 161 insertions(+), 789 deletions(-)
13262 commit 0bfa6b44b808d9f8f55199216c29c1aec96c7719
13263 Author: Martin Pitt <martinpitt@gnome.org>
13264 Date: Thu Oct 25 12:59:46 2012 +0200
13266 test_iochannel.py: Fix data type of IOFlags
13268 ~GLib.IOFlags.NONBLOCK yields an int instead of a GLib.IOFlags,
13270 the result is of type GLib.IOFlags again.
13272 tests/test_iochannel.py | 2 +-
13273 1 file changed, 1 insertion(+), 1 deletion(-)
13275 commit 25d12afd06863ce223a161ba1317bfe5503bca5c
13276 Author: Martin Pitt <martinpitt@gnome.org>
13277 Date: Thu Oct 25 08:24:31 2012 +0200
13279 Add environment variable to disable pep8 checks
13281 pep8 takes quite long for "make check". Skip it if $SKIP_PEP8 is
13283 makes the test/fix turnaround time faster.
13285 tests/Makefile.am | 6 ++++--
13286 1 file changed, 4 insertions(+), 2 deletions(-)
13288 commit e9624ed1d38c777de2b430e3b0fbae2acbf34956
13289 Author: Simon Feltman <sfeltman@src.gnome.org>
13290 Date: Wed Oct 24 04:31:26 2012 -0700
13292 [API add] Add get_introspection_module for getting un-overridden
13295 Add gi.module.get_introspection_module to explicitly get a
13296 wrapped module pulled in through introspection without static
13297 and python override handling. This API is intended for python
13298 overrides to use rather than having them access
13299 gi.importer.modules['<name>']._introspection_module directly.
13300 Replace aforementioned usage in all overrides.
13302 https://bugzilla.gnome.org/show_bug.cgi?id=686828
13305 +++++++++++++++++++++++++++++++++++---
13306 gi/overrides/GIMarshallingTests.py | 4 ++--
13307 gi/overrides/GLib.py | 4 ++--
13308 gi/overrides/Gdk.py | 6 +++---
13309 gi/overrides/Gio.py | 4 ++--
13310 gi/overrides/Gtk.py | 5 +++--
13311 gi/overrides/Pango.py | 4 ++--
13312 tests/test_overrides.py | 29 +++++++++++++++++++++++++++++
13313 8 files changed, 78 insertions(+), 16 deletions(-)
13315 commit e6e047ef9b8575c852b3cdc3f5d4dfbb548cc648
13316 Author: Martin Pitt <martinpitt@gnome.org>
13317 Date: Wed Oct 24 15:16:13 2012 +0200
13319 test_option: Use public API
13321 Use GLib.option, not gi._glib.option.
13323 tests/test_option.py | 42 ++++++++++++++++++++----------------------
13324 1 file changed, 20 insertions(+), 22 deletions(-)
13326 commit 6a586af41b8740c4ba590591d1068d80071ff2dc
13327 Author: Martin Pitt <martinpitt@gnome.org>
13328 Date: Wed Oct 24 14:12:05 2012 +0200
13330 Drop static SPAWN_* constants
13332 Use the introspected constants instead, which are identical. Add
13334 compatible aliases.
13336 These constants are covered by tests/test_subprocess.py.
13338 https://bugzilla.gnome.org/show_bug.cgi?id=686765
13340 docs/reference/pyglib-constants.xml | 68
13341 ----------------------------------
13342 docs/reference/pyglib-functions.xml | 26 ++++++-------
13343 docs/reference/pygobject-constants.xml | 67
13344 ---------------------------------
13345 gi/_glib/__init__.py | 7 ----
13346 gi/_glib/glibmodule.c | 15 --------
13347 gi/_gobject/__init__.py | 7 ----
13348 gi/overrides/GLib.py | 6 +++
13349 gi/overrides/GObject.py | 6 ++-
13350 tests/test_subprocess.py | 6 ++-
13351 9 files changed, 29 insertions(+), 179 deletions(-)
13353 commit 0137a7af7bf69421e0c8e94120a1f8cff01fbeea
13354 Author: Martin Pitt <martinpitt@gnome.org>
13355 Date: Wed Oct 24 13:59:31 2012 +0200
13357 Drop static IO_* constants
13359 Use the introspected constants instead, which are identical. Add
13361 compatible aliases.
13363 These constants are covered by tests/test_iochannel.py.
13365 docs/reference/pyglib-constants.xml | 52
13366 -------------------------------------
13367 gi/_glib/__init__.py | 19 --------------
13368 gi/_glib/glibmodule.c | 32 -----------------------
13369 gi/_gobject/__init__.py | 18 -------------
13370 gi/overrides/GLib.py | 18 ++++++++++++-
13371 gi/overrides/GObject.py | 8 +++++-
13372 tests/test_iochannel.py | 1 +
13373 tests/test_source.py | 2 +-
13374 8 files changed, 26 insertions(+), 124 deletions(-)
13376 commit 0e1a6ccee45ae2239da1c44de1866596343165ba
13377 Author: Martin Pitt <martinpitt@gnome.org>
13378 Date: Wed Oct 24 12:50:50 2012 +0200
13380 Fix various bugs in GLib.IOChannel
13382 - Fix segfault when using an IOChannel as an iterator: PyIter_Next()
13384 NULL on the last element, instead of raising a StopIteration.
13386 - The default encoding of a stream is 'UTF-8', not NULL. NULL means
13388 stream is being used in binary mode; in that case, we should not
13390 do any automagic conversion to an Unicode object. As this special
13392 inconsistent and has never worked anyway, and the current buggy
13393 implementation breaks binary streams, just drop it without
13395 (Introduced in commit de9eae4dfcce8)
13397 These bugs were uncovered by the previously committed tests.
13399 gi/_glib/pygiochannel.c | 25 +++++--------------------
13400 1 file changed, 5 insertions(+), 20 deletions(-)
13402 commit a98c37937a4f7cb81a0b02c023d12097f386a22c
13403 Author: Martin Pitt <martinpitt@gnome.org>
13404 Date: Wed Oct 24 12:49:04 2012 +0200
13406 Add tests for GLib.IOChannel
13408 This did not have any code coverage at all. The tests uncover a
13410 which will be fixed in the next commit.
13412 tests/Makefile.am | 1 +
13413 tests/test_iochannel.py | 262
13414 ++++++++++++++++++++++++++++++++++++++++++++++++
13415 2 files changed, 263 insertions(+)
13417 commit 1b27432abf6004553e9476d5ffeb2bf603534419
13418 Author: Martin Pitt <martinpitt@gnome.org>
13419 Date: Wed Oct 24 08:50:37 2012 +0200
13421 Remove static idle_add/timeout_add bindings
13423 Use the GLib functions through GI instead. Add overrides to ensure
13425 arguments continue to work as before, and that callbacks are called
13427 userdata argument if it wasn't specified.
13429 docs/reference/pyglib-functions.xml | 165
13430 ------------------------------------
13431 gi/_glib/__init__.py | 3 -
13432 gi/_glib/glibmodule.c | 139 ------------------------------
13433 gi/_gobject/__init__.py | 3 -
13434 gi/overrides/GLib.py | 31 +++++++
13435 gi/overrides/GObject.py | 3 +-
13436 tests/test_source.py | 19 +++++
13437 7 files changed, 52 insertions(+), 311 deletions(-)
13439 commit 2357f4a0237feabcf6886f2a448aa3f42f6781b9
13440 Author: Martin Pitt <martinpitt@gnome.org>
13441 Date: Wed Oct 24 09:14:57 2012 +0200
13443 Add tests for priority argument of idle_add/timeout_add
13445 There is a potential to treat the priority as user data in a call like
13446 "GLib.idle_add(cb, GLib.PRIORITY_HIGH)". The current static bindings
13448 using a keyword argument for the priority (but silently ignore it
13450 specify both userdata and priority as a positional argument).
13452 Test the correct handling of priority as well.
13454 tests/test_source.py | 63
13455 ++++++++++++++++++++++++++++++++++++++++++++++++----
13456 1 file changed, 59 insertions(+), 4 deletions(-)
13458 commit dceb4d60e210cb1531ad81935733a3f0be0c8edb
13459 Author: Martin Pitt <martinpitt@gnome.org>
13460 Date: Wed Oct 24 08:40:50 2012 +0200
13462 Drop old ChangeLog.pre-2.18
13464 This is ancient by now, quite sizable, and the complete history can
13466 seen in the git log.
13468 ChangeLog.pre-2.18 | 3608
13469 ----------------------------------------------------
13471 2 files changed, 3609 deletions(-)
13473 commit 127ef91f1563caa346bc2ac2adb064487a84e6a0
13474 Author: Martin Pitt <martinpitt@gnome.org>
13475 Date: Wed Oct 24 08:39:05 2012 +0200
13477 Fix PEP-8 whitespace in previous commit
13479 tests/test_source.py | 4 ++++
13480 1 file changed, 4 insertions(+)
13482 commit 0bc0b55be0dae7528c2fc7439d672ad4e417335d
13483 Author: Martin Pitt <martinpitt@gnome.org>
13484 Date: Wed Oct 24 08:33:49 2012 +0200
13486 Add tests for idle_add()/timeout_add with and without user data
13488 This is implicitly spread over various test cases, but let's test
13490 to ensure that the behaviour stays consistent when moving this to GI.
13492 tests/test_source.py | 35 +++++++++++++++++++++++++++++++++++
13493 1 file changed, 35 insertions(+)
13495 commit d0a0332feb7946f4bb6b43211d6fe3ae67e7dba5
13496 Author: Martin Pitt <martinpitt@gnome.org>
13497 Date: Wed Oct 24 08:05:43 2012 +0200
13499 tests: consitent naming style
13501 Stop mixing camel case and underline naming, use the latter
13505 tests/test_gobject.py | 64
13506 +++++++++++++++++++++++------------------------
13507 tests/test_interface.py | 4 +--
13508 tests/test_option.py | 14 +++++------
13509 tests/test_pygtkcompat.py | 32 ++++++++++++------------
13510 tests/test_signal.py | 10 ++++----
13511 tests/test_source.py | 23 ++++++++---------
13512 tests/test_subprocess.py | 2 +-
13513 tests/test_thread.py | 2 +-
13514 tests/test_unknown.py | 2 +-
13515 9 files changed, 76 insertions(+), 77 deletions(-)
13517 commit 4b460e2eb18b8340fe99252063fdb08b0c222968
13518 Author: Martin Pitt <martinpitt@gnome.org>
13519 Date: Wed Oct 24 07:28:10 2012 +0200
13521 Work around wrong 64 bit constants in GLib Gir
13523 GLib's gir currently has wrong constants for MININT64 and MAXUINT64;
13525 set them in an override, until this gets fixed properly.
13527 https://bugzilla.gnome.org/show_bug.cgi?id=685022
13529 gi/overrides/GLib.py | 8 ++++++++
13530 tests/test_gi.py | 9 +++++++++
13531 2 files changed, 17 insertions(+)
13533 commit f30efd2619911c89ca873fac6bec06a1b60fab82
13534 Author: Martin Pitt <martinpitt@gnome.org>
13535 Date: Tue Oct 23 13:32:14 2012 +0200
13537 Mark GLib.Source.get_current_time() as deprecated
13539 This method has been deprecated in GLib long ago. We have a workaround
13540 implementation using GLib.get_real_time(), but eventually this should
13543 gi/overrides/GLib.py | 5 ++++-
13544 tests/test_source.py | 8 +++++++-
13545 2 files changed, 11 insertions(+), 2 deletions(-)
13547 commit 483c86267f2623eaa88d6a9e685c96ec3ba4f121
13548 Author: Martin Pitt <martinpitt@gnome.org>
13549 Date: Tue Oct 23 08:56:19 2012 +0200
13551 Mark GLib API that is exposed in GObject as deprecated
13553 A lot of API in GObject really belongs into GLib and is just there for
13554 historical/backwards compatible reasons. Mark these methods as
13556 that at some point we can drop them.
13558 gi/overrides/GObject.py | 3 ++-
13559 gi/overrides/__init__.py | 13 +++++++++++++
13560 tests/test_gobject.py | 24 ++++++++++++++----------
13561 3 files changed, 29 insertions(+), 11 deletions(-)
13563 commit 191cf45af44850fc29f2392ae2f0042aed6d13a9
13564 Author: Martin Pitt <martinpitt@gnome.org>
13565 Date: Fri Oct 19 09:55:05 2012 +0200
13567 Remove static MainLoop, MainContext, and some GSource bindings
13569 glib's MainLoop and MainContext are fully introspectable these days,
13571 our static bindings. This reduces our code, as well enables GLib
13573 hasn't been available through the static bindings before.
13575 This also requires dropping our custom static types for GLib Source,
13577 and Idle. The latter two work fine with introspection and just
13579 overrides for a backwards compatible API. g_source_new() is not
13581 though, so we need to keep our static wrappers for that. Move
13583 gi/_glib/pygsource.c to gi/pygi-source.c, so that it can use the
13586 Note that gi/_glib/pygsource.[hc] is still required for the static
13588 which is used by the static IOChannel binding. Once the latter
13590 PollFD can be dropped as well.
13592 https://bugzilla.gnome.org/show_bug.cgi?id=686443
13594 docs/Makefile.am | 6 +-
13595 docs/reference/pyglib-classes.xml | 2 -
13596 docs/reference/pyglib-constants.xml | 53 ---
13597 docs/reference/pyglib-functions.xml | 58 ---
13598 docs/reference/pyglib-maincontext.xml | 152 --------
13599 docs/reference/pyglib-mainloop.xml | 202 -----------
13600 gi/Makefile.am | 2 +
13601 gi/_glib/Makefile.am | 4 -
13602 gi/_glib/__init__.py | 12 -
13603 gi/_glib/glibmodule.c | 45 +--
13604 gi/_glib/pyglib.c | 15 -
13605 gi/_glib/pyglib.h | 1 -
13606 gi/_glib/pygmaincontext.c | 126 -------
13607 gi/_glib/pygmaincontext.h | 40 ---
13608 gi/_glib/pygmainloop.c | 362 -------------------
13609 gi/_glib/pygmainloop.h | 36 --
13610 gi/_glib/pygsource.c | 640
13611 ----------------------------------
13612 gi/_glib/pygsource.h | 3 -
13613 gi/_gobject/__init__.py | 13 -
13614 gi/gimodule.c | 9 +
13615 gi/overrides/GLib.py | 116 +++++-
13616 gi/overrides/GObject.py | 10 +-
13617 gi/pygi-private.h | 1 +
13618 gi/pygi-source.c | 247 +++++++++++++
13619 gi/pygi-source.h | 31 ++
13620 tests/test_glib.py | 22 +-
13621 tests/test_gobject.py | 2 +
13622 tests/test_source.py | 3 -
13623 28 files changed, 437 insertions(+), 1776 deletions(-)
13625 commit 326218a20681c1f2234a6eea1ed800382be57626
13626 Author: Simon Feltman <s.feltman@gmail.com>
13627 Date: Wed Sep 19 15:37:14 2012 -0700
13629 Deprecate void pointer fields as general PyObject storage.
13631 Complete deprecation of gpointer struct fields as general
13632 PyObject storage. Only int types are now allowed.
13633 Assignment of anything other than an int or None raises
13634 a TypeError stating the error and associated bug URL.
13636 https://bugzilla.gnome.org/show_bug.cgi?id=683599
13638 gi/pygi-argument.c | 25 ++++++++++++++++-----
13639 gi/pygi-info.c | 28 ++++--------------------
13640 tests/test_everything.py | 53
13641 +++++++++++++++++++++++++--------------------
13642 tests/test_overrides_gtk.py | 41 -----------------------------------
13643 4 files changed, 54 insertions(+), 93 deletions(-)
13645 commit 3dba328010a4ffd9259700ffec95871c7341d491
13646 Author: Martin Pitt <martinpitt@gnome.org>
13647 Date: Tue Oct 23 11:59:08 2012 +0200
13649 Add some MainLoop, MainContext, and Source test cases
13651 These cover the remaining static API and behaviour, so that we
13653 regression tests for converting them to GI.
13655 See https://bugzilla.gnome.org/show_bug.cgi?id=686443
13657 tests/test_glib.py | 21 +++++++++++++++++++++
13658 tests/test_gobject.py | 11 +++++++++++
13659 tests/test_mainloop.py | 16 ++++++++++++++++
13660 tests/test_source.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
13661 4 files changed, 92 insertions(+)
13663 commit 7635340271df0a135873459e6a2a365fd4b187a2
13664 Author: Steve Frécinaux <code@istique.net>
13665 Date: Wed Feb 9 18:37:33 2011 +0100
13667 [API change] Do not bind gobject_get_data() and gobject_set_data()
13669 They will basically cause a crash if misused, and you can always use a
13670 python member attribute instead.
13672 These methods were marked as deprecated for 3.4 and throwing a
13674 let's remove them for good now.
13676 https://bugzilla.gnome.org/show_bug.cgi?id=641944
13678 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
13680 docs/reference/pygobject.xml | 63
13681 --------------------------------------------
13682 gi/_gobject/pygobject.c | 44 -------------------------------
13683 2 files changed, 107 deletions(-)
13685 commit cfec113e3b3eabf8db834f48b2f16792d1e841a3
13686 Author: Martin Pitt <martinpitt@gnome.org>
13687 Date: Tue Oct 23 08:17:40 2012 +0200
13689 Add test for GLib.get_current_time()
13691 This adds a plausibility test, as well as ensuring the documented
13693 This will be useful if/once we drop the static _glib binding.
13695 tests/test_glib.py | 5 +++++
13696 1 file changed, 5 insertions(+)
13698 commit fb473b31054744e5ab59e9d4ed3b74571e27d3ff
13699 Author: Martin Pitt <martinpitt@gnome.org>
13700 Date: Tue Oct 23 07:48:52 2012 +0200
13702 Drop unnecessary static _glib bindings
13704 Drop static pyglib bindings which have straightforward and working
13706 bindings. Add tests for all dropped functions to ensure they keep
13709 docs/reference/pyglib-constants.xml | 59 -------
13710 docs/reference/pyglib-functions.xml | 270 ------------------------------
13711 gi/_glib/__init__.py | 24 ---
13712 gi/_glib/glibmodule.c | 319
13713 ------------------------------------
13714 gi/_gobject/__init__.py | 9 -
13715 gi/overrides/GLib.py | 16 ++
13716 gi/overrides/GObject.py | 32 ++++
13717 gi/overrides/Makefile.am | 1 +
13718 tests/Makefile.am | 1 -
13719 tests/test_glib.py | 46 ++++++
13720 tests/test_gobject.py | 4 +
13721 tests/test_uris.py | 16 --
13722 12 files changed, 99 insertions(+), 698 deletions(-)
13724 commit 126a10f765af3d3a6f08ce5db7ed9f3ef647848f
13725 Author: Martin Pitt <martinpitt@gnome.org>
13726 Date: Tue Oct 23 06:12:08 2012 +0200
13728 Fix OverflowError in source_remove()
13730 GSource IDs are unsigned, so we must use 'I' for parsing then, not
13733 https://bugzilla.gnome.org/show_bug.cgi?id=684526
13735 gi/_glib/glibmodule.c | 2 +-
13736 tests/test_source.py | 13 ++++++++++++-
13737 2 files changed, 13 insertions(+), 2 deletions(-)
13739 commit 15f7442bd0c45db25073e3d8494094f1c284ffa4
13740 Author: Martin Pitt <martinpitt@gnome.org>
13741 Date: Mon Oct 22 13:38:23 2012 +0200
13743 Fix TestSource.testSources() test case
13745 PyGObject has established the assumption that the destruction of
13747 Python object does not destroy the actual GSource, as shown in
13748 TestSource.setup_timeout(), TestTimeout.test504337(), and
13749 https://bugzilla.gnome.org/show_bug.cgi?id=504337.
13751 So we need to explicitly destroy our MySource and Idle objects
13753 them, as their callbacks always return True and we do not want them
13755 over into other tests.
13757 Also fix the assertions to actually verify that MySources' callback
13759 (pos > 0, not pos >= 0), and use the unittest comparison API instead
13761 simple assert statement.
13763 https://bugzilla.gnome.org/show_bug.cgi?id=686627
13765 tests/test_source.py | 8 +++++++-
13766 1 file changed, 7 insertions(+), 1 deletion(-)
13768 commit b984a5fe0d065818a153f259db4dbde79534f084
13769 Author: Martin Pitt <martinpitt@gnome.org>
13770 Date: Mon Oct 22 17:38:56 2012 +0200
13772 configure.ac: post-release bump to 3.7.2
13774 configure.ac | 2 +-
13775 1 file changed, 1 insertion(+), 1 deletion(-)
13777 commit ce0825f58c3eba6084143e430605ffb597622369
13778 Author: Martin Pitt <martinpitt@gnome.org>
13779 Date: Mon Oct 22 17:37:17 2012 +0200
13783 NEWS | 42 ++++++++++++++++++++++++++++++++++++++++++
13784 1 file changed, 42 insertions(+)
13786 commit a93763337ba7f952d787c42f45bfbb3ff02cc80d
13787 Author: Martin Pitt <martinpitt@gnome.org>
13788 Date: Mon Oct 22 17:33:12 2012 +0200
13790 Bump version to 3.7.1
13792 Let's follow the real GNOME versioning from now on.
13794 configure.ac | 2 +-
13795 1 file changed, 1 insertion(+), 1 deletion(-)
13797 commit 3fb13cc05a281970c3a624c2dd152996031b482c
13798 Author: Martin Pitt <martinpitt@gnome.org>
13799 Date: Mon Oct 22 11:36:49 2012 +0200
13801 test_mainloop code cleanup
13803 Ensure that sys.excepthook is always restored, even if the test
13805 assert{True,False,Equal} unittest API instead of simple asserts for
13809 tests/test_mainloop.py | 19 ++++++++++---------
13810 1 file changed, 10 insertions(+), 9 deletions(-)
13812 commit 31061f20083aa60919f6763a12addbf2b052cab7
13813 Author: Simon Feltman <sfeltman@src.gnome.org>
13814 Date: Sun Oct 21 18:55:24 2012 -0700
13816 Change install_properties to not use getattr on classes
13818 The usage of getattr for accessing a classes __gproperties__
13819 variable can be problematic due to the potential of it returning
13820 the parent classes variable when it does not exist on the sub-class.
13821 Similar to the fix for
13822 https://bugzilla.gnome.org/show_bug.cgi?id=686496,
13823 cls.__dict__.get is used to ensure this does not happen.
13825 https://bugzilla.gnome.org/show_bug.cgi?id=686559
13827 gi/_gobject/propertyhelper.py | 2 +-
13828 tests/test_properties.py | 6 ++++--
13829 2 files changed, 5 insertions(+), 3 deletions(-)
13831 commit 438d3e68f19e2af5d027e18842ab05e0421d088d
13832 Author: Simon Feltman <sfeltman@src.gnome.org>
13833 Date: Sat Oct 20 19:56:04 2012 -0700
13835 Move property install function into propertyhelper.py
13837 Move _install_properties() into gi/_gobject/propertyhelper.py
13840 https://bugzilla.gnome.org/show_bug.cgi?id=686559
13842 gi/_gobject/__init__.py | 45 +++----------------------------
13843 gi/_gobject/propertyhelper.py | 45 +++++++++++++++++++++++++++++++
13844 tests/test_properties.py | 63
13845 +++++++++++++++++++++++++++++++++++++++++++
13846 3 files changed, 111 insertions(+), 42 deletions(-)
13848 commit 695a9077aa8f40357e050f090caa5e2b8c5c9593
13849 Author: Simon Feltman <s.feltman@gmail.com>
13850 Date: Sat Oct 20 03:11:07 2012 -0700
13852 Fix Signal decorator to not use base class gsignals dict
13854 Fix install_signals to not use the parent classes __gsignals__
13855 dict if one does not exist on the given class.
13857 https://bugzilla.gnome.org/show_bug.cgi?id=686496
13859 gi/_gobject/signalhelper.py | 2 +-
13860 tests/test_signal.py | 43
13861 +++++++++++++++++++++++++++++++++++++++++++
13862 2 files changed, 44 insertions(+), 1 deletion(-)
13864 commit 1ff04e846d50b948df6fa3260c548ef4f4779c58
13865 Author: Martin Pitt <martinpitt@gnome.org>
13866 Date: Fri Oct 19 09:05:01 2012 +0200
13868 tests: Consistently use GLib.MainLoop
13870 ... instead of mixing GObject.MainLoop and GLib.MainLoop.
13872 tests/test_everything.py | 4 ++--
13873 tests/test_gdbus.py | 11 +++++------
13874 2 files changed, 7 insertions(+), 8 deletions(-)
13876 commit ff7e7401b4cf50532fef70263f7559ea513b8333
13877 Author: Kalev Lember <kalevlember@gmail.com>
13878 Date: Wed Oct 17 18:27:14 2012 +0200
13880 Install the .egg-info files into correct multilib directory
13882 This makes sure the .egg-info files end up in the same python
13884 directory as the rest of the gi .py files.
13886 https://bugzilla.gnome.org/show_bug.cgi?id=686315
13888 Makefile.am | 6 +++---
13889 1 file changed, 3 insertions(+), 3 deletions(-)
13891 commit 91e4cb2063d4e83fb1f6586a4396471d64f234f4
13892 Author: Simon Feltman <s.feltman@gmail.com>
13893 Date: Mon Oct 15 04:03:50 2012 -0700
13895 Fix leaked vfunc return values
13897 Simple fix to dec ref returned values from closures wrapping
13900 https://bugzilla.gnome.org/show_bug.cgi?id=686140
13902 gi/pygi-closure.c | 1 +
13903 tests/test_gi.py | 21 +++++++++++++++++++--
13904 2 files changed, 20 insertions(+), 2 deletions(-)
13906 commit 75e373b99c3cb66dd60b13c803e5f7eec77cc415
13907 Author: Martin Pitt <martinpitt@gnome.org>
13908 Date: Mon Oct 15 07:42:05 2012 +0200
13910 Skip Regress tests with --disable-cairo
13912 We need cairo to build g-i's Regress library, gir, and typelib. Update
13913 configure.ac to only require cairo if --disable-cairo was not
13915 --disable-cairo, skip building the Regress library and skip all
13919 https://bugzilla.gnome.org/show_bug.cgi?id=685094
13921 configure.ac | 5 ++---
13922 tests/Makefile.am | 45
13923 +++++++++++++++++++++++++++------------------
13924 tests/test_everything.py | 15 +++++++++++----
13925 tests/test_overrides.py | 7 ++++++-
13926 4 files changed, 46 insertions(+), 26 deletions(-)
13928 commit a2ab72aa39824579d1767d1fdba7e1031341f86c
13929 Author: Martin Pitt <martinpitt@gnome.org>
13930 Date: Fri Oct 12 11:05:24 2012 +0200
13932 _pygi_marshal_from_py_uint64: Re-fix check of negative values
13934 Fix regression from commit 1bfcd5d94 (exposed by several test cases)
13938 https://bugzilla.gnome.org/show_bug.cgi?id=685000
13940 gi/pygi-marshal-from-py.c | 6 +++---
13941 1 file changed, 3 insertions(+), 3 deletions(-)
13943 commit 22c22124b787ae67638aff89796d7ce14900ea8e
13944 Author: Simon Feltman <s.feltman@gmail.com>
13945 Date: Mon Oct 8 05:54:30 2012 -0700
13947 Fix leak with python callables as closure argument.
13949 The fix adds an extra args_data list to the PyGIInvokeState
13950 structure. This list is used to track dynamically generated
13951 closures that wrap python callables. This allows the ffi closure
13952 and python callable to be freed when call scope has finished.
13954 https://bugzilla.gnome.org/show_bug.cgi?id=685598
13956 gi/pygi-cache.c | 1 +
13957 gi/pygi-closure.c | 41 +++++++++----
13958 gi/pygi-invoke-state-struct.h | 4 ++
13959 gi/pygi-invoke.c | 7 +++
13960 gi/pygi-marshal-cleanup.c | 14 +++++
13961 gi/pygi-marshal-cleanup.h | 4 ++
13962 gi/pygi-marshal-from-py.c | 57 ++++++++++++++----
13963 tests/test_everything.py | 137
13964 +++++++++++++++++++++++++++++++-----------
13965 8 files changed, 206 insertions(+), 59 deletions(-)
13967 commit c0bc69906df2db64560f7c054277ad1956aab57f
13968 Author: Martin Pitt <martinpitt@gnome.org>
13969 Date: Thu Oct 11 17:49:30 2012 +0200
13971 Gio overrides: Handle setting GSettings enum keys
13973 https://bugzilla.gnome.org/show_bug.cgi?id=685947
13975 gi/overrides/Gio.py | 9 ++++++++-
13976 tests/test_overrides_gio.py | 3 +++
13977 2 files changed, 11 insertions(+), 1 deletion(-)
13979 commit bbbb7c9ed047a22ac3c43f2b0331d3b5ea32e812
13980 Author: Martin Pitt <martinpitt@gnome.org>
13981 Date: Thu Oct 11 17:20:38 2012 +0200
13983 tests: Check reading GSettings enums in Gio overrides
13985 Also split test_override() into several smaller test cases.
13987 tests/org.gnome.test.gschema.xml | 9 +++++++++
13988 tests/test_overrides_gio.py | 14 +++++++++-----
13989 2 files changed, 18 insertions(+), 5 deletions(-)
13991 commit 8a2e96cd4e33b6c119a368d73a9d5504576cdccb
13992 Author: Martin Pitt <martinpitt@gnome.org>
13993 Date: Thu Oct 11 16:08:11 2012 +0200
13995 Fix unsigned values in GArray/GList/GSList/GHash
13997 _pygi_hash_pointer_to_arg() needs to handle unsigned integers as well.
13999 https://bugzilla.gnome.org/show_bug.cgi?id=685860
14001 gi/pygi-argument.c | 9 +++++++++
14002 tests/test_gi.py | 12 ++++++++++++
14003 2 files changed, 21 insertions(+)
14005 commit d394acbb58b38e6f52ee71e8e663a892676ab9e4
14006 Author: Colin Walters <walters@verbum.org>
14007 Date: Thu Oct 4 20:13:55 2012 -0400
14009 build: Fix srcdir != builddir
14012 1 file changed, 1 insertion(+), 1 deletion(-)
14014 commit 1bfcd5d94b71edc9f03c8b3e87952a8bc8097586
14015 Author: Alban Browaeys <prahal@yahoo.com>
14016 Date: Thu Sep 27 22:44:22 2012 +0200
14018 _pygi_marshal_from_py_uint64(): Use correct data type in py2.7 check
14020 Casting an unsigned to signed and checking if positive was not
14022 unsigned 64 is below G_MAXUINT64 instead.
14024 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=685000
14026 gi/pygi-marshal-from-py.c | 4 ++--
14027 1 file changed, 2 insertions(+), 2 deletions(-)
14029 commit f0870336b9fc7797895f206e0d3ef17a19efe253
14030 Author: Johan Dahlin <johan@gnome.org>
14031 Date: Tue Oct 2 05:30:16 2012 -0700
14033 Install an .egg-info file
14035 This will help easy_install and pip to figure out that PyGObject
14036 is already installed.
14038 https://bugzilla.gnome.org/show_bug.cgi?id=680138
14040 Makefile.am | 13 ++++++++-----
14041 1 file changed, 8 insertions(+), 5 deletions(-)
14043 commit 4c9318d97aa34051a0460e8db2ed0f963126b7f5
14044 Author: Johan Dahlin <johan@gnome.org>
14045 Date: Thu Oct 4 09:42:41 2012 +0200
14047 PyGProps_getattro(): Fix GObjectClass leak
14049 https://bugzilla.gnome.org/show_bug.cgi?id=685218
14051 gi/_gobject/pygobject.c | 4 +++-
14052 1 file changed, 3 insertions(+), 1 deletion(-)
14054 commit 2aa61520eb4f293ce94d54605d7642a39e18e03d
14055 Author: Olivier Crête <olivier.crete@collabora.com>
14056 Date: Mon Sep 17 15:16:32 2012 -0400
14058 pygobject.c: Don't leak GObjectClass reference
14060 https://bugzilla.gnome.org/show_bug.cgi?id=684062
14062 gi/_gobject/pygobject.c | 6 +++++-
14063 1 file changed, 5 insertions(+), 1 deletion(-)
14065 commit 43d356d03d4c83e9de3c56f98a70d387b46f17af
14066 Author: Alban Browaeys <prahal@yahoo.com>
14067 Date: Sat Sep 29 01:17:14 2012 +0200
14069 Fix memory leak in _pygi_argument_to_array()
14071 Length arg and type info need to be unref'ed.
14073 https://bugzilla.gnome.org/show_bug.cgi?id=685082
14075 gi/pygi-argument.c | 3 +++
14076 1 file changed, 3 insertions(+)
14078 commit 34270a109d2af20391c80e88874ee7303eaf5c09
14079 Author: Martin Pitt <martinpitt@gnome.org>
14080 Date: Fri Sep 28 07:42:51 2012 +0200
14082 Fix error messages for out of range numbers
14084 PyErr_Format() does not understand %lli and %li, it needs to be %lld
14086 So we cannot use those and G_GINT64_FORMAT.
14088 Also remove the "if (long_ < G_MININT64 || long_ > G_MAXINT64)"
14090 is a gint64 which can't possibly overflow its own data type. It
14092 an unprintable error message.
14094 https://bugzilla.gnome.org/show_bug.cgi?id=684314
14096 gi/pygi-marshal-from-py.c | 21 ++++++++-------------
14097 1 file changed, 8 insertions(+), 13 deletions(-)
14099 commit 7f1422bf929976722edd6144beb0b4c96d74391b
14100 Author: Martin Pitt <martinpitt@gnome.org>
14101 Date: Fri Sep 28 06:59:38 2012 +0200
14103 Kill dbus-daemon after running tests
14105 dbus-launch does not kill the spawned dbus-daemon by itself (see
14106 https://bugs.freedesktop.org/show_bug.cgi?id=39196), so do that
14108 our tests. Take care to preserve the exit code.
14110 https://bugzilla.gnome.org/show_bug.cgi?id=685009
14112 tests/Makefile.am | 5 ++++-
14113 1 file changed, 4 insertions(+), 1 deletion(-)
14115 commit bfd9c8fac1ea240b29fbcd4185dc1702539c1e96
14116 Author: Martin Pitt <martinpitt@gnome.org>
14117 Date: Thu Sep 27 08:18:34 2012 +0200
14119 GVariant overrides: Support empty tuple arrays
14121 Implement the "empty value" branch in _create_tuple(), so that
14123 can call it for parsing the element type for an empty array.
14125 This fixes creating variants such as GLib.Variant('a(ii)', []).
14127 https://bugzilla.gnome.org/show_bug.cgi?id=684928
14129 gi/overrides/GLib.py | 30 +++++++++++++++++++++++-------
14130 tests/test_overrides_glib.py | 31 +++++++++++++++++++++++++++++++
14131 2 files changed, 54 insertions(+), 7 deletions(-)
14133 commit 75d452ea5b179c3585adcf95356b4316c9180768
14134 Author: Martin Pitt <martinpitt@gnome.org>
14135 Date: Thu Sep 27 06:50:12 2012 +0200
14137 TestGVariant: Split creation test case into several smaller ones
14139 tests/test_overrides_glib.py | 20 ++++++--------------
14140 1 file changed, 6 insertions(+), 14 deletions(-)
14142 commit 4a20bcb3f97614044d351f8e436a81d332db55ba
14143 Author: Martin Pitt <martinpitt@gnome.org>
14144 Date: Tue Sep 25 09:10:10 2012 +0200
14146 Fix unused variables and results
14148 This gets rid of all warnings except the deprecated symbol ones.
14150 gi/_glib/pygiochannel.c | 9 +++------
14151 gi/pygi-argument.c | 4 +---
14152 gi/pygi-callbacks.c | 4 ----
14153 gi/pygi-ccallback.c | 1 -
14154 gi/pygi-repository.c | 3 +--
14155 5 files changed, 5 insertions(+), 16 deletions(-)
14157 commit 5285f14fee93d2729d4422c40a945adc2be69c14
14158 Author: Martin Pitt <martinpitt@gnome.org>
14159 Date: Tue Sep 25 08:56:20 2012 +0200
14161 tests: Fix wrong return type in test_int64_callback()
14163 https://bugzilla.gnome.org/show_bug.cgi?id=684700
14165 tests/testhelpermodule.c | 2 +-
14166 1 file changed, 1 insertion(+), 1 deletion(-)
14168 commit e14ebab6099d082466ec11ca21d44de0d6017216
14169 Author: Giovanni Campagna <gcampagna@src.gnome.org>
14170 Date: Wed Sep 19 00:10:57 2012 +0200
14172 Fix GValue marshalling of long and unsigned long
14174 long can be equivalent to int64 or int32, depending on the
14176 and GI conflates this distinction in the typelib, but GType does
14178 warns if the wrong accessor is used.
14180 https://bugzilla.gnome.org/show_bug.cgi?id=684331
14182 gi/pygi-argument.c | 25 +++++++++++++++++++++----
14183 1 file changed, 21 insertions(+), 4 deletions(-)
14185 commit 50571dd27d1f7c6bed8c5aaa518b504c9f4c4ab6
14186 Author: Simon Feltman <s.feltman@gmail.com>
14187 Date: Wed Sep 19 19:07:00 2012 -0700
14189 Clean up deprecation message for assigning gpointers to objects.
14191 The previous deprecation message was worded as if the deprecation
14192 had already occurred and it has not.
14194 https://bugzilla.gnome.org/show_bug.cgi?id=683599
14196 gi/pygi-info.c | 4 ++--
14197 1 file changed, 2 insertions(+), 2 deletions(-)
14199 commit 4bfe7972546413f46f5c36737ff03bb5612c1921
14200 Author: Olivier Crête <olivier.crete@collabora.com>
14201 Date: Tue Sep 18 08:52:02 2012 +0200
14203 pygi-property: Lookup property in base classes of non-introspected
14206 Look for introspection data in the base classes of non-introspected
14208 This is necessary to look up introspection data for plugins.
14210 https://bugzilla.gnome.org/show_bug.cgi?id=684058
14212 gi/pygi-property.c | 28 ++++++++++++++--------------
14213 tests/test_everything.py | 12 ++++++++++++
14214 2 files changed, 26 insertions(+), 14 deletions(-)
14216 commit 7aa94cc861082147b9c382b930f3257f0a842c84
14217 Author: Martin Pitt <martinpitt@gnome.org>
14218 Date: Mon Sep 24 09:41:10 2012 +0200
14220 post-release bump to 3.4.1
14222 configure.ac | 2 +-
14223 1 file changed, 1 insertion(+), 1 deletion(-)
14225 commit fcceed3adb8d78baba68861a1408627321b2c1ef
14226 Author: Martin Pitt <martinpitt@gnome.org>
14227 Date: Mon Sep 24 09:35:33 2012 +0200
14232 configure.ac | 4 ++--
14233 2 files changed, 5 insertions(+), 2 deletions(-)
14235 commit 645a9d9d4712f8f0d1b63899b309bbc97eb1f216
14236 Author: Martin Pitt <martinpitt@gnome.org>
14237 Date: Mon Sep 24 09:27:47 2012 +0200
14239 Bump g-i dependency to 1.33.14
14241 To ensure we have all the Regress test APIs that we use.
14243 configure.ac | 2 +-
14244 1 file changed, 1 insertion(+), 1 deletion(-)
14246 commit b6f4ef327fbeaa10fd74571c3df540311834d6ae
14247 Author: Martin Pitt <martinpitt@gnome.org>
14248 Date: Mon Sep 17 22:52:49 2012 +0200
14250 post-release bump to 3.3.93
14252 configure.ac | 2 +-
14253 1 file changed, 1 insertion(+), 1 deletion(-)
14255 commit 7e154cf01cf0ce7a8b52c45ba4db755f73b45d1d
14256 Author: Martin Pitt <martinpitt@gnome.org>
14257 Date: Mon Sep 17 22:48:13 2012 +0200
14261 NEWS | 12 ++++++++++++
14262 1 file changed, 12 insertions(+)
14264 commit adbe30dc72b4d88bb31055f6ee33fddf32638af9
14265 Author: Martin Pitt <martinpitt@gnome.org>
14266 Date: Mon Sep 17 22:32:55 2012 +0200
14268 release-news: Generate HTML changelog
14270 In addition to producing a NEWS paragraph from the changelog,
14272 changelog HTML which can be put into blog announcements.
14274 Update HACKING to point this out, too.
14277 Makefile.am | 22 ++++++++++++++++------
14278 2 files changed, 17 insertions(+), 7 deletions(-)
14280 commit be4a0682bdd189ee908ab1961001f759a80e133c
14281 Author: Simon Feltman <s.feltman@gmail.com>
14282 Date: Sun Sep 16 17:27:25 2012 -0700
14284 [API add] Add ObjectInfo.get_abstract method
14286 Adds exposure of g_object_info_get_abstract to python for
14287 helping with analysis of non-constructable objects from
14290 https://bugzilla.gnome.org/show_bug.cgi?id=675581
14292 gi/pygi-info.c | 8 ++++++++
14293 tests/test_gi.py | 12 ++++++++++++
14294 2 files changed, 20 insertions(+)
14296 commit 3ada408434860d0c8eee6c6a869b5a3d801cfbc8
14297 Author: Simon Feltman <s.feltman@gmail.com>
14298 Date: Thu Sep 13 20:53:22 2012 -0700
14300 Add deprecation warning when setting gpointers to anything other
14303 This is a first pass which does not change anything except add
14305 when anything other than an int is set on a gpointer on a boxed type.
14307 https://bugzilla.gnome.org/show_bug.cgi?id=683599
14309 gi/pygi-info.c | 8 ++++++++
14310 1 file changed, 8 insertions(+)
14312 commit a047f61f26d9c78b82d22948199313e5a389e918
14313 Author: Martin Pitt <martinpitt@gnome.org>
14314 Date: Mon Sep 17 09:41:24 2012 +0200
14316 test_properties: Test accessing a property from a superclass
14318 We already cover accessing the superclass' property if that was
14320 Python. Add a corresponding test case for a property defined in C.
14322 See https://bugzilla.gnome.org/show_bug.cgi?id=684058
14324 tests/test_properties.py | 12 ++++++++++++
14325 1 file changed, 12 insertions(+)
14327 commit 3e6a4000cbc4b0cb503fcd89b50202ed0b70d3a7
14328 Author: Martin Pitt <martinpitt@gnome.org>
14329 Date: Mon Sep 17 09:31:05 2012 +0200
14331 test_properties.py: Consistent test names
14333 Use underscore style method/test case names consistently. Also rename
14335 cases to better describe what they do.
14337 tests/test_properties.py | 78
14338 ++++++++++++++++++++++++------------------------
14339 1 file changed, 39 insertions(+), 39 deletions(-)
14341 commit 4069c3d8547f35437e0cee175a5912febe25326d
14342 Author: Martin Pitt <martinpitt@gnome.org>
14343 Date: Wed Sep 12 06:51:24 2012 +0200
14345 test_everything: Ensure TestSignals callback does get called
14347 tests/test_everything.py | 3 +++
14348 1 file changed, 3 insertions(+)
14350 commit 4e4c87e3868948743e0446abe2ba0cf5626374c4
14351 Author: Nicolas Dufresne <nicolas.dufresne@collabora.com>
14352 Date: Fri Sep 7 17:17:09 2012 -0400
14354 argument: Fix 64bit integer convertion from GValue
14356 Trying to get a 64bit integer using the wrong getter was resulting
14358 assertion and 0 being returned.
14360 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
14362 https://bugzilla.gnome.org/show_bug.cgi?id=683596
14364 gi/pygi-argument.c | 8 ++++++--
14365 tests/test_everything.py | 52
14366 ++++++++++++++++++++++++++++++++++++++++++++++++
14367 2 files changed, 58 insertions(+), 2 deletions(-)
14369 commit e474ce243ea7a58358af344ccadb1418f4d2c8eb
14370 Author: Martin Pitt <martinpitt@gnome.org>
14371 Date: Tue Sep 11 12:32:10 2012 +0200
14373 Add Simon Feltman as a project maintainer
14375 Signed-off-By: Martin Pitt <martinpitt@gnome.org>
14376 Signed-off-By: Paolo Borelli <pborelli@gnome.org>
14378 pygobject.doap | 7 +++++++
14379 1 file changed, 7 insertions(+)
14381 commit ee1fc78258f10e8a7872ee3da6c9ad6e7984706e
14382 Author: Martin Pitt <martinpitt@gnome.org>
14383 Date: Tue Sep 11 10:17:50 2012 +0200
14385 test_signals.py: Drop global type variables
14387 Just use the real types and flags from GObject instead of redefining
14389 for them. They weren't used consistently, make the tests harder to
14391 really do not want global single-letter variables like "f" and "l".
14393 tests/test_signal.py | 38 ++++++++++++++++----------------------
14394 1 file changed, 16 insertions(+), 22 deletions(-)
14396 commit 3688cf6efe7161585b943cfaafcfd4610b7ad768
14397 Author: Martin Pitt <martinpitt@gnome.org>
14398 Date: Tue Sep 11 10:11:58 2012 +0200
14400 test_signals.py: Consistent test names
14402 Use underscore style method/test case names consistently.
14404 tests/test_signal.py | 88
14405 ++++++++++++++++++++++++++--------------------------
14406 1 file changed, 44 insertions(+), 44 deletions(-)
14408 commit 4559247553b792db956f69c9674c12344d719c82
14409 Author: Martin Pitt <martinpitt@gnome.org>
14410 Date: Tue Sep 11 09:43:14 2012 +0200
14412 Add test cases for GValue signal arguments
14414 These cover various types, (u)int(64) and string.
14416 Keep the test case for implicit int64 GValues disabled, as this
14418 not work and it is not clear whether it should:
14419 https://bugzilla.gnome.org/show_bug.cgi?id=683775
14421 tests/test_signal.py | 41 +++++++++++++++++++++++++++++++++++++++++
14422 tests/testhelpermodule.c | 17 +++++++++++++++++
14423 2 files changed, 58 insertions(+)
14425 commit fddb01b0b71b68d154d130cf40fd5f38647b1a4d
14426 Author: Martin Pitt <martinpitt@gnome.org>
14427 Date: Tue Sep 11 09:31:18 2012 +0200
14429 Add test for GValue signal return values
14431 Another attempt to reproduce the reported error in
14432 https://bugzilla.gnome.org/show_bug.cgi?id=683596
14433 but this works already.
14435 tests/test_signal.py | 13 +++++++++++++
14436 tests/testhelpermodule.c | 36 ++++++++++++++++++++++++++++++++++++
14437 2 files changed, 49 insertions(+)
14439 commit 4f77c7798563ea436ff5b6306a987f03de50b211
14440 Author: Simon Feltman <s.feltman@gmail.com>
14441 Date: Fri Sep 7 02:32:15 2012 -0700
14443 Improve setting pointer fields/arguments to NULL using None
14445 Setting gi pointers will set them to the address of the python object.
14446 This is good except in the case of None which should be used to NULL
14447 the pointer out as a special case.
14449 Commit 21b1d17d2a already fixed this. This improved patch
14450 does that in a cleaner and safer way and adds more comments.
14452 https://bugzilla.gnome.org/show_bug.cgi?id=683150
14454 gi/pygi-argument.c | 8 +-------
14455 gi/pygi-info.c | 14 +++++++++++++-
14456 2 files changed, 14 insertions(+), 8 deletions(-)
14458 commit 15046b5a11f6c58a3e5a9c50cf0ce7f31f2cd55f
14459 Author: Martin Pitt <martinpitt@gnome.org>
14460 Date: Mon Sep 10 16:46:30 2012 +0200
14462 Test gint64 C signal arguments and return values
14464 tests/test_signal.py | 12 ++++++++++++
14465 tests/testhelpermodule.c | 14 ++++++++++++++
14466 2 files changed, 26 insertions(+)
14468 commit 822d9e07a95f706a40f64335765293542787da90
14469 Author: Martin Pitt <martinpitt@gnome.org>
14470 Date: Mon Sep 10 16:29:32 2012 +0200
14472 Test in/out int64 GValue method arguments.
14474 See https://bugzilla.gnome.org/show_bug.cgi?id=683596
14476 tests/test_gi.py | 9 +++++++++
14477 1 file changed, 9 insertions(+)
14479 commit 2d83e52233812618493af4b165615e8741ba41c8
14480 Author: Martin Pitt <martinpitt@gnome.org>
14481 Date: Wed Sep 5 08:54:53 2012 +0200
14483 Bump g-i dependency to 1.33.10
14485 To ensure we have all the Regress test APIs that we use.
14487 configure.ac | 2 +-
14488 1 file changed, 1 insertion(+), 1 deletion(-)
14490 commit 6a4f4dc9a3d21c3ac8a0aa51432fb8952b4e1ebf
14491 Author: Thibault Saunier <thibault.saunier@collabora.com>
14492 Date: Wed Aug 8 12:57:41 2012 -0400
14494 Fix -uninstalled.pc.in file
14496 https://bugzilla.gnome.org/show_bug.cgi?id=683379
14498 pygobject-3.0-uninstalled.pc.in | 6 +++---
14499 1 file changed, 3 insertions(+), 3 deletions(-)
14501 commit d8f1398dbc7fa7803639c542a607f24f18614ad6
14502 Author: Martin Pitt <martinpitt@gnome.org>
14503 Date: Mon Sep 3 22:16:47 2012 +0200
14505 post-release bump to 3.3.92
14507 configure.ac | 2 +-
14508 1 file changed, 1 insertion(+), 1 deletion(-)
14510 commit ea992324b8197b2d04ff2849b9ab46f8a04b4ed7
14511 Author: Martin Pitt <martinpitt@gnome.org>
14512 Date: Mon Sep 3 22:04:01 2012 +0200
14516 NEWS | 32 ++++++++++++++++++++++++++++++++
14517 1 file changed, 32 insertions(+)
14519 commit 1e1f5b2f2f15547c1f2cbc948d2b764bd0a37c44
14520 Author: Martin Pitt <martinpitt@gnome.org>
14521 Date: Mon Sep 3 21:57:00 2012 +0200
14523 Fix exception test case for Python 2
14525 Regression from commit 77844c5 which did not work with Python 2.
14527 tests/test_everything.py | 12 +++++++-----
14528 1 file changed, 7 insertions(+), 5 deletions(-)
14530 commit 41bb687c058e08b05108b4b2f081cd83d4f93da8
14531 Author: Martin Pitt <martinpitt@gnome.org>
14532 Date: Mon Sep 3 21:16:01 2012 +0200
14534 Bump g-i dependency
14536 Require at least 1.33.9, as we got a couple of bug fixes there which
14538 and for some cases the code, depend on. We actually require 1.33.10
14540 tests to succeed, but that hasn't been released yet.
14542 configure.ac | 2 +-
14543 1 file changed, 1 insertion(+), 1 deletion(-)
14545 commit 77844c571ad0badc189428b93de9f2572051b67e
14546 Author: Martin Pitt <martinpitt@gnome.org>
14547 Date: Mon Sep 3 17:58:38 2012 +0200
14549 Show proper exception when trying to allocate a disguised struct
14551 Instead of a simple "MemoryError" with no details, raise a proper
14552 TypeError with a traceback and an explanation what happened.
14554 https://bugzilla.gnome.org/show_bug.cgi?id=639972
14556 gi/pygi-struct.c | 7 +++++++
14557 tests/test_everything.py | 13 +++++++++++++
14558 2 files changed, 20 insertions(+)
14560 commit 0d099bdb3f4bbd962e5e60b583673d9e6f5673cc
14561 Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
14562 Date: Mon Sep 3 16:47:22 2012 +0200
14564 Support marshalling GParamSpec signal arguments
14566 Fix marshalling GParamSpec arguments from C to Python.
14568 https://bugzilla.gnome.org/show_bug.cgi?id=683099
14570 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
14572 gi/pygi-argument.c | 10 +++++++++-
14573 tests/test_signal.py | 14 ++++++++++++++
14574 2 files changed, 23 insertions(+), 1 deletion(-)
14576 commit 69fb92c22b3f3d1d5e8c3e14134eee3242fdc5fc
14577 Author: Martin Pitt <martinpitt@gnome.org>
14578 Date: Mon Sep 3 16:06:49 2012 +0200
14580 Add test for a signal that returns a GParamSpec
14582 https://bugzilla.gnome.org/show_bug.cgi?id=683265
14584 tests/test_signal.py | 6 ++++++
14585 tests/testhelpermodule.c | 12 ++++++++++++
14586 2 files changed, 18 insertions(+)
14588 commit a7c524219987fbf37e455a91e4c78d2b9b4db12d
14589 Author: Simon Feltman <s.feltman@gmail.com>
14590 Date: Tue Mar 20 04:33:50 2012 -0700
14592 [API add] Add Signal class for adding and connecting custom signals.
14594 The Signal class provides easy creation of signals and removes the
14595 need for __gsignals__ in client code. The Signal class can also be
14596 used as a decorator for wrapping up the custom closure. As well as
14597 providing a "BoundSignal" when accessed on an instance for making
14598 connections without specifying a signal name string.
14599 Python3 annotations can also be used to supply closure argument and
14600 return types when Signal is used as a decorator. For example:
14602 class Eggs(GObject.GObject):
14604 def spam(self, count:int):
14607 https://bugzilla.gnome.org/show_bug.cgi?id=434924
14609 examples/signal.py | 34 ++++--
14610 gi/_gobject/Makefile.am | 3 +-
14611 gi/_gobject/__init__.py | 5 +
14612 gi/_gobject/signalhelper.py | 251
14613 ++++++++++++++++++++++++++++++++++++++++++++
14614 tests/test_signal.py | 208 ++++++++++++++++++++++++++++++++++--
14615 5 files changed, 482 insertions(+), 19 deletions(-)
14617 commit 96fa22369fd188465559fc904c7f76e73040e6dd
14618 Author: Martin Pitt <martinpitt@gnome.org>
14619 Date: Mon Sep 3 15:32:12 2012 +0200
14621 Fix pygtkcompat's Gtk.TreeView.insert_column_with_attributes()
14623 We have a proper implementation for insert_column_with_attributes()
14625 drop pygtkcompat's empty stub for it.
14627 Also improve test case for
14628 Gtk.TreeView.insert_column_with_attributes().
14630 gi/pygtkcompat.py | 6 ------
14631 tests/test_overrides_gtk.py | 16 ++++++++--------
14632 2 files changed, 8 insertions(+), 14 deletions(-)
14634 commit 542cf22c9de9b2094868c4e879b0f24b15c4c012
14635 Author: Marta Maria Casetti <mmcasetti@gmail.com>
14636 Date: Mon Sep 3 13:06:22 2012 +0200
14638 Add override for Gtk.TreeView.insert_column_with_attributes()
14640 https://bugzilla.gnome.org/show_bug.cgi?id=679415
14642 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
14644 gi/overrides/Gtk.py | 7 +++++++
14645 tests/test_overrides_gtk.py | 38 ++++++++++++++++++++++++++++++++++++++
14646 2 files changed, 45 insertions(+)
14648 commit 1c73e845361e471b1c3a3f17e40e6a6cfa740877
14649 Author: Martin Pitt <martinpitt@gnome.org>
14650 Date: Mon Sep 3 11:09:55 2012 +0200
14652 .gitignore: Add missing built files
14654 .gitignore | 9 +++++++--
14655 1 file changed, 7 insertions(+), 2 deletions(-)
14657 commit 96431f393036a688666dcf67911bf12b9824b264
14658 Author: Martin Pitt <martinpitt@gnome.org>
14659 Date: Mon Sep 3 11:07:32 2012 +0200
14661 Ship tests/gi in tarball
14663 Spotted by distcheck.
14665 tests/Makefile.am | 6 +++++-
14666 1 file changed, 5 insertions(+), 1 deletion(-)
14668 commit dc2c6e6f60d2757462cbceef6176b0b3013904d3
14669 Author: Martin Pitt <martinpitt@gnome.org>
14670 Date: Mon Sep 3 10:18:45 2012 +0200
14672 Fix separate build tree and distcheck
14674 Fix regression from c7c95a79: We must set sys.path in runtests.py
14676 cannot rely on setting $PYTHONPATH from Makefile.am only. Python
14678 prepends the directory of the source file to sys.path, but that
14680 source dir, not the build dir. The build dir has to take precedence,
14682 we fail to import the built libraries.
14684 tests/runtests-windows.py | 10 +++++++---
14685 tests/runtests.py | 13 ++++++++-----
14686 2 files changed, 15 insertions(+), 8 deletions(-)
14688 commit 2d8f48f4ff56bb75985136452b50b75895258608
14689 Author: Martin Pitt <martinpitt@gnome.org>
14690 Date: Mon Sep 3 07:57:01 2012 +0200
14692 Split test_overrides.py
14694 Split the huge test_overrides.py into separate files for gdk, gtk,
14696 and pango. Further split the monolithic classes for Gtk and Gio
14700 https://bugzilla.gnome.org/show_bug.cgi?id=683188
14702 tests/Makefile.am | 5 +
14703 tests/test_overrides.py | 2198
14704 +----------------------------------------
14705 tests/test_overrides_gdk.py | 119 +++
14706 tests/test_overrides_gio.py | 114 +++
14707 tests/test_overrides_glib.py | 445 +++++++++
14708 tests/test_overrides_gtk.py | 1517 ++++++++++++++++++++++++++++
14709 tests/test_overrides_pango.py | 32 +
14710 7 files changed, 2234 insertions(+), 2196 deletions(-)
14712 commit 1223358e2c558dd7ac3300126f989054ec5a5b3f
14713 Author: Martin Pitt <martinpitt@gnome.org>
14714 Date: Mon Sep 3 07:17:57 2012 +0200
14716 _pygi_argument_to_object(): Clean up array unmarshalling
14718 The NULL case is already handled at the top, so it does not need to be
14721 Emit a critical if we fail to allocate a Python array of the
14724 gi/pygi-argument.c | 47 ++++++++++++++++-------------------------------
14725 1 file changed, 16 insertions(+), 31 deletions(-)
14727 commit 65bfbc624bc9da6e18ff2945b14099ab8eeb7601
14728 Author: Alban Browaeys <prahal@yahoo.com>
14729 Date: Wed Aug 29 21:24:17 2012 +0200
14731 Fix memory leak in _pygi_argument_to_object()
14733 Avoid leaking the item_type_info when breaking out of the
14734 switch in _pygi_argument_to_object() for unmarshalling arrays.
14736 https://bugzilla.gnome.org/show_bug.cgi?id=682979
14738 gi/pygi-argument.c | 4 ++++
14739 1 file changed, 4 insertions(+)
14741 commit 21b1d17d2ada2edf4063a4262b3436c279da3dc2
14742 Author: Simon Feltman <s.feltman@gmail.com>
14743 Date: Sat Sep 1 03:40:31 2012 -0700
14745 Fix setting pointer fields/arguments to NULL using None.
14747 Setting gi pointers will set them to the address of the python object.
14748 This is good except in the case of None which should be used to NULL
14749 the pointer out as a special case.
14751 https://bugzilla.gnome.org/show_bug.cgi?id=683150
14753 gi/pygi-argument.c | 8 +++++++-
14754 tests/test_overrides.py | 41 +++++++++++++++++++++++++++++++++++++++++
14755 2 files changed, 48 insertions(+), 1 deletion(-)
14757 commit 6123e6f5001ca5eaea18123d8a53525abab31a45
14758 Author: Martin Pitt <martinpitt@gnome.org>
14759 Date: Thu Aug 23 06:44:27 2012 +0200
14761 Fix for python 2.6, drop support for < 2.6
14763 Replace sys.version_info.major access to tuple access which also
14767 When building for Python 2.6, inject some missing unittest API such as
14768 @unittest.skipUnless and assertGreaterEqual() into the unittest
14770 runtests.py, so that the tests have a chance to run.
14772 As building with Python 2.5 has been broken for a long time with
14774 complaining, and 2.5 is ancient, bump minimum Python requirement to
14776 obsolete #ifdef paths which only apply to <= 2.5.
14778 https://bugzilla.gnome.org/show_bug.cgi?id=682422
14780 configure.ac | 2 +-
14781 gi/_glib/pyglib-python-compat.h | 8 --------
14782 gi/_gobject/gobjectmodule.c | 8 --------
14783 gi/module.py | 2 +-
14784 tests/runtests.py | 27 +++++++++++++++++++++++++++
14785 tests/test_gi.py | 2 +-
14786 6 files changed, 30 insertions(+), 19 deletions(-)
14788 commit b1a9848a7a7255e6b1ccd98712dd62b1514078b9
14789 Author: Thibault Saunier <thibault.saunier@collabora.com>
14790 Date: Tue Aug 21 07:54:09 2012 +0200
14792 Allow overrides in other directories than gi itself
14794 Use pkgutil.extend_path() for the gi and gi.overrides modules, so that
14795 libraries can install overrides in a path that is different from
14797 pygobject installs itself into. These overrides need to put this
14799 __init__.py at the top:
14801 from pkgutil import extend_path
14802 __path__ = extend_path(__path__, __name__)
14804 and put themselves somewhere into the default PYTHONPATH.
14806 https://bugzilla.gnome.org/show_bug.cgi?id=680913
14808 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
14809 Co-Authored-By: Simon Feltman <s.feltman@gmail.com>
14811 gi/__init__.py | 4 ++++
14812 gi/overrides/__init__.py | 4 ++++
14813 tests/gi/__init__.py | 2 ++
14814 tests/gi/overrides/Regress.py | 26 ++++++++++++++++++++++++++
14815 tests/gi/overrides/__init__.py | 2 ++
14816 tests/test_overrides.py | 6 ++++++
14817 6 files changed, 44 insertions(+)
14819 commit c7c95a795eee499373499ea5b771447746317bfb
14820 Author: Simon Feltman <s.feltman@gmail.com>
14821 Date: Thu Aug 23 06:03:09 2012 +0200
14823 Clean up sys.path handling in tests
14825 Only set sys.path once in runtests.py, not in the individual test
14827 reduces hidden dependencies between tests by building up a run
14829 search path, and also makes it easier in the future to run the
14831 the installed system libraries.
14833 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=680913
14835 tests/runtests-windows.py | 6 +++++-
14836 tests/runtests.py | 3 +++
14837 tests/test_everything.py | 1 -
14838 tests/test_gdbus.py | 3 ---
14839 tests/test_overrides.py | 3 ---
14840 tests/test_pygtkcompat.py | 3 ---
14841 6 files changed, 8 insertions(+), 11 deletions(-)
14843 commit 3e3525e93d852cde0f63e835b774a9b004773c69
14844 Author: Simon Feltman <s.feltman@gmail.com>
14845 Date: Sun Aug 19 02:30:39 2012 -0700
14847 Fix dynamic creation of enum and flag gi types for Python 3.3
14849 Importing Gtk was crashing on instantiation of dynamic Enum and Flag
14850 subclasses due to what looks to be an unsupported technique. Change
14851 tp_new() method for classes dynamically derived from PyGEnum_Type and
14852 PyGFlags_Type to call PyLong_Type.tp_new() instead of attempting
14854 __new__() as a python method. This technique seems to work with all
14855 versions of python so the previous python version checking also became
14858 https://bugzilla.gnome.org/show_bug.cgi?id=682323
14860 gi/_gobject/pygenum.c | 29 ++++++++++++++++-------------
14861 gi/_gobject/pygflags.c | 21 +++++++++------------
14862 2 files changed, 25 insertions(+), 25 deletions(-)
14864 commit dd31b67e821f92b5f1c2ee0382cac5edd477cd11
14865 Author: Paolo Borelli <pborelli@gnome.org>
14866 Date: Wed Aug 22 10:45:39 2012 +0200
14868 [API add] Override g_menu_item_set_attribute
14870 This C utility API take a vararg, add a corresponding override that
14871 takes a list of tuples
14873 https://bugzilla.gnome.org/show_bug.cgi?id=682436
14875 gi/overrides/Gio.py | 10 ++++++++++
14876 tests/test_overrides.py | 11 +++++++++++
14877 2 files changed, 21 insertions(+)
14879 commit 836902801373e386d370c44e7487aac3432f19f6
14880 Author: Martin Pitt <martinpitt@gnome.org>
14881 Date: Mon Aug 20 23:37:40 2012 +0200
14883 post-release bump to 3.3.91
14885 configure.ac | 2 +-
14886 1 file changed, 1 insertion(+), 1 deletion(-)
14888 commit 6a629e23ff7b0d6f532184017577c7427d577e28
14889 Author: Martin Pitt <martinpitt@gnome.org>
14890 Date: Mon Aug 20 23:05:49 2012 +0200
14894 NEWS | 13 +++++++++++++
14895 configure.ac | 2 +-
14896 2 files changed, 14 insertions(+), 1 deletion(-)
14898 commit 5cd18c9bd59a60b930ced0b35d728c12bb3291c7
14899 Author: Mathieu Duponchelle <mathieu.duponchelle@epitech.eu>
14900 Date: Mon Aug 20 22:54:52 2012 +0200
14902 Implement marshalling for GParamSpec
14904 https://bugzilla.gnome.org/show_bug.cgi?id=681565
14906 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
14908 gi/pygi-marshal-to-py.c | 16 ++++++++++++----
14909 tests/test_gi.py | 14 ++++++++++++++
14910 2 files changed, 26 insertions(+), 4 deletions(-)
14912 commit 16462de3f025f14706ec23fa9b3653feb66ad57f
14913 Author: Martin Pitt <martinpitt@gnome.org>
14914 Date: Mon Aug 20 15:24:10 2012 +0200
14916 Fix pep8/pyflakes invocation
14918 Fix regression from commit 1e056e4f4a: Do fail the tests if
14922 tests/Makefile.am | 4 ++--
14923 1 file changed, 2 insertions(+), 2 deletions(-)
14925 commit 1bee194274bcda9ba5f6751fa921218a92c8ac72
14926 Author: Simon Feltman <s.feltman@gmail.com>
14927 Date: Thu Aug 16 16:05:52 2012 -0700
14929 Fix erronous import statements for Python 3.3
14931 Update pygobject-external.h to use GType (which is what GTypeWrapper
14933 exposed as) instead of GTypeWrapper when attempting import.
14935 Catch ImportError around attempted imports of a typelibs override file
14936 which don't always exist (GObject...). This is a behavioural change in
14937 Python 3.3 (http://bugs.python.org/issue15715), but let's fix
14940 https://bugzilla.gnome.org/show_bug.cgi?id=682051
14942 gi/module.py | 7 +++++--
14943 gi/pygobject-external.h | 2 +-
14944 2 files changed, 6 insertions(+), 3 deletions(-)
14946 commit 1e056e4f4a19fd1139187467677c2592c2722290
14947 Author: Martin Pitt <martinpitt@gnome.org>
14948 Date: Mon Aug 20 11:52:08 2012 +0200
14950 Do not fail tests if pyflakes or pep8 are not installed
14952 These tools might not be desirable in restricted build environments or
14953 backports, and e. g. Fedora patches those out. So let the tests
14957 tests/Makefile.am | 4 ++--
14958 1 file changed, 2 insertions(+), 2 deletions(-)
14960 commit c219fa6da89a7d55c5c111751684aae6876a9fe3
14961 Author: Martin Pitt <martinpitt@gnome.org>
14962 Date: Mon Aug 20 11:42:47 2012 +0200
14964 gtk-demo: Fix some PEP-8 whitespace issues
14966 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 3 +--
14967 demos/gtk-demo/demos/dialogs.py | 2 +-
14968 demos/gtk-demo/demos/rotatedtext.py | 3 +--
14969 3 files changed, 3 insertions(+), 5 deletions(-)
14971 commit 0ac2a85cae368c046839b5619a96efc9e0b91ba3
14972 Author: Martin Pitt <martinpitt@gnome.org>
14973 Date: Mon Aug 20 11:38:50 2012 +0200
14975 test_overrides.py: Fix PEP8 whitespacing
14977 tests/test_overrides.py | 48
14978 +++++++++++++++++++++++++-----------------------
14979 1 file changed, 25 insertions(+), 23 deletions(-)
14981 commit 631a9cd05cbc7dc3d0f743a84b948ef7d93c0ed4
14982 Author: Martin Pitt <martinpitt@gnome.org>
14983 Date: Mon Aug 20 11:36:19 2012 +0200
14985 Ignore E124 pep8 error
14987 This is "closing bracket does not match visual indentation" which
14989 stupid. We do want the closing bracket at the same indentation level
14991 opening bracket, not the indentation level of the whole statement.
14993 tests/Makefile.am | 2 +-
14994 1 file changed, 1 insertion(+), 1 deletion(-)
14996 commit 266d37719bb54e6f04d23ff21bcceb9514e20ff2
14997 Author: David Malcolm <dmalcolm@redhat.com>
14998 Date: Mon Aug 20 11:27:52 2012 +0200
15000 Fix unmarshalling of gssize
15002 Do not assume that the v_int union member always corresponds to a
15004 is not true on big-endian 64 bit machines like ppc64, so add a new
15005 gi_argument_to_gssize() and use it properly.
15007 https://bugzilla.gnome.org/show_bug.cgi?id=680693
15008 https://bugzilla.redhat.com/show_bug.cgi?id=842880
15010 gi/pygi-argument.c | 53
15011 +++++++++++++++++++++++++++++++++++++++++++++---
15012 gi/pygi-argument.h | 1 +
15013 gi/pygi-closure.c | 2 +-
15014 gi/pygi-info.c | 4 ++--
15015 gi/pygi-signal-closure.c | 2 +-
15016 5 files changed, 55 insertions(+), 7 deletions(-)
15018 commit 1c5d497d3c354f4d02f1d4570df2c61d6f47300c
15019 Author: David Malcolm <dmalcolm@redhat.com>
15020 Date: Mon Aug 20 11:19:27 2012 +0200
15022 Fix various endianess errors
15024 Fix code which assumed little endian behaviour when mixing different
15026 ints, putting ints into pointers, etc.
15028 https://bugzilla.gnome.org/show_bug.cgi?id=680692
15029 https://bugzilla.redhat.com/show_bug.cgi?id=841596
15031 gi/pygi-argument.c | 64 +++++++++++++--
15032 gi/pygi-argument.h | 6 ++
15033 gi/pygi-cache.c | 2 +
15034 gi/pygi-closure.c | 57 ++++++++++++-
15035 gi/pygi-marshal-from-py.c | 203
15036 ++++++++++++++++++++++++++++++++++++----------
15037 gi/pygi-marshal-from-py.h | 3 +
15038 gi/pygi-marshal-to-py.c | 137 ++++++++++++++++++++++++-------
15039 7 files changed, 391 insertions(+), 81 deletions(-)
15041 commit ee6da6f1aa2cd6e55834f9edc17f785613d00031
15042 Author: Paolo Borelli <pborelli@gnome.org>
15043 Date: Wed Aug 15 13:16:11 2012 +0200
15045 Add unit test for the TreeModelSort override
15047 tests/test_overrides.py | 7 +++++++
15048 1 file changed, 7 insertions(+)
15050 commit 9f027daa5737107b5959964b699c0089aec8ab1e
15051 Author: Simon Feltman <s.feltman@gmail.com>
15052 Date: Thu Aug 9 03:33:06 2012 -0700
15054 Gtk overrides: Add TreeModelSort.__init__(self, model)
15056 This adds "model" as a required argument to TreeModelSort
15057 instead of it being a hidden keyword argument. This is needed
15058 because the model property is set to construct only and the
15059 default value of None/NULL makes the object useless anyhow.
15061 https://bugzilla.gnome.org/show_bug.cgi?id=681477
15063 gi/overrides/Gtk.py | 8 ++++++++
15064 1 file changed, 8 insertions(+)
15066 commit c8424c2bb19356679e250e73542682dd5f4c74a5
15067 Author: Manuel Quiñones <manuq@laptop.org>
15068 Date: Fri Aug 10 09:38:24 2012 -0300
15070 Convert Gtk.CellRendererState in the pygi-convert script
15072 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
15074 https://bugzilla.gnome.org/show_bug.cgi?id=681596
15076 pygi-convert.sh | 5 +++++
15077 1 file changed, 5 insertions(+)
15079 commit 54d829b34a0d32d852db370f61cc7f25c149f373
15080 Author: Paolo Borelli <pborelli@gnome.org>
15081 Date: Mon Aug 6 16:19:28 2012 +0200
15083 More updates to the HACKING file
15085 module-install has been replaced with 'ftpadmin install' and other
15089 HACKING | 26 ++++++++++----------------
15090 1 file changed, 10 insertions(+), 16 deletions(-)
15092 commit 0788880c6cf4070d3db09896c165fe470d2ec186
15093 Author: Paolo Borelli <pborelli@gnome.org>
15094 Date: Mon Aug 6 16:00:39 2012 +0200
15096 Post-release version bump to 3.3.6
15098 configure.ac | 2 +-
15099 1 file changed, 1 insertion(+), 1 deletion(-)
15101 commit 664403d953c3e07077d0db90bfae3b51c7f1767c
15102 Author: Paolo Borelli <pborelli@gnome.org>
15103 Date: Mon Aug 6 15:52:22 2012 +0200
15107 NEWS | 29 +++++++++++++++++++++++++++++
15108 1 file changed, 29 insertions(+)
15110 commit b748753a2a9af018001213e2e58c48d6c8bfadbd
15111 Author: Paolo Borelli <pborelli@gnome.org>
15112 Date: Mon Aug 6 15:44:32 2012 +0200
15114 Update HACKING file to mention "make release-news"
15116 HACKING | 7 +++----
15117 1 file changed, 3 insertions(+), 4 deletions(-)
15119 commit 587a0c33901383b891f8eb77351c17f06af20b4f
15120 Author: Paolo Borelli <pborelli@gnome.org>
15121 Date: Mon Aug 6 15:38:23 2012 +0200
15123 pygi-closure: remove unused variables
15125 These variables are assigned but never actually used
15127 gi/pygi-closure.c | 8 --------
15128 1 file changed, 8 deletions(-)
15130 commit dbc6df6aad7197fcf8721ade429baadd749f7069
15131 Author: Martin Pitt <martinpitt@gnome.org>
15132 Date: Fri Aug 3 07:13:55 2012 +0200
15134 tests: Do not break on Pango warnings
15136 In some restricted environments (like chroots) we sometimes get
15138 Pango when it cannot find an appropriate font. Do not make the tests
15142 tests/test_overrides.py | 4 ++++
15143 tests/test_pygtkcompat.py | 6 ++++++
15144 2 files changed, 10 insertions(+)
15146 commit 770e6abfd5bc5dad7d5f56a18f1ef63f9754ada9
15147 Author: Martin Pitt <martinpitt@gnome.org>
15148 Date: Fri Aug 3 06:45:48 2012 +0200
15150 Fix list marshalling on big-endian machines
15152 On big endian machines we cannot simply set e. g. GIArgument.v_int8
15154 GIArgument.v_pointer to be a correct representation. This needs to use
15155 GINT_TO_POINTER/GPOINTER_TO_INT properly, so use the already existing
15156 _pygi_hash_pointer_to_arg()/_pygi_arg_to_hash_pointer() methods
15158 to and from GList and GSList, and handle int8 and int16 as well.
15160 Part of porting pygobject to ppc64:
15161 https://bugzilla.redhat.com/show_bug.cgi?id=842880
15162 https://bugzilla.gnome.org/show_bug.cgi?id=680693
15164 gi/pygi-marshal-from-py.c | 48 ++++++++++++++++++++++++-----------------
15165 gi/pygi-marshal-to-py.c | 54
15166 +++++++++++++++++++++++++++--------------------
15167 2 files changed, 60 insertions(+), 42 deletions(-)
15169 commit b5cd13f47309ec26727b7574e33595a357602468
15170 Author: Colin Walters <walters@verbum.org>
15171 Date: Tue Jul 31 11:47:02 2012 -0400
15173 pygi-marshal: One more 32-bit -Werror=format fix
15175 gi/pygi-marshal-from-py.c | 6 +++---
15176 1 file changed, 3 insertions(+), 3 deletions(-)
15178 commit 526bf43691cb6ed908589312b1693a6389eba00c
15179 Author: Martin Pitt <martinpitt@gnome.org>
15180 Date: Tue Jul 31 17:14:37 2012 +0200
15182 Beautify class/interface type mismatch error messages
15184 Avoid saying "<unknown module>.int", just skip the module name
15185 completely if we do not have one.
15187 gi/pygi-marshal-from-py.c | 20 ++++++++++++--------
15188 1 file changed, 12 insertions(+), 8 deletions(-)
15190 commit 8fb18c62d9c7faff38df3886cb4289b618c81b85
15191 Author: Martin Pitt <martinpitt@gnome.org>
15192 Date: Tue Jul 31 13:13:21 2012 +0200
15194 Skip instead of fail tests which need Pango, Atk, Gdk, Gtk
15196 On initial jhbuild bootstrap or restricted environments, the Pango,
15198 and Gtk typelibs might not be available. Skip tests which need these
15200 failing the testsuite.
15202 tests/test_atoms.py | 7 ++++++-
15203 tests/test_everything.py | 9 ++++++++-
15204 tests/test_overrides.py | 32 ++++++++++++++++++++++++++------
15205 tests/test_pygtkcompat.py | 30 ++++++++++++++++++++----------
15206 4 files changed, 60 insertions(+), 18 deletions(-)
15208 commit a2e73c109f3ed6080eabc85810e624b9f984317e
15209 Author: Colin Walters <walters@verbum.org>
15210 Date: Tue Jul 31 09:02:24 2012 -0400
15212 pygi-argument: Fix -Wformat warning on 32 bit builds
15214 gi/pygi-argument.c | 4 ++--
15215 1 file changed, 2 insertions(+), 2 deletions(-)
15217 commit 7563bb9f8ed5740f52ddf0ca59daf7839853505b
15218 Author: Martin Pitt <martinpitt@gnome.org>
15219 Date: Tue Jul 31 11:14:36 2012 +0200
15221 Fix tests for Python 2
15223 In Python 2 we get different error messages for a mismatching self
15225 check after commit 121b14028.
15227 tests/test_gi.py | 32 ++++++++++++++++++++------------
15228 1 file changed, 20 insertions(+), 12 deletions(-)
15230 commit 5c5b066854cc0b3b7702f31d212aa3f511c62127
15231 Author: Martin Pitt <martinpitt@gnome.org>
15232 Date: Tue Jul 31 10:30:22 2012 +0200
15234 Build with -Werror=format
15236 This catches format string problems on particular architectures like
15238 dea24f8e12 much more insistently.
15241 1 file changed, 1 insertion(+)
15243 commit 6e84a3052667fdc88c2081e20cc6dc3257ec9d6c
15244 Author: Simon Feltman <s.feltman@gmail.com>
15245 Date: Mon Jul 30 02:00:16 2012 -0700
15247 [API add] pygtkcompat: Add more pixbuf creation functions
15249 Add the following functions:
15250 pixbuf_new_from_data
15251 pixbuf_new_from_file_at_scale
15252 pixbuf_new_from_file_at_size
15253 pixbuf_new_from_inline
15254 pixbuf_new_from_stream
15255 pixbuf_new_from_stream_at_scale
15256 pixbuf_new_from_xpm_data
15257 pixbuf_get_file_info
15259 https://bugzilla.gnome.org/show_bug.cgi?id=680814
15261 gi/pygtkcompat.py | 10 +++++++++-
15262 1 file changed, 9 insertions(+), 1 deletion(-)
15264 commit dea24f8e1221516b2d8ea578e55124b0409d6a76
15265 Author: Colin Walters <walters@verbum.org>
15266 Date: Mon Jul 30 22:17:44 2012 -0400
15268 marshal: Fix a lot of format string warnings on 32 bit
15270 G_GUINT64_FORMAT and friends handle "%lld" portably.
15272 https://bugzilla.gnome.org/show_bug.cgi?id=680878
15274 gi/pygi-marshal-from-py.c | 18 +++++++++---------
15275 1 file changed, 9 insertions(+), 9 deletions(-)
15277 commit b630038d9a1c8cb7e5914c77fbacbed646c154d1
15278 Author: Colin Walters <walters@verbum.org>
15279 Date: Mon Jul 30 22:30:07 2012 -0400
15281 marshal: Fix build break on Python 2
15283 I *think* using this wrapper function instead is right.
15285 https://bugzilla.gnome.org/show_bug.cgi?id=680879
15287 gi/pygi-marshal-from-py.c | 8 ++++----
15288 1 file changed, 4 insertions(+), 4 deletions(-)
15290 commit a8338a991bbe919f0e2d9b92f7b71f89ccd2c875
15291 Author: Manuel Quiñones <manuq@laptop.org>
15292 Date: Mon Jul 30 12:53:36 2012 -0300
15294 Improve testcase for tree_view_column_set_attributes
15296 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
15298 https://bugzilla.gnome.org/show_bug.cgi?id=680320
15300 tests/test_overrides.py | 20 ++++++++++++++++++--
15301 1 file changed, 18 insertions(+), 2 deletions(-)
15303 commit 121b1402860407fe46f7501e42447bf3607872ec
15304 Author: Martin Pitt <martinpitt@gnome.org>
15305 Date: Tue Jul 31 00:37:55 2012 +0200
15307 Fix error messages on interface/class type mismatches
15309 Previously, when you called a function with an argument which was not
15310 compatible with the expected class/interface type, you got an
15314 TypeError: Expected Gtk.TreeViewColumn, but got GObjectMeta
15316 which had the wrong (and useless) class name for the actual type,
15318 tell you which argument caused the problem. With this it says e. g.
15320 TypeError: argument column: Expected Gtk.TreeViewColumn, but
15325 gi/pygi-marshal-from-py.c | 41 ++++++++++++++++++++++++++--------
15326 tests/test_gi.py | 57
15327 ++++++++++++++++++++++++++++++++++++++++++++++-
15328 2 files changed, 88 insertions(+), 10 deletions(-)
15330 commit 8f31e85db1392eb7222593fc0d05144c2bca06a3
15331 Author: Simon Feltman <s.feltman@gmail.com>
15332 Date: Sun Jul 29 23:36:25 2012 -0700
15334 Fix crash when returning (False, None) from
15335 Gtk.TreeModel.do_get_iter()
15337 Add a Py_None check before attempting memcpy().
15339 https://bugzilla.gnome.org/show_bug.cgi?id=680812
15341 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15343 gi/pygi-closure.c | 10 +++++++---
15344 tests/test_overrides.py | 9 +++++++++
15345 2 files changed, 16 insertions(+), 3 deletions(-)
15347 commit 94e5d58e7794de91d3291e0e51c42070da4fc92b
15348 Author: Martin Pitt <martinpitt@gnome.org>
15349 Date: Mon Jul 30 11:58:24 2012 +0200
15351 Add test case for Gtk.TextIter.forward_search()
15353 https://bugzilla.gnome.org/show_bug.cgi?id=679415
15355 tests/test_overrides.py | 19 +++++++++++++++++++
15356 1 file changed, 19 insertions(+)
15358 commit aae4e77482c02e21154ab02b159f380f5f0f74be
15359 Author: Martin Pitt <martinpitt@gnome.org>
15360 Date: Fri Jul 27 23:06:39 2012 +0200
15362 Add missing static declarations
15364 This fixes a lot of -Wmissing-prototype warnings.
15366 Also remove _pygi_marshal_cleanup_closure_unref() which is not
15369 gi/_gobject/gobjectmodule.c | 4 ++--
15370 gi/_gobject/pygobject.c | 2 +-
15371 gi/pygi-cache.c | 2 +-
15372 gi/pygi-foreign-cairo.c | 24 ++++++++++++------------
15373 gi/pygi-foreign.c | 2 +-
15374 gi/pygi-marshal-cleanup.c | 9 ---------
15375 tests/test-unknown.c | 2 +-
15376 tests/testhelpermodule.c | 4 ++--
15377 8 files changed, 20 insertions(+), 29 deletions(-)
15379 commit 5f88d3017f853c4ff5e9fd89ef39e4569a9b9c16
15380 Author: Martin Pitt <martinpitt@gnome.org>
15381 Date: Fri Jul 27 23:01:08 2012 +0200
15383 Fix more missing #includes
15385 Add missing includes which caused -Wmissing-prototypes warnings.
15387 gi/_gobject/pygenum.c | 2 ++
15388 gi/_gobject/pyginterface.c | 2 ++
15389 2 files changed, 4 insertions(+)
15391 commit 97b5184c6650964ae8a7616353f5ce8e3ca19af3
15392 Author: Martin Pitt <martinpitt@gnome.org>
15393 Date: Fri Jul 27 22:59:21 2012 +0200
15395 Make some warnings fatal
15397 Add -Werror for some warnings which are real errors in the source
15399 really want to avoid. This includes -Wmissing-prototypes, but that
15401 breaks on building g-i's regress.c.
15403 configure.ac | 5 +++++
15404 1 file changed, 5 insertions(+)
15406 commit c2ee8c550199de59dd220561ed028ec6fb8e1daf
15407 Author: Martin Pitt <martinpitt@gnome.org>
15408 Date: Fri Jul 27 22:08:47 2012 +0200
15410 Fix missing #includes
15412 Add missing includes which caused -Wmissing-prototypes warnings.
15414 gi/_glib/pygiochannel.c | 2 ++
15415 gi/_glib/pygspawn.c | 2 ++
15416 2 files changed, 4 insertions(+)
15418 commit 8bc98fc6665ebab763ee92361929139a0ebe66b5
15419 Author: Martin Pitt <martinpitt@gnome.org>
15420 Date: Fri Jul 27 20:52:00 2012 +0200
15422 pygi-info.c: Robustify pointer arithmetic
15424 In _wrap_g_field_info_{get,set}_value(), use explicit char* casts
15426 that we are using byte offsets. Fixes warnings:
15428 pygi-info.c:1277:43: warning: pointer of type 'void *' used in
15429 arithmetic [-Werror=pointer-arith]
15431 gi/pygi-info.c | 4 ++--
15432 1 file changed, 2 insertions(+), 2 deletions(-)
15434 commit d0a561057b727ebcc1fd06fa6a3b48f2a1f8338e
15435 Author: Martin Pitt <martinpitt@gnome.org>
15436 Date: Fri Jul 27 20:50:30 2012 +0200
15438 pyglib.c: Remove some dead code
15440 Drop unused pyglib_gil_state_ensure_py23() and
15441 pyglib_gil_state_release_py23().
15443 gi/_glib/pyglib.c | 18 ------------------
15444 1 file changed, 18 deletions(-)
15446 commit a46d165d906d0ac7613f4d946542423e979f39d5
15447 Author: Manuel Quiñones <manuq@laptop.org>
15448 Date: Fri Jul 20 10:37:04 2012 -0300
15450 Add set_attributes() override to Gtk.TreeViewColumn
15452 Looking at the C code, gtk_tree_view_column_set_attributesv just calls
15453 gtk_cell_layout_clear_attributes and then
15454 gtk_cell_layout_add_attribute for each (name, value) passed. This
15455 patch makes the same in the overrides.
15457 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
15458 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15460 gi/overrides/Gtk.py | 7 +++++++
15461 tests/test_overrides.py | 6 ++++++
15462 2 files changed, 13 insertions(+)
15464 commit 4df676e10a5ea595a0d491af10268f557dd722d7
15465 Author: Daniel Narvaez <dwnarvaez@gmail.com>
15466 Date: Tue Jul 24 13:49:15 2012 +0200
15470 The autogenerated gitignores was missing several files. So we
15471 was using a manual .gitignore at the root. But since it's
15472 enough to add a couple of entries to it to cover the whole
15473 tree, there is no much point in using git.mk at all.
15475 https://bugzilla.gnome.org/show_bug.cgi?id=678192
15478 docs/Makefile.am | 2 -
15479 examples/Makefile.am | 3 -
15480 gi/Makefile.am | 3 -
15481 gi/_glib/Makefile.am | 3 -
15482 gi/_gobject/Makefile.am | 2 -
15483 gi/overrides/Makefile.am | 2 -
15484 gi/repository/Makefile.am | 2 -
15486 ----------------------------------------------
15487 tests/Makefile.am | 2 -
15488 10 files changed, 222 deletions(-)
15490 commit 0d729c1534c7f3226b492f549d8f6ad3bb3ac8b7
15491 Author: Simon Feltman <s.feltman@gmail.com>
15492 Date: Fri Jul 20 19:55:46 2012 -0700
15494 Gtk overrides: Add TreePath.__getitem__()
15496 Use pythons sub-script operator for indexing into TreePaths
15497 as was the case in PyGtk. Also changed __iter__ to use
15498 TreePath.get_indices as opposed to formatting and re-parsing
15499 a string for getting an index list.
15501 https://bugzilla.gnome.org/show_bug.cgi?id=680353
15503 gi/overrides/Gtk.py | 5 ++++-
15504 tests/test_overrides.py | 4 ++++
15505 2 files changed, 8 insertions(+), 1 deletion(-)
15507 commit affc7faa3fa7250e2e8c2c65e6860906f6fbc4fb
15508 Author: Simon Feltman <s.feltman@gmail.com>
15509 Date: Fri Jul 20 21:34:33 2012 -0700
15511 Fix property type mapping from int to TYPE_INT for python3.
15513 Python3 does not have a long type, however, propertyhelper.py was
15514 using long_ = int; to get things working. Type mapping code
15515 was then checking for long_ first and always returning TYPE_LONG.
15516 Additional refactoring was done to move large if/elif statements
15517 into dictionary lookups and usage of tuples instead of lists
15518 for simple 'in' list of items tests.
15520 https://bugzilla.gnome.org/show_bug.cgi?id=679939
15522 gi/_gobject/propertyhelper.py | 117
15523 +++++++++++++++++++-----------------------
15524 tests/test_properties.py | 55 +++++++++++++++-----
15525 2 files changed, 96 insertions(+), 76 deletions(-)
15527 commit 6fddba5bc5ea02938677a89ffeb0cfc53229b894
15528 Author: Manuel Quiñones <manuq@laptop.org>
15529 Date: Thu Jul 19 12:11:34 2012 -0300
15531 Convert Gtk.DestDefaults constants in pygi-convert.sh script
15533 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
15535 https://bugzilla.gnome.org/show_bug.cgi?id=680259
15537 pygi-convert.sh | 1 +
15538 1 file changed, 1 insertion(+)
15540 commit d58c3553062fd8704a81a8233b4a1563a6611718
15541 Author: Manuel Quiñones <manuq@laptop.org>
15542 Date: Thu Jul 19 12:04:03 2012 -0300
15544 Convert all Gdk.WindowState constants in pygi-convert.sh
15546 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
15548 https://bugzilla.gnome.org/show_bug.cgi?id=680257
15550 pygi-convert.sh | 1 +
15551 1 file changed, 1 insertion(+)
15553 commit a3aae2e152c0b955037b7b85e16d14d00881d870
15554 Author: Joe R. Nassimian <placidrage@gmail.com>
15555 Date: Thu Jul 19 15:48:20 2012 +0200
15557 [API add] Add API for checking pygobject's version
15559 Add a gi.__version__ attribute for the textual version, and
15560 gi.version_info for
15561 a version triple similar to sys.version_info.
15563 Also add a gi.require_version(<minimum_version>) which raises an
15565 the pygobject version is older.
15567 https://bugzilla.gnome.org/show_bug.cgi?id=680176
15569 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15571 gi/__init__.py | 16 ++++++++++++++++
15572 tests/test_gi.py | 16 ++++++++++++++++
15573 2 files changed, 32 insertions(+)
15575 commit a2d9b71d84f0fcb7aaf5ce483ffee3b3a1ccaca1
15576 Author: Manuel Quiñones <manuq@laptop.org>
15577 Date: Mon Jul 16 17:14:46 2012 -0300
15579 pygi-convert.sh: Add some missing Gdk.CursorTypes
15581 This patch adds WATCH, ARROW and CLOCK.
15583 https://bugzilla.gnome.org/show_bug.cgi?id=680050
15585 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
15586 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15588 pygi-convert.sh | 3 +++
15589 1 file changed, 3 insertions(+)
15591 commit 0b08c01414ac73a4604acd9a846e7af09574929f
15592 Author: Manuel Kaufmann <humitos@gmail.com>
15593 Date: Tue Jul 17 09:05:27 2012 -0300
15595 pygi-convert.sh: convert rsvg.Handle(data=...)
15597 Replace rsvg.Handle(data=data) with Rsvg.Handle.new_from_data(data)
15599 https://bugzilla.gnome.org/show_bug.cgi?id=680092
15601 Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
15602 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15604 pygi-convert.sh | 2 ++
15605 1 file changed, 2 insertions(+)
15607 commit 975855d0fff7f2042fe1f0e843f96b9a37cc6b79
15608 Author: Martin Pitt <martinpitt@gnome.org>
15609 Date: Mon Jul 16 17:35:38 2012 +0200
15611 configure.ac: post-release bump to 3.3.5
15613 configure.ac | 2 +-
15614 1 file changed, 1 insertion(+), 1 deletion(-)
15616 commit 126842b7227fcc1381dc158acdc5a96d0a465515
15617 Author: Martin Pitt <martinpitt@gnome.org>
15618 Date: Mon Jul 16 17:33:08 2012 +0200
15622 NEWS | 28 ++++++++++++++++++++++++++++
15623 1 file changed, 28 insertions(+)
15625 commit 079b73b3eb9083bd53e06d095f9dccc02acf2a6e
15626 Author: Martin Pitt <martinpitt@gnome.org>
15627 Date: Mon Jul 16 17:29:22 2012 +0200
15629 test_gi: Fix for Python 2
15631 tests/test_gi.py | 7 +++++--
15632 1 file changed, 5 insertions(+), 2 deletions(-)
15634 commit 30935fe31bfe201bbfdb7734f09fdd2bbaf80e08
15635 Author: Martin Pitt <martinpitt@gnome.org>
15636 Date: Mon Jul 16 16:35:33 2012 +0200
15638 pygi-convert.sh: Drop bogus filter_new() conversion
15640 my_tree_model.filter_new() is still a method on GtkTreeModel, not a
15641 constructor, so do not try to convert it to a constructor call.
15643 https://bugzilla.gnome.org/show_bug.cgi?id=679999
15645 pygi-convert.sh | 1 -
15646 1 file changed, 1 deletion(-)
15648 commit c0607d970fc59528ca27d518282cf2871b92e909
15649 Author: Martin Pitt <martinpitt@gnome.org>
15650 Date: Mon Jul 16 16:00:40 2012 +0200
15652 Fix help() for GI modules
15654 Derive DynamicModule from types.ModuleType, so that the inspect
15656 ismodule() actually succeeds on those and generates useful help on
15660 https://bugzilla.gnome.org/show_bug.cgi?id=679804
15662 gi/module.py | 3 ++-
15663 tests/test_gi.py | 15 +++++++++++++++
15664 2 files changed, 17 insertions(+), 1 deletion(-)
15666 commit 3235f1a397c334de5a7570f5ceed4da709fe1714
15667 Author: Martin Pitt <martinpitt@gnome.org>
15668 Date: Mon Jul 16 15:53:31 2012 +0200
15670 Skip gi.CallbackInfo objects from a module's dir()
15672 Skip gi.CallbackInfo items from IntrospectionModule's __dir__(),
15674 implement __getattr__ for those.
15676 Add a test case that dir() works on GI modules, contain expected
15678 and that all identifiers in dir() can actually be retrieved.
15680 Prerequisite for https://bugzilla.gnome.org/show_bug.cgi?id=679804
15682 gi/module.py | 7 +++++--
15683 tests/test_gi.py | 14 ++++++++++++++
15684 2 files changed, 19 insertions(+), 2 deletions(-)
15686 commit f6cc039e014448a553d626aac4020ee69717edab
15687 Author: Martin Pitt <martinpitt@gnome.org>
15688 Date: Mon Jul 16 15:38:05 2012 +0200
15690 Fix __path__ module attribute
15692 get_typelib_path() returns bytes, not strings, so in Python 3 we
15694 it to get a proper __path__ attribute.
15696 gi/module.py | 17 +++++++++++++++++
15697 tests/test_gi.py | 10 ++++++++++
15698 2 files changed, 27 insertions(+)
15700 commit 858048f7cec78129aa914e2341ab80aac0e95cc5
15701 Author: Joe R. Nassimian <placidrage@gmail.com>
15702 Date: Mon Jul 16 15:02:10 2012 +0200
15704 pygi-convert.sh: Fix some child → getChild() false positives
15706 https://bugzilla.gnome.org/show_bug.cgi?id=680004
15708 pygi-convert.sh | 2 +-
15709 1 file changed, 1 insertion(+), 1 deletion(-)
15711 commit a31fabdc12f1da301c8df0af319ca3f4181671ee
15712 Author: Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com>
15713 Date: Thu Jul 12 09:19:42 2012 +0200
15715 Fix array handling for interfaces, properties, and signals
15717 Fix lots of corner cases where arrays are not handled properly.
15718 _pygi_argument_to_object() now has the documented expectation of
15720 packed in GArrays. This was implicit before and not correctly done
15724 The helper _pygi_argument_to_array() has been improved to work on
15726 array. Fix all call sites of _pygi_argument_to_object() to do the
15727 array conversion appropriately before calling
15728 _pygi_argument_to_object().
15730 Adds a test case that implements a GInterface with a method that
15732 of variants as input.
15734 https://bugzilla.gnome.org/show_bug.cgi?id=667244
15736 gi/pygi-argument.c | 156
15737 ++++++++++++++++++++++++++++++++---------------
15738 gi/pygi-argument.h | 4 +-
15739 gi/pygi-closure.c | 11 ++++
15740 gi/pygi-info.c | 20 ++++--
15741 gi/pygi-property.c | 1 +
15742 gi/pygi-signal-closure.c | 14 ++++-
15743 tests/test_gi.py | 18 ++++++
15744 7 files changed, 167 insertions(+), 57 deletions(-)
15746 commit bb80d124269ee2389c04d03a478475868fd9ff7b
15747 Author: Manuel Quiñones <manuq@laptop.org>
15748 Date: Wed Jul 11 22:05:41 2012 -0300
15750 Add conversion of the Gdk.PropMode constants to pygi-convert.sh script
15752 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
15754 https://bugzilla.gnome.org/show_bug.cgi?id=679775
15756 pygi-convert.sh | 3 +++
15757 1 file changed, 3 insertions(+)
15759 commit e3a63eefa5fb2abeabd210790e12642e577363c8
15760 Author: Manuel Quiñones <manuq@laptop.org>
15761 Date: Wed Jul 11 13:18:16 2012 -0300
15763 Add the same rules for pack_start to convert pack_end
15765 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
15767 https://bugzilla.gnome.org/show_bug.cgi?id=679760
15769 pygi-convert.sh | 5 +++++
15770 1 file changed, 5 insertions(+)
15772 commit b4bef457c2d0ca6899e06a021f1f06252a37e326
15773 Author: Dave Malcolm <dmalcolm@redhat.com>
15774 Date: Wed Jul 11 08:21:27 2012 +0200
15776 Add error-checking for the case where _arg_cache_new() fails
15778 This can happen when a typelib and its underlying library are
15780 converts the segfault into a more helpful traceback.
15782 https://bugzilla.gnome.org/show_bug.cgi?id=678914
15784 gi/pygi-cache.c | 2 ++
15785 1 file changed, 2 insertions(+)
15787 commit 41287d8a439c656e4ac60361fddec643c713234c
15788 Author: Manuel Quiñones <manuq@laptop.org>
15789 Date: Wed Jul 11 11:13:38 2012 -0300
15791 Add conversion of the Gdk.NotifyType constants to pygi-convert.sh
15794 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
15796 https://bugzilla.gnome.org/show_bug.cgi?id=679754
15798 pygi-convert.sh | 6 ++++++
15799 1 file changed, 6 insertions(+)
15801 commit 5403149b900d1b73cbc78767dc43be2eb344c836
15802 Author: Simon Feltman <s.feltman@gmail.com>
15803 Date: Tue Jul 10 19:07:32 2012 -0700
15805 Fix PyObject_Repr and PyObject_Str reference leaks
15807 Fix all calls to PyObject_Repr() and PyObject_Str() to be properly
15810 https://bugzilla.gnome.org/show_bug.cgi?id=675857
15812 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15814 gi/_glib/glibmodule.c | 10 +++++++--
15815 gi/_gobject/gobjectmodule.c | 17 ++++++++++-----
15816 gi/_gobject/pygobject.c | 53
15817 ++++++++++++++++++++++++++++++---------------
15818 gi/pygi-marshal-from-py.c | 9 +++++---
15819 4 files changed, 62 insertions(+), 27 deletions(-)
15821 commit 0ddfecf3bf0a5d7893cd02cff41503d810ef6ce8
15822 Author: Martin Pitt <martinpitt@gnome.org>
15823 Date: Wed Jul 4 08:46:30 2012 +0200
15825 [API add] Gtk overrides: Add TreePath.__len__()
15827 Use the path depth as length of a Gtk.TreePath object.
15829 https://bugzilla.gnome.org/show_bug.cgi?id=679199
15831 gi/overrides/Gtk.py | 3 +++
15832 tests/test_overrides.py | 4 ++++
15833 2 files changed, 7 insertions(+)
15835 commit e1e849d1a9af77c29ee35971db8d439bac60d573
15836 Author: Martin Pitt <martinpitt@gnome.org>
15837 Date: Wed Jul 4 08:35:16 2012 +0200
15839 GLib.Variant: Fix repr(), add proper str()
15841 Fix the GLib.Variant override's repr() after commit 16280d6985. Also
15843 proper __str__() method, and tests for both.
15845 Thanks to Rul Matos for spotting this!
15847 https://bugzilla.gnome.org/show_bug.cgi?id=679336
15849 gi/overrides/GLib.py | 6 +++++-
15850 tests/test_overrides.py | 5 +++++
15851 2 files changed, 10 insertions(+), 1 deletion(-)
15853 commit af20d7c929b9c1888454b52932a308d346e1c12b
15854 Author: Martin Pitt <martinpitt@gnome.org>
15855 Date: Thu Jun 28 06:51:22 2012 +0200
15857 m4/python.m4: Update Python version list
15859 Thanks to Dieter Verfaillie for pointing this out.
15861 m4/python.m4 | 3 +--
15862 1 file changed, 1 insertion(+), 2 deletions(-)
15864 commit a96a26234e2aaa157837d26094864e3ad9b63edf
15865 Author: Micah Carrick <micah@quixotix.com>
15866 Date: Mon Jun 25 09:05:59 2012 -0700
15868 Remove "label" property from Gtk.MenuItem if it is not set
15870 The Gtk.MenuItem will not render as a separator if the "label" or
15871 "user-underline" properties have been accessed. The constructor
15872 for Gtk.MenuItem override should not pass the "label" property
15873 as an argument if it is None since that will still result in an
15874 empty label widget which breaks Gtk.SeparatorMenuItem.
15876 https://bugzilla.gnome.org/show_bug.cgi?id=670575
15878 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15880 gi/overrides/Gtk.py | 5 ++++-
15881 1 file changed, 4 insertions(+), 1 deletion(-)
15883 commit afa12faf339efb4f7780168e884ecf49b630644a
15884 Author: Martin Pitt <martinpitt@gnome.org>
15885 Date: Mon Jun 25 16:36:31 2012 +0200
15887 configure.ac: Post-release bump to 3.3.4.
15889 configure.ac | 2 +-
15890 1 file changed, 1 insertion(+), 1 deletion(-)
15892 commit 198066effc0ca44ccb897e9f0738ab627e8b3275
15893 Author: Martin Pitt <martinpitt@gnome.org>
15894 Date: Mon Jun 25 16:35:49 2012 +0200
15899 configure.ac | 2 +-
15900 2 files changed, 4 insertions(+), 1 deletion(-)
15902 commit cb70ae0aa52ab7624b2b8c30297d8a52a7db7f44
15903 Author: Martin Pitt <martinpitt@gnome.org>
15904 Date: Mon Jun 25 16:32:45 2012 +0200
15906 Do not escape enum and flag names that are Python keywords
15908 These are translated to upper case, and thus can never be
15909 keywords. This broke
15910 existing API such as Gtk.ShadowType.IN.
15912 gi/module.py | 2 +-
15913 gi/pygi-info.c | 7 +++++++
15914 tests/test_gi.py | 3 +++
15915 3 files changed, 11 insertions(+), 1 deletion(-)
15917 commit f2524a982b0b8ba7cdbb77003372416af0b7a978
15918 Author: Martin Pitt <martinpitt@gnome.org>
15919 Date: Mon Jun 25 15:39:50 2012 +0200
15921 configure.ac: Post-release version bump to 3.3.4
15923 configure.ac | 2 +-
15924 1 file changed, 1 insertion(+), 1 deletion(-)
15926 commit fe56faa346c8e8f9fd5915602424778d458a776d
15927 Author: Martin Pitt <martinpitt@gnome.org>
15928 Date: Mon Jun 25 15:36:37 2012 +0200
15932 NEWS | 15 +++++++++++++++
15933 1 file changed, 15 insertions(+)
15935 commit 299a2fd726f0aceaf67b1cec7a0ef8b21ff7bcbc
15936 Author: Martin Pitt <martinpitt@gnome.org>
15937 Date: Mon Jun 25 15:35:19 2012 +0200
15939 Bring back ChangeLog make target
15941 This is being used by "make dist".
15943 Makefile.am | 15 +++++++++++++++
15944 1 file changed, 15 insertions(+)
15946 commit 760118e4ed73de2f022706ef897fcc848e90c005
15947 Author: Martin Pitt <martinpitt@gnome.org>
15948 Date: Mon Jun 25 15:31:14 2012 +0200
15950 Remove obsolete ChangeLog and release-tag make targets
15952 Makefile.am | 23 -----------------------
15953 1 file changed, 23 deletions(-)
15955 commit e92278692bb51679d6e957c2ac36db64498a7c73
15956 Author: Simon Schampijer <simon@schampijer.de>
15957 Date: Fri Jun 15 16:11:21 2012 +0200
15959 Do not do any python calls when GObjects are destroyed after the
15960 python interpreter has been finalized
15962 This happens when pygobject_data_free () function is called after
15964 interpreter shuts down, we can't do python calls after that.
15966 Benzea did the findings because of a bug in Sugar, and commented
15968 SugarLabs ticket: http://bugs.sugarlabs.org/ticket/3670
15970 https://bugzilla.gnome.org/show_bug.cgi?id=678046
15972 Signed-off-by: Benjamin Berg <benzea@sugarlabs.org>
15973 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15975 gi/_gobject/pygobject.c | 27 ++++++++++++++++++++++-----
15976 1 file changed, 22 insertions(+), 5 deletions(-)
15978 commit de4aa426002eeb09a060f8fd70bd6cb25a17766a
15979 Author: Martin Pitt <martinpitt@gnome.org>
15980 Date: Mon Jun 25 15:06:47 2012 +0200
15982 Do not change constructor-only "type" Window property
15984 When reading a Gtk.Window subclass from a GtkBuilder object,
15986 properties are already set at __init__ time. Do not try to set it
15990 https://bugzilla.gnome.org/show_bug.cgi?id=678510
15992 gi/overrides/Gtk.py | 8 +++++++-
15993 tests/test_overrides.py | 36 ++++++++++++++++++++++++++++++++++++
15994 2 files changed, 43 insertions(+), 1 deletion(-)
15996 commit 16280d6985f2cf4db9cf062e857650e620fd9da8
15997 Author: Martin Pitt <martinpitt@gnome.org>
15998 Date: Mon Jun 25 09:40:38 2012 +0200
16000 Escape identifiers which are Python keywords
16002 Add a trailing underscore to identifiers which are Python keywords.
16004 We use a per-major-version static identifier list derived from
16006 instead of calling out to Python's keyword.iskeyword(). This is
16008 and also allows us to tweak the result. For example, Python 3 dropped
16010 as a keyword, but we still want to escape that to avoid breaking
16012 between different Python versions.
16014 Error out when building with a major Python version not covered yet,
16016 do not forget to update the list in the future.
16018 https://bugzilla.gnome.org/show_bug.cgi?id=676746
16020 gi/pygi-info.c | 38 +++++++++++++++++++++++++++++++++++++-
16021 tests/test_gi.py | 17 +++++++++++++++++
16022 2 files changed, 54 insertions(+), 1 deletion(-)
16024 commit 3864d7a3b7def035ee2daf22ba717371c8d261de
16025 Author: Martin Pitt <martinpitt@gnome.org>
16026 Date: Fri Jun 22 13:13:37 2012 +0200
16028 Ignore E123 in pep8 tests
16030 This is "closing bracket does not match indentation of opening
16032 but it really looks better to have the closing bracket on the
16034 of the opening bracket instead of the indentation level of the
16036 contains the opening bracket.
16038 tests/Makefile.am | 2 +-
16039 1 file changed, 1 insertion(+), 1 deletion(-)
16041 commit fb436dd6d3b40b3f2a8ba6f402e2987752ad1902
16042 Author: Martin Pitt <martinpitt@gnome.org>
16043 Date: Fri Jun 22 13:08:34 2012 +0200
16045 PEP8: Fix indentation
16047 Spotted by current pep8 checker.
16049 demos/gtk-demo/demos/Entry/entry_buffer.py | 6 +--
16050 demos/gtk-demo/demos/Entry/entry_completion.py | 6 +--
16051 demos/gtk-demo/demos/Entry/search_entry.py | 4 +-
16052 demos/gtk-demo/demos/appwindow.py | 2 +-
16053 demos/gtk-demo/demos/clipboard.py | 8 +--
16054 demos/gtk-demo/demos/colorselector.py | 6 +--
16055 demos/gtk-demo/demos/rotatedtext.py | 8 +--
16056 demos/gtk-demo/gtk-demo.py | 6 +--
16057 examples/option.py | 29 ++++++-----
16058 examples/signal.py | 3 +-
16059 gi/_glib/option.py | 6 +--
16060 gi/_gobject/propertyhelper.py | 18 +++----
16061 gi/module.py | 14 +++---
16062 gi/overrides/GLib.py | 2 +-
16063 gi/overrides/Gio.py | 11 +++--
16064 gi/overrides/Gtk.py | 16 +++---
16065 gi/pygtkcompat.py | 7 ++-
16066 gi/types.py | 17 ++++---
16067 tests/runtests.py | 2 +-
16068 tests/test_gdbus.py | 55 +++++++++++----------
16069 tests/test_gi.py | 15 +++---
16070 tests/test_gobject.py | 18 +++----
16071 tests/test_option.py | 26 +++++-----
16072 tests/test_overrides.py | 67
16073 +++++++++++++-------------
16074 tests/test_properties.py | 30 ++++++------
16075 tests/test_signal.py | 2 +-
16076 tests/test_uris.py | 9 ++--
16077 27 files changed, 200 insertions(+), 193 deletions(-)
16079 commit 129462ccc4a2191ecbb42247030c91bd0f1454f6
16080 Author: Martin Pitt <martinpitt@gnome.org>
16081 Date: Fri Jun 22 12:36:54 2012 +0200
16083 PEP8: Use isinstance() instead of direct type comparisons
16085 Spotted by current pep8 checker.
16087 gi/overrides/GLib.py | 2 +-
16088 gi/overrides/__init__.py | 2 +-
16089 2 files changed, 2 insertions(+), 2 deletions(-)
16091 commit 50e45a624e6301e65c150e137aad6d092f203f3f
16092 Author: Martin Pitt <martinpitt@gnome.org>
16093 Date: Fri Jun 22 12:30:10 2012 +0200
16095 PEP8: Fix continuation lines
16097 Spotted by current pep8 checker.
16099 demos/gtk-demo/demos/Entry/search_entry.py | 6 +++---
16100 gi/__init__.py | 6 +++---
16101 gi/_gobject/__init__.py | 6 ++----
16102 gi/module.py | 6 +++---
16103 tests/test_overrides.py | 11 +++--------
16104 5 files changed, 14 insertions(+), 21 deletions(-)
16106 commit ef06548b0dc6aee0e8ab208a78966dc1d5d917ee
16107 Author: Martin Pitt <martinpitt@gnome.org>
16108 Date: Fri Jun 22 12:24:32 2012 +0200
16110 PEP8: Consistent comparisons against True, False, and None
16112 Spotted by current pep8 checker.
16114 demos/gtk-demo/demos/clipboard.py | 4 ++--
16115 demos/gtk-demo/demos/drawingarea.py | 4 ++--
16116 demos/gtk-demo/gtk-demo.py | 8 ++++----
16117 gi/overrides/Gdk.py | 2 +-
16118 gi/overrides/Gtk.py | 2 +-
16119 tests/test_gi.py | 4 ++--
16120 tests/test_overrides.py | 3 +--
16121 7 files changed, 13 insertions(+), 14 deletions(-)
16123 commit 379c1474a071292a1e8da413af2f5438cff09fc8
16124 Author: Martin Pitt <martinpitt@gnome.org>
16125 Date: Wed Jun 20 12:23:12 2012 +0200
16127 Fix crash in GLib.find_program_in_path()
16129 We need to handle a NULL return value properly.
16131 https://bugzilla.gnome.org/show_bug.cgi?id=678119
16133 gi/_glib/glibmodule.c | 10 ++++++++--
16134 tests/Makefile.am | 1 +
16135 tests/test_glib.py | 15 +++++++++++++++
16136 3 files changed, 24 insertions(+), 2 deletions(-)
16138 commit 73531fd7820bd1922347bd856298d68205a27877
16139 Author: Martin Pitt <martinpitt@gnome.org>
16140 Date: Wed Jun 20 11:16:39 2012 +0200
16142 Revert "Do not bind gobject_get_data() and gobject_set_data()"
16144 We should have some deprecation period for this, so bring back
16146 methods and add deprecation warnings.
16148 This reverts commit 24cc09a7105299805fcc5bc151f53ac69958d728.
16150 https://bugzilla.gnome.org/show_bug.cgi?id=641944
16152 gi/_gobject/pygobject.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
16153 1 file changed, 44 insertions(+)
16155 commit a0daa843801658929ffee5bcb9eb67d955dc7921
16156 Author: David Keijser <keijser@gmail.com>
16157 Date: Mon Jun 18 15:09:34 2012 +0200
16159 GVariant: Raise proper TypeError on invalid tuple input
16161 https://bugzilla.gnome.org/show_bug.cgi?id=678317
16163 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16165 gi/overrides/GLib.py | 4 ++--
16166 tests/test_overrides.py | 1 +
16167 2 files changed, 3 insertions(+), 2 deletions(-)
16169 commit fb39ba934180e1e48fd15774e69d1cecf47a4c84
16170 Author: Martin Pitt <martinpitt@gnome.org>
16171 Date: Tue Jun 5 19:11:38 2012 +0200
16173 configure.ac: Post-release bump to 3.3.3
16175 configure.ac | 2 +-
16176 1 file changed, 1 insertion(+), 1 deletion(-)
16178 commit 7f0995e7fa865ebde7490d0570a7135a2f962cdf
16179 Author: Martin Pitt <martinpitt@gnome.org>
16180 Date: Tue Jun 5 19:09:12 2012 +0200
16184 NEWS | 44 ++++++++++++++++++++++++++++++++++++++++++++
16185 1 file changed, 44 insertions(+)
16187 commit 8209c1ae1632c77768699481e574d5d378956e71
16188 Author: Martin Pitt <martinpitt@gnome.org>
16189 Date: Tue Jun 5 19:04:49 2012 +0200
16191 Fix "release-news" make target
16193 Actually list changes since the previous release, not since 3.1.92.
16196 1 file changed, 1 insertion(+), 1 deletion(-)
16198 commit b21f66d2a399b8c9a36a1758107b7bdff0ec8eaa
16199 Author: Bastian Winkler <buz@netbuz.org>
16200 Date: Wed May 9 19:04:01 2012 +0200
16202 foreign: Register cairo.Path and cairo.FontOptions foreign structs
16204 They are rarely used, but they are used at least by Gdk, PangoCairo
16208 clutter.Path is not used by any API that the test suite uses, so
16210 without a test for now.
16212 https://bugzilla.gnome.org/show_bug.cgi?id=677388
16214 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16216 gi/pygi-foreign-cairo.c | 85
16217 ++++++++++++++++++++++++++++++++++++++++++++++++
16218 tests/test_everything.py | 8 +++++
16219 2 files changed, 93 insertions(+)
16221 commit 635a7d1b48d99ddd1ea123797c493b18b0cdfd45
16222 Author: Marien Zwart <marien.zwart@gmail.com>
16223 Date: Wed May 23 01:51:46 2012 +0200
16225 Check types in GBoxed assignments
16227 Check if the Python value is GBoxed instead of assuming it is.
16228 Without this, the following segfaults:
16230 from gi.repository import Soup
16232 msg = Soup.Message()
16233 msg.props.uri = 'http://www.gnome.org'
16235 as we assume the new property is a GBoxed while it is actually a
16238 https://bugzilla.gnome.org/show_bug.cgi?id=676603
16240 Co-authored-by: Martin Pitt <martinpitt@gnome.org>
16241 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16243 gi/pygi-argument.c | 10 +++++++---
16244 tests/test_gi.py | 19 +++++++++++++++++++
16245 2 files changed, 26 insertions(+), 3 deletions(-)
16247 commit 2305dcd7e8841f87dc2fc683390df78453a5dc2a
16248 Author: Bastian Winkler <buz@netbuz.org>
16249 Date: Sat May 12 14:08:51 2012 +0200
16251 [API add] Gtk overrides: Add TreeModelRow.get_previous()
16253 TreeModelRow has get_next() and a next property, it should also have
16254 get_previous() and previous.
16256 https://bugzilla.gnome.org/show_bug.cgi?id=677389
16258 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16260 gi/overrides/Gtk.py | 9 +++++++++
16261 1 file changed, 9 insertions(+)
16263 commit 5501fba534696974899f2591929bff9e1b6ecd65
16264 Author: Bastian Winkler <buz@netbuz.org>
16265 Date: Sat May 12 13:50:02 2012 +0200
16267 [API add] Add missing GObject.TYPE_VARIANT
16269 Add TYPE_VARIANT to constants to make it accessible as
16270 GObject.TYPE_VARIANT.
16272 https://bugzilla.gnome.org/show_bug.cgi?id=677387
16274 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16276 gi/_gobject/__init__.py | 1 +
16277 gi/_gobject/constants.py | 1 +
16278 2 files changed, 2 insertions(+)
16280 commit 4c51a5411092f8ab6f8f6e9692a9b49692f621a7
16281 Author: Jasper St. Pierre <jstpierre@mecheye.net>
16282 Date: Fri Jun 1 02:53:13 2012 -0400
16284 Fix boxed type equality
16286 Each boxed type has its own Python type, not PyGBoxed_Type. Use
16287 PyObject_IsInstance instead of comparing against PyGBoxed_Type
16290 https://bugzilla.gnome.org/show_bug.cgi?id=677249
16292 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16294 gi/_gobject/pygboxed.c | 3 ++-
16295 tests/test_everything.py | 8 ++++++++
16296 2 files changed, 10 insertions(+), 1 deletion(-)
16298 commit dc8eef26906753fcb3ce057b23ca110137897fa5
16299 Author: Jose Rostagno <joserostagno@vijona.com.ar>
16300 Date: Fri Jun 1 13:43:38 2012 +0200
16302 Fix TestProperties.testBoxed test
16304 A typo was preventing the test from being run.
16306 https://bugzilla.gnome.org/show_bug.cgi?id=676644
16308 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16310 tests/test_properties.py | 4 ++--
16311 1 file changed, 2 insertions(+), 2 deletions(-)
16313 commit 853e6a71234ebd66af5a64dfb296e323c2c905a6
16314 Author: Carlos Garnacho <carlos@lanedo.com>
16315 Date: Thu May 17 17:09:15 2012 +0200
16317 Fix handling of by-reference structs as out parameters
16319 When marshalling back from python, copy the result of by-reference
16320 structs into the memory expected by the native caller, instead of
16321 attempting to handle it as a pointer.
16323 https://bugzilla.gnome.org/show_bug.cgi?id=653151
16325 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16327 gi/pygi-closure.c | 17 +++++++++++++++++
16328 tests/test_gi.py | 5 +++++
16329 2 files changed, 22 insertions(+)
16331 commit bac9d526f6a9774821d1c9c0e7b35cc6db942975
16332 Author: Martin Pitt <martinpitt@gnome.org>
16333 Date: Fri Jun 1 12:28:53 2012 +0200
16335 tests: Add more vfunc checks for GIMarshallingTestsObject
16337 tests/test_gi.py | 25 +++++++++++++++++++++++++
16338 1 file changed, 25 insertions(+)
16340 commit e1aaf4a48453be0e69e7f3a70a2e7a790871a4d2
16341 Author: Martin Pitt <martinpitt@gnome.org>
16342 Date: Fri Jun 1 12:02:55 2012 +0200
16344 Test caller-allocated GValue out parameter
16346 This came up as a side issue in
16347 https://bugzilla.gnome.org/show_bug.cgi?id=653151
16349 tests/test_gi.py | 3 +++
16350 1 file changed, 3 insertions(+)
16352 commit edc17e703e1a05e20545d3df9167ceb076450443
16353 Author: Bastian Winkler <buz@netbuz.org>
16354 Date: Wed May 16 11:13:05 2012 +0200
16356 GObject.bind_property: Support transform functions
16358 Add support for optional transformation functions to
16359 pygobject_bind_property(). It uses a custom PyGClosure to marshal the
16360 return value correctly.
16362 https://bugzilla.gnome.org/show_bug.cgi?id=676169
16364 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16366 gi/_gobject/pygobject.c | 130
16367 +++++++++++++++++++++++++++++++++++++++++++++---
16368 tests/test_gobject.py | 59 ++++++++++++++++++++++
16369 2 files changed, 181 insertions(+), 8 deletions(-)
16371 commit 07a08b49aae83a297e2f91240448314e4663f724
16372 Author: Carlos Garnacho <carlos@lanedo.com>
16373 Date: Mon May 14 15:31:14 2012 +0200
16375 Fix lookup of vfuncs in parent classes
16377 https://bugzilla.gnome.org/show_bug.cgi?id=672864.
16379 As subclasses implemented in python override the attribute for the
16380 vfunc, __mro__ has to be used so subclasses of the subclass overriding
16381 methods may find the corresponding VFuncInfo.
16383 Co-Authored-by: Martin Pitt <martinpitt@gnome.org>
16385 gi/types.py | 6 +++---
16386 tests/test_gi.py | 27 +++++++++++++++++++++++++++
16387 2 files changed, 30 insertions(+), 3 deletions(-)
16389 commit b965ee15bac6cd28d16d32205d96d2b1bdd3f0e1
16390 Author: Martin Pitt <martinpitt@gnome.org>
16391 Date: Fri Jun 1 08:18:40 2012 +0200
16393 tests/test_properties.py: Fix whitespace
16395 The pep8 check failed on this.
16397 tests/test_properties.py | 2 +-
16398 1 file changed, 1 insertion(+), 1 deletion(-)
16400 commit 274d60a7c08d74a299f4b83d8054c00eadb4bdbd
16401 Author: Jasper St. Pierre <jstpierre@mecheye.net>
16402 Date: Wed May 30 16:45:53 2012 -0400
16404 gi: Support zero-terminated arrays with length arguments
16406 Sometimes, you may see (array zero-terminated=1 length=length)
16408 Don't expose the length argument to the user in this case.
16410 https://bugzilla.gnome.org/show_bug.cgi?id=677124
16412 gi/pygi-cache.c | 13 ++++---------
16413 tests/test_gi.py | 3 +++
16414 2 files changed, 7 insertions(+), 9 deletions(-)
16416 commit 62c2e962a225ec2527aa3d7406aa0dae232a0886
16417 Author: Jasper St. Pierre <jstpierre@mecheye.net>
16418 Date: Fri May 25 17:09:55 2012 -0400
16422 libregress now needs cairo-gobject
16424 configure.ac | 2 +-
16425 1 file changed, 1 insertion(+), 1 deletion(-)
16427 commit 9477f0f2f17a6d9b97e5ee08378bc009b8d4c30a
16428 Author: Martin Pitt <martinpitt@gnome.org>
16429 Date: Mon May 14 15:48:34 2012 +0200
16431 Fix comment in previous commit
16433 tests/test_gobject.py | 2 +-
16434 1 file changed, 1 insertion(+), 1 deletion(-)
16436 commit 6610428394d0c65987de5021bf2c38641cdb7116
16437 Author: Simon Feltman <s.feltman@gmail.com>
16438 Date: Tue May 8 20:04:09 2012 -0700
16440 [API add] Add GObject.bind_property method
16442 This adds the "bind_property" method for binding two gobject
16444 together. The method returns a weak reference to a GBinding object.
16445 The BindingWeakRef object is used to manage GBinding objects within
16447 created through GObject.bind_property. It is a sub-class
16448 PyGObjectWeakRef so
16449 that we can maintain the same reference counting semantics between
16451 and GObject Binding objects. This gives explicit direct control of the
16452 binding lifetime by using the "unbind" method on the BindingWeakRef
16454 along with implicit management based on the lifetime of the source or
16457 Note this does not yet include support for converter closures. This
16459 later after the initial implementation is accepted.
16461 https://bugzilla.gnome.org/show_bug.cgi?id=675582
16463 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16465 gi/_gobject/pygobject.c | 104
16466 +++++++++++++++++++++++++++++++++++++++++++++++-
16467 tests/test_gobject.py | 90 +++++++++++++++++++++++++++++++++++++++++
16468 2 files changed, 193 insertions(+), 1 deletion(-)
16470 commit 88babe7377402f6e6f912a8b83615aab848eae81
16471 Author: Jose Rostagno <joserostagno@vijona.com.ar>
16472 Date: Fri May 11 19:08:47 2012 -0300
16474 pygtkcompat: Correctly set flags
16476 https://bugzilla.gnome.org/show_bug.cgi?id=675911
16478 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16480 gi/pygtkcompat.py | 5 ++---
16481 tests/test_pygtkcompat.py | 1 +
16482 2 files changed, 3 insertions(+), 3 deletions(-)
16484 commit 3f712b56397296bca2f5358cd52977b1a2011964
16485 Author: Jose Rostagno <joserostagno@vijona.com.ar>
16486 Date: Fri May 11 12:39:05 2012 -0300
16488 Gtk overrides: Implement __delitem__ on TreeModel
16490 https://bugzilla.gnome.org/show_bug.cgi?id=675892
16492 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16494 gi/overrides/Gtk.py | 16 ++++++++++++----
16495 tests/test_overrides.py | 9 +++++++++
16496 2 files changed, 21 insertions(+), 4 deletions(-)
16498 commit 9a1a07742ec0b1821d469603f9996a2b7d832f40
16499 Author: Simon Feltman <s.feltman@gmail.com>
16500 Date: Sun May 6 18:10:39 2012 -0700
16502 Gdk Color override should support red/green/blue_float properties
16504 Added red_float, green_float, and blue_float properties to Color.
16505 Also added Color.from_floats, RGBA.to_color, and RGBA.from_color.
16507 https://bugzilla.gnome.org/show_bug.cgi?id=675579
16509 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16511 gi/overrides/Gdk.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
16512 tests/Makefile.am | 2 +-
16513 tests/test_overrides.py | 17 +++++++++++++++++
16514 3 files changed, 62 insertions(+), 1 deletion(-)
16516 commit d9608c332d9592f03545b110cfac8105453ea035
16517 Author: Martin Pitt <martinpitt@gnome.org>
16518 Date: Sat May 5 12:42:42 2012 -0700
16520 Support marshalling of GVariants for closures
16522 Add GVariant handling to pyg_value_{as,from}_pyobject(), so that
16524 be called with GVariant arguments and return GVariant.
16526 Unmark the corresponding test case as "expected failure", and also
16528 for None values and type mismatches.
16530 https://bugzilla.gnome.org/show_bug.cgi?id=656554
16532 gi/_gobject/pygtype.c | 47
16533 +++++++++++++++++++++++++++++++++++++++++++++--
16534 tests/test_everything.py | 16 ++++++++++++----
16535 2 files changed, 57 insertions(+), 6 deletions(-)
16537 commit e7a909c16dc1c625ab11e270f23d540f15c71767
16538 Author: Johan Dahlin <johan@gnome.org>
16539 Date: Mon May 7 10:33:40 2012 -0300
16541 Require gobject-introspection 1.33.0
16543 configure.ac | 2 +-
16544 1 file changed, 1 insertion(+), 1 deletion(-)
16546 commit 9e8239684433631e0d1650d25416e4d7bf92a058
16547 Author: Martin Pitt <martinpitt@gnome.org>
16548 Date: Sun May 6 18:28:23 2012 -0700
16550 NEWS: Add API additions since 3.2.0
16553 1 file changed, 4 insertions(+), 3 deletions(-)
16555 commit d1a2bf51eb25b54028fbf496d20dfad9546bcb5e
16556 Author: Martin Pitt <martinpitt@gnome.org>
16557 Date: Sun May 6 18:25:23 2012 -0700
16559 NEWS: Mark API changes since 3.2.0
16562 1 file changed, 3 insertions(+), 3 deletions(-)
16564 commit a3329539291bd8ea9aa6cb184a05ea7c21f8885a
16565 Author: Martin Pitt <martinpitt@gnome.org>
16566 Date: Sun May 6 18:19:35 2012 -0700
16568 Fix commit 168a087 for Python 3
16570 Simplify the type check and use the already existing one. Fix the
16572 to work with both Python 2 and 3.
16574 gi/pygi-argument.c | 42 +++++++++---------------------------------
16575 1 file changed, 9 insertions(+), 33 deletions(-)
16577 commit 42c717ed77613e02f3c8ef2685bc071462b87d73
16578 Author: Martin Pitt <martinpitt@gnome.org>
16579 Date: Sun May 6 18:08:57 2012 -0700
16581 pygtkcompat.py: Typo fix
16583 Was missing a space around operator, causing the PEP8 check to fail.
16585 gi/pygtkcompat.py | 2 +-
16586 1 file changed, 1 insertion(+), 1 deletion(-)
16588 commit 168a08753cec1ff77ccca5d81b9a5fd2af5d3720
16589 Author: Martin Pitt <martinpitt@gnome.org>
16590 Date: Sun May 6 18:02:04 2012 -0700
16592 _pygi_argument_from_object(): Check for compatible data type
16594 Verify that the passed PyObject actually matches the expected type
16596 argument. With this, trying to assign a wrong type to a property
16598 a proper TypeError.
16600 gi/pygi-argument.c | 39 +++++++++++++++++++++++++++++++++++++++
16601 gi/pygi-property.c | 3 +++
16602 tests/test_gi.py | 40 ++++++++++++++++++++++++++++++++++++++++
16603 3 files changed, 82 insertions(+)
16605 commit 5948b62ba3e08ea943e6965ee38c94c363186226
16606 Author: Martin Pitt <martinpitt@gnome.org>
16607 Date: Sun May 6 17:59:57 2012 -0700
16609 pygtkcompat: Fix color conversion
16611 gtk_style_context_get_background_color() returns a GdkRGBA value,
16613 float values between 0 and 1. However, we construct a GdkColor
16615 that, so we need to scale to 0..65535 and round to int.
16617 gi/pygtkcompat.py | 6 +++---
16618 1 file changed, 3 insertions(+), 3 deletions(-)
16620 commit 6af74c501bc604559f8b5b4e0d856d022ed882bb
16621 Author: Martin Pitt <martinpitt@gnome.org>
16622 Date: Sun May 6 06:02:31 2012 -0700
16624 test_gi: Check setting properties in constructor
16626 tests/test_gi.py | 33 +++++++++++++++++++++++++++++++++
16627 1 file changed, 33 insertions(+)
16629 commit 9f50fd214e4214f83959b2883a0c667f7f157c97
16630 Author: Martin Pitt <martinpitt@gnome.org>
16631 Date: Sun May 6 05:50:00 2012 -0700
16633 Support getting and setting GStrv properties
16635 gi/pygi-property.c | 36 ++++++++++++++++++++++++++++++++++++
16636 tests/test_gi.py | 11 +++++++++++
16637 2 files changed, 47 insertions(+)
16639 commit 8321af2c7df499291e664c676376f149a0c3dcac
16640 Author: Martin Pitt <martinpitt@gnome.org>
16641 Date: Sat May 5 13:58:29 2012 -0700
16643 Support defining GStrv properties from Python
16645 gi/_gobject/propertyhelper.py | 10 ++++++--
16646 tests/test_properties.py | 58
16647 +++++++++++++++++++++++++++++++++++++++++--
16648 2 files changed, 64 insertions(+), 4 deletions(-)
16650 commit f2494526e1c579c41babfe7ff67deef0f6966adf
16651 Author: Martin Pitt <martinpitt@gnome.org>
16652 Date: Sat May 5 13:21:20 2012 -0700
16654 Add GObject.TYPE_STRV constant
16656 gi/_gobject/__init__.py | 1 +
16657 gi/_gobject/constants.py | 1 +
16658 tests/test_everything.py | 2 +-
16659 tests/test_signal.py | 2 +-
16660 4 files changed, 4 insertions(+), 2 deletions(-)
16662 commit 8c7306e4d6355ca45f8f1b4adf7d0595b4e8bcf8
16663 Author: Martin Pitt <martinpitt@gnome.org>
16664 Date: Sat May 5 09:28:36 2012 +0200
16666 Unref GVariants when destroying the wrapper
16668 https://bugzilla.gnome.org/show_bug.cgi?id=675472
16670 gi/overrides/GLib.py | 3 +++
16671 1 file changed, 3 insertions(+)
16673 commit d6c091d87c86c8ccc7cb54347fbceccedac61633
16674 Author: Martin Pitt <martinpitt@gnome.org>
16675 Date: Sat May 5 09:23:55 2012 +0200
16677 Fix TestArrayGVariant test cases
16679 test_array_gvariant_container_in() and test_array_gvariant_full_in()
16681 GIMarshallingTests.array_gvariant_none_in(), presumably a copy&paste
16683 Actually do what they mean to do now and call the corresponding
16684 GIMarshallingTests methods.
16686 tests/test_gi.py | 4 ++--
16687 1 file changed, 2 insertions(+), 2 deletions(-)
16689 commit fda8a069d503e63c76a6b1ba285a181822549059
16690 Author: Jose Rostagno <joserostagno@vijona.com.ar>
16691 Date: Sat May 5 08:52:41 2012 +0200
16693 pygtkcompat: Add gdk.pixbuf_get_formats compat code
16695 https://bugzilla.gnome.org/show_bug.cgi?id=675489
16697 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16699 gi/pygtkcompat.py | 20 ++++++++++++++++++++
16700 tests/test_pygtkcompat.py | 8 ++++++++
16701 2 files changed, 28 insertions(+)
16703 commit 2b49c5f58bb841de7a9077eeeaf996eb9851dab3
16704 Author: Jose Rostagno <joserostagno@vijona.com.ar>
16705 Date: Mon Apr 30 13:44:19 2012 -0300
16707 pygtkcompat: Add some more compat functions
16709 https://bugzilla.gnome.org/show_bug.cgi?id=675489
16711 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16713 gi/pygtkcompat.py | 14 ++++++++++++++
16714 1 file changed, 14 insertions(+)
16716 commit 16fbb17a9fd17eeb9f886af99e89a214d328dae1
16717 Author: Martin Pitt <martinpitt@gnome.org>
16718 Date: Thu May 3 12:25:04 2012 +0200
16720 Fix tests for Python 3
16722 cmp() does not exist any more in Python 3, replace with comparison
16725 GIMarshallingTests.array_in_nonzero_nonlen() expects a guint8 array,
16727 can't pass a str (which is an Unicode object in Python 3). Pass a
16731 tests/test_gi.py | 2 +-
16732 tests/test_overrides.py | 2 +-
16733 2 files changed, 2 insertions(+), 2 deletions(-)
16735 commit fd7f8eefbe8aba0b29d80e3eb9d985d33a268c8a
16736 Author: Martin Pitt <martinpitt@gnome.org>
16737 Date: Thu May 3 09:38:56 2012 +0200
16739 Fix building with --disable-cairo
16741 Build gobject-introspection's regress.c against cairo, not
16742 pycairo/py3cairo. We
16743 always need cairo to build, so unconditionally check for this in
16746 In test_everything.py, gracefully handle the absence of the "cairo"
16748 module, which we do not have when building without cairo support.
16750 configure.ac | 3 +++
16751 tests/Makefile.am | 4 ++--
16752 tests/test_everything.py | 8 +++++++-
16753 3 files changed, 12 insertions(+), 3 deletions(-)
16755 commit 1c5634e6d98c8b67b37a2747951c66f5d8f1907d
16756 Author: Martin Pitt <martinpitt@gnome.org>
16757 Date: Thu May 3 09:28:51 2012 +0200
16759 tests: Fix deprecated assertions
16761 assertAlmostEquals → assertAlmostEqual
16762 assertNotEquals → assertNotEqual
16764 tests/test_everything.py | 4 ++--
16765 tests/test_gi.py | 12 ++++++------
16766 tests/test_overrides.py | 10 +++++-----
16767 3 files changed, 13 insertions(+), 13 deletions(-)
16769 commit 07f312e66c07357168098d3f96813d2c997e8dc7
16770 Author: Martin Pitt <martinpitt@gnome.org>
16771 Date: Wed May 2 12:08:19 2012 +0200
16773 Run tests with MALLOC_PERTURB_
16775 We mostly use the glib allocation functions, but this might
16776 help to uncover access to already freed or uninitialized memory in
16780 tests/Makefile.am | 1 +
16781 1 file changed, 1 insertion(+)
16783 commit b0740d386c2cbbd153878209b584b568968e4d98
16784 Author: Martin Pitt <martinpitt@gnome.org>
16785 Date: Mon Apr 30 16:26:57 2012 +0200
16787 configure.ac: Post-release bump to 3.3.2
16789 configure.ac | 2 +-
16790 1 file changed, 1 insertion(+), 1 deletion(-)
16792 commit d3977266faadacd3d05705497c1cf51a01a6606f
16793 Author: Martin Pitt <martinpitt@gnome.org>
16794 Date: Mon Apr 30 16:08:09 2012 +0200
16799 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
16800 1 file changed, 66 insertions(+)
16802 commit a8e222f04aac3bcf7e4421c4da8d080eeb8b5f56
16803 Author: Giovanni Campagna <gcampagna@src.gnome.org>
16804 Date: Sun Apr 29 23:55:15 2012 +0200
16806 GSettings: allow extra keyword arguments
16808 All GObject constructors are expected to accept any construct
16809 property as keyword argument, and overrides should respect that.
16810 In particular, not doing this for GSettings prevents using a custom
16813 https://bugzilla.gnome.org/show_bug.cgi?id=675105
16815 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16817 gi/overrides/Gio.py | 4 ++--
16818 1 file changed, 2 insertions(+), 2 deletions(-)
16820 commit 592c67482c254f65817c1a1b5c5de5dfcaab31b4
16821 Author: Jose Rostagno <joserostagno@vijona.com.ar>
16822 Date: Sun Apr 29 12:56:50 2012 -0300
16824 pygtkcompat: Correct Userlist module use
16826 https://bugzilla.gnome.org/show_bug.cgi?id=675084
16828 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16830 gi/pygtkcompat.py | 2 +-
16831 tests/test_pygtkcompat.py | 4 ++++
16832 2 files changed, 5 insertions(+), 1 deletion(-)
16834 commit 3551462a429ef30274fa01fc8111da5025f9c342
16835 Author: Martin Pitt <martinpitt@gnome.org>
16836 Date: Sun Apr 29 20:17:47 2012 +0200
16838 Add release-news make rule
16840 This produces a commit log since the previous release in our
16842 format. This does not currently wrap long lines automatically, though.
16844 Do include bug numbers from now on, as they are very useful.
16846 Makefile.am | 12 ++++++++++--
16847 1 file changed, 10 insertions(+), 2 deletions(-)
16849 commit fe79ef612a7853f024b73c7997b8ec89015ae94c
16850 Author: Martin Pitt <martinpitt@gnome.org>
16851 Date: Wed Apr 25 13:07:59 2012 +0200
16853 Add "make check.nemiver" target
16855 Similar to "check.gdb", but invokes nemiver.
16857 Makefile.am | 3 +++
16858 tests/Makefile.am | 3 +++
16859 2 files changed, 6 insertions(+)
16861 commit 3090cc70a7ce8df38dd6cf6c17350417a7367c0b
16862 Author: Martin Pitt <martinpitt@gnome.org>
16863 Date: Tue Apr 24 13:24:00 2012 +0200
16865 Test flags and enums in GHash values
16867 https://bugzilla.gnome.org/show_bug.cgi?id=637466
16869 tests/test_everything.py | 18 ++++++++++++------
16870 1 file changed, 12 insertions(+), 6 deletions(-)
16872 commit 88d189ec3e3d900a96496a50c1d6e76615b19558
16873 Author: Martin Pitt <martinpitt@gnome.org>
16874 Date: Tue Apr 24 13:03:36 2012 +0200
16876 tests: Activate test_hash_in and apply workaround
16878 Work around pygobject's current inability to produce a GStrv object
16880 string array by explicitly producing a GStrV object, and reactivate
16883 https://bugzilla.gnome.org/show_bug.cgi?id=666636
16885 tests/test_everything.py | 24 +++++++++++++-----------
16886 1 file changed, 13 insertions(+), 11 deletions(-)
16888 commit 8ee21619b3cfc179cf114813478470d9aa3f6fb8
16889 Author: Martin Pitt <martinpitt@gnome.org>
16890 Date: Mon Apr 23 12:33:09 2012 +0200
16892 Add special case for Gdk.Atom array entries from Python
16894 Gdk.Atom pretends to be a struct pointer, but is really just an
16896 into a pointer. So we must not dereference it directly, nor free
16898 instead just copy the pointer value.
16900 Also add a few other test cases for "single Atom return", "single
16902 in", and Atom GList return", which already work fine.
16904 https://bugzilla.gnome.org/show_bug.cgi?id=661709
16906 gi/pygi-marshal-from-py.c | 18 ++++++++++++++----
16907 tests/Makefile.am | 1 +
16908 tests/test_atoms.py | 41 +++++++++++++++++++++++++++++++++++++++++
16909 3 files changed, 56 insertions(+), 4 deletions(-)
16911 commit b9f24b4fbc2ca9f9b94b86f029c59b2fc3e8590f
16912 Author: Martin Pitt <martinpitt@gnome.org>
16913 Date: Mon Apr 23 20:09:43 2012 +0200
16915 test_gdbus: Call GetConnectionUnixProcessID() with correct signature
16917 https://bugzilla.gnome.org/show_bug.cgi?id=667954
16919 tests/test_gdbus.py | 2 +-
16920 1 file changed, 1 insertion(+), 1 deletion(-)
16922 commit 3ae38d7519524288a57e5d522954b9d6725f0185
16923 Author: Martin Pitt <martinpitt@gnome.org>
16924 Date: Mon Apr 23 18:47:34 2012 +0200
16926 Add test case for Gtk.ListStore custom sort
16928 This works in Python 2, but crashes in Python 3, another case of
16930 we get when C calls a Python callback in Python 3.
16932 https://bugzilla.gnome.org/show_bug.cgi?id=674475
16934 tests/test_overrides.py | 31 +++++++++++++++++++++++++++++++
16935 1 file changed, 31 insertions(+)
16937 commit c12b10ca0feaaf61f23354c7b6631a9ef3635c36
16938 Author: Martin Pitt <martinpitt@gnome.org>
16939 Date: Mon Apr 23 17:40:23 2012 +0200
16941 GTK overrides: Add missing keyword arguments
16943 Add missing **kwargs to overridden __init__() constructors, to
16945 arbitrary widget properties.
16947 https://bugzilla.gnome.org/show_bug.cgi?id=660018
16949 gi/overrides/Gtk.py | 34 ++++++++++++++++++----------------
16950 tests/test_overrides.py | 6 ++++++
16951 2 files changed, 24 insertions(+), 16 deletions(-)
16953 commit d37680bb9390426f7f58ea3d352c3e5e2106e978
16954 Author: Martin Pitt <martinpitt@gnome.org>
16955 Date: Mon Apr 23 15:24:04 2012 +0200
16957 Add missing override for TreeModel.iter_previous()
16959 This should behave like the override for TreeModel.iter_next().
16961 https://bugzilla.gnome.org/show_bug.cgi?id=660018
16963 gi/overrides/Gtk.py | 6 ++++++
16964 tests/test_overrides.py | 4 ++++
16965 2 files changed, 10 insertions(+)
16967 commit e03284f852f0e404cc91374f3e2e42b0ac1977b4
16968 Author: Martin Pitt <martinpitt@gnome.org>
16969 Date: Sun Apr 22 16:45:06 2012 +0200
16971 pygi-convert.py: Drop obsolete drag method conversions
16973 Drop conversion of drag_source_unset() and drag_dest_{,un}set(). These
16975 fixed a while ago to be proper Widget methods again.
16977 https://bugzilla.gnome.org/show_bug.cgi?id=652860
16979 pygi-convert.sh | 3 ---
16980 1 file changed, 3 deletions(-)
16982 commit f82eca6006dec21624796074af8ffe9b2256f7a4
16983 Author: Martin Pitt <martinpitt@gnome.org>
16984 Date: Sat Apr 21 14:00:50 2012 +0200
16986 tests: Replace deprecated assertEquals() with assertEqual()
16988 tests/test_everything.py | 144 ++++++-------
16989 tests/test_gi.py | 502
16990 +++++++++++++++++++++++-----------------------
16991 tests/test_gobject.py | 58 +++---
16992 tests/test_option.py | 6 +-
16993 tests/test_overrides.py | 352 ++++++++++++++++----------------
16994 tests/test_properties.py | 18 +-
16995 tests/test_pygtkcompat.py | 42 ++--
16996 7 files changed, 561 insertions(+), 561 deletions(-)
16998 commit ddb0bf01e694585d58af52673a21796e7c9578ea
16999 Author: Paolo Borelli <pborelli@gnome.org>
17000 Date: Sat Apr 21 12:02:54 2012 +0200
17002 Plug tiny leak in constant_info_get_value
17004 Fixes https://bugzilla.gnome.org/show_bug.cgi?id=642754
17006 gi/pygi-info.c | 1 +
17007 1 file changed, 1 insertion(+)
17009 commit 9c48a561c5ee010410df7d6e430353b41d5fbd88
17010 Author: Bastian Winkler <buz@netbuz.org>
17011 Date: Thu Apr 12 20:30:05 2012 +0200
17013 Fix len_arg_index for array arguments
17015 Don't set len_arg_index for arrays without the length annotation
17017 This fixes methods like Clutter.Texture.set_from_rgb_data() and
17018 Clutter.Image.set_data()
17020 https://bugzilla.gnome.org/show_bug.cgi?id=674271
17022 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
17024 gi/pygi-cache.c | 4 +++-
17025 gi/pygi-marshal-cleanup.c | 4 ++--
17026 tests/test_gi.py | 3 +++
17027 3 files changed, 8 insertions(+), 3 deletions(-)
17029 commit 71246ca0568bf3e9b81e88dd13b6d29e9417e313
17030 Author: Martin Pitt <martinpitt@gnome.org>
17031 Date: Thu Apr 19 13:11:56 2012 +0200
17033 Support defining GType properties from Python
17035 Commit 84e3471 fixed the handling of GType properties for properties
17037 defined in the C library already. Add the missing support for
17039 properties in Python as well.
17041 https://bugzilla.gnome.org/show_bug.cgi?id=674351
17043 gi/_gobject/gobjectmodule.c | 5 ++++-
17044 gi/_gobject/propertyhelper.py | 9 ++++++---
17045 tests/test_properties.py | 42
17046 +++++++++++++++++++++++++++++++++++++++---
17047 3 files changed, 49 insertions(+), 7 deletions(-)
17049 commit 2158ecd05a2770d6538bae67d01d1f718855a7d4
17050 Author: Martin Pitt <martinpitt@gnome.org>
17051 Date: Thu Apr 19 16:12:29 2012 +0200
17053 Fix typo in previous commit
17055 In the test case, actually assign the newly created object, so that
17057 properties of the right object.
17059 tests/test_everything.py | 2 +-
17060 1 file changed, 1 insertion(+), 1 deletion(-)
17062 commit 84e3471ba4595534cbe6875f1c8b77776e1d1814
17063 Author: Bastian Winkler <buz@netbuz.org>
17064 Date: Wed Apr 18 21:44:08 2012 +0200
17066 Handle GType properties correctly
17068 Fix conversion from/to properties of type G_TYPE_GTYPE
17070 https://bugzilla.gnome.org/show_bug.cgi?id=674351
17072 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
17074 gi/_gobject/pygtype.c | 9 +++++++--
17075 tests/test_everything.py | 15 +++++++++++++++
17076 2 files changed, 22 insertions(+), 2 deletions(-)
17078 commit d1362451e070e156d2f49c9cde930cc38befb12b
17079 Author: Martin Pitt <martinpitt@gnome.org>
17080 Date: Thu Apr 19 07:27:10 2012 +0200
17082 Add missing GObject.TYPE_GTYPE
17084 gi/_gobject/__init__.py | 1 +
17085 gi/_gobject/constants.py | 1 +
17086 2 files changed, 2 insertions(+)
17088 commit d3225f1540e09719caa73e52d402e946da3add24
17089 Author: Martin Pitt <martinpitt@gnome.org>
17090 Date: Tue Apr 10 12:44:00 2012 +0200
17092 Fix test_mainloop.py for Python 3
17094 tests/test_mainloop.py | 9 +++++++--
17095 1 file changed, 7 insertions(+), 2 deletions(-)
17097 commit 903283119896f3e054694484da4147788b02ce60
17098 Author: Martin Pitt <martinpitt@gnome.org>
17099 Date: Mon Apr 9 15:20:39 2012 +0200
17101 Make callback exception propagation test stricter
17103 Propagating Python exceptions from callbacks through the C context
17105 original caller does not currently happen, is nontrivial/unsafe
17107 and not desirable at this point any more as by now we have established
17109 current behaviour. So remove the catching of ZeroDivisionError in
17112 https://bugzilla.gnome.org/show_bug.cgi?id=616279
17114 tests/test_everything.py | 16 ++++++++--------
17115 1 file changed, 8 insertions(+), 8 deletions(-)
17117 commit 0fd900d351c8d7d57dc6a1b049ee05f342f6ab1d
17118 Author: Simon Feltman <s.feltman@gmail.com>
17119 Date: Sun Mar 18 15:59:58 2012 -0700
17121 Add context management to freeze_notify() and handler_block().
17123 These methods now return a context manager object. Within the
17125 thaw_notify() and handler_unblock() are called respectively. This
17127 statements like the following:
17129 with obj.freeze_notify():
17130 obj.props.width = 100
17131 obj.props.height = 100
17132 obj.props.opacity = 0.5
17134 This does not affect standard usage of these methods.
17136 https://bugzilla.gnome.org/show_bug.cgi?id=672324
17138 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
17140 gi/_gobject/pygobject.c | 138 +++++++++++++++++++++++++++++++++++++++---
17141 tests/test_gobject.py | 158
17142 ++++++++++++++++++++++++++++++++++++++++++++++++
17143 2 files changed, 288 insertions(+), 8 deletions(-)
17145 commit c0922589964c1d8bffe5a56d2f56df96eedfac10
17146 Author: Martin Pitt <martinpitt@gnome.org>
17147 Date: Wed Apr 4 19:08:54 2012 +0200
17149 Add support for GFlags properties
17151 https://bugzilla.gnome.org/show_bug.cgi?id=620943
17153 gi/_gobject/propertyhelper.py | 9 +++++++--
17154 tests/test_properties.py | 28 +++++++++++++++++++++++++++-
17155 2 files changed, 34 insertions(+), 3 deletions(-)
17157 commit d4054be9de3b7e4ed64c8172ebbde0a697462c79
17158 Author: Martin Pitt <martinpitt@gnome.org>
17159 Date: Wed Apr 4 17:54:52 2012 +0200
17161 Wrap GLib.Source.is_destroyed() method
17163 Based on original patch from Bryan Silverthorn.
17165 https://bugzilla.gnome.org/show_bug.cgi?id=524719
17167 gi/_glib/pygsource.c | 15 +++++++++++++++
17168 tests/test_source.py | 24 ++++++++++++++++++++++++
17169 2 files changed, 39 insertions(+)
17171 commit 05030a95a4d3090162ed5f510a26d69bbb152942
17172 Author: Martin Pitt <martinpitt@gnome.org>
17173 Date: Wed Apr 4 15:59:24 2012 +0200
17175 Fix error message when trying to override a non-GI class
17177 Based on original patch by Juanje Ojeda <jojeda@emergya.es>.
17179 https://bugzilla.gnome.org/show_bug.cgi?id=646667
17181 gi/overrides/__init__.py | 7 ++++---
17182 tests/test_overrides.py | 13 +++++++++++++
17183 2 files changed, 17 insertions(+), 3 deletions(-)
17185 commit 96f14989baea76fe8692f10c1a37e2dfc45fecbf
17186 Author: Steve Frécinaux <code@istique.net>
17187 Date: Wed Apr 4 15:30:55 2012 +0200
17189 Fix segfault when accessing __grefcount__ before creating the GObject
17191 When creating a new instance using Type() and trying to access
17192 __grefcount__ before calling the subclass's __init__ function, there
17193 used to be a segmentation fault because we were trying to access the
17194 not yet created object. Now raise a proper exception instead.
17196 https://bugzilla.gnome.org/show_bug.cgi?id=640434
17198 Co-authored-by: Martin Pitt <martinpitt@gnome.org>
17200 gi/_gobject/pygobject.c | 4 ++++
17201 tests/test_gobject.py | 11 +++++++++++
17202 2 files changed, 15 insertions(+)
17204 commit 24cc09a7105299805fcc5bc151f53ac69958d728
17205 Author: Steve Frécinaux <code@istique.net>
17206 Date: Wed Feb 9 18:37:33 2011 +0100
17208 Do not bind gobject_get_data() and gobject_set_data()
17210 They will basically cause a crash if misused, and you can always use a
17211 python member attribute instead.
17213 https://bugzilla.gnome.org/show_bug.cgi?id=641944
17215 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
17217 gi/_gobject/pygobject.c | 40 ----------------------------------------
17218 1 file changed, 40 deletions(-)
17220 commit 2a5a33a9c9c170830c98c2e32fa8dcea3c35f2e6
17221 Author: Martin Pitt <martinpitt@gnome.org>
17222 Date: Tue Apr 3 22:26:34 2012 +0200
17224 Add test case for multiple GLib.MainLoop instances
17226 Commit 832f16f9 fixed a lockup with multiple GLib.MainLoops. Add
17230 https://bugzilla.gnome.org/show_bug.cgi?id=663068
17232 tests/test_mainloop.py | 25 ++++++++++++++++++++++++-
17233 1 file changed, 24 insertions(+), 1 deletion(-)
17235 commit d03696c1aaa7e66f8f16554cf4a4b97addb5aea1
17236 Author: John (J5) Palmieri <johnp@redhat.com>
17237 Date: Tue Feb 21 15:13:42 2012 +0100
17239 Add a ccallback type which is used to invoke callbacks passed to
17242 Used when overriding methods like gtk_container_forall wich pass in a
17243 callback that needs to be executed on internal children:
17244 def do_forall(self, callback, userdata):
17245 callback(self.custom_child, userdata)
17247 https://bugzilla.gnome.org/show_bug.cgi?id=644926
17249 Co-authored-by: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
17250 Co-authored-by: Simon Schampijer <simon@laptop.org>
17252 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
17254 gi/Makefile.am | 2 +
17255 gi/gimodule.c | 1 +
17256 gi/module.py | 5 +++
17257 gi/pygi-argument.c | 12 +----
17258 gi/pygi-cache.c | 28 ++++++++++--
17259 gi/pygi-cache.h | 9 ++--
17260 gi/pygi-ccallback.c | 100
17261 ++++++++++++++++++++++++++++++++++++++++++
17262 gi/pygi-ccallback.h | 41 +++++++++++++++++
17263 gi/pygi-closure.c | 50 ++++++++++++++++++++-
17264 gi/pygi-invoke-state-struct.h | 2 +
17265 gi/pygi-invoke.c | 73 ++++++++++++++++++++----------
17266 gi/pygi-invoke.h | 3 ++
17267 gi/pygi-private.h | 1 +
17268 gi/pygi.h | 10 +++++
17269 tests/test_gi.py | 16 +++++++
17270 15 files changed, 312 insertions(+), 41 deletions(-)
17272 commit db7e1d078db16b6f11dee51aa97525c451346632
17273 Author: Alberto Mardegan <alberto.mardegan@canonical.com>
17274 Date: Tue Mar 27 17:34:48 2012 +0200
17276 Regression test: marshalling GValues in GHashTable
17278 https://bugzilla.gnome.org/show_bug.cgi?id=668903
17280 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
17282 tests/test_everything.py | 19 +++++++++++++++++++
17283 1 file changed, 19 insertions(+)
17285 commit 7c0017c30129a8db391f902ed592782200d69c64
17286 Author: Martin Pitt <martin.pitt@ubuntu.com>
17287 Date: Mon Mar 26 17:55:41 2012 +0200
17289 Bump version to 3.3.1
17291 3.2.x is built from the pygobject-3-2 branch now, and 3.2.0 is
17293 continue with 3.3.x on master.
17295 configure.ac | 4 ++--
17296 1 file changed, 2 insertions(+), 2 deletions(-)
17298 commit 8309f305e5ce508fc5f6411c8153bea2cee5f741
17299 Author: Martin Pitt <martin.pitt@ubuntu.com>
17300 Date: Mon Mar 26 17:51:37 2012 +0200
17304 - Ignore *.o, backup files, and generated Makefiles in all
17306 - Ignore *.pyc files.
17307 - Do not ignore .gitignore, we actually want to track this.
17310 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
17311 1 file changed, 61 insertions(+)
17313 commit 81de788a72b40acd2f857718d78bdeea01d12eb1
17314 Author: Martin Pitt <martin.pitt@ubuntu.com>
17315 Date: Mon Mar 26 17:45:08 2012 +0200
17317 Fix "distcheck" and tests with out-of-tree builds
17319 - Symlink *.py files from srcdir into builddir during build, as
17321 accept the extensions and modules in different paths.
17322 - "make clean" should remove *.pyc files
17323 - tests/runtests.py: Look for tests in srcdir, not in builddir
17325 Makefile.am | 6 ++++--
17326 gi/Makefile.am | 13 +++++++++++--
17327 gi/_glib/Makefile.am | 12 ++++++++++--
17328 gi/_gobject/Makefile.am | 12 ++++++++++--
17329 gi/overrides/Makefile.am | 10 ++++++++++
17330 gi/repository/Makefile.am | 11 +++++++++++
17331 tests/runtests.py | 6 ++++--
17332 7 files changed, 60 insertions(+), 10 deletions(-)
17334 commit f83d95e6fff572bda659a48e309b4524dafa4e83
17335 Author: Johan Dahlin <johan@gnome.org>
17336 Date: Thu Mar 22 11:14:03 2012 -0300
17338 Add a pep8 check to the makefile
17340 Also reorganize the pyflakes check, since target dependencies do not
17341 take the exit status of the shell command into account.
17343 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17345 tests/Makefile.am | 9 ++++-----
17346 1 file changed, 4 insertions(+), 5 deletions(-)
17348 commit d1f5474c6c50163aefe660e0689dc7f30e6cd48b
17349 Author: Johan Dahlin <johan@gnome.org>
17350 Date: Thu Mar 22 10:56:59 2012 -0300
17352 PEP8: Remaining whitespace fixes
17354 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17356 demos/gtk-demo/demos/Icon View/iconviewedit.py | 7 +++----
17357 demos/gtk-demo/demos/Tree View/liststore.py | 28
17358 +++++++++++++-------------
17359 demos/gtk-demo/demos/appwindow.py | 10 ++++-----
17360 demos/gtk-demo/demos/rotatedtext.py | 2 +-
17361 examples/cairo-demo.py | 4 ++--
17362 tests/test_gi.py | 12 +++++------
17363 tests/test_overrides.py | 2 +-
17364 7 files changed, 32 insertions(+), 33 deletions(-)
17366 commit 032fcce2bf6070a9001cbb780e90403051e303b1
17367 Author: Johan Dahlin <johan@gnome.org>
17368 Date: Thu Mar 22 10:56:03 2012 -0300
17370 PEP8: Add spaces before #
17372 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17374 demos/gtk-demo/demos/drawingarea.py | 6 +++---
17375 demos/gtk-demo/demos/images.py | 10 +++++-----
17376 demos/gtk-demo/demos/rotatedtext.py | 2 +-
17377 gi/__init__.py | 2 +-
17378 gi/_glib/option.py | 2 +-
17379 gi/_gobject/__init__.py | 2 +-
17380 gi/overrides/GLib.py | 12 ++++++------
17381 gi/types.py | 4 ++--
17382 tests/runtests.py | 2 +-
17383 tests/test_gdbus.py | 4 ++--
17384 10 files changed, 23 insertions(+), 23 deletions(-)
17386 commit 6a58edbf11c612e9a14347b1556d1e0dd2ec1823
17387 Author: Johan Dahlin <johan@gnome.org>
17388 Date: Thu Mar 22 10:52:05 2012 -0300
17390 PEP8: Add missing whitespace after : and ,
17392 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17394 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
17395 demos/gtk-demo/demos/appwindow.py | 2 +-
17396 tests/test_everything.py | 23 +++++++++--------------
17397 tests/test_gi.py | 2 +-
17398 tests/test_overrides.py | 2 +-
17399 5 files changed, 13 insertions(+), 18 deletions(-)
17401 commit a8d361e66b2a0e09cfa5dbade4725074b0cc2fd1
17402 Author: Johan Dahlin <johan@gnome.org>
17403 Date: Thu Mar 22 10:49:52 2012 -0300
17405 PEP8: Remove too whitespace before }
17407 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17409 tests/test_overrides.py | 2 +-
17410 1 file changed, 1 insertion(+), 1 deletion(-)
17412 commit 2b8eb9fa5b9ca454d7130b3eec15a982fee1bdc9
17413 Author: Johan Dahlin <johan@gnome.org>
17414 Date: Thu Mar 22 10:49:27 2012 -0300
17416 PEP8: Remove too many blank lines
17418 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17420 demos/gtk-demo/demos/rotatedtext.py | 1 -
17421 tests/test_overrides.py | 1 -
17422 2 files changed, 2 deletions(-)
17424 commit 03e597cb8f3b075efae556ee51a598695a883ad3
17425 Author: Johan Dahlin <johan@gnome.org>
17426 Date: Thu Mar 22 10:48:59 2012 -0300
17428 PEP8: Fix whitespace around operators
17430 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17432 demos/gtk-demo/demos/images.py | 2 +-
17433 examples/cairo-demo.py | 8 ++++----
17434 tests/test_gi.py | 4 ++--
17435 tests/test_overrides.py | 8 ++++----
17436 tests/test_properties.py | 14 +++++++-------
17437 tests/test_signal.py | 2 +-
17438 6 files changed, 19 insertions(+), 19 deletions(-)
17440 commit 21aeb19107b718293116e51ecd6479d4d7198b8f
17441 Author: Johan Dahlin <johan@gnome.org>
17442 Date: Thu Mar 22 10:46:17 2012 -0300
17444 PEP8: Remove whitespace before (
17446 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17448 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
17449 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
17450 demos/gtk-demo/demos/Entry/search_entry.py | 12 ++---
17451 demos/gtk-demo/demos/Icon View/iconviewedit.py | 4 +-
17452 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
17453 demos/gtk-demo/demos/dialogs.py | 12 ++---
17454 demos/gtk-demo/demos/pickers.py | 8 ++--
17455 demos/gtk-demo/demos/pixbuf.py | 4 +-
17456 demos/gtk-demo/demos/printing.py | 8 ++--
17457 demos/gtk-demo/demos/rotatedtext.py | 2 +-
17458 demos/gtk-demo/gtk-demo.py | 4 +-
17459 gi/module.py | 4 +-
17460 gi/overrides/Pango.py | 2 +-
17461 gi/pygtkcompat.py | 4 +-
17462 tests/test_everything.py | 4 +-
17463 tests/test_overrides.py | 62
17464 +++++++++++++-------------
17465 16 files changed, 68 insertions(+), 68 deletions(-)
17467 commit b04d209930ab01bae6563b0d714aec829739bdc6
17468 Author: Johan Dahlin <johan@gnome.org>
17469 Date: Thu Mar 22 10:40:46 2012 -0300
17471 PEP8: Remove whitespace around {}
17473 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17475 tests/test_signal.py | 20 ++++++++++----------
17476 1 file changed, 10 insertions(+), 10 deletions(-)
17478 commit 725483a5dc36739dc7836716b5d6d48091564bf8
17479 Author: Johan Dahlin <johan@gnome.org>
17480 Date: Thu Mar 22 10:38:59 2012 -0300
17482 PEP8: run via --fix from craigds fork
17484 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17486 demos/gtk-demo/demos/Entry/entry_buffer.py | 1 +
17487 demos/gtk-demo/demos/Entry/entry_completion.py | 1 +
17488 demos/gtk-demo/demos/Entry/search_entry.py | 3 +-
17489 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 1 +
17490 demos/gtk-demo/demos/Icon View/iconviewedit.py | 2 +
17491 demos/gtk-demo/demos/Tree View/liststore.py | 3 ++
17492 demos/gtk-demo/demos/appwindow.py | 13 +++++-
17493 demos/gtk-demo/demos/assistant.py | 1 +
17494 demos/gtk-demo/demos/builder.py | 1 +
17495 demos/gtk-demo/demos/button_box.py | 1 +
17496 demos/gtk-demo/demos/clipboard.py | 2 +-
17497 demos/gtk-demo/demos/colorselector.py | 1 +
17498 demos/gtk-demo/demos/combobox.py | 4 +-
17499 demos/gtk-demo/demos/dialogs.py | 2 +
17500 demos/gtk-demo/demos/drawingarea.py | 1 +
17501 demos/gtk-demo/demos/expander.py | 4 +-
17502 demos/gtk-demo/demos/images.py | 10 +++--
17503 demos/gtk-demo/demos/infobars.py | 2 +
17504 demos/gtk-demo/demos/links.py | 2 +
17505 demos/gtk-demo/demos/menus.py | 2 +
17506 demos/gtk-demo/demos/pickers.py | 2 +
17507 demos/gtk-demo/demos/pixbuf.py | 2 +
17508 demos/gtk-demo/demos/printing.py | 5 ++-
17509 demos/gtk-demo/demos/rotatedtext.py | 4 +-
17510 demos/gtk-demo/demos/test.py | 1 +
17511 demos/gtk-demo/gtk-demo.py | 9 ++--
17512 examples/cairo-demo.py | 57
17513 ++++++++++++++----------
17514 examples/option.py | 1 -
17515 examples/properties.py | 1 +
17516 examples/signal.py | 4 ++
17517 gi/__init__.py | 2 +
17518 gi/_glib/option.py | 4 +-
17519 gi/_gobject/__init__.py | 1 +
17520 gi/_gobject/propertyhelper.py | 5 ++-
17521 gi/module.py | 3 ++
17522 gi/overrides/GIMarshallingTests.py | 2 +
17523 gi/overrides/GLib.py | 12 +++--
17524 gi/overrides/Gdk.py | 9 ++++
17525 gi/overrides/Gio.py | 4 ++
17526 gi/overrides/Gtk.py | 56
17527 ++++++++++++++++++++---
17528 gi/overrides/Pango.py | 2 +
17529 gi/overrides/__init__.py | 5 ++-
17530 gi/pygtkcompat.py | 16 +++++--
17532 tests/test_everything.py | 30 +++++++++----
17533 tests/test_gdbus.py | 1 +
17534 tests/test_gi.py | 30 +++++++------
17535 tests/test_gobject.py | 3 +-
17536 tests/test_mainloop.py | 1 +
17537 tests/test_option.py | 1 +
17538 tests/test_overrides.py | 55
17539 ++++++++++++-----------
17540 tests/test_properties.py | 11 ++++-
17541 tests/test_signal.py | 32 ++++++++++++-
17542 tests/test_source.py | 1 +
17543 tests/test_subprocess.py | 1 +
17544 tests/test_thread.py | 1 +
17545 tests/test_uris.py | 1 +
17546 tests/testmodule.py | 1 +
17547 58 files changed, 326 insertions(+), 111 deletions(-)
17549 commit 917275d4aa81db39ccaca34fa514032fb80a3187
17550 Author: Johan Dahlin <johan@gnome.org>
17551 Date: Thu Mar 22 10:33:29 2012 -0300
17553 PEP8: Remove spaces around = for keyword arguments
17555 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17557 demos/gtk-demo/demos/appwindow.py | 8 ++++----
17558 demos/gtk-demo/demos/colorselector.py | 4 ++--
17559 demos/gtk-demo/gtk-demo.py | 24 ++++++++++++------------
17560 examples/option.py | 4 ++--
17561 gi/_glib/option.py | 2 +-
17562 gi/overrides/Gtk.py | 2 +-
17563 tests/test_gi.py | 26 +++++++++++++-------------
17564 tests/test_option.py | 2 +-
17565 tests/test_overrides.py | 8 ++++----
17566 9 files changed, 40 insertions(+), 40 deletions(-)
17568 commit 0c85656f95d3cb31becff10bbee7faae7b0b875b
17569 Author: Johan Dahlin <johan@gnome.org>
17570 Date: Thu Mar 22 10:28:28 2012 -0300
17572 PEP8: Remove trailing ;
17574 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17576 demos/gtk-demo/demos/appwindow.py | 4 ++--
17577 demos/gtk-demo/demos/dialogs.py | 30 +++++++++++++++---------------
17578 demos/gtk-demo/demos/links.py | 2 +-
17579 demos/gtk-demo/demos/pixbuf.py | 2 +-
17580 demos/gtk-demo/demos/printing.py | 8 ++++----
17581 gi/overrides/Gtk.py | 4 ++--
17582 tests/test_everything.py | 22 +++++++++++-----------
17583 tests/test_gi.py | 2 +-
17584 tests/test_overrides.py | 8 ++++----
17585 9 files changed, 41 insertions(+), 41 deletions(-)
17587 commit 32cc594ab6dfbd4843f3db5ec8338d31ad5df6c6
17588 Author: Johan Dahlin <johan@gnome.org>
17589 Date: Thu Mar 22 10:24:40 2012 -0300
17591 Remove all tabs and fix indentation
17593 By running the whole source tree via the indent.py script found
17594 in the Python distribution.
17596 demos/gtk-demo/demos/Entry/search_entry.py | 4 +-
17597 demos/gtk-demo/demos/Icon View/iconviewedit.py | 41 +++----
17598 demos/gtk-demo/demos/Tree View/liststore.py | 8 +-
17599 demos/gtk-demo/demos/appwindow.py | 18 +--
17600 demos/gtk-demo/demos/dialogs.py | 26 ++---
17601 demos/gtk-demo/demos/expander.py | 6 +-
17602 demos/gtk-demo/demos/images.py | 2 +-
17603 demos/gtk-demo/demos/links.py | 2 +-
17604 demos/gtk-demo/demos/rotatedtext.py | 20 ++--
17605 gi/_glib/option.py | 2 +-
17606 gi/_gobject/constants.py | 1 -
17607 gi/importer.py | 1 -
17608 gi/module.py | 10 +-
17609 gi/overrides/GLib.py | 11 +-
17610 gi/overrides/Gdk.py | 30 ++---
17611 gi/overrides/Gio.py | 4 +-
17612 gi/overrides/Gtk.py | 150
17613 ++++++++++++-------------
17614 gi/overrides/Pango.py | 1 -
17615 gi/overrides/__init__.py | 10 +-
17616 gi/pygtkcompat.py | 2 +-
17617 tests/compathelper.py | 2 +-
17618 tests/runtests.py | 19 ++--
17619 tests/test_everything.py | 22 ++--
17620 tests/test_gdbus.py | 11 +-
17621 tests/test_gi.py | 38 +++----
17622 tests/test_gobject.py | 2 +-
17623 tests/test_interface.py | 1 -
17624 tests/test_option.py | 1 -
17625 tests/test_overrides.py | 78 ++++++-------
17626 tests/test_properties.py | 2 +-
17627 tests/test_uris.py | 1 -
17628 31 files changed, 255 insertions(+), 271 deletions(-)
17630 commit c375e3136f0f48eb8a6717c0053155db088b329d
17631 Author: Martin Pitt <martin.pitt@ubuntu.com>
17632 Date: Thu Mar 22 10:32:43 2012 +0100
17634 tests: Replace deprecated Python API
17636 failIf → assertFalse, failUnless → assertTrue
17638 Caught by the previous commit of making deprecations fatal.
17640 tests/test_option.py | 10 +++----
17641 tests/test_overrides.py | 66
17642 +++++++++++++++++++++++------------------------
17643 tests/test_properties.py | 14 +++++-----
17644 tests/test_pygtkcompat.py | 18 ++++++-------
17645 tests/test_signal.py | 4 +--
17646 5 files changed, 56 insertions(+), 56 deletions(-)
17648 commit 32525e565cc48454cdacbc44ad3fd751b81cb7e3
17649 Author: Martin Pitt <martin.pitt@ubuntu.com>
17650 Date: Thu Mar 22 10:31:22 2012 +0100
17652 Fail tests if they use or encounter deprecations
17654 tests/Makefile.am | 2 +-
17655 1 file changed, 1 insertion(+), 1 deletion(-)
17657 commit 65762243a34af014950527c323a51a29d40fb3e1
17658 Author: Martin Pitt <martin.pitt@ubuntu.com>
17659 Date: Thu Mar 22 10:15:16 2012 +0100
17661 Do not run tests in two phases any more
17663 As we dropped the static bindings a while ago, there is no need any
17665 the tests in two phases (static/GI). Now just run them all in one go,
17666 simplifying tests/Makefile.am.
17668 As this changes the order of the tests, defining $GSETTINGS_SCHEMA_DIR
17670 needs to happen even further, so move it from tests/test_overrides.py
17674 tests/Makefile.am | 33 ++++++++++++---------------------
17675 tests/runtests.py | 7 +++++++
17676 tests/test_overrides.py | 6 ------
17677 3 files changed, 19 insertions(+), 27 deletions(-)
17679 commit 3b4ae83a0ece8e3aed1de5452e2acd32841e629a
17680 Author: Martin Pitt <martin.pitt@ubuntu.com>
17681 Date: Thu Mar 22 09:58:21 2012 +0100
17683 test_overrides: Find local gsettings schema with current glib
17685 With current glib, gsettings now fails to find the gschemas.compiled
17687 tests. Move the setting of $GSETTINGS_SCHEMA_DIR before the module
17689 which makes this work again.
17691 tests/test_overrides.py | 9 +++++----
17692 1 file changed, 5 insertions(+), 4 deletions(-)
17694 commit 927f7877ffa5e16c4cabcecbc05656ee0ec6a167
17695 Author: Paolo Borelli <pborelli@gnome.org>
17696 Date: Wed Mar 21 21:09:24 2012 +0100
17698 Add GtkComboBoxEntry compatibility
17700 This widget has been removed in Gtk+ 3, add a small wrapper to the
17701 compat module to make at least basic pygtk programs that use it work.
17703 https://bugzilla.gnome.org/show_bug.cgi?id=672589
17705 gi/pygtkcompat.py | 19 +++++++++++++++++++
17706 tests/test_pygtkcompat.py | 22 ++++++++++++++++++++++
17707 2 files changed, 41 insertions(+)
17709 commit b322d6a1f6d44bace4eefb98558cfe94a73a727c
17710 Author: Johan Dahlin <johan@gnome.org>
17711 Date: Wed Mar 21 16:01:35 2012 -0300
17713 Correct review comments from Martin
17715 https://bugzilla.gnome.org/show_bug.cgi?id=672578
17717 tests/test_everything.py | 4 ++--
17718 tests/test_pygtkcompat.py | 18 ++++++++++++++++++
17719 2 files changed, 20 insertions(+), 2 deletions(-)
17721 commit c8bc6ae10cfe8b2eff4204ec2175907a6eb0585a
17722 Author: Johan Dahlin <johan@gnome.org>
17723 Date: Wed Mar 21 14:45:53 2012 -0300
17725 Correct pyflakes warnings/errors
17727 And add a target to make check that runs pyflakes.
17729 https://bugzilla.gnome.org/show_bug.cgi?id=672578
17731 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
17732 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
17733 demos/gtk-demo/demos/Entry/search_entry.py | 12 +-
17734 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 2 +-
17735 demos/gtk-demo/demos/Icon View/iconviewedit.py | 2 +-
17736 demos/gtk-demo/demos/Tree View/liststore.py | 3 +-
17737 demos/gtk-demo/demos/appwindow.py | 13 +-
17738 demos/gtk-demo/demos/assistant.py | 4 +-
17739 demos/gtk-demo/demos/builder.py | 4 +-
17740 demos/gtk-demo/demos/button_box.py | 2 +-
17741 demos/gtk-demo/demos/clipboard.py | 2 +-
17742 demos/gtk-demo/demos/colorselector.py | 2 +-
17743 demos/gtk-demo/demos/combobox.py | 4 +-
17744 demos/gtk-demo/demos/dialogs.py | 4 +-
17745 demos/gtk-demo/demos/drawingarea.py | 2 +-
17746 demos/gtk-demo/demos/expander.py | 4 +-
17747 demos/gtk-demo/demos/images.py | 8 +-
17748 demos/gtk-demo/demos/infobars.py | 2 +-
17749 demos/gtk-demo/demos/links.py | 2 +-
17750 demos/gtk-demo/demos/menus.py | 5 +-
17751 demos/gtk-demo/demos/pickers.py | 2 +-
17752 demos/gtk-demo/demos/pixbuf.py | 2 +-
17753 demos/gtk-demo/demos/printing.py | 3 +-
17754 demos/gtk-demo/demos/rotatedtext.py | 6 +-
17755 demos/gtk-demo/gtk-demo.py | 9 +-
17756 examples/cairo-demo.py | 2 +-
17757 gi/__init__.py | 4 +
17758 gi/_glib/__init__.py | 101 ++++++++++-
17759 gi/_glib/option.py | 1 +
17760 gi/_gobject/__init__.py | 203
17761 ++++++++++++++++++++---
17762 gi/_gobject/constants.py | 2 -
17763 gi/_gobject/propertyhelper.py | 4 +-
17764 gi/importer.py | 2 +-
17766 gi/overrides/Gtk.py | 1 -
17767 gi/overrides/__init__.py | 1 -
17768 gi/pygtkcompat.py | 2 +
17770 tests/Makefile.am | 5 +
17771 tests/test_everything.py | 6 +-
17772 tests/test_gi.py | 8 +-
17773 tests/test_option.py | 10 +-
17774 tests/test_overrides.py | 30 ++--
17775 tests/test_properties.py | 12 +-
17776 tests/test_pygtkcompat.py | 4 -
17777 tests/test_signal.py | 4 +-
17778 tests/test_source.py | 6 +-
17779 47 files changed, 377 insertions(+), 138 deletions(-)
17781 commit 39650906559fcc39b4be406fa7e25c4788d349a3
17782 Author: Martin Pitt <martin.pitt@ubuntu.com>
17783 Date: Wed Mar 21 16:59:33 2012 +0100
17785 Make tests fail on CRITICAL logs, too, and apply to all tests
17787 Instead of setting warnings/criticals to fatal in individual test
17789 it in runtests.py, so that it applies to all tests.
17791 We currently have some tests which are known to generate CRITICALs
17793 with FIXME), and some WARNINGs (as they test behaviour with known-bad
17795 For these, warnings/criticals are now explicitly permitted.
17797 tests/runtests.py | 1 +
17798 tests/test_gi.py | 7 ++++++-
17799 tests/test_overrides.py | 14 +++++++-------
17800 tests/test_properties.py | 36 +++++++++++++++++++++---------------
17801 4 files changed, 35 insertions(+), 23 deletions(-)
17803 commit efcb4b0b32c4dda06c3eeec83802fc0f302f0d27
17804 Author: Alberto Mardegan <alberto.mardegan@canonical.com>
17805 Date: Tue Mar 20 14:55:07 2012 +0400
17807 Support marshalling GI_TYPE_TAG_INTERFACE
17809 Marshalling of interfaces got broken with commit
17810 7746d2188ac4933c2c9011d84525d1e62fc18953.
17812 Also, do not abort on unsupported types, but log a critical failure
17816 https://bugzilla.gnome.org/show_bug.cgi?id=668903
17818 gi/pygi-marshal-from-py.c | 3 ++-
17819 gi/pygi-marshal-to-py.c | 3 ++-
17820 2 files changed, 4 insertions(+), 2 deletions(-)
17822 commit 8d85d6639778ec6364235071d272d67e7aae49ae
17823 Author: Martin Pitt <martin.pitt@ubuntu.com>
17824 Date: Wed Mar 21 14:34:36 2012 +0100
17826 Fix warnings on None values in added tree/list store rows
17828 Commit bf8c95836e1c changed the List/TreeStore overrides to use
17829 insert_with_valuesv(), but supplied all columns instead of just
17831 not None. With this, None values cause warnings like
17833 (runtests.py:12375): Gtk-WARNING **:
17834 /build/buildd/gtk+3.0-3.3.20/./gtk/gtkliststore.c:851: Unable to
17835 convert from (null) to gboolean
17837 Update the tests to make warnings fatal, to catch this better.
17839 Change _convert_row() to skip the None entries and return the list
17841 columns, and use the latter instead of a simple range(n_columns). This
17843 the behaviour before bf8c95836e1c, where columns with None values
17847 https://bugzilla.gnome.org/show_bug.cgi?id=672463
17849 gi/overrides/Gtk.py | 26 ++++++++++++++------------
17850 tests/test_overrides.py | 5 +++++
17851 2 files changed, 19 insertions(+), 12 deletions(-)
17853 commit 38aecc481741fd3a319a76a0ec8bf5329a483876
17854 Author: Martin Pitt <martin.pitt@ubuntu.com>
17855 Date: Wed Mar 21 15:21:02 2012 +0100
17857 pygtkcompat test: Properly clean up PixbufLoader
17859 Tests currently give
17861 (runtests.py:15072): GdkPixbuf-WARNING **: GdkPixbufLoader finalized
17862 without calling gdk_pixbuf_loader_close() - this is not allowed. You
17863 must explicitly end the data stream to the loader before dropping
17864 the last reference.
17866 Fix this by calling close().
17868 tests/test_pygtkcompat.py | 3 ++-
17869 1 file changed, 2 insertions(+), 1 deletion(-)
17871 commit 5e0e5e72a4436badd09f0aa07f62960afcdca8c6
17872 Author: Martin Pitt <martin.pitt@ubuntu.com>
17873 Date: Mon Mar 19 16:58:22 2012 +0100
17877 Use 3.1.93 for now, this will most likely become 3.2.0 as it is.
17879 configure.ac | 2 +-
17880 1 file changed, 1 insertion(+), 1 deletion(-)
17882 commit 88924e399d7ccf7af2e9a78720e0c508cd6080d8
17883 Author: Martin Pitt <martin.pitt@ubuntu.com>
17884 Date: Mon Mar 19 16:41:17 2012 +0100
17888 NEWS | 46 ++++++++++++++++++++++++++++++++++++++++++++++
17889 1 file changed, 46 insertions(+)
17891 commit b41e6139befb984c0b78bcefe2630ab1393b4b40
17892 Author: Martin Pitt <martin.pitt@ubuntu.com>
17893 Date: Mon Mar 19 16:14:54 2012 +0100
17895 README: Update current maintainers
17897 Also update Martin's email address.
17899 README | 10 ++++++----
17900 pygobject.doap | 2 +-
17901 2 files changed, 7 insertions(+), 5 deletions(-)
17903 commit 45e27ba7e447552057a2950fc768c63ff2e6612e
17904 Author: Martin Pitt <martin.pitt@ubuntu.com>
17905 Date: Mon Mar 19 16:11:22 2012 +0100
17907 Bump version to 3.1.92, in sync with GNOME
17909 configure.ac | 2 +-
17910 1 file changed, 1 insertion(+), 1 deletion(-)
17912 commit 77d358f8c5f524259249ea686899e3a4da05562e
17913 Author: Johan Dahlin <johan@gnome.org>
17914 Date: Mon Mar 19 11:54:07 2012 -0300
17916 Correct Gtk.TreePath.__iter__ to work with Python 3
17918 gi/overrides/Gtk.py | 2 +-
17919 1 file changed, 1 insertion(+), 1 deletion(-)
17921 commit 1f18bcb37bdc42368ad9a07c7f348f736c2f665d
17922 Author: Martin Pitt <martin.pitt@ubuntu.com>
17923 Date: Mon Mar 19 15:54:13 2012 +0100
17925 Fix pygtkcompat.py to work with Python 3
17927 gi/pygtkcompat.py | 20 +++++++++++++++-----
17928 1 file changed, 15 insertions(+), 5 deletions(-)
17930 commit 96a9f92da801989464fbcedf6d849819f6dbea64
17931 Author: Martin Pitt <martin.pitt@ubuntu.com>
17932 Date: Mon Mar 19 15:32:22 2012 +0100
17934 Fix test_everything.TestSignals.test_object_param_signal test case
17936 The callback gets two arguments, not one. This short-circuited
17938 assertions. Fix the arguments and update the refcount check, as it
17940 exactly two at the moment.
17942 tests/test_everything.py | 4 ++--
17943 1 file changed, 2 insertions(+), 2 deletions(-)
17945 commit ba00afb1e50759b2b321f16e05a15946053cdafa
17946 Author: Johan Dahlin <johan@gnome.org>
17947 Date: Mon Mar 19 10:58:09 2012 -0300
17949 pygtkcompat: Remove first argument for get_origin()
17951 gi/pygtkcompat.py | 5 +++++
17952 tests/test_pygtkcompat.py | 5 +++++
17953 2 files changed, 10 insertions(+)
17955 commit 65499246a862ce6a82bc3b0cc74fe8ff82dde687
17956 Author: Johan Dahlin <johan@gnome.org>
17957 Date: Fri Mar 16 16:08:44 2012 -0300
17959 GtkViewport: Add a default values for the adjustment constructor
17962 https://bugzilla.gnome.org/show_bug.cgi?id=672260
17964 gi/overrides/Gtk.py | 10 ++++++++++
17965 tests/test_overrides.py | 11 +++++++++++
17966 2 files changed, 21 insertions(+)
17968 commit 43c761d9f35252dcb58b9cf2278016d841eea4ec
17969 Author: Johan Dahlin <johan@gnome.org>
17970 Date: Fri Mar 16 16:08:23 2012 -0300
17972 GtkIconSet: Add a default value for the pixbuf constructor parameter
17974 https://bugzilla.gnome.org/show_bug.cgi?id=672260
17976 gi/overrides/Gtk.py | 11 +++++++++++
17977 tests/test_overrides.py | 6 ++++++
17978 2 files changed, 17 insertions(+)
17980 commit 116d3712251b1b8aa2d4f4a9e40e22f5b9fcbe4f
17981 Author: Johan Dahlin <johan@gnome.org>
17982 Date: Fri Mar 16 16:07:30 2012 -0300
17984 PangoLayout: Add a default value for set_markup()
17986 https://bugzilla.gnome.org/show_bug.cgi?id=672260
17988 gi/overrides/Pango.py | 3 +++
17989 tests/test_overrides.py | 4 ++++
17990 2 files changed, 7 insertions(+)
17992 commit a3ca47b086b7fcf084282be788c5d737dde847ac
17993 Author: Johan Dahlin <johan@gnome.org>
17994 Date: Fri Mar 16 16:06:37 2012 -0300
17996 Gtk[HV]Scrollbar: Add a default value for the adjustment constructor
17999 https://bugzilla.gnome.org/show_bug.cgi?id=672260
18001 gi/overrides/Gtk.py | 15 +++++++++++++++
18002 tests/test_overrides.py | 14 ++++++++++++++
18003 2 files changed, 29 insertions(+)
18005 commit 458dab08c78cb730dd95bcd67af20a0d73a3af2f
18006 Author: Johan Dahlin <johan@gnome.org>
18007 Date: Fri Mar 16 16:06:12 2012 -0300
18009 GtkToolButton: Add a default value for the stock_id constructor
18012 https://bugzilla.gnome.org/show_bug.cgi?id=672260
18014 gi/overrides/Gtk.py | 10 ++++++++++
18015 tests/test_overrides.py | 9 ++++++++-
18016 2 files changed, 18 insertions(+), 1 deletion(-)
18018 commit 2f7789a5a1f55ec38c5ff0f96bc5c9023679a333
18019 Author: Johan Dahlin <johan@gnome.org>
18020 Date: Fri Mar 16 16:05:55 2012 -0300
18022 GtkIconView: Add a default value for the model constructor parameter
18024 https://bugzilla.gnome.org/show_bug.cgi?id=672260
18026 gi/overrides/Gtk.py | 3 +++
18027 tests/test_overrides.py | 11 +++++++++++
18028 2 files changed, 14 insertions(+)
18030 commit 2dd9dadd1bd92c3324e9de209ba8205a9d4106d6
18031 Author: Johan Dahlin <johan@gnome.org>
18032 Date: Thu Mar 15 15:22:46 2012 -0300
18034 Add a default value for column in Gtk.TreeView.get_cell_area()
18036 https://bugzilla.gnome.org/show_bug.cgi?id=672260
18038 gi/overrides/Gtk.py | 5 +++++
18039 tests/test_overrides.py | 3 +++
18040 2 files changed, 8 insertions(+)
18042 commit bf8c95836e1cc1e1629937cbc69ea3027fb82746
18043 Author: Martin Pitt <martin.pitt@ubuntu.com>
18044 Date: Thu Mar 15 09:48:10 2012 +0100
18046 Atomic inserts in Gtk.{List,Tree}Store overrides
18048 Gtk.{List,Tree}Store's overrides provide append(), insert()
18050 take an optional data row array. If this is given, use
18051 insert_with_valuesv()
18052 instead of creating a new iter and then filling it with data. The
18054 row-added signal, at which time the row was still empty, and a
18056 row-changed signal. With this we only get a single row-added
18060 Note that this does not change insert_{before,after}(), as there is no
18061 counterpart of insert_with_valuesv() which takes a TreeIter instead
18063 position. For those you will still get two signals, and have to deal
18067 https://bugzilla.gnome.org/show_bug.cgi?id=671610
18069 gi/overrides/Gtk.py | 81
18070 ++++++++++++++++++++++++++++++-------------------
18071 tests/test_overrides.py | 74 ++++++++++++++++++++++++++++++++++++++++++++
18072 2 files changed, 124 insertions(+), 31 deletions(-)
18074 commit f7db4eaf8148f2dd8bf1718152a1dcae509470c7
18075 Author: Martin Pitt <martin.pitt@ubuntu.com>
18076 Date: Sun Mar 18 16:07:26 2012 +0100
18078 Fix Gtk.Button constructor to accept use_stock parameter
18080 Thanks to kalanzun@googlemail.com!
18082 https://bugzilla.gnome.org/show_bug.cgi?id=672318
18084 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
18086 gi/overrides/Gtk.py | 4 +---
18087 tests/test_overrides.py | 6 ++++++
18088 2 files changed, 7 insertions(+), 3 deletions(-)
18090 commit 466337cf2fd091738eeab12c10d250a9d0827284
18091 Author: Johan Dahlin <johan@gnome.org>
18092 Date: Fri Mar 16 16:55:47 2012 -0300
18094 Correct bad rebase, remove duplicate Window
18096 gi/overrides/Gtk.py | 7 -------
18097 1 file changed, 7 deletions(-)
18099 commit c60d5ee3c88bd8e1c68ea97f079947cf79d5bb7d
18100 Author: Johan Dahlin <johan@gnome.org>
18101 Date: Thu Mar 15 15:42:28 2012 -0300
18103 Add a PyGTK compatibility layer
18105 This module tries quite a bit harder to maintain compatibility
18106 with PyGTK, module names, enums, flags and some API.
18108 https://bugzilla.gnome.org/show_bug.cgi?id=653462
18110 gi/Makefile.am | 3 +-
18111 gi/pygtkcompat.py | 421
18112 ++++++++++++++++++++++++++++++++++++++++++++++
18113 tests/Makefile.am | 3 +-
18114 tests/test_pygtkcompat.py | 77 +++++++++
18115 4 files changed, 502 insertions(+), 2 deletions(-)
18117 commit 680a2e04ac4f80ad16e820d3f753519477c988aa
18118 Author: Johan Dahlin <johan@gnome.org>
18119 Date: Wed Mar 14 15:20:53 2012 -0300
18121 Add bw-compatible arguments to Gtk.Adjustment
18123 The argument used to be called page/step_incr, if they
18124 are found map them to the existing properties for extra
18127 https://bugzilla.gnome.org/show_bug.cgi?id=672087
18129 gi/overrides/Gtk.py | 8 +++++++-
18130 1 file changed, 7 insertions(+), 1 deletion(-)
18132 commit fbd21ee7176bc1b70547ea464b512c8ffd674187
18133 Author: Johan Dahlin <johan@gnome.org>
18134 Date: Wed Mar 14 17:13:04 2012 -0300
18136 GtkTreePath: make it iterable
18138 https://bugzilla.gnome.org/show_bug.cgi?id=672093
18140 gi/overrides/Gtk.py | 3 +++
18141 tests/test_overrides.py | 2 ++
18142 2 files changed, 5 insertions(+)
18144 commit a7b08cb75541612c78d123b1d968be7874e3c481
18145 Author: Johan Dahlin <johan@gnome.org>
18146 Date: Wed Mar 14 13:32:31 2012 -0300
18148 Add a default argument to TreeModelFilter.set_visible_func()
18150 https://bugzilla.gnome.org/show_bug.cgi?id=672081
18152 gi/overrides/Gtk.py | 14 ++++++++++++++
18153 1 file changed, 14 insertions(+)
18155 commit 02950cabb38b1b3c9378c42c069eefdbccbce17d
18156 Author: Johan Dahlin <johan@gnome.org>
18157 Date: Wed Mar 14 13:31:41 2012 -0300
18159 Add a default argument to Gtk.TreeView.set_cursor
18161 And also make sure that the path is a Gtk.TreePath.
18163 https://bugzilla.gnome.org/show_bug.cgi?id=672081
18165 gi/overrides/Gtk.py | 4 ++++
18166 tests/test_overrides.py | 10 ++++++++++
18167 2 files changed, 14 insertions(+)
18169 commit 7245bd0ae3f6243c79fa8543a0ed1e50e5015844
18170 Author: Johan Dahlin <johan@gnome.org>
18171 Date: Wed Mar 14 13:31:06 2012 -0300
18173 Add a default argument to Pango.Context.get_metrics()
18175 https://bugzilla.gnome.org/show_bug.cgi?id=672081
18177 gi/overrides/Pango.py | 9 +++++++++
18178 1 file changed, 9 insertions(+)
18180 commit bc1fd8814df6c1e85b586d0fb943c89f7e2b78b5
18181 Author: Martin Pitt <martin.pitt@ubuntu.com>
18182 Date: Fri Mar 16 13:27:56 2012 +0100
18184 Fix double-freeing GValues in arrays
18186 When marshalling a GValue array to C, the GValue items are copied
18188 GValue array, not a C GValue pointer
18189 array. _pygi_marshal_from_py_array()
18190 already calls the cleanup_func for the original item;
18191 _pygi_marshal_cleanup_from_py_array() must not do it again, as this
18193 to g_slice_free the array item.
18195 https://bugzilla.gnome.org/show_bug.cgi?id=672224
18197 gi/pygi-marshal-from-py.c | 7 ++++++-
18198 1 file changed, 6 insertions(+), 1 deletion(-)
18200 commit a906b7d1947ba905f959d3f738eb6c29b02f96e7
18201 Author: Simon Feltman <s.feltman@gmail.com>
18202 Date: Fri Mar 16 00:29:31 2012 -0700
18204 Renamed "property" class to "Property"
18206 Renamed to match the rest of the class names in GObject and also
18207 not clobber the builtin python property.
18209 Keep the old "property" identifier for backwards compatibility
18212 https://bugzilla.gnome.org/show_bug.cgi?id=672168
18214 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
18216 examples/properties.py | 6 +--
18217 gi/_gobject/__init__.py | 7 ++--
18218 gi/_gobject/propertyhelper.py | 12 +++---
18219 tests/test_interface.py | 4 +-
18220 tests/test_properties.py | 94
18221 +++++++++++++++++++++----------------------
18222 5 files changed, 62 insertions(+), 61 deletions(-)
18224 commit d7d28d717e38c0546529b09b8b571a5cc631c5b5
18225 Author: Martin Pitt <martin.pitt@ubuntu.com>
18226 Date: Wed Mar 14 22:52:47 2012 +0100
18228 Fix Python to C marshalling of GValue arrays
18230 For GValues we cannot just copy the GValue memory in
18231 _pygi_marshal_from_py_array(), as the from_py_cleanup() function
18233 releases the GValue and with it its v_pointer. Use g_value_copy()
18237 This uncovered another bug in _pygi_marshal_cleanup_from_py_array():
18239 assumed that C arrays contained pointers, but this is not the case
18241 arrays: these are actual struct arrays, not struct pointer arrays
18243 construction in _pygi_marshal_from_py_array()). Check if an array
18245 pointers or values and compute the correct array item pointer for
18248 Also add a corresponding test case for marshalling GValue arrays
18250 Python, which works fine.
18252 https://bugzilla.gnome.org/show_bug.cgi?id=672065
18254 gi/pygi-marshal-cleanup.c | 19 ++++++++++++++-----
18255 gi/pygi-marshal-from-py.c | 13 ++++++++++++-
18256 tests/test_gi.py | 8 ++++++++
18257 3 files changed, 34 insertions(+), 6 deletions(-)
18259 commit 27ac9c1de6487035b18ef4511c155d251cb6d39d
18260 Author: Johan Dahlin <johan@gnome.org>
18261 Date: Fri Mar 16 09:59:57 2012 +0100
18263 Correct the Gtk.Window hierarchy
18265 We need to make sure that all Gtk.Dialog subclasses inherit from
18266 the overridden Window class. For that to be done automaticly we need
18267 to create the Window class before the Dialog class.
18269 Now when it's inherited properly we need to avoid calling the Window
18270 constructor twice as it passes in a construct-only parameter. So add
18271 **kwargs to the Window constructor to allow us to pass in any kind
18272 of GObject property to it and refactor the Dialog subclasses to pass
18273 in all properties to the same constructor.
18275 Also adds a bunch of tests to make sure that the hiearchy is correct.
18277 https://bugzilla.gnome.org/show_bug.cgi?id=672158
18279 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
18281 gi/overrides/Gtk.py | 56
18282 ++++++++++++++++++++++++-------------------------
18283 tests/test_overrides.py | 35 +++++++++++++++++++++++++++++--
18284 2 files changed, 61 insertions(+), 30 deletions(-)
18286 commit 77ab27ab8a580d98f76730f075e083e1e870f55e
18287 Author: simon <simon@gerty>
18288 Date: Tue Mar 13 01:41:53 2012 -0700
18290 Renamed getter/setter instance attributes to fget/fset respectively.
18292 The python 'property' class allows for decoration of methods using
18293 .getter and .setter. These were added as methods to the
18295 class to match that of the python property class and allow for
18299 In addition, __call__ was added to allow an instantiated decorator
18301 args to also decorate a method:
18303 class C(GObject.GObject):
18305 @GObject.property(type=int, default=0)
18309 def propInt(self, value):
18310 self._value = value
18312 https://bugzilla.gnome.org/show_bug.cgi?id=586181
18314 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
18316 gi/_gobject/__init__.py | 10 ++++----
18317 gi/_gobject/propertyhelper.py | 59
18318 +++++++++++++++++++++++++++++++------------
18319 tests/test_properties.py | 41 ++++++++++++++++++++++++++++++
18320 3 files changed, 89 insertions(+), 21 deletions(-)
18322 commit 174a61fb3149c07dab5cc35e64825922cdefcb95
18323 Author: Johan Dahlin <johan@gnome.org>
18324 Date: Tue Mar 13 17:10:13 2012 -0300
18326 Add Gtk.Arrow/Gtk.Window constructor override
18328 Adds argument that makes them compatible with PyGTK.
18330 https://bugzilla.gnome.org/show_bug.cgi?id=672045
18332 gi/overrides/Gtk.py | 17 +++++++++++++++++
18333 1 file changed, 17 insertions(+)
18335 commit 7746d2188ac4933c2c9011d84525d1e62fc18953
18336 Author: Michel Dänzer <michel@daenzer.net>
18337 Date: Fri Mar 9 12:26:53 2012 +0100
18339 Fix marshalling to/from Python to work on big endian machines.
18341 https://bugzilla.gnome.org/show_bug.cgi?id=668903
18343 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
18345 gi/pygi-argument.c | 25 ++++++++++++++++---------
18346 gi/pygi-marshal-from-py.c | 32 +++++++++++++++++++++++++-------
18347 gi/pygi-marshal-to-py.c | 19 +++++++++++++++++++
18348 3 files changed, 60 insertions(+), 16 deletions(-)
18350 commit 0591cc6f160ae6e9d8c3970934ae105ef340d7d3
18351 Author: Michel Dänzer <michel@daenzer.net>
18352 Date: Thu Mar 8 12:21:28 2012 +0100
18354 Use gi_cclosure_marshal_generic instead of duplicating it.
18356 Bump gobject-introspection dependency to ensure that we have the
18360 https://bugzilla.gnome.org/show_bug.cgi?id=668903
18362 Signed-off-by: Michel Dänzer <michel@daenzer.net>
18363 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
18365 configure.ac | 3 +-
18366 gi/_gobject/Makefile.am | 7 +-
18367 gi/_gobject/ffi-marshaller.c | 194
18368 -------------------------------------------
18369 gi/_gobject/ffi-marshaller.h | 31 -------
18370 gi/_gobject/gobjectmodule.c | 12 +--
18371 5 files changed, 4 insertions(+), 243 deletions(-)
18373 commit 8ca828825a2c47080055c5f986979aac8da9a93f
18374 Author: René Stadler <rene.stadler@collabora.co.uk>
18375 Date: Mon Mar 5 21:10:55 2012 +0100
18377 Override Gtk.TreeView.get_visible_range to fix return
18379 Just like IconView.
18381 https://bugzilla.gnome.org/show_bug.cgi?id=671409
18383 gi/overrides/Gtk.py | 5 +++++
18384 1 file changed, 5 insertions(+)
18386 commit 4824ceaa77b59788325a2c1ee0f994d4e74d7a1c
18387 Author: Paolo Borelli <pborelli@gnome.org>
18388 Date: Sun Mar 4 16:41:18 2012 +0100
18390 Plug memory leak in _is_union_member
18392 When we found the member, unref the objects before breaking out of the
18395 gi/pygi-marshal-from-py.c | 9 +++------
18396 1 file changed, 3 insertions(+), 6 deletions(-)
18398 commit c6ae29ac157978a61b11cc2de9e8485d8a175105
18399 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18400 Date: Tue Feb 21 15:37:18 2012 +0100
18402 tests: Split TestInterfaces into separate tests
18404 tests/test_gi.py | 36 +++++++++++++++++++-----------------
18405 1 file changed, 19 insertions(+), 17 deletions(-)
18407 commit de3299818ae5fdf1c7abbe05a36bfd5cdface7b8
18408 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18409 Date: Mon Feb 20 19:37:32 2012 +0100
18411 Post release version bump to 3.1.2
18413 configure.ac | 2 +-
18414 1 file changed, 1 insertion(+), 1 deletion(-)
18416 commit fd020e783c0dacea3320225b4ddd57d6a0fce7ea
18417 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18418 Date: Mon Feb 20 19:33:56 2012 +0100
18420 Prepare 3.1.1 release
18422 NEWS | 18 ++++++++++++++++++
18423 1 file changed, 18 insertions(+)
18425 commit 99485d96811667ef7a7a393b68b7361733157d61
18426 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18427 Date: Sat Feb 18 00:38:05 2012 +0100
18429 Don't use C99 style
18431 gi/pygi-cache.c | 3 ++-
18432 1 file changed, 2 insertions(+), 1 deletion(-)
18434 commit 0739c39f6282d95fc17ee406fa1151d074b0450d
18435 Author: Martin Pitt <martin.pitt@ubuntu.com>
18436 Date: Thu Feb 16 16:42:53 2012 +0100
18438 Add test for GPtrArray with transfer full
18440 This complements the already existing test for a "transfer container"
18442 array. We can't verify the internal refcount as these arrays get
18444 internally, but at least we can verify that it does not crash due to
18447 tests/test_everything.py | 10 +++++++++-
18448 1 file changed, 9 insertions(+), 1 deletion(-)
18450 commit 087a104f66793a981a0c02f1c7ab9cc1cf659da3
18451 Author: Martin Pitt <martin.pitt@ubuntu.com>
18452 Date: Wed Feb 15 13:36:39 2012 +0100
18454 Drop obsolete g_thread_init()
18456 Not necessary any more since glib 2.24, and we depend on 2.31.
18458 gi/_glib/pyglib.c | 3 ---
18459 1 file changed, 3 deletions(-)
18461 commit 66fb610e45912a7def29e5848577d280ef55643a
18462 Author: Martin Pitt <martin.pitt@ubuntu.com>
18463 Date: Wed Feb 15 13:35:33 2012 +0100
18465 Fix deprecated g_source_get_current_time()
18467 Use g_get_real_time() instead as recommended by the
18468 documentation. This also
18469 simplifies the code.
18471 gi/_glib/pygsource.c | 4 +---
18472 1 file changed, 1 insertion(+), 3 deletions(-)
18474 commit 18342edded05d3d9cccf648ed92bc1cac95c51eb
18475 Author: Martin Pitt <martin.pitt@ubuntu.com>
18476 Date: Wed Feb 15 13:31:23 2012 +0100
18478 Fix deprecated g_value_[gs]et_char()
18480 Replace with _schar(). We depend on glib >= 2.31 already.
18482 gi/_gobject/ffi-marshaller.c | 2 +-
18483 gi/_gobject/pygtype.c | 6 +++---
18484 gi/pygi-argument.c | 2 +-
18485 3 files changed, 5 insertions(+), 5 deletions(-)
18487 commit 3dfb8dcbe7cf09dc170433fc48d3273c6ea9448e
18488 Author: Simon Schampijer <simon@schampijer.de>
18489 Date: Thu Feb 2 19:06:01 2012 +0100
18491 Make pygiconvert.sh correctly convert gtk.gdk.x11_*
18493 Looking at the gir file gtk.gdk.x11_* should get converted to
18494 GdkX11.x11_*. Fixing pygiconvert.sh to do so.
18496 pygi-convert.sh | 2 +-
18497 1 file changed, 1 insertion(+), 1 deletion(-)
18499 commit 3af5016978df598d5fd1c225cc49bb2c04dc4e35
18500 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18501 Date: Fri Feb 10 13:29:41 2012 +0100
18503 Raise required glib version to 2.31 because of g_value_(get|set)_schar
18505 Commit ee62df4d2fc0cc63c2f29d3ad9b47b875dbd5f89 introduced both calls
18507 configure.ac | 6 +++---
18508 1 file changed, 3 insertions(+), 3 deletions(-)
18510 commit 50c3b1bad3ea79750649f4b48fce0adbfaba5268
18511 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18512 Date: Fri Feb 10 09:28:36 2012 +0100
18514 Fix cset_first typo
18516 https://bugzilla.gnome.org/show_bug.cgi?id=649267
18518 gi/_gobject/pygparamspec.c | 2 +-
18519 1 file changed, 1 insertion(+), 1 deletion(-)
18521 commit 6ab542fb3ec1031922ba65664d77bbaac0df453e
18522 Author: Bastian Winkler <buz@netbuz.org>
18523 Date: Mon Nov 14 14:41:08 2011 +0100
18525 pygi-convert: Handle Clutter and Cogl
18527 https://bugzilla.gnome.org/show_bug.cgi?id=664496
18529 pygi-convert.sh | 76
18530 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
18531 1 file changed, 76 insertions(+)
18533 commit 4aeb27efc43e131de5d0bc0f60dca7c1d34c3d45
18534 Author: Cédric Krier <cedric.krier@b2ck.com>
18535 Date: Fri Feb 10 09:04:18 2012 +0100
18537 Provide access to gpointer struct values
18539 https://bugzilla.gnome.org/show_bug.cgi?id=668356
18541 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
18543 gi/pygi-argument.c | 3 ++-
18544 gi/pygi-info.c | 13 +++++++++++++
18545 tests/test_everything.py | 21 +++++++++++++++++++++
18546 3 files changed, 36 insertions(+), 1 deletion(-)
18548 commit 5c0b20cc1a261cb7430a5251dffe60da698033b5
18549 Author: Paolo Borelli <pborelli@gnome.org>
18550 Date: Thu Feb 9 18:15:42 2012 +0100
18552 Add some GType tests
18554 Use what was recently added in g-i
18556 tests/test_gi.py | 17 +++++++++++++++--
18557 1 file changed, 15 insertions(+), 2 deletions(-)
18559 commit ea7778f6f37a6fc38f88d89d4b6cae8be0ed9753
18560 Author: Paolo Borelli <pborelli@gnome.org>
18561 Date: Thu Feb 9 18:14:52 2012 +0100
18563 Split GStrv and array variant tests in their own classes
18565 Also tidy up the spacing a bit
18567 tests/test_gi.py | 29 +++++++++++++++++++++++------
18568 1 file changed, 23 insertions(+), 6 deletions(-)
18570 commit db7f9be319d3cf52aef300fbac60cabb7ff57276
18571 Author: Paolo Borelli <pborelli@gnome.org>
18572 Date: Wed Feb 8 22:23:30 2012 +0100
18574 Add unit test for builder's connect_after
18576 tests/test_overrides.py | 8 ++++++++
18577 1 file changed, 8 insertions(+)
18579 commit 671f9b0dd73ac41a84caf9d1f04cec351bc01b47
18580 Author: Ryan Lortie <desrt@desrt.ca>
18581 Date: Wed Feb 8 16:06:22 2012 -0500
18583 fix GtkBuilder signal connection 'after' logic
18585 All GtkBuilder signals are presently being connected 'after', ignoring
18586 what is specified in the builder XML. This is due to an obvious logic
18589 https://bugzilla.gnome.org/show_bug.cgi?id=669705
18591 gi/overrides/Gtk.py | 2 +-
18592 1 file changed, 1 insertion(+), 1 deletion(-)
18594 commit 1d23d8006be98b77a0134fddd23b76df05e489fa
18595 Author: Patrick Welche <prlw1@cam.ac.uk>
18596 Date: Tue Feb 7 11:49:58 2012 +0000
18598 test(1) uses '=' to test if strings are identical
18600 https://bugzilla.gnome.org/show_bug.cgi?id=669598
18602 m4/python.m4 | 6 +++---
18603 1 file changed, 3 insertions(+), 3 deletions(-)
18605 commit 945fd18e531c2131440af93dcd89f6c63abbfd7c
18606 Author: Ryan Lortie <desrt@desrt.ca>
18607 Date: Tue Feb 7 13:42:19 2012 -0500
18609 pygspawn: improve error checking
18611 gspawn 'argv' and 'envp' parameters expect sequences of strings. This
18612 is enforced by checking that the passed argument is a sequence
18614 each item returned from it is a string.
18616 We do now, however, verify that each item can be successfully
18618 the sequence. 'os.environ' is an example of an object that passes
18619 PySequence_Check() but fails to return objects from PySequence_ITEM().
18621 Add a simple NULL check to avoid the crash.
18623 https://bugzilla.gnome.org/show_bug.cgi?id=669594
18625 gi/_glib/pygspawn.c | 4 ++--
18626 1 file changed, 2 insertions(+), 2 deletions(-)
18628 commit 8fc969c45d6d720400dc6c9ef391d0ca93f14b5a
18629 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18630 Date: Mon Feb 6 19:15:53 2012 +0100
18632 Post release version bump to 3.1.1
18634 configure.ac | 2 +-
18635 1 file changed, 1 insertion(+), 1 deletion(-)
18637 commit f76b2fe6d37be76bf129ee2adee90b2cc0eee56e
18638 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18639 Date: Mon Feb 6 19:11:52 2012 +0100
18641 Prepare 3.1.0 release
18643 NEWS | 34 ++++++++++++++++++++++++++++++++++
18644 1 file changed, 34 insertions(+)
18646 commit c09d0dffc5a570d5ae4df1ae07b2e5594c3ca1bf
18647 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18648 Date: Mon Feb 6 19:04:41 2012 +0100
18650 Updated DOAP file to only include people currently actively working
18653 Removed obsolete MAINTAINERS file
18655 MAINTAINERS | 19 -------------------
18656 pygobject.doap | 44 +++++++++++++++-----------------------------
18657 2 files changed, 15 insertions(+), 48 deletions(-)
18659 commit 0285e107be581c4d594127dc06cd05df1f02fb3f
18660 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18661 Date: Mon Feb 6 18:57:01 2012 +0100
18663 Revert "Convert all strings to utf-8 encoding when retrieving from
18666 This reverts commit 654711d0f940d7480d0f1cdb25a3dc9996f7a706.
18668 Due to this commit breaking backwards compatability, we decided to
18671 gi/overrides/Gtk.py | 15 ---------------
18672 tests/compathelper.py | 2 --
18673 tests/test_overrides.py | 31 +------------------------------
18674 3 files changed, 1 insertion(+), 47 deletions(-)
18676 commit 0e921cd26ed5a6e3bc6ef5f553e8b22b862d72a6
18677 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18678 Date: Sun Feb 5 13:47:10 2012 +0100
18680 tests: Fixed issues with python3
18682 tests/test_gi.py | 9 ++++++---
18683 1 file changed, 6 insertions(+), 3 deletions(-)
18685 commit ee62df4d2fc0cc63c2f29d3ad9b47b875dbd5f89
18686 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18687 Date: Sun Feb 5 11:59:51 2012 +0100
18689 Properly distinguish between different integer types for properties
18691 https://bugzilla.gnome.org/show_bug.cgi?id=664150
18693 gi/pygi-property.c | 48 ++++++++++++++++++++++++++++++++++++++----
18694 tests/test_gi.py | 62
18695 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
18696 2 files changed, 106 insertions(+), 4 deletions(-)
18698 commit c329bf2aee8d75ce452638db75e09197ff2b9b65
18699 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18700 Date: Sun Feb 5 11:46:21 2012 +0100
18702 Distinguish between GArray and GPtrArray when cleaning up
18704 This fixes a crash in test_gi.TestGPtrArray and makes sure
18705 memory is free'd correctly
18707 https://bugzilla.gnome.org/show_bug.cgi?id=669393
18709 gi/pygi-marshal-cleanup.c | 32 +++++++++++++++++++++++---------
18710 1 file changed, 23 insertions(+), 9 deletions(-)
18712 commit 4ea37c606f67df843788261b2c8acd6bac4c1e0c
18713 Author: Paolo Borelli <pborelli@gnome.org>
18714 Date: Sun Feb 5 18:51:53 2012 +0100
18716 Add null_gerror_callback unit test
18718 This models the case where the callback is successful and does not set
18721 https://bugzilla.gnome.org/show_bug.cgi?id=669415
18723 tests/test_everything.py | 9 +++++++++
18724 1 file changed, 9 insertions(+)
18726 commit a41984780ee49dcf02c718ca1be87bba747472e5
18727 Author: Martin Pitt <martin.pitt@ubuntu.com>
18728 Date: Mon Feb 6 09:34:28 2012 +0100
18730 pyglib_error_check: Re-add missing NULL check
18732 Commit adcfe96d49b09bc accidentally dropped the check if *error is
18734 any error is actually set. Due to that, pyglib_error_check()
18736 TRUE. Reintroduce the check.
18738 Thanks to Alberto Mardegan for spotting this!
18740 https://bugzilla.gnome.org/show_bug.cgi?id=669415
18742 gi/_glib/pyglib.c | 2 ++
18743 1 file changed, 2 insertions(+)
18745 commit 2c797c17913999379e277788d5e4cce8d68cebb0
18746 Author: Michael Culbertson <michael.culbertson@gmail.com>
18747 Date: Sat Feb 4 16:11:34 2012 +0100
18749 Add tests/runtests-windows.py to source tarball
18751 https://bugzilla.gnome.org/show_bug.cgi?id=663288
18753 tests/Makefile.am | 1 +
18754 1 file changed, 1 insertion(+)
18756 commit d6a899cdf70e978534326155e3fad75a705f4b20
18757 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18758 Date: Sat Feb 4 15:55:55 2012 +0100
18760 Don't issue a depreciation warning for GtkDialog's NO_SEPARATOR flag,
18763 https://bugzilla.gnome.org/show_bug.cgi?id=665553
18765 gi/overrides/Gtk.py | 6 ++----
18766 1 file changed, 2 insertions(+), 4 deletions(-)
18768 commit 534ec71c575a279ff1c05da20a8858bb1145b4d0
18769 Author: Nirbheek Chauhan <nirbheek@gentoo.org>
18770 Date: Sat Feb 4 15:42:36 2012 +0100
18772 Fix bool() operations on GLib.Variant objects
18774 Defines __nonzero__ (python2) and __bool__ (python3) for GLib.Variant
18776 Also adds some tests for boolean comparisons.
18778 https://bugzilla.gnome.org/show_bug.cgi?id=647723
18780 gi/overrides/GLib.py | 18 ++++++++++++++++++
18781 tests/test_overrides.py | 45
18782 +++++++++++++++++++++++++++++++++++++++++++++
18783 2 files changed, 63 insertions(+)
18785 commit 8d6a127df5dd1e5f26faeba8f977074b4496b24f
18786 Author: Nirbheek Chauhan <nirbheek@gentoo.org>
18787 Date: Sat Feb 4 15:41:08 2012 +0100
18789 Fix hash() and __eq__() for GLib.Variant objects
18791 Define __hash__, __eq__, __ne__ for GLib.Variant so that objects can
18792 be used in sets, dicts, and can be compared using == and != easily.
18794 Also adds some tests for this.
18796 https://bugzilla.gnome.org/show_bug.cgi?id=647725
18798 gi/overrides/GLib.py | 23 ++++++++++++++++++++
18799 tests/test_overrides.py | 56
18800 +++++++++++++++++++++++++++++++++++++++++++++++++
18801 2 files changed, 79 insertions(+)
18803 commit f82404034be042bf2026bbb7f1e33b11d6e17a6f
18804 Author: Martin Pitt <martin.pitt@ubuntu.com>
18805 Date: Wed Jan 25 07:01:06 2012 +0100
18807 Fix method names of callback tests
18809 Change test_everything.TestCallbacks.* test names from camelCase
18811 standard PEP-8 underscore_style. This is now consistent with all
18815 tests/test_everything.py | 30 +++++++++++++++---------------
18816 1 file changed, 15 insertions(+), 15 deletions(-)
18818 commit e37ee78fbf0aa72159a40da4165a26bea065faf1
18819 Author: Will Thompson <will.thompson@collabora.co.uk>
18820 Date: Mon Jan 23 13:10:30 2012 +0000
18822 Cairo: add missing braces around array-of-struct definition
18824 This triggered a -Wmissing-braces warning.
18826 https://bugzilla.gnome.org/show_bug.cgi?id=668497
18828 gi/pygi-foreign-cairo.c | 2 +-
18829 1 file changed, 1 insertion(+), 1 deletion(-)
18831 commit db24865d6b60351d72f5b8f47103d6d0a6c63b2e
18832 Author: Will Thompson <will.thompson@collabora.co.uk>
18833 Date: Mon Jan 23 13:06:41 2012 +0000
18835 g_instance_init: cast to PyGObject * as needed
18837 This squashes a compiler warning.
18839 https://bugzilla.gnome.org/show_bug.cgi?id=668497
18841 gi/_gobject/gobjectmodule.c | 2 +-
18842 1 file changed, 1 insertion(+), 1 deletion(-)
18844 commit a8408cfd68cd5e7cdb0b8a83e107d9a0d828e4bd
18845 Author: Will Thompson <will.thompson@collabora.co.uk>
18846 Date: Mon Jan 23 13:01:27 2012 +0000
18848 Fix a few set-but-not-used warnings.
18850 In a couple of cases, the variable in question was set to a value
18851 spelled out again later in the function.
18853 The 'sequence_cache' variable is re-declared five lines below.
18855 The return value of 'read' was previously completely ignored. The
18856 'gssize ret' variable was in fact added to squash an unused-result
18859 https://bugzilla.gnome.org/show_bug.cgi?id=668497
18861 gi/_glib/pygiochannel.c | 2 +-
18862 gi/_glib/pygmainloop.c | 3 +--
18863 gi/_gobject/pygobject.c | 2 +-
18864 gi/pygi-marshal-cleanup.c | 2 --
18865 4 files changed, 3 insertions(+), 6 deletions(-)
18867 commit 29a30490ed51e347e8f57d2bf9af69400734eee8
18868 Author: Stefano Facchini <stefano.facchini@gmail.com>
18869 Date: Thu Jan 19 18:09:07 2012 +0100
18871 pygmainloop: allow for extra arguments in 'quit' method
18873 To allow for the common syntax:
18875 object.connect('signal-name', main_loop.quit)
18877 https://bugzilla.gnome.org/show_bug.cgi?id=668288
18879 gi/_glib/pygmainloop.c | 4 ++--
18880 1 file changed, 2 insertions(+), 2 deletions(-)
18882 commit 557a61c12c01137a0d7c679c4b053973df09d445
18883 Author: Alexandre Rostovtsev <tetromino@gentoo.org>
18884 Date: Mon Dec 26 00:44:56 2011 -0500
18886 Fix bytearray test compatibility with python3
18888 https://bugs.gentoo.org/show_bug.cgi?id=321879
18890 https://bugzilla.gnome.org/show_bug.cgi?id=666852
18892 tests/test_gi.py | 4 ++--
18893 1 file changed, 2 insertions(+), 2 deletions(-)
18895 commit d69e5b3c7bdb9113382fd125c256b12bff4c24d2
18896 Author: Alberto Mardegan <mardy@users.sourceforge.net>
18897 Date: Mon Jan 23 12:37:26 2012 +0200
18899 Respect transfer-type when demarshalling GErrors
18901 The marshaller previously ignored "transfer full" on GError*
18903 crashes due to double-freeing them. This causes the
18904 testCallbackUserdata() test
18905 case to crash after the previous GError/GHashTable marshalling fix.
18907 https://bugzilla.gnome.org/show_bug.cgi?id=666270
18909 gi/pygi-argument.c | 12 +++++++++++-
18910 1 file changed, 11 insertions(+), 1 deletion(-)
18912 commit 77f32d9110bfeb6dad8457f565b4c70b5998fef6
18913 Author: Alberto Mardegan <mardy@users.sourceforge.net>
18914 Date: Thu Dec 15 16:12:01 2011 +0200
18916 Support GHashTable and GError as callback/closure arguments
18918 Marshalling of these types from C is already implemented, let's
18920 into use for calbacks and closures too.
18922 Add corresponding test cases.
18924 https://bugzilla.gnome.org/show_bug.cgi?id=666270
18926 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
18928 gi/pygi-closure.c | 2 ++
18929 tests/test_everything.py | 35 +++++++++++++++++++++++++++++++++++
18930 2 files changed, 37 insertions(+)
18932 commit 4b9dc03d0e49e9a1f4bf0f2df503bdff00d13a2b
18933 Author: Will Thompson <will.thompson@collabora.co.uk>
18934 Date: Mon Jan 23 13:56:02 2012 +0000
18936 Don't leak when marshalling GErrors to C
18938 Python-land GLib.GErrors are supposed to have three attributes:
18939 "message", "domain" and "code". If those attributes are missing,
18941 have the wrong types, the C GError is filled in with a message
18942 describing the error. The present-but-ill-typed code paths did not
18943 DECREF the ill-typed values.
18945 https://bugzilla.gnome.org/show_bug.cgi?id=666098
18947 gi/_glib/pyglib.c | 3 +++
18948 1 file changed, 3 insertions(+)
18950 commit adcfe96d49b09bcc550653d73de196610fd5144d
18951 Author: Will Thompson <will.thompson@collabora.co.uk>
18952 Date: Fri Jan 20 16:20:10 2012 +0000
18954 Support functions which return GError
18956 GStreamer has the following method:
18958 void gst_message_parse_error (
18959 GstMessage *message,
18961 gchar **debug_message);
18963 With this patch, we marshal the GError out parameter as a
18965 exception, but return it rather than throwing it. The test cases cover
18966 two variations on the theme of the function above (one with (transfer
18967 full), as in GStreamer, and another with (transfer none)) as well as a
18968 function with return type GError *.
18970 https://bugzilla.gnome.org/show_bug.cgi?id=666098
18972 gi/_glib/pyglib.c | 46
18973 +++++++++++++++++++++++++++++++++++-----------
18974 gi/_glib/pyglib.h | 1 +
18975 gi/pygi-marshal-to-py.c | 16 +++++++++++++---
18976 tests/test_gi.py | 32 ++++++++++++++++++++++++++++++++
18977 4 files changed, 81 insertions(+), 14 deletions(-)
18979 commit 09f003729eac9d553a208c343c2a14d253b77d9a
18980 Author: Alberto Mardegan <mardy@users.sourceforge.net>
18981 Date: Mon Jan 23 12:42:21 2012 +0200
18983 Fix indentation of _pygi_argument_to_object()
18985 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=666270
18987 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
18989 gi/pygi-argument.c | 26 +++++++++++++-------------
18990 1 file changed, 13 insertions(+), 13 deletions(-)
18992 commit c71c010be01d706f90bc200194325fd82f4071b2
18993 Author: Paolo Borelli <pborelli@gnome.org>
18994 Date: Sat Jan 14 14:24:23 2012 +0100
18998 gi/gimodule.c | 10 ++++++----
18999 1 file changed, 6 insertions(+), 4 deletions(-)
19001 commit c299d058c22385ececaec64c872d1dd1bc1ae17a
19002 Author: Paolo Borelli <pborelli@gnome.org>
19003 Date: Fri Jan 6 13:39:31 2012 +0100
19005 Connect to first action of a radio group.
19007 gi/overrides/Gtk.py | 4 ++--
19008 1 file changed, 2 insertions(+), 2 deletions(-)
19010 commit dee2f179037902a3883bd0e61ff1c350e1fd8a4f
19011 Author: Paolo Borelli <pborelli@gnome.org>
19012 Date: Wed Jan 4 16:40:51 2012 +0100
19014 Use g_slist_free_full in pygi-closure.
19016 gi/pygi-closure.c | 3 +--
19017 1 file changed, 1 insertion(+), 2 deletions(-)
19019 commit 2bee4207ab6f07dc9c0952affe72f0e304cfb624
19020 Author: Paolo Borelli <pborelli@gnome.org>
19021 Date: Wed Jan 4 15:24:13 2012 +0100
19023 Avoid O(n^2) behavior when marshalling lists
19025 Appending requires walking the list every time: just prepend and
19027 the list at the end.
19029 https://bugzilla.gnome.org/show_bug.cgi?id=667261
19031 gi/pygi-marshal-from-py.c | 8 ++++----
19032 1 file changed, 4 insertions(+), 4 deletions(-)
19034 commit d68455e99b1a9ebba31209b17a11317b1958678b
19035 Author: Paolo Borelli <pborelli@gnome.org>
19036 Date: Tue Jan 3 16:57:40 2012 +0100
19038 Handle NULL as a valid case of a char** array
19040 Treat NULL as an empty array and add the corresponding testcase
19042 gi/pygi-marshal-to-py.c | 9 +++++----
19043 tests/test_gi.py | 3 +++
19044 2 files changed, 8 insertions(+), 4 deletions(-)
19046 commit e3451b8e6018bb76e9992fb6af24a71725de5cfd
19047 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
19048 Date: Fri Dec 23 12:01:43 2011 +0100
19050 Branching, bump version to 3.1.0
19052 configure.ac | 4 ++--
19053 1 file changed, 2 insertions(+), 2 deletions(-)
19055 commit 8d1a36cc73f5f4df091ecb289c8a7b38ec2ab605
19056 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
19057 Date: Mon Dec 12 18:35:30 2011 +0100
19059 Add notes about branching to HACKING
19061 HACKING | 10 ++++++++++
19062 1 file changed, 10 insertions(+)
19064 commit 00030bc6f0fb961c716ed692144cd8e4bb9be7d0
19065 Author: Sebastian Pölsterl <sebp@k-d-w.org>
19066 Date: Sat Dec 10 12:51:45 2011 +0100
19068 Fixed bug where GObject.property did not respect minimum and maximum
19071 https://bugzilla.gnome.org/show_bug.cgi?id=664864
19073 gi/_gobject/propertyhelper.py | 2 +-
19074 tests/test_properties.py | 31 +++++++++++++++++++++++++++++++
19075 2 files changed, 32 insertions(+), 1 deletion(-)
19077 commit 7b78abc6c399abd0daa4c11c644d107e1bb7b452
19078 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
19079 Date: Mon Dec 12 17:00:24 2011 +0100
19081 Remove mention of removed option --enable-docs
19084 1 file changed, 1 insertion(+), 1 deletion(-)
19086 commit 4cba52f5b5e79b7b6212cb0795e8976a9da9f21d
19087 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
19088 Date: Mon Dec 12 17:00:03 2011 +0100
19090 Fix sebp's name in NEWS
19093 1 file changed, 1 insertion(+), 1 deletion(-)
19095 commit 8c95981d0ba224a577f87998030c384b3dae3d80
19096 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
19097 Date: Mon Dec 12 16:20:09 2011 +0100
19101 NEWS | 15 +++++++++++++++
19102 1 file changed, 15 insertions(+)
19104 commit 58e47fd28c5d75bb78042c8f9eb5aae84de9c64d
19105 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
19106 Date: Mon Dec 12 16:16:44 2011 +0100
19108 Pre-release version bump
19110 configure.ac | 2 +-
19111 1 file changed, 1 insertion(+), 1 deletion(-)
19113 commit 884468d4816fc976c0c0c72651e7f81d13f3f78b
19114 Author: Manuel Quiñones <manuq@laptop.org>
19115 Date: Thu Dec 1 11:50:38 2011 -0300
19117 Convert all modifier constants to Gdk.ModifierType
19119 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
19121 pygi-convert.sh | 14 ++++++++++++++
19122 1 file changed, 14 insertions(+)
19124 commit 654711d0f940d7480d0f1cdb25a3dc9996f7a706
19125 Author: Sebastian Pölsterl <sebp@k-d-w.org>
19126 Date: Tue Nov 8 12:38:12 2011 +0100
19128 Convert all strings to utf-8 encoding when retrieving from TreeModel
19130 https://bugzilla.gnome.org/show_bug.cgi?id=663610
19132 gi/overrides/Gtk.py | 15 +++++++++++++++
19133 tests/compathelper.py | 2 ++
19134 tests/test_overrides.py | 31 ++++++++++++++++++++++++++++++-
19135 3 files changed, 47 insertions(+), 1 deletion(-)
19137 commit 4f637212f13b197a95c824967a58496b9e3b877c
19138 Author: John (J5) Palmieri <johnp@redhat.com>
19139 Date: Wed Nov 2 14:51:24 2011 -0400
19141 add test for bytearray variants
19143 tests/test_gi.py | 4 ++++
19144 1 file changed, 4 insertions(+)
19146 commit 20ca3f129d6cc662285cce8c732b55596016aefa
19147 Author: John (J5) Palmieri <johnp@redhat.com>
19148 Date: Wed Nov 2 14:50:42 2011 -0400
19150 handle NULL arrays correctly for each array type
19152 gi/pygi-marshal-to-py.c | 11 ++++++-----
19153 1 file changed, 6 insertions(+), 5 deletions(-)
19155 commit ce2f780bffe44b1d4de617dcbce4b90c58b03c18
19156 Author: John (J5) Palmieri <johnp@redhat.com>
19157 Date: Wed Nov 2 14:17:21 2011 -0400
19159 Revert "Revert "Fix array termination and size calculation""
19161 This reverts commit cfda820e8d9604c5ef2ad1161c22b20080d5daf4.
19163 gi/pygi-marshal-from-py.c | 6 +++++-
19164 gi/pygi-marshal-to-py.c | 8 +++++++-
19165 2 files changed, 12 insertions(+), 2 deletions(-)
19167 commit 832f16f96815adc22cc3acbeb3fa969631795a29
19168 Author: Owen W. Taylor <otaylor@fishsoup.net>
19169 Date: Sun Oct 30 18:08:57 2011 -0400
19171 pygmainloop: avoid lockups if multiple glib.MainLoop exist
19173 If multiple glib.MainLoop() sources exist, then we will add multiple
19174 watches, and when python writes a byte to the wakeup pipe, all of the
19175 sources will try to read it; only one will succeed and the others
19176 will block. Set both ends of the pipe nonblocking to avoid this.
19178 https://bugzilla.gnome.org/show_bug.cgi?id=663068
19180 gi/_glib/pygmainloop.c | 5 ++++-
19181 1 file changed, 4 insertions(+), 1 deletion(-)
19183 commit 2fd3aa9d4ca0906a5e609845ee500ba72e358f94
19184 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
19185 Date: Sat Oct 29 15:08:03 2011 +0200
19187 Properly chain up to the class that implements a given vfunc.
19189 https://bugzilla.gnome.org/show_bug.cgi?id=662994
19191 gi/types.py | 22 +++++++++++++---------
19192 tests/test_gi.py | 20 ++++++++++----------
19193 2 files changed, 23 insertions(+), 19 deletions(-)
19195 commit cfda820e8d9604c5ef2ad1161c22b20080d5daf4
19196 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
19197 Date: Wed Nov 2 14:54:21 2011 +0100
19199 Revert "Fix array termination and size calculation"
19201 This reverts commit eef35b2df8023ffff2d195ee16c084f5cfcb6ba3.
19203 gi/pygi-marshal-from-py.c | 6 +-----
19204 gi/pygi-marshal-to-py.c | 8 +-------
19205 2 files changed, 2 insertions(+), 12 deletions(-)
19207 commit eef35b2df8023ffff2d195ee16c084f5cfcb6ba3
19208 Author: Holger Berndt <hb@gnome.org>
19209 Date: Sun Oct 30 16:36:32 2011 +0100
19211 Fix array termination and size calculation
19213 When creating an array of element type uint8 and setting it directly
19215 memcpy(), make sure that zero-termination is respected.
19217 When calculating the length of a zero-terminated array of type uint8,
19218 fall back to strlen() instead of g_strv_length().
19220 https://bugzilla.gnome.org/show_bug.cgi?id=662550
19222 gi/pygi-marshal-from-py.c | 6 +++++-
19223 gi/pygi-marshal-to-py.c | 8 +++++++-
19224 2 files changed, 12 insertions(+), 2 deletions(-)
19226 commit 4c1d9f01b8fa6702f73b290180f934250e179caa
19227 Author: Daniel Drake <dsd@laptop.org>
19228 Date: Sun Oct 30 09:20:45 2011 +0000
19230 pygi-convert: fix for Pango.Alignment
19232 pygi-convert.sh | 1 +
19233 1 file changed, 1 insertion(+)
19235 commit e3abd76096cc9f335681c7225f452c286b9c59e2
19236 Author: Daniel Drake <dsd@laptop.org>
19237 Date: Sun Oct 30 07:06:57 2011 +0000
19239 pygi-convert: fix for Gtk.Orientation
19241 pygi-convert.sh | 1 +
19242 1 file changed, 1 insertion(+)
19244 commit 52b82c5f78ef3755388457fa9440c36ccd2dfbbf
19245 Author: Martin Pitt <martin.pitt@ubuntu.com>
19246 Date: Thu Oct 27 07:16:24 2011 +0200
19248 Add tests for calling closures
19250 Add checks for correct handling of closure calls.
19251 Regress.test_closure_one_arg() is working fine and should continue
19253 Regress.test_closure_variant() is known to not work yet, so mark
19255 for now. (See https://bugzilla.gnome.org/show_bug.cgi?id=656554)
19257 tests/test_everything.py | 24 ++++++++++++++++++++++++
19258 1 file changed, 24 insertions(+)
19260 commit c7aa0e79dfb4c1092c51ae1464b8414083b4f3fc
19261 Author: Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com>
19262 Date: Tue Oct 4 12:28:26 2011 +0200
19264 fix marshaling of arrays of GVariants
19266 Add unit tests for marshaling of arrays of variants with all
19267 transfer modes. Requires latest gobject-introspection.
19269 Plug potential leaks of GArray data members
19271 Fix calling of wrong cleanup_from_py for arrays
19273 Simplify and fix logic for cleaning up arrays both in from_py()
19274 and to_py() code paths.
19276 https://bugzilla.gnome.org/show_bug.cgi?id=638915
19278 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
19280 gi/pygi-cache.c | 2 +-
19281 gi/pygi-marshal-cleanup.c | 81
19282 ++++++++++++++++++++++++++++++-----------------
19283 gi/pygi-marshal-from-py.c | 10 ++++--
19284 gi/pygi-marshal-to-py.c | 13 ++++++--
19285 tests/test_gi.py | 14 +++++++-
19286 5 files changed, 85 insertions(+), 35 deletions(-)
19288 commit c2ec4d8eb46ae2e6ee4372b2a4f9d5df0e5d82f3
19289 Author: Ignacio Casal Quinteiro <icq@gnome.org>
19290 Date: Sat Oct 22 00:20:57 2011 +0200
19295 1 file changed, 8 insertions(+)
19297 commit 5c24760b797e985721f7fe51d52252e4dd54a417
19298 Author: Martin Pitt <martin.pitt@ubuntu.com>
19299 Date: Fri Oct 21 17:31:41 2011 +0200
19301 Fix "Returns: (skip)" method calls without (out) arguments
19303 When we have a method call with a skipped return value, but no
19305 arguments, we previously returned NULL to Python, which causes
19307 error return without exception set". Return None instead.
19309 https://bugzilla.gnome.org/show_bug.cgi?id=662383
19311 gi/pygi-invoke.c | 10 ++++++++++
19312 tests/test_everything.py | 8 ++++++++
19313 2 files changed, 18 insertions(+)
19315 commit 585222915dc98b0e375de3db4771466278a32e81
19316 Author: John (J5) Palmieri <johnp@redhat.com>
19317 Date: Tue Oct 18 00:39:16 2011 -0400
19319 Do union member checks for unions that are parameters
19321 * before we were only doing checks if the union was an instance
19323 https://bugzilla.gnome.org/show_bug.cgi?id=661673
19325 gi/pygi-marshal-from-py.c | 121
19326 ++++++++++++++++++++++++++--------------------
19327 1 file changed, 68 insertions(+), 53 deletions(-)
19329 commit 8deaec6b9abd87f02060c9feec773d4693e89028
19330 Author: Martin Pitt <martin.pitt@ubuntu.com>
19331 Date: Wed Oct 19 14:35:11 2011 +0200
19333 Gdk overrides: Unbreak for Gdk-2.0
19335 Fix regression from commit 31db3ed: Gdk 2.0 did not yet have
19337 only do this for Gdk >= 3.0.
19339 https://launchpad.net/bugs/875399
19341 gi/overrides/Gdk.py | 95
19342 +++++++++++++++++++++++++++--------------------------
19343 1 file changed, 48 insertions(+), 47 deletions(-)
19345 commit f395fb131caf7ca550acd17138d8061926ef4f92
19346 Author: John (J5) Palmieri <johnp@redhat.com>
19347 Date: Fri Oct 14 17:19:45 2011 -0400
19349 unit test for checking ref count of object param in signals
19351 https://bugzilla.gnome.org/show_bug.cgi?id=661359
19353 tests/test_everything.py | 11 +++++++++++
19354 1 file changed, 11 insertions(+)
19356 commit 611f58b99851328653af4930f188c33eccaa9f6f
19357 Author: John (J5) Palmieri <johnp@redhat.com>
19358 Date: Fri Oct 14 16:42:32 2011 -0400
19360 when converting an object with transfer none, make sure the wrapper
19363 https://bugzilla.gnome.org/show_bug.cgi?id=661359
19365 gi/pygi-argument.c | 10 ++++++++++
19366 1 file changed, 10 insertions(+)
19368 commit 0f1eb9fa0e7aa5e7c22dabc709c0dfb469e404f1
19369 Author: Timo Vanwynsberghe <timovwb@gmail.com>
19370 Date: Tue Oct 4 11:13:43 2011 +0200
19372 Allow GBoxed types as property
19374 Add the GBoxed type as valid type to the gobject property helper
19375 https://bugzilla.gnome.org/show_bug.cgi?id=660798
19377 gi/_gobject/propertyhelper.py | 5 +++--
19378 1 file changed, 3 insertions(+), 2 deletions(-)
19380 commit bef8d385117dd0295c9ba7567710d76fc2bb729a
19381 Author: Ignacio Casal Quinteiro <icq@gnome.org>
19382 Date: Mon Oct 10 11:24:42 2011 +0200
19384 Add tests for boxed properties.
19386 tests/test_properties.py | 20 ++++++++++++++++++--
19387 1 file changed, 18 insertions(+), 2 deletions(-)
19389 commit 77123ffeb1585837033848f4d5a90cfa63fdaee0
19390 Author: Ignacio Casal Quinteiro <icq@gnome.org>
19391 Date: Fri Sep 30 20:21:07 2011 +0200
19393 Post release bump version
19395 configure.ac | 2 +-
19396 1 file changed, 1 insertion(+), 1 deletion(-)
19398 commit f5ccfec0a1bc4c999bfa49d75383ea06d3a068c4
19399 Author: Ignacio Casal Quinteiro <icq@gnome.org>
19400 Date: Fri Sep 30 20:19:46 2011 +0200
19405 configure.ac | 2 +-
19406 2 files changed, 6 insertions(+), 1 deletion(-)
19408 commit 56ac9339eb1d6950623dc4d8c3b9972874e7fa86
19409 Author: John (J5) Palmieri <johnp@redhat.com>
19410 Date: Thu Sep 22 19:03:20 2011 -0400
19412 when checking instances union members are same type as parent
19414 * this is so we can support sending Gdk.Event members in place of
19415 the Event union into methods
19416 * we only support this if the union member has a type of GI_INTERFACE
19419 https://bugzilla.gnome.org/show_bug.cgi?id=659879
19421 gi/pygi-marshal-from-py.c | 60
19422 +++++++++++++++++++++++++++++++++++++++++++----
19423 1 file changed, 56 insertions(+), 4 deletions(-)
19425 commit 311a4f8035a95b41bc3c0a836c32b7a5bf2d9959
19426 Author: John (J5) Palmieri <johnp@redhat.com>
19427 Date: Wed Sep 21 21:50:48 2011 -0400
19429 add a floating flag to pygobjects
19431 * this allows us to correctly refcount when custom gobjects are
19435 gi/_gobject/gobjectmodule.c | 5 +++++
19436 gi/_gobject/pygobject-private.h | 3 +++
19437 gi/_gobject/pygobject.c | 27 ++++++++++++++++++++++++++-
19438 gi/_gobject/pygobject.h | 3 ++-
19439 4 files changed, 36 insertions(+), 2 deletions(-)
19441 commit d2d29ae5845217254b9336fd8629f369cb119b25
19442 Author: John (J5) Palmieri <johnp@redhat.com>
19443 Date: Wed Sep 21 21:13:22 2011 -0400
19445 Revert "Fix refcount bug by not creating python wrapper during
19446 gobject init stage"
19448 This reverts commit f6fa5dd8f39af1b8a52d7600d257400b0983e8c5.
19450 gi/_gobject/gobjectmodule.c | 32 +++++++++++++++++---------------
19451 1 file changed, 17 insertions(+), 15 deletions(-)
19453 commit a24c10b779f2a1b0425d56d03d59c393389cad98
19454 Author: John (J5) Palmieri <johnp@redhat.com>
19455 Date: Wed Sep 21 21:10:00 2011 -0400
19457 make sure to commit the NEWS file
19460 1 file changed, 4 insertions(+)
19462 commit 2eed2940c9be099fb6305288d895265e6b35d3d2
19463 Author: John (J5) Palmieri <johnp@redhat.com>
19464 Date: Mon Sep 19 13:19:57 2011 -0400
19466 prep for 3.0 release
19468 configure.ac | 6 +++---
19469 1 file changed, 3 insertions(+), 3 deletions(-)
19471 commit fbd58b70c2c3c1128f95a87eb4cc8313b6a401b8
19472 Author: John (J5) Palmieri <johnp@redhat.com>
19473 Date: Fri Sep 16 14:19:15 2011 -0400
19475 up version required of gobject-introspection to 1.29.0
19477 configure.ac | 2 +-
19478 1 file changed, 1 insertion(+), 1 deletion(-)
19480 commit 225f21117b6b3546989abe22538c784291e86b2a
19481 Author: John (J5) Palmieri <johnp@redhat.com>
19482 Date: Fri Sep 16 12:26:10 2011 -0400
19486 * remove some unused vars
19487 * correctly cast vars
19488 * handle deprecated enums in switch statments by using default:
19489 * unused wanrings still remain in some places
19491 gi/pygi-argument.c | 2 +-
19492 gi/pygi-cache.c | 7 ++-----
19493 gi/pygi-info.c | 6 ++++++
19494 gi/pygi-invoke.c | 2 +-
19495 gi/pygi-marshal-from-py.c | 17 +++++++++--------
19496 gi/pygi-marshal-to-py.c | 3 +--
19497 6 files changed, 20 insertions(+), 17 deletions(-)
19499 commit 9a70f01288e1b049206d25d67938907f1b38a490
19500 Author: John (J5) Palmieri <johnp@redhat.com>
19501 Date: Fri Sep 16 12:24:38 2011 -0400
19505 configure.ac | 2 +-
19506 1 file changed, 1 insertion(+), 1 deletion(-)
19508 commit 3ec4020205e909ee4400650434f9ae7b89c2bde8
19509 Author: John (J5) Palmieri <johnp@redhat.com>
19510 Date: Thu Sep 15 18:12:01 2011 -0400
19512 edit HACKING file to show correct tag format
19515 1 file changed, 1 insertion(+), 1 deletion(-)
19517 commit 2e864fd05bc0adf48df9f65ab72785ebb1d0d3f0
19518 Author: John (J5) Palmieri <johnp@redhat.com>
19519 Date: Thu Sep 15 18:10:33 2011 -0400
19521 update NEWS file to prep for release
19523 NEWS | 35 +++++++++++++++++++++++++++++++++++
19524 1 file changed, 35 insertions(+)
19526 commit 0da687fa699aba4f42c42a924d6754e2bd47df50
19527 Author: John (J5) Palmieri <johnp@redhat.com>
19528 Date: Thu Sep 15 17:59:31 2011 -0400
19530 fix typo s/lenth/length
19532 gi/overrides/Gtk.py | 2 +-
19533 1 file changed, 1 insertion(+), 1 deletion(-)
19535 commit 0e4861abaff64d8e7e8d1aeedf9dd1e80de8aab2
19536 Author: John (J5) Palmieri <johnp@redhat.com>
19537 Date: Thu Sep 15 17:48:58 2011 -0400
19539 fix typo in docstring
19541 gi/_gobject/propertyhelper.py | 2 +-
19542 1 file changed, 1 insertion(+), 1 deletion(-)
19544 commit e7fcc326d64def610e5a1003cf6c7ca97023814d
19545 Author: John (J5) Palmieri <johnp@redhat.com>
19546 Date: Thu Sep 15 17:46:46 2011 -0400
19548 do not pass in len(str) to the length argument of
19549 gtk_test_buffer_insert* apis
19551 * in python 3 len(str) returns the number of characters while
19553 parameter is expecting the number of bytes. It also excepts -1
19555 terminated string. Since all of our strings are null terminated,
19557 set length to that.
19559 gi/overrides/Gtk.py | 6 ++----
19560 1 file changed, 2 insertions(+), 4 deletions(-)
19562 commit 6f380153afb3390f7da9f4b8befb1c4ee224da17
19563 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19564 Date: Mon Sep 12 21:07:20 2011 +0200
19566 Switch tarball compression format to tar.xz only.
19569 http://mail.gnome.org/archives/gnome-announce-list/2011-September/msg00031.html
19570 for more information.
19572 https://bugzilla.gnome.org/show_bug.cgi?id=659140
19574 configure.ac | 2 +-
19575 1 file changed, 1 insertion(+), 1 deletion(-)
19577 commit 11c45ac6dcb6ffad766d03bfc77f45a6d703a90d
19578 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19579 Date: Thu Sep 15 14:18:57 2011 +0200
19581 Remove pygtk_version attribute from internal gi._gobject module.
19583 This used to be provided for backwards compatibility with older PyGTK
19584 versions. As PyGObject3 no longer provides support for static bindings
19585 like PyGTK, the pygtk_version attribute has become obsolete.
19587 https://bugzilla.gnome.org/show_bug.cgi?id=659142
19589 gi/_gobject/gobjectmodule.c | 4 ----
19590 gi/_gobject/pygobject.h | 2 --
19591 2 files changed, 6 deletions(-)
19593 commit 7e48fd6dfd86b7082c3fd35d25d9693c56c9665a
19594 Author: John (J5) Palmieri <johnp@redhat.com>
19595 Date: Thu Sep 15 15:52:18 2011 -0400
19597 remove overridesdir from the .pc file and add it to the gi module
19599 * having the variable in the .pc file caused issues parallel
19601 for different versions of python
19602 * putting it into the module allows us to give the correct directory
19603 based on which version of python you run the script from
19604 * access the var as such:
19606 installdir = gi._overridesdir
19608 gi/__init__.py | 2 ++
19609 pygobject-3.0.pc.in | 10 +++++++++-
19610 2 files changed, 11 insertions(+), 1 deletion(-)
19612 commit beea7072a5a989be47a755ac46647380d4dbd6b4
19613 Author: John (J5) Palmieri <johnp@redhat.com>
19614 Date: Thu Sep 15 00:11:09 2011 -0400
19616 fix tests to correctly construct a dummy Gtk.TargetEntry
19618 * structs are sometimes a pain in gi. Simply constructing them
19620 the standard constructor (e.g. Gtk.TargetEntry()) will malloc
19622 but not correctly initialize the fields which can cause a crash.
19623 * tests didn't crash before because they were sending in bogus
19625 somehow did not trigger the issue
19626 * now with the C struct array marshallers doing the right thing,
19628 use of TargetEntry was causing a crash
19630 https://bugzilla.gnome.org/show_bug.cgi?id=627236
19632 tests/test_overrides.py | 4 ++--
19633 1 file changed, 2 insertions(+), 2 deletions(-)
19635 commit 46ba7f04ef3df08e07ddda5c10f0c98bec5fa183
19636 Author: John (J5) Palmieri <johnp@redhat.com>
19637 Date: Thu Sep 15 00:08:31 2011 -0400
19639 we now assume that C arrays of structs are flat so memcpy them
19642 * there is no way in GI to tell if a C array is flat or an array
19644 so we assume that all arrays of simple structs and gvalues are
19646 all arrays of objects and boxed structs are pointer arrays.
19647 * this will be removed once GI gets the ability to annotate level
19650 https://bugzilla.gnome.org/show_bug.cgi?id=627236
19652 gi/pygi-marshal-from-py.c | 35 ++++++++++++++++++++++++++++++++---
19653 tests/test_gi.py | 29 +++++++++++++++++++++++++++++
19654 2 files changed, 61 insertions(+), 3 deletions(-)
19656 commit e30a41592baa942188574e5c9f99572963e2e387
19657 Author: John (J5) Palmieri <johnp@redhat.com>
19658 Date: Thu Sep 15 00:02:34 2011 -0400
19660 only update the arg counts once if child arg comes before parent arg
19662 * if the child arg comes before the parent arg we need to update the
19663 argument counts and take the child arg out of the marshalling lists
19664 since it is handled by the parent
19665 * when two parents reference the same child arg as is the case with
19666 two arrays which have a single length argument we only want
19669 * to do this we introduce the PYGI_META_ARG_CHILD_NEEDS_UPDATE
19671 and only do the count update if this is set
19672 * APIs should keep in mind that this take extra processing so
19674 should really come after their parents
19676 https://bugzilla.gnome.org/show_bug.cgi?id=627236
19678 gi/pygi-cache.c | 30 ++++++++++++++++++++----------
19679 gi/pygi-cache.h | 9 +++++++--
19680 2 files changed, 27 insertions(+), 12 deletions(-)
19682 commit f6fa5dd8f39af1b8a52d7600d257400b0983e8c5
19683 Author: John (J5) Palmieri <johnp@redhat.com>
19684 Date: Wed Sep 14 20:26:15 2011 -0400
19686 Fix refcount bug by not creating python wrapper during gobject
19689 * This only applys to python subclasses of GObject which are
19692 * Because we were creating the wrapper when the gobject is
19694 and then again calling pygobject_new_full the wrapper would get
19696 * we could not simply Py_DECREF the wrapper due to the fact that
19697 non-subclassed objects (e.g. GObject.Object) instantiated via
19698 new do not run the same initialization code and would not have the
19700 * solution was to simply not create the wrapper during initialization
19701 because if it doesn't exist when pygobject_new_full is called
19702 it gets created and registered there
19703 * move the call to __init__ into pyg_object_new
19705 https://bugzilla.gnome.org/show_bug.cgi?id=657403
19707 gi/_gobject/gobjectmodule.c | 32 +++++++++++++++-----------------
19708 1 file changed, 15 insertions(+), 17 deletions(-)
19710 commit 61b64a65beee9011f8e4ed20f0a83e6630ba154f
19711 Author: John (J5) Palmieri <johnp@redhat.com>
19712 Date: Tue Sep 13 18:08:04 2011 -0400
19714 don't destroy just created wrapper when object is created via
19717 https://bugzilla.gnome.org/show_bug.cgi?id=657403
19719 gi/_gobject/gobjectmodule.c | 2 +-
19720 1 file changed, 1 insertion(+), 1 deletion(-)
19722 commit 93e12cc2eb7e7f2c18971da86e9c9452d3f566b7
19723 Author: Steve Frécinaux <code@istique.net>
19724 Date: Fri Aug 26 11:22:09 2011 +0200
19726 Remove deprecated API from pygobject.h
19728 https://bugzilla.gnome.org/show_bug.cgi?id=657416
19730 gi/_gobject/pygobject.h | 19 +------------------
19731 1 file changed, 1 insertion(+), 18 deletions(-)
19733 commit e1c71092af6e2cffa36248519adfceac1874051d
19734 Author: Marcin Owsiany <marcin@owsiany.pl>
19735 Date: Wed Aug 31 09:43:28 2011 +0100
19737 Convert gtk.TRUE/FALSE to Python True/False.
19739 https://bugzilla.gnome.org/show_bug.cgi?id=657785
19741 pygi-convert.sh | 2 ++
19742 1 file changed, 2 insertions(+)
19744 commit 3ace5c2e2268285a5dcb39889fcb2a71bc1063bd
19745 Author: Steve Frécinaux <code@istique.net>
19746 Date: Fri Sep 2 08:37:15 2011 +0200
19748 Drop legacy __gobject_init__ method of GObject.Object.
19750 This method was used in gobject initialization at some point, but now
19751 using GObject.__init__() is sufficient, so let's not keep this old
19752 method around and let people misuse it.
19754 https://bugzilla.gnome.org/show_bug.cgi?id=658032
19756 examples/signal.py | 2 --
19757 gi/_gobject/pygobject.c | 11 -----------
19758 2 files changed, 13 deletions(-)
19760 commit fcd457d1d1d8a813acb2ebfe5ee0e9aab2c9c88c
19761 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19762 Date: Tue Sep 13 12:05:30 2011 +0200
19764 AM_CHECK_PYTHON_LIBS does not work for lib64
19766 But on Windows, Python extension modules need to be explicitly
19767 linked to libpython.
19769 https://bugzilla.gnome.org/show_bug.cgi?id=658856
19771 configure.ac | 4 +++-
19772 gi/Makefile.am | 9 ++++++---
19773 gi/_glib/Makefile.am | 10 ++++++++--
19774 gi/_gobject/Makefile.am | 8 +++++++-
19775 4 files changed, 24 insertions(+), 7 deletions(-)
19777 commit 863c087911203a8f3ebaa8e77622a3437a7cd320
19778 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19779 Date: Mon Sep 12 23:03:05 2011 +0200
19781 Remove common_ldflags from Makefile.am as it is no longer used.
19783 https://bugzilla.gnome.org/show_bug.cgi?id=658856
19785 Makefile.am | 6 ------
19786 1 file changed, 6 deletions(-)
19788 commit 24b920f9922e367bdb8b3e56c2f61e0c8f5cdb66
19789 Author: John (J5) Palmieri <johnp@redhat.com>
19790 Date: Tue Sep 13 16:20:48 2011 -0400
19792 cast params for PyObject_IsInstance to suppress warnings
19794 gi/_gobject/pygobject-private.h | 4 ++--
19795 1 file changed, 2 insertions(+), 2 deletions(-)
19797 commit 861369ec59b17f67151813dc2e87c6e86126b954
19798 Author: John (J5) Palmieri <johnp@redhat.com>
19799 Date: Tue Sep 13 16:04:31 2011 -0400
19801 check if object is actually a PyGFlag before trying to access g_type
19803 * we are lucky this bit of code worked for as long as it did but when
19804 checking if an object is a PyGFlag we can't just rely on looking
19805 at the g_type field because if a regular gobject is passed in
19806 as is the case when you compare a long to a gflag, the gobject
19807 will not have a g_type field. Accessing a non-existant field
19808 could at best give you a false positive and at worse read
19809 memory beyond the bounds of the actual structure passed in
19811 gi/_gobject/pygobject-private.h | 4 ++--
19812 1 file changed, 2 insertions(+), 2 deletions(-)
19814 commit eea93e89fb064253bd8903c8b453daf4b3c87c2c
19815 Author: John (J5) Palmieri <johnp@redhat.com>
19816 Date: Tue Sep 13 16:03:02 2011 -0400
19818 fix regression - add instance type checks since Py3 no longer does
19821 gi/pygi-marshal-from-py.c | 21 +++++++++++++++++++--
19822 1 file changed, 19 insertions(+), 2 deletions(-)
19824 commit a4e4318b50a24a688e32579273fbcfa51d1b422a
19825 Author: John (J5) Palmieri <johnp@redhat.com>
19826 Date: Fri Sep 2 18:39:51 2011 -0400
19828 refactor in/out marshalling to be to_py/from_py
19830 * in/out make sense from a C perspective but when you get to the
19831 python layers it makes more sense to label them as to_py and
19832 from_py to denote which way we are marshalling
19833 * this helps clear up the difference between callbacks which
19834 call into python and invoked functions which call into C
19835 * in the callback case we marshal in values to Python objects
19836 and out values to C types but in the invoke case we do the
19837 reverse. Dealing with to_py/from_py makes the code much more
19838 resuable and consistant
19840 https://bugzilla.gnome.org/show_bug.cgi?id=658362
19842 gi/Makefile.am | 8 +-
19843 gi/pygi-cache.c | 673
19844 ++++++++++++-----------
19845 gi/pygi-cache.h | 62 ++-
19846 gi/pygi-invoke.c | 144 ++---
19847 gi/pygi-marshal-cleanup.c | 168 +++---
19848 gi/pygi-marshal-cleanup.h | 128 ++---
19849 gi/{pygi-marshal-in.c => pygi-marshal-from-py.c} | 372 ++++++-------
19850 gi/pygi-marshal-from-py.h | 186 +++++++
19851 gi/pygi-marshal-in.h | 186 -------
19852 gi/pygi-marshal-out.h | 144 -----
19853 gi/{pygi-marshal-out.c => pygi-marshal-to-py.c} | 278 +++++-----
19854 gi/pygi-marshal-to-py.h | 144 +++++
19855 12 files changed, 1267 insertions(+), 1226 deletions(-)
19857 commit 45b0fcff9e948c65a3903c32a3957802034c5e47
19858 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19859 Date: Fri Sep 9 16:50:25 2011 +0200
19861 Examples: fix cairo-demo.py imports
19863 examples/cairo-demo.py | 6 +++---
19864 1 file changed, 3 insertions(+), 3 deletions(-)
19866 commit 3ca19fc13e6024fd04851e6f269020a92b09fa17
19867 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19868 Date: Fri Sep 9 15:08:27 2011 +0200
19870 Fix paths and add missing overridesdir variable used in uninstalled
19873 https://bugzilla.gnome.org/show_bug.cgi?id=658654
19875 pygobject-3.0-uninstalled.pc.in | 14 +++++++-------
19876 1 file changed, 7 insertions(+), 7 deletions(-)
19878 commit 6e773175b9d2f46b3df5075ec952a8c5aff3c607
19879 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19880 Date: Fri Sep 9 15:08:04 2011 +0200
19882 Remove no longer used variables from pkgconfig files
19884 https://bugzilla.gnome.org/show_bug.cgi?id=658654
19886 pygobject-3.0-uninstalled.pc.in | 6 ------
19887 pygobject-3.0.pc.in | 5 +----
19888 2 files changed, 1 insertion(+), 10 deletions(-)
19890 commit 81d388780311311d8dc4a027a59d114edf9a00fc
19891 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19892 Date: Fri Sep 9 14:57:58 2011 +0200
19894 docs/Makefile.am and m4/python.m4: Python3 portability fixes
19896 https://bugzilla.gnome.org/show_bug.cgi?id=658652
19898 docs/Makefile.am | 2 +-
19899 m4/python.m4 | 2 +-
19900 2 files changed, 2 insertions(+), 2 deletions(-)
19902 commit 7e692ee061406e48e4862b98a0829650b1d6d585
19903 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19904 Date: Fri Sep 9 14:57:46 2011 +0200
19906 Refactor and clean Makefile.am files
19908 https://bugzilla.gnome.org/show_bug.cgi?id=658652
19911 gi/Makefile.am | 81 +++++++++++++++++++++++--------------
19912 gi/_glib/Makefile.am | 100
19913 ++++++++++++++++++++++++++++++----------------
19914 gi/_gobject/Makefile.am | 85 ++++++++++++++++++++-------------------
19915 gi/overrides/Makefile.am | 4 +-
19916 gi/repository/Makefile.am | 4 +-
19917 6 files changed, 162 insertions(+), 114 deletions(-)
19919 commit 3dd59b07d1f4a93ee1f65d6a64e1afb6f5e84232
19920 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19921 Date: Fri Sep 9 14:57:36 2011 +0200
19923 Remove all PLATFORM_VERSION = 2.0 traces
19925 https://bugzilla.gnome.org/show_bug.cgi?id=658652
19927 gi/Makefile.am | 2 --
19928 gi/overrides/Makefile.am | 1 -
19929 gi/repository/Makefile.am | 1 -
19930 3 files changed, 4 deletions(-)
19932 commit db1e484bfa157967de55ee2e0e18a82b8e388b61
19933 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19934 Date: Fri Sep 9 14:57:25 2011 +0200
19936 Remove gi/tests/ directory as all the tests now live in tests/
19938 https://bugzilla.gnome.org/show_bug.cgi?id=658652
19940 gi/tests/Makefile.am | 24 ------------------------
19941 gi/tests/runtests.py | 21 ---------------------
19942 2 files changed, 45 deletions(-)
19944 commit b0ecbf00138ef1147e478ebf3c66f0e9b3f85dfc
19945 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19946 Date: Fri Sep 9 14:55:25 2011 +0200
19948 autogen.sh: Use autoreconf instead of a custom script and honor
19951 https://bugzilla.gnome.org/show_bug.cgi?id=658652
19955 +++++++------------------------------------------------------
19956 2 files changed, 12 insertions(+), 85 deletions(-)
19958 commit 4671f5397003f376f00830e3fd1c214de594619f
19959 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19960 Date: Fri Sep 9 14:55:01 2011 +0200
19962 use improved python.m4 macros to search for Python headers and libs
19964 https://bugzilla.gnome.org/show_bug.cgi?id=658652
19966 configure.ac | 3 ++-
19967 m4/python.m4 | 47 +++++++++++++++++++++++++++++++++++++----------
19968 2 files changed, 39 insertions(+), 11 deletions(-)
19970 commit 2c9fd09da196d35db968bff4ae63fcce2d891e69
19971 Author: Javier Jardón <jjardon@gnome.org>
19972 Date: Fri Sep 9 15:38:22 2011 +0100
19974 Make maintiner mode enabled by default
19977 http://blogs.gnome.org/desrt/2011/09/08/am_maintainer_mode-is-not-cool/
19979 configure.ac | 2 +-
19980 1 file changed, 1 insertion(+), 1 deletion(-)
19982 commit b24dcb415406668931e02a1f669ef9861bb3a660
19983 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19984 Date: Wed Aug 24 09:58:10 2011 +0200
19986 Disable documentation for now since they are completely wrong for GI.
19988 https://bugzilla.gnome.org/show_bug.cgi?id=657054
19991 configure.ac | 25 -------------------------
19992 2 files changed, 1 insertion(+), 26 deletions(-)
19994 commit ecea2358a379c8ff44dff2f8f9c30a9092af1681
19995 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19996 Date: Wed Sep 7 10:38:28 2011 +0200
19998 Fix documentation installation directory
20000 https://bugzilla.gnome.org/show_bug.cgi?id=657054
20002 docs/Makefile.am | 5 +++--
20003 1 file changed, 3 insertions(+), 2 deletions(-)
20005 commit 8d3125c8ce9890c70400dd8a3ac273b590fe6a31
20006 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20007 Date: Tue Sep 6 22:22:11 2011 +0200
20009 Remove distutils based build system.
20011 The only reason this might be brought back to life again is when
20012 the whole stack can be built with Visual Studio (including
20013 gobject-introspection) again. Building with MinGW/MSYS can now
20014 be done with the usual autogen.sh/configure/make/make install dance.
20016 https://bugzilla.gnome.org/show_bug.cgi?id=657054
20019 Makefile.am | 25 +--
20020 README.win32 | 21 --
20022 -----------------------------------------------
20023 pygobject_postinstall.py | 9 -
20024 setup.py | 351 --------------------------------
20025 6 files changed, 7 insertions(+), 915 deletions(-)
20027 commit b82d916635aa0b732840548088a3fcfcb2e41bc4
20028 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20029 Date: Wed Sep 7 10:40:36 2011 +0200
20031 [gtk-demo] Fix syntax highlighter encoding issue
20033 With Python 3, Gtk.TextBuffer.get_text returns a str (not bytes), with
20034 Python 2 however we get a str (not unicode). So with Python 2 the
20035 tokenizer returned bogus data when ran over a demo that contains real
20036 UTF-8 codepoints (like rotatedtext.py for example).
20038 This patch thus fixes the "Gtk-CRITICAL **:
20039 gtk_text_iter_set_line_offset:
20040 assertion `char_on_line <= chars_in_line` failed" assertions when
20042 the rotated text demo in the treeview.
20044 demos/gtk-demo/gtk-demo.py | 3 +++
20045 1 file changed, 3 insertions(+)
20047 commit 31db3ed3d233bd495c3a2f99b3fa51031bfa30c6
20048 Author: Ignacio Casal Quinteiro <icq@gnome.org>
20049 Date: Tue Sep 6 22:13:54 2011 +0200
20051 overrides: add constants for atoms
20053 gi/overrides/Gdk.py | 49
20054 +++++++++++++++++++++++++++++++++++++++++++++++++
20055 1 file changed, 49 insertions(+)
20057 commit 81861bc2d664eb38d46e5c38ff755d436f040f63
20058 Author: Steve Frécinaux <code@istique.net>
20059 Date: Wed Aug 31 14:18:56 2011 +0200
20061 Drop pygobject_construct() from public API.
20063 These functions were introduced in 2005 because python objects
20065 "just" be instantiated using g_object_new(), but this is not true
20066 anymore since the introduction of new-style constructors. Hence
20068 has no reason to be there anymore.
20070 Nowadays, people who want to construct GObjects defined in python
20072 just use g_object_new().
20074 https://bugzilla.gnome.org/show_bug.cgi?id=657814
20076 gi/_gobject/gobjectmodule.c | 118
20077 +++++++++-------------------------------
20078 gi/_gobject/pygobject-private.h | 3 -
20079 gi/_gobject/pygobject.h | 8 ---
20080 3 files changed, 26 insertions(+), 103 deletions(-)
20082 commit c4c55a98ccf9e39ed0d10ed49b66a76dc7d7c509
20083 Author: Ignacio Casal Quinteiro <icq@gnome.org>
20084 Date: Wed Aug 31 18:00:44 2011 +0200
20086 post release version bump
20088 configure.ac | 2 +-
20089 1 file changed, 1 insertion(+), 1 deletion(-)
20091 commit ac5a0f46242abdd3cd98ec5f9f2bf8e5b05f3845
20092 Author: Ignacio Casal Quinteiro <icq@gnome.org>
20093 Date: Wed Aug 31 17:58:37 2011 +0200
20097 NEWS | 12 ++++++++++++
20098 1 file changed, 12 insertions(+)
20100 commit 429569abddada5a3bad554de707ddf35b349936e
20101 Author: John (J5) Palmieri <johnp@redhat.com>
20102 Date: Thu Aug 25 13:57:53 2011 -0400
20104 support skip annotation for return values
20106 * this is used for things like skiping gboolean returns that are
20107 useful is C but useless in python
20109 * cleans up after skipped returns that are also marked transfer
20111 https://bugzilla.gnome.org/show_bug.cgi?id=650135
20113 gi/pygi-cache.c | 1 +
20114 gi/pygi-cache.h | 1 +
20115 gi/pygi-invoke.c | 48
20116 ++++++++++++++++++++++++++++++------------------
20117 tests/test_everything.py | 8 ++++++++
20118 4 files changed, 40 insertions(+), 18 deletions(-)
20120 commit 7a234b185b131f3eb6a6e8a8c717ddf4d508b15e
20121 Author: Xavier Claessens <xclaesse@gmail.com>
20122 Date: Tue Aug 2 12:05:12 2011 +0200
20124 Test GPtrArray regression
20126 tests/test_everything.py | 3 +++
20127 1 file changed, 3 insertions(+)
20129 commit 42fc9fa437102c882844a0e70a081ab08de92658
20130 Author: Steve Frécinaux <code@istique.net>
20131 Date: Fri Aug 26 10:53:43 2011 +0200
20133 Drop support for old constructor style.
20135 Bindings don't write their own constructors anymore, and the old style
20136 has been deprecated for ages, so let's just drop them now and make
20139 https://bugzilla.gnome.org/show_bug.cgi?id=657413
20141 gi/_gobject/gobjectmodule.c | 20 --------------------
20142 gi/_gobject/pygobject-private.h | 1 -
20143 gi/_gobject/pygobject.c | 1 -
20144 gi/_gobject/pygobject.h | 2 --
20145 gi/gimodule.c | 28 ----------------------------
20147 tests/testhelpermodule.c | 5 -----
20148 7 files changed, 59 deletions(-)
20150 commit 3961a405e1bddef22e1a5a0c7aa3ae55e4ec09ad
20151 Author: Steve Frécinaux <code@istique.net>
20152 Date: Fri Aug 26 10:45:59 2011 +0200
20154 Drop support for sink functions.
20156 Sink functions were meant to deal with floating references in a custom
20157 way. They are not useful anymore with the dynamic bindings.
20159 https://bugzilla.gnome.org/show_bug.cgi?id=642233
20161 gi/_gobject/gobjectmodule.c | 1 -
20162 gi/_gobject/pygobject.c | 53 ----------------------------------------
20163 gi/_gobject/pygobject.h | 4 ---
20164 tests/test-floating.c | 59
20165 +++++++--------------------------------------
20166 tests/test-floating.h | 42 +++++++++-----------------------
20167 tests/test_gobject.py | 13 +++-------
20168 tests/testhelpermodule.c | 32 +++++++-----------------
20169 7 files changed, 32 insertions(+), 172 deletions(-)
20171 commit 631d8ef879a13492945a3e30b3df9863a4ba2f44
20172 Author: Mike Gorse <mgorse@novell.com>
20173 Date: Wed Aug 24 17:30:09 2011 -0500
20175 Reinstate copying of in-line structs in arrays
20177 For arrays of in-line, non-boxed structures with (transfer full),
20178 _pygi_marshal_free_out_array eventually gets called and frees
20180 data, so we should copy it (IE, BGO#653588).
20182 https://bugzilla.gnome.org/show_bug.cgi?id=657120
20184 gi/pygi-marshal-out.c | 8 +++++++-
20185 1 file changed, 7 insertions(+), 1 deletion(-)
20187 commit f38511f251602e18551c04617cc2e2d42e812e1e
20188 Author: John (J5) Palmieri <johnp@redhat.com>
20189 Date: Tue Aug 23 14:18:43 2011 -0400
20191 fix inline struct array handling
20193 * we now assume any non-boxed structs are inline in an array since
20195 no way to check in GI and this is the most common use for an
20199 https://bugzilla.gnome.org/show_bug.cgi?id=657120
20201 gi/pygi-marshal-out.c | 23 +++++++++--------------
20202 tests/test_gi.py | 8 ++++++++
20203 2 files changed, 17 insertions(+), 14 deletions(-)
20205 commit d92846a5446b0dd2e69c813f56224a1966ab1a33
20206 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20207 Date: Tue Aug 23 11:30:41 2011 +0200
20209 [gtk-demo] printing.py: set print and error dialog transient parent
20211 demos/gtk-demo/demos/printing.py | 8 ++++----
20212 1 file changed, 4 insertions(+), 4 deletions(-)
20214 commit 1aebc1565752840075027b9452fe2a67217bf53b
20215 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20216 Date: Tue Aug 23 11:28:05 2011 +0200
20218 [gtk-demo] printing.py: exit Gtk mainloop when done and correctly
20219 handle printing errors
20221 demos/gtk-demo/demos/printing.py | 14 ++++++++++----
20222 1 file changed, 10 insertions(+), 4 deletions(-)
20224 commit 1f9e4486c5b84209ce0038887738fc16a4ef7da3
20225 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20226 Date: Tue Aug 23 08:05:43 2011 +0200
20228 [gtk-demo] show "activated" demo's in italic font in the TreeView
20230 demos/gtk-demo/gtk-demo.py | 7 +++++--
20231 1 file changed, 5 insertions(+), 2 deletions(-)
20233 commit 971d063f7a36e13ef6621db7002b00af52f6292a
20234 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20235 Date: Mon Aug 22 14:52:28 2011 +0200
20237 [gtk-demo] source colorizer: Python3 does not have the BACKQUOTE
20238 token, so simply remove it
20240 demos/gtk-demo/gtk-demo.py | 5 +----
20241 1 file changed, 1 insertion(+), 4 deletions(-)
20243 commit c2979a37d6d505095b6e55789150a6498d95819d
20244 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20245 Date: Mon Aug 22 14:22:18 2011 +0200
20247 [gtk-demo] In Python3, GLib.file_get_contents returns a bytes object
20248 but Gtk.TextBuffer.insert expects a string.
20250 Fixed by using codes.open() as hinted in
20251 http://docs.python.org/dev/howto/pyporting.html#text-files
20252 section "If pre-2.6 compatibility is needed" (because configure.ac
20253 is still happy with Python 2.5.2).
20255 demos/gtk-demo/gtk-demo.py | 6 +++++-
20256 1 file changed, 5 insertions(+), 1 deletion(-)
20258 commit 9ea56535f35abbea4cd977dea4c89247e4b01694
20259 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20260 Date: Mon Aug 22 12:30:24 2011 +0200
20262 [gtk-demo] images.py: fix 'Insensitive 'button mnenomic
20264 demos/gtk-demo/demos/images.py | 2 +-
20265 1 file changed, 1 insertion(+), 1 deletion(-)
20267 commit 7829dae1cdb8697a19c2b5e158ef0e08f6c2558b
20268 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20269 Date: Mon Aug 22 10:38:04 2011 +0200
20271 [gtk-demo] printing.py: fix Pango.EllipsizeType > Pango.EllipsizeMode
20274 demos/gtk-demo/demos/printing.py | 4 ++--
20275 1 file changed, 2 insertions(+), 2 deletions(-)
20277 commit 07f0274301d77d9bf62b49a14b059d9a52afb445
20278 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20279 Date: Mon Aug 22 10:37:08 2011 +0200
20281 [gtk-demo] printing.py: fix text file loading
20283 demos/gtk-demo/demos/printing.py | 32 ++++++++++++++++----------------
20284 1 file changed, 16 insertions(+), 16 deletions(-)
20286 commit 135148a4c35aac1d132b0b8fa3adbf1fdcdb3a24
20287 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20288 Date: Mon Aug 22 10:20:35 2011 +0200
20290 [gtk-demo] pixbuf.py: fix image loading
20292 demos/gtk-demo/demos/pixbuf.py | 25 +++++++++++--------------
20293 1 file changed, 11 insertions(+), 14 deletions(-)
20295 commit a93cae2c80e30a408f86e7e6c4d15a538011a189
20296 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20297 Date: Mon Aug 22 10:10:02 2011 +0200
20299 [gtk-demo] images.py: fix logo loading
20301 demos/gtk-demo/demos/images.py | 70
20302 +++++++++++++++++-------------------------
20303 1 file changed, 29 insertions(+), 41 deletions(-)
20305 commit eddc0824e0e4c156fca5de05bdeb600c534d4b24
20306 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20307 Date: Wed Aug 24 12:19:21 2011 +0200
20309 [gtk-demo] appwindow.py: set AboutDialog parent
20311 demos/gtk-demo/demos/appwindow.py | 7 +++----
20312 1 file changed, 3 insertions(+), 4 deletions(-)
20314 commit 7fe10a5b33148b1f029f3d34f76b7f880c1c2e7a
20315 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20316 Date: Mon Aug 22 07:58:25 2011 +0200
20318 [gtk-demo] appwindow.py: fix logo loading
20320 demos/gtk-demo/demos/appwindow.py | 10 +++-------
20321 1 file changed, 3 insertions(+), 7 deletions(-)
20323 commit 62fda288c1c37167c589e8e9d49ed625f770a98a
20324 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20325 Date: Mon Aug 22 07:57:31 2011 +0200
20327 [gtk-demo] appwindow.py: fix callback signatures
20329 demos/gtk-demo/demos/appwindow.py | 6 +++---
20330 1 file changed, 3 insertions(+), 3 deletions(-)
20332 commit 87e9ab4d3a0aac4f4710aa0f8af0a1736f781ad9
20333 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20334 Date: Mon Aug 22 07:48:28 2011 +0200
20336 [gtk-demo] fix glib vs GLib usage
20338 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 2 +-
20339 demos/gtk-demo/demos/appwindow.py | 2 +-
20340 2 files changed, 2 insertions(+), 2 deletions(-)
20342 commit d29cad6976a80862e1fc590d3e7d190e8a234866
20343 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20344 Date: Wed Aug 24 12:19:02 2011 +0200
20346 [gtk-demo] iconviewedit.py: fix for Gdk.color_parse API breakage
20347 caused by improved GDK overrides
20349 demos/gtk-demo/demos/Icon View/iconviewedit.py | 6 +++---
20350 1 file changed, 3 insertions(+), 3 deletions(-)
20352 commit f29d3a85a275a39e8481484779264b0dea1160ab
20353 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20354 Date: Mon Aug 22 07:25:32 2011 +0200
20356 [gtk-demo] optimize source colorizer by only preparing iters for
20357 known colorized tokens
20359 demos/gtk-demo/gtk-demo.py | 20 +++++++++++++++-----
20360 1 file changed, 15 insertions(+), 5 deletions(-)
20362 commit ecd1eb00b19733da3f2e3d7935792378f34cab19
20363 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20364 Date: Fri Aug 19 18:31:20 2011 +0200
20366 [gtk-demo] small formatting fixes
20368 demos/gtk-demo/demos/Entry/entry_buffer.py | 1 +
20369 demos/gtk-demo/demos/Entry/entry_completion.py | 1 +
20370 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 8 ++++----
20371 demos/gtk-demo/demos/assistant.py | 1 +
20372 demos/gtk-demo/demos/builder.py | 4 +++-
20373 demos/gtk-demo/demos/button_box.py | 1 +
20374 demos/gtk-demo/demos/clipboard.py | 1 +
20375 demos/gtk-demo/demos/colorselector.py | 1 +
20376 demos/gtk-demo/demos/combobox.py | 1 +
20377 demos/gtk-demo/demos/drawingarea.py | 4 +++-
20378 demos/gtk-demo/demos/test.py | 2 ++
20379 11 files changed, 19 insertions(+), 6 deletions(-)
20381 commit c42cb4da399ff5732f4ca732b85134de796a60fa
20382 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20383 Date: Fri Aug 19 18:30:50 2011 +0200
20385 [gtk-demo] remove "is_fully_bound" from demos
20387 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 --
20388 demos/gtk-demo/demos/Entry/entry_completion.py | 2 --
20389 demos/gtk-demo/demos/appwindow.py | 3 ---
20390 demos/gtk-demo/demos/assistant.py | 2 --
20391 demos/gtk-demo/demos/builder.py | 2 --
20392 demos/gtk-demo/demos/button_box.py | 2 --
20393 demos/gtk-demo/demos/clipboard.py | 2 --
20394 demos/gtk-demo/demos/colorselector.py | 2 --
20395 demos/gtk-demo/demos/combobox.py | 2 --
20396 demos/gtk-demo/demos/drawingarea.py | 2 --
20397 demos/gtk-demo/demos/test.py | 1 -
20398 11 files changed, 22 deletions(-)
20400 commit cad6a62c63f455f0b1315465a9cd71c0f02b12a5
20401 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20402 Date: Fri Aug 19 18:26:31 2011 +0200
20404 [gtk-demo] add source colorizer loosely based on PyGTK's pygtk-demo
20405 and GTK+'s gtk-demo code
20407 demos/gtk-demo/gtk-demo.py | 116
20408 +++++++++++++++++++++++++++++++++++++++------
20409 1 file changed, 101 insertions(+), 15 deletions(-)
20411 commit 250c36f4a8352ff1b31c1c85b156d3e803d4b8ef
20412 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20413 Date: Fri Aug 19 15:08:15 2011 +0200
20415 [gtk-demo] remove C-isms
20417 demos/gtk-demo/gtk-demo.py | 28 ++++++++++++++--------------
20418 1 file changed, 14 insertions(+), 14 deletions(-)
20420 commit cf35fe8e259e786d0fa21b08b1f5c64c9bb0a84e
20421 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20422 Date: Fri Aug 19 14:54:39 2011 +0200
20424 [gtk-demo] fix text on info tab to be more like GTK+'s gtk-demo
20426 demos/gtk-demo/gtk-demo.py | 4 ++--
20427 1 file changed, 2 insertions(+), 2 deletions(-)
20429 commit 241827208e25c72a990d8edd95a3b879470d6409
20430 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20431 Date: Fri Aug 19 14:40:56 2011 +0200
20433 [gtk-demo] remove duplicate storage of demos by only storing them
20434 in a TreeStore subclass
20436 This also moves demos loading code into the TreeStore subclass and
20437 demo loading code into the Demo class
20439 demos/gtk-demo/gtk-demo.py | 151
20440 +++++++++++++++++++++------------------------
20441 1 file changed, 70 insertions(+), 81 deletions(-)
20443 commit 58797c355a08a35375988881a17958bb42ad54bb
20444 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20445 Date: Fri Aug 19 14:40:00 2011 +0200
20447 [gtk-demo] make GtkDemoApp a Gtk.Window subclass and adapt main()
20448 to demonstrate the GLib.MainLoop
20450 demos/gtk-demo/gtk-demo.py | 43
20451 ++++++++++++++++++++++++++-----------------
20452 1 file changed, 26 insertions(+), 17 deletions(-)
20454 commit 1e4fc1ea54527cff78f6c633db39e9a0bd3c64d2
20455 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20456 Date: Fri Aug 19 11:46:17 2011 +0200
20458 [gtk-demo] correctly load demo code when cwd != demos/gtk-demo/
20460 demos/gtk-demo/gtk-demo.py | 39 +++++++++++++++++++++++----------------
20461 1 file changed, 23 insertions(+), 16 deletions(-)
20463 commit 6ffc999fbd4c9990fb5bde53ddd46d139b53245e
20464 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20465 Date: Fri Aug 19 11:02:35 2011 +0200
20467 [gtk-demo] drawingarea: fix labels
20469 demos/gtk-demo/demos/drawingarea.py | 4 ++--
20470 1 file changed, 2 insertions(+), 2 deletions(-)
20472 commit 9fd3986affe11cbc5a816adcccdc56d0592f3618
20473 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20474 Date: Fri Aug 19 09:57:31 2011 +0200
20476 [gtk-demo] fix imports
20478 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 6 ++++--
20479 demos/gtk-demo/demos/appwindow.py | 9 ++++++---
20480 demos/gtk-demo/gtk-demo.py | 8 ++++----
20481 3 files changed, 14 insertions(+), 9 deletions(-)
20483 commit 9f314babfdee3b82799e00ea003972b0bbe6a8d5
20484 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20485 Date: Fri Aug 19 10:07:14 2011 +0200
20487 [gtk-demo] fix shebang
20489 demos/gtk-demo/gtk-demo.py | 2 +-
20490 1 file changed, 1 insertion(+), 1 deletion(-)
20492 commit 01142060ae7d71a8a1f7d3e9bbc6f52e65f01c8d
20493 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20494 Date: Fri Aug 19 12:27:04 2011 +0200
20496 Added support for __setitem__ to TreeModel and support for slices
20499 https://bugzilla.gnome.org/show_bug.cgi?id=656891
20501 gi/overrides/Gtk.py | 26 ++++++++++++++++++++--
20502 tests/test_overrides.py | 57
20503 +++++++++++++++++++++++++++++++++++++++++++++++++
20504 2 files changed, 81 insertions(+), 2 deletions(-)
20506 commit d6da96c65b2ed3cda238886990a624fbc31f6987
20507 Author: Olav Vitters <olav@vitters.nl>
20508 Date: Wed Aug 24 16:31:12 2011 +0200
20510 Convert ACCEL_* constants into Gtk.AccelFlags.
20512 pygi-convert.sh | 1 +
20513 1 file changed, 1 insertion(+)
20515 commit 0841d41698302abb5d987849a5874252564ed428
20516 Author: Olav Vitters <olav@vitters.nl>
20517 Date: Wed Aug 24 16:22:17 2011 +0200
20519 Convert TREE_VIEW_DROP_* constants into Gtk.TreeViewDropPosition
20521 pygi-convert.sh | 1 +
20522 1 file changed, 1 insertion(+)
20524 commit 37b0d0f9dc3d485829cae6e50da369fdea91a2d1
20525 Author: John (J5) Palmieri <johnp@redhat.com>
20526 Date: Thu Aug 18 14:06:32 2011 -0400
20528 post commit version bump
20530 configure.ac | 2 +-
20531 1 file changed, 1 insertion(+), 1 deletion(-)
20533 commit e51efc50835a14e0418cc27cc928c52d1aa6a3cf
20534 Author: John (J5) Palmieri <johnp@redhat.com>
20535 Date: Thu Aug 18 14:02:30 2011 -0400
20539 NEWS | 10 ++++++++++
20540 1 file changed, 10 insertions(+)
20542 commit 74c727b53fcf64f465ee77b5a1ea04a69ca90968
20543 Author: John (J5) Palmieri <johnp@redhat.com>
20544 Date: Thu Aug 18 13:50:51 2011 -0400
20546 remove tests that were removed from gi
20548 tests/test_gi.py | 11 -----------
20549 1 file changed, 11 deletions(-)
20551 commit 11ea24dd30d8eeca11c8433c6bd75b06e52ae1ef
20552 Author: John (J5) Palmieri <johnp@redhat.com>
20553 Date: Thu Aug 18 13:48:57 2011 -0400
20555 don't calculate item_size using is_pointer
20557 * is_pointer is poorly defined and cacluating item_size for
20558 arrays causes a crash in the tests because of this
20559 * disregaurd is_pointer when cacluating item sizes
20561 gi/pygi-info.c | 8 ++------
20562 1 file changed, 2 insertions(+), 6 deletions(-)
20564 commit 493b4a21dd162d78cf572b548b58ba6a9ff22971
20565 Author: Timo Vanwynsberghe <timovwb@gmail.com>
20566 Date: Wed Jul 6 01:50:31 2011 +0200
20568 Updated signal example to use GObject introspection
20570 https://bugzilla.gnome.org/show_bug.cgi?id=654162
20572 examples/signal.py | 9 ++++-----
20573 1 file changed, 4 insertions(+), 5 deletions(-)
20575 commit 0332010e704e253380e993874eab9dd122e59a7e
20576 Author: Timo Vanwynsberghe <timovwb@gmail.com>
20577 Date: Wed Jul 6 01:54:50 2011 +0200
20579 Updated properties example to use GObject introspection
20581 https://bugzilla.gnome.org/show_bug.cgi?id=654162
20583 examples/properties.py | 14 +++++++-------
20584 1 file changed, 7 insertions(+), 7 deletions(-)
20586 commit c39f4555ebd703651eca6f978ed9870655b737f0
20587 Author: Martin Pitt <martin.pitt@ubuntu.com>
20588 Date: Fri Aug 12 22:55:02 2011 +0200
20590 Add override for GLib.Variant.split_signature()
20592 This is useful for e. g. iterating over method parameters which are
20594 single Variant. In particular we will need it for automatically
20596 introspection XML for exported DBus server objects.
20598 gi/overrides/GLib.py | 50
20599 +++++++++++++++++++++++++++++++++++++++++++++++++
20600 tests/test_overrides.py | 22 ++++++++++++++++++++++
20601 2 files changed, 72 insertions(+)
20603 commit 735f98d83c1c19df7457aa32a378e8c80cf2831f
20604 Author: Timo Vanwynsberghe <timovwb@gmail.com>
20605 Date: Mon Aug 15 18:58:31 2011 +0200
20607 [pygi-convert.sh] Handle the import of pygtk and require Gtk 3.0
20609 https://bugzilla.gnome.org/show_bug.cgi?id=654001
20611 pygi-convert.sh | 2 ++
20612 1 file changed, 2 insertions(+)
20614 commit d0a96a0a75f2bc969522abce2d326ef440cf143a
20615 Author: Ignacio Casal Quinteiro <icq@gnome.org>
20616 Date: Mon Aug 15 13:12:49 2011 +0200
20618 Install pygobject.h again.
20620 This is needed by libpeas.
20622 gi/_gobject/Makefile.am | 5 ++++-
20623 pygobject-3.0-uninstalled.pc.in | 4 ++--
20624 pygobject-3.0.pc.in | 6 +++---
20625 3 files changed, 9 insertions(+), 6 deletions(-)
20627 commit 081dc2eb03b677eac9f08d3ad05deecc7c51554c
20628 Author: John (J5) Palmieri <johnp@redhat.com>
20629 Date: Sun Aug 14 11:20:15 2011 -0400
20631 update the doap file
20633 pygobject.doap | 26 ++++++++++++++------------
20634 1 file changed, 14 insertions(+), 12 deletions(-)
20636 commit 762a36d2343bc39a502507d600fd1b9db9649dae
20637 Author: John (J5) Palmieri <johnp@redhat.com>
20638 Date: Sun Aug 14 11:13:25 2011 -0400
20642 configure.ac | 2 +-
20643 1 file changed, 1 insertion(+), 1 deletion(-)
20645 commit d3f85a61ec4b1a1d04838f73dc8d862258150048
20646 Author: John (J5) Palmieri <johnp@redhat.com>
20647 Date: Sun Aug 14 10:13:37 2011 -0400
20649 get things ready for release
20652 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
20653 1 file changed, 194 insertions(+)
20655 commit ffd057649380d4249c1c52e1225e3646f3994bc6
20656 Author: John (J5) Palmieri <johnp@redhat.com>
20657 Date: Sun Aug 14 05:26:18 2011 -0400
20659 pass exta keywords to the Box constructor
20661 gi/overrides/Gtk.py | 4 ++--
20662 1 file changed, 2 insertions(+), 2 deletions(-)
20664 commit cadbd4142bd0045368b5123d4b0a1876bdd5d798
20665 Author: John (J5) Palmieri <johnp@redhat.com>
20666 Date: Sat Aug 13 11:03:07 2011 -0400
20668 add (Tree|List)Store set method override
20670 gi/overrides/Gtk.py | 50 ++++++++++++++++++++++++
20671 tests/test_overrides.py | 102
20672 ++++++++++++++++++++++++++++++++++++++++++++++--
20673 2 files changed, 149 insertions(+), 3 deletions(-)
20675 commit 9ee9b22bd95e44bd2eca26e7bf3b0a9a988700c5
20676 Author: John (J5) Palmieri <johnp@redhat.com>
20677 Date: Sat Aug 13 09:19:29 2011 -0400
20679 add test for object arrays
20681 tests/test_everything.py | 6 ++++++
20682 1 file changed, 6 insertions(+)
20684 commit c9d9ffd0380878792cbdb13dec4e53be897e5fbc
20685 Author: John (J5) Palmieri <johnp@redhat.com>
20686 Date: Sat Aug 13 08:46:18 2011 -0400
20688 only support C pointer arrays for structs and objects
20690 * There is no way to know if an array of structs or objects are
20692 or flat arrays. Since pointer arrays are the most useful and
20694 it has been decided to only support those arrays
20696 gi/pygi-marshal-out.c | 2 +-
20697 tests/test_gi.py | 8 --------
20698 2 files changed, 1 insertion(+), 9 deletions(-)
20700 commit b12379de1790b72d51883bf7b63c892639a892e7
20701 Author: John (J5) Palmieri <johnp@redhat.com>
20702 Date: Sat Aug 13 06:31:52 2011 -0400
20704 revert Gtk.Window override because it causes issues with subclasses
20706 gi/overrides/Gtk.py | 9 ---------
20707 1 file changed, 9 deletions(-)
20709 commit 3e64a62d6d7f9e9d2820aad54187ef9c34710a1f
20710 Author: Jonathan Matthew <jonathan@d14n.org>
20711 Date: Thu Apr 7 21:05:32 2011 +1000
20713 take GIL in _pygi_invoke_closure_free (bug #647016)
20715 gi/pygi-closure.c | 3 +++
20716 1 file changed, 3 insertions(+)
20718 commit f8de9b8615f5dc30f492781d792aef5fc1e9ab73
20719 Author: Johan Dahlin <jdahlin@litl.com>
20720 Date: Mon Jun 27 00:41:24 2011 -0300
20722 Add a default parameter to GtkTreeModel.filter_new
20724 https://bugzilla.gnome.org/show_bug.cgi?id=653462
20726 gi/overrides/Gtk.py | 3 +++
20727 1 file changed, 3 insertions(+)
20729 commit 583d0b3c6b53712128d7c2d5f075000a2a76ae5f
20730 Author: Johan Dahlin <jdahlin@litl.com>
20731 Date: Mon Jun 27 00:40:12 2011 -0300
20733 Add vbox/action_area properties
20735 Accessing vbox/action_area directly creates segmentation fault,
20736 avoid that by mapping the fields to their getters for PyGTK
20739 https://bugzilla.gnome.org/show_bug.cgi?id=653462
20741 gi/overrides/Gtk.py | 3 +++
20742 1 file changed, 3 insertions(+)
20744 commit 017fdfc1dd06259006719e02ffa48883cee01ffd
20745 Author: Johan Dahlin <jdahlin@litl.com>
20746 Date: Mon Jun 27 00:39:41 2011 -0300
20748 Add a couple of constructors
20750 This is for PyGTK compatibility, so that gtk.HBox(True, 2) etc
20753 https://bugzilla.gnome.org/show_bug.cgi?id=653462
20755 gi/overrides/Gtk.py | 40 ++++++++++++++++++++++++++++++++++++++++
20756 1 file changed, 40 insertions(+)
20758 commit af8bc9d5cdba48a7ee728ccb7ea9039df3ecceba
20759 Author: Johan Dahlin <jdahlin@litl.com>
20760 Date: Mon Jun 27 00:38:30 2011 -0300
20762 Do not always pass in user_data to callbacks.
20764 This keeps API compatibility with PyGTK and avoids sending
20765 in user_data if it's None.
20767 https://bugzilla.gnome.org/show_bug.cgi?id=653462
20769 gi/overrides/Gtk.py | 15 ++++++++++++---
20770 1 file changed, 12 insertions(+), 3 deletions(-)
20772 commit 7914d814350af1a18bdeda64f049c8e9a68d1d18
20773 Author: Johan Dahlin <jdahlin@litl.com>
20774 Date: Mon Jun 27 00:38:20 2011 -0300
20776 Add a default detail value for Widget.render_icon
20778 https://bugzilla.gnome.org/show_bug.cgi?id=653462
20780 gi/overrides/Gtk.py | 3 +++
20781 1 file changed, 3 insertions(+)
20783 commit 5b1c875269b7979caae97e84919a690a34d92f29
20784 Author: Johan Dahlin <jdahlin@litl.com>
20785 Date: Mon Jun 27 00:36:20 2011 -0300
20787 Add an override for Gdk.color_parse()
20789 Change Gdk.color_parse() to not return a tuple, instead just
20790 return the created color or None if it wasn't possible to parse
20791 the name into a color.
20793 This keeps compatibility with PyGTK but breaks the current API.
20795 https://bugzilla.gnome.org/show_bug.cgi?id=653462
20797 gi/overrides/Gdk.py | 8 ++++++++
20798 1 file changed, 8 insertions(+)
20800 commit 187a2932bbf1e724f759ff3ed3392fc7341c6aa8
20801 Author: Laszlo Pandy <lpandy@src.gnome.org>
20802 Date: Mon Aug 8 12:06:18 2011 +0200
20804 Support function calling with keyword arguments in invoke.
20806 https://bugzilla.gnome.org/show_bug.cgi?id=625596
20808 gi/pygi-cache.c | 39 ++++++++++++
20809 gi/pygi-cache.h | 4 ++
20810 gi/pygi-invoke.c | 162
20811 +++++++++++++++++++++++++++++++++++++++++++++--
20812 gi/types.py | 12 ++--
20813 tests/test_everything.py | 2 +-
20814 tests/test_gi.py | 58 +++++++++++++++++
20815 6 files changed, 265 insertions(+), 12 deletions(-)
20817 commit e5df32ffbf37481dbb6a70c4d4e7b7b9778c5549
20818 Author: John (J5) Palmieri <johnp@redhat.com>
20819 Date: Sat Aug 13 04:13:28 2011 -0400
20821 remove references to deprecated GI_INFO_TYPE_ERROR_DOMAIN
20823 gi/pygi-info.c | 5 -----
20824 1 file changed, 5 deletions(-)
20826 commit 745001178fc72be5626c7211366d694f41162987
20827 Author: Martin Pitt <martin.pitt@ubuntu.com>
20828 Date: Thu Aug 11 15:11:42 2011 +0200
20830 Fix gobject vs. gi.repository warning
20832 Check the warning earlier and fix the operator, so that it actually
20834 update the warning to explain how to fix the problem.
20836 gi/_gobject/__init__.py | 8 ++++----
20837 1 file changed, 4 insertions(+), 4 deletions(-)
20839 commit 25d2d05cba05414cd4551e0e06f6286a9b97a509
20840 Author: John (J5) Palmieri <johnp@redhat.com>
20841 Date: Fri Jul 22 15:46:31 2011 -0400
20843 make GObject and GLib able to take overrides
20845 * derive directly from DynamicModule instead of InterfaceModule
20847 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20849 gi/importer.py | 11 +++---
20851 ++++++++++++++++++++++++++++-----------------------------
20852 2 files changed, 64 insertions(+), 65 deletions(-)
20854 commit 698b2284e29c0f699198cf6a22eeb0e399daba6e
20855 Author: John (J5) Palmieri <johnp@redhat.com>
20856 Date: Fri Jul 22 15:45:09 2011 -0400
20858 avoid dependency issue by importing the internal gobject
20860 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20862 gi/__init__.py | 2 +-
20863 1 file changed, 1 insertion(+), 1 deletion(-)
20865 commit 7b068ebe59884ebd9aeb4425dc80cdff73a66fb1
20866 Author: John (J5) Palmieri <johnp@redhat.com>
20867 Date: Fri Jul 22 14:13:02 2011 -0400
20869 fix tests to use the new GLib module
20871 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20873 tests/test_mainloop.py | 7 +++----
20874 tests/test_option.py | 3 ++-
20875 tests/test_source.py | 24 +++++++++++-------------
20876 tests/test_subprocess.py | 12 +++++-------
20877 tests/test_thread.py | 10 ++++------
20878 tests/test_uris.py | 4 ++--
20879 6 files changed, 27 insertions(+), 33 deletions(-)
20881 commit 191ef79315f8a5641699536fde58da18e23ef904
20882 Author: John (J5) Palmieri <johnp@redhat.com>
20883 Date: Fri Jul 22 14:11:53 2011 -0400
20885 add DynamicGLibModule which works like DynamicGObjectModule
20887 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20889 gi/importer.py | 7 +++++--
20890 gi/module.py | 32 +++++++++++++++++++++++++++++---
20891 2 files changed, 34 insertions(+), 5 deletions(-)
20893 commit fbd4a8263260c187211799454c08b1e55e2cb998
20894 Author: John (J5) Palmieri <johnp@redhat.com>
20895 Date: Fri Jul 22 12:27:41 2011 -0400
20897 refactor, add objects and types to the correct internal module
20899 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20901 gi/_glib/pygiochannel.c | 38 +++++++++++++++++++-------------------
20902 gi/_glib/pygmaincontext.c | 2 +-
20903 gi/_glib/pygmainloop.c | 4 ++--
20904 gi/_glib/pygoptioncontext.c | 4 ++--
20905 gi/_glib/pygoptiongroup.c | 4 ++--
20906 gi/_glib/pygsource.c | 14 +++++++-------
20907 gi/_glib/pygspawn.c | 14 +++++++-------
20908 7 files changed, 40 insertions(+), 40 deletions(-)
20910 commit 7431b49a161df9178c55b814d3adff992ac2d722
20911 Author: John (J5) Palmieri <johnp@redhat.com>
20912 Date: Fri Jul 22 12:26:32 2011 -0400
20914 rename the pyglib shared library so we don't load the old one
20916 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20918 gi/Makefile.am | 2 +-
20919 gi/_glib/Makefile.am | 10 +++++-----
20920 gi/_gobject/Makefile.am | 2 +-
20921 3 files changed, 7 insertions(+), 7 deletions(-)
20923 commit b8700451acd4a19b59b64fc8641fca748d2189e2
20924 Author: John (J5) Palmieri <johnp@redhat.com>
20925 Date: Fri Jul 22 11:20:09 2011 -0400
20927 refactor tests to only use PyGObject 3 syntax
20929 * for PyGObject 3 we want to discourage the use of legacy
20931 * Using interfaces like from gi.repository import GObject makes
20932 sure that the internal _gobject module is loaded and not
20933 PyGObject 2's gobject module which would cause the application
20934 to not work correctly
20936 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20938 tests/runtests-windows.py | 4 +-
20939 tests/test_gdbus.py | 12 ++---
20940 tests/test_gi.py | 4 +-
20941 tests/test_gobject.py | 31 ++++++------
20942 tests/test_interface.py | 16 +++---
20943 tests/test_mainloop.py | 3 +-
20944 tests/test_overrides.py | 8 +--
20945 tests/test_properties.py | 124
20946 +++++++++++++++++++++++-----------------------
20947 tests/test_signal.py | 98 ++++++++++++++++++------------------
20948 tests/test_source.py | 5 +-
20949 tests/test_subprocess.py | 3 +-
20950 tests/test_thread.py | 5 +-
20951 tests/test_unknown.py | 8 +--
20952 tests/testhelpermodule.c | 2 +-
20953 tests/testmodule.py | 10 ++--
20954 15 files changed, 169 insertions(+), 164 deletions(-)
20956 commit c980dae21468fe073cc8782608148c346bb90ad7
20957 Author: John (J5) Palmieri <johnp@redhat.com>
20958 Date: Fri Jul 22 11:16:00 2011 -0400
20960 refactor the internal _glib module to import correct modules
20962 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20964 gi/_glib/__init__.py | 3 ++-
20965 gi/_glib/glibmodule.c | 10 +++++-----
20966 gi/_glib/option.py | 4 ++--
20967 gi/_glib/pyglib.c | 18 +++++++++---------
20968 4 files changed, 18 insertions(+), 17 deletions(-)
20970 commit 65ac35cca8d24f4c133991e1c6ac02f49416a9a4
20971 Author: John (J5) Palmieri <johnp@redhat.com>
20972 Date: Fri Jul 22 11:10:46 2011 -0400
20974 refactor to use the new internal _glib and _gobject modules
20976 * use relative imports instead of aboslute
20977 * fix the C imports to import the internal _gobject libs
20978 * add a check to see if the PyGObject 2 gobject module
20979 was already imported
20981 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20983 gi/_gobject/__init__.py | 20 +++++++++++++-------
20984 gi/_gobject/constants.py | 3 +--
20985 gi/_gobject/gobjectmodule.c | 2 +-
20986 gi/_gobject/propertyhelper.py | 11 +++++------
20987 gi/_gobject/pygobject.c | 16 ++++++++--------
20988 gi/_gobject/pygobject.h | 2 +-
20989 6 files changed, 29 insertions(+), 25 deletions(-)
20991 commit 59ed1289f76bc287443b3974710ea0da3e2cc8cc
20992 Author: John (J5) Palmieri <johnp@redhat.com>
20993 Date: Fri Jul 22 11:07:10 2011 -0400
20995 refactor gi module to import and use internal _gobject module
20997 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20999 gi/importer.py | 2 --
21000 gi/module.py | 31 ++++++++++++++++---------------
21001 gi/overrides/Gtk.py | 2 +-
21002 gi/overrides/__init__.py | 6 +++---
21003 gi/pygobject-external.h | 2 +-
21004 gi/types.py | 12 ++++++------
21005 6 files changed, 27 insertions(+), 28 deletions(-)
21007 commit 6b9d738d78c6ac45d49f00402c89356887555069
21008 Author: John (J5) Palmieri <johnp@redhat.com>
21009 Date: Fri Jul 22 11:02:49 2011 -0400
21011 move the static bits internal to gi and refactor build files
21013 * the glib module now becomes the gi._glib module
21014 * the gobject module now becomes the gi._gobject module
21015 * we do this so we can install in parallel with PyGObject 2
21017 https://bugzilla.gnome.org/show_bug.cgi?id=642048
21020 configure.ac | 6 +++---
21021 gi/Makefile.am | 8 +++++---
21022 {glib => gi/_glib}/Makefile.am | 5 +----
21023 {glib => gi/_glib}/__init__.py | 0
21024 {glib => gi/_glib}/glibmodule.c | 0
21025 {glib => gi/_glib}/option.py | 0
21026 {glib => gi/_glib}/pygiochannel.c | 0
21027 {glib => gi/_glib}/pygiochannel.h | 0
21028 {glib => gi/_glib}/pyglib-private.h | 0
21029 {glib => gi/_glib}/pyglib-python-compat.h | 0
21030 {glib => gi/_glib}/pyglib.c | 0
21031 {glib => gi/_glib}/pyglib.h | 0
21032 {glib => gi/_glib}/pygmaincontext.c | 0
21033 {glib => gi/_glib}/pygmaincontext.h | 0
21034 {glib => gi/_glib}/pygmainloop.c | 0
21035 {glib => gi/_glib}/pygmainloop.h | 0
21036 {glib => gi/_glib}/pygoptioncontext.c | 0
21037 {glib => gi/_glib}/pygoptioncontext.h | 0
21038 {glib => gi/_glib}/pygoptiongroup.c | 0
21039 {glib => gi/_glib}/pygoptiongroup.h | 0
21040 {glib => gi/_glib}/pygsource.c | 0
21041 {glib => gi/_glib}/pygsource.h | 0
21042 {glib => gi/_glib}/pygspawn.c | 0
21043 {glib => gi/_glib}/pygspawn.h | 0
21044 {gobject => gi/_gobject}/Makefile.am | 10 ++++------
21045 {gobject => gi/_gobject}/__init__.py | 0
21046 {gobject => gi/_gobject}/constants.py | 0
21047 {gobject => gi/_gobject}/ffi-marshaller.c | 0
21048 {gobject => gi/_gobject}/ffi-marshaller.h | 0
21049 {gobject => gi/_gobject}/gobjectmodule.c | 0
21050 {gobject => gi/_gobject}/propertyhelper.py | 0
21051 {gobject => gi/_gobject}/pygboxed.c | 0
21052 {gobject => gi/_gobject}/pygboxed.h | 0
21053 {gobject => gi/_gobject}/pygenum.c | 0
21054 {gobject => gi/_gobject}/pygenum.h | 0
21055 {gobject => gi/_gobject}/pygflags.c | 0
21056 {gobject => gi/_gobject}/pygflags.h | 0
21057 {gobject => gi/_gobject}/pyginterface.c | 0
21058 {gobject => gi/_gobject}/pyginterface.h | 0
21059 {gobject => gi/_gobject}/pygobject-private.h | 0
21060 {gobject => gi/_gobject}/pygobject.c | 0
21061 {gobject => gi/_gobject}/pygobject.h | 0
21062 {gobject => gi/_gobject}/pygparamspec.c | 0
21063 {gobject => gi/_gobject}/pygparamspec.h | 0
21064 {gobject => gi/_gobject}/pygpointer.c | 0
21065 {gobject => gi/_gobject}/pygpointer.h | 0
21066 {gobject => gi/_gobject}/pygtype.c | 0
21067 {gobject => gi/_gobject}/pygtype.h | 0
21068 tests/Makefile.am | 2 +-
21069 50 files changed, 15 insertions(+), 18 deletions(-)
21071 commit f0d2ddcf7e61c36f79a9adf8ccc53bf3db9349d3
21072 Author: John (J5) Palmieri <johnp@redhat.com>
21073 Date: Mon Jul 18 18:46:31 2011 -0400
21077 https://bugzilla.gnome.org/show_bug.cgi?id=642048
21079 Makefile.am | 5 ----
21081 -------------------------------------------------------------
21082 2 files changed, 100 deletions(-)
21084 commit 75e9f7d80d9224c05e6063b88479f1baee48c489
21085 Author: John (J5) Palmieri <johnp@redhat.com>
21086 Date: Mon Jul 18 18:41:41 2011 -0400
21088 introspection is no longer optional
21090 https://bugzilla.gnome.org/show_bug.cgi?id=642048
21092 Makefile.am | 8 +-------
21093 configure.ac | 43 +++++++++++++++++--------------------------
21094 gi/pygi.h | 37 -------------------------------------
21095 gobject/Makefile.am | 5 +----
21096 tests/Makefile.am | 7 +------
21097 5 files changed, 20 insertions(+), 80 deletions(-)
21099 commit d862168d6a82edd59547d39f5b0ab8279b1e511c
21100 Author: John (J5) Palmieri <johnp@redhat.com>
21101 Date: Mon Jul 18 18:28:50 2011 -0400
21103 up platform version to 3.0
21105 https://bugzilla.gnome.org/show_bug.cgi?id=642048
21110 pygobject-2.0-uninstalled.pc.in => pygobject-3.0-uninstalled.pc.in | 0
21111 pygobject-2.0.pc.in => pygobject-3.0.pc.in | 0
21112 4 files changed, 3 insertions(+), 3 deletions(-)
21114 commit 5189b360ccddbbaee267ce857968fbf1aafdd07a
21115 Author: Martin Pitt <martin.pitt@ubuntu.com>
21116 Date: Thu Aug 11 09:53:15 2011 +0200
21118 [gi] Handle GVariants from callback return values
21120 Callbacks still use GIArgument, add missing GVariant support for
21123 gi/pygi-argument.c | 6 ++++--
21124 1 file changed, 4 insertions(+), 2 deletions(-)
21126 commit 18a240cc492d2e5ebe2709a0d7155e27c8ff9e63
21127 Author: Martin Pitt <martin.pitt@ubuntu.com>
21128 Date: Wed Aug 10 14:11:10 2011 +0200
21130 Handle GVariants for callback arguments
21132 Callbacks still use GIArgument, add missing GVariant support. This
21134 equivalent of what commit 9d5604220bd56 did for pygi_marshall_*().
21136 gi/pygi-argument.c | 7 +++++++
21137 1 file changed, 7 insertions(+)
21139 commit aa820d6ce2fee83e61e3e9de7c6b7d2452e2847d
21140 Author: Laszlo Pandy <lpandy@src.gnome.org>
21141 Date: Mon Aug 8 01:58:10 2011 +0200
21143 [gi] Fix crash: check return value of
21144 _invoke_state_init_from_callable_cache() before continuing.
21146 gi/pygi-invoke.c | 4 +++-
21147 1 file changed, 3 insertions(+), 1 deletion(-)
21149 commit eaad9f3c71cedfe28ff2d2bb05ea6c64e323715f
21150 Author: Laszlo Pandy <lpandy@src.gnome.org>
21151 Date: Fri Aug 5 21:03:33 2011 +0200
21153 [gi] Pass gtype as first parameter to vfuncs (instead of using
21156 gi/pygi-invoke.c | 32 ++++++++++++++++++--------------
21158 2 files changed, 19 insertions(+), 15 deletions(-)
21160 commit 76edfd0d5776f61c92c84fd9fb8dcc246c580e93
21161 Author: John (J5) Palmieri <johnp@redhat.com>
21162 Date: Mon Jul 18 18:21:51 2011 -0400
21167 codegen/Makefile.am | 33 -
21168 codegen/README.defs | 351 --------
21169 codegen/__init__.py | 16 -
21170 codegen/argtypes.py | 1043 -----------------------
21171 codegen/code-coverage.py | 44 -
21172 codegen/codegen.py | 1722
21173 --------------------------------------
21174 codegen/createdefs.py | 17 -
21175 codegen/definitions.py | 575 -------------
21176 codegen/defsconvert.py | 132 ---
21177 codegen/defsgen.py | 737 ----------------
21178 codegen/defsparser.py | 153 ----
21179 codegen/docextract.py | 461 ----------
21180 codegen/docextract_to_xml.py | 142 ----
21181 codegen/docgen.py | 766 -----------------
21182 codegen/h2def.py | 631 --------------
21183 codegen/mergedefs.py | 26 -
21184 codegen/missingdefs.py | 17 -
21185 codegen/mkskel.py | 89 --
21186 codegen/override.py | 285 -------
21187 codegen/pygobject-codegen-2.0.in | 11 -
21188 codegen/reversewrapper.py | 912 --------------------
21189 codegen/scanvirtuals.py | 54 --
21190 codegen/scmexpr.py | 143 ----
21192 pygobject-2.0-uninstalled.pc.in | 1 -
21193 pygobject-2.0.pc.in | 1 -
21194 27 files changed, 1 insertion(+), 8368 deletions(-)
21196 commit bf284c7c47c3e52ab4d8700327a170903e9ebad2
21197 Author: John (J5) Palmieri <johnp@redhat.com>
21198 Date: Mon Jul 18 11:04:58 2011 -0400
21200 remove some left over ifdefs to complete merge of the invoke-rewrite
21203 gi/pygi-cache.h | 2 --
21204 gi/pygi-info.c | 2 --
21205 gi/pygi-private.h | 5 +----
21207 4 files changed, 1 insertion(+), 10 deletions(-)
21209 commit 8c653ec3033fab47c4bb4071b5732a349357141f
21210 Author: John (J5) Palmieri <johnp@redhat.com>
21211 Date: Mon Jul 18 10:59:45 2011 -0400
21213 rename pygi-invoke-ng to pygi-invoke
21215 gi/Makefile.am | 3 ++-
21216 gi/{pygi-invoke-ng.c => pygi-invoke.c} | 0
21217 2 files changed, 2 insertions(+), 1 deletion(-)
21219 commit 62d59fa2c2b31d7a3cac8996d58234d4b13bb19f
21220 Author: John (J5) Palmieri <johnp@redhat.com>
21221 Date: Mon Jul 18 10:56:36 2011 -0400
21223 make invoke-ng the only invoker
21225 configure.ac | 11 -
21226 gi/Makefile.am | 10 +-
21227 gi/pygi-invoke.c | 1030
21228 ------------------------------------------------------
21229 3 files changed, 1 insertion(+), 1050 deletions(-)
21231 commit 2937cfe5bb7122dd3783c7919294d6a34a3dfc05
21232 Merge: 519e556 917ea2d
21233 Author: John (J5) Palmieri <johnp@redhat.com>
21234 Date: Mon Jul 18 10:45:18 2011 -0400
21236 Merge branch 'master' into invoke-rewrite
21238 commit 519e556dc1e5874e1668bad93043fb9258c7ee79
21239 Merge: bab7e88 38cca3c
21240 Author: John (J5) Palmieri <johnp@redhat.com>
21241 Date: Mon Jul 18 10:37:20 2011 -0400
21243 Merge branch 'master' into invoke-rewrite
21245 commit bab7e88251bffcd360186c6dedc26be8eb077084
21246 Author: John (J5) Palmieri <johnp@redhat.com>
21247 Date: Mon Jul 18 10:35:10 2011 -0400
21249 split the marshalling routines into two source files
21251 * update copy and paste copyright info to list the correct owner
21253 gi/Makefile.am | 6 +-
21254 gi/pygi-cache.c | 3 +-
21255 gi/{pygi-marshal.c => pygi-marshal-in.c} | 739
21256 +----------------------------
21257 gi/{pygi-marshal.h => pygi-marshal-in.h} | 117 -----
21258 gi/pygi-marshal-out.c | 767
21259 +++++++++++++++++++++++++++++++
21260 gi/pygi-marshal-out.h | 144 ++++++
21261 6 files changed, 920 insertions(+), 856 deletions(-)
21263 commit 917ea2dfa2d097e563233145003a66b3e4423287
21264 Author: Martin Pitt <martin.pitt@ubuntu.com>
21265 Date: Thu Jul 14 11:21:10 2011 +0200
21267 Ship tests/te_ST@nouppera in release tarballs for tests to succeed
21269 tests/Makefile.am | 1 +
21270 1 file changed, 1 insertion(+)
21272 commit e024e832ab9c82d3e299cc6e1cb427de44f2d16e
21273 Author: John (J5) Palmieri <johnp@redhat.com>
21274 Date: Wed Jul 13 15:43:02 2011 -0400
21276 [invoke] break out caller_allocates allocating into its own function
21278 gi/pygi-invoke-ng.c | 78
21279 +++++++++++++++++++++++++++++++++--------------------
21280 1 file changed, 49 insertions(+), 29 deletions(-)
21282 commit fc8b8ce768ac780f7ed9edc63b70dd35194153c0
21283 Author: John (J5) Palmieri <johnp@redhat.com>
21284 Date: Wed Jul 13 15:42:26 2011 -0400
21286 [invoke] missed a bit when removing constructor_class usage
21288 gi/pygi-invoke-ng.c | 2 +-
21289 1 file changed, 1 insertion(+), 1 deletion(-)
21291 commit c94bcf4ae7e36f90c356c89712b00609f9f849bd
21292 Author: John (J5) Palmieri <johnp@redhat.com>
21293 Date: Wed Jul 13 15:16:17 2011 -0400
21295 [invoke] don't hold on to the constructor class, just add a TODO
21297 gi/pygi-invoke-ng.c | 11 +++++------
21298 gi/pygi-invoke-state-struct.h | 1 -
21299 2 files changed, 5 insertions(+), 7 deletions(-)
21301 commit c11d3195f324ea41e86e3da7ff99b55425c2faec
21302 Author: Martin Pitt <martin.pitt@ubuntu.com>
21303 Date: Wed Jul 13 10:40:25 2011 +0200
21305 [gi] Port test_properties from static gio to GI Gio
21307 As we ripped out the static gio bindings a while ago, this test case
21309 the system installed gio bindings with Python 2, and now fails
21311 Python 3. Rewrite it to use gi.repository.Gio.
21313 tests/test_properties.py | 38 +++++++++++++++++++-------------------
21314 1 file changed, 19 insertions(+), 19 deletions(-)
21316 commit 8f89ff24fcac627ce15ca93038711fded1a7c5ed
21317 Author: Martin Pitt <martin.pitt@ubuntu.com>
21318 Date: Wed Jul 13 08:42:22 2011 +0200
21320 [python3] Fix maketrans import
21322 Python3 moved the maketrans() function from the string module to a
21324 This unbreaks gi/module.py for Python 3 again.
21326 gi/module.py | 8 ++++++--
21327 1 file changed, 6 insertions(+), 2 deletions(-)
21329 commit 20aea4b052126fa0bface3e6e0dccfd77f9505b1
21330 Author: John (J5) Palmieri <johnp@redhat.com>
21331 Date: Fri Jul 8 14:39:22 2011 -0400
21333 [caching] remove all inline compiler flags
21335 gi/pygi-cache.c | 96
21336 ++++++++++++++++++++++++++++-----------------------------
21337 1 file changed, 48 insertions(+), 48 deletions(-)
21339 commit bf7bb79b66ad406063fb443e7452d830c55986ef
21340 Author: John (J5) Palmieri <johnp@redhat.com>
21341 Date: Fri Jul 8 14:35:20 2011 -0400
21343 [caching] refactor function names to be less confusing
21345 gi/pygi-cache.c | 307
21346 +++++++++++++++++++++++++++-----------------------------
21347 1 file changed, 150 insertions(+), 157 deletions(-)
21349 commit c167a9345b01c070bd5a84b4a4b3a53baf9e217d
21350 Author: John (J5) Palmieri <johnp@redhat.com>
21351 Date: Fri Jul 8 11:24:09 2011 -0400
21353 [overrides] deprecate the use of type keyword MessageDialog
21356 * pygtk used type to determine the "type" of message dialog to
21358 use the proper property name "message_type" since we should not be
21359 overriding a reserved word
21360 * to keep compat with pygtk we check the kwds hash for the key
21362 assign it to message_type while throwing a deprecation warning
21363 * also add a deprication warning when trying to use the depricated
21367 gi/overrides/Gtk.py | 13 ++++++++-----
21368 1 file changed, 8 insertions(+), 5 deletions(-)
21370 commit 367e4ededd4a45125157050bcc9e4e685fd4a82d
21371 Author: Martin Pitt <martin.pitt@ubuntu.com>
21372 Date: Fri Jul 8 10:15:53 2011 +0200
21374 gdbus tests: Fix hang if test case fails
21376 In the TestGDBusClient.test_native_calls_async() test case, the main
21378 never quit when the call failed.
21380 tests/test_gdbus.py | 6 ++++--
21381 1 file changed, 4 insertions(+), 2 deletions(-)
21383 commit 11b578400cbf9f7c270b662a5e8953ccd466e5ef
21384 Author: John (J5) Palmieri <johnp@redhat.com>
21385 Date: Thu Jul 7 19:30:11 2011 -0400
21387 use an enum instead of booleans to denote function type
21389 gi/pygi-cache.c | 85
21390 ++++++++++++++++++++++++++++++-----------------------
21391 gi/pygi-cache.h | 18 +++++++++---
21392 gi/pygi-invoke-ng.c | 8 ++---
21393 3 files changed, 67 insertions(+), 44 deletions(-)
21395 commit 10e31005baec26f61c0f8fca2b5c0337b0be6c70
21396 Author: John (J5) Palmieri <johnp@redhat.com>
21397 Date: Thu Jul 7 15:18:03 2011 -0400
21399 rename aux arguments to child arguments to make their purpose clearer
21401 gi/pygi-cache.c | 64
21402 ++++++++++++++++++++++++++---------------------------
21403 gi/pygi-cache.h | 29 ++++++++++++++++--------
21404 gi/pygi-invoke-ng.c | 10 ++++-----
21405 gi/pygi-marshal.c | 12 +++++-----
21406 4 files changed, 63 insertions(+), 52 deletions(-)
21408 commit b4ad91c40f713ebdc278ce40b011e4adf9ddbbd7
21409 Author: Timo Vanwynsberghe <timovwb@gmail.com>
21410 Date: Thu Jul 7 10:59:08 2011 +0200
21412 Fixed the cairo example
21414 https://bugzilla.gnome.org/show_bug.cgi?id=653844
21416 examples/cairo-demo.py | 6 ++----
21417 1 file changed, 2 insertions(+), 4 deletions(-)
21419 commit a606bab1ddc605167f2e9dc7c46c8f929fdce23b
21420 Author: Adam Dingle <adam@yorba.org>
21421 Date: Tue Jul 5 14:28:20 2011 -0700
21423 Add override binding for Gtk.ListStore.prepend().
21425 https://bugzilla.gnome.org/show_bug.cgi?id=654056
21427 gi/overrides/Gtk.py | 8 ++++++++
21428 tests/test_overrides.py | 13 ++++++++++++-
21429 2 files changed, 20 insertions(+), 1 deletion(-)
21431 commit fc5c869486c7f6929e285ea7a86623ec41ecd9bd
21432 Author: Martin Pitt <martin.pitt@ubuntu.com>
21433 Date: Thu Jul 7 13:39:19 2011 +0200
21435 Fix crash in Gtk.TextIter overrides
21437 With commit 17cd0fb3 Gtk.TextIter.{forward,backward}_search()
21439 pointers when the search was unsuccessful. Actually check the
21441 value; if it is False return None, just like PyGTK used to.
21443 Thanks to Michael Vogt for discovering this and writing the test case!
21447 -------------- 8< -----------------
21448 from gi.repository import Gtk
21450 win = Gtk.Window.new(Gtk.WindowType.TOPLEVEL)
21451 textview = Gtk.TextView()
21452 buffer = textview.get_buffer()
21453 buffer.set_text("hello world")
21458 iter = buffer.get_start_iter()
21459 end = buffer.get_end_iter()
21460 ret = iter.forward_search("foo",
21461 Gtk.TextSearchFlags.VISIBLE_ONLY,
21463 print "this is my return value"
21465 print "now I crash"
21466 print ret[0].get_offset()
21469 -------------- 8< -----------------
21471 gi/overrides/Gtk.py | 10 ++++++++--
21472 1 file changed, 8 insertions(+), 2 deletions(-)
21474 commit 5c04fc5b2ca7e262c052426d5863d69d0c4a24da
21475 Author: John (J5) Palmieri <johnp@redhat.com>
21476 Date: Tue Jul 5 15:57:23 2011 -0400
21478 use gssize instead of int for arg indexes
21480 gi/pygi-cache.c | 24 ++++++++++++------------
21481 gi/pygi-cache.h | 6 +++---
21482 gi/pygi-invoke-ng.c | 6 +++---
21483 gi/pygi-marshal-cleanup.c | 6 +++---
21484 4 files changed, 21 insertions(+), 21 deletions(-)
21486 commit ecc09749c34cd4eabf47cc722d768b042dc0be9f
21487 Author: John (J5) Palmieri <johnp@redhat.com>
21488 Date: Tue Jul 5 14:17:30 2011 -0400
21490 [cache] remove refrence to default value as it is not implemented yet
21492 gi/pygi-cache.h | 1 -
21493 1 file changed, 1 deletion(-)
21495 commit 433e0fb259047d8c81e5949a31abb5e0feefd27b
21496 Author: Sebastian Pölsterl <sebp@k-d-w.org>
21497 Date: Thu May 12 18:53:06 2011 +0200
21499 Handle arguments that are flags correctly
21501 https://bugzilla.gnome.org/show_bug.cgi?id=647581
21503 gi/pygi-argument.c | 2 ++
21504 1 file changed, 2 insertions(+)
21506 commit 38cca3c14e79fbc383e3fc65a120bee03714b99f
21507 Author: John (J5) Palmieri <johnp@redhat.com>
21508 Date: Fri Jul 1 05:19:15 2011 -0400
21510 correctly initialize the _gi_cairo_functions array to be zero filled
21512 gi/pygi-foreign-cairo.c | 2 +-
21513 1 file changed, 1 insertion(+), 1 deletion(-)
21515 commit 9ae43fdbcc547eb1e3c61bf9545da40555b2e2c6
21516 Author: John (J5) Palmieri <johnp@redhat.com>
21517 Date: Fri Jul 1 05:19:15 2011 -0400
21519 correctly initialize the _gi_cairo_functions array to be zero filled
21521 gi/pygi-foreign-cairo.c | 2 +-
21522 1 file changed, 1 insertion(+), 1 deletion(-)
21524 commit d3ee40b36b1718e6fb4544dbe07e291138ea1eb9
21525 Author: John (J5) Palmieri <johnp@redhat.com>
21526 Date: Wed Jun 29 18:14:40 2011 -0400
21528 pass in the address of the gerror, not the gerror itself
21530 gi/pygi-argument.c | 2 +-
21531 1 file changed, 1 insertion(+), 1 deletion(-)
21533 commit 49dc98eb9339ea64355cd752ca000c79da56f3a2
21534 Author: John (J5) Palmieri <johnp@redhat.com>
21535 Date: Wed Jun 29 18:01:44 2011 -0400
21537 [gi] handle marshalling gerrors arguments for signals
21539 gi/pygi-argument.c | 18 ++++++++++++++++--
21540 1 file changed, 16 insertions(+), 2 deletions(-)
21542 commit db9419fcef628e9ffee10591156007ea9c0bc1f0
21543 Author: John (J5) Palmieri <johnp@redhat.com>
21544 Date: Wed Jun 29 12:12:29 2011 -0400
21546 [gi-invoke-ng] fix NULL check to check before we access the cache
21549 gi/pygi-cache.c | 6 +++---
21550 1 file changed, 3 insertions(+), 3 deletions(-)
21552 commit 9027e1a20fd06df5c26edcec1893ef0814ec938a
21553 Author: John (J5) Palmieri <johnp@redhat.com>
21554 Date: Tue Jun 28 18:21:55 2011 -0400
21556 [gi-tests] add test for PyGObject->PyObject TreeModel storage
21558 * make sure we can store a custom GObject as a PyObject inside of
21561 tests/test_overrides.py | 26 +++++++++++++++-----------
21562 1 file changed, 15 insertions(+), 11 deletions(-)
21564 commit b6842e4b2a28733e143d4022864041ca82e91f7a
21565 Author: John (J5) Palmieri <johnp@redhat.com>
21566 Date: Tue Jun 28 18:13:38 2011 -0400
21568 [gtk-overrides] special case TreeModel columns of PYGOBJECT types
21570 * box the PYGOBJECT in a GValue so we can store PyGObjects in a
21573 gi/overrides/Gtk.py | 7 ++++---
21574 gobject/pygtype.c | 7 ++++---
21575 2 files changed, 8 insertions(+), 6 deletions(-)
21577 commit 7fc9d45860210fd9d333fd3769c6cf93a6a20eb6
21578 Author: John (J5) Palmieri <johnp@redhat.com>
21579 Date: Tue Jun 28 17:32:29 2011 -0400
21581 [gi-invoke-ng] copy structs when transfer is full for array
21583 gi/pygi-marshal.c | 21 ++++++++++++++++++---
21584 1 file changed, 18 insertions(+), 3 deletions(-)
21586 commit 8d60c0bc7b327aa757a8727f1146f02cc0b78af8
21587 Author: John (J5) Palmieri <johnp@redhat.com>
21588 Date: Tue Jun 28 13:54:48 2011 -0400
21590 [gtk-override] print warning if user imports Gtk 2.0
21592 * this is needed because people file bugs not realizing they are
21594 which is not supported
21596 gi/overrides/Gtk.py | 12 ++++++++++++
21597 1 file changed, 12 insertions(+)
21599 commit 7c589c0c1de1a786e00685afd5292b6fb1f93ed3
21600 Author: John (J5) Palmieri <johnp@redhat.com>
21601 Date: Tue Jun 28 13:08:49 2011 -0400
21603 [gtk-overrides] allow the message_type keyword to be used for
21606 * for pygtk compat we use the type keyword for message type but
21608 the use of message_type because it is more descriptive and does
21610 with a python reserved word
21611 * if you passed message_type into a MessageDialog constructor you
21613 an error because we also convert type to message_type when
21616 * this patch looks to see if message_type was passed in as a
21618 assigns it to type while removing message_type from the keywords
21620 to avoid name clashing
21622 gi/overrides/Gtk.py | 5 +++++
21623 1 file changed, 5 insertions(+)
21625 commit 2aa12267bee91aa696633a0cea2a0accae09250a
21626 Author: Johan Dahlin <jdahlin@litl.com>
21627 Date: Mon Jun 27 10:56:20 2011 -0300
21629 Add support for enums in gobject.property
21631 https://bugzilla.gnome.org/show_bug.cgi?id=653488
21633 gobject/propertyhelper.py | 23 ++++++++++++++++-------
21634 tests/test_properties.py | 40 ++++++++++++++++++++++++++++++++++++----
21635 2 files changed, 52 insertions(+), 11 deletions(-)
21637 commit dc62e67b447ef526a6f2d1aa8648ad101d95024b
21638 Author: Johan Dahlin <jdahlin@litl.com>
21639 Date: Mon Jun 27 10:56:20 2011 -0300
21641 Add support for enums in gobject.property
21643 https://bugzilla.gnome.org/show_bug.cgi?id=653488
21645 gobject/propertyhelper.py | 23 ++++++++++++++++-------
21646 tests/test_properties.py | 40 ++++++++++++++++++++++++++++++++++++----
21647 2 files changed, 52 insertions(+), 11 deletions(-)
21649 commit 50cfccb5801c1b9a0a42ffe2826cd245f21fd88d
21650 Author: John (J5) Palmieri <johnp@redhat.com>
21651 Date: Fri Jun 24 14:17:24 2011 -0400
21653 [gi-invoke-ng] use g_slice for allocating GValues that are caller
21656 gi/pygi-invoke-ng.c | 2 ++
21657 gi/pygi-marshal-cleanup.c | 2 ++
21658 2 files changed, 4 insertions(+)
21660 commit eff65cd2ce490296865441c3c78b7846f380459c
21661 Author: John (J5) Palmieri <johnp@redhat.com>
21662 Date: Fri Jun 24 11:49:05 2011 -0400
21664 [gi-invoke-ng] Convert Overflow errors to ValueErrors when marshalling
21667 gi/pygi-marshal.c | 56
21668 +++++++++++++++++++++++++++++++++++++++++++------------
21669 1 file changed, 44 insertions(+), 12 deletions(-)
21671 commit 05ed688d54e3ff04e961b60d0b5d3ed0b97c771d
21672 Author: John (J5) Palmieri <johnp@redhat.com>
21673 Date: Wed Jun 22 12:26:39 2011 -0400
21675 [gi-invoke-ng] only cache caller allocates for interfaces as some
21678 gi/pygi-cache.c | 6 ++++--
21679 1 file changed, 4 insertions(+), 2 deletions(-)
21681 commit 4fd957a5de364c0588168dee15e1e61d4f12e173
21682 Author: John (J5) Palmieri <johnp@redhat.com>
21683 Date: Fri Jun 17 17:07:56 2011 -0400
21685 [gi-invoke-ng] handle in pointer array marshalling
21687 gi/pygi-marshal.c | 28 ++++++++++++++++++++++------
21688 1 file changed, 22 insertions(+), 6 deletions(-)
21690 commit df3911ad2ce83af9bf9679ed1b221847b23ba2de
21691 Author: Alex Eftimie <alex@eftimie.ro>
21692 Date: Fri Jun 10 08:44:04 2011 +0300
21694 Adding GPtrArray tests
21696 tests/test_gi.py | 43 ++++++++++++++++++++++++++++++++++++++++++-
21697 1 file changed, 42 insertions(+), 1 deletion(-)
21699 commit e32c2be53175014399d89e1e85c9afc6e53c94be
21700 Author: John (J5) Palmieri <johnp@redhat.com>
21701 Date: Fri Jun 17 11:32:28 2011 -0400
21703 [gi-invoke-ng] fix array element offset calculations
21705 * use pointer arithmetic to calculate based on element size instead of
21706 relying on the size of GIArgument
21707 * special case GPtrArrays
21709 gi/pygi-marshal.c | 27 +++++++++------------------
21710 1 file changed, 9 insertions(+), 18 deletions(-)
21712 commit 6e8dc28cb261cafbfed40fc0797a0dd5f91f497b
21713 Author: John (J5) Palmieri <johnp@redhat.com>
21714 Date: Wed Jun 15 12:46:03 2011 -0400
21716 [gi] don't clean up arguments that weren't yet processed during in
21719 gi/pygi-marshal-cleanup.c | 2 +-
21720 1 file changed, 1 insertion(+), 1 deletion(-)
21722 commit af7c93ea98b7f492eef265e58c8b3c878805524f
21723 Author: John (J5) Palmieri <johnp@redhat.com>
21724 Date: Wed Jun 15 12:06:47 2011 -0400
21726 [gi-overrides] use new instead of init when constructing a
21727 GLib.VariantBuilder
21729 * init is now skipped in the gir
21731 gi/overrides/GLib.py | 18 ++++++++----------
21732 tests/test_overrides.py | 6 ++----
21733 2 files changed, 10 insertions(+), 14 deletions(-)
21735 commit c6112307f29f9a850e6e9efa5f55d5d4a363c6b0
21736 Author: John (J5) Palmieri <johnp@redhat.com>
21737 Date: Wed Jun 15 11:42:45 2011 -0400
21739 [gi-invoke-ng] actual code to import overrides
21741 gi/pygi-cache.c | 7 +------
21742 1 file changed, 1 insertion(+), 6 deletions(-)
21744 commit 902575d857beffb14e56821ea8a52f705385f6bb
21745 Author: John (J5) Palmieri <johnp@redhat.com>
21746 Date: Wed Jun 15 11:25:10 2011 -0400
21748 [gi-invoke-ng] import pytypes so we get overrides
21750 gi/pygi-marshal.c | 4 +++-
21751 1 file changed, 3 insertions(+), 1 deletion(-)
21753 commit 9d5604220bd56ae2708e9b74122c14208e0a30b4
21754 Author: John (J5) Palmieri <johnp@redhat.com>
21755 Date: Tue Jun 14 16:13:37 2011 -0400
21757 [gi-invoke-ng] handle gvariants now that they are not foreign
21759 gi/pygi-marshal.c | 7 ++++++-
21760 1 file changed, 6 insertions(+), 1 deletion(-)
21762 commit c1f5651062687e800a52b5d8d16c88c0acde2934
21763 Author: John (J5) Palmieri <johnp@redhat.com>
21764 Date: Tue Jun 14 16:12:43 2011 -0400
21766 [gi-invoke-ng] do not try to clean up NULL arguments
21768 gi/pygi-marshal-cleanup.c | 24 ++++++++++++++++--------
21769 1 file changed, 16 insertions(+), 8 deletions(-)
21771 commit fbf5382fbc1aed49ed491d2255d616a1643a45fc
21772 Merge: 499b68d 1491f62
21773 Author: John (J5) Palmieri <johnp@redhat.com>
21774 Date: Mon Jun 13 17:28:23 2011 -0400
21776 Merge branch 'master' into invoke-rewrite
21778 commit 499b68d6c9040cffc6e43dc87789d68446564a92
21779 Merge: 4c9bced 426c710
21780 Author: John (J5) Palmieri <johnp@redhat.com>
21781 Date: Mon Jun 13 17:26:37 2011 -0400
21783 Merge branch 'master' into invoke-rewrite
21785 commit 1491f6225b9906bd369b5a42e6369ab6884736b7
21786 Author: Ignacio Casal Quinteiro <icq@gnome.org>
21787 Date: Fri Jun 10 14:01:32 2011 +0200
21789 closure: avoid double free crash
21791 gi/pygi-closure.c | 12 ++++--------
21792 1 file changed, 4 insertions(+), 8 deletions(-)
21794 commit 929f4236f2b8601e7960a4a7b0a860d976ad83c6
21795 Author: Jason Siefken <siefkenj@gmail.com>
21796 Date: Fri Jun 3 23:11:17 2011 -0700
21798 Added __eq__ method for Gdk.Color and Gdk.RGBA
21800 Call Gdk.Color.equal and Gdk.RGBA.equal when
21801 == equality testing is used.
21803 gi/overrides/Gdk.py | 6 ++++++
21804 tests/test_overrides.py | 4 ++++
21805 2 files changed, 10 insertions(+)
21807 commit dff5961ba229c7c34bd7b0a18a446b56bbe39e3a
21808 Author: Ignacio Casal Quinteiro <icq@gnome.org>
21809 Date: Wed Jun 8 19:13:48 2011 +0200
21811 closure: Check the out arg is not null. Fixes bug #651812
21813 gi/pygi-closure.c | 3 +++
21814 1 file changed, 3 insertions(+)
21816 commit d7d178206bfbb0858556fcfd6c9ca8eefda3fdf5
21817 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21818 Date: Wed Jun 8 09:47:20 2011 +0200
21820 Use constants instead of literals
21822 tests/test_overrides.py | 8 ++++----
21823 1 file changed, 4 insertions(+), 4 deletions(-)
21825 commit fe386a0ad548a23e30e9cb947bfa2198fb48ef29
21826 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21827 Date: Mon Jun 6 19:07:22 2011 +0200
21829 GVariant has now a GType, take that into account
21831 https://bugzilla.gnome.org/show_bug.cgi?id=647509
21833 gi/pygi-argument.c | 8 ++++----
21834 gi/pygi-invoke.c | 20 +++++++++++++-------
21835 2 files changed, 17 insertions(+), 11 deletions(-)
21837 commit bd7b8d96a7420522c1fdc127ef8cfb7d6e8a1b31
21838 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21839 Date: Mon Jun 6 19:05:07 2011 +0200
21841 GVariantType is a boxed struct
21843 https://bugzilla.gnome.org/show_bug.cgi?id=647509
21845 gi/gimodule.c | 2 +-
21846 1 file changed, 1 insertion(+), 1 deletion(-)
21848 commit 2d73012e5dbcc45a5782a6c119dfb272c14b5a61
21849 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21850 Date: Mon Jun 6 17:38:21 2011 +0200
21852 Use _gi.Struct to wrap fundamentals
21854 https://bugzilla.gnome.org/show_bug.cgi?id=647509
21856 gi/module.py | 4 +++-
21857 1 file changed, 3 insertions(+), 1 deletion(-)
21859 commit d82e6c8d1d9f2fc48fdcc15b7d2a97e4f24cf3bf
21860 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21861 Date: Mon Jun 6 17:24:28 2011 +0200
21863 Merge gi/HACKING into /HACKING
21865 HACKING | 16 ++++++++++++++++
21866 gi/HACKING | 26 --------------------------
21867 2 files changed, 16 insertions(+), 26 deletions(-)
21869 commit 92aca4416a7930e5870b8d1a4016bae8140462ee
21870 Author: Daniel Drake <dsd@laptop.org>
21871 Date: Fri Jun 3 16:59:15 2011 +0100
21873 Fix GC-related crash during PyGObject deallocation
21875 Python-2.7.1's GC source has the following comment:
21877 /* Python's cyclic gc should never see an incoming refcount
21878 * of 0: if something decref'ed to 0, it should have been
21879 * deallocated immediately at that time.
21880 * Possible cause (if the assert triggers): a tp_dealloc
21881 * routine left a gc-aware object tracked during its teardown
21882 * phase, and did something-- or allowed something to
21884 * that called back into Python. gc can trigger then, and may
21885 * see the still-tracked dying object. Before this assert
21886 * was added, such mistakes went on to allow gc to try to
21887 * delete the object again. In a debug build, that caused
21888 * a mysterious segfault, when _Py_ForgetReference tried
21889 * to remove the object from the doubly-linked list of all
21890 * objects a second time. In a release build, an actual
21891 * double deallocation occurred, which leads to corruption
21892 * of the allocator's internal bookkeeping pointers. That's
21893 * so serious that maybe this should be a release-build
21894 * check instead of an assert?
21897 As shown in a backtrace at
21898 https://bugzilla.redhat.com/show_bug.cgi?id=640972 , pygobject
21900 this exact mistake. Before untracking its object, pygobject_dealloc
21901 calls PyObject_ClearWeakRefs() which can call back into python, create
21902 new allocations, and trigger the GC.
21904 This is causing Sugar (based on pygobject2 + pygtk2 static bindings)
21906 crash on a regular basis while interacting with widgets or launching
21909 Fix this by untracking the object early. Also fix the same issue
21911 in the GSource wrapper.
21913 Thanks to Bernie Innocenti for initial diagnosis.
21915 glib/pygsource.c | 6 ++++--
21916 gobject/pygobject.c | 8 +++++++-
21917 2 files changed, 11 insertions(+), 3 deletions(-)
21919 commit 4c9bcedb4e11ad66a4b86174e2425c7afcafc473
21920 Author: John (J5) Palmieri <johnp@redhat.com>
21921 Date: Tue May 31 16:59:41 2011 -0400
21923 [gi-invoke-ng] enable invoke-ng by default
21925 configure.ac | 8 ++++----
21926 1 file changed, 4 insertions(+), 4 deletions(-)
21928 commit 2e4cfb85a55ff205e263591d573ee5ecf0ffff3e
21929 Author: John (J5) Palmieri <johnp@redhat.com>
21930 Date: Tue May 31 16:37:21 2011 -0400
21932 [gi-invoke-ng] add code to clean up when input values fail to marshal
21934 gi/pygi-marshal-cleanup.c | 30 +++++++++++++++++++++++++-----
21935 1 file changed, 25 insertions(+), 5 deletions(-)
21937 commit 508b1b6ca1b143f1e123a3ddb83e8ce146758dfc
21938 Author: John (J5) Palmieri <johnp@redhat.com>
21939 Date: Tue May 31 16:01:03 2011 -0400
21941 [gi-invoke-ng] add hash cleanup routines
21943 gi/pygi-cache.c | 2 ++
21944 gi/pygi-marshal-cleanup.c | 64
21945 +++++++++++++++++++++++++++++++++++++++++++++++
21946 gi/pygi-marshal-cleanup.h | 10 ++++++--
21947 3 files changed, 74 insertions(+), 2 deletions(-)
21949 commit 1954c75b94a74259b4e5d28f5ff8d76aa4610832
21950 Author: John (J5) Palmieri <johnp@redhat.com>
21951 Date: Tue May 31 14:47:30 2011 -0400
21953 [gi-invoke-ng] handle arrays with transfers of GI_TRANSFER_CONTAINER
21955 gi/pygi-marshal-cleanup.c | 3 ++-
21956 1 file changed, 2 insertions(+), 1 deletion(-)
21958 commit b626c46b4a95602c7bf1278c2a39aacb7f5027d9
21959 Author: John (J5) Palmieri <johnp@redhat.com>
21960 Date: Tue May 31 14:40:49 2011 -0400
21962 [gi-invoke-ng] add list cleanup routines
21964 gi/pygi-cache.c | 8 ++---
21965 gi/pygi-marshal-cleanup.c | 84
21966 +++++++++++++++++++++++++++++++++++++++++++++++
21967 gi/pygi-marshal-cleanup.h | 8 +++++
21968 3 files changed, 96 insertions(+), 4 deletions(-)
21970 commit 2e542c327cd52c1f77af28905557dd25c64175d8
21971 Author: John (J5) Palmieri <johnp@redhat.com>
21972 Date: Thu May 26 16:10:13 2011 -0400
21976 gi/pygi-marshal.c | 8 ++++----
21977 1 file changed, 4 insertions(+), 4 deletions(-)
21979 commit 601aec11c49e821fe97dd30a2187fe3c75844712
21980 Author: John (J5) Palmieri <johnp@redhat.com>
21981 Date: Thu May 26 16:09:38 2011 -0400
21983 [gi-invoke-ng] add out array cleanup
21985 gi/pygi-cache.c | 2 +-
21986 gi/pygi-marshal-cleanup.c | 24 ++++++++++++++++++++++++
21987 gi/pygi-marshal.c | 37 +++++++++++++++++++++++++++++++------
21988 3 files changed, 56 insertions(+), 7 deletions(-)
21990 commit e9ad4428b769f8c9ace1cdc973c684de84fb1a5e
21991 Author: John (J5) Palmieri <johnp@redhat.com>
21992 Date: Thu May 26 13:22:38 2011 -0400
21994 [gi-invoke-ng] do not allocate null terminator for garray
21996 * We are simply setting our own array so we don't want any allocate
21999 gi/pygi-marshal.c | 2 +-
22000 1 file changed, 1 insertion(+), 1 deletion(-)
22002 commit a986b2b8e5ee37f2a330f5aabc85c73ebb0de508
22003 Author: John (J5) Palmieri <johnp@redhat.com>
22004 Date: Thu May 26 13:21:55 2011 -0400
22006 [gi-invoke-ng] add array cleanup for in arrays
22008 gi/pygi-cache.c | 2 +-
22009 gi/pygi-marshal-cleanup.c | 72
22010 ++++++++++++++++++++++++++++++++++++++++++++++-
22011 gi/pygi-marshal-cleanup.h | 9 ++++++
22012 gi/pygi-marshal.c | 13 +++++++--
22013 4 files changed, 91 insertions(+), 5 deletions(-)
22015 commit 990c60805c8ef718eb29e2e1b24f057552c6159e
22016 Author: John (J5) Palmieri <johnp@redhat.com>
22017 Date: Mon May 23 17:06:30 2011 -0400
22019 [gi-invoke-ng] remove remaining bits of the invoke stage state machine
22021 gi/pygi-invoke-ng.c | 7 +------
22022 gi/pygi-invoke-state-struct.h | 14 --------------
22023 2 files changed, 1 insertion(+), 20 deletions(-)
22025 commit dbbcf4a0e76fb572d85843ee31c3798df5cd5cc5
22026 Author: John (J5) Palmieri <johnp@redhat.com>
22027 Date: Mon May 23 16:59:57 2011 -0400
22029 [gi-invoke-ng] revamp cleanup framework to be orthogonal to cache
22032 * cleanup now has symmetry with setup so there are now in and out
22034 for each type that needs to be cleaned up
22035 * no longer use state machine but instead call different cleanup
22037 different stages of invoke, making it easier to understand what
22041 gi/pygi-cache.c | 19 ++-
22042 gi/pygi-cache.h | 7 +-
22043 gi/pygi-invoke-ng.c | 10 +-
22044 gi/pygi-invoke-state-struct.h | 2 +
22045 gi/pygi-marshal-cleanup.c | 301
22046 +++++++++++++++++-------------------------
22047 gi/pygi-marshal-cleanup.h | 45 ++++---
22048 gi/pygi-marshal.c | 15 +--
22049 7 files changed, 174 insertions(+), 225 deletions(-)
22051 commit 198714dc4585f7463f38929f1ca4e4b60a27dadb
22052 Author: John (J5) Palmieri <johnp@redhat.com>
22053 Date: Thu May 12 17:29:20 2011 -0400
22055 [gi-invoke-ng] stub out a cleaner way of cleaning up after ourselves
22057 * The state machine concept of cleaning up was getting a bit messy.
22058 It was like we took a big bowl of spaghetti code and dumped it.
22059 * Now we call specific cleanup functions at the point of failure (or
22060 successful completion of a marshalling stage)
22062 gi/pygi-invoke-ng.c | 59 +++++++++++++++++++++++++++++++-------
22063 gi/pygi-marshal-cleanup.c | 72
22064 +++++++++++++++++++++++++++++++++++++++++++++++
22065 gi/pygi-marshal-cleanup.h | 14 +++++++++
22066 3 files changed, 135 insertions(+), 10 deletions(-)
22068 commit c1389dadbf35afee3f28d90ef637efd8c1f071a5
22069 Author: José Alburquerque <jaalburqu@svn.gnome.org>
22070 Date: Thu May 12 11:53:40 2011 -0400
22072 Doc Extractor: Correct the logic of the --no-since option.
22074 * codegen/docextract.py (process_final_sections): If the
22076 option has been specified and a "Since:" is encountered
22078 processing of the final sections, simply don't append the
22080 instead of reading the next line. This preserves the logical
22084 codegen/docextract.py | 4 ++--
22085 1 file changed, 2 insertions(+), 2 deletions(-)
22087 commit 303d8e8ab9e60cb554de7fc0e8592cd9b2c50843
22088 Author: José Alburquerque <jaalburqu@svn.gnome.org>
22089 Date: Mon May 9 17:32:09 2011 -0400
22091 Doc Extractor: Add a --no-since option.
22093 * codegen/docextract.py:
22094 * codegen/docextract_to_xml.py: Modified so that if a
22096 option is specified at the command line, the "Since:
22098 the gtkdoc function block is omitted. This is useful for
22100 such as gstreamermm where this information would not be
22102 as the C API is still unstable.
22104 codegen/docextract.py | 15 ++++++++++++++-
22105 codegen/docextract_to_xml.py | 9 ++++++---
22106 2 files changed, 20 insertions(+), 4 deletions(-)
22108 commit 4f615c6e300d6f2d7551b640efa301060206ab58
22109 Author: John (J5) Palmieri <johnp@redhat.com>
22110 Date: Thu May 5 14:04:34 2011 -0400
22112 [gi-invoke-ng] tweek cleanup routines
22114 gi/pygi-cache.c | 5 +++
22115 gi/pygi-marshal-cleanup.c | 87
22116 +++++++++++++++++++++++++++++++++++------------
22117 gi/pygi-marshal-cleanup.h | 6 ++--
22118 gi/pygi-marshal.c | 11 ++----
22119 4 files changed, 76 insertions(+), 33 deletions(-)
22121 commit 63c7f17c224821cb7136d06e8ef87eab7291848d
22122 Author: Martin Pitt <martin.pitt@ubuntu.com>
22123 Date: Mon May 2 15:49:52 2011 +0200
22125 Fix symbol names to be locale independent
22127 We currently use upper() to present enum values, which are usually
22129 lower case in the typelib, in upper cases. However, upper() is locale
22130 dependent, so that e. g. in tr_TR.UTF-8, "invalid" becomes "iNVALiD"
22131 because Turkish has some extra variants of "i".
22133 Use a local ASCII-only translate() call instead to avoid this. Thanks
22135 Philippsen for the idea!
22137 This also adds a test locale "te_ST@nouppera" which defines
22138 toupper('a') == 'a'.
22139 Run the Enum tests under this locale to reproduce the bug and verify
22142 https://bugzilla.gnome.org/show_bug.cgi?id=649165
22144 gi/module.py | 9 ++++++++-
22145 tests/te_ST@nouppera | 50
22146 ++++++++++++++++++++++++++++++++++++++++++++++++++
22147 tests/test_gi.py | 30 ++++++++++++++++++++++++++++++
22148 3 files changed, 88 insertions(+), 1 deletion(-)
22150 commit b5e150da76c3d4de1a75f58d03c3a761e9005a63
22151 Author: Martin Pitt <martin.pitt@ubuntu.com>
22152 Date: Wed May 4 08:35:27 2011 +0200
22154 [gi] pygi-convert.sh: Convert gtk.gdk.CROSSHAIR
22156 pygi-convert.sh | 1 +
22157 1 file changed, 1 insertion(+)
22159 commit fcc5ea201ab25da6db94ea8a37364a1d3c4d7c65
22160 Author: John (J5) Palmieri <johnp@redhat.com>
22161 Date: Fri Apr 29 17:41:08 2011 -0400
22163 [gi-invoke-ng] handle filename cleanup with the utf8 cleanup function
22165 gi/pygi-cache.c | 2 ++
22166 1 file changed, 2 insertions(+)
22168 commit dbe8c4fabc8ac19415a3be0e854d3a54c2317e0b
22169 Author: John (J5) Palmieri <johnp@redhat.com>
22170 Date: Fri Apr 29 17:40:13 2011 -0400
22172 [gi-invoke-ng] handle caller allocates cleanup
22174 gi/pygi-invoke-ng.c | 5 ++-
22175 gi/pygi-marshal-cleanup.c | 104
22176 ++++++++++++++++++++++++++++++++++++----------
22177 gi/pygi-marshal-cleanup.h | 7 ++--
22178 3 files changed, 90 insertions(+), 26 deletions(-)
22180 commit cdbf57f3b1f041a06cf545a5557424f701ed1ec7
22181 Author: John (J5) Palmieri <johnp@redhat.com>
22182 Date: Thu Apr 28 19:16:02 2011 -0400
22184 [gi-invoke-ng] refactor the cleanup code and add utf8 cleanup as
22187 gi/pygi-cache.c | 15 ++-----------
22188 gi/pygi-invoke-ng.c | 8 +++----
22189 gi/pygi-invoke-state-struct.h | 2 ++
22190 gi/pygi-marshal-cleanup.c | 51
22191 ++++++++++++++++++++++++++++++++++++++++++-
22192 gi/pygi-marshal-cleanup.h | 3 +++
22193 5 files changed, 60 insertions(+), 19 deletions(-)
22195 commit d1f1f4ccc55f9ecab73b7c0ee78762c4039b2c79
22196 Author: John (J5) Palmieri <johnp@redhat.com>
22197 Date: Wed Apr 27 15:47:19 2011 -0400
22199 use PyCapsule when importing pycairo/require pycairo 1.10.0 for
22202 * PyCObject is deprecated and pycairo 1.10.0 is first release to
22205 configure.ac | 15 +++++++++++----
22206 gi/pygi-foreign-cairo.c | 2 +-
22207 2 files changed, 12 insertions(+), 5 deletions(-)
22209 commit 83b7823a510b0b391560c6deaf9d15d8303c7b14
22210 Author: Ignacio Casal Quinteiro <icq@gnome.org>
22211 Date: Thu Apr 21 16:52:20 2011 +0200
22213 [python3] fix build. PYcairo_IMPORT doesn't exists anymore
22215 gi/pygi-foreign-cairo.c | 7 ++++++-
22216 1 file changed, 6 insertions(+), 1 deletion(-)
22218 commit 3e933784df423757e591d703614cb700adb0bbe0
22219 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22220 Date: Mon Apr 18 18:36:25 2011 +0200
22224 pygobject.doap | 15 +++++++++++++++
22225 1 file changed, 15 insertions(+)
22227 commit 399d06b4b20685eb38acfd7e43226e06737ab7d2
22228 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22229 Date: Sat Apr 16 16:02:05 2011 +0200
22231 [gi] Don't create variant twice
22233 gi/overrides/GLib.py | 2 +-
22234 1 file changed, 1 insertion(+), 1 deletion(-)
22236 commit 8d8a84ea23d28d25851c5870f261c020d762cef4
22237 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22238 Date: Fri Apr 15 16:14:43 2011 +0200
22240 pygi-convert.sh: Make sure the uppercase GObject module is imported
22241 instead of the lowercase
22243 https://bugzilla.gnome.org/show_bug.cgi?id=647736
22245 pygi-convert.sh | 1 +
22246 1 file changed, 1 insertion(+)
22248 commit 3b51d6426d0f59b2dd7e0dcdcded4bed43d6b9d8
22249 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22250 Date: Fri Apr 15 15:58:53 2011 +0200
22252 [gi] Removed hack to avoid using GLib.Variant.new_variant.
22254 The bug in the annotations of GLib is fixed now.
22255 https://bugzilla.gnome.org/show_bug.cgi?id=639952
22256 https://bugzilla.gnome.org/show_bug.cgi?id=647796
22258 gi/overrides/GLib.py | 14 +-------------
22259 1 file changed, 1 insertion(+), 13 deletions(-)
22261 commit bb4dce14ba666969815d4e56adbc38f0ac4f7ff7
22262 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22263 Date: Fri Apr 15 15:58:31 2011 +0200
22265 [gi] Added additional test case for GVariant handling
22267 tests/test_overrides.py | 15 +++++++++++++++
22268 1 file changed, 15 insertions(+)
22270 commit 138df2778543409752e229a09828a805f68a420d
22271 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22272 Date: Mon Apr 11 18:34:31 2011 +0200
22274 [gi] Added support for GVariant arguments
22276 This is required in order for the "g-signal" signal of GDBusProxy
22277 to work properly and thus to properly receive DBus signals with any
22280 https://bugzilla.gnome.org/show_bug.cgi?id=647477
22282 gi/pygi-argument.c | 2 ++
22283 1 file changed, 2 insertions(+)
22285 commit 985f239d891c7697d76ccecb797b189669ae6ee1
22286 Author: John (J5) Palmieri <johnp@redhat.com>
22287 Date: Tue Mar 22 18:46:28 2011 -0400
22289 fix static ABI for setting string gvalues from python objects
22291 * the static bindings used to be able to set a string gvalue to
22293 object that implemented __str__, for instance when setting a
22295 * this restores that code while still keeping unicode and python 3
22298 gobject/pygtype.c | 28 +++++++++++++++++++---------
22299 tests/test_properties.py | 8 ++++++++
22300 2 files changed, 27 insertions(+), 9 deletions(-)
22302 commit 58cfc3cd1152b4448b56a6ff597f954d8450b83e
22303 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
22304 Date: Tue Mar 22 20:47:51 2011 +0100
22306 dsextras.py: ensure eol characters are preserved when writing template
22307 files (so \n does not become \r\n)
22310 1 file changed, 1 insertion(+), 1 deletion(-)
22312 commit 629d267478982c426ba61a639d5c9603fed856e6
22313 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
22314 Date: Tue Mar 22 11:35:44 2011 +0100
22316 dsextras.py: remove \r as wel as \n character
22319 1 file changed, 1 insertion(+), 1 deletion(-)
22321 commit 426c7109d4c0dbf0d56cc075f97f33b3451f79a8
22322 Author: John (J5) Palmieri <johnp@redhat.com>
22323 Date: Wed Apr 27 15:47:19 2011 -0400
22325 use PyCapsule when importing pycairo/require pycairo 1.10.0 for
22328 * PyCObject is deprecated and pycairo 1.10.0 is first release to
22331 configure.ac | 15 +++++++++++----
22332 gi/pygi-foreign-cairo.c | 2 +-
22333 2 files changed, 12 insertions(+), 5 deletions(-)
22335 commit 4e5833d0c2fe548617e5ea510f05920fd0caf73b
22336 Author: Ignacio Casal Quinteiro <icq@gnome.org>
22337 Date: Thu Apr 21 16:52:20 2011 +0200
22339 [python3] fix build. PYcairo_IMPORT doesn't exists anymore
22341 gi/pygi-foreign-cairo.c | 7 ++++++-
22342 1 file changed, 6 insertions(+), 1 deletion(-)
22344 commit 91ec337359720839862d3f5a8a0ea98f760a0752
22345 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22346 Date: Mon Apr 18 18:36:25 2011 +0200
22350 pygobject.doap | 15 +++++++++++++++
22351 1 file changed, 15 insertions(+)
22353 commit 05c766044c83340c44564d0097514bfc1d1d9df7
22354 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22355 Date: Sat Apr 16 16:02:05 2011 +0200
22357 [gi] Don't create variant twice
22359 gi/overrides/GLib.py | 2 +-
22360 1 file changed, 1 insertion(+), 1 deletion(-)
22362 commit eb8f212e3687af30407cf01fcdfbf530257bcddb
22363 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22364 Date: Fri Apr 15 16:14:43 2011 +0200
22366 pygi-convert.sh: Make sure the uppercase GObject module is imported
22367 instead of the lowercase
22369 https://bugzilla.gnome.org/show_bug.cgi?id=647736
22371 pygi-convert.sh | 1 +
22372 1 file changed, 1 insertion(+)
22374 commit af31729573de24161ee90563e5738187c749783c
22375 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22376 Date: Fri Apr 15 15:58:53 2011 +0200
22378 [gi] Removed hack to avoid using GLib.Variant.new_variant.
22380 The bug in the annotations of GLib is fixed now.
22381 https://bugzilla.gnome.org/show_bug.cgi?id=639952
22382 https://bugzilla.gnome.org/show_bug.cgi?id=647796
22384 gi/overrides/GLib.py | 14 +-------------
22385 1 file changed, 1 insertion(+), 13 deletions(-)
22387 commit 070f6688be4afb926656038dcceac4c8b8ed97c7
22388 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22389 Date: Fri Apr 15 15:58:31 2011 +0200
22391 [gi] Added additional test case for GVariant handling
22393 tests/test_overrides.py | 15 +++++++++++++++
22394 1 file changed, 15 insertions(+)
22396 commit 65aa040e86d94ee6bb227a2bce09668b60208027
22397 Author: John (J5) Palmieri <johnp@redhat.com>
22398 Date: Tue Apr 12 14:51:35 2011 -0400
22400 [gi-invoke-ng] fix prototype
22402 gi/pygi-cache.h | 2 +-
22403 1 file changed, 1 insertion(+), 1 deletion(-)
22405 commit 12aa4e6376366ca9d758434f6544c9c70a1e5df8
22406 Author: John (J5) Palmieri <johnp@redhat.com>
22407 Date: Tue Apr 12 14:48:16 2011 -0400
22409 [gi-invoke-ng] create new framework for cleaning up args
22411 * we now have a state machine so we know what point in the marshalling
22413 we are and which args need to be cleaned up
22414 * call the cleanup functions after invoking the gi callable, after
22416 the out parameters and at any time an error occures
22418 gi/Makefile.am | 4 ++-
22419 gi/pygi-cache.c | 25 +++++++------
22420 gi/pygi-cache.h | 5 ++-
22421 gi/pygi-invoke-ng.c | 34 ++++++++++++++----
22422 gi/pygi-invoke-state-struct.h | 13 +++++++
22423 gi/pygi-marshal-cleanup.c | 81
22424 +++++++++++++++++++++++++++++++++++++++++++
22425 gi/pygi-marshal-cleanup.h | 43 +++++++++++++++++++++++
22426 gi/pygi-marshal.c | 1 +
22427 8 files changed, 187 insertions(+), 19 deletions(-)
22429 commit 0463295cd046bd6382ad9dc71ea1518858d63c5f
22430 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22431 Date: Mon Apr 11 18:34:31 2011 +0200
22433 [gi] Added support for GVariant arguments
22435 This is required in order for the "g-signal" signal of GDBusProxy
22436 to work properly and thus to properly receive DBus signals with any
22439 https://bugzilla.gnome.org/show_bug.cgi?id=647477
22441 gi/pygi-argument.c | 2 ++
22442 1 file changed, 2 insertions(+)
22444 commit 1d64c3d3db2ec17b9a48df55271f712db6c07060
22445 Author: John (J5) Palmieri <johnp@redhat.com>
22446 Date: Wed Mar 30 16:40:31 2011 -0400
22448 [gi-invoke-ng] fix marshal header that is no longer part of
22451 gi/pygi-marshal.h | 8 ++++----
22452 1 file changed, 4 insertions(+), 4 deletions(-)
22454 commit 3580cd1c7222022ebeef3476f9e609c8045f12a3
22455 Author: John (J5) Palmieri <johnp@redhat.com>
22456 Date: Wed Mar 30 15:53:13 2011 -0400
22458 [gi-invoke-ng] code style space fixes
22460 gi/pygi-cache.c | 420 +++++++++++++++++++-------------------
22461 gi/pygi-invoke-ng.c | 145 +++++++-------
22462 gi/pygi-marshal.c | 565
22463 ++++++++++++++++++++++++++--------------------------
22464 3 files changed, 566 insertions(+), 564 deletions(-)
22466 commit 81662fcd09f112bfffcdc5b7f01a5537b84cd9d4
22467 Author: John (J5) Palmieri <johnp@redhat.com>
22468 Date: Tue Mar 29 16:54:44 2011 -0400
22470 [gi-invoke-ng] don't decref value taken from a dict as it is borrowed
22472 gi/pygi-invoke-ng.c | 1 -
22473 1 file changed, 1 deletion(-)
22475 commit a456fc0adc1f8a0754bf59cde8924f905bfc7dc1
22476 Author: John (J5) Palmieri <johnp@redhat.com>
22477 Date: Tue Mar 29 15:23:06 2011 -0400
22479 [gi-invoke-ng] return None when appropriate so we don't crash
22481 gi/pygi-marshal.c | 18 +++++++++++++++++-
22482 1 file changed, 17 insertions(+), 1 deletion(-)
22484 commit e8c8c37e5587dc7ff62519df336988a12e6f5d0a
22485 Author: John (J5) Palmieri <johnp@redhat.com>
22486 Date: Tue Mar 29 15:21:41 2011 -0400
22488 [gi-invoke-ng] fix aux value caching
22490 gi/pygi-cache.c | 15 ++++++++++-----
22491 1 file changed, 10 insertions(+), 5 deletions(-)
22493 commit 4e4c1847c713a4eb4ab34d04488e94dac24d9167
22494 Author: John (J5) Palmieri <johnp@redhat.com>
22495 Date: Mon Mar 28 20:25:46 2011 -0400
22497 [gi-invoke-ng] backport handling flags with no gtype
22499 gi/pygi-marshal.c | 25 ++++++++++++++++++++++++-
22500 1 file changed, 24 insertions(+), 1 deletion(-)
22502 commit fd76423e655b3711e1ffbf9b61ea4e2c94040234
22503 Author: John (J5) Palmieri <johnp@redhat.com>
22504 Date: Mon Mar 28 18:32:00 2011 -0400
22506 [gi-invoke-ng] backport raw gvalue handling
22508 gi/pygi-marshal.c | 23 ++++++++++++++++++-----
22509 1 file changed, 18 insertions(+), 5 deletions(-)
22511 commit 507b5051c83f70ceae79e0fa693c86e5cbb9f442
22512 Author: John (J5) Palmieri <johnp@redhat.com>
22513 Date: Mon Mar 28 18:30:31 2011 -0400
22515 [gi-invoke-ng] marshal instances seperately since they differ slightly
22518 gi/pygi-cache.c | 2 +-
22519 gi/pygi-marshal.c | 38 ++++++++++++++++++++++++++++++++++++++
22520 2 files changed, 39 insertions(+), 1 deletion(-)
22522 commit 726a27c0e74ace3ff23d9cc4d393ae53e57f1fac
22523 Author: John (J5) Palmieri <johnp@redhat.com>
22524 Date: Mon Mar 28 18:26:09 2011 -0400
22526 [gi-invoke-ng] refactor FunctionCache to be more generic CallableCache
22528 gi/pygi-cache.c | 392
22529 +++++++++++++++++++++++++++-------------------------
22530 gi/pygi-cache.h | 12 +-
22531 gi/pygi-info.c | 2 +-
22532 gi/pygi-invoke-ng.c | 40 +++---
22533 gi/pygi-marshal.c | 140 +++++++++----------
22534 gi/pygi-marshal.h | 159 +++++++++------------
22536 7 files changed, 362 insertions(+), 385 deletions(-)
22538 commit 3d5d9ff5c18a850650992bdd52e8e4c722b23396
22539 Author: John (J5) Palmieri <johnp@redhat.com>
22540 Date: Mon Mar 28 15:01:12 2011 -0400
22542 [gi-invoke-rewrite] backport glib error handling
22544 gi/pygi-invoke-ng.c | 14 ++++++--------
22545 1 file changed, 6 insertions(+), 8 deletions(-)
22547 commit 37b14b28a5f2aec16ac7f321efbf07e1403e9531
22548 Author: John (J5) Palmieri <johnp@redhat.com>
22549 Date: Fri Mar 25 18:48:42 2011 -0400
22551 [gi-invoke-ng] backport closure passing from invoke
22553 gi/pygi-marshal.c | 13 ++++++++++---
22554 1 file changed, 10 insertions(+), 3 deletions(-)
22556 commit cf7f97eabc9c49773c2916929b8c43ef453d0652
22557 Author: John (J5) Palmieri <johnp@redhat.com>
22558 Date: Fri Mar 25 18:47:36 2011 -0400
22560 [gi-invoke-ng] handle vfuncs and fix cosntrutors
22562 gi/pygi-cache.c | 9 +++++++
22563 gi/pygi-cache.h | 2 ++
22564 gi/pygi-invoke-ng.c | 56
22565 ++++++++++++++++++++++++++++++++-----------
22566 gi/pygi-invoke-state-struct.h | 2 ++
22567 4 files changed, 55 insertions(+), 14 deletions(-)
22569 commit af2ce400fcf771ee6c9bc01aecfb59467be5a0ce
22570 Author: John (J5) Palmieri <johnp@redhat.com>
22571 Date: Fri Mar 25 18:39:06 2011 -0400
22573 [gi-invoke-ng] handle foreign types correctly
22575 gi/pygi-cache.c | 22 ++++++----------------
22576 gi/pygi-marshal.c | 3 +++
22577 2 files changed, 9 insertions(+), 16 deletions(-)
22579 commit 482553ae5d863ca523be3bd1eededa5d02a4f87e
22580 Author: John (J5) Palmieri <johnp@redhat.com>
22581 Date: Fri Mar 25 13:14:01 2011 -0400
22583 [gi] remove the class parameter from the argument list of constructors
22585 * constructors pass in their class to be constructed. Since we
22587 and g_object_new to do the construction we ignore this for now but
22588 keep it around in the state for future use.
22590 gi/pygi-invoke-ng.c | 46
22591 +++++++++++++++++++++++++++++++++++++------
22592 gi/pygi-invoke-state-struct.h | 1 +
22593 2 files changed, 41 insertions(+), 6 deletions(-)
22595 commit 0534eb0e843cdf09611143da184052f7e549e4dc
22596 Author: John (J5) Palmieri <johnp@redhat.com>
22597 Date: Tue Mar 22 18:46:28 2011 -0400
22599 fix static ABI for setting string gvalues from python objects
22601 * the static bindings used to be able to set a string gvalue to
22603 object that implemented __str__, for instance when setting a
22605 * this restores that code while still keeping unicode and python 3
22608 gobject/pygtype.c | 28 +++++++++++++++++++---------
22609 tests/test_properties.py | 8 ++++++++
22610 2 files changed, 27 insertions(+), 9 deletions(-)
22612 commit 5f0e130026a663a57ed1317e0fa0e1f78f9e6e0a
22613 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
22614 Date: Tue Mar 22 20:47:51 2011 +0100
22616 dsextras.py: ensure eol characters are preserved when writing template
22617 files (so \n does not become \r\n)
22620 1 file changed, 1 insertion(+), 1 deletion(-)
22622 commit 62a6274105003ef386ddfe9ef38e8afa8c43d124
22623 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
22624 Date: Tue Mar 22 11:35:44 2011 +0100
22626 dsextras.py: remove \r as wel as \n character
22629 1 file changed, 1 insertion(+), 1 deletion(-)
22631 commit 86c436978c933f6ebe17627abe98325ce66f6baa
22632 Author: John (J5) Palmieri <johnp@redhat.com>
22633 Date: Tue Mar 22 16:13:58 2011 -0400
22635 [gi] make new invoke-ng codepath compile correctly
22638 gi/Makefile.am | 5 +-
22639 gi/pygi-cache.c | 2 +-
22640 gi/pygi-invoke-ng.c | 841 ----------------------
22641 gi/pygi-marshal.c | 1962
22642 +--------------------------------------------------
22643 gi/pygi-private.h | 4 +-
22644 6 files changed, 9 insertions(+), 2809 deletions(-)
22646 commit 35619fec43f4df85edf5456f3fc9733b16f2ba90
22647 Author: John (J5) Palmieri <johnp@redhat.com>
22648 Date: Tue Mar 22 15:40:02 2011 -0400
22650 [gi] conditionalize invoke code paths
22652 configure.ac | 7 +++++++
22653 gi/Makefile.am | 20 +++++++++++++++-----
22654 gi/pygi-cache.h | 2 ++
22655 gi/pygi-info.c | 4 +++-
22656 gi/pygi-private.h | 9 +++++++--
22658 6 files changed, 37 insertions(+), 9 deletions(-)
22660 commit 83c51bd2bb6ca24ce610c04cff1527bcd2689d90
22661 Author: John (J5) Palmieri <johnp@redhat.com>
22662 Date: Tue Mar 22 15:37:24 2011 -0400
22664 [gi] revert back to the type.py from master
22666 gi/types.py | 21 +++++++++++++++------
22667 1 file changed, 15 insertions(+), 6 deletions(-)
22669 commit cb30d00d1c92e73d9bfb08cc7b600a5aa70f2fc0
22670 Author: John (J5) Palmieri <johnp@redhat.com>
22671 Date: Tue Mar 22 14:46:29 2011 -0400
22673 [gi] revert pygi-argument.h and move the invoke-ng code to
22676 gi/pygi-argument.h | 268 +-----------------------------------------
22677 gi/pygi-marshal.h | 336
22678 +++++++++++++++++++++++++++++++++++++++++++++++++++++
22679 2 files changed, 337 insertions(+), 267 deletions(-)
22681 commit 17cb714cfdaf45b6d7dd627b0189bd24e6578f74
22682 Merge: 7332a1b 01596a9
22683 Author: John (J5) Palmieri <johnp@redhat.com>
22684 Date: Tue Mar 22 13:34:36 2011 -0400
22686 Merge branch 'master' into invoke-rewrite
22691 gi/pygi-foreign-cairo.c
22692 gi/pygi-foreign-gvariant.c
22693 gi/pygi-foreign-gvariant.h
22699 commit 01596a9b7cc0ceef3904da5b96939140ee0732fd
22700 Author: John (J5) Palmieri <johnp@redhat.com>
22701 Date: Tue Mar 22 13:20:54 2011 -0400
22703 [gi] foreign types now take interface infos instead of type infos
22705 * this is a prep for the invoke-rewrite branch
22706 * when marshalling foreign structs we may not have the type info but
22707 we will always have the interface info to pass
22708 * this simplifies the code because we were simply converting the
22709 type info back to an interface info anyway so there is less
22710 refcounting to keep track of
22711 * also fixes a bug where we were leaking PyNone ref counts
22713 gi/pygi-argument.c | 4 ++--
22714 gi/pygi-foreign-cairo.c | 16 ++++++++--------
22715 gi/pygi-foreign-gvariant.c | 12 ++++++------
22716 gi/pygi-foreign.c | 32 +++++++++++++-------------------
22717 gi/pygi-foreign.h | 8 ++++----
22718 gi/pygi-invoke.c | 6 +++---
22719 gi/pygi.h | 12 ++++++------
22720 7 files changed, 42 insertions(+), 48 deletions(-)
22722 commit fbabc1fdafa1dcbd1f6aaea7b821bd1c64a546ab
22723 Author: Martin Pitt <martin.pitt@ubuntu.com>
22724 Date: Tue Mar 22 15:04:01 2011 +0100
22726 Fix GSchema tests for separate build tree
22728 When using a separate build tree, the compiled GSettings schema will
22730 build tree, but as the test scripts are only in the source tree they
22732 the compiled schema. Pass the build dir as environment variable and
22734 over test_overrides.py's directory.
22736 tests/Makefile.am | 3 ++-
22737 tests/test_overrides.py | 4 +++-
22738 2 files changed, 5 insertions(+), 2 deletions(-)
22740 commit 7332a1b99775519fdc5500cab6628b713e946a8c
22741 Author: John (J5) Palmieri <johnp@redhat.com>
22742 Date: Mon Mar 21 19:03:29 2011 -0400
22744 [gi] start of merge from master
22746 * move some of the modified files that will cause merge conflicts
22748 own, nonconflicting files
22749 * copy the old files out of master
22751 gi/pygi-argument.c | 2101 +++------------------------
22752 gi/pygi-invoke-ng.c | 1179 ++++++++++++++++
22753 gi/pygi-invoke.c | 421 ++----
22754 gi/pygi-marshal.c | 3916
22755 +++++++++++++++++++++++++++++++++++++++++++++++++++
22756 4 files changed, 5389 insertions(+), 2228 deletions(-)
22758 commit 62b49dae97441953452d097cb1751df14302547a
22759 Author: John (J5) Palmieri <johnp@redhat.com>
22760 Date: Wed Mar 16 17:34:18 2011 -0400
22762 [gi] marshal raw closures
22764 * before we were able to marshal python callables into methods
22766 GClosures but we had no way to take a GClosure returned from one
22767 method and pass it to another - this enables that usecase
22769 https://bugzilla.gnome.org/show_bug.cgi?id=644757
22771 gi/pygi-argument.c | 17 ++++++++++-------
22772 tests/test_gi.py | 4 ++++
22773 2 files changed, 14 insertions(+), 7 deletions(-)
22775 commit 1e70957c5470a0f4bceba38ca66a4e4274fdc8d8
22776 Author: John Stowers <john.stowers@gmail.com>
22777 Date: Sun Mar 6 23:41:01 2011 +1300
22779 pygi-convert.sh add GObject.xxx and webkit
22781 https://bugzilla.gnome.org/show_bug.cgi?id=644347
22783 pygi-convert.sh | 7 +++++++
22784 1 file changed, 7 insertions(+)
22786 commit 2292673c96e7973a0732ca15bbd5b0bf7a9c7dcf
22787 Author: John Stowers <john.stowers@gmail.com>
22788 Date: Sun Mar 6 23:41:30 2011 +1300
22790 pygi-convert.sh remove gobject tests, GObject works now
22792 https://bugzilla.gnome.org/show_bug.cgi?id=644347
22794 pygi-convert.sh | 28 ----------------------------
22795 1 file changed, 28 deletions(-)
22797 commit d26e5cc45f277f6b7edb32aa416520bb53bff9c2
22798 Author: John (J5) Palmieri <johnp@redhat.com>
22799 Date: Fri Mar 11 14:09:02 2011 -0500
22801 [gi-demos] add pickers demo
22803 demos/gtk-demo/demos/pickers.py | 74
22804 +++++++++++++++++++++++++++++++++++++++++
22805 1 file changed, 74 insertions(+)
22807 commit b8d926a458ed7d7e92719e41b5bc1c36f68882b3
22808 Author: John (J5) Palmieri <johnp@redhat.com>
22809 Date: Thu Mar 10 18:12:50 2011 -0500
22811 [gi-demos] add menu demo
22813 demos/gtk-demo/demos/menus.py | 122
22814 ++++++++++++++++++++++++++++++++++++++++++
22815 1 file changed, 122 insertions(+)
22817 commit 9baec8ed1c5d99c1677a75eaa1d38912f41f0b2d
22818 Author: John (J5) Palmieri <johnp@redhat.com>
22819 Date: Wed Mar 9 13:02:50 2011 -0500
22821 [gi-overrides] fix exception block so it works in Python 2.5
22823 gi/overrides/Gio.py | 5 ++++-
22824 1 file changed, 4 insertions(+), 1 deletion(-)
22826 commit 5ac534ac3ceee3cc19fe2297e3cd009817ed726f
22827 Author: Martin Pitt <martin.pitt@ubuntu.com>
22828 Date: Mon Mar 21 13:19:58 2011 +0100
22830 Revert "Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES"
22832 This reverts commit fc7d7f7f153d57ff3866b7bfd5e6479d702cc4d9.
22834 This introduces additional libpython dependencies, which breaks
22836 which support multiple Python versions, and also causes the python
22838 to be in memory twice in some cases.
22840 https://bugzilla.gnome.org/show_bug.cgi?id=620215
22842 gi/Makefile.am | 4 +---
22843 glib/Makefile.am | 2 +-
22844 m4/python.m4 | 7 ++-----
22845 tests/Makefile.am | 2 +-
22846 4 files changed, 5 insertions(+), 10 deletions(-)
22848 commit cd01f8ce1373f28b1427dd847bef44f747f1e6b3
22849 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
22850 Date: Fri Mar 18 17:06:08 2011 +0100
22852 setup.py: fix user_access_control option
22855 1 file changed, 1 insertion(+), 1 deletion(-)
22857 commit 2da60baec4f43c41f43527cbfde4e21e0eea728c
22858 Author: Martin Pitt <martin.pitt@ubuntu.com>
22859 Date: Wed Mar 16 10:22:35 2011 +0100
22861 [gi] Respect the MessageType for Gtk.MessageDialog
22863 Don't just ignore the type argument, actually pass it on. Thanks
22865 Chou for spotting this!
22867 gi/overrides/Gtk.py | 1 +
22868 1 file changed, 1 insertion(+)
22870 commit 029a79d1af1e0998aa6bc88ce1c1f48ce0ccd2a0
22871 Author: Martin Pitt <martin.pitt@ubuntu.com>
22872 Date: Tue Mar 15 10:22:39 2011 +0100
22874 [gi] Do not require signature for D-BUS methods without arguments
22876 Calling methods on DBusProxy objects usually requires specifying
22878 as first argument. However, if the D-BUS method does not take any
22880 specifying the empty '()' signature does not give any additional
22882 so allow the caller to just call the proxy method without any
22885 Also ensure that passing a non-string signature raises a
22887 exception, instead of crashing deep in the GVariant leaf constructor.
22889 https://bugzilla.gnome.org/show_bug.cgi?id=644260
22891 gi/overrides/Gio.py | 16 +++++++++++++++-
22892 tests/test_gdbus.py | 13 +++++++++++++
22893 2 files changed, 28 insertions(+), 1 deletion(-)
22895 commit 5bf66ce79267b25bcc80251f9170498fa1d765f6
22896 Author: John Stowers <john.stowers@gmail.com>
22897 Date: Sun Mar 6 23:05:33 2011 +1300
22899 [gi-overrides] TreeViewColumn.set_cell_data_func func_data can be None
22901 https://bugzilla.gnome.org/show_bug.cgi?id=644343
22903 gi/overrides/Gtk.py | 2 ++
22904 1 file changed, 2 insertions(+)
22906 commit 8e4f86e17a1de533a93b0748fd8de3cbfa70ba62
22907 Author: John Stowers <john.stowers@gmail.com>
22908 Date: Sun Mar 6 17:48:04 2011 +1300
22910 [gi-demos] dont try and run demos that represent directories
22912 demos/gtk-demo/gtk-demo.py | 3 ++-
22913 1 file changed, 2 insertions(+), 1 deletion(-)
22915 commit 097e5efab29d3d2d91d0b9fc75bf00219e9b7810
22916 Author: John (J5) Palmieri <johnp@redhat.com>
22917 Date: Mon Mar 7 18:09:18 2011 -0500
22919 [gi-demos] some python 3 compat fixes
22921 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 6 ++++++
22922 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
22923 demos/gtk-demo/demos/rotatedtext.py | 4 ++--
22924 demos/gtk-demo/gtk-demo.py | 4 ++--
22925 4 files changed, 11 insertions(+), 5 deletions(-)
22927 commit fd5d5ef3abc947d3c6066eea6378514f87b7f0ce
22928 Author: John (J5) Palmieri <johnp@redhat.com>
22929 Date: Tue Feb 22 15:07:40 2011 -0500
22931 [gi-demos] add liststore demo
22933 demos/gtk-demo/demos/Tree View/__init__.py | 0
22934 demos/gtk-demo/demos/Tree View/liststore.py | 205
22935 ++++++++++++++++++++++++++++
22936 2 files changed, 205 insertions(+)
22938 commit 09de5cf99474fc8a34b5f4a61cede1fb47353ebb
22939 Author: John (J5) Palmieri <johnp@redhat.com>
22940 Date: Mon Mar 7 18:08:40 2011 -0500
22942 [gi-demos] catch the correct error class
22944 demos/gtk-demo/demos/images.py | 11 ++++++-----
22945 1 file changed, 6 insertions(+), 5 deletions(-)
22947 commit 7284d2d4622978fc9ddfd00f2714b3a572b7ab56
22948 Author: Steve Frécinaux <code@istique.net>
22949 Date: Sun Mar 6 21:18:36 2011 +0100
22951 Do not leak python references when using the gobject.property()
22954 Since this helper was storing plain references in a long-lived
22956 refcount for the instances would never drop to zero, and so they would
22957 never get finalized.
22959 https://bugzilla.gnome.org/show_bug.cgi?id=644039
22961 gobject/propertyhelper.py | 5 ++---
22962 tests/test_properties.py | 23 +++++++++++++++++++++++
22963 2 files changed, 25 insertions(+), 3 deletions(-)
22965 commit 618dbb0ee15b47e5e7cb16a34ffce0937d7fa26d
22966 Author: John (J5) Palmieri <johnp@redhat.com>
22967 Date: Fri Mar 4 12:25:49 2011 -0500
22969 handle uchar as bytes, not strings in python 3
22971 * This worked in Python2 because bytes and strings are equivilant
22973 PYGLIB_PyString_FromStringAndSize evaluated to a PyString
22974 * In Python 3 PYGLIB_PyString_FromStringAndSize evaluates to
22976 * PYGLIB_PyBytes_FromStringAndSize evaluates to a PyString in Python 2
22977 and a PyBytes object in Python 3
22979 gobject/pygtype.c | 2 +-
22980 1 file changed, 1 insertion(+), 1 deletion(-)
22982 commit 7e9483ff75b7a63ddda0fa9a9847f9f22ad71240
22983 Author: John (J5) Palmieri <johnp@redhat.com>
22984 Date: Fri Mar 4 12:24:35 2011 -0500
22986 [gi-overrides] handle unichar gvalues when setting treemodels
22988 gi/overrides/Gtk.py | 10 ++++++++++
22989 1 file changed, 10 insertions(+)
22991 commit 6367bffa006e94dc667d7008fccad8d47d8d3646
22992 Author: John (J5) Palmieri <johnp@redhat.com>
22993 Date: Fri Mar 4 11:43:51 2011 -0500
22995 [gi-overrides] special case python 2 keywords that crept in
22997 gi/overrides/Gtk.py | 6 +++++-
22998 tests/test_overrides.py | 8 ++++----
22999 2 files changed, 9 insertions(+), 5 deletions(-)
23001 commit 83b0f8a37d5f3236780d87a1ca466c5e44ae2bc0
23002 Author: John (J5) Palmieri <johnp@redhat.com>
23003 Date: Fri Mar 4 11:10:16 2011 -0500
23005 check for the py3 _thread module in configure.ac if thread is
23008 configure.ac | 6 +++++-
23009 1 file changed, 5 insertions(+), 1 deletion(-)
23011 commit 4645af87d3c587f535404867dab56608719e5c7b
23012 Author: John (J5) Palmieri <johnp@redhat.com>
23013 Date: Fri Mar 4 00:39:23 2011 -0500
23015 [gi-demos] add iconview demo
23017 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 212
23018 +++++++++++++++++++++++
23019 1 file changed, 212 insertions(+)
23021 commit 761dcb516a04f7a89b3c7d68e88fff23055e2a80
23022 Author: John (J5) Palmieri <johnp@redhat.com>
23023 Date: Thu Mar 3 18:39:16 2011 -0500
23025 [gi] wrap the keyword argument in a dict so we don't break Python 2.5
23027 * python < 2.6 does not allow sending in keyword litterals after
23029 *args. You can only send in **kwds.
23032 1 file changed, 1 insertion(+), 1 deletion(-)
23034 commit f9604e90af12a1b9dbe7d7f311308e87cd0ed7dd
23035 Author: John (J5) Palmieri <johnp@redhat.com>
23036 Date: Thu Mar 3 18:30:40 2011 -0500
23038 [gi-demos] add the combobox with string ids section to the demos
23040 demos/gtk-demo/demos/combobox.py | 49
23041 +++++++++++++++++++++++++++++++++++++++-
23042 1 file changed, 48 insertions(+), 1 deletion(-)
23044 commit b70f4daf071cf77a4561b57f5521eb928f66d1ce
23045 Author: John (J5) Palmieri <johnp@redhat.com>
23046 Date: Thu Mar 3 16:47:51 2011 -0500
23048 [gi-overrides] add an override for Gdk.RGBA
23050 gi/overrides/Gdk.py | 18 ++++++++++++++++++
23051 tests/test_overrides.py | 10 ++++++++++
23052 2 files changed, 28 insertions(+)
23054 commit ee2b63f60f350332ed21927721ed9ddff3a8034e
23055 Author: John (J5) Palmieri <johnp@redhat.com>
23056 Date: Thu Mar 3 16:10:17 2011 -0500
23058 [gi-demos] fix up search-entry to reflect annotations fixed in Gtk+
23061 demos/gtk-demo/demos/Entry/search_entry.py | 23 +++++++++--------------
23062 1 file changed, 9 insertions(+), 14 deletions(-)
23064 commit cd046e4c355706ead5f512b810a2a48317f8c32e
23065 Author: John (J5) Palmieri <johnp@redhat.com>
23066 Date: Wed Mar 2 18:13:43 2011 -0500
23068 [gi-demos] add search entry demo
23070 demos/gtk-demo/demos/Entry/search_entry.py | 257
23071 +++++++++++++++++++++++++++++
23072 1 file changed, 257 insertions(+)
23074 commit d5ddaa92e6349c2f52b67317326060973cb69661
23075 Author: John (J5) Palmieri <johnp@redhat.com>
23076 Date: Wed Mar 2 15:37:27 2011 -0500
23078 [gi] wrap map in a list for Python 3 compat
23081 1 file changed, 1 insertion(+), 1 deletion(-)
23083 commit 3e5ab72a2e1fa2d8c4c2864137c6251f264ff4af
23084 Author: John (J5) Palmieri <johnp@redhat.com>
23085 Date: Tue Mar 1 14:52:00 2011 -0500
23087 [gi-demos] fix up the validation combobox
23089 demos/gtk-demo/demos/combobox.py | 21 +++++++++++++++------
23090 1 file changed, 15 insertions(+), 6 deletions(-)
23092 commit 08af5f99f0838b3584f6a3b210d0a0304811e8ff
23093 Author: John (J5) Palmieri <johnp@redhat.com>
23094 Date: Tue Mar 1 12:31:35 2011 -0500
23096 add overridesdir variable in the .pc file for 3rd party overrides
23098 pygobject-2.0.pc.in | 1 +
23099 1 file changed, 1 insertion(+)
23101 commit 4a6b14a92a687a2311516b2c16c355216b5270a7
23102 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
23103 Date: Fri Feb 11 17:14:11 2011 +0100
23105 setup.py: Set bdist_wininst user-access-control property
23108 1 file changed, 2 insertions(+), 1 deletion(-)
23110 commit ad3ab659b83cb985730e19a83651da319d4bcb9c
23111 Author: Martin Pitt <martin.pitt@ubuntu.com>
23112 Date: Wed Mar 2 16:29:00 2011 +0100
23114 Fix uninitialized variable in gi.require_version()
23116 gi/__init__.py | 3 ++-
23117 1 file changed, 2 insertions(+), 1 deletion(-)
23119 commit 6e7606ee8830f6f51b777f41f6df2f6ea1784e89
23120 Author: Martin Pitt <martin.pitt@ubuntu.com>
23121 Date: Tue Mar 1 23:26:07 2011 +0100
23123 Run tests with LC_MESSAGES="C"
23125 Some tests, such as tests/test_gdbus.py check parts of error messages
23127 visible strings. Ensure that these do not get translated in the
23130 tests/runtests.py | 2 ++
23131 1 file changed, 2 insertions(+)
23133 commit 0461e05174637ae02f34029b85ba217d5ae48c53
23134 Author: John (J5) Palmieri <johnp@redhat.com>
23135 Date: Mon Feb 28 18:21:43 2011 -0500
23137 [gi-overrides] override Gtk.stock_lookup to not return success
23139 demos/gtk-demo/demos/combobox.py | 2 +-
23140 gi/overrides/Gtk.py | 9 +++++++++
23141 2 files changed, 10 insertions(+), 1 deletion(-)
23143 commit 40decf3501823004a6e4d3acbbf204c4d4d0a7ec
23144 Author: John (J5) Palmieri <johnp@redhat.com>
23145 Date: Mon Feb 28 14:16:00 2011 -0500
23147 update NEWS to reflect changes in the 2.27.91 release (PYGOBJECT_2_28
23150 NEWS | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
23151 1 file changed, 50 insertions(+)
23153 commit c2d5122b8e3cf51ec52418f90f1788895b842b6a
23154 Author: John (J5) Palmieri <johnp@redhat.com>
23155 Date: Mon Feb 28 14:08:05 2011 -0500
23157 [gi-tests] use Gdk.test_simulate_button instead of emitting event
23160 * this function is available specifically so we can test events so
23162 instead of creating our own button press event
23164 tests/test_overrides.py | 9 +++++----
23165 1 file changed, 5 insertions(+), 4 deletions(-)
23167 commit 1be1a2ea2787dffeb71ab4a38233fb71e761bd21
23168 Author: Laszlo Pandy <lpandy@src.gnome.org>
23169 Date: Thu Feb 24 19:30:32 2011 +0100
23171 [gi-tests] tests for EventButton override.
23173 * John (J5) Palmieri - fixed up original patch so that we actually
23174 emit the event instead of just creating a Gdk.ButtonEvent object
23176 https://bugzilla.gnome.org/show_bug.cgi?id=642554
23178 tests/test_overrides.py | 21 +++++++++++++++++++++
23179 1 file changed, 21 insertions(+)
23181 commit 99044a4860dd65c97f52b41b7cd3f216f4a97cd4
23182 Author: John (J5) Palmieri <johnp@redhat.com>
23183 Date: Wed Feb 23 18:43:27 2011 -0500
23185 [gi-overrides] Add event methods to all event union members
23187 https://bugzilla.gnome.org/show_bug.cgi?id=642554
23189 gi/overrides/Gdk.py | 70
23190 +++++++++++++++++++++++++++++++++++++++++++++++++++++
23191 1 file changed, 70 insertions(+)
23193 commit 6e30c69d38fd382414eb820097c297a80be547ac
23194 Author: John (J5) Palmieri <johnp@redhat.com>
23195 Date: Wed Feb 23 14:14:16 2011 -0500
23197 [gi] check to see if object is a member of a union when validating
23200 * union members are not subclasses of the union they belong to so
23202 inteface requires you pass a union but you pass one of its members
23203 there will be a type error
23204 * this patch checks to see if the type you are passing is a member
23206 union and passes the checks if it is
23207 * this works in python 3 but in python 2 methods do their own
23209 check on the instance parameter (e.g. self) so we need to figure
23210 out how to override that for union methods
23211 (e.g. Gdk.Event.get_state)
23213 https://bugzilla.gnome.org/show_bug.cgi?id=642554
23215 gi/pygi-argument.c | 38 ++++++++++++++++++++++++++++++++++++++
23216 1 file changed, 38 insertions(+)
23218 commit 525f21d1365c24488b768955362085bf82512dee
23219 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23220 Date: Wed Feb 16 09:44:12 2011 +0100
23222 Skip interfaces when checking for conflicts in the MRO
23224 https://bugzilla.gnome.org/show_bug.cgi?id=642437
23226 gi/types.py | 40 ++++++++++++++++++++++++++++++++++++++++
23227 gobject/gobjectmodule.c | 9 +++++++--
23228 tests/test_gi.py | 16 ++++++++++++++++
23229 3 files changed, 63 insertions(+), 2 deletions(-)
23231 commit da212024772a7a0c32f04f3589bfb24d2eb5706f
23232 Author: Laszlo Pandy <lpandy@src.gnome.org>
23233 Date: Thu Feb 24 18:46:15 2011 +0100
23235 [gi] Remove DyanmicModule.load() to _load() to prevent overriding
23238 gi/importer.py | 2 +-
23239 gi/module.py | 2 +-
23240 2 files changed, 2 insertions(+), 2 deletions(-)
23242 commit 2ce6b58c7427cf67ba4f55731ba0a4c04703e495
23243 Author: Laszlo Pandy <lpandy@src.gnome.org>
23244 Date: Wed Feb 23 12:05:03 2011 +0100
23246 Test case with John's fix for crash with C arrays and a GError is set.
23248 I have added a test case, and made a few fixes to John's patch,
23250 solution is the same his.
23252 Workaround a bug when freeing C array types
23254 * This is a hack and there is really no way around it without
23256 the current array handling code which spans between pygi-invoke.c
23258 pygi-argument.c and completely rewriting it.
23259 * The is no time before our stable release
23260 * This patch trades a segfault for a leak in the very unusual
23262 an error occures inside an interface that takes one or more C
23264 we wrap C arrays in GArrays internally but have to unwrap them
23266 to the introspected C function, there is a period of time where
23268 can occure with the C array in an unknown state (some being true
23270 and others still wrapped in a GArray)
23271 * This patch adds a c_arrays_are_wrapped state to signal that it
23273 free them. However since c_arrays_are_wrapped can only track
23275 as a group, not individually, if it is set to FALSE we can
23277 that every array is a pure C array, so instead we will simply
23279 to avoid incorrectly freeing one and causing a segfault.
23280 * This issue is fixed in the invoke rewrite branch as it treats
23282 GArrays separately, however that branch is not yet ready to be
23284 won't be until the next release.
23286 https://bugzilla.gnome.org/show_bug.cgi?id=642708
23288 gi/pygi-invoke.c | 54
23289 ++++++++++++++++++++++++++++++++++++++++++++++++++----
23290 tests/test_gi.py | 9 +++++++++
23291 2 files changed, 59 insertions(+), 4 deletions(-)
23293 commit 702a89beca92cab6b0142829b20281b9245f28b8
23294 Author: John (J5) Palmieri <johnp@redhat.com>
23295 Date: Wed Feb 23 15:11:59 2011 -0500
23297 [gi-overrides] fix setting rows in treeview to accept None as a value
23299 * as done in PyGTK None indicates the column should not be set
23301 gi/overrides/Gtk.py | 3 +++
23302 tests/test_overrides.py | 18 +++++++++++++-----
23303 2 files changed, 16 insertions(+), 5 deletions(-)
23305 commit 498f0d9c903131aca5efe27ffaad7620e40f72ea
23306 Author: Laszlo Pandy <lpandy@src.gnome.org>
23307 Date: Wed Feb 23 14:23:19 2011 +0100
23309 [gi] Add value_name for enum and flags from introspection
23310 "c:identifier" (if attr is available).
23312 gi/gimodule.c | 22 ++++++++++++++++++----
23313 tests/test_gi.py | 36 ++++++++++++++++++++++++++++++++++++
23314 2 files changed, 54 insertions(+), 4 deletions(-)
23316 commit 824aeb7fab17d6590e5babf2d1f64298f2d0e16b
23317 Author: Laszlo Pandy <lpandy@src.gnome.org>
23318 Date: Wed Feb 23 11:40:55 2011 +0100
23320 Fix flags with multiple names for the same value.
23322 Flags constructs a dict __flags_values__ and uses it to cache
23323 instances. However some flags in Glib such as G_IO_FLAG_MASK and
23324 G_IO_FLAG_GET_MASK are aliases for the same int value, and will
23325 override each other's place in the dictionary.
23327 The dict length check is not necessary. It only reduces the number
23328 of duplicate instances we keep, because if an instance is not
23329 found in the dict, a new one is created anyway.
23331 gobject/pygflags.c | 2 +-
23332 1 file changed, 1 insertion(+), 1 deletion(-)
23334 commit 3afbebeee486e14fd3f48552368903eb78f6b10c
23335 Author: Laszlo Pandy <lpandy@src.gnome.org>
23336 Date: Tue Feb 22 21:37:33 2011 +0100
23338 Don't force loading of DynamicModule until set in sys.modules
23340 This fixes Tomeu's previous commit, which removed lazy loading.
23341 Forcing the loading of a module before it is installed in sys.modules
23342 prevents some overrides from being registered (namely Gtk.main_quit).
23344 https://bugzilla.gnome.org/show_bug.cgi?id=642305
23346 gi/importer.py | 2 +-
23347 1 file changed, 1 insertion(+), 1 deletion(-)
23349 commit 2a9cbfb435b47dc646e2c6ffe630464b560229a6
23350 Author: John (J5) Palmieri <johnp@redhat.com>
23351 Date: Mon Feb 21 17:20:57 2011 -0500
23353 use GValue support to marshal GtkTreeModel values correctly
23355 * needs patch from https://bugzilla.gnome.org/show_bug.cgi?id=642914
23357 https://bugzilla.gnome.org/show_bug.cgi?id=642921
23359 gi/overrides/Gtk.py | 37 ++++++++++++++++++---
23360 tests/test_overrides.py | 87
23361 +++++++++++++++++++++++++++++++++++++++++--------
23362 2 files changed, 107 insertions(+), 17 deletions(-)
23364 commit 9e4ce7dc0f03ea407654c4af028122f57cbc4c5e
23365 Author: John (J5) Palmieri <johnp@redhat.com>
23366 Date: Mon Feb 21 16:14:20 2011 -0500
23368 [gi] pass raw GValues instead of trying to marshal them
23370 * Right now GValues are transparent to the user but this leave us no
23371 way to describe fundimental types other than those supported
23373 by python (e.g. int, str, etc)
23374 * If an interface is expecting a uint or other GValue type a user
23376 the raw GValue interfaces and expect paramaters that take
23378 marshal them correctly e.g.:
23379 value = GObject.Value()
23380 value.int(GObject.TYPE_UINT)
23381 value.set_uint(1234)
23382 * The objective here is to not for users to use this API but for
23384 to be able to utilize them. For instance in the TreeModel API
23386 get the expected type for a column and them create a GValue with
23388 type so that he underlying python object is marshalled correctly.
23390 https://bugzilla.gnome.org/show_bug.cgi?id=642914
23392 gi/pygi-argument.c | 24 ++++++++++++++++++------
23393 tests/test_gi.py | 9 ++++++++-
23394 2 files changed, 26 insertions(+), 7 deletions(-)
23396 commit b458f6f3424a04f6ceece09d443009372d70544c
23397 Author: John (J5) Palmieri <johnp@redhat.com>
23398 Date: Sat Feb 19 19:42:41 2011 -0500
23400 [gi-demos] add icon view edit and drag-and-drop demo
23402 demos/gtk-demo/demos/Icon View/__init__.py | 0
23403 demos/gtk-demo/demos/Icon View/iconviewedit.py | 101
23404 +++++++++++++++++++++++++
23405 2 files changed, 101 insertions(+)
23407 commit 7b47289e25d1dd57ce15556ccfbb3ede1c4bfe8b
23408 Author: John (J5) Palmieri <johnp@redhat.com>
23409 Date: Sat Feb 19 17:26:42 2011 -0500
23411 [gi-demos] add info bars demo
23413 demos/gtk-demo/demos/infobars.py | 99
23414 ++++++++++++++++++++++++++++++++++++++++
23415 1 file changed, 99 insertions(+)
23417 commit 76758efb6579752237a0dc4d56cf9518de6c6e55
23418 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23419 Date: Wed Feb 16 11:53:18 2011 +0100
23421 Load typelibs at import time, add gi.require_version()
23423 also adds Repository.get_loaded_namespaces()
23425 https://bugzilla.gnome.org/show_bug.cgi?id=642305
23427 gi/__init__.py | 29 ++++++++++++++++++++++++++++-
23428 gi/importer.py | 1 +
23429 gi/module.py | 21 ++++-----------------
23430 gi/pygi-repository.c | 23 +++++++++++++++++++++++
23431 4 files changed, 56 insertions(+), 18 deletions(-)
23433 commit 96f7d1aed732db09a74cd463ed894b7347dbcb15
23434 Author: Laszlo Pandy <lpandy@src.gnome.org>
23435 Date: Sat Feb 19 23:11:25 2011 +0100
23437 [gi] Register GType for non-GType enums and flags at runtime.
23439 Note: rebuild of gobject-introspection is required for new tests.
23441 Previously non-GType enums used a separate type implemented in
23442 Python, and non-GType flags had no implementation at all. This
23443 removes the separate type for enums, and registers a new GType at
23444 runtime if there isn't one.
23446 This allows non-GType enums and flags to use the same Python type
23447 as GType enums and flags. This removes duplication of code, and
23448 make both kinds behave identically.
23450 https://bugzilla.gnome.org/show_bug.cgi?id=642607
23452 gi/gimodule.c | 117
23453 +++++++++++++++++++++++++++++++++++++++++++++++++++++
23454 gi/module.py | 24 ++++++-----
23455 gi/pygi-info.c | 15 +++++++
23456 gi/types.py | 16 --------
23457 gobject/pygflags.c | 13 ++++--
23458 tests/test_gi.py | 35 ++++++++++++++++
23459 6 files changed, 191 insertions(+), 29 deletions(-)
23461 commit 63a60bcc20e724f96ea8d565ee0cf13a228b72b9
23462 Author: Martin Pitt <martin.pitt@ubuntu.com>
23463 Date: Tue Feb 8 15:38:21 2011 +0100
23465 [gi] Add Pythonic gdbus method invocation
23467 Provide a wrapper for Gio.DBusProxy for calling D-Bus methods like
23469 Python object. This will handle the Python object <-> GVariant
23471 optional keyword arguments for flags, timeout, and a result handler
23473 asynchronous calls.
23475 Require specifying the input argument signature as the first argument
23477 method call. This ensures that the types of e. g. integers are
23479 and avoids having to do expensive D-Bus introspection for each call.
23481 https://bugzilla.gnome.org/show_bug.cgi?id=640181
23483 gi/overrides/Gio.py | 99
23484 ++++++++++++++++++++++++++++++++++++++++++++++++++
23485 tests/test_gdbus.py | 102
23486 ++++++++++++++++++++++++++++++++++++++++++++++++++--
23487 2 files changed, 199 insertions(+), 2 deletions(-)
23489 commit ed5cdbb6f52bdbd13521a814516b15687955d6f7
23490 Author: Laszlo Pandy <lpandy@src.gnome.org>
23491 Date: Fri Feb 18 22:48:59 2011 +0100
23493 Skip GError out parameters in Python closure.
23495 Python code should have never have to explicitely return a GError.
23496 Once we are able to marshal exceptions the Python code should
23497 throw an exception instead. Until then, set GError to NULL, and
23498 don't complain if a Python function doesn't return an arg for it.
23500 https://bugzilla.gnome.org/show_bug.cgi?id=642715
23502 gi/pygi-closure.c | 8 ++++++++
23503 1 file changed, 8 insertions(+)
23505 commit 5a5ee3877e22939a697772a7f0630ef8cae3d52f
23506 Author: Laszlo Pandy <lpandy@src.gnome.org>
23507 Date: Fri Feb 18 10:15:59 2011 +0100
23509 Fix runtests.py to work with Python3 (print function syntax error).
23511 tests/runtests.py | 2 +-
23512 1 file changed, 1 insertion(+), 1 deletion(-)
23514 commit ad5d3fccff9433e2dadac89d731dac5cafb0eac3
23515 Author: John (J5) Palmieri <johnp@redhat.com>
23516 Date: Thu Feb 17 19:46:49 2011 -0500
23518 [gi-demos] added rotate text demo
23520 * needs some Pango Attr fixes to be 100% done, See FIXME
23522 demos/gtk-demo/demos/rotatedtext.py | 196
23523 ++++++++++++++++++++++++++++++++++++
23524 1 file changed, 196 insertions(+)
23526 commit 9ac11c3c3b1c0399c85ece57c0983ed60d419d7a
23527 Author: John (J5) Palmieri <johnp@redhat.com>
23528 Date: Thu Feb 17 17:25:00 2011 -0500
23530 [gi-demos] add images demo
23532 * needs annotation fix from GdkPixbuf for ImageLoader to work
23534 demos/gtk-demo/demos/images.py | 311
23535 +++++++++++++++++++++++++++++++++++++++++
23536 1 file changed, 311 insertions(+)
23538 commit 13b06170b89b3468e6255be32af4833ffc675c9d
23539 Author: John (J5) Palmieri <johnp@redhat.com>
23540 Date: Thu Feb 17 14:48:24 2011 -0500
23542 [gi-demos] add pixbuf demo
23544 demos/gtk-demo/demos/pixbuf.py | 183
23545 +++++++++++++++++++++++++++++++++++++++++
23546 1 file changed, 183 insertions(+)
23548 commit 7abcfd5b4db99bb0f50c5a47d346a2de3836f994
23549 Author: John (J5) Palmieri <johnp@redhat.com>
23550 Date: Thu Feb 17 14:47:12 2011 -0500
23552 [gi-demos] remove fixmes from print demo, fixed in pango
23554 demos/gtk-demo/demos/printing.py | 10 +++-------
23555 1 file changed, 3 insertions(+), 7 deletions(-)
23557 commit 9b13f49356da7d71c69b82da2a59d92f456a6913
23558 Author: John (J5) Palmieri <johnp@redhat.com>
23559 Date: Wed Feb 16 19:39:30 2011 -0500
23561 [gi-demos] add printing demo
23563 * needs some annotations for pango before it is 100% useful
23565 demos/gtk-demo/demos/printing.py | 177
23566 +++++++++++++++++++++++++++++++++++++++
23567 1 file changed, 177 insertions(+)
23569 commit 6025b62ee662af347e48b6752e6d5be74b4a8215
23570 Author: John (J5) Palmieri <johnp@redhat.com>
23571 Date: Wed Feb 16 17:52:38 2011 -0500
23573 [gi-overrides] add cursor overrides
23575 https://bugzilla.gnome.org/show_bug.cgi?id=635947
23577 gi/overrides/Gdk.py | 41 +++++++++++++++++++++++++++++++++++++++++
23578 tests/test_overrides.py | 23 +++++++++++++++++++++++
23579 2 files changed, 64 insertions(+)
23581 commit 03c0aa498470037ef2aa6a8233198ff521f8d42f
23582 Author: John (J5) Palmieri <johnp@redhat.com>
23583 Date: Wed Feb 16 16:18:24 2011 -0500
23585 [gi-demos] add the links demo
23587 demos/gtk-demo/demos/links.py | 74
23588 +++++++++++++++++++++++++++++++++++++++++++
23589 1 file changed, 74 insertions(+)
23591 commit 79ecddf8d54b3f4f8b5ef05d302675152622c832
23592 Author: John (J5) Palmieri <johnp@redhat.com>
23593 Date: Wed Feb 16 15:48:40 2011 -0500
23595 [gi-demos] add expander demo
23597 demos/gtk-demo/demos/expander.py | 60
23598 ++++++++++++++++++++++++++++++++++++++++
23599 1 file changed, 60 insertions(+)
23601 commit 76cdb13ab872f91f8384d26b0f2932087a746117
23602 Author: John (J5) Palmieri <johnp@redhat.com>
23603 Date: Wed Feb 16 15:14:35 2011 -0500
23605 [gi-overrides] use pop instead of del and add extra tests for
23608 gi/overrides/Gtk.py | 6 ++----
23609 tests/test_overrides.py | 8 ++++++++
23610 2 files changed, 10 insertions(+), 4 deletions(-)
23612 commit 6ef83c049735689c42f085ca9d7b8e1f251c410f
23613 Author: Laszlo Pandy <lpandy@src.gnome.org>
23614 Date: Tue Feb 15 20:07:42 2011 +0100
23616 [tests] Separate processes for GI and static binding tests.
23618 Importing and using both static gobject bindings and
23619 introspection GObject bindings in the same process can cause
23620 conflicts with types which otherwise wouldn't be there.
23622 This patch changes "make check" to call runtests.py twice -- once
23623 for each set of tests.
23625 In the case of a test failure, runtests.py now sets the exit code
23626 so that make does not continue. Otherwise you might miss the
23627 failures from the first batch of tests in the scrollback.
23629 tests/Makefile.am | 19 +++++++++++--------
23630 tests/runtests.py | 4 +++-
23631 2 files changed, 14 insertions(+), 9 deletions(-)
23633 commit e0896b45f60f37097ec521f1bc38778383b78dd8
23634 Author: John (J5) Palmieri <johnp@redhat.com>
23635 Date: Tue Feb 15 14:47:10 2011 -0500
23637 [gi-demos] add dialogs demo
23639 demos/gtk-demo/demos/dialogs.py | 153
23640 ++++++++++++++++++++++++++++++++++++++++
23641 1 file changed, 153 insertions(+)
23643 commit 2dea743e82f6b18697950c34f116b2d0f1d6b1dd
23644 Author: John (J5) Palmieri <johnp@redhat.com>
23645 Date: Tue Feb 15 14:46:41 2011 -0500
23647 [gi-overrides] fix typo in GtkTable constructor
23649 gi/overrides/Gtk.py | 8 ++++----
23650 1 file changed, 4 insertions(+), 4 deletions(-)
23652 commit 9c277e1782c5a9d672d91fabf5289c5415891682
23653 Author: John (J5) Palmieri <johnp@redhat.com>
23654 Date: Tue Feb 15 13:26:38 2011 -0500
23656 [gi-demos] keep popup menu from destroying itself by holding a ref
23659 demos/gtk-demo/demos/clipboard.py | 8 ++++----
23660 1 file changed, 4 insertions(+), 4 deletions(-)
23662 commit 18800c4db0e1faea38fd84f635d26a7ded5d10de
23663 Author: John (J5) Palmieri <johnp@redhat.com>
23664 Date: Tue Feb 15 13:25:13 2011 -0500
23666 [gi-overrides] add a Gtk.Menu override for the popup method
23668 gi/overrides/Gtk.py | 7 +++++++
23669 1 file changed, 7 insertions(+)
23671 commit ad93386ba9f73ef4c3826544b3868cf03c01225e
23672 Author: John (J5) Palmieri <johnp@redhat.com>
23673 Date: Tue Feb 15 13:24:33 2011 -0500
23675 [gi-demos] fix the about dialog in appwindow demo
23677 demos/gtk-demo/demos/appwindow.py | 22 +++++++++-------------
23678 1 file changed, 9 insertions(+), 13 deletions(-)
23680 commit d0c45c80974f05b6adfd3bb01d785be268a53a98
23681 Author: John (J5) Palmieri <johnp@redhat.com>
23682 Date: Tue Feb 15 11:21:13 2011 -0500
23684 [gi-demos] fix clipboard demo so DnD works
23686 * menu popups don't work because the API takes a callback without
23690 demos/gtk-demo/demos/clipboard.py | 20 ++++++++++----------
23691 1 file changed, 10 insertions(+), 10 deletions(-)
23693 commit 02d0327508234ab2e3b7dc6de506d70e6fcaaa17
23694 Author: John (J5) Palmieri <johnp@redhat.com>
23695 Date: Tue Feb 15 10:18:53 2011 -0500
23697 [gi-demos] fix clipboard demo to reflect new API
23699 demos/gtk-demo/demos/clipboard.py | 6 +++---
23700 1 file changed, 3 insertions(+), 3 deletions(-)
23702 commit aa006cad6990eff0cbb68fa9550e428f2bc96473
23703 Author: John (J5) Palmieri <johnp@redhat.com>
23704 Date: Mon Feb 14 18:17:20 2011 -0500
23706 [gi-demo] Fix color dialog demo to run with new draw, style and
23709 demos/gtk-demo/demos/colorselector.py | 44
23710 ++++++++++++++---------------------
23711 1 file changed, 17 insertions(+), 27 deletions(-)
23713 commit f94a96c53e9432ac085bd05acee7ebdd2803fbad
23714 Author: John (J5) Palmieri <johnp@redhat.com>
23715 Date: Mon Feb 14 17:58:25 2011 -0500
23717 [gi-demos] fix most of the combobox app
23719 * Still having some issues with filtering the ComboBoxText widget
23721 demos/gtk-demo/demos/combobox.py | 17 ++++++++---------
23722 1 file changed, 8 insertions(+), 9 deletions(-)
23724 commit 3606eb20ad1651af621bf1aa429ec102082565eb
23725 Author: Laszlo Pandy <lpandy@src.gnome.org>
23726 Date: Mon Feb 14 19:36:27 2011 +0100
23728 Use PyGI type conversion (to fix foreign types) for signal callbacks.
23730 First attempt at patch to fix foreign types in signal callbacks.
23731 Tests are not implemented yet.
23733 https://bugzilla.gnome.org/show_bug.cgi?id=637601
23735 gi/Makefile.am | 2 +
23736 gi/gimodule.c | 1 +
23737 gi/pygi-argument.c | 91 ++++++++++++++++++
23738 gi/pygi-argument.h | 2 +
23739 gi/pygi-private.h | 1 +
23740 gi/pygi-signal-closure.c | 245
23741 +++++++++++++++++++++++++++++++++++++++++++++++
23742 gi/pygi-signal-closure.h | 46 +++++++++
23743 gi/pygi.h | 28 ++++++
23744 gobject/pygobject.c | 24 ++++-
23745 9 files changed, 436 insertions(+), 4 deletions(-)
23747 commit 2e39d5e8f96be2253acb2f34a0d0b5b9c9adb8ff
23748 Author: John (J5) Palmieri <johnp@redhat.com>
23749 Date: Mon Feb 14 16:47:03 2011 -0500
23751 [gi-demos] fix drawingarea app to use the new draw api
23753 demos/gtk-demo/demos/drawingarea.py | 144
23754 +++++++++++++-----------------------
23755 1 file changed, 50 insertions(+), 94 deletions(-)
23757 commit 8385afbbc5df295d9b7cd3b5d19c90faa1f7ea8e
23758 Author: John (J5) Palmieri <johnp@redhat.com>
23759 Date: Mon Feb 14 16:43:35 2011 -0500
23761 [gi-overrides] for Gtk 3 alias Gdk.Rectangle to cairo.RectangleInt
23763 * note this is the introspected gobject-cairo boxed type not the
23766 * we alias this so people do not get confused
23768 gi/overrides/Gdk.py | 5 +++++
23769 1 file changed, 5 insertions(+)
23771 commit d491c369e049ab726f09002af0462391d5c2f3ec
23772 Author: John (J5) Palmieri <johnp@redhat.com>
23773 Date: Mon Feb 14 15:07:11 2011 -0500
23775 [gi-overrides] let user set the proper property names in Gtk.Table
23777 * the old override added a columns and rows parameters to the Table
23779 to be in sync with PyGtk.
23780 * The GTK properties are n_columns and n_rows
23783 gi/overrides/Gtk.py | 8 ++++++++
23784 1 file changed, 8 insertions(+)
23786 commit 95bc2b2b025d659725d701c3b759c0c4d9681a36
23787 Author: John (J5) Palmieri <johnp@redhat.com>
23788 Date: Mon Feb 14 15:06:38 2011 -0500
23790 [gi-demos] get appwindow demo working again
23792 demos/gtk-demo/demos/appwindow.py | 24 ++++--------------------
23793 1 file changed, 4 insertions(+), 20 deletions(-)
23795 commit 015185f502c498c21cb108d3bb288c5b6dbf202f
23796 Author: John (J5) Palmieri <johnp@redhat.com>
23797 Date: Mon Feb 14 15:05:44 2011 -0500
23799 [gi-demos] fixed use of tree_iter_get
23801 demos/gtk-demo/gtk-demo.py | 2 +-
23802 1 file changed, 1 insertion(+), 1 deletion(-)
23804 commit 0c20977e4598e5447dd07c069e91226efacb1160
23805 Author: Simon van der Linden <svdlinden@gnome.org>
23806 Date: Fri Feb 11 22:02:03 2011 +0100
23808 Remove last GIO-related bits
23810 https://bugzilla.gnome.org/show_bug.cgi?id=638899
23814 configure.ac | 3 --
23815 examples/gio/directory-async.py | 33 ------------------
23816 examples/gio/downloader.py | 77
23817 -----------------------------------------
23818 pygobject.doap | 2 +-
23819 6 files changed, 3 insertions(+), 117 deletions(-)
23821 commit e4ebbd7de5570af1abf41bdf9469d4ce3edd48cb
23822 Author: Simon van der Linden <svdlinden@gnome.org>
23823 Date: Fri Feb 11 18:38:27 2011 +0100
23825 Remove GIO documentation
23827 https://bugzilla.gnome.org/show_bug.cgi?id=638899
23829 docs/Makefile.am | 82 +-
23830 docs/reference/pygio-appinfo.xml | 894 -----
23831 docs/reference/pygio-applaunchcontext.xml | 194 --
23832 docs/reference/pygio-asyncresult.xml | 117 -
23833 docs/reference/pygio-bufferedinputstream.xml | 461 ---
23834 docs/reference/pygio-bufferedoutputstream.xml | 275 --
23835 docs/reference/pygio-cancellable.xml | 290 --
23836 docs/reference/pygio-classes.xml | 47 -
23837 docs/reference/pygio-constants.xml | 1540 ---------
23838 docs/reference/pygio-datainputstream.xml | 799 -----
23839 docs/reference/pygio-dataoutputstream.xml | 504 ---
23840 docs/reference/pygio-drive.xml | 546 ---
23841 docs/reference/pygio-emblem.xml | 232 --
23842 docs/reference/pygio-emblemedicon.xml | 160 -
23843 docs/reference/pygio-file.xml | 4534
23844 -------------------------
23845 docs/reference/pygio-fileattributeinfo.xml | 73 -
23846 docs/reference/pygio-fileenumerator.xml | 488 ---
23847 docs/reference/pygio-fileicon.xml | 109 -
23848 docs/reference/pygio-fileinfo.xml | 346 --
23849 docs/reference/pygio-fileinputstream.xml | 214 --
23850 docs/reference/pygio-filemonitor.xml | 128 -
23851 docs/reference/pygio-fileoutputstream.xml | 257 --
23852 docs/reference/pygio-filterinputstream.xml | 152 -
23853 docs/reference/pygio-filteroutputstream.xml | 152 -
23854 docs/reference/pygio-functions.xml | 395 ---
23855 docs/reference/pygio-icon.xml | 217 --
23856 docs/reference/pygio-inputstream.xml | 730 ----
23857 docs/reference/pygio-loadableicon.xml | 198 --
23858 docs/reference/pygio-memoryinputstream.xml | 151 -
23859 docs/reference/pygio-memoryoutputstream.xml | 175 -
23860 docs/reference/pygio-mount.xml | 962 ------
23861 docs/reference/pygio-mountoperation.xml | 726 ----
23862 docs/reference/pygio-outputstream.xml | 140 -
23863 docs/reference/pygio-seekable.xml | 231 --
23864 docs/reference/pygio-simpleasyncresult.xml | 317 --
23865 docs/reference/pygio-themedicon.xml | 204 --
23866 docs/reference/pygio-unixinputstream.xml | 202 --
23867 docs/reference/pygio-unixoutputstream.xml | 202 --
23868 docs/reference/pygio-volume.xml | 718 ----
23869 docs/reference/pygio-volumemonitor.xml | 844 -----
23870 docs/reference/pygiounix-classes.xml | 13 -
23871 docs/reference/pygobject-ref.xml | 2 -
23872 42 files changed, 1 insertion(+), 19020 deletions(-)
23874 commit abdebc7f6515f9658812c0355d8ad0892e5371e4
23875 Author: John (J5) Palmieri <johnp@redhat.com>
23876 Date: Fri Feb 11 11:05:04 2011 -0500
23878 bump version to reflect the master branch moving towards pygobject 3.0
23880 * added NEWS file from branch pygobject-2-28
23882 * this branch will drop support for the static binding
23883 * use the pygobject-2-28 branch for static binding fixes
23886 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
23887 configure.ac | 4 +-
23888 2 files changed, 291 insertions(+), 2 deletions(-)
23890 commit 16140237aa45b4f188923da9f95b9d2af971011b
23891 Author: John (J5) Palmieri <johnp@redhat.com>
23892 Date: Thu Feb 10 16:46:08 2011 -0500
23894 fix build to correctly use python-config
23897 configure.ac | 6 ------
23898 m4/python.m4 | 9 +++++----
23899 tests/runtests.py | 1 +
23900 4 files changed, 9 insertions(+), 10 deletions(-)
23902 commit c2079f415638ef892b1e51f25eaafa3e1621667f
23903 Author: Simon van der Linden <svdlinden@gnome.org>
23904 Date: Thu Feb 10 22:26:00 2011 +0100
23906 Add missing libraries to link against
23908 glib/Makefile.am | 2 +-
23909 gobject/Makefile.am | 1 +
23910 2 files changed, 2 insertions(+), 1 deletion(-)
23912 commit 3cca62a9e7afd3d3d302c66f4fafe253f7743d4e
23913 Author: Steve Frécinaux <code@istique.net>
23914 Date: Wed Jan 19 15:00:56 2011 +0100
23916 Make runtests.py able to run command-line provided test files
23918 With this patch we are now able to run ./runtests.py <somefile>, which
23919 is more friendly than defining an environment variable to run some
23922 https://bugzilla.gnome.org/show_bug.cgi?id=639948
23924 tests/runtests.py | 9 +++++++++
23925 1 file changed, 9 insertions(+)
23927 commit 14c4cf8e6edae893538680964380d543bde4a14d
23928 Author: Martin Pitt <martin.pitt@ubuntu.com>
23929 Date: Wed Feb 9 11:34:59 2011 +0100
23931 Run test suite under dbus-launch
23933 When available, run the test suite in dbus-launch, so that the
23935 succeed even when building this in an environment without a running
23937 D-BUS (such as distribution package builds).
23939 tests/Makefile.am | 3 ++-
23940 1 file changed, 2 insertions(+), 1 deletion(-)
23942 commit 0858f550e2b6f75e3f583f963f5952f5ddae4e0e
23943 Author: Martin Pitt <martin.pitt@ubuntu.com>
23944 Date: Tue Feb 8 15:46:36 2011 +0100
23946 Fix test_gdbus.py to be Python3 friendly
23948 - TestCase.assert_() has been deprecated by assertTrue().
23949 - Exceptions don't have a message attribute any more, use str(e)
23951 tests/test_gdbus.py | 34 +++++++++++++++-------------------
23952 1 file changed, 15 insertions(+), 19 deletions(-)
23954 commit b7f32e4cca0cef201489b55653f96ac64a8f9ab9
23955 Author: Martin Pitt <martin.pitt@ubuntu.com>
23956 Date: Sat Jan 29 12:20:50 2011 +0100
23958 [gi] Provide comfortable GSettings API
23960 Make Gio.Settings behave like a dictionary, with transparent
23962 GVariants. Also provide a more comfortable constructor.
23964 https://bugzilla.gnome.org/show_bug.cgi?id=640838
23966 gi/overrides/Gio.py | 54 +++++++++++++++++++++++++++++
23967 tests/org.gnome.test.gschema.xml | 9 +++++
23968 tests/test_overrides.py | 73
23969 ++++++++++++++++++++++++++++++++--------
23970 3 files changed, 122 insertions(+), 14 deletions(-)
23972 commit 8dad0eaed60a9de26e9a729a48a1f6bc74be486e
23973 Author: Laszlo Pandy <lpandy@src.gnome.org>
23974 Date: Fri Feb 4 16:36:07 2011 +0100
23976 Fix vfunc search bug when using GInterfaces and a do_* method.
23978 If a class inherits from a GInterface, as well as implements a do_*
23979 method (which is not in a super class), all the base interfaces
23980 will be searched for an __info__ attribute. GInterface doesn't
23981 have one, causing an error on class creation.
23983 https://bugzilla.gnome.org/show_bug.cgi?id=641493
23985 gi/types.py | 4 +++-
23986 tests/test_gi.py | 8 ++++++++
23987 2 files changed, 11 insertions(+), 1 deletion(-)
23989 commit 2660be1f227be7a53092483bc9d8ead1bd1fb266
23990 Author: Laszlo Pandy <lpandy@src.gnome.org>
23991 Date: Thu Feb 3 15:31:42 2011 +0100
23993 [GI] Add tests for Gtk.Widget.drag_* methods.
23995 Previously all the drag_* methods were accessible as Gtk.drag_*.
23996 Now that the (method) attribute has been included for these
23997 methods in Gtk+, this test checks that they are included as class
23998 methods when using pygobject introspection.
24000 https://bugzilla.gnome.org/show_bug.cgi?id=639945
24002 tests/test_overrides.py | 40 ++++++++++++++++++++++++++++++++++++++++
24003 1 file changed, 40 insertions(+)
24005 commit d57500537014b3da624be33b40401ba289fa22b8
24006 Author: John (J5) Palmieri <johnp@redhat.com>
24007 Date: Thu Feb 3 09:02:16 2011 -0500
24009 [gi] make caller allocates work again
24011 gi/pygi-cache.c | 18 +++---------------
24012 gi/pygi-invoke.c | 37 ++++++++++++++++++++++++++++++++++---
24013 2 files changed, 37 insertions(+), 18 deletions(-)
24015 commit 99d6e6c8d806e6f9e48c3c2380024fb3511d110a
24016 Author: John (J5) Palmieri <johnp@redhat.com>
24017 Date: Wed Feb 2 19:27:40 2011 -0500
24019 [gi] fix container object reffing
24021 gi/pygi-argument.c | 7 +++----
24022 gi/pygi-cache.c | 12 ++++--------
24023 2 files changed, 7 insertions(+), 12 deletions(-)
24025 commit 09acaff29dfaabc77477cffca2c7137f68991e7f
24026 Author: Ignacio Casal Quinteiro <icq@gnome.org>
24027 Date: Wed Feb 2 21:00:48 2011 +0100
24029 [python 3] use the right syntaxis to raise exceptions
24031 codegen/argtypes.py | 8 ++++----
24032 codegen/definitions.py | 14 +++++++-------
24033 gi/overrides/Gtk.py | 2 +-
24034 3 files changed, 12 insertions(+), 12 deletions(-)
24036 commit 36094e5982d3e05d5662843b6d401f0974f5235f
24037 Author: Ignacio Casal Quinteiro <icq@gnome.org>
24038 Date: Wed Feb 2 20:50:12 2011 +0100
24040 [gi] return PYGLIB_MODULE_ERROR_RETURN on error and use pygobject_init
24042 tests/testhelpermodule.c | 6 +++---
24043 1 file changed, 3 insertions(+), 3 deletions(-)
24045 commit c913c1789296310c2cf27554ce719d7f6e9c94cd
24046 Author: Ignacio Casal Quinteiro <icq@gnome.org>
24047 Date: Wed Feb 2 20:37:21 2011 +0100
24049 [gi] return PYGLIB_MODULE_ERROR_RETURN on error
24051 This is to avoid some warnings when building with python 3
24053 gi/gimodule.c | 6 +++---
24054 1 file changed, 3 insertions(+), 3 deletions(-)
24056 commit 7bc4122897d9d05172a2bd5b56bded87e2afaec4
24057 Author: Steve Frécinaux <code@istique.net>
24058 Date: Sat Jan 29 00:16:50 2011 +0100
24060 Fix wrong refcount when calling introspected widget constructors
24062 Introspected widget constructors, like Gtk.Button.new(), can return
24063 objects with a floating reference, which was then reffed by pygobject,
24064 resulting in two references, despite the object is not owned by
24067 This patch uses ref_sink() when pygobject takes its own reference, to
24068 avoid adding that extra reference. Hence we now claim ownership on
24069 objects returned by constructors with transfer=none (which is the case
24070 for nearly all the widget constructors, despite the floating ref).
24072 https://bugzilla.gnome.org/show_bug.cgi?id=640868
24074 gobject/pygobject.c | 4 +++-
24075 tests/test_everything.py | 9 ++++++++-
24076 2 files changed, 11 insertions(+), 2 deletions(-)
24078 commit afeaaa126f7cd6556fb855ecd0facc174c0f946c
24079 Author: Simon Schampijer <simon@laptop.org>
24080 Date: Wed Jan 19 16:19:46 2011 +0100
24082 Gdk.Window: Map the standard constructor to the *new* constructor
24084 Gdk.Window had to be made abstract
24085 (see c4a36d875235e0bf1e52dbf2fa14d08bfc8bd4ec in gtk),
24086 this override allows using the standard constructor
24088 This commit adds as well a testcase.
24090 https://bugzilla.gnome.org/show_bug.cgi?id=639936
24092 gi/overrides/Gdk.py | 6 ++++++
24093 tests/test_overrides.py | 8 ++++++++
24094 2 files changed, 14 insertions(+)
24096 commit 4a67f45880433905de33632fe0c32a13b44c0b33
24097 Author: John (J5) Palmieri <johnp@redhat.com>
24098 Date: Mon Jan 31 16:51:37 2011 -0500
24100 [gi] handle hash being NULL
24102 gi/pygi-argument.c | 6 ++++++
24103 1 file changed, 6 insertions(+)
24105 commit 2fbfe410f4b4394a2018ada0e538585c1bec23ae
24106 Author: John (J5) Palmieri <johnp@redhat.com>
24107 Date: Mon Jan 31 16:50:52 2011 -0500
24109 [gi] handle the situation where an aux arg comes before its parent
24111 gi/pygi-cache.c | 70
24112 ++++++++++++++++++++++++++++++++++++++++----------------
24113 gi/pygi-invoke.c | 2 +-
24114 2 files changed, 51 insertions(+), 21 deletions(-)
24116 commit 858669f92c9907dd70b4966d6a8521ed122225be
24117 Author: Martin Pitt <martin.pitt@ubuntu.com>
24118 Date: Mon Jan 31 17:38:52 2011 +0100
24120 Ship tests/org.gnome.test.gschema.xml in dist tarballs
24122 tests/Makefile.am | 3 ++-
24123 1 file changed, 2 insertions(+), 1 deletion(-)
24125 commit 77d76df59606e470808085e977fb199cc76e8251
24126 Author: John (J5) Palmieri <johnp@redhat.com>
24127 Date: Sun Jan 30 18:21:24 2011 -0500
24129 [gi] allow caching and marshalling of ghash out
24131 gi/pygi-argument.c | 155
24132 +++++++++++++++++++++++++++++++++++++++++++++++++----
24133 gi/pygi-cache.c | 27 ++++++----
24134 2 files changed, 162 insertions(+), 20 deletions(-)
24136 commit bd66af67f248a3ca90d2fa2626605263c2392e16
24137 Author: John (J5) Palmieri <johnp@redhat.com>
24138 Date: Sun Jan 30 17:06:44 2011 -0500
24140 [gi] whitespace fixes
24142 gi/pygi-cache.c | 60
24143 ++++++++++++++++++++++++++++-----------------------------
24144 1 file changed, 30 insertions(+), 30 deletions(-)
24146 commit 1cdbd4be9b015f792c2c02afa5ac7e24edbdae86
24147 Author: John (J5) Palmieri <johnp@redhat.com>
24148 Date: Sun Jan 30 17:04:13 2011 -0500
24150 [gi] added ugly aux arg counters
24152 * we need to simplify the ffi invoke so we can simply reference args
24153 at their position in the C parameter list
24154 * this works for now but is fragile if new aux values are added in
24157 gi/pygi-argument.c | 12 ++++++++--
24158 gi/pygi-cache.c | 66
24159 +++++++++++++++++++++++++++++++++++++-----------------
24160 gi/pygi-cache.h | 2 ++
24161 gi/pygi-invoke.c | 12 +++++++---
24162 4 files changed, 66 insertions(+), 26 deletions(-)
24164 commit c51447f4efde2ce4caf39c1ffac905ec428d1d64
24165 Author: John (J5) Palmieri <johnp@redhat.com>
24166 Date: Sun Jan 30 11:30:54 2011 -0500
24168 [gi] make inout marshalling work
24170 * refactor cache generation so we can create caches and then fill
24172 values based on if they are in, out or inout
24173 * in invoke we order the pointers based on their direction
24175 gi/pygi-cache.c | 1445
24176 ++++++++++++++++++++++++++----------------------------
24177 gi/pygi-invoke.c | 19 +-
24178 2 files changed, 711 insertions(+), 753 deletions(-)
24180 commit 2b185362de45f46ce0f0b8816499aef06ab1ad1e
24181 Author: John (J5) Palmieri <johnp@redhat.com>
24182 Date: Sat Jan 29 13:49:36 2011 -0500
24184 [gi] marshal arrays out
24186 gi/pygi-argument.c | 101
24187 +++++++++++++++++++++++++++++++++++++++++++++++++++--
24188 1 file changed, 99 insertions(+), 2 deletions(-)
24190 commit e62e7062d5cfd782eac64852f681c63e2776b8d4
24191 Author: John (J5) Palmieri <johnp@redhat.com>
24192 Date: Sat Jan 29 13:48:23 2011 -0500
24194 [gi] fix sequence caching to support out
24196 gi/pygi-cache.c | 111
24197 ++++++++++++++++++++++++++++++++++++++++++++------------
24198 1 file changed, 87 insertions(+), 24 deletions(-)
24200 commit 69207910209ebfe450df616aeb8fa4cc2e7eccf3
24201 Author: Martin Pitt <martin.pitt@ubuntu.com>
24202 Date: Fri Jan 28 17:14:19 2011 +0100
24204 [gi] Add GSettings tests
24206 Ryan Lortie proposed an override for more convenient GSettings access,
24208 first make sure that the canonical GLib API works.
24210 tests/Makefile.am | 7 +++++--
24211 tests/org.gnome.test.gschema.xml | 16 ++++++++++++++++
24212 tests/test_overrides.py | 31 +++++++++++++++++++++++++++++++
24213 3 files changed, 52 insertions(+), 2 deletions(-)
24215 commit 488478a83640d50baee963337fcc870fec76b784
24216 Author: Martin Pitt <martin.pitt@ubuntu.com>
24217 Date: Fri Jan 28 07:20:26 2011 +0100
24219 [gi] Provide GtkTextBuffer.insert_with_tags_by_name()
24221 Provide an actual insert_with_tags_by_name() instead of overloading
24222 insert_with_tags() to handle both types. This keeps the overrides
24224 with the actual GTK API.
24226 gi/overrides/Gtk.py | 19 ++++++++++++++-----
24227 tests/test_overrides.py | 4 ++--
24228 2 files changed, 16 insertions(+), 7 deletions(-)
24230 commit dace1a553793fb7fb054b60760f02c9e5cf00b38
24231 Author: Martin Pitt <martin.pitt@ubuntu.com>
24232 Date: Thu Jan 27 13:37:18 2011 +0100
24234 [gi] Support tag names in GtkTextBuffer.insert_with_tags()
24236 Neither insert_with_tags() nor insert_with_tags_by_name() are
24238 due to using varargs. As both are useful, support both cases in
24241 gi/overrides/Gtk.py | 5 +++++
24242 tests/test_overrides.py | 9 +++++++++
24243 2 files changed, 14 insertions(+)
24245 commit 91d34124b2a5128e93e13c7fee8693d5edc4e9bb
24246 Author: Ignacio Casal Quinteiro <icq@gnome.org>
24247 Date: Thu Jan 27 12:23:18 2011 +0100
24249 Add MAINTAINERCLEANFILES
24251 This var behaves like .gitignore and allows us to skip some specific
24254 Makefile.am | 27 +++++++++++++++++++++++++++
24255 1 file changed, 27 insertions(+)
24257 commit 8a98d26981ce68809a21c64cac4962e58c927905
24258 Author: Ignacio Casal Quinteiro <icq@gnome.org>
24259 Date: Thu Jan 27 12:15:30 2011 +0100
24261 Remove .gitignore files and use git.mk
24263 git.mk is a script maintained in pango. From time to time we must
24264 check if it was updated and update it here.
24266 .gitignore | 46 -----------
24268 codegen/.gitignore | 2 -
24269 codegen/Makefile.am | 2 +
24270 docs/.gitignore | 7 --
24271 docs/Makefile.am | 2 +
24272 examples/Makefile.am | 2 +
24273 gi/.gitignore | 40 ----------
24274 gi/Makefile.am | 2 +
24275 gi/overrides/Makefile.am | 2 +
24276 gi/repository/Makefile.am | 2 +
24277 gi/tests/Makefile.am | 2 +
24279 ++++++++++++++++++++++++++++++++++++++++++++++
24280 glib/Makefile.am | 2 +
24281 gobject/.gitignore | 3 -
24282 gobject/Makefile.am | 2 +
24283 tests/.gitignore | 2 -
24284 tests/Makefile.am | 2 +
24285 18 files changed, 222 insertions(+), 100 deletions(-)
24287 commit 331c42b63bc60a3b906fa21e1c0a7c1b9428f347
24288 Author: Martin Pitt <martin.pitt@ubuntu.com>
24289 Date: Thu Jan 27 12:04:19 2011 +0100
24291 pygi-convert.sh: Convert Pango.TabAlign.*
24293 pygi-convert.sh | 1 +
24294 1 file changed, 1 insertion(+)
24296 commit be1a2959fa0a3d8682e0e8aef389d73dacab0689
24297 Author: Martin Pitt <martin.pitt@ubuntu.com>
24298 Date: Thu Jan 27 12:02:39 2011 +0100
24300 pygi-convert.sh: Drop window -> get_window() conversion
24302 It is doing more harm than good for projects which use things like
24305 pygi-convert.sh | 1 -
24306 1 file changed, 1 deletion(-)
24308 commit dd7deb4b658c56857c26b1a278a3d688f2ea6a2a
24309 Author: Martin Pitt <martin.pitt@ubuntu.com>
24310 Date: Thu Jan 27 11:58:26 2011 +0100
24312 pygi-convert.sh: Don't convert self.window assignments
24314 pygi-convert.sh | 2 +-
24315 1 file changed, 1 insertion(+), 1 deletion(-)
24317 commit 975341a26772966d4afc87a88a6a566d61237fa0
24318 Author: Steve Frécinaux <code@istique.net>
24319 Date: Fri Jan 21 18:41:54 2011 +0100
24321 Fix leaked python reference in python-defined subclasses
24323 https://bugzilla.gnome.org/show_bug.cgi?id=640184
24325 gobject/gobjectmodule.c | 1 +
24326 tests/test_gobject.py | 4 ++++
24327 2 files changed, 5 insertions(+)
24329 commit a59e2d58bdb3f31a4f415dbe14b7d9988ac28ce3
24330 Author: Steve Frécinaux <code@istique.net>
24331 Date: Fri Jan 21 15:54:43 2011 +0100
24333 Add some tests for the number of python refs held at creation time
24335 https://bugzilla.gnome.org/show_bug.cgi?id=640184
24337 tests/test_gobject.py | 21 +++++++++++++++++++++
24338 1 file changed, 21 insertions(+)
24340 commit 7d70105eb324ea4b6a58c2d3fb3f2dda36e7ab33
24341 Author: Steve Frécinaux <code@istique.net>
24342 Date: Fri Jan 21 17:24:49 2011 +0100
24344 Factor out parameter marshalling from construction functions.
24346 https://bugzilla.gnome.org/show_bug.cgi?id=640197
24348 gobject/gobjectmodule.c | 35 ++--------------------
24349 gobject/pygobject-private.h | 5 ++++
24350 gobject/pygobject.c | 71
24351 +++++++++++++++++++++++++++------------------
24352 3 files changed, 50 insertions(+), 61 deletions(-)
24354 commit a3e0cfe8924887ecd1e07cedd2cfb999c853ac62
24355 Author: John (J5) Palmieri <johnp@redhat.com>
24356 Date: Wed Jan 26 15:34:24 2011 -0500
24358 [gi] in python 3 an array of uint8 can be bytes but not string
24360 tests/test_gi.py | 4 +++-
24361 1 file changed, 3 insertions(+), 1 deletion(-)
24363 commit 843553ea958eddec185bb660851a310dc050a14b
24364 Author: John (J5) Palmieri <johnp@redhat.com>
24365 Date: Wed Jan 26 15:30:06 2011 -0500
24367 [gi] fix Gio.FileEnumerator to reflect the Python 3 iter protocol
24369 gi/overrides/Gio.py | 6 +++++-
24370 1 file changed, 5 insertions(+), 1 deletion(-)
24372 commit 6ff357839feb39930a5f3175de3d0ed35f24d3f4
24373 Author: John (J5) Palmieri <johnp@redhat.com>
24374 Date: Wed Jan 26 15:17:03 2011 -0500
24376 [gi] python 3 fixes
24378 Patches need to work in Python 3 - here are some of the issues I
24380 Patch submitters should keep this in mind. When I note to only
24382 in tests it means that there is a compat module that is only available
24384 tests. Actuall code should either add the workaround to the top
24386 module or try not to have a distinction between things such as
24388 longs which no longer exist in Python 3
24390 * use range instead of xrange - loss of performance in Python 2 but
24392 treats range similarly to python 2's xrange
24393 * use dict.items() instead of dict.iteritems() - same as the xrange
24395 * callable does not exist in 3.x, use hasattr(obj, '__call__') or
24397 if sys.version_info > (3, 0):
24399 return hasattr(obj, '__call__')
24401 * using unicode in tests is tricky, you can't use u'' even in
24403 conditional as python3's parser chokes on it. Do this in tests
24407 from compathelper import _unicode
24408 unicode_string = _unicode('this is a unicode string')
24410 * exception caching changed in 2.7, instead of except Exception,
24412 except Exception as e. Do this to be compatible with older
24416 etype, e = sys.exc_info()[:2]
24418 * Unbound methods with an im_func attribute no longer exits in 3.x.
24419 Unbound methods are now just functions so class.method in 3.x is
24420 equivalent to class.method.im_func in 2.x. If you have to go this
24423 func = class1.method
24424 if sys.version_info < (3,0):
24425 func = func.im_func
24427 * all numbers are long in 3.x so 42L is invalid in 3.x. In tests (and
24428 only in tests) do this:
24430 from compathelper import _long
24433 gi/overrides/GLib.py | 16 ++++++++--------
24434 gi/types.py | 5 ++++-
24435 tests/compathelper.py | 19 +++++++++++++++++++
24436 tests/test_gdbus.py | 12 ++++++++----
24437 tests/test_gi.py | 19 ++++++++++++-------
24438 tests/test_overrides.py | 8 +++++---
24439 6 files changed, 56 insertions(+), 23 deletions(-)
24441 commit 832d662b9f90f5762bbf28b3cca73f947c1f83ce
24442 Author: John (J5) Palmieri <johnp@redhat.com>
24443 Date: Wed Jan 26 14:00:08 2011 -0500
24445 [gi] fix try/except blocks using depricated raise format
24447 gi/overrides/GLib.py | 4 ++--
24448 gi/overrides/Gdk.py | 2 +-
24449 2 files changed, 3 insertions(+), 3 deletions(-)
24451 commit d3e30e240fed6ef1dd40fd29fd13dc2effc6c7b1
24452 Author: Martin Pitt <martin.pitt@ubuntu.com>
24453 Date: Wed Jan 26 19:03:48 2011 +0100
24455 [gi] Add docstring to GLib.Variant constructor
24457 gi/overrides/GLib.py | 11 +++++++++++
24458 1 file changed, 11 insertions(+)
24460 commit 963cd52fec26f7a4fb34414f8ac6662932ede322
24461 Author: Martin Pitt <martin.pitt@ubuntu.com>
24462 Date: Wed Jan 26 18:45:38 2011 +0100
24464 [gi] update gdbus test cases for previous GVariant change
24466 tests/test_gdbus.py | 4 ++--
24467 1 file changed, 2 insertions(+), 2 deletions(-)
24469 commit 27e3a6276ff5f2cdc03ddf69ee80d44c3bf2c094
24470 Author: Martin Pitt <martin.pitt@ubuntu.com>
24471 Date: Wed Jan 26 18:39:17 2011 +0100
24473 [gi] Accept only a single object in GLib.Variant constructor
24475 We previously allowed flat arguments for tuple signatures, e. g.
24477 GLib.Variant('(ii)', 1, 2)
24479 However, that's not how GVariant is supposed to work. Remove the
24481 to handle flat argument lists, and only accept a single value, i. e.
24483 GLib.Variant('(ii)', (1, 2))
24485 Note that this breaks the current API, but as it is not used widely
24489 Thanks to Ryan Lortie for pointing this out!
24491 gi/overrides/GLib.py | 25 ++++++++++---------------
24492 tests/test_overrides.py | 32 +++++++++++++-------------------
24493 2 files changed, 23 insertions(+), 34 deletions(-)
24495 commit b15e8e2c0c933d0f827a70280faf875ac383d81b
24496 Author: Laszlo Pandy <lpandy@src.gnome.org>
24497 Date: Wed Jan 26 00:40:49 2011 +0100
24499 Speed up _setup_native_vfuncs()
24501 This changes _setup_native_vfuncs() to only install native
24502 vfunc wrappers from the current class on the current class.
24503 Native vfuncs will not be propogated up or down the class
24504 hierarchy as this is unnecessary and wastes CPU and memory.
24506 Since the normal process in python to retrieve a method or
24507 attribute recurses to the base classes if an attribute is not
24508 found in the subclass, there is no need to setup all base class
24509 virtual functions on a subclass.
24511 This patch removes the recursion in _setup_native_vfuncs()
24512 and lets Python find them in the base classes like a normal
24513 Python class would work. This significantly increases the speed
24514 of any class which is or inherits from a C class which includes
24517 https://bugzilla.gnome.org/show_bug.cgi?id=640629
24519 gi/types.py | 26 +++++++++++++-------------
24520 tests/test_gi.py | 13 +++++++++++++
24521 2 files changed, 26 insertions(+), 13 deletions(-)
24523 commit 569d42ac2f50fb706ef289ff631db743483f40ee
24524 Author: Laszlo Pandy <lpandy@src.gnome.org>
24525 Date: Thu Jan 20 16:26:18 2011 +0100
24527 Speed up class creation: rewrite _setup_vfuncs() to be much more
24530 This patch rewrites the _setup_vfuncs() method to remove recursion and
24531 make the running time linear in the number of virtual functions to
24533 (ie. methods starting with "do_") instead of linear in the number of
24534 virtual functions in the base class which could possibly be
24537 Since most classes do not override all of the virtual functions in the
24538 base class (and many override none), this runs much faster.
24540 It is possible to not recurse on all base classes because
24542 base classes will have the virtual function installed as an attribute.
24543 Thus getattr() can be called, which recurses to the base classes much
24544 faster than a custom implementation in Python. If the method cannot be
24545 found with getattr(), all interface bases classes are searched
24548 The function is_function_in_classes() has been deleted. Because of the
24549 above changes, it is not used anymore.
24551 https://bugzilla.gnome.org/show_bug.cgi?id=640073
24554 ++++++++++++++++++++++++++++++++++---------------------
24555 tests/test_gi.py | 13 +++++++
24556 2 files changed, 77 insertions(+), 40 deletions(-)
24558 commit 8f4e6536f3c2edf38a45632d1c23eb7c6681c3be
24559 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24560 Date: Mon Jan 24 19:23:19 2011 +0100
24562 pygi-convert.sh: Convert gtk.UI_MANAGER_*
24564 pygi-convert.sh | 1 +
24565 1 file changed, 1 insertion(+)
24567 commit 1f473b5164407a178203eb8cc7f3c786e0d0e5c2
24568 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24569 Date: Fri Jan 21 18:41:54 2011 +0100
24571 pygi-convert.sh: Convert gdk.GRAB_*
24573 pygi-convert.sh | 1 +
24574 1 file changed, 1 insertion(+)
24576 commit f5d0b7b9d189f65503c0bf66d8bda4186ca3223a
24577 Author: Ignacio Casal Quinteiro <icq@gnome.org>
24578 Date: Fri Jan 21 16:45:07 2011 +0100
24580 [gi] set the gtype GValue correctly
24582 gi/pygi-property.c | 4 ++--
24583 1 file changed, 2 insertions(+), 2 deletions(-)
24585 commit ce521011d7f6d7f082aaea76fa05c5af9f6e93f5
24586 Author: Ignacio Casal Quinteiro <icq@gnome.org>
24587 Date: Fri Jan 21 16:20:23 2011 +0100
24589 [gi] use the right argument type for callback
24591 gi/pygi-foreign-cairo.c | 8 ++++----
24592 gi/pygi-foreign-gvariant.c | 4 ++--
24593 gi/pygi-foreign-gvariant.h | 2 +-
24594 gi/pygi-foreign.c | 2 +-
24596 5 files changed, 9 insertions(+), 9 deletions(-)
24598 commit 9f101baaa63a75acf62f955cfc4b311ff0dd5464
24599 Author: John (J5) Palmieri <johnp@redhat.com>
24600 Date: Fri Jan 21 09:23:54 2011 -0500
24602 [gi] marshal out flags and enum
24604 gi/pygi-argument.c | 14 +++++++++-----
24605 gi/pygi-cache.c | 24 ++++++++++++------------
24606 2 files changed, 21 insertions(+), 17 deletions(-)
24608 commit 4c93bdeae76830aa4029dfc86e32e6f277d5271d
24609 Author: John (J5) Palmieri <johnp@redhat.com>
24610 Date: Fri Jan 21 08:18:37 2011 -0500
24612 [gi] marshal unions
24614 gi/pygi-cache.c | 27 +++++++++++++--------------
24615 1 file changed, 13 insertions(+), 14 deletions(-)
24617 commit a060287d1a6d190acb9d344f08fd5662e3296da5
24618 Author: Martin Pitt <martin.pitt@ubuntu.com>
24619 Date: Fri Jan 21 11:00:27 2011 +0100
24621 [gi] Add test cases for GDBus client operations
24623 tests/Makefile.am | 1 +
24624 tests/test_gdbus.py | 94
24625 +++++++++++++++++++++++++++++++++++++++++++++++++++++
24626 2 files changed, 95 insertions(+)
24628 commit e7699d9af41f8c374326b8a4ec0939ef1426e386
24629 Author: John (J5) Palmieri <johnp@redhat.com>
24630 Date: Fri Jan 21 04:28:15 2011 -0500
24632 [gi] error out if the constructor returns NULL
24634 gi/pygi-invoke.c | 7 +++++++
24635 1 file changed, 7 insertions(+)
24637 commit 58ff2b2c38c1004861083ca88633be76767229f0
24638 Author: John (J5) Palmieri <johnp@redhat.com>
24639 Date: Fri Jan 21 04:26:45 2011 -0500
24641 [gi] throw error for caller allocates until we can write code to
24644 gi/pygi-cache.c | 11 +++++++++++
24645 1 file changed, 11 insertions(+)
24647 commit 5eb779439daa8bf1e86df689377dc10ef1430eab
24648 Author: John (J5) Palmieri <johnp@redhat.com>
24649 Date: Fri Jan 21 04:26:11 2011 -0500
24651 [gi] support struct out
24653 gi/pygi-argument.c | 30 ++++++++++++++++++++++++++----
24654 gi/pygi-cache.c | 15 ++-------------
24655 2 files changed, 28 insertions(+), 17 deletions(-)
24657 commit 3133dc595adf44279397d30712c0f8595f0e1acc
24658 Author: John (J5) Palmieri <johnp@redhat.com>
24659 Date: Fri Jan 21 04:22:06 2011 -0500
24661 [gi] move to using type_info and interface_info instead of arg_info
24663 * only arguments have arg_infos, not return types and instances so
24664 type_info is much better to pass. In fact most API that took an
24665 arg_info simply converted it to a type_info
24666 * In the case of instances for methods we don't even have a type_info.
24667 Since all instances are interfaces, we also attach the
24669 to the interface cache
24671 gi/pygi-argument.c | 20 ++++----------------
24672 gi/pygi-cache.c | 43
24673 ++++++++++++++++++++++++++++++++-----------
24674 gi/pygi-cache.h | 4 +++-
24675 gi/pygi-foreign-cairo.c | 24 ++++++++++++------------
24676 gi/pygi-foreign-gvariant.c | 11 +++++------
24677 gi/pygi-foreign-gvariant.h | 10 +++++-----
24678 gi/pygi-foreign.c | 21 +++++++++------------
24679 gi/pygi-foreign.h | 6 +++---
24680 gi/pygi.h | 8 ++++----
24681 9 files changed, 77 insertions(+), 70 deletions(-)
24683 commit e97e28048efb966ecc1a03277d36cbaa81b8db7d
24684 Author: Martin Pitt <martin.pitt@ubuntu.com>
24685 Date: Fri Jan 21 09:54:14 2011 +0100
24687 [gi] Add Variant construction/unpack support for boxed Variants
24689 Construction uses a GVariantBuilder for now, as the new_variant()
24691 currently does not work (see
24692 https://bugzilla.gnome.org/show_bug.cgi?id=639952)
24694 gi/overrides/GLib.py | 18 +++++++++++++++++-
24695 tests/test_overrides.py | 26 ++++++++++++++++++++++++++
24696 2 files changed, 43 insertions(+), 1 deletion(-)
24698 commit 71dd03261fc06b8180c14cd31b54d8e4b200be3a
24699 Merge: bc29600 bd002c7
24700 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24701 Date: Fri Jan 21 09:33:16 2011 +0100
24703 Merge branch 'windows-setup-fixes'
24705 commit bc29600a2a04c972ceab7ef8d3292e8633977591
24706 Author: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
24707 Date: Thu Jan 20 19:48:23 2011 +0100
24709 pygi-convert.sh: GdkPixbuf methods
24713 pygi-convert.sh | 1 +
24714 1 file changed, 1 insertion(+)
24716 commit d1b0fa501cc431baa530d96fb50f4c35590890ac
24717 Author: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
24718 Date: Thu Jan 20 19:45:01 2011 +0100
24720 pygi-convert.sh: Gdk.COLORSPACE_RGB
24724 pygi-convert.sh | 1 +
24725 1 file changed, 1 insertion(+)
24727 commit 6d8ff4d5bdda5480089543869535cc3ee83da2f5
24728 Author: Martin Pitt <martin.pitt@ubuntu.com>
24729 Date: Wed Jan 19 11:41:11 2011 +0100
24731 [gi] Support nested objects and empty sequences in GLib.Variant
24734 The GVariant constructor (in the overrides) previously did not
24736 arrays/dictionaries or nested structures. Rewrite the VariantCreator
24738 be fully recursive and determine the element types of
24739 arrays/dictionaries.
24741 This now also allows you to use actual tuples as input values for
24743 tuple types. Taking values from the flat argument list is still
24745 convenience, though.
24747 https://bugzilla.gnome.org/show_bug.cgi?id=639939
24749 gi/overrides/GLib.py | 229
24750 ++++++++++++++++++++++++++----------------------
24751 tests/test_overrides.py | 159 +++++++++++++++++++++++++++++++--
24752 2 files changed, 273 insertions(+), 115 deletions(-)
24754 commit ac095f5435f106e175fa3297cb273e63c85d2809
24755 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24756 Date: Thu Jan 20 15:55:45 2011 +0100
24758 Uncomment test_gi.TestInterfaceClash
24760 tests/test_gi.py | 22 +++++++++++-----------
24761 1 file changed, 11 insertions(+), 11 deletions(-)
24763 commit 1239f3709ba257c404dda72b7067b77b19c240fa
24764 Author: John (J5) Palmieri <johnp@redhat.com>
24765 Date: Thu Jan 20 09:05:02 2011 -0500
24767 [gi] add support for enum and flags
24769 gi/pygi-argument.c | 121
24770 +++++++++++++++++++++++++++++++++++++++++------------
24771 gi/pygi-cache.c | 30 ++++++-------
24772 2 files changed, 111 insertions(+), 40 deletions(-)
24774 commit f0a0b6c2eda89622de2b1e5ebb6a48103ad72a42
24775 Author: Steve Frécinaux <code@istique.net>
24776 Date: Thu Jan 20 14:14:15 2011 +0100
24778 Fix reference leaks for GInitiallyUnowned objects
24780 References were leaked for GInitiallyUnowned objects which got their
24781 wrappers created several times, because someone else holds reference
24782 on it and it got out of python scope at some point.
24784 https://bugzilla.gnome.org/show_bug.cgi?id=639949
24786 gobject/gobjectmodule.c | 2 ++
24787 gobject/pygobject.c | 14 +++++------
24788 tests/test-floating.c | 36 +++++++++++++++++++++++++++
24789 tests/test-floating.h | 21 ++++++++++++++++
24790 tests/test_gobject.py | 63
24791 ++++++++++++++++++++++++++++++++++++++++++++++++
24792 tests/testhelpermodule.c | 50 ++++++++++++++++++++++++++++++++++++++
24793 6 files changed, 179 insertions(+), 7 deletions(-)
24795 commit cae2cf3d4fb049c94389bf8f84d7d97a544d7a3f
24796 Author: Steve Frécinaux <code@istique.net>
24797 Date: Wed Jan 19 16:57:57 2011 +0100
24799 Add tests for refcount of a GObject owned by a library
24801 When the object is constructed, its refcount is 2 because the library
24802 refs it once. It should remain around until we ask the library to
24803 release its reference.
24805 https://bugzilla.gnome.org/show_bug.cgi?id=639949
24807 tests/test-floating.c | 30 +++++++++++++++++++++++
24808 tests/test-floating.h | 20 ++++++++++++++++
24809 tests/test_gobject.py | 62
24810 ++++++++++++++++++++++++++++++++++++++++++++++++
24811 tests/testhelpermodule.c | 51 +++++++++++++++++++++++++++++++++++++++
24812 4 files changed, 163 insertions(+)
24814 commit b6737b91938d527872eff1d645a205cacf94e15d
24815 Author: Steve Frécinaux <code@istique.net>
24816 Date: Wed Jan 19 14:52:41 2011 +0100
24818 Add a test to check for regular object reference count
24820 https://bugzilla.gnome.org/show_bug.cgi?id=639949
24822 tests/test_gobject.py | 8 +++++++-
24823 1 file changed, 7 insertions(+), 1 deletion(-)
24825 commit 2b0f1ede820414ef1cfd6b37569fcb946d2031fc
24826 Author: Martin Pitt <martin.pitt@ubuntu.com>
24827 Date: Thu Jan 20 14:15:52 2011 +0100
24829 [gi] Update TreeView.enable_model_drag_{source,dest} to current GTK
24831 GTK master now landed a lot of annotation fixes which also correctly
24833 array length argument of
24834 Gtk.TreeView.enable_model_drag_{source,dest}(). Thus
24835 drop the explicit array length argument from the call in the override.
24837 gi/overrides/Gtk.py | 2 --
24838 1 file changed, 2 deletions(-)
24840 commit b59edf4f0f7cab44033f9d704d476e10ee0d0c0a
24841 Author: Steve Frécinaux <code@istique.net>
24842 Date: Wed Jan 19 18:04:10 2011 +0100
24844 Fix a typo in a private symbol name.
24846 gobject/gobjectmodule.c | 6 +++---
24847 1 file changed, 3 insertions(+), 3 deletions(-)
24849 commit 6447688e283a8fb22de3ab68cbc06e34ad23d198
24850 Author: Martin Pitt <martin.pitt@ubuntu.com>
24851 Date: Thu Jan 20 11:49:08 2011 +0100
24853 pygi-convert.sh: Convert glib.source_remove()
24855 pygi-convert.sh | 1 +
24856 1 file changed, 1 insertion(+)
24858 commit 84ee8de4bc00a8f901926cc6386d73c12dbd0b0b
24859 Author: Martin Pitt <martin.pitt@ubuntu.com>
24860 Date: Thu Jan 20 11:42:34 2011 +0100
24862 Fix typo in previous commit to actually convert glib.GError
24864 pygi-convert.sh | 2 +-
24865 1 file changed, 1 insertion(+), 1 deletion(-)
24867 commit b238cb614338f46e6feb7935cca0a55c7a929418
24868 Author: Martin Pitt <martin.pitt@ubuntu.com>
24869 Date: Thu Jan 20 11:40:14 2011 +0100
24871 pygi-convert.sh: Move some glib bits which are better handled
24874 pygi-convert.sh | 3 +++
24875 1 file changed, 3 insertions(+)
24877 commit 21c09a7ee294b59abb3eca6f64f13bf5c8a2fa0e
24878 Author: Laszlo Pandy <lpandy@src.gnome.org>
24879 Date: Wed Jan 19 12:00:02 2011 +0100
24881 Modify override for Gtk.Adjustment to allow position or keyword
24882 arguments in __init__().
24884 Previously passing no arguments was not working, because the default
24885 value for each parameter was None, and GObject.__init__() refuses to
24886 allow None for integer properties. This patch does not pass None up
24887 to GObject.__init__. Instead it does not pass the parameter at all,
24888 and uses the class's default values.
24890 https://bugzilla.gnome.org/show_bug.cgi?id=639934
24892 gi/overrides/Gtk.py | 14 ++++++++++++--
24893 tests/test_overrides.py | 34 +++++++++++++++++++++++++++-------
24894 2 files changed, 39 insertions(+), 9 deletions(-)
24896 commit d465e25297ad6589ff2cd0c00e11e8bd8ffe3f78
24897 Author: Martin Pitt <martin.pitt@ubuntu.com>
24898 Date: Wed Jan 19 22:52:51 2011 +0100
24900 [gi] Fix small typo in previous commit
24902 The GVariant signature of the self test had a trailing 'i'. The
24904 GVariant builder doesn't mind, but the new implementation proposed
24908 tests/test_overrides.py | 2 +-
24909 1 file changed, 1 insertion(+), 1 deletion(-)
24911 commit 2b8e1d0531dcb8f57dc9f2fddf25970bee3daa90
24912 Author: Martin Pitt <martin.pitt@ubuntu.com>
24913 Date: Wed Jan 19 20:18:19 2011 +0100
24915 [gi] Add pythonic iterator and indexing for string GVariants
24917 This extends commit b1a98083c to also work for strings.
24919 gi/overrides/GLib.py | 8 +++++++-
24920 tests/test_overrides.py | 13 +++++++++++++
24921 2 files changed, 20 insertions(+), 1 deletion(-)
24923 commit 8efd14c87b35072cdd039bf223f8ced8f51be9bb
24924 Author: John (J5) Palmieri <johnp@redhat.com>
24925 Date: Wed Jan 19 14:08:03 2011 -0500
24927 [gi] return NULL if out_marshaller fails
24929 gi/pygi-invoke.c | 5 +++++
24930 1 file changed, 5 insertions(+)
24932 commit 5b1db41d60204c8021f47f43b85dac126c389c8d
24933 Author: John (J5) Palmieri <johnp@redhat.com>
24934 Date: Wed Jan 19 13:57:54 2011 -0500
24936 [gi] fix some transfer issues and test case failures
24938 gi/pygi-argument.c | 4 ++++
24939 gi/pygi-cache.c | 11 ++++++++---
24940 gi/pygi-invoke.c | 17 +++++++++--------
24941 3 files changed, 21 insertions(+), 11 deletions(-)
24943 commit 7c2f48bb6d67ec9a1ee5ac03a5aee34b54c6ebdd
24944 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24945 Date: Wed Jan 19 18:09:23 2011 +0100
24947 Construct structs using default API constructor
24949 If the struct has something that looks like a default constructor,
24950 use it instead of trying to directly allocate it, as it will fail
24951 if the struct fields are not exposed.
24953 https://bugzilla.gnome.org/show_bug.cgi?id=627444
24955 gi/pygi-info.c | 37 +++++++++++++++++++++++++++++++++++++
24956 gi/types.py | 7 +++++++
24957 2 files changed, 44 insertions(+)
24959 commit db7300e173388d9557dcd2333781bfaa6b021605
24960 Author: Martin Pitt <martin.pitt@ubuntu.com>
24961 Date: Wed Jan 19 18:54:39 2011 +0100
24963 pygi-convert.sh: Migrate Gdk.Cursor constructor, and some cursor names
24965 pygi-convert.sh | 2 ++
24966 1 file changed, 2 insertions(+)
24968 commit 4c1d4faddf1c9cb233c484da3eadd8e31c231f70
24969 Author: Martin Pitt <martin.pitt@ubuntu.com>
24970 Date: Wed Jan 19 18:43:29 2011 +0100
24972 pygi-convert.sh: Handle .window attributes
24974 In general, convert them to .get_window(). For some of them, prefer
24976 GtkWidget methods instead.
24978 pygi-convert.sh | 5 ++++-
24979 1 file changed, 4 insertions(+), 1 deletion(-)
24981 commit b1049b947d073fb569ba900a4d5c8519482d831e
24982 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24983 Date: Wed Jan 19 17:35:09 2011 +0100
24985 Also deal with foreign boxed structs
24987 cairo.Context has been boxed and our tests started failing
24989 https://bugzilla.gnome.org/show_bug.cgi?id=639967
24991 gi/pygi-argument.c | 4 ++--
24992 1 file changed, 2 insertions(+), 2 deletions(-)
24994 commit 25b69ae257a12b6dc97ed3f2f7ea54b166ddbba1
24995 Author: Laszlo Pandy <lpandy@src.gnome.org>
24996 Date: Wed Jan 19 17:45:11 2011 +0100
24998 [gi] Convert GErrors to GObject.GError exceptions, and throw them
24999 upon returning from calling the C function.
25001 This changes gi to make use of pyglib_error_check() which already
25004 The included tests make use of the other patch attached to this bug,
25005 to check that the right exception is thrown from the new function
25006 in GIMarshallingTests.
25007 two Gtk C functions.
25009 https://bugzilla.gnome.org/show_bug.cgi?id=639834
25011 gi/Makefile.am | 3 ++-
25012 gi/pygi-invoke.c | 12 +++---------
25013 tests/test_gi.py | 10 ++++++++++
25014 3 files changed, 15 insertions(+), 10 deletions(-)
25016 commit 18b84767db1d66e3d6f09067ab19ffd4b82539ca
25017 Author: John (J5) Palmieri <johnp@redhat.com>
25018 Date: Wed Jan 19 12:05:45 2011 -0500
25020 [gi] fix out marshalling for a couple of int types
25022 gi/pygi-argument.c | 2 +-
25023 gi/pygi-cache.c | 2 +-
25024 2 files changed, 2 insertions(+), 2 deletions(-)
25026 commit c5d7c730008275b2c585b2609fc2ff5e051cce47
25027 Author: John (J5) Palmieri <johnp@redhat.com>
25028 Date: Wed Jan 19 11:59:09 2011 -0500
25030 [gi] fixed range checking and type conversion with unsigned and
25033 gi/pygi-argument.c | 90
25034 +++++++++++++++++++++++++++++++++++++++++++++---------
25035 gi/pygi-cache.c | 2 +-
25036 2 files changed, 76 insertions(+), 16 deletions(-)
25038 commit e6fcafc6179e963cbae7774e7ee50415bde2c523
25039 Author: Martin Pitt <martin.pitt@ubuntu.com>
25040 Date: Wed Jan 19 17:03:06 2011 +0100
25042 pygi-convert.sh: Don't convert glib -> GLib for now
25044 This currently leads to a load of crashes, MemoryErrors, etc, as
25046 very well introspectable, due to the low-level operations that
25049 John Palmieri confirms that using the static "glib" binding is
25051 now, so disable the replacement rules.
25053 pygi-convert.sh | 19 ++++++++++---------
25054 1 file changed, 10 insertions(+), 9 deletions(-)
25056 commit 167261d556eab0d2e448c7ed28eef540a024ba1d
25057 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25058 Date: Wed Jan 19 16:47:08 2011 +0100
25060 Link libregress.so to GIO_LIBS again
25062 configure.ac | 5 +++++
25063 1 file changed, 5 insertions(+)
25065 commit d143afa6da4f5b5f47be8df11fa41d7b47ab1794
25066 Author: Laszlo Pandy <lpandy@src.gnome.org>
25067 Date: Wed Jan 19 16:14:42 2011 +0100
25069 Fix attributes 2BUTTON_PRESS and 3BUTTON_PRESS of Gdk.EventType.
25071 This puts an underscore in front of 2BUTTON_PRESS and 3BUTTON_PRESS
25072 because in Python attributes starting with a numeral causes a
25075 gi/overrides/Gdk.py | 7 +++++--
25076 1 file changed, 5 insertions(+), 2 deletions(-)
25078 commit 4f5d20966d4a8c649e5fae584039621edab178f3
25079 Author: John (J5) Palmieri <johnp@redhat.com>
25080 Date: Wed Jan 19 10:02:40 2011 -0500
25082 [gi] use correct format stings when setting errors
25084 gi/pygi-argument.c | 12 ++++++------
25085 1 file changed, 6 insertions(+), 6 deletions(-)
25087 commit 7f08fd5c33ee5c9907f5becbe2f21fb7122d6e19
25088 Author: John (J5) Palmieri <johnp@redhat.com>
25089 Date: Wed Jan 19 09:45:09 2011 -0500
25091 [gi] allow marshalling strings as None
25093 gi/pygi-argument.c | 5 +++++
25094 1 file changed, 5 insertions(+)
25096 commit 093242a9e125998cd07bf66fc4b2880f532a2e4d
25097 Author: John (J5) Palmieri <johnp@redhat.com>
25098 Date: Wed Jan 19 09:41:56 2011 -0500
25100 [gi] make error messages more detailed
25102 gi/pygi-argument.c | 2 +-
25103 gi/pygi-cache.c | 18 +++++++++---------
25104 2 files changed, 10 insertions(+), 10 deletions(-)
25106 commit f0b17605ed2eb917b350654b070984beb553eae3
25107 Author: John (J5) Palmieri <johnp@redhat.com>
25108 Date: Wed Jan 19 09:41:13 2011 -0500
25110 [gi] allow marshalling None for hashes
25112 gi/pygi-argument.c | 5 +++++
25113 1 file changed, 5 insertions(+)
25115 commit 93f1b787ab8420300d1064c0237a0c2d8a2ac98f
25116 Author: John (J5) Palmieri <johnp@redhat.com>
25117 Date: Wed Jan 19 09:40:37 2011 -0500
25119 [gi] add marshalling to some out values
25121 gi/pygi-argument.c | 50
25122 +++++++++++++++++++++++++++++++++++++++++---------
25123 1 file changed, 41 insertions(+), 9 deletions(-)
25125 commit 614b6ca7f45c4acbee088fe74fecf279ed50cc0c
25126 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25127 Date: Wed Jan 19 15:27:33 2011 +0100
25129 [gi] Fixed typo in exception
25131 gi/overrides/Gtk.py | 2 +-
25132 1 file changed, 1 insertion(+), 1 deletion(-)
25134 commit 5f16df31b5a5a9f45f702eee48c3a18899ea3f71
25135 Author: John (J5) Palmieri <johnp@redhat.com>
25136 Date: Wed Jan 19 09:13:44 2011 -0500
25138 [gi] fix marshalling structs
25140 gi/pygi-argument.c | 47 +++++++++++++++++++++++++++++++++++------------
25141 gi/pygi-foreign.c | 18 ++++++++++++------
25142 gi/pygi-foreign.h | 8 ++++----
25143 3 files changed, 51 insertions(+), 22 deletions(-)
25145 commit b2189424f9dd6d3a4a5b9792f0d5843fc27657d1
25146 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25147 Date: Wed Jan 19 15:12:25 2011 +0100
25149 [gi] Enable handling of Gdk.EventType.2BUTTON_PRESS and 3BUTTON_PRESS
25151 gi/overrides/Gdk.py | 4 ++--
25152 1 file changed, 2 insertions(+), 2 deletions(-)
25154 commit 5eca5ff2c9509ec96158fe43b29f0fd951243efe
25155 Author: Martin Pitt <martin.pitt@ubuntu.com>
25156 Date: Wed Jan 19 14:54:57 2011 +0100
25158 Revert "Fix Pango FontDescription override"
25161 http://library.gnome.org/devel/pango/1.28/pango-Fonts.html#pango-font-description-new
25162 the default constructor actually does take no arguments; we should
25164 the MemoryError. Add a test case for this.
25166 Remove the FIXME though, as pango_font_description_from_string()
25168 FontDescription constructor, but a static factory method.
25170 Thanks to Paolo Borelli for pointing this out!
25172 This reverts commit 8878c57676091c08e66bc6cbe735d898cb420582.
25174 gi/overrides/Pango.py | 5 ++++-
25175 tests/test_overrides.py | 5 +++++
25176 2 files changed, 9 insertions(+), 1 deletion(-)
25178 commit 9e7b95b3676a1b502662523a9bd4ebe40ccb4845
25179 Author: Tony Young <rofflwaffls@gmail.com>
25180 Date: Thu Dec 16 23:39:33 2010 +0000
25182 Python iterator interface support for GFileEnumerator.
25184 gi/overrides/Gio.py | 41 +++++++++++++++++++++++++++++++++++++++++
25185 gi/overrides/Makefile.am | 1 +
25186 tests/test_overrides.py | 20 ++++++++++++++++++++
25187 3 files changed, 62 insertions(+)
25189 commit bca5834fc8fa342149e0eec7b396877a2abe6d33
25190 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25191 Date: Fri Jan 7 12:10:37 2011 +0100
25193 Remove gio static bindings
25195 https://bugzilla.gnome.org/show_bug.cgi?id=638899
25198 configure.ac | 25 -
25199 gio/.gitignore | 3 -
25200 gio/Makefile.am | 117 -
25201 gio/__init__.py | 40 -
25202 gio/gappinfo.override | 213 --
25203 gio/gapplaunchcontext.override | 99 -
25204 gio/gbufferedinputstream.override | 70 -
25205 gio/gcancellable.override | 38 -
25206 gio/gdatainputstream.override | 250 --
25207 gio/gdrive.override | 347 --
25208 gio/gfile.override | 2215 -----------
25209 gio/gfileattribute.override | 153 -
25210 gio/gfileenumerator.override | 184 -
25211 gio/gfileinfo.override | 121 -
25212 gio/gfileinputstream.override | 68 -
25213 gio/gfileiostream.override | 68 -
25214 gio/gfileoutputstream.override | 68 -
25215 gio/gicon.override | 310 --
25216 gio/ginputstream.override | 344 --
25217 gio/gio-types.defs | 807 ----
25218 gio/gio.defs | 7465
25219 -------------------------------------
25220 gio/gio.override | 409 --
25221 gio/giomodule.c | 208 --
25222 gio/giostream.override | 68 -
25223 gio/gmemoryinputstream.override | 91 -
25224 gio/gmemoryoutputstream.override | 45 -
25225 gio/gmount.override | 454 ---
25226 gio/goutputstream.override | 292 --
25227 gio/gresolver.override | 312 --
25228 gio/gsocket.override | 575 ---
25229 gio/gvolume.override | 237 --
25230 gio/gvolumemonitor.override | 94 -
25231 gio/pygio-utils.c | 236 --
25232 gio/pygio-utils.h | 49 -
25233 gio/unix-types.defs | 55 -
25234 gio/unix.defs | 475 ---
25235 gio/unix.override | 62 -
25236 gio/unixmodule.c | 52 -
25237 tests/Makefile.am | 9 -
25238 tests/runtests-windows.py | 3 -
25239 tests/test_gcancellable.py | 15 -
25240 tests/test_gicon.py | 112 -
25241 tests/test_gio.py | 1138 ------
25242 tests/test_gresolver.py | 68 -
25243 tests/test_gsocket.py | 126 -
25244 46 files changed, 1 insertion(+), 18191 deletions(-)
25246 commit 6ab3d8d286573289cf8e41eee31eb806621f6f43
25247 Author: John (J5) Palmieri <johnp@redhat.com>
25248 Date: Wed Jan 19 07:56:16 2011 -0500
25250 [gi] switch from using (*arg). to arg-> when referencing union
25253 gi/pygi-argument.c | 54
25254 +++++++++++++++++++++++++++---------------------------
25255 1 file changed, 27 insertions(+), 27 deletions(-)
25257 commit 762ccb3d2620ea22023446b6ae79f3a111d8b56a
25258 Author: John (J5) Palmieri <johnp@redhat.com>
25259 Date: Wed Jan 19 07:49:52 2011 -0500
25261 [gi] return FALSE when setting errors in the marshaller
25263 gi/pygi-argument.c | 3 ++-
25264 1 file changed, 2 insertions(+), 1 deletion(-)
25266 commit cbaba6357937cbed3ebd34d2db1cdd59d37df118
25267 Author: John (J5) Palmieri <johnp@redhat.com>
25268 Date: Wed Jan 19 07:14:18 2011 -0500
25270 [gi] do arg counting in new invoke
25272 gi/pygi-cache.c | 2 ++
25273 gi/pygi-cache.h | 14 ++++++++------
25274 gi/pygi-invoke-state-struct.h | 2 +-
25275 gi/pygi-invoke.c | 20 +++++++++++++++++++-
25276 4 files changed, 30 insertions(+), 8 deletions(-)
25278 commit f45033858bed70d7defec3f71f26aa5b3999d680
25279 Author: John (J5) Palmieri <johnp@redhat.com>
25280 Date: Wed Jan 19 06:35:45 2011 -0500
25282 [gi] set length for uint8 in arrays in new invoke marshaller
25284 gi/pygi-argument.c | 1 +
25285 1 file changed, 1 insertion(+)
25287 commit 09f7ca7e2378e6679002677ac3f4802f4cc7d9d5
25288 Author: Ignacio Casal Quinteiro <icq@gnome.org>
25289 Date: Wed Jan 19 12:04:15 2011 +0100
25291 [gi] set length when marshalling guint8 erases
25293 gi/pygi-argument.c | 1 +
25294 tests/test_gi.py | 4 ++++
25295 2 files changed, 5 insertions(+)
25297 commit 22eee43e50a150ace80694213fb87be9f0c72f51
25298 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25299 Date: Wed Jan 19 10:27:47 2011 +0100
25301 Convert Gdk.Pixbuf to GdkPixbuf.Pixbuf
25303 pygi-convert.sh | 1 +
25304 1 file changed, 1 insertion(+)
25306 commit a4b210d69c832629894090b7154ae194209b0c60
25307 Author: Arnaud Charlet <charlet@adacore.com>
25308 Date: Tue Jan 18 18:31:29 2011 +0100
25310 Disable calls to PyGILState_* when threads are disabled
25312 Since threads may also be disabled in Python too, those symbols
25316 https://bugzilla.gnome.org/show_bug.cgi?id=374603
25318 glib/pyglib.c | 12 ++++++++++++
25319 gobject/pygobject-private.h | 6 ++++++
25320 2 files changed, 18 insertions(+)
25322 commit 329afb6fb1b3c325a6a9de2b6aca91c64d51dd9f
25323 Author: John (J5) Palmieri <johnp@redhat.com>
25324 Date: Tue Jan 18 12:31:57 2011 -0500
25326 [gi] fix handling of garrays vs c arrays
25328 gi/pygi-argument.c | 9 +++++++--
25329 gi/pygi-cache.c | 2 ++
25330 gi/pygi-cache.h | 1 +
25331 3 files changed, 10 insertions(+), 2 deletions(-)
25333 commit a000627ec3904b9414ce375aec8d144fc0c26248
25334 Author: Martin Pitt <martin.pitt@ubuntu.com>
25335 Date: Tue Jan 18 18:29:50 2011 +0100
25337 pygi-convert.sh: Do not comment out set_cell_data_func() calls;
25338 these should be ported properly
25340 pygi-convert.sh | 1 -
25341 1 file changed, 1 deletion(-)
25343 commit 99ff4610fb5ece2fc8d2f9eba13e661968adf3f0
25344 Author: Martin Pitt <martin.pitt@ubuntu.com>
25345 Date: Tue Jan 18 18:26:01 2011 +0100
25347 pygi-convert.sh: Fix match for adding missing imports
25349 pygi-convert.sh | 8 ++++----
25350 1 file changed, 4 insertions(+), 4 deletions(-)
25352 commit 3aa95011fad67df20370e92bf25236a34d7d08d3
25353 Author: Martin Pitt <martin.pitt@ubuntu.com>
25354 Date: Tue Jan 18 18:09:30 2011 +0100
25356 pygi-convert.sh: Fix Gtk.Label handling to be idempotent
25358 As we are not replacing line by line, but the whole file at once,
25360 hackish unfortunately. We can't use a match test or a lookahead/behind
25363 pygi-convert.sh | 5 +++--
25364 1 file changed, 3 insertions(+), 2 deletions(-)
25366 commit f66051380c0432bf142774542ade2144adcd455e
25367 Author: John (J5) Palmieri <johnp@redhat.com>
25368 Date: Tue Jan 18 11:44:27 2011 -0500
25370 [gi] use correct union memeber when marshalling floats
25372 gi/pygi-argument.c | 2 +-
25373 1 file changed, 1 insertion(+), 1 deletion(-)
25375 commit 36bc1c17e7d4189059337cc6a73c64edd819ec12
25376 Author: Laszlo Pandy <lpandy@src.gnome.org>
25377 Date: Tue Jan 18 17:29:52 2011 +0100
25379 Remove trailing whitespace from gi/overrides/Gtk.py
25381 gi/overrides/Gtk.py | 10 +++++-----
25382 1 file changed, 5 insertions(+), 5 deletions(-)
25384 commit 1006df1929a667716c25e74b35b8f14643358732
25385 Author: John (J5) Palmieri <johnp@redhat.com>
25386 Date: Tue Jan 18 11:24:06 2011 -0500
25388 [gi] fix constructor invoking and add some support for interface
25391 * constructors are now simplified and are treated like normal
25393 which happen to return an instance
25395 gi/pygi-argument.c | 8 ++--
25396 gi/pygi-cache.c | 132
25397 +++++++++++++++++++++++++++++++++++++++++++++++++++--
25398 gi/pygi-invoke.c | 9 ++--
25399 gi/types.py | 21 +++------
25400 4 files changed, 142 insertions(+), 28 deletions(-)
25402 commit 8878c57676091c08e66bc6cbe735d898cb420582
25403 Author: Martin Pitt <martin.pitt@ubuntu.com>
25404 Date: Tue Jan 18 16:47:10 2011 +0100
25406 Fix Pango FontDescription override
25408 Trying to call __new__() on a record crashes with a MemoryError,
25410 the intended static factory method for a None argument as well
25414 gi/overrides/Pango.py | 7 +------
25415 1 file changed, 1 insertion(+), 6 deletions(-)
25417 commit efbbe71634037fa100b17327389b883b259cca54
25418 Author: Martin Pitt <martin.pitt@ubuntu.com>
25419 Date: Tue Jan 18 16:23:39 2011 +0100
25421 tests: Respect existing $GI_TYPELIB_PATH
25423 This allows us to run the test suite against local typelibs.
25425 tests/Makefile.am | 2 +-
25426 1 file changed, 1 insertion(+), 1 deletion(-)
25428 commit c96ca383350e5b9b079d9a86464922314939c006
25429 Author: John (J5) Palmieri <johnp@redhat.com>
25430 Date: Tue Jan 18 07:16:40 2011 -0500
25432 [gi] fix aux value offsets for methods and element size crashers
25434 * if the callable is a method we need to add 1 to the aux index
25435 for in values so we grab the right argument cache
25436 * use _pygi_g_type_info_size instead of _pygi_g_type_tag_size to
25439 gi/pygi-cache.c | 42 ++++++++++++++++++++++++------------------
25440 1 file changed, 24 insertions(+), 18 deletions(-)
25442 commit f56d85a7f39c2088bf9fd50b1b1e5b67c03104d3
25443 Merge: 84d6142 7d997b6
25444 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25445 Date: Tue Jan 18 13:14:45 2011 +0100
25447 Merge branch 'value'
25449 commit 7d997b6fe88343776c4d67a9f3437ba0c4122da0
25450 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25451 Date: Tue Jan 18 13:12:36 2011 +0100
25453 GTK overrides: Do type conversion to column types of ListStore and
25454 TreeStore in set_value
25456 gi/overrides/Gtk.py | 28 ++++++++++++++++++----------
25457 tests/test_overrides.py | 12 +++++++++++-
25458 2 files changed, 29 insertions(+), 11 deletions(-)
25460 commit 84d6142c14a7ebfb7284d3db52e14d3393f93905
25461 Author: Steve Frécinaux <code@istique.net>
25462 Date: Mon Jan 17 18:57:58 2011 +0100
25464 Always register a new GType when a GObject class is subclassed
25466 This patch makes the GType <-> python mapping much more predictible,
25467 and fixes the bug caused by overriding methods without specifying a
25468 __gtype_name__ member in the subclass, and makes type_register useless
25471 It is still possible to provide an explicit __gtype_name__ member
25473 subclass as it allows having a predictible GType name, which is handy
25474 for some of our tests. There is also an explicit special case for
25475 overrides because we obviously do not want to register new GTypes for
25476 those ones as it would clearly defeat the purpose of overrides.
25478 https://bugzilla.gnome.org/show_bug.cgi?id=543056
25480 gobject/__init__.py | 6 +++---
25481 tests/test_gi.py | 21 ++-------------------
25482 2 files changed, 5 insertions(+), 22 deletions(-)
25484 commit 30750ccef31e6c864628f418fc00e8c573d29a1b
25485 Author: Simon van der Linden <svdlinden@gnome.org>
25486 Date: Tue Jan 18 12:57:13 2011 +0100
25488 Raise required versions of GLib and GObject-Introspection
25490 https://bugzilla.gnome.org/show_bug.cgi?id=612126
25492 configure.ac | 6 +++---
25493 1 file changed, 3 insertions(+), 3 deletions(-)
25495 commit 761e98d32729f5894f4c75a54c65ed11329dc9d5
25496 Author: Martin Pitt <martin.pitt@ubuntu.com>
25497 Date: Tue Jan 18 12:52:32 2011 +0100
25499 pygi-convert.sh: Handle keysyms
25501 pygi-convert.sh | 1 +
25502 1 file changed, 1 insertion(+)
25504 commit d62cdfa38a675c1daf3bc12d5cd769434eea5dc8
25505 Author: Martin Pitt <martin.pitt@ubuntu.com>
25506 Date: Tue Jan 18 12:14:09 2011 +0100
25508 GLib overrides: Add test case for array variant building
25510 tests/test_overrides.py | 7 +++++++
25511 1 file changed, 7 insertions(+)
25513 commit 69a78307f3762e3f54d28d98514cec7d31ff20db
25514 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25515 Date: Tue Jan 18 10:21:03 2011 +0100
25517 Remove cairo.RectangleInt from the foreign module
25519 https://bugzilla.gnome.org/show_bug.cgi?id=639824
25521 gi/pygi-foreign-cairo.c | 96
25522 -------------------------------------------------
25523 1 file changed, 96 deletions(-)
25525 commit 017680c9a5e163021628bf29543598861a3b600a
25526 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25527 Date: Tue Jan 18 10:20:25 2011 +0100
25529 Dont try to guess the transfer if its a boxed
25531 https://bugzilla.gnome.org/show_bug.cgi?id=639823
25533 gi/pygi-invoke.c | 5 ++++-
25534 1 file changed, 4 insertions(+), 1 deletion(-)
25536 commit 771ef76574690eb98926249f38661d741d1ebbb0
25537 Author: Ignacio Casal Quinteiro <icq@gnome.org>
25538 Date: Tue Jan 18 12:02:01 2011 +0100
25540 The tags can be Empty not None.
25542 gi/overrides/Gtk.py | 2 +-
25543 1 file changed, 1 insertion(+), 1 deletion(-)
25545 commit b1a98083cdc50653e1d7bfb809bdf089f833df3d
25546 Author: Martin Pitt <martin.pitt@ubuntu.com>
25547 Date: Tue Jan 18 12:01:28 2011 +0100
25549 Add Pythonic iterators and indexing to GVariant
25551 Add the usual set of iterators and index accessors to GLib.Variant
25553 which are containers.
25555 Add corresponding test cases.
25557 gi/overrides/GLib.py | 50 ++++++++++++++++++++++++++++++++++++++++++++
25558 tests/test_overrides.py | 55
25559 +++++++++++++++++++++++++++++++++++++++++++++++++
25560 2 files changed, 105 insertions(+)
25562 commit ecb9f824c503c529d43e585b4cdb4c1c9ab14593
25563 Author: Martin Pitt <martin.pitt@ubuntu.com>
25564 Date: Tue Jan 18 10:48:03 2011 +0100
25566 Add GLib.Variant.unpack()
25568 This method decomposes a GLib.Variant into a native Python object,
25570 counterpart of _VariantCreator. This makes it a lot nicer for
25572 developers to use e. g. return values from gdbus calls.
25574 Add appropriate test case.
25576 gi/overrides/GLib.py | 45
25577 +++++++++++++++++++++++++++++++++++++++++++++
25578 tests/test_overrides.py | 33 ++++++++++++++++++++++++++++++++-
25579 2 files changed, 77 insertions(+), 1 deletion(-)
25581 commit 31c73dee34a52fd22b5ff3a23adce92cea5ddc3d
25582 Author: Ignacio Casal Quinteiro <icq@gnome.org>
25583 Date: Tue Jan 18 10:56:18 2011 +0100
25585 Add override for gtk_text_buffer_insert_with_tags
25587 gi/overrides/Gtk.py | 12 ++++++++++++
25588 tests/test_overrides.py | 6 ++++++
25589 2 files changed, 18 insertions(+)
25591 commit fc7d7f7f153d57ff3866b7bfd5e6479d702cc4d9
25592 Author: Simon van der Linden <svdlinden@gnome.org>
25593 Date: Mon Jan 17 14:35:14 2011 +0100
25595 Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES
25597 https://bugzilla.gnome.org/show_bug.cgi?id=620215
25599 gi/Makefile.am | 6 ++++--
25600 gio/Makefile.am | 2 +-
25601 glib/Makefile.am | 2 +-
25602 m4/python.m4 | 7 +++++--
25603 tests/Makefile.am | 2 +-
25604 5 files changed, 12 insertions(+), 7 deletions(-)
25606 commit bceec758b27e6c396d17a79424633b5dc9116f54
25607 Author: Simon van der Linden <svdlinden@gnome.org>
25608 Date: Mon Jan 17 14:20:55 2011 +0100
25610 Kill JD_CHECK_PYTHON_HEADERS
25612 Use AM_CHECK_PYTHON_HEADERS instead, which is identical.
25614 https://bugzilla.gnome.org/show_bug.cgi?id=620215
25616 configure.ac | 2 +-
25617 m4/python.m4 | 31 +------------------------------
25618 2 files changed, 2 insertions(+), 31 deletions(-)
25620 commit e2dea065da94d17a915abe1ce4671b1dc48e02c0
25621 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25622 Date: Mon Jan 17 19:09:27 2011 +0100
25624 Revert "Override Gtk.Box.pack_start and pack_end to set default
25625 values to be compliant with pygtk"
25627 This reverts commit a8c727b9c4195d8085a45661683a18614ae84485.
25631 gi/overrides/Gtk.py
25633 gi/overrides/Gtk.py | 10 ----------
25634 1 file changed, 10 deletions(-)
25636 commit 4fbae9629adc166627de05bb0946b71485343d69
25637 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25638 Date: Mon Jan 17 19:08:23 2011 +0100
25640 Revert "Override Gtk.CellLayout.pack_start and pack_end to add
25641 default values to be compliant with pygtk"
25643 This reverts commit 232841148f35684be83a2f47b5b18da4fb74f63a.
25645 gi/overrides/Gtk.py | 13 ++-----------
25646 1 file changed, 2 insertions(+), 11 deletions(-)
25648 commit c054f0aca67952876b3519bb75ddc62c5517f7cb
25649 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25650 Date: Mon Jan 17 19:08:06 2011 +0100
25652 Revert "Override Gtk.TreeViewColumn.pack_start, pack_end and
25653 set_cell_data_func to add default values to be compliant with pygtk"
25655 This reverts commit ed7e7a8f22b1481acf78c0c2e4c489dbad72f599.
25657 gi/overrides/Gtk.py | 9 ---------
25658 1 file changed, 9 deletions(-)
25660 commit 2d9534f347505573da46743b47318e08bf073aef
25661 Author: Martin Pitt <martin.pitt@ubuntu.com>
25662 Date: Mon Jan 17 18:54:10 2011 +0100
25664 pygi-convert.sh: Handle gtk.combo_box_new_text()
25666 pygi-convert.sh | 1 +
25667 1 file changed, 1 insertion(+)
25669 commit 0586a83212a9f9234fe00659ae744ab04e7ccc67
25670 Author: John (J5) Palmieri <johnp@redhat.com>
25671 Date: Mon Jan 17 12:31:03 2011 -0500
25675 gi/pygi-argument.c | 68 ++++++++++++++++++++++++++++++++++++++++++++--
25676 gi/pygi-cache.c | 80
25677 +++++++++++++++++++++++++++++++++++++++++-------------
25678 gi/pygi-cache.h | 13 +++++++--
25679 gi/pygi-invoke.c | 2 +-
25680 4 files changed, 138 insertions(+), 25 deletions(-)
25682 commit 914d3a0a29680f4d3aa0e1f8afdd625b017b013a
25683 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25684 Date: Mon Jan 17 16:57:53 2011 +0100
25686 Override TreeSortable.set_sort_func and set_default_sort_func to
25687 add default values to be pygtk compliant
25689 gi/overrides/Gtk.py | 6 ++++++
25690 1 file changed, 6 insertions(+)
25692 commit ed7e7a8f22b1481acf78c0c2e4c489dbad72f599
25693 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25694 Date: Mon Jan 17 16:29:28 2011 +0100
25696 Override Gtk.TreeViewColumn.pack_start, pack_end and
25697 set_cell_data_func to add default values to be compliant with pygtk
25699 gi/overrides/Gtk.py | 9 +++++++++
25700 1 file changed, 9 insertions(+)
25702 commit 232841148f35684be83a2f47b5b18da4fb74f63a
25703 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25704 Date: Mon Jan 17 16:28:51 2011 +0100
25706 Override Gtk.CellLayout.pack_start and pack_end to add default values
25707 to be compliant with pygtk
25709 gi/overrides/Gtk.py | 13 +++++++++++--
25710 1 file changed, 11 insertions(+), 2 deletions(-)
25712 commit 1dec12826753756fcadefc8ef8c756fc902c320b
25713 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25714 Date: Mon Jan 17 15:54:32 2011 +0100
25716 Override Gtk.Paned pack1 and pack2 to add default values to be
25717 compliant with pygtk
25719 gi/overrides/Gtk.py | 10 ++++++++++
25720 1 file changed, 10 insertions(+)
25722 commit a8c727b9c4195d8085a45661683a18614ae84485
25723 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25724 Date: Mon Jan 17 15:46:25 2011 +0100
25726 Override Gtk.Box.pack_start and pack_end to set default values to
25727 be compliant with pygtk
25729 gi/overrides/Gtk.py | 10 ++++++++++
25730 1 file changed, 10 insertions(+)
25732 commit 7cc8ac35bb0d8dbf7d66f014f8cd7ff070b3acb8
25733 Author: Steve Frécinaux <code@istique.net>
25734 Date: Wed Aug 4 00:30:05 2010 +0200
25736 Handle GObject subclasses in the property helper.
25738 https://bugzilla.gnome.org/show_bug.cgi?id=625982
25740 gobject/propertyhelper.py | 26 +++++++++++++-------------
25741 tests/test_properties.py | 9 +++++++++
25742 2 files changed, 22 insertions(+), 13 deletions(-)
25744 commit 7a0548dbfbdfe481f75315b6bc7824a9f1a8a87b
25745 Author: Martin Pitt <martin.pitt@ubuntu.com>
25746 Date: Mon Jan 17 17:52:15 2011 +0100
25748 Fix handling of unicode for GtkTreeModels
25750 The code previously converted an unicode object into unicode, but
25752 models actually have to specify 'str' (GTK expects a gchararray). So
25754 UTF-8 instead to get what GTK expects.
25756 Add corresponding test case.
25758 gi/overrides/Gtk.py | 2 +-
25759 tests/test_overrides.py | 12 +++++++++++-
25760 2 files changed, 12 insertions(+), 2 deletions(-)
25762 commit 09c21c79fb6063c8451f53d4588363d2be7239f4
25763 Author: Laszlo Pandy <lpandy@src.gnome.org>
25764 Date: Mon Jan 17 16:46:08 2011 +0100
25766 In IntrospectionModule and DynamicModule classes, make all instance
25767 attributes start with an underscore.
25769 This changes IntrospectionModule.version to _version and
25770 DynamicModule.introspection_module to _introspection_module.
25771 This is done to mark the attributes as private, and also avoid name
25772 collisions with attributes from the typelib.
25773 In Gstreamer, there is a function gst_version, which was previously
25774 inaccessible because of IntrospectionModule.version overriding it.
25776 gi/module.py | 26 +++++++++++++-------------
25777 gi/overrides/GIMarshallingTests.py | 2 +-
25778 gi/overrides/GLib.py | 2 +-
25779 gi/overrides/Gdk.py | 10 +++++-----
25780 gi/overrides/Gtk.py | 2 +-
25781 gi/overrides/Pango.py | 2 +-
25782 gi/overrides/__init__.py | 2 +-
25783 tests/test_everything.py | 2 +-
25784 8 files changed, 24 insertions(+), 24 deletions(-)
25786 commit 2c70beca9e76e4dc253453c556e6985ce59a3dd9
25787 Author: Laszlo Pandy <lpandy@src.gnome.org>
25788 Date: Mon Jan 17 16:17:25 2011 +0100
25790 Amend previous enum wrapping commit to remove redundant setting of
25791 __info__ attribute.
25793 gi/module.py | 2 +-
25794 gi/types.py | 6 +++---
25795 2 files changed, 4 insertions(+), 4 deletions(-)
25797 commit 6fbb6be5a5d0d9cd43e1504b8dda5aa75feb95ca
25798 Author: Martin Pitt <martin.pitt@ubuntu.com>
25799 Date: Mon Jan 17 16:16:45 2011 +0100
25801 pygi-convert.sh: Handle GdkPixbuf.InterpType
25803 pygi-convert.sh | 2 ++
25804 1 file changed, 2 insertions(+)
25806 commit 66a5784f4ab5de5b6d8d51eb4ce869fa26f6a601
25807 Author: Laszlo Pandy <laszlok2@gmail.com>
25808 Date: Mon Jan 17 15:43:34 2011 +0100
25810 Fix wrapping of enums: Create new Python type for each non-gtype enum.
25812 Previously non-gtype enums used the same class, which meant they
25813 were all the same type.
25814 This caused another problem that since they were all the same class,
25815 attributes from different enums were available from each other.
25817 A new test case is created to check for this bug. It requires a new
25818 enum from the GIMarshallingTests (updating gobject-introspection
25821 gi/module.py | 2 +-
25823 tests/test_gi.py | 10 ++++++++++
25824 3 files changed, 13 insertions(+), 1 deletion(-)
25826 commit da50d5620a42046d4fc905bb28a0890d73533cb1
25827 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25828 Date: Mon Dec 13 18:03:51 2010 +0100
25830 Use g_vfunc_info_invoke for chaining up in vfuncs
25832 https://bugzilla.gnome.org/show_bug.cgi?id=637165
25834 gi/pygi-info.c | 4 ++--
25835 gi/pygi-invoke.c | 72
25836 +++++++++++++++++++++++++++++++++++++++++++-------------
25837 gi/pygi-invoke.h | 3 ++-
25838 gi/types.py | 28 +++++++++++++++++++++-
25839 tests/test_gi.py | 5 ++--
25840 5 files changed, 89 insertions(+), 23 deletions(-)
25842 commit 8ceef79c98a1c2e22ed8ab655ef1169f1763dd23
25843 Author: Simon van der Linden <svdlinden@gnome.org>
25844 Date: Fri Dec 31 18:38:04 2010 +0100
25846 Move pyglib_{main_context, option_context, option_group}_new into
25849 _PyG{MainContext, OptionContext, and OptionGroup_Type} were not
25851 when used inside the glib module, since pyglib_init is not called.
25853 pyglib.c is compiled as a stand-alone library loaded by the _glib
25855 declares the above-mentioned types. Hence, they cannot be accessed
25857 former. This patch moves the functions that need those symbols
25859 glib._glib module and exports them to the pyglib library through
25862 https://bugzilla.gnome.org/show_bug.cgi?id=636656
25864 glib/glibmodule.c | 5 ++++-
25865 glib/pyglib-private.h | 3 +++
25867 +++---------------------------------------------
25868 glib/pygmaincontext.c | 22 ++++++++++++++++++++++
25869 glib/pygmaincontext.h | 2 +-
25870 glib/pygmainloop.c | 2 +-
25871 glib/pygoptioncontext.c | 21 +++++++++++++++++++++
25872 glib/pygoptioncontext.h | 2 ++
25873 glib/pygoptiongroup.c | 26 ++++++++++++++++++++++++++
25874 glib/pygoptiongroup.h | 2 ++
25875 glib/pygsource.c | 2 +-
25876 11 files changed, 86 insertions(+), 49 deletions(-)
25878 commit 17caffe4eeefeaf33a56ececbc6c7454f60b9d76
25879 Author: Martin Pitt <martin.pitt@ubuntu.com>
25880 Date: Mon Jan 17 14:51:26 2011 +0100
25882 pygi-convert.sh: Handle Gdk.DragAction
25884 pygi-convert.sh | 1 +
25885 1 file changed, 1 insertion(+)
25887 commit aa390aa80f06ac83ec89e5c5ee143d21ace97917
25888 Author: Martin Pitt <martin.pitt@ubuntu.com>
25889 Date: Mon Jan 17 14:46:58 2011 +0100
25891 pygi-convert.sh: Generalize Gtk.Settings migration
25893 There are other GSettings.get_* functions like get_for_screen().
25895 pygi-convert.sh | 2 +-
25896 1 file changed, 1 insertion(+), 1 deletion(-)
25898 commit 2e6d5bb49425e6087ca61765ecb72e7a760f2ab2
25899 Author: Martin Pitt <martin.pitt@ubuntu.com>
25900 Date: Mon Jan 17 11:22:46 2011 +0100
25902 pygi-convert.sh: Don't change the name of "glib" submodules
25904 This particular affects dbus.mainloop.glib.*
25906 pygi-convert.sh | 2 +-
25907 1 file changed, 1 insertion(+), 1 deletion(-)
25909 commit 3887b030fc19d25e0cd7b4ed504f4ed23363c3d6
25910 Author: Paolo Borelli <pborelli@gnome.org>
25911 Date: Sun Jan 16 22:09:56 2011 +0100
25913 Plug another memory leak
25915 Do not leak interface info in (g|s)_et_property.
25917 gi/pygi-property.c | 4 ++++
25918 1 file changed, 4 insertions(+)
25920 commit a4950b4cbb3c7567a8586061bb361adb7d9afb98
25921 Author: Paolo Borelli <pborelli@gnome.org>
25922 Date: Sun Jan 16 21:43:30 2011 +0100
25924 Plug a small memory leak.
25926 Do not leak type_info in find_vfunc_info
25928 gi/gimodule.c | 10 +++++-----
25929 1 file changed, 5 insertions(+), 5 deletions(-)
25931 commit d0cbcc45366d40702c69cef207d3c0f361260c02
25932 Author: Paolo Borelli <pborelli@gnome.org>
25933 Date: Sun Jan 16 12:16:31 2011 +0100
25935 Override Table.attach() to behave like pygtk
25937 It is fairly common and even gtk itself still has attach_defaults.
25939 gi/overrides/Gtk.py | 3 +++
25940 tests/test_overrides.py | 4 ++++
25941 2 files changed, 7 insertions(+)
25943 commit 6409d659326bf3cefdf6051379e8bc2031f16733
25944 Author: Martin Pitt <martin.pitt@ubuntu.com>
25945 Date: Sat Jan 15 11:20:23 2011 -0600
25947 pygi-convert.sh: Convert Pango.WrapMode
25949 pygi-convert.sh | 1 +
25950 1 file changed, 1 insertion(+)
25952 commit 6aaa6a38198e84a189ca1e8d26b1871d5b6bb711
25953 Author: Martin Pitt <martin.pitt@ubuntu.com>
25954 Date: Sat Jan 15 11:17:09 2011 -0600
25956 pygi-convert.sh: Don't change the name of "gtk" submodules
25958 Some projects have local modules like "myproject.ui.gtk". Avoid
25960 just change module names which start with "gtk" or "gdk".
25962 pygi-convert.sh | 4 ++--
25963 1 file changed, 2 insertions(+), 2 deletions(-)
25965 commit 9be0f1f2dfb89150faf1827ef482feea03645149
25966 Author: John (J5) Palmieri <johnp@redhat.com>
25967 Date: Thu Jan 13 23:56:19 2011 -0500
25969 [gi] implement aux arg handling for array lengths
25971 gi/pygi-argument.c | 8 ++++++++
25972 gi/pygi-cache.c | 36 ++++++++++++++++++++++++++++--------
25973 gi/pygi-cache.h | 1 -
25974 gi/pygi-invoke.c | 8 ++++++--
25975 4 files changed, 42 insertions(+), 11 deletions(-)
25977 commit cfca2f0a53a5c29f543875ca4cb83a2e18d3bc72
25978 Author: John (J5) Palmieri <johnp@redhat.com>
25979 Date: Thu Jan 13 21:07:25 2011 -0500
25981 [gi] marshal in hashes
25983 gi/pygi-argument.c | 93 ++++++++++++++++++++++++++++++++++++++--
25984 gi/pygi-cache.c | 122
25985 +++++++++++++++++++++++++++++++++++++----------------
25986 2 files changed, 176 insertions(+), 39 deletions(-)
25988 commit c36fbf4918c8557a8e274a12004a412da3b22b2c
25989 Author: Laszlo Pandy <git@laszlopandy.com>
25990 Date: Tue Jan 11 21:41:47 2011 +0100
25992 Fix the __dir__() methods on DynamicModule and IntrospectionModule
25994 Previously the __dir__() methods did not list all attributes.
25995 A simple test case is included. It does not test to see if
25996 every attribute is listed, it just tests a few of each kind:
25997 - (wrapped) typelib attributes
25998 - class attributes and methods
25999 - instance attributes
26001 A set() is used to avoid returning duplicate attributes.
26002 The test case checks for this as well.
26004 https://bugzilla.gnome.org/show_bug.cgi?id=639229
26006 gi/module.py | 28 +++++++++++++++++++++-------
26007 tests/test_everything.py | 18 ++++++++++++++++++
26008 2 files changed, 39 insertions(+), 7 deletions(-)
26010 commit 1679e6af3f212e4d4644e048dc3c6177ed3fac6b
26011 Author: Paolo Borelli <pborelli@gnome.org>
26012 Date: Thu Jan 13 00:02:20 2011 +0100
26014 pygi-convert.sh: handle ReliefStyle
26016 pygi-convert.sh | 1 +
26017 1 file changed, 1 insertion(+)
26019 commit e9166ba5d19f2b586f65a3b83a671a5afd486d8f
26020 Author: John (J5) Palmieri <johnp@redhat.com>
26021 Date: Wed Jan 12 16:50:30 2011 -0500
26023 [gi] support for GList and GSList in
26025 gi/pygi-argument.c | 122
26026 ++++++++++++++++++++++++++++++++++++++++++++++++++---
26027 1 file changed, 116 insertions(+), 6 deletions(-)
26029 commit 9baf3240fbac103823ad0feaaf1c82e46d276722
26030 Author: John (J5) Palmieri <johnp@redhat.com>
26031 Date: Wed Jan 12 16:24:17 2011 -0500
26033 [gi] handle allow_none for all args
26035 gi/pygi-cache.c | 3 ++-
26036 gi/pygi-cache.h | 1 +
26037 gi/pygi-invoke.c | 7 +++++++
26038 3 files changed, 10 insertions(+), 1 deletion(-)
26040 commit d54d12c66226910952b0dc44c8d9514a7edaa6f2
26041 Author: John (J5) Palmieri <johnp@redhat.com>
26042 Date: Wed Jan 12 16:23:02 2011 -0500
26044 [gi] fix marshalling fixed arrays
26046 * get the correct item_size and pass the GArray data not the GArray
26048 gi/pygi-argument.c | 39 ++++++++++++++++++++++-----------------
26049 gi/pygi-cache.c | 3 ++-
26050 2 files changed, 24 insertions(+), 18 deletions(-)
26052 commit 3b0eff80d2ee35e0417476f0a170b9e178e3d1ee
26053 Author: John (J5) Palmieri <johnp@redhat.com>
26054 Date: Tue Jan 11 17:20:43 2011 -0500
26056 [gi] implement out arg handling
26058 gi/pygi-argument.c | 43 ++++++++++---------------------------
26059 gi/pygi-cache.c | 22 ++++++++++++++-----
26060 gi/pygi-invoke-state-struct.h | 13 +++++++++++
26061 gi/pygi-invoke.c | 50
26062 +++++++++++++++++++++++++++++++++++++++++--
26063 4 files changed, 89 insertions(+), 39 deletions(-)
26065 commit bd002c72675d35b5e60ab773181e7c36c30d2625
26066 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26067 Date: Tue Jan 11 22:21:18 2011 +0100
26069 setup.py: fix the provides keyword argument
26072 1 file changed, 1 insertion(+), 1 deletion(-)
26074 commit 59dac72d0fa8e1d68bbbc13d76c2747f1cb11857
26075 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26076 Date: Tue Jan 11 22:19:18 2011 +0100
26078 setup.py: use the same spaces-less format for all setup() parameters
26080 setup.py | 8 ++++----
26081 1 file changed, 4 insertions(+), 4 deletions(-)
26083 commit c5c149be171895d292852df364541f14f0ec423a
26084 Author: John (J5) Palmieri <johnp@redhat.com>
26085 Date: Tue Jan 11 15:39:09 2011 -0500
26087 [gi] implemented return marshalling and started on out marshalling
26089 gi/pygi-argument.c | 387
26090 ++++++++++++++++++++++++++++++++++++++++++++++++++++-
26091 gi/pygi-argument.h | 117 ++++++++++++++++
26092 gi/pygi-cache.c | 316 ++++++++++++++++++++++++++++++++++++++++++-
26093 gi/pygi-cache.h | 8 +-
26094 gi/pygi-invoke.c | 12 +-
26095 5 files changed, 829 insertions(+), 11 deletions(-)
26097 commit 4fcca8518774ab89607196dfc52037e3da30ac8a
26098 Author: John (J5) Palmieri <johnp@redhat.com>
26099 Date: Tue Jan 11 13:49:58 2011 -0500
26101 [gi] flesh out interface in marshalling a bit more
26103 gi/pygi-argument.c | 74
26104 ++++++++++++++++++++++++++++++++++++++++----------
26105 gi/pygi-cache.c | 79
26106 ++++++++++++++++++++++++++++++++++++++++++------------
26107 gi/pygi-cache.h | 1 +
26108 3 files changed, 123 insertions(+), 31 deletions(-)
26110 commit 4992dca9f5cea68d85eb2ed86105c9c6b8311d79
26111 Author: Laszlo Pandy <laszlok2@gmail.com>
26112 Date: Tue Jan 11 19:30:38 2011 +0100
26114 Add a __repr__() method to DynamicModule.
26116 This patch adds a __repr__() method to DynamicModule so that modules
26118 meaningful string with the typelib path included:
26120 >>> from gi.repository import Gtk
26122 <gi.module.DynamicModule 'Gtk' from
26123 '/home/laszlo/Dev/gnome-jh-install/lib64/girepository-1.0/Gtk-3.0.typelib'>
26125 https://bugzilla.gnome.org/show_bug.cgi?id=639232
26127 gi/module.py | 9 +++++++++
26128 1 file changed, 9 insertions(+)
26130 commit 2ffaec59e7349c145a0e2a5edba2ffb7d8628369
26131 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26132 Date: Tue Jan 11 19:40:19 2011 +0100
26134 Go back to using getattr() in DynamicModule.__getattr__
26136 Breaks marshalling of some types
26138 gi/module.py | 2 +-
26139 1 file changed, 1 insertion(+), 1 deletion(-)
26141 commit 52a298cc0f05ceec96457f17f9a801e9838fb757
26142 Author: Laszlo Pandy <laszlok2@gmail.com>
26143 Date: Tue Jan 11 19:26:50 2011 +0100
26145 Change __dir__() to report all the attributes that __getattr__
26148 Change DynamicModule.__dir__() to return the local class members as
26150 typelib attributes.
26152 Change DynamicModule.__getattr__() to call
26153 IntrospectionModule.__getattr__()
26154 directly, so that it won't inadvertently return class attributes from
26155 IntrospectionModule.
26157 https://bugzilla.gnome.org/show_bug.cgi?id=639229
26159 gi/module.py | 10 +++++++---
26160 1 file changed, 7 insertions(+), 3 deletions(-)
26162 commit 369a75ba5fb64ff7a7c95d21f8bfe359e639e9ff
26163 Author: John (J5) Palmieri <johnp@redhat.com>
26164 Date: Mon Jan 10 17:55:03 2011 -0500
26166 [gi] add object and interface in marshalling
26168 * also remove the PyGIArgCleanup sinature as GDestroyNotify works
26171 gi/pygi-argument.c | 15 +++--
26172 gi/pygi-cache.c | 182
26173 ++++++++++++++++++++++++++++++++++++++++++++++++-----
26174 gi/pygi-cache.h | 1 -
26175 gi/pygi-invoke.c | 1 +
26176 4 files changed, 178 insertions(+), 21 deletions(-)
26178 commit 88531c58d0491a31dd319387237a03df5c9edc07
26179 Author: John (J5) Palmieri <johnp@redhat.com>
26180 Date: Mon Jan 10 15:33:56 2011 -0500
26182 [gi] fix casting when marshaling a char to uint8
26184 gi/pygi-argument.c | 2 +-
26185 1 file changed, 1 insertion(+), 1 deletion(-)
26187 commit 441da4a7346ca059630dbc820c5b46e4d0222f4b
26188 Author: John (J5) Palmieri <johnp@redhat.com>
26189 Date: Mon Jan 10 15:07:16 2011 -0500
26191 [gi] hook up invoke to the cache
26193 * We now can invoke with in values
26194 * out, constructors and returns still don't work along with numerous
26198 gi/Makefile.am | 1 +
26199 gi/pygi-argument.c | 60 +++++++++--------
26200 gi/pygi-argument.h | 60 ++++++++---------
26201 gi/pygi-cache.h | 6 +-
26202 gi/pygi-invoke-state-struct.h | 26 ++++++++
26203 gi/pygi-invoke.c | 149
26204 ++++++++++++++++++++++++++++++++----------
26205 gi/pygi-invoke.h | 2 +-
26206 gi/pygi-private.h | 1 +
26207 8 files changed, 208 insertions(+), 97 deletions(-)
26209 commit f32b1f494aa5d09b9b198f607722c819c6bbd808
26210 Author: John (J5) Palmieri <johnp@redhat.com>
26211 Date: Sun Jan 9 19:37:55 2011 -0500
26213 hooked up caching stage and fixed segfaults
26215 * caching stage is hooked up but not used yet
26216 * throws exceptions for everything that can not be cached yet
26218 gi/pygi-cache.c | 59
26219 +++++++++++++++++++++++++++++++++++++++++++-------------
26220 gi/pygi-info.c | 3 +++
26221 gi/pygi-invoke.c | 5 +++++
26223 4 files changed, 56 insertions(+), 13 deletions(-)
26225 commit c2bf1d4d9cf2e9f8e313528fe717f6279dad5da1
26226 Author: John (J5) Palmieri <johnp@redhat.com>
26227 Date: Sun Jan 9 18:05:31 2011 -0500
26229 [gi] fix some function names
26231 gi/pygi-cache.c | 5 ++---
26232 1 file changed, 2 insertions(+), 3 deletions(-)
26234 commit 2ec4230a5180f048c26c2e4234b2a098d42f030b
26235 Author: John (J5) Palmieri <johnp@redhat.com>
26236 Date: Sun Jan 9 15:58:06 2011 -0500
26238 [gi] refactor cache structs so they inherit from ArgCache
26240 gi/pygi-argument.c | 122 +++++++++----------
26241 gi/pygi-cache.c | 344
26242 +++++++++++++++++++++++++++++------------------------
26243 gi/pygi-cache.h | 50 ++++----
26244 3 files changed, 273 insertions(+), 243 deletions(-)
26246 commit f4cdf0c0321285da015686fcb7115bd91bfd5c7c
26247 Author: John (J5) Palmieri <johnp@redhat.com>
26248 Date: Sat Jan 8 20:45:11 2011 -0500
26250 [gi]fix cache compile error - now compiles but cache still not
26253 gi/Makefile.am | 2 +
26254 gi/pygi-argument.c | 100 +++++++++++++++---------------
26255 gi/pygi-argument.h | 174
26256 ++++++++++++++++++++++++++++++++++++++++++++---------
26257 gi/pygi-cache.c | 169
26258 +++++++++++++++++++++++++--------------------------
26259 gi/pygi-cache.h | 25 ++++----
26260 5 files changed, 293 insertions(+), 177 deletions(-)
26262 commit 5f8f3044dd8085b2e8ce0bf70e9d52f05abf909d
26263 Author: John (J5) Palmieri <johnp@redhat.com>
26264 Date: Sat Jan 8 19:10:29 2011 -0500
26266 add sequence caching and array marshalling w/ item marshalling
26268 * simplify what we pass into the arg cache generators so we may
26270 for geneating marshalling caches for container items, not just
26273 gi/pygi-argument.c | 76 ++++++++++++++++-
26274 gi/pygi-cache.c | 242
26275 ++++++++++++++++++++++-------------------------------
26276 gi/pygi-cache.h | 4 +-
26277 3 files changed, 175 insertions(+), 147 deletions(-)
26279 commit 202a268db7f98f5a3c525c6e65ec4bff1917257e
26280 Author: Emilio Pozuelo Monfort <pochu27@gmail.com>
26281 Date: Sat Jan 8 02:19:52 2011 +0000
26283 Bump the minimum gio dependency
26285 Needed for G_TYPE_CONVERTER_FLAGS and others.
26287 configure.ac | 2 +-
26288 1 file changed, 1 insertion(+), 1 deletion(-)
26290 commit c3aa36151fdef9ed9884d93114786bbe86387983
26291 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26292 Date: Fri Jan 7 12:58:11 2011 +0100
26294 Add test for incorrect attributes in Gdk.Event
26296 tests/test_overrides.py | 4 ++++
26297 1 file changed, 4 insertions(+)
26299 commit 204b45c7e95eb50d9e3843127fb10e13b1b17fee
26300 Author: Simon van der Linden <svdlinden@gnome.org>
26301 Date: Sun Jan 2 19:25:55 2011 +0100
26303 Don't call getattr again in gi.overrides.Gdk.Event.__getattr__
26305 __getattr__ is only called when the attribute is not found through
26307 mechanism, so getattr must not be called again in __getattr__
26309 create an infinite loop).
26311 Another possibility would be to implement __getattribute__ instead,
26313 called in place of the normal mechanism. In that case, calling
26315 needed for normal attributes.
26317 https://bugzilla.gnome.org/show_bug.cgi?id=638523
26319 gi/overrides/Gdk.py | 2 +-
26320 1 file changed, 1 insertion(+), 1 deletion(-)
26322 commit 6cf298ca5565d0eb99824f050ff47407e50a5c01
26323 Author: Mike Gorse <mgorse@novell.com>
26324 Date: Fri Jan 7 09:08:31 2011 +0100
26326 Release allocated array of arguments when handling closures
26328 https://bugzilla.gnome.org/show_bug.cgi?id=638847
26330 gi/pygi-closure.c | 3 +++
26331 1 file changed, 3 insertions(+)
26333 commit 1be76d5e006efa24598ff7bf26153660dbe0a890
26334 Author: Mike Gorse <mgorse@novell.com>
26335 Date: Fri Jan 7 09:07:35 2011 +0100
26337 Release GIValueInfo when checking an enum argument
26339 https://bugzilla.gnome.org/show_bug.cgi?id=638847
26341 gi/pygi-argument.c | 1 +
26342 1 file changed, 1 insertion(+)
26344 commit 43849c51391fc9cd239697065c3d40fa02fb6783
26345 Author: John (J5) Palmieri <johnp@redhat.com>
26346 Date: Thu Jan 6 17:30:14 2011 -0500
26350 gi/pygi-cache.c | 24 ++++++++++++------------
26351 gi/pygi-cache.h | 42 +++++++++++++++++++++---------------------
26352 2 files changed, 33 insertions(+), 33 deletions(-)
26354 commit 8b5b3d2bbbbdf5d26c83e9a6fe67121cbd77ebe1
26355 Author: John (J5) Palmieri <johnp@redhat.com>
26356 Date: Thu Jan 6 17:29:00 2011 -0500
26358 add marshalling for basic types and add more skeleton code
26360 * still doesn't compile
26362 gi/pygi-argument.c | 708
26363 +++++++++++++++++++++++++++++++++++++++++++++++++++++
26364 gi/pygi-argument.h | 35 ++-
26365 gi/pygi-cache.c | 82 +++++--
26366 gi/pygi-cache.h | 41 +++-
26367 4 files changed, 832 insertions(+), 34 deletions(-)
26369 commit f554cf62848104d31518138ae85bc51acaafda67
26370 Author: John (J5) Palmieri <johnp@redhat.com>
26371 Date: Tue Jan 4 18:49:53 2011 -0500
26373 first checkin of the new caching branch
26375 * this does not compile and is not hooked up to the build system
26376 * lays out the caching data structures and some skeleton functions
26378 gi/pygi-cache.c | 480
26379 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
26380 gi/pygi-cache.h | 104 ++++++++++++
26381 2 files changed, 584 insertions(+)
26383 commit 8d5a7857876669f56bb03bf618bcfdcc290721c0
26384 Author: Eitan Isaacson <eitan@monotonous.org>
26385 Date: Wed Dec 22 12:34:10 2010 -0800
26387 Respect different type lengths when assigning out-argument pointers.
26389 https://bugzilla.gnome.org/show_bug.cgi?id=637832
26391 gi/pygi-closure.c | 66
26392 ++++++++++++++++++++++++++++++++++++++++++++++---------
26393 1 file changed, 56 insertions(+), 10 deletions(-)
26395 commit f14976ffabec28f6cafe1e37dc81d207a947d4ca
26396 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26397 Date: Tue Dec 28 18:34:25 2010 +0100
26399 Fix stupid name clash
26401 gi/module.py | 7 +++++--
26402 1 file changed, 5 insertions(+), 2 deletions(-)
26404 commit 01b2a193d403beb861eab524300b4f1af63157ce
26405 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26406 Date: Tue Dec 28 13:49:18 2010 +0100
26408 Add /usr/share to XDG_DATA_DIRS when running the tests
26410 tests/Makefile.am | 7 ++++++-
26411 1 file changed, 6 insertions(+), 1 deletion(-)
26413 commit efc186f692f9eac781cc47456be74a3da7f14dcd
26414 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26415 Date: Tue Dec 28 13:25:34 2010 +0100
26417 Comment out tests that require SRV lookups
26419 tests/test_gresolver.py | 5 ++++-
26420 1 file changed, 4 insertions(+), 1 deletion(-)
26422 commit d2462cc1ab51d76fb4625c47c3d34de1d5d0dee8
26423 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26424 Date: Tue Dec 28 13:00:16 2010 +0100
26426 Use suppresion file when running valgrind
26428 tests/Makefile.am | 2 +-
26429 tests/python.supp | 387
26430 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
26431 2 files changed, 388 insertions(+), 1 deletion(-)
26433 commit 0ee58113ecbea72784c52de928c041fc8fc88984
26434 Author: Ignacio Casal Quinteiro <icq@gnome.org>
26435 Date: Thu Dec 23 00:10:41 2010 +0100
26439 gi/pygi-argument.c | 16 +++++++---------
26440 gi/pygi-foreign-cairo.c | 13 ++-----------
26441 gio/gfile.override | 5 ++---
26442 glib/pyglib-python-compat.h | 3 +++
26443 glib/pyglib.c | 2 +-
26444 glib/pygmainloop.c | 3 ++-
26445 6 files changed, 17 insertions(+), 25 deletions(-)
26447 commit 78ea84cd91392400ebac5a361ef8793bfe928fd0
26448 Author: Jesse van den Kieboom <jesse.vandenkieboom@epfl.ch>
26449 Date: Sun Dec 19 23:10:57 2010 +0100
26451 Allow comparing Gtk.TreePath to None
26453 https://bugzilla.gnome.org/show_bug.cgi?id=637615
26455 gi/overrides/Gtk.py | 12 ++++++------
26456 tests/test_overrides.py | 6 ++++++
26457 2 files changed, 12 insertions(+), 6 deletions(-)
26459 commit 046cc5915286e042d1040271a90676b77632409e
26460 Author: John (J5) Palmieri <johnp@redhat.com>
26461 Date: Thu Dec 16 15:41:10 2010 -0500
26463 handle unicode objects in properties
26465 * There are still some cavets in Python 2:
26466 - properties are returned as String objects with the unicode
26468 - you must add # coding=utf-8 to the top of your python file
26470 will error out if it sees embeded unicode charaters (such as when
26471 supporting python 3 and python 2 from the same source)
26473 https://bugzilla.gnome.org/show_bug.cgi?id=620579
26475 gobject/pygtype.c | 35 ++++++++++++++++++++++++++---------
26476 tests/test_properties.py | 16 ++++++++++++++++
26477 2 files changed, 42 insertions(+), 9 deletions(-)
26479 commit 7aa783d5cd674f34da318f826bd5f4a0e09d24cb
26480 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26481 Date: Tue Dec 14 12:29:54 2010 +0100
26483 dsextras.py: check if gcc is there when platform is win32 and compiler
26486 dsextras.py | 6 ++++++
26487 1 file changed, 6 insertions(+)
26489 commit cebf5f09a6c5018ced64f35e7747fc81b93b823e
26490 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26491 Date: Tue Dec 14 12:29:01 2010 +0100
26493 dsextras.py: be consistent in how distutils imports are done
26495 dsextras.py | 6 +++---
26496 1 file changed, 3 insertions(+), 3 deletions(-)
26498 commit 35e590d48c78f2e76c47c2b4eaf0f7e8d1ed5c93
26499 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26500 Date: Tue Dec 14 12:25:07 2010 +0100
26502 dsextras.py: add have_gcc() function
26504 dsextras.py | 5 +++++
26505 1 file changed, 5 insertions(+)
26507 commit 637c2c287cfb0e89365026531c651111f5593ac7
26508 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26509 Date: Tue Dec 14 12:24:41 2010 +0100
26511 dsextras.py: use distutils.spawn.find_executable for have_pkgconfig()
26513 dsextras.py | 8 ++------
26514 1 file changed, 2 insertions(+), 6 deletions(-)
26516 commit 020d00bc0ce7b77006b4d4f42d63122d79bcbf89
26517 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26518 Date: Tue Dec 14 12:22:54 2010 +0100
26520 setup.py: fix another case of use True/False instead of 1/0
26523 1 file changed, 1 insertion(+), 1 deletion(-)
26525 commit b03cc9e0d66d8caea3cd6a63db198c43de9267e9
26526 Author: Paolo Borelli <pborelli@gnome.org>
26527 Date: Mon Dec 13 10:21:52 2010 +0100
26529 pygi-convert.sh: improve GtkSourceView conversion
26531 pygi-convert.sh | 7 +++++++
26532 1 file changed, 7 insertions(+)
26534 commit fbc12cd7c09a67de9e28b7b0b28de9dc0e0e3418
26535 Author: Paolo Borelli <pborelli@gnome.org>
26536 Date: Mon Dec 13 10:27:56 2010 +0100
26538 pygi-convert.sh: Gtk.DialogFlags conversion
26540 pygi-convert.sh | 1 +
26541 1 file changed, 1 insertion(+)
26543 commit 73e933d2429aea4d14e15350a538da1c5c3f71eb
26544 Author: José Alburquerque <jaalburqu@svn.gnome.org>
26545 Date: Sun Dec 12 20:38:46 2010 -0500
26547 Doc Extractor: Print the gtk-doc blocks sorted by function
26550 * codegen/docextract_to_xml.py: Print the xml of the gtk-doc
26552 alphabetical order according to the identifier (function name)
26554 the generation of xml files in the C++ bindings is
26556 Thanks to Krzesimir Nowak for suggesting this in a
26560 codegen/docextract_to_xml.py | 2 +-
26561 1 file changed, 1 insertion(+), 1 deletion(-)
26563 commit db7ffa75b007074cb6b33b547c6d8140da300a3e
26564 Author: Paolo Borelli <pborelli@gnome.org>
26565 Date: Mon Dec 13 00:17:26 2010 +0100
26567 pygi-convert.sh: add more Gtk conversions and sort
26569 pygi-convert.sh | 50 ++++++++++++++++++++++++++------------------------
26570 1 file changed, 26 insertions(+), 24 deletions(-)
26572 commit f4bfe73d0ccedf7f671d3acd6d9e262d5383b733
26573 Author: Paolo Borelli <pborelli@gnome.org>
26574 Date: Mon Dec 13 00:01:40 2010 +0100
26576 pygi-convert.sh: convert Atk
26578 pygi-convert.sh | 12 ++++++++++++
26579 1 file changed, 12 insertions(+)
26581 commit e55ce3667eb1d352bf96f265bf018ffe8aea75f9
26582 Author: Paolo Borelli <pborelli@gnome.org>
26583 Date: Sun Dec 12 23:48:48 2010 +0100
26585 pygi-convert.sh: convert a few more Gio types
26587 pygi-convert.sh | 9 +++++++++
26588 1 file changed, 9 insertions(+)
26590 commit acc9f84bc6e13d76c6516cefe393d4a4f868aa24
26591 Author: Paolo Borelli <pborelli@gnome.org>
26592 Date: Sun Dec 12 14:19:00 2010 +0100
26594 pygi-convert.sh: more GLib conversion
26596 pygi-convert.sh | 7 +++++++
26597 1 file changed, 7 insertions(+)
26599 commit c903390814bebdc62d530472f6f94feecc59b8b3
26600 Author: Paolo Borelli <pborelli@gnome.org>
26601 Date: Sun Dec 12 14:00:34 2010 +0100
26603 pygi-convert.sh: remove two cases handled by overrides
26605 pygi-convert.sh | 2 --
26606 1 file changed, 2 deletions(-)
26608 commit d33c987e505ec8ddffa2b8cb5526f05b9b5f62be
26609 Author: Paolo Borelli <pborelli@gnome.org>
26610 Date: Sun Dec 12 13:38:56 2010 +0100
26612 Override Gtk.ScrolledWindow constructor
26614 gi/overrides/Gtk.py | 7 +++++++
26615 tests/test_overrides.py | 7 +++++++
26616 2 files changed, 14 insertions(+)
26618 commit 1c24bb089fcd69e3104ae72a0e7560a8c5a3f05b
26619 Author: Paolo Borelli <pborelli@gnome.org>
26620 Date: Sun Dec 12 12:32:39 2010 +0100
26622 pygi-convert.sh: Fix 'find' syntax
26624 pygi-convert.sh | 2 +-
26625 1 file changed, 1 insertion(+), 1 deletion(-)
26627 commit f0a1d6b6bb53d0fa2788d8b9027d737b0aef8dfc
26628 Author: Paolo Borelli <pborelli@gnome.org>
26629 Date: Sun Dec 12 12:29:38 2010 +0100
26631 pygi-convert.sh: start handling Gio and GLib
26633 pygi-convert.sh | 8 ++++++++
26634 1 file changed, 8 insertions(+)
26636 commit 365bf3251af3498dc797a58cce071805451b49b1
26637 Author: Paolo Borelli <pborelli@gnome.org>
26638 Date: Sat Dec 11 23:05:31 2010 +0100
26640 pygi-convert.sh: convert Gdk.ScrollDirection.
26642 pygi-convert.sh | 1 +
26643 1 file changed, 1 insertion(+)
26645 commit bca603de0f217fb290189a0ea330f82961c46d5d
26646 Author: Paolo Borelli <pborelli@gnome.org>
26647 Date: Sat Dec 11 15:03:21 2010 +0100
26649 Override Pango.Layout constructor.
26651 I must take a Pango.Context argument. Unfortumately the context is
26653 gobject property so we need to jump through some oops.
26655 gi/overrides/Pango.py | 13 +++++++++++++
26656 tests/test_overrides.py | 6 ++++++
26657 2 files changed, 19 insertions(+)
26659 commit df233301802e3f7f9ce338cde015ca2a2fc648ab
26660 Author: Paolo Borelli <pborelli@gnome.org>
26661 Date: Sat Dec 11 14:18:53 2010 +0100
26663 Remove Pango.FontDescription() conversion.
26665 It is now properly handled by an override.
26667 pygi-convert.sh | 1 -
26668 1 file changed, 1 deletion(-)
26670 commit d8abcc9463542af9cd43d71849d0ad4c183b570b
26671 Author: Paolo Borelli <pborelli@gnome.org>
26672 Date: Fri Dec 10 14:05:20 2010 +0100
26674 Override GtkAction and GtkRadioAction constructors.
26676 gi/overrides/Gtk.py | 20 +++++++++++++++++---
26677 tests/test_overrides.py | 18 ++++++++++++++++++
26678 2 files changed, 35 insertions(+), 3 deletions(-)
26680 commit 7924b18a99a0680c04aca46be4b64a7aa507dfe5
26681 Author: Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com>
26682 Date: Sat Dec 4 22:13:28 2010 +0000
26684 Override Adjustment constructor to behave like pygtk
26686 https://bugzilla.gnome.org/show_bug.cgi?id=636486
26688 gi/overrides/Gtk.py | 7 +++++++
26689 tests/test_overrides.py | 9 +++++++++
26690 2 files changed, 16 insertions(+)
26692 commit e76352dd83c8706e68ad57d00d185da9afea99c4
26693 Author: John (J5) Palmieri <johnp@redhat.com>
26694 Date: Thu Dec 9 13:23:10 2010 -0500
26696 add secondary_text apis to MessageDialog
26698 gi/overrides/Gtk.py | 8 ++++++++
26699 tests/test_overrides.py | 8 ++++++++
26700 2 files changed, 16 insertions(+)
26702 commit de682b2d36c362140ab7d43c0743b01ec0865a74
26703 Author: John (J5) Palmieri <johnp@redhat.com>
26704 Date: Wed Dec 8 16:39:27 2010 -0500
26706 [gi] get rid of some debug prints and fix error messages
26708 gi/overrides/Gtk.py | 7 +++----
26709 1 file changed, 3 insertions(+), 4 deletions(-)
26711 commit dbb16571803bf51f497768bf80944514f4290ee5
26712 Author: Paolo Borelli <pborelli@gnome.org>
26713 Date: Wed Dec 8 18:25:15 2010 +0100
26715 Fix demo for override changes.
26717 demos/gtk-demo/gtk-demo.py | 5 +++--
26718 1 file changed, 3 insertions(+), 2 deletions(-)
26720 commit 2adcd95762944a4e27123093d3c8d080e49be1ea
26721 Author: Paolo Borelli <pborelli@gnome.org>
26722 Date: Wed Dec 8 18:06:01 2010 +0100
26724 Override Pango.FontDescription.
26726 demos/gtk-demo/gtk-demo.py | 2 +-
26727 gi/overrides/Makefile.am | 1 +
26728 gi/overrides/Pango.py | 40 ++++++++++++++++++++++++++++++++++++++++
26729 tests/test_overrides.py | 7 +++++++
26730 4 files changed, 49 insertions(+), 1 deletion(-)
26732 commit 769da968c9187414d0420412d8fb8c833d12042a
26733 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26734 Date: Wed Dec 8 17:38:11 2010 +0100
26736 Stop checking that all vfuncs are implemented
26738 Because some methods are optionally implementable but g-i won't
26741 https://bugzilla.gnome.org/show_bug.cgi?id=619606
26743 gi/gimodule.c | 4 +++-
26744 gi/types.py | 12 ++----------
26745 tests/test_gi.py | 10 ----------
26746 3 files changed, 5 insertions(+), 21 deletions(-)
26748 commit 167a01c46b3fa0b3c8339502c875d32bd2bca974
26749 Author: Paolo Borelli <pborelli@gnome.org>
26750 Date: Wed Dec 8 17:37:00 2010 +0100
26752 Fix usage of TreeIter api that is now an override.
26754 demos/gtk-demo/gtk-demo.py | 6 +++---
26755 1 file changed, 3 insertions(+), 3 deletions(-)
26757 commit d2cfd6e9250d40de7c715ac74e299deddf137683
26758 Author: Paolo Borelli <pborelli@gnome.org>
26759 Date: Wed Dec 8 17:34:54 2010 +0100
26761 Fix Gtk.Label(label="Foo")
26763 Use 'label' as an argument name instead of 'str', otherwise we may
26764 end up up with two 'label' in the kwds dict. Besides 'str' is a
26767 gi/overrides/Gtk.py | 4 ++--
26768 1 file changed, 2 insertions(+), 2 deletions(-)
26770 commit c0c684c9bb4e2bc08d7cb6ac246705e8a3b77656
26771 Author: Paolo Borelli <pborelli@gnome.org>
26772 Date: Wed Dec 8 14:16:39 2010 +0100
26774 Fix typo when raising an exception
26777 1 file changed, 1 insertion(+), 1 deletion(-)
26779 commit 88c9a3ad49d9fcf779c3523672d8bf4767910301
26780 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26781 Date: Wed Dec 8 10:46:27 2010 +0100
26783 pygi-convert.sh: Added more conversions
26785 pygi-convert.sh | 14 ++++++++++++++
26786 1 file changed, 14 insertions(+)
26788 commit 4d8d96326b2cac91e6d75e6601b92e202d1918ff
26789 Author: Paolo Borelli <pborelli@gnome.org>
26790 Date: Tue Dec 7 20:39:15 2010 +0100
26792 Override LinkButton constructor to make 'uri' mandatory
26794 gi/overrides/Gtk.py | 7 +++++++
26795 tests/test_overrides.py | 6 ++++++
26796 2 files changed, 13 insertions(+)
26798 commit f4f7fb35af1b41598dc050f5df155a01c370a920
26799 Author: Dmitry Morozov <dmitry.a.morozov@yandex.ru>
26800 Date: Sat Dec 4 19:19:19 2010 +0600
26802 Container should be iterable.
26804 gi/overrides/Gtk.py | 9 +++++++++
26805 tests/test_overrides.py | 6 +++++-
26806 2 files changed, 14 insertions(+), 1 deletion(-)
26808 commit d2ad05d6d8d53b941e0ad33fcb200f1245a2d308
26809 Author: Paolo Borelli <pborelli@gnome.org>
26810 Date: Tue Dec 7 14:13:00 2010 +0100
26812 No need to import Gdk
26814 gi/overrides/Gtk.py | 1 -
26815 1 file changed, 1 deletion(-)
26817 commit b6a40badf0b2b59e690ce818efb03c7c816b8a04
26818 Author: Paolo Borelli <pborelli@gnome.org>
26819 Date: Tue Dec 7 14:07:53 2010 +0100
26823 gi/overrides/Gtk.py | 7 +++----
26824 1 file changed, 3 insertions(+), 4 deletions(-)
26826 commit cdc9c26553bf47ea488676e7bdc5f8ab0a2c906b
26827 Author: John (J5) Palmieri <johnp@redhat.com>
26828 Date: Mon Dec 6 16:05:30 2010 -0500
26830 [gi] make sure Gtk.Button override passes all keywords to parent
26833 gi/overrides/Gtk.py | 4 ++--
26834 1 file changed, 2 insertions(+), 2 deletions(-)
26836 commit cede81ad65db017e95543d8d35715751aa202fed
26837 Author: Paolo Borelli <pborelli@gnome.org>
26838 Date: Sun Dec 5 13:31:20 2010 +0100
26840 Fix cut&paste error in the Label override
26842 gi/overrides/Gtk.py | 2 +-
26843 1 file changed, 1 insertion(+), 1 deletion(-)
26845 commit 607c59b74ebbc1e39cb4121c870b689e1888c106
26846 Author: Paolo Borelli <pborelli@gnome.org>
26847 Date: Sat Dec 4 16:03:27 2010 +0100
26849 pygi-convert.sh: handle TextWindowType
26851 pygi-convert.sh | 1 +
26852 1 file changed, 1 insertion(+)
26854 commit dfeabe0b68938e27da2e65903983b5113dc422f1
26855 Author: Paolo Borelli <pborelli@gnome.org>
26856 Date: Sat Dec 4 15:49:15 2010 +0100
26858 Override Label constructor to behave like pygtk
26860 gi/overrides/Gtk.py | 7 +++++++
26861 tests/test_overrides.py | 4 ++++
26862 2 files changed, 11 insertions(+)
26864 commit da4e045e5abbed2796cc4ed39df35a0dde2de31b
26865 Author: Paolo Borelli <pborelli@gnome.org>
26866 Date: Sat Dec 4 15:40:35 2010 +0100
26868 Override GtkTable constructor to behave like pygtk
26870 gi/overrides/Gtk.py | 7 +++++++
26871 tests/test_overrides.py | 12 ++++++++++++
26872 2 files changed, 19 insertions(+)
26874 commit 81452c23ab1befa59ff375692e582791432796a5
26875 Author: Paolo Borelli <pborelli@gnome.org>
26876 Date: Sat Dec 4 12:59:43 2010 +0100
26878 pygi-convert.sh: convert MovementStep
26880 pygi-convert.sh | 1 +
26881 1 file changed, 1 insertion(+)
26883 commit 4d097eea94258eda0c328711491fd456cbd6741b
26884 Author: Paolo Borelli <pborelli@gnome.org>
26885 Date: Sat Dec 4 11:57:02 2010 +0100
26887 Update Gdk overrides to work with latest Gtk+ 3
26889 For now added consitionals on version == 2.0, but maybe at some
26891 shuld just clean up the old stuff.
26893 gi/overrides/Gdk.py | 22 ++++++++++++++++------
26894 1 file changed, 16 insertions(+), 6 deletions(-)
26896 commit cda317195566711d66190145b545e26ed7226172
26897 Author: Johan Dahlin <johan@gnome.org>
26898 Date: Thu Dec 2 23:47:40 2010 -0200
26900 Gtk: add an override for Gtk.main_quit
26902 Override gtk.main_quit so that it can be used as a callback
26903 to signals, most importantly to the destroy signal of a widget:
26905 widget.connect('destroy', gtk.main_quit)
26907 This is compatible with what PyGTK does.
26909 https://bugzilla.gnome.org/show_bug.cgi?id=636336
26911 gi/overrides/Gtk.py | 5 ++++-
26912 gi/overrides/__init__.py | 27 +++++++++++++++++++++++++--
26913 2 files changed, 29 insertions(+), 3 deletions(-)
26915 commit 82689cbf53d92b1b951a459fe3de0e1d3a91791a
26916 Author: John (J5) Palmieri <johnp@redhat.com>
26917 Date: Thu Dec 2 16:27:04 2010 -0500
26919 [gi] handle subtypes when inserting into tree models
26921 * Often modules will give back basic types wrapped in a subtype.
26922 This is the case with D-Bus where you may want to keep some of the
26923 metadata around. More often than not, the developer is just looking
26924 to use the basetype.
26926 * This override checks the column type and handles basic types such as
26927 gchararrays, ints, longs, floats and doubles, converting them
26929 base types before sending them to the generic GI type marshaller.
26931 * More types may need to be supported but these are the common
26935 https://bugzilla.gnome.org/show_bug.cgi?id=635172
26937 gi/overrides/Gtk.py | 38 ++++++++++++++++++++++++++++++++++++--
26938 tests/test_overrides.py | 8 +++++++-
26939 2 files changed, 43 insertions(+), 3 deletions(-)
26941 commit 677490e9402bad7b7c2a832345ef54f7f0c5fc7f
26942 Author: Paolo Borelli <pborelli@gnome.org>
26943 Date: Fri Dec 3 23:39:50 2010 +0100
26945 Override TreeSelection.select_path and TreeView.scroll_to_cell
26947 The "path" argument may also be a string or a tuple
26949 gi/overrides/Gtk.py | 10 ++++++++++
26950 tests/test_overrides.py | 29 +++++++++++++++++++++++++++++
26951 2 files changed, 39 insertions(+)
26953 commit dacfe618fa244445c979f1a5efa80c1f9a5a4ae9
26954 Author: Paolo Borelli <pborelli@gnome.org>
26955 Date: Fri Dec 3 23:29:00 2010 +0100
26957 Override TreePath.__new__
26959 Instead of having a private _tree_path_from_string it is cleaner to
26960 override __new__ and it will be useful for all the api that take a
26961 TreePath or a string or a tuple.
26963 gi/overrides/Gtk.py | 33 +++++++++++++++------------------
26964 tests/test_overrides.py | 18 ++++++++++++++++++
26965 2 files changed, 33 insertions(+), 18 deletions(-)
26967 commit 7a8af9e220ee48aa28f6b025c5dae324b14fe128
26968 Author: Paolo Borelli <pborelli@gnome.org>
26969 Date: Sun Nov 28 13:02:30 2010 +0100
26971 Override Container to behave like a sequence
26973 gi/overrides/Gtk.py | 6 ++++++
26974 tests/test_overrides.py | 11 +++++++++++
26975 2 files changed, 17 insertions(+)
26977 commit 94e8befc935d4a6c7f766e34195e10fc3fb3b93a
26978 Author: John (J5) Palmieri <johnp@redhat.com>
26979 Date: Tue Nov 30 16:57:05 2010 -0500
26981 refactor Jonathan Matthew recurse vfunc patch so it applys and clean
26984 * this patch does the recursion using the previous patche's support
26987 gi/types.py | 55 +++++++++++++++++++++++++++++++++++++++++++++----------
26988 1 file changed, 45 insertions(+), 10 deletions(-)
26990 commit 9c5aee4f06f92457f9ae987656c0c469f76d0ee8
26991 Author: Jonathan Matthew <jonathan@d14n.org>
26992 Date: Thu Jul 22 23:19:51 2010 +1000
26994 Recurse up through base classes when setting up vfuncs
26996 * this patch adds the support methods to do the recursion
26998 https://bugzilla.gnome.org/show_bug.cgi?id=625033
27000 gi/gimodule.c | 130
27001 ++++++++++++++++++++++++++++++++++++++++---------------
27002 tests/test_gi.py | 37 ++++++++++++++++
27003 2 files changed, 131 insertions(+), 36 deletions(-)
27005 commit 78358e1ab54d02317f397276adee03ecb2187588
27006 Author: John (J5) Palmieri <johnp@redhat.com>
27007 Date: Mon Nov 29 18:29:57 2010 -0500
27009 add a profiling torture test for when we fix up invoke
27011 tests/test_everything.py | 67
27012 ++++++++++++++++++++++++++++++++++++++++++++++++
27013 1 file changed, 67 insertions(+)
27015 commit 792e679c06df4357843fd310c7953a931172fc99
27016 Author: John (J5) Palmieri <johnp@redhat.com>
27017 Date: Mon Nov 29 16:41:38 2010 -0500
27019 moved dynamic and base modules outside of gtk-2.0 directory
27021 * do not move header files yet as they are mostly used by static
27023 * do not remove pygtk.pth and pygtk.py files yet - there is a debate
27025 these back to pygtk but you might want to import gio static
27027 having to have pygtk installed
27028 * I have not tested this with pygtk, committing it so we can find
27030 causes any issues with legacy modules and code
27032 gi/Makefile.am | 2 +-
27033 gi/overrides/Makefile.am | 2 +-
27034 gi/repository/Makefile.am | 2 +-
27035 glib/Makefile.am | 2 +-
27036 gobject/Makefile.am | 2 +-
27037 tests/test_gi.py | 2 --
27038 tests/test_overrides.py | 3 ---
27039 7 files changed, 5 insertions(+), 10 deletions(-)
27041 commit c587e1ace7429195ac6fd4db03d2f33e2af09838
27042 Author: John (J5) Palmieri <johnp@redhat.com>
27043 Date: Mon Nov 29 15:11:46 2010 -0500
27045 add test for inout argument count
27047 tests/test_gi.py | 1 +
27048 1 file changed, 1 insertion(+)
27050 commit 5de88b4bcffdafcf8c7c20033cdf95dc690199ce
27051 Author: John (J5) Palmieri <johnp@redhat.com>
27052 Date: Mon Nov 22 19:17:23 2010 -0500
27054 [gi] add check for UNICHAR
27056 https://bugzilla.gnome.org/show_bug.cgi?id=623615
27058 gi/pygi-argument.c | 27 ++++++++++++++++++++++++++-
27059 tests/test_everything.py | 17 +++++++++++++++--
27060 2 files changed, 41 insertions(+), 3 deletions(-)
27062 commit f129b3db2c78d3cce3614993fdd1619fb9eb9c79
27063 Author: Paolo Borelli <pborelli@gnome.org>
27064 Date: Sun Nov 21 12:16:53 2010 +0100
27068 https://bugzilla.gnome.org/show_bug.cgi?id=623615
27070 gi/pygi-argument.c | 60
27071 ++++++++++++++++++++++++++++++++++++++++++++++++
27072 gi/pygi-info.c | 5 ++++
27073 tests/test_everything.py | 5 ++++
27074 3 files changed, 70 insertions(+)
27076 commit fd2c0288eb67823fca1265348a27a9f8f147ae50
27077 Author: Paolo Borelli <pborelli@gnome.org>
27078 Date: Sat Nov 27 23:01:42 2010 +0100
27080 pygi-convert.sh: gtk.accel_map -> Gtk.AccelMap._
27082 pygi-convert.sh | 1 +
27083 1 file changed, 1 insertion(+)
27085 commit 13d0ff1d9c129bb458e234b630ebe920b50e2e0f
27086 Author: Paolo Borelli <pborelli@gnome.org>
27087 Date: Sat Nov 27 22:34:13 2010 +0100
27089 pygi-convert.sh: handle "from gtk import gdk"
27091 pygi-convert.sh | 2 ++
27092 1 file changed, 2 insertions(+)
27094 commit 63a97634031c3d159ad77fdaa1f6341d7656eb07
27095 Author: Paolo Borelli <pborelli@gnome.org>
27096 Date: Sat Nov 27 22:23:24 2010 +0100
27098 pygi-convert.sh: add some Pango special cases
27100 pygi-convert.sh | 3 +++
27101 1 file changed, 3 insertions(+)
27103 commit 57e42bf4230d1aa20a47e3b0df2e509602333892
27104 Author: Paolo Borelli <pborelli@gnome.org>
27105 Date: Sat Nov 27 19:51:38 2010 +0100
27107 Override TextIter (begins|ends|toggles)_tag()
27109 Make the tag argument optional.
27111 gi/overrides/Gtk.py | 9 +++++++++
27112 tests/test_overrides.py | 17 +++++++++++++++++
27113 2 files changed, 26 insertions(+)
27115 commit 828b698e47ee819a60d24a772a3cc51ff9cd6601
27116 Author: Paolo Borelli <pborelli@gnome.org>
27117 Date: Sat Nov 27 19:32:48 2010 +0100
27119 Override TextBuffer.set_text() to make length optional
27121 gi/overrides/Gtk.py | 3 +++
27122 tests/test_overrides.py | 11 ++++++++++-
27123 2 files changed, 13 insertions(+), 1 deletion(-)
27125 commit bf55dc862755a57bb1b998702d284fc460e88a30
27126 Author: Paolo Borelli <pborelli@gnome.org>
27127 Date: Sat Nov 27 16:46:40 2010 +0100
27129 Override TextBuffer.create_mark()
27131 Override create_mark to make the left_gravity argument optional
27133 gi/overrides/Gtk.py | 3 +++
27134 tests/test_overrides.py | 3 +++
27135 2 files changed, 6 insertions(+)
27137 commit 94c0e2f71636d055bdebe3ec378f3d339eea66c9
27138 Author: Paolo Borelli <pborelli@gnome.org>
27139 Date: Sat Nov 27 16:10:33 2010 +0100
27141 Fix TextBuffer.get_selection_bounds() override
27143 Fix the override and add unit test
27145 gi/overrides/Gtk.py | 8 +++++---
27146 tests/test_overrides.py | 7 +++++++
27147 2 files changed, 12 insertions(+), 3 deletions(-)
27149 commit 0cd717e3926276540b9145e58a4a3368136b00de
27150 Author: John (J5) Palmieri <johnp@redhat.com>
27151 Date: Mon Nov 22 18:35:09 2010 -0500
27153 [gi] fix ActionGroup constructor to allow other keyword properties
27156 gi/overrides/Gtk.py | 4 ++--
27157 1 file changed, 2 insertions(+), 2 deletions(-)
27159 commit 226777cdb70fc72d206664ffd8b6737f7239d23f
27160 Author: John (J5) Palmieri <johnp@redhat.com>
27161 Date: Mon Nov 22 18:32:28 2010 -0500
27163 [gi] require the name parameter when creatin a Gtk.ActionGroup
27165 gi/overrides/Gtk.py | 3 +++
27166 tests/test_overrides.py | 2 ++
27167 2 files changed, 5 insertions(+)
27169 commit d0049fa9982d13b3553b05569fb0a227e48b6647
27170 Author: Paolo Borelli <pborelli@gnome.org>
27171 Date: Sun Nov 21 15:20:58 2010 +0100
27173 Override UIManager.insert_action_group
27175 https://bugzilla.gnome.org/show_bug.cgi?id=635437
27177 gi/overrides/Gtk.py | 3 +++
27178 tests/test_overrides.py | 34 +++++++++++++++++++++-------------
27179 2 files changed, 24 insertions(+), 13 deletions(-)
27181 commit e1db544e46aeed984133896af34b671a6a5547df
27182 Author: Paolo Borelli <pborelli@gnome.org>
27183 Date: Sun Nov 21 23:03:25 2010 +0100
27185 Override TreeModel.get() to return a tuple
27187 https://bugzilla.gnome.org/show_bug.cgi?id=635466
27189 gi/overrides/Gtk.py | 15 +++++++++++++++
27190 tests/test_overrides.py | 6 ++++++
27191 2 files changed, 21 insertions(+)
27193 commit a5e806ad8a8b279402ff7adb1c1cdc04f9f3da76
27194 Author: Paolo Borelli <pborelli@gnome.org>
27195 Date: Sun Nov 21 21:57:40 2010 +0100
27197 Make TreeSelection.get_selected_rows compatible with PyGtk
27199 https://bugzilla.gnome.org/show_bug.cgi?id=635464
27201 gi/overrides/Gtk.py | 6 ++++++
27202 1 file changed, 6 insertions(+)
27204 commit 1c537bc67107948c92b51ba6ba749747e84263e2
27205 Author: John (J5) Palmieri <johnp@redhat.com>
27206 Date: Mon Nov 22 15:04:00 2010 -0500
27208 [gi] switch to using sequences/tuples when marshalling
27209 cairo_rectangle_int_t
27211 * Upstream pycairo didn't want to add a new wrapper for
27212 cairo_rectangle_int_t
27213 * this works around that issue by using 4 element squences instead
27215 should be accepted by pycairo for any API that takes a rect
27217 gi/pygi-foreign-cairo.c | 85
27218 +++++++++++++++++++++++++++++++++++++------------
27219 1 file changed, 64 insertions(+), 21 deletions(-)
27221 commit 4cede8f12321bed6c3b71813a62c01b61853ba69
27222 Author: John (J5) Palmieri <johnp@redhat.com>
27223 Date: Fri Nov 19 16:46:53 2010 -0500
27225 [gi] overrides for treeview Drag and Drop
27227 https://bugzilla.gnome.org/show_bug.cgi?id=627367
27229 gi/overrides/Gdk.py | 7 +++++++
27230 gi/overrides/Gtk.py | 25 +++++++++++++++++++++++++
27231 2 files changed, 32 insertions(+)
27233 commit 3fd51bb903724b752f72f49c7cb35652b819791d
27234 Author: John (J5) Palmieri <johnp@redhat.com>
27235 Date: Fri Nov 19 16:44:32 2010 -0500
27237 [gi] when encountering guint8 arrays treat them as byte arrays
27239 * In Python 2 this means returning a PyString object
27240 * In Python 3 we return a PyBytes object
27242 https://bugzilla.gnome.org/show_bug.cgi?id=627367
27244 gi/pygi-argument.c | 65
27245 ++++++++++++++++++++++++++++++++++++++++++++----------
27246 tests/test_gi.py | 6 +++--
27247 2 files changed, 57 insertions(+), 14 deletions(-)
27249 commit 7ddb0f7fd8b1b9e8f691c6d42a83cb16c6561d26
27250 Author: Martin Pitt <martin.pitt@ubuntu.com>
27251 Date: Fri Nov 19 18:19:38 2010 +0100
27253 pygi-convert.sh: Add pynotify -> Notify
27255 pygi-convert.sh | 3 +++
27256 1 file changed, 3 insertions(+)
27258 commit bf03d4db03a7739ac16ddc4e614441557ede554d
27259 Author: Martin Pitt <martin.pitt@ubuntu.com>
27260 Date: Fri Nov 19 09:08:07 2010 +0100
27262 pygi-convert.sh: Remove sugar specifics, and allow command line
27265 This script is generally useful for converting pygtk2 projects,
27267 sugar. Remove the sugar specific bits, since they will just cause
27270 Also allow the user to specify the files to convert as command line
27271 arguments. If not given, all *.py files will be processed.
27273 https://bugzilla.gnome.org/show_bug.cgi?id=635244
27275 pygi-convert.sh | 25 +++++--------------------
27276 1 file changed, 5 insertions(+), 20 deletions(-)
27278 commit 18f5d229d3a4b9520c1c456be2635c8e36015c12
27279 Author: Martin Pitt <martin.pitt@ubuntu.com>
27280 Date: Fri Nov 19 09:00:35 2010 +0100
27282 pygi-convert.sh: Cover Message and Buttons types
27284 https://bugzilla.gnome.org/show_bug.cgi?id=635244
27286 pygi-convert.sh | 2 ++
27287 1 file changed, 2 insertions(+)
27289 commit ef74273c2043944708515e59a654ebe4944b46ff
27290 Author: John (J5) Palmieri <johnp@redhat.com>
27291 Date: Thu Nov 18 13:54:48 2010 -0500
27293 [gi] fix actiongroup test since actions are hashed
27295 * when actions are listed they may not show up in the order they
27297 since they reside in an unordered hash internally
27299 tests/test_overrides.py | 9 +++++----
27300 1 file changed, 5 insertions(+), 4 deletions(-)
27302 commit 2c25886bf6710568d0646f82dce4770faa44c40d
27303 Author: John (J5) Palmieri <johnp@redhat.com>
27304 Date: Wed Nov 17 14:38:09 2010 -0500
27306 [gi] when converting to UTF-8 accept Python Unicode objects as input
27309 https://bugzilla.gnome.org/show_bug.cgi?id=620579
27311 gi/pygi-argument.c | 14 ++++++++++++--
27312 glib/pyglib-python-compat.h | 5 +++++
27313 tests/test_gi.py | 3 +++
27314 3 files changed, 20 insertions(+), 2 deletions(-)
27316 commit 8c2d32c8205b971b4353e3d5d2ed1efa6ef0e06c
27317 Author: Damien Caliste <damien.caliste@cea.fr>
27318 Date: Fri Nov 12 10:20:32 2010 +0100
27320 Correct a bug in the freeing of memory in pygi-invoke.c.
27322 When a method with inout arguments is called from Python with
27323 a wrong number of arguments, the system crashs because of an
27324 assertion fail. This patch corrects this behaviour.
27326 https://bugzilla.gnome.org/show_bug.cgi?id=634671
27328 gi/pygi-invoke.c | 25 ++++++++++++++-----------
27329 1 file changed, 14 insertions(+), 11 deletions(-)
27331 commit d9bab3b185bb59bd29e3c3f6225f3636f58ec45e
27332 Author: John (J5) Palmieri <johnp@redhat.com>
27333 Date: Wed Nov 10 14:11:56 2010 -0500
27335 update news for release
27338 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
27339 1 file changed, 73 insertions(+)
27341 commit 1338a95339e21cc02b9df6d10166996c8b97a6bf
27342 Author: Jonathan Matthew <jonathan@d14n.org>
27343 Date: Tue Sep 28 13:44:13 2010 +1000
27345 Implement richcompare for GIBaseInfo
27347 https://bugzilla.gnome.org/show_bug.cgi?id=625033
27349 gi/pygi-info.c | 29 +++++++++++++++++++++++++++++
27350 1 file changed, 29 insertions(+)
27352 commit 9ce3edf69824935aeca9e676eaa9782786c22a97
27353 Author: John (J5) Palmieri <johnp@redhat.com>
27354 Date: Tue Nov 9 22:57:41 2010 -0500
27356 [gi] add the rectangle_int_t forign cairo type
27358 * the pycairo maintainer is not being responsive so you will need
27360 https://bugs.freedesktop.org/show_bug.cgi?id=31111
27361 * added conditionals, if the api doesn't exist in PyCairo we will
27363 without the forign structs
27365 gi/pygi-foreign-cairo.c | 4 ++++
27366 1 file changed, 4 insertions(+)
27368 commit 68b8211d8b014cf26ca7e9ab751fb3f61f228290
27369 Author: John (J5) Palmieri <johnp@redhat.com>
27370 Date: Mon Oct 25 18:28:36 2010 -0400
27372 add a foreign type for cairo_rectangle_int_t and allow it to be
27375 * this is needed because Gdk and Gtk switched from returning a
27377 to a CairoRectangleInt structure
27378 * the patch in https://bugs.freedesktop.org/show_bug.cgi?id=31111
27380 for pycairo (however there is currently no patch for python 2)
27381 * added fix for foreign types to allow them to be caller allocated
27382 * in order for a type to be caller allocated it must be able to take
27384 and create an empty struct in foreign_struct_from_arg and it must
27386 to handle GI_TRANFER_EVERYTHING in foreign_struct_to_arg.
27388 https://bugzilla.gnome.org/show_bug.cgi?id=627545
27390 gi/pygi-foreign-cairo.c | 57
27391 +++++++++++++++++++++++++++++++++++++++++++++++++
27392 gi/pygi-invoke.c | 15 +++++++++++--
27393 2 files changed, 70 insertions(+), 2 deletions(-)
27395 commit ce8b948310220288e9eef904eef4ec8f4e24a376
27396 Author: John (J5) Palmieri <johnp@redhat.com>
27397 Date: Tue Nov 9 22:11:51 2010 -0500
27399 [gi] add overrides to Gtk.Editable
27401 gi/overrides/Gtk.py | 17 +++++++++++++++++
27402 tests/test_overrides.py | 12 ++++++++++++
27403 2 files changed, 29 insertions(+)
27405 commit 87dbc716f26cefc0e9427c3d6e8befe8eabd3d1e
27406 Author: John (J5) Palmieri <johnp@redhat.com>
27407 Date: Tue Nov 9 21:12:54 2010 -0500
27409 [gi] handle virtual invokers
27411 * right now we check to see if there is an method with the same name
27412 as the virtual method and assume that is the invoker
27413 * some invokers are named different so we now ask the VFuncInfo if
27414 the vfunc has an invoker
27415 * this is still not completly correct, gi needs to support telling
27416 us which vfuncs must be overridden.
27417 * this keeps the old way of checking vfuncs while adding the edge case
27418 where vfunc is named differently from their invoker
27420 gi/pygi-info.c | 16 ++++++++++++++++
27422 2 files changed, 17 insertions(+), 1 deletion(-)
27424 commit 540e9f1f349ba3625e28b7673c92210eb8974098
27425 Author: John (J5) Palmieri <johnp@redhat.com>
27426 Date: Tue Nov 9 12:17:05 2010 -0500
27428 add overrides for the insert* apis of list_store and tree_store
27430 * add set_row to tree_model as convinience method for both list and
27433 https://bugzilla.gnome.org/show_bug.cgi?id=634423
27435 gi/overrides/Gtk.py | 80
27436 ++++++++++++++++++++++++++++++++++++++-----------
27437 tests/test_overrides.py | 53 +++++++++++++++++++++++++++++++-
27438 2 files changed, 114 insertions(+), 19 deletions(-)
27440 commit 0bcb58b9541d9ae52e1d96e6239e9dbe0698872a
27441 Author: John (J5) Palmieri <johnp@redhat.com>
27442 Date: Fri Nov 5 13:56:12 2010 -0400
27444 fix dialogs overrides which were relying on broken inheritance
27447 gi/overrides/Gtk.py | 14 ++++++++++++--
27448 1 file changed, 12 insertions(+), 2 deletions(-)
27450 commit 89c104d17d79d7b935cd76101cba19d49390f7be
27451 Author: John (J5) Palmieri <johnp@redhat.com>
27452 Date: Thu Nov 4 12:00:14 2010 -0400
27454 Add a overrides registry so we can refrence overrides inside the
27457 * Overrides have a reentrancy issue when doing inheritance. If an
27459 inherits from another override down the stack it won't see the
27461 because the module is not finished loading and will inherit from the
27462 non-overriden object instead. This causes type errors later.
27463 * By adding the overrides to a registry outside of the module we
27465 registration and make the override available as soon as the class
27467 not when the whole module is parsed.
27469 https://bugzilla.gnome.org/show_bug.cgi?id=633347
27471 gi/module.py | 12 ++++++++++-
27472 gi/overrides/GIMarshallingTests.py | 2 +-
27473 gi/overrides/Gdk.py | 2 +-
27474 gi/overrides/Gtk.py | 2 +-
27475 gi/overrides/__init__.py | 43
27476 ++++++++++++++++++++++++++++++++++++++
27477 gi/types.py | 8 -------
27478 tests/test_overrides.py | 27 ++++++++++++++++++++++++
27479 7 files changed, 84 insertions(+), 12 deletions(-)
27481 commit 878b8f630acd2146bee364054acd45cd33eea37a
27482 Merge: cdacaa9 e317838
27483 Author: John Stowers <john.stowers@gmail.com>
27484 Date: Fri Nov 5 11:40:22 2010 +1300
27486 Merge remote branch 'dieterv/setup-fixes-for-merge'
27488 commit e317838178fba5f0590fb8bd323f49602d564b53
27489 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27490 Date: Thu Nov 4 11:16:43 2010 +0100
27492 setup.py: ease maintenance burden for tests installation
27494 setup.py | 23 +++--------------------
27495 1 file changed, 3 insertions(+), 20 deletions(-)
27497 commit cdacaa9572893796e0f3aa3730d0191911cb29ee
27498 Author: John (J5) Palmieri <johnp@redhat.com>
27499 Date: Wed Nov 3 09:51:09 2010 -0400
27501 fix inheritence issues in overrides
27503 gi/overrides/Gtk.py | 79
27504 +++++++++++++++++++++++++++--------------------------
27505 1 file changed, 40 insertions(+), 39 deletions(-)
27507 commit 3d5955767d81f45e796ab2af0707533375681774
27508 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27509 Date: Wed Nov 3 09:38:56 2010 +0100
27511 tests: add runtests-windows.py script
27513 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27515 tests/runtests-windows.py | 47
27516 +++++++++++++++++++++++++++++++++++++++++++++++
27517 1 file changed, 47 insertions(+)
27519 commit 8cb3f2e78161639c568110aad6a807dcf59f3ae8
27520 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27521 Date: Wed Nov 3 09:35:52 2010 +0100
27523 pygobject_postinstall.py: remove pygobject-2.0.pc treatment from
27524 postinstall as pkg-config on windows figures out the correct prefix
27527 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27529 pygobject_postinstall.py | 26 +++-----------------------
27530 1 file changed, 3 insertions(+), 23 deletions(-)
27532 commit 63167574df53eb481cc11b6a097b2bfe7d5747f5
27533 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27534 Date: Wed Nov 3 09:34:38 2010 +0100
27536 pygobject_postinstall.py: remove shortcut creation
27538 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27540 pygobject_postinstall.py | 35 +----------------------------------
27541 1 file changed, 1 insertion(+), 34 deletions(-)
27543 commit f7b12611f94fd8c27fb67a03746c10149ce6e0ef
27544 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27545 Date: Wed Nov 3 09:31:14 2010 +0100
27547 setup.py: formatting cleanup, makes things readable
27549 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27551 setup.py | 56 ++++++++++++++++++++++++++------------------------------
27552 1 file changed, 26 insertions(+), 30 deletions(-)
27554 commit a31b4196fbb4638a245430f2fdeafd7534b1d84d
27555 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27556 Date: Wed Nov 3 09:28:36 2010 +0100
27558 setup.py: build and install tests
27560 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27563 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
27564 1 file changed, 61 insertions(+)
27566 commit 7c3b0c20b83c05833d73c240690dce3daf43fde8
27567 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27568 Date: Wed Nov 3 09:26:59 2010 +0100
27570 setup.py: install documentation when available on build system
27572 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27575 1 file changed, 3 insertions(+)
27577 commit 78533d851ee1314686f18cfa793613a9cf7d6686
27578 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27579 Date: Wed Nov 3 09:25:56 2010 +0100
27581 setup.py: install pygobject-codegen script
27583 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27585 setup.py | 25 +++++++++++++++++++++++++
27586 1 file changed, 25 insertions(+)
27588 commit ad40688df533dda0b1f7be8ea37c542b8796a26b
27589 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27590 Date: Wed Nov 3 09:24:45 2010 +0100
27592 setup.py: install fixxref.py script
27594 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27597 1 file changed, 3 insertions(+)
27599 commit 21ddfc66e4e18c002a33154eb4ab81170ed71ecc
27600 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27601 Date: Wed Nov 3 09:23:05 2010 +0100
27603 setup.py: rearrange constants
27605 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27607 setup.py | 37 ++++++++++++++++++++-----------------
27608 1 file changed, 20 insertions(+), 17 deletions(-)
27610 commit 7d353d04892de67265bf693f591f37fd393de639
27611 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27612 Date: Wed Nov 3 09:18:11 2010 +0100
27614 setup.py: check python version and pkgconig availability before
27617 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27619 setup.py | 18 ++++++++++--------
27620 1 file changed, 10 insertions(+), 8 deletions(-)
27622 commit 286364ed39953e942e24d5911519bcac2f90975a
27623 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27624 Date: Wed Nov 3 09:05:59 2010 +0100
27626 setup.py: simplify sys.platform != 'win32' detection and error
27629 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27631 setup.py | 29 +++++++++--------------------
27632 1 file changed, 9 insertions(+), 20 deletions(-)
27634 commit 3f70f92904c123e6cc40929c0affd3f75d061828
27635 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27636 Date: Wed Nov 3 09:02:30 2010 +0100
27638 setup.py: rearrange imports
27640 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27642 setup.py | 31 ++++++++++++++++++++++---------
27643 1 file changed, 22 insertions(+), 9 deletions(-)
27645 commit 9aa54b65f729c0f3b0e96ab7ff797f87dad6a455
27646 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27647 Date: Wed Nov 3 08:58:00 2010 +0100
27649 README.win32: update build instructions
27651 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27653 README.win32 | 13 +++++--------
27654 1 file changed, 5 insertions(+), 8 deletions(-)
27656 commit 5a33105f690ba84b2e4bb15d73d3467e92fa06e0
27657 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27658 Date: Wed Nov 3 07:59:18 2010 +0100
27660 dsextras.py: formatting cleanup, makes things readable
27662 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27665 ++++++++++++++++++++++++++++++++++++++----------------------
27666 1 file changed, 93 insertions(+), 55 deletions(-)
27668 commit d03503d0412d173acb383926ab3c2d640dad3e3f
27669 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27670 Date: Wed Nov 3 07:00:40 2010 +0100
27672 dsextras.py: add ggc4 to MSVC compatible struct packing comment
27674 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27676 dsextras.py | 4 ++--
27677 1 file changed, 2 insertions(+), 2 deletions(-)
27679 commit 8c62968e9f8467e24870b8c4f61112676eef4630
27680 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27681 Date: Wed Nov 3 06:56:32 2010 +0100
27683 dsextras.py: use the pkgc_ functions instead of repeating pgk-config
27684 incantations all over the place
27686 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27688 dsextras.py | 15 ++++++---------
27689 1 file changed, 6 insertions(+), 9 deletions(-)
27691 commit b98277afc24886bbda400e0ad360992bffa77b7c
27692 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27693 Date: Wed Nov 3 06:49:48 2010 +0100
27695 dsextras.py: add pkgc_get_version and pkgc_get_defs_dir functions
27697 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27699 dsextras.py | 10 ++++++++++
27700 1 file changed, 10 insertions(+)
27702 commit a565558652ebc3fa49d7aea40d399b06bbe376c4
27703 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27704 Date: Wed Nov 3 06:45:05 2010 +0100
27706 dsextras.py: PEP8: Comparisons to singletons like None should always
27707 be done with 'is' or 'is not', never the equality operators.
27709 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27711 dsextras.py | 4 ++--
27712 1 file changed, 2 insertions(+), 2 deletions(-)
27714 commit 4b1ff0c7f9953f925d2178069263cca67ca7db02
27715 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27716 Date: Wed Nov 3 06:44:21 2010 +0100
27718 dsextras.py: use True/False instead of 1/0
27720 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27722 dsextras.py | 25 +++++++++++++------------
27723 1 file changed, 13 insertions(+), 12 deletions(-)
27725 commit 819a21cea831c3892040390e9446b78a91d1cbbe
27726 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27727 Date: Wed Nov 3 06:28:04 2010 +0100
27729 dsextras.py: rearrange imports
27731 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27734 +++++++++++++++++++++++++++++++---------------------------
27735 1 file changed, 31 insertions(+), 27 deletions(-)
27737 commit d20edbfdde2819f8d4fee8cb3170c126fcd31d5f
27738 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27739 Date: Wed Nov 3 06:16:21 2010 +0100
27741 Add distutils generated build/dist directories and eclipse
27742 configuration files to .gitignore
27744 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27746 .gitignore | 7 +++++++
27747 1 file changed, 7 insertions(+)
27749 commit 268d6ed2b0b1d266c612da4453b6117d9e14437e
27750 Author: John (J5) Palmieri <johnp@redhat.com>
27751 Date: Thu Oct 28 15:32:28 2010 -0400
27753 [gi] add tests for calling dir on a dynamic module
27755 tests/test_gi.py | 24 ++++++++++++++++++++++++
27756 1 file changed, 24 insertions(+)
27758 commit f6386a6e0d225c83cdbe1add4c4d3ea51d3ec2f0
27759 Author: Deepankar Sharma <deepankar.sharma@gmail.com>
27760 Date: Wed Oct 27 18:28:11 2010 -0400
27762 [gi] dir() now works for modules
27764 https://bugzilla.gnome.org/show_bug.cgi?id=625093
27766 gi/module.py | 8 ++++++++
27767 1 file changed, 8 insertions(+)
27769 commit 28ed01c34c503cfb4f14fe7af7912060ca70aba6
27770 Author: Simón Pena <spenap@gmail.com>
27771 Date: Mon Sep 20 23:10:14 2010 +0200
27773 Don't check the inner type when comparing gpointers
27775 When using pyg_pointer_richcompare to compare two objects,
27776 don't check their inner types. As we can't compare their private
27777 fields, nor get a proper compare function, we can consider them
27778 gpointers and compare them that way.
27780 https://bugzilla.gnome.org/show_bug.cgi?id=629552
27782 gobject/pygpointer.c | 2 +-
27783 1 file changed, 1 insertion(+), 1 deletion(-)
27785 commit 1731f89e4b5a20c33976963e12a1f39a21d33fde
27786 Author: John (J5) Palmieri <johnp@redhat.com>
27787 Date: Thu Oct 28 14:21:12 2010 -0400
27789 Release GIL when calling into C functions
27791 Author: Daniel P. Berrange <dan@berrange.com>
27793 https://bugzilla.gnome.org/show_bug.cgi?id=629042
27795 gi/pygi-invoke.c | 10 +++++++++-
27796 1 file changed, 9 insertions(+), 1 deletion(-)
27798 commit 783e2e351ec7470bda6b441e51f387dd61543c4b
27799 Author: José Aliste <jaliste@src.gnome.org>
27800 Date: Fri Oct 15 14:30:10 2010 -0300
27802 _gi.Repository : Implement missing info bindings.
27804 https://bugzilla.gnome.org/show_bug.cgi?id=632185
27806 gi/pygi-info.c | 91
27807 +++++++++++++++++++++++++++++++++++++++++++++++++---------
27808 gi/pygi-info.h | 7 +++++
27809 2 files changed, 84 insertions(+), 14 deletions(-)
27811 commit 2ca897273f52ae38f5e06e72c773a048e199eee5
27812 Author: John (J5) Palmieri <johnp@redhat.com>
27813 Date: Thu Oct 28 13:49:15 2010 -0400
27815 include Python.h so that PY_VERSION_HEX gets defined
27817 gi/pygi-foreign-cairo.c | 1 +
27818 1 file changed, 1 insertion(+)
27820 commit 8b28b1d713df33931e255600ab98feda37a8e02a
27821 Author: John (J5) Palmieri <johnp@redhat.com>
27822 Date: Thu Oct 28 13:47:34 2010 -0400
27824 [gi] make overrides work for python 3.x protocols and alias for
27827 gi/overrides/Gtk.py | 9 +++++++--
27828 1 file changed, 7 insertions(+), 2 deletions(-)
27830 commit 3c09710d2f68af9c16ce39fd25656147656a486a
27831 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27832 Date: Sat Oct 23 14:24:24 2010 +0200
27834 Override Gtk.Widget.translate_coordinates to not return success value
27836 gi/overrides/Gtk.py | 11 +++++++++++
27837 1 file changed, 11 insertions(+)
27839 commit 9d4443b3de8c327d8645ddde0a7a6dc5b977d7b4
27840 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27841 Date: Sat Oct 23 14:22:36 2010 +0200
27843 Override Gtk.TreeViewColumn.cell_get_position to not return success
27846 gi/overrides/Gtk.py | 5 +++++
27847 1 file changed, 5 insertions(+)
27849 commit 6679d39ace06294e98f9d6fc911ed6fb27656010
27850 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27851 Date: Sat Oct 23 14:21:36 2010 +0200
27853 Override get_path_at_pos and get_dest_row_at_pos of Gtk.TreeView to
27854 not return success value
27856 gi/overrides/Gtk.py | 15 +++++++++++++++
27857 1 file changed, 15 insertions(+)
27859 commit 80b1b266fa68a5c67106871502017166628f71e4
27860 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27861 Date: Sat Oct 23 14:20:38 2010 +0200
27863 Override Gtk.TreeSortable.get_sort_column_id to not return success
27866 gi/overrides/Gtk.py | 12 ++++++++++++
27867 1 file changed, 12 insertions(+)
27869 commit 17cd0fb3a2d2ca0c6109c41727ba0b8c42217cd5
27870 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27871 Date: Sat Oct 23 14:19:20 2010 +0200
27873 Override forward_search and backward_search of Gtk.TextIter to not
27874 return success value
27876 gi/overrides/Gtk.py | 15 +++++++++++++++
27877 1 file changed, 15 insertions(+)
27879 commit 95c86fa31da3d2fe84db0e2b5bc2a6dc896c9223
27880 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27881 Date: Sat Oct 23 14:18:09 2010 +0200
27883 Override Gtk.TextBuffer.get_selection_bounds to not return success
27886 gi/overrides/Gtk.py | 5 +++++
27887 1 file changed, 5 insertions(+)
27889 commit da6d87460b9392c29d025a7eed9249fb604204bc
27890 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27891 Date: Sat Oct 23 14:17:04 2010 +0200
27893 Override Gtk.RecentInfo.get_application_info to not return success
27896 gi/overrides/Gtk.py | 10 ++++++++++
27897 1 file changed, 10 insertions(+)
27899 commit 0ed2e8772bdc405b0d0c7e0b2803e0e141abcb6a
27900 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27901 Date: Sat Oct 23 14:16:21 2010 +0200
27903 Override Gtk.IMContext.get_surrounding to not return success value
27905 gi/overrides/Gtk.py | 10 ++++++++++
27906 1 file changed, 10 insertions(+)
27908 commit b85b445f15421209c0b4adf676d7c8218d6437c5
27909 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27910 Date: Sat Oct 23 14:15:24 2010 +0200
27912 Override get_item_at_pos, get_visible_range, get_dest_item_at_pos
27913 of Gtk.IconView to not return success value
27915 gi/overrides/Gtk.py | 19 +++++++++++++++++++
27916 1 file changed, 19 insertions(+)
27918 commit 684d716192d58c972083e579e909bcd97f8a5025
27919 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27920 Date: Sat Oct 23 14:13:47 2010 +0200
27922 Override Gtk.Container.get_focus_chain to not return success value
27924 gi/overrides/Gtk.py | 10 ++++++++++
27925 1 file changed, 10 insertions(+)
27927 commit 8ec830c57fafbfe50d9619c6caba3cb95a00d688
27928 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27929 Date: Sat Oct 23 14:12:44 2010 +0200
27931 Override Gtk.ComboBox.get_active_iter to not return success value
27933 gi/overrides/Gtk.py | 10 ++++++++++
27934 1 file changed, 10 insertions(+)
27936 commit b483852904468722230903989e3451c7c6a24c0f
27937 Author: John (J5) Palmieri <johnp@redhat.com>
27938 Date: Tue Oct 12 12:18:33 2010 -0400
27940 [gi] make parameter check less strict when dealing with GValue params
27942 * Some GValue API can store a pointer to a python object for later
27943 use but our parameter checking was too strict to allow this
27944 * Add pyg_type_from_object_strict API which takes a strict boolean and
27945 returns PY_TYPE_OBJECT if no other GType can be found
27946 * Since we don't have enough info to genrically check GValue
27948 use the less strict type guessing when encountering a GValue param
27949 * Other API stays the same and continues to do strict testing
27951 https://bugzilla.gnome.org/show_bug.cgi?id=622987
27953 gi/pygi-argument.c | 17 ++++++---------
27954 gobject/gobjectmodule.c | 4 ++--
27955 gobject/pygobject-private.h | 1 +
27956 gobject/pygobject.h | 2 ++
27957 gobject/pygtype.c | 37 +++++++++++++++++++++++++++++----
27958 tests/test_gi.py | 1 -
27959 tests/test_overrides.py | 50
27960 +++++++++++++++++++++++++++++++++++++++++----
27961 7 files changed, 90 insertions(+), 22 deletions(-)
27963 commit 8c87d622dcc6d76a981edfc5818fe67bb2e114e2
27964 Author: John Stowers <john.stowers@gmail.com>
27965 Date: Fri Oct 22 13:28:31 2010 +1300
27967 Shortcut removal is not needed on post-uninstall
27969 pygobject_postinstall.py | 14 ++------------
27970 1 file changed, 2 insertions(+), 12 deletions(-)
27972 commit a3ed97fe6f80548801739fe6b72771b9eb6d93f7
27973 Author: John Stowers <john.stowers@gmail.com>
27974 Date: Thu Oct 21 13:25:35 2010 +1300
27976 Disable shortcut creation in windows installer
27978 pygobject_postinstall.py | 2 +-
27979 1 file changed, 1 insertion(+), 1 deletion(-)
27981 commit a3d6212b0abccef58f05d454c091936776413d98
27982 Author: John (J5) Palmieri <johnp@redhat.com>
27983 Date: Thu Oct 7 11:43:27 2010 -0400
27985 overrides for all subclasses of dialog
27987 https://bugzilla.gnome.org/show_bug.cgi?id=631634
27989 gi/overrides/Gtk.py | 94
27990 +++++++++++++++++++++++++++++++++++++++++++++----
27991 tests/test_overrides.py | 64 ++++++++++++++++++++++++++++++++-
27992 2 files changed, 151 insertions(+), 7 deletions(-)
27994 commit a87e3ba64b54e6df0b5b96af47c34e3be790b58f
27995 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27996 Date: Thu Oct 7 19:37:53 2010 +0200
27998 Make TreeModel behave like in GTK-2.x
28000 Moved stuff from __getitem__ to get_iter.
28001 Added TreePath.__cmp__
28003 get_iter_from_string throws ValueError.
28004 iterchildren() does not return None.
28006 Adjusted tests to new TreeModel and added TestGtk.test_tree_model
28009 Added support for negative row and column indices
28011 Use rich comparison methods instead of __cmp__
28013 Added TreeModel.__bool__/__nonzero__
28015 Raise Error if tree path string is empty
28017 https://bugzilla.gnome.org/show_bug.cgi?id=631547
28019 gi/overrides/Gtk.py | 195
28020 ++++++++++++++++++++++++++++++++++++++++++++++++
28021 tests/test_overrides.py | 160 +++++++++++++++++++++++++++++++++++++--
28022 2 files changed, 349 insertions(+), 6 deletions(-)
28024 commit acfcc29af727fb67d0dfbbcc7cc14963ef21f1ea
28025 Author: John Stowers <john.stowers@gmail.com>
28026 Date: Sat Oct 16 18:59:25 2010 +1300
28028 Correctly build GIO on windows
28030 setup.py | 6 +++---
28031 1 file changed, 3 insertions(+), 3 deletions(-)
28033 commit 33b59fd7437009b6c3ed43412e171d2cc91ee317
28034 Author: John Stowers <john.stowers@gmail.com>
28035 Date: Sat Oct 16 18:17:28 2010 +1300
28037 Require Python >= 2.6.0 for Windows build
28040 1 file changed, 1 insertion(+), 1 deletion(-)
28042 commit 544e0e4de4f5f97b0584eaf72ae8a081eca28ab6
28043 Author: John Stowers <john.stowers@gmail.com>
28044 Date: Sat Oct 16 17:41:01 2010 +1300
28046 Fix depreciation warning in dsextras.py
28049 1 file changed, 1 insertion(+), 1 deletion(-)
28051 commit 239ff961778e4e1587404d8a70dfbe8630ab0623
28052 Author: John Stowers <john.stowers@gmail.com>
28053 Date: Sat Oct 16 17:34:50 2010 +1300
28055 Fix build on windows
28057 gi/pygi-foreign.c | 5 ++++-
28058 gi/pygi.h | 5 ++++-
28060 3 files changed, 10 insertions(+), 4 deletions(-)
28062 commit 9a2f81d63012fef23fdde2b4d903bd69601c07c6
28063 Author: Michael Culbertson <michael.culbertson@gmail.com>
28064 Date: Sat Oct 16 17:08:11 2010 +1300
28066 Support for GCC4 in Windows distutils build - bug 626548
28068 dsextras.py | 3 ++-
28069 1 file changed, 2 insertions(+), 1 deletion(-)
28071 commit 27367c8dc3a3a31fdd778505b319cd3f4afb9e27
28072 Author: John Stowers <john.stowers@gmail.com>
28073 Date: Fri Oct 15 09:39:02 2010 +1300
28075 Remove obsolete comments in dsextras.py
28077 dsextras.py | 11 ++---------
28078 1 file changed, 2 insertions(+), 9 deletions(-)
28080 commit b5f383f854fb8f72677828b029589320c59006d1
28081 Author: John Stowers <john.stowers@gmail.com>
28082 Date: Fri Oct 15 09:21:03 2010 +1300
28084 Broken dsextras.py pkg-config check error message
28089 1 file changed, 1 insertion(+), 1 deletion(-)
28091 commit e1981da105b574e273ae6500fc6d25caf6af6aae
28092 Author: John (J5) Palmieri <johnp@redhat.com>
28093 Date: Tue Sep 28 15:31:03 2010 -0400
28095 add compat functions for the deprecated PyCObject api
28097 * Moved to using the PyCapsule API for python >= 3
28098 * PyCObject is removed from Python 3.2
28099 * It has also been deprecated in 2.7 but since we use the API in
28101 which are consumed by static binding modules, appling this for
28103 causes crashes unless the modules are recompiled, breaking ABI.
28105 to rely on for 2.7 because it will never be removed and there is
28107 undeprecating it upstream.
28108 * There is no issues with static bindings under python 3 because
28110 supported yet and most likely never will be.
28111 * Even if PyCObject is brought back in 3.2, PyCapsule is a much
28113 which adds a poorman's type check when unboxing.
28115 https://bugzilla.gnome.org/show_bug.cgi?id=630844
28117 gi/gimodule.c | 2 +-
28118 gi/pygi.h | 5 ++++-
28119 glib/glibmodule.c | 2 +-
28120 glib/pyglib-python-compat.h | 28 ++++++++++++++++++++++++++++
28121 glib/pyglib.c | 6 +++---
28122 glib/pygoptioncontext.c | 2 +-
28123 gobject/gobjectmodule.c | 2 +-
28124 gobject/pygobject.h | 6 ++++++
28125 gobject/pygtype.c | 10 +++++-----
28126 9 files changed, 50 insertions(+), 13 deletions(-)
28128 commit 03d2e2924e27a9d6cae89e5748f70e0a51be91c6
28129 Author: Damien Caliste <damien.caliste@cea.fr>
28130 Date: Tue Sep 28 12:44:42 2010 +0200
28132 Add __path__ attributes.
28134 Add an attribute __path__ to DynamicModule and IntrospectionModule,
28135 using the path of the typelib.
28137 https://bugzilla.gnome.org/show_bug.cgi?id=630807
28139 gi/module.py | 2 ++
28140 1 file changed, 2 insertions(+)
28142 commit 28f9366c9cb382801bad080864f667c867daa3c7
28143 Author: Sebastian Pölsterl <sebp@k-d-w.org>
28144 Date: Sat Oct 9 17:40:40 2010 +0200
28146 Override Gtk.TreeSelection.get_selected to not return success value.
28148 https://bugzilla.gnome.org/show_bug.cgi?id=631765
28150 gi/overrides/Gtk.py | 12 ++++++++++++
28151 1 file changed, 12 insertions(+)
28153 commit f01a7d9e8222663ce52100e061033f2745a5e7af
28154 Author: Vincent Untz <vuntz@gnome.org>
28155 Date: Thu Oct 7 09:42:24 2010 +0200
28157 Make row optional in Gtk.TreeStore/ListStore.append override
28159 https://bugzilla.gnome.org/show_bug.cgi?id=631548
28161 gi/overrides/Gtk.py | 36 ++++++++++++++++++++++--------------
28162 1 file changed, 22 insertions(+), 14 deletions(-)
28164 commit 1e1357f5fa1a034b0b707040d664ac46be6e23f7
28165 Author: John (J5) Palmieri <johnp@redhat.com>
28166 Date: Mon Oct 4 12:50:55 2010 -0400
28168 Revert "add compat functions for the deprecated PyCObject api"
28170 This reverts commit f25e763d53e5cdd4de08e90b04aea4b4c4720ac0.
28172 I ment to commit another patch and ended up comitting both
28174 gi/gimodule.c | 2 +-
28175 gi/pygi.h | 5 +----
28176 glib/glibmodule.c | 2 +-
28177 glib/pyglib-python-compat.h | 19 -------------------
28178 glib/pyglib.c | 6 +++---
28179 glib/pygoptioncontext.c | 2 +-
28180 gobject/gobjectmodule.c | 2 +-
28181 gobject/pygobject.h | 6 ------
28182 gobject/pygtype.c | 10 +++++-----
28183 9 files changed, 13 insertions(+), 41 deletions(-)
28185 commit 97774cb149c5b03d5ef82a5af3f19e2ce4d79d0b
28186 Author: John (J5) Palmieri <johnp@redhat.com>
28187 Date: Mon Oct 4 12:43:31 2010 -0400
28189 return NULL instead of -1 which fixes crash when introspection is
28192 * see https://bugzilla.gnome.org/show_bug.cgi?id=631158
28195 1 file changed, 1 insertion(+), 1 deletion(-)
28197 commit f25e763d53e5cdd4de08e90b04aea4b4c4720ac0
28198 Author: John (J5) Palmieri <johnp@redhat.com>
28199 Date: Tue Sep 28 15:31:03 2010 -0400
28201 add compat functions for the deprecated PyCObject api
28203 * Moved to using the PyCapsule API for python >= 2.7
28205 https://bugzilla.gnome.org/show_bug.cgi?id=630844
28207 gi/gimodule.c | 2 +-
28208 gi/pygi.h | 5 ++++-
28209 glib/glibmodule.c | 2 +-
28210 glib/pyglib-python-compat.h | 19 +++++++++++++++++++
28211 glib/pyglib.c | 6 +++---
28212 glib/pygoptioncontext.c | 2 +-
28213 gobject/gobjectmodule.c | 2 +-
28214 gobject/pygobject.h | 6 ++++++
28215 gobject/pygtype.c | 10 +++++-----
28216 9 files changed, 41 insertions(+), 13 deletions(-)
28218 commit 80b8ccd450fe4e3ea77b27e58bb63cabc2a2bb2b
28219 Author: John (J5) Palmieri <johnp@redhat.com>
28220 Date: Tue Sep 28 15:28:16 2010 -0400
28222 fix commit 7fe83108 which didn't use the compat functions for
28225 glib/glibmodule.c | 2 +-
28226 1 file changed, 1 insertion(+), 1 deletion(-)
28228 commit 9562842907a9d94f6adae2c1bb20d6b1f189abda
28229 Author: John (J5) Palmieri <johnp@redhat.com>
28230 Date: Tue Sep 28 13:15:57 2010 -0400
28232 Python 3 fixes for dsextras and the python.m4 distribution files
28234 dsextras.py | 13 +++++++------
28235 m4/python.m4 | 4 ++--
28236 2 files changed, 9 insertions(+), 8 deletions(-)
28238 commit 98f69957ee9e3037b0a05a037098e4d2133ca256
28239 Author: John (J5) Palmieri <johnp@redhat.com>
28240 Date: Mon Sep 27 14:01:31 2010 -0400
28242 post release bump to 2.27.0 unstable
28244 * update hacking to fill in some holes in the release instructions
28247 configure.ac | 2 +-
28248 2 files changed, 5 insertions(+), 3 deletions(-)
28250 commit fd38010101411e6bc1ca9314657f418de660fa13
28251 Author: John (J5) Palmieri <johnp@redhat.com>
28252 Date: Mon Sep 27 12:03:10 2010 -0400
28254 update NEWS for release
28257 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
28258 1 file changed, 93 insertions(+)
28260 commit 7072d56b6cba13da97a052c75d1ae0c2cc417fd1
28261 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28262 Date: Sun Sep 26 08:37:31 2010 +0200
28264 Pre-release version bump 2.26.0
28266 configure.ac | 4 ++--
28267 1 file changed, 2 insertions(+), 2 deletions(-)
28269 commit a549f429d2ced7a78d5baa5e2f28f6750b4788f2
28270 Author: John Stowers <john.stowers@gmail.com>
28271 Date: Fri Sep 24 22:44:03 2010 +1200
28273 Wrap g_get_system_{config,data}_dirs ()
28275 * Also tidy up g_get_{cache,config,data}_dir
28276 to share common code
28278 glib/glibmodule.c | 68
28279 ++++++++++++++++++++++++++++++++++++++++---------------
28280 1 file changed, 50 insertions(+), 18 deletions(-)
28282 commit 328aca600714bdca89dfdb531c222ee561ede27e
28283 Author: John (J5) Palmieri <johnp@redhat.com>
28284 Date: Fri Sep 24 12:16:22 2010 -0400
28286 fixed make check and make dist
28288 tests/Makefile.am | 31 ++++++++++++++++++-------------
28289 1 file changed, 18 insertions(+), 13 deletions(-)
28291 commit 27023fd56148dd17b5576c1e81e0fe851d9b8727
28292 Author: John Stowers <john.stowers@gmail.com>
28293 Date: Fri Sep 24 21:20:53 2010 +1200
28295 Disable GI tests when introspection disabled
28297 tests/Makefile.am | 2 ++
28298 1 file changed, 2 insertions(+)
28300 commit 7fe831081cdd2e26f5d948326b9f89ea0694e752
28301 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
28302 Date: Sat Jul 18 19:35:08 2009 +0200
28304 Wrap g_uri_list_extract_uris. Fixes bug #584431
28306 glib/glibmodule.c | 38 ++++++++++++++++++++++++++++++++++++++
28307 gobject/__init__.py | 2 +-
28308 tests/Makefile.am | 3 ++-
28309 tests/test_uris.py | 15 +++++++++++++++
28310 4 files changed, 56 insertions(+), 2 deletions(-)
28312 commit d6721a59c294f2471142b8c32de2f647b7084bca
28313 Author: Paul Bolle <pebolle@tiscali.nl>
28314 Date: Thu Sep 23 15:38:40 2010 -0400
28316 Fix a few uses of TRUE and FALSE in the docs
28318 docs/reference/pygio-mount.xml | 5 +++--
28319 docs/reference/pyglib-functions.xml | 18 +++++++++---------
28320 docs/reference/pyglib-maincontext.xml | 12 ++++++------
28321 docs/reference/pyglib-mainloop.xml | 6 +++---
28322 docs/reference/pygobject-functions.xml | 6 +++---
28323 docs/reference/pygobject.xml | 4 ++--
28324 6 files changed, 26 insertions(+), 25 deletions(-)
28326 commit a08c9fffb4262ae678e17f90bbfb2d5f880cfad0
28327 Author: Damien Caliste <damien.caliste@cea.fr>
28328 Date: Tue Sep 21 17:52:14 2010 +0200
28330 pygi: always free the invocation_state struct
28332 In pygi-invoke.c, the invocation_state struct is never freed
28333 in case of success. Thus, always call _free_invocation_state()
28335 Modify _free_invocation_state to avoid double free in case of
28336 caller-allocated GValue, once as a released argument in the
28337 _process routine and another time in the _free as the special
28338 case. So move all argument releasing code from the _process
28339 routine to the _free one.
28340 Modify the tests for the callback routines to return an integer
28341 value as specified in the GIR file.
28343 Make check is as successful as before (already existing error
28344 related to GVariant is still there).
28346 https://bugzilla.gnome.org/show_bug.cgi?id=630271
28348 gi/pygi-invoke.c | 83
28349 +++++++++++++++++++++---------------------------
28350 tests/test_everything.py | 4 ++-
28351 2 files changed, 40 insertions(+), 47 deletions(-)
28353 commit 9714d765a34e246899f11b6792eea3aecce0b7ec
28354 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28355 Date: Mon Sep 13 16:36:47 2010 +0200
28357 Start implementing something equivalent to g_variant_new
28359 https://bugzilla.gnome.org/show_bug.cgi?id=629367
28361 gi/gimodule.c | 20 +++++++
28362 gi/overrides/GLib.py | 131
28363 ++++++++++++++++++++++++++++++++++++++++++---
28364 gi/pygi-foreign-gvariant.c | 2 +-
28365 tests/test_everything.py | 16 ------
28366 tests/test_overrides.py | 25 +++++++++
28367 5 files changed, 170 insertions(+), 24 deletions(-)
28369 commit fc45abdd9b55ab63556798ab0f04715be79dba08
28370 Author: John (J5) Palmieri <johnp@redhat.com>
28371 Date: Thu Sep 23 10:49:36 2010 -0400
28373 fixed typo - missing comma in glib.option module
28375 * https://bugzilla.gnome.org/show_bug.cgi?id=627449
28377 glib/option.py | 2 +-
28378 1 file changed, 1 insertion(+), 1 deletion(-)
28380 commit 4ed100f3183c6325dd04461484e877bb7d4131b1
28381 Author: John (J5) Palmieri <johnp@redhat.com>
28382 Date: Fri Sep 17 12:08:09 2010 -0400
28384 add checks so we can compile under python 3 by setting PYTHON=python3
28386 * compile for python 3
28387 * disables gio if compiling under python 3.x
28388 * runs only pertinant tests
28390 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28392 configure.ac | 32 +++++++++++++++++++++++++++++---
28393 tests/Makefile.am | 35 ++++++++++++++++++++---------------
28394 tests/runtests.py | 4 ++++
28395 3 files changed, 53 insertions(+), 18 deletions(-)
28397 commit 269ff8564eeb597dc06c27e293354b7ff7a71a82
28398 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28399 Date: Fri Sep 17 15:50:47 2010 +0200
28401 Rename static methods as functions
28403 In recent gobject-introspection releases, static methods have been
28404 removed and placed as functions in the namespace level. In a future
28405 releases it's planned to become static methods again but for now
28406 let's fix the tests.
28408 tests/test_gi.py | 14 +++++++-------
28409 1 file changed, 7 insertions(+), 7 deletions(-)
28411 commit 2da8da589644d6125101210712defb1272a8abb1
28412 Author: John (J5) Palmieri <johnp@redhat.com>
28413 Date: Thu Sep 9 13:52:14 2010 -0400
28415 fix a couple of compiler warnings
28417 https://bugzilla.gnome.org/show_bug.cgi?id=629199
28419 gi/pygi-argument.c | 4 ++--
28420 gi/pygi-struct.c | 2 +-
28421 gobject/gobjectmodule.c | 2 +-
28422 3 files changed, 4 insertions(+), 4 deletions(-)
28424 commit 6769a4704f0876ac3baacd4da03ff16d9f0906be
28425 Author: John (J5) Palmieri <johnp@redhat.com>
28426 Date: Thu Sep 9 13:55:17 2010 -0400
28430 * we use richcompare now
28432 https://bugzilla.gnome.org/show_bug.cgi?id=629198
28434 gobject/pygtype.c | 9 ---------
28435 1 file changed, 9 deletions(-)
28437 commit 98f54f9d33996baeaa8c8c1240310f5396d03a1d
28438 Author: John (J5) Palmieri <johnp@redhat.com>
28439 Date: Tue Sep 14 14:10:49 2010 -0400
28441 Check the type of the instance object
28443 * in python 2 methods were added to classes as unbound methods and
28445 check the instance type to make sure it was correct
28446 * in python 3 for perfomance reasons methods are added to classes
28448 functions which treat the instance as an untyped argument so
28451 * this patch adds a type check so that the correct errors are
28453 python 3 (python 2 this just adds another layer of redundancy should
28454 something change with type checking in the future)
28455 * since GI handles regular args and the instance arg slightly
28457 we had to split out the interface checks in
28458 _pygi_g_type_info_check_object
28459 in order to not duplicate code
28461 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28463 gi/pygi-argument.c | 182
28464 ++++++++++++++++++++++++++++-------------------------
28465 gi/pygi-argument.h | 2 +
28466 gi/pygi-invoke.c | 14 +++++
28467 3 files changed, 112 insertions(+), 86 deletions(-)
28469 commit 5d79498d38b147b66ae72c1481e397160491e8d6
28470 Author: John (J5) Palmieri <johnp@redhat.com>
28471 Date: Wed Sep 15 10:26:20 2010 -0400
28473 include the correct pycairo version
28475 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28477 gi/pygi-foreign-cairo.c | 6 ++++++
28478 1 file changed, 6 insertions(+)
28480 commit b855562e5c0019cd7e4982fe00c467ede9e3926d
28481 Author: John (J5) Palmieri <johnp@redhat.com>
28482 Date: Thu Sep 9 22:16:58 2010 -0400
28484 Use PyMapping_Keys to determine if an object is a dict (py3k fix)
28486 * in Py3k PyMapping_Check returns true for sequences such as strings
28487 and lists. Since we need to get the keys anyway, and it returns
28488 NULL if this is not a dict, this is a much better test, even in
28491 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28493 gi/pygi-argument.c | 10 +++-------
28494 1 file changed, 3 insertions(+), 7 deletions(-)
28496 commit 0e72e28c6c5502c7db5103cf1299c9f0e6689fdd
28497 Author: John (J5) Palmieri <johnp@redhat.com>
28498 Date: Thu Sep 9 18:44:11 2010 -0400
28500 fix handling of UINT64 and INT64 arguments in py3k
28502 * decode to the right sized C long
28504 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28506 gi/pygi-argument.c | 20 ++++++++++++--------
28507 1 file changed, 12 insertions(+), 8 deletions(-)
28509 commit d5666d99a1c0396b7da0cb14f9f4ff8892da7e2e
28510 Author: John (J5) Palmieri <johnp@redhat.com>
28511 Date: Thu Sep 9 17:35:10 2010 -0400
28513 properly handle ulongs properties in py3k
28515 * If this is a PyLong object pull use AsUnsignedLong
28517 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28519 gobject/pygtype.c | 29 ++++++++++++++++-------------
28520 1 file changed, 16 insertions(+), 13 deletions(-)
28522 commit 3d431c7dd0de97db10cb0c00c39d9c1837bed2f2
28523 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28524 Date: Fri Sep 17 12:14:56 2010 +0200
28526 Specify encoding of tests/test_gi.py
28528 tests/test_gi.py | 3 ++-
28529 1 file changed, 2 insertions(+), 1 deletion(-)
28531 commit a808bdabb9fa6f4a9b9ce42e1cce05fb37403f0f
28532 Author: John (J5) Palmieri <johnp@redhat.com>
28533 Date: Thu Sep 9 13:24:30 2010 -0400
28535 use actual unicode in the tests on py3k, not the byte representation
28537 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28539 tests/test_gi.py | 6 +++++-
28540 1 file changed, 5 insertions(+), 1 deletion(-)
28542 commit 928f4485041d80d0c36ff2daeae4bcd09bd0bde4
28543 Author: John (J5) Palmieri <johnp@redhat.com>
28544 Date: Thu Sep 9 12:45:21 2010 -0400
28546 s/METH_KEYWORDS/METH_VARARGS|METH_KEYWORDS/ when defining object
28549 * in Py3k the METH_KEYWORDS flag by itself is invalid. A method
28551 with both the METH_VARARGS and METH_KEYWORDS flags.
28553 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28555 glib/pygiochannel.c | 30 +++++++++++++++---------------
28556 glib/pygsource.c | 4 ++--
28557 gobject/pygobject.c | 2 +-
28558 3 files changed, 18 insertions(+), 18 deletions(-)
28560 commit b5ee20afa4399c7689fbec8939fa20b927eeb782
28561 Author: John (J5) Palmieri <johnp@redhat.com>
28562 Date: Thu Sep 9 08:04:40 2010 -0400
28564 fix subclassing PyLong by calling __new__ correctly
28566 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28568 glib/pygspawn.c | 4 ++--
28569 1 file changed, 2 insertions(+), 2 deletions(-)
28571 commit a499b2f0d622b671bd154544f66b73f1278e66ed
28572 Author: John (J5) Palmieri <johnp@redhat.com>
28573 Date: Thu Sep 9 07:56:44 2010 -0400
28575 minor py3k fixups for python modules
28577 * add _basestring and _bytes and _callable wrappers
28578 * use items instead of iteritems and range instead of xrange
28582 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28584 gi/overrides/Gtk.py | 24 ++++++++++++++++--------
28585 glib/option.py | 16 ++++++++++++----
28586 2 files changed, 28 insertions(+), 12 deletions(-)
28588 commit dec9001d26c97949e7b3578086cb35e98075c047
28589 Author: John (J5) Palmieri <johnp@redhat.com>
28590 Date: Thu Sep 9 07:36:04 2010 -0400
28592 minor fixes in tests for py3k compat
28594 * add a _bytes wrapper for API that expects bytes in py3k but str
28596 * fix some more exception handling using sys.exc_info()[:2]
28597 * use range instead of xrange, items instead of iteritems since py3k
28598 dropped support for the different ways of accessing iterators
28599 - this is less efficient in py2 but we plan to target py3k as the
28601 * use list(dict.items()) since py3k only returns iterables which
28604 * missed some _long wrapping
28606 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28608 tests/compathelper.py | 18 ++++++++++++++++++
28609 tests/test_everything.py | 5 +++--
28610 tests/test_mainloop.py | 3 ++-
28611 tests/test_option.py | 6 ++++--
28612 tests/test_overrides.py | 4 ++--
28613 tests/test_properties.py | 6 +++---
28614 6 files changed, 32 insertions(+), 10 deletions(-)
28616 commit 09a0daeedf49eaf376c1288be5743b57fbc76d51
28617 Author: Colin Walters <walters@verbum.org>
28618 Date: Thu Sep 9 16:25:51 2010 -0400
28620 compilation: Fix syntax error
28622 gi/pygi-info.c | 2 +-
28623 1 file changed, 1 insertion(+), 1 deletion(-)
28625 commit 9f7afd6d5afd8c1a5f36bf1295814757b71c8cbc
28626 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28627 Date: Thu Sep 9 22:17:00 2010 +0200
28631 gi/overrides/GLib.py | 48
28632 ++++++++++++++++++++++++++++++++++++++++++++++++
28633 1 file changed, 48 insertions(+)
28635 commit 306b792ac97a458ddee59fb86d66453495117f3e
28636 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28637 Date: Thu Jul 22 13:48:51 2010 +0100
28639 Add override for GLib.Variant.new_tuple
28641 * gi/gimodule.c: Add _wrap_pyg_variant_new_tuple
28642 * gi/overrides/GLib.py: Override Variant.new_tuple and
28644 * gi/pygi-type.[hc]: split _pygi_type_import_by_name out from
28645 _pygi_type_import_by_gi_info
28646 * gi/types.py: Never override gobject.TYPE_NONE
28647 * tests/test_everything.py: Add tests for GVariant tuples
28649 https://bugzilla.gnome.org/show_bug.cgi?id=625050
28651 gi/gimodule.c | 38 ++++++++++++++++++++++++++++++++++++++
28652 gi/overrides/Makefile.am | 1 +
28653 gi/pygi-type.c | 15 +++++++++------
28654 gi/pygi-type.h | 2 ++
28656 tests/test_everything.py | 9 +++++++++
28657 6 files changed, 60 insertions(+), 6 deletions(-)
28659 commit 22e53aa2ed9cf6173a877b0af6928d5ab8da2f4f
28660 Author: John (J5) Palmieri <johnp@redhat.com>
28661 Date: Wed Sep 8 13:08:48 2010 -0400
28663 fix for changes in the gi test libraries
28665 tests/test_everything.py | 2 +-
28666 1 file changed, 1 insertion(+), 1 deletion(-)
28668 commit 246877074617b0e9c3b2ba2a5395a73e0ed9cd5d
28669 Author: John (J5) Palmieri <johnp@redhat.com>
28670 Date: Wed Sep 8 13:08:07 2010 -0400
28672 Gtk.DialogFlags.NO_SEPARATOR has been removed in Gtk 3.0
28674 gi/overrides/Gtk.py | 10 ++++++++--
28675 1 file changed, 8 insertions(+), 2 deletions(-)
28677 commit f92fc48e7e2ec50996e994ccb7d08a61e7374f22
28678 Author: John (J5) Palmieri <johnp@redhat.com>
28679 Date: Wed Sep 8 12:35:09 2010 -0400
28681 no need to offset arg positions when is_method is true
28683 * The old GI libraries required we offset arg positions for the
28685 self argument. The new library fixes this so we don't have
28689 https://bugzilla.gnome.org/show_bug.cgi?id=629087
28691 gi/pygi-callbacks.c | 5 +----
28692 1 file changed, 1 insertion(+), 4 deletions(-)
28694 commit 8c517de2d278bdef641c72b8f2919a3924290ec1
28695 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28696 Date: Fri Aug 20 14:54:35 2010 +0200
28698 gi: Add support for more property types
28700 https://bugzilla.gnome.org/show_bug.cgi?id=627494
28702 gi/pygi-property.c | 156
28703 ++++++++++++++++++++++++++++++++++++-----------
28704 tests/test_everything.py | 34 +++++++++++
28705 2 files changed, 154 insertions(+), 36 deletions(-)
28707 commit 6d183d1fff55d54569ba3e1f90a10284df74fd40
28708 Author: John (J5) Palmieri <johnp@redhat.com>
28709 Date: Fri Sep 3 12:04:16 2010 -0400
28711 use PyObject_SetAttrString, not PyDict_SetItemString when setting
28714 * When registering a gtype wrapper we used to set tp_dict
28715 directly. This works
28716 in python 2 but python 3 seems to handle attributes in a slightly
28718 way where the tp_dict and attr get out of sync. By setting the attr
28719 directly we avoid this issue.
28720 * Note that there are many more places where we set __gtype__
28722 however for objects which are not instantiated yet we have to
28725 * Since this one change fixes a lot of failed tests, for now we
28727 other places where we set __gtype__. If we run into more issues
28729 with __gtype__ we can take a closer look later.
28731 https://bugzilla.gnome.org/show_bug.cgi?id=627878
28733 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28735 gobject/gobjectmodule.c | 2 +-
28736 1 file changed, 1 insertion(+), 1 deletion(-)
28738 commit b7bf4269682a3335f5e0a52b46fa721af134d09a
28739 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28740 Date: Wed Sep 1 11:03:40 2010 +0200
28742 Rename GArgument to GIArgument
28744 gi/pygi-argument.c | 52
28745 +++++++++++++++++++++++-----------------------
28746 gi/pygi-argument.h | 10 ++++-----
28747 gi/pygi-closure.c | 34 +++++++++++++++---------------
28748 gi/pygi-foreign-cairo.c | 8 +++----
28749 gi/pygi-foreign-gvariant.c | 4 ++--
28750 gi/pygi-foreign-gvariant.h | 4 ++--
28751 gi/pygi-foreign.c | 12 +++++------
28752 gi/pygi-foreign.h | 8 +++----
28753 gi/pygi-info.c | 8 +++----
28754 gi/pygi-invoke.c | 28 ++++++++++++-------------
28755 gi/pygi-property.c | 4 ++--
28756 gi/pygi.h | 16 +++++++-------
28757 12 files changed, 94 insertions(+), 94 deletions(-)
28759 commit 7197f85c9be2b03636639ac909ca2c3170653509
28760 Author: John (J5) Palmieri <johnp@redhat.com>
28761 Date: Wed Aug 18 10:29:19 2010 -0400
28763 fix up tests so they run in py3k
28765 * add a compat helper that should only be used by tests
28766 * fix long notation to use the compat helper instead
28767 * add parens to print statements
28768 * use compatable try/except pattern
28770 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28772 gobject/propertyhelper.py | 16 +++++++++++-----
28773 tests/compathelper.py | 32 ++++++++++++++++++++++++++++++++
28774 tests/test_option.py | 7 ++++++-
28775 tests/test_properties.py | 24 ++++++++++++++----------
28776 tests/test_signal.py | 14 +++++++-------
28777 tests/test_source.py | 4 ++--
28778 6 files changed, 72 insertions(+), 25 deletions(-)
28780 commit 720e614acdbcf734d4bcccc403e639b5a5bcae24
28781 Author: Colin Walters <walters@verbum.org>
28782 Date: Fri Aug 20 10:58:48 2010 -0400
28784 tests: Port to new introspection tests
28786 Everything is renamed "Regress", and both it and GIMarshallingTests
28787 are now in source form, so we compile them.
28789 The scanner now adds "static methods" to objects, structs, and unions,
28790 so update the test code to use those.
28792 In the tests, remove broken (inout) cases - the person writing these
28793 tests misunderstood the semantics of (inout). It's not acceptable for
28794 a C API to mutate e.g. a GSList* passed in, or unref an object.
28796 The invocation code needed to be updated for this - remove some
28799 https://bugzilla.gnome.org/show_bug.cgi?id=627878
28801 configure.ac | 5 +-
28802 gi/pygi-argument.c | 9 +--
28803 gi/pygi-invoke.c | 147
28804 +++++----------------------------------------
28805 tests/Makefile.am | 42 ++++++++++++-
28806 tests/test_everything.py | 6 +-
28807 tests/test_gi.py | 151
28808 +++++++++--------------------------------------
28809 6 files changed, 93 insertions(+), 267 deletions(-)
28811 commit f6c4d9e58c8f05cb2d82e158c9eb8480308565bd
28812 Author: John (J5) Palmieri <johnp@redhat.com>
28813 Date: Fri Aug 20 10:43:58 2010 -0400
28815 we need to specify tp_hash since we overide tp_richcompare
28817 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28819 gobject/pygenum.c | 1 +
28820 gobject/pygflags.c | 1 +
28821 2 files changed, 2 insertions(+)
28823 commit c03e6b482548aee99362356807c804f8834fad2b
28824 Author: John Ehresman <jpe@wingware.com>
28825 Date: Thu Apr 15 17:11:30 2010 -0400
28827 working enum/flags/pid subclasses of long
28829 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28831 glib/pygspawn.c | 7 ++---
28832 gobject/pygenum.c | 61 ++++++++++++++++++++++++-------------------
28833 gobject/pygflags.c | 76
28834 +++++++++++++++++++++++-------------------------------
28835 3 files changed, 71 insertions(+), 73 deletions(-)
28837 commit 0db676fd2296750a46ba0fb069e472da06ecc53a
28838 Author: John (J5) Palmieri <johnp@redhat.com>
28839 Date: Wed Aug 18 11:03:32 2010 -0400
28841 make vfuncs work in py3k
28843 * methods now export __func__ instead of im_func for getting the
28845 out of a method closure
28846 * however classes no longer return unbound methods in py3k and instead
28847 return the actual function
28848 * in python 2 we use im_func when getting the function from the
28850 * in py3k we simply assign vfunc to the function
28852 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28854 gi/types.py | 12 ++++++++----
28855 1 file changed, 8 insertions(+), 4 deletions(-)
28857 commit 286dcd0c6455961d818ac7f05f80f82435abc1dc
28858 Author: John (J5) Palmieri <johnp@redhat.com>
28859 Date: Tue Aug 17 15:43:42 2010 -0400
28861 make cairo module compile in py3k
28863 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28865 gi/Makefile.am | 2 +-
28866 gi/pygi-foreign-cairo.c | 17 +++++++----------
28867 2 files changed, 8 insertions(+), 11 deletions(-)
28869 commit bda58ec34fc443fe1108afc8532bec50f6fd0b44
28870 Author: John (J5) Palmieri <johnp@redhat.com>
28871 Date: Tue Aug 17 02:33:45 2010 -0400
28873 fix exceptions so they work in python 3.x
28875 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28877 gi/module.py | 2 +-
28879 2 files changed, 2 insertions(+), 2 deletions(-)
28881 commit 427a3c8053feca35ccd746575760ac8a0ed50a12
28882 Author: John (J5) Palmieri <johnp@redhat.com>
28883 Date: Tue Aug 17 02:24:44 2010 -0400
28885 make the gi module compile under 3.x
28887 * include the compat macros
28888 * use GLIB_MODULE_START/END to define module
28889 * add PyInit__gi to the exported symbols
28891 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28893 gi/Makefile.am | 2 +-
28894 gi/gimodule.c | 24 +++++++++---------------
28895 2 files changed, 10 insertions(+), 16 deletions(-)
28897 commit 1dee5dcd2b1747b4a4af438c0443d7930e4802db
28898 Author: John (J5) Palmieri <johnp@redhat.com>
28899 Date: Tue Aug 17 02:14:14 2010 -0400
28901 fix up testshelper module so it compiles in python 3.x
28903 * include the compat header
28904 * fix up PyInts to be PYGLIB_Long
28905 * Use PYGLIB_DEFINE_TYPE macros to define module objects
28906 * Use PYGLIB_MODULE_START/END to define modules
28908 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28910 tests/Makefile.am | 2 +-
28911 tests/testhelpermodule.c | 221
28912 ++++++-----------------------------------------
28913 2 files changed, 28 insertions(+), 195 deletions(-)
28915 commit 1ff83a2ccb7301c8f675913f1c4f6118ea50b9c7
28916 Author: John (J5) Palmieri <johnp@redhat.com>
28917 Date: Mon Aug 16 21:14:27 2010 -0400
28919 convert to using PYGLIB_DEFINE_TYPE for module objects
28921 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28923 gi/pygi-boxed.c | 43 ++-----------
28924 gi/pygi-info.c | 171
28925 ++++++++++++++++++++-------------------------------
28926 gi/pygi-repository.c | 39 +++---------
28927 gi/pygi-struct.c | 45 +++-----------
28928 4 files changed, 88 insertions(+), 210 deletions(-)
28930 commit 1efa2b12913b194d433c17014bc1077271a6ca32
28931 Author: John (J5) Palmieri <johnp@redhat.com>
28932 Date: Mon Aug 16 13:51:05 2010 -0400
28934 some more p3k PyString and PyInt eradication in GI
28936 * add the glib dir to the includes list in the build
28937 * make sure we include the compat macros
28938 * add GLIB_PyBytes_FromString to compat macros
28939 * add GLIB_PyNumber_Long to compat macros
28940 * use RichCompare instead of Compare
28942 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28944 gi/Makefile.am | 2 +-
28945 gi/pygi-argument.c | 96
28946 +++++++++++++++++++++++++++------------------
28947 gi/pygi-boxed.c | 1 +
28948 gi/pygi-info.c | 13 +++---
28949 gi/pygi-private.h | 23 +++++++++++
28950 gi/pygi-repository.c | 8 ++--
28951 gi/pygi-struct.c | 1 +
28952 glib/pyglib-python-compat.h | 6 +++
28953 8 files changed, 103 insertions(+), 47 deletions(-)
28955 commit 6b902c66200c1684513a9ef31bdef3f2ff64e4fa
28956 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28957 Date: Fri Aug 20 09:28:57 2010 +0200
28959 pyglib: Fix typo (Leo Singer)
28961 https://bugzilla.gnome.org/show_bug.cgi?id=627408
28963 glib/option.py | 4 ++--
28964 1 file changed, 2 insertions(+), 2 deletions(-)
28966 commit 3cefffecc1317b6ad77a5ed936bfb990d16bf9d3
28967 Author: Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
28968 Date: Thu Aug 19 18:45:05 2010 -0300
28970 Add defines for size_t and ssize_t conversion functions
28972 These missing defines cause the resulting module to have unresolved
28973 symbols, rendering it unusable.
28975 https://bugzilla.gnome.org/show_bug.cgi?id=627440
28977 glib/pyglib-python-compat.h | 2 ++
28978 1 file changed, 2 insertions(+)
28980 commit d45c7031876f355e15409f00f3e50e77d18f8f4b
28981 Author: Colin Walters <walters@verbum.org>
28982 Date: Thu Aug 19 17:50:35 2010 -0400
28984 pyglib: Fix a compiler warning
28986 glib/pyglib.c | 1 +
28987 1 file changed, 1 insertion(+)
28989 commit 0fe6828ddce187ac1897a1f02ca1c5480796d5b9
28990 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28991 Date: Wed Aug 18 20:36:51 2010 +0200
28993 Don't force gtk 2.0
28995 pygi-convert.sh | 11 +++++++----
28996 1 file changed, 7 insertions(+), 4 deletions(-)
28998 commit ac59c18a4f2bfff47c862b763aaf1d1cf136a4f5
28999 Author: Steve Frécinaux <code@istique.net>
29000 Date: Tue Aug 17 14:49:30 2010 +0200
29002 Fix some ref leaks in hook_up_vfunc_implementation()
29004 https://bugzilla.gnome.org/show_bug.cgi?id=627143
29006 gi/gimodule.c | 9 +++++++--
29007 1 file changed, 7 insertions(+), 2 deletions(-)
29009 commit 18ee0db673c2fa42244ab85950bbf4840edb674b
29010 Author: John (J5) Palmieri <johnp@redhat.com>
29011 Date: Thu Aug 12 12:16:31 2010 -0400
29013 handle strings correctly in gio
29015 gio/gappinfo.override | 5 +++++
29016 gio/pygio-utils.c | 42 +++++++++++++++++++++++++++++++++++-------
29017 2 files changed, 40 insertions(+), 7 deletions(-)
29019 commit 45ab0c03110c911b47519941dfd753326891b5e0
29020 Author: John (J5) Palmieri <johnp@redhat.com>
29021 Date: Wed Aug 11 16:13:59 2010 -0400
29023 make giomodule compile under py3k
29025 https://bugzilla.gnome.org/show_bug.cgi?id=615872
29027 gio/giomodule.c | 153
29028 +++++++++++++++++++++++++++++---------------------------
29029 1 file changed, 78 insertions(+), 75 deletions(-)
29031 commit c52f8ed3ae8cb66a03b5695e980770c3f467f755
29032 Author: John (J5) Palmieri <johnp@redhat.com>
29033 Date: Wed Aug 11 16:04:48 2010 -0400
29035 for py3k we need to do some more processing to get bytes from a
29038 https://bugzilla.gnome.org/show_bug.cgi?id=615872
29040 gi/pygi-argument.c | 31 +++++++++++++++++++++++++++----
29041 1 file changed, 27 insertions(+), 4 deletions(-)
29043 commit de9eae4dfcce856a42cc5c569a5b9683c28d0eeb
29044 Author: John (J5) Palmieri <johnp@redhat.com>
29045 Date: Wed Aug 11 15:03:55 2010 -0400
29047 use Bytes instead of Unicode when reading io
29049 https://bugzilla.gnome.org/show_bug.cgi?id=615872
29051 glib/pygiochannel.c | 30 ++++++++++++++++++++++++------
29052 1 file changed, 24 insertions(+), 6 deletions(-)
29054 commit 5824ff98175b749dbcfa72d24b994230b6e05377
29055 Author: John (J5) Palmieri <johnp@redhat.com>
29056 Date: Mon Aug 9 15:16:51 2010 -0400
29058 prefix compat macros with PYGLIB
29060 * refactor from John Ehresman <jpe@wingware.com> py3k branch
29061 * fix up some extranious PyString calls
29062 * remove duplicate macros from pyglib.h that are in
29063 pyglib-python-compat.h
29064 * pygobject.h can't import pyglib-python-compat.h so add codepaths
29065 for both Py3k and legacy code instead of using macros
29067 https://bugzilla.gnome.org/show_bug.cgi?id=615872
29069 glib/glibmodule.c | 48 +++++-----
29070 glib/pygiochannel.c | 46 +++++-----
29071 glib/pyglib-python-compat.h | 153 +++++++++++++++++++++++--------
29072 glib/pyglib.c | 22 ++---
29073 glib/pyglib.h | 14 ---
29074 glib/pygoptioncontext.c | 4 +-
29075 glib/pygsource.c | 16 ++--
29076 glib/pygspawn.c | 32 +++----
29077 gobject/gobjectmodule.c | 216
29078 ++++++++++++++++++++++----------------------
29079 gobject/pygboxed.c | 2 +-
29080 gobject/pygenum.c | 84 ++++++++---------
29081 gobject/pygflags.c | 122 ++++++++++++-------------
29082 gobject/pygobject-private.h | 12 +--
29083 gobject/pygobject.c | 46 +++++-----
29084 gobject/pygobject.h | 23 +++++
29085 gobject/pygparamspec.c | 24 ++---
29086 gobject/pygpointer.c | 2 +-
29087 gobject/pygtype.c | 170 +++++++++++++++++-----------------
29088 18 files changed, 563 insertions(+), 473 deletions(-)
29090 commit 231e934cc01d061e81bb60d35127a133cd0e1793
29091 Author: John (J5) Palmieri <johnp@redhat.com>
29092 Date: Mon Aug 16 10:14:04 2010 +0200
29094 Gtk.Button unit tests
29096 https://bugzilla.gnome.org/show_bug.cgi?id=622606
29098 tests/test_overrides.py | 10 ++++++++++
29099 1 file changed, 10 insertions(+)
29101 commit f07cfde377e42686c6b80f56cac62338ee333e61
29102 Author: Johan Dahlin <johan@gnome.org>
29103 Date: Mon Aug 16 10:08:38 2010 +0200
29105 [Gtk] Add overrides for Button
29107 https://bugzilla.gnome.org/show_bug.cgi?id=622606
29109 gi/overrides/Gtk.py | 13 +++++++++++++
29110 1 file changed, 13 insertions(+)
29112 commit 65a06a7216163c7e65b32c5b5f3388faa7fda5d6
29113 Author: Simon van der Linden <svdlinden@gnome.org>
29114 Date: Thu Aug 12 16:18:58 2010 +0200
29116 Make Cairo an optional dependency
29118 Add the --enable-cairo configure argument.
29120 https://bugzilla.gnome.org/show_bug.cgi?id=616732
29122 configure.ac | 15 ++++++++++++---
29123 gi/Makefile.am | 20 ++++++++++++--------
29124 2 files changed, 24 insertions(+), 11 deletions(-)
29126 commit b83507263231d9bf47f6c8450583e3d03f0a3b5b
29127 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29128 Date: Mon Aug 16 09:55:35 2010 +0200
29130 Don't import again PyGObject (John Ralls)
29132 https://bugzilla.gnome.org/show_bug.cgi?id=626996
29135 1 file changed, 1 insertion(+)
29137 commit 0dc3656070f496431829c6e8441ca17129c569f8
29138 Author: John (J5) Palmieri <johnp@redhat.com>
29139 Date: Mon Aug 9 16:11:55 2010 -0400
29141 move to using richcompare slot instead of compare
29143 https://bugzilla.gnome.org/show_bug.cgi?id=615872
29145 glib/pygiochannel.c | 18 +++++++----
29147 +++++++++++++++++++++++++++++++++++++++++++++++++
29148 glib/pyglib.h | 3 ++
29149 glib/pygmaincontext.c | 17 ++++++----
29150 glib/pygmainloop.c | 17 ++++++----
29151 glib/pygoptioncontext.c | 18 +++++++----
29152 glib/pygoptiongroup.c | 22 +++++++------
29153 gobject/pygboxed.c | 18 +++++++----
29154 gobject/pygobject.c | 44 ++++++++++++++++++-------
29155 gobject/pygparamspec.c | 19 +++++++----
29156 gobject/pygpointer.c | 17 ++++++----
29157 gobject/pygtype.c | 26 +++++++++++----
29158 12 files changed, 233 insertions(+), 71 deletions(-)
29160 commit b426e531dc53d4b50e572a2da19733479635e662
29161 Author: Simon van der Linden <svdlinden@gnome.org>
29162 Date: Thu Aug 12 18:09:33 2010 +0200
29164 Replace autogen.sh by a newer version
29166 It pulls automake 1.10 or 1.11.
29167 Greatly inspired from GLib's.
29169 https://bugzilla.gnome.org/show_bug.cgi?id=625661
29172 +++++++------------------------------------------------------
29173 1 file changed, 58 insertions(+), 448 deletions(-)
29175 commit 769645e00d6d055a4cd802454dbfc1bbfcbee691
29176 Author: Simon van der Linden <svdlinden@gnome.org>
29177 Date: Thu Aug 12 14:11:55 2010 +0200
29181 pyglib.c: In function ‘pyglib_gerror_exception_check’:
29182 pyglib.c:362: warning: format not a string literal and no format
29184 pyglib.c:371: warning: format not a string literal and no format
29187 gio.override: In function 'pygio_notify_allocate_buffer':
29188 gio.override:144:13: warning: format '%d' expects type 'int', but
29192 https://bugzilla.gnome.org/show_bug.cgi?id=625437
29194 gio/gio.override | 2 +-
29195 glib/pyglib.c | 4 ++--
29196 2 files changed, 3 insertions(+), 3 deletions(-)
29198 commit e4c4cccb588b258dbcd21702e6cddcfe9ebe4ffc
29199 Author: Simon van der Linden <svdlinden@gnome.org>
29200 Date: Thu Aug 12 11:09:37 2010 +0200
29202 Fix caller-allocates emergency free.
29204 In the state, args, args[i], arg_infos[i], and arg_type_infos[i]
29206 NULL in order to be able caller-allocates. This patch adds those
29209 Moreover, the interface info needs to be freed afterwards.
29211 https://bugzilla.gnome.org/show_bug.cgi?id=626684
29213 gi/pygi-invoke.c | 9 ++++++++-
29214 1 file changed, 8 insertions(+), 1 deletion(-)
29216 commit 0ab967ca40ddcffc2834d4e656bb2010c6b9bdda
29217 Author: Simon van der Linden <svdlinden@gnome.org>
29218 Date: Thu Aug 12 10:46:17 2010 +0200
29220 Remove useless checks.
29222 No need to check for state->arg_infos, state->arg_type_infos, and
29223 state->args_is_auxiliary to be NULL, they are always allocated.
29225 https://bugzilla.gnome.org/show_bug.cgi?id=626684
29227 gi/pygi-invoke.c | 14 +++-----------
29228 1 file changed, 3 insertions(+), 11 deletions(-)
29230 commit e17be9cd288fee5d7cb174d9d577eb9279044c67
29231 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29232 Date: Tue Aug 10 17:40:16 2010 +0200
29234 Call valgrind with G_SLICE=always-malloc G_DEBUG=gc-friendly
29236 tests/Makefile.am | 2 +-
29237 1 file changed, 1 insertion(+), 1 deletion(-)
29239 commit 8be59c37dd57acc51875c7189ca09d728b729013
29240 Author: Ignacio Casal Quinteiro <icq@gnome.org>
29241 Date: Wed Aug 4 13:43:17 2010 +0200
29245 gi/pygi-argument.c | 2 --
29246 gi/pygi-invoke.c | 2 +-
29247 gi/pygi-struct.c | 1 -
29248 3 files changed, 1 insertion(+), 4 deletions(-)
29250 commit 529eca6054e9a7e2267f1529e317c2373932762f
29251 Author: Simon van der Linden <svdlinden@gnome.org>
29252 Date: Fri Jul 30 22:39:40 2010 +0200
29254 Add myself as a maintainer
29256 MAINTAINERS | 4 ++++
29257 1 file changed, 4 insertions(+)
29259 commit caac75a6ed6f671b37e38a78e71b87906a00ac1b
29260 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29261 Date: Fri Jul 30 14:14:16 2010 +0200
29263 Properly allocate boxed structs that are (caller-allocates)
29265 * gi/pygi-boxed.[hc]: Refactor out the allocation of boxed structs
29266 * gi/pygi-invoke.c: Don't use g_malloc0 for boxed structs that
29267 are (caller-allocates)
29268 * tests/test_overrides.py: Split the TreeView tests
29270 https://bugzilla.gnome.org/show_bug.cgi?id=625653
29272 gi/pygi-boxed.c | 50
29273 ++++++++++++++++++++++++++++++++-----------------
29274 gi/pygi-boxed.h | 10 ++++++----
29275 gi/pygi-invoke.c | 16 ++++++----------
29276 tests/test_overrides.py | 39 +++++++++++++++++++-------------------
29277 4 files changed, 64 insertions(+), 51 deletions(-)
29279 commit 99c7322898c00a576c7319ea0a7c808446253133
29280 Author: Toms Baugis <toms.baugis@gmail.com>
29281 Date: Fri Jul 30 15:44:21 2010 +0200
29283 override gdk.Event to return attribute from the proper event object
29285 https://bugzilla.gnome.org/show_bug.cgi?id=620593
29287 gi/overrides/Gdk.py | 48
29288 ++++++++++++++++++++++++++++++++++++++++++++++++
29289 gi/pygi-invoke.c | 4 ----
29290 tests/test_overrides.py | 10 ++++++++++
29291 3 files changed, 58 insertions(+), 4 deletions(-)
29293 commit 55814e722c2ae11310f346790c9221e4fad92b50
29294 Author: John (J5) Palmieri <johnp@redhat.com>
29295 Date: Fri Jul 30 06:30:48 2010 -0400
29297 check if z# needs an int or Py_ssize_t
29299 https://bugzilla.gnome.org/show_bug.cgi?id=625438
29301 gio/gio.override | 5 +++++
29302 1 file changed, 5 insertions(+)
29304 commit 477315465d0a6d84b51e146e86e254873bc564ff
29305 Author: John (J5) Palmieri <johnp@redhat.com>
29306 Date: Fri Jul 30 06:43:06 2010 -0400
29308 make sure we parse parameters to python object vars not glib vars
29310 * py_flags was already set up but due to a typo &flags was being
29314 https://bugzilla.gnome.org/show_bug.cgi?id=625438
29316 gio/gfile.override | 8 ++++----
29317 1 file changed, 4 insertions(+), 4 deletions(-)
29319 commit faa7d4eece7ddb698725098970c2478a3b45c4d5
29320 Author: Paul Bolle <pebolle@tiscali.nl>
29321 Date: Fri Jul 30 10:56:01 2010 +0200
29323 Make an example and a demo work out of the box
29325 cairo-demo.py and gtk-demo.py need the two (kind of) magic lines
29326 regarding pygtk to work out of the box. So add those.
29328 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
29330 https://bugzilla.gnome.org/show_bug.cgi?id=625638
29332 demos/gtk-demo/gtk-demo.py | 2 ++
29333 examples/cairo-demo.py | 2 ++
29334 2 files changed, 4 insertions(+)
29336 commit c9da5782e6c633d9af43ee85075e9ee65db09780
29337 Author: John (J5) Palmieri <johnp@redhat.com>
29338 Date: Fri Jul 9 13:14:42 2010 -0400
29340 make sure caller allocated structs are freed when they go out of scope
29342 * Move struct transfer checks from pygi-arguments to pygi-invoke
29343 * add better warning if an unknown struct is fully transfered
29344 * only free GValues we create in the invoke cleanup. All other
29346 get cleaned up when they go out of scope in python
29347 * Fixes issues with caller allocated treeiters getting freed to early
29348 * this is a fix to crashes in the current test suite when API's
29350 TreeIters were annotated as out caller-allocates so no new tests
29353 https://bugzilla.gnome.org/show_bug.cgi?id=623969
29355 gi/pygi-argument.c | 13 +++++--------
29356 gi/pygi-invoke.c | 46 ++++++++++++++++++++++++++++++++++++++++------
29357 2 files changed, 45 insertions(+), 14 deletions(-)
29359 commit e0a85305cd107aae5902e524afd074cd8c329927
29360 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29361 Date: Fri Jul 30 10:35:33 2010 +0200
29363 Revert "override gdk.Event to return attribute from the proper
29366 Pushed by mistake, we still need testcases
29368 This reverts commit e7bb3954880568884ca66e7751ede689dc2f24f6.
29370 gi/overrides/Gdk.py | 44 --------------------------------------------
29371 1 file changed, 44 deletions(-)
29373 commit 61ffb8d6d08fcfe638f71ea97ceac3a366e5536d
29374 Author: Paul Bolle <pebolle@tiscali.nl>
29375 Date: Thu Jul 29 22:55:28 2010 +0200
29377 PyGI: properly quit cairo-demo
29379 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
29381 https://bugzilla.gnome.org/show_bug.cgi?id=625619
29383 examples/cairo-demo.py | 2 +-
29384 1 file changed, 1 insertion(+), 1 deletion(-)
29386 commit e7bb3954880568884ca66e7751ede689dc2f24f6
29387 Author: Toms Baugis <toms.baugis@gmail.com>
29388 Date: Tue Jul 27 21:37:16 2010 +0200
29390 override gdk.Event to return attribute from the proper event object.
29392 https://bugzilla.gnome.org/show_bug.cgi?id=620593
29394 gi/overrides/Gdk.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
29395 1 file changed, 44 insertions(+)
29397 commit 0a9f1da052fd33dcef81d0e267fc7972f02c7888
29398 Author: Simon van der Linden <svdlinden@gnome.org>
29399 Date: Wed Jul 28 14:56:00 2010 +0200
29401 Clean and improve the test infrastructure
29403 To run select tests, use for instance:
29404 % make check TEST_NAMES='test_everything test_gi.TestConstant'
29406 It works with check.gdb and check.valgrind too.
29408 https://bugzilla.gnome.org/show_bug.cgi?id=625488
29410 Makefile.am | 5 ----
29411 tests/Makefile.am | 65
29412 +++++++++++++++++++++-------------------------
29413 tests/common.py | 47 ---------------------------------
29414 tests/runtests.py | 43 ++++++++++++------------------
29415 tests/test_gcancellable.py | 4 +--
29416 tests/test_gi.py | 3 ---
29417 tests/test_gicon.py | 3 ++-
29418 tests/test_gio.py | 3 ++-
29419 tests/test_gobject.py | 3 ++-
29420 tests/test_gresolver.py | 4 +--
29421 tests/test_gsocket.py | 4 ++-
29422 tests/test_interface.py | 6 ++++-
29423 tests/test_mainloop.py | 11 +++-----
29424 tests/test_signal.py | 4 ++-
29425 tests/test_source.py | 4 +--
29426 tests/test_subprocess.py | 5 +---
29427 tests/test_thread.py | 5 +++-
29428 tests/test_unknown.py | 5 +++-
29429 18 files changed, 82 insertions(+), 142 deletions(-)
29431 commit 82f4cb5ebf5d992493b7a2f74cfd5f175e19eb76
29432 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29433 Date: Thu Jul 29 12:34:19 2010 +0200
29435 Add some more transformations to pygi-convert.sh
29437 pygi-convert.sh | 37 +++++++++++++++++++++++++++++--------
29438 1 file changed, 29 insertions(+), 8 deletions(-)
29440 commit de519adcd21947a0aef7932cdecb78cef200c85e
29441 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29442 Date: Wed Jul 28 14:42:36 2010 +0200
29444 Adapt to API changes: g_irepository_enumerate_versions
29446 gi/importer.py | 2 +-
29447 gi/pygi-repository.c | 12 ++++++------
29448 2 files changed, 7 insertions(+), 7 deletions(-)
29450 commit 01cd9abb43f93f9a57a5a05b6dc9560614e666e3
29451 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29452 Date: Wed Jul 28 12:26:48 2010 +0200
29454 Add GValue<->GArgument marshalling for some more types
29456 gi/pygi-property.c | 37 ++++++++++++++++++++++++++++++++++++-
29457 1 file changed, 36 insertions(+), 1 deletion(-)
29459 commit ddffa70c3ee0e837070f390632bc692430f79171
29460 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29461 Date: Wed Jul 28 11:10:42 2010 +0200
29463 Chain up with the non-introspection implementation for properties
29466 gobject/pygobject.c | 7 ++++++-
29467 1 file changed, 6 insertions(+), 1 deletion(-)
29469 commit 045433a1f8167205dc8eae613dcb8835d02c8916
29470 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29471 Date: Wed Jul 28 10:59:49 2010 +0200
29473 Improve error reporting for missing attributes in introspection
29476 gi/module.py | 4 ++--
29477 1 file changed, 2 insertions(+), 2 deletions(-)
29479 commit 6655a79b2f13fe417aefdf6aebab0f2d6162ba00
29480 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29481 Date: Tue Jul 27 21:52:49 2010 +0200
29483 Implement getting and setting properties using introspection
29486 This allows us to use information not present in GObject such as
29487 transfer and element types.
29489 https://bugzilla.gnome.org/show_bug.cgi?id=620808
29491 gi/Makefile.am | 2 +
29492 gi/gimodule.c | 2 +
29493 gi/pygi-argument.c | 2 +
29494 gi/pygi-private.h | 1 +
29495 gi/pygi-property.c | 226
29496 +++++++++++++++++++++++++++++++++++++++++++++++
29497 gi/pygi-property.h | 39 ++++++++
29498 gi/pygi.h | 41 +++++++++
29499 gobject/pygobject.c | 9 ++
29500 tests/test_everything.py | 19 ++++
29501 9 files changed, 341 insertions(+)
29503 commit 85f4572b3ffbfa364ebb2e470eab759edc557b36
29504 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29505 Date: Tue Jul 27 21:32:41 2010 +0200
29507 Readd Gdk.Rectangle override for Gtk-2.0
29509 gi/overrides/Gdk.py | 19 +++++++++++++++++++
29510 1 file changed, 19 insertions(+)
29512 commit 2082ee35e2a33f52bf1e8ec49cb4a43398e91989
29513 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29514 Date: Tue Jul 27 18:25:27 2010 +0200
29516 Allow specifying a version when loading a typelib
29518 * gi/importer.py: Defer loading the typelib until first usage.
29519 * gi/module.py: Load the typelib in IntrospectionModule().
29520 * gi/overrides/*.py: Adapt to API change.
29521 * gi/pygi-repository.c: Add wrappers for g_irepository_enumerate and
29522 g_irepository_get_version.
29524 gi/importer.py | 26 ++++++-----------
29526 +++++++++++++++++++++++++-------------
29527 gi/overrides/GIMarshallingTests.py | 2 +-
29528 gi/overrides/Gdk.py | 2 +-
29529 gi/overrides/Gtk.py | 2 +-
29530 gi/pygi-repository.c | 56
29531 +++++++++++++++++++++++++++++++++++-
29532 6 files changed, 105 insertions(+), 41 deletions(-)
29534 commit 6d7ed6c322234c240b1063a1dfaadd17157432a9
29535 Author: Jonathan Matthew <jonathan@d14n.org>
29536 Date: Tue Jul 13 20:27:28 2010 +1000
29538 treat GFreeFunc as equivalent to GDestroyNotify when scanning
29541 https://bugzilla.gnome.org/show_bug.cgi?id=624232
29543 gi/pygi-callbacks.c | 3 ++-
29544 1 file changed, 2 insertions(+), 1 deletion(-)
29546 commit 7e9cbd5601ad548b78d106bac1a1576d33b91c65
29547 Author: Simon van der Linden <svdlinden@gnome.org>
29548 Date: Mon Jul 26 17:00:23 2010 +0200
29550 Don't use == to compare doubles, use <= and =>.
29552 This avoids inequality due to small precisions difference.
29554 https://bugzilla.gnome.org/show_bug.cgi?id=625326
29556 tests/testhelpermodule.c | 2 +-
29557 1 file changed, 1 insertion(+), 1 deletion(-)
29559 commit 5ca2a41f16f4a5fcc3ab4d00bec46b077c7eb384
29560 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29561 Date: Thu Jul 8 11:36:12 2010 +0200
29563 Allow passing ints as enum args
29565 https://bugzilla.gnome.org/show_bug.cgi?id=622584
29567 gi/pygi-argument.c | 23 +++++++++++++++++++++--
29568 tests/test_gi.py | 6 ++++--
29569 2 files changed, 25 insertions(+), 4 deletions(-)
29571 commit 890c3233f8a9f884b045a294bf0122bb3afcd54a
29572 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29573 Date: Sun Jul 25 17:30:40 2010 +0100
29575 Make error message less ambiguous
29577 https://bugzilla.gnome.org/show_bug.cgi?id=625095
29579 gi/pygi-callbacks.c | 3 ++-
29580 1 file changed, 2 insertions(+), 1 deletion(-)
29582 commit 1162e436273ff8e9e4e24bd8ba74615fd4624753
29583 Author: John (J5) Palmieri <johnp@redhat.com>
29584 Date: Thu Jun 24 10:07:12 2010 -0400
29586 fix passing in type names as a GType and add gtype unit tests
29588 * a simple call to pyg_type_from_object covers all the bases
29589 * added unit tests to check for correct GType value passing
29590 * fixed up tree override tests to also check different ways of
29593 https://bugzilla.gnome.org/show_bug.cgi?id=622605
29595 gi/pygi-argument.c | 8 +-------
29596 tests/test_everything.py | 27 +++++++++++++++++++++++++++
29597 tests/test_overrides.py | 6 ++----
29598 3 files changed, 30 insertions(+), 11 deletions(-)
29600 commit 8becd32fc042445d62b885bac12dac326b2dc1fa
29601 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29602 Date: Mon Jul 26 11:54:47 2010 +0200
29604 Increase a bit verbosity of tests so people know which test failed
29606 tests/runtests.py | 2 +-
29607 1 file changed, 1 insertion(+), 1 deletion(-)
29609 commit 3b3c63514f311592e6769a373d37a2bde7ea6b38
29610 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29611 Date: Thu Jul 15 15:17:53 2010 +0200
29613 Actually add the files for GVariant foreign structs
29615 gi/pygi-foreign-gvariant.c | 63
29616 ++++++++++++++++++++++++++++++++++++++++++++++
29617 gi/pygi-foreign-gvariant.h | 41 ++++++++++++++++++++++++++++++
29618 2 files changed, 104 insertions(+)
29620 commit e65275bc57f345c111eb12a6b4476ff1ddc3bc24
29621 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29622 Date: Thu Jul 15 13:31:33 2010 +0200
29624 Add foreign struct support for GVariant
29626 * gi/pygi-invoke.c: Wrap foreign structs returned by constructors
29627 * gi/pygi-foreign.c: Register foreign support for GVariant
29628 * gi/pygi-struct.c: properly release foreign structs
29629 * gi/pygi-argument.c, gi/pygi-foreign-cairo.c, gi/pygi.h: Adapt to
29631 * tests/test_everything.py: Add basic tests for GVariant
29633 https://bugzilla.gnome.org/show_bug.cgi?id=619501
29635 gi/Makefile.am | 2 +
29636 gi/pygi-argument.c | 2 +-
29637 gi/pygi-foreign-cairo.c | 16 +++----
29638 gi/pygi-foreign.c | 107
29639 +++++++++++++++++++++++++++++------------------
29640 gi/pygi-foreign.h | 7 ++--
29641 gi/pygi-invoke.c | 18 ++++----
29642 gi/pygi-struct.c | 10 ++++-
29644 tests/test_everything.py | 8 ++++
29645 9 files changed, 110 insertions(+), 69 deletions(-)
29647 commit 3b3bd4da3fbc993fa7f7cfb46ed4e67671c94cc0
29648 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29649 Date: Mon Jul 12 11:19:06 2010 +0200
29651 Add HACKING to MANIFEST.in
29654 1 file changed, 1 insertion(+), 1 deletion(-)
29656 commit 40bf08ff001b119c7daf709197005ef6480216c5
29657 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29658 Date: Mon Jul 12 11:18:04 2010 +0200
29660 Add HACKING file with instructions for releasing
29662 HACKING | 14 ++++++++++++++
29663 1 file changed, 14 insertions(+)
29665 commit 3b9dffe7cc3820dfb84fd968fc604899601c5dc4
29666 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29667 Date: Mon Jul 12 11:09:58 2010 +0200
29669 Post release version bump to 2.21.6
29671 configure.ac | 2 +-
29672 1 file changed, 1 insertion(+), 1 deletion(-)
29674 commit 42a5a0897b38156ae010c396ea254abf502f35de
29675 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29676 Date: Mon Jul 12 11:00:29 2010 +0200
29678 Update NEWS and release PyGObject-2.21.5
29680 NEWS | 17 +++++++++++++++++
29681 1 file changed, 17 insertions(+)
29683 commit 5857f25c1c6e25b79e6134558bd7151bc6c30ef7
29684 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29685 Date: Mon Jul 12 11:00:20 2010 +0200
29687 Pre-release version bump to 2.21.5
29689 configure.ac | 2 +-
29690 1 file changed, 1 insertion(+), 1 deletion(-)
29692 commit e500adc3ac19ef6f436809e5a8828ac7e8db28f6
29693 Author: Florian Müllner <florian.muellner@gmail.com>
29694 Date: Sat Jul 10 22:35:13 2010 +0200
29696 Shut up some compiler warnings
29698 Remove unused variables, make sure variables are properly initialized.
29700 https://bugzilla.gnome.org/show_bug.cgi?id=624066
29702 gi/pygi-callbacks.c | 1 -
29703 gi/pygi-closure.c | 2 +-
29704 gi/pygi-invoke.c | 1 -
29705 3 files changed, 1 insertion(+), 3 deletions(-)
29707 commit 2efa18afbcc2fac1c90958535b2f80e6e730ee56
29708 Author: =?UTF-8?q?Florian=20M=C3=BCllner?= <florian.muellner@gmail.com>
29709 Date: Mon Jul 12 10:31:42 2010 +0200
29711 Adjust to API break in GObject-Introspection
29713 As of commit 5cb925b20, many type_tags for standard C types have
29714 been removed - namely machine-dependent integer types and derived
29715 types (size_t, time_t).
29717 Most removals are just synonyms of other types, so their removal
29718 should not have too much impact, with the exception of time_t,
29719 which was translated to a native datetime object before.
29721 Also remove time_t tests (Tomeu Vizoso).
29723 https://bugzilla.gnome.org/show_bug.cgi?id=624065
29725 configure.ac | 2 +-
29726 gi/importer.py | 7 +--
29727 gi/pygi-argument.c | 146
29728 -----------------------------------------------------
29729 gi/pygi-closure.c | 10 ----
29730 gi/pygi-info.c | 37 --------------
29731 tests/test_gi.py | 21 --------
29732 6 files changed, 5 insertions(+), 218 deletions(-)
29734 commit 27a417c71f8c122e46c7472663bb25c17413f103
29735 Author: John (J5) Palmieri <johnp@redhat.com>
29736 Date: Thu Jul 8 16:01:25 2010 -0400
29738 pass in the demo app so demos can use utility methods like requesting
29741 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
29742 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
29743 demos/gtk-demo/demos/appwindow.py | 13 +++++++++++--
29744 demos/gtk-demo/demos/assistant.py | 2 +-
29745 demos/gtk-demo/demos/builder.py | 14 ++++++++++----
29746 demos/gtk-demo/demos/button_box.py | 2 +-
29747 demos/gtk-demo/demos/clipboard.py | 8 +-------
29748 demos/gtk-demo/demos/colorselector.py | 2 +-
29749 demos/gtk-demo/demos/combobox.py | 8 +++++---
29750 demos/gtk-demo/demos/drawingarea.py | 2 +-
29751 demos/gtk-demo/demos/test.py | 2 +-
29752 demos/gtk-demo/gtk-demo.py | 6 +++---
29753 12 files changed, 37 insertions(+), 26 deletions(-)
29755 commit e7daae919c2c6ae35d3927f0006252aacd49ea86
29756 Author: John (J5) Palmieri <johnp@redhat.com>
29757 Date: Thu Jul 8 15:38:07 2010 -0400
29759 demo fixes to keep up with Gtk+
29761 * treeiter changes to reflect caller-allocate annotations
29762 * fix some flag handling
29763 * use get_indicies_with_depth instead of get_indices for paths
29765 demos/gtk-demo/demos/appwindow.py | 10 +++++++---
29766 demos/gtk-demo/demos/combobox.py | 24 ++++++++++++------------
29767 demos/gtk-demo/gtk-demo.py | 13 +++++--------
29768 3 files changed, 24 insertions(+), 23 deletions(-)
29770 commit 3d9fd6391710cc33058394d6821e4d4e11f09b22
29771 Author: John (J5) Palmieri <johnp@redhat.com>
29772 Date: Thu Jul 8 12:54:43 2010 -0400
29774 override test fixes for new GTK+ annotations
29776 tests/test_overrides.py | 23 +++++++++++++----------
29777 1 file changed, 13 insertions(+), 10 deletions(-)
29779 commit 7a400f8139b70ddfe7c949035e0851689951c647
29780 Author: Ignacio Casal Quinteiro <icq@gnome.org>
29781 Date: Thu Jul 8 12:42:25 2010 +0200
29785 gi/pygi-argument.c | 4 ++--
29786 1 file changed, 2 insertions(+), 2 deletions(-)
29788 commit 39fd0a85a3de06b1b877d1125f91036409886373
29789 Author: John (J5) Palmieri <johnp@redhat.com>
29790 Date: Wed Jul 7 15:48:36 2010 -0400
29792 fix up treeiter usage due to caller-allocates annotations in gtk+
29794 * we still don't pass tests because the caller-allocates code path
29796 handle the case where the parameter is followed by a regular
29799 gi/overrides/Gtk.py | 7 +++----
29800 tests/test_overrides.py | 21 +++++++++++----------
29801 2 files changed, 14 insertions(+), 14 deletions(-)
29803 commit 4d970b75dc5c75c1bec04cb2954c9985b476070c
29804 Author: John (J5) Palmieri <johnp@redhat.com>
29805 Date: Tue Jul 6 17:50:10 2010 -0400
29807 add entry completion demo
29809 demos/gtk-demo/demos/Entry/entry_completion.py | 87
29810 ++++++++++++++++++++++++++
29811 1 file changed, 87 insertions(+)
29813 commit f3531eaa1bfa4e01651d35cd587384d30a398ba8
29814 Author: John (J5) Palmieri <johnp@redhat.com>
29815 Date: Tue Jul 6 17:49:18 2010 -0400
29819 demos/gtk-demo/demos/Entry/entry_buffer.py | 4 ++--
29820 1 file changed, 2 insertions(+), 2 deletions(-)
29822 commit baf1e9bb550c7bf45e2ac0b70ba29c434ef1ccc6
29823 Author: John (J5) Palmieri <johnp@redhat.com>
29824 Date: Tue Jul 6 17:27:04 2010 -0400
29826 add the Entry demo directory and the entry_buffer demo
29828 demos/gtk-demo/demos/Entry/__init__.py | 0
29829 demos/gtk-demo/demos/Entry/entry_buffer.py | 73
29830 ++++++++++++++++++++++++++++++
29831 2 files changed, 73 insertions(+)
29833 commit f2b1d222120f055bec9339cca55c9cc90f538c00
29834 Author: John (J5) Palmieri <johnp@redhat.com>
29835 Date: Tue Jul 6 17:26:03 2010 -0400
29837 fix loading of demo modules to support sub modules
29839 demos/gtk-demo/gtk-demo.py | 9 +++++++--
29840 1 file changed, 7 insertions(+), 2 deletions(-)
29842 commit 4f9390fb1892b13ab2ea00ed66c5000a40f09029
29843 Author: John (J5) Palmieri <johnp@redhat.com>
29844 Date: Tue Jul 6 15:56:34 2010 -0400
29846 add the ability to have demos in sub catagories
29848 demos/gtk-demo/gtk-demo.py | 76
29849 ++++++++++++++++++++++++++++++++--------------
29850 1 file changed, 54 insertions(+), 22 deletions(-)
29852 commit dc2249a3ecf339008351316217191d0551ccc588
29853 Author: Jose Aliste <jaliste@src.gnome.org>
29854 Date: Mon Jul 5 14:36:59 2010 -0400
29856 Add __name__ to DynamicModule class.
29861 1 file changed, 1 insertion(+)
29863 commit 2357bca8d14539894b6bd0acfdc18d30b4bb4db6
29864 Author: Ignacio Casal Quinteiro <icq@gnome.org>
29865 Date: Mon Jul 5 16:11:07 2010 +0200
29867 Do not override GdkRectangle.
29869 This class was lately removed from gtk+ 3, so there is no need
29873 gi/overrides/Gdk.py | 19 -------------------
29874 1 file changed, 19 deletions(-)
29876 commit daca09dc2c2306d4fa82a68bbdd147d4b170a1e7
29877 Author: Philip Withnall <philip.withnall@collabora.co.uk>
29878 Date: Tue Jun 29 16:37:36 2010 +0100
29880 Add override for TreeModel implementing __len__()
29884 gi/overrides/Gtk.py | 11 +++++++++--
29885 tests/test_overrides.py | 5 +++++
29886 2 files changed, 14 insertions(+), 2 deletions(-)
29888 commit bb8adb7f02f0c5494df2cb6e535e44d23902e8f5
29889 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29890 Date: Tue Jun 29 11:27:13 2010 +0200
29892 Update NEWS and release PyGObject-2.21.4
29894 NEWS | 27 +++++++++++++++++++++++++--
29895 1 file changed, 25 insertions(+), 2 deletions(-)
29897 commit 2d473ee17be4671244bb4a2a0953a21ccf2a0df6
29898 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29899 Date: Tue Jun 29 10:55:03 2010 +0200
29901 Remove files from the makefiles
29903 gi/Makefile.am | 4 +---
29904 gobject/Makefile.am | 3 +--
29905 2 files changed, 2 insertions(+), 5 deletions(-)
29907 commit 89827314fd183eac07443c8e9d275ca9d4ce59df
29908 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29909 Date: Tue Jun 29 10:27:39 2010 +0200
29911 Build the cairo shim as a python module so the _gi module stops
29914 https://bugzilla.gnome.org/show_bug.cgi?id=623021
29917 gi/Makefile.am | 38 ++++++++++-----
29918 gi/gimodule.c | 8 +---
29919 gi/pygi-argument.c | 10 +---
29920 gi/pygi-foreign-cairo.c | 56 ++++++++++++++++------
29921 gi/pygi-foreign-cairo.h | 55 ---------------------
29922 gi/pygi-foreign.c | 125
29923 ++++++++++++++++++++++++++++--------------------
29924 gi/pygi-foreign.h | 31 ++++++------
29925 gi/pygi.h | 40 ++++++++++++++--
29926 9 files changed, 196 insertions(+), 169 deletions(-)
29928 commit a6a90551311bc64f037cbd442e13f70c30060871
29929 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29930 Date: Mon Jun 28 14:20:43 2010 +0200
29932 Remove pygi-external.h
29934 https://bugzilla.gnome.org/show_bug.cgi?id=623021
29936 gi/gimodule.c | 8 +++---
29937 gi/pygi-type.c | 4 +--
29938 gi/pygi-type.h | 2 +-
29939 gi/pygi.h | 54 ++++++++++++++++-----------------------
29940 gobject/Makefile.am | 6 +++++
29941 gobject/pygboxed.c | 2 +-
29942 gobject/pygenum.c | 2 +-
29943 gobject/pygflags.c | 2 +-
29944 gobject/pygi-external.h | 67
29945 -------------------------------------------------
29946 gobject/pygobject.c | 2 +-
29947 gobject/pygpointer.c | 2 +-
29948 11 files changed, 40 insertions(+), 111 deletions(-)
29950 commit 8b3a3baacb45cb3f9112f7597607602fa89c6634
29951 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29952 Date: Fri Jun 25 13:54:57 2010 +0200
29954 Revert "correctly handle floating objects in gtk"
29956 This reverts commit 60fdf4b8f738dd0f5c190bc18ddf010032d3c5ca.
29961 tests/test_everything.py
29963 gi/gimodule.c | 13 -------------
29964 tests/test_everything.py | 3 ++-
29965 2 files changed, 2 insertions(+), 14 deletions(-)
29967 commit 0f2a09d7eae63abb71723b7cd8fb290dcba33426
29968 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29969 Date: Fri Jun 25 13:49:04 2010 +0200
29971 Make valgrind happy again
29973 * gi/pygi-argument.c, gi/pygi-info.c: Zero two GArgument instances.
29974 * gi/pygi-invoke.c: workaround bgo#622711 and zero invocation_state.
29976 gi/pygi-argument.c | 1 +
29977 gi/pygi-info.c | 2 ++
29978 gi/pygi-invoke.c | 8 ++++++--
29979 3 files changed, 9 insertions(+), 2 deletions(-)
29981 commit 63afe55906c8637e913783e65b82b540b81bed65
29982 Author: John (J5) Palmieri <johnp@redhat.com>
29983 Date: Thu Jun 24 16:13:37 2010 -0400
29985 add drawing area demo
29987 demos/gtk-demo/demos/drawingarea.py | 249
29988 ++++++++++++++++++++++++++++++++++++
29989 1 file changed, 249 insertions(+)
29991 commit 8bba5f842393a284367cdd15f3d32a8c7745516a
29992 Author: John (J5) Palmieri <johnp@redhat.com>
29993 Date: Thu Jun 24 14:11:00 2010 -0400
29997 demos/gtk-demo/gtk-demo.py | 2 ++
29998 1 file changed, 2 insertions(+)
30000 commit b9da82742701ed276b01dee39626cd71cbef8556
30001 Author: John (J5) Palmieri <johnp@redhat.com>
30002 Date: Thu Jun 24 13:56:18 2010 -0400
30004 rename iter to treeiter so we aren't using a python reserved word
30006 demos/gtk-demo/gtk-demo.py | 12 ++++++------
30007 1 file changed, 6 insertions(+), 6 deletions(-)
30009 commit c93935621f2fb1ff5e8c424ae884bd684ea68e50
30010 Author: John (J5) Palmieri <johnp@redhat.com>
30011 Date: Thu Jun 24 13:47:54 2010 -0400
30013 Fixup for change in buffer API
30015 * Part of buffer API dealing with TextIter now marked (out
30018 demos/gtk-demo/gtk-demo.py | 10 ++++------
30019 1 file changed, 4 insertions(+), 6 deletions(-)
30021 commit 8d9516a593a515290109401a9db7aa259b5aa35c
30022 Author: John (J5) Palmieri <johnp@redhat.com>
30023 Date: Wed Jun 23 17:04:33 2010 -0400
30025 add ListStore, TreeStore and TreeViewColumn APIs
30027 * this is enough to support the gtk-demo.py shell
30028 * TreeStore and ListStore allow passing in as an argument list
30029 of either python or GLib types to the constructor as a description
30030 of the columns in the model
30031 * TreeStore and ListStore override the append method, allowing
30032 the application developer to send in a list of column values
30033 for one row in the model. Unlike the append in C which
30034 just returns an iter that you can then add data to,
30035 this append actualy appends data in one step
30036 * TreeViewColumn overrides the constructor to allow the adding
30037 of attributes and a cell renderer when constructing the
30040 https://bugzilla.gnome.org/show_bug.cgi?id=620405
30042 gi/overrides/Gtk.py | 59 ++++++++++++++++++++++++++++++++++++++++++
30043 tests/test_overrides.py | 69
30044 +++++++++++++++++++++++++++++++++++++++++++++++++
30045 2 files changed, 128 insertions(+)
30047 commit c305fbeb7bdb44623d5198f4a8f0a374d529fdf4
30048 Author: Johan Dahlin <johan@gnome.org>
30049 Date: Wed Jun 23 14:34:28 2010 -0300
30051 [gi] Add -I../gobject to cflags
30053 Since we're no longer pulling in pygobject cflags,
30054 add this to be able to include pygobject.h
30056 gi/Makefile.am | 3 +++
30057 1 file changed, 3 insertions(+)
30059 commit 53a093198851e3ba5abd1f6c3314737decd401d8
30060 Author: Ignacio Casal Quinteiro <icq@gnome.org>
30061 Date: Wed Jun 23 18:09:19 2010 +0200
30063 Add unit test for add_actions user data.
30065 tests/test_overrides.py | 20 +++++++++++++++-----
30066 1 file changed, 15 insertions(+), 5 deletions(-)
30068 commit 7f829af620cba768de619dd9f228d5d2ebf7fee4
30069 Author: Paolo Borelli <pborelli@gnome.org>
30070 Date: Wed Jun 23 18:06:46 2010 +0200
30072 Pass user_data param when adding actions
30074 gi/overrides/Gtk.py | 12 ++++++------
30075 1 file changed, 6 insertions(+), 6 deletions(-)
30077 commit 8f537ccd62f41ebe0db3853e2ae08080666f598f
30078 Author: John (J5) Palmieri <johnp@redhat.com>
30079 Date: Wed Jun 23 12:02:04 2010 -0400
30081 add an exception type to the try/except block
30083 * we should always specify what exception types we are expecting
30085 gi/overrides/Gtk.py | 6 +++---
30086 1 file changed, 3 insertions(+), 3 deletions(-)
30088 commit f140a8ebf59347162b67b550bd6f62d2eafad29a
30089 Author: Johan Dahlin <johan@gnome.org>
30090 Date: Wed Jun 23 12:31:51 2010 -0300
30092 Avoid duplicating required versions
30094 Avoid duplicating the version of all required packages.
30095 Also remove cyclic dependency of pygobject
30097 https://bugzilla.gnome.org/show_bug.cgi?id=622503
30099 configure.ac | 9 +++++----
30100 1 file changed, 5 insertions(+), 4 deletions(-)
30102 commit e8bd25355fbe7de38a28b7a0583167a2c0ffc31f
30103 Author: John (J5) Palmieri <johnp@redhat.com>
30104 Date: Tue Jun 22 15:03:08 2010 -0400
30106 return PyList instead of PyTuple for array, return empty list for
30109 * returns an empty list when a NULL array (empty array) is encountered
30110 * fix tests to check for lists instead of tuples or None
30111 * test the ability to send in both None and empty list for arrays
30114 gi/pygi-argument.c | 7 ++--
30115 tests/test_everything.py | 5 ++-
30116 tests/test_gi.py | 84
30117 ++++++++++++++++++++++++------------------------
30118 3 files changed, 49 insertions(+), 47 deletions(-)
30120 commit f312e6a49505eca07815146cfbdb0e48e5b3b8a8
30121 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30122 Date: Wed Jun 23 15:42:29 2010 +0200
30124 Fix 'make distcheck'
30126 * Makefile.am: put the tests dir to the end
30127 * g*/Makefile.am: build the .so when running make check
30128 * tests/Makefile.am: Don't pass the src dir to runtests.py and
30129 remove (hopefully) unneeded cruft.
30130 * tests/common.py: Don't add the src dir to the python path
30131 * tests/runtests.py: Don't pass the src dir to common.py
30133 Makefile.am | 4 +++-
30134 gi/Makefile.am | 1 +
30135 gio/Makefile.am | 1 +
30136 glib/Makefile.am | 2 +-
30137 gobject/Makefile.am | 1 +
30138 tests/Makefile.am | 17 ++---------------
30139 tests/common.py | 3 +--
30140 tests/runtests.py | 12 +++++-------
30141 8 files changed, 15 insertions(+), 26 deletions(-)
30143 commit 5f82e7d2909cbbbecbf5dbee2342f516c0d1f371
30144 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30145 Date: Wed Jun 23 13:59:14 2010 +0200
30147 Allow building pygobject without introspection support by providing
30148 --disable-introspection to configure.
30150 Makefile.am | 6 +++++-
30151 configure.ac | 15 ++++++++-------
30152 gobject/pygi-external.h | 4 ++--
30153 tests/Makefile.am | 8 ++++++--
30154 tests/runtests.py | 21 +++++++--------------
30155 5 files changed, 28 insertions(+), 26 deletions(-)
30157 commit cc3ea77318ee572673d2a044deca9001366b0f08
30158 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30159 Date: Wed Jun 23 12:26:51 2010 +0200
30161 Make sure that sys.argv is a list and not a sequence.
30163 Because Python's optparse will try to do things on it that can
30164 only be done with list.
30166 gi/overrides/Gtk.py | 2 +-
30167 1 file changed, 1 insertion(+), 1 deletion(-)
30169 commit 3d72b8248cc534a689dee5679a729b2fba56c528
30170 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30171 Date: Wed Jun 23 12:26:02 2010 +0200
30173 Force loading the GObject typelib so we have available the wrappers
30174 for base classes such as GInitiallyUnowned.
30176 gi/__init__.py | 3 +++
30177 1 file changed, 3 insertions(+)
30179 commit c7c94ef349c30597f2f10d90f74718d678ec7add
30180 Author: John (J5) Palmieri <johnp@redhat.com>
30181 Date: Tue Jun 22 14:45:48 2010 -0400
30183 we shouldn't g_array_free NULL pointers
30185 https://bugzilla.gnome.org/show_bug.cgi?id=622425
30187 gi/pygi-info.c | 5 +++--
30188 1 file changed, 3 insertions(+), 2 deletions(-)
30190 commit fb1ee243493616d7a7e4f6924c574db39f5a423d
30191 Merge: acf7b43 5f9cb91
30192 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30193 Date: Wed Jun 23 12:53:05 2010 +0200
30195 Merge branch 'pygi'
30197 commit 5f9cb91c2b3851056d5e2d7ff1401d4ce2be7c1f
30198 Author: John (J5) Palmieri <johnp@redhat.com>
30199 Date: Tue Jun 22 15:39:46 2010 -0400
30201 remove unneeded TextIter creation in the tests
30203 tests/test_overrides.py | 3 ---
30204 1 file changed, 3 deletions(-)
30206 commit 53c355d2cc0894e7f551e9b4eb719b89188a978e
30207 Author: John (J5) Palmieri <johnp@redhat.com>
30208 Date: Mon Jun 21 11:42:12 2010 -0400
30210 add override for TextBuffer
30212 * TextBuffer.create_tag takes vargs which we can't bind yet so
30214 to except a keyword list of properties
30215 * override the insert* methods so the developer does not have to
30217 - lengths are already encapsulated by a string in Python
30219 https://bugzilla.gnome.org/show_bug.cgi?id=620583
30221 gi/overrides/Gtk.py | 51
30222 +++++++++++++++++++++++++++++++++++++++++++++++++
30223 tests/test_overrides.py | 25 ++++++++++++++++++++++++
30224 2 files changed, 76 insertions(+)
30226 commit 1d89a88b212c7411ad28e74eda80ae751de92e50
30227 Author: John (J5) Palmieri <johnp@redhat.com>
30228 Date: Tue Jun 22 12:46:39 2010 -0400
30230 fix up some build issues
30232 * configure.ac: moved AM_PROG_CC_C_O below AM_PROG_CC_STDC because
30234 was complaining that AM_PROG_CC_STDC can't come after AM_PROC_CC_C_0
30235 * tests/Makefile.am: fix check-local target to use EXEC_NAME so
30237 make check.gdb work
30239 configure.ac | 2 +-
30240 tests/Makefile.am | 2 +-
30241 2 files changed, 2 insertions(+), 2 deletions(-)
30243 commit 4fe0d94c219deb69a2309693202309c53a0e5e69
30244 Author: John (J5) Palmieri <johnp@redhat.com>
30245 Date: Tue Jun 22 11:50:30 2010 -0400
30247 make the overrides file git friendly by appending to __all__ after
30250 * modifying the __all__ line for each override would confuse git as
30251 each override needs to get seperate approval before comitting.
30253 this commits would not always go in in the same order as they
30255 Also different people working on the same file would start from
30257 commit states. This caused conflicts when patches were merged.
30258 * instead of modifying a single hard coded list we now append to
30260 after each override. This creates distinct blocks of changed text
30261 which will not conflict
30263 gi/overrides/GIMarshallingTests.py | 10 ++++------
30264 gi/overrides/Gdk.py | 8 ++++----
30265 gi/overrides/Gtk.py | 7 +++++--
30266 3 files changed, 13 insertions(+), 12 deletions(-)
30268 commit 49321b934603e1ec69fb04082c63902970907d2b
30269 Author: Paolo Borelli <pborelli@gnome.org>
30270 Date: Sun Jun 20 13:27:34 2010 +0200
30272 Override Dialog constructor and add_buttons method
30274 gi/overrides/Gtk.py | 46
30275 +++++++++++++++++++++++++++++++++++++++++++++-
30276 tests/test_overrides.py | 16 ++++++++++++++++
30277 2 files changed, 61 insertions(+), 1 deletion(-)
30279 commit acf7b43a41ce814f0c57ce609a090826f04771db
30280 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30281 Date: Mon Jun 21 18:17:38 2010 +0200
30283 Post release version bump to 2.21.4
30285 configure.ac | 2 +-
30286 1 file changed, 1 insertion(+), 1 deletion(-)
30288 commit a7fa8b80406227a06cf18f8675dbc1f471283829
30289 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30290 Date: Mon Jun 21 18:10:32 2010 +0200
30292 Update NEWS and release PyGObject-2.21.3
30295 1 file changed, 7 insertions(+)
30297 commit 79acac7b86ec52cd3681d94d7f116314c3f00167
30298 Author: Ludovic L'Hours <ludovic.lhours@gmail.com>
30299 Date: Tue Jul 21 16:28:34 2009 +0200
30301 Proper handling of null-ok in virtual methods
30303 https://bugzilla.gnome.org/show_bug.cgi?id=589253
30305 codegen/codegen.py | 2 ++
30306 codegen/reversewrapper.py | 18 +++++++++++++++---
30307 2 files changed, 17 insertions(+), 3 deletions(-)
30309 commit 259a4b08f009aa01451caed20dbb6e68b402da2a
30310 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30311 Date: Mon Jun 21 17:34:54 2010 +0200
30313 Add *~ and *.orig to .gitignore
30315 .gitignore | 5 ++++-
30316 1 file changed, 4 insertions(+), 1 deletion(-)
30318 commit 00a85f6a844714d1715e2f67431747d1a4cdacb1
30319 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30320 Date: Mon Jun 21 17:33:56 2010 +0200
30322 Fall back to use the floating references API in glib if there isn't
30323 a sinkfunc defined.
30325 * tests/*: Add ref counting tests for floating objects
30326 * gobject/gobjectmodule.c, gobject/pygobject.c: Fall back to
30328 or g_object_ref if there isn't a sinkfunc defined. Make sure that
30329 pygobject_sink gets called only once per GObject instance.
30331 https://bugzilla.gnome.org/show_bug.cgi?id=583909
30333 gobject/gobjectmodule.c | 2 -
30334 gobject/pygobject.c | 50 +++++++++++++---------
30335 gobject/pygobject.h | 1 +
30336 tests/Makefile.am | 2 +
30337 tests/test-floating.c | 95 +++++++++++++++++++++++++++++++++++++++++
30338 tests/test-floating.h | 60 ++++++++++++++++++++++++++
30339 tests/test_gobject.py | 19 ++++++++-
30340 tests/testhelpermodule.c | 109
30341 +++++++++++++++++++++++++++++++++++++++++++++++
30342 8 files changed, 315 insertions(+), 23 deletions(-)
30344 commit e71238a699ae783fd1a59c8a76e3555d8066cf82
30345 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30346 Date: Mon Jun 21 13:06:13 2010 +0200
30348 Revert "Drop sinkfuncs."
30350 This reverts commit 04627488220b4f2a16e11f8982af7866fea9f7eb.
30352 gobject/gobjectmodule.c | 3 ++-
30353 gobject/pygobject.c | 42 ++++++++++++++++++++++++++++++++++--------
30354 gobject/pygobject.h | 1 -
30355 3 files changed, 36 insertions(+), 10 deletions(-)
30357 commit b2661054d6bde673484eab472e69ca021124528d
30358 Author: Johan Dahlin <johan@gnome.org>
30359 Date: Sun Jun 20 11:09:57 2010 -0300
30363 For reasons outlined at:
30364 http://mail.gnome.org/archives/python-hackers-list/2010-June/msg00009.html
30366 Makefile.am | 14 ++++-
30367 configure.ac | 29 ++++++++--
30368 {gi/demos => demos}/gtk-demo/demos/__init__.py | 0
30369 {gi/demos => demos}/gtk-demo/demos/appwindow.py | 0
30370 {gi/demos => demos}/gtk-demo/demos/assistant.py | 0
30371 {gi/demos => demos}/gtk-demo/demos/builder.py | 0
30372 {gi/demos => demos}/gtk-demo/demos/button_box.py | 0
30373 {gi/demos => demos}/gtk-demo/demos/clipboard.py | 0
30374 .../gtk-demo/demos/colorselector.py | 0
30375 {gi/demos => demos}/gtk-demo/demos/combobox.py | 0
30376 .../gtk-demo/demos/data/alphatest.png | Bin
30377 .../gtk-demo/demos/data/apple-red.png | Bin
30378 .../gtk-demo/demos/data/background.jpg | Bin
30379 {gi/demos => demos}/gtk-demo/demos/data/demo.ui | 0
30380 .../gtk-demo/demos/data/floppybuddy.gif | Bin
30381 .../gtk-demo/demos/data/gnome-applets.png | Bin
30382 .../gtk-demo/demos/data/gnome-calendar.png | Bin
30383 .../gtk-demo/demos/data/gnome-foot.png | Bin
30384 .../gtk-demo/demos/data/gnome-fs-directory.png | Bin
30385 .../gtk-demo/demos/data/gnome-fs-regular.png | Bin
30386 .../gtk-demo/demos/data/gnome-gimp.png | Bin
30387 .../gtk-demo/demos/data/gnome-gmush.png | Bin
30388 .../gtk-demo/demos/data/gnome-gsame.png | Bin
30389 .../gtk-demo/demos/data/gnu-keys.png | Bin
30390 .../gtk-demo/demos/data/gtk-logo-rgb.gif | Bin
30391 {gi/demos => demos}/gtk-demo/demos/test.py | 0
30392 {gi/demos => demos}/gtk-demo/gtk-demo.py | 0
30393 examples/Makefile.am | 2 +-
30394 {gi/examples => examples}/cairo-demo.py | 0
30395 gi/Makefile.am | 4 +-
30396 gi/examples/Makefile.am | 2 -
30397 pygi-Makefile.am | 28 ----------
30398 pygi-configure.ac | 60
30399 ---------------------
30400 pygi.doap | 34 ------------
30401 pygobject.doap | 16 +++++-
30402 tests/Makefile.am | 23 ++++++--
30403 {gi/tests => tests}/test_everything.py | 0
30404 {gi/tests => tests}/test_gi.py | 0
30405 {gi/tests => tests}/test_overrides.py | 0
30406 39 files changed, 75 insertions(+), 137 deletions(-)
30408 commit 597bd64319d7966045b5b8613ca6fc85668c3f56
30409 Merge: ec8d148 fa91dfd
30410 Author: Johan Dahlin <johan@gnome.org>
30411 Date: Sun Jun 20 10:53:46 2010 -0300
30413 Merge branch 'pygi-merge'
30415 commit fa91dfd3ec79ecd03c9fb59b9363eab4a5b3ff2b
30416 Author: Johan Dahlin <johan@gnome.org>
30417 Date: Sun Jun 20 10:53:36 2010 -0300
30422 ---------------------
30423 .gitignore => gi/.gitignore | 0
30424 HACKING => gi/HACKING | 0
30425 {demos => gi/demos}/gtk-demo/demos/__init__.py | 0
30426 {demos => gi/demos}/gtk-demo/demos/appwindow.py | 0
30427 {demos => gi/demos}/gtk-demo/demos/assistant.py | 0
30428 {demos => gi/demos}/gtk-demo/demos/builder.py | 0
30429 {demos => gi/demos}/gtk-demo/demos/button_box.py | 0
30430 {demos => gi/demos}/gtk-demo/demos/clipboard.py | 0
30431 .../demos}/gtk-demo/demos/colorselector.py | 0
30432 {demos => gi/demos}/gtk-demo/demos/combobox.py | 0
30433 .../demos}/gtk-demo/demos/data/alphatest.png | Bin
30434 .../demos}/gtk-demo/demos/data/apple-red.png | Bin
30435 .../demos}/gtk-demo/demos/data/background.jpg | Bin
30436 {demos => gi/demos}/gtk-demo/demos/data/demo.ui | 0
30437 .../demos}/gtk-demo/demos/data/floppybuddy.gif | Bin
30438 .../demos}/gtk-demo/demos/data/gnome-applets.png | Bin
30439 .../demos}/gtk-demo/demos/data/gnome-calendar.png | Bin
30440 .../demos}/gtk-demo/demos/data/gnome-foot.png | Bin
30441 .../gtk-demo/demos/data/gnome-fs-directory.png | Bin
30442 .../gtk-demo/demos/data/gnome-fs-regular.png | Bin
30443 .../demos}/gtk-demo/demos/data/gnome-gimp.png | Bin
30444 .../demos}/gtk-demo/demos/data/gnome-gmush.png | Bin
30445 .../demos}/gtk-demo/demos/data/gnome-gsame.png | Bin
30446 .../demos}/gtk-demo/demos/data/gnu-keys.png | Bin
30447 .../demos}/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin
30448 {demos => gi/demos}/gtk-demo/demos/test.py | 0
30449 {demos => gi/demos}/gtk-demo/gtk-demo.py | 0
30450 {examples => gi/examples}/Makefile.am | 0
30451 {examples => gi/examples}/cairo-demo.py | 0
30452 {tests => gi/tests}/Makefile.am | 0
30453 {tests => gi/tests}/runtests.py | 0
30454 {tests => gi/tests}/test_everything.py | 0
30455 {tests => gi/tests}/test_gi.py | 0
30456 {tests => gi/tests}/test_overrides.py | 0
30457 Makefile.am => pygi-Makefile.am | 0
30458 configure.ac => pygi-configure.ac | 0
30459 37 files changed, 166 deletions(-)
30461 commit ec8d148eccbb3714093f21b595ea77ae4c7c3bce
30462 Author: Johan Dahlin <johan@gnome.org>
30463 Date: Sun Jun 20 10:49:55 2010 -0300
30465 [giounix] Make it possible to compile on glib 2.20
30467 gio/unix.override | 2 ++
30468 1 file changed, 2 insertions(+)
30470 commit 606018a2c551d890fc2bb987d99683f777598bda
30471 Author: John (J5) Palmieri <johnp@redhat.com>
30472 Date: Mon Jun 7 16:32:29 2010 -0400
30474 Don't free transfer full struct pointers because we can't do it safely
30476 * Most libraries which are sending back structs as transfer-full
30477 are either annotated incorrectly or should be sending boxed types
30478 * It is much better to throw a warning and leak memory than it is to
30479 call free on an unknown struct pointer. Doing so may cause
30481 * Specific case is gdk_atom_intern where a GdkAtom is not actually
30483 but an integer stuffed into a pointer type
30485 https://bugzilla.gnome.org/show_bug.cgi?id=620898
30487 gi/pygi-argument.c | 9 ++++++++-
30488 gi/pygi-invoke.c | 11 +++++++++--
30489 2 files changed, 17 insertions(+), 3 deletions(-)
30491 commit 433ee2aa029a1482961f478252a06492bd3498e6
30492 Author: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
30493 Date: Tue Jun 15 11:42:28 2010 +0200
30495 Release the lock when potentially invoking Python code.
30497 * gobject/pygobject.c: Release GIL lock when retrieving properties
30498 and when clearing a PyGObject.
30500 https://bugzilla.gnome.org/show_bug.cgi?id=530935
30502 gobject/pygobject.c | 11 ++++++++++-
30503 1 file changed, 10 insertions(+), 1 deletion(-)
30505 commit aa1e82c7eb87620bd73e1edb486f5b9e0d49aa96
30506 Author: John (J5) Palmieri <johnp@redhat.com>
30507 Date: Mon Jun 14 18:36:57 2010 -0400
30509 add combobox example
30511 demos/gtk-demo/demos/combobox.py | 282
30512 +++++++++++++++++++++++++++++++++++++++
30513 1 file changed, 282 insertions(+)
30515 commit a8668694da59c2dd959c875f13337e64ca22f7e9
30516 Author: John (J5) Palmieri <johnp@redhat.com>
30517 Date: Mon Jun 14 13:43:53 2010 -0400
30519 fix leak in the allow None callbacks patch
30521 gi/pygi-callbacks.c | 4 ++--
30522 1 file changed, 2 insertions(+), 2 deletions(-)
30524 commit 729072e73d65e7fd5b5197ebe5a8c53a449d0ec0
30525 Author: John (J5) Palmieri <johnp@redhat.com>
30526 Date: Mon Jun 7 17:12:09 2010 -0400
30528 Allow passing None for callbacks which are annotated allow-none
30530 * Many callbacks are optional parameters yet we were asserting on
30532 * We now check to see if allow_none is set when setting up callbacks,
30533 if it is set and py_function == Py_None, we set the closure to NULL
30535 * pygi-invoke.c now checks to see if the closure == NULL when setting
30537 * if it is NULL there is no reason to set the the destroy notify
30539 so we skip that too
30541 https://bugzilla.gnome.org/show_bug.cgi?id=620906
30543 gi/pygi-callbacks.c | 7 +++++++
30544 gi/pygi-invoke.c | 14 +++++++++++---
30545 tests/test_everything.py | 4 ++++
30546 3 files changed, 22 insertions(+), 3 deletions(-)
30548 commit a3eb5c7de5836c37aa7ae01dbe98996ec2632c17
30549 Author: Paolo Borelli <pborelli@gnome.org>
30550 Date: Mon Jun 14 19:06:45 2010 +0200
30552 Fix to match latest gtk annotations
30554 demos/gtk-demo/demos/appwindow.py | 3 +--
30555 1 file changed, 1 insertion(+), 2 deletions(-)
30557 commit 6306dd73cc74aa9202569eac0eaaa5f825c8dc59
30558 Author: John (J5) Palmieri <johnp@redhat.com>
30559 Date: Tue Jun 8 15:03:49 2010 -0400
30561 fix variable member names in Gdk.Color override
30563 * override was using r, g, and b for the red, green, blue components
30565 the struct specifies red, green, blue so we need to use those names
30567 https://bugzilla.gnome.org/show_bug.cgi?id=621007
30569 gi/overrides/Gdk.py | 10 +++++-----
30570 tests/test_overrides.py | 6 +++---
30571 2 files changed, 8 insertions(+), 8 deletions(-)
30573 commit d182630e1128fef6f1c2aea28ccd8da4bddd2c8f
30574 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30575 Date: Thu Jun 10 20:23:13 2010 +0200
30577 Post release version bump to 2.21.3
30579 configure.ac | 2 +-
30580 1 file changed, 1 insertion(+), 1 deletion(-)
30582 commit c4e64d5d264593051b9a3131e4985a58e8e76f8b
30583 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30584 Date: Thu Jun 10 20:21:13 2010 +0200
30586 Update NEWS and release PyGObject-2.21.2
30588 NEWS | 26 ++++++++++++++++++++++++++
30589 1 file changed, 26 insertions(+)
30591 commit e0fe844d5fe8f7e26316f197444fd4143ed36adf
30592 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30593 Date: Thu Jun 10 20:09:07 2010 +0200
30595 Remove deleted files from the Makefile.
30602 tests/Makefile.am | 4 ----
30603 1 file changed, 4 deletions(-)
30605 commit 495a301cb81c5e914bcef905999265604faa27fc
30606 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30607 Date: Thu Jun 10 19:39:09 2010 +0200
30609 Add myself to the maintainers list in the README
30612 1 file changed, 1 insertion(+)
30614 commit 04627488220b4f2a16e11f8982af7866fea9f7eb
30615 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30616 Date: Thu Jun 10 19:24:31 2010 +0200
30620 * use g_object methods to sink floating refs instead of allowing
30621 custom sink functions to be registered
30622 * we now sink inside of pygobject_new_full to handle cases where
30623 a library creates its own gobject via g_object_new and just
30624 needs a python wrapper
30625 - a previous patch had done the sink when creating the gobject,
30626 since it needs to call pygobject_new_full to wrap the object,
30627 this patch handles both cases (e.g. pygobject created object
30628 and externally created gobject)
30630 https://bugzilla.gnome.org/show_bug.cgi?id=583909
30632 gobject/gobjectmodule.c | 3 +--
30633 gobject/pygobject.c | 42 ++++++++----------------------------------
30634 gobject/pygobject.h | 1 +
30635 3 files changed, 10 insertions(+), 36 deletions(-)
30637 commit 07df124dc06cf506634e95d08397f50a2d07fce2
30638 Author: Steve Frécinaux <code@istique.net>
30639 Date: Mon Jun 7 09:47:23 2010 +0200
30641 Make the "wrong argument count" exception more explicit.
30643 Previously we had messages like this one:
30644 TypeError: takes exactly 2 argument(s) (1 given)
30646 With this patch, they become like this:
30647 TypeError: get_end_iter() takes exactly 2 argument(s) (1 given)
30649 It makes things much easier to debug when there are several pygi calls
30652 https://bugzilla.gnome.org/show_bug.cgi?id=620804
30654 gi/pygi-invoke.c | 3 ++-
30655 tests/test_everything.py | 6 ++++++
30656 2 files changed, 8 insertions(+), 1 deletion(-)
30658 commit b435319fe830a909cc4d414533b3b66574931e24
30659 Author: Steve Frécinaux <code@istique.net>
30660 Date: Mon Jun 7 09:54:06 2010 +0200
30662 Use bash explicitely in the pre-commit hook.
30664 The "builtin" command is not available in all sh flavours, so the
30665 pre-commit hook is going to fail if you use dash or others instead of
30666 bash as your default 'sh' alias.
30668 https://bugzilla.gnome.org/show_bug.cgi?id=620805
30670 pre-commit.hook | 2 +-
30671 1 file changed, 1 insertion(+), 1 deletion(-)
30673 commit e9ee2916494eb7654004925c1ee1e94f99b14f1a
30674 Author: John (J5) Palmieri <johnp@redhat.com>
30675 Date: Tue Jun 8 16:55:26 2010 -0400
30679 demos/gtk-demo/demos/colorselector.py | 121
30680 ++++++++++++++++++++++++++++++++++
30681 1 file changed, 121 insertions(+)
30683 commit ec598128de9e90dccab662ed2f5511c8d659e156
30684 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30685 Date: Tue Jun 8 15:48:33 2010 +0200
30687 Update PyGObject dependency to 2.21.1
30689 configure.ac | 2 +-
30690 1 file changed, 1 insertion(+), 1 deletion(-)
30692 commit 87774a17bd607724a56e18c2eb1ac71b04b7079d
30693 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30694 Date: Tue Jun 8 10:40:39 2010 +0200
30696 Add myself to maintainers
30698 MAINTAINERS | 4 ++++
30699 pygobject.doap | 7 +++++++
30700 2 files changed, 11 insertions(+)
30702 commit 46c91a11d448e5e11d142d3362aff1483226bca4
30703 Author: Colin Walters <walters@verbum.org>
30704 Date: Wed May 5 13:54:27 2010 -0400
30706 Clear error if we failed the import
30708 Otherwise we leave the exception set which causes bizarre problems
30709 later in unrelated code.
30711 https://bugzilla.redhat.com/show_bug.cgi?id=569885
30713 https://bugzilla.gnome.org/show_bug.cgi?id=617796
30715 gobject/pygi-external.h | 2 ++
30716 1 file changed, 2 insertions(+)
30718 commit c1c41576d053cc1cdd8366d8cd1e59fff1c3a9c6
30719 Author: John (J5) Palmieri <johnp@redhat.com>
30720 Date: Mon Jun 7 17:19:30 2010 -0400
30722 fix some typos and add a link to a patch which fixes a FIXME
30724 demos/gtk-demo/demos/clipboard.py | 7 +++++--
30725 1 file changed, 5 insertions(+), 2 deletions(-)
30727 commit e7fabb5024d94a3166766e5fca740741bc50380a
30728 Author: John (J5) Palmieri <johnp@redhat.com>
30729 Date: Mon Jun 7 16:21:42 2010 -0400
30733 demos/gtk-demo/demos/clipboard.py | 235
30734 ++++++++++++++++++++++++++++++++++++++
30735 1 file changed, 235 insertions(+)
30737 commit e0f1dce5ec58d071759f886697501da6eeea549d
30738 Author: John (J5) Palmieri <johnp@redhat.com>
30739 Date: Sun Jun 6 13:27:46 2010 -0400
30741 set is_fully_bound to false
30743 demos/gtk-demo/demos/button_box.py | 2 +-
30744 1 file changed, 1 insertion(+), 1 deletion(-)
30746 commit 986db1c73746d3a8ad7d8d5141c7eed194e7b948
30747 Author: John (J5) Palmieri <johnp@redhat.com>
30748 Date: Sat Jun 5 23:53:36 2010 -0400
30750 new button box demo
30752 demos/gtk-demo/demos/button_box.py | 121
30753 +++++++++++++++++++++++++++++++++++++
30754 1 file changed, 121 insertions(+)
30756 commit e9f5f8a829121e59367bae690442150f144946ad
30757 Author: John (J5) Palmieri <johnp@redhat.com>
30758 Date: Sat Jun 5 23:26:03 2010 -0400
30760 set is_fully_bound to True fro builder example
30762 demos/gtk-demo/demos/builder.py | 2 +-
30763 1 file changed, 1 insertion(+), 1 deletion(-)
30765 commit d9968c3a4dea1d4a73a9376009cf486c80ea3da6
30766 Author: John (J5) Palmieri <johnp@redhat.com>
30767 Date: Sat Jun 5 23:24:36 2010 -0400
30769 fix up formatting in demos
30771 demos/gtk-demo/demos/appwindow.py | 16 ++++++++--------
30772 demos/gtk-demo/demos/assistant.py | 24 ++++++++++++------------
30773 demos/gtk-demo/demos/builder.py | 2 +-
30774 3 files changed, 21 insertions(+), 21 deletions(-)
30776 commit ffca02536bafb55e8c3bce31cd992365207429f6
30777 Author: John (J5) Palmieri <johnp@redhat.com>
30778 Date: Sat Jun 5 14:54:47 2010 -0400
30780 add the builder demo
30782 demos/gtk-demo/demos/builder.py | 57
30783 +++++++++++++++++++++++++++++++++++++++++
30784 1 file changed, 57 insertions(+)
30786 commit a96dbafdf562a2ac6bde4df27919d3628689dbdb
30787 Author: John (J5) Palmieri <johnp@redhat.com>
30788 Date: Fri Jun 4 17:48:24 2010 -0400
30792 demos/gtk-demo/demos/assistant.py | 134
30793 ++++++++++++++++++++++++++++++++++++++
30794 1 file changed, 134 insertions(+)
30796 commit 7e1b8cf32f33d45603aaec76afb0d14be84ffd94
30797 Author: John (J5) Palmieri <johnp@redhat.com>
30798 Date: Fri Jun 4 16:56:46 2010 -0400
30800 add formatting rules and copyright notice
30802 demos/gtk-demo/demos/appwindow.py | 19 +++++++++++++++++++
30803 1 file changed, 19 insertions(+)
30805 commit 03b99692b81631d397ab62dcd263341465bcee88
30806 Author: John (J5) Palmieri <johnp@redhat.com>
30807 Date: Fri Jun 4 16:26:54 2010 -0400
30809 add the gtk-demo app along with a couple of demos
30811 * note there are still a couple of patches in bugzilla that are
30814 - http://bugzilla-attachments.gnome.org/attachment.cgi?id=162682
30815 - http://bugzilla-attachments.gnome.org/attachment.cgi?id=162764
30817 demos/gtk-demo/demos/__init__.py | 0
30818 demos/gtk-demo/demos/appwindow.py | 393
30819 +++++++++++++++++++++++
30820 demos/gtk-demo/demos/data/alphatest.png | Bin 0 -> 26529 bytes
30821 demos/gtk-demo/demos/data/apple-red.png | Bin 0 -> 3545 bytes
30822 demos/gtk-demo/demos/data/background.jpg | Bin 0 -> 22219 bytes
30823 demos/gtk-demo/demos/data/demo.ui | 258 +++++++++++++++
30824 demos/gtk-demo/demos/data/floppybuddy.gif | Bin 0 -> 5216 bytes
30825 demos/gtk-demo/demos/data/gnome-applets.png | Bin 0 -> 3090 bytes
30826 demos/gtk-demo/demos/data/gnome-calendar.png | Bin 0 -> 2755 bytes
30827 demos/gtk-demo/demos/data/gnome-foot.png | Bin 0 -> 2916 bytes
30828 demos/gtk-demo/demos/data/gnome-fs-directory.png | Bin 0 -> 2044 bytes
30829 demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 0 -> 1795 bytes
30830 demos/gtk-demo/demos/data/gnome-gimp.png | Bin 0 -> 3410 bytes
30831 demos/gtk-demo/demos/data/gnome-gmush.png | Bin 0 -> 3244 bytes
30832 demos/gtk-demo/demos/data/gnome-gsame.png | Bin 0 -> 4263 bytes
30833 demos/gtk-demo/demos/data/gnu-keys.png | Bin 0 -> 3852 bytes
30834 demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 0 -> 6427 bytes
30835 demos/gtk-demo/demos/test.py | 14 +
30836 demos/gtk-demo/gtk-demo.py | 266 +++++++++++++++
30837 19 files changed, 931 insertions(+)
30839 commit b3b1f029d8d16cf9bd74160009808147d07e3b3f
30840 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30841 Date: Fri Jun 4 11:25:08 2010 +0200
30843 Update gobject-introspection dependency to 0.6.14
30845 configure.ac | 2 +-
30846 1 file changed, 1 insertion(+), 1 deletion(-)
30848 commit 45c4e46ae93bd83a0e3f3550df6c64ce96bbedb4
30849 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30850 Date: Fri Jun 4 11:23:41 2010 +0200
30852 Post-release version bump to 0.6.1
30854 configure.ac | 2 +-
30855 1 file changed, 1 insertion(+), 1 deletion(-)
30857 commit 7a94270dac48b67aabc7dbad156cf1180db9cb5e
30858 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30859 Date: Fri Jun 4 08:29:42 2010 +0200
30861 Pre-release version bump 0.6.0
30863 configure.ac | 2 +-
30864 1 file changed, 1 insertion(+), 1 deletion(-)
30866 commit 1e42ee6eb25a07a5201f24ffeac18d298a98477e
30867 Author: John (J5) Palmieri <johnp@redhat.com>
30868 Date: Fri May 28 10:03:11 2010 -0400
30870 support for caller-allocates annotations for structs
30872 * out caller-allocates parameters expect an already constructed
30874 to be passed in by reference. It is then modified and the caller
30876 modified value. We support this by using only one level of pointer
30878 * Only structs are considered to be caller-allocates parameters
30880 they are marked as such by GI. This is because the GI scanner
30882 enough to correctly guess 100% of the time
30883 * GValues are a special case of a caller-allocates parameter when
30885 up (e.g. g_value_unset is called). GValues make no sense in
30887 language. Developers should never deal with them.
30889 https://bugzilla.gnome.org/show_bug.cgi?id=620406
30891 gi/pygi-invoke.c | 73
30892 +++++++++++++++++++++++++++++++++++++++++++++---
30893 tests/test_everything.py | 28 +++++++++++++++++++
30894 2 files changed, 97 insertions(+), 4 deletions(-)
30896 commit c3f467e0ae99aa78c2fdb91b973a272d2fe970bd
30897 Author: John (J5) Palmieri <johnp@redhat.com>
30898 Date: Wed Jun 2 14:14:16 2010 -0400
30900 don't import gobject directly in the tests
30902 * use from gi.repository import GObject
30904 tests/test_overrides.py | 5 ++---
30905 1 file changed, 2 insertions(+), 3 deletions(-)
30907 commit 46b5133fea4cd5db57a360b3cbe9ee923e27560c
30908 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30909 Date: Tue Jun 1 14:28:57 2010 +0200
30911 Wrap C arrays in structs as GArrays before converting to Python
30913 https://bugzilla.gnome.org/show_bug.cgi?id=620247
30915 gi/pygi-info.c | 11 +++++++++++
30916 tests/test_gi.py | 17 +++++++++++++++++
30917 2 files changed, 28 insertions(+)
30919 commit 5f0f9a9c9145a129a063b041424c3109a24d9ead
30920 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30921 Date: Wed May 26 13:20:27 2010 +0200
30923 Install pre-commit hook that checks the code changes for style
30926 autogen.sh | 7 +++++++
30927 pre-commit.hook | 39 +++++++++++++++++++++++++++++++++++++++
30928 2 files changed, 46 insertions(+)
30930 commit 1319da5b7f483e48a90b0b7489f77236ba26f479
30931 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30932 Date: Wed May 26 12:19:17 2010 +0200
30934 Apply consistent whitespace formatting with:
30936 astyle -p -d -c -S -U -M60
30938 This won't affect git blame nor git diff if the switch -w is used.
30940 gi/gimodule.c | 138 +++----
30941 gi/pygi-argument.c | 960
30942 ++++++++++++++++++++++++------------------------
30943 gi/pygi-boxed.c | 108 +++---
30944 gi/pygi-callbacks.c | 154 ++++----
30945 gi/pygi-callbacks.h | 8 +-
30946 gi/pygi-closure.c | 270 +++++++-------
30947 gi/pygi-closure.h | 18 +-
30948 gi/pygi-foreign-cairo.c | 36 +-
30949 gi/pygi-foreign-cairo.h | 36 +-
30950 gi/pygi-foreign.c | 54 +--
30951 gi/pygi-foreign.h | 10 +-
30952 gi/pygi-info.c | 646 ++++++++++++++++----------------
30953 gi/pygi-invoke.c | 380 +++++++++----------
30954 gi/pygi-repository.c | 114 +++---
30955 gi/pygi-struct.c | 88 ++---
30956 gi/pygi-type.c | 32 +-
30958 gi/pygobject-external.h | 14 +-
30959 18 files changed, 1544 insertions(+), 1542 deletions(-)
30961 commit 6156f15cb15b4c20e975527227135d49207c520a
30962 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30963 Date: Tue May 25 14:08:51 2010 +0200
30965 Prepend gi.repository to the __module__ attribute of wrapper classes.
30967 https://bugzilla.gnome.org/show_bug.cgi?id=619597
30969 gi/module.py | 4 ++--
30970 tests/test_gi.py | 4 +++-
30971 2 files changed, 5 insertions(+), 3 deletions(-)
30973 commit 097b92983b7a322c58fecb1e691ba6ddf5035548
30974 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30975 Date: Tue May 25 14:17:13 2010 +0200
30977 Correctly identify at creation time:
30979 * if the class is defined in python -> hook up vfuncs
30980 * if the class wraps a type from a .typelib -> set atributes
30981 * else (GLocalFile) -> do nothing
30983 https://bugzilla.gnome.org/show_bug.cgi?id=619604
30985 gi/types.py | 15 +++++++++++----
30986 1 file changed, 11 insertions(+), 4 deletions(-)
30988 commit 686e10fcdb108af9758eb025a3447813c3513a93
30989 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30990 Date: Thu Apr 29 10:55:13 2010 +0200
30992 Dont complain if another base has implemented the method
30994 https://bugzilla.gnome.org/show_bug.cgi?id=617153
30996 gi/types.py | 3 ++-
30997 1 file changed, 2 insertions(+), 1 deletion(-)
30999 commit 9f34d120845d936b04546a5cea599ec67e9181a7
31000 Author: John (J5) Palmieri <johnp@redhat.com>
31001 Date: Mon May 24 16:16:50 2010 -0400
31003 fix up Builder override, add new override methods, and add unit tests
31005 * check for flags when connecting signals now that we get gi
31007 * override the add_from_string and add_objects_from string overrides
31009 that you don't have to pass in the length of the buffer
31010 * add test that loads objects from strings and connects them to
31013 gi/overrides/Gtk.py | 19 +++++++++++--
31014 tests/test_overrides.py | 72
31015 ++++++++++++++++++++++++++++++++++++++++++++++---
31016 2 files changed, 86 insertions(+), 5 deletions(-)
31018 commit 1561d2977691f1cb8684f183a2e274c47960d931
31019 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31020 Date: Mon May 24 18:48:10 2010 +0200
31022 Improve handling of subclasses without __gtype_name__
31024 Gives a better message at type registration.
31026 https://bugzilla.gnome.org/show_bug.cgi?id=616849
31028 gi/gimodule.c | 9 +++++++++
31029 tests/test_gi.py | 13 ++++++++++++-
31030 2 files changed, 21 insertions(+), 1 deletion(-)
31032 commit c9d44d4d46c3da3a445000b1db592baa9c378a92
31033 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31034 Date: Fri Apr 30 18:17:50 2010 +0200
31036 Add support for GArray args
31038 https://bugzilla.gnome.org/show_bug.cgi?id=617054
31040 gi/pygi-invoke.c | 11 +++++++----
31041 tests/test_gi.py | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
31042 2 files changed, 57 insertions(+), 4 deletions(-)
31044 commit c171579ee22681e1ee4ad33441c89f1053bdc3d1
31045 Author: John (J5) Palmieri <johnp@redhat.com>
31046 Date: Mon May 24 11:48:16 2010 -0400
31048 check refcounting of callback userdata in unit tests
31050 tests/test_everything.py | 18 ++++++++++++++++++
31051 1 file changed, 18 insertions(+)
31053 commit 8eb809468fe3e1f8e4f92bd7f25d96f9cf802cd4
31054 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31055 Date: Sat May 22 15:12:37 2010 +0200
31057 Add support for out args in callbacks
31059 This patch refactors argument marshalling for closures in
31060 preparation for more complete support.
31062 Also fixes a bug in the memory management of user_data args.
31064 https://bugzilla.gnome.org/show_bug.cgi?id=617780
31066 gi/pygi-closure.c | 335
31067 +++++++++++++++++++++++++++++++++++++++++-------------
31068 tests/test_gi.py | 4 +
31069 2 files changed, 263 insertions(+), 76 deletions(-)
31071 commit 0df0c956bb2476392c9d81f0a243a7e84c067166
31072 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31073 Date: Sun May 23 10:59:27 2010 +0200
31075 If None is passed to an interface which takes an object, convert it to
31078 * without this patch PyGI treats the None object as a PyGObject
31080 extracting garbage data causing a crash
31081 * None's equivalent in C is NULL so we must provide a special case
31083 marshal the None as NULL
31085 https://bugzilla.gnome.org/show_bug.cgi?id=617880
31087 gi/pygi-argument.c | 5 +++++
31088 tests/test_everything.py | 6 ++++++
31089 2 files changed, 11 insertions(+)
31091 commit 60fdf4b8f738dd0f5c190bc18ddf010032d3c5ca
31092 Author: John (J5) Palmieri <johnp@redhat.com>
31093 Date: Sat May 22 14:06:37 2010 +0200
31095 correctly handle floating objects in gtk
31097 * this is a stopgap so we work with older pygobject libraries
31098 * there is a patch at
31099 https://bugzilla.gnome.org/show_bug.cgi?id=583909
31100 which adds the correct fix to pygobject
31101 * once pygobject accepts the above patch this patch does not need to
31102 be reverted because pygobject_register_sinkfunc becomes a noop
31103 * add tests (Tomeu)
31105 https://bugzilla.gnome.org/show_bug.cgi?id=619007
31107 gi/gimodule.c | 12 ++++++++++++
31108 tests/test_everything.py | 3 +++
31109 2 files changed, 15 insertions(+)
31111 commit 4b369f8aca980fc6a582094d6648f40fe4af5e9f
31112 Author: John (J5) Palmieri <johnp@redhat.com>
31113 Date: Sat May 22 13:21:30 2010 +0200
31115 Return an empty list when a NULL GList and GSList is returned
31117 * In GTK a GList * and GSList set to NULL is equivilant to empty
31119 GTK list methods can take a NULL and treat it as an empty list. e.g.
31120 g_list_length(NULL) returns 0
31121 * PyGtk consitently returns empty list when a NULL is returned for
31124 * Many PyGtk apps do this:
31125 for i in range(len(obj.get_list())):
31127 * If we were to continue to return None, they would have to add
31129 which is needlessly verbose and isn't very "pythonic"
31131 https://bugzilla.gnome.org/show_bug.cgi?id=619232
31133 gi/pygi-argument.c | 6 ------
31134 tests/test_everything.py | 4 ++--
31135 2 files changed, 2 insertions(+), 8 deletions(-)
31137 commit 71a2148b00dfdda99e0d961ae39b901608724e59
31138 Author: Steve Frécinaux <code@istique.net>
31139 Date: Fri May 21 19:05:03 2010 +0200
31141 Fix warning in configure.
31143 The warning is caused by the use of the construction 'CFLAGS+=' in a
31144 sh version that doesn't understand it (in this case, 'dash').
31146 https://bugzilla.gnome.org/show_bug.cgi?id=619311
31148 configure.ac | 2 +-
31149 1 file changed, 1 insertion(+), 1 deletion(-)
31151 commit aa0357e468eb91e0f3707346e9b32f312fbf51d3
31152 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31153 Date: Thu Apr 29 13:06:15 2010 +0200
31155 GTypeInterface cannot be unrefed
31157 https://bugzilla.gnome.org/show_bug.cgi?id=617159
31159 gi/gimodule.c | 4 +++-
31160 1 file changed, 3 insertions(+), 1 deletion(-)
31162 commit ab1aaff108d23aabd28c3634edfb67236eb55460
31163 Author: John (J5) Palmieri <johnp@redhat.com>
31164 Date: Sat May 22 13:09:48 2010 +0200
31166 fix NULL array unit tests and fix crasher when sending None as
31169 * Unit tests were wrong given the annotation for
31170 test_array_int_null_in and
31171 test_array_int_null_out:
31174 * test_array_int_null_in:
31175 * @arr: (array length=len) (allow-none):
31182 * test_array_int_null_out:
31183 * @arr: (out) (array length=len) (allow-none):
31184 * @len: (out) : length
31187 The (array length=len) annotation meant we don't pass in or
31188 receive the len argument as this is handled under the hood
31189 (Python's representation of an array, the list type, encapsulates
31190 the length inside the type)
31192 * Fixing up the tests revealed a latent crasher bug when passing
31194 interface that accepts an array. The fix was to check for NULL
31196 the length argument to 0 when invoking the bound method.
31198 https://bugzilla.gnome.org/show_bug.cgi?id=619235
31200 gi/pygi-invoke.c | 6 +++++-
31201 tests/test_everything.py | 4 ++--
31202 2 files changed, 7 insertions(+), 3 deletions(-)
31204 commit e928ea9b1df9d87314ff8e93479530e26be9bd87
31205 Author: John (J5) Palmieri <johnp@redhat.com>
31206 Date: Fri May 14 14:57:27 2010 -0400
31208 don't error out on methods with callbacks as return type
31210 * Right now we just throw an error which means API's like
31211 gtk_about_dialog_set_url_hook aren't able to be called,
31212 * this allows us to call such APIs while printing a warning, in
31214 API such as this doesn't need to be used anymore and is a result of
31215 early GTK development
31217 gi/pygi-argument.c | 14 +++++++++++---
31218 1 file changed, 11 insertions(+), 3 deletions(-)
31220 commit d963007aab123f4e53a944a66a935db2d22907c2
31221 Author: John (J5) Palmieri <johnp@redhat.com>
31222 Date: Mon May 17 11:54:34 2010 -0400
31224 reset sys.argv to the return value of Gtk.init_check
31226 * applications which check command line arguments will error out if it
31227 encounters a GTK command line switch such as --g-fatal-warnings.
31228 * The Gtk.init* API reads these switches and returns a new argv with
31230 switches stripped out
31231 * In C argv is modified in place but in Python we must set sys.argv
31233 new modified argument list
31234 * fixes https://bugzilla.gnome.org/show_bug.cgi?id=618889
31236 gi/overrides/Gtk.py | 1 +
31237 1 file changed, 1 insertion(+)
31239 commit 897420ed97cc4a7b8a806894df5e76ed72617614
31240 Author: John (J5) Palmieri <johnp@redhat.com>
31241 Date: Wed May 12 14:25:32 2010 -0400
31243 add GtkUIManager and GtkActionGroup overrides
31245 * fixes bug https://bugzilla.gnome.org/show_bug.cgi?id=618476
31247 gi/overrides/Gtk.py | 167
31248 +++++++++++++++++++++++++++++++++++++++++++++++-
31249 tests/test_overrides.py | 45 +++++++++++++
31250 2 files changed, 211 insertions(+), 1 deletion(-)
31252 commit 865939d29c1e9d69dbe6b9cf89477b5516dbff1f
31253 Author: Zach Goldberg <zach@zachgoldberg.com>
31254 Date: Thu May 13 01:02:24 2010 -0400
31256 Bump version for development to 0.5.2 (hopefully 0.6)
31258 configure.ac | 2 +-
31259 1 file changed, 1 insertion(+), 1 deletion(-)
31261 commit 2674a9546b0246d4a75d71cf1708df77dc0173f9
31262 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31263 Date: Wed May 5 15:54:39 2010 +0200
31265 Fix overrides.Gdk.Color.__new__ args
31267 https://bugzilla.gnome.org/show_bug.cgi?id=617757
31269 gi/overrides/Gdk.py | 2 +-
31270 tests/Makefile.am | 3 ++-
31271 tests/test_overrides.py | 22 ++++++++++++++++++++++
31272 3 files changed, 25 insertions(+), 2 deletions(-)
31274 commit c20b9f632a35bada1320ccc10fb7d5b2c06b9a88
31275 Author: John (J5) Palmieri <johnp@redhat.com>
31276 Date: Thu Apr 29 14:55:33 2010 -0400
31278 wrap GObject module so we can go through GI when requesting attrs
31280 * This gives us the best of both worlds.
31281 - We remain backwards compatable with pygobject by checking for
31283 attrs in the gobject module
31284 - If an attr does not exist we use the GI mechanism to look it up
31286 things like flags look the same whether exported from GObject, Gtk
31287 or any GI managed library
31289 * add DynamicGObjectModule tests and make tests use the new module
31290 - change import gobject to from gi.repository import GObject
31292 gi/importer.py | 6 ++--
31293 gi/module.py | 30 ++++++++++++++++
31294 tests/test_everything.py | 6 ++--
31295 tests/test_gi.py | 93
31296 ++++++++++++++++++++++++++----------------------
31297 4 files changed, 87 insertions(+), 48 deletions(-)
31299 commit 64324a4c629432b2e688299b6edbfd5da4439a2a
31300 Author: John (J5) Palmieri <johnp@redhat.com>
31301 Date: Fri Apr 30 14:11:55 2010 -0400
31303 override Gdk.Drawable to add cairo_create convinience method
31305 gi/overrides/Gdk.py | 7 ++++++-
31306 1 file changed, 6 insertions(+), 1 deletion(-)
31308 commit 17fa1289b1e2ed841dd5de09a2ec7c25d401886e
31309 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31310 Date: Mon May 3 19:13:46 2010 +0200
31312 Fix passing callbacks as constructor args
31314 https://bugzilla.gnome.org/show_bug.cgi?id=617551
31316 gi/pygi-callbacks.c | 3 ++-
31317 gi/pygi-callbacks.h | 1 +
31318 gi/pygi-invoke.c | 7 +++++--
31319 tests/test_everything.py | 21 +++++++++++++++++++++
31320 4 files changed, 29 insertions(+), 3 deletions(-)
31322 commit f9fff978d56ddf2c012b906169ae16abb7fdc2a5
31323 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31324 Date: Wed May 5 08:06:03 2010 +0200
31326 Avoid freeing garbage
31328 gi/pygi-invoke.c | 6 ++++--
31329 1 file changed, 4 insertions(+), 2 deletions(-)
31331 commit 5e20c018ae09a936f5ff140df5d1c133c98e98ba
31332 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31333 Date: Thu Apr 29 13:09:03 2010 +0200
31335 Only hookup vfunc implementations for locally-defined methods
31337 https://bugzilla.gnome.org/show_bug.cgi?id=617160
31339 gi/types.py | 10 +++++++++-
31340 tests/test_gi.py | 10 ++++++++++
31341 2 files changed, 19 insertions(+), 1 deletion(-)
31343 commit 3e61e7d4450a2bb133c7f3862e0962a35339ce8d
31344 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31345 Date: Mon May 3 18:35:13 2010 +0200
31347 Fix passing GDestroyNotify
31349 https://bugzilla.gnome.org/show_bug.cgi?id=617542
31351 gi/pygi-invoke.c | 3 ++-
31352 tests/test_everything.py | 10 ++++++++++
31353 2 files changed, 12 insertions(+), 1 deletion(-)
31355 commit 9669acd0fad193013ef3505ae231588307f9834c
31356 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31357 Date: Mon May 3 12:23:58 2010 +0200
31359 Move invocation code to its own file
31361 https://bugzilla.gnome.org/show_bug.cgi?id=617107
31363 gi/Makefile.am | 2 +
31364 gi/pygi-info.c | 884
31365 ----------------------------------------------------
31366 gi/pygi-invoke.c | 909
31367 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
31368 gi/pygi-invoke.h | 37 +++
31369 gi/pygi-private.h | 1 +
31370 5 files changed, 949 insertions(+), 884 deletions(-)
31372 commit 9b923a68dfde06fc2df6321b3f1e53f1c57b3666
31373 Author: John (J5) Palmieri <johnp@redhat.com>
31374 Date: Tue Apr 27 19:13:08 2010 -0400
31376 Add the Gtk.Builder override
31378 gi/overrides/Gtk.py | 37 ++++++++++++++++++++++++++++++++++++-
31379 1 file changed, 36 insertions(+), 1 deletion(-)
31381 commit 9fc6783406b8263ebd67ceae2730b4e86689b43e
31382 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31383 Date: Fri Apr 30 15:00:52 2010 +0200
31385 Fix GAsyncReadyCallback
31387 https://bugzilla.gnome.org/show_bug.cgi?id=616236
31389 gi/pygi-closure.c | 8 +++++++-
31390 tests/test_everything.py | 16 ++++++++++++++++
31391 2 files changed, 23 insertions(+), 1 deletion(-)
31393 commit 5657ccaaec09e2a3194ea2e9a923724bcc66759e
31394 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31395 Date: Thu Apr 29 18:32:50 2010 +0200
31397 Add override for Gdk.Color
31399 https://bugzilla.gnome.org/show_bug.cgi?id=617162
31401 gi/overrides/Gdk.py | 20 +++++++++++++++++++-
31402 1 file changed, 19 insertions(+), 1 deletion(-)
31404 commit 4410abd589a2f64cfbd7bbcb4013fae9e4aa734f
31405 Author: John (J5) Palmieri <johnp@redhat.com>
31406 Date: Wed Apr 28 13:19:48 2010 -0400
31408 make __all__ be a list of strings, fix override mechanism to use
31411 * before we were adding classes to the __all__ module property but
31412 the convention is to use the name of the class
31413 * simplified the check to just check the name against __all__
31414 instead of trying to get the class and then checking the class
31415 against None as well as in __all__
31416 * went through all the overrides and made __all__ be a list of strings
31418 gi/module.py | 9 ++++-----
31419 gi/overrides/GIMarshallingTests.py | 2 +-
31420 gi/overrides/Gdk.py | 2 +-
31421 3 files changed, 6 insertions(+), 7 deletions(-)
31423 commit 64fa8f936bad9a90628df446e690d67d947a0a22
31424 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31425 Date: Mon Apr 26 11:41:06 2010 +0200
31427 One more step at refactoring _wrap_g_function_info_invoke
31429 https://bugzilla.gnome.org/show_bug.cgi?id=616357
31431 gi/pygi-callbacks.c | 22 +-
31432 gi/pygi-callbacks.h | 4 +-
31433 gi/pygi-info.c | 582
31434 ++++++++++++++++++++++++++++++----------------------
31435 3 files changed, 346 insertions(+), 262 deletions(-)
31437 commit 7fc5528273edae5ecdd5d8bdf0e5b898eec7a624
31438 Author: Zach Goldberg <zach@zachgoldberg.com>
31439 Date: Tue Apr 20 23:23:38 2010 -0400
31441 Step 1 of refactoring _wrap_g_function_info_invoke
31443 Original patch by David Malcom <dmalcolm@redhat.com>
31445 This patch bitrots *REALLY* fast.
31447 https://bugzilla.gnome.org/show_bug.cgi?id=616357
31449 gi/pygi-info.c | 417
31450 +++++++++++++++++++++++++++++----------------------------
31451 1 file changed, 214 insertions(+), 203 deletions(-)
31453 commit 1d9c6b6d76a3e27f66e6f0cfc7b16c5191e4fc22
31454 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31455 Date: Tue Apr 27 10:24:35 2010 +0200
31457 Dont force subclasses to implement all virtual methods of their bases
31459 https://bugzilla.gnome.org/show_bug.cgi?id=616674
31461 gi/types.py | 4 ++--
31462 tests/test_gi.py | 15 +++++++++++++++
31463 2 files changed, 17 insertions(+), 2 deletions(-)
31465 commit 8a0c48f4dd512797e5cf132f8ec6fb6d4d1e7aaa
31466 Author: Zach Goldberg <zach@zachgoldberg.com>
31467 Date: Sun Apr 25 15:09:08 2010 -0400
31469 Correct the reference counting of userdata in closure handling
31471 Without this we lose references on every call and eventually end up
31473 while they are still in use.
31475 https://bugzilla.gnome.org/show_bug.cgi?id=616786
31477 gi/pygi-closure.c | 3 +++
31478 tests/test_everything.py | 13 +++++++++++++
31479 2 files changed, 16 insertions(+)
31481 commit 2b12049306bf57513c43d08017185468bf897a4a
31482 Author: Zach Goldberg <zach@zachgoldberg.com>
31483 Date: Tue Apr 20 22:57:14 2010 -0400
31485 Change SCOPE_TYPE_INVALID handling to be a more verbose error.
31487 (Previous commit did not include the proper error message. I blame
31490 https://bugzilla.gnome.org/show_bug.cgi?id=616356
31492 gi/pygi-closure.c | 4 ++--
31493 1 file changed, 2 insertions(+), 2 deletions(-)
31495 commit 8240320d0b67074ce91bdf7aadcf5951c5a8c45a
31496 Author: Zach Goldberg <zach@zachgoldberg.com>
31497 Date: Tue Apr 20 23:53:57 2010 -0400
31499 Force out arguments to be initialized as NULL. Comes with a test.
31501 This fix was motivated by a real world library which had a transfer
31503 utf8 out argument which sometimes was not set. We would leave
31505 dangling and try and free it at the end of invoke() and crash.
31507 to change their behavior so we're forced to take care of it on
31510 https://bugzilla.gnome.org/show_bug.cgi?id=616043
31512 gi/pygi-info.c | 1 +
31513 tests/test_gi.py | 3 +++
31514 2 files changed, 4 insertions(+)
31516 commit 10e558ca283cdd06725bb0d24b5071ccbecc7d13
31517 Author: Zach Goldberg <zach@zachgoldberg.com>
31518 Date: Tue Apr 20 22:57:14 2010 -0400
31520 Change SCOPE_TYPE_INVALID handling to be a warning and not an error
31522 Be slightly nicer to library maintainers. It really isn't a fatal
31524 if we don't have a proper scope type, better to leave a good code
31526 and a warning than to cause their code to segv.
31528 https://bugzilla.gnome.org/show_bug.cgi?id=616356
31530 gi/pygi-closure.c | 3 ++-
31531 1 file changed, 2 insertions(+), 1 deletion(-)
31533 commit d3b5fae9d609dbcd83deb0fa9102b24faf76787c
31534 Author: Zach Goldberg <zach@zachgoldberg.com>
31535 Date: Tue Apr 20 22:43:20 2010 -0400
31537 Refactor implementation of scope call to allow for multiple calls
31538 during lifetime of function invocation.
31540 https://bugzilla.gnome.org/show_bug.cgi?id=616343
31542 gi/pygi-closure.c | 10 +++++-----
31543 gi/pygi-info.c | 9 +++++++--
31544 tests/test_everything.py | 9 +++++++++
31545 3 files changed, 21 insertions(+), 7 deletions(-)
31547 commit 3ba666b7ab9c393963922c272e7d87bff50a93f9
31548 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31549 Date: Sat Jan 2 16:31:55 2010 +0100
31551 Add basic support for unions
31553 https://bugzilla.gnome.org/show_bug.cgi?id=603598
31555 gi/module.py | 3 +-
31556 gi/pygi-argument.c | 24 +++-----------
31557 gi/pygi-boxed.c | 18 +++++++++--
31558 gi/pygi-info.c | 94
31559 ++++++++++++++++++++++++++++++++++++++++++++++++------
31560 gi/pygi-info.h | 1 +
31561 tests/test_gi.py | 56 ++++++++++++++++++++++++++++++++
31562 6 files changed, 165 insertions(+), 31 deletions(-)
31564 commit af9e4e086d160fe7fb24758ed81753e784b198a8
31565 Author: Simon van der Linden <svdlinden@src.gnome.org>
31566 Date: Fri Jan 22 22:16:32 2010 +0100
31568 Bump required GLib version to 2.22
31570 Since PyGObject now depends on GLib 2.22.4, there is no need to
31572 backward-compatible.
31574 configure.ac | 2 +-
31575 gi/pygi-private.h | 20 --------------------
31576 2 files changed, 1 insertion(+), 21 deletions(-)
31578 commit c0f40de5648e2ebc556c449342a0025ffce2e33b
31579 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31580 Date: Sun Apr 18 11:50:14 2010 -0400
31582 Refactor get_* methods in the *Info wrappers
31584 https://bugzilla.gnome.org/show_bug.cgi?id=616108
31586 gi/pygi-info.c | 360
31587 +++++++++++++++++++++++++++------------------------------
31588 1 file changed, 168 insertions(+), 192 deletions(-)
31590 commit 24bb89f1310dc2fc8ee6ddaf945342ebf80055cd
31591 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31592 Date: Tue Apr 20 15:12:47 2010 +0200
31594 Print any error messages raised inside _pygi_closure_handle
31596 https://bugzilla.gnome.org/show_bug.cgi?id=616279
31598 gi/pygi-closure.c | 9 +++++----
31599 1 file changed, 5 insertions(+), 4 deletions(-)
31601 commit d1ba23cdd05686ea721425f233371d573a2e9cce
31602 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31603 Date: Thu Apr 22 19:57:17 2010 +0200
31605 Rename variable with a very generic name
31607 gi/module.py | 28 ++++++++++++++--------------
31608 1 file changed, 14 insertions(+), 14 deletions(-)
31610 commit 391640b30ede50af3667b1019edb72bd79f2c68c
31611 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31612 Date: Thu Apr 22 19:53:06 2010 +0200
31614 Add support for enums without GType
31616 https://bugzilla.gnome.org/show_bug.cgi?id=616520
31618 gi/module.py | 6 +++++-
31619 gi/pygi-argument.c | 22 +++++++++++++++++++++-
31620 gi/types.py | 14 ++++++++++++++
31621 tests/test_gi.py | 30 ++++++++++++++++++++++++++++--
31622 4 files changed, 68 insertions(+), 4 deletions(-)
31624 commit 89704f60ddae0c81f1383d86491ef2785590a353
31625 Author: Zach Goldberg <zach@zachgoldberg.com>
31626 Date: Tue Apr 20 22:20:42 2010 -0400
31628 Bump version during development to 0.5.1
31630 This follows what is, according to Colin Walters,
31631 standard versioning practice. During development the
31632 version in your config is the *next* version you will release,
31633 not the version after. Thus after a release you make a new commit
31634 bumping to the next development version.
31636 configure.ac | 2 +-
31637 1 file changed, 1 insertion(+), 1 deletion(-)
31639 commit e203dc7c8f524c16aa52e15758dc3a2b09fbac75
31640 Author: John Ehresman <jpe@wingware.com>
31641 Date: Tue Apr 20 20:40:02 2010 -0400
31643 Added missing , to keyword list of gio.GFile.set_attribute
31645 gio/gresolver.override | 2 +-
31646 1 file changed, 1 insertion(+), 1 deletion(-)
31648 commit 0b222f01ac9ceea1d127083623ad532ecc75bf7e
31649 Author: John Ehresman <jpe@wingware.com>
31650 Date: Tue Apr 20 20:37:12 2010 -0400
31652 Fix arg conversion in gio.GFile.set_attribute
31654 gio/gfile.override | 232
31655 +++++++++++++++++++++++++++++++++++++++++++++++++++--
31656 1 file changed, 227 insertions(+), 5 deletions(-)
31658 commit a579ccc8bea90937bf970be3d461e2b650b0c7d6
31659 Author: John Ehresman <jpe@wingware.com>
31660 Date: Tue Apr 20 20:01:53 2010 -0400
31662 Set constants under python 2.5 or before
31664 gobject/gobjectmodule.c | 8 ++++++++
31665 1 file changed, 8 insertions(+)
31667 commit 11fa39a861abf679e01b5f0da97be93ae0adf0f0
31668 Author: José Alburquerque <jaalburqu@svn.gnome.org>
31669 Date: Sun Apr 18 20:22:21 2010 -0400
31671 Doc Extractor: Use replacements that make sense for &...;
31674 * codegen/docextract_to_xml.py: Use # and  
31676 # (#) and . These are interpreted correctly in
31678 not make the parsing crash.
31680 codegen/docextract_to_xml.py | 4 ++--
31681 1 file changed, 2 insertions(+), 2 deletions(-)
31683 commit 8dbc2cb016acef7b364804cd9bc8f0b1da37e84b
31684 Author: Zach Goldberg <zach@zachgoldberg.com>
31685 Date: Sun Apr 18 14:32:06 2010 -0400
31687 Bump version for release 0.5.0
31689 HACKING | 7 +++++++
31690 configure.ac | 4 ++--
31691 2 files changed, 9 insertions(+), 2 deletions(-)
31693 commit 3293c91d90c5c497b45e42a527d7f79f7435823e
31694 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31695 Date: Sun Apr 18 14:28:13 2010 -0400
31697 One more missing file...
31699 examples/Makefile.am | 2 ++
31700 1 file changed, 2 insertions(+)
31702 commit 1dc575af19fe985cc3fa3ec0cf18aeab1f43c16d
31703 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31704 Date: Sun Apr 18 14:18:44 2010 -0400
31706 Add more stuff to the tarballs
31708 Makefile.am | 8 +++++++-
31710 2 files changed, 8 insertions(+), 1 deletion(-)
31712 commit 8a9bb04755057e934b7f46c917af6ef281a2fedd
31713 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31714 Date: Sun Apr 18 13:48:45 2010 -0400
31716 Add one more missing file to tarballs
31718 gi/overrides/GIMarshallingTests.py | 0
31719 gi/overrides/Makefile.am | 1 +
31720 2 files changed, 1 insertion(+)
31722 commit 979e01852fc7f830ee91093accdc387fa535075f
31723 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31724 Date: Sun Apr 18 13:45:29 2010 -0400
31726 Add missing file to tarballs
31728 tests/Makefile.am | 1 +
31729 1 file changed, 1 insertion(+)
31731 commit 8b70faa7a9a32b9ea8862f28a503e38f496cfd89
31732 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31733 Date: Sun Apr 18 13:11:11 2010 -0400
31737 https://bugzilla.gnome.org/show_bug.cgi?id=602736
31740 +++++++++++++++++++++++++++++++++++++++++++++++++++++
31741 gi/pygi-argument.c | 1 +
31742 gi/pygi-callbacks.c | 3 +-
31743 gi/pygi-closure.c | 4 +--
31744 gi/pygi-closure.h | 2 +-
31745 gi/pygi-info.c | 86
31746 +++++++++++++++++++++++++++++++++++++++++++++++++--
31747 gi/pygi-info.h | 1 +
31748 gi/types.py | 44 +++++++++++++++++---------
31749 tests/test_gi.py | 18 +++++++++++
31750 9 files changed, 227 insertions(+), 21 deletions(-)
31752 commit e239faacb4798fe2d166233ca1a19a843a6225e3
31753 Author: Zach Goldberg <zach@zachgoldberg.com>
31754 Date: Sun Apr 18 11:59:06 2010 -0400
31756 Fix a typo in pygi-callbacks.c header
31758 gi/pygi-callbacks.c | 2 +-
31759 1 file changed, 1 insertion(+), 1 deletion(-)
31761 commit 79aa416ae8632b123da61d79fb820d9e2704209c
31762 Author: Zach Goldberg <zach@zachgoldberg.com>
31763 Date: Sat Apr 17 12:00:05 2010 -0400
31765 Implement nullable argument support, including tests
31767 https://bugzilla.gnome.org/show_bug.cgi?id=616035
31769 gi/pygi-argument.c | 43 +++++++++++++++++++++++++++++++++++++------
31770 gi/pygi-argument.h | 3 ++-
31771 gi/pygi-info.c | 19 +++++++++++++------
31772 tests/test_everything.py | 28 ++++++++++++++++++++++++++++
31773 4 files changed, 80 insertions(+), 13 deletions(-)
31775 commit 7d533b8893bc4a8a82fd9708278fa1dce5d3551e
31776 Author: Zach Goldberg <zach@zachgoldberg.com>
31777 Date: Sat Apr 17 12:56:19 2010 -0400
31779 Move some tests from test_gi to test_everything
31781 tests/test_everything.py | 60
31782 ++++++++++++++++++++++++++++++++++++++++++++++
31783 tests/test_gi.py | 62
31784 +-----------------------------------------------
31785 2 files changed, 61 insertions(+), 61 deletions(-)
31787 commit a90298cc9e6c0f336f887a71d80b1efd07ec2811
31788 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31789 Date: Sun Apr 18 10:44:35 2010 -0400
31791 Update to latest version of the pygi-convert.sh script
31793 pygi-convert.sh | 193
31794 ++++++++++++++++++++++++++++++++++++++++----------------
31795 1 file changed, 137 insertions(+), 56 deletions(-)
31797 commit 34a39318c674737c6d64f2430456daef86ba1626
31798 Author: Colin Walters <walters@verbum.org>
31799 Date: Sun Apr 18 10:40:44 2010 -0400
31801 Add Tomeu's prototype script for converting pygtk to pygi
31803 pygi-convert.sh | 71
31804 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
31805 1 file changed, 71 insertions(+)
31807 commit a3afdb5fd33de0bf11d63857a245a8f5edec242c
31808 Author: Olav Vitters <olav@vitters.nl>
31809 Date: Sun Apr 18 13:01:58 2010 +0200
31814 1 file changed, 4 insertions(+)
31816 commit 0de73d0bba79f92af22f43693f3575c596712416
31817 Author: Zach Goldberg <zach@zachgoldberg.com>
31818 Date: Sat Apr 17 16:01:31 2010 -0400
31820 Add Zach Goldberg as a pygi maintainer
31822 pygi.doap | 5 +++++
31823 1 file changed, 5 insertions(+)
31825 commit a0e22e36e8cf0c1e0da3c0ec48c821fdb5a07ccd
31826 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31827 Date: Sat Apr 17 11:47:54 2010 -0400
31831 configure.ac | 7 +------
31832 1 file changed, 1 insertion(+), 6 deletions(-)
31834 commit 2778f8a1bf6379a46beec6546c8efcb0fec2d7ad
31835 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31836 Date: Sat Apr 17 11:40:14 2010 -0400
31838 Add examples/cairo-demo.py
31840 examples/cairo-demo.py | 121
31841 +++++++++++++++++++++++++++++++++++++++++++++++++
31842 1 file changed, 121 insertions(+)
31844 commit 610dd1eec87fab5c8c3badb4d104cba74477c745
31845 Author: Zach Goldberg <zach@zachgoldberg.com>
31846 Date: Sat Apr 17 09:17:14 2010 -0400
31848 Implementation callback support with scoping and basic argument
31851 This patch was originally written by
31852 Zach Goldberg <zach@zachgoldberg.com> with modifications and
31853 review by Simon van der Linden <svdlinden@src.gnome.org> and
31854 Colin Walters <walters@verbum.org>.
31856 This impementation enforces the assumption that any one function
31857 signature can only have one (callback, userdata, destronotify) tuple.
31858 This allows us to move callback creation into the actual function
31859 invoke pipeline and also to keep just one destroy notify callback
31860 around, vastly simplifying the code.
31862 https://bugzilla.gnome.org/show_bug.cgi?id=603095
31865 gi/Makefile.am | 4 +
31866 gi/pygi-argument.c | 12 ++-
31867 gi/pygi-callbacks.c | 216
31868 ++++++++++++++++++++++++++++++++++++++++++++++++++++
31869 gi/pygi-callbacks.h | 47 ++++++++++++
31870 gi/pygi-closure.c | 205
31871 +++++++++++++++++++++++++++++++++++++++++++++++++
31872 gi/pygi-closure.h | 57 ++++++++++++++
31873 gi/pygi-info.c | 49 ++++++++++--
31874 gi/pygi-private.h | 2 +
31875 tests/test_gi.py | 64 +++++++++++++++-
31876 10 files changed, 648 insertions(+), 10 deletions(-)
31878 commit a34cb9f0038a6c89e5e6c5f7761d48a5a833044f
31879 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31880 Date: Sat Apr 17 10:54:45 2010 -0400
31882 Add support for foreign structs
31884 https://bugzilla.gnome.org/show_bug.cgi?id=603712
31886 configure.ac | 6 +++
31887 gi/Makefile.am | 10 +++-
31888 gi/gimodule.c | 7 +++
31889 gi/pygi-argument.c | 27 ++++++++++-
31890 gi/pygi-foreign-cairo.c | 103 +++++++++++++++++++++++++++++++++++++++
31891 gi/pygi-foreign-cairo.h | 55 +++++++++++++++++++++
31892 gi/pygi-foreign.c | 123
31893 +++++++++++++++++++++++++++++++++++++++++++++++
31894 gi/pygi-foreign.h | 52 ++++++++++++++++++++
31895 gi/pygi-private.h | 1 +
31896 tests/test_everything.py | 48 ++++++++++++++++++
31897 10 files changed, 428 insertions(+), 4 deletions(-)
31899 commit e73b6f6fe8b5f23a2a390ae0a6bbced593ded155
31900 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31901 Date: Fri Apr 16 14:35:13 2010 -0400
31903 Allow creating structs with pointers
31905 https://bugzilla.gnome.org/show_bug.cgi?id=603537
31907 gi/pygi-struct.c | 6 ------
31908 tests/test_gi.py | 3 ++-
31909 2 files changed, 2 insertions(+), 7 deletions(-)
31911 commit fc9ff02e53aacf9e77625c70985e99813544912a
31912 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31913 Date: Fri Apr 16 10:40:40 2010 -0400
31915 Add gdb and valgrind variants for the tests
31917 HACKING | 19 +++++++++++++++++++
31918 Makefile.am | 12 ++++++++++++
31919 tests/Makefile.am | 14 +++++++++++++-
31920 3 files changed, 44 insertions(+), 1 deletion(-)
31922 commit 695ac7bc5c60371a32538d690c7a15509f3c9637
31923 Author: John Stowers <john.stowers@gmail.com>
31924 Date: Fri Apr 16 14:36:11 2010 +1200
31926 Add build docs for windows
31929 README.win32 | 24 ++++++++++++++++++++++++
31930 2 files changed, 25 insertions(+)
31932 commit e580da87f0b2fd36cb5d8008fb2fb0c3b01f456a
31933 Author: John Stowers <john.stowers@gmail.com>
31934 Date: Thu Apr 15 13:40:39 2010 +1200
31936 Setup.py cosmetic tidy
31938 * Remove local doc install, point to website instead
31939 * link to versioned docs
31941 pygobject_postinstall.py | 43 ++++++++++++++++++++++++++-----------------
31942 setup.py | 39 ++++++++++++++-------------------------
31943 2 files changed, 40 insertions(+), 42 deletions(-)
31945 commit 69ecd506c83ddf180c6cc9a2a8dc753a02543959
31946 Author: John Stowers <john.stowers@gmail.com>
31947 Date: Sat Jul 25 14:12:30 2009 +1200
31949 Fix crash when importing gio
31951 Only seems to be necessary on windows, but
31952 no harm on linux as multiple calls to init
31955 gio/giomodule.c | 3 +++
31956 1 file changed, 3 insertions(+)
31958 commit 5d159a13d89587cba189a0ca3203ac003e2f1f2b
31959 Author: John Stowers <john.stowers@gmail.com>
31960 Date: Thu Apr 15 22:52:48 2010 +1200
31962 Bug 589671 - Dont use generate-constants
31964 This breaks the build using distutils, and it is
31965 largely unneeded. Just add the G_XXX constants
31966 to the module directly
31968 gobject/Makefile.am | 16 +----------
31969 gobject/{constants.py.in => constants.py} | 33 +++++++++++++++++++++++
31970 gobject/generate-constants.c | 44
31971 -------------------------------
31972 gobject/gobjectmodule.c | 35 ++++++++++++++++++++++++
31974 tests/runtests.py | 3 +--
31975 6 files changed, 71 insertions(+), 62 deletions(-)
31977 commit 6d7a3ab9ce352692d0faccbf106974d264fa953d
31978 Author: John Stowers <john.stowers@gmail.com>
31979 Date: Thu Apr 15 22:49:17 2010 +1200
31981 Bug 589671 - Fix setup.py for windows build
31983 * Building pyglib as a static private library
31984 * Update to include new defs
31985 * Modernise setup.py and add more util functions
31988 dsextras.py | 32 ++++++++++++++++---
31990 +++++++++++++++++++++++++++++++++++++++++++++++++++---------
31991 2 files changed, 116 insertions(+), 18 deletions(-)
31993 commit d11ef47072acae5801ce25c68d1289e425eb9fc2
31994 Author: John Stowers <john.stowers@gmail.com>
31995 Date: Thu Apr 15 22:48:28 2010 +1200
31997 Include pygsource.h
31999 glib/pygiochannel.c | 1 +
32000 1 file changed, 1 insertion(+)
32002 commit c5f6af4844c74354abc508d17969d9d45153acf2
32003 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32004 Date: Thu Apr 15 14:25:59 2010 -0400
32006 Add metadata to the .doap file
32009 1 file changed, 3 insertions(+)
32011 commit 81796cb77cbe6b9598a652bd63c047af93e747ee
32012 Author: John (J5) Palmieri <johnp@redhat.com>
32013 Date: Wed Apr 14 12:01:43 2010 -0400
32015 override that wasn't checked in - fixes some test cases
32017 gi/overrides/GIMarshallingTests.py | 69
32018 ++++++++++++++++++++++++++++++++++++++
32019 1 file changed, 69 insertions(+)
32021 commit de5d2ea1584b01af809346316c7fbd4955a9db1d
32022 Author: Colin Walters <walters@verbum.org>
32023 Date: Wed Apr 14 10:06:07 2010 -0400
32025 [Makefile.am] Clean up CFLAGS handling, don't override all: target
32027 First, we should move the CFLAGS into AM_CFLAGS, otherwise the
32028 per-target CFLAGS forces Automake to prefix object files, which
32029 is unnecessary since we only have one target.
32031 More importantly, avoid overriding the all: target here; that's
32032 owned by Automake. Use all-local instead to append things to
32033 the end of the normal build.
32035 gi/Makefile.am | 15 +++++++++------
32036 1 file changed, 9 insertions(+), 6 deletions(-)
32038 commit 5a47e96e3f580c973e6880dafa747f54c144c760
32039 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32040 Date: Tue Apr 13 19:15:49 2010 -0400
32042 Use GIMarshallingTests (old TestGI) in gobject-introspection
32044 gi/overrides/TestGI.py | 69 --
32045 tests/Makefile.am | 40 -
32046 tests/libtestgi.c | 2924
32047 ------------------------------------------------
32048 tests/libtestgi.h | 628 -----------
32049 tests/test_gi.py | 832 +++++++-------
32050 5 files changed, 416 insertions(+), 4077 deletions(-)
32052 commit 681832c3cd040433a488a400693b68f213bf7078
32053 Author: José Alburquerque <jaalburqu@svn.gnome.org>
32054 Date: Tue Apr 13 13:33:12 2010 -0400
32056 codegen/docextract_to_xml.py: One more &...; replacement
32059 * codegen/docextract_to_xml.py: Replace which also
32061 errors with a regular space.
32063 codegen/docextract_to_xml.py | 1 +
32064 1 file changed, 1 insertion(+)
32066 commit bd4e7f2459e34957aaae59b9be807d6dff5ec1eb
32067 Author: José Alburquerque <jaalburqu@svn.gnome.org>
32068 Date: Tue Apr 13 12:28:10 2010 -0400
32070 codegen/docextract_to_xml.py: Replace some &..; that cause
32073 * codegen/docextract_to_xml.py (escape_text): Replace
32075 expressions that cause errors with more appropriate output.
32077 codegen/docextract_to_xml.py | 4 ++++
32078 1 file changed, 4 insertions(+)
32080 commit f00b9ce91fc9c3aabd4af4132fc112d9e415e12e
32081 Author: José Alburquerque <jaalburqu@svn.gnome.org>
32082 Date: Sun Apr 11 17:46:40 2010 -0400
32084 codegen/docextract_to_xml.py: Handle C++ multi-line comments.
32086 * codegen/docextract_to_xml.py (escape_text): Translate '/*'
32088 in text to '/ *' and '* /' respectively so that comment
32090 show up when the descriptions that include C++ code with C++
32091 multi-line comments are used in Doxygen blocks.
32093 codegen/docextract_to_xml.py | 9 +++++++++
32094 1 file changed, 9 insertions(+)
32096 commit a2fcdecbb5e109da5568084d7acb2332af83b6f5
32097 Author: José Alburquerque <jaalburqu@svn.gnome.org>
32098 Date: Sun Apr 11 16:15:01 2010 -0400
32100 codegen/docextract.py: Stop final section processing on
32103 * codegen/docextract.py (process_final_sections): Modify
32105 section pattern matching for loop to stop on first match so
32107 doesn't match both a colon return ('Returns: ...') and a
32109 return ('Returns ...') which leads to annotation extraction
32112 codegen/docextract.py | 4 ++++
32113 1 file changed, 4 insertions(+)
32115 commit 825fd305f03b726665edca34963978ce27448182
32116 Author: José Alburquerque <jaalburqu@svn.gnome.org>
32117 Date: Sun Apr 11 15:45:09 2010 -0400
32119 Update doc extraction tool to handle GObjectIntrospection
32122 * codegen/docextract.py (FunctionDoc): Renamed class to
32124 (GtkDoc::annotations): Added a list field to store annotations
32126 are 2-tuples of (name, value).
32127 (GtkDoc::ret): Modified field to store the return description
32129 with a list of annotations as described above.
32130 (GtkDoc::params): Now holds a list of 3-tupples: name,
32132 annotations (as described above).
32133 (GtkDoc::block_type): Add a field to tell if the comment
32135 function block, signal block or property block.
32136 (GtkDoc::set_type):
32137 (GtkDoc::get_type): Add methods for setting/getting the
32139 (GtkDoc::add_param): Modified to also accept a list of
32141 be added with the parameter.
32142 (GtkDoc::add_annotation):
32143 (GtkDoc::get_annotations): Added methods to add/get
32146 (GtkDoc::append_description): Renamed to
32147 append_to_description().
32148 (GtkDoc::get_param_description): Removed unused method.
32149 (GtkDoc::get_description): Added method to get block
32151 (GtkDoc::add_return): Added method to add a return accepting
32153 line of the description and its annotations.
32154 (GtkDoc::append_return): Renamed to append_to_return().
32155 (Regular expressions):
32156 - Made the names of the variables un-abbreviated.
32158 - Added 'since', 'deprecated' and 'rename to' regular
32161 - Modified the return matching regular expression so that
32163 match descriptions that begin with 'Returns ...'.
32165 the docs of many function.
32167 - Added signal and property comment block identifier
32169 expressions in case those are useful.
32171 - Modified existing identifier matching regular expressions
32173 signal, and property regular expressions) to properly parse
32174 annotations. Also added a regular expression for extracting
32175 annotations from the parameter and return descriptions.
32177 - Refined the function name matching regular expression to
32179 identifiers that begin with a lowercase letter.
32181 'SECTION:' matches.
32183 - Finally, grouped commonly related expressions like
32185 since_pattern, etc. into groups (in lists) so that
32187 sections can be done using loops.
32189 (Parsing algorithm): Modified the algorithm to use a
32191 approach to parsing. Extra methods like skip_to_comment() and
32192 processs_params() have been added and used in the parse_file()
32193 function to now process the comment blocks.
32194 (parse_dir): Added file processing output to stderr.
32195 * codegen/docextract_to_xml.py (usage): Added function to
32198 (print_annotations): Added function to print the given list of
32200 (options): Added --with-signals (-i), with-properties (-p) and
32201 --with-annotation (-a) to the existing --source-dir (-s)
32204 (algorithm): Now prints annotations, if specified. Also,
32206 signals and properties correctly (using names like
32208 for signals and Classs:property) with xml such as <signal
32209 name="...">...</signal>. The return xml is slightly
32211 annotations but this would only be exhibited if annotation
32215 codegen/docextract.py | 439
32216 ++++++++++++++++++++++++++++++++++---------
32217 codegen/docextract_to_xml.py | 87 ++++++---
32218 2 files changed, 414 insertions(+), 112 deletions(-)
32220 commit 9fef1acb42cd900d4a814a7378f60bc189121785
32221 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32222 Date: Fri Apr 9 13:47:03 2010 +0200
32224 Always create the .so link
32226 gi/Makefile.am | 2 +-
32227 1 file changed, 1 insertion(+), 1 deletion(-)
32229 commit e9f7fd414e94595e40eb1ba0fc471ca69136d82f
32230 Author: Paul Bolle <pebolle@tiscali.nl>
32231 Date: Thu Apr 8 11:52:25 2010 +0200
32233 Docs: replace gio.IO_ERROR_* with gio.ERROR_*
32235 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
32237 docs/reference/pygio-file.xml | 58
32238 ++++++++++++++++++------------------
32239 docs/reference/pygio-inputstream.xml | 22 +++++++-------
32240 docs/reference/pygio-mount.xml | 10 +++----
32241 3 files changed, 45 insertions(+), 45 deletions(-)
32243 commit 4cbd9941c5705970a9f7a429e236e1203d3155a1
32244 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32245 Date: Mon Apr 5 18:10:42 2010 +0200
32247 Bug 613341 - pygobject tests seem to require pygtk causing a circular
32248 dependencies problem
32250 move tests that require pygtk to pygtk itself
32252 tests/test_conversion.py | 83 --------------
32253 tests/test_enum.py | 234 --------------------------------------
32254 tests/test_gtype.py | 112 ------------------
32255 tests/test_subtype.py | 289
32256 -----------------------------------------------
32257 4 files changed, 718 deletions(-)
32259 commit ef0ceb266a45715ece58642fb0042e3376416755
32260 Author: Simon van der Linden <svdlinden@src.gnome.org>
32261 Date: Wed Feb 3 20:33:03 2010 +0100
32263 Add modelines and copyright information to overrides modules
32265 gi/overrides/Gdk.py | 21 +++++++++++++++++++++
32266 gi/overrides/Gtk.py | 21 +++++++++++++++++++++
32267 gi/overrides/TestGI.py | 20 ++++++++++++++++++++
32268 3 files changed, 62 insertions(+)
32270 commit 5106523a4b8378997a1e6cb0488398aa73e7d9d5
32271 Author: Simon van der Linden <svdlinden@src.gnome.org>
32272 Date: Wed Feb 3 20:29:55 2010 +0100
32274 Fix and complete overrides tests
32276 Those tests were missing in the last commit
32278 https://bugzilla.gnome.org/show_bug.cgi?id=602830
32280 gi/overrides/TestGI.py | 49
32281 +++++++++++++++++++++++++++++++++++++++++++++++++
32282 tests/test_gi.py | 8 +++++++-
32283 2 files changed, 56 insertions(+), 1 deletion(-)
32285 commit 23fc0f615d87994acafd9d39e92dd92b587fc2eb
32286 Author: Simon van der Linden <svdlinden@src.gnome.org>
32287 Date: Thu Jan 21 17:30:51 2010 +0100
32289 Don't raise an error in _pygi_import if pygi support is disabled
32291 http://bugzilla.gnome.org/show_bug.cgi?id=607674
32293 gobject/pygboxed.c | 6 +-----
32294 gobject/pygi-external.h | 1 -
32295 gobject/pygobject.c | 6 +-----
32296 gobject/pygpointer.c | 6 +-----
32297 4 files changed, 3 insertions(+), 16 deletions(-)
32299 commit aefac8c5f64bf059dd6652f8a843d17b34fa0854
32300 Author: Simon van der Linden <svdlinden@src.gnome.org>
32301 Date: Fri Jan 22 22:22:37 2010 +0100
32303 Remove support for pointers to basic types as input-only argument
32306 There is no reason for an API to use such things, and
32307 g_function_info_invoke
32308 broke such features.
32310 https://bugzilla.gnome.org/show_bug.cgi?id=607759
32312 gi/pygi-argument.c | 586 ++++-------------------------------------------
32313 gi/pygi-argument.h | 1 -
32314 gi/pygi-info.c | 8 +-
32315 tests/libtestgi.c | 660
32316 -----------------------------------------------------
32317 tests/libtestgi.h | 86 -------
32318 tests/test_gi.py | 144 ------------
32319 6 files changed, 47 insertions(+), 1438 deletions(-)
32321 commit eaf7cb8ebb7e34f9493ac83b2f04af4dcf45f40f
32322 Author: Simon van der Linden <svdlinden@src.gnome.org>
32323 Date: Fri Jan 22 13:41:21 2010 +0100
32325 Restore the overrides support
32327 Add a ModuleProxy in front of the DynamicModule when an overrides
32329 present. There is no need for an overrides module to be a class;
32330 it can just be a module.
32332 Add an override decorator to override the wrapper of a registered
32335 Adapt Gdk and Gtk accordingly.
32339 https://bugzilla.gnome.org/show_bug.cgi?id=602830
32341 gi/importer.py | 40 +++++++-------------
32342 gi/module.py | 43 ++++++++++++++-------
32343 gi/overrides/Gdk.py | 42 +++++++++++++--------
32344 gi/overrides/Gtk.py | 16 ++++----
32345 gi/types.py | 6 +++
32346 tests/libtestgi.c | 105
32347 ++++++++++++++++++++++++++++++++++++++++++++++++++++
32348 tests/libtestgi.h | 49 ++++++++++++++++++++++++
32349 tests/test_gi.py | 36 ++++++++++++++++++
32350 8 files changed, 273 insertions(+), 64 deletions(-)
32352 commit 289d641775d1ea52d2a5379126b70b7fcee46683
32353 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32354 Date: Sun Jan 10 21:01:59 2010 +0100
32356 Initialize PyGPollFD_Type.fd_obj to NULL
32358 https://bugzilla.gnome.org/show_bug.cgi?id=606582
32360 gio/gcancellable.override | 1 +
32361 1 file changed, 1 insertion(+)
32363 commit b11cf2595987c1f0fc4ffd834f07c98b92aa2355
32364 Author: Simon van der Linden <svdlinden@src.gnome.org>
32365 Date: Fri Jan 8 21:10:28 2010 +0100
32367 Initialize struct fields to 0 when allocating
32369 gi/pygi-struct.c | 2 +-
32370 tests/test_gi.py | 5 +++++
32371 2 files changed, 6 insertions(+), 1 deletion(-)
32373 commit b4189be2b2d3c350fdf33e27309bee5a72e4f72a
32374 Author: Simon van der Linden <svdlinden@src.gnome.org>
32375 Date: Fri Jan 8 20:33:44 2010 +0100
32377 Don't set a default constructor for structures.
32379 Update tests accordingly.
32381 The reason for this change is that setting __new__ in the metaclass
32383 one overrides it afterwards, in a subclass (in my experience, at
32385 though it seems weird).
32387 https://bugzilla.gnome.org/show_bug.cgi?id=603536
32389 gi/types.py | 35 +++++++----------------------------
32390 tests/libtestgi.c | 33 ---------------------------------
32391 tests/libtestgi.h | 7 -------
32392 tests/test_gi.py | 21 ++++++++++-----------
32393 4 files changed, 17 insertions(+), 79 deletions(-)
32395 commit 4db68b958ea11bd2c3a88067cae03fd6bdd1d24b
32396 Author: Simon van der Linden <svdlinden@src.gnome.org>
32397 Date: Tue Jan 5 13:36:44 2010 +0100
32399 Suppress compilation warnings
32401 gi/pygi-argument.c | 3 ++-
32402 gi/pygi-boxed.c | 2 --
32403 gi/pygobject-external.h | 2 +-
32404 3 files changed, 3 insertions(+), 4 deletions(-)
32406 commit 4e2efa91d101bf755739e1cca8eee41eb0ad20fd
32407 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32408 Date: Mon Jan 4 08:35:14 2010 +0100
32410 Bug 605937 - pygobject: Makefile.am sets $TMPDIR, disrupting distcc
32412 Committed a patch from Kevin Pyle
32414 Makefile.am | 27 +++++++++++++--------------
32415 1 file changed, 13 insertions(+), 14 deletions(-)
32417 commit 8ddcbca0e98e0b0c082170a2b2b6cfcbd7864b40
32418 Author: Simon van der Linden <svdlinden@src.gnome.org>
32419 Date: Fri Dec 11 22:24:30 2009 +0100
32421 sys.path must be modified after pygtk is imported
32423 Otherwise, sys.path is overridden by pygtk and gi.repository is
32425 system's default site-package directory.
32427 tests/runtests.py | 1 -
32428 tests/test_gi.py | 3 +++
32429 2 files changed, 3 insertions(+), 1 deletion(-)
32431 commit 284a1e1c0143c95d3007cf58e6c248b5d11fb4d1
32432 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32433 Date: Sun Jan 3 11:02:57 2010 +0100
32435 Wrap gio.Cancellable.make_pollfd() and add a test
32437 gio/Makefile.am | 1 +
32438 gio/gcancellable.override | 37 +++++++++++++++++++++++++++++++++++++
32439 gio/gio.override | 3 +++
32440 tests/test_gcancellable.py | 15 +++++++++++++++
32441 4 files changed, 56 insertions(+)
32443 commit 82d7bcbf37200ee2ef5892dd12bebd2f39965c56
32444 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32445 Date: Sat Jan 2 23:15:56 2010 +0100
32447 Make cancellable an optional parameter in many methods
32450 +++++++++++++++++++++++++++++------------------------------
32451 1 file changed, 51 insertions(+), 51 deletions(-)
32453 commit 49a078cd22d55dc33a03ecfda235d63955edc741
32454 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32455 Date: Sat Jan 2 23:15:21 2010 +0100
32457 Post release version bump to 2.21.2
32459 configure.ac | 2 +-
32460 1 file changed, 1 insertion(+), 1 deletion(-)
32462 commit 4f9f1f43ab4e2cfb204ffa0e257a34cfd95d84e2
32463 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32464 Date: Sat Jan 2 22:58:36 2010 +0100
32466 Update NEWS and release PyGObject-2.21.1
32468 NEWS | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
32469 1 file changed, 55 insertions(+)
32471 commit c1f34be73bd186d7b4682dfef133da2c4229d213
32472 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32473 Date: Fri Jan 1 20:25:35 2010 +0100
32475 Wrap gio.Volume.eject_with_operation()
32477 gio/gvolume.override | 54
32478 ++++++++++++++++++++++++++++++++++++++++++++++++++++
32479 1 file changed, 54 insertions(+)
32481 commit 9b76fbff6f6897aaf26ed4644c1f19efc2826917
32482 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32483 Date: Fri Jan 1 20:22:21 2010 +0100
32485 gio.Mount.unmount_with_operation() fix a copy/paste leftover
32487 gio/gmount.override | 4 ++--
32488 1 file changed, 2 insertions(+), 2 deletions(-)
32490 commit 6f459786dd641cd49d81eba403d940620f961cab
32491 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32492 Date: Fri Jan 1 20:21:05 2010 +0100
32494 Wrap gio.Mount.eject_with_operation()
32496 gio/gmount.override | 54
32497 +++++++++++++++++++++++++++++++++++++++++++++++++++++
32498 1 file changed, 54 insertions(+)
32500 commit d4b5d1b4839364e5676eb2da28f1d21db7e2552d
32501 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32502 Date: Fri Jan 1 20:15:38 2010 +0100
32504 Wrap gio.Mount.unmount_mountable_with_operation()
32506 gio/gmount.override | 54
32507 +++++++++++++++++++++++++++++++++++++++++++++++++++++
32508 1 file changed, 54 insertions(+)
32510 commit e919d47c2430451b436cec955e9b99237f97028c
32511 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32512 Date: Fri Jan 1 18:22:46 2010 +0100
32514 Wrap File.unmount_mountable_with_operation()
32516 gio/gfile.override | 54
32517 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
32518 1 file changed, 54 insertions(+)
32520 commit 5a614df9c5507d67f240462f7bf71b4cd411addf
32521 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32522 Date: Fri Jan 1 18:14:11 2010 +0100
32524 Wrap gio.File.stop_mountable()
32526 gio/gfile.override | 52
32527 ++++++++++++++++++++++++++++++++++++++++++++++++++++
32528 1 file changed, 52 insertions(+)
32530 commit 6af506647f36f2b825bc6556df5ee57fa7721906
32531 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32532 Date: Fri Jan 1 18:10:49 2010 +0100
32534 Wrap gio.File.start_mountable()
32536 gio/gfile.override | 52
32537 ++++++++++++++++++++++++++++++++++++++++++++++++++++
32538 1 file changed, 52 insertions(+)
32540 commit e700efc839fc0b651fc9794a1611190bffa80263
32541 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32542 Date: Fri Jan 1 18:02:46 2010 +0100
32544 Wrap gio.File.replace_readwrite_async()
32546 gio/gfile.override | 55
32547 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
32548 1 file changed, 55 insertions(+)
32550 commit 92662f129fc728258fd5e34f53dcb081e3715017
32551 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32552 Date: Fri Jan 1 17:00:26 2010 +0100
32554 Wrap gio.File.poll_mountable()
32556 gio/gfile.override | 41 +++++++++++++++++++++++++++++++++++++++++
32557 1 file changed, 41 insertions(+)
32559 commit 99902b786500948c3278779841e4db54223b9256
32560 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32561 Date: Fri Jan 1 16:56:26 2010 +0100
32563 Wrap gio.File.open_readwrite_async()
32565 gio/gfile.override | 44 ++++++++++++++++++++++++++++++++++++++++++++
32566 1 file changed, 44 insertions(+)
32568 commit 8cff5d53183ae81364ac74a34a1d52e55e082eb4
32569 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32570 Date: Fri Jan 1 16:50:15 2010 +0100
32572 Wrap gio.File.eject_mountable_with_operation()
32574 gio/gfile.override | 54
32575 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
32576 1 file changed, 54 insertions(+)
32578 commit ca436fe7785fd24b0f0e65f2f8c9fa6478277682
32579 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32580 Date: Fri Jan 1 13:30:24 2010 +0100
32582 Wrap gio.File.create_readwrite_async() and add a test
32584 gio/gfile.override | 51
32585 +++++++++++++++++++++++++++++++++++++++++++++++++++
32586 tests/test_gio.py | 24 ++++++++++++++++++++++++
32587 2 files changed, 75 insertions(+)
32589 commit f72c5e451dfaeb01b3c3d9243fed2732d3620462
32590 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32591 Date: Fri Jan 1 13:20:11 2010 +0100
32593 Wrap gio.Drive.stop()
32595 gio/gdrive.override | 52
32596 ++++++++++++++++++++++++++++++++++++++++++++++++++++
32597 1 file changed, 52 insertions(+)
32599 commit 29043bade408338cefa13fb4b0c875aabd3ef05e
32600 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32601 Date: Fri Jan 1 13:00:42 2010 +0100
32603 Wrap gio.Drive.start()
32605 gio/gdrive.override | 52
32606 ++++++++++++++++++++++++++++++++++++++++++++++++++++
32607 1 file changed, 52 insertions(+)
32609 commit dff374287bbecc8af782bbc726fad86c6c867754
32610 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32611 Date: Fri Jan 1 12:45:29 2010 +0100
32613 Add more remainders on missing methods of gio.Socket and related types
32615 gio/gsocket.override | 3 +++
32616 1 file changed, 3 insertions(+)
32618 commit b8c7e996498bd72df551011af85ff05ef7335b4f
32619 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32620 Date: Fri Jan 1 12:41:08 2010 +0100
32622 Wrap gio.SocketListener.accept_socket_async|finish() and add a test
32624 gio/gsocket.override | 86
32625 +++++++++++++++++++++++++++++++++++++++++++++++++--
32626 tests/test_gsocket.py | 24 ++++++++++++++
32627 2 files changed, 108 insertions(+), 2 deletions(-)
32629 commit a5ae2d5ba3db34967fe07a3cc97b75df2793988c
32630 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32631 Date: Fri Jan 1 12:28:53 2010 +0100
32633 Wrap gio.SocketListener.accept_finish() and add a test
32635 gio/gsocket.override | 44 ++++++++++++++++++++++++++++++++++++++++++--
32636 tests/test_gsocket.py | 24 ++++++++++++++++++++++++
32637 2 files changed, 66 insertions(+), 2 deletions(-)
32639 commit a5ab26cc1bb3e9dd57e2fdb26ef5c02e8066d097
32640 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32641 Date: Fri Jan 1 11:19:34 2010 +0100
32643 Wrap gio.SocketListener.accept_async()
32645 gio/gsocket.override | 42 ++++++++++++++++++++++++++++++++++++++++++
32646 1 file changed, 42 insertions(+)
32648 commit c9496b29ef9ef232020a4044577d2947353953a5
32649 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32650 Date: Fri Jan 1 11:14:35 2010 +0100
32652 Wrap gio.SocketListener.accept_socket() and add a test
32654 gio/gsocket.override | 48
32655 +++++++++++++++++++++++++++++++++++++++++++++++-
32656 tests/test_gsocket.py | 13 +++++++++++++
32657 2 files changed, 60 insertions(+), 1 deletion(-)
32659 commit 1aa5e301c49f11e1c5ef58de44b4b03f714d1a70
32660 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32661 Date: Thu Dec 31 16:35:18 2009 +0100
32663 Wrap gio.SocketListener.accept() and add a test
32665 gio/gsocket.override | 46 +++++++++++++++++++++++++++++++++++++++++++++-
32666 tests/test_gsocket.py | 13 +++++++++++++
32667 2 files changed, 58 insertions(+), 1 deletion(-)
32669 commit aaedcf166c78baf5449ef59d0ade4a29077fedc7
32670 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32671 Date: Thu Dec 31 16:25:33 2009 +0100
32673 Make cancellable optional in gio.SocketClient.connect_to_host()
32675 gio/gio.defs | 2 +-
32676 1 file changed, 1 insertion(+), 1 deletion(-)
32678 commit 3829d7667b19126fb74562b28d271e616b154c99
32679 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32680 Date: Thu Dec 31 15:25:10 2009 +0100
32682 Wrap gio.SocketListener.add_address() and add a test
32684 gio/gsocket.override | 57
32685 ++++++++++++++++++++++++++++++++++++++++++++++++++-
32686 tests/test_gsocket.py | 9 ++++++++
32687 2 files changed, 65 insertions(+), 1 deletion(-)
32689 commit 5bec72f34ea75bc56158cae5c39d61a2a4e7e601
32690 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32691 Date: Thu Dec 31 10:19:47 2009 +0100
32693 Add more remainders on missing methods of gio.Socket and related types
32695 gio/gsocket.override | 8 ++++++++
32696 1 file changed, 8 insertions(+)
32698 commit b08b20f2b1a57bcbf400d6fe8e87cf052bdb719d
32699 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32700 Date: Thu Dec 31 10:16:18 2009 +0100
32702 Wrap gio.SocketClient.connect_to_service_async()
32704 gio/gsocket.override | 47 +++++++++++++++++++++++++++++++++++++++++++++++
32705 1 file changed, 47 insertions(+)
32707 commit 116ea1bfe32946e67aa54eb8dc7b977e57f254c2
32708 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32709 Date: Thu Dec 31 10:10:43 2009 +0100
32711 Wrap gio.SocketClient.connect_to_host_async()
32713 gio/gsocket.override | 48
32714 ++++++++++++++++++++++++++++++++++++++++++++++++
32715 1 file changed, 48 insertions(+)
32717 commit 9c930910505d5b9001b8cec17ff98fadeaa799e2
32718 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32719 Date: Thu Dec 31 09:59:46 2009 +0100
32721 Wrap gio.SocketClient.connect_async()
32723 gio/gsocket.override | 45 +++++++++++++++++++++++++++++++++++++++++++++
32724 1 file changed, 45 insertions(+)
32726 commit dff024256295c15e49888ad9d5fef74a7746edd7
32727 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32728 Date: Wed Dec 30 23:44:25 2009 +0100
32730 Wrap gio.SocketAddressEnumerator.next_async() and add a test
32732 gio/gsocket.override | 42 ++++++++++++++++++++++++++++++++++++++++++
32733 tests/test_gsocket.py | 16 ++++++++++++++++
32734 2 files changed, 58 insertions(+)
32736 commit e2330bd0d6cbc49b0ecb27b30e3b0593935ce229
32737 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32738 Date: Wed Dec 30 23:43:14 2009 +0100
32740 Add a missing object gio.InetSocketAddress new in GIO 2.22
32742 gio/gio-types.defs | 7 +++++++
32743 gio/gio.defs | 31 +++++++++++++++++++++++++++++++
32744 2 files changed, 38 insertions(+)
32746 commit 6040b33467ea381c6cb02f6a5efc0745fa8fa47b
32747 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32748 Date: Wed Dec 30 22:54:47 2009 +0100
32750 Make cancellable optional for gio.SocketAddressEnumerator.next()
32752 gio/gio.defs | 2 +-
32753 1 file changed, 1 insertion(+), 1 deletion(-)
32755 commit b19f59790b9de943d69b6c5e483928e0443c3d20
32756 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32757 Date: Wed Dec 30 22:17:44 2009 +0100
32759 Add a remainder of the Socket methods that needs manual wrapping still
32761 gio/gsocket.override | 5 +++++
32762 1 file changed, 5 insertions(+)
32764 commit 771a7c3fdef7b2e98e509293a8376a81c1282286
32765 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32766 Date: Wed Dec 30 17:20:35 2009 +0100
32768 Wrap gio.Socket.condition_wait() and add a test
32770 gio/gsocket.override | 27 +++++++++++++++++++++++++++
32771 tests/test_gsocket.py | 6 +++++-
32772 2 files changed, 32 insertions(+), 1 deletion(-)
32774 commit 50960656815b0897a5ebe5f011537b8dcbdc857e
32775 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32776 Date: Wed Dec 30 16:21:49 2009 +0100
32778 Wrap gio.Socket.condition_check() and add a test
32780 gio/Makefile.am | 1 +
32781 gio/gio.override | 1 +
32782 gio/gsocket.override | 41 +++++++++++++++++++++++++++++++++++++++++
32783 tests/test_gsocket.py | 21 +++++++++++++++++++++
32784 4 files changed, 64 insertions(+)
32786 commit de7a359e81792ae8573ac944455ea289985449ed
32787 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32788 Date: Wed Dec 30 14:07:52 2009 +0100
32790 Wrap gio.Resolver.lookup_service_finish() and add a test
32792 gio/gresolver.override | 37 +++++++++++++++++++++++++++++++++++++
32793 tests/test_gresolver.py | 13 +++++++++++++
32794 2 files changed, 50 insertions(+)
32796 commit 308421789ce849040d645077c41c80b6e2e65e83
32797 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32798 Date: Wed Dec 30 14:00:22 2009 +0100
32800 Wrap gio.Resolver.lookup_service_async()
32802 gio/gresolver.override | 48
32803 ++++++++++++++++++++++++++++++++++++++++++++++++
32804 1 file changed, 48 insertions(+)
32806 commit 9d56ce775f56fff1b1ef3c75843c0583e39f75c3
32807 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32808 Date: Wed Dec 30 11:11:32 2009 +0100
32810 Wrap gio.Resolver.lookup_service() and add a test
32812 gio/gresolver.override | 42 ++++++++++++++++++++++++++++++++++++++++++
32813 tests/test_gresolver.py | 5 +++++
32814 2 files changed, 47 insertions(+)
32816 commit 7fc71f490494dae73a5264869a97a9d30814930e
32817 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32818 Date: Tue Dec 29 22:12:50 2009 +0100
32820 Wrap gio.Resolver.lookup_by_address_async() and add a test
32822 gio/gresolver.override | 46
32823 ++++++++++++++++++++++++++++++++++++++++++++++
32824 tests/test_gresolver.py | 14 ++++++++++++++
32825 2 files changed, 60 insertions(+)
32827 commit c91656dbe56f07d3ebbad5113467c22427cf212a
32828 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32829 Date: Tue Dec 29 21:41:30 2009 +0100
32831 Wrap gio.Resolver.lookup_by_name_finish() and add a test
32833 gio/gresolver.override | 82
32834 +++++++++++++++++++++++++++++++++++++++++++++++++
32835 tests/test_gresolver.py | 16 ++++++++--
32836 2 files changed, 96 insertions(+), 2 deletions(-)
32838 commit 45b477342fa1c2435917c6d97745ad57665c4734
32839 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32840 Date: Tue Dec 29 17:15:44 2009 +0100
32842 Wrap gio.Drive.eject_with_data()
32844 gio/gdrive.override | 54
32845 +++++++++++++++++++++++++++++++++++++++++++++++++++++
32846 1 file changed, 54 insertions(+)
32848 commit 635227480f9659a1f91ab1ec12536d3ed012a976
32849 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32850 Date: Tue Dec 29 17:06:52 2009 +0100
32852 Deprecate old gio.Drive methods
32854 gio/gdrive.override | 7 ++++++-
32856 2 files changed, 7 insertions(+), 1 deletion(-)
32858 commit 3c0cbc95af29b1e192ed4b5963e96e39c70b349c
32859 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32860 Date: Tue Dec 29 13:51:54 2009 +0100
32862 Small fix in the header
32864 gio/gdrive.override | 2 +-
32865 1 file changed, 1 insertion(+), 1 deletion(-)
32867 commit 7589128515b79d836365247dc876538c6352da23
32868 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32869 Date: Tue Dec 29 12:40:50 2009 +0100
32871 Wrap gio.Resolver.lookup_by_name() and add a couple of tests
32873 gio/Makefile.am | 1 +
32874 gio/gio.override | 1 +
32875 gio/gresolver.override | 57
32876 +++++++++++++++++++++++++++++++++++++++++++++++++
32877 tests/test_gresolver.py | 21 ++++++++++++++++++
32878 4 files changed, 80 insertions(+)
32880 commit 604d2bf220b1fefa415baaedbdb2882dbaf9e07e
32881 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32882 Date: Tue Dec 29 12:39:13 2009 +0100
32884 Make cancellable an optional parameter in
32885 gio.Resolver.lookup_by_address()
32887 gio/gio.defs | 2 +-
32888 1 file changed, 1 insertion(+), 1 deletion(-)
32890 commit 00029145f4cd10759b37b38fb9f72435bf26b28b
32891 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32892 Date: Tue Dec 29 10:15:14 2009 +0100
32894 Strip g_ prefix for many other functions
32897 ++++++++++++++++++++++++++++++------------------------------
32898 1 file changed, 47 insertions(+), 47 deletions(-)
32900 commit 56d5dfc4fd862e32c19f944a0feb7a00a9154f06
32901 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32902 Date: Tue Dec 29 10:12:53 2009 +0100
32904 Strip g_prefix from InetAddress functions
32906 gio/gio.defs | 8 ++++----
32907 1 file changed, 4 insertions(+), 4 deletions(-)
32909 commit 1d360301d51a587a36a59f5d62e354484bbd2b31
32910 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32911 Date: Tue Dec 29 10:03:59 2009 +0100
32913 Fix function name gio.resolver_get_default()
32915 Strip the g_ prefix from function name
32917 gio/gio.defs | 2 +-
32918 1 file changed, 1 insertion(+), 1 deletion(-)
32920 commit 0fe00109c4f6fc27cbaae9b0a24ecfac71355d2f
32921 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32922 Date: Tue Dec 29 09:54:05 2009 +0100
32924 Wrap gio.FileIOStream.query_info_async() and add a test
32926 gio/Makefile.am | 1 +
32927 gio/gfileiostream.override | 68
32928 ++++++++++++++++++++++++++++++++++++++++++++++
32929 gio/gio.override | 1 +
32930 tests/test_gio.py | 18 ++++++++++++
32931 4 files changed, 88 insertions(+)
32933 commit 86783c695f3641b9491962e8f95a4dcb91f4017c
32934 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32935 Date: Tue Dec 29 13:08:29 2009 +0100
32937 Register enums and flags in PyGI if needed
32939 https://bugzilla.gnome.org/show_bug.cgi?id=603534
32941 gobject/pygenum.c | 20 ++++++++++++++------
32942 gobject/pygflags.c | 19 +++++++++++++------
32943 2 files changed, 27 insertions(+), 12 deletions(-)
32945 commit b90c01cff5ff5cb2796182f2ffd7b5248eaeed6a
32946 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32947 Date: Mon Dec 28 22:41:54 2009 +0100
32949 Wrap GIOStream.close_async() and add a test
32951 gio/Makefile.am | 1 +
32952 gio/gio.override | 1 +
32953 gio/giostream.override | 68
32954 ++++++++++++++++++++++++++++++++++++++++++++++++++
32955 tests/test_gio.py | 21 ++++++++++++++++
32956 4 files changed, 91 insertions(+)
32958 commit 0bff01bcee73a0e0d18342331136119c4e8bf151
32959 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32960 Date: Mon Dec 28 22:39:09 2009 +0100
32962 Make cancellable an optional parameter in GFile.create_readwrite()
32964 gio/gio.defs | 2 +-
32965 1 file changed, 1 insertion(+), 1 deletion(-)
32967 commit 1cabd733cde269ce3164834933f4a226673ecb0b
32968 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32969 Date: Mon Dec 28 21:39:50 2009 +0100
32971 Remove a duplicate entry in gio.defs
32973 gio/gio.defs | 9 ---------
32974 1 file changed, 9 deletions(-)
32976 commit 9ac372ad0bcfdec4bb1c96bc152246542a59a9b1
32977 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32978 Date: Mon Dec 28 21:37:49 2009 +0100
32980 Wrap gio.FileInfo.set_modification_time and add a test
32982 gio/gfileinfo.override | 33 ++++++++++++++++++++++++++++++++-
32983 tests/test_gio.py | 7 ++++++-
32984 2 files changed, 38 insertions(+), 2 deletions(-)
32986 commit 7bc2673f92138b1804d8eba091942d14d8884f90
32987 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32988 Date: Mon Dec 28 18:28:03 2009 +0100
32990 Wrap gio.EmblemedIcon.get_emblems() and add a test
32992 gio/gicon.override | 14 ++++++++++++++
32993 tests/test_gicon.py | 7 +++++++
32994 2 files changed, 21 insertions(+)
32996 commit 3d5056ad766d6856d8d6459fe9b377de2f0fd172
32997 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32998 Date: Sat Dec 26 22:27:48 2009 +0100
33000 Update Enums and Flags with new API
33002 gio/gio-types.defs | 153
33003 +++++++++++++++++++++++++++++++++++++++++++++++++++--
33004 1 file changed, 149 insertions(+), 4 deletions(-)
33006 commit 62a9d660a4a2d5fab1d57c6c96c984ff02d25ccd
33007 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33008 Date: Fri Dec 25 18:06:39 2009 +0100
33010 Post release version bump to 2.21.1
33012 configure.ac | 2 +-
33013 1 file changed, 1 insertion(+), 1 deletion(-)
33015 commit 2bd92cba5b028f0f78c35ecb34e648e95248f9d3
33016 Author: Bastian Winkler <buz@netbuz.org>
33017 Date: Fri Aug 14 15:10:26 2009 +0200
33019 Fix handling of uchar in pyg_value_from_pyobject
33021 Set the value by g_value_set_uchar and allow to use integer types
33024 gobject/pygtype.c | 15 +++++++++++----
33025 1 file changed, 11 insertions(+), 4 deletions(-)
33027 commit 828d0f042b59ea0319f33a23803c179af34ef2f1
33028 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33029 Date: Tue Dec 22 18:05:47 2009 +0100
33031 Add Gtk.keysyms to overrides
33033 gi/overrides/Gtk.py | 2 +
33034 gi/overrides/Makefile.am | 1 +
33035 gi/overrides/keysyms.py | 1499
33036 ++++++++++++++++++++++++++++++++++++++++++++++
33037 3 files changed, 1502 insertions(+)
33039 commit 24fa1224ff00b9da177e0bfaa1e14e1b899e4976
33040 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33041 Date: Wed Nov 25 10:33:56 2009 +0100
33043 The array field 'length' starts to count from the C arg list, so
33044 need to decrement when it's a method
33046 https://bugzilla.gnome.org/show_bug.cgi?id=602640
33048 gi/pygi-argument.c | 11 +++++++++-
33049 gi/pygi-argument.h | 3 ++-
33050 gi/pygi-info.c | 14 +++++++++++--
33051 tests/libtestgi.c | 60
33052 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
33053 tests/libtestgi.h | 4 ++++
33054 tests/test_gi.py | 15 ++++++++++++++
33055 6 files changed, 103 insertions(+), 4 deletions(-)
33057 commit 867536c6734e606d045760837ed22583da06566e
33058 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33059 Date: Fri Dec 18 10:50:09 2009 +0100
33061 Update NEWS and README, release pygobject 2.21.0
33063 NEWS | 18 ++++++++++++++++++
33065 2 files changed, 21 insertions(+), 3 deletions(-)
33067 commit f50fbd24fa61863aaefa4ae1e12e0b314ecd43ae
33068 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33069 Date: Fri Dec 18 10:31:48 2009 +0100
33071 Add pygi-external.h into Makefile SOURCES
33073 gobject/Makefile.am | 3 ++-
33074 1 file changed, 2 insertions(+), 1 deletion(-)
33076 commit 108c03b78f04b4bcfe066a6cb4d941e172bd32fe
33077 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33078 Date: Fri Dec 18 01:20:34 2009 +0100
33080 Bug 598435 - No wrapping for g_find_program_in_path ()
33082 glib/glibmodule.c | 20 ++++++++++++++++++++
33083 1 file changed, 20 insertions(+)
33085 commit d3d5cb3a4a2c2cb2bd0c2571304d59e19bc08452
33086 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33087 Date: Thu Dec 17 21:54:36 2009 +0100
33089 Wrap new API added in GIO-UNIX 2.22
33091 gio/unix-types.defs | 22 ++++++++++
33092 gio/unix.defs | 115
33093 +++++++++++++++++++++++++++++++++++++++++++++++++++-
33094 gio/unix.override | 8 ++++
33095 3 files changed, 144 insertions(+), 1 deletion(-)
33097 commit c87c8a81947a68507e8f3bcaf8e0e969b3e5331b
33098 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33099 Date: Thu Dec 17 21:52:11 2009 +0100
33101 Bump required glib version to 2.22.4
33103 I've committed a patch to glib which will be released in the stable
33105 Without the patch the unix module will fail, so I'm forced to bump.
33107 configure.ac | 6 +++---
33108 1 file changed, 3 insertions(+), 3 deletions(-)
33110 commit b630c8d4b1e55938dac89729768c4a877b305215
33111 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33112 Date: Thu Dec 17 02:24:45 2009 +0100
33114 Properly define Connectable as interface type and not object type
33116 gio/gio-types.defs | 12 ++++++------
33117 1 file changed, 6 insertions(+), 6 deletions(-)
33119 commit e955b931b07113c7432f7a85f882f69f12d263ad
33120 Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
33121 Date: Mon Nov 30 22:01:25 2009 +0100
33123 Depend on GLib 2.20 rather than 2.22
33125 Backport g_array_get_element_size.
33127 https://bugzilla.gnome.org/show_bug.cgi?id=603411
33129 configure.ac | 2 +-
33130 gi/pygi-private.h | 19 +++++++++++++++++++
33131 2 files changed, 20 insertions(+), 1 deletion(-)
33133 commit 542fdf6da4ad8f2d28d0d50152bd93cb4d8ee39a
33134 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33135 Date: Sat Nov 28 18:48:19 2009 +0000
33137 Use the limit constants from glib and interpret G_MAXUINT32 as
33138 PyLong_FromLongLong
33140 https://bugzilla.gnome.org/show_bug.cgi?id=602384
33142 gi/pygi-argument.c | 14 +++++++-------
33143 tests/test_gi.py | 18 +++++++++---------
33144 2 files changed, 16 insertions(+), 16 deletions(-)
33146 commit 38e89942d29f2a1dba47ab4a8d5edc84322707cd
33147 Author: Simon van der Linden <svdlinden@src.gnome.org>
33148 Date: Mon Nov 30 00:10:56 2009 +0100
33150 Suppress warnings about format conversion
33152 https://bugzilla.gnome.org/show_bug.cgi?id=603355
33154 gobject/generate-constants.c | 32 ++++++++++++++++----------------
33155 1 file changed, 16 insertions(+), 16 deletions(-)
33157 commit cfa7d005487e17e8f7c1ceb14282d3a5baadb736
33158 Author: Simon van der Linden <svdlinden@src.gnome.org>
33159 Date: Sat Nov 28 00:22:21 2009 +0100
33161 Remove global checks for pointers and move them in type cases that
33164 gi/pygi-argument.c | 516
33165 +++++++++++++++++++++++++++++++++++++++++++----------
33166 gi/pygi-info.c | 333 +++++++++++++++++-----------------
33167 2 files changed, 596 insertions(+), 253 deletions(-)
33169 commit d1ae73f3cf7cebdb74c9ec56b08928a2a53b9de6
33170 Author: Johan Dahlin <johan@gnome.org>
33171 Date: Mon Nov 23 15:58:17 2009 -0200
33173 Pythonify. Avoid ; and () around if statements
33175 https://bugzilla.gnome.org/show_bug.cgi?id=602830
33177 gi/types.py | 8 ++++----
33178 1 file changed, 4 insertions(+), 4 deletions(-)
33180 commit a8660621679c629fc81320a8ddf5bf2c7ee1f177
33181 Author: Johan Dahlin <johan@gnome.org>
33182 Date: Tue Nov 24 10:36:18 2009 -0200
33184 Remove trailing whitespace
33186 https://bugzilla.gnome.org/show_bug.cgi?id=602830
33188 gi/module.py | 4 ++--
33189 1 file changed, 2 insertions(+), 2 deletions(-)
33191 commit 66c34805223af9e63c7d61f21a3dbd7505a8f256
33192 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33193 Date: Mon Nov 30 10:03:34 2009 +0000
33195 Set a default constructor for boxed structs that don't have one
33197 https://bugzilla.gnome.org/show_bug.cgi?id=602735
33199 gi/Makefile.am | 2 +
33200 gi/gimodule.c | 1 +
33201 gi/module.py | 2 +-
33202 gi/pygi-argument.c | 14 +++-
33203 gi/pygi-boxed.c | 184
33204 +++++++++++++++++++++++++++++++++++++++++++++++++++++
33205 gi/pygi-boxed.h | 40 ++++++++++++
33206 gi/pygi-info.c | 2 +-
33207 gi/pygi-private.h | 1 +
33209 gi/types.py | 18 ------
33210 tests/libtestgi.c | 72 ++++++++++-----------
33211 tests/libtestgi.h | 18 +++---
33212 tests/test_gi.py | 47 ++++++++------
33213 13 files changed, 321 insertions(+), 86 deletions(-)
33215 commit e7e2fccae36c28c7e9f288fcd4c90a001140e307
33216 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33217 Date: Mon Nov 30 10:53:57 2009 +0000
33219 Revert "Use the limit constants from glib and interpret G_MAXUINT32
33220 as PyLong_FromLongLong"
33222 This reverts commit 05a2ed55f3e5d2620de8b3b6b0d99e928ef3b041.
33224 gi/pygi-argument.c | 14 +++++++-------
33225 tests/test_gi.py | 18 +++++++++---------
33226 2 files changed, 16 insertions(+), 16 deletions(-)
33228 commit 05a2ed55f3e5d2620de8b3b6b0d99e928ef3b041
33229 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33230 Date: Sat Nov 28 18:48:19 2009 +0000
33232 Use the limit constants from glib and interpret G_MAXUINT32 as
33233 PyLong_FromLongLong
33235 https://bugzilla.gnome.org/show_bug.cgi?id=602384
33237 gi/pygi-argument.c | 14 +++++++-------
33238 tests/test_gi.py | 18 +++++++++---------
33239 2 files changed, 16 insertions(+), 16 deletions(-)
33241 commit e24d155dd7b4a5b9c25c054137d1370c369d3192
33242 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33243 Date: Sat Nov 28 18:45:54 2009 +0000
33245 Add the missing limit constants from glibconfig.h
33247 https://bugzilla.gnome.org/show_bug.cgi?id=603244
33249 gobject/generate-constants.c | 17 ++++++++++++++++-
33250 1 file changed, 16 insertions(+), 1 deletion(-)
33252 commit 3a295cb7ffaaaf29c71b8833cf0ee5ec7ceaa909
33253 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33254 Date: Sat Nov 28 18:48:49 2009 +0100
33256 Fix bad name when rebuilding the unix source module
33258 gio/Makefile.am | 2 +-
33259 1 file changed, 1 insertion(+), 1 deletion(-)
33261 commit a8cbb6fb72dbe6630d1265b18095c9a96f496b86
33262 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33263 Date: Sat Nov 28 18:47:26 2009 +0100
33265 Wrap new API added in GIO 2.22
33267 gio/gio-types.defs | 138 +++
33268 gio/gio.defs | 2444
33269 +++++++++++++++++++++++++++++++++++++++++++++++-----
33270 2 files changed, 2360 insertions(+), 222 deletions(-)
33272 commit 96f6c638709636d7e2ddf560b877879691da3314
33273 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33274 Date: Sat Nov 28 11:03:51 2009 +0000
33276 A few tests about interfaces
33278 https://bugzilla.gnome.org/show_bug.cgi?id=601181
33280 tests/libtestgi.c | 23 +++++++++++++++++++++++
33281 tests/libtestgi.h | 16 ++++++++++++++++
33282 tests/test_gi.py | 21 +++++++++++++++++++++
33283 3 files changed, 60 insertions(+)
33285 commit 076ba3156c13375a75983cef7a409c8c8afea119
33286 Author: Simon van der Linden <svdlinden@src.gnome.org>
33287 Date: Thu Nov 26 23:50:54 2009 +0100
33289 Fix members initialization in metaclasses
33291 In metaclasses, the test for the name of the class was wrong, since it
33292 prevented one to create a subclass with the same name (especially
33294 overrides). Now, if a GType is available from the info, the fact
33296 doesn't have any wrapper yet means that the metaclass is creating
33298 class, which will be registerd just after its creation. This is
33300 objects, and for structures registered as boxed or pointer too.
33302 This patch includes a test for basic subclassing in Python. It
33304 that methods don't get overridden by the metaclass.
33306 gi/types.py | 5 +++--
33307 tests/test_gi.py | 19 +++++++++++++++++++
33308 2 files changed, 22 insertions(+), 2 deletions(-)
33310 commit ac80e64c9f7d257865aa820753e52d56cf2871c8
33311 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33312 Date: Fri Nov 27 12:06:59 2009 +0000
33314 Structs in arrays are not marshalled correctly
33316 https://bugzilla.gnome.org/show_bug.cgi?id=602709
33318 gi/pygi-argument.c | 29 ++++++++++++++++++++++++-----
33319 tests/libtestgi.c | 23 ++++++++++++++++++++++-
33320 tests/libtestgi.h | 7 +++++--
33321 tests/test_gi.py | 8 ++++++++
33322 4 files changed, 59 insertions(+), 8 deletions(-)
33324 commit 4a373b8ad6ec137e911b92a3e745e0fd76541292
33325 Author: Simon van der Linden <svdlinden@src.gnome.org>
33326 Date: Wed Nov 25 16:53:55 2009 +0100
33328 Use the right variable when looking up in sys.modules
33330 gi/importer.py | 2 +-
33331 1 file changed, 1 insertion(+), 1 deletion(-)
33333 commit fc3dca018e85aee34ade79d104ebd8cdd1dd5968
33334 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33335 Date: Tue Nov 24 15:52:47 2009 +0100
33337 Accept 0 as a valid value for flag and enum arguments
33339 https://bugzilla.gnome.org/show_bug.cgi?id=602638
33341 gi/pygi-argument.c | 19 ++++++++++++++++++-
33342 tests/libtestgi.c | 6 ++++++
33343 tests/libtestgi.h | 1 +
33344 tests/test_gi.py | 1 +
33345 4 files changed, 26 insertions(+), 1 deletion(-)
33347 commit 33081c29a1c2fdec2b8bfe17ae0a72b8db7a8d84
33348 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33349 Date: Tue Nov 24 13:10:11 2009 +0100
33351 Add stuff to .gitignore
33353 .gitignore | 7 +++++++
33354 1 file changed, 7 insertions(+)
33356 commit 5c010fe673d9bd01c27c8d7d312064665275888c
33357 Author: Simon van der Linden <svdlinden@src.gnome.org>
33358 Date: Mon Nov 23 22:39:12 2009 +0100
33360 Remove the girepository module
33363 configure.ac | 17 -
33364 girepository/Makefile.am | 54 --
33365 girepository/__init__.py | 24 -
33366 girepository/bank-argument.c | 379 ------------
33367 girepository/bank-info.c | 1194
33368 ------------------------------------
33369 girepository/bank-repository.c | 236 -------
33370 girepository/bank.c | 155 -----
33371 girepository/bank.h | 80 ---
33372 girepository/btypes.py | 300 ---------
33373 girepository/importer.py | 51 --
33374 girepository/module.py | 224 -------
33375 girepository/overrides/Gdk.py | 14 -
33376 girepository/overrides/Gtk.py | 8 -
33377 girepository/overrides/__init__.py | 0
33378 girepository/repository.py | 51 --
33379 tests/test_girepository.py | 386 ------------
33380 17 files changed, 1 insertion(+), 3174 deletions(-)
33382 commit a644edf0515c26ed027522891ccf02aceac764e8
33383 Author: Johan Dahlin <johan@gnome.org>
33384 Date: Mon Nov 23 15:32:16 2009 -0200
33386 Create overridden modules in two passes
33388 This patch splits overridden module creation into two passes. The
33390 creates the auto-generated module normally before the overridden
33392 attempted to be imported. The second pass imports the overridden
33394 replaces the auto-generated module with the overridden. This is
33396 for the overridden modules to be able to access the auto-generated
33399 gi/importer.py | 34 +++++++++++++++++++++-------------
33400 1 file changed, 21 insertions(+), 13 deletions(-)
33402 commit fad89e12a744b57e6348968f351d25d167de8248
33403 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33404 Date: Sun Nov 22 17:56:20 2009 +0100
33406 Add support for Any arguments
33408 https://bugzilla.gnome.org/show_bug.cgi?id=601253
33410 gi/pygi-argument.c | 20 ++++++++++++--------
33411 tests/libtestgi.c | 5 +++++
33412 tests/libtestgi.h | 5 +++++
33413 tests/test_gi.py | 5 +++++
33414 4 files changed, 27 insertions(+), 8 deletions(-)
33416 commit 1dc62a998dd8d2a0a397f8309011a8d79cb56034
33417 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33418 Date: Sun Nov 22 17:25:04 2009 +0100
33420 Register interfaces
33422 https://bugzilla.gnome.org/show_bug.cgi?id=601181
33424 gi/gimodule.c | 33 +++++++++++++++++++++++++++++++++
33425 gi/types.py | 5 ++++-
33426 2 files changed, 37 insertions(+), 1 deletion(-)
33428 commit d67d5afb5115c1d8294415b2e1a82af2c737ba17
33429 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33430 Date: Sun Nov 22 18:23:02 2009 +0200
33432 Ignore one more file.
33435 1 file changed, 1 insertion(+)
33437 commit 408b2186aea58a41ec26b9d0ca29ecd42df5ef7e
33438 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33439 Date: Sun Nov 22 18:22:23 2009 +0200
33441 Fix wrong minimum checking in float properties
33443 Bug #587637. Test the fix.
33445 gobject/propertyhelper.py | 5 +++--
33446 tests/test_properties.py | 6 ++++++
33447 2 files changed, 9 insertions(+), 2 deletions(-)
33449 commit 6ccf58afcf58e118903ced0135f0fe69b00e09ad
33450 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33451 Date: Mon Oct 26 18:06:06 2009 +0000
33453 Treat GI_INFO_TYPE_INTERFACE same as GI_INFO_TYPE_OBJECT
33455 gi/pygi-argument.c | 3 +++
33456 1 file changed, 3 insertions(+)
33458 commit e6f730d6e1431e36bd5f6b503a1038617f8d1e7d
33459 Author: Simon van der Linden <svdlinden@src.gnome.org>
33460 Date: Sat Nov 14 21:42:43 2009 +0100
33462 Import pygtk properly to avoid failure on some setups
33464 tests/test_gi.py | 3 +++
33465 1 file changed, 3 insertions(+)
33467 commit e604a89e9dc1a79687ef5fb94af7a2182be07dfb
33468 Author: Alex Dedul <rotmer@gmail.com>
33469 Date: Sat Nov 14 21:39:15 2009 +0100
33471 Search for python-config-${VERSION} when python${VERSION}-config is
33474 On Gentoo, notably, the config tool is named python-config-${VERSION},
33476 Fedora and Ubuntu, it is named python${VERSION}-config.
33478 Signed-off-by: Simon van der Linden <svdlinden@src.gnome.org>
33480 configure.ac | 7 +++++--
33481 1 file changed, 5 insertions(+), 2 deletions(-)
33483 commit 4a887cfabb326cb99dc65073d592c03f59e2f141
33484 Author: Simon van der Linden <svdlinden@src.gnome.org>
33485 Date: Sat Nov 14 21:36:19 2009 +0100
33487 Fix silent rules setup
33489 configure.ac | 2 +-
33490 1 file changed, 1 insertion(+), 1 deletion(-)
33492 commit 602afea88c338a38327cd84e08703c5daa384ec6
33493 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33494 Date: Tue Nov 10 22:32:33 2009 +0200
33496 Move threads_init() function from 'gobject' to 'glib'
33498 Retain in original place for backward compatibility, but remove it
33501 docs/reference/pygobject-functions.xml | 36
33502 +++++++---------------------------
33503 glib/glibmodule.c | 16 +++++++++++++++
33504 2 files changed, 23 insertions(+), 29 deletions(-)
33506 commit 734755912fff11332dc0e96317b7d6b7c4014e6a
33507 Author: Simon van der Linden <svdlinden@src.gnome.org>
33508 Date: Mon Nov 9 22:44:12 2009 +0100
33510 Remove PyGObject patches since they've been merged to master
33512 ...pytype-aware-of-the-interface-enum-flags-.patch | 78 --------
33513 patches/0002-Fix-girpository-build-setup.patch | 186
33514 -------------------
33515 ...capabilities-to-import-wrappers-from-pygi.patch | 200
33516 ---------------------
33517 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 29 ---
33518 4 files changed, 493 deletions(-)
33520 commit 6a69288941e65312fe82649ec72d2f21b2dc618f
33521 Author: Simon van der Linden <svdlinden@src.gnome.org>
33522 Date: Sat Nov 7 23:42:07 2009 +0100
33524 Create instances by calling tp_alloc rather than PyObject_NEW
33526 PyObject_NEW calls a generic allocator and should only be called by
33528 that the type's free function agrees. In pyg_boxed_new, we may
33530 PyGBoxed subtypes, so the subtype's allocation function must be
33533 gobject/pygboxed.c | 3 ++-
33534 1 file changed, 2 insertions(+), 1 deletion(-)
33536 commit 000f7c36e667c6e078e3370769ea868e56a1b4ee
33537 Author: Simon van der Linden <svdlinden@src.gnome.org>
33538 Date: Sat Nov 7 16:43:35 2009 +0100
33540 Add capabilities to import wrappers from pygi
33542 At instance creation for boxed and pointers, at lookup for objects,
33543 when the gtype has no wrapper yet, a wrapper may be imported from
33546 The feature is turned on at configure time by --enable-pygi.
33548 Because we couldn't create a circular build dependency, PyGI's import
33550 API definition had to be copied in this tree.
33552 configure.ac | 8 ++++++
33553 gobject/pygboxed.c | 10 ++++++++
33554 gobject/pygi-external.h | 66
33555 +++++++++++++++++++++++++++++++++++++++++++++++++
33556 gobject/pygobject.c | 10 ++++++++
33557 gobject/pygpointer.c | 11 +++++++++
33558 5 files changed, 105 insertions(+)
33560 commit fdfbc90dbc9e305646b62d73de506b5e0e99cc91
33561 Author: Simon van der Linden <svdlinden@src.gnome.org>
33562 Date: Sun Nov 8 20:03:58 2009 +0100
33564 Update PyGObject patches
33566 A file, pygi-external.h, was missing in patch #3.
33568 ...capabilities-to-import-wrappers-from-pygi.patch | 74
33569 ++++++++++++++++++++--
33570 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 2 +-
33571 2 files changed, 69 insertions(+), 7 deletions(-)
33573 commit 8f53ca8a72f9958711765281dd5c5bdfb7042d7d
33574 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33575 Date: Sun Nov 8 16:52:18 2009 +0100
33577 Add myself to pygi.doap
33579 pygi.doap | 5 +++++
33580 1 file changed, 5 insertions(+)
33582 commit 6f50d5102aec9288e1851f12e9d232b9c141d524
33583 Author: Simon van der Linden <svdlinden@src.gnome.org>
33584 Date: Sun Nov 8 15:40:51 2009 +0100
33588 pygi.doap | 17 +++++++++++++++++
33589 1 file changed, 17 insertions(+)
33591 commit ce673b9027868e6add4eeb438bc707eb40bfd046
33592 Author: Simon van der Linden <svdlinden@src.gnome.org>
33593 Date: Sun Nov 8 13:06:54 2009 +0100
33595 Add PyGObject patches
33597 ...pytype-aware-of-the-interface-enum-flags-.patch | 78 +++++++++
33598 patches/0002-Fix-girpository-build-setup.patch | 186
33599 +++++++++++++++++++++
33600 ...capabilities-to-import-wrappers-from-pygi.patch | 138 +++++++++++++++
33601 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 29 ++++
33602 4 files changed, 431 insertions(+)
33604 commit b24fd9633cabe1d95cde173a04e9a49833b06a26
33605 Author: Simon van der Linden <svdlinden@src.gnome.org>
33606 Date: Sun Nov 8 12:35:08 2009 +0100
33612 autogen.sh | 159 +++
33613 configure.ac | 53 +
33614 gi/Makefile.am | 50 +
33615 gi/__init__.py | 24 +
33616 gi/gimodule.c | 144 ++
33617 gi/importer.py | 89 ++
33618 gi/module.py | 167 +++
33619 gi/overrides/Gdk.py | 21 +
33620 gi/overrides/Gtk.py | 13 +
33621 gi/overrides/Makefile.am | 10 +
33622 gi/overrides/__init__.py | 0
33623 gi/pygi-argument.c | 1976 ++++++++++++++++++++++++++
33624 gi/pygi-argument.h | 65 +
33625 gi/pygi-info.c | 2093 ++++++++++++++++++++++++++++
33626 gi/pygi-info.h | 64 +
33627 gi/pygi-private.h | 55 +
33628 gi/pygi-repository.c | 238 ++++
33629 gi/pygi-repository.h | 39 +
33630 gi/pygi-struct.c | 175 +++
33631 gi/pygi-struct.h | 40 +
33632 gi/pygi-type.c | 96 ++
33633 gi/pygi-type.h | 43 +
33635 gi/pygobject-external.h | 83 ++
33636 gi/repository/Makefile.am | 8 +
33637 gi/repository/__init__.py | 30 +
33638 gi/types.py | 163 +++
33639 tests/Makefile.am | 48 +
33640 tests/libtestgi.c | 3397
33641 +++++++++++++++++++++++++++++++++++++++++++++
33642 tests/libtestgi.h | 643 +++++++++
33643 tests/runtests.py | 22 +
33644 tests/test_gi.py | 1416 +++++++++++++++++++
33645 34 files changed, 11566 insertions(+)
33647 commit bfd3100a580b8bea9db25b8bb7443fb8c3dbe1cc
33648 Author: Simon van der Linden <svdlinden@src.gnome.org>
33649 Date: Sat Nov 7 13:23:53 2009 +0100
33651 Fix girpository build setup
33653 configure.ac | 21 ++++++-----
33654 girepository/Makefile.am | 13 ++++---
33655 m4/introspection.m4 | 92
33656 ++++++++++++++++++++++++++++++++++++++++++++++++
33657 3 files changed, 111 insertions(+), 15 deletions(-)
33659 commit 421c03b1c5b69f90c778663df901b45ca3ee8ba5
33660 Author: Simon van der Linden <svdlinden@src.gnome.org>
33661 Date: Fri Nov 6 19:17:36 2009 +0100
33663 Make GType.pytype aware of the interface, enum, flags, pointer and
33666 gobject/pygtype.c | 39 +++++++++++++++++++++++++++++++++------
33667 1 file changed, 33 insertions(+), 6 deletions(-)
33669 commit a9c168c58cc6a449b51653417bf3f58bdd41457c
33670 Author: Philippe Normad <phil@base-art.net>
33671 Date: Wed Oct 21 18:01:16 2009 +0200
33673 pygmainloop: fix use of PySignal_WakeUpFD API for nested loops
33677 glib/pygmainloop.c | 95
33678 ++++++++++++++++++++++++++++--------------------------
33679 1 file changed, 50 insertions(+), 45 deletions(-)
33681 commit c6a5750379354c12e2599b3c73b4f9a23fd39114
33682 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33683 Date: Fri Sep 25 20:12:21 2009 +0200
33685 Post release version bump to 2.21.0
33687 configure.ac | 2 +-
33688 1 file changed, 1 insertion(+), 1 deletion(-)
33690 commit 33920eb013628a5e22b7b32403fb965ae3210f47
33691 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33692 Date: Wed Sep 23 21:52:04 2009 +0200
33694 Update NEWS and release 2.20.0
33697 1 file changed, 6 insertions(+)
33699 commit 66b12f7d2f54143ea80b4f8aec863b26800363d6
33700 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33701 Date: Wed Sep 23 21:51:43 2009 +0200
33703 Bump version to 2.20.0
33705 configure.ac | 2 +-
33706 1 file changed, 1 insertion(+), 1 deletion(-)
33708 commit 7bf87338a026ac82f908aa5fddf2bfea2daf6617
33709 Author: Brian Cameron <Brian.Cameron@sun.com>
33710 Date: Wed Sep 23 12:11:50 2009 -0500
33712 Updated uninstalled.pc file so that it contains the right paths for
33713 defsdir files and codegen files. See bug #596023.
33715 pygobject-2.0-uninstalled.pc.in | 4 ++--
33716 1 file changed, 2 insertions(+), 2 deletions(-)
33718 commit d042402b7c649b2bed7f20038eb82518ec7cc9b3
33719 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33720 Date: Tue Sep 22 22:02:27 2009 +0300
33722 Plug reference leak of GSource in pyg_main_loop_init()
33724 Bug #579406, second change.
33726 glib/pygmainloop.c | 1 +
33727 1 file changed, 1 insertion(+)
33729 commit 640be8109d066e85ed77c810830a5f73c750415b
33730 Author: Frédéric Péters <fpeters@0d.be>
33731 Date: Sun Aug 30 16:46:02 2009 +0200
33733 Specify programming language in .devhelp file
33735 This add a new language attribute (hardcoded to python) in the
33737 file that is produced when using ref-html-style.xsl.
33739 docs/xsl/devhelp.xsl | 2 +-
33740 1 file changed, 1 insertion(+), 1 deletion(-)
33742 commit c888b5ca722fcad6a03de585606c677c2969ebd6
33743 Author: Paolo Borelli <pborelli@gnome.org>
33744 Date: Thu Aug 13 21:32:07 2009 +0200
33746 Allow to use automake 1.11
33748 autogen.sh | 13 +++++++------
33749 1 file changed, 7 insertions(+), 6 deletions(-)
33751 commit 30deaba4bd1e199aab75cb346ee9237237807fbd
33752 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33753 Date: Tue Aug 11 22:19:50 2009 +0200
33757 README | 10 ++++++++--
33758 1 file changed, 8 insertions(+), 2 deletions(-)
33760 commit af165d350d0d1bb493be5140bf84376d3da1e4d8
33761 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33762 Date: Tue Aug 11 22:16:52 2009 +0200
33766 AUTHORS | 8 +++++---
33767 1 file changed, 5 insertions(+), 3 deletions(-)
33769 commit 5f9f87f276b97964b525a501d8584ea8b4d8bfd2
33770 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33771 Date: Tue Aug 11 22:11:43 2009 +0200
33773 Add myself and Paul as maintainers
33775 MAINTAINERS | 8 ++++++++
33776 pygobject.doap | 14 ++++++++++++++
33777 2 files changed, 22 insertions(+)
33779 commit 3bfae47fbcb5523d91fb2d1ed7ea347eeddd1775
33780 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33781 Date: Tue Aug 11 20:52:44 2009 +0200
33783 Update NEWS release 2.19.0
33785 NEWS | 29 +++++++++++++++++++++++++++++
33786 1 file changed, 29 insertions(+)
33788 commit e82a1841f31ad54dd50569d0d45290713409e0bf
33789 Author: John Finlay <finlay@moeraki.com>
33790 Date: Tue Aug 11 00:04:31 2009 -0700
33792 Add macros to help with Python list to/from GList/GSList conversions.
33794 gobject/pygobject.h | 242
33795 +++++++++++++++++++++++++++++++++++++++++++++++++++-
33796 1 file changed, 241 insertions(+), 1 deletion(-)
33798 commit f1fad96da2c531fbd3218923baa4fe806a2942d4
33799 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33800 Date: Sat Aug 8 21:37:54 2009 +0200
33802 Bug 590063 – GFileInfo.list_attributes should accept None/NULL
33804 gio/gfileinfo.override | 4 ++--
33805 1 file changed, 2 insertions(+), 2 deletions(-)
33807 commit b7907cf6ff6ccf8d38b5206f09f5c864c205e5de
33808 Author: Johan Dahlin <johan@gnome.org>
33809 Date: Fri Jul 24 14:30:37 2009 -0300
33811 Remove myself as a maintainer
33813 MAINTAINERS | 4 ----
33814 pygobject.doap | 7 -------
33815 2 files changed, 11 deletions(-)
33817 commit be6eb21320b4688bcfcd8cbea33f7be29a76f2a2
33818 Author: John Finlay <finlay@moeraki.com>
33819 Date: Wed Jul 8 15:47:44 2009 -0700
33821 * codegen/defsgen.py (clean_patterns): Strip out Windows
33824 codegen/defsgen.py | 6 +++---
33825 1 file changed, 3 insertions(+), 3 deletions(-)
33827 commit 2214cad3529979e29342a7e1fdc2915b90ce9c10
33828 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33829 Date: Tue Jun 23 21:18:23 2009 +0200
33831 Fix the gio.unix namespace in docs
33833 docs/Makefile.am | 2 ++
33834 docs/reference/pygio-classes.xml | 2 --
33835 docs/reference/pygio-unixinputstream.xml | 26 +++++++++++++-------------
33836 docs/reference/pygio-unixoutputstream.xml | 26 +++++++++++++-------------
33837 docs/reference/pygiounix-classes.xml | 13 +++++++++++++
33838 docs/reference/pygobject-ref.xml | 1 +
33839 6 files changed, 42 insertions(+), 28 deletions(-)
33841 commit c0acaedfe7f4e488a490e07e3184f0709e1fadc2
33842 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33843 Date: Mon Jun 22 23:13:36 2009 +0200
33845 Add docs for gio functions (mostly for content types)
33847 docs/Makefile.am | 2 +
33848 docs/reference/pygio-classes.xml | 1 +
33849 docs/reference/pygio-functions.xml | 395
33850 +++++++++++++++++++++++++++++++++++++
33851 3 files changed, 398 insertions(+)
33853 commit ebddee47fb7f3e06f9e0a7a14b9532d5cf8a3881
33854 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33855 Date: Sun Jun 21 18:35:56 2009 +0200
33857 Add docs for gio.Unix[In|Out]putStream classes
33859 docs/Makefile.am | 4 +
33860 docs/reference/pygio-classes.xml | 2 +
33861 docs/reference/pygio-unixinputstream.xml | 202
33862 ++++++++++++++++++++++++++++++
33863 docs/reference/pygio-unixoutputstream.xml | 202
33864 ++++++++++++++++++++++++++++++
33865 4 files changed, 410 insertions(+)
33867 commit 5b71e58117c85634d95d08449eb54079b246e5be
33868 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33869 Date: Sun Jun 21 16:50:03 2009 +0300
33871 Document that many functions got moved gobject -> glib
33873 docs/reference/pygobject-functions.xml | 7 +++++++
33874 1 file changed, 7 insertions(+)
33876 commit b270dc43f2cef5260b0bbc71356fd8e6a2b7f754
33877 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33878 Date: Sat Jun 20 19:23:25 2009 +0200
33880 Add docs for class gio.DataOutputStream
33882 docs/Makefile.am | 2 +
33883 docs/reference/pygio-classes.xml | 1 +
33884 docs/reference/pygio-dataoutputstream.xml | 504
33885 ++++++++++++++++++++++++++++++
33886 3 files changed, 507 insertions(+)
33888 commit 549313fc4886fa3deb31761de6f5400708165d86
33889 Author: Murray Cumming <murrayc@murrayc.com>
33890 Date: Thu Jun 18 18:48:37 2009 +0200
33892 Allow h2def.py to work when there are tabs or multiple spaces after
33893 the struct keyword.
33895 codegen/h2def.py | 8 ++++----
33896 1 file changed, 4 insertions(+), 4 deletions(-)
33898 commit 5c36ef20dca8cd1793f2d3e88949675299097f40
33899 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33900 Date: Mon Jun 15 23:02:34 2009 +0200
33902 Add dpcs for class gio.DataInputStream
33904 docs/Makefile.am | 2 +
33905 docs/reference/pygio-classes.xml | 1 +
33906 docs/reference/pygio-constants.xml | 66 +++
33907 docs/reference/pygio-datainputstream.xml | 799
33908 +++++++++++++++++++++++++++++++
33909 4 files changed, 868 insertions(+)
33911 commit a8b36c343c6850af929c1d5a930f923831b4e637
33912 Author: Theppitak Karoonboonyanan <thep@linux.thai.net>
33913 Date: Mon Jun 15 23:25:01 2009 +0300
33915 Fix build when builddir is not the same as srcdir
33919 girepository/Makefile.am | 2 +-
33920 1 file changed, 1 insertion(+), 1 deletion(-)
33922 commit 9d9ae97b8a49836ec1f3b8d6529bafe1cc06d4d7
33923 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33924 Date: Mon Jun 15 23:19:47 2009 +0300
33926 Make gio.Emblem constructor new-style
33928 Add optional 'origin' parameter. Expand gio.Emblem documentation and
33929 mark gio.emblem_new_with_origin as sort-of-deprecated.
33931 docs/reference/pygio-emblem.xml | 51
33932 +++++++++++++++++++++++++++++++++++++++--
33933 gio/gio.defs | 5 ++--
33934 2 files changed, 52 insertions(+), 4 deletions(-)
33936 commit 268e1681fd5b46e6412d3a8db84f3f1cb02fdbde
33937 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33938 Date: Sat Jun 13 14:44:47 2009 +0200
33940 Add docs for gio.BufferedOutputStream class
33942 docs/Makefile.am | 96 ++++-----
33943 docs/reference/pygio-bufferedoutputstream.xml | 275
33944 ++++++++++++++++++++++++++
33945 docs/reference/pygio-classes.xml | 1 +
33946 3 files changed, 325 insertions(+), 47 deletions(-)
33948 commit a6e25aaa7c8f27d62f2917b06728d7ccfcd46416
33949 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33950 Date: Sat Jun 13 14:38:34 2009 +0200
33952 Fix gio.BufferedInputStream docs
33954 Added the constructor reference and fixed a typo in properties header
33956 docs/reference/pygio-bufferedinputstream.xml | 34
33957 ++++++++++++++++++++++++++--
33958 1 file changed, 32 insertions(+), 2 deletions(-)
33960 commit a9b13b60a5aad726d7d7dd7fdc5153b1561fb591
33961 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33962 Date: Sat Jun 13 01:25:06 2009 +0200
33964 Add docs for gio.BufferedInputStream
33966 docs/Makefile.am | 2 +
33967 docs/reference/pygio-bufferedinputstream.xml | 431
33968 +++++++++++++++++++++++++++
33969 docs/reference/pygio-classes.xml | 1 +
33970 3 files changed, 434 insertions(+)
33972 commit 7766daa59b0e2b85413cee368bf2ebd2afe198e1
33973 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33974 Date: Sun May 31 18:25:47 2009 +0300
33976 Cleanup GIO overrides to use Python function/method names
33978 Also move several gio.Mount overrides over from 'gio.override' to
33979 existing 'gmount.override'. Part of bug #584289.
33981 gio/gfile.override | 20 ++---
33982 gio/gfileenumerator.override | 6 +-
33983 gio/ginputstream.override | 2 +-
33984 gio/gio.override | 204
33985 -------------------------------------------
33986 gio/gmount.override | 204
33987 +++++++++++++++++++++++++++++++++++++++++++
33988 5 files changed, 218 insertions(+), 218 deletions(-)
33990 commit 07e9c18dc092f6546230168b6b69c1b3454e120a
33991 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33992 Date: Sun May 31 18:56:55 2009 +0300
33994 Make codegen report errors using Python function/method names
33996 Part of bug #584289.
33998 codegen/codegen.py | 9 +++++----
33999 codegen/definitions.py | 10 +++++++++-
34000 2 files changed, 14 insertions(+), 5 deletions(-)
34002 commit 235fde85d015382f2ba38b21968e82b3ac0b6612
34003 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34004 Date: Fri Jun 12 00:12:17 2009 +0200
34006 Fix object type in gio.BufferedInputStream_fill_async
34008 gio/gbufferedinputstream.override | 2 +-
34009 1 file changed, 1 insertion(+), 1 deletion(-)
34011 commit 407b0e909056f15960e6a4e549896d786ce0a0b2
34012 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34013 Date: Tue Jun 9 00:08:21 2009 +0200
34015 Wrap gio.BufferedInputStream.fill_async
34017 Wrap the method gio.BufferedInputStream.fill_async and add a test
34019 gio/Makefile.am | 1 +
34020 gio/gbufferedinputstream.override | 70
34021 +++++++++++++++++++++++++++++++++++++++
34022 gio/gio.override | 1 +
34023 tests/test_gio.py | 25 ++++++++++++++
34024 4 files changed, 97 insertions(+)
34026 commit b7c96b41b287685fe57504e0add3a6f16e649975
34027 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34028 Date: Mon Jun 8 15:42:40 2009 +0200
34030 Add gio.BufferedOutputStream which was forgotten in the types
34033 gio/gio-types.defs | 7 +++++++
34034 1 file changed, 7 insertions(+)
34036 commit 3666f75af4ef2c8e038116aee5afada59d59f689
34037 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34038 Date: Mon Jun 8 14:20:02 2009 +0200
34040 Add docs for gio.MemoryOutputStream
34042 docs/Makefile.am | 2 +
34043 docs/reference/pygio-classes.xml | 1 +
34044 docs/reference/pygio-memoryoutputstream.xml | 175
34045 ++++++++++++++++++++++++++++
34046 3 files changed, 178 insertions(+)
34048 commit 6eb5e3988cbddb4afb3d5747364d6eb80370bb78
34049 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34050 Date: Mon Jun 8 13:30:15 2009 +0200
34052 Split overrides for gio.MemoryOutputStream
34054 gio/Makefile.am | 1 +
34055 gio/gio.override | 1 +
34056 gio/gmemoryoutputstream.override | 45
34057 ++++++++++++++++++++++++++++++++++++++++
34058 gio/goutputstream.override | 24 ---------------------
34059 4 files changed, 47 insertions(+), 24 deletions(-)
34061 commit dfbdf23633a772e78b47b0e7b0c3e3b87855d9ff
34062 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34063 Date: Mon Jun 8 11:45:11 2009 +0200
34065 Wrap gio.memory_input_stream_new_from_data
34067 Add the wrapper for gio.memory_input_stream_new_from_data including
34070 docs/Makefile.am | 4 +-
34071 docs/reference/pygio-classes.xml | 1 +
34072 docs/reference/pygio-memoryinputstream.xml | 151
34073 +++++++++++++++++++++++++++++
34074 gio/Makefile.am | 1 +
34075 gio/ginputstream.override | 34 -------
34076 gio/gio.override | 1 +
34077 gio/gmemoryinputstream.override | 91 +++++++++++++++++
34078 tests/test_gio.py | 4 +
34079 8 files changed, 252 insertions(+), 35 deletions(-)
34081 commit fcc3cb0e167789746a1a9db0cba54ea7a97c7259
34082 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
34083 Date: Mon Jun 8 19:15:24 2009 +0200
34085 Fixes whitespaces style issues with girepository.
34087 girepository/Makefile.am | 2 +-
34088 girepository/bank-repository.c | 67
34089 +++++++++++++++++++++---------------------
34090 girepository/bank.h | 2 +-
34091 girepository/btypes.py | 6 ++--
34092 girepository/module.py | 2 +-
34093 5 files changed, 39 insertions(+), 40 deletions(-)
34095 commit fb4b2c8cdad2853e6bfe9526529e3a3ab052c5e0
34096 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
34097 Date: Fri Jun 5 19:03:59 2009 +0200
34099 Removes the header but the modeline in test_girepository.py.
34101 tests/test_girepository.py | 26 +-------------------------
34102 1 file changed, 1 insertion(+), 25 deletions(-)
34104 commit abe4828f52c7eb3a08f5b592e7ced1e97a58ef5c
34105 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
34106 Date: Wed Jun 3 10:47:58 2009 +0200
34108 Adds overrides modules from PyBank.
34110 girepository/Makefile.am | 3 +++
34111 girepository/importer.py | 3 +--
34112 girepository/overrides/Gdk.py | 14 ++++++++++++++
34113 girepository/overrides/Gtk.py | 8 ++++++++
34114 girepository/overrides/__init__.py | 0
34115 5 files changed, 26 insertions(+), 2 deletions(-)
34117 commit c12964e6a3354d8063355225c94e6d21d621e08b
34118 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
34119 Date: Tue Jun 2 23:40:41 2009 +0200
34121 Disables the tests that fail in tests/test_girepository.py.
34123 tests/test_girepository.py | 242
34124 ++++++++++++++++++++++++++++++++++-----------
34125 1 file changed, 182 insertions(+), 60 deletions(-)
34127 commit a4469a3f7d32a25156bae5e7aef9ec4ae5f6e140
34128 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
34129 Date: Tue Jun 2 23:03:26 2009 +0200
34131 Imports test_girepository.py from former PyBank's
34132 everything_unittest.py.
34134 tests/test_girepository.py | 288
34135 +++++++++++++++++++++++++++++++++++++++++++++
34136 1 file changed, 288 insertions(+)
34138 commit e4f2a5ef8734cf40cf8345d442612db1f6c62d5a
34139 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
34140 Date: Thu May 28 17:45:11 2009 +0200
34142 Introduces the girepository module from the former PyBank.
34146 configure.ac | 12 +
34147 girepository/Makefile.am | 52 ++
34148 girepository/__init__.py | 24 +
34149 girepository/bank-argument.c | 379 +++++++++++++
34150 girepository/bank-info.c | 1194
34151 ++++++++++++++++++++++++++++++++++++++++
34152 girepository/bank-repository.c | 237 ++++++++
34153 girepository/bank.c | 155 ++++++
34154 girepository/bank.h | 80 +++
34155 girepository/btypes.py | 300 ++++++++++
34156 girepository/importer.py | 52 ++
34157 girepository/module.py | 224 ++++++++
34158 girepository/repository.py | 51 ++
34159 14 files changed, 2799 insertions(+), 32 deletions(-)
34161 commit f5ab5046fe9b67ec5e8fc64679e1a3d01787af7e
34162 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34163 Date: Tue Jun 2 18:28:22 2009 +0200
34165 Fix the docs for gio.FilterOutputStream
34167 docs/reference/pygio-filteroutputstream.xml | 6 +++---
34168 1 file changed, 3 insertions(+), 3 deletions(-)
34170 commit fded60d8376fc45d19bf6cd8be6b927cc3f2e8c6
34171 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34172 Date: Tue Jun 2 18:27:00 2009 +0200
34174 Add gio.FilterOutputStream docs
34176 docs/Makefile.am | 2 +
34177 docs/reference/pygio-classes.xml | 1 +
34178 docs/reference/pygio-filteroutputstream.xml | 152
34179 ++++++++++++++++++++++++++++
34180 3 files changed, 155 insertions(+)
34182 commit e2c31f916967229b6547e68013628ce0082cf875
34183 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34184 Date: Tue Jun 2 13:29:59 2009 +0200
34186 Add gio.FilterInputStream docs
34188 docs/Makefile.am | 2 +
34189 docs/reference/pygio-classes.xml | 1 +
34190 docs/reference/pygio-filterinputstream.xml | 152
34191 +++++++++++++++++++++++++++++
34192 3 files changed, 155 insertions(+)
34194 commit 49a467eee445bc75554db0374006722ac075194b
34195 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34196 Date: Tue Jun 2 11:33:20 2009 +0200
34198 Add API appeared in 2.20 but not marked as such in gio docs
34200 gio/gio.defs | 30 ++++++++++++++++++++++++++++++
34201 1 file changed, 30 insertions(+)
34203 commit 180c157f2a20b7d2dd9af05bfb5f515fd23870a0
34204 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34205 Date: Tue Jun 2 10:41:26 2009 +0200
34207 Wrap gio.FileOutputStream.query_info_async
34209 Add the wrapper for gio.FileOutputStream.query_info_async
34210 including docs and a test.
34212 docs/Makefile.am | 2 +
34213 docs/reference/pygio-classes.xml | 1 +
34214 docs/reference/pygio-fileoutputstream.xml | 257
34215 ++++++++++++++++++++++++++++++
34216 gio/Makefile.am | 3 +-
34217 gio/gfileoutputstream.override | 68 ++++++++
34218 gio/gio.override | 1 +
34219 tests/test_gio.py | 27 ++++
34220 7 files changed, 358 insertions(+), 1 deletion(-)
34222 commit 4673577d1f6c3d54423808dd575987092fb05ad2
34223 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34224 Date: Tue Jun 2 10:17:41 2009 +0200
34226 Fix gio.FileInputStream docs
34228 Add implemented interface section and remove a method description
34230 docs/reference/pygio-fileinputstream.xml | 25 +++++++++----------------
34231 1 file changed, 9 insertions(+), 16 deletions(-)
34233 commit 1e1cad02879d514745b5233658654cbe944530a5
34234 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34235 Date: Mon Jun 1 22:54:26 2009 +0200
34237 Fix the method name
34239 gio/gfileinputstream.override | 14 +++++++-------
34240 1 file changed, 7 insertions(+), 7 deletions(-)
34242 commit f605811afe8c91f121e89b6f9ec28c70b62f4110
34243 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34244 Date: Mon Jun 1 22:40:56 2009 +0200
34246 Wrap gio.FileInputStream.query_async
34248 Add the wrapper for gio.FileInputStream.query_async including docs and
34251 docs/Makefile.am | 2 +
34252 docs/reference/pygio-classes.xml | 1 +
34253 docs/reference/pygio-fileinputstream.xml | 221
34254 +++++++++++++++++++++++++++++++
34255 gio/Makefile.am | 1 +
34256 gio/gfileinputstream.override | 68 ++++++++++
34257 gio/gio.override | 1 +
34258 tests/test_gio.py | 27 ++++
34259 7 files changed, 321 insertions(+)
34261 commit 08623e54a426377c1504b5c364aabae5a17f8ad8
34262 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34263 Date: Sun May 31 17:43:16 2009 +0300
34265 Install executable codegen parts with executing permissions
34267 Also add shebang where it was missing. Bug #583979.
34269 codegen/Makefile.am | 23 ++++++++++++-----------
34270 codegen/code-coverage.py | 2 ++
34271 codegen/codegen.py | 2 ++
34272 codegen/createdefs.py | 0
34273 codegen/defsconvert.py | 2 ++
34274 codegen/defsgen.py | 0
34275 codegen/docgen.py | 0
34276 codegen/scmexpr.py | 0
34277 8 files changed, 18 insertions(+), 11 deletions(-)
34279 commit 833d4da202bcfcb01a414f8aec4b751ec8e1ccb2
34280 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34281 Date: Sat May 30 16:57:49 2009 +0300
34283 Wrap gio.DataInputStream.read_line_async and read_until_async
34285 Wrap the functions and their corresponding *_finish() functions.
34286 Create 'gdatainputstream.override' for these and move two existing
34287 functions there. Add unit tests. Re-enable synchronous read_line
34288 unit test and adjust it for new official GIO behavior. Bug #584285.
34290 gio/Makefile.am | 1 +
34291 gio/gdatainputstream.override | 250
34292 ++++++++++++++++++++++++++++++++++++++++++
34293 gio/ginputstream.override | 65 -----------
34294 gio/gio.defs | 4 +-
34295 gio/gio.override | 1 +
34296 tests/test_gio.py | 51 ++++++++-
34297 6 files changed, 300 insertions(+), 72 deletions(-)
34299 commit 2cb569c0ced49f9ed5ca83292d5f15c837066688
34300 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34301 Date: Sat May 30 17:24:15 2009 +0300
34303 Fix gio.OutputStream.splice_async
34307 gio/goutputstream.override | 8 ++++----
34308 1 file changed, 4 insertions(+), 4 deletions(-)
34310 commit e43fa429f6b4019a432acb481bbc07c8201cc46d
34311 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34312 Date: Wed May 27 21:19:27 2009 +0300
34314 Code maintenance: ignore one more file created by unit tests
34316 tests/.gitignore | 1 +
34317 1 file changed, 1 insertion(+)
34319 commit 76e9dc74ac706a9207f9d31f887d6e38df2a678f
34320 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34321 Date: Mon May 25 20:20:38 2009 +0200
34323 Update the docs with new 2.20 API
34325 docs/reference/pygio-appinfo.xml | 115 +++++++++++++++++++++++++++++
34326 docs/reference/pygio-icon.xml | 99 ++++++++++++++++++++++++-
34327 docs/reference/pygio-mount.xml | 156
34328 +++++++++++++++++++++++++++++++++++++++
34329 3 files changed, 367 insertions(+), 3 deletions(-)
34331 commit 8e40d71ac23deb7d91789486ee8cad440a6be1dd
34332 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34333 Date: Mon May 25 01:33:08 2009 +0200
34337 add the new API added in gio 2.20, some needs to be wrapped manually
34340 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
34341 gio/unix.defs | 48 +++++++++++++++++++++-----
34342 2 files changed, 146 insertions(+), 8 deletions(-)
34344 commit 0d08df42514fba6abc896814abfee0d2d083c29e
34345 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34346 Date: Mon May 25 00:14:21 2009 +0200
34348 Post release version bump 2.19.0
34350 configure.ac | 2 +-
34351 1 file changed, 1 insertion(+), 1 deletion(-)
34353 commit edfb09e3de7baf294b3beba84b4ecb94e1f16764
34354 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34355 Date: Sun May 24 23:56:29 2009 +0200
34357 Update NEWS, release 2.18.0
34359 NEWS | 14 ++++++++++++++
34360 configure.ac | 4 ++--
34361 2 files changed, 16 insertions(+), 2 deletions(-)
34363 commit e0648ea435e0b309cdd5bb0ebe56d4534efd26e4
34364 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34365 Date: Sun May 24 22:18:40 2009 +0200
34367 Add documentation for the gio.OutputStream class
34369 The docs for this class are not completed, missing methods
34371 The index is complete though, it will be completed once all the
34373 are in place so we can ship a (almost) complete reference.
34375 docs/Makefile.am | 2 +
34376 docs/reference/pygio-classes.xml | 3 +-
34377 docs/reference/pygio-outputstream.xml | 140
34378 ++++++++++++++++++++++++++++++++++
34379 3 files changed, 144 insertions(+), 1 deletion(-)
34381 commit 11524cdf6472d9115a812ce431f6767aec5627bc
34382 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34383 Date: Sun May 24 22:12:04 2009 +0200
34385 Wrap gio.OutputStream.splice_async()
34387 wrap gio.OutputStream.splice_async() and add a test.
34389 gio/goutputstream.override | 58
34390 +++++++++++++++++++++++++++++++++++++++++++++-
34391 tests/test_gio.py | 20 ++++++++++++++++
34392 2 files changed, 77 insertions(+), 1 deletion(-)
34394 commit 82ad6b8c8ea4d6694126f5e0e67b826717e38f19
34395 Author: Emilio Pozuelo Monfort <pochu@ubuntu.com>
34396 Date: Sun May 24 22:55:16 2009 +0300
34398 Add Python version into installed libpyglib name
34400 Do this now, while no-one (as far as we know) links to the library
34401 besides PyGObject itself. Bug #550235.
34403 configure.ac | 2 ++
34404 gio/Makefile.am | 2 +-
34405 glib/Makefile.am | 10 +++++-----
34406 gobject/Makefile.am | 2 +-
34407 4 files changed, 9 insertions(+), 7 deletions(-)
34409 commit 59da8cd24ea390b6c983995833ec6b0e5d028b35
34410 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34411 Date: Sun May 24 11:44:24 2009 +0200
34413 Wrap gio.OutputStream.flush_async()
34415 wrap gio.OutputStream.flush_async() and add a test.
34417 gio/goutputstream.override | 47
34418 +++++++++++++++++++++++++++++++++++++++++++++-
34419 tests/test_gio.py | 11 +++++++++++
34420 2 files changed, 57 insertions(+), 1 deletion(-)
34422 commit 84ab6178ed0033f69932df5bc73c86bdff80c953
34423 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34424 Date: Sun May 17 17:29:37 2009 +0200
34426 Add documentation for the gio.FileMonitor class
34428 The docs for this class are not completed, missing methods
34430 The index is complete though, it will be completed once all the
34432 are in place so we can ship a (almost) complete reference.
34434 docs/Makefile.am | 2 +
34435 docs/reference/pygio-classes.xml | 1 +
34436 docs/reference/pygio-filemonitor.xml | 128
34437 +++++++++++++++++++++++++++++++++++
34438 3 files changed, 131 insertions(+)
34440 commit 629496a5617d30e4dfa494b05a62c85a6af77b9a
34441 Author: Josselin Mouette <joss@malsain.org>
34442 Date: Sun May 17 18:03:44 2009 +0300
34444 Use 'Requires.private' for libffi in '.pc' files
34446 Correction for patch in bug #550231.
34448 pygobject-2.0-uninstalled.pc.in | 3 ++-
34449 pygobject-2.0.pc.in | 3 ++-
34450 2 files changed, 4 insertions(+), 2 deletions(-)
34452 commit 90cd8b7c4a25cd2ecb751f8337b401c98538272b
34453 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34454 Date: Wed May 13 21:54:39 2009 +0200
34456 Add wrapper for gio.FileAttributeMatcher
34458 added a boxed type for gio.FileAttributeMatcher which has been
34460 wrapping the gio API. This should probably be done in gio itself.
34462 gio/gfileinfo.override | 24 ++++++++++++++++++++++--
34463 gio/gio-types.defs | 7 +++++++
34464 gio/gio.override | 2 ++
34465 3 files changed, 31 insertions(+), 2 deletions(-)
34467 commit e707447d9313f2f2ecba395cfe3682d5a5e859f4
34468 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34469 Date: Wed May 13 22:06:25 2009 +0300
34471 Mark relevant glib.IOChannel methods as METH_NOARGS
34473 Additionally fix glib.IOChannel.set_close_on_unref: was marked
34474 METH_NOARGS but actually accepted arguments. Fixes bug #582427.
34476 glib/pygiochannel.c | 83
34477 +++++++++++++----------------------------------------
34478 1 file changed, 20 insertions(+), 63 deletions(-)
34480 commit 002915e5f458fec5a89766a54e8119a70a80caa7
34481 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34482 Date: Tue May 12 20:37:24 2009 +0200
34484 Add documentation for the gio.FileInfo class
34486 The docs for this class are not completed, missing methods
34488 The index is complete though, it will be completed once all the
34490 are in place so we can ship a (almost) complete reference.
34492 docs/Makefile.am | 2 +
34493 docs/reference/pygio-classes.xml | 1 +
34494 docs/reference/pygio-fileinfo.xml | 346
34495 ++++++++++++++++++++++++++++++++++++++
34496 3 files changed, 349 insertions(+)
34498 commit 8cd25c871609580425c6c4c9e5bc6ec8d40862a1
34499 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34500 Date: Sat May 9 16:46:04 2009 +0300
34502 Retire hand-written ChangeLog; autocreate from Git history
34504 Basically copied over from GLib source tree.
34506 ChangeLog => ChangeLog.pre-2.18 | 2 ++
34507 Makefile.am | 32 ++++++++++++++++++++++++++++++++
34508 2 files changed, 34 insertions(+)
34510 commit 23556bdbcf9cf06db866901fb822dd78a9043648
34511 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34512 Date: Sat May 9 00:03:05 2009 +0200
34514 Fix a bug in InputStream.skip_async
34516 use the count argument instead of buffer_size which is always zero
34518 gio/ginputstream.override | 3 ++-
34519 1 file changed, 2 insertions(+), 1 deletion(-)
34521 commit ed6b06315c17441b41c001d38537c904b8fe18de
34522 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34523 Date: Sat May 9 00:02:33 2009 +0200
34525 Add docs for the gio.InputStream class
34527 docs/Makefile.am | 2 +
34528 docs/reference/pygio-classes.xml | 1 +
34529 docs/reference/pygio-inputstream.xml | 730
34530 +++++++++++++++++++++++++++++++++++
34531 3 files changed, 733 insertions(+)
34533 commit d58322b84d47da7905f95b43e9e0daf9f7c4b507
34534 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34535 Date: Mon May 4 23:40:28 2009 +0200
34537 Wrap gio.InputStream.skip_async()
34539 wrap gio.InputStream.skip_async() and add a test.
34541 gio/ginputstream.override | 50
34542 ++++++++++++++++++++++++++++++++++++++++++++++-
34543 tests/test_gio.py | 20 +++++++++++++++++++
34544 2 files changed, 69 insertions(+), 1 deletion(-)
34546 commit 2311187824d1b48a996ee2620fd3c9a63e3edd66
34547 Author: Siavash Safi <siavash@siavashs.org>
34548 Date: Mon May 4 15:46:49 2009 +0430
34550 Add -n --namespace option and the code to remove
34551 dll API in headers, Added documentation
34553 Patch from bug #579275
34556 codegen/h2def.py | 133
34557 +++++++++++++++++++++++++++++++++++++++++++++----------
34558 2 files changed, 117 insertions(+), 24 deletions(-)
34560 commit 442ec5bb997bb7dab55baeea6e54e79d3ce0d3c1
34561 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34562 Date: Sat May 2 23:54:52 2009 +0300
34564 Properly mark glib.get_user_special_dir() as a keywords method
34568 glib/glibmodule.c | 2 +-
34569 1 file changed, 1 insertion(+), 1 deletion(-)
34571 commit f466dca880cc6ea68b9fe236943eea7a07d33520
34572 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34573 Date: Sun May 3 11:03:25 2009 +0200
34575 Add docs for the gio.LoadableIcon class
34577 docs/Makefile.am | 2 +
34578 docs/reference/pygio-classes.xml | 1 +
34579 docs/reference/pygio-loadableicon.xml | 198
34580 ++++++++++++++++++++++++++++++++++
34581 3 files changed, 201 insertions(+)
34583 commit eab4ebf7f6c82580b61205f34e1cfe535aeada60
34584 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34585 Date: Sun May 3 01:21:55 2009 +0200
34587 Add docs for the gio.ThemedIcon class
34589 docs/Makefile.am | 2 +
34590 docs/reference/pygio-classes.xml | 1 +
34591 docs/reference/pygio-themedicon.xml | 204
34592 ++++++++++++++++++++++++++++++++++++
34593 3 files changed, 207 insertions(+)
34595 commit 22d7de8b620055f14b30f9c3c99160c8b4ebe672
34596 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34597 Date: Sat May 2 12:25:19 2009 +0200
34599 post release version bump to 2.17.1
34601 configure.ac | 2 +-
34602 1 file changed, 1 insertion(+), 1 deletion(-)
34604 commit 282ac3c76e1e3513bd76f819f320ec56aba15d9e
34605 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34606 Date: Fri May 1 23:40:31 2009 +0200
34608 Fix the class title
34610 docs/reference/pygio-mountoperation.xml | 2 +-
34611 1 file changed, 1 insertion(+), 1 deletion(-)
34613 commit d8b70dec1e5c09b73ae277f4f5b246315841fb8e
34614 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34615 Date: Fri May 1 22:24:33 2009 +0200
34617 Add docs for the gio.MountOperation class
34619 docs/Makefile.am | 2 +
34620 docs/reference/pygio-classes.xml | 1 +
34621 docs/reference/pygio-constants.xml | 107 +++++
34622 docs/reference/pygio-mountoperation.xml | 726
34623 ++++++++++++++++++++++++++++++++
34624 4 files changed, 836 insertions(+)
34626 commit fceea8e843e880f0469e454df23141e7dd2bc0cf
34627 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34628 Date: Thu Apr 30 22:13:06 2009 +0200
34630 Update NEWS, release 2.17.0
34633 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
34634 1 file changed, 93 insertions(+)
34636 commit 47389217d1a65a8e3f404d486c508cf5d3164756
34637 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34638 Date: Thu Apr 30 22:47:19 2009 +0300
34640 Fix memory leak in gio.File.query_info_async()
34642 After the recent patch it would leak exception data if old argument
34643 order was used. Properly decref the objects.
34645 gio/gfile.override | 4 ++++
34646 1 file changed, 4 insertions(+)