1 commit f65bb1fc8f7f6172970545412fe56ab75f57904b
2 Author: Mathieu Bridon <bochecha@daitauha.fr>
3 Date: Thu Jun 23 22:35:42 2016 +0200
5 Allow installing with pip
7 This commit adds a setup.py file which just calls the autotools to
8 configure/make/make install.
10 It is heavily inspired by the similar work from Simon McVittie on
13 https://bugzilla.gnome.org/show_bug.cgi?id=767988
18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
19 3 files changed, 110 insertions(+), 1 deletion(-)
21 commit 14626ee5dcf380ae94680626607742a8cc048351
22 Author: Christoph Reiter <creiter@src.gnome.org>
23 Date: Mon Jun 6 20:08:18 2016 +0200
25 Skip a test with older glib
27 https://bugzilla.gnome.org/show_bug.cgi?id=740301
29 tests/test_docstring.py | 4 ++++
30 1 file changed, 4 insertions(+)
32 commit a12f7027adeb57fe1c0142c86d34d5ec8f6b6d9e
33 Author: Christoph Reiter <creiter@src.gnome.org>
34 Date: Mon Jun 6 20:13:29 2016 +0200
36 Fix a test with Python 3.1/3.2
38 Fix Python version check in
39 TestImporter.test_invalid_repository_module_name()
40 to avoid failure with Python 3.1 and 3.2.
42 Fix provided by Arfrever Frehtes Taifersar Arahesis at
43 https://bugzilla.gnome.org/show_bug.cgi?id=740324#c1
45 https://bugzilla.gnome.org/show_bug.cgi?id=740324
47 tests/test_import_machinery.py | 4 ++--
48 1 file changed, 2 insertions(+), 2 deletions(-)
50 commit f5cf74f3b8d285de3591d89c6f3b4b8d59bde35e
51 Author: Christoph Reiter <creiter@src.gnome.org>
52 Date: Mon Jun 6 20:45:22 2016 +0200
54 tests: Use places kwarg for assertAlmostEqual
56 Always pass 'places' argument of TestCase.assertAlmostEqual
59 Fix by Arfrever Frehtes Taifersar Arahesis
60 https://bugzilla.gnome.org/show_bug.cgi?id=740337#c1
62 https://bugzilla.gnome.org/show_bug.cgi?id=740337
64 tests/test_properties.py | 6 +++---
65 tests/test_signal.py | 4 ++--
66 2 files changed, 5 insertions(+), 5 deletions(-)
68 commit e0b40099283a31ea23433f9d36dc9beebd4370c9
69 Author: Christoph Reiter <creiter@src.gnome.org>
70 Date: Mon Jun 6 11:34:47 2016 +0200
72 Print exception if marshalling a signal argument fails
74 For example if cairo support is missing a Gtk.Widget::draw call
76 "TypeError: Couldn't find foreign struct converter for
79 https://bugzilla.gnome.org/show_bug.cgi?id=748198
81 gi/pygi-signal-closure.c | 1 +
82 1 file changed, 1 insertion(+)
84 commit 76e2e30bc586016eba8bcfdd753dc1f4672dced7
85 Author: Marinus Schraal <mschraal@src.gnome.org>
86 Date: Fri May 20 01:26:27 2016 +0200
88 overrides: allow treemodel sequence shorthands
90 Add get_ and set_ overrides for sequences of GtkTreeModel
92 allows an arbitray list of indices to be retrieved or written in
94 from or to a GtkTreeModel row:
96 model[0][0, 1] = [True, "Hello"]
97 [foo, bar] = model[0][2, 7]
99 https://bugzilla.gnome.org/show_bug.cgi?id=766580
101 gi/overrides/Gtk.py | 15 +++++++++++++--
102 tests/test_overrides_gtk.py | 46
103 +++++++++++++++++++++++++++++++++++++++++++++
104 2 files changed, 59 insertions(+), 2 deletions(-)
106 commit ff1a6f0f00e042c5addfa42231ec8927ebf1a1a6
107 Author: Christoph Reiter <creiter@src.gnome.org>
108 Date: Tue May 31 19:26:00 2016 +0200
110 Remove pygobject-external.h
112 It's not used any more
114 https://bugzilla.gnome.org/show_bug.cgi?id=767084
117 gi/pygobject-external.h | 73
118 -------------------------------------------------
119 2 files changed, 74 deletions(-)
121 commit f5dd1551371308d33df9627bc8cc0e34fa68a2a8
122 Author: Christoph Reiter <creiter@src.gnome.org>
123 Date: Tue May 31 18:47:54 2016 +0200
125 Remove pygobject-private.h and rename pygobject.c to
128 Move all the random declarations in pygobject-private.h to their
129 respective header files. Rename pygobject.c to pygobject-object.c
130 so it's clearer that it's not the implementation of pygobject.h.
131 Add a new pygobject-internal.h which includes pygobject.h
132 with _INSIDE_PYGOBJECT_ defined like pygobject-private.h did.
134 In case you are looking at the git log and end up here due to the
137 git log --follow pygobject-object.c
139 or on the web interface go to the history of the old file name:
141 https://git.gnome.org/browse/pygobject/log/gi/pygobject.c?id=6b702c052e9f26e809cff494f0c896d17a514c64
143 https://bugzilla.gnome.org/show_bug.cgi?id=767084
145 gi/Makefile.am | 7 +-
146 gi/gimodule.c | 10 +-
147 gi/gobjectmodule.c | 56 +---------
148 gi/gobjectmodule.h | 11 ++
150 gi/pygboxed.h | 11 ++
152 gi/pygenum.h | 22 ++++
154 gi/pygflags.h | 21 ++++
155 gi/pygi-argument.c | 4 +-
156 gi/pygi-basictype.c | 2 +-
157 gi/pygi-boxed.c | 3 +-
158 gi/pygi-boxed.h | 2 +-
159 gi/pygi-cache.c | 1 +
160 gi/pygi-ccallback.c | 1 -
161 gi/pygi-enum-marshal.c | 3 +-
162 gi/pygi-foreign.c | 2 +-
163 gi/pygi-info.c | 2 +-
164 gi/pygi-object.c | 2 +-
165 gi/pygi-property.c | 1 +
166 gi/pygi-property.h | 2 +-
167 gi/pygi-signal-closure.h | 2 +-
168 gi/pygi-source.c | 3 +-
169 gi/pygi-struct-marshal.c | 3 +
170 gi/pygi-struct.c | 3 +-
171 gi/pygi-struct.h | 2 +-
172 gi/pygi-type.c | 2 +-
173 gi/pygi-util.c | 42 ++++++++
174 gi/pygi-util.h | 6 ++
175 gi/pygi-value.c | 6 +-
176 gi/pyginterface.c | 3 +-
177 gi/pygobject-internal.h | 7 ++
178 gi/{pygobject.c => pygobject-object.c} | 27 ++++-
179 gi/pygobject-object.h | 56 ++++++++++
180 gi/pygobject-private.h | 186
181 ---------------------------------
182 gi/pygparamspec.c | 5 +-
183 gi/pygpointer.c | 3 +-
184 gi/pygpointer.h | 8 ++
185 gi/pygtype.c | 27 ++---
186 gi/pygtype.h | 25 +++++
187 41 files changed, 305 insertions(+), 286 deletions(-)
189 commit ef7a6dad8cea6a3b9547cfae00bf15ebb9eb756e
190 Author: Christoph Reiter <creiter@src.gnome.org>
191 Date: Tue May 31 15:44:36 2016 +0200
193 Merge pyglib-private.h into pyglib.h
195 No need for another header
197 https://bugzilla.gnome.org/show_bug.cgi?id=767084
201 gi/glibmodule.c | 1 -
202 gi/pygi-resulttuple.c | 2 +-
203 gi/pygi-source.c | 1 -
204 gi/pyglib-private.h | 40 ----------------------------------------
206 gi/pyglib.h | 6 ++++++
207 gi/pygoptioncontext.c | 1 -
208 gi/pygoptiongroup.c | 1 -
210 11 files changed, 8 insertions(+), 49 deletions(-)
212 commit e1e05fb027c328ef41be0ba6d99883d2d7983f70
213 Author: Christoph Reiter <creiter@src.gnome.org>
214 Date: Tue May 31 15:31:38 2016 +0200
216 Remove pygi.h and pygi-private.h
218 Instead include things where needed.
220 https://bugzilla.gnome.org/show_bug.cgi?id=767084
222 gi/Makefile.am | 3 +-
223 gi/gimodule.c | 11 ++++-
227 gi/pygi-argument.c | 17 ++++++--
228 gi/pygi-array.c | 3 +-
229 gi/pygi-basictype.c | 2 +-
230 gi/pygi-boxed.c | 3 +-
231 gi/pygi-boxed.h | 8 ++++
232 gi/pygi-cache.c | 2 +
233 gi/pygi-ccallback.c | 2 +-
234 gi/pygi-ccallback.h | 11 +++++
235 gi/pygi-closure.c | 5 ++-
236 gi/pygi-enum-marshal.c | 3 +-
237 gi/pygi-error.c | 2 +-
238 gi/pygi-hashtable.c | 2 +-
239 gi/pygi-info.c | 6 ++-
240 gi/pygi-info.h | 22 ++++++++++
241 gi/pygi-invoke.c | 5 +++
242 gi/pygi-invoke.h | 2 +-
243 gi/pygi-list.c | 2 +-
244 gi/pygi-marshal-cleanup.c | 8 ++--
245 gi/pygi-marshal-cleanup.h | 4 +-
246 gi/pygi-object.c | 2 +-
247 gi/pygi-property.c | 3 +-
248 gi/pygi-property.h | 2 +-
249 gi/pygi-repository.c | 3 +-
250 gi/pygi-repository.h | 6 +++
251 gi/pygi-signal-closure.c | 4 +-
252 gi/pygi-signal-closure.h | 3 +-
253 gi/pygi-source.c | 4 +-
254 gi/pygi-struct-marshal.c | 6 ++-
255 gi/pygi-struct.c | 5 ++-
256 gi/pygi-struct.h | 6 +++
257 gi/pygi-type.c | 3 +-
258 gi/{pygi-private.h => pygi-util.h} | 47 ++--------------------
260 --------------------------------------
261 gi/pygobject.c | 3 +-
262 gi/pygpointer.c | 1 -
263 40 files changed, 146 insertions(+), 164 deletions(-)
265 commit c86424c73725610ac2ef832c1fa41a777f9a5efa
266 Author: Simon Feltman <sfeltman@src.gnome.org>
267 Date: Sun Apr 24 21:27:59 2016 -0700
269 configure.ac: post-release version bump to 3.21.1
272 1 file changed, 1 insertion(+), 1 deletion(-)
274 commit febd211b6628a8f63d92ae011d68b845e9fe6ec8
275 Author: Simon Feltman <sfeltman@src.gnome.org>
276 Date: Sun Apr 24 21:19:39 2016 -0700
281 1 file changed, 7 insertions(+)
283 commit 1bb267f1755b2ec314c751b27931cbe7032f3c36
284 Author: Dustin Falgout <dustin@falgout.us>
285 Date: Sun Mar 20 03:21:02 2016 -0500
287 gi: Add require_versions() function
289 Adds a new function that accepts a dict of one or more namespace,
291 pairs through which it iterates and calls `gi.require_version()`
292 for each pair. Also adds a test for the new function.
294 https://bugzilla.gnome.org/show_bug.cgi?id=761141
296 gi/__init__.py | 33 +++++++++++++++++++++++++++++++++
297 tests/test_import_machinery.py | 6 ++++++
298 2 files changed, 39 insertions(+)
300 commit b3f897b98c5a2c59ea34a8afcce0448b1ffb0731
301 Author: Iain Lane <iain@orangesquash.org.uk>
302 Date: Thu Mar 24 18:04:40 2016 +0000
304 test_gerror_novalue: Don't assign the error to a variable
306 Otherwise the build fails with:
308 CHECK Pyflakes examples gi tests pygtkcompat
309 tests/test_gobject.py:689: local variable 'error' is assigned to
312 https://bugzilla.gnome.org/show_bug.cgi?id=764165
314 tests/test_gobject.py | 2 +-
315 1 file changed, 1 insertion(+), 1 deletion(-)
317 commit 6ff29c91dfdbcc3203405da0aca8dbfa318d8b32
318 Author: Emmanuele Bassi <ebassi@gnome.org>
319 Date: Wed Mar 23 13:59:53 2016 +0000
321 build: Do not enable code coverage based on lcov
323 Code coverage turns on various slow paths and disables
325 should be, and it usually is, an opt in configuration flag.
327 Enabling it should not be conditional on the existence of the lcov
328 binary on the system, otherwise anybody building PyGObject from Git on
329 any moderately complete development environment will automatically
330 enable code coverage even when not wanted.
332 https://bugzilla.gnome.org/show_bug.cgi?id=764075
334 autogen.sh | 10 +---------
335 1 file changed, 1 insertion(+), 9 deletions(-)
337 commit c2a66daf3ac62e3e97f8d7fe16afccf37f413305
338 Author: Simon Feltman <sfeltman@src.gnome.org>
339 Date: Mon Mar 21 21:00:37 2016 -0700
341 configure.ac: post-release version bump to 3.21.0
344 1 file changed, 1 insertion(+), 1 deletion(-)
346 commit ce3034544f126f196cad57485f126f1246cd1acf
347 Author: Simon Feltman <sfeltman@src.gnome.org>
348 Date: Mon Mar 21 20:34:50 2016 -0700
353 1 file changed, 2 insertions(+)
355 commit eee366401383f92a2b2b233b2cd0db2ad50b6cb2
356 Author: Simon Feltman <sfeltman@src.gnome.org>
357 Date: Mon Mar 21 20:33:13 2016 -0700
359 configure.ac: pre-release version bump to 3.20.0
361 configure.ac | 4 ++--
362 1 file changed, 2 insertions(+), 2 deletions(-)
364 commit f4401234cdc9be784eea9347fec349e7cba0a153
365 Author: Simon Feltman <sfeltman@src.gnome.org>
366 Date: Tue Mar 15 22:56:10 2016 -0700
371 1 file changed, 2 insertions(+)
373 commit 3d8860c2d0a95cff38f7eaa65c38521654a162ae
374 Author: Simon Feltman <sfeltman@src.gnome.org>
375 Date: Tue Mar 1 22:10:21 2016 -0800
377 post-release version bump to 3.19.92
380 1 file changed, 1 insertion(+), 1 deletion(-)
382 commit a4865ef2f8c70b93f84f93236786c65ad5f973af
383 Author: Simon Feltman <sfeltman@src.gnome.org>
384 Date: Tue Mar 1 21:46:21 2016 -0800
388 NEWS | 11 +++++++++++
389 1 file changed, 11 insertions(+)
391 commit cc75f994a07639b9ffcc6afef757768780a076de
392 Author: Thibault Saunier <tsaunier@gnome.org>
393 Date: Fri Feb 5 15:00:10 2016 +0100
395 tests: check passing Boxed type in GValue as function parameters
397 https://bugzilla.gnome.org/show_bug.cgi?id=761592
399 tests/Makefile.am | 13 +++++++++++--
400 tests/gimarshallingtestsextra.c | 37
401 +++++++++++++++++++++++++++++++++++++
402 tests/gimarshallingtestsextra.h | 26 ++++++++++++++++++++++++++
403 tests/test_error.py | 6 ++++++
404 4 files changed, 80 insertions(+), 2 deletions(-)
406 commit 5f4b08f4e8a98046eab71537c7827edde2ca8742
407 Author: Simon Feltman <sfeltman@src.gnome.org>
408 Date: Mon Feb 29 22:50:32 2016 -0800
410 gerror: Add special case marshaling for boxing GErrors
412 Transfer gtype from introspection GError class to Python GError
414 Expose the PyGError pointer as an extern so other C files can pick
416 Add custom to/from GValue marshalers for GError.
417 Add tests for both complete and incomplete (no boxed pointer held).
419 https://bugzilla.gnome.org/show_bug.cgi?id=761592
421 gi/overrides/GLib.py | 1 +
422 gi/pygi-error.c | 32 +++++++++++++++++++++++++++++++-
423 gi/pygi-error.h | 2 ++
424 gi/pygi-value.c | 1 +
425 tests/test_gobject.py | 17 +++++++++++++++++
426 5 files changed, 52 insertions(+), 1 deletion(-)
428 commit cfca1457c39e3c4c7ef97e7b46a73c19e5adf305
429 Author: Simon Feltman <sfeltman@src.gnome.org>
430 Date: Sun Feb 28 01:39:31 2016 -0800
432 gerror: Add support for marshaling GError from Python to C
434 Refactor pygi_gerror_exception_check() to use a new broken out
436 pygi_error_marshal_from_py(). This allows re-use for argument
438 of a Python GError to a C GError.
439 Remove PYGI_META_ARG_TYPE_CHILD setting for GError out argument
441 This was incorrect since GError exception arguments are not specified
442 explicitly and instead uses the "throws" option.
444 https://bugzilla.gnome.org/show_bug.cgi?id=685197
446 gi/pygi-error.c | 132
447 +++++++++++++++++++++++++++++--------------
448 gi/pygi-error.h | 3 +
449 tests/test_overrides_glib.py | 30 ++++++++++
450 3 files changed, 123 insertions(+), 42 deletions(-)
452 commit 2fc1a689a81614649d042965997f4546b0a58ada
453 Author: Simon Feltman <sfeltman@src.gnome.org>
454 Date: Sat Feb 27 17:21:53 2016 -0800
456 gerror: Add "_to_py" suffix to pygi_error_marshal
458 This will allow for the a pygi_error_marshal_from_py function.
460 https://bugzilla.gnome.org/show_bug.cgi?id=685197
462 gi/pygi-error.c | 8 ++++----
463 gi/pygi-error.h | 2 +-
464 2 files changed, 5 insertions(+), 5 deletions(-)
466 commit 7e29227b6f58cfcc96118a4af83658ca1a6fa1f4
467 Author: Christoph Reiter <creiter@src.gnome.org>
468 Date: Sat Jul 4 22:09:46 2015 +0200
470 Some error handling/reporting fixes.
472 * Check in pyg_boxed_new() if the passed type is an actual subclass
473 * Don't replace existing exceptions in pyg_value_as_pyobject()
474 * Print an error in pyg_closure_marshal() in case marshalling
477 https://bugzilla.gnome.org/show_bug.cgi?id=751956
479 gi/pygboxed.c | 8 +++++++-
480 gi/pygi-value.c | 15 ++++++++++-----
481 gi/pygtype.c | 11 ++++++++++-
482 3 files changed, 27 insertions(+), 7 deletions(-)
484 commit 49880800b35029de3731523eede1b3174f10c1db
485 Author: Christoph Reiter <creiter@src.gnome.org>
486 Date: Sat Jul 4 21:40:04 2015 +0200
488 GVariant: Don't use pyg_boxed_new as GVariant isn't a PyGBoxed but
491 This only worked because they share the same struct layout.
492 This adds a new constructor for creating a new PyGIStruct instance
495 https://bugzilla.gnome.org/show_bug.cgi?id=751956
497 gi/pygi-struct.c | 32 ++++++++++++++++++++++++++++++++
498 gi/pygi-struct.h | 5 +++++
499 gi/pygi-value.c | 3 ++-
500 3 files changed, 39 insertions(+), 1 deletion(-)
502 commit f27b1976ea325fcd55359888401dd08ac8fb074a
503 Author: Mikhail Fludkov <misha@pexip.com>
504 Date: Tue Sep 1 17:54:17 2015 +0200
506 pygi-value: special case for NULL GValueArray
508 Don't segfault when dealing with GValue of GValueArray type containing
509 NULL. Return empty list in this case.
511 https://bugzilla.gnome.org/show_bug.cgi?id=754359
513 gi/pygi-value.c | 5 +++--
514 tests/test_gobject.py | 6 ++++++
515 2 files changed, 9 insertions(+), 2 deletions(-)
517 commit c8176dfabea694ce738ff4633e7522b0d1fc1c51
518 Author: Simon Feltman <sfeltman@src.gnome.org>
519 Date: Sat Feb 20 20:42:40 2016 -0800
521 post-release version bump to 3.19.91
524 1 file changed, 1 insertion(+), 1 deletion(-)
526 commit d16ae38f0a12653557bdeba17eb155144d91bff4
527 Author: Simon Feltman <sfeltman@src.gnome.org>
528 Date: Sat Feb 20 19:56:24 2016 -0800
533 1 file changed, 9 insertions(+)
535 commit 0190fb84fc1f88ba4c0623bf1b29fe3ca4f80932
536 Author: Simon Feltman <sfeltman@src.gnome.org>
537 Date: Sat Feb 20 19:49:31 2016 -0800
539 pre-release version bump to 3.19.90
542 1 file changed, 1 insertion(+), 1 deletion(-)
544 commit 0467808b97f89c5a36c01f5b7cba013acaef6851
545 Author: Simon Feltman <sfeltman@src.gnome.org>
546 Date: Sat Feb 20 19:40:45 2016 -0800
548 tests: Set the active style context state before retrieving values
550 compat_test_pygtk.TestGTKCompat.test_style() was giving a warning due
551 to set/get state mismatch. Set the current state before getting values
554 tests/compat_test_pygtk.py | 1 +
555 1 file changed, 1 insertion(+)
557 commit 8145fa69c8ace9772687f26f782acb5e461776be
558 Author: Simon Feltman <sfeltman@src.gnome.org>
559 Date: Sat Feb 20 17:32:01 2016 -0800
561 tests: Fix crash with empty drag source icon names
563 Add "_About" argument when testing call to
564 drag_source_set_icon_name().
565 Add Gtk.STOCK_ABOUT argument when testing call to
566 drag_source_set_icon_stock().
567 This avoids crashes due to GTK+ drag source attempting to unref a
570 https://bugzilla.gnome.org/show_bug.cgi?id=762392
572 tests/test_overrides_gtk.py | 4 ++--
573 1 file changed, 2 insertions(+), 2 deletions(-)
575 commit 6a26d3f2b25b3fbbd87def14f1df17b96ed23a0d
576 Author: Christoph Reiter <creiter@src.gnome.org>
577 Date: Sun Oct 4 11:18:04 2015 +0200
579 Try to import GdkX11 in Gdk overrides
581 pygobject will not provide GdkX11 instances until the namespace
582 is loaded so try to load it in the overrides.
584 This makes Gdk.Display.get_default() return a GdkX11.X11Display
585 instead of a dummy Gdk.Display subclass instance.
587 https://bugzilla.gnome.org/show_bug.cgi?id=673396
589 gi/overrides/Gdk.py | 11 ++++++++++-
590 1 file changed, 10 insertions(+), 1 deletion(-)
592 commit 12022437d663f49ba3a2a2f884da30dd5ca08ff6
593 Author: Christoph Reiter <creiter@src.gnome.org>
594 Date: Fri Oct 30 13:07:57 2015 +0100
596 Fix import warnings pointing to the wrong code with CPython 3.3/3.5
598 For making warnings point to the code doing the import, the stack
600 of the import system need to be skipped. The frame count number
602 between CPython versions and in 3.5 all frames of the import
604 skipped for warnings (https://bugs.python.org/issue24305).
606 This hardcodes the frame counts for all supported CPython versions
607 which fixes the import warning output for CPython 3.3 and 3.5.
609 This also fixes/works around a bug in CPython 3 where if a too
610 large stacklevel value was passed to warn(), CPython would try to
611 interpret a file called "sys" in the same directory of the
612 executed script (https://bugs.python.org/issue25493
613 and https://bugzilla.gnome.org/show_bug.cgi?id=757184).
615 https://bugzilla.gnome.org/show_bug.cgi?id=757184
617 gi/importer.py | 28 +++++++++++++++++++++++-----
618 tests/test_import_machinery.py | 4 ++++
619 2 files changed, 27 insertions(+), 5 deletions(-)
621 commit 72ab17963e81fb63f7238123c359be8d83a529f4
622 Author: Christoph Reiter <creiter@src.gnome.org>
623 Date: Sun Oct 25 11:39:22 2015 +0100
625 Bump automake version to 1.12.6
627 Required to a get a new enough py-compile which supports
628 the __pycache__ directories for newer Python 3 versions.
629 See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=8847
631 Also remove m4/py-compile which doesn't seem to get used in
632 either 1.11 or 1.15 here.
634 https://bugzilla.gnome.org/show_bug.cgi?id=757086
638 ----------------------------------------------------------
639 2 files changed, 3 insertions(+), 162 deletions(-)
641 commit b71f76af163c1d43b9f11e6a6362e7510d84c231
642 Author: Simon Feltman <sfeltman@src.gnome.org>
643 Date: Sat Oct 31 14:55:46 2015 -0700
645 post-release version bump to 3.19.3
648 1 file changed, 1 insertion(+), 1 deletion(-)
650 commit bedc7b883febceb3470f1b8e909cfab696d1fc5f
651 Author: Simon Feltman <sfeltman@src.gnome.org>
652 Date: Sat Oct 31 14:47:07 2015 -0700
657 1 file changed, 7 insertions(+)
659 commit 4164e7088be446fcab65cef642c6853aad3b6a69
660 Author: Simon Feltman <sfeltman@src.gnome.org>
661 Date: Sat Oct 31 14:06:40 2015 -0700
663 tests: Fix failure due to new GTK+ warning regarding size_allocate()
665 Call get_preferred_size() to avoid size_allocated() warning in
666 size-allocated signal handler test.
668 tests/test_overrides_gtk.py | 1 +
669 1 file changed, 1 insertion(+)
671 commit a8293f411234180d70e9ff979954b28381842e1f
672 Author: Simon Feltman <sfeltman@src.gnome.org>
673 Date: Sat Oct 31 14:03:21 2015 -0700
675 Fix build warnings regarding _POSIX_C_SOURCE redefinition
677 Move Python.h includes above glib includes to avoid build
678 warnings with Python 2 as noted here:
679 https://docs.python.org/2/c-api/intro.html#include-files
681 gi/gobjectmodule.c | 1 +
682 gi/pygi-array.c | 2 +-
683 gi/pygi-cache.c | 2 +-
684 gi/pygi-enum-marshal.c | 2 +-
685 gi/pygi-hashtable.c | 1 +
686 gi/pygi-hashtable.h | 2 +-
688 gi/pygi-object.c | 2 +-
689 gi/pygi-struct-marshal.c | 2 +-
690 gi/pygi-value.c | 1 +
691 10 files changed, 10 insertions(+), 6 deletions(-)
693 commit 3b1d130174951f7648beceac270daa8ac65939c7
694 Author: Matthias Clasen <mclasen@redhat.com>
695 Date: Fri Oct 30 12:15:26 2015 -0400
697 Drop -std=c90 for now
699 glib headers have a problem with it, and sorting it out on the
700 glib side will take a while, so drop this for now.
702 configure.ac | 9 ---------
703 1 file changed, 9 deletions(-)
705 commit ef219cc74a7c6803795692664fc3b2c8ebbb4fe4
706 Author: Christoph Reiter <creiter@src.gnome.org>
707 Date: Fri Oct 30 16:23:11 2015 +0100
709 configure.ac: post release version bump to 3.19.2
712 1 file changed, 1 insertion(+), 1 deletion(-)
714 commit 98a4bfe4606bd2c7534533633a20a998f732e248
715 Author: Christoph Reiter <creiter@src.gnome.org>
716 Date: Fri Oct 30 16:13:46 2015 +0100
720 NEWS | 20 ++++++++++++++++++++
721 1 file changed, 20 insertions(+)
723 commit 175d10665472e6f4090d707e3b89255814c932b1
724 Author: Christoph Reiter <creiter@src.gnome.org>
725 Date: Mon Jun 8 18:14:08 2015 +0200
727 Use a named tuple for returning multiple values
729 >>> v = Gtk.Button().get_alignment()
731 (xalign=0.5, yalign=0.5)
735 For each GICallable a new gi._gi.ResultTuple subclass
736 is created which knows the return value names of that
737 callable and displays them in __repr__, __dir__ and
738 allows to access tuple items by name.
740 The subclass is cached in PyGICallableCache.
742 To reduce the number of small tuple allocations use a free list
743 similar to the one used for pure tuples in CPython.
745 https://bugzilla.gnome.org/show_bug.cgi?id=727374
749 gi/pygi-cache.c | 34 +++++
750 gi/pygi-cache.h | 6 +
751 gi/pygi-invoke.c | 35 ++---
752 gi/pygi-private.h | 1 +
753 gi/pygi-resulttuple.c | 354
754 ++++++++++++++++++++++++++++++++++++++++++++++
755 gi/pygi-resulttuple.h | 34 +++++
756 gi/pyglib-python-compat.h | 5 +
757 tests/Makefile.am | 1 +
758 tests/test_resulttuple.py | 87 ++++++++++++
759 11 files changed, 543 insertions(+), 17 deletions(-)
761 commit b1788c9a445c8a820121c42260bcbdbc3ae8dfba
762 Author: Christoph Reiter <creiter@src.gnome.org>
763 Date: Mon Oct 26 11:17:34 2015 +0100
765 enum/flags: use gir info for type names and __repr__ instead of the
768 For example __name__ is now SpawnFlags instead of PyGLibSpawnFlags
769 and __repr__ shows GLib.SpawnFlags in stead of PyGLibSpawnFlags.
771 https://bugzilla.gnome.org/show_bug.cgi?id=657915
773 gi/gimodule.c | 35 ++++++++++++++++++++++++----
775 +++++++++++++++++++++++++++++++--------------
776 gi/pygflags.c | 31 +++++++++++++++++++-----
777 tests/test_gi.py | 41 ++++++++++++++++++++++++++++++++
778 tests/test_overrides_gdk.py | 6 ++---
779 5 files changed, 139 insertions(+), 31 deletions(-)
781 commit 6b702c052e9f26e809cff494f0c896d17a514c64
782 Author: Christoph Reiter <creiter@src.gnome.org>
783 Date: Wed Jun 10 18:24:44 2015 +0200
785 Improve and unify __repr__ format for PyGObject, PyGBoxed and
788 Includes the module, Python type name, pointer and wrapper pointer
790 "<Gtk.Border object at 0x7f26bee9e4c8 (GtkBorder at 0x1c72e30)>"
792 In case of PyGObjects created from GType set the module to __gi__
793 instead of guessing the old static binding name. Also
794 remove the code that tries to add them to the guessed static bindings
795 module while at it. The __repr__ will now return
796 "<__gi__.X11Keymap ..." instead of "<gtk.gdk.X11Keymap ..."
798 https://bugzilla.gnome.org/show_bug.cgi?id=657915
800 gi/pygboxed.c | 31 +++++++++++++++++++++----
801 gi/pygi-struct.c | 23 ++++++++++++++++++
803 +++++++++++++++++++++++++-------------------------------
804 tests/test_gi.py | 33 ++++++++++++++++++++++++++
805 4 files changed, 113 insertions(+), 45 deletions(-)
807 commit 9b821aa0d60857e612cde9dabe9c8f9f9c60214c
808 Author: Christoph Reiter <creiter@src.gnome.org>
809 Date: Sun Oct 4 11:13:37 2015 +0200
811 Don't leak internal RepositoryError on import.
813 In case a dependency of the imported namespace has a version
814 conflict with an already loaded version, import would raise
817 This fixes it to raise an ImportError instead.
819 https://bugzilla.gnome.org/show_bug.cgi?id=756033
821 gi/importer.py | 7 +++++--
822 gi/module.py | 4 ++++
823 2 files changed, 9 insertions(+), 2 deletions(-)
825 commit dba1da9b0770c7dec1abd82303b9b4266fe2ce3f
826 Author: Christoph Reiter <creiter@src.gnome.org>
827 Date: Sun Oct 4 10:13:35 2015 +0200
829 Import dependencies when importing typelibs from gi.repository
831 Recursively import a modules dependencies when importing from
834 This fixes the case where a library depends on initialization
835 code of dependency overrides. For example libwnck expects
836 gdk_init to be called before using its API and gdk_init
837 gets called in the Gdk overrrides.
839 https://bugzilla.gnome.org/show_bug.cgi?id=656314
841 gi/importer.py | 12 +++++++++++-
842 gi/pygi-repository.c | 35 +++++++++++++++++++++++++++++++++++
843 tests/test_import_machinery.py | 13 +++++++++++++
844 tests/test_repository.py | 10 ++++++++++
845 4 files changed, 69 insertions(+), 1 deletion(-)
847 commit dfa3a85290dd97ecd7cbe8f12fbc1ff2db5a1155
848 Author: Christoph Reiter <creiter@src.gnome.org>
849 Date: Sun Oct 11 01:28:48 2015 +0200
851 Fix Gdk.rectangle_intersect/rectangle_union missing with GTK+ 3.18
853 3.18 added a Gdk.Rectangle type which changed these functions
854 to methods in the gir.
856 Fix by providing aliases in the Gdk overrides.
858 https://bugzilla.gnome.org/show_bug.cgi?id=756364
860 gi/overrides/Gdk.py | 8 ++++++++
861 tests/test_overrides_gdk.py | 9 +++++++++
862 2 files changed, 17 insertions(+)
864 commit 98726caff183491cde1e145861adfcff0c243d9b
865 Author: Christoph Reiter <creiter@src.gnome.org>
866 Date: Sun Oct 4 09:53:27 2015 +0200
868 Don't import inspect at module level
870 Move it to the only user instead as importing inspect
873 gi/_signalhelper.py | 3 ++-
874 1 file changed, 2 insertions(+), 1 deletion(-)
876 commit e1921b7224ca1e909d9fe5483a09414742d0baf4
877 Author: Christoph Reiter <creiter@src.gnome.org>
878 Date: Sat Sep 26 21:29:54 2015 +0200
880 invoke state: add a free memory cache for PyGIInvokeArgState
882 Keep one free allocation per argument count around
883 to reduce g_slice_alloc/free usage.
885 Reduces CPU time for simple functions by 10% and 5% for closures.
887 https://bugzilla.gnome.org/show_bug.cgi?id=750658
889 gi/pygi-closure.c | 6 ++----
890 gi/pygi-invoke.c | 61
891 +++++++++++++++++++++++++++++++++++++++++++++++++------
892 gi/pygi-invoke.h | 4 ++++
893 3 files changed, 61 insertions(+), 10 deletions(-)
895 commit f72b6434de82ffa1950ff45a4daf80c84f58eca6
896 Author: Christoph Reiter <creiter@src.gnome.org>
897 Date: Sat Sep 26 21:25:38 2015 +0200
899 invoke/closure: reduce g_slice_alloc usage
901 Instead of allocating multiple arrays, combine argument
902 data in a new PyGIInvokeArgState and allocate it in one go.
904 This reduces CPU time by 20% for simple functions and by 15%
907 https://bugzilla.gnome.org/show_bug.cgi?id=750658
909 gi/pygi-array.c | 6 +--
910 gi/pygi-closure.c | 99
911 +++++++++++++++++++------------------------
912 gi/pygi-invoke-state-struct.h | 34 +++++++++------
913 gi/pygi-invoke.c | 50 +++++++---------------
914 gi/pygi-marshal-cleanup.c | 10 ++---
915 5 files changed, 86 insertions(+), 113 deletions(-)
917 commit 640221c099031a55cbc32f5cdac3e6e018256fff
918 Author: Christoph Reiter <creiter@src.gnome.org>
919 Date: Sun Sep 27 11:19:14 2015 +0200
921 pep8: ignore new errors reported by pep8 1.6
923 Makes sure we get the same result for older and newer pep8.
924 Once 1.6 is more common, the ignored errors could be added back
925 and fixed (E402 might be impossible, see bug 755620)
928 1 file changed, 1 insertion(+), 1 deletion(-)
930 commit 5fcc0b49e5988bfb6893bd56dd25a6257cd9720d
931 Author: Garrett Regier <garrett.regier@riftio.com>
932 Date: Tue Sep 22 14:57:13 2015 -0700
934 Bump g-i dependency to latest stable
936 This is required for throwing exceptions in closures.
940 2 files changed, 2 insertions(+), 2 deletions(-)
942 commit 0acbf6ad543a928ce75fc6d6839d3e6aa2e9a3d3
943 Author: Garrett Regier <garrett.regier@riftio.com>
944 Date: Tue Jun 9 07:11:51 2015 -0700
946 Avoid calling g_slist_length() during invoke
948 We already know the number of Python args.
950 gi/pygi-invoke.c | 3 +--
951 1 file changed, 1 insertion(+), 2 deletions(-)
953 commit 216e94cff0bbe5436efe423b197c9cfc4a00a02d
954 Author: Garrett Regier <garrett.regier@riftio.com>
955 Date: Wed Jun 3 08:14:08 2015 -0700
957 Simplify closure_convert_arguments()
959 This chunk of work should really be done
960 in convert_ffi_arguments().
962 gi/pygi-closure.c | 65
963 +++++++++++++++++++++++++------------------------------
964 1 file changed, 29 insertions(+), 36 deletions(-)
966 commit 7f7d0c52c9b364ba0ec92c9415298c26b103a077
967 Author: Garrett Regier <garrett.regier@riftio.com>
968 Date: Wed Jun 3 08:09:31 2015 -0700
970 Remove a level of indentation in convert_ffi_arguments()
972 gi/pygi-closure.c | 138
973 ++++++++++++++++++++++++++----------------------------
974 1 file changed, 67 insertions(+), 71 deletions(-)
976 commit 3066f3a88103f02c7e22db22efbeb501f4e30d32
977 Author: Garrett Regier <garrett.regier@riftio.com>
978 Date: Wed Jun 3 07:50:37 2015 -0700
980 Prevent passing the user data multiple times to callbacks
982 This can happen when a callback has multiple gpointers.
983 Also, store the closure index as it is hopefully more reliable
986 https://bugzilla.gnome.org/show_bug.cgi?id=750347
988 gi/pygi-cache.c | 24 ++++++++++++++++++++++++
989 gi/pygi-cache.h | 3 +++
990 gi/pygi-closure.c | 8 ++------
991 3 files changed, 29 insertions(+), 6 deletions(-)
993 commit 40bba555c835cf53d6aa2645329631e6abe57e6c
994 Author: Garrett Regier <garrett.regier@riftio.com>
995 Date: Wed Jun 3 07:06:40 2015 -0700
997 Support throwing exceptions in closures
999 This allows exceptions raised in vfunc implemntations
1000 and callbacks to be turned into GErrors.
1002 NOTE: this requires matchs in
1003 https://bugzilla.gnome.org/show_bug.cgi?id=729543
1004 thus we must bump the GI req once they are commited.
1006 https://bugzilla.gnome.org/show_bug.cgi?id=710671
1008 gi/pygi-closure.c | 113
1009 ++++++++++++++++++++++++++++++----------------------
1010 tests/test_error.py | 22 ++++++++++
1011 2 files changed, 88 insertions(+), 47 deletions(-)
1013 commit ea75a89a7d2bdabc7a29f7f20f792211765f2ac7
1014 Author: Christoph Reiter <creiter@src.gnome.org>
1015 Date: Sun Sep 6 05:35:03 2015 +0200
1017 Don't emit require_version warning if namespace was loaded previously
1018 using g_irepository_require
1020 Instead of tracking loaded dependencies ourself to hide warnings
1022 were loaded by a previous import just look if the namespace was loaded
1023 before the import. This (a) makes the implementation much simpler and
1024 (b) also takes into account namespaces loaded outside of
1026 using the libgirepository C API (as is common in applications using
1027 libpeas with Python plugins)
1029 This also introduces a new Python wrapper for
1030 g_irepository_is_registered()
1031 to allow checking the loading state of namespaces before imports.
1033 This fixes unnecessary require_version warnings in gedit,
1035 totem, rhythmbox etc.
1037 https://bugzilla.gnome.org/show_bug.cgi?id=754491
1040 +++++++++++-------------------------------
1041 gi/pygi-repository.c | 19 +++++++++
1042 tests/test_import_machinery.py | 9 ----
1043 tests/test_repository.py | 11 +++++
1044 4 files changed, 54 insertions(+), 78 deletions(-)
1046 commit 65726314de2833ce0364a3f3e23f344d122b342f
1047 Author: Garrett Regier <garrett.regier@riftio.com>
1048 Date: Tue Sep 22 00:17:00 2015 -0700
1050 configure.ac: post release version bump to 3.19.1
1052 configure.ac | 4 ++--
1053 1 file changed, 2 insertions(+), 2 deletions(-)
1055 commit ea5ecca4916569b1eca6296ff1a8905e42c3c38a
1056 Author: Garrett Regier <garrettregier@gmail.com>
1057 Date: Tue Sep 22 00:10:35 2015 -0700
1062 configure.ac | 4 ++--
1063 2 files changed, 4 insertions(+), 2 deletions(-)
1065 commit e2b8ba0584d1a3273dfa2fcb23616d1dc68fdb8e
1066 Author: Simon Feltman <sfeltman@src.gnome.org>
1067 Date: Wed Aug 19 21:04:37 2015 -0700
1069 configure.ac: post-release version bump to 3.17.91
1072 1 file changed, 1 insertion(+), 1 deletion(-)
1074 commit 6392b2727e7ed391683bebbf69fbc8b474e99a5f
1075 Author: Simon Feltman <sfeltman@src.gnome.org>
1076 Date: Wed Aug 19 21:02:44 2015 -0700
1080 NEWS | 14 ++++++++++++++
1081 1 file changed, 14 insertions(+)
1083 commit 1da98892cf505b35ce0280db22e1e8ba31c095e0
1084 Author: Simon Feltman <sfeltman@src.gnome.org>
1085 Date: Wed Aug 19 20:57:37 2015 -0700
1087 configure.ac: pre-release version bump to 3.17.90
1090 1 file changed, 1 insertion(+), 1 deletion(-)
1092 commit 79d23e9accd331d954007dcae6b6b7fa2837cfa7
1093 Author: Christoph Reiter <reiter.christoph@gmail.com>
1094 Date: Wed Feb 18 19:30:30 2015 +0100
1096 Allow passing unicode lists to GStrv properties on Python 2
1098 https://bugzilla.gnome.org/show_bug.cgi?id=744745
1100 gi/pygi-value.c | 41 ++++++++++++++++++++++++++++++++---------
1101 tests/test_properties.py | 8 +++++++-
1102 2 files changed, 39 insertions(+), 10 deletions(-)
1104 commit 8aa3d5935b4541be6e76e8792e58bb301fa4f7d1
1105 Author: Rui Matos <tiagomatos@gmail.com>
1106 Date: Thu May 21 17:53:17 2015 +0200
1108 Avoid a silent long to int truncation
1110 If the python object contains a value bigger than MAXUINT we'd
1111 silently truncate it when assigning to 'val' and the if condition
1112 would always be true.
1114 This was caught by a coverity scan.
1116 https://bugzilla.gnome.org/show_bug.cgi?id=749698
1118 gi/pygi-value.c | 4 ++--
1119 1 file changed, 2 insertions(+), 2 deletions(-)
1121 commit 5af6c722e5b7db90a3ca0832c46efe0c9142a0d1
1122 Author: Christoph Reiter <creiter@src.gnome.org>
1123 Date: Sun Jul 5 11:58:50 2015 +0200
1125 tests: add a test for test_glist_gtype_container_in()
1127 https://bugzilla.gnome.org/show_bug.cgi?id=749696
1129 tests/test_everything.py | 6 ++++++
1130 1 file changed, 6 insertions(+)
1132 commit f69ce9f5f6cd81b057ed0006d1fe7f71fa294943
1133 Author: Mathieu Bridon <bochecha@daitauha.fr>
1134 Date: Sun Jul 5 11:07:00 2015 +0200
1136 Handle gtype marshalling
1138 https://bugzilla.gnome.org/show_bug.cgi?id=749696
1140 gi/pygi-argument.c | 5 +++++
1141 1 file changed, 5 insertions(+)
1143 commit 0ee1f562c975df51ce93578d35678ef1e915e202
1144 Author: Daniel Hahler <git@thequod.de>
1145 Date: Wed Mar 25 14:37:29 2015 +0100
1147 pygi-foreign-cairo.c: fix include for py3cairo.h
1149 The pkg-config info includes the "pycairo" folder already.
1151 https://bugzilla.gnome.org/show_bug.cgi?id=746742
1153 gi/pygi-foreign-cairo.c | 2 +-
1154 1 file changed, 1 insertion(+), 1 deletion(-)
1156 commit fea15145c2a3e6aac73350241a982a095e16c7d8
1157 Author: Christoph Reiter <creiter@src.gnome.org>
1158 Date: Thu Jun 18 13:36:52 2015 +0200
1160 tests: Silence various error messages and warnings.
1162 This silences glib warnings which are due to testing
1163 of error handling, deprecation warnings which we ignore
1164 since we want to continue testing deprecated code and
1165 other error output of code which is supposed to fail.
1167 To reduce code duplication and make things easier
1168 this introduces a shared helper module containing
1169 various context managers and decorators which allow
1170 testing and silencing of warnings and errors.
1172 https://bugzilla.gnome.org/show_bug.cgi?id=751156
1174 tests/Makefile.am | 1 +
1175 tests/compat_test_pygtk.py | 27 +++------
1176 tests/compathelper.py | 8 +++
1177 tests/helper.py | 132
1178 ++++++++++++++++++++++++++++++++++++++++++++
1179 tests/test_everything.py | 28 ++++++----
1180 tests/test_gi.py | 6 +-
1181 tests/test_gio.py | 3 +
1182 tests/test_iochannel.py | 20 +++----
1183 tests/test_overrides_gdk.py | 18 +++---
1184 tests/test_overrides_gtk.py | 20 +++----
1185 tests/test_properties.py | 21 +++----
1186 tests/test_repository.py | 13 ++---
1187 tests/test_signal.py | 24 +++-----
1188 tests/test_source.py | 8 +--
1189 14 files changed, 231 insertions(+), 98 deletions(-)
1191 commit 619777730891b42b98da556c3aa9ca5a1b3f617b
1192 Author: Christoph Reiter <creiter@src.gnome.org>
1193 Date: Thu Jun 18 13:30:03 2015 +0200
1195 Fix gcc warning regarding uninitialized use of variable
1197 https://bugzilla.gnome.org/show_bug.cgi?id=751156
1199 gi/pygobject.c | 4 +++-
1200 1 file changed, 3 insertions(+), 1 deletion(-)
1202 commit 1ed8200abefc3e51e4d2083b1372695aaf4163fb
1203 Author: Christoph Reiter <creiter@src.gnome.org>
1204 Date: Sun Jun 21 23:55:02 2015 +0200
1206 Fix test regression when xdg-user-dirs is not installed.
1208 GLib.get_user_special_dir is only guaranteed to always return
1209 a path in case GLib.UserDirectory.DIRECTORY_DESKTOP is passed.
1210 This was unintentionally changed to DIRECTORY_MUSIC
1211 in 9948a67e677c8a351f2de1708.
1213 https://bugzilla.gnome.org/show_bug.cgi?id=751299
1215 tests/test_glib.py | 2 +-
1216 1 file changed, 1 insertion(+), 1 deletion(-)
1218 commit 79cf1f70d247b5a4d33d1e60107e47903ca76055
1219 Author: Garrett Regier <garrett.regier@riftio.com>
1220 Date: Mon May 18 02:32:18 2015 -0700
1222 Explicitly check if an override exists instead of ImportError
1224 If an override depended on another module and it did not
1225 exist then the raised ImportError was consumed and assumed
1226 to mean that the override did not exist. This makes it
1227 difficult to diagnose issues with overrides.
1229 This uses pkgutil.get_loader() as it is the easier way to
1230 determine if a module exists in both Python 2 and 3
1231 and avoid deprecated functions.
1233 https://bugzilla.gnome.org/show_bug.cgi?id=749532
1235 gi/overrides/__init__.py | 17 +++++++++++++++--
1236 1 file changed, 15 insertions(+), 2 deletions(-)
1238 commit d2faa619f5e204b75315a42fec99dd48fe7fb31c
1239 Author: Simon Feltman <sfeltman@src.gnome.org>
1240 Date: Mon Jun 15 01:24:16 2015 -0700
1242 configure.ac: post-release version bump to 3.17.2
1245 1 file changed, 1 insertion(+), 1 deletion(-)
1247 commit 6fa54fe868d0e2a9a9d4dc300a61cbfa079681a8
1248 Author: Simon Feltman <sfeltman@src.gnome.org>
1249 Date: Mon Jun 15 01:20:47 2015 -0700
1253 NEWS | 16 ++++++++++++++++
1254 1 file changed, 16 insertions(+)
1256 commit 2048dc8d1d708abce7037f96483c6d776567d6b5
1257 Author: Christoph Reiter <creiter@src.gnome.org>
1258 Date: Mon Mar 2 20:58:04 2015 +0100
1260 Add gi.PyGIWarning and use it instead of PyGIDeprecationWarning in
1261 case the version to import wasn't specified.
1263 This makes the warning visible by default.
1264 See commit ef3bff4e570363e4f383d4cdae9cecd4073b03d8 for more info
1267 https://bugzilla.gnome.org/show_bug.cgi?id=727379
1269 gi/__init__.py | 2 ++
1270 gi/gimodule.c | 6 ++++++
1271 gi/importer.py | 3 ++-
1272 tests/test_gi.py | 15 +++++++++++++++
1273 4 files changed, 25 insertions(+), 1 deletion(-)
1275 commit 7a3bb6971f22accd25e987496d377e1879f6e1ba
1276 Author: Christoph Reiter <creiter@src.gnome.org>
1277 Date: Sat May 30 17:46:54 2015 +0200
1279 Remove Gdk.Rectangle alias with newer gobject-introspection and GTK+
1281 The new GdkRectangle in the typelib confuses the marshalling code
1282 as PyGObject uses the Python class from the overrides for marshalling
1283 to Python but uses the gtype from the typelib to do
1284 type checking when marshalling from Python.
1286 https://bugzilla.gnome.org/show_bug.cgi?id=749625
1288 gi/overrides/Gdk.py | 12 ++++++++----
1289 1 file changed, 8 insertions(+), 4 deletions(-)
1291 commit 64be2069d39b4d2767eb1efd47bb3f268ad7fb0d
1292 Author: Christoph Reiter <creiter@src.gnome.org>
1293 Date: Thu Apr 23 22:03:54 2015 +0200
1295 overrides: Provide _overrides_module attribute to make gst-python
1296 overrides work again.
1298 gi_gst_fraction_from_value () in gst-python's gstmodule.c tries
1300 the Gst.Fraction class through
1301 gi.repository.Gst._overrides_module.Fraction
1302 and failed since _overrides_module was removed in revision
1305 This adds it back pointing to the proxy itself which also contains
1308 https://bugzilla.gnome.org/show_bug.cgi?id=736678#c6
1310 gi/overrides/__init__.py | 7 +++++++
1311 1 file changed, 7 insertions(+)
1313 commit 6772e990ad889af817b9224e88ea9d79a04caef7
1314 Author: Simon Feltman <sfeltman@src.gnome.org>
1315 Date: Mon Apr 13 19:33:40 2015 -0700
1317 overrides: Conditionalize touch override support in Gdk
1319 Conditionalize Gdk.EventTouch union discrimination. This fixes the
1320 Gdk overrides to continue working with versions of Gdk less than 3.4.
1322 https://bugzilla.gnome.org/show_bug.cgi?id=747717
1324 gi/overrides/Gdk.py | 18 +++++++++++++-----
1325 1 file changed, 13 insertions(+), 5 deletions(-)
1327 commit 26c015b177ddcc0f35c97bcd7a4f2114fb2e8e2a
1328 Author: Christoph Reiter <reiter.christoph@gmail.com>
1329 Date: Sun Mar 29 23:23:09 2015 +0200
1331 Field setters: Remove unneeded type/range checks and resulting
1334 These checks are performed in the actual marshalling code
1335 paths as well, no need to do them twice.
1337 Also move _pygi_g_registered_type_info_check_object() to pygi-info.c
1338 as it's the only place where it is still used.
1340 https://bugzilla.gnome.org/show_bug.cgi?id=746985
1342 gi/pygi-argument.c | 626
1343 ---------------------------------------------------
1344 gi/pygi-argument.h | 12 -
1345 gi/pygi-info.c | 90 ++++++--
1346 tests/test_fields.py | 14 +-
1347 4 files changed, 83 insertions(+), 659 deletions(-)
1349 commit dbb0b199268ece884e19eb99093fc26bd7bf92af
1350 Author: Christoph Reiter <reiter.christoph@gmail.com>
1351 Date: Sun Mar 29 21:51:42 2015 +0200
1353 pygi-argument: Remove unused imports/includes
1355 https://bugzilla.gnome.org/show_bug.cgi?id=746985
1358 gi/pygi-argument.c | 7 -------
1359 gi/pygi-argument.h | 2 --
1360 3 files changed, 10 deletions(-)
1362 commit 7dee04efff418677eead36ee9ed497cc3eadf8f7
1363 Author: Christoph Reiter <reiter.christoph@gmail.com>
1364 Date: Sun Mar 29 21:47:47 2015 +0200
1366 Improve test coverage for field setters/getters.
1368 Field setters are the sole users of the GIArgument value validation
1369 code and the error handling is hardly tested. This tries to improve
1370 the coverage for the field types available in
1371 GLib/Regress/GIMarshallingTests.
1373 https://bugzilla.gnome.org/show_bug.cgi?id=746985
1375 tests/Makefile.am | 1 +
1376 tests/test_fields.py | 186
1377 +++++++++++++++++++++++++++++++++++++++++++++++++++
1378 2 files changed, 187 insertions(+)
1380 commit b0170220fabbf878a36e0c14b0a3024973b7355f
1381 Author: Simon Feltman <sfeltman@src.gnome.org>
1382 Date: Sun Mar 29 16:35:47 2015 -0700
1384 configure.ac: post release version bump to 3.17.1
1386 configure.ac | 4 ++--
1387 1 file changed, 2 insertions(+), 2 deletions(-)
1389 commit 46f463a3a3ff45eb8eba67fbb59ecc861b1e1d73
1390 Author: Simon Feltman <sfeltman@src.gnome.org>
1391 Date: Tue Mar 24 01:25:25 2015 -0700
1396 configure.ac | 4 ++--
1397 2 files changed, 4 insertions(+), 2 deletions(-)
1399 commit bf802599f5d0d13cc4b69f1716400561a16a2443
1400 Author: Simon Feltman <sfeltman@src.gnome.org>
1401 Date: Thu Mar 5 01:09:12 2015 -0800
1403 configure.ac: post release version bump to 3.15.92
1406 1 file changed, 1 insertion(+), 1 deletion(-)
1408 commit a86f309066f007f9787a6d1ac679dc041740d8dc
1409 Author: Simon Feltman <sfeltman@src.gnome.org>
1410 Date: Thu Mar 5 01:08:03 2015 -0800
1414 NEWS | 14 ++++++++++++++
1416 2 files changed, 15 insertions(+), 1 deletion(-)
1418 commit 9948a67e677c8a351f2de17080d7a671882570f3
1419 Author: Christoph Reiter <reiter.christoph@gmail.com>
1420 Date: Tue Jan 27 17:47:49 2015 +0100
1422 tests: Don't use deprecated override attributes
1424 In case the test explicitly tests the deprecated attribute
1425 silence the resulting warnings.
1427 Instead of replacing GObject.PARAM_READWRITE with
1428 GObject.ParamFlags.READWRITE use (READABLE | WRITABLE)
1429 to not depend on a newer glib version.
1431 https://bugzilla.gnome.org/show_bug.cgi?id=743514
1433 tests/test_everything.py | 168
1434 ++++++++++++++++++++++----------------------
1435 tests/test_gi.py | 66 ++++++++---------
1436 tests/test_glib.py | 33 +++++----
1437 tests/test_gobject.py | 21 +++---
1438 tests/test_internal_api.py | 4 +-
1439 tests/test_iochannel.py | 11 +--
1440 tests/test_overrides_gtk.py | 20 +++---
1441 tests/test_properties.py | 100 ++++++++++++++------------
1442 tests/test_signal.py | 111 ++++++++++++++---------------
1443 tests/test_source.py | 8 +--
1444 tests/test_subprocess.py | 7 +-
1445 tests/testmodule.py | 3 +-
1446 12 files changed, 292 insertions(+), 260 deletions(-)
1448 commit 9285b23cd1b253baaf06ddd49e2f000716bbf7f3
1449 Author: Christoph Reiter <reiter.christoph@gmail.com>
1450 Date: Tue Jan 27 16:36:02 2015 +0100
1452 Add GLib.MINFLOAT etc. and mark GObject.G_MINFLOAT etc. deprecated.
1454 They are defined in glib, not gobject and not included in the gir;
1455 Similar constants like G_MAXINT64 are defined in GLib gir and marked
1456 deprecated in the GObject overrides already.
1458 https://bugzilla.gnome.org/show_bug.cgi?id=743514
1460 gi/overrides/GLib.py | 12 ++++++++++++
1461 gi/overrides/GObject.py | 4 +++-
1462 tests/test_overrides_glib.py | 7 +++++++
1463 3 files changed, 22 insertions(+), 1 deletion(-)
1465 commit f74acb38f1410982f3419acb134adf173600e497
1466 Author: Christoph Reiter <reiter.christoph@gmail.com>
1467 Date: Tue Jan 27 16:06:03 2015 +0100
1469 Emit PyGIDeprecationWarning when accessing deprecated override
1472 Adds a new helper function for overrides to mark a module level
1474 as deprecated. A warning will be emitted every time the attribute gets
1477 e.g. when marking GObject.STATUS_FOO as deprecated using
1479 STATUS_FOO = GLib.Status.FOO
1480 deprecated_attr("GObject", "STATUS_FOO", "GLib.Status.FOO")
1481 __all__.append("STATUS_FOO")
1483 accessing it will emit
1485 "GObject.STATUS_FOO is deprecated; use GLib.Status.FOO instead"
1487 https://bugzilla.gnome.org/show_bug.cgi?id=743514
1489 gi/overrides/GLib.py | 44 ++++++++++++++++-------
1490 gi/overrides/GObject.py | 90
1491 +++++++++++++++++++++++++-----------------------
1492 gi/overrides/__init__.py | 74 ++++++++++++++++++++++++++++++++++++++-
1493 tests/test_gi.py | 70 +++++++++++++++++++++++++++++++++++++
1494 4 files changed, 221 insertions(+), 57 deletions(-)
1496 commit a10df7d28c01d70ee33d8e4e9ddaa23f1990ca60
1497 Author: Christoph Reiter <reiter.christoph@gmail.com>
1498 Date: Tue Jan 27 19:13:54 2015 +0100
1500 Add namespace and container name to callable cache and include them
1501 in all warnings/error messages.
1503 https://bugzilla.gnome.org/show_bug.cgi?id=743468
1505 gi/pygi-cache.c | 39 ++++++++++++++++++++++++++++++++++-----
1506 gi/pygi-cache.h | 5 +++++
1507 gi/pygi-closure.c | 4 +++-
1508 gi/pygi-invoke.c | 41 +++++++++++++++++++++++++++++------------
1509 tests/test_everything.py | 2 +-
1510 tests/test_gi.py | 28 ++++++++++++++++++----------
1511 6 files changed, 90 insertions(+), 29 deletions(-)
1513 commit 747fc3754c296ad5481d354bbf35521f886c5c61
1514 Author: Garrett Regier <garrettregier@gmail.com>
1515 Date: Sun Mar 1 03:30:46 2015 -0800
1517 tests: Add test for GIRepository.UnionInfo.get_size()
1519 https://bugzilla.gnome.org/show_bug.cgi?id=745362
1521 tests/test_repository.py | 1 +
1522 1 file changed, 1 insertion(+)
1524 commit 2dcce92b4fab95403b9bbedffa8a91453c947927
1525 Author: Garrett Regier <garrettregier@gmail.com>
1526 Date: Fri Jan 23 01:37:35 2015 -0800
1528 Avoid duping filenames when marshalling from Python to C
1530 https://bugzilla.gnome.org/show_bug.cgi?id=744719
1532 gi/pygi-basictype.c | 12 ++++++------
1533 1 file changed, 6 insertions(+), 6 deletions(-)
1535 commit 26fe8dafb933fa76afd41e45b10a3163a7380c1e
1536 Author: Simon Feltman <sfeltman@src.gnome.org>
1537 Date: Fri Feb 20 22:06:24 2015 -0800
1539 configure.ac: post release version bump to 3.15.1
1542 1 file changed, 1 insertion(+), 1 deletion(-)
1544 commit e8aef305d273ce551da41e74a54c5d03de5a0c2a
1545 Author: Simon Feltman <sfeltman@src.gnome.org>
1546 Date: Fri Feb 20 22:04:43 2015 -0800
1550 NEWS | 10 ++++++++++
1551 1 file changed, 10 insertions(+)
1553 commit 5dc113283c0a721c4027026bb8de7243585f1289
1554 Author: Simon Feltman <sfeltman@src.gnome.org>
1555 Date: Fri Feb 20 21:59:10 2015 -0800
1557 Ignore deprecation warning for g_option_group_free()
1559 gi/pygoptiongroup.c | 5 ++++-
1560 1 file changed, 4 insertions(+), 1 deletion(-)
1562 commit d8961622ea748c42171bdb4703e70022035ec3cc
1563 Author: Simon Feltman <sfeltman@src.gnome.org>
1564 Date: Fri Feb 20 21:52:58 2015 -0800
1566 tests: Make get_all_dependendencies() test more robust
1568 Replace array comparison with checking if individual items are in
1570 This solves a problem where the returned array might be in a
1572 as well as future proofs the test in case more dependencies are added.
1574 tests/test_import_machinery.py | 8 +++++---
1575 1 file changed, 5 insertions(+), 3 deletions(-)
1577 commit b10ab49afb97655507e2d3b92f621387287a2928
1578 Author: Simon Feltman <sfeltman@src.gnome.org>
1579 Date: Fri Feb 20 20:16:35 2015 -0800
1581 tests: Fix PEP8 error with commented code in test
1583 tests/test_gi.py | 1 -
1584 1 file changed, 1 deletion(-)
1586 commit 60de632153a693fb2b0f2ce26208c6ff668bdf4d
1587 Author: Garrett Regier <garrett.regier@riftio.com>
1588 Date: Tue Jan 27 10:39:53 2015 -0800
1590 Avoid copying bytearrays from Python to C when transfer nothing
1592 https://bugzilla.gnome.org/show_bug.cgi?id=743278
1594 gi/pygi-array.c | 23 +++++++++++++++++++----
1595 tests/test_gi.py | 14 +++++++++++++-
1596 2 files changed, 32 insertions(+), 5 deletions(-)
1598 commit a4160892dd28ab1d656cef4d4059f3b3f95caf4a
1599 Author: Garrett Regier <garrett.regier@riftio.com>
1600 Date: Mon Jan 19 14:53:53 2015 -0800
1602 Allows passing arguments to opaque Boxed types
1604 https://bugzilla.gnome.org/show_bug.cgi?id=743214
1606 gi/pygi-info.c | 7 +++++++
1607 gi/types.py | 10 +++++++++-
1608 tests/test_everything.py | 9 +++++++++
1609 tests/test_glib.py | 6 +++---
1610 4 files changed, 28 insertions(+), 4 deletions(-)
1612 commit ef3bff4e570363e4f383d4cdae9cecd4073b03d8
1613 Author: Christoph Reiter <reiter.christoph@gmail.com>
1614 Date: Sat Jan 24 20:01:00 2015 +0100
1616 Emit ImportWarning when gi.require_version() is not used
1618 gi tries to import the latest version of typelibs which can cause
1619 existing code to break when a newer typelib is released.
1620 Emit an ImportWarning when gi.require_version() is not used to give
1621 developers this awareness so they can future proof their code.
1623 https://bugzilla.gnome.org/show_bug.cgi?id=727379
1626 +++++++++++++++++++++++++++++++++++++++++-
1627 gi/pygi-repository.c | 35 +++++++++++++++
1628 tests/compat_test_pygtk.py | 7 ++-
1629 tests/test_atoms.py | 6 ++-
1630 tests/test_import_machinery.py | 22 ++++++++++
1631 tests/test_overrides_gtk.py | 7 ++-
1632 tests/test_overrides_pango.py | 5 ++-
1633 tests/test_properties.py | 5 ++-
1634 tests/test_repository.py | 10 +++++
1635 9 files changed, 187 insertions(+), 9 deletions(-)
1637 commit 149c31beced944c72fba6ca6e096c81c1100ea2b
1638 Author: Christoph Reiter <reiter.christoph@gmail.com>
1639 Date: Tue Dec 2 15:38:57 2014 +0100
1641 Refactor overrides import/modules
1643 Removes Registry and DynamicModule in favor of a simple module
1645 contains only overrides and falls back to the introspection module.
1646 Moves all the overrides logic into gi.overrides; Speeds up module
1649 https://bugzilla.gnome.org/show_bug.cgi?id=736678
1651 gi/importer.py | 11 ++--
1652 gi/module.py | 68 ---------------------
1653 gi/overrides/__init__.py | 131
1654 ++++++++++++++++++++++++++++++-----------
1655 tests/test_gi.py | 4 --
1656 tests/test_import_machinery.py | 32 +++++++---
1657 5 files changed, 126 insertions(+), 120 deletions(-)
1659 commit 4d0ab13a8461f781986accc637fada3909cfb91a
1660 Author: Simon Feltman <sfeltman@src.gnome.org>
1661 Date: Thu Aug 21 15:11:39 2014 -0700
1663 Replace statically bound GLib.Variant.new_tuple() with GI
1665 Remove the static implementation of _wrap_pyg_variant_new_tuple with
1666 usage of the dynamic version coming from GI. Array marshalling has
1667 drastically improved in recent years making the dynamic version usable
1668 with a small compatibility shim for the arguments.
1670 https://bugzilla.gnome.org/show_bug.cgi?id=735199
1672 gi/gimodule.c | 39 ---------------------------------------
1673 gi/overrides/GLib.py | 12 +++++-------
1674 2 files changed, 5 insertions(+), 46 deletions(-)
1676 commit 17ec0d39069b7a4cc19691ea1284f821caf84d24
1677 Author: Simon Feltman <sfeltman@src.gnome.org>
1678 Date: Wed Sep 10 13:30:48 2014 -0700
1680 overrides: Add Gdk.EventTouch union discrimination
1682 Add EventTouch to get/setattr pass-through to support BEGIN,
1684 and CANCEL touch event types. Ensure Gdk.Event methods get_state(),
1685 get_axis(), get_coords(), and get_root_coords() are patched onto
1688 https://bugzilla.gnome.org/show_bug.cgi?id=736380
1690 gi/overrides/Gdk.py | 5 +++++
1691 tests/test_overrides_gdk.py | 12 ++++++++++++
1692 2 files changed, 17 insertions(+)
1694 commit 16408a81713157cdf1e3b6bd74bd53e816e9dfda
1695 Author: Simon Feltman <sfeltman@src.gnome.org>
1696 Date: Sat Jan 3 17:20:14 2015 -0800
1698 tests: Update pixbuf loader test to not raise exception when closing
1701 https://git.gnome.org/browse/gdk-pixbuf/commit/?id=447bd32650af
1702 changed the close() method to raise if the a loader is prematurely
1704 Update the test to write a 1x1 PNG stream to ensure close() will
1707 tests/compat_test_pygtk.py | 9 +++++++++
1708 1 file changed, 9 insertions(+)
1710 commit fd3935541ab4baddb504e000ec659b80923afa13
1711 Author: Murray Cumming <murrayc@murrayc.com>
1712 Date: Tue Dec 2 19:55:51 2014 +0100
1714 PyGObjectFlags: Remove a trailing comma on the enum.
1716 Because this produces a g++ pedantic warning.
1718 gi/pygobject.h | 2 +-
1719 1 file changed, 1 insertion(+), 1 deletion(-)
1721 commit 3b70f5bc8e59e49795fcaa7b285aeff0c4565a04
1722 Author: Simon Feltman <sfeltman@src.gnome.org>
1723 Date: Mon Oct 27 20:19:23 2014 -0700
1725 Remove redefinitions of function and vfunc cache typedefs
1727 https://bugzilla.gnome.org/show_bug.cgi?id=737874
1729 gi/pygi-cache.h | 8 ++++----
1730 1 file changed, 4 insertions(+), 4 deletions(-)
1732 commit cec9c2b253bdbc1e6493630c533acf6bb4509114
1733 Author: Simon Feltman <sfeltman@src.gnome.org>
1734 Date: Mon Sep 22 13:26:24 2014 -0700
1736 configure.ac: post release version bump to 3.15.0
1739 1 file changed, 1 insertion(+), 1 deletion(-)
1741 commit f20df385f480b65a8128986ce3df4022b324ade0
1742 Author: Simon Feltman <sfeltman@src.gnome.org>
1743 Date: Mon Sep 22 12:38:35 2014 -0700
1748 1 file changed, 3 insertions(+)
1750 commit 309d4100a08867d18420586c3b1f8709c360250f
1751 Author: Simon Feltman <sfeltman@src.gnome.org>
1752 Date: Mon Sep 22 12:24:32 2014 -0700
1754 configure.ac: pre release version bump to 3.14.0
1756 configure.ac | 4 ++--
1757 1 file changed, 2 insertions(+), 2 deletions(-)
1759 commit 4b7c985aa57f8026da96d174454b308858ebd1cc
1760 Author: Simon Feltman <sfeltman@src.gnome.org>
1761 Date: Mon Sep 15 15:46:04 2014 -0700
1766 1 file changed, 7 insertions(+)
1768 commit 79bad703a089a4b0c31fcdb143b889667f5fa197
1769 Author: Simon Feltman <sfeltman@src.gnome.org>
1770 Date: Fri Sep 12 17:10:04 2014 -0700
1772 tests: Add test for Gio.Application.add_main_option()
1774 tests/test_gio.py | 29 +++++++++++++++++++++++++++++
1775 1 file changed, 29 insertions(+)
1777 commit a2f98a9ba0b0dda0d3cf59651327e5c93d5479d6
1778 Author: Simon Feltman <sfeltman@src.gnome.org>
1779 Date: Thu Sep 11 19:32:53 2014 -0700
1781 Split test_everything.TestEverything.test_string() into multiple tests
1783 https://bugzilla.gnome.org/show_bug.cgi?id=735193
1785 tests/test_everything.py | 25 +++++++++++++++++++------
1786 1 file changed, 19 insertions(+), 6 deletions(-)
1788 commit 6674701b6de02353738b9dc04ab88de23996704e
1789 Author: Simon Feltman <sfeltman@src.gnome.org>
1790 Date: Thu Sep 11 19:08:53 2014 -0700
1792 tests: Split array tests up
1794 Split test_everything.TestEverything.test_array(),
1795 test_array_fixed_size(),
1796 and test_ptrarray() into functions of a finer granularity. This
1798 easier diagnosis of problems and leaks when they occur.
1800 https://bugzilla.gnome.org/show_bug.cgi?id=735193
1802 tests/test_everything.py | 37 ++++++++++++++++++++++++++++++++-----
1803 1 file changed, 32 insertions(+), 5 deletions(-)
1805 commit d1bae18ba0514864a37bf5d182605e2100c28d7e
1806 Author: Simon Feltman <sfeltman@src.gnome.org>
1807 Date: Thu Sep 11 16:17:13 2014 -0700
1809 tests: Split test_strv() into multiple tests
1811 https://bugzilla.gnome.org/show_bug.cgi?id=735193
1813 tests/test_everything.py | 10 +++++++++-
1814 1 file changed, 9 insertions(+), 1 deletion(-)
1816 commit 6181f724bc2c6ea30194c961cb15b2c543a48f95
1817 Author: Simon Feltman <sfeltman@src.gnome.org>
1818 Date: Wed Sep 10 19:06:35 2014 -0700
1820 Fix invalid read error in argument cleanup code
1822 Always set initial length argument index for arrays to -1. Ensure
1824 attempt retrieving Python cleanup arguments until we know it is valid.
1825 This was causing an invalid read in test_gi.TestArray.test_array_out()
1827 gi/pygi-array.c | 1 +
1828 gi/pygi-marshal-cleanup.c | 13 ++++++++-----
1829 2 files changed, 9 insertions(+), 5 deletions(-)
1831 commit 972e944ad4b2aac03c61633b8c277e35395c114c
1832 Author: Simon Feltman <sfeltman@src.gnome.org>
1833 Date: Wed Sep 10 18:55:45 2014 -0700
1835 tests: Increase num-callers for valgrind runs
1837 Additionally split valgrind check variations over multiple lines
1840 tests/Makefile.am | 23 ++++++++++++++++++++---
1841 1 file changed, 20 insertions(+), 3 deletions(-)
1843 commit d70b300c7415dd7b20ff88b09fe835690da19831
1844 Author: Simon Feltman <sfeltman@src.gnome.org>
1845 Date: Sat Sep 6 23:58:25 2014 -0700
1847 Fix memory management problems with struct arguments to signals
1849 Replicate struct marshaling logic for determining if struct arguments
1850 to signals should be passed by reference to callbacks.
1851 Maintain a list of these structs and apply an in-place copy of
1853 pointer if the struct wrapper is held longer than the duration of the
1854 Python callback. This allows for both mutation of struct arguments
1856 callbacks as well as memory safety incase a callbacks holds onto
1859 https://bugzilla.gnome.org/show_bug.cgi?id=736175
1861 gi/pygi-boxed.c | 20 ++++++++++++++++++++
1862 gi/pygi-boxed.h | 2 ++
1863 gi/pygi-signal-closure.c | 43
1864 +++++++++++++++++++++++++++++++++++++------
1865 tests/test_overrides_gtk.py | 1 -
1866 tests/test_signal.py | 27 +++++++++++++++++++++++++++
1867 5 files changed, 86 insertions(+), 7 deletions(-)
1869 commit 09161ff690ad37c94668d5d65191f4d84829d41f
1870 Author: Simon Feltman <sfeltman@src.gnome.org>
1871 Date: Sun Sep 7 15:53:35 2014 -0700
1873 Limit foreign struct checks to GI_INFO_TYPE_STRUCT
1875 Add struct type check before calling g_struct_info_is_foreign().
1877 https://bugzilla.gnome.org/show_bug.cgi?id=736175
1879 gi/pygi-argument.c | 11 ++++++++---
1880 gi/pygi-struct-marshal.c | 7 +++++--
1881 2 files changed, 13 insertions(+), 5 deletions(-)
1883 commit 4ebb1f5a4750712bd919a31103ed8c8d6af483b3
1884 Author: Simon Feltman <sfeltman@src.gnome.org>
1885 Date: Sat Sep 6 15:16:06 2014 -0700
1887 tests: Add failing regression test for Gtk.TextBuffer.insert-text
1890 https://bugzilla.gnome.org/show_bug.cgi?id=736175
1892 tests/test_overrides_gtk.py | 19 +++++++++++++++++++
1893 1 file changed, 19 insertions(+)
1895 commit 2f355dc4e9724f25c200d30db1c8fbc4695f9ab7
1896 Author: Simon Feltman <sfeltman@src.gnome.org>
1897 Date: Mon Sep 1 17:36:46 2014 -0700
1899 configure.ac: post release version bump to 3.13.92
1902 1 file changed, 1 insertion(+), 1 deletion(-)
1904 commit 68d34721a21bfac1a43252bd92612c2460ea60dd
1905 Author: Simon Feltman <sfeltman@src.gnome.org>
1906 Date: Mon Sep 1 17:31:39 2014 -0700
1910 NEWS | 15 +++++++++++++++
1911 1 file changed, 15 insertions(+)
1913 commit 8c6cf22d74075b7169512b9e7773a511abb9b759
1914 Author: Simon Feltman <sfeltman@src.gnome.org>
1915 Date: Mon Sep 1 16:48:15 2014 -0700
1917 docs: Skip "Constructors" header for anonymous structs
1919 Structs which don't have a size or constructor should not procuce
1921 string. The trailing "::" was causing a problem with sphinx.
1923 gi/docstring.py | 8 ++++++--
1924 tests/test_docstring.py | 3 ++-
1925 2 files changed, 8 insertions(+), 3 deletions(-)
1927 commit c1ea60be30ebf11c2e5415180305e4ac3c573f57
1928 Author: Simon Feltman <sfeltman@src.gnome.org>
1929 Date: Mon Sep 1 15:21:04 2014 -0700
1931 docs: Fix error when using may_return_null()
1933 Fix error with an untested code path opened up by commit 1f78dc0ace.
1935 gi/docstring.py | 3 ++-
1936 tests/test_docstring.py | 4 ++++
1937 2 files changed, 6 insertions(+), 1 deletion(-)
1939 commit 1f78dc0ace5282def9f1f700bfe4523de07e7549
1940 Author: Simon Feltman <sfeltman@src.gnome.org>
1941 Date: Fri Aug 29 16:49:14 2014 -0700
1943 docs: Fix function doc string generator return types
1945 Change skip_return() access into a function call. This was causing
1946 return type doc strings to always be skipped.
1948 gi/docstring.py | 2 +-
1949 tests/test_docstring.py | 8 ++++++--
1950 2 files changed, 7 insertions(+), 3 deletions(-)
1952 commit 28d0337f0e3d4b0e9c4350ce5d6cf0cb68da843f
1953 Author: Simon Feltman <sfeltman@src.gnome.org>
1954 Date: Fri Aug 29 14:18:28 2014 -0700
1956 Special case signal output arguments which are structs as
1959 Add a special case which avoids copying of struct arguments marked
1961 to signals. Since we don't currently support output arguments,
1963 come to rely on a pass-by-reference bug which was fixed and caused
1965 regress (bug 722899). Add unittest which is currently failing due
1967 of issues with emit() not supporting type annotations or output
1971 https://bugzilla.gnome.org/show_bug.cgi?id=735486
1973 gi/pygi-signal-closure.c | 41
1974 +++++++++++++++++++++++++++++++++++------
1975 tests/test_overrides_gtk.py | 24 ++++++++++++++++++++++++
1976 2 files changed, 59 insertions(+), 6 deletions(-)
1978 commit 16f8f687eae0caa1e4059fd62bd1f9d4c7f655f7
1979 Author: Simon Feltman <sfeltman@src.gnome.org>
1980 Date: Wed Aug 27 23:55:06 2014 -0700
1982 Ignore closure callbacks when Python is not initialized
1984 Add an immediate return in ffi closures if Python is not initialized.
1985 This fixes rare events when which lead to a segfault when a process
1988 https://bugzilla.gnome.org/show_bug.cgi?id=722562
1990 gi/pygi-closure.c | 7 +++++++
1991 1 file changed, 7 insertions(+)
1993 commit 27a14679dce33f64bbb5d77677eba83849f168ff
1994 Author: Christoph Reiter <reiter.christoph@gmail.com>
1995 Date: Fri Aug 22 21:51:31 2014 -0700
1997 Change boxed init with args to warn instead of raise
1999 Replace raising a TypeError in gi.types.Boxed() with a warning.
2000 Even though passing arguments or keywords to the parent class is
2001 incorrect here, raising an exception was causing a bit of fallout
2002 in some apps (Gramps).
2004 https://bugzilla.gnome.org/show_bug.cgi?id=727810
2006 gi/pygi-boxed.c | 5 ++++-
2007 tests/test_gi.py | 13 +++++++++++--
2008 2 files changed, 15 insertions(+), 3 deletions(-)
2010 commit 6008748bd7ecc6e5c933e6902c77d8485b905a6f
2011 Author: Simon Feltman <sfeltman@src.gnome.org>
2012 Date: Fri Aug 22 02:16:10 2014 -0700
2014 tests: Add test for GLib.spawn_async_with_pipes()
2016 https://bugzilla.gnome.org/show_bug.cgi?id=735213
2018 tests/test_signal.py | 2 +-
2019 tests/test_subprocess.py | 17 +++++++++++++++++
2020 2 files changed, 18 insertions(+), 1 deletion(-)
2022 commit 983276fb1cbc261d062ef93ba2266d08a5a6f423
2023 Author: Simon Feltman <sfeltman@src.gnome.org>
2024 Date: Thu Aug 21 17:16:31 2014 -0700
2026 Revert "Replace statically bound GLib.Variant.new_tuple() with GI"
2028 This was accidentally pushed.
2029 Revert commit 35c6540c42a01e1155f44533cc09e6c9f94b6613.
2031 gi/gimodule.c | 39 +++++++++++++++++++++++++++++++++++++++
2032 gi/overrides/GLib.py | 12 +++++++-----
2033 2 files changed, 46 insertions(+), 5 deletions(-)
2035 commit b7a4e68a224ab66f67e45667023f74dd743e6177
2036 Author: Christoph Reiter <reiter.christoph@gmail.com>
2037 Date: Fri Aug 22 01:04:40 2014 +0200
2039 Fix crash in GList/GSList marshaling error handling path.
2041 In case PySequence_GetItem() failed, the retured NULL was passed
2044 https://bugzilla.gnome.org/show_bug.cgi?id=735201
2046 gi/pygi-list.c | 4 ++--
2047 tests/test_gi.py | 16 ++++++++++++++++
2048 2 files changed, 18 insertions(+), 2 deletions(-)
2050 commit 35c6540c42a01e1155f44533cc09e6c9f94b6613
2051 Author: Simon Feltman <sfeltman@src.gnome.org>
2052 Date: Thu Aug 21 15:11:39 2014 -0700
2054 Replace statically bound GLib.Variant.new_tuple() with GI
2056 Remove the static implementation of _wrap_pyg_variant_new_tuple with
2057 usage of the dynamic version coming from GI. Array marshalling has
2058 drastically improved in recent years making the dynamic version usable
2059 with a small compatibility shim for the arguments.
2061 https://bugzilla.gnome.org/show_bug.cgi?id=735199
2063 gi/gimodule.c | 39 ---------------------------------------
2064 gi/overrides/GLib.py | 12 +++++-------
2065 2 files changed, 5 insertions(+), 46 deletions(-)
2067 commit c1d387540a0b2db66e860c574b070051a5431914
2068 Author: Simon Feltman <sfeltman@src.gnome.org>
2069 Date: Thu Aug 21 14:37:14 2014 -0700
2071 Fix reference counting problems with GLib.Variant.new_tuple()
2073 Always sink the results of g_variant_new_tuple() in the statically
2074 bound wrapper. This matches the generic GI marshalling behavior
2075 of passing GVariants to Python with transfer-none.
2077 https://bugzilla.gnome.org/show_bug.cgi?id=735166
2080 tests/test_overrides_glib.py | 7 +++++++
2081 2 files changed, 8 insertions(+)
2083 commit 9ce261f27742ba200f70003f162291a375d244d3
2084 Author: Simon Feltman <sfeltman@src.gnome.org>
2085 Date: Tue Aug 19 14:57:31 2014 -0700
2087 configure.ac: Fix darwin builds
2089 Merge platform_win32 and os_win32 variables/case statements and
2090 define "link_python_libs" for win32 as well as darwin.
2092 https://bugzilla.gnome.org/show_bug.cgi?id=735068
2094 configure.ac | 30 +++++++++++-------------------
2095 1 file changed, 11 insertions(+), 19 deletions(-)
2097 commit 92f0d6ebf9b67729d8253e15fce77b0ad0375573
2098 Author: Simon Feltman <sfeltman@src.gnome.org>
2099 Date: Wed Aug 20 13:39:31 2014 -0700
2101 Skip marshalling NULL output arguments in Python closures
2103 Skip marshalling optional output arguments which are passed NULL
2104 as the memory location. This fixes fallout from bug 727004.
2106 https://bugzilla.gnome.org/show_bug.cgi?id=735090
2108 gi/pygi-closure.c | 3 ++-
2109 1 file changed, 2 insertions(+), 1 deletion(-)
2111 commit d7e30c3cacf3cdd550e4dbfe2fa47aea1ae28147
2112 Author: Simon Feltman <sfeltman@src.gnome.org>
2113 Date: Mon Aug 18 19:10:36 2014 -0700
2115 configure.ac: post release version bump to 3.13.91
2118 1 file changed, 1 insertion(+), 1 deletion(-)
2120 commit 17ba19c2e9b91a1bb8b03fabd4100d436c96975d
2121 Author: Simon Feltman <sfeltman@src.gnome.org>
2122 Date: Mon Aug 18 19:07:10 2014 -0700
2126 NEWS | 15 +++++++++++++++
2127 1 file changed, 15 insertions(+)
2129 commit 6bcfaf6e1e2331b704dd6067d45d6840e87632a2
2130 Author: Simon Feltman <sfeltman@src.gnome.org>
2131 Date: Mon Aug 18 18:57:28 2014 -0700
2133 configure.ac: pre release version bump to 3.13.90
2136 1 file changed, 1 insertion(+), 1 deletion(-)
2138 commit 3b5b590599ca98cc51871878618cd59fc05212d1
2139 Author: Simon Feltman <sfeltman@src.gnome.org>
2140 Date: Mon Aug 18 02:33:54 2014 -0700
2142 gtk-demo: Don't use deprecated constructor for Gtk.Label
2144 demos/gtk-demo/demos/pickers.py | 2 +-
2145 1 file changed, 1 insertion(+), 1 deletion(-)
2147 commit 5b82051d23f8d759b6fa57a4e9327e300568c89f
2148 Author: Simon Feltman <sfeltman@src.gnome.org>
2149 Date: Sat Aug 9 02:30:43 2014 -0700
2151 Fast path Python Property getter when accessed through GObject
2154 Break do_get_property() call into a re-usable function.
2155 Call do_get_property() Python implementations instead of going
2157 machinery for Python GObjects. This gives a performance boost
2159 GObject properties when accessed via. obj.get_property() and
2162 https://bugzilla.gnome.org/show_bug.cgi?id=723872
2164 gi/gobjectmodule.c | 11 ++++-------
2165 gi/pygi-property.c | 35 +++++++++++++++++++++++++++--------
2166 gi/pygi-property.h | 3 +++
2167 3 files changed, 34 insertions(+), 15 deletions(-)
2169 commit 0a99f878e40c8d683157dea69c3c9ac40d13d734
2170 Author: Simon Feltman <sfeltman@src.gnome.org>
2171 Date: Sat Aug 9 02:10:11 2014 -0700
2173 Fast path Python Property getter when accessing descriptor directly
2175 Call the Python implemented fget() when a property is accessed
2177 on a Python implemented GObject. This skips going through the GObject
2178 machinery which ends up calling fget() and marshalling the results
2181 https://bugzilla.gnome.org/show_bug.cgi?id=723872
2183 gi/_propertyhelper.py | 19 +++++++++++++++----
2184 1 file changed, 15 insertions(+), 4 deletions(-)
2186 commit 74722386192ad27aac8855d4603d8120af82c98e
2187 Author: Simon Feltman <sfeltman@src.gnome.org>
2188 Date: Mon Aug 18 02:05:58 2014 -0700
2190 Don't use GI type for determining pointer extraction from GValues
2192 Replace usage of g_type_is_a() with G_VALUE_HOLDS() when extracting
2193 pointers from GValues being marshalled from properties and signals.
2194 This fixes fallout from commit abdfb0f.
2196 gi/pygi-value.c | 10 ++++------
2197 1 file changed, 4 insertions(+), 6 deletions(-)
2199 commit 2601011e9eb3b5f391161313ed568e5c4b67c99a
2200 Author: Simon Feltman <sfeltman@src.gnome.org>
2201 Date: Fri Aug 8 23:58:17 2014 -0700
2203 Fast path property access for basic types
2205 Attempt marshalling with pygi_value_to_py_basic_type() prior to
2207 GI info. This gives a quick conversion for basic types like bools,
2209 strings without having to go through GIArgument and GI
2211 gives approximately a 3x performance boost for accessing these
2213 the unified GValue marshaller.
2215 https://bugzilla.gnome.org/show_bug.cgi?id=726999
2217 gi/pygi-property.c | 9 +++++++++
2218 gi/pygi-value.c | 26 ++++++++++++++++++--------
2219 2 files changed, 27 insertions(+), 8 deletions(-)
2221 commit 8f4b06f700ed79df32774fad8e2a2a922bfbfbe5
2222 Author: Simon Feltman <sfeltman@src.gnome.org>
2223 Date: Fri Aug 8 16:31:01 2014 -0700
2225 Break pyg_value_as_pyobject into two functions
2227 Add pygi_value_to_py_basic_type() which is limited to handling basic
2228 types that don't need introspection information when marshalling
2230 Add pygi_value_to_py_structured_type() for marshalling of structured
2232 which can eventually accept GI type hints.
2234 https://bugzilla.gnome.org/show_bug.cgi?id=726999
2236 gi/pygi-value.c | 74
2237 +++++++++++++++++++++++++++++++++++++++++++++++----------
2238 gi/pygi-value.h | 6 +++++
2239 2 files changed, 68 insertions(+), 12 deletions(-)
2241 commit b0236d6fde137e0b2ecf7f5556ad5d53c22874bc
2242 Author: Simon Feltman <sfeltman@src.gnome.org>
2243 Date: Fri Aug 8 20:55:28 2014 -0700
2245 Unify property getters
2247 Consolidate duplicate logic into pygi_get_property_value().
2248 Use the function for GObject.get_property(), GObject.get_properties(),
2250 Remove overridden expected failures in TestCGetPropertyMethod which
2251 now work due to the unification.
2253 https://bugzilla.gnome.org/show_bug.cgi?id=733893
2254 https://bugzilla.gnome.org/show_bug.cgi?id=726999
2256 gi/pygi-property.c | 85 +++++++++++++++++++++++++++++-------------
2257 gi/pygi-property.h | 4 ++
2259 +++++++-----------------------------------------
2260 tests/test_properties.py | 38 -------------------
2261 4 files changed, 77 insertions(+), 147 deletions(-)
2263 commit abdfb0fa3f72f9bf822c472d16c90d6b1871610b
2264 Author: Simon Feltman <sfeltman@src.gnome.org>
2265 Date: Mon Jul 28 19:09:30 2014 -0700
2267 Merge pygi_get_property_value and _pygi_argument_from_g_value
2269 Merge duplicated GValue marshaling code which has diverged over time
2270 (commits 3606eb20, ee62df4d, e14ebab6, 8cfd596c, 9f50fd21, 0d099bdb,
2272 Use _pygi_argument_to_array within pygi_get_property_value. This
2274 in the new code for supporting GI_TYPE_TAG_ARRAY and also fixes
2276 Side effects of this change also include support for properties
2278 G_TYPE_FLAGS and G_TYPE_PARAM.
2280 https://bugzilla.gnome.org/show_bug.cgi?id=726999
2282 gi/pygi-property.c | 140
2283 +++++------------------------------------------------
2284 gi/pygi-value.c | 24 ++++++---
2285 2 files changed, 28 insertions(+), 136 deletions(-)
2287 commit 142ff1903d34876db3d1bee5e9782ac49de12313
2288 Author: Simon Feltman <sfeltman@src.gnome.org>
2289 Date: Mon Jul 28 04:40:36 2014 -0700
2291 Never dup data structures when marshaling signal in arguments
2293 Always assume transfer-none of GValue arguments to signal handlers.
2294 A signal handler with arguments marked as transfer-full does not
2295 make any sense, so assume they are always transfer-none.
2297 https://bugzilla.gnome.org/show_bug.cgi?id=726999
2299 gi/pygi-signal-closure.c | 4 +---
2300 gi/pygi-value.c | 4 +++-
2301 2 files changed, 4 insertions(+), 4 deletions(-)
2303 commit 04816f74194bd2c95b8b958dcf9ed5da5a83e001
2304 Author: Simon Feltman <sfeltman@src.gnome.org>
2305 Date: Mon Jul 28 04:23:39 2014 -0700
2307 Never dup data structures when marshaling from g_object_get_property()
2309 Always use transfer-none with the results of g_object_get_property()
2310 and assume g_value_unset() will cleanup the results. This gives us
2311 control over memory of properties and limits property anotations to
2314 https://bugzilla.gnome.org/show_bug.cgi?id=726999
2316 gi/pygi-property.c | 24 +++++++-----------------
2317 1 file changed, 7 insertions(+), 17 deletions(-)
2319 commit 85175047e66dfc0c0263eac91d8056a95d0a60a0
2320 Author: Simon Feltman <sfeltman@src.gnome.org>
2321 Date: Tue Jul 29 19:29:28 2014 -0700
2323 Refactor boxed wrapper memory management strategy
2325 Change pygi_boxed_new() to accept "copy_boxed" instead of
2327 This changes memory management so the PyGIBoxed wrapper owns the boxed
2328 pointer given to it. Use __del__ instead of dealloc for freeing
2330 memory. This is needed for edge cases where objects like GSource can
2331 trigger the finalized callback during de-alloc, resulting in the
2333 references counts being manipulated and triggering a re-entrant
2335 Add hack to keep Gtk.TreeIter.do_iter_next/previous implementations
2337 which rely on pass-by-reference.
2338 See also: https://bugzilla.gnome.org/show_bug.cgi?id=734465
2340 https://bugzilla.gnome.org/show_bug.cgi?id=722899
2342 https://bugzilla.gnome.org/show_bug.cgi?id=726999
2344 gi/gimodule.c | 6 +++-
2345 gi/overrides/GLib.py | 4 ---
2346 gi/overrides/GObject.py | 3 ++
2347 gi/pygi-boxed.c | 54 +++++++++++++++++++++++++-------
2348 gi/pygi-boxed.h | 4 +--
2349 gi/pygi-source.c | 6 ++--
2350 gi/pygi-struct-marshal.c | 81
2351 +++++++++++++++++++++++++++++++++++++++++++++---
2352 tests/test_gi.py | 1 -
2353 tests/test_source.py | 8 +++--
2354 9 files changed, 140 insertions(+), 27 deletions(-)
2356 commit 62aed0977090f7099a5e538209f7c680ea22fe12
2357 Author: Simon Feltman <sfeltman@src.gnome.org>
2358 Date: Sun Aug 17 19:04:51 2014 -0700
2360 Replace GObject.signal_query with introspected version
2362 Remove the static bindings for GObject.signal_query and replace with a
2363 Python compatibility shim which utilizes the introspection exposed
2367 https://bugzilla.gnome.org/show_bug.cgi?id=688792
2369 gi/gobjectmodule.c | 89
2370 -------------------------------------------------
2371 gi/overrides/GObject.py | 39 ++++++++++++----------
2372 2 files changed, 21 insertions(+), 107 deletions(-)
2374 commit 4e130d72a5492fc00c61a816eddccdbc4f558b91
2375 Author: Simon Feltman <sfeltman@src.gnome.org>
2376 Date: Sun Aug 17 19:03:32 2014 -0700
2378 Use array lengths specified on struct fields
2380 Add array length marshalling policy for struct fields. This fixes
2382 C array fields on structs which also specify a length field.
2384 https://bugzilla.gnome.org/show_bug.cgi?id=688792
2386 gi/pygi-argument.c | 14 ++++++-------
2387 gi/pygi-argument.h | 4 ++++
2389 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
2390 3 files changed, 68 insertions(+), 9 deletions(-)
2392 commit c55d029d2d67b5920e9467212e22b0ad58d3ded8
2393 Author: Simon Feltman <sfeltman@src.gnome.org>
2394 Date: Sun Aug 17 18:15:23 2014 -0700
2396 Refactor signal array length marshalling to support a length policy
2398 Replace passing arrays of data to non-caching array marshallers with
2400 closure that can be customized depending on context. In the case
2402 this is mostly scaffolding which will be replaced with caching
2404 However, it opens the legacy marshaller for usage with struct
2408 https://bugzilla.gnome.org/show_bug.cgi?id=688792
2410 gi/pygi-argument.c | 70
2411 ++++++++++++++++++++++++++++++++----------------
2412 gi/pygi-argument.h | 14 +++++++---
2413 gi/pygi-signal-closure.c | 8 ++++--
2414 3 files changed, 64 insertions(+), 28 deletions(-)
2416 commit 3270dad356c44f5fef7571a9f29b22e7c293fa2c
2417 Author: Simon Feltman <sfeltman@src.gnome.org>
2418 Date: Sun Aug 17 13:58:10 2014 -0700
2420 Remove dead code for marshalling array lengths in the context
2423 Remove usage of the args parameter from _pygi_argument_to_array. This
2425 longer used because array marshalling for vfuncs is now handled by
2429 https://bugzilla.gnome.org/show_bug.cgi?id=688792
2431 gi/pygi-argument.c | 24 +++++++++---------------
2432 1 file changed, 9 insertions(+), 15 deletions(-)
2434 commit 6046ca87697fe80c6c0eb70f1efcad24de4f4fd8
2435 Author: Simon Feltman <sfeltman@src.gnome.org>
2436 Date: Sun Aug 17 21:53:55 2014 -0700
2438 Fix memory leak with unboxed caller allocated structs
2440 Take caller-allocates into account when wrapping unboxed structures.
2441 This will free the allocated memory when the Python object is
2444 gi/pygi-struct-marshal.c | 2 +-
2445 1 file changed, 1 insertion(+), 1 deletion(-)
2447 commit c607f07f5ae3ca62ee3a2649f84330eaaa8801c6
2448 Author: Simon Feltman <sfeltman@src.gnome.org>
2449 Date: Sat Aug 16 22:34:29 2014 -0700
2451 tests: Add reference count test for signal connection arguments
2453 Add tests for ensuring reference counts are what we expect for
2454 connect() callback, user_data, and swap object (currently broken
2457 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2459 tests/test_signal.py | 133
2460 +++++++++++++++++++++++++++++++++++++++++++++++++++
2461 1 file changed, 133 insertions(+)
2463 commit 7076669aadfc5227144df87277d69ae66865770a
2464 Author: Tobias Mueller <gnome-bugs@muelli.cryptobitch.de>
2465 Date: Sat Aug 16 17:46:50 2014 -0700
2467 Don't mask GObject sub-class doc strings in meta-class
2469 If a class has a __doc__ attribute explicitly set, always return it.
2470 Only generate doc strings for classes coming from gi.repository
2473 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
2475 https://bugzilla.gnome.org/show_bug.cgi?id=731452
2477 https://bugzilla.gnome.org/show_bug.cgi?id=734926
2479 gi/types.py | 12 +++++++++++-
2480 tests/test_docstring.py | 2 --
2481 2 files changed, 11 insertions(+), 3 deletions(-)
2483 commit 4cdca4328da7442be247e775294fc676cf677bb7
2484 Author: Piotr Iwaniuk <piwaniuk@poczta.onet.pl>
2485 Date: Sat Aug 16 15:06:40 2014 -0700
2487 tests: Add failing tests for GObject sub-class doc-strings
2489 Add tests for sub-class docstrings set with either doc-string
2490 syntax and by setting the __doc__ attribute directly.
2492 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
2494 https://bugzilla.gnome.org/show_bug.cgi?id=731452
2496 tests/test_docstring.py | 39 +++++++++++++++++++++++++++++++++++++++
2497 1 file changed, 39 insertions(+)
2499 commit 9328a6721909322f0e1444e5285ae1b7b5bf1e3c
2500 Author: Simon Feltman <sfeltman@src.gnome.org>
2501 Date: Thu Aug 14 22:47:14 2014 -0700
2503 configure.ac: post release version bump to 3.13.5
2506 1 file changed, 1 insertion(+), 1 deletion(-)
2508 commit 49fd1662623f6dbb6af16b9fbfc0fb57707a7eee
2509 Author: Simon Feltman <sfeltman@src.gnome.org>
2510 Date: Thu Aug 14 22:42:27 2014 -0700
2514 NEWS | 22 ++++++++++++++++++++++
2515 1 file changed, 22 insertions(+)
2517 commit 0d2e797812ab4e1a745ef97559104691dbb6b824
2518 Author: Simon Feltman <sfeltman@src.gnome.org>
2519 Date: Thu Aug 14 18:33:06 2014 -0700
2521 Fix invalid unref after getting callable container
2523 Don't unref the results of g_base_info_get_container() because it is
2524 transfer-none. This was causing an attempted unref on an invalid
2526 when setting up callback caches for signals.
2528 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2530 gi/pygi-cache.c | 2 --
2531 1 file changed, 2 deletions(-)
2533 commit 654c28faffc8d956bd31987adca092fa014cc897
2534 Author: Simon Feltman <sfeltman@src.gnome.org>
2535 Date: Thu Aug 14 21:31:33 2014 -0700
2537 tests: Silence valgrindlog and valgrindxml output from forked procs
2539 This is needed to properly diff valgrind runs between commits.
2541 tests/Makefile.am | 4 ++--
2542 1 file changed, 2 insertions(+), 2 deletions(-)
2544 commit 57070585a5d5dbc5f42d6fa6d2c309b36f38dfdc
2545 Author: Simon Feltman <sfeltman@src.gnome.org>
2546 Date: Wed Aug 13 10:27:01 2014 -0700
2548 Remove ffi wrapped destroy notify used for closure cleanup
2550 Remove global ffi wrapper for _pygi_invoke_closure_free() and
2552 a pointer to _pygi_invoke_closure_free() directly. There is no need
2554 a known single use function with an ffi closure. Originally
2556 commit 610dd1eec87f.
2558 gi/pygi-closure.c | 49 +------------------------------------------------
2559 1 file changed, 1 insertion(+), 48 deletions(-)
2561 commit 3f9b5f890ad1292f12eba1e545084de80b76dab7
2562 Author: Simon Feltman <sfeltman@src.gnome.org>
2563 Date: Tue Aug 12 22:19:24 2014 -0700
2565 tests: Update tests for static binding protection to check
2568 tests/test_import_machinery.py | 10 +++++-----
2569 1 file changed, 5 insertions(+), 5 deletions(-)
2571 commit e674340db90c29c556b45e0a8f8b2da72661b738
2572 Author: Simon Feltman <sfeltman@src.gnome.org>
2573 Date: Mon Aug 11 23:12:38 2014 -0700
2575 Use AttributeError for static binding protection
2577 Replace usage of RuntimeError with AttributeError in the dummy module
2578 protecting importing of static bindings. This is needed so we
2580 modules like inspect which is used by ipython.
2582 gi/__init__.py | 2 +-
2583 1 file changed, 1 insertion(+), 1 deletion(-)
2585 commit 86fb12b3e9b7558000d100f8f212e970ae8c4fd2
2586 Author: Simon Feltman <sfeltman@src.gnome.org>
2587 Date: Mon Aug 11 22:47:14 2014 -0700
2589 Add deprecation warning for connect_object() with non-GObject argument
2591 GObject.connect_object() accepts any Python object and holds a strong
2592 reference to it in the closure defeating the purpose of
2594 Add a warning so we can eventually limit connect_object() to GObject
2596 use the underlying g_signal_connect_object() which holds a weak
2599 https://bugzilla.gnome.org/show_bug.cgi?id=688064
2601 gi/pygobject.c | 9 +++++++++
2602 1 file changed, 9 insertions(+)
2604 commit 9c54bb9defb681316841158cc63df0b0b85c12f0
2605 Author: Simon Feltman <sfeltman@src.gnome.org>
2606 Date: Mon Aug 11 22:39:13 2014 -0700
2608 tests: Add tests for connect_object()
2610 Add tests for both introspected and non-introspected signals
2612 of connect_object() and connect_object_after() in combination
2614 and Python object swap data.
2616 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2618 tests/test_signal.py | 139
2619 +++++++++++++++++++++++++++++++++++++++++++--------
2620 1 file changed, 117 insertions(+), 22 deletions(-)
2622 commit 581acc4c56be127b3a724df504bb46a40959fdd9
2623 Author: Simon Feltman <sfeltman@src.gnome.org>
2624 Date: Mon Aug 11 21:21:42 2014 -0700
2626 Add Python implementation of Object.connect_data()
2628 Add GObject.Object.connect_data() which takes an optional
2630 keyword argument accepting GObject.ConnectFlags enum values. This is
2631 for supporting user data swapping (ConnectFlags.SWAPPED).
2633 https://bugzilla.gnome.org/show_bug.cgi?id=701843
2635 gi/overrides/GObject.py | 37 ++++++++++++++++
2636 tests/test_signal.py | 109
2637 ++++++++++++++++++++++++++++++++++++++++++++++++
2638 2 files changed, 146 insertions(+)
2640 commit b1caef95c4b68b65f3f159563162afde5a0b0939
2641 Author: Simon Feltman <sfeltman@src.gnome.org>
2642 Date: Sat Aug 9 02:14:23 2014 -0700
2644 tests: Add failing tests which verify exceptions raised in property
2647 https://bugzilla.gnome.org/show_bug.cgi?id=575652
2649 tests/test_properties.py | 17 +++++++++++++++++
2650 1 file changed, 17 insertions(+)
2652 commit 19cdbee5a89009da0eb366b9c698a860a7aa92b8
2653 Author: Garrett Regier <Garrett.Regier@riftio.com>
2654 Date: Fri Aug 8 10:08:23 2014 -0400
2656 Cleanup input args when marshaling in closures
2658 The cleanup must happen before setting the out args otherwise
2659 the args that cleanup would free are the just set args, not the
2662 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2664 gi/pygi-closure.c | 2 +-
2665 1 file changed, 1 insertion(+), 1 deletion(-)
2667 commit 7742fab42de5b1f4f8161237fc3cef91fd98791c
2668 Author: Simon Feltman <sfeltman@src.gnome.org>
2669 Date: Fri Aug 8 02:47:11 2014 -0700
2671 tests: Fix Python 2 build for newly added test_array_parm()
2673 Use @unittest.skip() with a string argument as required by Python 2.
2675 tests/test_signal.py | 2 +-
2676 1 file changed, 1 insertion(+), 1 deletion(-)
2678 commit 3165c17a455652de9a61439428fa40f30120dc6a
2679 Author: Simon Feltman <sfeltman@src.gnome.org>
2680 Date: Fri Aug 8 02:46:26 2014 -0700
2682 Remove incorrect and unused casts from tp_free calls
2684 Arguments to Py_TYPE() do not need to be cast since the macro
2686 to a PyObject* internall.
2688 gi/pygi-boxed.c | 2 +-
2689 gi/pygi-ccallback.c | 2 +-
2690 gi/pygi-info.c | 2 +-
2691 gi/pygi-struct.c | 2 +-
2692 4 files changed, 4 insertions(+), 4 deletions(-)
2694 commit 74dfec27c6008968cc66a13792dfb02b29c231b6
2695 Author: Simon Feltman <sfeltman@src.gnome.org>
2696 Date: Fri Aug 8 02:33:51 2014 -0700
2698 Fix GCallback Python wrapper leak
2700 The PyObject wrapper for GCallbacks was not calling tp_free in
2702 tp_dealloc class method.
2704 https://bugzilla.gnome.org/show_bug.cgi?id=695130
2706 gi/pygi-ccallback.c | 2 ++
2707 1 file changed, 2 insertions(+)
2709 commit dcf9111a86e01d66943909a0c9f21a181ccc38a6
2710 Author: Martin Pitt <martinpitt@gnome.org>
2711 Date: Fri Aug 8 01:55:21 2014 -0700
2713 tests: Add failing test for marshalling an array of GValues through
2716 https://bugzilla.gnome.org/show_bug.cgi?id=669496
2718 tests/test_signal.py | 12 ++++++++++++
2719 1 file changed, 12 insertions(+)
2721 commit d689d24f271c30612c6a86b5c51d50a1179aedad
2722 Author: Simon Feltman <sfeltman@src.gnome.org>
2723 Date: Thu Aug 7 17:52:35 2014 -0700
2725 tests: Add tests for GApplication local command line handling
2727 Add various tests which override Gio.Appliction.do_command_line and
2728 do_local_command_line.
2730 https://bugzilla.gnome.org/show_bug.cgi?id=690851
2732 tests/test_gio.py | 65
2733 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
2734 1 file changed, 65 insertions(+)
2736 commit 59c257ebc47fa725750344dd50dd8eb522536d3c
2737 Author: Garrett Regier <Garrett.Regier@riftio.com>
2738 Date: Thu Aug 7 12:25:59 2014 -0400
2740 Add test for a callback with an inout array
2742 This was broken until the closures used the caches for marshaling.
2744 https://bugzilla.gnome.org/show_bug.cgi?id=702508
2746 tests/test_everything.py | 19 +++++++++++++++++++
2747 1 file changed, 19 insertions(+)
2749 commit 9d0c43b2b9f92fff4249e4eb296f00ea73b15af3
2750 Author: Garrett Regier <Garrett.Regier@riftio.com>
2751 Date: Thu Aug 7 12:06:30 2014 -0400
2753 Fix raising an error in a constructor
2755 It should raise a Python exception instead of warnings about
2756 a constructor returning NULL.
2758 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2760 gi/pygi-cache.c | 6 +++---
2761 tests/test_gi.py | 6 ++++++
2762 2 files changed, 9 insertions(+), 3 deletions(-)
2764 commit d7b9ef0f5411ebcbb2597c16b221fd3482c535e4
2765 Author: Garrett Regier <Garrett.Regier@riftio.com>
2766 Date: Wed Aug 6 15:30:58 2014 -0400
2768 Use the caches for marshaling the arguments in closures
2770 Changes to object marshaling when the calling context is from
2771 C was required to correctly keep the correct floating status.
2773 The array cache has been modified to set to/from_py_marshaller
2774 for the length arg cache. This is required for closures which include
2775 the length arg for backwards compatibility. The closure cache takes
2776 care to change the length arg cache's meta type so it gets marshalled
2779 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2781 gi/pygi-array.c | 5 +-
2782 gi/pygi-basictype.c | 4 +-
2783 gi/pygi-basictype.h | 36 +++--
2784 gi/pygi-cache.c | 30 +++-
2785 gi/pygi-closure.c | 403
2786 ++++++++++++++++++++++++++++------------------------
2787 gi/pygi-invoke.c | 3 +-
2788 6 files changed, 271 insertions(+), 210 deletions(-)
2790 commit 9337acf98d783777c94d4bcb912a185ba6791efb
2791 Author: Garrett Regier <Garrett.Regier@riftio.com>
2792 Date: Wed Aug 6 12:14:27 2014 -0400
2794 Specialize GObject marshaling when called from C
2796 These are needed otherwise the floating status of
2797 the GObject will not be kept.
2799 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2801 gi/pygi-object.c | 86
2802 +++++++++++++++++++++++++++++++++++++++++++++++---------
2803 1 file changed, 72 insertions(+), 14 deletions(-)
2805 commit cf295f636b6324a46abbaf329cd6d92c04155d9d
2806 Author: Garrett Regier <Garrett.Regier@riftio.com>
2807 Date: Wed Aug 6 11:59:09 2014 -0400
2809 Move special handling of GObject from Python when calling from C
2811 This will soon be used in the GObject arg cache marshaling when
2812 the calling context is C.
2814 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2816 gi/pygi-argument.c | 21 +--------------------
2817 gi/pygi-object.c | 30 ++++++++++++++++++++++++++++++
2818 gi/pygi-object.h | 5 +++++
2819 3 files changed, 36 insertions(+), 20 deletions(-)
2821 commit 0d09234ea0399d756ee3fb0d358fab5b0a145657
2822 Author: Garrett Regier <Garrett.Regier@riftio.com>
2823 Date: Wed Aug 6 11:53:39 2014 -0400
2825 Always pass along the callable cache to the arg cache constructors
2827 This will be needed in a future patch which requires that the callable
2828 cache is always available.
2830 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2832 gi/pygi-array.c | 20 ++++++++++++--------
2833 gi/pygi-array.h | 9 +++++----
2834 gi/pygi-cache.c | 34 ++++++++++++++++++++--------------
2835 gi/pygi-cache.h | 7 ++++---
2836 gi/pygi-hashtable.c | 31 +++++++++++++++++--------------
2837 gi/pygi-hashtable.h | 9 +++++----
2838 gi/pygi-list.c | 30 +++++++++++++++++++-----------
2839 gi/pygi-list.h | 9 +++++----
2840 gi/pygi-object.c | 25 ++++++++++++++-----------
2841 gi/pygi-object.h | 3 ++-
2842 10 files changed, 103 insertions(+), 74 deletions(-)
2844 commit 203fef99205ce0c46b1530b0d480021ee8b8e325
2845 Author: Garrett Regier <Garrett.Regier@riftio.com>
2846 Date: Tue Aug 5 10:42:46 2014 -0400
2848 Set the correct meta type for GErrors when marshaling to Python
2850 Otherwise we do not pass the GError into python callbacks and
2851 we also want to convert these into Python Exceptions.
2853 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2855 gi/pygi-error.c | 2 +-
2856 1 file changed, 1 insertion(+), 1 deletion(-)
2858 commit 2e92809258d04e91c9d22f2fc0de09db2e60c962
2859 Author: Garrett Regier <Garrett.Regier@riftio.com>
2860 Date: Tue Aug 5 10:37:58 2014 -0400
2862 Pass the GIArgument to the closure assign functions
2864 This will be required once we use the caches for marshaling.
2866 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2868 gi/pygi-closure.c | 102
2869 ++++++++++++++++++++++++++----------------------------
2870 1 file changed, 50 insertions(+), 52 deletions(-)
2872 commit ca3579db14df278923674c294d07481a7255510f
2873 Author: Garrett Regier <Garrett.Regier@riftio.com>
2874 Date: Tue Aug 5 10:25:40 2014 -0400
2876 Use the caches for closures, but not yet for marshaling the arguments
2878 Instead of using the various GI functions we use the data from
2880 This also fixes generating an arg cache for a closure as it was
2882 data or simply setting incorrect data. Also, always included the
2884 until the closures no longer need it for marshaling the arguments.
2886 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2888 gi/pygi-cache.c | 33 +++++++-
2889 gi/pygi-cache.h | 4 +
2890 gi/pygi-closure.c | 245
2891 +++++++++++++++++++++++++-----------------------------
2892 gi/pygi-closure.h | 2 +
2893 4 files changed, 150 insertions(+), 134 deletions(-)
2895 commit 6a21dab89b59db0afc6d6a22272028ee949b52ad
2896 Author: Garrett Regier <Garrett.Regier@riftio.com>
2897 Date: Tue Aug 5 10:16:45 2014 -0400
2899 Correctly set the destroy notify for callbacks in closures
2901 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2903 gi/pygi-closure.c | 2 +-
2904 1 file changed, 1 insertion(+), 1 deletion(-)
2906 commit e6d48b4eadbeb1014c4eb140317b579e69eb8d88
2907 Author: Garrett Regier <Garrett.Regier@riftio.com>
2908 Date: Fri Aug 1 11:40:08 2014 -0400
2910 Split the callable cache into the different types
2912 Instead of doing different things based on the various function types
2913 this adds vfuncs for generate_args_cache() and invoke() which are then
2914 specialized for the various function types. Also add a calling context
2915 to the callable cache which is then used to determine the direction
2916 when generating the arg caches.
2918 This is in preparation for adding closure caches.
2920 https://bugzilla.gnome.org/show_bug.cgi?id=727004
2922 gi/pygi-cache.c | 514
2923 +++++++++++++++++++++++++++++++-----------
2924 gi/pygi-cache.h | 96 +++++---
2925 gi/pygi-ccallback.c | 16 +-
2926 gi/pygi-info.c | 3 +-
2927 gi/pygi-invoke-state-struct.h | 2 -
2928 gi/pygi-invoke.c | 244 ++++++++------------
2929 gi/pygi-invoke.h | 4 +
2931 8 files changed, 564 insertions(+), 317 deletions(-)
2933 commit 18341f27a5a9770d8caf3192a75737ab2bc06b1e
2934 Author: Ignacio Casal Quinteiro <icq@gnome.org>
2935 Date: Wed Aug 6 08:27:43 2014 +0200
2937 Generate .dll libraries on windows
2939 https://bugzilla.gnome.org/show_bug.cgi?id=734288
2941 configure.ac | 8 ++++++++
2942 tests/Makefile.am | 8 ++++----
2943 2 files changed, 12 insertions(+), 4 deletions(-)
2945 commit d70403357d6b510356dd375304fb97e458fd12b2
2946 Author: Simon Feltman <sfeltman@src.gnome.org>
2947 Date: Tue Aug 5 22:45:46 2014 -0700
2949 Add protection against attempts at importing static bindings
2951 Clobber gobject, gio, glib, gtk, and gtk.gdk in sys.modules upon
2953 gi with dummy modules which produce an error upon access.
2955 https://bugzilla.gnome.org/show_bug.cgi?id=709183
2957 gi/__init__.py | 25 ++++++++++++++++++++++---
2958 tests/test_import_machinery.py | 24 ++++++++++++++++++++++++
2959 2 files changed, 46 insertions(+), 3 deletions(-)
2961 commit 5ca4d25eac0efcc12b02fe53f379ee41e69bf1d2
2962 Author: Simon Feltman <sfeltman@src.gnome.org>
2963 Date: Tue Dec 31 16:15:04 2013 -0800
2965 Update and deprecate gi.overrides.keysyms
2967 Replace manually assigned keysyms with a dynamically generated version
2968 pulling names and values from Gdk via GI. Add a runtime warning when
2969 this module is imported.
2971 https://bugzilla.gnome.org/show_bug.cgi?id=721295
2973 gi/overrides/keysyms.py | 1490
2974 +-------------------------------------------
2975 pygtkcompat/pygtkcompat.py | 14 +-
2976 2 files changed, 27 insertions(+), 1477 deletions(-)
2978 commit 9eaeba9079c23d7e2837f62e8ed2b26c018351b6
2979 Author: Alexey Pavlov <alexpux@gmail.com>
2980 Date: Tue Aug 5 19:03:38 2014 -0700
2982 Use -no-undefined for building on Windows
2984 See LT_INIT([win32-dll]):
2985 http://www.gnu.org/software/libtool/manual/html_node/LT_005fINIT.html
2987 Additionally add PYTHON_LIBS to testhelper.la linking.
2989 https://bugzilla.gnome.org/show_bug.cgi?id=734284
2991 tests/Makefile.am | 6 +++---
2992 1 file changed, 3 insertions(+), 3 deletions(-)
2994 commit 5737a9ec4bf4d9d07a7e3994d91abf9077b342cc
2995 Author: Alexey Pavlov <alexpux@gmail.com>
2996 Date: Tue Aug 5 18:40:53 2014 -0700
2998 Use python-config for libs when available
3000 https://bugzilla.gnome.org/show_bug.cgi?id=734289
3002 m4/python.m4 | 7 ++++++-
3003 1 file changed, 6 insertions(+), 1 deletion(-)
3005 commit 093abb4ed052c768f51c90324c2e40063aa6b9b9
3006 Author: Alexey Pavlov <alexpux@gmail.com>
3007 Date: Tue Aug 5 18:20:25 2014 -0700
3009 Link gi.so with FFI_LIBS
3011 https://bugzilla.gnome.org/show_bug.cgi?id=734286
3013 gi/Makefile.am | 3 ++-
3014 1 file changed, 2 insertions(+), 1 deletion(-)
3016 commit 9df54d23a15b871fd71c994b97ffe847ff3b9eb5
3017 Author: Alexey Pavlov <alexpux@gmail.com>
3018 Date: Tue Aug 5 15:45:04 2014 +0200
3020 Include math headers also on mingw
3022 https://bugzilla.gnome.org/show_bug.cgi?id=734287
3024 gi/pygi-basictype.c | 2 --
3025 1 file changed, 2 deletions(-)
3027 commit 964ced98e03c704074d10cc362abfa14c00457ba
3028 Author: Garrett Regier <Garrett.Regier@riftio.com>
3029 Date: Thu Jul 31 10:16:47 2014 -0400
3031 Added args_offset to the cache instead of checking the function type
3033 gi/pygi-array.c | 6 ++----
3034 gi/pygi-cache.c | 6 +++---
3035 gi/pygi-cache.h | 3 +++
3036 gi/pygi-closure.c | 4 +---
3037 4 files changed, 9 insertions(+), 10 deletions(-)
3039 commit 9943d876059201cbee87f072a84234ed774ed932
3040 Author: Simon Feltman <sfeltman@src.gnome.org>
3041 Date: Thu Jul 31 21:51:00 2014 -0700
3043 doap: Update homepage URL and email address
3045 pygobject.doap | 4 ++--
3046 1 file changed, 2 insertions(+), 2 deletions(-)
3048 commit afef1020a43d91014c34ffcd5a5f66281f2e7cc9
3049 Author: Simon Feltman <sfeltman@src.gnome.org>
3050 Date: Thu Jul 31 21:46:37 2014 -0700
3052 Change maintainer in PKG-INFO to self
3054 PKG-INFO.in | 4 ++--
3055 1 file changed, 2 insertions(+), 2 deletions(-)
3057 commit 10c4d66574e35cc84bed3c3057b68ad98613d839
3058 Author: Andre Klapper <a9016009@gmx.de>
3059 Date: Thu Jul 31 21:28:12 2014 +0200
3061 doap: add <programming-language>
3063 pygobject.doap | 2 ++
3064 1 file changed, 2 insertions(+)
3066 commit f30001f2b01896577a2b4d956bc4658350e56b8d
3067 Author: Simon Feltman <sfeltman@src.gnome.org>
3068 Date: Wed Jul 30 00:29:01 2014 -0700
3070 Add GClosure marshalling cleanup
3072 Add marshalling cleanup for Python callables and boxed GClosures
3073 passed as arguments. Make sure the marshaller owns a reference
3074 until clean. Fix transfer everything case by adding a new reference.
3075 Remove unused header declaration: pygi_arg_gclosure_from_py_marshal
3077 https://bugzilla.gnome.org/show_bug.cgi?id=695128
3079 gi/pygi-struct-marshal.c | 46
3080 ++++++++++++++++++++++++++++++++++++++--------
3081 gi/pygi-struct-marshal.h | 4 ----
3082 2 files changed, 38 insertions(+), 12 deletions(-)
3084 commit cf4e830f1b613736ef9586562eb6c0b354165925
3085 Author: Simon Feltman <sfeltman@src.gnome.org>
3086 Date: Wed Jul 30 12:42:15 2014 -0700
3088 Remove decrementing argument index for failed marshalling cleanup
3090 Remove index decrement when cleanup function is called for failed
3092 marshalling. The decrement is incorrect and causes the failed argument
3093 cleanup to be skipped. The decrement also causes cleanup for arguments
3094 prior to the failed argument to receive "was_successful" as FALSE,
3098 https://bugzilla.gnome.org/show_bug.cgi?id=695128
3100 gi/pygi-invoke.c | 10 +++++-----
3101 1 file changed, 5 insertions(+), 5 deletions(-)
3103 commit 662a4421125d126a11ca163c362d205f0c2147c4
3104 Author: Simon Feltman <sfeltman@src.gnome.org>
3105 Date: Wed Jul 30 12:46:18 2014 -0700
3107 Use cleanup data for argument marshalling failures
3109 Use state->args_cleanup_data when cleaning up failed argument
3111 This was overlooked when cleanup data tracking was implemented
3114 https://bugzilla.gnome.org/show_bug.cgi?id=695128
3116 gi/pygi-marshal-cleanup.c | 14 +++++++-------
3117 1 file changed, 7 insertions(+), 7 deletions(-)
3119 commit 39746a3b4f307974d8b3f98f7ba2aefe06d897a3
3120 Author: Olav Vitters <olav@vitters.nl>
3121 Date: Wed Jul 30 20:41:37 2014 +0200
3125 pygobject.doap | 2 +-
3126 1 file changed, 1 insertion(+), 1 deletion(-)
3128 commit 36caa74a276972eee2b18162ac09edc83c30a3cb
3129 Author: Simon Feltman <sfeltman@src.gnome.org>
3130 Date: Mon Jul 28 23:51:19 2014 -0700
3132 tests: Move object property reference count tests to test_properties
3134 Move and consolidate tests for object property reference counts from
3135 tests_object_marshaling to test_properties.
3137 https://bugzilla.gnome.org/show_bug.cgi?id=726999
3139 tests/test_object_marshaling.py | 68
3140 -----------------------------------------
3141 tests/test_properties.py | 36 ++++++++++++++++++++++
3142 2 files changed, 36 insertions(+), 68 deletions(-)
3144 commit 15b795354ca5a8f436779ee5d81936af8961acb5
3145 Author: Simon Feltman <sfeltman@src.gnome.org>
3146 Date: Mon Jul 28 22:20:44 2014 -0700
3148 tests: Move test_everything.TestProperties into test_properties
3150 Consolidate property tests found in test_everything into test_property
3151 removing redundant tests already found in test_property.
3153 https://bugzilla.gnome.org/show_bug.cgi?id=726999
3155 tests/test_everything.py | 69
3156 +-----------------------------------------------
3157 tests/test_properties.py | 59 +++++++++++++++++++++++++++++++++++++++++
3158 2 files changed, 60 insertions(+), 68 deletions(-)
3160 commit c691d86c6f5f073f7c1e1e6ddd4311ed27431747
3161 Author: Simon Feltman <sfeltman@src.gnome.org>
3162 Date: Mon Jul 28 21:32:44 2014 -0700
3164 tests: Add tests for get/set_property()
3166 Re-use the new CPropertiesTestBase class for testing
3170 https://bugzilla.gnome.org/show_bug.cgi?id=726999
3172 tests/test_properties.py | 32 ++++++++++++++++++++++++++++++++
3173 1 file changed, 32 insertions(+)
3175 commit 115bc88ad5eb85e0a1821fa4fa2cad5c6df87dcc
3176 Author: Simon Feltman <sfeltman@src.gnome.org>
3177 Date: Mon Jul 28 21:32:00 2014 -0700
3179 tests: Break TestPropertiesObject up for re-use
3181 Refactor TestPropertiesObject into a base class which abstracts
3183 property methods. This will allow re-use for testing both
3185 and the props accessor.
3187 https://bugzilla.gnome.org/show_bug.cgi?id=726999
3189 tests/test_properties.py | 221
3190 +++++++++++++++++++++++++----------------------
3191 1 file changed, 118 insertions(+), 103 deletions(-)
3193 commit bf0a5c3345e65b6a7475fada4ea240dbe0049a26
3194 Author: Simon Feltman <sfeltman@src.gnome.org>
3195 Date: Mon Jul 28 19:32:00 2014 -0700
3197 tests: Move test_gi.TestPropertiesObject into test_properties
3199 Move all property testing code into the test_properties module.
3201 https://bugzilla.gnome.org/show_bug.cgi?id=726999
3203 tests/test_gi.py | 233
3204 ----------------------------------------------
3205 tests/test_properties.py | 235
3206 +++++++++++++++++++++++++++++++++++++++++++++++
3207 2 files changed, 235 insertions(+), 233 deletions(-)
3209 commit 4941691264970b19b81d435cd58ab18ef6bac9a5
3210 Author: Simon Feltman <sfeltman@src.gnome.org>
3211 Date: Fri Jul 25 18:33:15 2014 -0700
3213 pyflakes: Fix legacy print and exception usage under Python 3
3215 Fix print statements and legacy exception usage in examples.
3217 https://bugzilla.gnome.org/show_bug.cgi?id=731042
3219 examples/properties.py | 12 ++++++------
3220 tests/runtests-windows.py | 4 ++--
3221 2 files changed, 8 insertions(+), 8 deletions(-)
3223 commit c3d3cd2f798cbae7f66d8e57e191b5f9569a713b
3224 Author: Simon Feltman <sfeltman@src.gnome.org>
3225 Date: Fri Jul 25 17:49:57 2014 -0700
3227 tests: Ignore warnings for GtkAlignment
3229 This was causing unittests to bail. Even though this is deprecated,
3230 we still need to test its usage in the context of pygtkcompat.
3232 tests/compat_test_pygtk.py | 15 ++++++++++++++-
3233 1 file changed, 14 insertions(+), 1 deletion(-)
3235 commit 804b89447ae2748c88ad5efe5e6e37d949681b9e
3236 Author: Simon Feltman <sfeltman@src.gnome.org>
3237 Date: Fri Jul 25 17:40:36 2014 -0700
3239 tests: Remove usage of deprecated "schema" property in GSettings
3242 Use new and new_with_path instead as the schema property was causing a
3243 hard warning which fails the test suite.
3245 tests/test_gio.py | 6 +++---
3246 1 file changed, 3 insertions(+), 3 deletions(-)
3248 commit 6b806137825891cc6bdad82a68cf3deb087feb70
3249 Author: Simon Feltman <sfeltman@src.gnome.org>
3250 Date: Fri Jul 25 17:35:06 2014 -0700
3252 tests: Ignore stock-id usage warnings
3254 Add ignore_glib_warnings context manager for easily ignoring warnings
3255 caused by stock-id usage. Even though stock-id is deprecated, we still
3256 need to test the related Python binding overrides.
3258 tests/test_overrides_gtk.py | 40 ++++++++++++++++++++++++----------------
3259 1 file changed, 24 insertions(+), 16 deletions(-)
3261 commit 6b944c4e215a34bc4181c7c708b6d6f2d4898c15
3262 Author: Simon Feltman <sfeltman@src.gnome.org>
3263 Date: Mon Jun 23 15:55:57 2014 -0700
3265 configure.ac: post release version bump to 3.13.4
3268 1 file changed, 1 insertion(+), 1 deletion(-)
3270 commit 58198b6ae426448cde82cad7304018c7c770c0ea
3271 Author: Simon Feltman <sfeltman@src.gnome.org>
3272 Date: Mon Jun 23 15:53:03 2014 -0700
3277 1 file changed, 8 insertions(+)
3279 commit cdf8c40768b00d08a1facca696a042efc6e8988f
3280 Author: Simon Feltman <sfeltman@src.gnome.org>
3281 Date: Thu May 29 13:02:44 2014 -0700
3283 demos: Cleanup CSS accordion demo to use a loop for adding buttons
3285 Also use Gtk.main_quit directly since it has been overridden to accept
3288 demos/gtk-demo/demos/Css/css_accordion.py | 21 +++------------------
3289 1 file changed, 3 insertions(+), 18 deletions(-)
3291 commit ba8380d093d6f84eabcf18c02b248aae8ffc3cf5
3292 Author: Simon Feltman <sfeltman@src.gnome.org>
3293 Date: Tue May 27 19:24:20 2014 -0700
3295 refactor: Move builder connection utilities outside of Builder class
3297 Move _extract_handler_and_args and _builder_connect_callback into
3299 scope for re-use by GTK+ Composite Templates.
3301 https://bugzilla.gnome.org/show_bug.cgi?id=701843
3303 gi/overrides/Gtk.py | 83
3304 ++++++++++++++++++++++++---------------------
3305 tests/test_overrides_gtk.py | 8 ++---
3306 2 files changed, 48 insertions(+), 43 deletions(-)
3308 commit f127fabe9664b243774b76a68e6fce5986aa23a0
3309 Author: Simon Feltman <sfeltman@src.gnome.org>
3310 Date: Tue May 27 15:52:10 2014 -0700
3312 tests: Move TestSignals from test_everything into test_signal
3314 Move these tests into a more meaningful location.
3316 https://bugzilla.gnome.org/show_bug.cgi?id=701843
3318 tests/test_everything.py | 123
3319 --------------------------------------------
3320 tests/test_signal.py | 131
3321 +++++++++++++++++++++++++++++++++++++++++++++++
3322 2 files changed, 131 insertions(+), 123 deletions(-)
3324 commit da46963a0ce9f796ff4ee4ae2023adfd40ed54ca
3325 Author: Simon Feltman <sfeltman@src.gnome.org>
3326 Date: Mon May 26 04:21:07 2014 -0700
3328 configure.ac: post release version bump to 3.13.2
3331 1 file changed, 1 insertion(+), 1 deletion(-)
3333 commit 6258adf6c7c604954f0dbc1a9ed8c284114358bc
3334 Author: Simon Feltman <sfeltman@src.gnome.org>
3335 Date: Mon May 26 04:18:55 2014 -0700
3339 NEWS | 21 +++++++++++++++++++++
3340 1 file changed, 21 insertions(+)
3342 commit 32542a4ba24d413fb6e0d509bff05f4ac3f642a1
3343 Author: Simon Feltman <sfeltman@src.gnome.org>
3344 Date: Mon May 26 03:01:13 2014 -0700
3346 Python 3.4 make check fixes
3348 Bump GI required version to 1.39.0. This is needed to get rid of
3349 expectedFailures which pass when built with 1.39.0 (unexpected
3351 fail unittesting in Python 3.4).
3352 Silence deprecation warning when using imp.reload.
3354 https://bugzilla.gnome.org/show_bug.cgi?id=730411
3357 pygtkcompat/pygtkcompat.py | 4 +++-
3358 tests/test_gi.py | 1 -
3359 tests/test_repository.py | 2 --
3360 4 files changed, 4 insertions(+), 5 deletions(-)
3362 commit dbdc662b5743bb54fcc3621db775a6e948ec360c
3363 Author: Simon Feltman <sfeltman@src.gnome.org>
3364 Date: Mon May 26 01:53:14 2014 -0700
3366 tests: Don't use deprecated positional argument for Gio.Settings
3369 tests/test_gio.py | 6 +++---
3370 1 file changed, 3 insertions(+), 3 deletions(-)
3372 commit d0b23f08eebd4377f066a4483900fe6d09e3795e
3373 Author: Simon Feltman <sfeltman@src.gnome.org>
3374 Date: Sun May 25 23:03:35 2014 -0700
3376 overrides: Add Gtk.Container.child_get/set overrides
3378 Add overrides for child_get and child_set to Gtk.Container since these
3379 are not introspectable methods.
3381 https://bugzilla.gnome.org/show_bug.cgi?id=685076
3383 gi/overrides/Gtk.py | 10 ++++++++++
3384 tests/test_overrides_gtk.py | 16 ++++++++++++++++
3385 2 files changed, 26 insertions(+)
3387 commit 45a5fb2b0d6c7f46d355c83c73d829532e5a72ce
3388 Author: Simon Feltman <sfeltman@src.gnome.org>
3389 Date: Sun May 25 22:07:07 2014 -0700
3391 overrides: Make value argument to Widget.style_get_property optional
3393 Override Gtk.Widget.style_get_property to optionally accept the
3395 argument. If "value" is not supplied, the override will locate
3397 property value type and create the GValue. Additionally return
3399 GValue converted to a native Python value.
3401 https://bugzilla.gnome.org/show_bug.cgi?id=685076
3403 gi/overrides/Gtk.py | 11 +++++++++++
3404 tests/test_overrides_gtk.py | 29 +++++++++++++++++++++++++++++
3405 2 files changed, 40 insertions(+)
3407 commit 6f5a9a37bcdec5074332b1066396321d40b15d99
3408 Author: Simon Feltman <sfeltman@src.gnome.org>
3409 Date: Sun May 25 21:08:47 2014 -0700
3411 overrides: Make value argument to Container.child_get_property
3414 Override Gtk.Container.child_get_property to optionally accept the
3416 argument. If "value" is not supplied, the override will locate
3418 property value type and create the GValue. Additionally return
3420 GValue converted to a native Python value.
3422 https://bugzilla.gnome.org/show_bug.cgi?id=685076
3424 gi/overrides/Gtk.py | 11 +++++++++++
3425 tests/test_overrides_gtk.py | 47
3426 +++++++++++++++++++++++++++++++++++++++++++++
3427 2 files changed, 58 insertions(+)
3429 commit bf84915f89fd5fd502b4fb162eef7bc0a48c8783
3430 Author: Johan Dahlin <johan@gnome.org>
3431 Date: Mon Oct 1 06:42:24 2012 -0700
3433 Add GTypeClass methods as Python GObject class methods
3435 Take all the methods from an objects type classs and add them
3436 as class methods. For instance, GObject.ObjectClass.list_properties
3437 is available as GObject.Object.list_properties().
3439 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
3441 https://bugzilla.gnome.org/show_bug.cgi?id=685218
3443 gi/types.py | 13 +++++++++++++
3444 tests/test_typeclass.py | 13 +++++++++++++
3445 2 files changed, 26 insertions(+)
3447 commit 778d05c93e079ba207a250b754bda9377cb47457
3448 Author: Simon Feltman <sfeltman@src.gnome.org>
3449 Date: Sun May 25 19:05:56 2014 -0700
3451 Add marshalling coercion for Python classes and instances to
3454 Automatically marshal Python GObject classes and instances to
3456 structs (GObjectClass). This allows usage of the GTypeClass methods by
3457 passing a Python GObject class or instance to the GTypeClass method.
3458 This is needed to support usage of GTypeClass methods since we don't
3459 manually bind GTypeClasses and they are not very well supported with
3462 https://bugzilla.gnome.org/show_bug.cgi?id=685218
3464 gi/pygi-struct-marshal.c | 54 ++++++++++++++++++++++++++++++++++----
3465 tests/Makefile.am | 1 +
3466 tests/test_typeclass.py | 67
3467 ++++++++++++++++++++++++++++++++++++++++++++++++
3468 3 files changed, 117 insertions(+), 5 deletions(-)
3470 commit 1e606287e1244cba45e3bb174d27f1c01e4f9577
3471 Author: Simon Feltman <sfeltman@src.gnome.org>
3472 Date: Sun May 25 02:00:00 2014 -0700
3474 Cleanup struct marshalling function names
3476 Use a consistent naming scheme for struct marshalling cache related
3477 functions. This removes prefixed underscores from function names
3478 as well as redundant wording.
3480 To ignore this commit with git blame use:
3481 git blame <this-commit-sha>^ -- gi/pygi-struct-marshal.c
3483 https://bugzilla.gnome.org/show_bug.cgi?id=685218
3485 gi/pygi-argument.c | 34 ++++----
3486 gi/pygi-array.c | 2 +-
3487 gi/pygi-struct-marshal.c | 221
3488 ++++++++++++++++++++---------------------------
3489 gi/pygi-struct-marshal.h | 56 ++++++------
3490 4 files changed, 142 insertions(+), 171 deletions(-)
3492 commit bbbfa967d06eb8fdef6d6ebe705cc8df2869ddf3
3493 Author: Simon Feltman <sfeltman@src.gnome.org>
3494 Date: Fri May 16 15:08:35 2014 -0700
3496 Use accessors for getting and setting PyGParamSpec pointers
3498 Add pyg_param_spec_get and pyg_param_spec_set macros for getting and
3499 setting the GParamSpec pointer field held by the Python wrapper. This
3500 is preliminary cleanup work for supporting fundamental types.
3502 https://bugzilla.gnome.org/show_bug.cgi?id=631901
3504 gi/pygi-value.c | 2 +-
3505 gi/pygobject.h | 9 +++++++--
3506 gi/pygparamspec.c | 22 +++++++++++-----------
3507 3 files changed, 19 insertions(+), 14 deletions(-)
3509 commit b49179ba3b39576c0c8fe8586b7091dbbaef8046
3510 Author: Simon Feltman <sfeltman@src.gnome.org>
3511 Date: Fri May 16 14:50:57 2014 -0700
3513 Use accessors for getting and setting PyGPointer fields
3515 Add pyg_pointer_get_ptr and pyg_pointer_set_ptr macros for getting and
3516 setting the pointer field. This is preliminary cleanup work for
3520 https://bugzilla.gnome.org/show_bug.cgi?id=631901
3522 gi/gimodule.c | 2 +-
3523 gi/pygi-struct.c | 6 +++---
3524 gi/pygobject.h | 2 ++
3525 gi/pygpointer.c | 14 +++++++-------
3526 4 files changed, 13 insertions(+), 11 deletions(-)
3528 commit 92fe52243d819ffe91597744a6a1c2362a295bce
3529 Author: Simon Feltman <sfeltman@src.gnome.org>
3530 Date: Fri May 16 14:19:47 2014 -0700
3532 Use accessors for getting and setting PyGBoxed pointers
3534 Add pyg_boxed_get_ptr and pyg_boxed_set_ptr macros for getting
3536 the boxed pointer field. This is preliminary cleanup work for
3540 https://bugzilla.gnome.org/show_bug.cgi?id=631901
3542 gi/pygboxed.c | 20 ++++++++++----------
3543 gi/pygi-boxed.c | 6 +++---
3544 gi/pygobject.h | 2 ++
3545 gi/pygtype.c | 3 ++-
3546 4 files changed, 17 insertions(+), 14 deletions(-)
3548 commit 0a4f13a571cb9bd110f435f8b23ed942e3b007b0
3549 Author: Simon Feltman <sfeltman@src.gnome.org>
3550 Date: Sun May 11 16:04:55 2014 -0700
3552 tests: Use assertRaises as a context manager for GError test
3554 Simplify tests/test_error.py:TestMarshalling.test_exception so that
3555 it no longer needs to pull exception information out of sys.exc_info.
3557 tests/test_error.py | 14 ++++++--------
3558 1 file changed, 6 insertions(+), 8 deletions(-)
3560 commit bc7b0b69f651a118a053106fcae2d7c0f2173430
3561 Author: Andrew Grigorev <andrew@ei-grad.ru>
3562 Date: Sun May 11 23:54:46 2014 +0400
3564 Replace direct parent class call by super()
3566 Super works, it just needs the correct class.
3568 https://bugzilla.gnome.org/show_bug.cgi?id=729970
3570 demos/gtk-demo/gtk-demo.py | 6 ++----
3571 1 file changed, 2 insertions(+), 4 deletions(-)
3573 commit de827d00762f2a741f90bc38f8b55518593f4509
3574 Author: Simon Feltman <sfeltman@src.gnome.org>
3575 Date: Sun Mar 23 01:59:00 2014 -0700
3577 Add cairo marshaling support for non-introspected signals
3579 Add link dependency of cairo-gobject to _gi_cairo_la needed for
3581 the GTypes of cairo classes.
3582 Add GValue marshalers for cairo Context, Surface, FontFace,
3584 and Pattern classes.
3586 https://bugzilla.gnome.org/show_bug.cgi?id=694604
3588 gi/Makefile.am | 2 +
3589 gi/pygi-foreign-cairo.c | 186
3590 ++++++++++++++++++++++++++++++++++++++++++++++++
3591 gi/pygi-type.h | 1 +
3593 tests/test_cairo.py | 65 +++++++++++++++++
3594 5 files changed, 256 insertions(+)
3596 commit 22a952ec532cc83c8227861a7d5bfa2957608c3f
3597 Author: Simon Feltman <sfeltman@src.gnome.org>
3598 Date: Mon May 5 19:37:18 2014 -0700
3600 [New API] Add gi.require_foreign
3602 Add gi.require_foreign(namespace, symbol=None) API for determining
3603 if a foreign marshaling module is available. This can be used in an
3604 applications import statement block to verify the existence of a
3605 specific foreign marshaling module (cairo).
3606 Additionally it forces loading of the foreign marshaling module as
3607 well as the GI repository module. This allows non-introspected signal
3608 closures to correctly marshal their arguments (bug 694604).
3610 https://bugzilla.gnome.org/show_bug.cgi?id=707735
3612 gi/__init__.py | 28 +++++++++++++++++++++++++
3613 gi/gimodule.c | 2 ++
3614 gi/pygi-foreign.c | 60
3615 ++++++++++++++++++++++++++++++++++++++++++++++-------
3616 gi/pygi-foreign.h | 4 ++++
3617 tests/test_cairo.py | 9 ++++++++
3618 5 files changed, 95 insertions(+), 8 deletions(-)
3620 commit 4ee91a4cd0018d069c7aaf66d83e2f8235f2262a
3621 Author: Simon Feltman <sfeltman@src.gnome.org>
3622 Date: Mon May 5 19:48:06 2014 -0700
3624 tests: Move cairo tests into test_cairo.py
3626 Move cairo related tests from test_everything.py into test_cairo.py
3628 https://bugzilla.gnome.org/show_bug.cgi?id=694604
3630 tests/Makefile.am | 1 +
3631 tests/test_cairo.py | 67
3632 ++++++++++++++++++++++++++++++++++++++++++++++++
3633 tests/test_everything.py | 43 +------------------------------
3634 3 files changed, 69 insertions(+), 42 deletions(-)
3636 commit 31ecd935564984068e6646676392122bdc03e42e
3637 Author: Simon Feltman <sfeltman@src.gnome.org>
3638 Date: Mon May 5 19:42:59 2014 -0700
3640 Initialize the foreign API at PyGI load time
3642 Initialize the foreign struct list at gi._gi module load time. This
3644 we always have a valid (non-null) list of foreign marshalers outside
3646 context of marshaling.
3648 https://bugzilla.gnome.org/show_bug.cgi?id=694604
3650 gi/gimodule.c | 3 ++-
3651 gi/pygi-foreign.c | 12 ++++++++----
3652 gi/pygi-foreign.h | 2 ++
3653 3 files changed, 12 insertions(+), 5 deletions(-)
3655 commit def47144b63a1492ebf47a4eadb535f45253ff3a
3656 Author: Simon Feltman <sfeltman@src.gnome.org>
3657 Date: Sat Mar 22 14:13:01 2014 -0700
3659 Move pygi foreign API into pygi-foreign-api.h
3661 Move limited set of APIs necessary for registering foreign marshalers
3663 pygi-foreign-api.h. Remove "_real" from internally used APIs and
3665 includes to the rest of pygobject for calling directly (instead of
3667 the PyCapsule API within PyGI itself).
3668 This is needed to avoid compilation errors when including pygobject.h
3670 foreign marshaling plugins which conflicts with pygobject-private.h.
3672 https://bugzilla.gnome.org/show_bug.cgi?id=694604
3674 gi/Makefile.am | 1 +
3675 gi/gimodule.c | 6 +--
3679 gi/pygi-foreign-api.h | 85 +++++++++++++++++++++++++++++++++++++
3680 gi/pygi-foreign-cairo.c | 8 ++--
3681 gi/pygi-foreign.c | 10 ++---
3682 gi/pygi-foreign.h | 14 +++----
3683 gi/pygi-property.c | 8 ++--
3684 gi/pygi-property.h | 14 ++++---
3685 gi/pygi-signal-closure.c | 12 +++---
3686 gi/pygi-signal-closure.h | 15 +++----
3687 gi/pygi-type.c | 4 +-
3688 gi/pygi-type.h | 2 +-
3690 -----------------------------------------------
3691 gi/pygobject.c | 3 ++
3692 gi/pygpointer.c | 1 +
3693 18 files changed, 139 insertions(+), 154 deletions(-)
3695 commit 4c2e6914bf0277ebc3a6a4426f33a1b378a04b00
3696 Author: Simon Feltman <sfeltman@src.gnome.org>
3697 Date: Sun May 4 23:19:30 2014 -0700
3699 Clobber GLib.Error with custom implementation
3701 Clobber the introspection GLib.Error class with the custom Python
3702 implementation found in gi._error.GError. Update references to
3706 https://bugzilla.gnome.org/show_bug.cgi?id=712519
3708 gi/_error.py | 3 ++-
3709 gi/overrides/GLib.py | 9 ++++++---
3710 gi/pygi-error.c | 10 +++++-----
3711 tests/test_error.py | 24 ++++++++++++------------
3712 4 files changed, 25 insertions(+), 21 deletions(-)
3714 commit f80f5ec434ed868ab1f35d6a81537384e753b09d
3715 Author: Simon Feltman <sfeltman@src.gnome.org>
3716 Date: Sun May 4 23:43:50 2014 -0700
3718 Simplify pygi_error_marshal to use GError initializer arguments
3720 https://bugzilla.gnome.org/show_bug.cgi?id=712519
3722 gi/pygi-error.c | 25 ++++++-------------------
3723 1 file changed, 6 insertions(+), 19 deletions(-)
3725 commit 3083daf420ac1900bb20604c22fd61e5187b4ae8
3726 Author: Simon Feltman <sfeltman@src.gnome.org>
3727 Date: Sun May 4 04:13:46 2014 -0700
3729 Add Python implementation of GError
3731 Add internally used gi/_error.py module as a basis for implementing
3732 a unified GError between introspection and static bindings. Patch
3734 implementations of GError.matches and GError.new_literal in the GLib
3737 https://bugzilla.gnome.org/show_bug.cgi?id=712519
3741 ++++++++++++++++++++++++++++++++++++++++++++++++++++
3742 gi/_option.py | 3 ++-
3743 gi/overrides/GLib.py | 25 ++++++++++++++++++++++++-
3744 gi/pygi-error.c | 18 +++++++-----------
3745 tests/test_error.py | 37 ++++++++++++++++++++++++++++++++++++
3746 6 files changed, 125 insertions(+), 14 deletions(-)
3748 commit 664bfa6fdf2196a0d1449baaca62a9a496121f67
3749 Author: Simon Feltman <sfeltman@src.gnome.org>
3750 Date: Sun May 4 23:14:27 2014 -0700
3752 tests: Move GError tests into test_error.py
3754 https://bugzilla.gnome.org/show_bug.cgi?id=712519
3756 tests/Makefile.am | 1 +
3757 tests/test_error.py | 81
3758 +++++++++++++++++++++++++++++++++++++++++++++++++++++
3759 tests/test_gi.py | 49 --------------------------------
3760 3 files changed, 82 insertions(+), 49 deletions(-)
3762 commit 649895d83a90cd3a370da215a6f98a606b987419
3763 Author: Simon Feltman <sfeltman@src.gnome.org>
3764 Date: Sun May 4 00:18:41 2014 -0700
3766 Consolidate GError related code into pygi-error
3768 Rename all pyglib_error_* functions to pygi_error_* and move them into
3770 Register GError as part of the gi._gi module instead of gi._gi._glib.
3771 Update all code to use new naming.
3773 https://bugzilla.gnome.org/show_bug.cgi?id=712519
3775 gi/_option.py | 6 +-
3776 gi/gimodule.c | 4 +-
3777 gi/glibmodule.c | 19 -----
3778 gi/gobjectmodule.c | 54 +-----------
3779 gi/overrides/GLib.py | 3 +-
3780 gi/pygi-argument.c | 6 +-
3781 gi/pygi-cache.c | 4 +-
3782 gi/pygi-error.c | 222
3783 ++++++++++++++++++++++++++++++++++++++++++++++++-
3784 gi/pygi-error.h | 21 ++++-
3785 gi/pygi-invoke.c | 5 +-
3786 gi/pyglib-private.h | 1 -
3787 gi/pyglib.c | 199 --------------------------------------------
3789 gi/pygobject-private.h | 3 -
3790 gi/pygoptioncontext.c | 3 +-
3791 gi/pygoptiongroup.c | 3 +-
3792 gi/pygspawn.c | 3 +-
3793 17 files changed, 262 insertions(+), 299 deletions(-)
3795 commit 9080215e862a73ddcce16476f4dc4492a88dd3f2
3796 Author: Simon Feltman <sfeltman@src.gnome.org>
3797 Date: Sat May 3 22:56:49 2014 -0700
3799 Add gi.CallableInfo.can_throw_gerror()
3801 Add static binding for g_callable_info_can_throw_gerror.
3803 gi/pygi-info.c | 10 ++++++++++
3804 tests/test_repository.py | 16 ++++++++++++++++
3805 2 files changed, 26 insertions(+)
3807 commit f129e78d579b7897cb86111c524d87b5b12019ad
3808 Author: Simon Feltman <sfeltman@src.gnome.org>
3809 Date: Sat May 3 22:56:03 2014 -0700
3811 Derive PyCallbackInfo from PyCallableInfo
3813 Update the static GI bindings for PyGICallbackInfo to derive
3814 from PyGICallableInfo. This makes all the gi.CallableInfo methods
3815 available to gi.CallbackInfo for use from Python.
3817 gi/pygi-info.c | 4 ++--
3818 tests/test_repository.py | 7 +++++++
3819 2 files changed, 9 insertions(+), 2 deletions(-)
3821 commit 833f96807037e85445ac103d6fb6ad9c4fab65e4
3822 Author: Simon Feltman <sfeltman@src.gnome.org>
3823 Date: Fri May 2 21:36:25 2014 -0700
3827 Use infix 'not' instead of prefixed.
3828 Don't use double comments (##).
3829 Use space between comment and text.
3830 Un-comment tests that now work.
3831 Move broken (and won't fix) implicit int64 signal tests into
3832 a new skipped test function.
3834 gi/overrides/GIMarshallingTests.py | 4 ++--
3835 gi/overrides/Gio.py | 4 ++--
3836 gi/overrides/Gtk.py | 6 +++---
3838 pygtkcompat/pygtkcompat.py | 4 ++--
3839 tests/test_everything.py | 1 -
3840 tests/test_gi.py | 9 +++------
3841 tests/test_iochannel.py | 2 +-
3842 tests/test_option.py | 2 +-
3843 tests/test_signal.py | 28 +++++++++++++---------------
3844 10 files changed, 28 insertions(+), 34 deletions(-)
3846 commit 07af141dd8dcac551cb2e962f6bf338b3485006b
3847 Author: Simon Feltman <sfeltman@src.gnome.org>
3848 Date: Mon Apr 28 14:06:30 2014 -0700
3850 configure.ac: post release version bump to 3.13.2
3853 1 file changed, 1 insertion(+), 1 deletion(-)
3855 commit ba652c1fd9dbef6d3ff57e39b400ea827374a95e
3856 Author: Simon Feltman <sfeltman@src.gnome.org>
3857 Date: Mon Apr 28 14:00:59 2014 -0700
3861 NEWS | 14 ++++++++++++++
3862 1 file changed, 14 insertions(+)
3864 commit 3a2bfc8bf01fcae386355bc3652780e198e54d49
3865 Author: Christoph Reiter <reiter.christoph@gmail.com>
3866 Date: Mon Apr 14 23:33:52 2014 +0200
3868 Raise TypeError if arguments are passed to Boxed.__init__
3870 This is a partial revert of
3871 https://git.gnome.org/browse/pygobject/commit/?id=2f2069c9efcd8
3872 which removed a type check in __new__. This adds it back
3873 into __init__. Overrides which define __new__ now have to
3874 filter out any arguments in __init__ and not the other way
3875 around, which is a bit less surprising in the common case.
3877 https://bugzilla.gnome.org/show_bug.cgi?id=727810
3879 gi/overrides/GLib.py | 6 ++++++
3880 gi/overrides/Gtk.py | 6 ++++++
3881 gi/overrides/Pango.py | 3 +++
3882 gi/pygi-boxed.c | 6 ++++++
3883 tests/test_gi.py | 4 ++++
3884 5 files changed, 25 insertions(+)
3886 commit 906977047df2fb2f394410e4ebf360b69af8dcfe
3887 Author: Christoph Reiter <reiter.christoph@gmail.com>
3888 Date: Mon Apr 14 15:40:50 2014 +0200
3890 Gdk.Event: Override __setattr__ to set fields based on the event type
3892 Pass the setting of attributes through to the underlying union based
3893 on event type. This mirrors the logic in __getattr__.
3895 https://bugzilla.gnome.org/show_bug.cgi?id=727810
3897 gi/overrides/Gdk.py | 7 +++++++
3898 tests/test_overrides_gdk.py | 13 ++++++++++---
3899 2 files changed, 17 insertions(+), 3 deletions(-)
3901 commit 78a0508a4d40e3723b36297ba2d42889dabc1cdd
3902 Author: Christoph Reiter <reiter.christoph@gmail.com>
3903 Date: Mon Apr 14 13:06:02 2014 +0200
3905 Gdk.Event: Include GdkEventType in __repr__
3907 https://bugzilla.gnome.org/show_bug.cgi?id=727810
3909 gi/overrides/Gdk.py | 4 ++++
3910 tests/test_overrides_gdk.py | 4 ++++
3911 2 files changed, 8 insertions(+)
3913 commit 23965455f060793ffcbc0d8288527d41a667579c
3914 Author: Simon Feltman <sfeltman@src.gnome.org>
3915 Date: Mon Apr 14 15:10:01 2014 -0700
3917 Fix crash with type checking for GObject arguments
3919 Ensure we have a valid GObject before attempting to call g_type_is_a.
3920 Swap conditional blocks to make if condition more readable.
3922 https://bugzilla.gnome.org/show_bug.cgi?id=727604
3924 gi/pygi-object.c | 19 ++++++++++---------
3925 tests/test_object_marshaling.py | 35 +++++++++++++++++++++++++++++++++++
3926 2 files changed, 45 insertions(+), 9 deletions(-)
3928 commit 2e853f6a31636d6a26ce91eb30be5bb0326474b1
3929 Author: Paolo Borelli <pborelli@gnome.org>
3930 Date: Sun Mar 30 18:27:59 2014 +0200
3932 Do not leak info of destroy notify
3934 gi/pygi-closure.c | 11 ++++++-----
3935 1 file changed, 6 insertions(+), 5 deletions(-)
3937 commit f9e504c79c5ef6e1938e4db5b49115689b9f5c3c
3938 Author: Simon Feltman <sfeltman@src.gnome.org>
3939 Date: Fri Mar 28 19:51:58 2014 -0700
3941 configure.ac: Update PyGObject wiki link in AC_INIT
3944 1 file changed, 1 insertion(+), 1 deletion(-)
3946 commit ee84b5a2c83d88436aec6b62e7a271a3525569e0
3947 Author: Simon Feltman <sfeltman@src.gnome.org>
3948 Date: Mon Mar 24 18:57:56 2014 -0700
3950 Ignore GValueArray deprecations
3952 Wrap calls to GValueArray related calls with
3953 G_GNUC_BEGIN/END_IGNORE_DEPRECATIONS.
3954 Although GValueArray is deprecated, we still need to support the
3956 them in PyGObject. The deprecations add noise to the build processes
3958 new warnings could be lost. Essentially losing the element of surprise
3960 warning should have on maintainers.
3962 gi/pygi-value.c | 23 ++++++++++++++++++++---
3963 tests/testhelpermodule.c | 3 +++
3964 2 files changed, 23 insertions(+), 3 deletions(-)
3966 commit ac8b59ee335967efef974ab0aa89128ade9f3d0c
3967 Author: Simon Feltman <sfeltman@src.gnome.org>
3968 Date: Mon Mar 24 18:09:10 2014 -0700
3970 Raise ImportError when importing modules not found in repository
3972 Raise an ImportError with extra information noting the typelib was not
3973 found. This removes the need to log a similar message which adds
3975 noise when attempting controlled imports within try/except statements.
3976 In Python 2, the additional information is lost but in Python 3 it
3979 https://bugzilla.gnome.org/show_bug.cgi?id=726877
3981 gi/importer.py | 9 ++++-----
3982 tests/test_import_machinery.py | 18 ++++++++++++++++++
3983 2 files changed, 22 insertions(+), 5 deletions(-)
3985 commit e604ada06a8ef8f9a06f0638cf183cfeacdc63a9
3986 Author: Simon Feltman <sfeltman@src.gnome.org>
3987 Date: Mon Mar 24 18:04:27 2014 -0700
3989 tests: Rename test_overrides to test_import_machinery
3991 Rename this test to better suit the contents of the file. This
3993 us a more concise location to grow other tests related to import
3997 https://bugzilla.gnome.org/show_bug.cgi?id=726877
3999 tests/Makefile.am | 2 +-
4000 tests/{test_overrides.py => test_import_machinery.py} | 0
4001 2 files changed, 1 insertion(+), 1 deletion(-)
4003 commit a863e5ec0ac27de49a0ae261fd3a78745cfe84a0
4004 Author: Simon Feltman <sfeltman@src.gnome.org>
4005 Date: Mon Mar 24 04:39:47 2014 -0700
4007 HACKING: Update branch creation instructions to include -b
4010 1 file changed, 1 insertion(+), 1 deletion(-)
4012 commit 1012cfd58c1d41dd6b040a2d14f395e5578f5e79
4013 Author: Simon Feltman <sfeltman@src.gnome.org>
4014 Date: Mon Mar 24 04:35:52 2014 -0700
4016 configure.ac: post release version bump to 3.13.1
4018 configure.ac | 4 ++--
4019 1 file changed, 2 insertions(+), 2 deletions(-)
4021 commit 45eda91eac2f6c8ab1a5c38808f96de760196e90
4022 Author: Simon Feltman <sfeltman@src.gnome.org>
4023 Date: Mon Mar 24 03:35:21 2014 -0700
4028 1 file changed, 2 insertions(+)
4030 commit 70020e9934abb39cbccfa49e582fb838465c0490
4031 Author: Simon Feltman <sfeltman@src.gnome.org>
4032 Date: Mon Mar 24 03:05:16 2014 -0700
4034 pre-release version bump to 3.12.0
4036 configure.ac | 4 ++--
4037 1 file changed, 2 insertions(+), 2 deletions(-)
4039 commit a9a08a0c11e8802cce539f869ea93e1b729e829e
4040 Author: Simon Feltman <sfeltman@src.gnome.org>
4041 Date: Mon Mar 17 15:17:12 2014 -0700
4043 configure.ac: post release version bump to 3.11.93
4046 1 file changed, 1 insertion(+), 1 deletion(-)
4048 commit 7283d50de8413e9450820543d0d8fd43e6c24b27
4049 Author: Simon Feltman <sfeltman@src.gnome.org>
4050 Date: Mon Mar 17 15:12:33 2014 -0700
4055 1 file changed, 6 insertions(+)
4057 commit b3b1f38af1ac1bda9d6a3ba50e9b6fa37ae48d96
4058 Author: Simon Feltman <sfeltman@src.gnome.org>
4059 Date: Mon Mar 17 14:55:52 2014 -0700
4061 configure.ac: Remove option to build without libffi
4063 We've always had a hard dependency on libffi headers.
4064 Commit 5798f94b6a727b93 added a direct module dependency on libffi
4065 instead of indirect via GI. Remove the option to build without libffi.
4067 configure.ac | 21 +++------------------
4068 1 file changed, 3 insertions(+), 18 deletions(-)
4070 commit 1a2438497ffc445fe3f9da06b15085f29317c4ee
4071 Author: Simon Feltman <sfeltman@src.gnome.org>
4072 Date: Sat Mar 15 00:50:14 2014 -0700
4074 docs: Standardize Python doc strings
4076 Use consistent doc string quotations (three double quotes).
4077 Update usage of GObject.GObject in docs to GObject.Object.
4078 Use reStructuredText markup for parameter annotations, instance
4080 admonitions, and code examples.
4081 This allows for better Sphinx documentation generation for the
4083 Preliminary style guide:
4084 https://wiki.gnome.org/Projects/PyGObject/StyleGuide
4086 gi/_option.py | 67 +++++++++++++++------------
4087 gi/_propertyhelper.py | 86 +++++++++++++++++-----------------
4088 gi/_signalhelper.py | 117
4089 ++++++++++++++++++++++++-----------------------
4090 gi/docstring.py | 17 ++++---
4091 gi/glibmodule.c | 3 +-
4092 gi/overrides/GLib.py | 20 ++++----
4093 gi/overrides/GObject.py | 39 ++++++++++------
4094 gi/overrides/Gtk.py | 28 ++++++++----
4095 gi/overrides/__init__.py | 66 +++++++++++++-------------
4097 10 files changed, 242 insertions(+), 203 deletions(-)
4099 commit 2d268ef661badabcb63e696dab01857d57cb3371
4100 Author: Simon Feltman <sfeltman@src.gnome.org>
4101 Date: Sat Mar 15 00:49:00 2014 -0700
4103 Quote argument names in initializer deprecation warning
4105 Add quotation marks around names of deprecated positional arguments.
4106 This makes the message clearer in stating what has been deprecated
4107 in cases when only a single argument is displayed.
4109 gi/overrides/__init__.py | 2 +-
4110 tests/test_gi.py | 6 +++---
4111 2 files changed, 4 insertions(+), 4 deletions(-)
4113 commit a070e712526e433c236753813acc3ef300f0d203
4114 Author: Simon Feltman <sfeltman@src.gnome.org>
4115 Date: Sat Mar 15 00:35:03 2014 -0700
4117 docs: Ignore meta-class bases in dynamic docstring generation
4119 Skip attempts at generating a doc string for GObject meta-class bases
4120 since they do not contain an __info__ attribute.
4121 This circumvents errors with documentation generators (Sphinx).
4123 gi/types.py | 7 ++++++-
4124 1 file changed, 6 insertions(+), 1 deletion(-)
4126 commit ec44dea6bbc3f1adfb6c1a2781364a2df0d0e0e6
4127 Author: Simon Feltman <sfeltman@src.gnome.org>
4128 Date: Thu Mar 13 10:13:34 2014 -0700
4130 Update Free Software Foundation addresses
4132 Update all references to the FSF physical address
4133 to use the web address: http://www.gnu.org/licenses
4135 gi/_constants.py | 4 +---
4136 gi/_gobject/__init__.py | 4 +---
4137 gi/_option.py | 4 +---
4138 gi/_propertyhelper.py | 4 +---
4139 gi/_signalhelper.py | 4 +---
4140 gi/glibmodule.c | 4 +---
4141 gi/gobjectmodule.c | 4 +---
4142 gi/overrides/keysyms.py | 4 +---
4143 gi/pygboxed.c | 4 +---
4144 gi/pygboxed.h | 4 +---
4145 gi/pygenum.c | 4 +---
4146 gi/pygenum.h | 4 +---
4147 gi/pygflags.c | 4 +---
4148 gi/pygflags.h | 4 +---
4149 gi/pygi-argument.c | 4 +---
4150 gi/pygi-argument.h | 4 +---
4151 gi/pygi-boxed.c | 4 +---
4152 gi/pygi-boxed.h | 4 +---
4153 gi/pygi-cache.c | 4 +---
4154 gi/pygi-cache.h | 4 +---
4155 gi/pygi-ccallback.c | 4 +---
4156 gi/pygi-ccallback.h | 4 +---
4157 gi/pygi-info.c | 4 +---
4158 gi/pygi-info.h | 4 +---
4159 gi/pygi-invoke.c | 4 +---
4160 gi/pygi-invoke.h | 4 +---
4161 gi/pygi-marshal-cleanup.c | 4 +---
4162 gi/pygi-marshal-cleanup.h | 4 +---
4163 gi/pygi-repository.c | 4 +---
4164 gi/pygi-repository.h | 4 +---
4165 gi/pygi-signal-closure.c | 4 +---
4166 gi/pygi-struct.c | 4 +---
4167 gi/pygi-struct.h | 4 +---
4168 gi/pygi-type.c | 4 +---
4169 gi/pygi-type.h | 4 +---
4171 gi/pyginterface.c | 4 +---
4172 gi/pyginterface.h | 4 +---
4173 gi/pyglib-private.h | 4 +---
4174 gi/pyglib-python-compat.h | 4 +---
4175 gi/pyglib.c | 4 +---
4176 gi/pyglib.h | 4 +---
4177 gi/pygobject-external.h | 4 +---
4178 gi/pygobject.c | 4 +---
4179 gi/pygoptioncontext.c | 4 +---
4180 gi/pygoptioncontext.h | 4 +---
4181 gi/pygoptiongroup.c | 4 +---
4182 gi/pygoptiongroup.h | 4 +---
4183 gi/pygparamspec.c | 4 +---
4184 gi/pygparamspec.h | 4 +---
4185 gi/pygpointer.c | 4 +---
4186 gi/pygpointer.h | 4 +---
4187 gi/pygspawn.c | 4 +---
4188 gi/pygspawn.h | 4 +---
4189 gi/pygtype.c | 4 +---
4190 gi/pygtype.h | 4 +---
4191 pygtkcompat/generictreemodel.py | 4 +---
4192 tests/test_generictreemodel.py | 4 +---
4193 58 files changed, 58 insertions(+), 174 deletions(-)
4195 commit bbfcebdfdc5e574999221b60520422ea6da82435
4196 Author: Owen W. Taylor <otaylor@fishsoup.net>
4197 Date: Wed Mar 12 18:32:47 2014 -0400
4199 Handle GI_TRANSFER_EVERYTHING for returns of foreign structures
4201 Any (transfer full) return of a cairo type other than a path
4204 Pass the transfer type PyGIArgOverrideFromGIArgumentFunc and handle
4205 it for the cairo foreign type. For paths we can only handle
4206 (transfer full) so throw an error for (transfer none).
4208 https://bugzilla.gnome.org/show_bug.cgi?id=726206
4210 gi/pygi-foreign-cairo.c | 32 +++++++++++++++++++++++++-------
4211 gi/pygi-foreign.c | 3 ++-
4212 gi/pygi-foreign.h | 1 +
4213 gi/pygi-invoke.c | 1 +
4214 gi/pygi-struct-marshal.c | 1 +
4216 6 files changed, 31 insertions(+), 8 deletions(-)
4218 commit c5b641cb4eea9ae64a173dcaa4ee5a4accb036f6
4219 Author: Simon Feltman <sfeltman@src.gnome.org>
4220 Date: Mon Mar 3 15:20:02 2014 -0800
4222 configure.ac: post release version bump to 3.11.92
4225 1 file changed, 1 insertion(+), 1 deletion(-)
4227 commit 7816531691a3db3ae1fe74abc85ac37988b67d2b
4228 Author: Simon Feltman <sfeltman@src.gnome.org>
4229 Date: Mon Mar 3 15:16:43 2014 -0800
4234 1 file changed, 7 insertions(+)
4236 commit 1a63a04eaf2a77c1752b90e80ab571677f27ac3d
4237 Author: Simon Feltman <sfeltman@src.gnome.org>
4238 Date: Mon Mar 3 06:49:09 2014 -0800
4240 build: Update release-news to use srcdir
4242 Use $(top_srcdir)/NEWS for pulling in news items to ensure
4243 "make release-news" works in a vpath build environment.
4246 1 file changed, 1 insertion(+), 1 deletion(-)
4248 commit 5798f94b6a727b930b07fe840b0aef264f98a80e
4249 Author: Simon Feltman <sfeltman@src.gnome.org>
4250 Date: Fri Feb 7 20:16:21 2014 -0800
4252 Use ffi_call directly instead of g_callable_info_invoke
4254 Cleanup internal callable cache and state tracking by removing
4256 counting schemes for differently sized "in" and "out" argument arrays.
4257 Use a single count based on the total number of arguments passed to C
4258 (inclusive of instance argument and GError exception where
4260 Size all state tracking arrays to the same size and ensure argument
4262 indices always line up with these arrays. This cleans up logic
4264 required by g_callable_info_invoke for splitting "in" and "out"
4268 Cleanup array marshaling which can now rely on the new scheme
4270 the "arg_values" array always points to the correct location for
4274 Cache the ffi_cif struct in PyGICallableCache via GIFunctionInvoker
4276 related GI methods. Overall, these changes can give a performance
4278 almost 2x for simple function calls (see ticket for micro benchmarks).
4280 https://bugzilla.gnome.org/show_bug.cgi?id=723642
4282 gi/pygi-array.c | 26 ++---
4283 gi/pygi-cache.c | 61 +++++++++--
4284 gi/pygi-cache.h | 10 +-
4285 gi/pygi-ccallback.c | 3 +-
4286 gi/pygi-closure.c | 6 +-
4287 gi/pygi-invoke-state-struct.h | 42 +++++---
4288 gi/pygi-invoke.c | 241
4289 +++++++++++++++++++++++-------------------
4290 gi/pygi-invoke.h | 2 +-
4291 gi/pygi-marshal-cleanup.c | 4 +-
4292 9 files changed, 230 insertions(+), 165 deletions(-)
4294 commit ad680ae9c37a0091628a7d66010fbf70aa1a2e43
4295 Author: Simon Feltman <sfeltman@src.gnome.org>
4296 Date: Mon Mar 3 04:51:09 2014 -0800
4298 tests: Move class definition depending on GTK+ within function
4301 Move the definition of WindowWithSizeAllocOverride inside of the test
4302 function call to so it is lazily defined. This avoids problems
4304 on systems without GTK+ installed.
4306 tests/test_overrides_gtk.py | 32 ++++++++++++++++----------------
4307 1 file changed, 16 insertions(+), 16 deletions(-)
4309 commit 45d45e7c2704d68a3008f739e501fa332d326b8b
4310 Author: Simon Feltman <sfeltman@src.gnome.org>
4311 Date: Mon Mar 3 04:45:59 2014 -0800
4313 tests: Conditionalize usage of GTK+ in tests_generictreemodel
4315 This allows running make check without GTK+ installed.
4317 tests/test_generictreemodel.py | 16 +++++++++++++---
4318 1 file changed, 13 insertions(+), 3 deletions(-)
4320 commit 038563ed620e0d966e385a1779455d9b0e148c41
4321 Author: Simon Feltman <sfeltman@src.gnome.org>
4322 Date: Mon Mar 3 04:39:35 2014 -0800
4324 tests: Conditionalize usage of regress typelib in test_properties
4326 Unconditional usage of regress breaks tests when PyGObject is
4330 tests/test_properties.py | 27 +++++++++++++++++----------
4331 1 file changed, 17 insertions(+), 10 deletions(-)
4333 commit 1fa93ddc51b2d223d772aee7930fc96c0ced0e00
4334 Author: Simon Feltman <sfeltman@src.gnome.org>
4335 Date: Mon Mar 3 02:44:12 2014 -0800
4337 configure.ac: Use -std=c90 and error on declaration-after-statement
4339 Replace gcc option of -std=c9x with c90 and add
4340 -Werror=declaration-after-statement
4341 This ensures we keep compatibility with msvc builds.
4343 configure.ac | 3 ++-
4344 1 file changed, 2 insertions(+), 1 deletion(-)
4346 commit cee414ab5725c51d79a2c6aa1e8760e9fd754545
4347 Author: Simon Feltman <sfeltman@src.gnome.org>
4348 Date: Mon Mar 3 02:38:30 2014 -0800
4350 Use g_snprintf instead of snprintf
4352 Use g_snprintf for consistency with the rest of gobjectmodule.c
4354 gi/gobjectmodule.c | 2 +-
4355 1 file changed, 1 insertion(+), 1 deletion(-)
4357 commit b016ae6793839b2a6a00a69d00de30937bc611be
4358 Author: Simon Feltman <sfeltman@src.gnome.org>
4359 Date: Thu Feb 27 04:27:41 2014 -0800
4361 Use C style comments
4363 Update various locations which use C99 single line comments to
4365 C90 style comments. Found with: make CFLAGS="-std=C90"
4367 gi/gimodule.c | 2 +-
4368 gi/pygi-array.c | 3 ++-
4369 gi/pygi-property.c | 2 +-
4371 4 files changed, 5 insertions(+), 4 deletions(-)
4373 commit df7cba1495c167f1019dec7f4398dc5de62a5937
4374 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
4375 Date: Tue Feb 25 14:38:41 2014 +0800
4377 Fix Build on Visual Studio
4379 Some items from pygi-enum-marshal.c were moved to pygi-basictype.c,
4381 included the use of the NAN and INFINITY macros/constants, so the
4382 definitions for those need to be moved to pygi-basictype.c as well.
4384 avoid defining a variable in the middle of the block.
4386 https://bugzilla.gnome.org/show_bug.cgi?id=725122
4388 gi/pygi-basictype.c | 16 ++++++++++++++++
4389 gi/pygi-cache.c | 3 ++-
4390 gi/pygi-enum-marshal.c | 16 ----------------
4391 3 files changed, 18 insertions(+), 17 deletions(-)
4393 commit bb5550bc85ac0ff60ea39912416e347f27853fb4
4394 Author: Simon Feltman <sfeltman@src.gnome.org>
4395 Date: Mon Feb 17 17:22:40 2014 -0800
4397 Update release steps to be more explicit in regards to NEWS
4399 Add an explicit step to commit the NEWS changes and push prior
4402 HACKING | 11 ++++++-----
4403 1 file changed, 6 insertions(+), 5 deletions(-)
4405 commit c6ac95286bce858f1925a9d6173a91866d7e9f88
4406 Author: Simon Feltman <sfeltman@src.gnome.org>
4407 Date: Mon Feb 17 17:18:10 2014 -0800
4409 configure.ac: post release version bump to 3.11.91
4412 1 file changed, 1 insertion(+), 1 deletion(-)
4414 commit f87e341c5528d066371d4ec493956db28dd0bafa
4415 Author: Simon Feltman <sfeltman@src.gnome.org>
4416 Date: Mon Feb 17 17:08:13 2014 -0800
4421 1 file changed, 4 insertions(+)
4423 commit 9b345b153e86ca6c9b7290cf2ad3b38f6ad9d0e5
4424 Author: Simon Feltman <sfeltman@src.gnome.org>
4425 Date: Wed Feb 12 10:28:35 2014 -0800
4427 Use GObject type checking for instance arguments
4429 Add a g_type_is_a check to interface/object instance arguments
4431 to the Python IsInstance check. This loosens restrictions on
4433 don't use gi.overrides.override() and is needed to keep API
4435 which broke with commit:
4436 https://git.gnome.org/browse/pygobject/commit/?id=d5925b76
4438 https://bugzilla.gnome.org/show_bug.cgi?id=724009
4440 gi/pygi-object.c | 6 +++++-
4441 1 file changed, 5 insertions(+), 1 deletion(-)
4443 commit 419e13e1717b725d5c6815bae9672649b0afddd4
4444 Author: Simon Feltman <sfeltman@src.gnome.org>
4445 Date: Mon Feb 3 15:58:30 2014 -0800
4447 configure.ac: post release version bump to 3.11.90
4450 1 file changed, 1 insertion(+), 1 deletion(-)
4452 commit 57bceaac1d84ffd03f49d8e83a4c8507c9127a41
4453 Author: Simon Feltman <sfeltman@src.gnome.org>
4454 Date: Mon Feb 3 15:51:27 2014 -0800
4458 NEWS | 16 ++++++++++++++++
4459 1 file changed, 16 insertions(+)
4461 commit 058d944e3b9ef9157e912e6374b54a2eb5f7f5d1
4462 Author: Simon Feltman <sfeltman@src.gnome.org>
4463 Date: Mon Feb 3 06:45:09 2014 -0800
4465 Restore pygobject_version API needed for pygobject.h
4467 Add gi._gobject.pygobject_version which was removed with commit:
4468 https://git.gnome.org/browse/pygobject/commit/?id=2624bd2b
4469 This is needed for pygobject.h to function properly.
4471 gi/_gobject/__init__.py | 1 +
4472 1 file changed, 1 insertion(+)
4474 commit f3be4cedcb1d395a3fabee95d7460bce86268153
4475 Author: Simon Feltman <sfeltman@src.gnome.org>
4476 Date: Mon Feb 3 06:29:07 2014 -0800
4478 cache refactoring: Add comments to arg cache setup functions
4480 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4482 gi/pygi-cache.c | 36 ++++++++++++++++++++++++++++++++++++
4483 1 file changed, 36 insertions(+)
4485 commit 56ac6bd9ed99d6bb2cb8641581a594105036be68
4486 Author: Simon Feltman <sfeltman@src.gnome.org>
4487 Date: Mon Feb 3 06:24:18 2014 -0800
4489 cache refactoring: Use consistent prefix for arg cache functions
4491 Use "pygi_arg_cache" as the prefix for arg cache memory related
4494 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4496 gi/pygi-array.c | 6 ++--
4497 gi/pygi-basictype.c | 4 +--
4498 gi/pygi-cache.c | 74
4499 ++++++++++++++++++++++++------------------------
4500 gi/pygi-cache.h | 58 ++++++++++++++++++++-----------------
4501 gi/pygi-ccallback.c | 2 +-
4502 gi/pygi-closure.c | 6 ++--
4503 gi/pygi-enum-marshal.c | 4 +--
4504 gi/pygi-error.c | 4 +--
4505 gi/pygi-hashtable.c | 30 ++++++++++----------
4506 gi/pygi-info.c | 2 +-
4507 gi/pygi-invoke.c | 2 +-
4508 gi/pygi-list.c | 2 +-
4509 gi/pygi-object.c | 2 +-
4510 gi/pygi-struct-marshal.c | 2 +-
4511 14 files changed, 102 insertions(+), 96 deletions(-)
4513 commit 204f5a187782c5325ed6bed96c9a940f3aa67d04
4514 Author: Simon Feltman <sfeltman@src.gnome.org>
4515 Date: Sun Jan 12 12:26:30 2014 -0800
4517 marshal refactoring: Move GValue marshaling from pytype into
4520 Move marshaling of GValues to and from PyObjects into
4522 PyGTypeMarshal struct and related functions accessible via pygtype.h.
4524 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4526 gi/gobjectmodule.c | 2 +
4527 gi/pygi-struct-marshal.c | 1 +
4528 gi/pygi-value.c | 720
4529 +++++++++++++++++++++++++++++++++++++++++++++-
4530 gi/pygi-value.h | 12 +
4531 gi/pygobject-private.h | 16 --
4532 gi/pygobject.c | 2 +-
4534 +----------------------------------------------
4535 gi/pygtype.h | 17 ++
4536 8 files changed, 757 insertions(+), 741 deletions(-)
4538 commit b8120d848dc5d36832123b1a913015f6e1fd8cdc
4539 Author: Simon Feltman <sfeltman@src.gnome.org>
4540 Date: Sun Jan 12 11:41:20 2014 -0800
4542 marshal refactoring: Move GIArgument from GValue code to new file
4544 Add gi/pygi-value.h and .c files with initial contents of
4545 _pygi_argument_from_g_value. Eventually this file will contain
4547 related to GValue marshaling from various code locations in the
4550 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4552 gi/Makefile.am | 2 +
4553 gi/pygi-argument.c | 126 +----------------------------------------
4554 gi/pygi-argument.h | 3 -
4555 gi/pygi-signal-closure.c | 1 +
4556 gi/pygi-value.c | 144
4557 +++++++++++++++++++++++++++++++++++++++++++++++
4558 gi/pygi-value.h | 32 +++++++++++
4559 6 files changed, 180 insertions(+), 128 deletions(-)
4561 commit c2d5857e9b964427190e1230be32ae7919e86bc0
4562 Author: Simon Feltman <sfeltman@src.gnome.org>
4563 Date: Sat Oct 12 21:26:55 2013 -0700
4565 cache refactoring: Move enum and flags arg setup and marshaling to
4568 Move enum and flags argument cache setup and marshaling fragments into
4569 isolated file: pygi-enum-marshal.c. Remove pygi-marshal-from/to files.
4571 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4573 gi/Makefile.am | 6 +-
4574 gi/pygi-argument.c | 2 -
4575 gi/pygi-cache.c | 74 ++-------
4576 gi/pygi-enum-marshal.c | 408
4577 ++++++++++++++++++++++++++++++++++++++++++++++
4578 gi/pygi-enum-marshal.h | 42 +++++
4579 gi/pygi-marshal-from-py.c | 206 -----------------------
4580 gi/pygi-marshal-from-py.h | 57 -------
4581 gi/pygi-marshal-to-py.c | 152 -----------------
4582 gi/pygi-marshal-to-py.h | 34 ----
4583 9 files changed, 464 insertions(+), 517 deletions(-)
4585 commit 1d0f120d77582509b4e75d83f500a1ace7ed6421
4586 Author: Simon Feltman <sfeltman@src.gnome.org>
4587 Date: Sat Oct 12 20:00:12 2013 -0700
4589 cache refactoring: Move various struct arg setup and marshaling to
4592 Move struct (boxed, union, gvalue, gclosure, variant, and pointer)
4594 cache setup and marshaling fragments into isolated file:
4595 pygi-struct-marshal.c.
4596 Remove redundant and dead code related to boxed and union marshaling.
4598 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4600 gi/Makefile.am | 2 +
4601 gi/pygi-argument.c | 1 +
4602 gi/pygi-array.c | 3 +
4603 gi/pygi-cache.c | 72 +------
4604 gi/pygi-cache.h | 1 +
4605 gi/pygi-marshal-cleanup.c | 48 -----
4606 gi/pygi-marshal-cleanup.h | 16 --
4607 gi/pygi-marshal-from-py.c | 288 --------------------------
4608 gi/pygi-marshal-from-py.h | 33 ---
4609 gi/pygi-marshal-to-py.c | 120 -----------
4610 gi/pygi-marshal-to-py.h | 27 ---
4611 gi/pygi-object.c | 2 +-
4612 gi/pygi-struct-marshal.c | 516
4613 ++++++++++++++++++++++++++++++++++++++++++++++
4614 gi/pygi-struct-marshal.h | 73 +++++++
4615 14 files changed, 607 insertions(+), 595 deletions(-)
4617 commit 4dcaa2b988239e01224994098c3e7cbe8b455fe0
4618 Author: Simon Feltman <sfeltman@src.gnome.org>
4619 Date: Sat Oct 12 16:40:58 2013 -0700
4621 cache refactoring: Move GObject arg setup and marshaling into new file
4623 Move GObject argument cache setup and marshaling fragments into
4624 isolated file: pygi-object.c.
4625 Break GIInterfaceCache creation and setup into API for interface based
4626 argument cache usage.
4628 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4630 gi/Makefile.am | 2 +
4631 gi/pygi-argument.c | 7 +-
4632 gi/pygi-cache.c | 183 ++++++++++++++-----------------
4633 gi/pygi-cache.h | 7 ++
4634 gi/pygi-marshal-cleanup.c | 27 -----
4635 gi/pygi-marshal-cleanup.h | 10 --
4636 gi/pygi-marshal-from-py.c | 123 ---------------------
4637 gi/pygi-marshal-from-py.h | 12 --
4638 gi/pygi-marshal-to-py.c | 31 ------
4639 gi/pygi-marshal-to-py.h | 8 --
4640 gi/pygi-object.c | 273
4641 ++++++++++++++++++++++++++++++++++++++++++++++
4642 gi/pygi-object.h | 46 ++++++++
4643 12 files changed, 416 insertions(+), 313 deletions(-)
4645 commit 2cddba811592fbb990322fbf2dce516ffd7e94cd
4646 Author: Simon Feltman <sfeltman@src.gnome.org>
4647 Date: Sat Oct 12 12:39:20 2013 -0700
4649 cache refactoring: Move closure setup and marshaling into pygi-closure
4651 Move closure argument caching and marshaling fragments into
4654 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4656 gi/pygi-cache.c | 111 ++--------------
4657 gi/pygi-cache.h | 9 --
4658 gi/pygi-closure.c | 314
4659 +++++++++++++++++++++++++++++++++++++++++++++-
4660 gi/pygi-closure.h | 13 +-
4661 gi/pygi-marshal-cleanup.c | 14 ---
4662 gi/pygi-marshal-cleanup.h | 5 -
4663 gi/pygi-marshal-from-py.c | 160 -----------------------
4664 gi/pygi-marshal-from-py.h | 6 -
4665 gi/pygi-marshal-to-py.c | 13 --
4666 gi/pygi-marshal-to-py.h | 4 -
4667 10 files changed, 333 insertions(+), 316 deletions(-)
4669 commit 18d8274724484a27e05d2e60baac1f20c72b6d2b
4670 Author: Simon Feltman <sfeltman@src.gnome.org>
4671 Date: Sat Oct 12 11:30:36 2013 -0700
4673 cache refactoring: Move GError arg setup and marshaling to new file
4675 Move GError argument caching and marshaling fragments into
4676 isolated file: pygi-error.c.
4678 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4680 gi/Makefile.am | 2 +
4681 gi/pygi-cache.c | 93 ++++++++++++---------------------------
4682 gi/pygi-error.c | 109
4683 ++++++++++++++++++++++++++++++++++++++++++++++
4684 gi/pygi-error.h | 35 +++++++++++++++
4685 gi/pygi-marshal-from-py.c | 13 ------
4686 gi/pygi-marshal-from-py.h | 6 ---
4687 gi/pygi-marshal-to-py.c | 22 ----------
4688 gi/pygi-marshal-to-py.h | 4 --
4689 8 files changed, 174 insertions(+), 110 deletions(-)
4691 commit c45cafd07fc62ad545f3e58f2b7350ee4b2bb9b7
4692 Author: Simon Feltman <sfeltman@src.gnome.org>
4693 Date: Sat Oct 12 03:07:53 2013 -0700
4695 cache refactoring: Move GArray arg setup and marshaling into new file
4697 Move GArray argument caching and marshaling fragments into an
4698 isolated file: pygi-array.c.
4700 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4702 gi/Makefile.am | 2 +
4703 gi/pygi-array.c | 906
4704 ++++++++++++++++++++++++++++++++++++++++++++++
4705 gi/pygi-array.h | 42 +++
4706 gi/pygi-cache.c | 236 +-----------
4707 gi/pygi-marshal-cleanup.c | 150 --------
4708 gi/pygi-marshal-cleanup.h | 10 -
4709 gi/pygi-marshal-from-py.c | 354 ------------------
4710 gi/pygi-marshal-from-py.h | 6 -
4711 gi/pygi-marshal-to-py.c | 210 -----------
4712 gi/pygi-marshal-to-py.h | 4 -
4713 10 files changed, 963 insertions(+), 957 deletions(-)
4715 commit 4697a3793b46a803c6dbef749ba75c0fee80020d
4716 Author: Simon Feltman <sfeltman@src.gnome.org>
4717 Date: Fri Oct 11 23:26:08 2013 -0700
4719 cache refactoring: Move GList/GSList arg setup and marshaling into
4722 Move GList and GSList argument caching and marshaling fragments
4724 isolated file: pygi-list.c.
4726 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4728 gi/Makefile.am | 2 +
4729 gi/pygi-cache.c | 71 ++-----
4730 gi/pygi-list.c | 466
4731 ++++++++++++++++++++++++++++++++++++++++++++++
4732 gi/pygi-list.h | 38 ++++
4733 gi/pygi-marshal-cleanup.c | 80 --------
4734 gi/pygi-marshal-cleanup.h | 10 -
4735 gi/pygi-marshal-from-py.c | 156 ----------------
4736 gi/pygi-marshal-from-py.h | 12 --
4737 gi/pygi-marshal-to-py.c | 98 ----------
4738 gi/pygi-marshal-to-py.h | 8 -
4739 10 files changed, 517 insertions(+), 424 deletions(-)
4741 commit c48ddacf4479d2cf80beb9c614cdce2a61599b3b
4742 Author: Simon Feltman <sfeltman@src.gnome.org>
4743 Date: Fri Oct 11 21:30:45 2013 -0700
4745 cache refactoring: Break sequence cache up for array vs list
4747 Add new arg cache type specialized for arrays. This cleans up
4749 sequence cache type which does not need length and size related
4751 fixed length checks from GList and GSList from_py marshaling
4755 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4757 gi/pygi-cache.c | 160
4758 +++++++++++++++++++++++++++++++++++-----------
4759 gi/pygi-cache.h | 16 ++++-
4760 gi/pygi-invoke.c | 4 +-
4761 gi/pygi-marshal-cleanup.c | 28 ++++----
4762 gi/pygi-marshal-from-py.c | 37 ++++-------
4763 gi/pygi-marshal-to-py.c | 23 +++----
4764 6 files changed, 177 insertions(+), 91 deletions(-)
4766 commit c1a2a86a7b51f4dc5a5da9f8808552c38acadf9d
4767 Author: Simon Feltman <sfeltman@src.gnome.org>
4768 Date: Fri Oct 11 20:12:01 2013 -0700
4770 cache refactoring: Move basic type arg setup and marshaling into
4773 Move all basic type arg caching and marshaling fragments into
4775 file where most functions are made static. pygi-basictype.h exposes:
4776 pygi_arg_basic_type_new_from_info, _pygi_marshal_from_py_basic_type,
4778 _pygi_marshal_to_py_basic_type which allows continued use for all
4782 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4784 gi/Makefile.am | 2 +
4785 gi/pygi-argument.c | 1 +
4786 gi/pygi-basictype.c | 824
4787 ++++++++++++++++++++++++++++++++++++++++++++++
4788 gi/pygi-basictype.h | 42 +++
4789 gi/pygi-cache.c | 82 +----
4790 gi/pygi-cache.h | 1 +
4791 gi/pygi-marshal-cleanup.c | 26 --
4792 gi/pygi-marshal-cleanup.h | 10 -
4793 gi/pygi-marshal-from-py.c | 478 ---------------------------
4794 gi/pygi-marshal-from-py.h | 18 -
4795 gi/pygi-marshal-to-py.c | 155 ---------
4796 gi/pygi-marshal-to-py.h | 11 -
4797 12 files changed, 880 insertions(+), 770 deletions(-)
4799 commit 4a6bf3be49cc5aec7287c41ec02c78d60df1d44c
4800 Author: Simon Feltman <sfeltman@src.gnome.org>
4801 Date: Fri Oct 11 17:39:31 2013 -0700
4803 cache refactoring: Move PyGIHashCache and related marshaling into
4806 Re-organize hash table arg cache and its marshaling by moving all
4807 related code fragments into an isolated file where most of it is made
4808 static. pygi-hashtable.h exposes a single function:
4809 pygi_arg_hash_table_new_from_info. This is all the caching system
4811 produce the proper bits for handling hash table marshaling.
4813 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4815 gi/Makefile.am | 4 +-
4816 gi/pygi-cache.c | 103 +-----------
4817 gi/pygi-cache.h | 21 ++-
4818 gi/pygi-hashtable.c | 413
4819 ++++++++++++++++++++++++++++++++++++++++++++++
4820 gi/pygi-hashtable.h | 35 ++++
4821 gi/pygi-marshal-cleanup.c | 63 -------
4822 gi/pygi-marshal-cleanup.h | 10 --
4823 gi/pygi-marshal-from-py.c | 125 --------------
4824 gi/pygi-marshal-from-py.h | 6 -
4825 gi/pygi-marshal-to-py.c | 85 ----------
4826 gi/pygi-marshal-to-py.h | 4 -
4827 11 files changed, 471 insertions(+), 398 deletions(-)
4829 commit 983d0c2252f91e63d5fa0222ef2b67722cb97434
4830 Author: Simon Feltman <sfeltman@src.gnome.org>
4831 Date: Fri Oct 11 15:49:32 2013 -0700
4833 cache refactoring: Separate ArgCache creation and setup
4835 Move PyGIArgCache and PyGIInterfaceCache generic setup into standalone
4836 functions: pygi_arg_base_setup and pygi_arg_interface_setup
4838 Shift argument order and move arguments which will eventually
4840 from the signature into the tail with comment. Isolate special
4842 GI_INFO_TYPE_CALLBACK ArgCache creation to a single location in
4843 _arg_cache_new_for_interface.
4845 https://bugzilla.gnome.org/show_bug.cgi?id=709700
4847 gi/pygi-cache.c | 263
4848 ++++++++++++++++++++++++++++++++------------------------
4849 gi/pygi-cache.h | 15 ++++
4850 2 files changed, 167 insertions(+), 111 deletions(-)
4852 commit 0af98aca40fe266d1fd93caaa7256bb92ba1d3e4
4853 Author: Simon Feltman <sfeltman@src.gnome.org>
4854 Date: Sun Feb 2 15:52:24 2014 -0800
4856 tests: Add skip and expectedFailure to test_gi.test_callback_owned_box
4858 https://bugzilla.gnome.org/show_bug.cgi?id=722899
4860 tests/test_gi.py | 3 +++
4861 1 file changed, 3 insertions(+)
4863 commit e79d2acc54c1e3b052835de5de20feb0b7069476
4864 Author: Mike Gorse <mgorse@suse.com>
4865 Date: Fri Jan 24 05:17:06 2014 -0600
4867 tests: Add test for an owned boxed struct passed in a callback
4869 https://bugzilla.gnome.org/show_bug.cgi?id=722899
4871 tests/test_gi.py | 11 +++++++++++
4872 1 file changed, 11 insertions(+)
4874 commit b12ceed8cc5fa398cea2061813aac6a5ba100b6f
4875 Author: Simon Feltman <sfeltman@src.gnome.org>
4876 Date: Thu Jan 23 17:19:12 2014 -0800
4878 Rename gi.types.GIObjectMeta to gi.types.GObjectMeta
4880 Rename GIObjectMeta to GObjectMeta reverting it to its original
4882 to commit https://git.gnome.org/browse/pygobject/commit/?id=2624bd2b
4883 That change could have been considered an API break for anyone
4885 gi.types.GObjectMeta since it is essentially public API. Rename
4887 class to _GObjectMetaBase which was previously gi._gobject before
4888 commit 2624bd2b (private API).
4890 gi/module.py | 8 ++++----
4891 gi/types.py | 10 +++++-----
4892 2 files changed, 9 insertions(+), 9 deletions(-)
4894 commit 15fdd827ce4bff847fb35c817c6ea2d3650eec00
4895 Author: Patrick Welche <prlw1@cam.ac.uk>
4896 Date: Thu Jan 23 23:49:51 2014 +0000
4898 build: Add --without-common configure option for package maintainers
4900 https://bugzilla.gnome.org/show_bug.cgi?id=721646
4903 configure.ac | 7 +++++++
4904 gi/Makefile.am | 2 ++
4905 3 files changed, 11 insertions(+)
4907 commit df21dbbc84fa319af2a0f0664de436ca30df616e
4908 Author: Simon Feltman <sfeltman@src.gnome.org>
4909 Date: Thu Jan 16 16:33:41 2014 -0800
4911 tests: Add skipped test for GLib.Source inheritance problems
4913 Add test showing memory problems with sub-classes of GLib.Source.
4915 https://bugzilla.gnome.org/show_bug.cgi?id=722387
4917 tests/test_source.py | 45 +++++++++++++++++++++++++++++++++++++++++++++
4918 1 file changed, 45 insertions(+)
4920 commit 7222a37a4b4955fe6c1dcc86e0eb798d653711e8
4921 Author: Simon Feltman <sfeltman@src.gnome.org>
4922 Date: Wed Jan 15 12:51:57 2014 -0800
4924 Fix reference sharing of gi sub-modules in Python 2
4926 Ensure we add a new reference to sub-modules added to gi._gi. This may
4927 have caused GC errors upon exiting the Python process since a
4929 shared by sys.modules and gi._gi.
4931 https://bugzilla.gnome.org/show_bug.cgi?id=722274
4933 gi/gimodule.c | 11 +++++++++++
4934 1 file changed, 11 insertions(+)
4936 commit 8c838b683220bcbf2091bba97b91ddb56b275aed
4937 Author: Simon Feltman <sfeltman@src.gnome.org>
4938 Date: Tue Jan 14 23:46:44 2014 -0800
4940 demo: Add TreeModel interface implementation demonstration
4942 Add demo which shows how to implement the Gtk.TreeModel interfaces
4946 demos/gtk-demo/demos/TreeView/treemodel_large.py | 143
4947 +++++++++++++++++++++++
4948 1 file changed, 143 insertions(+)
4950 commit 911898bac5d0ad5a42ed9990588bd98871f4a8a4
4951 Author: Simon Feltman <sfeltman@src.gnome.org>
4952 Date: Tue Jan 14 23:33:16 2014 -0800
4954 demo: Remove "Icon View" and "Tree View" directories
4956 demos/gtk-demo/demos/Icon View/__init__.py | 0
4957 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 220 ----------------
4958 demos/gtk-demo/demos/Icon View/iconviewedit.py | 98 --------
4959 demos/gtk-demo/demos/Tree View/__init__.py | 0
4960 demos/gtk-demo/demos/Tree View/liststore.py | 210 ----------------
4961 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 234
4963 .../gtk-demo/demos/Tree View/treemodel_filetree.py | 279
4964 ---------------------
4965 7 files changed, 1041 deletions(-)
4967 commit f89fa08ba756a1c529ff48beb39025f834a249bf
4968 Author: Simon Feltman <sfeltman@src.gnome.org>
4969 Date: Tue Jan 14 23:08:33 2014 -0800
4971 demo: Remove spaces from demo sub-directories
4973 Move "Icon View" to IconView and "Tree View" to TreeView. This
4975 ability to package the demos in tarball releases in future versions.
4977 demos/gtk-demo/demos/IconView/__init__.py | 0
4978 demos/gtk-demo/demos/IconView/iconviewbasics.py | 220 ++++++++++++++++
4979 demos/gtk-demo/demos/IconView/iconviewedit.py | 98 ++++++++
4980 demos/gtk-demo/demos/TreeView/__init__.py | 0
4981 demos/gtk-demo/demos/TreeView/liststore.py | 210 ++++++++++++++++
4982 .../gtk-demo/demos/TreeView/treemodel_filelist.py | 234
4984 .../gtk-demo/demos/TreeView/treemodel_filetree.py | 279
4985 +++++++++++++++++++++
4986 7 files changed, 1041 insertions(+)
4988 commit 0b7d85f3379adfb3cf1122588e333707ee089e46
4989 Author: Simon Feltman <sfeltman@src.gnome.org>
4990 Date: Tue Jan 14 14:28:52 2014 -0800
4992 build: Remove _glib directory include from testhelper CFLAGS
4994 tests/Makefile.am | 2 +-
4995 1 file changed, 1 insertion(+), 1 deletion(-)
4997 commit 35b5a85aad91f48935dd49fee60d69e6184eff2c
4998 Author: Colin Walters <walters@verbum.org>
4999 Date: Tue Jan 14 16:33:38 2014 -0500
5001 build: Set PLATFORM_VERSION again to 3.0
5003 We are installing headers to:
5004 /usr/include/pygobject-$(PLATFORM_VERSION)/pygobject.h
5006 If the variable isn't set, then things attempting to use pygobject
5009 This was a regression from a build system refactoring.
5011 gi/Makefile.am | 2 ++
5012 1 file changed, 2 insertions(+)
5014 commit f2a79904ff4d60bff657bfbfd6a2ce8ab9307848
5015 Author: Simon Feltman <sfeltman@src.gnome.org>
5016 Date: Tue Jan 14 12:54:42 2014 -0800
5018 Fix Python 2 build warning for module definitions
5020 Define PYGLIB_MODULE_ERROR_RETURN as NULL for both Python 2 and
5022 needed now that the function signature created with
5023 PYGLIB_MODULE_START is
5024 consistent between the two versions.
5026 gi/pyglib-python-compat.h | 5 ++---
5027 1 file changed, 2 insertions(+), 3 deletions(-)
5029 commit 61b4af05646a8f014cfb00a5507fec2deb9aafa6
5030 Author: Simon Feltman <sfeltman@src.gnome.org>
5031 Date: Tue Jan 14 12:26:16 2014 -0800
5033 tests: Run PyFlakes and PEP8 only on SUBDIRS
5035 Move PyFlakes and PEP8 checks into check-local of the root
5037 run these tools on selective subdirs of top_srcdir. This fixes
5039 where vpath build directories within the srcdir would contain links
5041 source files, causing these tools to run multiple times slowing
5045 Makefile.am | 21 ++++++++++++++++++++-
5046 tests/Makefile.am | 6 ------
5047 2 files changed, 20 insertions(+), 7 deletions(-)
5049 commit 9a7f6f08c1dc0eb0dd91437da8ac429fbafc8a4a
5050 Author: Simon Feltman <sfeltman@src.gnome.org>
5051 Date: Tue Jan 14 12:25:09 2014 -0800
5053 Remove _glib include path from gi module target
5055 gi/Makefile.am | 7 ++-----
5056 1 file changed, 2 insertions(+), 5 deletions(-)
5058 commit 8afd7e880a72a44e6ea46c763bab82146fd75c96
5059 Author: Simon Feltman <sfeltman@src.gnome.org>
5060 Date: Wed Jan 8 19:22:08 2014 -0800
5062 Move Python glib options module into gi package
5064 Move gi/_glib/option.py into gi/_option.py. Remove gi/_glib since
5068 https://bugzilla.gnome.org/show_bug.cgi?id=712197
5072 gi/Makefile.am | 1 -
5073 gi/_glib/Makefile.am | 21 ---------------------
5074 gi/_glib/__init__.py | 20 --------------------
5075 gi/{_glib/option.py => _option.py} | 2 +-
5076 gi/overrides/GLib.py | 2 +-
5077 gi/overrides/GObject.py | 2 +-
5078 8 files changed, 5 insertions(+), 47 deletions(-)
5080 commit ad565e5bbc9d12607c39be9479bc671a8f2de6e3
5081 Author: Simon Feltman <sfeltman@src.gnome.org>
5082 Date: Wed Jan 8 18:57:58 2014 -0800
5084 Merge static PyGLib module into PyGI
5086 Remove gi._glib._glib as a separately compiled module. Move all C
5088 pygobject/gi. Remove compilation and use of libpyglib-gi-2.0-python.so
5090 shared dependency since we do not distribute header files for it.
5091 Remove unused threading macros.
5093 https://bugzilla.gnome.org/show_bug.cgi?id=712197
5095 gi/Makefile.am | 16 +++++--
5096 gi/_glib/Makefile.am | 74
5097 +-------------------------------
5098 gi/_glib/__init__.py | 5 ---
5099 gi/_glib/option.py | 2 +-
5100 gi/gimodule.c | 9 ++++
5101 gi/{_glib => }/glibmodule.c | 34 ++-------------
5102 gi/gobjectmodule.c | 5 +--
5103 gi/overrides/GLib.py | 2 +-
5104 gi/{_glib => }/pyglib-private.h | 14 ++----
5105 gi/{_glib => }/pyglib-python-compat.h | 0
5106 gi/{_glib => }/pyglib.c | 81
5107 ++---------------------------------
5108 gi/{_glib => }/pyglib.h | 10 -----
5109 gi/{_glib => }/pygoptioncontext.c | 0
5110 gi/{_glib => }/pygoptioncontext.h | 0
5111 gi/{_glib => }/pygoptiongroup.c | 0
5112 gi/{_glib => }/pygoptiongroup.h | 0
5113 gi/{_glib => }/pygspawn.c | 0
5114 gi/{_glib => }/pygspawn.h | 0
5115 18 files changed, 40 insertions(+), 212 deletions(-)
5117 commit 2624bd2b4a465a2d234951dd5b855fe8a0d46e1c
5118 Author: Simon Feltman <sfeltman@src.gnome.org>
5119 Date: Thu Oct 31 03:13:53 2013 -0700
5121 Move gobject sub-module Python files into the main gi package
5123 This moves the signalhelper, propertyhelper, and constants Python
5125 from gi/_gobject into gi. Keep gi/_gobject/__init__.py around because
5127 still needed to maintain the "_PyGObject_API" exposed by
5129 allows external modules compiled with prior versions of PyGObject to
5130 continue working with newer versions.
5132 https://bugzilla.gnome.org/show_bug.cgi?id=712197
5135 gi/__init__.py | 19 +++++-----
5136 gi/{_gobject/constants.py => _constants.py} | 5 ++-
5137 gi/_gobject/Makefile.am | 5 +--
5138 gi/_gobject/__init__.py | 42
5139 ++--------------------
5140 .../propertyhelper.py => _propertyhelper.py} | 4 +--
5141 gi/{_gobject/signalhelper.py => _signalhelper.py} | 5 ++-
5142 gi/module.py | 16 ++++-----
5143 gi/overrides/GObject.py | 7 ++--
5144 gi/overrides/__init__.py | 2 +-
5146 ++++++++++++++++-----
5147 pygtkcompat/pygtkcompat.py | 4 +--
5148 tests/test_gi.py | 2 +-
5149 tests/test_gobject.py | 4 ++-
5150 tests/test_properties.py | 2 +-
5151 tests/test_signal.py | 2 +-
5152 16 files changed, 78 insertions(+), 87 deletions(-)
5154 commit d3e8946dbb23197a2e9d7de351a7b9cd04d360b9
5155 Author: Simon Feltman <sfeltman@src.gnome.org>
5156 Date: Thu Oct 31 02:22:03 2013 -0700
5158 Merge gobject static code into the gi module
5160 Remove gi._gobject._gobject as a separately compiled static module and
5161 move all the files into gi._gi.
5162 Remove dead module initialization macros from "pyglib-python-compat.h"
5164 https://bugzilla.gnome.org/show_bug.cgi?id=712197
5166 gi/Makefile.am | 31 ++++++++++++++--
5167 gi/_glib/pyglib-python-compat.h | 62
5168 +++++++++----------------------
5169 gi/_gobject/Makefile.am | 69
5170 +----------------------------------
5171 gi/_gobject/__init__.py | 4 +-
5172 gi/_gobject/constants.py | 3 +-
5173 gi/_gobject/propertyhelper.py | 16 +++++---
5174 gi/_gobject/signalhelper.py | 3 +-
5175 gi/gimodule.c | 13 ++++---
5176 gi/{_gobject => }/gobjectmodule.c | 0
5178 gi/{_gobject => }/pygboxed.c | 0
5179 gi/{_gobject => }/pygboxed.h | 0
5180 gi/{_gobject => }/pygenum.c | 0
5181 gi/{_gobject => }/pygenum.h | 0
5182 gi/{_gobject => }/pygflags.c | 0
5183 gi/{_gobject => }/pygflags.h | 0
5184 gi/pygi-argument.c | 3 +-
5185 gi/pygi-boxed.c | 2 +-
5186 gi/pygi-ccallback.c | 2 +-
5187 gi/pygi-foreign.c | 2 +-
5188 gi/pygi-info.c | 2 +-
5189 gi/pygi-marshal-to-py.c | 3 +-
5190 gi/pygi-private.h | 2 +-
5191 gi/pygi-source.c | 3 +-
5192 gi/pygi-struct.c | 2 +-
5194 gi/{_gobject => }/pyginterface.c | 0
5195 gi/{_gobject => }/pyginterface.h | 0
5196 gi/{_gobject => }/pygobject-private.h | 5 ++-
5197 gi/{_gobject => }/pygobject.c | 0
5198 gi/{_gobject => }/pygobject.h | 0
5199 gi/{_gobject => }/pygparamspec.c | 0
5200 gi/{_gobject => }/pygparamspec.h | 2 +
5201 gi/{_gobject => }/pygpointer.c | 0
5202 gi/{_gobject => }/pygpointer.h | 0
5203 gi/{_gobject => }/pygtype.c | 0
5204 gi/{_gobject => }/pygtype.h | 0
5206 tests/Makefile.am | 2 +-
5207 39 files changed, 93 insertions(+), 148 deletions(-)
5209 commit a329f559002f2be0898309c9d81cdf2c34aef158
5210 Author: Simon Feltman <sfeltman@src.gnome.org>
5211 Date: Tue Jan 14 10:15:53 2014 -0800
5213 tests: Fix test_torture_profile to return a number from its callback
5215 Return a number from rather than None from the callback passed to
5216 regress_test_torture_signature_2. This fixes a TypeError being
5218 callback return argument marshaling which was ignored by the test
5221 tests/test_everything.py | 2 +-
5222 1 file changed, 1 insertion(+), 1 deletion(-)
5224 commit a50a8386aae54dace7e46569415fdef85758fb9c
5225 Author: Martin Pitt <martinpitt@gnome.org>
5226 Date: Tue Jan 14 08:53:25 2014 +0100
5228 Add test for callback user data arguments with following arguments
5230 In this case we can't use the varargs userdata handling. Provides
5232 https://bugzilla.gnome.org/show_bug.cgi?id=722104.
5234 tests/test_everything.py | 48
5235 ++++++++++++++++++++++++++++++++++++++++++++++++
5236 1 file changed, 48 insertions(+)
5238 commit 3563a2d21a9e08a802d1cf30e04ba340e0bcfb49
5239 Author: Simon Feltman <sfeltman@src.gnome.org>
5240 Date: Mon Jan 13 08:19:02 2014 -0800
5242 valgrind: Add suppression files for python3.3 and python3.3dm
5244 Add new suppression files for Python 3. Use PYTHON_BASENAME for the
5245 suppression filename in the various make check.valgrind
5247 python.supp to python2.7.supp
5249 tests/Makefile.am | 6 +-
5250 tests/{python.supp => python2.7.supp} | 0
5251 tests/python3.3.supp | 471
5252 ++++++++++++++++++++++++++++++++++
5253 tests/python3.3dm.supp | 471
5254 ++++++++++++++++++++++++++++++++++
5255 4 files changed, 945 insertions(+), 3 deletions(-)
5257 commit 5c6f8afed5f6aa05d65d64509a2c9b8041a66b05
5258 Author: Simon Feltman <sfeltman@src.gnome.org>
5259 Date: Mon Jan 13 18:53:55 2014 -0800
5261 Makefile.am: Fix NEWS and ChangeLog generation under vpath builds
5263 Make sure NEWS generation uses top_srcdir to allow "make release-news"
5265 work under a vpath build (directory outside the source tree).
5266 Update ChangeLog target to use $(top_srcdir)/missing. This fixes
5268 where running "make dist" under a vpath build directory would
5272 Makefile.am | 6 +++---
5273 1 file changed, 3 insertions(+), 3 deletions(-)
5275 commit 056325cba3c86aefcf45ba10f2b7cf86e9fc1800
5276 Author: Simon Feltman <sfeltman@src.gnome.org>
5277 Date: Mon Jan 13 18:53:02 2014 -0800
5279 Update HACKING to include better release tagging instructions
5281 HACKING | 15 ++++++++-------
5282 1 file changed, 8 insertions(+), 7 deletions(-)
5284 commit c0a43d259c003c5d06db23debd0675b87e805b74
5285 Author: Simon Feltman <sfeltman@src.gnome.org>
5286 Date: Mon Jan 13 17:20:17 2014 -0800
5288 configure.ac: post release version bump to 3.11.5
5290 NEWS | 16 ++++++++++++++++
5292 2 files changed, 17 insertions(+), 1 deletion(-)
5294 commit 44d003798d9d14dde16fb44c69b94a411bdee26b
5295 Author: Simon Feltman <sfeltman@src.gnome.org>
5296 Date: Mon Jan 13 16:51:41 2014 -0800
5298 Fix mid-argument list callback user data expecting a tuple
5300 Ensure user data arguments are always packed into a tuple during
5302 marshaling. This fixes cases where there is mid-argument user data
5304 not in the form of a variable length tuple.
5306 https://bugzilla.gnome.org/show_bug.cgi?id=722104
5308 gi/pygi-marshal-from-py.c | 16 +++++++++++++++-
5309 1 file changed, 15 insertions(+), 1 deletion(-)
5311 commit 415b240e3baab522f3bf9752995610f950ba609e
5312 Author: Simon Feltman <sfeltman@src.gnome.org>
5313 Date: Tue Oct 15 03:57:52 2013 -0700
5315 Remove special case GObject base class check when creating GI classes
5317 Replace explicit GObject.Object string name check when calculating the
5318 introspection class hierarchy with a more generalized technique. This
5320 any C based wrapper of a GType to "underride" an introspection class
5321 automatically. This currently only handles the case of GObject.Object,
5323 will be used for fundamentals and GParamSpec.
5325 https://bugzilla.gnome.org/show_bug.cgi?id=631901
5327 gi/module.py | 17 +++++++++++------
5328 1 file changed, 11 insertions(+), 6 deletions(-)
5330 commit 9b02b29016958791dfa9d7ebfc6c2ec44ab5690d
5331 Author: Simon Feltman <sfeltman@src.gnome.org>
5332 Date: Tue Jan 7 09:16:54 2014 -0800
5334 overrides: Fix __repr__ for various Gdk structs
5336 Change __repr__ overrides for Gdk.Color, Gdk.RGBA, and Gdk.Atom to
5338 string reprentation that is valid Python given an expected
5340 See: http://docs.python.org/2/reference/datamodel.html#object.__repr__
5342 gi/overrides/Gdk.py | 10 +++++-----
5343 tests/test_atoms.py | 7 +++++--
5344 tests/test_overrides_gdk.py | 9 +++++++++
5345 3 files changed, 19 insertions(+), 7 deletions(-)
5347 commit f6a87935596a3b59c238a5572b288f34691b53d1
5348 Author: Simon Feltman <sfeltman@src.gnome.org>
5349 Date: Tue Jan 7 07:31:22 2014 -0800
5351 docs: Fix array length argument skipping with preceding out arguments
5353 Remove split_function_info_args and use a list of all arguments for
5354 generating skipped index lists. Determine argument skipping based
5356 full argument list in each in/inout and out/inout argument list
5358 This fixes a problem where out arguments preceding array length
5360 would still show array length arguments in the docstring. This was
5362 index mismatch when using split lists instead of list of all
5365 gi/docstring.py | 38 ++++++++++++--------------------------
5366 tests/test_docstring.py | 37 +++++++++++++++----------------------
5367 2 files changed, 27 insertions(+), 48 deletions(-)
5369 commit f114edc0a0afa64077a13459034afc4255b7a3f1
5370 Author: Simon Feltman <sfeltman@src.gnome.org>
5371 Date: Mon Jan 6 22:10:47 2014 -0800
5373 overrides: Remove GLib.Source.attach
5375 Remove GLib.Source.attach override now that tail end allow-none
5377 default to None when not specified.
5379 gi/overrides/GLib.py | 5 -----
5380 tests/test_glib.py | 7 +++++++
5381 2 files changed, 7 insertions(+), 5 deletions(-)
5383 commit 50ab6a8b70cbe7b67fc8d804b7773bb2c9b47251
5384 Author: Simon Feltman <sfeltman@src.gnome.org>
5385 Date: Mon Jan 6 21:42:09 2014 -0800
5387 overrides: Remove Gtk overrides with tail end allow-none keywords
5389 Remove overrides for Widget.render_icon, TextIter.begins_tag,
5391 toggles_tag, and TreeModel.filter_new. These overrides added an
5392 optional keyword=None for allow-none arguments. This is now implicitly
5393 accepted by the PyGObject machinery so the overrides can go away.
5395 gi/overrides/Gtk.py | 16 ----------------
5396 tests/test_overrides_gtk.py | 11 +++++++++++
5397 2 files changed, 11 insertions(+), 16 deletions(-)
5399 commit 2d388fcfca4bf1258d01b4491b4168589f3dd2b0
5400 Author: Simon Feltman <sfeltman@src.gnome.org>
5401 Date: Mon Jan 6 21:22:41 2014 -0800
5403 overrides: Remove Pango.Context.get_metrics
5405 Remove the override for Pango.Context and the get_metrics method. This
5407 be done now that tail end method arguments with "allow-none"
5409 defaulted to use None/NULL.
5411 gi/overrides/Pango.py | 9 ---------
5412 tests/test_overrides_pango.py | 12 ++++++++++++
5413 2 files changed, 12 insertions(+), 9 deletions(-)
5415 commit 43b35b1df3b6c0d8679f3cc0b08ef6ddcb276331
5416 Author: Simon Feltman <sfeltman@src.gnome.org>
5417 Date: Mon Jan 6 17:35:04 2014 -0800
5419 Add enum and flags member methods
5421 Add all methods from GIEnumInfo to both enums and flags classes.
5423 https://bugzilla.gnome.org/show_bug.cgi?id=693099
5426 tests/test_gi.py | 9 +++++++++
5427 2 files changed, 11 insertions(+)
5429 commit 731a2cb4372084eac6cfe5bf190f6efa730e97e4
5430 Author: Patrick Welche <prlw1@cam.ac.uk>
5431 Date: Mon Jan 6 22:31:48 2014 +0000
5433 python.m4: g/c JD_PYTHON_CHECK_VERSION
5435 We currently require automake 1.11.1, and its AM_PYTHON_CHECK_VERSION
5436 is identical (made here).
5438 https://bugzilla.gnome.org/show_bug.cgi?id=721662
5440 configure.ac | 4 ++--
5441 m4/python.m4 | 23 ++---------------------
5442 2 files changed, 4 insertions(+), 23 deletions(-)
5444 commit aaaead18e2167c2becb309f1d9ae199222c0256b
5445 Author: Simon Feltman <sfeltman@src.gnome.org>
5446 Date: Sat Jan 4 16:31:56 2014 -0800
5448 Support union creation with PyGIStruct
5450 Add additional case for allowing the creation bare unions wrapped with
5451 PyGIStruct. This is needed because PyGIStruct wraps both GIStruct and
5454 gi/pygi-struct.c | 39 ++++++++++++++++++++++++++++++++++-----
5455 tests/test_repository.py | 13 +++++++++++++
5456 2 files changed, 47 insertions(+), 5 deletions(-)
5458 commit 64f15961b637a7e1388bd8d2cd08f04fa20e4de4
5459 Author: Simon Feltman <sfeltman@src.gnome.org>
5460 Date: Sat Jan 4 16:07:44 2014 -0800
5462 Fix crash in error handling when creating struct with mismatched
5465 Error handling code was attempting to get the PyType of a pointer to a
5466 pointer. Use the correct amount of indirection so an exception is
5468 intended rather than a segfault.
5470 gi/pygi-info.c | 2 +-
5471 1 file changed, 1 insertion(+), 1 deletion(-)
5473 commit 07abf8343bbeac6f36d370ced654fa6506b22175
5474 Author: Simon Feltman <sfeltman@src.gnome.org>
5475 Date: Wed Jan 1 20:23:17 2014 -0800
5477 docs: Skip display of default constructor for disguised structs
5479 Structs which have zero length should now show a default constructor.
5480 Structs with a length should not show keyword arguments in the default
5483 https://bugzilla.gnome.org/show_bug.cgi?id=708060
5485 gi/docstring.py | 9 ++++++++-
5486 tests/test_docstring.py | 18 ++++++++++++++++--
5487 2 files changed, 24 insertions(+), 3 deletions(-)
5489 commit e8359847136e9ad76a670a382c0abc61cb4e81d3
5490 Author: Simon Feltman <sfeltman@src.gnome.org>
5491 Date: Wed Jan 1 19:57:06 2014 -0800
5493 Cleanup disguised struct constructor error and add it to boxed
5495 Give a cleaner error message when an attempt is made to create
5497 struct which also gives a hint to look at the pydoc. Add similar
5499 disguised boxed/unions.
5501 https://bugzilla.gnome.org/show_bug.cgi?id=647249
5503 gi/pygi-boxed.c | 17 ++++++++++++++---
5504 gi/pygi-struct.c | 2 +-
5505 tests/test_everything.py | 1 -
5506 tests/test_glib.py | 4 ++++
5507 4 files changed, 19 insertions(+), 5 deletions(-)
5509 commit 9ce527b09ed032f2cc83c2d83de8bb6d7b19be02
5510 Author: Simon Feltman <sfeltman@src.gnome.org>
5511 Date: Wed Jan 1 19:54:59 2014 -0800
5513 docs: List default constructor in doc strings
5515 Add default constructor to class docs strings as:
5516 Object(**properties)
5518 https://bugzilla.gnome.org/show_bug.cgi?id=708060
5520 gi/docstring.py | 10 ++++------
5521 1 file changed, 4 insertions(+), 6 deletions(-)
5523 commit 9bfd73e7c3f2ec4975b3e530ba7c2cc55ee793d5
5524 Author: Simon Feltman <sfeltman@src.gnome.org>
5525 Date: Wed Jan 1 17:34:32 2014 -0800
5527 docs: List constructors in object and struct doc strings
5529 Add type dispatching to gi.docstring documentation generator for
5531 of StructInfo and ObjectInfo. Add lazy doc string generation to
5532 Object and Struct meta classes by using a property for __doc__. This
5534 available constructors immediately in all GObject.Object and Struct
5540 Button(**properties)
5542 new_from_icon_name(icon_name:str, size:int)
5543 new_from_stock(stock_id:str)
5544 new_with_label(label:str)
5545 new_with_mnemonic(label:str)
5547 https://bugzilla.gnome.org/show_bug.cgi?id=708060
5549 gi/docstring.py | 36 +++++++++++++++++++++++++++++-------
5550 gi/types.py | 9 +++++++++
5551 tests/test_docstring.py | 8 ++++++++
5552 3 files changed, 46 insertions(+), 7 deletions(-)
5554 commit 44612636575dd93c97210a7255c4490e2c84db67
5555 Author: Simon Feltman <sfeltman@src.gnome.org>
5556 Date: Wed Jan 1 17:10:15 2014 -0800
5558 docs: Cleanup PyGIBaseInfo repr
5560 Remove angle brackets and pointer address from
5561 PyGIBaseInfo.__repr__. This
5562 cleans up documentation and makes it easier to read.
5564 gi/pygi-info.c | 5 ++---
5565 1 file changed, 2 insertions(+), 3 deletions(-)
5567 commit 826c0e63eabac68fd665335950d311988a1405e3
5568 Author: Simon Feltman <sfeltman@src.gnome.org>
5569 Date: Tue Dec 31 21:45:21 2013 -0800
5571 docs: Add return values and skip implicit out arguments in functions
5573 Add gi.CallableInfo.skip_return static binding for testing if
5575 value should show up in docs. Skip implicit list index arguments
5579 https://bugzilla.gnome.org/show_bug.cgi?id=697356
5581 gi/docstring.py | 26 +++++++++++++++++++++-----
5582 gi/pygi-info.c | 7 +++++++
5583 tests/test_docstring.py | 6 ++++++
5584 3 files changed, 34 insertions(+), 5 deletions(-)
5586 commit aeccdaddf32dc7b48a79a1cd95a421a26895c9b2
5587 Author: Simon Feltman <sfeltman@src.gnome.org>
5588 Date: Tue Dec 31 21:15:27 2013 -0800
5590 docs: Replace usage of functools.wraps with a custom version
5592 Using functools.wraps in overrides would cause docstring evaluation
5594 can hurt performance during overrides loading. Add custom wraps
5596 which only copies __name__ and __module__ attributes. Remove function
5597 wrapping used within gi.overrides.overridefunc because the wrapping
5599 doing anything, this preserves __doc__ ability without causing an
5603 https://bugzilla.gnome.org/show_bug.cgi?id=697356
5605 gi/overrides/GObject.py | 3 +--
5606 gi/overrides/__init__.py | 21 ++++++++++++---------
5607 2 files changed, 13 insertions(+), 11 deletions(-)
5609 commit cebf5314f195bf4bd6ee19a1da3bbb50c2c9bbd6
5610 Author: Simon Feltman <sfeltman@src.gnome.org>
5611 Date: Tue Dec 31 19:42:02 2013 -0800
5613 docs: Move GIArgInfo.get_pytype_hint into gi.docstring
5615 Move the C implementation of pytype hinting into pure Python. Now that
5616 doc strings are lazily evaluated we can simplify this tedious bit of C
5617 code with Python. This is precursory work for getting return
5619 function doc strings.
5621 https://bugzilla.gnome.org/show_bug.cgi?id=697356
5623 gi/docstring.py | 50 ++++++++++++++++++++++++++++++++++++++---
5624 gi/pygi-info.c | 49 ----------------------------------------
5626 ------------------------------------------------
5627 gi/pygi-type.h | 2 --
5628 tests/test_docstring.py | 8 ++++---
5629 tests/test_repository.py | 1 -
5630 6 files changed, 52 insertions(+), 116 deletions(-)
5632 commit 28a178e385e32c56910f1c430b370a8872218081
5633 Author: Simon Feltman <sfeltman@src.gnome.org>
5634 Date: Tue Dec 31 17:50:36 2013 -0800
5636 docs: Skip implicit array length args when building function doc
5639 https://bugzilla.gnome.org/show_bug.cgi?id=697356
5641 gi/docstring.py | 8 ++++++--
5642 tests/test_docstring.py | 4 ++++
5643 2 files changed, 10 insertions(+), 2 deletions(-)
5645 commit 2ef59b89311529e34366d4d7aa8f8ae9a8ea6371
5646 Author: Simon Feltman <sfeltman@src.gnome.org>
5647 Date: Tue Dec 31 13:41:20 2013 -0800
5649 gtk-demo: Avoid crash in CSS demos
5651 Avoid a potential crash in the CSS demos where the text editing
5653 out of sync with the last good CSS parsing buffer. In the case of CSS
5654 warnings, we get a parsing-error callback but no exception is raised.
5655 This would cause the buffers to become out of sync and accessing
5657 information from the parsing-error section would crash the text
5659 to an out of range iterator being created.
5661 demos/gtk-demo/demos/Css/css_basics.py | 31
5662 +++++++++++++++++++++--------
5663 demos/gtk-demo/demos/Css/css_multiplebgs.py | 31
5664 +++++++++++++++++++++--------
5665 2 files changed, 46 insertions(+), 16 deletions(-)
5667 commit b81f9c9b4e62d8cf589576aba8d9abbac4c80953
5668 Author: Simon Feltman <sfeltman@src.gnome.org>
5669 Date: Tue Dec 31 02:05:46 2013 -0800
5671 gtk-demo: Add info bar and better error handling to CSS demos
5673 Use an info bar for displaying CSS parsing errors. Store the last good
5674 stylesheet text for use as a backup when a parsing error occures. This
5676 a seamless look while typing changes into the text editor.
5678 https://bugzilla.gnome.org/show_bug.cgi?id=719722
5680 demos/gtk-demo/demos/Css/css_basics.py | 28
5681 +++++++++++++++++++++-------
5682 demos/gtk-demo/demos/Css/css_multiplebgs.py | 29
5683 ++++++++++++++++++++++-------
5684 2 files changed, 43 insertions(+), 14 deletions(-)
5686 commit becb56734e13df182fd31cfe46c465477dfc4d2c
5687 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
5688 Date: Mon Dec 30 16:36:28 2013 +0100
5690 gtk-demo: Add CSS demos
5692 Add a couple of demos demostrating the use of CSS, the css files are
5693 stored into a GResource binary file compiled with
5694 glib-compile-resources,
5695 the comments in gtk-demo.py explain the usage of GResource.
5697 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
5699 https://bugzilla.gnome.org/show_bug.cgi?id=719722
5702 demos/gtk-demo/demos/Css/__init__.py | 0
5703 demos/gtk-demo/demos/Css/css_accordion.py | 94 +++++++++++++++
5704 demos/gtk-demo/demos/Css/css_basics.py | 119 +++++++++++++++++++
5705 demos/gtk-demo/demos/Css/css_multiplebgs.py | 157
5706 ++++++++++++++++++++++++++
5707 demos/gtk-demo/demos/data/brick.png | Bin 0 -> 5043 bytes
5708 demos/gtk-demo/demos/data/brick2.png | Bin 0 -> 10713 bytes
5709 demos/gtk-demo/demos/data/css_accordion.css | 52 +++++++++
5710 demos/gtk-demo/demos/data/css_basics.css | 22 ++++
5711 demos/gtk-demo/demos/data/css_multiplebgs.css | 136
5712 ++++++++++++++++++++++
5713 demos/gtk-demo/demos/data/cssview.css | 41 +++++++
5714 demos/gtk-demo/demos/data/demo.gresource | Bin 0 -> 31110 bytes
5715 demos/gtk-demo/demos/data/demo.gresource.xml | 18 +++
5716 demos/gtk-demo/demos/data/reset.css | 68 +++++++++++
5717 demos/gtk-demo/gtk-demo.py | 16 ++-
5718 15 files changed, 723 insertions(+), 1 deletion(-)
5720 commit 2ff095ea0b0c05fbf6cc332eeadf26cfeb9e69f7
5721 Author: Colin Watson <cjwatson@ubuntu.com>
5722 Date: Tue Dec 24 22:19:02 2013 +0000
5724 build: Avoid clash between gi/types.py and stdlib
5726 Use non-recursive make for the Python modules in gi/ to work around a
5727 clash between gi/types.py and the standard library's types module when
5730 https://bugzilla.gnome.org/show_bug.cgi?id=721025
5732 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
5734 Makefile.am | 24 ++++++++++++++++++++++++
5735 gi/Makefile.am | 20 ++------------------
5736 2 files changed, 26 insertions(+), 18 deletions(-)
5738 commit b9716853fb7727fcf2b5ea59a3368d5a5b2e6be2
5739 Author: Simon Feltman <sfeltman@src.gnome.org>
5740 Date: Mon Dec 16 04:17:28 2013 -0800
5742 configure.ac: post-release bump to 3.11.4
5745 1 file changed, 1 insertion(+), 1 deletion(-)
5747 commit 2ec00c2563bebff1e55faf97c67e44fda862ad5b
5748 Author: Simon Feltman <sfeltman@src.gnome.org>
5749 Date: Mon Dec 16 04:10:54 2013 -0800
5754 1 file changed, 4 insertions(+)
5756 commit 7fb55f93e207378992cd9f3e0663604a4de2213f
5757 Author: Simon Feltman <sfeltman@src.gnome.org>
5758 Date: Thu Dec 12 01:35:11 2013 -0800
5760 Replace usage of PyGIBoxed_Type with PyGIStruct_Type
5762 Remove empty definition of PyGIBoxed_Type and use PyGIStruct_Type
5764 place for GI_INFO_TYPE_BOXED based infos in repositories. As noted in
5765 the docs: "GI_INFO_TYPE_BOXED boxed, see GIStructInfo or GIUnionInfo"
5766 we can use the GIStructInfo API for boxed types because we also
5768 base classes on GType checks as seen in:
5769 https://git.gnome.org/browse/pygobject/tree/gi/module.py?id=3.11.2#n186
5770 This fixes some of the issues noted in bug 581525.
5772 https://bugzilla.gnome.org/show_bug.cgi?id=581525
5774 gi/pygi-info.c | 13 +------------
5775 1 file changed, 1 insertion(+), 12 deletions(-)
5777 commit b3c85eec75c62c138c136531ebe49a33351941f0
5778 Author: Simon Feltman <sfeltman@src.gnome.org>
5779 Date: Sun Nov 17 20:12:50 2013 -0800
5781 configure.ac: post release version bump to 3.11.3
5784 1 file changed, 1 insertion(+), 1 deletion(-)
5786 commit d1314af8f237a634dbfefb0a1c319f910d3d8765
5787 Author: Simon Feltman <sfeltman@src.gnome.org>
5788 Date: Sun Nov 17 20:04:49 2013 -0800
5793 1 file changed, 6 insertions(+)
5795 commit 6fc3d977f17397e514aed492055e93d03c410f60
5796 Author: Simon Feltman <sfeltman@src.gnome.org>
5797 Date: Tue Nov 12 23:04:50 2013 -0800
5799 gtk-demo: Fix pyflakes error after recent commit
5801 demos/gtk-demo/demos/pixbuf.py | 2 +-
5802 1 file changed, 1 insertion(+), 1 deletion(-)
5804 commit a309b3baf5ee99139cc2d1817339233e24391bc2
5805 Author: Simon Feltman <sfeltman@src.gnome.org>
5806 Date: Tue Nov 12 18:41:35 2013 -0800
5808 gkt-demo: Change main info/source notebook into a GtkStack
5810 Use the new in 3.10 GtkStack and GtkStackSwitcher for switching
5812 and Source tabs. Beyond giving a newer look and feel to the demo,
5814 provides an example for how to use a GtkStack.
5816 demos/gtk-demo/gtk-demo.py | 23 +++++++++++++++++------
5817 1 file changed, 17 insertions(+), 6 deletions(-)
5819 commit 69ff43bf6292fb3ddaea027cfc595139c4f1655d
5820 Author: Simon Feltman <sfeltman@src.gnome.org>
5821 Date: Tue Nov 12 19:32:18 2013 -0800
5823 gtk-demo: Cleanup deprecated calls throughout demo code
5825 Specify constructor arguments as keyword args for various object
5826 creation calls. Update combobox demo to use bind_property instead
5828 signal connections with update callbacks.
5830 demos/gtk-demo/demos/Entry/entry_buffer.py | 6 ++---
5831 demos/gtk-demo/demos/Entry/entry_completion.py | 6 ++---
5832 demos/gtk-demo/demos/Entry/search_entry.py | 8 +++---
5833 demos/gtk-demo/demos/Tree View/liststore.py | 8 +++---
5834 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 2 +-
5835 .../gtk-demo/demos/Tree View/treemodel_filetree.py | 2 +-
5836 demos/gtk-demo/demos/appwindow.py | 4 +--
5837 demos/gtk-demo/demos/combobox.py | 30
5838 +++-------------------
5839 demos/gtk-demo/demos/dialogs.py | 26
5841 demos/gtk-demo/demos/expander.py | 9 +++----
5842 demos/gtk-demo/demos/images.py | 2 +-
5843 demos/gtk-demo/demos/infobars.py | 23 +++++++++--------
5844 demos/gtk-demo/demos/links.py | 10 ++++----
5845 demos/gtk-demo/demos/menus.py | 4 +--
5846 demos/gtk-demo/demos/pickers.py | 8 +++---
5847 demos/gtk-demo/demos/pixbuf.py | 4 +--
5848 demos/gtk-demo/demos/rotatedtext.py | 2 +-
5849 17 files changed, 64 insertions(+), 90 deletions(-)
5851 commit 890fb7b97823985d5c800284ead43a49174db244
5852 Author: Simon Feltman <sfeltman@src.gnome.org>
5853 Date: Tue Nov 12 18:19:34 2013 -0800
5855 Revert TreeStore and ListStore initializer replacements
5857 Revert changes to Tree/ListStore where the __init__ overrides were
5859 with __new__ overrides which accept column types directly. The
5861 the change is sub-classes of these types can override __init__
5863 passing in their own column types to the super class. These
5865 expect the super class to handle column type setup via __init__
5867 the change described is an API break. This reverts parts of commit:
5868 2f2069c9efcd8f312ce9ffa572df371fbc08822d
5870 gi/overrides/Gtk.py | 10 ++++++----
5871 1 file changed, 6 insertions(+), 4 deletions(-)
5873 commit 795201873a3aae530598f5e16470b6a8d2d55c23
5874 Author: Simon Feltman <sfeltman@src.gnome.org>
5875 Date: Thu Aug 15 20:01:48 2013 -0700
5877 Deprecate Gdk.Cursor constructor dispatching
5879 Give deprecation warning for the overridden __new__ method on
5880 Gdk.Cursor when more than one argument is used. Recommend using
5881 Gdk.Cursor.new_for_display, new_from_pixbuf, and new_from_pixmap
5884 https://bugzilla.gnome.org/show_bug.cgi?id=705810
5886 gi/overrides/Gdk.py | 48
5887 ++++++++++++++++++++++++++-------------------
5888 tests/test_overrides_gdk.py | 17 ++++++++++++----
5889 2 files changed, 41 insertions(+), 24 deletions(-)
5891 commit 2f2069c9efcd8f312ce9ffa572df371fbc08822d
5892 Author: Simon Feltman <sfeltman@src.gnome.org>
5893 Date: Thu Aug 15 19:23:18 2013 -0700
5895 Cleanup overzealous new and init implementations
5897 Remove PyGObject initializer code attempting to set properties on
5898 GObjects that have already been created. There were a number of
5899 overridden __new__ and __init__ methods that stripped away
5900 arguments before calling the base class to work around attempted
5901 property sets and argument count errors (fixing the symptom not
5903 Use Gtk.ListStore/TreeStore.new with __new__ override instead
5904 of __init__ with set_column_types.
5906 https://bugzilla.gnome.org/show_bug.cgi?id=705810
5908 gi/_gobject/gobjectmodule.c | 35 ++++++++++++++---------------------
5909 gi/_gobject/pygobject.c | 16 ++++++++++++++--
5910 gi/overrides/GObject.py | 3 ---
5911 gi/overrides/Gdk.py | 15 ---------------
5912 gi/overrides/Gtk.py | 11 ++++-------
5913 gi/overrides/Pango.py | 5 -----
5914 gi/pygi-boxed.c | 6 ------
5915 7 files changed, 32 insertions(+), 59 deletions(-)
5917 commit 86a37d67455dc5d435ade35f17b27c5de2b288f5
5918 Author: Simon Feltman <sfeltman@src.gnome.org>
5919 Date: Tue Aug 13 18:02:54 2013 -0700
5921 Add deprecation warnings and cleanup class initializer overrides
5923 Print deprecation warnings for calls to class initializers which
5924 don't explicitly specify keywords. Print deprecation warning
5925 for overrides that have renamed keywords (Gtk.Table.rows should
5926 be n_rows). Additionally deprecate non-standard defaults with
5927 initializers (Gtk.SizeGroup.mode defaults to HORIZONTAL in GTK+
5928 and VERTICAL in PyGI).
5929 Remove AboutDialog override because it doesn't do anything.
5931 https://bugzilla.gnome.org/show_bug.cgi?id=705810
5933 gi/overrides/Gio.py | 6 +-
5934 gi/overrides/Gtk.py | 367
5935 ++++++++++++++++++++++----------------------
5936 gi/overrides/__init__.py | 88 +++++++++++
5937 tests/test_gi.py | 75 +++++++++
5938 tests/test_overrides_gtk.py | 95 ++++++++----
5939 5 files changed, 411 insertions(+), 220 deletions(-)
5941 commit d2e9be8e2b3d21b55e1aad3d0b22dcff3421b702
5942 Author: Simon Feltman <sfeltman@src.gnome.org>
5943 Date: Tue Aug 13 17:42:11 2013 -0700
5945 tests: Use explicit keywords args when calling initializers
5947 Replace all usage of GObject creation that relies on positional
5948 arguments from overrides. Positional initializer args will be
5949 deprecated, updating the tests as a first pass proves backwards
5950 and forwards compatibility of the deprecation.
5952 https://bugzilla.gnome.org/show_bug.cgi?id=705810
5954 tests/test_overrides_gtk.py | 107
5955 +++++++++++++++++++++++---------------------
5956 1 file changed, 55 insertions(+), 52 deletions(-)
5958 commit 8342302dac9bf3fcb49ec3ac334dbf014b4db025
5959 Author: Simon Feltman <sfeltman@src.gnome.org>
5960 Date: Tue Nov 12 03:46:08 2013 -0800
5962 Revert "Add type checking to positional Gtk.Box and Gtk.Window
5965 This reverts commit 7193f0509a0ed7da7c810daa6733e34a22db3180.
5967 gi/overrides/Gtk.py | 7 -------
5968 tests/test_overrides_gtk.py | 18 ------------------
5969 tests/test_properties.py | 9 ---------
5970 3 files changed, 34 deletions(-)
5972 commit 1f37340c4623262a2146ec8cd25b487cdf4234bd
5973 Author: Simon Feltman <sfeltman@src.gnome.org>
5974 Date: Sun Nov 10 03:26:10 2013 -0800
5976 Fix dir method for static GParamSpec in Python 3
5978 Add a __dir__ method which lists GParamSpec attributes and remove
5980 getattr which made use of the deprecated __members__ technique for dir
5981 (removed in Python 3). This makes dir(pspec) work again in Python 3.
5983 gi/_gobject/pygparamspec.c | 218
5984 ++++++++++++++++++++++++---------------------
5985 tests/test_gi.py | 10 +++
5986 2 files changed, 126 insertions(+), 102 deletions(-)
5988 commit 7193f0509a0ed7da7c810daa6733e34a22db3180
5989 Author: Martin Pitt <martinpitt@gnome.org>
5990 Date: Tue Nov 5 15:28:12 2013 +0100
5992 Add type checking to positional Gtk.Box and Gtk.Window ctor arguments
5994 Gtk.Box and Gtk.Window are base classes of a lot of widgets. Avoid
5996 when trying to create a subclass of them through the GObject
5998 positional arguments by at least verifying that their type is
6000 you can do things like
6002 chooser = Gtk.FileChooserWidget(Gtk.FileChooserAction.SELECT_FOLDER)
6004 which succeeds, but does not have the desired effect (it sets the
6006 property of the Gtk.Box superclass instead).
6008 https://bugzilla.gnome.org/show_bug.cgi?id=711487
6010 gi/overrides/Gtk.py | 7 +++++++
6011 tests/test_overrides_gtk.py | 18 ++++++++++++++++++
6012 tests/test_properties.py | 9 +++++++++
6013 3 files changed, 34 insertions(+)
6015 commit 79aea2655db11bc9d2c0ad75c87862b2b66da594
6016 Author: Simon Feltman <sfeltman@src.gnome.org>
6017 Date: Mon Nov 4 03:29:57 2013 -0800
6019 Remove overzealous argument checking for callback userdata
6021 Remove check which ensures userdata is None if the callback is None.
6022 This check would need to become more complicated with recent
6024 PyGObject where userdata can be variable (would also need to check
6026 a tuple containing None). Instead of adding more complex checking,
6028 remove the checking as it is unnecessary to begin with.
6030 https://bugzilla.gnome.org/show_bug.cgi?id=711173
6032 gi/pygi-marshal-from-py.c | 7 -------
6033 tests/test_overrides_gtk.py | 11 +++++++----
6034 2 files changed, 7 insertions(+), 11 deletions(-)
6036 commit f32d649b72f865e32cc2b62a54d927b8345da0c8
6037 Author: Martin Pitt <martinpitt@gnome.org>
6038 Date: Mon Oct 28 16:00:57 2013 +0100
6040 configure.ac: post-release bump to 3.11.2
6043 1 file changed, 1 insertion(+), 1 deletion(-)
6045 commit 5bcdb56433d0ba2976f05946c6c5b6ffe3e84901
6046 Author: Martin Pitt <martinpitt@gnome.org>
6047 Date: Mon Oct 28 15:59:51 2013 +0100
6051 NEWS | 27 +++++++++++++++++++++++++++
6052 1 file changed, 27 insertions(+)
6054 commit 65b8f7bd77474e361c80905ec23de6dbde27970c
6055 Author: Simon Feltman <sfeltman@src.gnome.org>
6056 Date: Sun Oct 27 22:09:27 2013 -0700
6058 Fix toggleref safety problems by always enabling the GIL
6060 Call PyEval_InitThreads for the base gi module import. This forces the
6061 Python internals create the GIL and always support threading with the
6062 various thread state enter/exit funcs. This is needed since we cannot
6063 predict which GI repositories might accept Python callbacks and run
6065 non-Python threads or trigger toggle ref notifications in a thread
6069 https://bugzilla.gnome.org/show_bug.cgi?id=709223
6071 gi/__init__.py | 2 --
6072 gi/gimodule.c | 18 +++++++-----------
6073 gi/overrides/GLib.py | 8 ++------
6074 3 files changed, 9 insertions(+), 19 deletions(-)
6076 commit 57195c9c864bc25521bb3cb98286e6d6f0645652
6077 Author: Simon Feltman <sfeltman@src.gnome.org>
6078 Date: Sun Oct 27 16:02:13 2013 -0700
6080 Add consistent GLib.MainLoop SIGINT cleanup
6082 Remove auto cleanup of SIGINT source handling by returning True
6084 signal callback. This gives the __del__ method consistent cleanup
6086 regardless of whether or not a SIGINT occurred.
6088 https://bugzilla.gnome.org/show_bug.cgi?id=710978
6090 gi/overrides/GLib.py | 4 ++++
6091 1 file changed, 4 insertions(+)
6093 commit 1c03ebba9598e7b6d5293889f46b015bfac3611c
6094 Author: Simon Feltman <sfeltman@src.gnome.org>
6095 Date: Sun Oct 27 15:16:09 2013 -0700
6097 tests: Fix source testing to handle critical with non-existing sources
6099 Silence new critical coming from g_source_remove on non-existing
6101 This function still returns False, but we need to silence the new
6103 so the test suite doesn't fail. See bug 710724.
6105 https://bugzilla.gnome.org/show_bug.cgi?id=710978
6107 tests/test_source.py | 18 ++++++++++++------
6108 1 file changed, 12 insertions(+), 6 deletions(-)
6110 commit ac776da7e56b78a2fa422487f0ef0d8771bcb78f
6111 Author: Simon Feltman <sfeltman@src.gnome.org>
6112 Date: Sun Jul 28 00:01:35 2013 -0700
6114 docs: Add a keyword value of None for allow-none annotations
6116 Update documentation generator for allow-none arguments and
6117 user_data arguments to show a keyword value of None.
6118 Add skip for GDestroyNotify closure arguments.
6120 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6122 gi/docstring.py | 20 +++++++++++++++++---
6123 tests/test_docstring.py | 10 ++++++++++
6124 2 files changed, 27 insertions(+), 3 deletions(-)
6126 commit e1bf9c069644ea0bff0c6a7efa72a285e122a414
6127 Author: Simon Feltman <sfeltman@src.gnome.org>
6128 Date: Sat Oct 19 19:03:12 2013 -0700
6130 Remove overrides for supporting pre-3.10 GObject signal functions
6132 Remove GObject override code for supporting pre-3.10 signal functions
6134 annotate the object argument as "gpointer". With PyGObject 3.11
6136 dependency on GObject 3.10, clear the special case overrides out.
6138 gi/overrides/GObject.py | 76
6139 ++++++-------------------------------------------
6140 1 file changed, 9 insertions(+), 67 deletions(-)
6142 commit 0c308de528c402f67808b13760ca30d55d4c99d7
6143 Author: Simon Feltman <sfeltman@src.gnome.org>
6144 Date: Fri Oct 18 17:15:06 2013 -0700
6146 Add threads_init back as a requirement for non-Python threaded repos
6148 Re-add a "threads_init" function to gi for explicit intialization
6150 threading support. This was marked as deprecated in the previous cycle
6151 because using Python threads already initializes everything.
6152 However, we still need an explicit initalization when using
6154 with non-Python threads which may interact with Python callbacks
6157 https://bugzilla.gnome.org/show_bug.cgi?id=710447
6159 gi/__init__.py | 2 ++
6160 gi/gimodule.c | 10 ++++++++++
6161 gi/overrides/GLib.py | 11 +++++++----
6162 3 files changed, 19 insertions(+), 4 deletions(-)
6164 commit a2fa531b4dee73c193cac92fa3e870808688b5d7
6165 Author: Simon Feltman <sfeltman@src.gnome.org>
6166 Date: Mon Oct 14 20:38:13 2013 -0700
6168 Add dir method to GObject props accessor
6170 Remove special case __members__ attribute from the props accessor
6171 objects getattr method. This has been deprecated since Python 2.3 and
6172 removed in Python 3. Replace this with a __dir__ method making use
6174 old members list building code. Additionally fix error where the
6175 GObjectClass was being unref'd too many times when using
6177 causing a GLib critical.
6179 https://bugzilla.gnome.org/show_bug.cgi?id=705754
6181 gi/_gobject/pygobject.c | 29 +++++++++++++++++++++--------
6182 tests/test_gi.py | 14 ++++++++++++++
6183 2 files changed, 35 insertions(+), 8 deletions(-)
6185 commit 799989ada2f6b1d729f078f204445651c808a2c7
6186 Author: Simon Feltman <sfeltman@src.gnome.org>
6187 Date: Fri May 3 04:37:13 2013 -0700
6189 Remove PyGObjectWeakRef now that g_binding_unbind exists
6191 Remove the static code for managing GBinding weak references now
6193 has a method (unbind) for clearing out bindings.
6195 https://bugzilla.gnome.org/show_bug.cgi?id=699571
6197 gi/_gobject/pygobject.c | 59
6198 +------------------------------------------------
6199 gi/overrides/GObject.py | 19 ++++++++++++++++
6200 tests/test_gobject.py | 41 ++++++++++++++++++++--------------
6201 3 files changed, 44 insertions(+), 75 deletions(-)
6203 commit fe217e0afbd63f05285e59628533f351896377d9
6204 Author: Simon Feltman <sfeltman@src.gnome.org>
6205 Date: Wed Oct 9 00:34:37 2013 -0700
6207 Fix GArray, GList, GSList, and GHashTable marshaling leaks
6209 Remove calling of cleanup code for transfer-everything modes by
6211 cleanup_data is set to NULL in from_py marshalers. Use array and hash
6212 table ref/unref functions for container transfer mode to ensure we
6214 valid container ref after invoke and during from_py cleanup of
6216 Rework restrictions with to_py marshaling cleanup so we always
6218 container for transfer-everything and transfer-container modes.
6220 https://bugzilla.gnome.org/show_bug.cgi?id=693402
6222 gi/pygi-marshal-cleanup.c | 54 +++++++++++----------------------
6223 gi/pygi-marshal-from-py.c | 77
6224 ++++++++++++++++++++++++++++++++++++++++-------
6225 2 files changed, 84 insertions(+), 47 deletions(-)
6227 commit 7407367f424595c2780a2d6a47d936ad0bd91735
6228 Author: Simon Feltman <sfeltman@src.gnome.org>
6229 Date: Mon Oct 7 14:11:39 2013 -0700
6231 Add cleanup_data argument used for Python to C marshaler cleanup
6233 Add a new output argument to all from_py marshalers which is used for
6234 keeping track of marshaling data that later needs cleanup. Previously
6236 marshalers would rely on the GIArgument->v_pointer as the means
6238 cleanup. However, this pointer would get clobbered in the case of
6239 bi-directional arguments (inout) and the memory lost.
6240 Use the new cleanup_data for storing temporarily wrapped C arrays
6242 don't need to re-calculate the length argument during cleanup.
6244 Additionally delay the from_py marshaling cleanup function until after
6245 _invoke_marshal_out_args is called. This gives inout arguments
6247 modify the pointer sufficient time to exist until they marshaled
6249 Python (gi_marshalling_tests_gvalue_inout).
6251 https://bugzilla.gnome.org/show_bug.cgi?id=693402
6253 gi/pygi-argument.c | 4 +-
6254 gi/pygi-cache.h | 3 +-
6255 gi/pygi-invoke-state-struct.h | 7 +-
6256 gi/pygi-invoke.c | 20 +++---
6257 gi/pygi-marshal-cleanup.c | 43 +++++-------
6258 gi/pygi-marshal-from-py.c | 160
6259 ++++++++++++++++++++++++++++--------------
6260 gi/pygi-marshal-from-py.h | 45 ++++++++----
6261 7 files changed, 177 insertions(+), 105 deletions(-)
6263 commit 9456e83233a927f1f01c6ffcb1f07c62b491a1df
6264 Author: Simon Feltman <sfeltman@src.gnome.org>
6265 Date: Wed Aug 7 12:08:15 2013 -0700
6267 Add support for variable user data arguments
6269 Support a variable number of user data arguments for all callback
6270 connection function where the user data is the last explicit argument.
6271 This adds convience as well as consistency with the rest of PyGObject.
6272 Cleanup overrides for GLib.idle_add, timeout_add, timeout_add_seconds,
6273 io_add_watch, and child_watch_add which manually implemented this
6276 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6278 gi/overrides/GLib.py | 75
6279 +++++++++++++++--------------------------------
6280 gi/pygi-cache.c | 14 +++++++++
6281 gi/pygi-cache.h | 3 ++
6282 gi/pygi-closure.c | 37 +++++++++++++++--------
6283 gi/pygi-invoke.c | 71
6284 +++++++++++++++++++++++++++++++-------------
6285 gi/pygi-marshal-from-py.c | 5 ++++
6286 tests/test_everything.py | 32 ++++++++++++++++++++
6287 tests/test_glib.py | 21 +++++++++++++
6288 tests/test_subprocess.py | 8 ++---
6289 9 files changed, 177 insertions(+), 89 deletions(-)
6291 commit ba4a0a65bf9ec44c3b9449f63d63035bff75d8df
6292 Author: Martin Pitt <martinpitt@gnome.org>
6293 Date: Mon Oct 14 12:57:04 2013 +0200
6295 Bump glib and g-i dependencies to latest stable.
6297 glib 2.38 and g-i 1.38 are from stable GNOME 3.10 which we now
6301 Drop @unittest.skipUnless tags from tests which didn't work with
6305 configure.ac | 6 +++---
6306 tests/test_gi.py | 2 --
6307 3 files changed, 5 insertions(+), 6 deletions(-)
6309 commit 2a5ad2af6bc91b187a2f07fc8d001ec7ad618adf
6310 Author: Nuno Araujo <nuno.araujo@russo79.com>
6311 Date: Fri Oct 11 18:41:48 2013 +0200
6313 Fix TypeError when setting drag target_list to None
6315 When calling Widget.drag_dest_set_target_list(None) or
6316 Widget.drag_source_set_target_list(None)
6317 a "TypeError: 'NoneType' object is not iterable" is thrown.
6319 According to Gtk documentation [1] [2], this shouldn't be the case
6320 since client code should be
6321 able to pass NULL in calls made to gtk_drag_dest_set_target_list and
6322 gtk_drag_source_set_target_list.
6324 We now check if the target_list is None and do not try to create a
6325 TargetList if it is the case.
6328 https://developer.gnome.org/gtk3/3.10/gtk3-Drag-and-Drop.html#gtk-drag-dest-set-target-list
6330 https://developer.gnome.org/gtk3/3.10/gtk3-Drag-and-Drop.html#gtk-drag-source-set-target-list
6332 https://bugzilla.gnome.org/show_bug.cgi?id=709926
6334 gi/overrides/Gtk.py | 4 ++--
6335 tests/test_overrides_gtk.py | 2 ++
6336 2 files changed, 4 insertions(+), 2 deletions(-)
6338 commit 27e9f6ede021fc58e952491b67d69c2a5cdd6acb
6339 Author: Simon Feltman <sfeltman@src.gnome.org>
6340 Date: Tue Oct 1 17:09:39 2013 -0700
6342 Use qdata for wrapper retrieval in toggle reference notifications
6344 Replace usage of user data holding PyGObject wrappers in toggle ref
6345 notifications with GObject qdata retrieval. This fixes thread
6347 where a toggle notify may be called from another thread during
6349 wrappers dealloc. In this case the toggle notify is blocked because
6351 is held in dealloc, and when it continues, the user data would be
6353 invalid PyGObject wrapper. Using qdata solves this by ensuring
6355 retrieval is done within the safety of the GIL and may turn up
6358 https://bugzilla.gnome.org/show_bug.cgi?id=709223
6360 gi/_gobject/pygobject.c | 21 ++++++++++++++-------
6361 1 file changed, 14 insertions(+), 7 deletions(-)
6363 commit 55d925d5f0fb87464b1f391c325c1e70da10d33d
6364 Author: Simon Feltman <sfeltman@src.gnome.org>
6365 Date: Thu Oct 10 16:10:16 2013 -0700
6367 Add expected failure to deal with fixes in gimarshallingtests.c
6369 Fix test_object_full_inout based on newer gimarshallingtests.c >
6371 Add expectedFailure to deal with previous versions of
6372 gimarshallingtests.c.
6374 https://bugzilla.gnome.org/show_bug.cgi?id=709796
6376 tests/test_gi.py | 6 +++++-
6377 1 file changed, 5 insertions(+), 1 deletion(-)
6379 commit d866d422cc39b229f443dd08a3ea50cb3f7df8e6
6380 Author: Simon Feltman <sfeltman@src.gnome.org>
6381 Date: Mon Oct 7 01:17:08 2013 -0700
6383 Fix memory leaks for inout array arguments
6385 Add tracking for array allocations to from_py marashalers in the
6386 argument states extra data (arg_data). This is then used later
6388 marshaling cleanup to call the array cleanup function.
6390 https://bugzilla.gnome.org/show_bug.cgi?id=693402
6392 gi/pygi-invoke.c | 1 +
6393 gi/pygi-marshal-cleanup.c | 1 +
6394 gi/pygi-marshal-from-py.c | 13 +++++++++----
6395 3 files changed, 11 insertions(+), 4 deletions(-)
6397 commit 31263ac117027446c8e2fd1b56d7e348384aabef
6398 Author: Simon Feltman <sfeltman@src.gnome.org>
6399 Date: Sun Oct 6 21:54:15 2013 -0700
6401 Fix to Python marshaling leaks for arrays holding GVariants
6403 Add early check for array items holding pointers and simply assign the
6404 pointer to GIArgument.v_pointer prior giving it to the per-item
6406 This simplifies marshaling and fixes leaks regarding arrays of
6408 removing the unneeded g_variant_ref_sink (variants are always
6410 Conditionalize the use of g_variant_ref_sink based on transfer mode
6412 per-item marshaler. This fixes a reference leak where we are given
6414 of the variant (transfer full) but added a new ref anyway.
6416 https://bugzilla.gnome.org/show_bug.cgi?id=693402
6418 gi/pygi-marshal-to-py.c | 34 ++++++++++++++++++----------------
6419 1 file changed, 18 insertions(+), 16 deletions(-)
6421 commit c9580ce1156789221aa19b00c7aab404db5431b5
6422 Author: Simon Feltman <sfeltman@src.gnome.org>
6423 Date: Sun Oct 6 04:26:18 2013 -0700
6425 Cleanup per-item array marshaling code for flat arrays
6427 Add an early per-item check which tests if the item being marshaled
6429 pointer and simply copies the pointer into the array. This takes
6431 GdkAtom and GVariant special cases because these items are always
6434 Fix error condition cleanup code when an item fails marshaling in
6438 https://bugzilla.gnome.org/show_bug.cgi?id=693402
6440 gi/pygi-marshal-from-py.c | 87
6441 +++++++++++++++++++++--------------------------
6442 tests/test_gi.py | 32 +++++++++++++++++
6443 2 files changed, 71 insertions(+), 48 deletions(-)
6445 commit 4623caa71c54958ab821db27a9eff2790acb3975
6446 Author: Simon Feltman <sfeltman@src.gnome.org>
6447 Date: Sat Oct 5 17:00:54 2013 -0700
6449 Fix GValue array marshaling leaks and crash fallout
6451 * Decrement references for results of PySequence_GetItem. There were
6453 places we were not decrementing the Python reference, leaking
6455 * Add tracking of Python arguments with recursive marshaling
6457 allows arrays of GValues which have been coerced from Python types
6459 properly free'd (also fixes bug 703662).
6460 * Use g_variant_ref for variant arguments marked as transfer
6462 This fixes double free's caused by the decrementing of
6466 https://bugzilla.gnome.org/show_bug.cgi?id=693402
6468 gi/pygi-cache.h | 1 +
6469 gi/pygi-invoke.c | 1 +
6470 gi/pygi-marshal-cleanup.c | 50
6471 +++++++++++++++++++++++++++++++++++++++++------
6472 gi/pygi-marshal-cleanup.h | 14 +++++++++++++
6473 gi/pygi-marshal-from-py.c | 20 ++++++++++++++++---
6474 gi/pygi-marshal-to-py.c | 1 +
6475 6 files changed, 78 insertions(+), 9 deletions(-)
6477 commit 549f849ef8854352483657df3d7558688a4b0007
6478 Author: Simon Feltman <sfeltman@src.gnome.org>
6479 Date: Sat Sep 28 00:26:28 2013 -0700
6481 Refactor GLib.io_add_watch to make it more testable
6483 Break the argument munging code into a separate function which
6484 can be tested in isolation of adding an io watch.
6485 Add additional failing test which specifies all args as keywords
6486 which we eventually need to support for consistency with the
6489 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6491 gi/overrides/GLib.py | 23 ++++++++++++++++++-----
6492 1 file changed, 18 insertions(+), 5 deletions(-)
6494 commit bc780ed17bc4cc62959c63c3f0142161a924679f
6495 Author: Simon Feltman <sfeltman@src.gnome.org>
6496 Date: Fri Sep 27 20:59:45 2013 -0700
6498 Refactor GLib.child_watch_add to make it more testable
6500 Break the argument munging code into a separate function which
6501 can be tested in isolation of adding a child watch. Update tests
6502 to reflect this. Add additional failing test which specify
6503 all args as keywords which we eventually need to support for
6504 consistency with the rest of PyGObject.
6506 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6508 gi/overrides/GLib.py | 25 +++++++++-----
6509 tests/test_subprocess.py | 88
6510 +++++++++++++++++++++---------------------------
6511 2 files changed, 56 insertions(+), 57 deletions(-)
6513 commit 73c6213e8b47fa7c4c2c7a517fe7b56126145888
6514 Author: Simon Feltman <sfeltman@src.gnome.org>
6515 Date: Thu Sep 26 19:05:20 2013 -0700
6517 Don't pass None to callbacks when user data is not specified
6519 For APIs which support a callback and optional user data,
6520 don't pass the user data to the callback if it was not explicitly
6521 specified when the callback was connected.
6523 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6525 gi/pygi-closure.c | 17 ++++++++++++++---
6526 gi/pygi-marshal-from-py.c | 5 -----
6527 tests/test_everything.py | 7 ++-----
6528 3 files changed, 16 insertions(+), 13 deletions(-)
6530 commit a76b06179cdca43f1c7d1feb8e2563e3d884a8ff
6531 Author: Simon Feltman <sfeltman@src.gnome.org>
6532 Date: Fri Oct 4 17:27:47 2013 -0700
6534 Add missing methods on PyGIBaseInfo and sub-classes
6536 Expose all methods of GIBaseBase info and its sub-classes.
6538 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6540 gi/_glib/pyglib-python-compat.h | 1 +
6541 gi/pygi-info.c | 550
6542 +++++++++++++++++++++++++++++++++++++++-
6543 tests/test_repository.py | 134 ++++++++++
6544 3 files changed, 677 insertions(+), 8 deletions(-)
6546 commit e190eb75093e8bf36190dc1beb18d1c1b95b9582
6547 Author: Simon Feltman <sfeltman@src.gnome.org>
6548 Date: Fri Oct 4 13:46:36 2013 -0700
6550 Expose all GI enum and flags types
6552 Add new types for GIDirection, GITransfer, GIArrayType, GIScopeType,
6553 GIVFuncInfoFlags, GIFieldInfoFlags, GIFuncitonInfoFlags, GITypeTag,
6555 GInfoType. These types are found in the gi._gi module exposed
6557 "GI" prefix and contain all of their values as class attributes. e.g.
6558 gi._gi.Transfer.EVERYTHING.
6560 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6562 gi/docstring.py | 10 ++--
6563 gi/pygi-info.c | 150
6564 ++++++++++++++++++++++++++++++++++++++++++++---
6565 tests/test_repository.py | 13 +++-
6566 3 files changed, 158 insertions(+), 15 deletions(-)
6568 commit 0120af6c418d0f67f39c02a4e8327813645b97f4
6569 Author: Simon Feltman <sfeltman@src.gnome.org>
6570 Date: Fri Oct 4 13:42:34 2013 -0700
6572 Avoid calling g_base_info_get_name on GI_INFO_TYPE_TYPE
6574 Calling g_base_info_get_name on infos tagged with GI_INFO_TYPE_TYPE
6576 cause a crash. Avoid this by adding _safe_base_info_get_name and
6578 throughout the bindings.
6579 Logged GI bug as: https://bugzilla.gnome.org/show_bug.cgi?id=709456
6581 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6583 gi/pygi-info.c | 35 +++++++++++++++++++++++++----------
6584 1 file changed, 25 insertions(+), 10 deletions(-)
6586 commit c86b2fe8d01070f06c45fffd910d890afba1313a
6587 Author: Simon Feltman <sfeltman@src.gnome.org>
6588 Date: Fri Oct 4 13:41:08 2013 -0700
6590 Add GIBaseInfo.equal method
6592 Break PyGIBaseInfo rich compare into two methods: equal and
6594 Equal is a direct exposure of the GI method and richcompare makes
6596 this with additional support for Pyton "==" and "!=" operators.
6598 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6600 gi/pygi-info.c | 32 ++++++++++++++++++++++++--------
6601 tests/test_repository.py | 1 +
6602 2 files changed, 25 insertions(+), 8 deletions(-)
6604 commit e7b758badd0ab0b147117859f7871c39fb5399c1
6605 Author: Simon Feltman <sfeltman@src.gnome.org>
6606 Date: Fri Oct 4 13:36:11 2013 -0700
6608 Move info string retrieval into generic function
6610 Add get_info_string for sharing binding of simple string retrieval on
6613 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6615 gi/pygi-info.c | 15 +++++++++++++--
6616 1 file changed, 13 insertions(+), 2 deletions(-)
6618 commit d2aef364de778da966bc1cfffe184d649f9ebb21
6619 Author: Simon Feltman <sfeltman@src.gnome.org>
6620 Date: Tue Sep 24 06:26:17 2013 -0700
6622 Move child info retrieval into generic function
6624 Add a generic function for bindings which return a single child info.
6625 This trivializes binding methods like PyGIObjectInfo.get_parent and
6626 fixes leaks in PyGIObjectInfo.get_class_struct and
6627 PyGIVFuncInfo.get_invoker.
6629 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6632 +++++++++++++++++++++++---------------------------------
6633 1 file changed, 23 insertions(+), 33 deletions(-)
6635 commit cdd03a2b0baef19797a5b55c2880e5b7acf1dd93
6636 Author: Simon Feltman <sfeltman@src.gnome.org>
6637 Date: Tue Sep 24 02:52:22 2013 -0700
6639 Move info tuple retrieval into generic function
6641 Create new generic function for retrieving a tuple of child infos.
6642 This greatly simplifies all the bindings which return tuples from
6643 a common pattern of functions on GIBaseInfo based instances.
6645 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6647 gi/pygi-info.c | 469
6648 ++++++++-------------------------------------------------
6649 1 file changed, 59 insertions(+), 410 deletions(-)
6651 commit 62f185bef20b42f18290a3cf1d3b19dddc957f8a
6652 Author: Simon Feltman <sfeltman@src.gnome.org>
6653 Date: Sun Oct 6 16:41:37 2013 -0700
6655 tests: Update check.valgrind with always-malloc and add logging
6658 Based on notes in https://wiki.gnome.org/Valgrind we need to use
6659 always-malloc for valgrind runs.
6660 Add check.valgrindlog and check.valgrindxml which output valgrind
6662 an ignored local tmp. Output logs are named <head-sha>-$TEST_NAMES.log
6664 can track commits and use diff tools on the logs.
6667 Makefile.am | 6 ++++++
6668 tests/Makefile.am | 10 +++++++++-
6669 3 files changed, 16 insertions(+), 1 deletion(-)
6671 commit 314c933626c4dc5fc585d0e5b6c45ddb17c2e52f
6672 Author: Simon Feltman <sfeltman@src.gnome.org>
6673 Date: Fri Oct 4 20:43:02 2013 -0700
6675 Move existing repository tests into test_repository
6677 Move flags and enum double registration tests into test_repository.py.
6678 Remove duplicate ObjectInfo tests from test_gi.py.
6680 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6682 tests/test_gi.py | 38 --------------------------------------
6683 tests/test_repository.py | 28 ++++++++++++++++++++++++++++
6684 2 files changed, 28 insertions(+), 38 deletions(-)
6686 commit 31840888c8948aab78041da93c329572f3aabb64
6687 Author: Simon Feltman <sfeltman@src.gnome.org>
6688 Date: Fri Oct 4 17:31:21 2013 -0700
6690 Add unittests for GIRepository
6692 Add basic unittests for the existing classes and methods exposed for
6693 the GIRepository module (gi._gi).
6695 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6697 tests/Makefile.am | 1 +
6698 tests/test_repository.py | 170
6699 +++++++++++++++++++++++++++++++++++++++++++++++
6700 2 files changed, 171 insertions(+)
6702 commit 4408f83be70e92c5e3943f5ce85c551e7f2c87d0
6703 Author: Simon Feltman <sfeltman@src.gnome.org>
6704 Date: Fri Oct 4 15:50:05 2013 -0700
6706 Derive SignalInfo info from CallableInfo
6708 Change Python class derivation of PyGISignalInfo to use
6710 the base class. This accurately reflects the GI class layout and
6712 the callable information for signals.
6714 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6716 gi/pygi-info.c | 7 ++++---
6717 1 file changed, 4 insertions(+), 3 deletions(-)
6719 commit b01daba04ff001b9e63d343938e879d339d9a98c
6720 Author: Simon Feltman <sfeltman@src.gnome.org>
6721 Date: Fri Oct 4 15:48:05 2013 -0700
6723 Use PYGLIB_PyLong_FromLong for GIDirection return
6725 https://bugzilla.gnome.org/show_bug.cgi?id=709008
6727 gi/pygi-info.c | 2 +-
6728 1 file changed, 1 insertion(+), 1 deletion(-)
6730 commit d644cbd0c0ad85142286754838db848c4eb1707f
6731 Author: Simon Feltman <sfeltman@src.gnome.org>
6732 Date: Thu Oct 3 19:25:34 2013 -0700
6734 Fix memory leak for caller allocated GValue out arguments
6736 Swizzle the order of type checks in _cleanup_caller_allocates so
6737 G_TYPE_VALUE arguments are checked before G_TYPE_BOXED. The
6739 important because G_TYPE_VALUE is a sub-type of boxed and so its
6741 cleanup code was never being called (g_value_unset).
6742 Additionally update check to use g_type_is_a instead of a compare
6744 the potential case of a G_TYPE_VALUE sub-type.
6746 https://bugzilla.gnome.org/show_bug.cgi?id=709397
6748 gi/pygi-marshal-cleanup.c | 11 ++++++-----
6749 1 file changed, 6 insertions(+), 5 deletions(-)
6751 commit 510789d52e9e2fd863d26613f3282364eb175601
6752 Author: Simon Feltman <sfeltman@src.gnome.org>
6753 Date: Sun Jul 28 14:44:51 2013 -0700
6755 Add support for default arguments annotated with allow-none
6757 Support default value of NULL for tail end arguments which are
6758 marked with allow-none.
6759 The implementation uses a place holder object for un-supplied
6761 which are annotated with allow-none. This is then used later during
6762 marshaling to supply NULL as the default.
6763 Additionally support an implicit default for callback user_data
6764 using the same technique.
6766 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6768 gi/gimodule.c | 6 +++
6769 gi/pygi-cache.c | 103
6770 ++++++++++++++++++++++++++++++----------------
6771 gi/pygi-cache.h | 8 ++++
6772 gi/pygi-invoke.c | 42 +++++++++++++------
6773 gi/pygi-marshal-from-py.c | 5 +++
6775 tests/test_everything.py | 16 +++++++
6776 tests/test_gi.py | 30 ++++++++++++++
6777 8 files changed, 162 insertions(+), 49 deletions(-)
6779 commit 03f531ffb1adde0c48e98f92bd92f79416654fbe
6780 Author: Simon Feltman <sfeltman@src.gnome.org>
6781 Date: Fri Aug 2 22:27:10 2013 -0700
6783 cache refactoring: Move arg cache field assignments into
6786 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6788 gi/pygi-cache.c | 23 +++++++++++------------
6789 1 file changed, 11 insertions(+), 12 deletions(-)
6791 commit cb7e7311bff57eb4c79c7772b6db4d00084656bb
6792 Author: Simon Feltman <sfeltman@src.gnome.org>
6793 Date: Fri Aug 2 20:27:02 2013 -0700
6795 cache refactoring: Cleanup array length argument marshaling
6797 Add shared function: _arg_cache_array_len_arg_setup for use
6798 with both to and from array marshaling setup. This function
6799 consolidates all of the edge cases regarding array length setup
6800 and removes the need for flagging arguments with
6801 PYGI_META_ARG_TYPE_CHILD_NEEDS_UPDATE.
6803 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6805 gi/pygi-cache.c | 145
6806 +++++++++++++++++++++++++++-----------------------------
6807 gi/pygi-cache.h | 5 --
6808 2 files changed, 71 insertions(+), 79 deletions(-)
6810 commit c9d8639401ae82977e960de44d80b94a501a2184
6811 Author: Simon Feltman <sfeltman@src.gnome.org>
6812 Date: Sat Aug 3 00:26:11 2013 -0700
6814 cache refactoring: Move variable declarations to blocks where they
6817 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6819 gi/pygi-cache.c | 25 ++++++++++++++-----------
6820 1 file changed, 14 insertions(+), 11 deletions(-)
6822 commit dbc2cf5f1fa0f9cc046170efa6afb086b90253cb
6823 Author: Simon Feltman <sfeltman@src.gnome.org>
6824 Date: Thu Aug 1 19:33:27 2013 -0700
6826 cache refactoring: Remove continue statements from
6827 _args_cache_generate
6829 Remove continue and goto statements from the large loop within
6830 _args_cache_generate. This simplifies the sharing of parts of
6831 the loop for future refactoring.
6833 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6835 gi/pygi-cache.c | 126
6836 +++++++++++++++++++++++++++-----------------------------
6837 1 file changed, 61 insertions(+), 65 deletions(-)
6839 commit 87ae14b8b4a0ed9beb22f48314247e988a2e017f
6840 Author: Simon Feltman <sfeltman@src.gnome.org>
6841 Date: Wed Jul 31 18:10:05 2013 -0700
6843 cache refactoring: Use bit field for PyGIDirection instead of enum
6845 This supports cleaner logic when testing the direction of
6846 arguments due to the majority of these tests being along the
6847 lines of: (direction == FROM_PYTHON || direction == BIDIRECTIONAL)
6848 Which is replaced with: (direction & FROM_PYTHON)
6850 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6852 gi/pygi-cache.c | 64
6853 ++++++++++++++++++++++++++++-----------------------------
6854 gi/pygi-cache.h | 6 +++---
6855 2 files changed, 35 insertions(+), 35 deletions(-)
6857 commit d5925b76afa3a429092cbafd82aed40bb0cf0b18
6858 Author: Simon Feltman <sfeltman@src.gnome.org>
6859 Date: Sun Jul 28 20:45:05 2013 -0700
6861 cache refactoring: Remove special case marshaling for instance
6864 Remove duplicate code for marshaling struct and objects for
6865 instance arguments. Re-use individual cache marshalers for
6866 structs and objects with the instance argument. This required
6867 removal of passing GITypeInfo to the marshaler because it is
6868 not available for instance arguments. Instead always assume
6869 "is_pointer" for the instance argument by using the cache.
6871 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6873 gi/pygi-argument.c | 4 +--
6874 gi/pygi-cache.c | 16 ++++-----
6875 gi/pygi-marshal-from-py.c | 87
6876 +++--------------------------------------------
6877 gi/pygi-marshal-from-py.h | 16 ++-------
6878 4 files changed, 16 insertions(+), 107 deletions(-)
6880 commit c19bed69c669160737e12d92cc29f3e6d1b008cc
6881 Author: Simon Feltman <sfeltman@src.gnome.org>
6882 Date: Sun Jul 28 16:44:01 2013 -0700
6884 cache refactoring: Use GPtrArray for callable arg cache
6886 Replace manual management of the C array holding individual
6887 argument caches with usage of GPtrArray. This provides storage
6888 of the array length along with item memory management.
6890 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6892 gi/pygi-cache.c | 62
6893 +++++++++++++++++++++++------------------------
6894 gi/pygi-cache.h | 16 +++++++++---
6895 gi/pygi-invoke.c | 16 ++++++------
6896 gi/pygi-marshal-cleanup.c | 8 +++---
6897 gi/pygi-marshal-from-py.c | 6 ++---
6898 gi/pygi-marshal-to-py.c | 6 ++---
6899 6 files changed, 62 insertions(+), 52 deletions(-)
6901 commit 52ea3afb0a6494423eca36a54af928d4ae5d9954
6902 Author: Simon Feltman <sfeltman@src.gnome.org>
6903 Date: Sun Jul 28 15:02:51 2013 -0700
6905 cache refactoring: Move PyGI direction code into new function
6907 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6909 gi/pygi-cache.c | 42 +++++++++++++++++++++---------------------
6910 1 file changed, 21 insertions(+), 21 deletions(-)
6912 commit 83208bf495b152e93a28a231d445f43ea827d2eb
6913 Author: Simon Feltman <sfeltman@src.gnome.org>
6914 Date: Fri Aug 2 15:59:25 2013 -0700
6916 cache refactoring: Add comments to callable cache structure
6918 Add comments to count fields on _PyGICallableCache.
6920 https://bugzilla.gnome.org/show_bug.cgi?id=640812
6922 gi/pygi-cache.h | 13 ++++++++++++-
6923 1 file changed, 12 insertions(+), 1 deletion(-)
6925 commit 0a8d5695972601eaa9f7f463bac173d02b0380a0
6926 Author: Simon Feltman <sfeltman@src.gnome.org>
6927 Date: Wed Jul 24 01:14:29 2013 -0700
6929 Remove support for allowing PyObjects as void pointers
6931 Final removal of marshaling Python object addresses as
6932 void pointers. This ensures we can successfully pass
6933 integer values as the pointer without the Python object
6934 leaking or crashing due to invalid memory.
6936 https://bugzilla.gnome.org/show_bug.cgi?id=688081
6938 gi/pygi-marshal-from-py.c | 20 ++++++--------------
6939 gi/pygi-marshal-to-py.c | 14 ++------------
6940 tests/test_signal.py | 5 +----
6941 3 files changed, 9 insertions(+), 30 deletions(-)
6943 commit 1469403ee2faa699430055384b338f0cd8e672d7
6944 Author: Simon Feltman <sfeltman@src.gnome.org>
6945 Date: Wed Sep 25 18:21:22 2013 -0700
6947 configure.ac: bump trunk to 3.11.1
6950 1 file changed, 1 insertion(+), 1 deletion(-)
6952 commit 8e774e61d62c82efa3d907c1201359121878b4b5
6953 Author: Simon Feltman <sfeltman@src.gnome.org>
6954 Date: Mon Sep 23 03:57:03 2013 -0700
6956 configure.ac: post-release bump to 3.10.1
6959 1 file changed, 1 insertion(+), 1 deletion(-)
6961 commit 95af6279a9affff5c816db2db53207ff0f19872d
6962 Author: Simon Feltman <sfeltman@src.gnome.org>
6963 Date: Mon Sep 23 03:17:19 2013 -0700
6968 configure.ac | 4 ++--
6969 2 files changed, 5 insertions(+), 2 deletions(-)
6971 commit c626be6317b610277c95461108573d1ae6f42b6d
6972 Author: Martin Pitt <martinpitt@gnome.org>
6973 Date: Mon Sep 23 12:06:11 2013 +0200
6975 Fix test_gi.TestProjectVersion.test_version_str()
6977 In this test case we only do a string comparison, not a proper
6979 component" numerical one. So relax the test to also work with 3.10.
6981 tests/test_gi.py | 2 +-
6982 1 file changed, 1 insertion(+), 1 deletion(-)
6984 commit 0a30f8d02099e582ea3ded800303e14d2e7ab212
6985 Author: Martin Pitt <martinpitt@gnome.org>
6986 Date: Mon Sep 16 10:12:33 2013 -0500
6991 1 file changed, 7 insertions(+)
6993 commit 506f1e35a9375be80a6a79421bf8272165fdd90a
6994 Author: Simon Feltman <sfeltman@src.gnome.org>
6995 Date: Mon Sep 16 01:23:49 2013 -0700
6997 Update current maintainers list in README
7000 1 file changed, 2 insertions(+), 1 deletion(-)
7002 commit ef120498e060e88a1efcb82de385a23c1fa9c7da
7003 Author: Simon Feltman <sfeltman@src.gnome.org>
7004 Date: Tue Sep 10 17:11:21 2013 -0700
7006 Fix union argument regression when marshaling from python
7008 Check for union members when marshaling boxed types from Python.
7009 This is a regression caused by stricter type checking added when
7010 merging code from pygi-argument.c.
7011 Re-add pyg_boxed_check to the same bit of code in addition to
7012 __gtype__ checking to avoid a double regression.
7014 https://bugzilla.gnome.org/show_bug.cgi?id=703873
7016 gi/pygi-marshal-from-py.c | 53
7017 ++++++++++++++++++++++++++---------------------
7018 1 file changed, 29 insertions(+), 24 deletions(-)
7020 commit 59a2964141e963d2961e55d4b84a777927b4f21b
7021 Author: Simon Feltman <sfeltman@src.gnome.org>
7022 Date: Wed Sep 11 05:05:33 2013 -0700
7024 Fix GLib.Source sub-classing with initializer args
7026 Add variable args and keyword args to the GLib.Source.__new__
7027 method to support sub-classes which want to implement __init__.
7029 https://bugzilla.gnome.org/show_bug.cgi?id=707904
7031 gi/overrides/GLib.py | 2 +-
7032 tests/test_source.py | 11 +++++++++++
7033 2 files changed, 12 insertions(+), 1 deletion(-)
7035 commit afa42ab95327da1de0cf86005974cd8ab0d46872
7036 Author: Vratislav Podzimek <vpodzime@redhat.com>
7037 Date: Wed Sep 4 14:17:31 2013 +0200
7039 Copy __doc__ when wrapping function
7041 Signed-off-by: Vratislav Podzimek <vpodzime@redhat.com>
7042 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
7044 gi/overrides/__init__.py | 1 +
7045 1 file changed, 1 insertion(+)
7047 commit 7914a6828a533d8c579a5b422351e18b9f9afc8c
7048 Author: Martin Pitt <martinpitt@gnome.org>
7049 Date: Mon Sep 2 14:56:24 2013 +0200
7051 configure.ac: post-release bump to 3.9.92
7054 1 file changed, 1 insertion(+), 1 deletion(-)
7056 commit ad8b7d1a89eb2d030a504d521f7589a4c1d835fb
7057 Author: Martin Pitt <martinpitt@gnome.org>
7058 Date: Mon Sep 2 14:38:41 2013 +0200
7062 NEWS | 10 ++++++++++
7063 1 file changed, 10 insertions(+)
7065 commit 9df8eb79929025f12d51bc7f79b1d160156c2755
7066 Author: Simon Feltman <sfeltman@src.gnome.org>
7067 Date: Mon Sep 2 04:19:35 2013 -0700
7069 Fix GObject signal methods to work with new annotations
7071 Add conditional support for signal methods annotated as gpointer
7072 or GObject.Object. This is needed to work with newer versions of
7073 glib which changed annotations to GObject.Object (bug #685387).
7075 https://bugzilla.gnome.org/show_bug.cgi?id=707280
7077 gi/overrides/GObject.py | 106
7078 ++++++++++++++++++++++++++++++------------------
7079 1 file changed, 66 insertions(+), 40 deletions(-)
7081 commit 9b6b6c7ee6a621cba99f51857eadd622a1535118
7082 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
7083 Date: Thu Aug 15 14:41:40 2013 +0800
7085 Fix build on C89 Compilers
7087 Avoid a variable declaration at the middle of the block
7089 https://bugzilla.gnome.org/show_bug.cgi?id=707264
7091 gi/pygi-closure.c | 3 ++-
7092 1 file changed, 2 insertions(+), 1 deletion(-)
7094 commit 19c1a2dfb91a83a6fb0ca76b9c95c42a49a3736e
7095 Author: Simon Feltman <sfeltman@src.gnome.org>
7096 Date: Sun Sep 1 20:44:26 2013 -0700
7098 Change boxed type checking in marshaling to use __gtype__ attribute
7100 Replace usage of pyg_boxed_check(pyboxed) with g_type_is_a and
7101 pyg_type_from_object. This has the effect of using the __gtype__
7102 attribute stashed on object class instead of the PyGBoxed
7103 internally held gtype. This fixes type descrepencies for objects
7104 marshaled into overridden signal class closures and passed back
7105 to functions taking an alias their type.
7107 https://bugzilla.gnome.org/show_bug.cgi?id=707140
7109 gi/pygi-marshal-from-py.c | 8 +++++++-
7110 tests/test_overrides_gtk.py | 34 ++++++++++++++++++++++++++++++++++
7111 2 files changed, 41 insertions(+), 1 deletion(-)
7113 commit dab0c09f1996e124ca98334e5aea0852904b44b5
7114 Author: Simon Feltman <sfeltman@src.gnome.org>
7115 Date: Sun Sep 1 17:49:09 2013 -0700
7117 Use G_IS_VALUE for checking return values in closure marshaling
7119 Replace return_value argument NULL checks in GClosureMarshal
7120 implementations with G_IS_VALUE. This checks both NULL and
7121 validity of the value (!= G_TYPE_INVALID). This is needed
7122 because GLib can pass either NULL or an invalid value based
7123 on whether or not G_ENABLE_DEBUG is set.
7124 See: https://bugzilla.gnome.org/show_bug.cgi?id=707249
7126 https://bugzilla.gnome.org/show_bug.cgi?id=707170
7128 gi/_gobject/pygtype.c | 4 ++--
7129 gi/pygi-signal-closure.c | 2 +-
7130 2 files changed, 3 insertions(+), 3 deletions(-)
7132 commit c7b75a8c250078ac8ea28752f087ed687bd20edd
7133 Author: Yanko Kaneti <yaneti@declera.com>
7134 Date: Wed Aug 21 08:53:07 2013 +0200
7136 Fix PEP-8 errors in propertyhelper.py
7138 https://bugzilla.gnome.org/show_bug.cgi?id=706319
7140 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
7142 gi/_gobject/propertyhelper.py | 12 ++++++------
7143 1 file changed, 6 insertions(+), 6 deletions(-)
7145 commit 6fdd58404103596accb6ab04d4de33846d853c58
7146 Author: Martin Pitt <martinpitt@gnome.org>
7147 Date: Mon Aug 19 17:13:30 2013 +0200
7149 configure.ac: post-release bump to 3.9.91
7152 1 file changed, 1 insertion(+), 1 deletion(-)
7154 commit 6fbe2580deda215896e9583b418b8bc1aceb2f96
7155 Author: Martin Pitt <martinpitt@gnome.org>
7156 Date: Mon Aug 19 17:10:52 2013 +0200
7161 1 file changed, 9 insertions(+)
7163 commit a8d5da559ef088b05062681206758d2718946269
7164 Author: Martin Pitt <martinpitt@gnome.org>
7165 Date: Mon Aug 19 11:38:31 2013 +0200
7167 NEWS: retroactively fix last version number
7170 1 file changed, 1 insertion(+), 1 deletion(-)
7172 commit aba45eb2617c4b35168089bc9028f351732a617f
7173 Author: Benjamin Berg <benjamin@sipsolutions.net>
7174 Date: Tue Aug 6 00:41:52 2013 +0200
7176 Create GLib.Pid in the same way on python 2 and 3
7178 https://bugzilla.gnome.org/show_bug.cgi?id=705451
7180 gi/_glib/pygspawn.c | 8 --------
7181 1 file changed, 8 deletions(-)
7183 commit 2d203b7529c95ba4461a5a6d4c6b67169fabc4cf
7184 Author: Benjamin Berg <benjamin@sipsolutions.net>
7185 Date: Mon Aug 5 17:04:15 2013 +0200
7187 Use PyLong_Type.tp_new for GLib.Pid
7189 For GLib.Pid the original implementation for __new__ needs to be used,
7190 as it is able to initialize the integer correctly.
7192 https://bugzilla.gnome.org/show_bug.cgi?id=705451
7194 gi/_glib/pygspawn.c | 1 +
7195 tests/test_subprocess.py | 1 +
7196 2 files changed, 2 insertions(+)
7198 commit c32793dafbd52eab87b14ca064b47f5a4fb9000b
7199 Author: Simon Feltman <sfeltman@src.gnome.org>
7200 Date: Mon Aug 5 14:40:38 2013 -0700
7202 Add accumulator and accu_data arguments to GObject.Signal decorator
7204 Update __init__, __call__, and copy methods to accept and pass
7205 accumulators and associated user data through them. Update
7206 accumulator unittests to use Signal decorators for testing accumulator
7207 pass throughs. Verified the __gsignals__ dictionary accepts None
7208 as valid values for accumulator and accu_data so specialization
7209 for these arguments is not necessary.
7211 https://bugzilla.gnome.org/show_bug.cgi?id=705533
7213 gi/_gobject/signalhelper.py | 17 ++++++++++-----
7214 tests/test_signal.py | 52
7215 ++++++++++++++++++++++++---------------------
7216 2 files changed, 40 insertions(+), 29 deletions(-)
7218 commit 78f72654f5cb6c06e76ed9a532fc1ee328b60e50
7219 Author: Simon Feltman <sfeltman@src.gnome.org>
7220 Date: Mon Aug 5 14:12:24 2013 -0700
7222 Pass return values through the GObject.Signal.emit wrapper
7224 Return the result of GObject.emit from the Signal decorators wrapping.
7225 Update unittest for decorated return type to use skipUnless for
7227 Add test for Signal decorator return type.
7229 https://bugzilla.gnome.org/show_bug.cgi?id=705530
7231 gi/_gobject/signalhelper.py | 2 +-
7232 tests/test_signal.py | 37 +++++++++++++++++++++----------------
7233 2 files changed, 22 insertions(+), 17 deletions(-)
7235 commit 08cc206afeaefd1ce50ecfd1411807225a11c8f8
7236 Author: Simon Feltman <sfeltman@src.gnome.org>
7237 Date: Mon Jul 29 03:33:40 2013 -0700
7239 configure.ac: post-release bump to 3.9.90
7242 1 file changed, 1 insertion(+), 1 deletion(-)
7244 commit 2d8f5490cdc078b3e56a92deb9eca71b3fc5ef17
7245 Author: Simon Feltman <sfeltman@src.gnome.org>
7246 Date: Mon Jul 29 02:23:02 2013 -0700
7250 NEWS | 41 +++++++++++++++++++++++++++++++++++++++++
7252 2 files changed, 42 insertions(+), 1 deletion(-)
7254 commit ec3de7608ec970f6f272c9d7937344f02c6e9c3d
7255 Author: Simon Feltman <sfeltman@src.gnome.org>
7256 Date: Mon Jul 29 01:21:19 2013 -0700
7258 Ensure exceptions set in closure out argument marshaling are printed
7260 Call PyErr_Print when an exception occurs after marshaling closure
7261 out arguments. These exceptions were being ignored and cleared out
7262 only to show up in debug builds of Python.
7264 https://bugzilla.gnome.org/show_bug.cgi?id=705064
7266 gi/pygi-closure.c | 8 ++++++++
7267 tests/test_generictreemodel.py | 17 +++++++++++------
7268 2 files changed, 19 insertions(+), 6 deletions(-)
7270 commit b5dcb1800839f747a052e487643c234668384677
7271 Author: Simon Feltman <sfeltman@src.gnome.org>
7272 Date: Sun Jul 28 23:00:26 2013 -0700
7274 Use Python error messages for marshaling integers from Python
7276 Use Pythons default error messages where possible.
7277 Change all explicitly raised ValueError to use OverflowError
7278 for out of range data.
7280 https://bugzilla.gnome.org/show_bug.cgi?id=705057
7282 gi/pygi-marshal-from-py.c | 76
7283 +++++++++++++++++------------------------------
7284 tests/test_everything.py | 52 ++++++++++++++++----------------
7285 tests/test_gi.py | 64 +++++++++++++++++++--------------------
7286 tests/test_gobject.py | 2 +-
7287 4 files changed, 86 insertions(+), 108 deletions(-)
7289 commit 3c83bfb14b850670eb7c0208e55c120ca203f8af
7290 Author: Simon Feltman <sfeltman@src.gnome.org>
7291 Date: Sat Jul 27 21:10:07 2013 -0700
7293 Use Py_CLEAR for closure cleanup instead of test with Py_DECREF
7295 gi/pygi-closure.c | 11 ++---------
7296 1 file changed, 2 insertions(+), 9 deletions(-)
7298 commit f5e3876dee512ca82af6ea798b10d5ecad785dd1
7299 Author: Simon Feltman <sfeltman@src.gnome.org>
7300 Date: Sat Jul 27 15:25:20 2013 -0700
7302 Cleanup invoke args and kwargs combiner code
7304 Change _py_args_combine_and_check_length use cleaner reference
7306 It no longer DECREFs input arguments and always returns a new value
7308 Use PyGICallableCache directly as an argument instead of passing
7312 gi/pygi-invoke.c | 44 +++++++++++++++++---------------------------
7313 1 file changed, 17 insertions(+), 27 deletions(-)
7315 commit 91c49822363d8a1efc82163b46daa667d6cfc1b7
7316 Author: Simon Feltman <sfeltman@src.gnome.org>
7317 Date: Wed Jul 17 16:10:25 2013 -0700
7319 Replace Python VFunc descriptor directly with PyGIVFuncInfo
7321 Add tp_getdesc (__get__) to PyGIVFuncInfo to allow the object
7322 to be used directly as a callable descriptor. This piggy backs
7323 off the added support for functions and constructors in previous
7326 https://bugzilla.gnome.org/show_bug.cgi?id=704037
7328 gi/pygi-info.c | 25 +++++++++++++++++++++++--
7329 gi/types.py | 33 ++++-----------------------------
7330 2 files changed, 27 insertions(+), 31 deletions(-)
7332 commit 35f79b22ec5abf02fd0bb66352eb1f251b65a078
7333 Author: Simon Feltman <sfeltman@src.gnome.org>
7334 Date: Tue Jul 16 16:00:14 2013 -0700
7336 Add callable and descriptor protocols to PyGICallableInfo
7338 Add tp_call (__call__) function to callable info objects.
7339 This allows for replacement of wrapped invoke methods directly
7340 with the already created callable info object. This has the
7341 additional side effect of making doc strings lazily bound
7342 (only generated when __doc__ is accessed).
7344 Add tp_desc_get (__get__) to PyGIFunctionInfo which returns
7345 a bound version of itself for methods and constructors.
7347 Update various internal type checks to reflect the changes.
7348 Update tests to reflect the new callable type being the same
7349 across Python 2 & 3.
7351 This patch gives roughly a %17 speedup for Gtk imports and
7352 an %11 speedup for GI method calls.
7354 https://bugzilla.gnome.org/show_bug.cgi?id=704037
7357 gi/overrides/__init__.py | 10 ++-
7358 gi/pygi-info.c | 179
7359 ++++++++++++++++++++++++++++++++++++++++++--
7361 gi/types.py | 35 +--------
7362 tests/test_docstring.py | 6 +-
7363 tests/test_gi.py | 32 +++-----
7364 tests/test_overrides_gtk.py | 4 +-
7365 8 files changed, 212 insertions(+), 72 deletions(-)
7367 commit 2339e030e4dc4d93ea770bca380a89f831d56be6
7368 Author: Simon Feltman <sfeltman@src.gnome.org>
7369 Date: Fri Jul 26 19:33:32 2013 -0700
7371 Move "from Python" GObject out arg marshaler into specialized function
7373 Move hacks specific to out argument marshaling for vfuncs into a
7374 a specialized function. This allows standard function call marshaling
7375 to continue working correctly when there are no extra references
7376 holding the arguments "foo(SomeObject())". This is currently being
7377 masked because all GI functions are wrapped by additional layers
7378 of Python functions. When these layers are removed, it exposes
7379 bugs introduced by reference counting hacks intended for vfunc
7382 https://bugzilla.gnome.org/show_bug.cgi?id=704037
7384 gi/pygi-argument.c | 2 +-
7385 gi/pygi-marshal-from-py.c | 37 ++++++++++++++++++++++++++++++-------
7386 gi/pygi-marshal-from-py.h | 3 +++
7387 3 files changed, 34 insertions(+), 8 deletions(-)
7389 commit 627c5faaa54ed9a2b59ac1547833c171cd1a1e87
7390 Author: Simon Feltman <sfeltman@src.gnome.org>
7391 Date: Fri Jul 26 17:34:01 2013 -0700
7393 Add underscore prefix and _cache_adapter suffix to marshaling
7396 Add underscores to all _pygi_marshal_* functions. We don't currently
7397 export symbols, but we might need to for C unittesting. This will
7398 ensure we don't have a "public API".
7399 Add _cache_adapter suffix to marshaling functions which are light
7400 weight wrappers intended only for cached marshalers.
7402 gi/pygi-argument.c | 40 +++++++++++-----------
7403 gi/pygi-cache.c | 10 +++---
7404 gi/pygi-marshal-from-py.c | 86
7405 +++++++++++++++++++++++------------------------
7406 gi/pygi-marshal-from-py.h | 44 ++++++++++++------------
7407 gi/pygi-marshal-to-py.c | 48 +++++++++++++-------------
7408 gi/pygi-marshal-to-py.h | 34 +++++++++----------
7409 6 files changed, 131 insertions(+), 131 deletions(-)
7411 commit bec0b543be8d993996d8a17c343c3f2f33a9398f
7412 Author: Simon Feltman <sfeltman@src.gnome.org>
7413 Date: Tue Jul 16 11:13:17 2013 -0700
7415 Add common attribute accessors to PyGIBaseInfo
7417 Add __name__, __module__, and __doc__ accessors to
7418 PyGIBaseInfo object. This is a precursory patch for setting
7419 up PyGICallableInfo as a directly callable object with lazy
7420 doc string evaluation.
7422 https://bugzilla.gnome.org/show_bug.cgi?id=704037
7424 gi/_glib/pyglib-python-compat.h | 5 +++
7426 +++++++++++++++++++++++++++++++++++++++--
7427 gi/types.py | 7 ++--
7428 3 files changed, 88 insertions(+), 7 deletions(-)
7430 commit ea194404843a16555f9a475cc973872a4428bfe1
7431 Author: Simon Feltman <sfeltman@src.gnome.org>
7432 Date: Sat Jul 13 23:10:31 2013 -0700
7434 Merge method and constructor setup
7436 Merge _setup_constructors into _setup_methods as they contain same
7437 basic logic. This removes an unnecessary call with additional
7438 filtering of GIObjectInfo.get_methods() which can be large for
7439 objects with many methods.
7441 https://bugzilla.gnome.org/show_bug.cgi?id=704037
7443 gi/types.py | 15 ++++-----------
7444 1 file changed, 4 insertions(+), 11 deletions(-)
7446 commit 6b36fbe904d19f515578f447daa7657d3a9a859c
7447 Author: Simon Feltman <sfeltman@src.gnome.org>
7448 Date: Sat Jul 13 18:11:18 2013 -0700
7450 Remove redundant info.get_name calls
7452 Remove a number of redundant calls to GIBaseInfo.get_name. Info
7453 names are already cached on function objects so re-use them when
7454 possible. This gives a small load time improvement by removing over
7455 2000 calls when importing Gtk.
7457 https://bugzilla.gnome.org/show_bug.cgi?id=704037
7460 gi/types.py | 8 +++-----
7461 2 files changed, 3 insertions(+), 6 deletions(-)
7463 commit 6fdde256e840600c84a648ab21da2fe5c212e5bc
7464 Author: Simon Feltman <sfeltman@src.gnome.org>
7465 Date: Fri Jul 12 12:21:54 2013 -0700
7467 Move doc string generator into separate module
7469 Move the doc string generator for creating function signatures
7470 into "gi.docstring". This includes a new API for getting and
7471 setting the doc string creation functions:
7473 gi.docstring.get_doc_string_generator
7474 gi.docstring.set_doc_string_generator
7475 gi.docstring.generate_doc_string
7477 Beyond adding the ability for custom doc string generators,
7478 this API is a necessary step for adding lazy __doc__
7479 attribute access for optimization.
7481 https://bugzilla.gnome.org/show_bug.cgi?id=704037
7483 gi/Makefile.am | 3 +-
7484 gi/docstring.py | 106
7485 ++++++++++++++++++++++++++++++++++++++++++++++++
7486 gi/types.py | 55 ++-----------------------
7487 tests/Makefile.am | 1 +
7488 tests/test_docstring.py | 49 ++++++++++++++++++++++
7489 tests/test_gi.py | 30 --------------
7490 6 files changed, 161 insertions(+), 83 deletions(-)
7492 commit f86701b15ee04c717d9c6bf688101606165e4f83
7493 Author: Simon Feltman <sfeltman@src.gnome.org>
7494 Date: Wed Jul 24 19:36:28 2013 -0700
7496 tests: Change GHashTable<string,GValue> marshaling test to use GValue
7498 Add test to explicitly use a boxed GStrv GValue in addition to a
7499 Python list sub-class.
7501 https://bugzilla.gnome.org/show_bug.cgi?id=666636
7503 tests/test_everything.py | 21 +++++++++++++++------
7504 1 file changed, 15 insertions(+), 6 deletions(-)
7506 commit 6ea41b60691e1ba7e21374582d7aea072af71103
7507 Author: Simon Feltman <sfeltman@src.gnome.org>
7508 Date: Thu Jul 25 18:00:47 2013 -0700
7510 gtk-demo: Change demo to use Gtk.Application
7512 Replace deriving from Gtk.Window with deriving from Gtk.Application
7513 connected to a Gtk.ApplicationWindow instance.
7515 https://bugzilla.gnome.org/show_bug.cgi?id=698547
7517 demos/gtk-demo/demos/printing.py | 2 +-
7518 demos/gtk-demo/gtk-demo.py | 40
7519 ++++++++++++++++++++--------------------
7520 2 files changed, 21 insertions(+), 21 deletions(-)
7522 commit fae58044ea0b2e7f47fbdacc5b58ac36f673ecbd
7523 Author: Simon Feltman <sfeltman@src.gnome.org>
7524 Date: Tue Jul 23 14:25:01 2013 -0700
7526 Move _pygi_argument_to_object_basic_type into pygi-marshal-to-py.c
7528 Move _pygi_argument_to_object_basic_type into pygi-marshal-to-py.c
7529 and rename to _pygi_marshal_to_py_basic_type.
7530 Cleanup and simplify dependant sub-marshalers for unichar, utf8,
7533 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7535 gi/pygi-argument.c | 73 +-----------------------------
7536 gi/pygi-argument.h | 4 --
7537 gi/pygi-cache.c | 4 +-
7538 gi/pygi-marshal-to-py.c | 115
7539 +++++++++++++++++++++++++++++++++++++-----------
7540 gi/pygi-marshal-to-py.h | 27 +++---------
7541 5 files changed, 99 insertions(+), 124 deletions(-)
7543 commit cba401ac1543c2fdb68fff0dba8f6da7eed23bfa
7544 Author: Simon Feltman <sfeltman@src.gnome.org>
7545 Date: Tue Jul 23 13:06:33 2013 -0700
7547 Unify and clean up from Python marshalers for basic types
7549 Unify and cleanup boolean, float, double, gtype, unichar, utf8,
7550 and filename marshalers.
7552 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7554 gi/pygi-cache.c | 101
7555 ++--------------------------------------------
7556 gi/pygi-marshal-from-py.c | 86 ++++++++++++---------------------------
7557 gi/pygi-marshal-from-py.h | 30 --------------
7558 3 files changed, 28 insertions(+), 189 deletions(-)
7560 commit 9e6e01d065bf0acc5b99ae0e8c034d689231bfe1
7561 Author: Simon Feltman <sfeltman@src.gnome.org>
7562 Date: Tue Jul 23 12:35:06 2013 -0700
7564 Unify from Python int64 and uint64 marshalers
7566 Replaced int64 and uint64 cached marshalers with usage of the
7567 unified basic type marshaler. Replace a large amount of int64
7568 exception formatting code with usage of %S for Python 3 and
7569 give a more vague message for Python 2.
7571 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7573 gi/pygi-cache.c | 36 +--------
7574 gi/pygi-marshal-from-py.c | 193
7575 ++++++++++------------------------------------
7576 gi/pygi-marshal-from-py.h | 10 ---
7577 3 files changed, 43 insertions(+), 196 deletions(-)
7579 commit 46653922003c7d1d5d16f5cdb39b3faadf9aff27
7580 Author: Simon Feltman <sfeltman@src.gnome.org>
7581 Date: Tue Jul 23 11:03:14 2013 -0700
7583 Unify from Python int16 and int32 marshalers
7585 Add PyNumber_Check to unified basic type marshaler.
7586 Add bounds checking to unified int16 and int32 marshalers.
7587 Replaced int16 and int32 cached marshalers with usage of
7588 unified basic type marshaler.
7590 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7592 gi/pygi-cache.c | 69 +--------------
7593 gi/pygi-marshal-from-py.c | 218
7594 ++++++++++------------------------------------
7595 gi/pygi-marshal-from-py.h | 20 -----
7596 3 files changed, 48 insertions(+), 259 deletions(-)
7598 commit 4b9c725a615fcf4a5e8d089d275d4586032d0d1f
7599 Author: Simon Feltman <sfeltman@src.gnome.org>
7600 Date: Tue Jul 23 00:27:14 2013 -0700
7602 Unify from Python boolean, int8, and uint8 marshalers
7604 Replaced boolean, int8, and uint8 cached marshalers with usage of
7605 unified basic type marshaler. Add bounds checking to unified int8
7608 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7610 gi/pygi-cache.c | 48 +++------------
7611 gi/pygi-marshal-from-py.c | 146
7612 +++++++++++-----------------------------------
7613 gi/pygi-marshal-from-py.h | 20 ++-----
7614 3 files changed, 45 insertions(+), 169 deletions(-)
7616 commit f517bfbc134b78a23b754332e59b9bb67bb68e98
7617 Author: Simon Feltman <sfeltman@src.gnome.org>
7618 Date: Mon Jul 22 23:24:13 2013 -0700
7620 Add support for PyBytes with int8 and uint8 from Python marshaler
7622 This additional type marshaling is necessary for unifying marhalers
7623 due to the same feature being available with cached argument
7626 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7628 gi/pygi-marshal-from-py.c | 14 ++++++++++++++
7629 1 file changed, 14 insertions(+)
7631 commit fe9df90531f3dd04c0d13d73ebd4ae7dd396c9b1
7632 Author: Simon Feltman <sfeltman@src.gnome.org>
7633 Date: Mon Jul 22 23:23:29 2013 -0700
7635 Move from Python integer marshaling into separate function
7637 Add _pygi_marshal_from_py_long for marshaling Python objects
7638 that can convert to a PyLong type. This allows for better
7639 sharing of code amongst marshalers along with unifying
7640 them across Python 2.7 and 3.0.
7642 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7644 gi/pygi-argument.c | 3 +-
7645 gi/pygi-marshal-from-py.c | 159
7646 ++++++++++++++++++++++++----------------------
7647 2 files changed, 84 insertions(+), 78 deletions(-)
7649 commit f7748affae3d6ef0cc2e409f65761fb29c01b038
7650 Author: Simon Feltman <sfeltman@src.gnome.org>
7651 Date: Mon Jul 22 22:19:26 2013 -0700
7653 Move _pygi_argument_from_object_basic_type into pygi-marshal-from-py.c
7655 Move _pygi_argument_from_object_basic_type into pygi-marshal-from-py.c
7656 and rename to: _pygi_marshal_from_py_basic_type
7658 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7660 gi/pygi-argument.c | 149
7661 +---------------------------------------------
7662 gi/pygi-marshal-from-py.c | 147
7663 +++++++++++++++++++++++++++++++++++++++++++++
7664 gi/pygi-marshal-from-py.h | 4 ++
7665 3 files changed, 152 insertions(+), 148 deletions(-)
7667 commit 9c9510eec782f242280af24e86adf3561e4fac72
7668 Author: Simon Feltman <sfeltman@src.gnome.org>
7669 Date: Fri Jul 19 23:37:35 2013 -0700
7671 Move basic type marshaling out of _pygi_argument_from_object
7673 Move the marshaling of Python objects to GI arguments for basic types
7674 into a new function: _pygi_argument_from_object_basic_type
7675 This is staging work needed before unifying basic type marshaling
7676 of arguments from Python to GI.
7678 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7680 gi/pygi-argument.c | 73
7681 ++++++++++++++++++++++++++++++++++--------------------
7682 1 file changed, 46 insertions(+), 27 deletions(-)
7684 commit 0e2441518ef31bd2b4102ba5780c3ded00bec59a
7685 Author: Simon Feltman <sfeltman@src.gnome.org>
7686 Date: Fri Jul 19 20:16:10 2013 -0700
7688 Replace to Python cached marshalers with unified basic type marshaler
7690 Add cached arg marshaler "_pygi_marshal_to_py_basic_type" which
7691 unifies functions, vfuncs, signals, and property marshaling for
7692 "basic types". Remove all the individual cached arg marshalers
7695 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7697 gi/pygi-argument.c | 104 +++++++++++------------------------
7698 gi/pygi-argument.h | 4 ++
7699 gi/pygi-cache.c | 114 +++++++-------------------------------
7700 gi/pygi-marshal-to-py.c | 142
7701 ++++--------------------------------------------
7702 gi/pygi-marshal-to-py.h | 48 ++--------------
7703 5 files changed, 73 insertions(+), 339 deletions(-)
7705 commit 663fe5893bbc9f34bf8aa4da3cb6f9186a8233b1
7706 Author: Simon Feltman <sfeltman@src.gnome.org>
7707 Date: Fri Jul 19 18:00:40 2013 -0700
7709 Move to Python basic type marshaling out of _pygi_argument_to_object
7711 Move the marshaling of GI arguments to Python objects for basic types
7712 into a new function. The required information for this marshaler
7713 is a GITypeTag and GITransfer. Argument marshaling matching these
7714 requirments are now found in: _pygi_argument_to_object_basic_type.
7715 The new marshaler can be used with a generic argument cache marshaler
7716 to unify all of the "basic type" marshaling.
7718 https://bugzilla.gnome.org/show_bug.cgi?id=693405
7720 gi/pygi-argument.c | 86
7721 +++++++++++++++++++++++++++++++++++++++---------------
7722 1 file changed, 63 insertions(+), 23 deletions(-)
7724 commit dd43a1e19440dbe025451d2e4e07a6074086498d
7725 Author: Simon Feltman <sfeltman@src.gnome.org>
7726 Date: Sat Jul 6 14:16:36 2013 -0700
7728 Override GValue.set/get_boxed with static C marshaler
7730 Override boxed type get/set methods on GValue to use the static C
7731 GValue marshaler. This works around the inability of the introspection
7732 version of these methods to know what the held GValue type is.
7733 With this, all boxed types will now marshal properly with GValues as
7736 https://bugzilla.gnome.org/show_bug.cgi?id=688081
7738 gi/_gobject/gobjectmodule.c | 38 ++++++++++++++++++++++++++++++++++++++
7739 gi/overrides/GObject.py | 9 +++++++++
7740 2 files changed, 47 insertions(+)
7742 commit 2cff4827e6d15bcad630316a8a4e67968a70bbbf
7743 Author: Simon Feltman <sfeltman@src.gnome.org>
7744 Date: Sat Jul 6 14:10:20 2013 -0700
7746 Refactor pyg_value_from_pyobject into two functions
7748 Break pyg_value_from_pyobject into two functions. One which keeps
7749 Python exceptions queued (pyg_value_from_pyobject_with_error) and
7750 one which clears them (pyg_value_from_pyobject). This allows for
7751 re-use for code which want to keep the errors around
7753 https://bugzilla.gnome.org/show_bug.cgi?id=688081
7755 gi/_gobject/gobjectmodule.c | 4 ++-
7756 gi/_gobject/pygobject-private.h | 1 +
7757 gi/_gobject/pygobject.h | 2 ++
7758 gi/_gobject/pygtype.c | 67
7759 ++++++++++++++++++++++++++++++++---------
7760 4 files changed, 59 insertions(+), 15 deletions(-)
7762 commit 84e91a9da3522d042faca65fd2ada1ccaee60153
7763 Author: Simon Feltman <sfeltman@src.gnome.org>
7764 Date: Sat Jul 6 20:41:19 2013 -0700
7766 Fix indentation for pyg_value_from_pyobject
7768 https://bugzilla.gnome.org/show_bug.cgi?id=688081
7770 gi/_gobject/pygtype.c | 744
7771 +++++++++++++++++++++++++-------------------------
7772 1 file changed, 372 insertions(+), 372 deletions(-)
7774 commit 6a29d9be14ec33d06816ade67a5ccf5c7a1cf398
7775 Author: Simon Feltman <sfeltman@src.gnome.org>
7776 Date: Sat Jul 6 13:32:39 2013 -0700
7778 Add deprecation warning for marshaling arbitrary objects as pointers
7780 Add deprecation warning for marshaling arbitrary objects to/from void
7781 pointers with the exception of integers, PyCapsules, and None.
7783 https://bugzilla.gnome.org/show_bug.cgi?id=688081
7785 gi/pygi-marshal-from-py.c | 17 ++++++++++++++++-
7786 gi/pygi-marshal-to-py.c | 10 ++++++++--
7787 2 files changed, 24 insertions(+), 3 deletions(-)
7789 commit 077aefed8566adcb99d7570f52fe09c74c2098e5
7790 Author: Simon Feltman <sfeltman@src.gnome.org>
7791 Date: Sat Jul 6 13:34:53 2013 -0700
7793 Move PyGIDeprecationWarning to C for shared Python/C usage
7795 https://bugzilla.gnome.org/show_bug.cgi?id=688081
7797 gi/__init__.py | 19 ++++---------------
7798 gi/gimodule.c | 18 ++++++++++++++++++
7800 3 files changed, 24 insertions(+), 15 deletions(-)
7802 commit 90427107af36ea3c624b36967ee181ed13b9828f
7803 Author: Simon Feltman <sfeltman@src.gnome.org>
7804 Date: Thu Jul 18 14:59:55 2013 -0700
7806 Replace usage of __import__ with importlib.import_module
7808 https://bugzilla.gnome.org/show_bug.cgi?id=682320
7810 gi/module.py | 8 ++++----
7811 1 file changed, 4 insertions(+), 4 deletions(-)
7813 commit 6391a8e4f03d4010c0d7de79fc83138fd69e0e33
7814 Author: Mike Gorse <mgorse@suse.com>
7815 Date: Wed Jul 10 16:44:23 2013 -0500
7817 Always unref the GiTypeInfo when generating an argument cache
7819 We were leaking a GiTypeInfo when handling child arguments.
7821 https://bugzilla.gnome.org/show_bug.cgi?id=703973
7823 gi/pygi-cache.c | 1 +
7824 1 file changed, 1 insertion(+)
7826 commit ce0ad7066ebdb7018fdce58dc32bbaa715206a0c
7827 Author: Mike Gorse <mgorse@suse.com>
7828 Date: Wed Jul 10 12:10:16 2013 -0500
7830 Unref interface info when fetching enums or flags
7832 When calling g_type_info_get_interface, the resulting interface should
7833 be dereferenced by calling g_base_info_unref.
7835 https://bugzilla.gnome.org/show_bug.cgi?id=703960
7837 gi/pygi-marshal-from-py.c | 8 +++++++-
7838 gi/pygi-marshal-to-py.c | 3 +++
7839 2 files changed, 10 insertions(+), 1 deletion(-)
7841 commit a93755ddba9a1761b627583d7b9be63783c2c063
7842 Author: Daniel Drake <dsd@laptop.org>
7843 Date: Tue Jul 9 13:03:36 2013 -0600
7845 Speed up MRO calculation
7847 Optimize gi.type.mro() with the following observations and tricks:
7849 1. Python prepares all the base classes before trying to calculate the
7850 MRO of the current one (it first needs to populate __bases__, for
7851 example). So we can assume that the base class MRO is already
7853 in __mro__ and this will have been previously calculated (by us,
7855 case of gi classes). This avoids repeating a lot of MRO-calculating
7857 and also avoids (re)calculating MROs for inheritance chains
7859 have any gi classes in them anyway.
7861 2. With that simplification in place, we can avoid recursion, which
7863 all that great in Python...
7865 3. ...except in the uncommon case of a Python2 old-style classes,
7867 __mro__ is not available. There doesn't seem to be any existing
7868 function to calculate or read MRO of old-style python classes,
7870 keep doing as before: calculate the C3 MRO of the old-style
7872 recursion. That behaviour is not really correct, and the
7874 not desirable, so we print a warning here.
7876 This makes the "hello world" Sugar app start up approximately
7880 https://bugzilla.gnome.org/show_bug.cgi?id=703829
7882 gi/types.py | 30 +++++++++++++++++++++++++++---
7883 tests/test_gi.py | 16 ++++++++++++----
7884 2 files changed, 39 insertions(+), 7 deletions(-)
7886 commit 7aca95781fc76f3e820e63325ccc07d128a60075
7887 Author: Daniel Drake <dsd@laptop.org>
7888 Date: Wed Jul 10 10:45:47 2013 -0600
7890 tests: Add tests for MRO override
7892 Add tests for the MRO override to prevent against unintended
7895 https://bugzilla.gnome.org/show_bug.cgi?id=703829
7897 tests/test_gi.py | 66
7898 ++++++++++++++++++++++++++++++++++++++++++--------------
7899 1 file changed, 50 insertions(+), 16 deletions(-)
7901 commit a15333a36e31b76ea6b80251553840269ec5deb1
7902 Author: Simon Feltman <sfeltman@src.gnome.org>
7903 Date: Sat Jul 6 13:34:13 2013 -0700
7905 Add GIL safety to pyobject_copy for copying boxed PyObjects
7907 https://bugzilla.gnome.org/show_bug.cgi?id=688081
7909 gi/_gobject/pygobject.c | 3 +++
7910 1 file changed, 3 insertions(+)
7912 commit 097c116d43a21bebf8e4bccde9cacc551db1e1e5
7913 Author: Simon Feltman <sfeltman@src.gnome.org>
7914 Date: Sat Jul 6 09:48:35 2013 -0700
7916 testhelper: Fix import requirement for GObject
7918 Replace the importing of gi._gobject._gobject with
7919 gi.repository.GObject
7920 in tests/testhelpermodule.c
7922 The testhelper module was only importing the static bindings
7923 (gi._gobject._gobject) and not the overrides (gi.repository.GObject).
7924 This was causing some tests to fail when test_thread was the first
7925 test to run in the suite due to it registering new types based on
7928 https://bugzilla.gnome.org/show_bug.cgi?id=703647
7930 tests/testhelpermodule.c | 2 +-
7931 1 file changed, 1 insertion(+), 1 deletion(-)
7933 commit 0f6c571755e65b5e77d3d84e4516ef90d8ce0162
7934 Author: Simon Feltman <sfeltman@src.gnome.org>
7935 Date: Wed Jul 3 05:26:12 2013 -0700
7937 Add marshalling of GI_TYPE_TAG_VOID held in a GValue to int
7939 Replace assertion for this case with a simple marshalling of the
7940 pointer value to a Python int. While not particularly useful
7941 this allows some callbacks in WebKit to function without causing
7944 https://bugzilla.gnome.org/show_bug.cgi?id=694233
7946 gi/pygi-argument.c | 4 ++--
7947 1 file changed, 2 insertions(+), 2 deletions(-)
7949 commit e0084e7e73845fa2a2da29017d3622f361f11dfb
7950 Author: Cole Robinson <crobinso@redhat.com>
7951 Date: Sat Feb 16 17:26:43 2013 -0500
7953 GTK overrides: Make connect_signals handle tuple
7955 This is used for passing extra arguments to callbacks during
7956 signal emission in the form of:
7957 builder.connect_signals({'on_clicked': (on_clicked, arg1, arg2)})
7959 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
7961 https://bugzilla.gnome.org/show_bug.cgi?id=693994
7963 gi/overrides/Gtk.py | 51 ++++++++----
7964 tests/test_overrides_gtk.py | 196
7965 +++++++++++++++++++++++++++++---------------
7966 2 files changed, 165 insertions(+), 82 deletions(-)
7968 commit 466567373289e6f141709f08efa80ba588d3d64a
7969 Author: Simon Feltman <sfeltman@src.gnome.org>
7970 Date: Tue Jul 2 18:06:01 2013 -0700
7972 Re-add support for passing GValue's by reference
7974 Fix special casing when marshaling from a Python held GValue
7975 to a GValue argument intended for a function call.
7976 The re-factoring of GValue marshaling in commit #9e47afe459df942d9f
7977 broke this by always making a copy of the GValue. This removed the
7978 ability to retrieve values with functions like
7979 gtk_style_context_get_style_property.
7981 https://bugzilla.gnome.org/show_bug.cgi?id=701058
7983 gi/pygi-argument.c | 2 +-
7984 gi/pygi-marshal-from-py.c | 32 +++++++++++++++-----------------
7985 2 files changed, 16 insertions(+), 18 deletions(-)
7987 commit 40a3cd18fd7111ae177f6ab716f78d131f59a1c0
7988 Author: Simon Feltman <sfeltman@src.gnome.org>
7989 Date: Tue Jul 2 19:20:04 2013 -0700
7991 tests: Add test for pass-by-reference GValue
7993 https://bugzilla.gnome.org/show_bug.cgi?id=701058
7995 tests/test_gi.py | 7 +++++++
7996 1 file changed, 7 insertions(+)
7998 commit 3b3251593ea107f06b160234b0ca5393cb39ac1b
7999 Author: Simon Feltman <sfeltman@src.gnome.org>
8000 Date: Tue Jul 2 23:02:17 2013 -0700
8002 Clear return value of closures to zero when an exception occures
8004 For return types other than void, set the ffi closure return argument
8005 to 0 when a Python exception occures. This a good default in general
8006 but also has the side affect of fixing failing idle callbacks
8007 by causing them to be removed from main loops (after their stack
8010 https://bugzilla.gnome.org/show_bug.cgi?id=702552
8012 gi/pygi-closure.c | 14 ++++++++++++++
8013 tests/test_gi.py | 8 ++++++++
8014 2 files changed, 22 insertions(+)
8016 commit ae3439f1d22482d6a920a869d3d17e7054af6f80
8017 Author: Martin Pitt <martinpitt@gnome.org>
8018 Date: Wed Jul 3 10:40:28 2013 +0200
8020 Don't use doctest syntax in docstrings for examples
8022 These are not actual doctests, so don't use the >>> syntax there. Just
8026 This fixes pyflakes 0.7 failures.
8028 https://bugzilla.gnome.org/show_bug.cgi?id=701009
8030 gi/_gobject/propertyhelper.py | 11 +++++------
8031 gi/overrides/GObject.py | 8 ++++----
8032 gi/overrides/Gtk.py | 2 +-
8033 3 files changed, 10 insertions(+), 11 deletions(-)
8035 commit b96a6dc968566d339a2dfd7dd631ae52d812302a
8036 Author: Garrett Regier <garrettregier@gmail.com>
8037 Date: Tue Jul 2 06:07:15 2013 -0700
8039 Add support for properties of type GInterface
8041 Add support for G_TYPE_INTERFACE/GInterface to switch
8042 statement which handles G_TYPE_OBJECT based properties.
8044 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
8046 https://bugzilla.gnome.org/show_bug.cgi?id=703456
8048 gi/_gobject/gobjectmodule.c | 1 +
8049 gi/_gobject/propertyhelper.py | 3 ++-
8050 tests/test_properties.py | 16 ++++++++++++++++
8051 3 files changed, 19 insertions(+), 1 deletion(-)
8053 commit 61b268e44af63d6d78feae42578bf75aa5cfd511
8054 Author: Martin Pitt <martinpitt@gnome.org>
8055 Date: Fri Jun 21 07:27:48 2013 +0200
8057 pygtkcompat: Fix for missing methods on Windows
8059 Deal with non-existing Gtk.Clipboard.get() and
8060 GdkPixbuf.Pixbuf.new_from_file_at_scale() methods.
8062 https://bugzilla.gnome.org/show_bug.cgi?id=702787
8064 pygtkcompat/pygtkcompat.py | 10 ++++++++--
8065 1 file changed, 8 insertions(+), 2 deletions(-)
8067 commit 5e3ab0bb974cc785659666b871d795730b4f06b3
8068 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
8069 Date: Fri Jun 21 12:32:33 2013 +0800
8071 gi/pygi-info.c: Avoid C99-style variable declaration
8073 https://bugzilla.gnome.org/show_bug.cgi?id=702786
8075 gi/pygi-info.c | 3 ++-
8076 1 file changed, 2 insertions(+), 1 deletion(-)
8078 commit 94167e12c118c85cd3172f9f5824fe53e55bcc2d
8079 Author: Martin Pitt <martinpitt@gnome.org>
8080 Date: Wed May 29 11:20:35 2013 +0200
8082 GLib overrides: fix typo in deprecation message
8084 Spotted by Dmitrijs Ledkovs, thanks!
8086 gi/overrides/GLib.py | 2 +-
8087 1 file changed, 1 insertion(+), 1 deletion(-)
8089 commit 86569b69ade0fe157fa87365e9369dde84cd5c90
8090 Author: Martin Pitt <martinpitt@gnome.org>
8091 Date: Tue May 28 17:57:20 2013 +0200
8093 configure.ac: post-release version bump to 3.9.3
8096 1 file changed, 1 insertion(+), 1 deletion(-)
8098 commit 10f703189ed6a7104252907d1b1a114f26d79559
8099 Author: Martin Pitt <martinpitt@gnome.org>
8100 Date: Tue May 28 17:56:07 2013 +0200
8104 NEWS | 15 +++++++++++++++
8105 1 file changed, 15 insertions(+)
8107 commit af8d048442b924c72a1d0ae868ee63ccf292759d
8108 Author: Martin Pitt <martinpitt@gnome.org>
8109 Date: Fri May 24 13:03:07 2013 +0200
8111 examples/option.py: Port to GI and Python 3
8113 examples/option.py | 38 +++++++++++++++++++-------------------
8114 1 file changed, 19 insertions(+), 19 deletions(-)
8116 commit bef5939ca77f4d6939cd9229bd124dfe825b3bdb
8117 Author: Simon Feltman <sfeltman@src.gnome.org>
8118 Date: Sun May 12 18:58:06 2013 -0700
8120 Fix vfunc info search for classes with multiple inheritance
8122 Ensure the search for vfunc GI info continues recursively even if the
8123 current class being looked at does not contain GI info of type
8124 InterfaceInfo. This more exhaustive search is needed for setups with
8125 multiple sub-classes and multiple inheritance.
8127 https://bugzilla.gnome.org/show_bug.cgi?id=700092
8129 gi/types.py | 12 +++++++-----
8130 tests/test_gi.py | 1 -
8131 2 files changed, 7 insertions(+), 6 deletions(-)
8133 commit 5b8dff59baa1a3e524dac7877dd5b33dea52b026
8134 Author: Simon Feltman <sfeltman@src.gnome.org>
8135 Date: Sun May 12 22:19:38 2013 -0700
8137 Fix closure argument conversion for enum and flag in args
8139 Replace incorrect cast and assignment of double with uint for flags
8142 gi/pygi-closure.c | 2 +-
8143 1 file changed, 1 insertion(+), 1 deletion(-)
8145 commit 065503d5e284dc89bacd79d0d9a72eb739882bf8
8146 Author: Simon Feltman <sfeltman@src.gnome.org>
8147 Date: Sat May 11 21:47:54 2013 -0700
8149 tests: Add tests for overriding vfunc implementations
8151 Add tests for overriding vfuncs for both single inheritance
8152 and multiple inheritance with an interface (currently failing).
8154 https://bugzilla.gnome.org/show_bug.cgi?id=700092
8156 tests/test_gi.py | 23 +++++++++++++++++++++++
8157 1 file changed, 23 insertions(+)
8159 commit c4e1112840004af264b4f2a052f333ea38f95cb6
8160 Author: Simon Feltman <sfeltman@src.gnome.org>
8161 Date: Sat May 11 20:28:22 2013 -0700
8163 Fix marshaling Python to FFI return value for enum and flags
8165 Add break to GI_TYPE_TAG_INTERFACE case. This was falling through
8167 assignment of arg.v_pointer to the ffi return arg.
8169 gi/pygi-closure.c | 1 +
8170 1 file changed, 1 insertion(+)
8172 commit a703217eaf4075e9720d4247351e1dfc4f553772
8173 Author: Simon Feltman <sfeltman@src.gnome.org>
8174 Date: Fri Apr 19 06:37:24 2013 -0700
8176 Remove half implemented GC in PyGIBaseInfo, PyGIStruct, and PyGIBoxed
8178 Remove half implemented GC tracking from PyGIBaseInfo as it was not
8179 needed (the implemented was also missing usage of
8180 PyObject_GC_New/Track).
8181 Ensure weakref list for PyGIBaseInfo is initialized to NULL and
8184 Remove invalid calls to PyObject_GC_UnTrack and PyObject_ClearWeakRefs
8185 for both PyGIStruct and PyGIBoxed as these types were not being
8186 advertised as GC aware with Py_TPFLAGS_HAVE_GC.
8188 https://bugzilla.gnome.org/show_bug.cgi?id=677091
8190 gi/pygi-boxed.c | 4 ----
8191 gi/pygi-info.c | 20 +++++---------------
8192 gi/pygi-struct.c | 4 ----
8193 3 files changed, 5 insertions(+), 23 deletions(-)
8195 commit 87e41db2e060acd689a2ac043bc1ac51007de6f3
8196 Author: Simon Feltman <sfeltman@src.gnome.org>
8197 Date: Fri May 3 02:00:07 2013 -0700
8199 Replace usage of pyg_begin_allow_threads with Py_BEGIN_ALLOW_THREADS
8201 Replace all usage of pyg[lib]_begin_allow_threads with direct usage
8202 of Py_BEGIN_ALLOW_THREADS.
8204 https://bugzilla.gnome.org/show_bug.cgi?id=699440
8206 gi/_glib/pyglib.h | 4 ----
8207 gi/_glib/pygoptioncontext.c | 4 ++--
8208 gi/_gobject/pygobject.c | 33 ++++++++++++++++-----------------
8209 gi/gimodule.c | 4 ++--
8210 gi/pygi-invoke.c | 4 ++--
8211 5 files changed, 22 insertions(+), 27 deletions(-)
8213 commit c9e95663d05de98a9abd3d1479554b1f09753382
8214 Author: Simon Feltman <sfeltman@src.gnome.org>
8215 Date: Thu May 2 03:57:05 2013 -0700
8217 Remove and deprecate API for setting of thread blocking functions
8219 Remove pyglib_set_thread_block_funcs and deprecate
8220 pyg_set_thread_block_funcs.
8221 The thread block function APIs are no longer be neccessary because
8223 can use the Python C API directly when working with threads.
8225 https://bugzilla.gnome.org/show_bug.cgi?id=699440
8227 gi/_glib/pyglib.c | 41 -----------------------------------
8228 gi/_glib/pyglib.h | 9 ++++----
8229 gi/_gobject/gobjectmodule.c | 25 ++++++++-------------
8230 gi/_gobject/pygobject-private.h | 33 ----------------------------
8231 gi/_gobject/pygobject.h | 48
8232 ++++++++++++++++++++---------------------
8233 gi/gimodule.c | 15 +++++++------
8234 6 files changed, 46 insertions(+), 125 deletions(-)
8236 commit 05498a5732582a5ed1944bd1383af154ca5fc4e6
8237 Author: Martin Pitt <martinpitt@gnome.org>
8238 Date: Tue Apr 30 11:51:05 2013 -0700
8240 configure.ac: Post-release bump to 3.9.2
8243 1 file changed, 1 insertion(+), 1 deletion(-)
8245 commit 902bb6685fd9c90c7d81127861a152b0fab4b107
8246 Author: Martin Pitt <martinpitt@gnome.org>
8247 Date: Tue Apr 30 11:49:03 2013 -0700
8251 NEWS | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
8252 1 file changed, 49 insertions(+)
8254 commit f463d7cfaf65e0f3594ec15d897325f84225f1c5
8255 Author: Simon Feltman <sfeltman@src.gnome.org>
8256 Date: Sun Apr 28 19:59:35 2013 -0700
8258 gtk-demo: Wrap description strings at 80 characters
8260 Wrap trailing demo description strings so they are easier to read
8261 in a programming editor. The gtk-demo itself re-wraps this using
8262 textwrap and the Gtk.TextView dynamic wrapping.
8264 https://bugzilla.gnome.org/show_bug.cgi?id=698547
8266 demos/gtk-demo/demos/Entry/search_entry.py | 6 +++---
8267 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 8 ++++----
8268 demos/gtk-demo/demos/Icon View/iconviewedit.py | 5 +++--
8269 demos/gtk-demo/demos/Tree View/liststore.py | 5 ++++-
8270 demos/gtk-demo/demos/images.py | 6 ++++--
8271 demos/gtk-demo/demos/menus.py | 20
8272 ++++++++++++++++----
8273 demos/gtk-demo/demos/pickers.py | 4 ++--
8274 demos/gtk-demo/demos/pixbuf.py | 5 +++--
8275 demos/gtk-demo/demos/rotatedtext.py | 6 ++++--
8276 9 files changed, 43 insertions(+), 22 deletions(-)
8278 commit f0d4b963c42ac31d4d17ec0f2271940df2568644
8279 Author: Simon Feltman <sfeltman@src.gnome.org>
8280 Date: Sat Apr 27 22:30:35 2013 -0700
8282 gtk-demo: Use textwrap to reformat description for Gtk.TextView
8284 https://bugzilla.gnome.org/show_bug.cgi?id=698547
8286 demos/gtk-demo/gtk-demo.py | 8 +++++++-
8287 1 file changed, 7 insertions(+), 1 deletion(-)
8289 commit ed41e260dcf5745fcc0656412be3c4a520ee20fc
8290 Author: Simon Feltman <sfeltman@src.gnome.org>
8291 Date: Sat Apr 27 21:58:28 2013 -0700
8293 gtk-demo: Use GtkSource.View for showing source code
8295 Replace manual syntax highlighting of Gtk.TextView with usage of
8296 GtkSource.View when available. Fall back to TextView with no
8297 hightlighting when GtkSource is not available.
8299 https://bugzilla.gnome.org/show_bug.cgi?id=698547
8301 demos/gtk-demo/gtk-demo.py | 170
8302 ++++++++++++---------------------------------
8303 1 file changed, 44 insertions(+), 126 deletions(-)
8305 commit 150104db47ac5ba32758fba0c156adaecc0fbcc0
8306 Author: Mike Ruprecht <mike.ruprecht@collabora.co.uk>
8307 Date: Sun Apr 28 01:40:34 2013 -0500
8309 Use correct class for GtkEditable's get_selection_bounds() function
8311 https://bugzilla.gnome.org/show_bug.cgi?id=699096
8313 gi/overrides/Gtk.py | 2 +-
8314 1 file changed, 1 insertion(+), 1 deletion(-)
8316 commit 61663928259f6f48c11f6e43334a62dd2b3eb8e6
8317 Author: Simon Feltman <sfeltman@src.gnome.org>
8318 Date: Thu Apr 25 05:27:35 2013 -0700
8320 Test results of g_base_info_get_name for NULL
8322 Block against potential NULL result when generating type hint with
8323 _g_arg_get_pytype_hint.
8325 https://bugzilla.gnome.org/show_bug.cgi?id=698829
8327 gi/pygi-info.c | 12 ++++++++++--
8328 1 file changed, 10 insertions(+), 2 deletions(-)
8330 commit 0dff1940caf52ea5f1de27cc801ea6d4dab3a446
8331 Author: Jose Rostagno <joserostagno@vijona.com.ar>
8332 Date: Sun Apr 21 19:09:59 2013 -0300
8334 Remove g_type_init conditional call
8336 It's deprecated in the glib version we depend on.
8338 https://bugzilla.gnome.org/show_bug.cgi?id=698763
8340 gi/_gobject/gobjectmodule.c | 3 ---
8341 1 file changed, 3 deletions(-)
8343 commit c84b071ed8d3b78b4e4a6aef12f5f8bb99bdc107
8344 Author: Jose Rostagno <joserostagno@vijona.com.ar>
8345 Date: Sat Mar 30 20:59:44 2013 -0300
8347 Update deps versions also in README
8349 commit f957e33bc1ef2a4175bab85cfcd9b5faf092aa2f missed to update
8352 https://bugzilla.gnome.org/show_bug.cgi?id=698763
8355 1 file changed, 2 insertions(+), 2 deletions(-)
8357 commit 4f25fa43e1e5c0f3cd22bcdadadb1d731f01fe34
8358 Author: Jose Rostagno <joserostagno@vijona.com.ar>
8359 Date: Sat Mar 30 20:50:35 2013 -0300
8361 Drop compat code for old python version
8363 https://bugzilla.gnome.org/show_bug.cgi?id=698763
8365 gi/_glib/pyglib-python-compat.h | 12 ------------
8366 1 file changed, 12 deletions(-)
8368 commit 8104fa04cac2cba74337e6c4b3ecf56fd6cbb80b
8369 Author: Niklas Koep <niklas.koep@gmail.com>
8370 Date: Thu Apr 25 06:14:12 2013 +0200
8372 Remove duplicate call to _gi.Repository.require()
8374 repository.require() was called twice in IntrospectionModule's
8377 https://bugzilla.gnome.org/show_bug.cgi?id=698797
8380 1 file changed, 1 deletion(-)
8382 commit f22b95033c0bcd99e9c70e6f0dc999f5e64b08a6
8383 Author: Johan Dahlin <johan@gnome.org>
8384 Date: Mon Oct 1 03:02:10 2012 -0700
8386 Add ObjectInfo.get_class_struct()
8388 https://bugzilla.gnome.org/show_bug.cgi?id=685218
8390 gi/pygi-info.c | 15 +++++++++++++++
8391 tests/test_gi.py | 4 ++++
8392 2 files changed, 19 insertions(+)
8394 commit 2d34d35e5db06b0eb29cba91d0999b20a5c0b450
8395 Author: Simon Feltman <sfeltman@src.gnome.org>
8396 Date: Mon Apr 22 03:43:23 2013 -0700
8398 Change interpretation of NULL pointer field from None to 0
8400 The usage of 0 is needed because these fields should generally
8401 be used to store integer indices or hashes, not necessarily
8402 pointers to actual data.
8404 https://bugzilla.gnome.org/show_bug.cgi?id=698366
8406 gi/pygi-argument.c | 11 +----------
8407 tests/test_everything.py | 5 +++--
8408 2 files changed, 4 insertions(+), 12 deletions(-)
8410 commit 8d61ad38eb90d639da08289c036ae4cb99336c2a
8411 Author: Sobhan Mohammadpour <sobhanmohammadpour1@yahoo.fr>
8412 Date: Fri Mar 8 08:25:58 2013 +0330
8414 Do not build tests until needed
8416 Originally by [Alexandre Rostovtsev <tetromino@gmail.com>
8418 https://bugzilla.gnome.org/show_bug.cgi?id=698444
8420 tests/Makefile.am | 12 ++++++------
8421 1 file changed, 6 insertions(+), 6 deletions(-)
8423 commit f61f23b999ae6e27ca852753da906de4ab8e6e25
8424 Author: Kai Willadsen <kai.willadsen@gmail.com>
8425 Date: Sun Apr 14 15:16:40 2013 +1000
8427 pygi-convert: Support toolbar styles
8429 https://bugzilla.gnome.org/show_bug.cgi?id=698477
8431 pygi-convert.sh | 1 +
8432 1 file changed, 1 insertion(+)
8434 commit 7a92ade7ee5fe2f9eb8de2626c34650e2e5c06df
8435 Author: Kai Willadsen <kai.willadsen@gmail.com>
8436 Date: Sun Apr 14 10:54:04 2013 +1000
8438 pygi-convert: Support new-style constructors for Gio.File
8440 https://bugzilla.gnome.org/show_bug.cgi?id=698477
8442 pygi-convert.sh | 2 ++
8443 1 file changed, 2 insertions(+)
8445 commit 1e8120992dc103ac817351be3c150e6cb25f719f
8446 Author: Kai Willadsen <kai.willadsen@gmail.com>
8447 Date: Sun Apr 14 10:22:55 2013 +1000
8449 pygi-convert: Add some support for recent manager constructs
8451 https://bugzilla.gnome.org/show_bug.cgi?id=698477
8453 pygi-convert.sh | 3 +++
8454 1 file changed, 3 insertions(+)
8456 commit 17d349f98d62ea7947c1553e0ef7e867301523aa
8457 Author: Kai Willadsen <kai.willadsen@gmail.com>
8458 Date: Sun Apr 14 07:37:24 2013 +1000
8460 pygi-convert: Check for double quote in require statement
8462 https://bugzilla.gnome.org/show_bug.cgi?id=698477
8464 pygi-convert.sh | 1 +
8465 1 file changed, 1 insertion(+)
8467 commit cc8bd6bd3fdf99762aa3431ceee347a05f6f3200
8468 Author: Kai Willadsen <kai.willadsen@gmail.com>
8469 Date: Sun Apr 14 07:37:00 2013 +1000
8471 pygi-convert: Don't transform arbitrary keysym imports
8473 https://bugzilla.gnome.org/show_bug.cgi?id=698477
8475 pygi-convert.sh | 2 +-
8476 1 file changed, 1 insertion(+), 1 deletion(-)
8478 commit 99872a18ed1468b2c85cc7b96a0d12f2ae5167f0
8479 Author: Simon Feltman <sfeltman@src.gnome.org>
8480 Date: Thu Apr 11 04:09:59 2013 -0700
8482 Remove Python keyword escapement in Repository.find_by_name
8484 Strip trailing underscore from module level items before
8485 calling g_irepository_find_by_name. This fixes a problem
8486 with GI module level items having the same name as a Python
8487 keyword raising an AttributeError during access (Pango.break_).
8489 https://bugzilla.gnome.org/show_bug.cgi?id=697363
8491 gi/pygi-info.c | 32 ++++++++++++++++++++++----------
8492 gi/pygi-info.h | 2 ++
8493 gi/pygi-repository.c | 16 ++++++++++++++++
8494 tests/test_overrides_pango.py | 5 +++++
8495 4 files changed, 45 insertions(+), 10 deletions(-)
8497 commit c07404461b126206e369270b56e613f81369c70a
8498 Author: Daniel Drake <dsd@laptop.org>
8499 Date: Mon Mar 18 16:08:09 2013 -0600
8501 Optimize signal lookup in gi repository
8503 Now that we have GSignalQuery results available to us when connecting
8504 signals, we already know which GType implements the signal in
8507 Therefore there is no need to traverse the class parent hierarchy
8508 looking for this, which takes a considerable amount of CPU time.
8510 There is also no need to canonicalize the signal name; both before
8511 and after this patch, by the time we reach this point we have already
8512 successfully looked up the signal name as presented from Python.
8514 https://bugzilla.gnome.org/show_bug.cgi?id=696143
8516 gi/_gobject/pygobject.c | 5 ++--
8517 gi/pygi-signal-closure.c | 59
8518 +++++++++++++-----------------------------------
8519 gi/pygi-signal-closure.h | 1 +
8521 4 files changed, 23 insertions(+), 46 deletions(-)
8523 commit e220706b3e4d9fd454613fbfe1e60e7e1da94ae0
8524 Author: Daniel Drake <dsd@laptop.org>
8525 Date: Mon Mar 18 15:38:19 2013 -0600
8527 Optimize connection of Python-implemented signals
8529 Like properties, when working with signals we must detect if the
8530 signal is implemented in a Python class or if it originates from the
8531 gi repository, and act accordingly.
8533 Asking the gi repository if it can find a signal that is implemented
8534 in a Python class (it can't) takes a considerable amount of CPU time.
8536 Use g_signal_query() to find out which GType implements the signal.
8537 Then perform a simple test to see if this type is implemented at the
8538 Python level, allowing us to to skip the GI querying in this case.
8540 https://bugzilla.gnome.org/show_bug.cgi?id=696143
8542 gi/_gobject/pygobject.c | 19 +++++++++++++++----
8543 1 file changed, 15 insertions(+), 4 deletions(-)
8545 commit e91b35d72f93678a79623347dce271148d57046f
8546 Author: Daniel Drake <dsd@laptop.org>
8547 Date: Mon Mar 18 15:24:52 2013 -0600
8549 Consolidate signal connection code
8551 This code was repeated 4 times with very little variance;
8552 consolidate it and add simple tests to ensure basic coverage.
8554 https://bugzilla.gnome.org/show_bug.cgi?id=696143
8556 gi/_gobject/pygobject.c | 129
8557 +++++++++++++++--------------------------------
8558 tests/test_everything.py | 33 ++++++++++++
8559 2 files changed, 74 insertions(+), 88 deletions(-)
8561 commit cd91e1d5db617d470acbf8c5bc74c11c92f946f6
8562 Author: Daniel Drake <dsd@laptop.org>
8563 Date: Mon Mar 18 15:11:16 2013 -0600
8565 Fix setting of struct property values
8567 "goto out" in this context means that an error occurred, but this
8568 particular instance was sitting in the "good" codepath.
8570 Fixes setting of struct property values.
8572 gi/pygi-property.c | 3 ++-
8573 1 file changed, 2 insertions(+), 1 deletion(-)
8575 commit 8981ea0422c6837d488311dafe8937593372e736
8576 Author: Daniel Drake <dsd@laptop.org>
8577 Date: Mon Mar 18 14:25:45 2013 -0600
8579 Optimize property get/set when using GObject.props
8581 Skip GI repository lookup for properties defined on Python
8582 defined GObject types.
8584 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
8586 https://bugzilla.gnome.org/show_bug.cgi?id=696143
8588 gi/_gobject/pygobject.c | 37 +++++++++++++++++++------------------
8589 1 file changed, 19 insertions(+), 18 deletions(-)
8591 commit 266e389ff90d982151bae3ac22b9b8b0739f520f
8592 Author: Christoph Reiter <reiter.christoph@gmail.com>
8593 Date: Sat Apr 13 17:28:26 2013 +0200
8595 configure.ac: Fix PYTHON_SO with Python3.3
8597 https://bugzilla.gnome.org/show_bug.cgi?id=696646
8599 configure.ac | 5 ++++-
8600 1 file changed, 4 insertions(+), 1 deletion(-)
8602 commit e54c2d1df3812a1789ee240b0ba71ddf77c2f90a
8603 Author: Daniel Drake <dsd@laptop.org>
8604 Date: Mon Mar 18 14:13:37 2013 -0600
8606 Simplify registration of custom types
8608 Use custom quark data to track Python created GTypes.
8610 Remove previous mechanism to track registration of python-implemented
8611 GTypes as it was unused (no custom registration was ever tracked).
8613 Leave vtable pointer and set to NULL to avoid an ABI break.
8615 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
8617 https://bugzilla.gnome.org/show_bug.cgi?id=696143
8619 gi/_gobject/gobjectmodule.c | 11 +++++--
8620 gi/_gobject/pygobject-private.h | 8 ++---
8621 gi/_gobject/pygobject.c | 8 ++---
8622 gi/_gobject/pygobject.h | 9 +++---
8623 gi/_gobject/pygtype.c | 69
8624 +++--------------------------------------
8625 5 files changed, 22 insertions(+), 83 deletions(-)
8627 commit 50702a09344825e3a8aa54365d78de807f989d88
8628 Author: Christoph Reiter <reiter.christoph@gmail.com>
8629 Date: Sat Apr 13 16:04:17 2013 +0200
8631 pygi-convert.sh: Add GStreamer rules
8633 https://bugzilla.gnome.org/show_bug.cgi?id=697951
8635 pygi-convert.sh | 17 +++++++++++++++++
8636 1 file changed, 17 insertions(+)
8638 commit b289176e6b37cb2825bd555cea019b85b68d5c57
8639 Author: Jussi Kukkonen <jussi.kukkonen@intel.com>
8640 Date: Sun Mar 10 15:04:40 2013 +0200
8642 pygi-convert: Add rule for TreeModelFlags
8644 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
8646 pygi-convert.sh | 1 +
8647 1 file changed, 1 insertion(+)
8649 commit 09610bf42be76f65d7d2afe1c691f7b4a7c64e5b
8650 Author: Simon Feltman <sfeltman@src.gnome.org>
8651 Date: Fri Mar 29 03:20:44 2013 -0700
8653 Unify interface struct to Python GI marshaling code
8655 Add pygi_marshal_to_py_interface_struct used for direct gi method
8656 call out args and vfunc in args.
8658 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8660 gi/pygi-argument.c | 72 ++++++-------------------------
8661 gi/pygi-marshal-to-py.c | 112
8662 +++++++++++++++++++++++++++++-------------------
8663 gi/pygi-marshal-to-py.h | 8 ++++
8664 3 files changed, 91 insertions(+), 101 deletions(-)
8666 commit 6d3a0751e71ee3c37b3bb646723aed75971e5b39
8667 Author: Simon Feltman <sfeltman@src.gnome.org>
8668 Date: Thu Mar 28 22:41:51 2013 -0700
8670 Unify Python interface struct to GI marshaling code
8672 Add pygi_marshal_from_py_interface_struct used for direct gi method
8673 call in args and vfunc out args.
8675 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8677 gi/pygi-argument.c | 75 +++++++--------------
8678 gi/pygi-cache.c | 12 +---
8679 gi/pygi-marshal-from-py.c | 167
8680 +++++++++++++++++++++++++++++-----------------
8681 gi/pygi-marshal-from-py.h | 11 +++
8682 4 files changed, 141 insertions(+), 124 deletions(-)
8684 commit 1ea654b4d34e0d119556b232796cd9370b2572f1
8685 Author: Simon Feltman <sfeltman@src.gnome.org>
8686 Date: Thu Mar 28 06:17:15 2013 -0700
8688 Unify Python float and double to GI marshaling code
8690 Change _pygi_argument_from_object to use the cachers marshalers
8691 (_pygi_marshal_from_py_float/double) directly instead of keeping a
8693 Refactor _pygi_marshal_from_py_float/double to use a common utility
8694 _pygi_py_arg_to_double for initial error checking and conversion.
8696 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8698 gi/pygi-argument.c | 26 ++++----------------------
8699 gi/pygi-marshal-from-py.c | 42 ++++++++++++++++++++----------------------
8700 2 files changed, 24 insertions(+), 44 deletions(-)
8702 commit 2eb2a712864a1a685d19018e0860cf0da7c5c9ab
8703 Author: Simon Feltman <sfeltman@src.gnome.org>
8704 Date: Thu Mar 28 05:29:08 2013 -0700
8706 Unify filename to Python GI marshaling code
8708 Change _pygi_argument_to_object to use the cachers marshaler
8709 (_pygi_marshal_to_py_filename) directly instead of keeping a
8712 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8714 gi/pygi-argument.c | 22 ++--------------------
8715 gi/pygi-marshal-to-py.c | 6 ++----
8716 2 files changed, 4 insertions(+), 24 deletions(-)
8718 commit 54aa043d96deb02589e13042a46917405ca53780
8719 Author: Simon Feltman <sfeltman@src.gnome.org>
8720 Date: Thu Mar 28 05:20:00 2013 -0700
8722 Unify utf8 to Python GI marshaling code
8724 Change _pygi_argument_to_object to use the cachers marshaler
8725 (_pygi_marshal_to_py_utf8) directly instead of keeping a
8728 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8730 gi/pygi-argument.c | 11 ++++-------
8731 gi/pygi-marshal-to-py.c | 4 +---
8732 2 files changed, 5 insertions(+), 10 deletions(-)
8734 commit 03ff41ae4bb83858338d96cc6210092c7fb82464
8735 Author: Simon Feltman <sfeltman@src.gnome.org>
8736 Date: Thu Mar 28 05:10:45 2013 -0700
8738 Unify unichar to Python GI marshaling code
8740 Change _pygi_argument_to_object to use the cachers marshaler
8741 (_pygi_marshal_to_py_unichar) directly instead of keeping a
8744 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8746 gi/pygi-argument.c | 19 ++-----------------
8747 1 file changed, 2 insertions(+), 17 deletions(-)
8749 commit 594ad084c2cc21cebce209c11740e6d4866b0b82
8750 Author: Simon Feltman <sfeltman@src.gnome.org>
8751 Date: Sat Feb 16 19:49:59 2013 -0800
8753 Unify Python unicode to filename GI marshaling code
8755 Change _pygi_argument_from_object to use the cachers marshaler
8756 (_pygi_marshal_from_py_filename) directly instead of keeping a
8759 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8761 gi/pygi-argument.c | 30 ++----------------------------
8762 1 file changed, 2 insertions(+), 28 deletions(-)
8764 commit a62e8cdf90f7b03cfc8116125ef3557f9ad08dde
8765 Author: Simon Feltman <sfeltman@src.gnome.org>
8766 Date: Sat Feb 16 19:32:54 2013 -0800
8768 Unify Python unicode to utf8 GI marshaling code
8770 Change _pygi_argument_from_object to use the cachers marshaler
8771 (_pygi_marshal_from_py_utf8) directly instead of keeping a
8774 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8776 gi/pygi-argument.c | 32 ++------------------------------
8777 1 file changed, 2 insertions(+), 30 deletions(-)
8779 commit e253c73335fccabc61e0329f8528a90f79858c67
8780 Author: Simon Feltman <sfeltman@src.gnome.org>
8781 Date: Sat Feb 16 19:16:43 2013 -0800
8783 Unify Python unicode to unichar GI marshaling code
8785 Change _pygi_argument_from_object to use the cachers marshaler
8786 (_pygi_marshal_from_py_unichar) directly instead of keeping a
8789 https://bugzilla.gnome.org/show_bug.cgi?id=693405
8791 gi/pygi-argument.c | 34 ++--------------------------------
8792 gi/pygi-marshal-from-py.c | 9 +++++++++
8793 2 files changed, 11 insertions(+), 32 deletions(-)
8795 commit 216caf590b262fed40d10bb34d020089d1197160
8796 Author: Simon Feltman <sfeltman@src.gnome.org>
8797 Date: Thu Apr 4 15:57:12 2013 -0700
8799 Fix enum and flags marshaling type assumptions
8801 Replace assignments of GFlags and GEnum values to various GIArgument
8802 members with v_uint and v_int respectively.
8804 gi/pygi-argument.c | 6 +++---
8805 gi/pygi-property.c | 4 ++--
8806 2 files changed, 5 insertions(+), 5 deletions(-)
8808 commit 4799ef1d0cb9a4b27c7952585d33b58ea9ec34ca
8809 Author: Christoph Reiter <reiter.christoph@gmail.com>
8810 Date: Thu Apr 4 10:08:38 2013 +0200
8812 Make AM_CHECK_PYTHON_LIBS not depend on AM_CHECK_PYTHON_HEADERS
8814 https://bugzilla.gnome.org/show_bug.cgi?id=696648#c6
8816 m4/python.m4 | 4 ++--
8817 1 file changed, 2 insertions(+), 2 deletions(-)
8819 commit f82f755a0f419539c223e4a74e33145726c6e69f
8820 Author: Christoph Reiter <reiter.christoph@gmail.com>
8821 Date: Thu Apr 4 09:05:48 2013 +0200
8823 Use distutils.sysconfig to retrieve the python include path.
8825 https://bugzilla.gnome.org/show_bug.cgi?id=696648
8827 m4/python.m4 | 8 ++------
8828 1 file changed, 2 insertions(+), 6 deletions(-)
8830 commit cf81dd66e6387bf27122a71176e91ca39beb6519
8831 Author: Martin Pitt <martinpitt@gnome.org>
8832 Date: Thu Apr 4 06:47:56 2013 +0200
8834 Use g_strdup() consistently
8836 https://bugzilla.gnome.org/show_bug.cgi?id=696650
8838 gi/pygi-marshal-from-py.c | 2 +-
8839 1 file changed, 1 insertion(+), 1 deletion(-)
8841 commit 6c22fea63fa6978c2a717ff12ff84d3aff776b5e
8842 Author: Christoph Reiter <reiter.christoph@gmail.com>
8843 Date: Tue Mar 26 16:03:59 2013 +0100
8845 Support PEP 3149 (ABI version tagged .so files)
8847 Add a ABI suffix to the shared library retrieved from
8849 instead of hardcoding it. This should also make things more robust
8852 https://bugzilla.gnome.org/show_bug.cgi?id=696646
8854 configure.ac | 3 +++
8855 gi/Makefile.am | 14 +++++++-------
8856 gi/_glib/Makefile.am | 14 +++++++-------
8857 gi/_gobject/Makefile.am | 14 +++++++-------
8858 4 files changed, 24 insertions(+), 21 deletions(-)
8860 commit 2259ccac8aa2ec23240e92e303ea3f2c53dc2a88
8861 Author: Simon Feltman <sfeltman@src.gnome.org>
8862 Date: Sun Mar 31 01:32:34 2013 -0700
8864 Fix stack corruption due to incorrect format for argument parser
8866 Fix call to PyArg_ParseTupleAndKeywords that used a format parser
8867 of "l" meaning long (8 bytes) in combination with an output pointer
8868 of guint (4 bytes). Change to use gulong with a format of "k".
8870 https://bugzilla.gnome.org/show_bug.cgi?id=696892
8872 gi/_gobject/pygflags.c | 4 ++--
8873 1 file changed, 2 insertions(+), 2 deletions(-)
8875 commit 48e52210ece0e144b4c959e773ea542a912358e7
8876 Author: Simon Feltman <sfeltman@src.gnome.org>
8877 Date: Thu Mar 7 00:26:37 2013 -0800
8879 Deprecate GLib and GObject threads_init
8881 Remove a handful of Python threading related helper functions
8882 from pyglib and pygobject. The binding internals required
8883 GLib.threads_init to be called for PyGObject to work with
8884 Python threads. This was removed as it should not be a requirement.
8885 Using the Python threading module already initializes threading
8886 for us (PyEval_InitThreads).
8888 https://bugzilla.gnome.org/show_bug.cgi?id=686914
8890 gi/_glib/glibmodule.c | 16 --------
8891 gi/_glib/pyglib.c | 94
8892 ---------------------------------------------
8893 gi/_glib/pyglib.h | 28 +++++++-------
8894 gi/_gobject/gobjectmodule.c | 31 ++++-----------
8895 gi/overrides/GLib.py | 8 +++-
8896 gi/overrides/GObject.py | 2 +-
8897 6 files changed, 28 insertions(+), 151 deletions(-)
8899 commit 89d05f91cee419d46cb5318d4a9001ec315a3475
8900 Author: Martin Pitt <martinpitt@gnome.org>
8901 Date: Mon Mar 25 09:03:51 2013 +0100
8903 Drop support for Python 2.6
8905 2.7 has been released long ago, nobody tests PyGObject with 2.6 any
8907 this unblocks e. g. GNOME #682320.
8909 Drop usage of PyCObject_* (which has been superseded by PyCapsule
8911 and drop Python 2.6 specific workarounds.
8914 gi/_glib/pyglib-python-compat.h | 20 ------------------
8915 gi/_gobject/pygobject.h | 6 ------
8918 tests/runtests.py | 45
8919 +----------------------------------------
8920 tests/test_gobject.py | 1 -
8921 tests/test_signal.py | 4 ----
8922 8 files changed, 3 insertions(+), 81 deletions(-)
8924 commit 56347953abb1e214817186581eaf2b2d8762cf97
8925 Author: Martin Pitt <martinpitt@gnome.org>
8926 Date: Wed Oct 24 16:43:25 2012 +0200
8928 Remove static PollFD bindings
8930 Use the GLib API through GI instead, and provide an override to keep a
8931 backwards compatible constructor syntax.
8933 https://bugzilla.gnome.org/show_bug.cgi?id=686795
8935 gi/_glib/Makefile.am | 2 --
8936 gi/_glib/glibmodule.c | 2 --
8937 gi/_glib/pygsource.c | 98
8938 ---------------------------------------------------
8939 gi/_glib/pygsource.h | 36 -------------------
8940 gi/overrides/GLib.py | 17 +++++++--
8941 5 files changed, 15 insertions(+), 140 deletions(-)
8943 commit a93eb5ecc982b5fe1bdf8f78b15ba10351a63b89
8944 Author: Martin Pitt <martinpitt@gnome.org>
8945 Date: Mon Mar 25 08:44:24 2013 +0100
8947 Drop test skipping due to too old g-i
8949 We depend on gobject-introspection 1.35.9 now, which has all this API.
8951 tests/test_gi.py | 24 ------------------------
8952 tests/test_object_marshaling.py | 14 --------------
8953 2 files changed, 38 deletions(-)
8955 commit f957e33bc1ef2a4175bab85cfcd9b5faf092aa2f
8956 Author: Martin Pitt <martinpitt@gnome.org>
8957 Date: Mon Mar 25 08:37:37 2013 +0100
8959 Bump glib and g-i dependencies
8961 Now require g-i 1.35.9 and glib 2.35.9, i. e. the current stable
8963 versions. This allows us to drop the conditional test suite skips
8965 static PollFD bindings.
8967 configure.ac | 6 +++---
8968 1 file changed, 3 insertions(+), 3 deletions(-)
8970 commit 252556d044322207429c0d0c269365f48e4d819a
8971 Author: Martin Pitt <martinpitt@gnome.org>
8972 Date: Mon Mar 25 08:43:53 2013 +0100
8974 configure.ac: post-release version bump to 3.9.1
8976 configure.ac | 4 ++--
8977 1 file changed, 2 insertions(+), 2 deletions(-)
8979 commit 5f82e007e2dcdbfd82a20d8c4d54f9cd7b3b77ac
8980 Author: Martin Pitt <martinpitt@gnome.org>
8981 Date: Mon Mar 25 08:12:10 2013 +0100
8986 1 file changed, 4 insertions(+)
8988 commit bb4fa093d59173f68a0b16e10016bafe7cd18f62
8989 Author: Simon Feltman <sfeltman@src.gnome.org>
8990 Date: Wed Mar 20 23:45:01 2013 -0700
8992 tests: Fix incorrect assumption when testing pyglib version
8994 Replace version test of 3.7.2 with 3.0.0 as it is the only reasonable
8995 value that can be used for a future proof unittest here.
8997 tests/test_glib.py | 4 ++--
8998 1 file changed, 2 insertions(+), 2 deletions(-)
9000 commit 78b7b0bea3068b81ba67deea4d06b1fb27434841
9001 Author: Martin Pitt <martinpitt@gnome.org>
9002 Date: Mon Mar 18 14:02:29 2013 +0100
9004 configure.ac: post-release bump to 3.8.0
9006 configure.ac | 4 ++--
9007 1 file changed, 2 insertions(+), 2 deletions(-)
9009 commit defbd63e95faafaa84230f160bc95dad0f55e37d
9010 Author: Martin Pitt <martinpitt@gnome.org>
9011 Date: Mon Mar 18 14:01:05 2013 +0100
9015 NEWS | 18 ++++++++++++++++++
9016 1 file changed, 18 insertions(+)
9018 commit a0844a896603c5c91bed24cf94106765f0ced74e
9019 Author: Simon Feltman <sfeltman@src.gnome.org>
9020 Date: Sun Mar 17 23:22:38 2013 -0700
9022 Fix stack smasher when marshaling enums as a vfunc return value
9024 Add special case for marshaling GI_TYPE_TAG_INTERFACE with enum or
9025 flag types. Default interfaces to marshal as a pointer.
9026 Add explicit cases for GType and Unichar out/return marshaling.
9027 Fix leaking of GIBaseInfo when marshaling interface as out arg.
9029 https://bugzilla.gnome.org/show_bug.cgi?id=637832
9031 gi/pygi-closure.c | 69
9032 ++++++++++++++++++++++++++++++++++++++++++++++---------
9033 tests/test_gi.py | 19 +++++++++++++++
9034 2 files changed, 77 insertions(+), 11 deletions(-)
9036 commit 669e15c35213dbce6ceb0a4a3d474aae620910ce
9037 Author: Simon Feltman <sfeltman@src.gnome.org>
9038 Date: Sun Mar 17 15:37:09 2013 -0700
9040 Change base class of PyGIDeprecationWarning based on minor version
9042 Use RuntimeWarning as the base class of PyGIDeprecationWarning
9043 for unstable (odd minor version) and use DeprecationWarning for
9044 stable (even minor version). This is so PyGObject deprecations
9045 behave the same as regular Python deprecations in stable releases.
9047 https://bugzilla.gnome.org/show_bug.cgi?id=696011
9049 gi/__init__.py | 14 +++++++++++---
9050 1 file changed, 11 insertions(+), 3 deletions(-)
9052 commit 755b2e6fc635489d98d48254ea60b2631b43dfbd
9053 Author: Alban Browaeys <prahal@yahoo.com>
9054 Date: Thu Feb 28 18:57:21 2013 +0100
9056 autogen.sh: Source gnome-autogen to fix out of source builddir
9058 https://bugzilla.gnome.org/show_bug.cgi?id=694889
9061 1 file changed, 1 insertion(+), 1 deletion(-)
9063 commit a38392a9d713b0001cf30066d337b1abbbbbc59e
9064 Author: Martin Pitt <martinpitt@gnome.org>
9065 Date: Tue Mar 5 12:22:15 2013 +0100
9067 Add 3.7.91.1 NEWS entry
9069 Forgot to push this back then.
9072 1 file changed, 3 insertions(+)
9074 commit 85f8aae849dd0fb21de8722a3af9234ca20ea1e0
9075 Author: Simon Feltman <sfeltman@src.gnome.org>
9076 Date: Sun Mar 17 04:19:57 2013 -0700
9078 pygtkcompat: Make gdk.Window.get_geometry return tuple of 5
9080 Make get_geometry return a tuple of (x, y, width, height, depth)
9081 as it did in pygtk 2.
9082 Update pygtkcompat.enable_gtk() to default to version 3.0 because
9083 version 2.0 core dumps trying to use introspection with gtk 2.
9085 pygtkcompat/pygtkcompat.py | 8 +++++++-
9086 1 file changed, 7 insertions(+), 1 deletion(-)
9088 commit 38683f721c33cc35f0260868e58643fd35f04cbe
9089 Author: Simon Feltman <sfeltman@src.gnome.org>
9090 Date: Sun Mar 17 02:08:03 2013 -0700
9092 testhelpermodule: Fix build warning for PyGObject_Type redefinition
9094 Remove dynamic retrieval of PyGObject_Type as it is available
9095 in pygobject.h since commit 2656bc47 (causing this compile warning)
9097 tests/testhelpermodule.c | 14 +-------------
9098 1 file changed, 1 insertion(+), 13 deletions(-)
9100 commit a3ec8867945da7722beebb7e77c6255ee3ba8bb8
9101 Author: Simon Feltman <sfeltman@src.gnome.org>
9102 Date: Sun Mar 17 01:51:33 2013 -0700
9104 pygtkcompat: Initialize hint to zero in set_geometry_hints
9106 pygtkcompat/pygtkcompat.py | 2 +-
9107 1 file changed, 1 insertion(+), 1 deletion(-)
9109 commit 471204953d6fc93b3d311afd133d40f7d75ec541
9110 Author: Simon Feltman <sfeltman@src.gnome.org>
9111 Date: Fri Mar 15 04:33:22 2013 -0700
9113 Remove incorrect bounds check with property helper flags
9115 Remove bounds check for flags as it is not necessary for the
9116 helper to make these kind of judgement calls in general.
9117 e.g. leave it to marshaling/internals to complain about potential
9118 problems. The flags were being bounds checked to a maximum
9119 value of 32 (the intention was most likely to limit it to 32 bits).
9121 gi/_gobject/propertyhelper.py | 3 ---
9122 tests/test_properties.py | 1 -
9123 2 files changed, 4 deletions(-)
9125 commit 2656bc47ca1219b329066da1c2c58018ae624866
9126 Author: Simon Feltman <sfeltman@src.gnome.org>
9127 Date: Thu Mar 7 18:07:17 2013 -0800
9129 Fix crash when setting property of type object to an incorrect type
9131 Add type check when marshaling an object from Python for GObject
9133 Add PyGObject_Type as part of the pygobject API to check for this.
9135 https://bugzilla.gnome.org/show_bug.cgi?id=695420
9137 gi/_gobject/gobjectmodule.c | 3 ++-
9138 gi/_gobject/pygobject.h | 2 ++
9139 gi/pygi-marshal-from-py.c | 8 ++++++++
9140 tests/test_object_marshaling.py | 4 ++++
9141 4 files changed, 16 insertions(+), 1 deletion(-)
9143 commit 44587f42224a44a480629223c8d78a426bc32a12
9144 Author: Simon Feltman <sfeltman@src.gnome.org>
9145 Date: Thu Mar 7 17:59:02 2013 -0800
9147 Remove skipping of object property tests
9149 These were showing up as unexpected successes now that bug 675726
9152 https://bugzilla.gnome.org/show_bug.cgi?id=695420
9154 tests/test_object_marshaling.py | 7 ++-----
9155 1 file changed, 2 insertions(+), 5 deletions(-)
9157 commit 10214ba2d96fd6d66eeea159219f585abff8632a
9158 Author: Simon Feltman <sfeltman@src.gnome.org>
9159 Date: Thu Mar 7 15:34:49 2013 -0800
9161 Give more informative error when setting property to incorrect type
9163 https://bugzilla.gnome.org/show_bug.cgi?id=695420
9165 gi/_gobject/pygobject.c | 10 ++++++++--
9166 1 file changed, 8 insertions(+), 2 deletions(-)
9168 commit 9ab6e5451aea43ed086c0d26324c4efed24476d7
9169 Author: Martin Pitt <martinpitt@gnome.org>
9170 Date: Tue Mar 5 12:04:55 2013 +0100
9172 Revert "Drop gi.overrides.overridefunc()"
9174 This reverts commit 1dc2bc9f65669417ae1964d70b85f115928b2963. External
9176 like GEdit plugins use @overrides for functions as well, we must
9180 https://bugzilla.gnome.org/show_bug.cgi?id=695199
9182 gi/overrides/Gtk.py | 7 ++++---
9183 gi/overrides/__init__.py | 24 ++++++++++++++++++++++--
9184 2 files changed, 26 insertions(+), 5 deletions(-)
9186 commit 862de794bf01a66aa6d796c674bce375cad37ba7
9187 Author: Martin Pitt <martinpitt@gnome.org>
9188 Date: Mon Mar 4 17:33:51 2013 +0100
9190 configure.ac: Post-release bump to 3.7.92
9193 1 file changed, 1 insertion(+), 1 deletion(-)
9195 commit bb12e652d661cf6ce931b44a89c11951894101bf
9196 Author: Martin Pitt <martinpitt@gnome.org>
9197 Date: Mon Mar 4 17:27:50 2013 +0100
9201 NEWS | 33 +++++++++++++++++++++++++++++++++
9202 1 file changed, 33 insertions(+)
9204 commit 25a6f90f28b065dd4f1cd352826598577402dc0b
9205 Author: Martin Pitt <martinpitt@gnome.org>
9206 Date: Mon Mar 4 17:16:22 2013 +0100
9208 Dot not clobber original Gdk/Gtk functions with overrides
9210 https://bugzilla.gnome.org/show_bug.cgi?id=686835
9212 gi/overrides/Gdk.py | 3 ++-
9213 gi/overrides/Gtk.py | 3 ++-
9214 2 files changed, 4 insertions(+), 2 deletions(-)
9216 commit d50d16428edf42799489fe1befbc4ce56f0fa181
9217 Author: Martin Pitt <martinpitt@gnome.org>
9218 Date: Mon Mar 4 15:30:31 2013 +0100
9220 tests: Reorganize GError and GClosure tests
9222 Split TestGClosure.test_gclosure_in() into its three components.
9224 Merge the various TestGError* classes into one, to match the structure
9228 tests/test_gi.py | 59
9229 +++++++++++++++++++++++++-------------------------------
9230 1 file changed, 26 insertions(+), 33 deletions(-)
9232 commit 8cfd596c7849bf78a74fee04630fbbb104f02080
9233 Author: Martin Pitt <martinpitt@gnome.org>
9234 Date: Mon Mar 4 15:16:25 2013 +0100
9236 Fix memory leaks in property setting/getting
9238 Do not leak GValues and string arrays, free them properly. As we
9240 the intermediate GValues, use g_value_dup_boxed() instead of
9241 g_value_get_boxed() when appropriate.
9243 Detected by test_gi.TestPropertiesObject.test_strv test case.
9245 gi/pygi-property.c | 21 ++++++++++++++++-----
9246 1 file changed, 16 insertions(+), 5 deletions(-)
9248 commit eec8c3a932d42e92ccaf7f97d3d90948842e263f
9249 Author: Martin Pitt <martinpitt@gnome.org>
9250 Date: Mon Mar 4 12:43:24 2013 +0100
9252 Fix memory leak in pyg_flags_get_value_nicks()
9254 Discovered by test_gi.TestKeywords.test_uppercase() test.
9256 gi/_gobject/pygflags.c | 7 +++++--
9257 1 file changed, 5 insertions(+), 2 deletions(-)
9259 commit 002a834dd993b82508a4fe262269befcf1a6d341
9260 Author: Martin Pitt <martinpitt@gnome.org>
9261 Date: Mon Mar 4 12:10:03 2013 +0100
9263 Fix memory leak in _pygi_argument_to_array()
9265 Free the originally allocated GArray data before setting it to
9269 Discovered by test_gi.TestStructure.test_boxed_struct_return test
9272 gi/pygi-argument.c | 1 +
9273 1 file changed, 1 insertion(+)
9275 commit d32b410a1b1fcca6d10d75fbd771ea789999da64
9276 Author: Martin Pitt <martinpitt@gnome.org>
9277 Date: Mon Mar 4 10:19:34 2013 +0100
9279 Fix leaking inout C arrays
9281 g_*_info_invoke() changes the original state->in_args and state->args
9283 to the output values for (inout) arguments, thus losing the pointer
9285 originally allocated array. Remember that in state->args_data,
9287 free it in _pygi_marshal_cleanup_from_py_array().
9289 Reproduced by test_gi.TestArray.test_array_fixed_inout test case.
9291 gi/pygi-marshal-cleanup.c | 6 ++++++
9292 gi/pygi-marshal-from-py.c | 4 ++++
9293 2 files changed, 10 insertions(+)
9295 commit e4098cbc28ff9324fa851bca2e423da4e51b5091
9296 Author: Martin Pitt <martinpitt@gnome.org>
9297 Date: Fri Mar 1 15:12:31 2013 +0100
9299 Fix leak in _PyGI_ERROR_PREFIX()
9301 Properly clean up our allocated py_error_prefix string.
9303 Fixes memory leak in e. g. test_gi.TestArray.test_array_fixed_int_in.
9305 gi/pygi-private.h | 1 +
9306 1 file changed, 1 insertion(+)
9308 commit b388c3e87ce86d26560337c88eb33d0a95647db8
9309 Author: Martin Pitt <martinpitt@gnome.org>
9310 Date: Fri Mar 1 15:01:06 2013 +0100
9312 Fix leaking of boxed array elements
9314 Commit 631d8ef879a copies struct array elements, but this needlessly
9316 and leaks the array element for boxed types. So only do it for
9319 This fixes the memory leak with
9320 test_gi.TestGValue.test_gvalue_flat_array_out.
9322 https://bugzilla.gnome.org/show_bug.cgi?id=693402
9324 gi/pygi-marshal-to-py.c | 3 ++-
9325 1 file changed, 2 insertions(+), 1 deletion(-)
9327 commit 1dc2bc9f65669417ae1964d70b85f115928b2963
9328 Author: Martin Pitt <martinpitt@gnome.org>
9329 Date: Fri Mar 1 14:04:34 2013 +0100
9331 Drop gi.overrides.overridefunc()
9333 This just adds an unnecessary extra function call and is not really
9335 Drop it from the only remaining function which uses this
9337 drop overridefunc().
9339 https://bugzilla.gnome.org/show_bug.cgi?id=686835
9341 gi/overrides/Gtk.py | 7 +++----
9342 gi/overrides/__init__.py | 24 ++----------------------
9343 2 files changed, 5 insertions(+), 26 deletions(-)
9345 commit 1edc4ba31b3f9375ec3920aab5b71eb066ee3739
9346 Author: Martin Pitt <martinpitt@gnome.org>
9347 Date: Fri Mar 1 14:02:02 2013 +0100
9349 Add some tests for overridden Gdk/Gtk functions
9351 Add tests for Gtk.main_quit, Gtk.stock_parse(), and Gdk.color_parse(),
9353 have overrides for them.
9355 tests/test_overrides_gdk.py | 7 +++++++
9356 tests/test_overrides_gtk.py | 15 +++++++++++++++
9357 2 files changed, 22 insertions(+)
9359 commit 6f6c0ceff00fea83bc85756b10694f7c96039abc
9360 Author: Martin Pitt <martinpitt@gnome.org>
9361 Date: Fri Mar 1 11:10:01 2013 +0100
9363 Fix GLib.Source ref leak upon destruction
9365 In GLib.Source.__del__(), manually unref the source if we are a
9367 As we use a static binding to create it, the GI part won't unref it
9369 leading to finalize() method not being called and the GSource
9372 https://bugzilla.gnome.org/show_bug.cgi?id=510511
9374 gi/overrides/GLib.py | 4 ++++
9375 tests/test_source.py | 31 +++++++++++++++++++++++++++++++
9376 2 files changed, 35 insertions(+)
9378 commit 91f76dd94fb0afc6888a821a31c3a4e2e053360e
9379 Author: Martin Pitt <martinpitt@gnome.org>
9380 Date: Thu Feb 28 15:08:56 2013 +0100
9382 Add performance test for Gtk.ListStore.append
9384 We are going to optimize this in various ways, so let's measure it.
9386 tests/test_overrides_gtk.py | 14 ++++++++++++++
9387 1 file changed, 14 insertions(+)
9389 commit b1ff74b085bdca72c272f019be4dd387073a991a
9390 Author: Simon Feltman <sfeltman@src.gnome.org>
9391 Date: Thu Feb 28 04:32:30 2013 -0800
9393 Optimize GValue.get/set_value by setting GValue.g_type to a local
9395 This increases performance by a factor of 2x for types later
9398 https://bugzilla.gnome.org/show_bug.cgi?id=694857
9400 gi/overrides/GObject.py | 98
9401 +++++++++++++++++++++++++------------------------
9402 1 file changed, 51 insertions(+), 47 deletions(-)
9404 commit 105e6738ee249b64904da26ae45dd273ca4eeba8
9405 Author: Martin Pitt <martinpitt@gnome.org>
9406 Date: Thu Feb 28 11:43:47 2013 +0100
9408 Fix leak of caller-allocated boxed values
9410 Add a new "allocated_slice" argument to _pygi_boxed_new() which
9412 whether its "boxed" pointer was allocated using a slice (by giving
9414 malloc (by specifying 0), as _pygi_boxed_new cannot determine that
9418 Use this in _pygi_marshal_to_py_interface_struct() for
9419 caller-allocated boxed
9420 values, as _caller_alloc() uses _pygi_boxed_alloc() for those
9422 which would otherwise leak.
9424 Thanks to Mike Gorse <mgorse@suse.com> for the original patch!
9426 https://bugzilla.gnome.org/show_bug.cgi?id=691501
9428 gi/gimodule.c | 2 +-
9429 gi/pygi-argument.c | 2 +-
9430 gi/pygi-boxed.c | 14 ++++++++++----
9431 gi/pygi-boxed.h | 3 ++-
9432 gi/pygi-marshal-to-py.c | 6 ++++--
9433 gi/pygi-source.c | 3 ++-
9434 6 files changed, 20 insertions(+), 10 deletions(-)
9436 commit 64bcca2d39fed1734ad1abbe291406387e901f5c
9437 Author: Martin Pitt <martinpitt@gnome.org>
9438 Date: Thu Feb 28 10:48:18 2013 +0100
9440 Fix memory handling of caller-allocated boxed types
9442 _pygi_marshal_to_py_interface_struct() and other places treat
9444 G_TYPE_BOXED as boxed values and wrap them with _pygi_boxed_new(). Fix
9445 _caller_alloc() and _cleanup_caller_allocates() to consider
9447 subtypes as well and use the slice allocator instead of malloc()'ing
9449 This avoids trying to free an malloc'ed struct with g_slice_free()
9451 cleans up the boxed values.
9453 The leak was produced with:
9455 G_SLICE=debug-blocks PYTHONPATH=. valgrind --tool=memcheck
9456 --leak-check=full --show-possibly-lost=no \
9457 python3 -c 'from gi.repository import Gtk; b=Gtk.TextBuffer();
9458 (s,e) = b.get_bounds()'
9460 gi/pygi-invoke.c | 2 +-
9461 gi/pygi-marshal-cleanup.c | 2 +-
9462 2 files changed, 2 insertions(+), 2 deletions(-)
9464 commit 4f5e8b7554b6388aa2d0eb4a3b285d99499163be
9465 Author: Martin Pitt <martinpitt@gnome.org>
9466 Date: Wed Feb 27 23:21:34 2013 +0100
9468 Fix cleanup of GValue arrays
9470 Commit bc1fd8 introduced a thinko: We must not change
9471 item_arg_cache->from_py_cleanup, as it's a global cache. Revert
9473 change, and instead put the hack into
9474 _pygi_marshal_cleanup_from_py_array(),
9475 which now short-circuits
9476 _pygi_marshal_cleanup_from_py_interface_struct_gvalue() to avoid
9477 trying to release a slice which has never been allocated in
9478 _pygi_marshal_from_py_array().
9480 https://bugzilla.gnome.org/show_bug.cgi?id=672224
9482 gi/pygi-marshal-cleanup.c | 11 ++++++++++-
9483 gi/pygi-marshal-from-py.c | 10 +++-------
9484 2 files changed, 13 insertions(+), 8 deletions(-)
9486 commit 70118c3840b10e1585d066a4be485c097cd23e99
9487 Author: Martin Pitt <martinpitt@gnome.org>
9488 Date: Wed Feb 27 21:52:43 2013 +0100
9490 Revert "Mark caller-allocated boxed structures as having a slice
9493 This is wrong after all, as it sets slice_allocated to TRUE, but
9495 corresponding size. Also, poking in internal fields from that place
9497 this should rather be fixed in gi/pygi-marshal-cleanup.c
9498 _cleanup_caller_allocates().
9500 This reverts commit dc3d21173b75232f7ea0b9913f7309486456a69d.
9502 gi/pygi-marshal-to-py.c | 4 +---
9503 1 file changed, 1 insertion(+), 3 deletions(-)
9505 commit a51c72c771dafc0c13d7990f1ff3e428dca729a1
9506 Author: Martin Pitt <martinpitt@gnome.org>
9507 Date: Wed Feb 27 21:51:30 2013 +0100
9509 Run tests with G_SLICE=debug_blocks
9511 This will help finding regressions in slice management, like in
9512 https://bugzilla.gnome.org/show_bug.cgi?id=691501
9514 tests/Makefile.am | 3 ++-
9515 1 file changed, 2 insertions(+), 1 deletion(-)
9517 commit 4f6ebcfe0605a7a593dc3f9dd322a4da9bd091a3
9518 Author: Martin Pitt <martinpitt@gnome.org>
9519 Date: Wed Feb 27 18:30:23 2013 +0100
9521 Add override helper for stripping boolean returns
9523 Introduce a gi.overrides.strip_boolean_result() helper which checks
9525 return value and if True, return the remaining arguments, otherwise
9527 default. This pattern is being used by a lot of overrides, which get
9528 significantly smaller and more consistent that way.
9530 https://bugzilla.gnome.org/show_bug.cgi?id=694431
9532 gi/overrides/Gdk.py | 27 +-------
9533 gi/overrides/Gtk.py | 156
9534 +++++++++--------------------------------------
9535 gi/overrides/__init__.py | 22 +++++++
9536 3 files changed, 53 insertions(+), 152 deletions(-)
9538 commit 08c97b0bd3140921f1b5c74f7764e23d3a9bf0ee
9539 Author: Martin Pitt <martinpitt@gnome.org>
9540 Date: Wed Feb 27 15:39:23 2013 +0100
9542 Drop obsolete pygobject_register_sinkfunc() declaration
9544 There is no definition for this any more, nor is it being used
9547 https://bugzilla.gnome.org/show_bug.cgi?id=639849
9549 gi/_gobject/pygobject-private.h | 2 --
9550 1 file changed, 2 deletions(-)
9552 commit b6fefd625b843d4fc3dabc456584a2ad27a48c8c
9553 Author: Martin Pitt <martinpitt@gnome.org>
9554 Date: Wed Feb 27 13:41:55 2013 +0100
9556 Fix marshalling of C arrays with explicit length in signal arguments
9558 We need _pygi_argument_to_array() from both closure marshalling
9560 the arguments as GIArgument array) and signal closure marshalling
9562 have the arguments in a GValue array). Add an alternative
9564 parameter to _pygi_argument_to_array() so that callers can specify
9566 other depending on which type they have available.
9568 This allows us to pass on the full argument list for signal closures,
9570 _pygi_argument_to_array() can access the explicit length argument
9574 This fixes the GSettings:change-event signal.
9576 https://bugzilla.gnome.org/show_bug.cgi?id=662241
9578 gi/pygi-argument.c | 36 ++++++++++++++++++++++++++++--------
9579 gi/pygi-argument.h | 1 +
9580 gi/pygi-closure.c | 2 +-
9581 gi/pygi-info.c | 4 ++--
9582 gi/pygi-signal-closure.c | 3 ++-
9583 tests/test_gio.py | 18 ++++++++++++++++++
9584 6 files changed, 52 insertions(+), 12 deletions(-)
9586 commit caeeeb7e4282e183eefc3c53b2d53c8c2bb7de89
9587 Author: Martin Pitt <martinpitt@gnome.org>
9588 Date: Wed Feb 27 08:07:20 2013 +0100
9590 Fix signedness, overflow checking, and 32 bit overflow of GFlags
9592 GFlagsValue.value is a guint, so we must access it as unsigned
9594 new macros PYGLIB_PyLong_FromUnsignedLong() and
9595 PYGLIB_PyLong_AsUnsignedLong()
9596 for that purpose, and consistently use them for handling flag
9598 checked variant of these functions which produce OverflowErrors
9600 of the unchecked PYGLIB_PyLong_AS_LONG().
9602 Insert zero padding after the PyLongObject in PyGFlags and
9604 this, the directly adjacent GType field seems to confuse
9605 PyLong_FromUnsignedLong() and includes the GType into the numeric
9608 https://bugzilla.gnome.org/show_bug.cgi?id=693121
9610 gi/_glib/pyglib-python-compat.h | 8 +++++++
9611 gi/_gobject/gobjectmodule.c | 2 +-
9612 gi/_gobject/pygflags.c | 52
9613 +++++++++++++++++++++++++----------------
9614 gi/_gobject/pygobject-private.h | 10 ++++----
9615 gi/_gobject/pygobject.h | 4 ++--
9616 gi/_gobject/pygtype.c | 6 ++---
9617 tests/test_overrides_gdk.py | 15 ++++++++++++
9618 7 files changed, 67 insertions(+), 30 deletions(-)
9620 commit b3a3da37e369f3f5d434c8dc9f3c7f1e74d537ac
9621 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
9622 Date: Tue Feb 26 16:15:36 2013 +0800
9624 gi/pygi-marshal-from-py.c: Fix build on Visual C++
9626 Since Visual C++ does not provide the INFINITY and NAN constants
9628 math.h (they are items defined by C99), provide fallback
9630 for it here. The INFINITY constant can be provided with HUGE_VAL,
9632 we are using INFINITY to check the value of a variable of double
9634 we could use a rather simple workaround for NAN.
9636 Also avoid declaring variables in the middle of the block.
9638 https://bugzilla.gnome.org/show_bug.cgi?id=692856
9640 gi/pygi-marshal-from-py.c | 19 ++++++++++++++++++-
9641 1 file changed, 18 insertions(+), 1 deletion(-)
9643 commit 5210e3d5bb7936a21b6a2c938ede505bf1d848c9
9644 Author: Martin Pitt <martinpitt@gnome.org>
9645 Date: Tue Feb 26 16:42:19 2013 +0100
9647 Fix some style issues with previous patch
9649 gi/pygi-cache.c | 6 +++---
9650 1 file changed, 3 insertions(+), 3 deletions(-)
9652 commit 999679beaa9f5b36d9483abdbd30cd5e113b6bf6
9653 Author: Martin Pitt <martinpitt@gnome.org>
9654 Date: Tue Feb 26 10:15:22 2013 +0100
9656 Raise DeprecationWarning on deprecated callables
9658 Check if a callable is marked as deprecated and raise a
9659 DeprecationWarning in
9663 - Python hides DeprecationWarning by default, you need to enable
9665 - The deprecation message is currently not in the typelib (bug
9668 https://bugzilla.gnome.org/show_bug.cgi?id=665084
9670 gi/pygi-cache.c | 14 ++++++++++++++
9671 tests/test_gi.py | 10 ++++++++++
9672 2 files changed, 24 insertions(+)
9674 commit 9f8258cfdcf562aa6cf37b9e66075b7f6a6ed97a
9675 Author: Simon Feltman <sfeltman@src.gnome.org>
9676 Date: Mon Feb 18 00:39:45 2013 -0800
9678 pygtkcompat: Add Widget.window, scroll_to_mark, and window methods
9680 Fix gi.pygtkcompat attempting relative import in Python < 3.0.
9681 Add Gtk.Widget.window property which uses get_window()
9682 Add Gtk.TextView.scroll_to_mark with defaults
9683 Add Gtk.window_list_toplevels and Gtk.window_set_default_icon_name
9685 https://bugzilla.gnome.org/show_bug.cgi?id=694067
9687 gi/pygtkcompat.py | 2 ++
9688 pygtkcompat/pygtkcompat.py | 14 ++++++++++++++
9689 2 files changed, 16 insertions(+)
9691 commit e8e2bbee7bb79039bbd9a968f7db88438bd937f9
9692 Author: Simon Feltman <sfeltman@src.gnome.org>
9693 Date: Sun Dec 16 02:56:06 2012 -0800
9695 pygtkcompat: Add Gtk.Window.set_geometry_hints which accepts keyword
9698 Monkey patch a keyword argument version of set_geometry_hints onto
9700 This version is compatible with pygtk and takes keywords instead of a
9701 Gdk.Geometry and Gdk.GeometryMask.
9703 https://bugzilla.gnome.org/show_bug.cgi?id=694067
9705 pygtkcompat/pygtkcompat.py | 44
9706 ++++++++++++++++++++++++++++++++++++++++++++
9707 1 file changed, 44 insertions(+)
9709 commit 1ca0e142709843cdae9ca965dfa6cc292ef53ab5
9710 Author: Martin Pitt <martinpitt@gnome.org>
9711 Date: Tue Feb 26 10:09:47 2013 +0100
9713 tests: Fix warning behaviour
9715 -Werror::* does not seem to do what it says on the tin, these
9717 ignored entirely apparently. Just keep -Wd to actually show all
9719 including DeprecationWarning, which is hidden by default.
9721 tests/Makefile.am | 2 +-
9722 1 file changed, 1 insertion(+), 1 deletion(-)
9724 commit e7ea6952c7a2d8da68ed8b66770d889cd756df9a
9725 Author: Martin Pitt <martinpitt@gnome.org>
9726 Date: Tue Feb 26 08:49:10 2013 +0100
9728 Ship pygobject.doap for autogen.sh
9730 https://bugzilla.gnome.org/show_bug.cgi?id=694591
9733 1 file changed, 1 insertion(+)
9735 commit 80ed803dab3ad914d7214a475e3c6ed743dfdccc
9736 Author: Simon Feltman <sfeltman@src.gnome.org>
9737 Date: Tue Feb 19 03:07:19 2013 -0800
9739 Fix crashes in various GObject signal handler functions
9741 Fix crashes in a large amount of signal handler functions exposed
9742 on the GObject module. This is possible now that the underlying
9743 GObject pointer is exposed to Python as a PyCapsule which marshaling
9744 can handle. The following functions in the GObject module have been
9747 signal_handler_unblock
9748 signal_handler_disconnect
9749 signal_handler_is_connected
9750 signal_stop_emission
9751 signal_stop_emission_by_name
9752 signal_has_handler_pending
9753 signal_connect_closure
9754 signal_connect_closure_by_id
9756 signal_handlers_destroy
9758 https://bugzilla.gnome.org/show_bug.cgi?id=633927
9760 gi/_gobject/gobjectmodule.c | 57 ++--------------
9761 gi/overrides/GObject.py | 158
9762 ++++++++++++++++++++++++++++++++++----------
9763 tests/test_signal.py | 121 ++++++++++++++++++++++++++++++++-
9764 3 files changed, 247 insertions(+), 89 deletions(-)
9766 commit e9c578c1d47375cb2249ccdd86873faad04b89e1
9767 Author: Olivier Crête <olivier.crete@collabora.com>
9768 Date: Fri Sep 14 21:29:53 2012 -0400
9770 pygi-closure: Protect the GSList prepend with the GIL
9772 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
9774 https://bugzilla.gnome.org/show_bug.cgi?id=684060
9776 gi/pygi-closure.c | 4 ++--
9777 1 file changed, 2 insertions(+), 2 deletions(-)
9779 commit 6e0a32f6d9febbd782dc56a619974f009e79abd9
9780 Author: Simon Feltman <sfeltman@src.gnome.org>
9781 Date: Wed Feb 20 01:21:32 2013 -0800
9783 generictreemodel: Fix bad default return type for get_column_type
9785 pygtkcompat/generictreemodel.py | 2 +-
9786 1 file changed, 1 insertion(+), 1 deletion(-)
9788 commit 8ec5c335e223bdf00c7bb6c9aac3e7ac7791e38e
9789 Author: Martin Pitt <martinpitt@gnome.org>
9790 Date: Tue Feb 19 12:23:13 2013 +0100
9792 configure.ac: post-release bump to 3.7.91
9795 1 file changed, 1 insertion(+), 1 deletion(-)
9797 commit f2fb7f6142cd7112db9c2526d7f1c642a50cfc2a
9798 Author: Martin Pitt <martinpitt@gnome.org>
9799 Date: Tue Feb 19 12:19:35 2013 +0100
9803 NEWS | 17 +++++++++++++++++
9805 2 files changed, 18 insertions(+), 1 deletion(-)
9807 commit 840c871441cb215f24cc6e7ed26b9f38e5aad0df
9808 Author: Simon Feltman <sfeltman@src.gnome.org>
9809 Date: Mon Feb 18 01:46:22 2013 -0800
9811 overrides: Fix inconsistencies with drag and drop target list API
9813 Add support to Gtk.Widget.drag_dest_set_target_list and
9814 Gtk.Widget.drag_source_set_target_list to accept iterables containing
9815 mixed TargetEntry or a tuple of (target, flags, info).
9816 Add support to Gtk.TreeView.enable_model_drag_source and
9817 Gtk.TreeView.enable_model_drag_dest to accept a list of
9821 https://bugzilla.gnome.org/show_bug.cgi?id=680640
9823 gi/overrides/Gtk.py | 40 +++++++++++++++++++++++++++++-----------
9824 tests/test_overrides_gtk.py | 32 ++++++++++++++++++++++++++++++++
9825 2 files changed, 61 insertions(+), 11 deletions(-)
9827 commit 62e94b0f87845bb7a1cfddf70dcdc89ff7a80bf7
9828 Author: Simon Feltman <sfeltman@src.gnome.org>
9829 Date: Mon Feb 18 03:19:34 2013 -0800
9831 tests: Add test_marshaling_object to Makefile.am
9833 tests/Makefile.am | 1 +
9834 1 file changed, 1 insertion(+)
9836 commit a10fb7216de57046d1ecacb73dd032eaadcbad09
9837 Author: Simon Feltman <s.feltman@gmail.com>
9838 Date: Wed Aug 29 03:46:23 2012 -0700
9840 pygtkcompat: Add pygtk compatible GenericTreeModel implementation
9842 Add Python implementation of the GenericTreeModel that was
9843 available in pygtk. The implementation attempts a better job
9844 than the original at ref counting by guaranteeing no leaks
9845 upon deletion of the model itself. Or by using the extra "node"
9846 argument to the row_deleted signal. The model is available in
9847 the pygtkcompat package directly as
9848 pygtkcompat.generictreemodel.GenericTreeModel or with as
9849 gtk.GenericTreeModel when pygtkcompat.enable_gtk() is set.
9851 Add file list and tree demos making use of GenericTreeModel
9854 Auto-expand gtk-demo app tree to give a better overview of
9855 the demos available.
9857 https://bugzilla.gnome.org/show_bug.cgi?id=682933
9859 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 234 ++++++++++++
9860 .../gtk-demo/demos/Tree View/treemodel_filetree.py | 279 ++++++++++++++
9861 demos/gtk-demo/gtk-demo.py | 2 +-
9862 gi/pygtkcompat.py | 2 +-
9863 pygtkcompat/Makefile.am | 1 +
9864 pygtkcompat/generictreemodel.py | 420
9865 +++++++++++++++++++++
9866 pygtkcompat/pygtkcompat.py | 3 +
9867 tests/Makefile.am | 1 +
9868 tests/test_generictreemodel.py | 406
9869 ++++++++++++++++++++
9870 9 files changed, 1346 insertions(+), 2 deletions(-)
9872 commit 871878c7a1e18fbdbf0744e0dd52cbcc6b610cdb
9873 Author: Simon Feltman <sfeltman@src.gnome.org>
9874 Date: Mon Feb 18 02:54:14 2013 -0800
9876 overrides: Add support for iterables besides tuples for TreePath
9879 Allow Gtk.TreePath to accept any iterable for creation of the path.
9881 https://bugzilla.gnome.org/show_bug.cgi?id=682933
9883 gi/overrides/Gtk.py | 2 +-
9884 1 file changed, 1 insertion(+), 1 deletion(-)
9886 commit 93c1536b45f56c20b6d874c41c4cacd2b6cdca0a
9887 Author: Simon Feltman <sfeltman@src.gnome.org>
9888 Date: Fri Feb 15 22:56:29 2013 -0800
9890 Unify Python callable to GClosure GI marshaling code
9892 Add pygi_marshal_from_py_gclosure which can be used for direct
9894 call args and vfunc out args.
9896 https://bugzilla.gnome.org/show_bug.cgi?id=693405
9898 gi/pygi-argument.c | 14 +-----------
9899 gi/pygi-marshal-from-py.c | 55
9900 ++++++++++++++++++++++++++++-------------------
9901 gi/pygi-marshal-from-py.h | 3 +++
9902 3 files changed, 37 insertions(+), 35 deletions(-)
9904 commit 9e47afe459df942d9ffc4f71b39f1443976293df
9905 Author: Simon Feltman <sfeltman@src.gnome.org>
9906 Date: Fri Feb 15 20:56:12 2013 -0800
9908 Unify Python object to GValue GI marshaling code
9910 Add pygi_marshal_from_py_g_value which can be used for direct
9912 call args and vfunc out args. The new method also adds an
9914 parameter that will be used to fix leaks in the future.
9916 https://bugzilla.gnome.org/show_bug.cgi?id=693405
9918 gi/pygi-argument.c | 43 +++++++--------------------
9919 gi/pygi-marshal-from-py.c | 74
9920 ++++++++++++++++++++++++++++++++---------------
9921 gi/pygi-marshal-from-py.h | 5 ++++
9922 3 files changed, 65 insertions(+), 57 deletions(-)
9924 commit 15cd7be5ad80e2411d6c13b04f5e2c33e4f5605e
9925 Author: Simon Feltman <sfeltman@src.gnome.org>
9926 Date: Fri Feb 15 23:07:57 2013 -0800
9928 Rename pygi_marshal_from_py_object to make it more explicit
9930 Rename pygi_marshal_from_py_object to pygi_marshal_from_py_gobject
9931 to make it more explicit and give consistency with future refactoring.
9933 https://bugzilla.gnome.org/show_bug.cgi?id=693405
9935 gi/pygi-argument.c | 2 +-
9936 gi/pygi-marshal-from-py.c | 22 +++++++++++++---------
9937 gi/pygi-marshal-from-py.h | 6 +++---
9938 3 files changed, 17 insertions(+), 13 deletions(-)
9940 commit 84103dfabd05742d1a18729663a609e9bf7c45f8
9941 Author: Niklas Koep <niklas.koep@gmail.com>
9942 Date: Fri Feb 15 21:23:01 2013 -0800
9944 Prefix __module__ attribute of function objects with gi.repository
9946 This allows gi module methods to work with pydoc and help().
9947 Additionally correct typo in two docstrings of the same module.
9949 Co-authored-by: Simon Feltman <sfeltman@src.gnome.org>
9951 https://bugzilla.gnome.org/show_bug.cgi?id=693839
9953 gi/overrides/__init__.py | 3 ++-
9954 gi/types.py | 6 +++---
9955 2 files changed, 5 insertions(+), 4 deletions(-)
9957 commit f6d4d2da676ae63d7a24dd172775b488ce665fe4
9958 Author: Jonathan Ballet <jon@multani.info>
9959 Date: Thu Feb 14 07:50:02 2013 +0100
9961 configure.ac: only enable code coverage when available
9963 When building with an older gnome-common which does not yet provide
9965 coverage support, disable it instead of breaking the configure script.
9967 https://bugzilla.gnome.org/show_bug.cgi?id=693328
9969 configure.ac | 10 +++++++++-
9970 1 file changed, 9 insertions(+), 1 deletion(-)
9972 commit 42cbff60e2032f715d9be6ab280954211899e03c
9973 Author: Jonathan Ballet <jon@multani.info>
9974 Date: Tue Feb 12 23:03:00 2013 +0100
9976 Correctly set properties on object with statically defined properties
9978 Fix failures in GObject.Object.set_properties() when used with
9979 statically defined properties:
9981 * Calling the method was raising a "SystemError: error return without
9982 exception set" since `result` was (most of the time) still NULL at the
9983 end of pygobject_set_properties()
9985 * Calling the method with several properties would only set one of
9986 the properties, since the function was exiting too early.
9988 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
9990 https://bugzilla.gnome.org/show_bug.cgi?id=693618
9992 gi/_gobject/pygobject.c | 19 +++++++++++--------
9993 tests/test_gi.py | 6 ++++++
9994 2 files changed, 17 insertions(+), 8 deletions(-)
9996 commit 2384769810a61d6ed08d8742b7ae976ebfaa8cb5
9997 Author: Martin Pitt <martinpitt@gnome.org>
9998 Date: Mon Feb 11 18:08:37 2013 +0100
10000 autogen.sh: Use gnome-autogen.sh
10002 We depend on gnome-common now anyway, so use gnome-autogen.sh. This
10004 in a much better error message when gnome-common is not installed,
10007 https://bugzilla.gnome.org/show_bug.cgi?id=693328
10009 autogen.sh | 30 +++++++++++++++++-------------
10010 1 file changed, 17 insertions(+), 13 deletions(-)
10012 commit c107bb1f9275a748b494d3f32818f227e07cadf0
10013 Author: Christoph Reiter <christoph.reiter@gmx.at>
10014 Date: Mon Feb 11 10:07:47 2013 +0100
10016 GTK tests: Add and use context manager for realized widgets
10018 https://bugzilla.gnome.org/show_bug.cgi?id=693377
10020 tests/test_overrides_gtk.py | 91
10021 +++++++++++++++++++++++++--------------------
10022 1 file changed, 50 insertions(+), 41 deletions(-)
10024 commit e6670ee26b7682e6213f71deef813ce2e7cd6730
10025 Author: Martin Pitt <martinpitt@gnome.org>
10026 Date: Mon Feb 11 08:55:19 2013 +0100
10028 _pygi_marshal_from_py_array: Fix uninitialized variable
10030 gi/pygi-marshal-from-py.c | 2 +-
10031 1 file changed, 1 insertion(+), 1 deletion(-)
10033 commit a37bfdcb3d9dcc8bcdd8126ad55d80fab4729c62
10034 Author: Christoph Reiter <christoph.reiter@gmx.at>
10035 Date: Mon Feb 11 08:34:42 2013 +0100
10037 Skip some vfunc tests with gi 1.34
10039 https://bugzilla.gnome.org/show_bug.cgi?id=693374
10041 tests/test_object_marshaling.py | 14 ++++++++++++++
10042 1 file changed, 14 insertions(+)
10044 commit aff2ea1b681c3019f7dbdc841c2e33de78dbb88f
10045 Author: Simon Feltman <sfeltman@src.gnome.org>
10046 Date: Sun Feb 10 13:40:45 2013 -0800
10048 Remove workaround for g_struct_info_get_size reporting incorrect size
10050 Remove workaround for g_struct_info_get_size reporting incorrect size
10051 for boxed GValues. Verified this now returns the correct size of 24.
10053 https://bugzilla.gnome.org/show_bug.cgi?id=622711
10055 gi/pygi-boxed.c | 31 +++++++++++++------------------
10056 1 file changed, 13 insertions(+), 18 deletions(-)
10058 commit 5efe2e5c8458d9f4d72329ea1209d96b5ebecfb4
10059 Author: Simon Feltman <sfeltman@src.gnome.org>
10060 Date: Mon Feb 4 20:50:10 2013 -0800
10062 Fix reference leaks with transient floating objects
10064 Unify and refactor caller and callee GObject argument marshalers.
10065 Combine code from the large switch statement used to marshal
10066 arguments to and from vfuncs/closures with the marshalers used
10067 for direct calls to gi functions. This fixes a reference leak
10068 when marshalling GObjects to Python with transfer=full due to
10069 the diverging code paths.
10070 Replace ability in gobject_new_full to optionally sink objects
10071 with ability to optionaly "steal" objects. This fits the premise
10072 that binding layers should always sink objects initially. The
10073 steal argument is then used for marshalling arguments which are
10075 Add hacks and comments to work around GTK+ bugs 693393 and 693400.
10077 https://bugzilla.gnome.org/show_bug.cgi?id=687522
10079 gi/_gobject/gobjectmodule.c | 10 +++++--
10080 gi/_gobject/pygobject-private.h | 2 +-
10081 gi/_gobject/pygobject.c | 45 ++++++++++++++++++++----------
10082 gi/_gobject/pygobject.h | 8 ++++--
10083 gi/pygi-argument.c | 52 +++++++++++++++++------------------
10084 gi/pygi-marshal-from-py.c | 61
10085 +++++++++++++++++++++++++++++++++++++----
10086 gi/pygi-marshal-from-py.h | 6 ++++
10087 gi/pygi-marshal-to-py.c | 45 +++++++++++++++---------------
10088 gi/pygi-marshal-to-py.h | 5 ++++
10089 tests/test_object_marshaling.py | 44 ++++++++++++++---------------
10090 10 files changed, 181 insertions(+), 97 deletions(-)
10092 commit bd54b8ab30fc957849e7f57e9ee4c4b41aa37013
10093 Author: Simon Feltman <sfeltman@src.gnome.org>
10094 Date: Wed Feb 6 12:56:44 2013 -0800
10096 tests: Fix spelling mistakes in new vfunc object marshalling tests
10098 tests/test_object_marshaling.py | 12 ++++++------
10099 1 file changed, 6 insertions(+), 6 deletions(-)
10101 commit cd96fd8b8e10add9890f36ec237bb78548de7002
10102 Author: Martin Pitt <martinpitt@gnome.org>
10103 Date: Tue Feb 5 07:53:38 2013 +0100
10105 configure.ac: post-release bump to 3.7.6
10107 configure.ac | 2 +-
10108 1 file changed, 1 insertion(+), 1 deletion(-)
10110 commit 92b1404e61f46348168f32720eff4a482531e5e3
10111 Author: Martin Pitt <martinpitt@gnome.org>
10112 Date: Tue Feb 5 07:46:46 2013 +0100
10117 configure.ac | 2 +-
10118 2 files changed, 4 insertions(+), 1 deletion(-)
10120 commit a3a30559240077194f23c4651d6f382fa59b7d63
10121 Author: Simon Feltman <sfeltman@src.gnome.org>
10122 Date: Mon Feb 4 15:16:37 2013 -0800
10124 Fix API break with pygobject.h
10126 Move pygobject_new_full after everything in the public API table.
10127 This fixes a break that went in along with bug 675726.
10129 https://bugzilla.gnome.org/show_bug.cgi?id=675726
10131 gi/_gobject/gobjectmodule.c | 5 +++--
10132 gi/_gobject/pygobject.h | 2 +-
10133 2 files changed, 4 insertions(+), 3 deletions(-)
10135 commit b3ca7e27494c35620995840d777037a097082661
10136 Author: Martin Pitt <martinpitt@gnome.org>
10137 Date: Mon Feb 4 19:53:26 2013 +0100
10139 configure.ac: post-release bump to 3.7.6
10141 configure.ac | 2 +-
10142 1 file changed, 1 insertion(+), 1 deletion(-)
10144 commit 77f638411314218748f349b337a36e2864eed1f4
10145 Author: Martin Pitt <martinpitt@gnome.org>
10146 Date: Mon Feb 4 19:37:14 2013 +0100
10150 NEWS | 24 ++++++++++++++++++++++++
10151 1 file changed, 24 insertions(+)
10153 commit 50da4fca1435f8c27072e15875227c5e7fb9b7e4
10154 Author: Simon Feltman <sfeltman@src.gnome.org>
10155 Date: Sun Feb 3 23:56:14 2013 -0800
10157 Fix pointer cast warning that was missed in bug 675726
10159 https://bugzilla.gnome.org/show_bug.cgi?id=675726
10161 gi/_gobject/pygobject.h | 2 +-
10162 1 file changed, 1 insertion(+), 1 deletion(-)
10164 commit b31d8a952cd57dc92b06a381e054199660a2d570
10165 Author: Simon Feltman <sfeltman@src.gnome.org>
10166 Date: Thu Jan 31 02:35:36 2013 -0800
10168 Move various signal methods from static bindings to gi and python
10170 Move disconnect, handler_is_connected, handler_block, handler_unblock,
10171 and stop_emission from static to gi python overrides.
10173 https://bugzilla.gnome.org/show_bug.cgi?id=692918
10175 gi/_gobject/pygobject.c | 90
10176 -------------------------------------------------
10177 gi/overrides/GObject.py | 44 +++++++++++++++++-------
10178 tests/test_signal.py | 19 ++++++-----
10179 3 files changed, 42 insertions(+), 111 deletions(-)
10181 commit 3a6a4a7a21a0f5e851518b7912d8ff455aa3ede4
10182 Author: Paolo Borelli <pborelli@gnome.org>
10183 Date: Fri Feb 1 21:09:26 2013 +0100
10185 GLib overrides: Support unpacking 'maybe' variants
10187 Automatically unpack 'maybe' variants to None or to their actual value
10188 as we do for other kind of variants
10190 https://bugzilla.gnome.org/show_bug.cgi?id=693032
10192 gi/overrides/GLib.py | 5 +++++
10193 tests/test_overrides_glib.py | 8 ++++++++
10194 2 files changed, 13 insertions(+)
10196 commit 9bc3e6807f6c14fb0e132a90ff8f9984229896f6
10197 Author: Mike Gorse <mgorse@suse.com>
10198 Date: Mon Jan 21 16:45:52 2013 -0600
10200 Fix ref count leak when creating pygobject wrappers for input args
10202 Only sink input references for closures and vfuncs when transfer is
10203 everything. This fixes cases where incoming floating references for
10204 callbacks need to maintain their floating state throughout the
10205 callback so they don't leak a strong reference. Re-introduce a
10206 working "sink" argument to pygobject_new_full which allows for this.
10207 Change existing callers to always sink in order maintain behavior.
10209 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
10211 https://bugzilla.gnome.org/show_bug.cgi?id=675726
10213 gi/_gobject/gobjectmodule.c | 5 +--
10214 gi/_gobject/pygobject.c | 7 ++--
10215 gi/_gobject/pygobject.h | 2 ++
10216 gi/pygi-argument.c | 13 +++----
10217 tests/test_object_marshaling.py | 76
10218 +++++++++++++++++++++++++++++++++++++----
10219 5 files changed, 85 insertions(+), 18 deletions(-)
10221 commit a53a9176a3f87cfb26f3ad98ea746ada0f1a39fa
10222 Author: Simon Feltman <sfeltman@src.gnome.org>
10223 Date: Thu Jan 31 01:50:44 2013 -0800
10225 Add tests for signal stop_emission, disconnect, and
10226 handler_is_connected
10228 Add tests for methods which will be moving from static bindings to gi
10229 by using the new __gpointer__ attribute of GObject.
10231 https://bugzilla.gnome.org/show_bug.cgi?id=692918
10233 tests/test_signal.py | 51
10234 ++++++++++++++++++++++++++++++++++++++++++++++++++-
10235 1 file changed, 50 insertions(+), 1 deletion(-)
10237 commit df18f9cc3828d1bcf6b6cdf26af786fd9f36d77e
10238 Author: Simon Feltman <sfeltman@src.gnome.org>
10239 Date: Wed Jan 30 21:37:07 2013 -0800
10241 Add __gpointer__ property to GObject static binding
10243 Add access to the underlying C GObject pointer by wrapping it in a
10244 PyCapsule/PyCPointer and exposing it as __gpointer__.
10245 Add special case marshaling for gi parameters annotated as gpointer
10246 to accept a PyCapsule and extract the underlying pointer as the arg.
10247 This allows usage of methods like GObject.signal_handler_disconnect
10248 which we can start replacing the static bindings with.
10250 https://bugzilla.gnome.org/show_bug.cgi?id=692918
10252 gi/_gobject/pygobject.c | 11 +++++++++--
10253 gi/pygi-marshal-from-py.c | 6 +++++-
10254 2 files changed, 14 insertions(+), 3 deletions(-)
10256 commit 571e0cb246baa4ef7db179b20da6b325f358fe5b
10257 Author: Simon Feltman <sfeltman@src.gnome.org>
10258 Date: Sun Jan 27 01:22:37 2013 -0800
10260 Prefix names of typeless enums and flags for GType registration
10262 Prefix names given to g_flags_register_static and
10263 g_enum_register_static
10264 with "Py". This avoids conflicts with GTypes of the same name being
10265 registered later by a library which does not provide a "get-type"
10268 https://bugzilla.gnome.org/show_bug.cgi?id=692515
10270 gi/gimodule.c | 10 ++++++++--
10271 tests/test_gi.py | 4 ++--
10272 2 files changed, 10 insertions(+), 4 deletions(-)
10274 commit 97f48f5dcabc8dad4480727a78416b1c2a220777
10275 Author: Simon Feltman <sfeltman@src.gnome.org>
10276 Date: Wed Jan 30 04:35:32 2013 -0800
10278 Add tests for vfunc object arguments and returns
10280 Add tests which use different combinations of floating, transfer full,
10281 transfer none, and held wrapper as in, out, or return arguments
10283 Most of these are marked as skip or expectedFailure due to various
10285 noted on the tests.
10287 https://bugzilla.gnome.org/show_bug.cgi?id=687522
10289 gi/overrides/GObject.py | 15 +-
10290 tests/test_object_marshaling.py | 540
10291 ++++++++++++++++++++++++++++++++++++++++
10292 2 files changed, 550 insertions(+), 5 deletions(-)
10294 commit 73a83186329ede7702501d5bc49df269482461e4
10295 Author: Paolo Borelli <pborelli@gnome.org>
10296 Date: Wed Jan 30 17:48:12 2013 +0100
10298 Cosmetic fix to last patch
10300 gi/pygi-argument.c | 7 +++++--
10301 1 file changed, 5 insertions(+), 2 deletions(-)
10303 commit 9e0c41509d62e8df7d0d82608a8be75f3defe05c
10304 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
10305 Date: Fri Jan 25 13:05:18 2013 +0800
10307 gi/pygi-info.c, gi/pygi-repository.c: Deal with C99isms
10309 Drop the array forward static declarations. They are not necessary
10313 Also move declarations of variables to the top of their respective
10316 https://bugzilla.gnome.org/show_bug.cgi?id=692856
10318 gi/pygi-info.c | 18 ++++++++++--------
10319 gi/pygi-repository.c | 2 --
10320 2 files changed, 10 insertions(+), 10 deletions(-)
10322 commit 2e7c458ef6377a872043634b47737ef12eed744a
10323 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
10324 Date: Fri Jan 25 13:00:48 2013 +0800
10326 Move variable declaration to top of blocks (C99ism)
10328 Move variable declarations to the top of their respective blocks,
10330 code will build under C89 compilers such as Visual C++.
10332 https://bugzilla.gnome.org/show_bug.cgi?id=692856
10334 gi/pygi-argument.c | 10 ++++++----
10335 gi/pygi-closure.c | 23 +++++++++++++++--------
10336 gi/pygi-invoke.c | 3 ++-
10337 gi/pygi-marshal-cleanup.c | 3 ++-
10338 gi/pygi-property.c | 3 ++-
10339 5 files changed, 27 insertions(+), 15 deletions(-)
10341 commit 20fc5aa7514215fc7807adceb603d17f7943304a
10342 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
10343 Date: Fri Jan 25 12:58:26 2013 +0800
10345 gi/pygobject-external.h: Remove GCCism
10347 We can use G_GNUC_UNUSED from GLib that does the same purpose of
10348 __attribute__ ( (unused)) when we are using a GCC that provides this.
10350 The GLib headers that defines that macro should have already been
10352 before this header is included (due to use of gboolean).
10354 https://bugzilla.gnome.org/show_bug.cgi?id=692856
10356 gi/pygobject-external.h | 2 +-
10357 1 file changed, 1 insertion(+), 1 deletion(-)
10359 commit 5d2f453f3fdb167a4b4a833011ae777bfd228eb9
10360 Author: Martin Pitt <martinpitt@gnome.org>
10361 Date: Wed Jan 30 14:59:11 2013 +0100
10363 tests: Update test_double() after e65c1248
10365 Commit e65c1248 introduced support for NaN and ±inf as valid
10367 rendering the "expect ValueError on 2*double" check broken. Just
10370 tests/test_everything.py | 1 -
10371 1 file changed, 1 deletion(-)
10373 commit b8bf4ec6c2478275dc9c813946a90b82ded6d9ce
10374 Author: Martin Pitt <martinpitt@gnome.org>
10375 Date: Wed Jan 23 07:14:16 2013 +0100
10377 Do not immediately initialize Gdk and Gtk on import
10379 Raising an exception if Gdk/Gtk cannot be imported makes it
10381 merely import a module for e. g. nosetests without actually running
10384 Programs who want to provide a proper error message should check
10385 Gtk.initialized explicitly after importing. Check initialized
10387 Window.__init__() instead to provide a reasonably early error message
10391 https://bugzilla.gnome.org/show_bug.cgi?id=692300
10393 gi/overrides/Gdk.py | 2 --
10394 gi/overrides/Gtk.py | 5 +++--
10395 2 files changed, 3 insertions(+), 4 deletions(-)
10397 commit 93d5cc2986cb3d3d979694b1beb1719d2d8fed53
10398 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
10399 Date: Fri Jan 25 12:49:18 2013 +0800
10401 gi/overrides/Glib.py: Fix running on Windows/non-Unix
10403 The definition of self._signal_source uses a Unix-specific GLib
10405 does not exist or have a direct equivilant on Windows.
10407 Only define and use that variable when we aren't on Windows.
10409 gi/overrides/GLib.py | 18 ++++++++++--------
10410 1 file changed, 10 insertions(+), 8 deletions(-)
10412 commit e65c124893ceaa9c97eb4c8c743fbeb756b9a6e6
10413 Author: Martin Pitt <martinpitt@gnome.org>
10414 Date: Wed Jan 23 14:56:02 2013 +0100
10416 Accept ±inf and NaN as float and double values
10418 Also fix the broken error message when a float value is out of range.
10419 PyErr_Format() does not support float macros.
10421 https://bugzilla.gnome.org/show_bug.cgi?id=692381
10423 gi/pygi-marshal-from-py.c | 37 +++++++++++++++++++------------------
10424 tests/test_gobject.py | 14 ++++++++++++++
10425 2 files changed, 33 insertions(+), 18 deletions(-)
10427 commit a52245381fab3c2aebd330cc9c5e717a93c9607d
10428 Author: Martin Pitt <martinpitt@gnome.org>
10429 Date: Wed Jan 23 14:28:42 2013 +0100
10431 Fix repr() of GLib.Variant
10433 When using a standard constructor like GLib.Variant.new_*(), the
10435 not have a format_string property, and previously repr() would
10437 to get_type_string() instead.
10439 Also drop the unintended type annotations in repr().
10441 gi/overrides/GLib.py | 6 +++++-
10442 tests/test_overrides_glib.py | 15 ++++++++++++++-
10443 2 files changed, 19 insertions(+), 2 deletions(-)
10445 commit 2270cf15012005362dc47456213c5d9e7f6ed28a
10446 Author: Martin Pitt <martinpitt@gnome.org>
10447 Date: Wed Jan 23 14:14:29 2013 +0100
10449 Fix gtk-demo for Python 3
10451 It was crashing with
10453 package = __import__(packagename, globals(), locals(),
10455 ValueError: level must be >= 0
10457 Using level zero works with both Python 2 and 3.
10459 demos/gtk-demo/gtk-demo.py | 2 +-
10460 1 file changed, 1 insertion(+), 1 deletion(-)
10462 commit b24d07577da1e17c8e27f758fc1a23d7f2d0f668
10463 Author: Colin Walters <walters@verbum.org>
10464 Date: Tue Jan 22 10:49:57 2013 -0500
10466 build: Add autogen.sh to EXTRA_DIST
10468 So downstreams that patch the autotools can use it.
10471 1 file changed, 1 insertion(+)
10473 commit ed7fb99efa81854d947ae548d41a03f5275c5884
10474 Author: Martin Pitt <martinpitt@gnome.org>
10475 Date: Thu Jan 17 08:23:02 2013 +0100
10477 Define GObject.TYPE_VALUE gtype constant
10479 gi/overrides/GObject.py | 4 +++-
10480 tests/test_gobject.py | 4 ++++
10481 2 files changed, 7 insertions(+), 1 deletion(-)
10483 commit fd32acdd97f49f086a8ad5cf2b65862c4e6ccc44
10484 Author: Olivier Crête <olivier.crete@collabora.com>
10485 Date: Mon Sep 17 15:37:04 2012 -0400
10487 gobject: Go through introspection on property setting
10489 Consider introspected properties in object.set_property().
10491 https://bugzilla.gnome.org/show_bug.cgi?id=684062
10493 gi/_gobject/pygobject.c | 18 +++++++++++++++++-
10494 tests/test_properties.py | 13 ++++++++++---
10495 2 files changed, 27 insertions(+), 4 deletions(-)
10497 commit 9a2060f26c2cc2f9ef79ab6fb9f512c317004856
10498 Author: Mike Gorse <mgorse@suse.com>
10499 Date: Tue Jan 15 20:04:46 2013 -0600
10501 Clean up caller-allocated GValues and their memory
10503 When space for a GValue is allocated by the caller (as in
10504 gtk_tree_model_get_value), we need to free the space allocated for the
10505 value along with its contents. The GValue is not needed after
10506 Pyg_value_as_pyobject is called, so call _cleanup_caller_allocates and
10507 have it unset the value and deallocate the memory.
10509 https://bugzilla.gnome.org/show_bug.cgi?id=691820
10511 gi/pygi-marshal-cleanup.c | 20 ++++++++++++++++++--
10512 1 file changed, 18 insertions(+), 2 deletions(-)
10514 commit 45b7975d0a3d78f01f1112ae7b3f4208f15694d8
10515 Author: Dmitry Shachnev <mitya57@ubuntu.com>
10516 Date: Wed Jan 16 13:44:42 2013 +0400
10518 tests: define correct unittest.skipIf for python 2.6
10520 tests/runtests.py | 2 +-
10521 1 file changed, 1 insertion(+), 1 deletion(-)
10523 commit 4706cd686ea1b25260c9ecc77abd324d6e4cf505
10524 Author: Martin Pitt <martinpitt@gnome.org>
10525 Date: Wed Jan 16 09:17:13 2013 +0100
10527 tests: More robust tree view realization
10529 With current GNOME git head, the Gtk.TreeViews were not realized
10531 more to receive property values. Put them into a Gtk.Dialog now and
10533 ensure that they are realized.
10535 tests/test_overrides_gtk.py | 16 ++++++++++------
10536 1 file changed, 10 insertions(+), 6 deletions(-)
10538 commit 90c6f596df2a96f9c8059ae9157bc467a80b7574
10539 Author: Martin Pitt <martinpitt@gnome.org>
10540 Date: Tue Jan 15 10:42:49 2013 +0100
10542 Drop deprecated g_thread_create()
10544 Replace with g_thread_new(). This is available with glib >= 2.32,
10546 already require >= 2.34.
10548 tests/test-thread.c | 3 +--
10549 1 file changed, 1 insertion(+), 2 deletions(-)
10551 commit 98504273dead9eade6e53c2297bcaec7bea6265a
10552 Author: Martin Pitt <martinpitt@gnome.org>
10553 Date: Tue Jan 15 10:37:52 2013 +0100
10555 Drop usage of deprecated GStaticPrivate
10557 Replace with GPrivate.
10559 gi/_gobject/gobjectmodule.c | 6 +++---
10560 1 file changed, 3 insertions(+), 3 deletions(-)
10562 commit 655e2eece14f5de3baf4505f524d17484b8b5a75
10563 Author: Martin Pitt <martinpitt@gnome.org>
10564 Date: Tue Jan 15 10:29:47 2013 +0100
10566 Don't call g_type_init() with glib >= 2.35.x
10568 This fixes a deprecation warning.
10570 gi/_gobject/gobjectmodule.c | 2 ++
10571 1 file changed, 2 insertions(+)
10573 commit 206e736380ba798c68de09f661d75c8e27451117
10574 Author: Martin Pitt <martinpitt@gnome.org>
10575 Date: Tue Jan 15 09:47:11 2013 +0100
10577 Use GNOME_COMPILE_WARNINGS from gnome-common
10579 As we are now using gnome-common anyway for the code coverage macro,
10581 GNOME_COMPILE_WARNINGS, and only manually specify the extra options
10585 This also enables -Wstrict-prototypes.
10587 configure.ac | 14 ++++----------
10588 1 file changed, 4 insertions(+), 10 deletions(-)
10590 commit 137679426ff39507e15f08e9e6428d851fee06b7
10591 Author: Martin Pitt <martinpitt@gnome.org>
10592 Date: Tue Jan 15 09:46:01 2013 +0100
10594 Fix function prototypes and static functions
10596 These cause errors/warnings with -Wstrict-prototypes.
10598 gi/_glib/pyglib-python-compat.h | 2 ++
10599 gi/pygi-foreign.c | 2 +-
10600 gi/pygi-marshal-from-py.c | 4 ++--
10601 gi/pygi-marshal-to-py.c | 4 ++--
10602 gi/pygi-source.c | 2 +-
10603 gi/pygi-source.h | 2 +-
10604 6 files changed, 9 insertions(+), 7 deletions(-)
10606 commit d47927f1701a11aec8566425f22688c5df73d7f2
10607 Author: Martin Pitt <martinpitt@gnome.org>
10608 Date: Mon Jan 14 17:38:23 2013 +0100
10610 configure.ac: post-release bump to 3.7.5
10612 configure.ac | 2 +-
10613 1 file changed, 1 insertion(+), 1 deletion(-)
10615 commit bd6da84a4aec74e47f5d70e8ed18695c37e746c6
10616 Author: Martin Pitt <martinpitt@gnome.org>
10617 Date: Mon Jan 14 17:30:48 2013 +0100
10621 NEWS | 38 ++++++++++++++++++++++++++++++++++++++
10622 1 file changed, 38 insertions(+)
10624 commit c90ef9dfac7dd51ec82c99c3605915996bea0f73
10625 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
10626 Date: Tue Dec 4 15:45:00 2012 +0200
10628 Allow setting values through GtkTreeModelFilter
10630 Previously, trying to set a value through filter throwed an exception
10632 model has no set_value() method. You had to first retrieve the
10634 model and set value to it.
10636 https://bugzilla.gnome.org/show_bug.cgi?id=689624
10638 gi/overrides/Gtk.py | 5 +++++
10639 tests/test_overrides_gtk.py | 11 +++++++++++
10640 2 files changed, 16 insertions(+)
10642 commit b092630efc691a6f7ae94ae896193254f5a961a6
10643 Author: Martin Pitt <martinpitt@gnome.org>
10644 Date: Mon Jan 14 12:37:18 2013 +0100
10646 tests: Add (failing) test case for GParamSpec arguments
10649 https://bugzilla.gnome.org/show_bug.cgi?id=682355
10651 tests/test_gi.py | 9 +++++++++
10652 1 file changed, 9 insertions(+)
10654 commit 52d84b5da7f9fd4f65faea4e6fe3d250f937a208
10655 Author: Martin Pitt <martinpitt@gnome.org>
10656 Date: Mon Jan 14 12:20:27 2013 +0100
10658 tests: Skip struct string member tests with g-i 1.34
10660 We still support building against gobject-introspection 1.34, so
10662 which do not work with that version yet.
10664 tests/test_gi.py | 8 ++++++++
10665 1 file changed, 8 insertions(+)
10667 commit f9429192cb1002725a11a75a7b8f9300375b9caf
10668 Author: Martin Pitt <martinpitt@gnome.org>
10669 Date: Mon Jan 14 12:15:27 2013 +0100
10671 Support GParamSpec signal arguments from Python
10673 In pyg_value_from_pyobject(), recognize both the real GI
10674 GObject.ParamSpec type
10675 as well as the statically wrapped _gobject.GParamSpec type.
10677 This fixes marshalling GObject.ParamSpec signal/vfunc arguments.
10679 https://bugzilla.gnome.org/show_bug.cgi?id=683099
10681 gi/_gobject/pygtype.c | 6 +++++-
10682 tests/test_signal.py | 12 ++++++++++++
10683 tests/testhelpermodule.c | 13 +++++++++++++
10684 3 files changed, 30 insertions(+), 1 deletion(-)
10686 commit 99f72925c7de76611f7592bce9d8217a9ff46809
10687 Author: Martin Pitt <martinpitt@gnome.org>
10688 Date: Mon Jan 14 11:48:11 2013 +0100
10690 pygobject_emit(): Fix cleanup on error
10692 Dot not try to unset GValues which have not been initialized yet,
10694 conversion fails for a parameter.
10696 gi/_gobject/pygobject.c | 8 ++++----
10697 1 file changed, 4 insertions(+), 4 deletions(-)
10699 commit acef1d3266d11b2465d61185a55526df879a5c62
10700 Author: Simon Feltman <sfeltman@src.gnome.org>
10701 Date: Mon Dec 31 19:01:57 2012 -0800
10703 Add signal emission methods to TreeModel which coerce the path
10706 Override TreeModel row_changed, row_inserted, row_has_child_toggled,
10707 row_deleted, and rows_reordered methods to accept python iterables as
10708 the path parameter. This is for compatibility with pygtk and
10710 with the rest of the TreeModel and TreePath overrides.
10712 https://bugzilla.gnome.org/show_bug.cgi?id=682933
10714 gi/overrides/Gtk.py | 31 ++++++++++++++++++++++++++++---
10715 tests/test_overrides_gtk.py | 27 +++++++++++++++++++++++++++
10716 2 files changed, 55 insertions(+), 3 deletions(-)
10718 commit 9cfba517e1a6dced5e66786b28ed5e101b7b4a29
10719 Author: Martin Pitt <martinpitt@gnome.org>
10720 Date: Mon Jan 14 10:36:36 2013 +0100
10722 Simplify overrides and tests using the new GObject.Value override
10724 The previous commit added support for constructing a GObject.Value
10726 GType and Python object conversion. Use this to simplify the Gtk
10728 the tests that construct GValues.
10730 See https://bugzilla.gnome.org/show_bug.cgi?id=677473
10732 gi/overrides/Gtk.py | 88
10733 +++------------------------------------------
10734 tests/test_gi.py | 26 +++++---------
10735 tests/test_overrides_gtk.py | 2 +-
10736 tests/test_signal.py | 12 ++-----
10737 4 files changed, 17 insertions(+), 111 deletions(-)
10739 commit f62b98398177991bfdbe0b6753342e79e6cf170a
10740 Author: Bastian Winkler <buz@netbuz.org>
10741 Date: Mon Jan 14 10:26:08 2013 +0100
10743 Add override for GValue
10745 Override GValue with a custom constructor and set_value()/get_value()
10746 methods. This allows you to call
10748 >>> GObject.Value(GObject.TYPE_FLOAT, 42.23)
10752 >>> value = GObject.Value()
10753 >>> value.init(GObject.TYPE_FLOAT)
10754 >>> value.set_float(42.23)
10756 This is especially useful for overrides that need to convert a Python
10757 value to a expected type like G_TYPE_FLOAT.
10759 https://bugzilla.gnome.org/show_bug.cgi?id=677473
10761 gi/overrides/GObject.py | 127
10762 +++++++++++++++++++++++++++++++++++++++++++++++-
10763 tests/test_gobject.py | 47 +++++++++++++++++-
10764 2 files changed, 172 insertions(+), 2 deletions(-)
10766 commit dc3d21173b75232f7ea0b9913f7309486456a69d
10767 Author: Mike Gorse <mgorse@suse.com>
10768 Date: Thu Jan 10 15:48:30 2013 -0600
10770 Mark caller-allocated boxed structures as having a slice allocated
10772 When a C function takes a pointer and fills it with a boxed structure
10774 gtk_tree_store_insert_with_values), pygi should deallocate the slice
10776 box is no longer being used.
10778 https://bugzilla.gnome.org/show_bug.cgi?id=699501
10780 gi/pygi-marshal-to-py.c | 4 +++-
10781 1 file changed, 3 insertions(+), 1 deletion(-)
10783 commit 0c496d230fee7fd3ada90ee9af10e0bc1e29ee12
10784 Author: Olivier Crête <olivier.crete@collabora.com>
10785 Date: Fri Sep 14 21:31:32 2012 -0400
10787 pygi-property: Support boxed GSList/GList types
10789 Note that this does not yet work for construct properties.
10791 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
10793 https://bugzilla.gnome.org/show_bug.cgi?id=684059
10795 gi/pygi-property.c | 10 ++++++++--
10796 tests/test_gi.py | 21 +++++++++++++++++++++
10797 2 files changed, 29 insertions(+), 2 deletions(-)
10799 commit 074f10d815453e58f4bee2f440c5db799add3876
10800 Author: Martin Pitt <martinpitt@gnome.org>
10801 Date: Mon Jan 14 07:48:31 2013 +0100
10803 test_gio: Fix for Python 2
10805 Python 2 does not yet take an "encoding" argument for str(), while
10807 requires it. Use a less fancy static test string instead.
10809 tests/test_gio.py | 2 +-
10810 1 file changed, 1 insertion(+), 1 deletion(-)
10812 commit 734979d0c8317201148a7e94a323225fba2d1635
10813 Author: Martin Pitt <martinpitt@gnome.org>
10814 Date: Mon Jan 14 07:40:10 2013 +0100
10816 tests: Add missing backwards compat methods for Python 2.6
10818 Define skipIf(), assertLess(), and assertLessEqual() for running
10822 https://bugzilla.gnome.org/show_bug.cgi?id=691646
10824 tests/runtests.py | 17 +++++++++++++++++
10825 1 file changed, 17 insertions(+)
10827 commit dc0dafd1f6ca3ebbf04210768a45587387e44551
10828 Author: Martin Pitt <martinpitt@gnome.org>
10829 Date: Mon Jan 14 07:34:46 2013 +0100
10831 tests: Stop using assertSequenceEqual()
10833 assertSequenceEqual() does not yet exist in Python 2.6, and is
10835 either as assertEqual() on sequences automatically does list
10838 Part of https://bugzilla.gnome.org/show_bug.cgi?id=691646
10840 tests/test_gtype.py | 6 ++----
10841 tests/test_signal.py | 6 ++----
10842 2 files changed, 4 insertions(+), 8 deletions(-)
10844 commit 0a5587b6a56d417a6703e342f153596f08cd5889
10845 Author: Simon Feltman <sfeltman@src.gnome.org>
10846 Date: Sun Jan 13 18:19:51 2013 -0800
10848 Allow setting TreeModel values to None
10850 Change TreeModel.set_value to use an empty but initialized GValue when
10851 None is used as the value argument. This allows clearing of cell data
10852 which was not accessible due to auto-coercion.
10854 https://bugzilla.gnome.org/show_bug.cgi?id=684094
10856 gi/overrides/Gtk.py | 11 ++++++++---
10857 tests/test_overrides_gtk.py | 8 ++++++++
10858 2 files changed, 16 insertions(+), 3 deletions(-)
10860 commit 5ae129da436793478750f0dc9427a174a980e10b
10861 Author: Mike Gorse <mgorse@suse.com>
10862 Date: Thu Jan 10 16:42:17 2013 -0600
10864 Set clean-up handler for marshalled arrays
10866 Arrays did not have a cleanup handler set in some cases, resulting
10869 https://bugzilla.gnome.org/show_bug.cgi?id=691509
10871 gi/pygi-cache.c | 1 +
10872 1 file changed, 1 insertion(+)
10874 commit 58bd307c57d542a8f69867dea2d0a0eb51230c7b
10875 Author: Vadim Rutkovsky <vrutkovs@redhat.com>
10876 Date: Fri Jan 11 15:41:27 2013 +0100
10878 Support setting string fields in structs
10880 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
10882 https://bugzilla.gnome.org/show_bug.cgi?id=678401
10884 gi/pygi-info.c | 3 ++-
10885 tests/test_gi.py | 16 ++++++++++++++++
10886 2 files changed, 18 insertions(+), 1 deletion(-)
10888 commit f2bcaa43c1158040a8c2cbc3a2ba5070d126a410
10889 Author: Martin Pitt <martinpitt@gnome.org>
10890 Date: Fri Jan 11 14:58:44 2013 +0100
10892 Re-enable test_gi.TestPropertiesObject.test_char test
10894 The gobject-introspection bug got fixed:
10895 https://bugzilla.gnome.org/show_bug.cgi?id=691524
10897 tests/test_gi.py | 14 +++-----------
10898 1 file changed, 3 insertions(+), 11 deletions(-)
10900 commit 9a8c49087cf400e01c1f78241fa4d74b4d15f54e
10901 Author: Martin Pitt <martinpitt@gnome.org>
10902 Date: Fri Jan 11 09:46:56 2013 +0100
10904 tests: Re-enable test_callback_scope_call_array() check
10906 Drop the expected failure from test_callback_scope_call_array()
10908 the explicit array length arguments. While it would look cleaner to
10910 them, it is probably not worth breaking the API for this.
10912 tests/test_everything.py | 9 +++------
10913 1 file changed, 3 insertions(+), 6 deletions(-)
10915 commit 609636424b5f9b659e99a4bb53a48c165187c430
10916 Author: Martin Pitt <martinpitt@gnome.org>
10917 Date: Fri Jan 11 09:13:36 2013 +0100
10919 Permit plain integers for "gchar" values
10921 Similar to guchar/guint8, allow plain integers (withing correct
10923 values for gchar/gint8 types.
10925 This is covered by the test_gi.TestPropertiesObject.test_char
10927 removing the "expected failure" flag.
10929 gi/_gobject/pygtype.c | 16 ++++++++++++----
10930 1 file changed, 12 insertions(+), 4 deletions(-)
10932 commit a558d3d3a9274aeccfc54705bf5effdf71dee06b
10933 Author: Martin Pitt <martinpitt@gnome.org>
10934 Date: Fri Jan 11 09:09:41 2013 +0100
10936 Allow single byte values for int8 types
10938 When fixing gobject-introspection to consider "gchar" as signed (see
10939 https://bugzilla.gnome.org/show_bug.cgi?id=691524), we must also
10941 single-element "bytes" array as a valid value for int8, not just
10944 This is caught by the test_overrides_gtk.TestTreeModel.test_tree_store
10947 gi/pygi-argument.c | 4 ++--
10948 gi/pygi-marshal-from-py.c | 34 +++++++++++++++++++++-------------
10949 2 files changed, 23 insertions(+), 15 deletions(-)
10951 commit aa7f6cd12fe403acb2cffc7890724af7abb9b990
10952 Author: Mike Gorse <mgorse@suse.com>
10953 Date: Thu Jan 10 14:11:56 2013 -0600
10955 Fix invalid memory access handling errors when registering an
10958 Don't free the name until we are done with it.
10960 gi/gimodule.c | 8 ++++----
10961 1 file changed, 4 insertions(+), 4 deletions(-)
10963 commit ecd235959317d39b6d598662c00829e0ec717b17
10964 Author: Martin Pitt <martinpitt@gnome.org>
10965 Date: Thu Jan 10 16:42:46 2013 +0100
10967 Fix (out) arguments in callbacks
10969 Do not ignore the first argument in _pygi_closure_set_out_arguments().
10970 Presumably that has been done to skip over "self", but callbacks
10972 required to have a self argument. As self is never (out), we can
10976 gi/pygi-closure.c | 2 +-
10977 tests/test_gi.py | 4 ----
10978 2 files changed, 1 insertion(+), 5 deletions(-)
10980 commit d8e241e24a816691acbd592775b73defd9aa4f44
10981 Author: Martin Pitt <martinpitt@gnome.org>
10982 Date: Thu Jan 10 15:14:05 2013 +0100
10984 Fix C to Python marshalling of struct pointer arrays
10986 Do not treat an array of pointers to values like an array of values on
10987 marshalling from C. This makes the test_array_boxed_struct_return()
10991 gi/pygi-marshal-to-py.c | 5 +++--
10992 tests/test_gi.py | 2 --
10993 2 files changed, 3 insertions(+), 4 deletions(-)
10995 commit 60544b02f6f98c0b212625ae83b94a4c6debddeb
10996 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
10997 Date: Tue Jan 8 23:22:54 2013 +0200
10999 Add tests for GFile
11001 Most notably this commit contains a test for
11002 Gio.File.replace_contents_async(),
11003 which currently fails. Disable the tests for now as it breaks the
11006 https://bugzilla.gnome.org/show_bug.cgi?id=690525
11008 tests/test_gio.py | 64
11009 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
11010 1 file changed, 64 insertions(+)
11012 commit 118c5eaad045580455515876ba73b9537a8468b4
11013 Author: Martin Pitt <martinpitt@gnome.org>
11014 Date: Thu Jan 10 13:56:11 2013 +0100
11016 Rename test_overrides_gio.py to test_gio.py
11018 As we want to add more tests for non-overridden API.
11020 tests/Makefile.am | 2 +-
11021 tests/{test_overrides_gio.py => test_gio.py} | 0
11022 2 files changed, 1 insertion(+), 1 deletion(-)
11024 commit 8117e6bce73581e89211371708ff7d5de7d870d4
11025 Author: Martin Pitt <martinpitt@gnome.org>
11026 Date: Thu Jan 10 12:13:16 2013 +0100
11028 Don't let Property.setter() method names define property names
11030 Defining property names in install_properties() is too late when using
11031 @propname.setter decorators; their method names don't define a
11033 nor are they even required to be a valid property identifier.
11035 So change the logic to already fix the property name when using
11037 decorator and use that instead of the member name in
11038 install_properties().
11040 https://bugzilla.gnome.org/show_bug.cgi?id=688971
11042 gi/_gobject/propertyhelper.py | 29 ++++++++++++++++++++++-------
11043 tests/test_properties.py | 18 ++++++++++++++++++
11044 2 files changed, 40 insertions(+), 7 deletions(-)
11046 commit c0bd060521cc1b481995648dbe286b7e2f9ecd80
11047 Author: Martin Pitt <martinpitt@gnome.org>
11048 Date: Wed Jan 9 10:39:36 2013 +0100
11050 tests: Force UTF-8 file name encoding
11052 The test_gi.TestFilename tests fail if the environment specifies
11054 file name encoding. Force it to "UTF-8" for the tests.
11056 https://bugzilla.gnome.org/show_bug.cgi?id=691355
11058 tests/runtests.py | 1 +
11059 1 file changed, 1 insertion(+)
11061 commit c02a00ae9599a661076630b21b7e24e78fb88c29
11062 Author: Martin Pitt <martinpitt@gnome.org>
11063 Date: Tue Jan 8 16:56:40 2013 +0100
11065 Use g-i stack allocation API
11067 Where possible, i. e. when not keeping references across functions,
11069 _load_() methods instead of the _get_() ones from
11070 gobject-introspection, which
11071 is faster and less prone to memory leaks:
11073 g_callable_info_get_arg () → g_callable_info_load_arg ()
11074 g_callable_info_get_return_type() →
11075 g_callable_info_load_return_type ()
11076 g_arg_info_get_type() → g_arg_info_load_type ()
11078 https://bugzilla.gnome.org/show_bug.cgi?id=615982
11080 gi/pygi-argument.c | 16 ++++------
11081 gi/pygi-closure.c | 88
11082 ++++++++++++++++++++++++------------------------------
11083 2 files changed, 45 insertions(+), 59 deletions(-)
11085 commit 23d1f14f553069740465c82eaa937b877c41e0cb
11086 Author: Ray Strode <rstrode@redhat.com>
11087 Date: Wed Dec 19 13:04:32 2012 -0500
11089 pyg_value_from_pyobject: support GArray
11091 This commit adds support for marshalling a python list (or other
11093 returned from signal handlers to GArray, if necessary.
11095 This parallels the implementation written to marshal to (the now
11099 This fixes a crash in rhythmbox as seen downstream here:
11100 https://bugzilla.redhat.com/show_bug.cgi?id=872851
11102 https://bugzilla.gnome.org/show_bug.cgi?id=690514
11104 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
11106 gi/_gobject/pygtype.c | 60
11107 ++++++++++++++++++++++++++++++++++++++++++++++++
11108 tests/test_everything.py | 22 ++++++++++++++++++
11109 2 files changed, 82 insertions(+)
11111 commit 2089dbb117bae769b0303411c2630b6f86dc7d2d
11112 Author: Marko Lindqvist <cazfi74@gmail.com>
11113 Date: Fri Jan 4 07:01:29 2013 +0100
11115 Fix obsolete automake macros
11117 https://bugzilla.gnome.org/show_bug.cgi?id=691101
11119 configure.ac | 3 +--
11120 1 file changed, 1 insertion(+), 2 deletions(-)
11122 commit 6c02ab0ad720780f176192fdc6372aaa178812fd
11123 Author: Simon Feltman <sfeltman@src.gnome.org>
11124 Date: Mon Dec 31 02:53:07 2012 -0800
11126 Change dynamic enum and flag gtype creation to use namespaced naming
11128 Use the combination of g_base_info_get_namespace and
11129 g_base_info_get_name
11130 as the name for registering enum and flag types with glib through
11131 g_enum_register_static and g_flags_register_static. This avoids
11133 with types like GLib.SeekType and Gst.SeekType. Add better exceptions
11134 and memory cleanup for invalid registration problems.
11136 https://bugzilla.gnome.org/show_bug.cgi?id=690455
11138 gi/_gobject/pygenum.c | 6 ++--
11140 ++++++++++++++++++++++++++++++++++++++++++++-------
11141 tests/test_gi.py | 35 +++++++++++++++++++++++
11142 3 files changed, 106 insertions(+), 13 deletions(-)
11144 commit 692c80e11a05e2fb0515580acb22fd6fe65cede1
11145 Author: Dan Horák <dan@danny.cz>
11146 Date: Fri Dec 28 22:12:32 2012 +0100
11148 Fix test for GBytes.compare()
11150 The result of the compare method is defined as equal, less than or
11152 and the test must match to that. The underlaying memcmp() function
11154 values than -1, 0 and 1. For example on architectures where it is
11155 implemented directly
11156 via a CPU instruction like on s390(x) where I can see -2 as a result
11160 https://bugzilla.gnome.org/show_bug.cgi?id=690837
11162 tests/test_gi.py | 4 ++--
11163 1 file changed, 2 insertions(+), 2 deletions(-)
11165 commit 948dbcb223249a08f4398d4ad8861e92e3de0dfa
11166 Author: Jonathan Ballet <jon@multani.info>
11167 Date: Thu Dec 27 16:04:51 2012 +0100
11169 Fix Gtk.UIManager.add_ui_from_string() override for non-ASCII chars
11171 The length argument is the size of the buffer in bytes, not in
11174 https://bugzilla.gnome.org/show_bug.cgi?id=690329
11176 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
11178 gi/overrides/Gtk.py | 2 +-
11179 tests/test_overrides_gtk.py | 7 +++++++
11180 2 files changed, 8 insertions(+), 1 deletion(-)
11182 commit 53bc12a87da824cbfb006a4fd65731edec12ecc7
11183 Author: Mike Gorse <mgorse@suse.com>
11184 Date: Wed Dec 19 20:51:03 2012 -0500
11186 Don't dup strings before passing them to type registration functions
11188 Strings passed to g_enum_register_static and g_flags_register_static
11190 eventually passed to g_quark_from_string, which dups the string
11192 needed and does not take ownership of it, so passing in a
11193 dynamically-allocated
11194 string without freeing it results in a small leak.
11196 https://bugzilla.gnome.org/show_bug.cgi?id=690532
11198 gi/gimodule.c | 2 --
11199 1 file changed, 2 deletions(-)
11201 commit 9454c01f2b1b82d43eea0f72fe9a28ef50065fc9
11202 Author: Carlos Garnacho <carlos@lanedo.com>
11203 Date: Tue Dec 18 22:47:09 2012 +0100
11205 Fix marshalling of arrays of boxed struct values
11207 This fixes methods like gtk_selection_set_with_data(). In such cases
11208 data is passed as an array of struct pointers, so it must be converted
11209 to an array of structs.
11211 https://bugzilla.gnome.org/show_bug.cgi?id=656312
11213 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
11215 gi/pygi-marshal-from-py.c | 6 ++++++
11216 tests/test_gi.py | 12 ++++++++++++
11217 2 files changed, 18 insertions(+)
11219 commit 231d5a7cfc73518b4e2b0c926d4c1ce9a804797e
11220 Author: Simon Feltman <sfeltman@src.gnome.org>
11221 Date: Tue Dec 18 02:03:41 2012 -0800
11223 Add reference counting tests for Object.bind_property
11225 Add tests which ensure transform callbacks and user_data
11226 are propertly ref-counted.
11228 https://bugzilla.gnome.org/show_bug.cgi?id=690397
11230 tests/test_gobject.py | 40 ++++++++++++++++++++++++++++++++++++----
11231 1 file changed, 36 insertions(+), 4 deletions(-)
11233 commit c29e11812d176b1f057074c9bab22c9614ae4f8c
11234 Author: Martin Pitt <martinpitt@gnome.org>
11235 Date: Tue Dec 18 11:43:04 2012 +0100
11237 testhelpermodule.c: Do not unref called method
11239 In _wrap_test_gerror_exception(), do not unref the method
11241 causes a crash when being run with the stricter refcounting/memory
11243 debug-enabled Python builds.
11245 tests/testhelpermodule.c | 1 -
11246 1 file changed, 1 deletion(-)
11248 commit ff0d9106bcd02a6b2c67cc3722481218c599a9f4
11249 Author: Martin Pitt <martinpitt@gnome.org>
11250 Date: Mon Dec 17 23:20:50 2012 +0100
11252 configure.ac: post-release bump to 3.7.4
11254 configure.ac | 2 +-
11255 1 file changed, 1 insertion(+), 1 deletion(-)
11257 commit 061b23d14386c0e54d2c3af113554231bbe85f16
11258 Author: Martin Pitt <martinpitt@gnome.org>
11259 Date: Mon Dec 17 23:18:31 2012 +0100
11263 NEWS | 19 +++++++++++++++++++
11264 1 file changed, 19 insertions(+)
11266 commit a242f02823a63c9dca5d0b1ce84b031221053690
11267 Author: Martin Pitt <martinpitt@gnome.org>
11268 Date: Mon Dec 17 23:11:29 2012 +0100
11270 Add (failing) tests for callbacks with out arguments
11272 Most of these fail and need marshalling fixes.
11274 tests/test_gi.py | 36 ++++++++++++++++++++++++++++++++++++
11275 1 file changed, 36 insertions(+)
11277 commit 449b1ef0d94450c1e457770a093abd6d6c9e6291
11278 Author: Martin Pitt <martinpitt@gnome.org>
11279 Date: Mon Dec 17 22:50:59 2012 +0100
11281 Add tests for internal API
11283 These cover functions like pygobject_new(), pyg_value_from_pyobject()
11285 pyg_value_as_pyobject() that are wrapped by testhelpermodule.c. With
11287 functions can be tested in isolation without the whole GI stack
11290 tests/Makefile.am | 1 +
11291 tests/test_internal_api.py | 73
11292 ++++++++++++++++++++++++++++++++++++++++++++++
11293 2 files changed, 74 insertions(+)
11295 commit e44312139426f51e576ef9e880819542cc224383
11296 Author: Martin Pitt <martinpitt@gnome.org>
11297 Date: Mon Dec 17 18:02:15 2012 +0100
11299 Add support for caller-allocated GArray out arguments
11301 https://bugzilla.gnome.org/show_bug.cgi?id=690041
11303 gi/pygi-cache.c | 2 +-
11304 gi/pygi-invoke.c | 57
11305 ++++++++++++++++++++++++++++++--------------------------
11306 tests/test_gi.py | 5 +++--
11307 3 files changed, 35 insertions(+), 29 deletions(-)
11309 commit f262320ac22b48a9d007c425633f3ca426b7fb4a
11310 Author: Martin Pitt <martinpitt@gnome.org>
11311 Date: Mon Dec 17 16:18:24 2012 +0100
11313 Add (failing) test for caller-allocated GArray return value
11315 Call new GIMarshallingTests.garray_utf8_full_out_caller_allocated()
11317 which reproduces https://bugzilla.gnome.org/show_bug.cgi?id=690041.
11319 The test is failing and causing a segfault right now, so disable it
11323 tests/test_gi.py | 4 ++++
11324 1 file changed, 4 insertions(+)
11326 commit 1cb4c30c3cf19690210010d39b6272965f489c58
11327 Author: Martin Pitt <martinpitt@gnome.org>
11328 Date: Mon Dec 17 15:56:44 2012 +0100
11330 GLib overrides: Avoid calling deprecated GLib.unix_signal_add_full()
11332 glib 2.35.x fixed the API to be GLib.unix_signal_add(). Call the
11334 available, but fall back to GLib.unix_signal_add_full() until we
11338 gi/overrides/GLib.py | 8 ++++++--
11339 1 file changed, 6 insertions(+), 2 deletions(-)
11341 commit 945263a89c3adee61f95d4211cf13b254ad6d51f
11342 Author: Martin Pitt <martinpitt@gnome.org>
11343 Date: Fri Nov 30 14:17:18 2012 +0100
11345 Re-support calling GLib.io_add_watch with an fd or Python file
11347 This does not strictly adhere to the GLib API, but it's very
11349 unlike the other modes, does not change the number or order of
11351 let's keep support for this and drop the deprecation warning.
11353 gi/overrides/GLib.py | 9 +++------
11354 1 file changed, 3 insertions(+), 6 deletions(-)
11356 commit 263b9f97e748746e1d26847a82a4d6e53a42798a
11357 Author: Martin Pitt <martinpitt@gnome.org>
11358 Date: Fri Nov 30 09:04:20 2012 +0100
11360 Robustify test_glib.TestGLib.test_io_add_watch_pyfile
11362 Use a longer timeout to avoid races on slow architectures, and cut
11364 loop as soon as we received all expected events.
11366 tests/test_glib.py | 5 ++++-
11367 1 file changed, 4 insertions(+), 1 deletion(-)
11369 commit 8e4e822cb273db4eb7e6e40f4739eeebee00798a
11370 Author: Martin Pitt <martinpitt@gnome.org>
11371 Date: Fri Nov 30 08:44:56 2012 +0100
11373 test_overrides_gtk: Ignore GVFS warnings from FileChooserDialog
11375 Do not cause GVFS warnings from Gtk.FileChooserDialog (which may
11377 unavailable monitor backends in the test environment) to fail
11380 tests/test_overrides_gtk.py | 12 +++++++++---
11381 1 file changed, 9 insertions(+), 3 deletions(-)
11383 commit d47283936b4c0b5e8b6ede8886c4badbf6d6e694
11384 Author: Martin Pitt <martinpitt@gnome.org>
11385 Date: Thu Nov 29 16:45:49 2012 +0100
11387 pygtkcompat: Work around IndexError on large flags
11389 On 32 bit systems pygtkcompat currently fails with
11391 File "pygtkcompat/pygtkcompat.py", line 74, in _install_enums
11392 name = flag.value_names[-1].replace(modname + '_', '')
11393 IndexError: cannot fit 'int' into an index-sized integer
11395 on 32 bit systems as some flags in Gdk are too large to fit into a
11397 "long". Work around this crash until this gets fixed properly
11401 pygtkcompat/pygtkcompat.py | 7 ++++++-
11402 1 file changed, 6 insertions(+), 1 deletion(-)
11404 commit 3fa31b1a7936c556e76bd8a42030567c6a867e0d
11405 Author: Martin Pitt <martinpitt@gnome.org>
11406 Date: Thu Nov 29 14:11:29 2012 +0100
11408 Fix pyg_value_from_pyobject() range check for uint
11410 We cannot use PYGLIB_PyLong_AsLong() for the range check, as on 32
11412 this overflows large uints. Use PyLong_AsLongLong() separately to
11414 negative values, and PyLong_AsUnsignedLong() for the actual
11417 gi/_gobject/pygtype.c | 12 ++++++++----
11418 1 file changed, 8 insertions(+), 4 deletions(-)
11420 commit 05d767a602571805e80099f1db47ad4164575c53
11421 Author: Martin Pitt <martinpitt@gnome.org>
11422 Date: Thu Nov 29 13:30:56 2012 +0100
11424 Fix tests to work with g-i 1.34.2
11426 Do not try to call GIMarshallingTests API which isn't present
11428 against g-i 1.34.2. This can be dropped when the g-i dependency gets
11432 tests/test_gi.py | 8 +++++---
11433 1 file changed, 5 insertions(+), 3 deletions(-)
11435 commit a107c928ef85b4e3b9075a408774b74879586029
11436 Author: Martin Pitt <martinpitt@gnome.org>
11437 Date: Thu Nov 29 13:13:14 2012 +0100
11439 Fix wrong refcount for GVariant property defaults
11441 Drop the bogus DECREF for the GVariant default argument, as we need
11443 around in the class. Otherwise the refcount drops to zero, and
11445 garbage collection run causes segfaults.
11447 https://bugzilla.gnome.org/show_bug.cgi?id=689267
11449 gi/_gobject/gobjectmodule.c | 1 -
11450 1 file changed, 1 deletion(-)
11452 commit 9b7dd1318cf540d5f8d03655da03534ed72707ec
11453 Author: Martin Pitt <martinpitt@gnome.org>
11454 Date: Thu Nov 29 11:44:22 2012 +0100
11456 test_gi: Fix TestFilename failure under C locale
11458 tests/test_gi.py | 1 +
11459 1 file changed, 1 insertion(+)
11461 commit 37ab227555ba8628b4fa99aa286bd046208745ed
11462 Author: Martin Pitt <martinpitt@gnome.org>
11463 Date: Thu Nov 29 11:16:26 2012 +0100
11465 Fix array arguments on 32 bit
11467 In _pygi_argument_from_object() we never put the actual element
11469 constructed array. The array contains GIArguments, or bytes in the
11471 passing a string as an array.
11473 This happened to work on 64 bit machines where GIArgument and char*
11475 same size, but not on 32 bit machines
11476 (test_gi.TestPropertiesObject.test_strv
11479 gi/pygi-argument.c | 6 +++++-
11480 1 file changed, 5 insertions(+), 1 deletion(-)
11482 commit 7bd852fc82f92dac8723e18b61a56ed1b1a1b81c
11483 Author: Martin Pitt <martinpitt@gnome.org>
11484 Date: Thu Nov 29 10:20:27 2012 +0100
11486 test_gi: Disable failing check in test_module_name()
11488 When calling this under some conditions, such as
11490 TEST_NAMES='test_thread test_gi.TestOverrides'
11492 then the module name of GObject.InitiallyUnowned comes out as
11493 "importlib._bootstrap" instead of "gi.repository.GObject". To be
11495 Add a couple of other tests to ensure that it is not broken in
11498 tests/test_gi.py | 10 +++++++++-
11499 1 file changed, 9 insertions(+), 1 deletion(-)
11501 commit 94a6cc93a104b22dcee2ac73cae36b83a4b5d9c1
11502 Author: Martin Pitt <martinpitt@gnome.org>
11503 Date: Thu Nov 29 09:40:32 2012 +0100
11505 test_gdbus: Drop failure if timeout=0 works differently
11507 In some test environments we do not actually get a timeout exceptions
11509 timeout=0, but a different error message. So only ensure that we
11513 tests/test_gdbus.py | 4 +++-
11514 1 file changed, 3 insertions(+), 1 deletion(-)
11516 commit c3b2f5fee573aa03a8a9563efbbbc1bc4fa25da7
11517 Author: Martin Pitt <martinpitt@gnome.org>
11518 Date: Thu Nov 29 09:29:05 2012 +0100
11520 test_glib: Drop some assumptions about XDG dirs
11522 Some directories do not exist in minimal test environments, and this
11524 important for testing that calling these GLib functions works.
11526 tests/test_glib.py | 8 +++++---
11527 1 file changed, 5 insertions(+), 3 deletions(-)
11529 commit e45c690bc83b6d513887649de88965a9752e316d
11530 Author: Martin Pitt <martinpitt@gnome.org>
11531 Date: Wed Nov 28 12:20:31 2012 +0100
11533 Add backwards compatible API for GLib.unix_signal_add_full()
11535 This was renamed to GLib.unix_signal_add() in
11536 http://git.gnome.org/browse/glib/commit/?id=fca30c3e165
11538 Provide a backwards compatible shim with a deprecation message.
11540 gi/overrides/GLib.py | 10 ++++++++++
11541 1 file changed, 10 insertions(+)
11543 commit 00b9ea32d766ae486249f402d9dee511fd9f53a9
11544 Author: Martin Pitt <martinpitt@gnome.org>
11545 Date: Mon Nov 26 08:11:36 2012 +0100
11547 Drop MININT64/MAXUINT64 workaround
11549 g-i 1.34.2 properly handles 64 bit constants now, so bug 685022 has
11551 properly now. Drop the workaround in the overrides to manually
11555 gi/overrides/GLib.py | 7 -------
11556 1 file changed, 7 deletions(-)
11558 commit d16604f64d25d18409270d7537fc993113b65c19
11559 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
11560 Date: Fri Nov 23 19:57:56 2012 +0200
11562 Fix maximum and minimum ranges of TYPE_(U)INT64 properties
11564 In corner case where properties use values 2 ** 62 < ±x < 2 ** 63 for
11565 TYPE_INT64 and 2 ** 63 < x < 2 ** 64 for TYPE_UINT64 they will raise
11566 warnings even tough values are valid.
11568 https://bugzilla.gnome.org/show_bug.cgi?id=688949
11570 gi/_gobject/propertyhelper.py | 6 +++---
11571 tests/test_properties.py | 11 ++++-------
11572 2 files changed, 7 insertions(+), 10 deletions(-)
11574 commit 93e9e309d8ba54884881cfca203e8bc355c2727e
11575 Author: Martin Pitt <martinpitt@gnome.org>
11576 Date: Wed Nov 21 12:58:07 2012 +0100
11578 Test virtual methods with in and out arguments
11580 ... and both caller and callee out argument allocation.
11582 This came up in https://bugzilla.gnome.org/show_bug.cgi?id=688783
11584 tests/test_gi.py | 13 +++++++++++++
11585 1 file changed, 13 insertions(+)
11587 commit 25a9cfb043448efbab9168ef66f852cc34b9909b
11588 Author: Martin Pitt <martinpitt@gnome.org>
11589 Date: Tue Nov 20 07:00:44 2012 +0100
11591 Ship pygi-convert.sh in tarballs
11593 https://bugzilla.gnome.org/show_bug.cgi?id=688697
11596 1 file changed, 1 insertion(+)
11598 commit 4a8d31e6f56a3f1360bdb880ffd9a6eb139c02d8
11599 Author: Martin Pitt <martinpitt@gnome.org>
11600 Date: Mon Nov 19 15:25:38 2012 +0100
11602 Post-release version bump to 3.7.3
11604 configure.ac | 2 +-
11605 1 file changed, 1 insertion(+), 1 deletion(-)
11607 commit d0ed62afbc4cada0bf6abc4f8754e5a8d73036e4
11608 Author: Martin Pitt <martinpitt@gnome.org>
11609 Date: Mon Nov 19 15:13:28 2012 +0100
11613 NEWS | 47 +++++++++++++++++++++++++++++++++++++++++++++++
11614 1 file changed, 47 insertions(+)
11616 commit 29dc7425dd7584411b52ef07b50f929ed119a000
11617 Author: Martin Pitt <martinpitt@gnome.org>
11618 Date: Mon Nov 19 14:37:02 2012 +0100
11622 Commit e617f76e forgot to rename the file in EXTRA_DIST
11624 tests/Makefile.am | 2 +-
11625 1 file changed, 1 insertion(+), 1 deletion(-)
11627 commit 567aae6e7c56bb89f53fcfccb1b0bc732f85b847
11628 Author: Martin Pitt <martinpitt@gnome.org>
11629 Date: Mon Nov 19 14:34:13 2012 +0100
11631 tests: Fix unicode vs. str issues in Python 2
11633 Some of the tests assumed a system default encoding of UTF-8, which
11635 in Python 2 unless pygtkcompat is imported. Commit e617f76 uncovered
11638 tests/test_gi.py | 8 ++++----
11639 tests/test_iochannel.py | 16 +++++++++-------
11640 2 files changed, 13 insertions(+), 11 deletions(-)
11642 commit 509e5ac1a6dd8504e89c33c559fe4f72156a1ddf
11643 Author: Martin Pitt <martinpitt@gnome.org>
11644 Date: Mon Nov 19 14:20:56 2012 +0100
11646 tests: Fix previous commit to fail properly on test failures
11648 tests/Makefile.am | 2 +-
11649 1 file changed, 1 insertion(+), 1 deletion(-)
11651 commit e617f76e5b0c301c3ae92e1091aa86792de4d8e8
11652 Author: Martin Pitt <martinpitt@gnome.org>
11653 Date: Mon Nov 19 14:09:14 2012 +0100
11655 tests: Run pygtkcompat tests separately
11657 pygtkcompat changes the global namespace, in particular patching
11659 overrides. Run the tests in a separate process so that the main
11661 potentially affected by the pygtkcompat test.
11663 runtests.py runs all tests/test_*.py by default, so rename to
11664 compat_test_pygtk.py and run that explicitly after successfully
11668 See https://bugzilla.gnome.org/show_bug.cgi?id=688219
11670 tests/Makefile.am | 3 +++
11671 tests/{test_pygtkcompat.py => compat_test_pygtk.py} | 0
11672 2 files changed, 3 insertions(+)
11674 commit 8180b8092f99b7c9f0dee1742418efdbd23ab330
11675 Author: Simon Feltman <sfeltman@src.gnome.org>
11676 Date: Thu Nov 15 02:51:52 2012 -0800
11678 Move pygtkcompat into sibling package of gi
11680 Move the pygtkcompat module out of the gi package and into
11681 a sibling package as follows:
11687 This allows for pygtkcompat to grow without affecting the gi package.
11688 Add deprecation message to gi/pygtkcompat.py
11690 https://bugzilla.gnome.org/show_bug.cgi?id=688219
11694 gi/pygtkcompat.py | 524
11695 +++------------------------------------------
11696 pygtkcompat/Makefile.am | 15 ++
11697 pygtkcompat/__init__.py | 20 ++
11698 pygtkcompat/pygtkcompat.py | 501
11699 +++++++++++++++++++++++++++++++++++++++++++
11700 tests/test_pygtkcompat.py | 6 +-
11701 7 files changed, 565 insertions(+), 504 deletions(-)
11703 commit f736694d09e9d0fca4769d9f1f34ec34e6354d87
11704 Author: Martin Pitt <martinpitt@gnome.org>
11705 Date: Mon Nov 19 13:59:20 2012 +0100
11707 Bump g-i dependency to >= 1.34.2
11709 We need this for updated GLib annotations and new test API.
11711 configure.ac | 2 +-
11712 1 file changed, 1 insertion(+), 1 deletion(-)
11714 commit f6c994c76cd8010460b76bf455e1a341348d735b
11715 Author: Martin Pitt <martinpitt@gnome.org>
11716 Date: Mon Nov 19 10:39:26 2012 +0100
11718 test_gi: Fix failing tests with g-i 1.34.x
11720 Skip tests which require g-i test API from 1.35.x when building
11724 tests/test_gi.py | 6 ++++++
11725 1 file changed, 6 insertions(+)
11727 commit 8ce0d028fe79e2ce52cfecbb682afba6651a7a70
11728 Author: Martin Pitt <martinpitt@gnome.org>
11729 Date: Wed Nov 14 11:57:21 2012 +0100
11731 test_gi: Add tests for type "filename"
11733 tests/test_gi.py | 30 ++++++++++++++++++++++++++++++
11734 1 file changed, 30 insertions(+)
11736 commit 3408a151e49d9520f54ad9bc04f620c7777125ec
11737 Author: Martin Pitt <martinpitt@gnome.org>
11738 Date: Wed Nov 14 11:09:33 2012 +0100
11740 Drop foreign GVariant registration/support
11742 This is dead code. We have tests for GVariant in and out method
11744 callback arguments and return values, properties, etc to ensure that
11748 gi/Makefile.am | 2 --
11749 gi/pygi-foreign-gvariant.c | 63
11750 ----------------------------------------------
11751 gi/pygi-foreign-gvariant.h | 41 ------------------------------
11752 gi/pygi-foreign.c | 8 +-----
11753 4 files changed, 1 insertion(+), 113 deletions(-)
11755 commit 47c46d847bb69ebc139d5e0b6c609da6f27201f2
11756 Author: Martin Pitt <martinpitt@gnome.org>
11757 Date: Wed Nov 14 10:33:24 2012 +0100
11759 test_properties.py: Fix PEP-8 errors
11761 tests/test_properties.py | 3 +--
11762 1 file changed, 1 insertion(+), 2 deletions(-)
11764 commit 78f49e6253500bfa382ce6c07412613d8f7f9d7f
11765 Author: Martin Pitt <martinpitt@gnome.org>
11766 Date: Wed Nov 14 10:14:36 2012 +0100
11768 Add support for GVariant properties defined in Python
11770 gi/_gobject/gobjectmodule.c | 13 +++++++
11771 gi/_gobject/propertyhelper.py | 11 ++++--
11772 tests/test_properties.py | 81
11773 +++++++++++++++++++++++++++++++++++++------
11774 3 files changed, 91 insertions(+), 14 deletions(-)
11776 commit f3b77f4304be20b7422c262b973f3eeb540c4bf6
11777 Author: Martin Pitt <martinpitt@gnome.org>
11778 Date: Wed Nov 14 09:33:43 2012 +0100
11780 pyg_value_from_pyobject(): Simplify GVariant type check
11782 Use pyg_type_from_object_strict() instead of the much more expensive
11784 pyg_get_gvariant_type().
11786 gi/_gobject/pygtype.c | 23 +----------------------
11787 1 file changed, 1 insertion(+), 22 deletions(-)
11789 commit 0c0fb8ef88a2c61cf95cd1cb96f6d5f296cad5fc
11790 Author: Martin Pitt <martinpitt@gnome.org>
11791 Date: Wed Nov 14 09:27:42 2012 +0100
11793 test_everything: Add test for callback returning wrong type
11795 This covers the "expected a GVariant, got something else" check in
11796 pyg_value_from_pyobject().
11798 tests/test_everything.py | 16 ++++++++++++++++
11799 1 file changed, 16 insertions(+)
11801 commit 84db7109dfbaf443758a5a4871ee385686d2703d
11802 Author: Martin Pitt <martinpitt@gnome.org>
11803 Date: Wed Nov 14 08:42:53 2012 +0100
11805 Add type checking to GVariant argument assignment
11807 gi/pygi-argument.c | 7 ++++++-
11808 tests/test_gi.py | 5 ++---
11809 2 files changed, 8 insertions(+), 4 deletions(-)
11811 commit e944caf5ff53143a98dd4a5578530996358013ec
11812 Author: Martin Pitt <martinpitt@gnome.org>
11813 Date: Wed Nov 14 08:22:35 2012 +0100
11815 Add support for GVariant properties defined in C
11817 Note that trying to assign a non-GVariant value to a GVariant property
11820 gi/pygi-property.c | 6 +++++-
11821 tests/test_gi.py | 21 +++++++++++++++++++++
11822 2 files changed, 26 insertions(+), 1 deletion(-)
11824 commit 614cc9594cb34d92a6d4b00773427d4fb023c65e
11825 Author: Martin Pitt <martinpitt@gnome.org>
11826 Date: Wed Nov 14 07:09:58 2012 +0100
11828 test_unknown.py: Check property interface
11830 NB that the property implementation in test-unknown.c does not
11832 anything, we just want to assert that the properties are properly
11835 tests/test_unknown.py | 10 ++++++++++
11836 1 file changed, 10 insertions(+)
11838 commit 9d7771affcf788d251cced65da56fc2773a278b3
11839 Author: Martin Pitt <martinpitt@gnome.org>
11840 Date: Wed Nov 14 07:01:24 2012 +0100
11842 Fix previous commit for Python 2
11844 gi/pygi-foreign-cairo.c | 2 +-
11845 1 file changed, 1 insertion(+), 1 deletion(-)
11847 commit 997d4e70b2793039d916acf8921087576622152e
11848 Author: Martin Pitt <martinpitt@gnome.org>
11849 Date: Wed Nov 14 06:57:04 2012 +0100
11851 pygi-foreign-cairo.c: Use official py3cairo API
11853 Do not clobber py3cairo's Pycairo_CAPI global variable, and use
11855 instead of our own code.
11857 gi/pygi-foreign-cairo.c | 4 ++--
11858 1 file changed, 2 insertions(+), 2 deletions(-)
11860 commit cec5d1a55347b81c1ae4ddc47ea2b4fbf964d239
11861 Author: Martin Pitt <martinpitt@gnome.org>
11862 Date: Wed Nov 14 06:47:23 2012 +0100
11864 Drop dead code from pygi-callbacks.[hc]
11866 _pygi_create_callback() and _pygi_scan_for_callbacks() are not
11868 _pygi_destroy_notify_create() fits better in pygi-marshal-from-py.c,
11870 there, and drop pygi-callbacks.[hc] completely.
11872 gi/Makefile.am | 2 -
11873 gi/pygi-callbacks.c | 217
11874 ----------------------------------------------
11875 gi/pygi-callbacks.h | 48 ----------
11876 gi/pygi-marshal-from-py.c | 44 ++++++++++
11877 gi/pygi-private.h | 1 -
11878 5 files changed, 44 insertions(+), 268 deletions(-)
11880 commit 55070cc9c98993ccda7ebcb05783fad182b2eb11
11881 Author: Carlos Garnacho <carlos@lanedo.com>
11882 Date: Tue Nov 13 18:24:28 2012 +0100
11884 Fix marshalling of arrays of struct pointers to Python
11886 Fill in the pointer to the struct, not the pointer to the
11887 array position. This makes the GdkAtom** argument in
11888 gtk_clipboard_wait_for_targets() work.
11890 https://bugzilla.gnome.org/show_bug.cgi?id=678620
11892 gi/pygi-marshal-to-py.c | 5 ++++-
11893 1 file changed, 4 insertions(+), 1 deletion(-)
11895 commit fc021516552b1720bacc4afe6b7a610c413194c4
11896 Author: Martin Pitt <martinpitt@gnome.org>
11897 Date: Wed Nov 14 06:27:17 2012 +0100
11899 test_atoms.py: Add test for out array
11901 This reproduces https://bugzilla.gnome.org/show_bug.cgi?id=678620
11903 tests/test_atoms.py | 19 +++++++++++++++++++
11904 1 file changed, 19 insertions(+)
11906 commit e2790d22610aae773635d4caef2458082a307283
11907 Author: Martin Pitt <martinpitt@gnome.org>
11908 Date: Tue Nov 13 16:38:36 2012 +0100
11910 Fix Gdk.Atom str()/repr() fallback
11912 Fix regression in commit 6713618: If an atom does not have a name,
11914 recursively call our own str()/repr() methods, but just print
11915 "Gdk.Atom<atom_id>".
11917 gi/overrides/Gdk.py | 6 ++++--
11918 1 file changed, 4 insertions(+), 2 deletions(-)
11920 commit 9879fd41a7d8d72f8db9cadf5b1ee29fc4d5d6bf
11921 Author: Martin Pitt <martinpitt@gnome.org>
11922 Date: Tue Nov 13 13:16:14 2012 +0100
11924 test_gi: Stop using GLib.bytes.unref_to_array()
11926 This method isn't safe for GI, and should be (skip)ed. Use get_data()
11928 which is safe and works fine.
11930 See https://bugzilla.gnome.org/show_bug.cgi?id=688242
11932 tests/test_gi.py | 6 ------
11933 1 file changed, 6 deletions(-)
11935 commit 671361841de797ef62b59d1d7568fc3d431898c7
11936 Author: Martin Pitt <martinpitt@gnome.org>
11937 Date: Tue Nov 13 12:56:11 2012 +0100
11939 Fix Gdk.Atom to have a proper str() and repr()
11941 Gdk.Atom is not proper GType'd class, so we cannot override the
11943 Just override its __str__() and __repr__() methods so that printing
11945 something sensible. For nameless/invalid atoms, fall back to the old
11946 <void at 0xdeadbeef> output to help with debugging.
11948 https://bugzilla.gnome.org/show_bug.cgi?id=678620
11950 gi/overrides/Gdk.py | 21 +++++++++++++++++++++
11951 tests/test_atoms.py | 12 ++++++++++++
11952 2 files changed, 33 insertions(+)
11954 commit 56e62858e9c2bdde3186f5cf4e83be94fb4e5306
11955 Author: Simon Feltman <sfeltman@src.gnome.org>
11956 Date: Tue Nov 13 02:53:34 2012 -0800
11958 Make sure g_value_set_boxed does not cause a buffer overrun with
11961 Add NULL terminator to gchar** passed to g_value_set_boxed to
11962 make sure it does not overrun memory in pygi_set_property_value_real.
11963 Add MALLOC_CHECK_=3 to "make check" which prints an error and aborts
11966 https://bugzilla.gnome.org/show_bug.cgi?id=688232
11968 gi/pygi-property.c | 8 ++++++--
11969 tests/Makefile.am | 1 +
11970 2 files changed, 7 insertions(+), 2 deletions(-)
11972 commit ca11ec124fdd3fb2b67efdeb3ac93aaeb8b3fd83
11973 Author: Martin Pitt <martinpitt@gnome.org>
11974 Date: Mon Nov 12 08:35:28 2012 +0100
11976 types.py: Fix PEP-8 violation
11979 1 file changed, 1 insertion(+), 1 deletion(-)
11981 commit df589458358d7e7bf178dff4e6ad937a70f806e3
11982 Author: Simon Feltman <sfeltman@src.gnome.org>
11983 Date: Sun Nov 11 22:26:19 2012 -0800
11985 Fix leaks with GValues holding boxed and object types
11987 Expose read access to PyGIBoxed.free_on_dealloc.
11988 Add GObject.Value.__del__ override and call unset() to
11989 correctly free reference counts.
11991 https://bugzilla.gnome.org/show_bug.cgi?id=688137
11993 gi/overrides/GObject.py | 9 +++++++++
11994 gi/pygi-boxed.c | 12 ++++++++++++
11995 tests/test_gi.py | 2 --
11996 3 files changed, 21 insertions(+), 2 deletions(-)
11998 commit c01c95b9fb3d726385efac945f6d1270ae65d109
11999 Author: Simon Feltman <sfeltman@src.gnome.org>
12000 Date: Sun Nov 11 19:46:15 2012 -0800
12002 Add expectantly failing unittests for GValue boxed/object leaks
12004 https://bugzilla.gnome.org/show_bug.cgi?id=688137
12006 tests/test_gi.py | 80
12007 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
12008 1 file changed, 80 insertions(+)
12010 commit 13629f5a9c9a7022f3521a3616d9ce8fa4a6161b
12011 Author: Simon Feltman <s.feltman@gmail.com>
12012 Date: Thu Aug 16 15:09:08 2012 -0700
12014 Add doc strings showing method signatures for gi methods
12016 Add signature based doc string to all methods pulled in from
12017 introspection. For example: Gtk.SpinButton.get_icon_area.__doc__
12018 get_icon_area(self, icon_pos:Gtk.EntryIconPosition) ->
12019 icon_area:cairo.RectangleInt
12021 https://bugzilla.gnome.org/show_bug.cgi?id=681967
12023 gi/overrides/GIMarshallingTests.py | 1 +
12024 gi/pygi-info.c | 103
12025 +++++++++++++++++++++++++++++++++----
12026 gi/pygi-type.c | 60 +++++++++++++++++++++
12027 gi/pygi-type.h | 1 +
12029 ++++++++++++++++++++++++++-------
12030 tests/test_gi.py | 30 +++++++++++
12031 6 files changed, 259 insertions(+), 28 deletions(-)
12033 commit 7b7277f3cc099280f8e2d6cf6693490290fedc24
12034 Author: Simon Feltman <sfeltman@src.gnome.org>
12035 Date: Fri Nov 9 19:17:03 2012 -0800
12037 Set Property instance doc string and blurb to getter doc string
12039 Assign Property getter __doc__ strings or explicit blurb parameters
12040 to the Property instances __doc__ attribute. This clobbers the
12041 default Property classes lengthy and unhelpful doc string in the case
12044 https://bugzilla.gnome.org/show_bug.cgi?id=688025
12046 gi/_gobject/propertyhelper.py | 10 +++++++---
12047 tests/test_properties.py | 14 ++++++++++----
12048 2 files changed, 17 insertions(+), 7 deletions(-)
12050 commit c5343d329ebb452d97afac30e4120ebab8477556
12051 Author: Martin Pitt <martinpitt@gnome.org>
12052 Date: Mon Nov 12 07:47:02 2012 +0100
12054 tests: Fix for Python 2
12056 Add quirks for Python 2's string handling, and disable the
12057 Everything.test_array_gint8_in() as there seems to be no way of
12061 tests/test_everything.py | 7 +++++--
12062 1 file changed, 5 insertions(+), 2 deletions(-)
12064 commit 964f33ca3a74bfb7d850f136d0844ac1551d36e9
12065 Author: Martin Pitt <martinpitt@gnome.org>
12066 Date: Sat Nov 10 15:52:15 2012 +0100
12068 test_everything: Add tests for more Regress data and container types
12070 Add more tests for Regress' data and container type test API.
12072 This detects a number of bugs, which have been marked as expected
12074 disabled completely for the cases where they cause crashes:
12076 * unsigned enums with values >= 0x80000000 do not work
12077 * nested ghashes in return values do not work
12078 * array length arguments in callbacks are passed instead of
12081 tests/test_everything.py | 156
12082 ++++++++++++++++++++++++++++++++++++++++++++++-
12083 1 file changed, 154 insertions(+), 2 deletions(-)
12085 commit 476e29d1ba3eda92cc021710017bce4ec252e5b5
12086 Author: Martin Pitt <martinpitt@gnome.org>
12087 Date: Fri Nov 9 18:45:22 2012 +0100
12089 test_everything: Add tests for Regress type tests
12091 Add tests for all the data type handling tests of g-i's Regress
12094 tests/test_everything.py | 183
12095 +++++++++++++++++++++++++++++++++++++++++++++++
12096 1 file changed, 183 insertions(+)
12098 commit 0d7974396e8379b518403983d9d13629066680d7
12099 Author: Martin Pitt <martinpitt@gnome.org>
12100 Date: Fri Nov 9 18:44:50 2012 +0100
12102 Add GObject.G_MINSSIZE
12104 gi/_gobject/gobjectmodule.c | 1 +
12105 gi/overrides/GObject.py | 2 +-
12106 2 files changed, 2 insertions(+), 1 deletion(-)
12108 commit b800a6903300dbe9435ed8eb3677eb9c0536ec31
12109 Author: Martin Pitt <martinpitt@gnome.org>
12110 Date: Fri Nov 9 16:02:00 2012 +0100
12112 Fix marshalling of GByteArrays
12114 In _pygi_marshal_from_py_array(), set the array length after copying
12116 in the GI_TYPE_TAG_UINT8 case (which applies for GByteArrays),
12118 will always come out as zero length.
12120 Enable the TestGByteArray.test_bytearray_none_in() test case as that
12123 gi/pygi-marshal-from-py.c | 1 +
12124 tests/test_gi.py | 3 +--
12125 2 files changed, 2 insertions(+), 2 deletions(-)
12127 commit fa568949c46dd4b537357f1af74d1f675294b760
12128 Author: Martin Pitt <martinpitt@gnome.org>
12129 Date: Fri Nov 9 15:23:37 2012 +0100
12131 Fix marshalling of ssize_t to smaller ints
12133 Add missing marshalling cases for (u)int8 and (u)int16. This fixes the
12134 TestArray.test_array_in test, so drop the expected failure.
12136 gi/pygi-marshal-from-py.c | 30 +++++++++++++++++++++++++++++-
12137 tests/test_gi.py | 2 --
12138 2 files changed, 29 insertions(+), 3 deletions(-)
12140 commit 5a5940a0a0704be8e222d4cad6cedda1ad3e0f71
12141 Author: Martin Pitt <martinpitt@gnome.org>
12142 Date: Fri Nov 9 09:37:00 2012 +0100
12144 test_gi: Enable GByteArray constructor tests
12146 GByteArray annotations have been fixed in GLib now, enable the
12149 Drop the redundant disabled_test_bytearray_none_in_from_bytes()
12151 is the same as disabled_test_bytearray_none_in().
12153 tests/test_gi.py | 16 ++++------------
12154 1 file changed, 4 insertions(+), 12 deletions(-)
12156 commit e2c545896ab08b1f1885b502a8472db83f193d08
12157 Author: Martin Pitt <martinpitt@gnome.org>
12158 Date: Fri Nov 9 09:11:38 2012 +0100
12160 test_gi: Enable GBytes test cases
12162 GBytes annotations are fixed in GLib now, enable the test case and
12164 for g_bytes_new_take() and g_bytes_{compare,equal}().
12166 Please note that calling unref_to_array() on a GBytes object that
12168 ourselves currently causes a double free crash, so disable that part
12171 tests/test_gi.py | 30 +++++++++++++++++++++++++-----
12172 1 file changed, 25 insertions(+), 5 deletions(-)
12174 commit 1ba4e201f86ffa28c645d7c9eea99cf31080ea43
12175 Author: Martin Pitt <martinpitt@gnome.org>
12176 Date: Fri Nov 9 08:26:29 2012 +0100
12178 test_gi: Add missing data type tests from GIMarshallingTests
12180 Add tests for types time_t, GBytes, GByteArray, and various variants
12182 around GValues, flags, enums, arrays, and boxed structs. This tests
12184 is provided by GIMarshallingTests, but which we did not cover yet.
12186 This detects a number of bugs in annotations and our
12187 marshalling. These have
12188 been marked as expected failure, or disabled completely for the
12190 they cause crashes.
12192 tests/test_gi.py | 152
12193 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
12194 1 file changed, 152 insertions(+)
12196 commit 0456d9c892b76ed79134230a4a8610a23c602964
12197 Author: Martin Pitt <martinpitt@gnome.org>
12198 Date: Fri Nov 9 06:44:46 2012 +0100
12200 autogen.sh: Only enable code coverage if lcov is installed
12202 Otherwise we break minimal build environments.
12204 autogen.sh | 8 +++++++-
12205 1 file changed, 7 insertions(+), 1 deletion(-)
12207 commit 76a3acebf73f930c541d0f30249f67d254f948ab
12208 Author: Martin Pitt <martinpitt@gnome.org>
12209 Date: Fri Nov 9 06:41:58 2012 +0100
12211 Lower autoconf dependency to 2.68 again
12213 configure.ac | 2 +-
12214 1 file changed, 1 insertion(+), 1 deletion(-)
12216 commit f1a5f1b92d577c542d4258e63e595d4da9acd484
12217 Author: Martin Pitt <martinpitt@gnome.org>
12218 Date: Thu Nov 8 14:54:30 2012 +0100
12220 Add support for lcov code coverage
12222 Use gnome-common's new code coverage flags. Default to enabling
12224 in autogen.sh (but not for dist).
12226 To use this, run "make check-code-coverage" after building.
12231 configure.ac | 6 ++++++
12232 4 files changed, 10 insertions(+), 1 deletion(-)
12234 commit e46af4aba220cfaf4b84a9be847f3363da556993
12235 Author: Martin Pitt <martinpitt@gnome.org>
12236 Date: Wed Nov 7 17:14:22 2012 +0100
12238 Update documentation files
12240 Update AUTHORS to have the current maintainers.
12242 Update HACKING to drop Tomeu's GNOME login (this should be set in
12245 Update INSTALL to current upstream version.
12250 +++++++++++++++++++++++++++++++++++++++++++---------------------
12251 3 files changed, 267 insertions(+), 130 deletions(-)
12253 commit 06f5ed0ebabce34eca6bc6de80221cba6453feec
12254 Author: Martin Pitt <martinpitt@gnome.org>
12255 Date: Wed Nov 7 17:08:11 2012 +0100
12257 Quiesce automake output
12259 Use $(AM_V_GEN) with custom $(LINK) commands, and avoid error
12261 existing symlinks on rebuilds.
12263 gi/Makefile.am | 2 +-
12264 gi/_glib/Makefile.am | 2 +-
12265 gi/_gobject/Makefile.am | 2 +-
12266 tests/Makefile.am | 6 +++---
12267 4 files changed, 6 insertions(+), 6 deletions(-)
12269 commit 37270de8ead0b281a1824ff204a4aa9686a7225b
12270 Author: Martin Pitt <martinpitt@gnome.org>
12271 Date: Wed Nov 7 16:50:07 2012 +0100
12273 Drop unused variable, fail builds on those
12275 Build with -Werror=unused-variable, as these could hide programming
12277 incomplete refactoring, and are not platform dependent.
12279 Drop unused variable in pyg_type_add_interfaces().
12282 gi/_gobject/gobjectmodule.c | 1 -
12283 2 files changed, 1 insertion(+), 1 deletion(-)
12285 commit 495fd98555e0c89724bb8fa9478dc096c5d61e22
12286 Author: Martin Pitt <martinpitt@gnome.org>
12287 Date: Wed Nov 7 16:37:04 2012 +0100
12289 configure.ac: Drop maintainer mode, modernize libtool declarations
12291 Use all arguments of AC_INIT.
12293 AM_MAINTAINER_MODE is discouraged now, drop it.
12295 Use LT_PREREQ and LT_INIT for libtool initialization instead of
12299 See https://live.gnome.org/GnomeGoals/ModernAutotools
12301 configure.ac | 19 ++++++-------------
12302 1 file changed, 6 insertions(+), 13 deletions(-)
12304 commit 059d0cb879fe5a7b0296ec21f3bfcb64c8596cb0
12305 Author: Martin Pitt <martinpitt@gnome.org>
12306 Date: Wed Nov 7 16:21:13 2012 +0100
12308 autoupdate configure.ac
12310 Result of "autoupdate", with slight manual beautification.
12312 See https://live.gnome.org/GnomeGoals/ModernAutotools
12314 configure.ac | 21 +++++++++------------
12315 1 file changed, 9 insertions(+), 12 deletions(-)
12317 commit a932446e6648ecd98c9038298b18c6fbd36c01aa
12318 Author: Jose Rostagno <joserostagno@vijona.com.ar>
12319 Date: Mon Nov 5 14:26:05 2012 -0300
12321 pygi-convert: remove deprecated GLib → GObject conversions
12323 Using these functions from the GObject module is deprecated now,
12327 pygi-convert.sh | 5 -----
12328 1 file changed, 5 deletions(-)
12330 commit 21076d4b8f3ec8e253ca236fa3b20b07fde237fe
12331 Author: Simon Feltman <sfeltman@src.gnome.org>
12332 Date: Wed Nov 7 03:49:24 2012 -0800
12334 Use hasattr when testing for __info__ when finding vfuncs
12336 Change gi.types.find_vfunc_info_in_interface to use hasattr
12337 when finding vfuncs. Using '__info__' in __dict__ was skipping
12338 overridden interfaces which don't directly contain the __info__.
12341 1 file changed, 1 insertion(+), 1 deletion(-)
12343 commit 1b5c9b3d1499b3bc59afb297672abc671e175546
12344 Author: Martin Pitt <martinpitt@gnome.org>
12345 Date: Wed Nov 7 12:05:24 2012 +0100
12347 tests: Ensure that the fatal mask is always reset
12349 On test case failures the fatal mask might be left in a wrong state,
12351 with "finally" that it is reset on failed tests as well, to avoid
12355 tests/test_gi.py | 11 ++++++-----
12356 tests/test_overrides_gtk.py | 33 +++++++++++++++++++--------------
12357 tests/test_pygtkcompat.py | 6 ++++--
12358 tests/test_signal.py | 6 ++++--
12359 4 files changed, 33 insertions(+), 23 deletions(-)
12361 commit 463f660cd6bb78ae7f2ea7c70c0491e6b4744942
12362 Author: Simon Feltman <sfeltman@src.gnome.org>
12363 Date: Tue Nov 6 21:34:06 2012 -0800
12365 Replace GObject notify methods with introspection and python
12367 Replace static context managers for freeze_notify and
12368 handler_block with python context managers. Remove notify,
12369 freeze_notify, thaw_notify static methods as the introspection
12370 versions work fine.
12372 https://bugzilla.gnome.org/show_bug.cgi?id=672727
12374 gi/_gobject/pygobject.c | 173
12375 ++----------------------------------------------
12376 gi/overrides/GObject.py | 61 +++++++++++++++--
12377 tests/test_gobject.py | 26 ++++++--
12378 tests/test_signal.py | 13 +++-
12379 4 files changed, 91 insertions(+), 182 deletions(-)
12381 commit 3fcd987272a779e5ee9173a2c3a043b4b7475842
12382 Author: Simon Feltman <sfeltman@src.gnome.org>
12383 Date: Tue Oct 23 13:56:32 2012 -0700
12385 Add support for overriding GObject.Object
12387 Shift pygi module mechanics so the introspection generated 'Object'
12388 class becomes derived from the static GObject class. Add initial
12389 GObject.Object override which sets all static methods back essentially
12390 leapfrogging the introspection methods. This sets the stage for having
12391 the ability to remove static methods piecemeal in favor of
12392 introspection/python in future commits.
12394 https://bugzilla.gnome.org/show_bug.cgi?id=672727
12396 gi/module.py | 30 +++++++++++---------
12397 gi/overrides/GObject.py | 74
12398 ++++++++++++++++++++++++++++++++++++++++++++++++
12399 gi/pygobject-external.h | 10 +------
12400 gi/types.py | 7 +++++
12401 tests/test_gobject.py | 31 ++++++++++++++++----
12402 tests/testhelpermodule.c | 2 +-
12403 6 files changed, 126 insertions(+), 28 deletions(-)
12405 commit 4da6f93d86b104941c5533c3da5edb4a00ec62e9
12406 Author: Martin Pitt <martinpitt@gnome.org>
12407 Date: Tue Nov 6 13:55:21 2012 +0100
12409 Bump glib dependency to >= 2.34.2
12411 We need 2.34.2 or 2.35.2 as we now depend on the GIOChannel annotation
12415 configure.ac | 4 ++--
12416 2 files changed, 3 insertions(+), 3 deletions(-)
12418 commit 85c8dd7a9bc81fb5df5abc6d8a95f966955ec775
12419 Author: Martin Pitt <martinpitt@gnome.org>
12420 Date: Tue Nov 6 11:28:42 2012 +0100
12424 Point to python-hackers-list instead of the old pygtk list, update
12426 versions, and point to wiki page and IRC.
12428 README | 19 ++++++++++---------
12429 1 file changed, 10 insertions(+), 9 deletions(-)
12431 commit 6d8b29ba56fb085948a155c75af36dcea9c71da8
12432 Author: Martin Pitt <martinpitt@gnome.org>
12433 Date: Tue Nov 6 11:21:32 2012 +0100
12435 Add --with-python configure option
12437 This behaves like setting $PYTHON, but also works in build systems
12439 which do not support setting environment variables.
12441 Update README accordingly.
12443 README | 15 +++++++++------
12444 configure.ac | 43 ++++++++++++++++++++++++++++++++++---------
12445 2 files changed, 43 insertions(+), 15 deletions(-)
12447 commit 4e5556a5238a3b86da9a0e40fd0e23004ed6af75
12448 Author: Martin Pitt <martinpitt@gnome.org>
12449 Date: Tue Nov 6 10:39:27 2012 +0100
12451 python.m4: Add python3.3, do not prefer unversioned "python"
12453 Add python 3.3 to the search list.
12455 http://www.python.org/dev/peps/pep-0394/ broke the well-defined
12457 "python", so use that as last fallback if more specific versions do
12460 configure.ac | 2 +-
12461 m4/python.m4 | 2 +-
12462 2 files changed, 2 insertions(+), 2 deletions(-)
12464 commit e71c046ed8f5b06e6b7383ddc0fc18f06de6abee
12465 Author: Martin Pitt <martinpitt@gnome.org>
12466 Date: Tue Nov 6 09:48:50 2012 +0100
12468 m4: Update py-compile to current upstream version
12470 Update py-compile to current versions from automake 1.11.6.
12473 +++++++++++++++++++++++++++++++++++------------------------
12474 1 file changed, 48 insertions(+), 33 deletions(-)
12476 commit 8406b39f4e9ff98e0d59e880dde3ddb5e5131726
12477 Author: Martin Pitt <martinpitt@gnome.org>
12478 Date: Tue Nov 6 09:57:00 2012 +0100
12480 m4: Update introspection.m4 to current upstream version
12482 m4/introspection.m4 | 4 ++++
12483 1 file changed, 4 insertions(+)
12485 commit 4ffa61b7c39cf038440dc9acfe8d214c9b77c3a6
12486 Author: Martin Pitt <martinpitt@gnome.org>
12487 Date: Tue Nov 6 09:53:15 2012 +0100
12489 option.py: Fix PEP-8 error
12491 gi/_glib/option.py | 2 +-
12492 1 file changed, 1 insertion(+), 1 deletion(-)
12494 commit 2cbb54e79c23b96486d4a2bfa170460df5bd6c84
12495 Author: Simon Feltman <sfeltman@src.gnome.org>
12496 Date: Mon Nov 5 18:27:56 2012 -0800
12498 Remove DynamicGLibModule and DynamicGObjectModule
12500 Move final bits of _glib static binding imports directly into
12501 the GLib override. Change _glib/option use the .so directly
12502 rather than the staged variables in _glib/__init__.py.
12503 Remove DynamicGLibModule and DynamicGObjectModule and update
12506 https://bugzilla.gnome.org/show_bug.cgi?id=687488
12508 gi/_glib/__init__.py | 11 ----------
12509 gi/_glib/option.py | 16 +++++++-------
12510 gi/importer.py | 12 ++---------
12512 ----------------------------------------------------
12513 gi/overrides/GLib.py | 14 ++++++++++++
12514 tests/test_gi.py | 9 ++------
12515 6 files changed, 26 insertions(+), 96 deletions(-)
12517 commit 901c1b6e3722a9cd999e4948297e2c460f101d20
12518 Author: Daniel Drake <dsd@laptop.org>
12519 Date: Thu Nov 1 14:46:22 2012 +0000
12521 Fix property lookup in class hierarchy
12523 Commit 4bfe7972546413f46f5c36737ff03bb5612c1921 introduced a bug where
12524 a Python subclass of a gi-provided base class overrides a property
12528 The new behaviour in the above commit causes pygobject to seek
12530 in the base class and try to read it from there (resulting in
12532 rather than noticing that the property is overridden and present
12534 Python object instance.
12536 To provide a nicer solution here, we can exploit the fact that
12537 g_object_class_find_property() will traverse the hierarchy in order to
12538 find the right GParamSpec, and the returned GParamSpec can tell
12540 which GType introduces the property. The strategy is:
12542 1. Find pspec with g_object_class_find_property()
12543 2. Find the class that owns that property (pspec->owner_type)
12544 3. See if girepository owns that class.
12545 3a. If yes, get property from there.
12546 3b. If not, get property "directly"
12548 And the same for property setting.
12550 Now that _pygi_lookup_property_from_g_type is always passed the
12552 implements the property, it no longer has to go recursing through
12554 classes, which was the original cause of confusion.
12556 https://bugzilla.gnome.org/show_bug.cgi?id=686942
12558 gi/_gobject/pygobject.c | 92 +++++++++++++++++++++++----------
12559 gi/pygi-property.c | 130
12560 ++++++++++++++++++++++-------------------------
12561 gi/pygi-property.h | 4 +-
12562 gi/pygi.h | 12 ++---
12563 tests/test_properties.py | 30 +++++++++++
12564 5 files changed, 164 insertions(+), 104 deletions(-)
12566 commit efcb0f9fda65e24ae98438d61487d06db9eac1b1
12567 Author: Martin Pitt <martinpitt@gnome.org>
12568 Date: Sat Nov 3 16:14:01 2012 +0100
12570 Move property and signal creation into _class_init()
12572 We must not add class interfaces after g_type_class_ref() has been
12574 first time. Move signal and property creation from pyg_type_register()
12576 pyg_object_class_init(), and drop the hack of registering interfaces
12579 This changed class initialization order now exposes GLib's warning
12581 unknown signals, so adjust
12582 test_signal.TestGSignalsError.test_invalid_name() to
12585 https://bugzilla.gnome.org/show_bug.cgi?id=686149
12587 gi/_gobject/gobjectmodule.c | 177
12588 ++++++++++++++++++--------------------------
12589 tests/test_signal.py | 6 +-
12590 2 files changed, 75 insertions(+), 108 deletions(-)
12592 commit 655a5002ffaa088b775adbc59e5125444f7bc1ca
12593 Author: Jose Rostagno <joserostagno@vijona.com.ar>
12594 Date: Sat Nov 3 13:21:52 2012 -0300
12596 Remove unused macro definitions
12598 PYGLIB_*_VERSION are not used anywhere any more, remove those.
12599 (dropped in commit 8d52bceb1)
12601 gi/_glib/glibmodule.c | 5 -----
12602 1 file changed, 5 deletions(-)
12604 commit fa054fd15b8874760bee97d9af168a2969e6ece4
12605 Author: Martin Pitt <martinpitt@gnome.org>
12606 Date: Mon Nov 5 14:38:07 2012 +0100
12608 testhelpermodule.c: Drop obsolete g_thread_init()
12610 We already require a new enough glib version as we dropped
12612 the main code a long time ago. But for formality's sake, bump glib
12616 configure.ac | 4 ++--
12617 tests/testhelpermodule.c | 1 -
12618 2 files changed, 2 insertions(+), 3 deletions(-)
12620 commit 2e57530a27a44e94927d487cf2f2d9e543777654
12621 Author: Martin Pitt <martinpitt@gnome.org>
12622 Date: Mon Nov 5 14:37:11 2012 +0100
12624 pygi-source.c: Drop dead code
12626 gi/pygi-source.c | 2 --
12627 1 file changed, 2 deletions(-)
12629 commit 2a24c9ccd59bff719fa817a0ec5c959f6da03e1c
12630 Author: Simon Feltman <sfeltman@src.gnome.org>
12631 Date: Sun Nov 4 22:22:53 2012 -0800
12633 Move TYPE constants from _gobject to GObject
12635 Clear out TYPE constants from _gobject/__init__.py and move them
12637 GObject overrides. Disperse class imports among modules that use
12639 of using _gobject/__init__.py as a staging area (e.g. GInterface).
12641 https://bugzilla.gnome.org/show_bug.cgi?id=687487
12643 gi/_gobject/__init__.py | 30 ------------------------------
12644 gi/_gobject/constants.py | 2 +-
12645 gi/module.py | 38 +++++++++++++++++++++++++-------------
12646 gi/overrides/__init__.py | 9 ++++++---
12647 gi/types.py | 10 ++++++----
12648 5 files changed, 38 insertions(+), 51 deletions(-)
12650 commit c2aa6f0d0ed4c4e60f081b106dc7a65513963fce
12651 Author: Martin Pitt <martinpitt@gnome.org>
12652 Date: Mon Nov 5 13:10:05 2012 +0100
12654 Move G_MIN/MAX constants into GObject overrides
12656 These really ought to come from GLib's typelib, but are not right
12658 need to keep the static bindings for those. But drop them from
12660 move them into the overrides where they belong.
12662 gi/_gobject/__init__.py | 17 -----------------
12663 gi/_gobject/constants.py | 21 ---------------------
12664 gi/_gobject/propertyhelper.py | 2 +-
12665 gi/overrides/GObject.py | 9 +++++++++
12666 tests/test_gi.py | 32 ++++++++++++++++----------------
12667 5 files changed, 26 insertions(+), 55 deletions(-)
12669 commit 12b84727edc36f686a7031b5c4c6bf662838908d
12670 Author: Martin Pitt <martinpitt@gnome.org>
12671 Date: Mon Nov 5 11:04:54 2012 +0100
12673 Replace static OPTION_* constants with GI
12675 Drop static definitions of GLib.OPTION_* constants and use the ones
12679 https://bugzilla.gnome.org/show_bug.cgi?id=686765
12681 gi/_glib/__init__.py | 13 -------------
12682 gi/_glib/glibmodule.c | 32 --------------------------------
12683 gi/_glib/option.py | 46
12684 ++++++++++++++++++++++++----------------------
12685 gi/overrides/GLib.py | 13 +++++++++++++
12686 gi/overrides/GObject.py | 2 +-
12687 5 files changed, 38 insertions(+), 68 deletions(-)
12689 commit 7372e3c9ecb8e836894c32975eab8c4107ba0b28
12690 Author: Martin Pitt <martinpitt@gnome.org>
12691 Date: Mon Nov 5 10:14:52 2012 +0100
12693 tests: Do not use deprecated assertRaisesRegexp()
12695 Use assertRaisesRegex() instead and provide 2.7 compatibility in
12698 tests/runtests.py | 3 +++
12699 tests/test_signal.py | 8 ++++----
12700 2 files changed, 7 insertions(+), 4 deletions(-)
12702 commit da2106902eb3dabebdff1674743cb3040566a745
12703 Author: Simon Feltman <sfeltman@src.gnome.org>
12704 Date: Sun Nov 4 02:57:29 2012 -0800
12706 Move gobject static functions and constants to gi
12708 Replace the following functions with gi and overrides:
12709 type_children, type_interfaces, signal_list_ids, signal_list_names,
12710 signal_lookup, signal_name, type_parent. Assign SIGNAL_* and
12711 PARAM_* from gi SignalFlags and ParamFlags respectively.
12712 Move module level assignments of a number of static functions to
12713 the GObject.py overrides file.
12715 https://bugzilla.gnome.org/show_bug.cgi?id=687487
12717 docs/reference/pygobject-functions.xml | 25 ---
12718 gi/_gobject/__init__.py | 72 +--------
12719 gi/_gobject/gobjectmodule.c | 272
12720 ---------------------------------
12721 gi/overrides/GObject.py | 208 ++++++++++++++++++++++++-
12722 gi/overrides/__init__.py | 5 +-
12723 tests/test_signal.py | 11 +-
12724 6 files changed, 215 insertions(+), 378 deletions(-)
12726 commit f4acd6a9d14248d459708f61fd01f6d4735f087d
12727 Author: Simon Feltman <sfeltman@src.gnome.org>
12728 Date: Sun Nov 4 02:52:19 2012 -0800
12730 Make unitests for gobject functions moving to gi more strict
12732 Add expected failure test for invalid SystemError's coming from
12733 signal_lookup and signal_list_ids. Remove excessive type_name
12734 tests and type_from_name tests.
12736 https://bugzilla.gnome.org/show_bug.cgi?id=687487
12738 tests/test_gtype.py | 53
12739 ----------------------------------------------------
12740 tests/test_signal.py | 40 ++++++++++++++++++++++++---------------
12741 2 files changed, 25 insertions(+), 68 deletions(-)
12743 commit 3267808318b284814e52f2803b17af56fca648ad
12744 Author: Martin Pitt <martinpitt@gnome.org>
12745 Date: Sat Nov 3 14:17:25 2012 +0100
12747 [API change] Remove static filename_from_utf8() binding
12749 Replace static GLib.filename_from_utf8() with GI. The old static
12751 tried to convert the result to an Unicode object, which will fail
12753 is not UTF-8 encoded (which is the whole point of this function
12757 Although the static binding was rather useless before, this is
12761 docs/reference/pyglib-functions.xml | 32 --------------------------------
12762 gi/_glib/__init__.py | 1 -
12763 gi/_glib/glibmodule.c | 26 --------------------------
12764 gi/_gobject/__init__.py | 1 -
12765 gi/overrides/GLib.py | 8 ++++++++
12766 gi/overrides/GObject.py | 3 ++-
12767 tests/test_glib.py | 8 ++++++++
12768 7 files changed, 18 insertions(+), 61 deletions(-)
12770 commit 8d52bceb1e0aa0dc79cf77f36dda9f953f170459
12771 Author: Martin Pitt <martinpitt@gnome.org>
12772 Date: Sat Nov 3 13:14:15 2012 +0100
12774 Drop static glib_version and pyglib_version constants
12776 Use the GLib version from GI instead, and the already existing
12779 docs/reference/pyglib-constants.xml | 50
12780 ----------------------------------
12781 docs/reference/pygobject-constants.xml | 19 -------------
12782 gi/_glib/__init__.py | 2 --
12783 gi/_glib/glibmodule.c | 21 --------------
12784 gi/_gobject/__init__.py | 1 -
12785 gi/overrides/GLib.py | 8 +++++-
12786 gi/overrides/GObject.py | 3 +-
12787 tests/test_glib.py | 12 ++++++++
12788 8 files changed, 21 insertions(+), 95 deletions(-)
12790 commit 9f96325e75f7c5f88789ea3f74a068e73cfde1a2
12791 Author: Martin Pitt <martinpitt@gnome.org>
12792 Date: Sat Nov 3 12:12:44 2012 +0100
12794 Drop static G_MININT8 and related constants
12796 Use the introspected constants from GLib instead.
12798 gi/_gobject/__init__.py | 12 ------------
12799 gi/_gobject/constants.py | 12 ------------
12800 gi/_gobject/gobjectmodule.c | 18 +-----------------
12801 gi/overrides/GObject.py | 17 +++++++++++++++++
12802 tests/test_gobject.py | 4 ++++
12803 5 files changed, 22 insertions(+), 41 deletions(-)
12805 commit 3354c4eda0f098d1a8f744264ef9a2565a38b50d
12806 Author: Martin Pitt <martinpitt@gnome.org>
12807 Date: Sat Nov 3 11:58:40 2012 +0100
12809 test_gobject: Add test case for min/max int constants
12811 Related to https://bugzilla.gnome.org/show_bug.cgi?id=685022
12813 tests/test_gobject.py | 9 +++++++++
12814 1 file changed, 9 insertions(+)
12816 commit d70cb32789e057fe5a16e61a0cce77d9c54a3ee1
12817 Author: Jose Rostagno <joserostagno@vijona.com.ar>
12818 Date: Sat Oct 27 15:37:32 2012 -0300
12820 Use g_object_info_find_signal()
12822 Replace our custom code with a call to the corresponding
12823 gobject-instrospection
12826 https://bugzilla.gnome.org/show_bug.cgi?id=687371
12828 gi/pygi-signal-closure.c | 21 ++++-----------------
12829 1 file changed, 4 insertions(+), 17 deletions(-)
12831 commit ae6d0aada9587cd4dca168375527b80785b604a0
12832 Author: Martin Pitt <martinpitt@gnome.org>
12833 Date: Sat Nov 3 11:23:06 2012 +0100
12835 GLib overrides: code cleanup
12837 Factorize the logic to handle zero or multiple user_data arguments
12839 user_data_varargs_shim(), and put code that handles deprecated API
12841 corresponding "then" branches, to improve readability.
12843 gi/overrides/GLib.py | 87
12844 ++++++++++++++++++++++++++++------------------------
12845 1 file changed, 47 insertions(+), 40 deletions(-)
12847 commit d7f095b01e7208273703c880f4f0dfcc1a152a9a
12848 Author: Martin Pitt <martinpitt@gnome.org>
12849 Date: Sat Nov 3 09:33:08 2012 +0100
12851 Restore actual GLib API after previous fix
12853 Re-fix the acceptance of priority as first argument for idle_add(),
12854 io_add_watch() and timeout_add(), as that is the real GLib API. Ensure
12856 this keeps supporting the backwards compatible API with supplying
12860 https://bugzilla.gnome.org/show_bug.cgi?id=687047
12862 gi/overrides/GLib.py | 117
12863 +++++++++++++++++++++++++-----------------------
12864 tests/test_iochannel.py | 74 +++++++++++++++++++++++++++---
12865 tests/test_source.py | 30 +++++++++++++
12866 3 files changed, 158 insertions(+), 63 deletions(-)
12868 commit 648b653d85bf3bc28dc59c6d309f15d388076af9
12869 Author: Simon Feltman <sfeltman@src.gnome.org>
12870 Date: Fri Nov 2 21:01:38 2012 -0700
12872 Add unittests for module level type and signal functions
12874 Add tests for the following methods: signal_list_ids,
12875 signal_name, signal_lookup, signal_query, type_children,
12876 type_from_name, type_name, type_is_a, and type_interfaces.
12878 https://bugzilla.gnome.org/show_bug.cgi?id=687487
12880 tests/Makefile.am | 1 +
12881 tests/test_gtype.py | 106
12882 +++++++++++++++++++++++++++++++++++++++++++++++++++
12883 tests/test_signal.py | 43 +++++++++++++++++++++
12884 3 files changed, 150 insertions(+)
12886 commit 80db2a50feab9898d7c5f88ea27aadc3dfb5bec3
12887 Author: Simon Feltman <sfeltman@src.gnome.org>
12888 Date: Tue Oct 30 18:33:44 2012 -0700
12890 Fix GLib override incompatibilities with old static API
12892 Change idle_add, timeout_add, timeout_add_seconds, and
12893 io_add_watch to accept *args and **kwargs as arguments
12894 to the callback functions instead of only accepting a single
12895 user_data arg. This ensures the new overridden introspection
12896 methods are backwards compatible with the static versions
12899 https://bugzilla.gnome.org/show_bug.cgi?id=687047
12901 gi/overrides/GLib.py | 98
12902 ++++++++++++++++++++++++++++---------------------
12903 tests/test_iochannel.py | 37 +++++++++++++++++--
12904 2 files changed, 90 insertions(+), 45 deletions(-)
12906 commit 9c6399bbf75c312b1ef4933d079712ea5b05a935
12907 Author: Simon Feltman <sfeltman@src.gnome.org>
12908 Date: Tue Oct 30 12:01:44 2012 -0700
12910 Fix IOChannel unittests for python 2.7
12912 Use __future__ unicode_literals to minimize difference
12913 between python 2.7 and 3. Comparisons need to encode arguments as
12914 'UTF-8' for testing readline operations.
12915 Add backwards compatible "next" to support the python 2.7 iteration.
12916 Change isinstance(channel, file) to hasattr(channel, 'fileno') to
12917 support all python versions (and duck typing).
12919 https://bugzilla.gnome.org/show_bug.cgi?id=687047
12921 gi/overrides/GLib.py | 4 +++-
12922 tests/test_iochannel.py | 1 +
12923 2 files changed, 4 insertions(+), 1 deletion(-)
12925 commit 0f94a0a4ebd2bbfd06d8f9a2bb2b17dabf7678ef
12926 Author: Martin Pitt <martinpitt@gnome.org>
12927 Date: Mon Oct 29 23:00:31 2012 +0100
12929 Allow calling io_add_watch with a file object
12931 The old static bindings allowed that, so we need to allow it to
12933 backwards compatibility. Deprecate this mode as well, so that we
12937 https://bugzilla.gnome.org/show_bug.cgi?id=687047
12939 gi/overrides/GLib.py | 7 +++++++
12940 tests/test_glib.py | 26 ++++++++++++++++++++++++++
12941 2 files changed, 33 insertions(+)
12943 commit 3ba67fd41944309077eb81c4c03397519ed29dc4
12944 Author: John Ralls <jralls@ceridwen.us>
12945 Date: Mon Oct 29 14:57:22 2012 -0700
12947 Fix duplicate symbols error on OSX
12949 gi/pygi-source.c | 1 +
12950 1 file changed, 1 insertion(+)
12952 commit 5a367aa067e369f2b1e713199614e3426fecc10e
12953 Author: Martin Pitt <martinpitt@gnome.org>
12954 Date: Sun Oct 28 17:42:34 2012 +0100
12956 Drop removed markup-escape-text() from reference documentation
12958 docs/reference/pyglib-functions.xml | 36
12959 ------------------------------------
12960 1 file changed, 36 deletions(-)
12962 commit 057b3d3791e6f1947004f2482c0ae40529de03ae
12963 Author: Martin Pitt <martinpitt@gnome.org>
12964 Date: Sun Oct 28 17:41:03 2012 +0100
12966 Drop some dead code from gi/_glib/glibmodule.c
12968 gi/_glib/glibmodule.c | 45 ---------------------------------------------
12969 1 file changed, 45 deletions(-)
12971 commit 7b12803bce3418bb487127f497f022c973f35888
12972 Author: Martin Pitt <martinpitt@gnome.org>
12973 Date: Sun Oct 28 17:37:29 2012 +0100
12975 Remove static get_current_time() binding
12977 Use GLib.get_real_time() through GI instead. Deprecate the function,
12979 GLib.get_real_time() should be called directly.
12981 docs/reference/pyglib-functions.xml | 26 --------------------------
12982 gi/_glib/__init__.py | 1 -
12983 gi/_glib/glibmodule.c | 11 -----------
12984 gi/_glib/pyglib.c | 16 ----------------
12985 gi/_glib/pyglib.h | 1 -
12986 gi/_gobject/__init__.py | 1 -
12987 gi/overrides/GLib.py | 8 ++++++++
12988 gi/overrides/GObject.py | 2 +-
12989 tests/test_glib.py | 6 +++++-
12990 9 files changed, 14 insertions(+), 58 deletions(-)
12992 commit b3dfb780b3a74f6933e3afcd2ba512b36dfbe514
12993 Author: Martin Pitt <martinpitt@gnome.org>
12994 Date: Sun Oct 28 17:23:23 2012 +0100
12996 Add more tests for GLib.spawn_async()
12998 Check spawn_async() with getting stdin/out/err pipes and specifying
13001 tests/test_subprocess.py | 29 +++++++++++++++++++++++++++++
13002 1 file changed, 29 insertions(+)
13004 commit 70d78eee4a04dcaefea4615fe351e33fa717dffa
13005 Author: Martin Pitt <martinpitt@gnome.org>
13006 Date: Sun Oct 28 14:15:05 2012 +0100
13008 Remove static child_add_watch() binding
13010 Use the GLib API through GI instead, and provide override to keep
13012 compatible API. Also allow using the actual GLib API, and deprecate
13014 static API of calling without a priority as first argument.
13016 docs/reference/pyglib-functions.xml | 61 ---------------------------
13017 gi/_glib/__init__.py | 1 -
13018 gi/_glib/glibmodule.c | 72 -------------------------------
13019 gi/_gobject/__init__.py | 1 -
13020 gi/overrides/GLib.py | 46 ++++++++++++++++++++
13021 gi/overrides/GObject.py | 2 +-
13022 tests/test_mainloop.py | 2 +-
13023 tests/test_subprocess.py | 84
13024 ++++++++++++++++++++++++++++++++++---
13025 8 files changed, 127 insertions(+), 142 deletions(-)
13027 commit 4b16427714b850e33c6020d8de1833bae19a3b87
13028 Author: Martin Pitt <martinpitt@gnome.org>
13029 Date: Sun Oct 28 13:44:23 2012 +0100
13031 test_subprocess: Cover more child_watch_add() cases
13033 Verify that priority is set correctly, and also test calling without
13036 tests/test_subprocess.py | 24 +++++++++++++++++++-----
13037 1 file changed, 19 insertions(+), 5 deletions(-)
13039 commit 83ff5938612d37d52f112867a472777dd6786d69
13040 Author: Colin Walters <walters@verbum.org>
13041 Date: Sat Oct 27 12:22:53 2012 -0400
13043 gi/__init__.py: Pacify pep8 style checker
13045 It was complaining about finding only 1 blank line. Regression
13046 likely introduced by f976d05b.
13048 https://bugzilla.gnome.org/show_bug.cgi?id=686991
13050 gi/__init__.py | 1 +
13051 1 file changed, 1 insertion(+)
13053 commit f976d05b04f26e733d19988e68989e340eb3a29e
13054 Author: Martin Pitt <martinpitt@gnome.org>
13055 Date: Fri Oct 26 10:39:28 2012 +0200
13057 Use a custom deprecation warning to make them visible by default
13059 DeprecationWarning is not shown by default, and is thus rather
13061 developers. Use a custom PyGIDeprecationWarning class and derive
13063 RuntimeWarning to make it visible.
13065 gi/__init__.py | 5 +++++
13066 gi/overrides/GLib.py | 5 +++--
13067 gi/overrides/Gtk.py | 5 +++--
13068 gi/overrides/__init__.py | 4 ++--
13069 gi/pygtkcompat.py | 4 ++--
13070 tests/Makefile.am | 2 +-
13071 tests/test_glib.py | 5 +++--
13072 tests/test_gobject.py | 3 ++-
13073 tests/test_iochannel.py | 5 +++--
13074 tests/test_source.py | 3 ++-
13075 10 files changed, 26 insertions(+), 15 deletions(-)
13077 commit 366f5d2d3902c6293d0031e0b7dc5d6641a05ac7
13078 Author: Martin Pitt <martinpitt@gnome.org>
13079 Date: Fri Oct 26 09:26:17 2012 +0200
13081 Remove static io_add_watch() binding
13083 Use the GLib API through GI instead, and provide override to keep
13085 compatible API. Also allow using the actual GLib API, and deprecate
13088 - calling with an fd as first argument instead of an IOChannel
13089 - calling without a priority as second argument
13091 docs/reference/pyglib-functions.xml | 106
13092 ------------------------------------
13093 gi/_glib/__init__.py | 1 -
13094 gi/_glib/glibmodule.c | 98
13095 ---------------------------------
13096 gi/_gobject/__init__.py | 1 -
13097 gi/overrides/GLib.py | 51 ++++++++++++++---
13098 gi/overrides/GObject.py | 3 +-
13099 tests/test_glib.py | 15 ++++-
13100 tests/test_iochannel.py | 70 +++++++++++++++++++++++-
13101 8 files changed, 126 insertions(+), 219 deletions(-)
13103 commit 284de1eb5c37a3f6caa7d846dbd439f1eac410a2
13104 Author: Martin Pitt <martinpitt@gnome.org>
13105 Date: Fri Oct 26 08:48:35 2012 +0200
13107 Add tests for GLib.io_add_watch()
13109 tests/test_glib.py | 36 ++++++++++++++++++++++++++++++++++++
13110 1 file changed, 36 insertions(+)
13112 commit 15e717ce2c2a26c02c913f79bc7cf6876d943e92
13113 Author: Martin Pitt <martinpitt@gnome.org>
13114 Date: Thu Oct 25 15:55:46 2012 +0200
13116 Remove static GIOChannel bindings
13118 Use the GLib API through GI instead, and provide overrides to keep
13120 compatible API, including its bugs.
13122 We still need to keep a static wrapper around
13123 g_io_channel_read_chars() until
13124 we teach PyGObject to correctly handle caller allocated out array
13127 https://bugzilla.gnome.org/show_bug.cgi?id=686795
13129 gi/_glib/Makefile.am | 2 -
13130 gi/_glib/__init__.py | 1 -
13131 gi/_glib/glibmodule.c | 2 -
13132 gi/_glib/pygiochannel.c | 748
13133 ------------------------------------------------
13134 gi/_glib/pygiochannel.h | 29 --
13135 gi/_gobject/__init__.py | 1 -
13136 gi/gimodule.c | 72 +++++
13137 gi/overrides/GLib.py | 95 +++++-
13138 8 files changed, 161 insertions(+), 789 deletions(-)
13140 commit 0bfa6b44b808d9f8f55199216c29c1aec96c7719
13141 Author: Martin Pitt <martinpitt@gnome.org>
13142 Date: Thu Oct 25 12:59:46 2012 +0200
13144 test_iochannel.py: Fix data type of IOFlags
13146 ~GLib.IOFlags.NONBLOCK yields an int instead of a GLib.IOFlags,
13148 the result is of type GLib.IOFlags again.
13150 tests/test_iochannel.py | 2 +-
13151 1 file changed, 1 insertion(+), 1 deletion(-)
13153 commit 25d12afd06863ce223a161ba1317bfe5503bca5c
13154 Author: Martin Pitt <martinpitt@gnome.org>
13155 Date: Thu Oct 25 08:24:31 2012 +0200
13157 Add environment variable to disable pep8 checks
13159 pep8 takes quite long for "make check". Skip it if $SKIP_PEP8 is
13161 makes the test/fix turnaround time faster.
13163 tests/Makefile.am | 6 ++++--
13164 1 file changed, 4 insertions(+), 2 deletions(-)
13166 commit e9624ed1d38c777de2b430e3b0fbae2acbf34956
13167 Author: Simon Feltman <sfeltman@src.gnome.org>
13168 Date: Wed Oct 24 04:31:26 2012 -0700
13170 [API add] Add get_introspection_module for getting un-overridden
13173 Add gi.module.get_introspection_module to explicitly get a
13174 wrapped module pulled in through introspection without static
13175 and python override handling. This API is intended for python
13176 overrides to use rather than having them access
13177 gi.importer.modules['<name>']._introspection_module directly.
13178 Replace aforementioned usage in all overrides.
13180 https://bugzilla.gnome.org/show_bug.cgi?id=686828
13183 +++++++++++++++++++++++++++++++++++---
13184 gi/overrides/GIMarshallingTests.py | 4 ++--
13185 gi/overrides/GLib.py | 4 ++--
13186 gi/overrides/Gdk.py | 6 +++---
13187 gi/overrides/Gio.py | 4 ++--
13188 gi/overrides/Gtk.py | 5 +++--
13189 gi/overrides/Pango.py | 4 ++--
13190 tests/test_overrides.py | 29 +++++++++++++++++++++++++++++
13191 8 files changed, 78 insertions(+), 16 deletions(-)
13193 commit e6e047ef9b8575c852b3cdc3f5d4dfbb548cc648
13194 Author: Martin Pitt <martinpitt@gnome.org>
13195 Date: Wed Oct 24 15:16:13 2012 +0200
13197 test_option: Use public API
13199 Use GLib.option, not gi._glib.option.
13201 tests/test_option.py | 42 ++++++++++++++++++++----------------------
13202 1 file changed, 20 insertions(+), 22 deletions(-)
13204 commit 6a586af41b8740c4ba590591d1068d80071ff2dc
13205 Author: Martin Pitt <martinpitt@gnome.org>
13206 Date: Wed Oct 24 14:12:05 2012 +0200
13208 Drop static SPAWN_* constants
13210 Use the introspected constants instead, which are identical. Add
13212 compatible aliases.
13214 These constants are covered by tests/test_subprocess.py.
13216 https://bugzilla.gnome.org/show_bug.cgi?id=686765
13218 docs/reference/pyglib-constants.xml | 68
13219 ----------------------------------
13220 docs/reference/pyglib-functions.xml | 26 ++++++-------
13221 docs/reference/pygobject-constants.xml | 67
13222 ---------------------------------
13223 gi/_glib/__init__.py | 7 ----
13224 gi/_glib/glibmodule.c | 15 --------
13225 gi/_gobject/__init__.py | 7 ----
13226 gi/overrides/GLib.py | 6 +++
13227 gi/overrides/GObject.py | 6 ++-
13228 tests/test_subprocess.py | 6 ++-
13229 9 files changed, 29 insertions(+), 179 deletions(-)
13231 commit 0137a7af7bf69421e0c8e94120a1f8cff01fbeea
13232 Author: Martin Pitt <martinpitt@gnome.org>
13233 Date: Wed Oct 24 13:59:31 2012 +0200
13235 Drop static IO_* constants
13237 Use the introspected constants instead, which are identical. Add
13239 compatible aliases.
13241 These constants are covered by tests/test_iochannel.py.
13243 docs/reference/pyglib-constants.xml | 52
13244 -------------------------------------
13245 gi/_glib/__init__.py | 19 --------------
13246 gi/_glib/glibmodule.c | 32 -----------------------
13247 gi/_gobject/__init__.py | 18 -------------
13248 gi/overrides/GLib.py | 18 ++++++++++++-
13249 gi/overrides/GObject.py | 8 +++++-
13250 tests/test_iochannel.py | 1 +
13251 tests/test_source.py | 2 +-
13252 8 files changed, 26 insertions(+), 124 deletions(-)
13254 commit 0e1a6ccee45ae2239da1c44de1866596343165ba
13255 Author: Martin Pitt <martinpitt@gnome.org>
13256 Date: Wed Oct 24 12:50:50 2012 +0200
13258 Fix various bugs in GLib.IOChannel
13260 - Fix segfault when using an IOChannel as an iterator: PyIter_Next()
13262 NULL on the last element, instead of raising a StopIteration.
13264 - The default encoding of a stream is 'UTF-8', not NULL. NULL means
13266 stream is being used in binary mode; in that case, we should not
13268 do any automagic conversion to an Unicode object. As this special
13270 inconsistent and has never worked anyway, and the current buggy
13271 implementation breaks binary streams, just drop it without
13273 (Introduced in commit de9eae4dfcce8)
13275 These bugs were uncovered by the previously committed tests.
13277 gi/_glib/pygiochannel.c | 25 +++++--------------------
13278 1 file changed, 5 insertions(+), 20 deletions(-)
13280 commit a98c37937a4f7cb81a0b02c023d12097f386a22c
13281 Author: Martin Pitt <martinpitt@gnome.org>
13282 Date: Wed Oct 24 12:49:04 2012 +0200
13284 Add tests for GLib.IOChannel
13286 This did not have any code coverage at all. The tests uncover a
13288 which will be fixed in the next commit.
13290 tests/Makefile.am | 1 +
13291 tests/test_iochannel.py | 262
13292 ++++++++++++++++++++++++++++++++++++++++++++++++
13293 2 files changed, 263 insertions(+)
13295 commit 1b27432abf6004553e9476d5ffeb2bf603534419
13296 Author: Martin Pitt <martinpitt@gnome.org>
13297 Date: Wed Oct 24 08:50:37 2012 +0200
13299 Remove static idle_add/timeout_add bindings
13301 Use the GLib functions through GI instead. Add overrides to ensure
13303 arguments continue to work as before, and that callbacks are called
13305 userdata argument if it wasn't specified.
13307 docs/reference/pyglib-functions.xml | 165
13308 ------------------------------------
13309 gi/_glib/__init__.py | 3 -
13310 gi/_glib/glibmodule.c | 139 ------------------------------
13311 gi/_gobject/__init__.py | 3 -
13312 gi/overrides/GLib.py | 31 +++++++
13313 gi/overrides/GObject.py | 3 +-
13314 tests/test_source.py | 19 +++++
13315 7 files changed, 52 insertions(+), 311 deletions(-)
13317 commit 2357f4a0237feabcf6886f2a448aa3f42f6781b9
13318 Author: Martin Pitt <martinpitt@gnome.org>
13319 Date: Wed Oct 24 09:14:57 2012 +0200
13321 Add tests for priority argument of idle_add/timeout_add
13323 There is a potential to treat the priority as user data in a call like
13324 "GLib.idle_add(cb, GLib.PRIORITY_HIGH)". The current static bindings
13326 using a keyword argument for the priority (but silently ignore it
13328 specify both userdata and priority as a positional argument).
13330 Test the correct handling of priority as well.
13332 tests/test_source.py | 63
13333 ++++++++++++++++++++++++++++++++++++++++++++++++----
13334 1 file changed, 59 insertions(+), 4 deletions(-)
13336 commit dceb4d60e210cb1531ad81935733a3f0be0c8edb
13337 Author: Martin Pitt <martinpitt@gnome.org>
13338 Date: Wed Oct 24 08:40:50 2012 +0200
13340 Drop old ChangeLog.pre-2.18
13342 This is ancient by now, quite sizable, and the complete history can
13344 seen in the git log.
13346 ChangeLog.pre-2.18 | 3608
13347 ----------------------------------------------------
13349 2 files changed, 3609 deletions(-)
13351 commit 127ef91f1563caa346bc2ac2adb064487a84e6a0
13352 Author: Martin Pitt <martinpitt@gnome.org>
13353 Date: Wed Oct 24 08:39:05 2012 +0200
13355 Fix PEP-8 whitespace in previous commit
13357 tests/test_source.py | 4 ++++
13358 1 file changed, 4 insertions(+)
13360 commit 0bc0b55be0dae7528c2fc7439d672ad4e417335d
13361 Author: Martin Pitt <martinpitt@gnome.org>
13362 Date: Wed Oct 24 08:33:49 2012 +0200
13364 Add tests for idle_add()/timeout_add with and without user data
13366 This is implicitly spread over various test cases, but let's test
13368 to ensure that the behaviour stays consistent when moving this to GI.
13370 tests/test_source.py | 35 +++++++++++++++++++++++++++++++++++
13371 1 file changed, 35 insertions(+)
13373 commit d0a0332feb7946f4bb6b43211d6fe3ae67e7dba5
13374 Author: Martin Pitt <martinpitt@gnome.org>
13375 Date: Wed Oct 24 08:05:43 2012 +0200
13377 tests: consitent naming style
13379 Stop mixing camel case and underline naming, use the latter
13383 tests/test_gobject.py | 64
13384 +++++++++++++++++++++++------------------------
13385 tests/test_interface.py | 4 +--
13386 tests/test_option.py | 14 +++++------
13387 tests/test_pygtkcompat.py | 32 ++++++++++++------------
13388 tests/test_signal.py | 10 ++++----
13389 tests/test_source.py | 23 ++++++++---------
13390 tests/test_subprocess.py | 2 +-
13391 tests/test_thread.py | 2 +-
13392 tests/test_unknown.py | 2 +-
13393 9 files changed, 76 insertions(+), 77 deletions(-)
13395 commit 4b460e2eb18b8340fe99252063fdb08b0c222968
13396 Author: Martin Pitt <martinpitt@gnome.org>
13397 Date: Wed Oct 24 07:28:10 2012 +0200
13399 Work around wrong 64 bit constants in GLib Gir
13401 GLib's gir currently has wrong constants for MININT64 and MAXUINT64;
13403 set them in an override, until this gets fixed properly.
13405 https://bugzilla.gnome.org/show_bug.cgi?id=685022
13407 gi/overrides/GLib.py | 8 ++++++++
13408 tests/test_gi.py | 9 +++++++++
13409 2 files changed, 17 insertions(+)
13411 commit f30efd2619911c89ca873fac6bec06a1b60fab82
13412 Author: Martin Pitt <martinpitt@gnome.org>
13413 Date: Tue Oct 23 13:32:14 2012 +0200
13415 Mark GLib.Source.get_current_time() as deprecated
13417 This method has been deprecated in GLib long ago. We have a workaround
13418 implementation using GLib.get_real_time(), but eventually this should
13421 gi/overrides/GLib.py | 5 ++++-
13422 tests/test_source.py | 8 +++++++-
13423 2 files changed, 11 insertions(+), 2 deletions(-)
13425 commit 483c86267f2623eaa88d6a9e685c96ec3ba4f121
13426 Author: Martin Pitt <martinpitt@gnome.org>
13427 Date: Tue Oct 23 08:56:19 2012 +0200
13429 Mark GLib API that is exposed in GObject as deprecated
13431 A lot of API in GObject really belongs into GLib and is just there for
13432 historical/backwards compatible reasons. Mark these methods as
13434 that at some point we can drop them.
13436 gi/overrides/GObject.py | 3 ++-
13437 gi/overrides/__init__.py | 13 +++++++++++++
13438 tests/test_gobject.py | 24 ++++++++++++++----------
13439 3 files changed, 29 insertions(+), 11 deletions(-)
13441 commit 191cf45af44850fc29f2392ae2f0042aed6d13a9
13442 Author: Martin Pitt <martinpitt@gnome.org>
13443 Date: Fri Oct 19 09:55:05 2012 +0200
13445 Remove static MainLoop, MainContext, and some GSource bindings
13447 glib's MainLoop and MainContext are fully introspectable these days,
13449 our static bindings. This reduces our code, as well enables GLib
13451 hasn't been available through the static bindings before.
13453 This also requires dropping our custom static types for GLib Source,
13455 and Idle. The latter two work fine with introspection and just
13457 overrides for a backwards compatible API. g_source_new() is not
13459 though, so we need to keep our static wrappers for that. Move
13461 gi/_glib/pygsource.c to gi/pygi-source.c, so that it can use the
13464 Note that gi/_glib/pygsource.[hc] is still required for the static
13466 which is used by the static IOChannel binding. Once the latter
13468 PollFD can be dropped as well.
13470 https://bugzilla.gnome.org/show_bug.cgi?id=686443
13472 docs/Makefile.am | 6 +-
13473 docs/reference/pyglib-classes.xml | 2 -
13474 docs/reference/pyglib-constants.xml | 53 ---
13475 docs/reference/pyglib-functions.xml | 58 ---
13476 docs/reference/pyglib-maincontext.xml | 152 --------
13477 docs/reference/pyglib-mainloop.xml | 202 -----------
13478 gi/Makefile.am | 2 +
13479 gi/_glib/Makefile.am | 4 -
13480 gi/_glib/__init__.py | 12 -
13481 gi/_glib/glibmodule.c | 45 +--
13482 gi/_glib/pyglib.c | 15 -
13483 gi/_glib/pyglib.h | 1 -
13484 gi/_glib/pygmaincontext.c | 126 -------
13485 gi/_glib/pygmaincontext.h | 40 ---
13486 gi/_glib/pygmainloop.c | 362 -------------------
13487 gi/_glib/pygmainloop.h | 36 --
13488 gi/_glib/pygsource.c | 640
13489 ----------------------------------
13490 gi/_glib/pygsource.h | 3 -
13491 gi/_gobject/__init__.py | 13 -
13492 gi/gimodule.c | 9 +
13493 gi/overrides/GLib.py | 116 +++++-
13494 gi/overrides/GObject.py | 10 +-
13495 gi/pygi-private.h | 1 +
13496 gi/pygi-source.c | 247 +++++++++++++
13497 gi/pygi-source.h | 31 ++
13498 tests/test_glib.py | 22 +-
13499 tests/test_gobject.py | 2 +
13500 tests/test_source.py | 3 -
13501 28 files changed, 437 insertions(+), 1776 deletions(-)
13503 commit 326218a20681c1f2234a6eea1ed800382be57626
13504 Author: Simon Feltman <s.feltman@gmail.com>
13505 Date: Wed Sep 19 15:37:14 2012 -0700
13507 Deprecate void pointer fields as general PyObject storage.
13509 Complete deprecation of gpointer struct fields as general
13510 PyObject storage. Only int types are now allowed.
13511 Assignment of anything other than an int or None raises
13512 a TypeError stating the error and associated bug URL.
13514 https://bugzilla.gnome.org/show_bug.cgi?id=683599
13516 gi/pygi-argument.c | 25 ++++++++++++++++-----
13517 gi/pygi-info.c | 28 ++++--------------------
13518 tests/test_everything.py | 53
13519 +++++++++++++++++++++++++--------------------
13520 tests/test_overrides_gtk.py | 41 -----------------------------------
13521 4 files changed, 54 insertions(+), 93 deletions(-)
13523 commit 3dba328010a4ffd9259700ffec95871c7341d491
13524 Author: Martin Pitt <martinpitt@gnome.org>
13525 Date: Tue Oct 23 11:59:08 2012 +0200
13527 Add some MainLoop, MainContext, and Source test cases
13529 These cover the remaining static API and behaviour, so that we
13531 regression tests for converting them to GI.
13533 See https://bugzilla.gnome.org/show_bug.cgi?id=686443
13535 tests/test_glib.py | 21 +++++++++++++++++++++
13536 tests/test_gobject.py | 11 +++++++++++
13537 tests/test_mainloop.py | 16 ++++++++++++++++
13538 tests/test_source.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
13539 4 files changed, 92 insertions(+)
13541 commit 7635340271df0a135873459e6a2a365fd4b187a2
13542 Author: Steve Frécinaux <code@istique.net>
13543 Date: Wed Feb 9 18:37:33 2011 +0100
13545 [API change] Do not bind gobject_get_data() and gobject_set_data()
13547 They will basically cause a crash if misused, and you can always use a
13548 python member attribute instead.
13550 These methods were marked as deprecated for 3.4 and throwing a
13552 let's remove them for good now.
13554 https://bugzilla.gnome.org/show_bug.cgi?id=641944
13556 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
13558 docs/reference/pygobject.xml | 63
13559 --------------------------------------------
13560 gi/_gobject/pygobject.c | 44 -------------------------------
13561 2 files changed, 107 deletions(-)
13563 commit cfec113e3b3eabf8db834f48b2f16792d1e841a3
13564 Author: Martin Pitt <martinpitt@gnome.org>
13565 Date: Tue Oct 23 08:17:40 2012 +0200
13567 Add test for GLib.get_current_time()
13569 This adds a plausibility test, as well as ensuring the documented
13571 This will be useful if/once we drop the static _glib binding.
13573 tests/test_glib.py | 5 +++++
13574 1 file changed, 5 insertions(+)
13576 commit fb473b31054744e5ab59e9d4ed3b74571e27d3ff
13577 Author: Martin Pitt <martinpitt@gnome.org>
13578 Date: Tue Oct 23 07:48:52 2012 +0200
13580 Drop unnecessary static _glib bindings
13582 Drop static pyglib bindings which have straightforward and working
13584 bindings. Add tests for all dropped functions to ensure they keep
13587 docs/reference/pyglib-constants.xml | 59 -------
13588 docs/reference/pyglib-functions.xml | 270 ------------------------------
13589 gi/_glib/__init__.py | 24 ---
13590 gi/_glib/glibmodule.c | 319
13591 ------------------------------------
13592 gi/_gobject/__init__.py | 9 -
13593 gi/overrides/GLib.py | 16 ++
13594 gi/overrides/GObject.py | 32 ++++
13595 gi/overrides/Makefile.am | 1 +
13596 tests/Makefile.am | 1 -
13597 tests/test_glib.py | 46 ++++++
13598 tests/test_gobject.py | 4 +
13599 tests/test_uris.py | 16 --
13600 12 files changed, 99 insertions(+), 698 deletions(-)
13602 commit 126a10f765af3d3a6f08ce5db7ed9f3ef647848f
13603 Author: Martin Pitt <martinpitt@gnome.org>
13604 Date: Tue Oct 23 06:12:08 2012 +0200
13606 Fix OverflowError in source_remove()
13608 GSource IDs are unsigned, so we must use 'I' for parsing then, not
13611 https://bugzilla.gnome.org/show_bug.cgi?id=684526
13613 gi/_glib/glibmodule.c | 2 +-
13614 tests/test_source.py | 13 ++++++++++++-
13615 2 files changed, 13 insertions(+), 2 deletions(-)
13617 commit 15f7442bd0c45db25073e3d8494094f1c284ffa4
13618 Author: Martin Pitt <martinpitt@gnome.org>
13619 Date: Mon Oct 22 13:38:23 2012 +0200
13621 Fix TestSource.testSources() test case
13623 PyGObject has established the assumption that the destruction of
13625 Python object does not destroy the actual GSource, as shown in
13626 TestSource.setup_timeout(), TestTimeout.test504337(), and
13627 https://bugzilla.gnome.org/show_bug.cgi?id=504337.
13629 So we need to explicitly destroy our MySource and Idle objects
13631 them, as their callbacks always return True and we do not want them
13633 over into other tests.
13635 Also fix the assertions to actually verify that MySources' callback
13637 (pos > 0, not pos >= 0), and use the unittest comparison API instead
13639 simple assert statement.
13641 https://bugzilla.gnome.org/show_bug.cgi?id=686627
13643 tests/test_source.py | 8 +++++++-
13644 1 file changed, 7 insertions(+), 1 deletion(-)
13646 commit b984a5fe0d065818a153f259db4dbde79534f084
13647 Author: Martin Pitt <martinpitt@gnome.org>
13648 Date: Mon Oct 22 17:38:56 2012 +0200
13650 configure.ac: post-release bump to 3.7.2
13652 configure.ac | 2 +-
13653 1 file changed, 1 insertion(+), 1 deletion(-)
13655 commit ce0825f58c3eba6084143e430605ffb597622369
13656 Author: Martin Pitt <martinpitt@gnome.org>
13657 Date: Mon Oct 22 17:37:17 2012 +0200
13661 NEWS | 42 ++++++++++++++++++++++++++++++++++++++++++
13662 1 file changed, 42 insertions(+)
13664 commit a93763337ba7f952d787c42f45bfbb3ff02cc80d
13665 Author: Martin Pitt <martinpitt@gnome.org>
13666 Date: Mon Oct 22 17:33:12 2012 +0200
13668 Bump version to 3.7.1
13670 Let's follow the real GNOME versioning from now on.
13672 configure.ac | 2 +-
13673 1 file changed, 1 insertion(+), 1 deletion(-)
13675 commit 3fb13cc05a281970c3a624c2dd152996031b482c
13676 Author: Martin Pitt <martinpitt@gnome.org>
13677 Date: Mon Oct 22 11:36:49 2012 +0200
13679 test_mainloop code cleanup
13681 Ensure that sys.excepthook is always restored, even if the test
13683 assert{True,False,Equal} unittest API instead of simple asserts for
13687 tests/test_mainloop.py | 19 ++++++++++---------
13688 1 file changed, 10 insertions(+), 9 deletions(-)
13690 commit 31061f20083aa60919f6763a12addbf2b052cab7
13691 Author: Simon Feltman <sfeltman@src.gnome.org>
13692 Date: Sun Oct 21 18:55:24 2012 -0700
13694 Change install_properties to not use getattr on classes
13696 The usage of getattr for accessing a classes __gproperties__
13697 variable can be problematic due to the potential of it returning
13698 the parent classes variable when it does not exist on the sub-class.
13699 Similar to the fix for
13700 https://bugzilla.gnome.org/show_bug.cgi?id=686496,
13701 cls.__dict__.get is used to ensure this does not happen.
13703 https://bugzilla.gnome.org/show_bug.cgi?id=686559
13705 gi/_gobject/propertyhelper.py | 2 +-
13706 tests/test_properties.py | 6 ++++--
13707 2 files changed, 5 insertions(+), 3 deletions(-)
13709 commit 438d3e68f19e2af5d027e18842ab05e0421d088d
13710 Author: Simon Feltman <sfeltman@src.gnome.org>
13711 Date: Sat Oct 20 19:56:04 2012 -0700
13713 Move property install function into propertyhelper.py
13715 Move _install_properties() into gi/_gobject/propertyhelper.py
13718 https://bugzilla.gnome.org/show_bug.cgi?id=686559
13720 gi/_gobject/__init__.py | 45 +++----------------------------
13721 gi/_gobject/propertyhelper.py | 45 +++++++++++++++++++++++++++++++
13722 tests/test_properties.py | 63
13723 +++++++++++++++++++++++++++++++++++++++++++
13724 3 files changed, 111 insertions(+), 42 deletions(-)
13726 commit 695a9077aa8f40357e050f090caa5e2b8c5c9593
13727 Author: Simon Feltman <s.feltman@gmail.com>
13728 Date: Sat Oct 20 03:11:07 2012 -0700
13730 Fix Signal decorator to not use base class gsignals dict
13732 Fix install_signals to not use the parent classes __gsignals__
13733 dict if one does not exist on the given class.
13735 https://bugzilla.gnome.org/show_bug.cgi?id=686496
13737 gi/_gobject/signalhelper.py | 2 +-
13738 tests/test_signal.py | 43
13739 +++++++++++++++++++++++++++++++++++++++++++
13740 2 files changed, 44 insertions(+), 1 deletion(-)
13742 commit 1ff04e846d50b948df6fa3260c548ef4f4779c58
13743 Author: Martin Pitt <martinpitt@gnome.org>
13744 Date: Fri Oct 19 09:05:01 2012 +0200
13746 tests: Consistently use GLib.MainLoop
13748 ... instead of mixing GObject.MainLoop and GLib.MainLoop.
13750 tests/test_everything.py | 4 ++--
13751 tests/test_gdbus.py | 11 +++++------
13752 2 files changed, 7 insertions(+), 8 deletions(-)
13754 commit ff7e7401b4cf50532fef70263f7559ea513b8333
13755 Author: Kalev Lember <kalevlember@gmail.com>
13756 Date: Wed Oct 17 18:27:14 2012 +0200
13758 Install the .egg-info files into correct multilib directory
13760 This makes sure the .egg-info files end up in the same python
13762 directory as the rest of the gi .py files.
13764 https://bugzilla.gnome.org/show_bug.cgi?id=686315
13766 Makefile.am | 6 +++---
13767 1 file changed, 3 insertions(+), 3 deletions(-)
13769 commit 91e4cb2063d4e83fb1f6586a4396471d64f234f4
13770 Author: Simon Feltman <s.feltman@gmail.com>
13771 Date: Mon Oct 15 04:03:50 2012 -0700
13773 Fix leaked vfunc return values
13775 Simple fix to dec ref returned values from closures wrapping
13778 https://bugzilla.gnome.org/show_bug.cgi?id=686140
13780 gi/pygi-closure.c | 1 +
13781 tests/test_gi.py | 21 +++++++++++++++++++--
13782 2 files changed, 20 insertions(+), 2 deletions(-)
13784 commit 75e373b99c3cb66dd60b13c803e5f7eec77cc415
13785 Author: Martin Pitt <martinpitt@gnome.org>
13786 Date: Mon Oct 15 07:42:05 2012 +0200
13788 Skip Regress tests with --disable-cairo
13790 We need cairo to build g-i's Regress library, gir, and typelib. Update
13791 configure.ac to only require cairo if --disable-cairo was not
13793 --disable-cairo, skip building the Regress library and skip all
13797 https://bugzilla.gnome.org/show_bug.cgi?id=685094
13799 configure.ac | 5 ++---
13800 tests/Makefile.am | 45
13801 +++++++++++++++++++++++++++------------------
13802 tests/test_everything.py | 15 +++++++++++----
13803 tests/test_overrides.py | 7 ++++++-
13804 4 files changed, 46 insertions(+), 26 deletions(-)
13806 commit a2ab72aa39824579d1767d1fdba7e1031341f86c
13807 Author: Martin Pitt <martinpitt@gnome.org>
13808 Date: Fri Oct 12 11:05:24 2012 +0200
13810 _pygi_marshal_from_py_uint64: Re-fix check of negative values
13812 Fix regression from commit 1bfcd5d94 (exposed by several test cases)
13816 https://bugzilla.gnome.org/show_bug.cgi?id=685000
13818 gi/pygi-marshal-from-py.c | 6 +++---
13819 1 file changed, 3 insertions(+), 3 deletions(-)
13821 commit 22c22124b787ae67638aff89796d7ce14900ea8e
13822 Author: Simon Feltman <s.feltman@gmail.com>
13823 Date: Mon Oct 8 05:54:30 2012 -0700
13825 Fix leak with python callables as closure argument.
13827 The fix adds an extra args_data list to the PyGIInvokeState
13828 structure. This list is used to track dynamically generated
13829 closures that wrap python callables. This allows the ffi closure
13830 and python callable to be freed when call scope has finished.
13832 https://bugzilla.gnome.org/show_bug.cgi?id=685598
13834 gi/pygi-cache.c | 1 +
13835 gi/pygi-closure.c | 41 +++++++++----
13836 gi/pygi-invoke-state-struct.h | 4 ++
13837 gi/pygi-invoke.c | 7 +++
13838 gi/pygi-marshal-cleanup.c | 14 +++++
13839 gi/pygi-marshal-cleanup.h | 4 ++
13840 gi/pygi-marshal-from-py.c | 57 ++++++++++++++----
13841 tests/test_everything.py | 137
13842 +++++++++++++++++++++++++++++++-----------
13843 8 files changed, 206 insertions(+), 59 deletions(-)
13845 commit c0bc69906df2db64560f7c054277ad1956aab57f
13846 Author: Martin Pitt <martinpitt@gnome.org>
13847 Date: Thu Oct 11 17:49:30 2012 +0200
13849 Gio overrides: Handle setting GSettings enum keys
13851 https://bugzilla.gnome.org/show_bug.cgi?id=685947
13853 gi/overrides/Gio.py | 9 ++++++++-
13854 tests/test_overrides_gio.py | 3 +++
13855 2 files changed, 11 insertions(+), 1 deletion(-)
13857 commit bbbb7c9ed047a22ac3c43f2b0331d3b5ea32e812
13858 Author: Martin Pitt <martinpitt@gnome.org>
13859 Date: Thu Oct 11 17:20:38 2012 +0200
13861 tests: Check reading GSettings enums in Gio overrides
13863 Also split test_override() into several smaller test cases.
13865 tests/org.gnome.test.gschema.xml | 9 +++++++++
13866 tests/test_overrides_gio.py | 14 +++++++++-----
13867 2 files changed, 18 insertions(+), 5 deletions(-)
13869 commit 8a2e96cd4e33b6c119a368d73a9d5504576cdccb
13870 Author: Martin Pitt <martinpitt@gnome.org>
13871 Date: Thu Oct 11 16:08:11 2012 +0200
13873 Fix unsigned values in GArray/GList/GSList/GHash
13875 _pygi_hash_pointer_to_arg() needs to handle unsigned integers as well.
13877 https://bugzilla.gnome.org/show_bug.cgi?id=685860
13879 gi/pygi-argument.c | 9 +++++++++
13880 tests/test_gi.py | 12 ++++++++++++
13881 2 files changed, 21 insertions(+)
13883 commit d394acbb58b38e6f52ee71e8e663a892676ab9e4
13884 Author: Colin Walters <walters@verbum.org>
13885 Date: Thu Oct 4 20:13:55 2012 -0400
13887 build: Fix srcdir != builddir
13890 1 file changed, 1 insertion(+), 1 deletion(-)
13892 commit 1bfcd5d94b71edc9f03c8b3e87952a8bc8097586
13893 Author: Alban Browaeys <prahal@yahoo.com>
13894 Date: Thu Sep 27 22:44:22 2012 +0200
13896 _pygi_marshal_from_py_uint64(): Use correct data type in py2.7 check
13898 Casting an unsigned to signed and checking if positive was not
13900 unsigned 64 is below G_MAXUINT64 instead.
13902 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=685000
13904 gi/pygi-marshal-from-py.c | 4 ++--
13905 1 file changed, 2 insertions(+), 2 deletions(-)
13907 commit f0870336b9fc7797895f206e0d3ef17a19efe253
13908 Author: Johan Dahlin <johan@gnome.org>
13909 Date: Tue Oct 2 05:30:16 2012 -0700
13911 Install an .egg-info file
13913 This will help easy_install and pip to figure out that PyGObject
13914 is already installed.
13916 https://bugzilla.gnome.org/show_bug.cgi?id=680138
13918 Makefile.am | 13 ++++++++-----
13919 1 file changed, 8 insertions(+), 5 deletions(-)
13921 commit 4c9318d97aa34051a0460e8db2ed0f963126b7f5
13922 Author: Johan Dahlin <johan@gnome.org>
13923 Date: Thu Oct 4 09:42:41 2012 +0200
13925 PyGProps_getattro(): Fix GObjectClass leak
13927 https://bugzilla.gnome.org/show_bug.cgi?id=685218
13929 gi/_gobject/pygobject.c | 4 +++-
13930 1 file changed, 3 insertions(+), 1 deletion(-)
13932 commit 2aa61520eb4f293ce94d54605d7642a39e18e03d
13933 Author: Olivier Crête <olivier.crete@collabora.com>
13934 Date: Mon Sep 17 15:16:32 2012 -0400
13936 pygobject.c: Don't leak GObjectClass reference
13938 https://bugzilla.gnome.org/show_bug.cgi?id=684062
13940 gi/_gobject/pygobject.c | 6 +++++-
13941 1 file changed, 5 insertions(+), 1 deletion(-)
13943 commit 43d356d03d4c83e9de3c56f98a70d387b46f17af
13944 Author: Alban Browaeys <prahal@yahoo.com>
13945 Date: Sat Sep 29 01:17:14 2012 +0200
13947 Fix memory leak in _pygi_argument_to_array()
13949 Length arg and type info need to be unref'ed.
13951 https://bugzilla.gnome.org/show_bug.cgi?id=685082
13953 gi/pygi-argument.c | 3 +++
13954 1 file changed, 3 insertions(+)
13956 commit 34270a109d2af20391c80e88874ee7303eaf5c09
13957 Author: Martin Pitt <martinpitt@gnome.org>
13958 Date: Fri Sep 28 07:42:51 2012 +0200
13960 Fix error messages for out of range numbers
13962 PyErr_Format() does not understand %lli and %li, it needs to be %lld
13964 So we cannot use those and G_GINT64_FORMAT.
13966 Also remove the "if (long_ < G_MININT64 || long_ > G_MAXINT64)"
13968 is a gint64 which can't possibly overflow its own data type. It
13970 an unprintable error message.
13972 https://bugzilla.gnome.org/show_bug.cgi?id=684314
13974 gi/pygi-marshal-from-py.c | 21 ++++++++-------------
13975 1 file changed, 8 insertions(+), 13 deletions(-)
13977 commit 7f1422bf929976722edd6144beb0b4c96d74391b
13978 Author: Martin Pitt <martinpitt@gnome.org>
13979 Date: Fri Sep 28 06:59:38 2012 +0200
13981 Kill dbus-daemon after running tests
13983 dbus-launch does not kill the spawned dbus-daemon by itself (see
13984 https://bugs.freedesktop.org/show_bug.cgi?id=39196), so do that
13986 our tests. Take care to preserve the exit code.
13988 https://bugzilla.gnome.org/show_bug.cgi?id=685009
13990 tests/Makefile.am | 5 ++++-
13991 1 file changed, 4 insertions(+), 1 deletion(-)
13993 commit bfd9c8fac1ea240b29fbcd4185dc1702539c1e96
13994 Author: Martin Pitt <martinpitt@gnome.org>
13995 Date: Thu Sep 27 08:18:34 2012 +0200
13997 GVariant overrides: Support empty tuple arrays
13999 Implement the "empty value" branch in _create_tuple(), so that
14001 can call it for parsing the element type for an empty array.
14003 This fixes creating variants such as GLib.Variant('a(ii)', []).
14005 https://bugzilla.gnome.org/show_bug.cgi?id=684928
14007 gi/overrides/GLib.py | 30 +++++++++++++++++++++++-------
14008 tests/test_overrides_glib.py | 31 +++++++++++++++++++++++++++++++
14009 2 files changed, 54 insertions(+), 7 deletions(-)
14011 commit 75d452ea5b179c3585adcf95356b4316c9180768
14012 Author: Martin Pitt <martinpitt@gnome.org>
14013 Date: Thu Sep 27 06:50:12 2012 +0200
14015 TestGVariant: Split creation test case into several smaller ones
14017 tests/test_overrides_glib.py | 20 ++++++--------------
14018 1 file changed, 6 insertions(+), 14 deletions(-)
14020 commit 4a20bcb3f97614044d351f8e436a81d332db55ba
14021 Author: Martin Pitt <martinpitt@gnome.org>
14022 Date: Tue Sep 25 09:10:10 2012 +0200
14024 Fix unused variables and results
14026 This gets rid of all warnings except the deprecated symbol ones.
14028 gi/_glib/pygiochannel.c | 9 +++------
14029 gi/pygi-argument.c | 4 +---
14030 gi/pygi-callbacks.c | 4 ----
14031 gi/pygi-ccallback.c | 1 -
14032 gi/pygi-repository.c | 3 +--
14033 5 files changed, 5 insertions(+), 16 deletions(-)
14035 commit 5285f14fee93d2729d4422c40a945adc2be69c14
14036 Author: Martin Pitt <martinpitt@gnome.org>
14037 Date: Tue Sep 25 08:56:20 2012 +0200
14039 tests: Fix wrong return type in test_int64_callback()
14041 https://bugzilla.gnome.org/show_bug.cgi?id=684700
14043 tests/testhelpermodule.c | 2 +-
14044 1 file changed, 1 insertion(+), 1 deletion(-)
14046 commit e14ebab6099d082466ec11ca21d44de0d6017216
14047 Author: Giovanni Campagna <gcampagna@src.gnome.org>
14048 Date: Wed Sep 19 00:10:57 2012 +0200
14050 Fix GValue marshalling of long and unsigned long
14052 long can be equivalent to int64 or int32, depending on the
14054 and GI conflates this distinction in the typelib, but GType does
14056 warns if the wrong accessor is used.
14058 https://bugzilla.gnome.org/show_bug.cgi?id=684331
14060 gi/pygi-argument.c | 25 +++++++++++++++++++++----
14061 1 file changed, 21 insertions(+), 4 deletions(-)
14063 commit 50571dd27d1f7c6bed8c5aaa518b504c9f4c4ab6
14064 Author: Simon Feltman <s.feltman@gmail.com>
14065 Date: Wed Sep 19 19:07:00 2012 -0700
14067 Clean up deprecation message for assigning gpointers to objects.
14069 The previous deprecation message was worded as if the deprecation
14070 had already occurred and it has not.
14072 https://bugzilla.gnome.org/show_bug.cgi?id=683599
14074 gi/pygi-info.c | 4 ++--
14075 1 file changed, 2 insertions(+), 2 deletions(-)
14077 commit 4bfe7972546413f46f5c36737ff03bb5612c1921
14078 Author: Olivier Crête <olivier.crete@collabora.com>
14079 Date: Tue Sep 18 08:52:02 2012 +0200
14081 pygi-property: Lookup property in base classes of non-introspected
14084 Look for introspection data in the base classes of non-introspected
14086 This is necessary to look up introspection data for plugins.
14088 https://bugzilla.gnome.org/show_bug.cgi?id=684058
14090 gi/pygi-property.c | 28 ++++++++++++++--------------
14091 tests/test_everything.py | 12 ++++++++++++
14092 2 files changed, 26 insertions(+), 14 deletions(-)
14094 commit 7aa94cc861082147b9c382b930f3257f0a842c84
14095 Author: Martin Pitt <martinpitt@gnome.org>
14096 Date: Mon Sep 24 09:41:10 2012 +0200
14098 post-release bump to 3.4.1
14100 configure.ac | 2 +-
14101 1 file changed, 1 insertion(+), 1 deletion(-)
14103 commit fcceed3adb8d78baba68861a1408627321b2c1ef
14104 Author: Martin Pitt <martinpitt@gnome.org>
14105 Date: Mon Sep 24 09:35:33 2012 +0200
14110 configure.ac | 4 ++--
14111 2 files changed, 5 insertions(+), 2 deletions(-)
14113 commit 645a9d9d4712f8f0d1b63899b309bbc97eb1f216
14114 Author: Martin Pitt <martinpitt@gnome.org>
14115 Date: Mon Sep 24 09:27:47 2012 +0200
14117 Bump g-i dependency to 1.33.14
14119 To ensure we have all the Regress test APIs that we use.
14121 configure.ac | 2 +-
14122 1 file changed, 1 insertion(+), 1 deletion(-)
14124 commit b6f4ef327fbeaa10fd74571c3df540311834d6ae
14125 Author: Martin Pitt <martinpitt@gnome.org>
14126 Date: Mon Sep 17 22:52:49 2012 +0200
14128 post-release bump to 3.3.93
14130 configure.ac | 2 +-
14131 1 file changed, 1 insertion(+), 1 deletion(-)
14133 commit 7e154cf01cf0ce7a8b52c45ba4db755f73b45d1d
14134 Author: Martin Pitt <martinpitt@gnome.org>
14135 Date: Mon Sep 17 22:48:13 2012 +0200
14139 NEWS | 12 ++++++++++++
14140 1 file changed, 12 insertions(+)
14142 commit adbe30dc72b4d88bb31055f6ee33fddf32638af9
14143 Author: Martin Pitt <martinpitt@gnome.org>
14144 Date: Mon Sep 17 22:32:55 2012 +0200
14146 release-news: Generate HTML changelog
14148 In addition to producing a NEWS paragraph from the changelog,
14150 changelog HTML which can be put into blog announcements.
14152 Update HACKING to point this out, too.
14155 Makefile.am | 22 ++++++++++++++++------
14156 2 files changed, 17 insertions(+), 7 deletions(-)
14158 commit be4a0682bdd189ee908ab1961001f759a80e133c
14159 Author: Simon Feltman <s.feltman@gmail.com>
14160 Date: Sun Sep 16 17:27:25 2012 -0700
14162 [API add] Add ObjectInfo.get_abstract method
14164 Adds exposure of g_object_info_get_abstract to python for
14165 helping with analysis of non-constructable objects from
14168 https://bugzilla.gnome.org/show_bug.cgi?id=675581
14170 gi/pygi-info.c | 8 ++++++++
14171 tests/test_gi.py | 12 ++++++++++++
14172 2 files changed, 20 insertions(+)
14174 commit 3ada408434860d0c8eee6c6a869b5a3d801cfbc8
14175 Author: Simon Feltman <s.feltman@gmail.com>
14176 Date: Thu Sep 13 20:53:22 2012 -0700
14178 Add deprecation warning when setting gpointers to anything other
14181 This is a first pass which does not change anything except add
14183 when anything other than an int is set on a gpointer on a boxed type.
14185 https://bugzilla.gnome.org/show_bug.cgi?id=683599
14187 gi/pygi-info.c | 8 ++++++++
14188 1 file changed, 8 insertions(+)
14190 commit a047f61f26d9c78b82d22948199313e5a389e918
14191 Author: Martin Pitt <martinpitt@gnome.org>
14192 Date: Mon Sep 17 09:41:24 2012 +0200
14194 test_properties: Test accessing a property from a superclass
14196 We already cover accessing the superclass' property if that was
14198 Python. Add a corresponding test case for a property defined in C.
14200 See https://bugzilla.gnome.org/show_bug.cgi?id=684058
14202 tests/test_properties.py | 12 ++++++++++++
14203 1 file changed, 12 insertions(+)
14205 commit 3e6a4000cbc4b0cb503fcd89b50202ed0b70d3a7
14206 Author: Martin Pitt <martinpitt@gnome.org>
14207 Date: Mon Sep 17 09:31:05 2012 +0200
14209 test_properties.py: Consistent test names
14211 Use underscore style method/test case names consistently. Also rename
14213 cases to better describe what they do.
14215 tests/test_properties.py | 78
14216 ++++++++++++++++++++++++------------------------
14217 1 file changed, 39 insertions(+), 39 deletions(-)
14219 commit 4069c3d8547f35437e0cee175a5912febe25326d
14220 Author: Martin Pitt <martinpitt@gnome.org>
14221 Date: Wed Sep 12 06:51:24 2012 +0200
14223 test_everything: Ensure TestSignals callback does get called
14225 tests/test_everything.py | 3 +++
14226 1 file changed, 3 insertions(+)
14228 commit 4e4c87e3868948743e0446abe2ba0cf5626374c4
14229 Author: Nicolas Dufresne <nicolas.dufresne@collabora.com>
14230 Date: Fri Sep 7 17:17:09 2012 -0400
14232 argument: Fix 64bit integer convertion from GValue
14234 Trying to get a 64bit integer using the wrong getter was resulting
14236 assertion and 0 being returned.
14238 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
14240 https://bugzilla.gnome.org/show_bug.cgi?id=683596
14242 gi/pygi-argument.c | 8 ++++++--
14243 tests/test_everything.py | 52
14244 ++++++++++++++++++++++++++++++++++++++++++++++++
14245 2 files changed, 58 insertions(+), 2 deletions(-)
14247 commit e474ce243ea7a58358af344ccadb1418f4d2c8eb
14248 Author: Martin Pitt <martinpitt@gnome.org>
14249 Date: Tue Sep 11 12:32:10 2012 +0200
14251 Add Simon Feltman as a project maintainer
14253 Signed-off-By: Martin Pitt <martinpitt@gnome.org>
14254 Signed-off-By: Paolo Borelli <pborelli@gnome.org>
14256 pygobject.doap | 7 +++++++
14257 1 file changed, 7 insertions(+)
14259 commit ee1fc78258f10e8a7872ee3da6c9ad6e7984706e
14260 Author: Martin Pitt <martinpitt@gnome.org>
14261 Date: Tue Sep 11 10:17:50 2012 +0200
14263 test_signals.py: Drop global type variables
14265 Just use the real types and flags from GObject instead of redefining
14267 for them. They weren't used consistently, make the tests harder to
14269 really do not want global single-letter variables like "f" and "l".
14271 tests/test_signal.py | 38 ++++++++++++++++----------------------
14272 1 file changed, 16 insertions(+), 22 deletions(-)
14274 commit 3688cf6efe7161585b943cfaafcfd4610b7ad768
14275 Author: Martin Pitt <martinpitt@gnome.org>
14276 Date: Tue Sep 11 10:11:58 2012 +0200
14278 test_signals.py: Consistent test names
14280 Use underscore style method/test case names consistently.
14282 tests/test_signal.py | 88
14283 ++++++++++++++++++++++++++--------------------------
14284 1 file changed, 44 insertions(+), 44 deletions(-)
14286 commit 4559247553b792db956f69c9674c12344d719c82
14287 Author: Martin Pitt <martinpitt@gnome.org>
14288 Date: Tue Sep 11 09:43:14 2012 +0200
14290 Add test cases for GValue signal arguments
14292 These cover various types, (u)int(64) and string.
14294 Keep the test case for implicit int64 GValues disabled, as this
14296 not work and it is not clear whether it should:
14297 https://bugzilla.gnome.org/show_bug.cgi?id=683775
14299 tests/test_signal.py | 41 +++++++++++++++++++++++++++++++++++++++++
14300 tests/testhelpermodule.c | 17 +++++++++++++++++
14301 2 files changed, 58 insertions(+)
14303 commit fddb01b0b71b68d154d130cf40fd5f38647b1a4d
14304 Author: Martin Pitt <martinpitt@gnome.org>
14305 Date: Tue Sep 11 09:31:18 2012 +0200
14307 Add test for GValue signal return values
14309 Another attempt to reproduce the reported error in
14310 https://bugzilla.gnome.org/show_bug.cgi?id=683596
14311 but this works already.
14313 tests/test_signal.py | 13 +++++++++++++
14314 tests/testhelpermodule.c | 36 ++++++++++++++++++++++++++++++++++++
14315 2 files changed, 49 insertions(+)
14317 commit 4f77c7798563ea436ff5b6306a987f03de50b211
14318 Author: Simon Feltman <s.feltman@gmail.com>
14319 Date: Fri Sep 7 02:32:15 2012 -0700
14321 Improve setting pointer fields/arguments to NULL using None
14323 Setting gi pointers will set them to the address of the python object.
14324 This is good except in the case of None which should be used to NULL
14325 the pointer out as a special case.
14327 Commit 21b1d17d2a already fixed this. This improved patch
14328 does that in a cleaner and safer way and adds more comments.
14330 https://bugzilla.gnome.org/show_bug.cgi?id=683150
14332 gi/pygi-argument.c | 8 +-------
14333 gi/pygi-info.c | 14 +++++++++++++-
14334 2 files changed, 14 insertions(+), 8 deletions(-)
14336 commit 15046b5a11f6c58a3e5a9c50cf0ce7f31f2cd55f
14337 Author: Martin Pitt <martinpitt@gnome.org>
14338 Date: Mon Sep 10 16:46:30 2012 +0200
14340 Test gint64 C signal arguments and return values
14342 tests/test_signal.py | 12 ++++++++++++
14343 tests/testhelpermodule.c | 14 ++++++++++++++
14344 2 files changed, 26 insertions(+)
14346 commit 822d9e07a95f706a40f64335765293542787da90
14347 Author: Martin Pitt <martinpitt@gnome.org>
14348 Date: Mon Sep 10 16:29:32 2012 +0200
14350 Test in/out int64 GValue method arguments.
14352 See https://bugzilla.gnome.org/show_bug.cgi?id=683596
14354 tests/test_gi.py | 9 +++++++++
14355 1 file changed, 9 insertions(+)
14357 commit 2d83e52233812618493af4b165615e8741ba41c8
14358 Author: Martin Pitt <martinpitt@gnome.org>
14359 Date: Wed Sep 5 08:54:53 2012 +0200
14361 Bump g-i dependency to 1.33.10
14363 To ensure we have all the Regress test APIs that we use.
14365 configure.ac | 2 +-
14366 1 file changed, 1 insertion(+), 1 deletion(-)
14368 commit 6a4f4dc9a3d21c3ac8a0aa51432fb8952b4e1ebf
14369 Author: Thibault Saunier <thibault.saunier@collabora.com>
14370 Date: Wed Aug 8 12:57:41 2012 -0400
14372 Fix -uninstalled.pc.in file
14374 https://bugzilla.gnome.org/show_bug.cgi?id=683379
14376 pygobject-3.0-uninstalled.pc.in | 6 +++---
14377 1 file changed, 3 insertions(+), 3 deletions(-)
14379 commit d8f1398dbc7fa7803639c542a607f24f18614ad6
14380 Author: Martin Pitt <martinpitt@gnome.org>
14381 Date: Mon Sep 3 22:16:47 2012 +0200
14383 post-release bump to 3.3.92
14385 configure.ac | 2 +-
14386 1 file changed, 1 insertion(+), 1 deletion(-)
14388 commit ea992324b8197b2d04ff2849b9ab46f8a04b4ed7
14389 Author: Martin Pitt <martinpitt@gnome.org>
14390 Date: Mon Sep 3 22:04:01 2012 +0200
14394 NEWS | 32 ++++++++++++++++++++++++++++++++
14395 1 file changed, 32 insertions(+)
14397 commit 1e1f5b2f2f15547c1f2cbc948d2b764bd0a37c44
14398 Author: Martin Pitt <martinpitt@gnome.org>
14399 Date: Mon Sep 3 21:57:00 2012 +0200
14401 Fix exception test case for Python 2
14403 Regression from commit 77844c5 which did not work with Python 2.
14405 tests/test_everything.py | 12 +++++++-----
14406 1 file changed, 7 insertions(+), 5 deletions(-)
14408 commit 41bb687c058e08b05108b4b2f081cd83d4f93da8
14409 Author: Martin Pitt <martinpitt@gnome.org>
14410 Date: Mon Sep 3 21:16:01 2012 +0200
14412 Bump g-i dependency
14414 Require at least 1.33.9, as we got a couple of bug fixes there which
14416 and for some cases the code, depend on. We actually require 1.33.10
14418 tests to succeed, but that hasn't been released yet.
14420 configure.ac | 2 +-
14421 1 file changed, 1 insertion(+), 1 deletion(-)
14423 commit 77844c571ad0badc189428b93de9f2572051b67e
14424 Author: Martin Pitt <martinpitt@gnome.org>
14425 Date: Mon Sep 3 17:58:38 2012 +0200
14427 Show proper exception when trying to allocate a disguised struct
14429 Instead of a simple "MemoryError" with no details, raise a proper
14430 TypeError with a traceback and an explanation what happened.
14432 https://bugzilla.gnome.org/show_bug.cgi?id=639972
14434 gi/pygi-struct.c | 7 +++++++
14435 tests/test_everything.py | 13 +++++++++++++
14436 2 files changed, 20 insertions(+)
14438 commit 0d099bdb3f4bbd962e5e60b583673d9e6f5673cc
14439 Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
14440 Date: Mon Sep 3 16:47:22 2012 +0200
14442 Support marshalling GParamSpec signal arguments
14444 Fix marshalling GParamSpec arguments from C to Python.
14446 https://bugzilla.gnome.org/show_bug.cgi?id=683099
14448 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
14450 gi/pygi-argument.c | 10 +++++++++-
14451 tests/test_signal.py | 14 ++++++++++++++
14452 2 files changed, 23 insertions(+), 1 deletion(-)
14454 commit 69fb92c22b3f3d1d5e8c3e14134eee3242fdc5fc
14455 Author: Martin Pitt <martinpitt@gnome.org>
14456 Date: Mon Sep 3 16:06:49 2012 +0200
14458 Add test for a signal that returns a GParamSpec
14460 https://bugzilla.gnome.org/show_bug.cgi?id=683265
14462 tests/test_signal.py | 6 ++++++
14463 tests/testhelpermodule.c | 12 ++++++++++++
14464 2 files changed, 18 insertions(+)
14466 commit a7c524219987fbf37e455a91e4c78d2b9b4db12d
14467 Author: Simon Feltman <s.feltman@gmail.com>
14468 Date: Tue Mar 20 04:33:50 2012 -0700
14470 [API add] Add Signal class for adding and connecting custom signals.
14472 The Signal class provides easy creation of signals and removes the
14473 need for __gsignals__ in client code. The Signal class can also be
14474 used as a decorator for wrapping up the custom closure. As well as
14475 providing a "BoundSignal" when accessed on an instance for making
14476 connections without specifying a signal name string.
14477 Python3 annotations can also be used to supply closure argument and
14478 return types when Signal is used as a decorator. For example:
14480 class Eggs(GObject.GObject):
14482 def spam(self, count:int):
14485 https://bugzilla.gnome.org/show_bug.cgi?id=434924
14487 examples/signal.py | 34 ++++--
14488 gi/_gobject/Makefile.am | 3 +-
14489 gi/_gobject/__init__.py | 5 +
14490 gi/_gobject/signalhelper.py | 251
14491 ++++++++++++++++++++++++++++++++++++++++++++
14492 tests/test_signal.py | 208 ++++++++++++++++++++++++++++++++++--
14493 5 files changed, 482 insertions(+), 19 deletions(-)
14495 commit 96fa22369fd188465559fc904c7f76e73040e6dd
14496 Author: Martin Pitt <martinpitt@gnome.org>
14497 Date: Mon Sep 3 15:32:12 2012 +0200
14499 Fix pygtkcompat's Gtk.TreeView.insert_column_with_attributes()
14501 We have a proper implementation for insert_column_with_attributes()
14503 drop pygtkcompat's empty stub for it.
14505 Also improve test case for
14506 Gtk.TreeView.insert_column_with_attributes().
14508 gi/pygtkcompat.py | 6 ------
14509 tests/test_overrides_gtk.py | 16 ++++++++--------
14510 2 files changed, 8 insertions(+), 14 deletions(-)
14512 commit 542cf22c9de9b2094868c4e879b0f24b15c4c012
14513 Author: Marta Maria Casetti <mmcasetti@gmail.com>
14514 Date: Mon Sep 3 13:06:22 2012 +0200
14516 Add override for Gtk.TreeView.insert_column_with_attributes()
14518 https://bugzilla.gnome.org/show_bug.cgi?id=679415
14520 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
14522 gi/overrides/Gtk.py | 7 +++++++
14523 tests/test_overrides_gtk.py | 38 ++++++++++++++++++++++++++++++++++++++
14524 2 files changed, 45 insertions(+)
14526 commit 1c73e845361e471b1c3a3f17e40e6a6cfa740877
14527 Author: Martin Pitt <martinpitt@gnome.org>
14528 Date: Mon Sep 3 11:09:55 2012 +0200
14530 .gitignore: Add missing built files
14532 .gitignore | 9 +++++++--
14533 1 file changed, 7 insertions(+), 2 deletions(-)
14535 commit 96431f393036a688666dcf67911bf12b9824b264
14536 Author: Martin Pitt <martinpitt@gnome.org>
14537 Date: Mon Sep 3 11:07:32 2012 +0200
14539 Ship tests/gi in tarball
14541 Spotted by distcheck.
14543 tests/Makefile.am | 6 +++++-
14544 1 file changed, 5 insertions(+), 1 deletion(-)
14546 commit dc2c6e6f60d2757462cbceef6176b0b3013904d3
14547 Author: Martin Pitt <martinpitt@gnome.org>
14548 Date: Mon Sep 3 10:18:45 2012 +0200
14550 Fix separate build tree and distcheck
14552 Fix regression from c7c95a79: We must set sys.path in runtests.py
14554 cannot rely on setting $PYTHONPATH from Makefile.am only. Python
14556 prepends the directory of the source file to sys.path, but that
14558 source dir, not the build dir. The build dir has to take precedence,
14560 we fail to import the built libraries.
14562 tests/runtests-windows.py | 10 +++++++---
14563 tests/runtests.py | 13 ++++++++-----
14564 2 files changed, 15 insertions(+), 8 deletions(-)
14566 commit 2d8f48f4ff56bb75985136452b50b75895258608
14567 Author: Martin Pitt <martinpitt@gnome.org>
14568 Date: Mon Sep 3 07:57:01 2012 +0200
14570 Split test_overrides.py
14572 Split the huge test_overrides.py into separate files for gdk, gtk,
14574 and pango. Further split the monolithic classes for Gtk and Gio
14578 https://bugzilla.gnome.org/show_bug.cgi?id=683188
14580 tests/Makefile.am | 5 +
14581 tests/test_overrides.py | 2198
14582 +----------------------------------------
14583 tests/test_overrides_gdk.py | 119 +++
14584 tests/test_overrides_gio.py | 114 +++
14585 tests/test_overrides_glib.py | 445 +++++++++
14586 tests/test_overrides_gtk.py | 1517 ++++++++++++++++++++++++++++
14587 tests/test_overrides_pango.py | 32 +
14588 7 files changed, 2234 insertions(+), 2196 deletions(-)
14590 commit 1223358e2c558dd7ac3300126f989054ec5a5b3f
14591 Author: Martin Pitt <martinpitt@gnome.org>
14592 Date: Mon Sep 3 07:17:57 2012 +0200
14594 _pygi_argument_to_object(): Clean up array unmarshalling
14596 The NULL case is already handled at the top, so it does not need to be
14599 Emit a critical if we fail to allocate a Python array of the
14602 gi/pygi-argument.c | 47 ++++++++++++++++-------------------------------
14603 1 file changed, 16 insertions(+), 31 deletions(-)
14605 commit 65bfbc624bc9da6e18ff2945b14099ab8eeb7601
14606 Author: Alban Browaeys <prahal@yahoo.com>
14607 Date: Wed Aug 29 21:24:17 2012 +0200
14609 Fix memory leak in _pygi_argument_to_object()
14611 Avoid leaking the item_type_info when breaking out of the
14612 switch in _pygi_argument_to_object() for unmarshalling arrays.
14614 https://bugzilla.gnome.org/show_bug.cgi?id=682979
14616 gi/pygi-argument.c | 4 ++++
14617 1 file changed, 4 insertions(+)
14619 commit 21b1d17d2ada2edf4063a4262b3436c279da3dc2
14620 Author: Simon Feltman <s.feltman@gmail.com>
14621 Date: Sat Sep 1 03:40:31 2012 -0700
14623 Fix setting pointer fields/arguments to NULL using None.
14625 Setting gi pointers will set them to the address of the python object.
14626 This is good except in the case of None which should be used to NULL
14627 the pointer out as a special case.
14629 https://bugzilla.gnome.org/show_bug.cgi?id=683150
14631 gi/pygi-argument.c | 8 +++++++-
14632 tests/test_overrides.py | 41 +++++++++++++++++++++++++++++++++++++++++
14633 2 files changed, 48 insertions(+), 1 deletion(-)
14635 commit 6123e6f5001ca5eaea18123d8a53525abab31a45
14636 Author: Martin Pitt <martinpitt@gnome.org>
14637 Date: Thu Aug 23 06:44:27 2012 +0200
14639 Fix for python 2.6, drop support for < 2.6
14641 Replace sys.version_info.major access to tuple access which also
14645 When building for Python 2.6, inject some missing unittest API such as
14646 @unittest.skipUnless and assertGreaterEqual() into the unittest
14648 runtests.py, so that the tests have a chance to run.
14650 As building with Python 2.5 has been broken for a long time with
14652 complaining, and 2.5 is ancient, bump minimum Python requirement to
14654 obsolete #ifdef paths which only apply to <= 2.5.
14656 https://bugzilla.gnome.org/show_bug.cgi?id=682422
14658 configure.ac | 2 +-
14659 gi/_glib/pyglib-python-compat.h | 8 --------
14660 gi/_gobject/gobjectmodule.c | 8 --------
14661 gi/module.py | 2 +-
14662 tests/runtests.py | 27 +++++++++++++++++++++++++++
14663 tests/test_gi.py | 2 +-
14664 6 files changed, 30 insertions(+), 19 deletions(-)
14666 commit b1a9848a7a7255e6b1ccd98712dd62b1514078b9
14667 Author: Thibault Saunier <thibault.saunier@collabora.com>
14668 Date: Tue Aug 21 07:54:09 2012 +0200
14670 Allow overrides in other directories than gi itself
14672 Use pkgutil.extend_path() for the gi and gi.overrides modules, so that
14673 libraries can install overrides in a path that is different from
14675 pygobject installs itself into. These overrides need to put this
14677 __init__.py at the top:
14679 from pkgutil import extend_path
14680 __path__ = extend_path(__path__, __name__)
14682 and put themselves somewhere into the default PYTHONPATH.
14684 https://bugzilla.gnome.org/show_bug.cgi?id=680913
14686 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
14687 Co-Authored-By: Simon Feltman <s.feltman@gmail.com>
14689 gi/__init__.py | 4 ++++
14690 gi/overrides/__init__.py | 4 ++++
14691 tests/gi/__init__.py | 2 ++
14692 tests/gi/overrides/Regress.py | 26 ++++++++++++++++++++++++++
14693 tests/gi/overrides/__init__.py | 2 ++
14694 tests/test_overrides.py | 6 ++++++
14695 6 files changed, 44 insertions(+)
14697 commit c7c95a795eee499373499ea5b771447746317bfb
14698 Author: Simon Feltman <s.feltman@gmail.com>
14699 Date: Thu Aug 23 06:03:09 2012 +0200
14701 Clean up sys.path handling in tests
14703 Only set sys.path once in runtests.py, not in the individual test
14705 reduces hidden dependencies between tests by building up a run
14707 search path, and also makes it easier in the future to run the
14709 the installed system libraries.
14711 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=680913
14713 tests/runtests-windows.py | 6 +++++-
14714 tests/runtests.py | 3 +++
14715 tests/test_everything.py | 1 -
14716 tests/test_gdbus.py | 3 ---
14717 tests/test_overrides.py | 3 ---
14718 tests/test_pygtkcompat.py | 3 ---
14719 6 files changed, 8 insertions(+), 11 deletions(-)
14721 commit 3e3525e93d852cde0f63e835b774a9b004773c69
14722 Author: Simon Feltman <s.feltman@gmail.com>
14723 Date: Sun Aug 19 02:30:39 2012 -0700
14725 Fix dynamic creation of enum and flag gi types for Python 3.3
14727 Importing Gtk was crashing on instantiation of dynamic Enum and Flag
14728 subclasses due to what looks to be an unsupported technique. Change
14729 tp_new() method for classes dynamically derived from PyGEnum_Type and
14730 PyGFlags_Type to call PyLong_Type.tp_new() instead of attempting
14732 __new__() as a python method. This technique seems to work with all
14733 versions of python so the previous python version checking also became
14736 https://bugzilla.gnome.org/show_bug.cgi?id=682323
14738 gi/_gobject/pygenum.c | 29 ++++++++++++++++-------------
14739 gi/_gobject/pygflags.c | 21 +++++++++------------
14740 2 files changed, 25 insertions(+), 25 deletions(-)
14742 commit dd31b67e821f92b5f1c2ee0382cac5edd477cd11
14743 Author: Paolo Borelli <pborelli@gnome.org>
14744 Date: Wed Aug 22 10:45:39 2012 +0200
14746 [API add] Override g_menu_item_set_attribute
14748 This C utility API take a vararg, add a corresponding override that
14749 takes a list of tuples
14751 https://bugzilla.gnome.org/show_bug.cgi?id=682436
14753 gi/overrides/Gio.py | 10 ++++++++++
14754 tests/test_overrides.py | 11 +++++++++++
14755 2 files changed, 21 insertions(+)
14757 commit 836902801373e386d370c44e7487aac3432f19f6
14758 Author: Martin Pitt <martinpitt@gnome.org>
14759 Date: Mon Aug 20 23:37:40 2012 +0200
14761 post-release bump to 3.3.91
14763 configure.ac | 2 +-
14764 1 file changed, 1 insertion(+), 1 deletion(-)
14766 commit 6a629e23ff7b0d6f532184017577c7427d577e28
14767 Author: Martin Pitt <martinpitt@gnome.org>
14768 Date: Mon Aug 20 23:05:49 2012 +0200
14772 NEWS | 13 +++++++++++++
14773 configure.ac | 2 +-
14774 2 files changed, 14 insertions(+), 1 deletion(-)
14776 commit 5cd18c9bd59a60b930ced0b35d728c12bb3291c7
14777 Author: Mathieu Duponchelle <mathieu.duponchelle@epitech.eu>
14778 Date: Mon Aug 20 22:54:52 2012 +0200
14780 Implement marshalling for GParamSpec
14782 https://bugzilla.gnome.org/show_bug.cgi?id=681565
14784 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
14786 gi/pygi-marshal-to-py.c | 16 ++++++++++++----
14787 tests/test_gi.py | 14 ++++++++++++++
14788 2 files changed, 26 insertions(+), 4 deletions(-)
14790 commit 16462de3f025f14706ec23fa9b3653feb66ad57f
14791 Author: Martin Pitt <martinpitt@gnome.org>
14792 Date: Mon Aug 20 15:24:10 2012 +0200
14794 Fix pep8/pyflakes invocation
14796 Fix regression from commit 1e056e4f4a: Do fail the tests if
14800 tests/Makefile.am | 4 ++--
14801 1 file changed, 2 insertions(+), 2 deletions(-)
14803 commit 1bee194274bcda9ba5f6751fa921218a92c8ac72
14804 Author: Simon Feltman <s.feltman@gmail.com>
14805 Date: Thu Aug 16 16:05:52 2012 -0700
14807 Fix erronous import statements for Python 3.3
14809 Update pygobject-external.h to use GType (which is what GTypeWrapper
14811 exposed as) instead of GTypeWrapper when attempting import.
14813 Catch ImportError around attempted imports of a typelibs override file
14814 which don't always exist (GObject...). This is a behavioural change in
14815 Python 3.3 (http://bugs.python.org/issue15715), but let's fix
14818 https://bugzilla.gnome.org/show_bug.cgi?id=682051
14820 gi/module.py | 7 +++++--
14821 gi/pygobject-external.h | 2 +-
14822 2 files changed, 6 insertions(+), 3 deletions(-)
14824 commit 1e056e4f4a19fd1139187467677c2592c2722290
14825 Author: Martin Pitt <martinpitt@gnome.org>
14826 Date: Mon Aug 20 11:52:08 2012 +0200
14828 Do not fail tests if pyflakes or pep8 are not installed
14830 These tools might not be desirable in restricted build environments or
14831 backports, and e. g. Fedora patches those out. So let the tests
14835 tests/Makefile.am | 4 ++--
14836 1 file changed, 2 insertions(+), 2 deletions(-)
14838 commit c219fa6da89a7d55c5c111751684aae6876a9fe3
14839 Author: Martin Pitt <martinpitt@gnome.org>
14840 Date: Mon Aug 20 11:42:47 2012 +0200
14842 gtk-demo: Fix some PEP-8 whitespace issues
14844 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 3 +--
14845 demos/gtk-demo/demos/dialogs.py | 2 +-
14846 demos/gtk-demo/demos/rotatedtext.py | 3 +--
14847 3 files changed, 3 insertions(+), 5 deletions(-)
14849 commit 0ac2a85cae368c046839b5619a96efc9e0b91ba3
14850 Author: Martin Pitt <martinpitt@gnome.org>
14851 Date: Mon Aug 20 11:38:50 2012 +0200
14853 test_overrides.py: Fix PEP8 whitespacing
14855 tests/test_overrides.py | 48
14856 +++++++++++++++++++++++++-----------------------
14857 1 file changed, 25 insertions(+), 23 deletions(-)
14859 commit 631a9cd05cbc7dc3d0f743a84b948ef7d93c0ed4
14860 Author: Martin Pitt <martinpitt@gnome.org>
14861 Date: Mon Aug 20 11:36:19 2012 +0200
14863 Ignore E124 pep8 error
14865 This is "closing bracket does not match visual indentation" which
14867 stupid. We do want the closing bracket at the same indentation level
14869 opening bracket, not the indentation level of the whole statement.
14871 tests/Makefile.am | 2 +-
14872 1 file changed, 1 insertion(+), 1 deletion(-)
14874 commit 266d37719bb54e6f04d23ff21bcceb9514e20ff2
14875 Author: David Malcolm <dmalcolm@redhat.com>
14876 Date: Mon Aug 20 11:27:52 2012 +0200
14878 Fix unmarshalling of gssize
14880 Do not assume that the v_int union member always corresponds to a
14882 is not true on big-endian 64 bit machines like ppc64, so add a new
14883 gi_argument_to_gssize() and use it properly.
14885 https://bugzilla.gnome.org/show_bug.cgi?id=680693
14886 https://bugzilla.redhat.com/show_bug.cgi?id=842880
14888 gi/pygi-argument.c | 53
14889 +++++++++++++++++++++++++++++++++++++++++++++---
14890 gi/pygi-argument.h | 1 +
14891 gi/pygi-closure.c | 2 +-
14892 gi/pygi-info.c | 4 ++--
14893 gi/pygi-signal-closure.c | 2 +-
14894 5 files changed, 55 insertions(+), 7 deletions(-)
14896 commit 1c5d497d3c354f4d02f1d4570df2c61d6f47300c
14897 Author: David Malcolm <dmalcolm@redhat.com>
14898 Date: Mon Aug 20 11:19:27 2012 +0200
14900 Fix various endianess errors
14902 Fix code which assumed little endian behaviour when mixing different
14904 ints, putting ints into pointers, etc.
14906 https://bugzilla.gnome.org/show_bug.cgi?id=680692
14907 https://bugzilla.redhat.com/show_bug.cgi?id=841596
14909 gi/pygi-argument.c | 64 +++++++++++++--
14910 gi/pygi-argument.h | 6 ++
14911 gi/pygi-cache.c | 2 +
14912 gi/pygi-closure.c | 57 ++++++++++++-
14913 gi/pygi-marshal-from-py.c | 203
14914 ++++++++++++++++++++++++++++++++++++----------
14915 gi/pygi-marshal-from-py.h | 3 +
14916 gi/pygi-marshal-to-py.c | 137 ++++++++++++++++++++++++-------
14917 7 files changed, 391 insertions(+), 81 deletions(-)
14919 commit ee6da6f1aa2cd6e55834f9edc17f785613d00031
14920 Author: Paolo Borelli <pborelli@gnome.org>
14921 Date: Wed Aug 15 13:16:11 2012 +0200
14923 Add unit test for the TreeModelSort override
14925 tests/test_overrides.py | 7 +++++++
14926 1 file changed, 7 insertions(+)
14928 commit 9f027daa5737107b5959964b699c0089aec8ab1e
14929 Author: Simon Feltman <s.feltman@gmail.com>
14930 Date: Thu Aug 9 03:33:06 2012 -0700
14932 Gtk overrides: Add TreeModelSort.__init__(self, model)
14934 This adds "model" as a required argument to TreeModelSort
14935 instead of it being a hidden keyword argument. This is needed
14936 because the model property is set to construct only and the
14937 default value of None/NULL makes the object useless anyhow.
14939 https://bugzilla.gnome.org/show_bug.cgi?id=681477
14941 gi/overrides/Gtk.py | 8 ++++++++
14942 1 file changed, 8 insertions(+)
14944 commit c8424c2bb19356679e250e73542682dd5f4c74a5
14945 Author: Manuel Quiñones <manuq@laptop.org>
14946 Date: Fri Aug 10 09:38:24 2012 -0300
14948 Convert Gtk.CellRendererState in the pygi-convert script
14950 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
14952 https://bugzilla.gnome.org/show_bug.cgi?id=681596
14954 pygi-convert.sh | 5 +++++
14955 1 file changed, 5 insertions(+)
14957 commit 54d829b34a0d32d852db370f61cc7f25c149f373
14958 Author: Paolo Borelli <pborelli@gnome.org>
14959 Date: Mon Aug 6 16:19:28 2012 +0200
14961 More updates to the HACKING file
14963 module-install has been replaced with 'ftpadmin install' and other
14967 HACKING | 26 ++++++++++----------------
14968 1 file changed, 10 insertions(+), 16 deletions(-)
14970 commit 0788880c6cf4070d3db09896c165fe470d2ec186
14971 Author: Paolo Borelli <pborelli@gnome.org>
14972 Date: Mon Aug 6 16:00:39 2012 +0200
14974 Post-release version bump to 3.3.6
14976 configure.ac | 2 +-
14977 1 file changed, 1 insertion(+), 1 deletion(-)
14979 commit 664403d953c3e07077d0db90bfae3b51c7f1767c
14980 Author: Paolo Borelli <pborelli@gnome.org>
14981 Date: Mon Aug 6 15:52:22 2012 +0200
14985 NEWS | 29 +++++++++++++++++++++++++++++
14986 1 file changed, 29 insertions(+)
14988 commit b748753a2a9af018001213e2e58c48d6c8bfadbd
14989 Author: Paolo Borelli <pborelli@gnome.org>
14990 Date: Mon Aug 6 15:44:32 2012 +0200
14992 Update HACKING file to mention "make release-news"
14994 HACKING | 7 +++----
14995 1 file changed, 3 insertions(+), 4 deletions(-)
14997 commit 587a0c33901383b891f8eb77351c17f06af20b4f
14998 Author: Paolo Borelli <pborelli@gnome.org>
14999 Date: Mon Aug 6 15:38:23 2012 +0200
15001 pygi-closure: remove unused variables
15003 These variables are assigned but never actually used
15005 gi/pygi-closure.c | 8 --------
15006 1 file changed, 8 deletions(-)
15008 commit dbc6df6aad7197fcf8721ade429baadd749f7069
15009 Author: Martin Pitt <martinpitt@gnome.org>
15010 Date: Fri Aug 3 07:13:55 2012 +0200
15012 tests: Do not break on Pango warnings
15014 In some restricted environments (like chroots) we sometimes get
15016 Pango when it cannot find an appropriate font. Do not make the tests
15020 tests/test_overrides.py | 4 ++++
15021 tests/test_pygtkcompat.py | 6 ++++++
15022 2 files changed, 10 insertions(+)
15024 commit 770e6abfd5bc5dad7d5f56a18f1ef63f9754ada9
15025 Author: Martin Pitt <martinpitt@gnome.org>
15026 Date: Fri Aug 3 06:45:48 2012 +0200
15028 Fix list marshalling on big-endian machines
15030 On big endian machines we cannot simply set e. g. GIArgument.v_int8
15032 GIArgument.v_pointer to be a correct representation. This needs to use
15033 GINT_TO_POINTER/GPOINTER_TO_INT properly, so use the already existing
15034 _pygi_hash_pointer_to_arg()/_pygi_arg_to_hash_pointer() methods
15036 to and from GList and GSList, and handle int8 and int16 as well.
15038 Part of porting pygobject to ppc64:
15039 https://bugzilla.redhat.com/show_bug.cgi?id=842880
15040 https://bugzilla.gnome.org/show_bug.cgi?id=680693
15042 gi/pygi-marshal-from-py.c | 48 ++++++++++++++++++++++++-----------------
15043 gi/pygi-marshal-to-py.c | 54
15044 +++++++++++++++++++++++++++--------------------
15045 2 files changed, 60 insertions(+), 42 deletions(-)
15047 commit b5cd13f47309ec26727b7574e33595a357602468
15048 Author: Colin Walters <walters@verbum.org>
15049 Date: Tue Jul 31 11:47:02 2012 -0400
15051 pygi-marshal: One more 32-bit -Werror=format fix
15053 gi/pygi-marshal-from-py.c | 6 +++---
15054 1 file changed, 3 insertions(+), 3 deletions(-)
15056 commit 526bf43691cb6ed908589312b1693a6389eba00c
15057 Author: Martin Pitt <martinpitt@gnome.org>
15058 Date: Tue Jul 31 17:14:37 2012 +0200
15060 Beautify class/interface type mismatch error messages
15062 Avoid saying "<unknown module>.int", just skip the module name
15063 completely if we do not have one.
15065 gi/pygi-marshal-from-py.c | 20 ++++++++++++--------
15066 1 file changed, 12 insertions(+), 8 deletions(-)
15068 commit 8fb18c62d9c7faff38df3886cb4289b618c81b85
15069 Author: Martin Pitt <martinpitt@gnome.org>
15070 Date: Tue Jul 31 13:13:21 2012 +0200
15072 Skip instead of fail tests which need Pango, Atk, Gdk, Gtk
15074 On initial jhbuild bootstrap or restricted environments, the Pango,
15076 and Gtk typelibs might not be available. Skip tests which need these
15078 failing the testsuite.
15080 tests/test_atoms.py | 7 ++++++-
15081 tests/test_everything.py | 9 ++++++++-
15082 tests/test_overrides.py | 32 ++++++++++++++++++++++++++------
15083 tests/test_pygtkcompat.py | 30 ++++++++++++++++++++----------
15084 4 files changed, 60 insertions(+), 18 deletions(-)
15086 commit a2e73c109f3ed6080eabc85810e624b9f984317e
15087 Author: Colin Walters <walters@verbum.org>
15088 Date: Tue Jul 31 09:02:24 2012 -0400
15090 pygi-argument: Fix -Wformat warning on 32 bit builds
15092 gi/pygi-argument.c | 4 ++--
15093 1 file changed, 2 insertions(+), 2 deletions(-)
15095 commit 7563bb9f8ed5740f52ddf0ca59daf7839853505b
15096 Author: Martin Pitt <martinpitt@gnome.org>
15097 Date: Tue Jul 31 11:14:36 2012 +0200
15099 Fix tests for Python 2
15101 In Python 2 we get different error messages for a mismatching self
15103 check after commit 121b14028.
15105 tests/test_gi.py | 32 ++++++++++++++++++++------------
15106 1 file changed, 20 insertions(+), 12 deletions(-)
15108 commit 5c5b066854cc0b3b7702f31d212aa3f511c62127
15109 Author: Martin Pitt <martinpitt@gnome.org>
15110 Date: Tue Jul 31 10:30:22 2012 +0200
15112 Build with -Werror=format
15114 This catches format string problems on particular architectures like
15116 dea24f8e12 much more insistently.
15119 1 file changed, 1 insertion(+)
15121 commit 6e84a3052667fdc88c2081e20cc6dc3257ec9d6c
15122 Author: Simon Feltman <s.feltman@gmail.com>
15123 Date: Mon Jul 30 02:00:16 2012 -0700
15125 [API add] pygtkcompat: Add more pixbuf creation functions
15127 Add the following functions:
15128 pixbuf_new_from_data
15129 pixbuf_new_from_file_at_scale
15130 pixbuf_new_from_file_at_size
15131 pixbuf_new_from_inline
15132 pixbuf_new_from_stream
15133 pixbuf_new_from_stream_at_scale
15134 pixbuf_new_from_xpm_data
15135 pixbuf_get_file_info
15137 https://bugzilla.gnome.org/show_bug.cgi?id=680814
15139 gi/pygtkcompat.py | 10 +++++++++-
15140 1 file changed, 9 insertions(+), 1 deletion(-)
15142 commit dea24f8e1221516b2d8ea578e55124b0409d6a76
15143 Author: Colin Walters <walters@verbum.org>
15144 Date: Mon Jul 30 22:17:44 2012 -0400
15146 marshal: Fix a lot of format string warnings on 32 bit
15148 G_GUINT64_FORMAT and friends handle "%lld" portably.
15150 https://bugzilla.gnome.org/show_bug.cgi?id=680878
15152 gi/pygi-marshal-from-py.c | 18 +++++++++---------
15153 1 file changed, 9 insertions(+), 9 deletions(-)
15155 commit b630038d9a1c8cb7e5914c77fbacbed646c154d1
15156 Author: Colin Walters <walters@verbum.org>
15157 Date: Mon Jul 30 22:30:07 2012 -0400
15159 marshal: Fix build break on Python 2
15161 I *think* using this wrapper function instead is right.
15163 https://bugzilla.gnome.org/show_bug.cgi?id=680879
15165 gi/pygi-marshal-from-py.c | 8 ++++----
15166 1 file changed, 4 insertions(+), 4 deletions(-)
15168 commit a8338a991bbe919f0e2d9b92f7b71f89ccd2c875
15169 Author: Manuel Quiñones <manuq@laptop.org>
15170 Date: Mon Jul 30 12:53:36 2012 -0300
15172 Improve testcase for tree_view_column_set_attributes
15174 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
15176 https://bugzilla.gnome.org/show_bug.cgi?id=680320
15178 tests/test_overrides.py | 20 ++++++++++++++++++--
15179 1 file changed, 18 insertions(+), 2 deletions(-)
15181 commit 121b1402860407fe46f7501e42447bf3607872ec
15182 Author: Martin Pitt <martinpitt@gnome.org>
15183 Date: Tue Jul 31 00:37:55 2012 +0200
15185 Fix error messages on interface/class type mismatches
15187 Previously, when you called a function with an argument which was not
15188 compatible with the expected class/interface type, you got an
15192 TypeError: Expected Gtk.TreeViewColumn, but got GObjectMeta
15194 which had the wrong (and useless) class name for the actual type,
15196 tell you which argument caused the problem. With this it says e. g.
15198 TypeError: argument column: Expected Gtk.TreeViewColumn, but
15203 gi/pygi-marshal-from-py.c | 41 ++++++++++++++++++++++++++--------
15204 tests/test_gi.py | 57
15205 ++++++++++++++++++++++++++++++++++++++++++++++-
15206 2 files changed, 88 insertions(+), 10 deletions(-)
15208 commit 8f31e85db1392eb7222593fc0d05144c2bca06a3
15209 Author: Simon Feltman <s.feltman@gmail.com>
15210 Date: Sun Jul 29 23:36:25 2012 -0700
15212 Fix crash when returning (False, None) from
15213 Gtk.TreeModel.do_get_iter()
15215 Add a Py_None check before attempting memcpy().
15217 https://bugzilla.gnome.org/show_bug.cgi?id=680812
15219 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15221 gi/pygi-closure.c | 10 +++++++---
15222 tests/test_overrides.py | 9 +++++++++
15223 2 files changed, 16 insertions(+), 3 deletions(-)
15225 commit 94e5d58e7794de91d3291e0e51c42070da4fc92b
15226 Author: Martin Pitt <martinpitt@gnome.org>
15227 Date: Mon Jul 30 11:58:24 2012 +0200
15229 Add test case for Gtk.TextIter.forward_search()
15231 https://bugzilla.gnome.org/show_bug.cgi?id=679415
15233 tests/test_overrides.py | 19 +++++++++++++++++++
15234 1 file changed, 19 insertions(+)
15236 commit aae4e77482c02e21154ab02b159f380f5f0f74be
15237 Author: Martin Pitt <martinpitt@gnome.org>
15238 Date: Fri Jul 27 23:06:39 2012 +0200
15240 Add missing static declarations
15242 This fixes a lot of -Wmissing-prototype warnings.
15244 Also remove _pygi_marshal_cleanup_closure_unref() which is not
15247 gi/_gobject/gobjectmodule.c | 4 ++--
15248 gi/_gobject/pygobject.c | 2 +-
15249 gi/pygi-cache.c | 2 +-
15250 gi/pygi-foreign-cairo.c | 24 ++++++++++++------------
15251 gi/pygi-foreign.c | 2 +-
15252 gi/pygi-marshal-cleanup.c | 9 ---------
15253 tests/test-unknown.c | 2 +-
15254 tests/testhelpermodule.c | 4 ++--
15255 8 files changed, 20 insertions(+), 29 deletions(-)
15257 commit 5f88d3017f853c4ff5e9fd89ef39e4569a9b9c16
15258 Author: Martin Pitt <martinpitt@gnome.org>
15259 Date: Fri Jul 27 23:01:08 2012 +0200
15261 Fix more missing #includes
15263 Add missing includes which caused -Wmissing-prototypes warnings.
15265 gi/_gobject/pygenum.c | 2 ++
15266 gi/_gobject/pyginterface.c | 2 ++
15267 2 files changed, 4 insertions(+)
15269 commit 97b5184c6650964ae8a7616353f5ce8e3ca19af3
15270 Author: Martin Pitt <martinpitt@gnome.org>
15271 Date: Fri Jul 27 22:59:21 2012 +0200
15273 Make some warnings fatal
15275 Add -Werror for some warnings which are real errors in the source
15277 really want to avoid. This includes -Wmissing-prototypes, but that
15279 breaks on building g-i's regress.c.
15281 configure.ac | 5 +++++
15282 1 file changed, 5 insertions(+)
15284 commit c2ee8c550199de59dd220561ed028ec6fb8e1daf
15285 Author: Martin Pitt <martinpitt@gnome.org>
15286 Date: Fri Jul 27 22:08:47 2012 +0200
15288 Fix missing #includes
15290 Add missing includes which caused -Wmissing-prototypes warnings.
15292 gi/_glib/pygiochannel.c | 2 ++
15293 gi/_glib/pygspawn.c | 2 ++
15294 2 files changed, 4 insertions(+)
15296 commit 8bc98fc6665ebab763ee92361929139a0ebe66b5
15297 Author: Martin Pitt <martinpitt@gnome.org>
15298 Date: Fri Jul 27 20:52:00 2012 +0200
15300 pygi-info.c: Robustify pointer arithmetic
15302 In _wrap_g_field_info_{get,set}_value(), use explicit char* casts
15304 that we are using byte offsets. Fixes warnings:
15306 pygi-info.c:1277:43: warning: pointer of type 'void *' used in
15307 arithmetic [-Werror=pointer-arith]
15309 gi/pygi-info.c | 4 ++--
15310 1 file changed, 2 insertions(+), 2 deletions(-)
15312 commit d0a561057b727ebcc1fd06fa6a3b48f2a1f8338e
15313 Author: Martin Pitt <martinpitt@gnome.org>
15314 Date: Fri Jul 27 20:50:30 2012 +0200
15316 pyglib.c: Remove some dead code
15318 Drop unused pyglib_gil_state_ensure_py23() and
15319 pyglib_gil_state_release_py23().
15321 gi/_glib/pyglib.c | 18 ------------------
15322 1 file changed, 18 deletions(-)
15324 commit a46d165d906d0ac7613f4d946542423e979f39d5
15325 Author: Manuel Quiñones <manuq@laptop.org>
15326 Date: Fri Jul 20 10:37:04 2012 -0300
15328 Add set_attributes() override to Gtk.TreeViewColumn
15330 Looking at the C code, gtk_tree_view_column_set_attributesv just calls
15331 gtk_cell_layout_clear_attributes and then
15332 gtk_cell_layout_add_attribute for each (name, value) passed. This
15333 patch makes the same in the overrides.
15335 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
15336 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15338 gi/overrides/Gtk.py | 7 +++++++
15339 tests/test_overrides.py | 6 ++++++
15340 2 files changed, 13 insertions(+)
15342 commit 4df676e10a5ea595a0d491af10268f557dd722d7
15343 Author: Daniel Narvaez <dwnarvaez@gmail.com>
15344 Date: Tue Jul 24 13:49:15 2012 +0200
15348 The autogenerated gitignores was missing several files. So we
15349 was using a manual .gitignore at the root. But since it's
15350 enough to add a couple of entries to it to cover the whole
15351 tree, there is no much point in using git.mk at all.
15353 https://bugzilla.gnome.org/show_bug.cgi?id=678192
15356 docs/Makefile.am | 2 -
15357 examples/Makefile.am | 3 -
15358 gi/Makefile.am | 3 -
15359 gi/_glib/Makefile.am | 3 -
15360 gi/_gobject/Makefile.am | 2 -
15361 gi/overrides/Makefile.am | 2 -
15362 gi/repository/Makefile.am | 2 -
15364 ----------------------------------------------
15365 tests/Makefile.am | 2 -
15366 10 files changed, 222 deletions(-)
15368 commit 0d729c1534c7f3226b492f549d8f6ad3bb3ac8b7
15369 Author: Simon Feltman <s.feltman@gmail.com>
15370 Date: Fri Jul 20 19:55:46 2012 -0700
15372 Gtk overrides: Add TreePath.__getitem__()
15374 Use pythons sub-script operator for indexing into TreePaths
15375 as was the case in PyGtk. Also changed __iter__ to use
15376 TreePath.get_indices as opposed to formatting and re-parsing
15377 a string for getting an index list.
15379 https://bugzilla.gnome.org/show_bug.cgi?id=680353
15381 gi/overrides/Gtk.py | 5 ++++-
15382 tests/test_overrides.py | 4 ++++
15383 2 files changed, 8 insertions(+), 1 deletion(-)
15385 commit affc7faa3fa7250e2e8c2c65e6860906f6fbc4fb
15386 Author: Simon Feltman <s.feltman@gmail.com>
15387 Date: Fri Jul 20 21:34:33 2012 -0700
15389 Fix property type mapping from int to TYPE_INT for python3.
15391 Python3 does not have a long type, however, propertyhelper.py was
15392 using long_ = int; to get things working. Type mapping code
15393 was then checking for long_ first and always returning TYPE_LONG.
15394 Additional refactoring was done to move large if/elif statements
15395 into dictionary lookups and usage of tuples instead of lists
15396 for simple 'in' list of items tests.
15398 https://bugzilla.gnome.org/show_bug.cgi?id=679939
15400 gi/_gobject/propertyhelper.py | 117
15401 +++++++++++++++++++-----------------------
15402 tests/test_properties.py | 55 +++++++++++++++-----
15403 2 files changed, 96 insertions(+), 76 deletions(-)
15405 commit 6fddba5bc5ea02938677a89ffeb0cfc53229b894
15406 Author: Manuel Quiñones <manuq@laptop.org>
15407 Date: Thu Jul 19 12:11:34 2012 -0300
15409 Convert Gtk.DestDefaults constants in pygi-convert.sh script
15411 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
15413 https://bugzilla.gnome.org/show_bug.cgi?id=680259
15415 pygi-convert.sh | 1 +
15416 1 file changed, 1 insertion(+)
15418 commit d58c3553062fd8704a81a8233b4a1563a6611718
15419 Author: Manuel Quiñones <manuq@laptop.org>
15420 Date: Thu Jul 19 12:04:03 2012 -0300
15422 Convert all Gdk.WindowState constants in pygi-convert.sh
15424 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
15426 https://bugzilla.gnome.org/show_bug.cgi?id=680257
15428 pygi-convert.sh | 1 +
15429 1 file changed, 1 insertion(+)
15431 commit a3aae2e152c0b955037b7b85e16d14d00881d870
15432 Author: Joe R. Nassimian <placidrage@gmail.com>
15433 Date: Thu Jul 19 15:48:20 2012 +0200
15435 [API add] Add API for checking pygobject's version
15437 Add a gi.__version__ attribute for the textual version, and
15438 gi.version_info for
15439 a version triple similar to sys.version_info.
15441 Also add a gi.require_version(<minimum_version>) which raises an
15443 the pygobject version is older.
15445 https://bugzilla.gnome.org/show_bug.cgi?id=680176
15447 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15449 gi/__init__.py | 16 ++++++++++++++++
15450 tests/test_gi.py | 16 ++++++++++++++++
15451 2 files changed, 32 insertions(+)
15453 commit a2d9b71d84f0fcb7aaf5ce483ffee3b3a1ccaca1
15454 Author: Manuel Quiñones <manuq@laptop.org>
15455 Date: Mon Jul 16 17:14:46 2012 -0300
15457 pygi-convert.sh: Add some missing Gdk.CursorTypes
15459 This patch adds WATCH, ARROW and CLOCK.
15461 https://bugzilla.gnome.org/show_bug.cgi?id=680050
15463 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
15464 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15466 pygi-convert.sh | 3 +++
15467 1 file changed, 3 insertions(+)
15469 commit 0b08c01414ac73a4604acd9a846e7af09574929f
15470 Author: Manuel Kaufmann <humitos@gmail.com>
15471 Date: Tue Jul 17 09:05:27 2012 -0300
15473 pygi-convert.sh: convert rsvg.Handle(data=...)
15475 Replace rsvg.Handle(data=data) with Rsvg.Handle.new_from_data(data)
15477 https://bugzilla.gnome.org/show_bug.cgi?id=680092
15479 Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
15480 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15482 pygi-convert.sh | 2 ++
15483 1 file changed, 2 insertions(+)
15485 commit 975855d0fff7f2042fe1f0e843f96b9a37cc6b79
15486 Author: Martin Pitt <martinpitt@gnome.org>
15487 Date: Mon Jul 16 17:35:38 2012 +0200
15489 configure.ac: post-release bump to 3.3.5
15491 configure.ac | 2 +-
15492 1 file changed, 1 insertion(+), 1 deletion(-)
15494 commit 126842b7227fcc1381dc158acdc5a96d0a465515
15495 Author: Martin Pitt <martinpitt@gnome.org>
15496 Date: Mon Jul 16 17:33:08 2012 +0200
15500 NEWS | 28 ++++++++++++++++++++++++++++
15501 1 file changed, 28 insertions(+)
15503 commit 079b73b3eb9083bd53e06d095f9dccc02acf2a6e
15504 Author: Martin Pitt <martinpitt@gnome.org>
15505 Date: Mon Jul 16 17:29:22 2012 +0200
15507 test_gi: Fix for Python 2
15509 tests/test_gi.py | 7 +++++--
15510 1 file changed, 5 insertions(+), 2 deletions(-)
15512 commit 30935fe31bfe201bbfdb7734f09fdd2bbaf80e08
15513 Author: Martin Pitt <martinpitt@gnome.org>
15514 Date: Mon Jul 16 16:35:33 2012 +0200
15516 pygi-convert.sh: Drop bogus filter_new() conversion
15518 my_tree_model.filter_new() is still a method on GtkTreeModel, not a
15519 constructor, so do not try to convert it to a constructor call.
15521 https://bugzilla.gnome.org/show_bug.cgi?id=679999
15523 pygi-convert.sh | 1 -
15524 1 file changed, 1 deletion(-)
15526 commit c0607d970fc59528ca27d518282cf2871b92e909
15527 Author: Martin Pitt <martinpitt@gnome.org>
15528 Date: Mon Jul 16 16:00:40 2012 +0200
15530 Fix help() for GI modules
15532 Derive DynamicModule from types.ModuleType, so that the inspect
15534 ismodule() actually succeeds on those and generates useful help on
15538 https://bugzilla.gnome.org/show_bug.cgi?id=679804
15540 gi/module.py | 3 ++-
15541 tests/test_gi.py | 15 +++++++++++++++
15542 2 files changed, 17 insertions(+), 1 deletion(-)
15544 commit 3235f1a397c334de5a7570f5ceed4da709fe1714
15545 Author: Martin Pitt <martinpitt@gnome.org>
15546 Date: Mon Jul 16 15:53:31 2012 +0200
15548 Skip gi.CallbackInfo objects from a module's dir()
15550 Skip gi.CallbackInfo items from IntrospectionModule's __dir__(),
15552 implement __getattr__ for those.
15554 Add a test case that dir() works on GI modules, contain expected
15556 and that all identifiers in dir() can actually be retrieved.
15558 Prerequisite for https://bugzilla.gnome.org/show_bug.cgi?id=679804
15560 gi/module.py | 7 +++++--
15561 tests/test_gi.py | 14 ++++++++++++++
15562 2 files changed, 19 insertions(+), 2 deletions(-)
15564 commit f6cc039e014448a553d626aac4020ee69717edab
15565 Author: Martin Pitt <martinpitt@gnome.org>
15566 Date: Mon Jul 16 15:38:05 2012 +0200
15568 Fix __path__ module attribute
15570 get_typelib_path() returns bytes, not strings, so in Python 3 we
15572 it to get a proper __path__ attribute.
15574 gi/module.py | 17 +++++++++++++++++
15575 tests/test_gi.py | 10 ++++++++++
15576 2 files changed, 27 insertions(+)
15578 commit 858048f7cec78129aa914e2341ab80aac0e95cc5
15579 Author: Joe R. Nassimian <placidrage@gmail.com>
15580 Date: Mon Jul 16 15:02:10 2012 +0200
15582 pygi-convert.sh: Fix some child → getChild() false positives
15584 https://bugzilla.gnome.org/show_bug.cgi?id=680004
15586 pygi-convert.sh | 2 +-
15587 1 file changed, 1 insertion(+), 1 deletion(-)
15589 commit a31fabdc12f1da301c8df0af319ca3f4181671ee
15590 Author: Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com>
15591 Date: Thu Jul 12 09:19:42 2012 +0200
15593 Fix array handling for interfaces, properties, and signals
15595 Fix lots of corner cases where arrays are not handled properly.
15596 _pygi_argument_to_object() now has the documented expectation of
15598 packed in GArrays. This was implicit before and not correctly done
15602 The helper _pygi_argument_to_array() has been improved to work on
15604 array. Fix all call sites of _pygi_argument_to_object() to do the
15605 array conversion appropriately before calling
15606 _pygi_argument_to_object().
15608 Adds a test case that implements a GInterface with a method that
15610 of variants as input.
15612 https://bugzilla.gnome.org/show_bug.cgi?id=667244
15614 gi/pygi-argument.c | 156
15615 ++++++++++++++++++++++++++++++++---------------
15616 gi/pygi-argument.h | 4 +-
15617 gi/pygi-closure.c | 11 ++++
15618 gi/pygi-info.c | 20 ++++--
15619 gi/pygi-property.c | 1 +
15620 gi/pygi-signal-closure.c | 14 ++++-
15621 tests/test_gi.py | 18 ++++++
15622 7 files changed, 167 insertions(+), 57 deletions(-)
15624 commit bb80d124269ee2389c04d03a478475868fd9ff7b
15625 Author: Manuel Quiñones <manuq@laptop.org>
15626 Date: Wed Jul 11 22:05:41 2012 -0300
15628 Add conversion of the Gdk.PropMode constants to pygi-convert.sh script
15630 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
15632 https://bugzilla.gnome.org/show_bug.cgi?id=679775
15634 pygi-convert.sh | 3 +++
15635 1 file changed, 3 insertions(+)
15637 commit e3a63eefa5fb2abeabd210790e12642e577363c8
15638 Author: Manuel Quiñones <manuq@laptop.org>
15639 Date: Wed Jul 11 13:18:16 2012 -0300
15641 Add the same rules for pack_start to convert pack_end
15643 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
15645 https://bugzilla.gnome.org/show_bug.cgi?id=679760
15647 pygi-convert.sh | 5 +++++
15648 1 file changed, 5 insertions(+)
15650 commit b4bef457c2d0ca6899e06a021f1f06252a37e326
15651 Author: Dave Malcolm <dmalcolm@redhat.com>
15652 Date: Wed Jul 11 08:21:27 2012 +0200
15654 Add error-checking for the case where _arg_cache_new() fails
15656 This can happen when a typelib and its underlying library are
15658 converts the segfault into a more helpful traceback.
15660 https://bugzilla.gnome.org/show_bug.cgi?id=678914
15662 gi/pygi-cache.c | 2 ++
15663 1 file changed, 2 insertions(+)
15665 commit 41287d8a439c656e4ac60361fddec643c713234c
15666 Author: Manuel Quiñones <manuq@laptop.org>
15667 Date: Wed Jul 11 11:13:38 2012 -0300
15669 Add conversion of the Gdk.NotifyType constants to pygi-convert.sh
15672 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
15674 https://bugzilla.gnome.org/show_bug.cgi?id=679754
15676 pygi-convert.sh | 6 ++++++
15677 1 file changed, 6 insertions(+)
15679 commit 5403149b900d1b73cbc78767dc43be2eb344c836
15680 Author: Simon Feltman <s.feltman@gmail.com>
15681 Date: Tue Jul 10 19:07:32 2012 -0700
15683 Fix PyObject_Repr and PyObject_Str reference leaks
15685 Fix all calls to PyObject_Repr() and PyObject_Str() to be properly
15688 https://bugzilla.gnome.org/show_bug.cgi?id=675857
15690 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15692 gi/_glib/glibmodule.c | 10 +++++++--
15693 gi/_gobject/gobjectmodule.c | 17 ++++++++++-----
15694 gi/_gobject/pygobject.c | 53
15695 ++++++++++++++++++++++++++++++---------------
15696 gi/pygi-marshal-from-py.c | 9 +++++---
15697 4 files changed, 62 insertions(+), 27 deletions(-)
15699 commit 0ddfecf3bf0a5d7893cd02cff41503d810ef6ce8
15700 Author: Martin Pitt <martinpitt@gnome.org>
15701 Date: Wed Jul 4 08:46:30 2012 +0200
15703 [API add] Gtk overrides: Add TreePath.__len__()
15705 Use the path depth as length of a Gtk.TreePath object.
15707 https://bugzilla.gnome.org/show_bug.cgi?id=679199
15709 gi/overrides/Gtk.py | 3 +++
15710 tests/test_overrides.py | 4 ++++
15711 2 files changed, 7 insertions(+)
15713 commit e1e849d1a9af77c29ee35971db8d439bac60d573
15714 Author: Martin Pitt <martinpitt@gnome.org>
15715 Date: Wed Jul 4 08:35:16 2012 +0200
15717 GLib.Variant: Fix repr(), add proper str()
15719 Fix the GLib.Variant override's repr() after commit 16280d6985. Also
15721 proper __str__() method, and tests for both.
15723 Thanks to Rul Matos for spotting this!
15725 https://bugzilla.gnome.org/show_bug.cgi?id=679336
15727 gi/overrides/GLib.py | 6 +++++-
15728 tests/test_overrides.py | 5 +++++
15729 2 files changed, 10 insertions(+), 1 deletion(-)
15731 commit af20d7c929b9c1888454b52932a308d346e1c12b
15732 Author: Martin Pitt <martinpitt@gnome.org>
15733 Date: Thu Jun 28 06:51:22 2012 +0200
15735 m4/python.m4: Update Python version list
15737 Thanks to Dieter Verfaillie for pointing this out.
15739 m4/python.m4 | 3 +--
15740 1 file changed, 1 insertion(+), 2 deletions(-)
15742 commit a96a26234e2aaa157837d26094864e3ad9b63edf
15743 Author: Micah Carrick <micah@quixotix.com>
15744 Date: Mon Jun 25 09:05:59 2012 -0700
15746 Remove "label" property from Gtk.MenuItem if it is not set
15748 The Gtk.MenuItem will not render as a separator if the "label" or
15749 "user-underline" properties have been accessed. The constructor
15750 for Gtk.MenuItem override should not pass the "label" property
15751 as an argument if it is None since that will still result in an
15752 empty label widget which breaks Gtk.SeparatorMenuItem.
15754 https://bugzilla.gnome.org/show_bug.cgi?id=670575
15756 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15758 gi/overrides/Gtk.py | 5 ++++-
15759 1 file changed, 4 insertions(+), 1 deletion(-)
15761 commit afa12faf339efb4f7780168e884ecf49b630644a
15762 Author: Martin Pitt <martinpitt@gnome.org>
15763 Date: Mon Jun 25 16:36:31 2012 +0200
15765 configure.ac: Post-release bump to 3.3.4.
15767 configure.ac | 2 +-
15768 1 file changed, 1 insertion(+), 1 deletion(-)
15770 commit 198066effc0ca44ccb897e9f0738ab627e8b3275
15771 Author: Martin Pitt <martinpitt@gnome.org>
15772 Date: Mon Jun 25 16:35:49 2012 +0200
15777 configure.ac | 2 +-
15778 2 files changed, 4 insertions(+), 1 deletion(-)
15780 commit cb70ae0aa52ab7624b2b8c30297d8a52a7db7f44
15781 Author: Martin Pitt <martinpitt@gnome.org>
15782 Date: Mon Jun 25 16:32:45 2012 +0200
15784 Do not escape enum and flag names that are Python keywords
15786 These are translated to upper case, and thus can never be
15787 keywords. This broke
15788 existing API such as Gtk.ShadowType.IN.
15790 gi/module.py | 2 +-
15791 gi/pygi-info.c | 7 +++++++
15792 tests/test_gi.py | 3 +++
15793 3 files changed, 11 insertions(+), 1 deletion(-)
15795 commit f2524a982b0b8ba7cdbb77003372416af0b7a978
15796 Author: Martin Pitt <martinpitt@gnome.org>
15797 Date: Mon Jun 25 15:39:50 2012 +0200
15799 configure.ac: Post-release version bump to 3.3.4
15801 configure.ac | 2 +-
15802 1 file changed, 1 insertion(+), 1 deletion(-)
15804 commit fe56faa346c8e8f9fd5915602424778d458a776d
15805 Author: Martin Pitt <martinpitt@gnome.org>
15806 Date: Mon Jun 25 15:36:37 2012 +0200
15810 NEWS | 15 +++++++++++++++
15811 1 file changed, 15 insertions(+)
15813 commit 299a2fd726f0aceaf67b1cec7a0ef8b21ff7bcbc
15814 Author: Martin Pitt <martinpitt@gnome.org>
15815 Date: Mon Jun 25 15:35:19 2012 +0200
15817 Bring back ChangeLog make target
15819 This is being used by "make dist".
15821 Makefile.am | 15 +++++++++++++++
15822 1 file changed, 15 insertions(+)
15824 commit 760118e4ed73de2f022706ef897fcc848e90c005
15825 Author: Martin Pitt <martinpitt@gnome.org>
15826 Date: Mon Jun 25 15:31:14 2012 +0200
15828 Remove obsolete ChangeLog and release-tag make targets
15830 Makefile.am | 23 -----------------------
15831 1 file changed, 23 deletions(-)
15833 commit e92278692bb51679d6e957c2ac36db64498a7c73
15834 Author: Simon Schampijer <simon@schampijer.de>
15835 Date: Fri Jun 15 16:11:21 2012 +0200
15837 Do not do any python calls when GObjects are destroyed after the
15838 python interpreter has been finalized
15840 This happens when pygobject_data_free () function is called after
15842 interpreter shuts down, we can't do python calls after that.
15844 Benzea did the findings because of a bug in Sugar, and commented
15846 SugarLabs ticket: http://bugs.sugarlabs.org/ticket/3670
15848 https://bugzilla.gnome.org/show_bug.cgi?id=678046
15850 Signed-off-by: Benjamin Berg <benzea@sugarlabs.org>
15851 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
15853 gi/_gobject/pygobject.c | 27 ++++++++++++++++++++++-----
15854 1 file changed, 22 insertions(+), 5 deletions(-)
15856 commit de4aa426002eeb09a060f8fd70bd6cb25a17766a
15857 Author: Martin Pitt <martinpitt@gnome.org>
15858 Date: Mon Jun 25 15:06:47 2012 +0200
15860 Do not change constructor-only "type" Window property
15862 When reading a Gtk.Window subclass from a GtkBuilder object,
15864 properties are already set at __init__ time. Do not try to set it
15868 https://bugzilla.gnome.org/show_bug.cgi?id=678510
15870 gi/overrides/Gtk.py | 8 +++++++-
15871 tests/test_overrides.py | 36 ++++++++++++++++++++++++++++++++++++
15872 2 files changed, 43 insertions(+), 1 deletion(-)
15874 commit 16280d6985f2cf4db9cf062e857650e620fd9da8
15875 Author: Martin Pitt <martinpitt@gnome.org>
15876 Date: Mon Jun 25 09:40:38 2012 +0200
15878 Escape identifiers which are Python keywords
15880 Add a trailing underscore to identifiers which are Python keywords.
15882 We use a per-major-version static identifier list derived from
15884 instead of calling out to Python's keyword.iskeyword(). This is
15886 and also allows us to tweak the result. For example, Python 3 dropped
15888 as a keyword, but we still want to escape that to avoid breaking
15890 between different Python versions.
15892 Error out when building with a major Python version not covered yet,
15894 do not forget to update the list in the future.
15896 https://bugzilla.gnome.org/show_bug.cgi?id=676746
15898 gi/pygi-info.c | 38 +++++++++++++++++++++++++++++++++++++-
15899 tests/test_gi.py | 17 +++++++++++++++++
15900 2 files changed, 54 insertions(+), 1 deletion(-)
15902 commit 3864d7a3b7def035ee2daf22ba717371c8d261de
15903 Author: Martin Pitt <martinpitt@gnome.org>
15904 Date: Fri Jun 22 13:13:37 2012 +0200
15906 Ignore E123 in pep8 tests
15908 This is "closing bracket does not match indentation of opening
15910 but it really looks better to have the closing bracket on the
15912 of the opening bracket instead of the indentation level of the
15914 contains the opening bracket.
15916 tests/Makefile.am | 2 +-
15917 1 file changed, 1 insertion(+), 1 deletion(-)
15919 commit fb436dd6d3b40b3f2a8ba6f402e2987752ad1902
15920 Author: Martin Pitt <martinpitt@gnome.org>
15921 Date: Fri Jun 22 13:08:34 2012 +0200
15923 PEP8: Fix indentation
15925 Spotted by current pep8 checker.
15927 demos/gtk-demo/demos/Entry/entry_buffer.py | 6 +--
15928 demos/gtk-demo/demos/Entry/entry_completion.py | 6 +--
15929 demos/gtk-demo/demos/Entry/search_entry.py | 4 +-
15930 demos/gtk-demo/demos/appwindow.py | 2 +-
15931 demos/gtk-demo/demos/clipboard.py | 8 +--
15932 demos/gtk-demo/demos/colorselector.py | 6 +--
15933 demos/gtk-demo/demos/rotatedtext.py | 8 +--
15934 demos/gtk-demo/gtk-demo.py | 6 +--
15935 examples/option.py | 29 ++++++-----
15936 examples/signal.py | 3 +-
15937 gi/_glib/option.py | 6 +--
15938 gi/_gobject/propertyhelper.py | 18 +++----
15939 gi/module.py | 14 +++---
15940 gi/overrides/GLib.py | 2 +-
15941 gi/overrides/Gio.py | 11 +++--
15942 gi/overrides/Gtk.py | 16 +++---
15943 gi/pygtkcompat.py | 7 ++-
15944 gi/types.py | 17 ++++---
15945 tests/runtests.py | 2 +-
15946 tests/test_gdbus.py | 55 +++++++++++----------
15947 tests/test_gi.py | 15 +++---
15948 tests/test_gobject.py | 18 +++----
15949 tests/test_option.py | 26 +++++-----
15950 tests/test_overrides.py | 67
15951 +++++++++++++-------------
15952 tests/test_properties.py | 30 ++++++------
15953 tests/test_signal.py | 2 +-
15954 tests/test_uris.py | 9 ++--
15955 27 files changed, 200 insertions(+), 193 deletions(-)
15957 commit 129462ccc4a2191ecbb42247030c91bd0f1454f6
15958 Author: Martin Pitt <martinpitt@gnome.org>
15959 Date: Fri Jun 22 12:36:54 2012 +0200
15961 PEP8: Use isinstance() instead of direct type comparisons
15963 Spotted by current pep8 checker.
15965 gi/overrides/GLib.py | 2 +-
15966 gi/overrides/__init__.py | 2 +-
15967 2 files changed, 2 insertions(+), 2 deletions(-)
15969 commit 50e45a624e6301e65c150e137aad6d092f203f3f
15970 Author: Martin Pitt <martinpitt@gnome.org>
15971 Date: Fri Jun 22 12:30:10 2012 +0200
15973 PEP8: Fix continuation lines
15975 Spotted by current pep8 checker.
15977 demos/gtk-demo/demos/Entry/search_entry.py | 6 +++---
15978 gi/__init__.py | 6 +++---
15979 gi/_gobject/__init__.py | 6 ++----
15980 gi/module.py | 6 +++---
15981 tests/test_overrides.py | 11 +++--------
15982 5 files changed, 14 insertions(+), 21 deletions(-)
15984 commit ef06548b0dc6aee0e8ab208a78966dc1d5d917ee
15985 Author: Martin Pitt <martinpitt@gnome.org>
15986 Date: Fri Jun 22 12:24:32 2012 +0200
15988 PEP8: Consistent comparisons against True, False, and None
15990 Spotted by current pep8 checker.
15992 demos/gtk-demo/demos/clipboard.py | 4 ++--
15993 demos/gtk-demo/demos/drawingarea.py | 4 ++--
15994 demos/gtk-demo/gtk-demo.py | 8 ++++----
15995 gi/overrides/Gdk.py | 2 +-
15996 gi/overrides/Gtk.py | 2 +-
15997 tests/test_gi.py | 4 ++--
15998 tests/test_overrides.py | 3 +--
15999 7 files changed, 13 insertions(+), 14 deletions(-)
16001 commit 379c1474a071292a1e8da413af2f5438cff09fc8
16002 Author: Martin Pitt <martinpitt@gnome.org>
16003 Date: Wed Jun 20 12:23:12 2012 +0200
16005 Fix crash in GLib.find_program_in_path()
16007 We need to handle a NULL return value properly.
16009 https://bugzilla.gnome.org/show_bug.cgi?id=678119
16011 gi/_glib/glibmodule.c | 10 ++++++++--
16012 tests/Makefile.am | 1 +
16013 tests/test_glib.py | 15 +++++++++++++++
16014 3 files changed, 24 insertions(+), 2 deletions(-)
16016 commit 73531fd7820bd1922347bd856298d68205a27877
16017 Author: Martin Pitt <martinpitt@gnome.org>
16018 Date: Wed Jun 20 11:16:39 2012 +0200
16020 Revert "Do not bind gobject_get_data() and gobject_set_data()"
16022 We should have some deprecation period for this, so bring back
16024 methods and add deprecation warnings.
16026 This reverts commit 24cc09a7105299805fcc5bc151f53ac69958d728.
16028 https://bugzilla.gnome.org/show_bug.cgi?id=641944
16030 gi/_gobject/pygobject.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
16031 1 file changed, 44 insertions(+)
16033 commit a0daa843801658929ffee5bcb9eb67d955dc7921
16034 Author: David Keijser <keijser@gmail.com>
16035 Date: Mon Jun 18 15:09:34 2012 +0200
16037 GVariant: Raise proper TypeError on invalid tuple input
16039 https://bugzilla.gnome.org/show_bug.cgi?id=678317
16041 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16043 gi/overrides/GLib.py | 4 ++--
16044 tests/test_overrides.py | 1 +
16045 2 files changed, 3 insertions(+), 2 deletions(-)
16047 commit fb39ba934180e1e48fd15774e69d1cecf47a4c84
16048 Author: Martin Pitt <martinpitt@gnome.org>
16049 Date: Tue Jun 5 19:11:38 2012 +0200
16051 configure.ac: Post-release bump to 3.3.3
16053 configure.ac | 2 +-
16054 1 file changed, 1 insertion(+), 1 deletion(-)
16056 commit 7f0995e7fa865ebde7490d0570a7135a2f962cdf
16057 Author: Martin Pitt <martinpitt@gnome.org>
16058 Date: Tue Jun 5 19:09:12 2012 +0200
16062 NEWS | 44 ++++++++++++++++++++++++++++++++++++++++++++
16063 1 file changed, 44 insertions(+)
16065 commit 8209c1ae1632c77768699481e574d5d378956e71
16066 Author: Martin Pitt <martinpitt@gnome.org>
16067 Date: Tue Jun 5 19:04:49 2012 +0200
16069 Fix "release-news" make target
16071 Actually list changes since the previous release, not since 3.1.92.
16074 1 file changed, 1 insertion(+), 1 deletion(-)
16076 commit b21f66d2a399b8c9a36a1758107b7bdff0ec8eaa
16077 Author: Bastian Winkler <buz@netbuz.org>
16078 Date: Wed May 9 19:04:01 2012 +0200
16080 foreign: Register cairo.Path and cairo.FontOptions foreign structs
16082 They are rarely used, but they are used at least by Gdk, PangoCairo
16086 clutter.Path is not used by any API that the test suite uses, so
16088 without a test for now.
16090 https://bugzilla.gnome.org/show_bug.cgi?id=677388
16092 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16094 gi/pygi-foreign-cairo.c | 85
16095 ++++++++++++++++++++++++++++++++++++++++++++++++
16096 tests/test_everything.py | 8 +++++
16097 2 files changed, 93 insertions(+)
16099 commit 635a7d1b48d99ddd1ea123797c493b18b0cdfd45
16100 Author: Marien Zwart <marien.zwart@gmail.com>
16101 Date: Wed May 23 01:51:46 2012 +0200
16103 Check types in GBoxed assignments
16105 Check if the Python value is GBoxed instead of assuming it is.
16106 Without this, the following segfaults:
16108 from gi.repository import Soup
16110 msg = Soup.Message()
16111 msg.props.uri = 'http://www.gnome.org'
16113 as we assume the new property is a GBoxed while it is actually a
16116 https://bugzilla.gnome.org/show_bug.cgi?id=676603
16118 Co-authored-by: Martin Pitt <martinpitt@gnome.org>
16119 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16121 gi/pygi-argument.c | 10 +++++++---
16122 tests/test_gi.py | 19 +++++++++++++++++++
16123 2 files changed, 26 insertions(+), 3 deletions(-)
16125 commit 2305dcd7e8841f87dc2fc683390df78453a5dc2a
16126 Author: Bastian Winkler <buz@netbuz.org>
16127 Date: Sat May 12 14:08:51 2012 +0200
16129 [API add] Gtk overrides: Add TreeModelRow.get_previous()
16131 TreeModelRow has get_next() and a next property, it should also have
16132 get_previous() and previous.
16134 https://bugzilla.gnome.org/show_bug.cgi?id=677389
16136 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16138 gi/overrides/Gtk.py | 9 +++++++++
16139 1 file changed, 9 insertions(+)
16141 commit 5501fba534696974899f2591929bff9e1b6ecd65
16142 Author: Bastian Winkler <buz@netbuz.org>
16143 Date: Sat May 12 13:50:02 2012 +0200
16145 [API add] Add missing GObject.TYPE_VARIANT
16147 Add TYPE_VARIANT to constants to make it accessible as
16148 GObject.TYPE_VARIANT.
16150 https://bugzilla.gnome.org/show_bug.cgi?id=677387
16152 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16154 gi/_gobject/__init__.py | 1 +
16155 gi/_gobject/constants.py | 1 +
16156 2 files changed, 2 insertions(+)
16158 commit 4c51a5411092f8ab6f8f6e9692a9b49692f621a7
16159 Author: Jasper St. Pierre <jstpierre@mecheye.net>
16160 Date: Fri Jun 1 02:53:13 2012 -0400
16162 Fix boxed type equality
16164 Each boxed type has its own Python type, not PyGBoxed_Type. Use
16165 PyObject_IsInstance instead of comparing against PyGBoxed_Type
16168 https://bugzilla.gnome.org/show_bug.cgi?id=677249
16170 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16172 gi/_gobject/pygboxed.c | 3 ++-
16173 tests/test_everything.py | 8 ++++++++
16174 2 files changed, 10 insertions(+), 1 deletion(-)
16176 commit dc8eef26906753fcb3ce057b23ca110137897fa5
16177 Author: Jose Rostagno <joserostagno@vijona.com.ar>
16178 Date: Fri Jun 1 13:43:38 2012 +0200
16180 Fix TestProperties.testBoxed test
16182 A typo was preventing the test from being run.
16184 https://bugzilla.gnome.org/show_bug.cgi?id=676644
16186 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16188 tests/test_properties.py | 4 ++--
16189 1 file changed, 2 insertions(+), 2 deletions(-)
16191 commit 853e6a71234ebd66af5a64dfb296e323c2c905a6
16192 Author: Carlos Garnacho <carlos@lanedo.com>
16193 Date: Thu May 17 17:09:15 2012 +0200
16195 Fix handling of by-reference structs as out parameters
16197 When marshalling back from python, copy the result of by-reference
16198 structs into the memory expected by the native caller, instead of
16199 attempting to handle it as a pointer.
16201 https://bugzilla.gnome.org/show_bug.cgi?id=653151
16203 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16205 gi/pygi-closure.c | 17 +++++++++++++++++
16206 tests/test_gi.py | 5 +++++
16207 2 files changed, 22 insertions(+)
16209 commit bac9d526f6a9774821d1c9c0e7b35cc6db942975
16210 Author: Martin Pitt <martinpitt@gnome.org>
16211 Date: Fri Jun 1 12:28:53 2012 +0200
16213 tests: Add more vfunc checks for GIMarshallingTestsObject
16215 tests/test_gi.py | 25 +++++++++++++++++++++++++
16216 1 file changed, 25 insertions(+)
16218 commit e1aaf4a48453be0e69e7f3a70a2e7a790871a4d2
16219 Author: Martin Pitt <martinpitt@gnome.org>
16220 Date: Fri Jun 1 12:02:55 2012 +0200
16222 Test caller-allocated GValue out parameter
16224 This came up as a side issue in
16225 https://bugzilla.gnome.org/show_bug.cgi?id=653151
16227 tests/test_gi.py | 3 +++
16228 1 file changed, 3 insertions(+)
16230 commit edc17e703e1a05e20545d3df9167ceb076450443
16231 Author: Bastian Winkler <buz@netbuz.org>
16232 Date: Wed May 16 11:13:05 2012 +0200
16234 GObject.bind_property: Support transform functions
16236 Add support for optional transformation functions to
16237 pygobject_bind_property(). It uses a custom PyGClosure to marshal the
16238 return value correctly.
16240 https://bugzilla.gnome.org/show_bug.cgi?id=676169
16242 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16244 gi/_gobject/pygobject.c | 130
16245 +++++++++++++++++++++++++++++++++++++++++++++---
16246 tests/test_gobject.py | 59 ++++++++++++++++++++++
16247 2 files changed, 181 insertions(+), 8 deletions(-)
16249 commit 07a08b49aae83a297e2f91240448314e4663f724
16250 Author: Carlos Garnacho <carlos@lanedo.com>
16251 Date: Mon May 14 15:31:14 2012 +0200
16253 Fix lookup of vfuncs in parent classes
16255 https://bugzilla.gnome.org/show_bug.cgi?id=672864.
16257 As subclasses implemented in python override the attribute for the
16258 vfunc, __mro__ has to be used so subclasses of the subclass overriding
16259 methods may find the corresponding VFuncInfo.
16261 Co-Authored-by: Martin Pitt <martinpitt@gnome.org>
16263 gi/types.py | 6 +++---
16264 tests/test_gi.py | 27 +++++++++++++++++++++++++++
16265 2 files changed, 30 insertions(+), 3 deletions(-)
16267 commit b965ee15bac6cd28d16d32205d96d2b1bdd3f0e1
16268 Author: Martin Pitt <martinpitt@gnome.org>
16269 Date: Fri Jun 1 08:18:40 2012 +0200
16271 tests/test_properties.py: Fix whitespace
16273 The pep8 check failed on this.
16275 tests/test_properties.py | 2 +-
16276 1 file changed, 1 insertion(+), 1 deletion(-)
16278 commit 274d60a7c08d74a299f4b83d8054c00eadb4bdbd
16279 Author: Jasper St. Pierre <jstpierre@mecheye.net>
16280 Date: Wed May 30 16:45:53 2012 -0400
16282 gi: Support zero-terminated arrays with length arguments
16284 Sometimes, you may see (array zero-terminated=1 length=length)
16286 Don't expose the length argument to the user in this case.
16288 https://bugzilla.gnome.org/show_bug.cgi?id=677124
16290 gi/pygi-cache.c | 13 ++++---------
16291 tests/test_gi.py | 3 +++
16292 2 files changed, 7 insertions(+), 9 deletions(-)
16294 commit 62c2e962a225ec2527aa3d7406aa0dae232a0886
16295 Author: Jasper St. Pierre <jstpierre@mecheye.net>
16296 Date: Fri May 25 17:09:55 2012 -0400
16300 libregress now needs cairo-gobject
16302 configure.ac | 2 +-
16303 1 file changed, 1 insertion(+), 1 deletion(-)
16305 commit 9477f0f2f17a6d9b97e5ee08378bc009b8d4c30a
16306 Author: Martin Pitt <martinpitt@gnome.org>
16307 Date: Mon May 14 15:48:34 2012 +0200
16309 Fix comment in previous commit
16311 tests/test_gobject.py | 2 +-
16312 1 file changed, 1 insertion(+), 1 deletion(-)
16314 commit 6610428394d0c65987de5021bf2c38641cdb7116
16315 Author: Simon Feltman <s.feltman@gmail.com>
16316 Date: Tue May 8 20:04:09 2012 -0700
16318 [API add] Add GObject.bind_property method
16320 This adds the "bind_property" method for binding two gobject
16322 together. The method returns a weak reference to a GBinding object.
16323 The BindingWeakRef object is used to manage GBinding objects within
16325 created through GObject.bind_property. It is a sub-class
16326 PyGObjectWeakRef so
16327 that we can maintain the same reference counting semantics between
16329 and GObject Binding objects. This gives explicit direct control of the
16330 binding lifetime by using the "unbind" method on the BindingWeakRef
16332 along with implicit management based on the lifetime of the source or
16335 Note this does not yet include support for converter closures. This
16337 later after the initial implementation is accepted.
16339 https://bugzilla.gnome.org/show_bug.cgi?id=675582
16341 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16343 gi/_gobject/pygobject.c | 104
16344 +++++++++++++++++++++++++++++++++++++++++++++++-
16345 tests/test_gobject.py | 90 +++++++++++++++++++++++++++++++++++++++++
16346 2 files changed, 193 insertions(+), 1 deletion(-)
16348 commit 88babe7377402f6e6f912a8b83615aab848eae81
16349 Author: Jose Rostagno <joserostagno@vijona.com.ar>
16350 Date: Fri May 11 19:08:47 2012 -0300
16352 pygtkcompat: Correctly set flags
16354 https://bugzilla.gnome.org/show_bug.cgi?id=675911
16356 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16358 gi/pygtkcompat.py | 5 ++---
16359 tests/test_pygtkcompat.py | 1 +
16360 2 files changed, 3 insertions(+), 3 deletions(-)
16362 commit 3f712b56397296bca2f5358cd52977b1a2011964
16363 Author: Jose Rostagno <joserostagno@vijona.com.ar>
16364 Date: Fri May 11 12:39:05 2012 -0300
16366 Gtk overrides: Implement __delitem__ on TreeModel
16368 https://bugzilla.gnome.org/show_bug.cgi?id=675892
16370 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16372 gi/overrides/Gtk.py | 16 ++++++++++++----
16373 tests/test_overrides.py | 9 +++++++++
16374 2 files changed, 21 insertions(+), 4 deletions(-)
16376 commit 9a1a07742ec0b1821d469603f9996a2b7d832f40
16377 Author: Simon Feltman <s.feltman@gmail.com>
16378 Date: Sun May 6 18:10:39 2012 -0700
16380 Gdk Color override should support red/green/blue_float properties
16382 Added red_float, green_float, and blue_float properties to Color.
16383 Also added Color.from_floats, RGBA.to_color, and RGBA.from_color.
16385 https://bugzilla.gnome.org/show_bug.cgi?id=675579
16387 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16389 gi/overrides/Gdk.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
16390 tests/Makefile.am | 2 +-
16391 tests/test_overrides.py | 17 +++++++++++++++++
16392 3 files changed, 62 insertions(+), 1 deletion(-)
16394 commit d9608c332d9592f03545b110cfac8105453ea035
16395 Author: Martin Pitt <martinpitt@gnome.org>
16396 Date: Sat May 5 12:42:42 2012 -0700
16398 Support marshalling of GVariants for closures
16400 Add GVariant handling to pyg_value_{as,from}_pyobject(), so that
16402 be called with GVariant arguments and return GVariant.
16404 Unmark the corresponding test case as "expected failure", and also
16406 for None values and type mismatches.
16408 https://bugzilla.gnome.org/show_bug.cgi?id=656554
16410 gi/_gobject/pygtype.c | 47
16411 +++++++++++++++++++++++++++++++++++++++++++++--
16412 tests/test_everything.py | 16 ++++++++++++----
16413 2 files changed, 57 insertions(+), 6 deletions(-)
16415 commit e7a909c16dc1c625ab11e270f23d540f15c71767
16416 Author: Johan Dahlin <johan@gnome.org>
16417 Date: Mon May 7 10:33:40 2012 -0300
16419 Require gobject-introspection 1.33.0
16421 configure.ac | 2 +-
16422 1 file changed, 1 insertion(+), 1 deletion(-)
16424 commit 9e8239684433631e0d1650d25416e4d7bf92a058
16425 Author: Martin Pitt <martinpitt@gnome.org>
16426 Date: Sun May 6 18:28:23 2012 -0700
16428 NEWS: Add API additions since 3.2.0
16431 1 file changed, 4 insertions(+), 3 deletions(-)
16433 commit d1a2bf51eb25b54028fbf496d20dfad9546bcb5e
16434 Author: Martin Pitt <martinpitt@gnome.org>
16435 Date: Sun May 6 18:25:23 2012 -0700
16437 NEWS: Mark API changes since 3.2.0
16440 1 file changed, 3 insertions(+), 3 deletions(-)
16442 commit a3329539291bd8ea9aa6cb184a05ea7c21f8885a
16443 Author: Martin Pitt <martinpitt@gnome.org>
16444 Date: Sun May 6 18:19:35 2012 -0700
16446 Fix commit 168a087 for Python 3
16448 Simplify the type check and use the already existing one. Fix the
16450 to work with both Python 2 and 3.
16452 gi/pygi-argument.c | 42 +++++++++---------------------------------
16453 1 file changed, 9 insertions(+), 33 deletions(-)
16455 commit 42c717ed77613e02f3c8ef2685bc071462b87d73
16456 Author: Martin Pitt <martinpitt@gnome.org>
16457 Date: Sun May 6 18:08:57 2012 -0700
16459 pygtkcompat.py: Typo fix
16461 Was missing a space around operator, causing the PEP8 check to fail.
16463 gi/pygtkcompat.py | 2 +-
16464 1 file changed, 1 insertion(+), 1 deletion(-)
16466 commit 168a08753cec1ff77ccca5d81b9a5fd2af5d3720
16467 Author: Martin Pitt <martinpitt@gnome.org>
16468 Date: Sun May 6 18:02:04 2012 -0700
16470 _pygi_argument_from_object(): Check for compatible data type
16472 Verify that the passed PyObject actually matches the expected type
16474 argument. With this, trying to assign a wrong type to a property
16476 a proper TypeError.
16478 gi/pygi-argument.c | 39 +++++++++++++++++++++++++++++++++++++++
16479 gi/pygi-property.c | 3 +++
16480 tests/test_gi.py | 40 ++++++++++++++++++++++++++++++++++++++++
16481 3 files changed, 82 insertions(+)
16483 commit 5948b62ba3e08ea943e6965ee38c94c363186226
16484 Author: Martin Pitt <martinpitt@gnome.org>
16485 Date: Sun May 6 17:59:57 2012 -0700
16487 pygtkcompat: Fix color conversion
16489 gtk_style_context_get_background_color() returns a GdkRGBA value,
16491 float values between 0 and 1. However, we construct a GdkColor
16493 that, so we need to scale to 0..65535 and round to int.
16495 gi/pygtkcompat.py | 6 +++---
16496 1 file changed, 3 insertions(+), 3 deletions(-)
16498 commit 6af74c501bc604559f8b5b4e0d856d022ed882bb
16499 Author: Martin Pitt <martinpitt@gnome.org>
16500 Date: Sun May 6 06:02:31 2012 -0700
16502 test_gi: Check setting properties in constructor
16504 tests/test_gi.py | 33 +++++++++++++++++++++++++++++++++
16505 1 file changed, 33 insertions(+)
16507 commit 9f50fd214e4214f83959b2883a0c667f7f157c97
16508 Author: Martin Pitt <martinpitt@gnome.org>
16509 Date: Sun May 6 05:50:00 2012 -0700
16511 Support getting and setting GStrv properties
16513 gi/pygi-property.c | 36 ++++++++++++++++++++++++++++++++++++
16514 tests/test_gi.py | 11 +++++++++++
16515 2 files changed, 47 insertions(+)
16517 commit 8321af2c7df499291e664c676376f149a0c3dcac
16518 Author: Martin Pitt <martinpitt@gnome.org>
16519 Date: Sat May 5 13:58:29 2012 -0700
16521 Support defining GStrv properties from Python
16523 gi/_gobject/propertyhelper.py | 10 ++++++--
16524 tests/test_properties.py | 58
16525 +++++++++++++++++++++++++++++++++++++++++--
16526 2 files changed, 64 insertions(+), 4 deletions(-)
16528 commit f2494526e1c579c41babfe7ff67deef0f6966adf
16529 Author: Martin Pitt <martinpitt@gnome.org>
16530 Date: Sat May 5 13:21:20 2012 -0700
16532 Add GObject.TYPE_STRV constant
16534 gi/_gobject/__init__.py | 1 +
16535 gi/_gobject/constants.py | 1 +
16536 tests/test_everything.py | 2 +-
16537 tests/test_signal.py | 2 +-
16538 4 files changed, 4 insertions(+), 2 deletions(-)
16540 commit 8c7306e4d6355ca45f8f1b4adf7d0595b4e8bcf8
16541 Author: Martin Pitt <martinpitt@gnome.org>
16542 Date: Sat May 5 09:28:36 2012 +0200
16544 Unref GVariants when destroying the wrapper
16546 https://bugzilla.gnome.org/show_bug.cgi?id=675472
16548 gi/overrides/GLib.py | 3 +++
16549 1 file changed, 3 insertions(+)
16551 commit d6c091d87c86c8ccc7cb54347fbceccedac61633
16552 Author: Martin Pitt <martinpitt@gnome.org>
16553 Date: Sat May 5 09:23:55 2012 +0200
16555 Fix TestArrayGVariant test cases
16557 test_array_gvariant_container_in() and test_array_gvariant_full_in()
16559 GIMarshallingTests.array_gvariant_none_in(), presumably a copy&paste
16561 Actually do what they mean to do now and call the corresponding
16562 GIMarshallingTests methods.
16564 tests/test_gi.py | 4 ++--
16565 1 file changed, 2 insertions(+), 2 deletions(-)
16567 commit fda8a069d503e63c76a6b1ba285a181822549059
16568 Author: Jose Rostagno <joserostagno@vijona.com.ar>
16569 Date: Sat May 5 08:52:41 2012 +0200
16571 pygtkcompat: Add gdk.pixbuf_get_formats compat code
16573 https://bugzilla.gnome.org/show_bug.cgi?id=675489
16575 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16577 gi/pygtkcompat.py | 20 ++++++++++++++++++++
16578 tests/test_pygtkcompat.py | 8 ++++++++
16579 2 files changed, 28 insertions(+)
16581 commit 2b49c5f58bb841de7a9077eeeaf996eb9851dab3
16582 Author: Jose Rostagno <joserostagno@vijona.com.ar>
16583 Date: Mon Apr 30 13:44:19 2012 -0300
16585 pygtkcompat: Add some more compat functions
16587 https://bugzilla.gnome.org/show_bug.cgi?id=675489
16589 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16591 gi/pygtkcompat.py | 14 ++++++++++++++
16592 1 file changed, 14 insertions(+)
16594 commit 16fbb17a9fd17eeb9f886af99e89a214d328dae1
16595 Author: Martin Pitt <martinpitt@gnome.org>
16596 Date: Thu May 3 12:25:04 2012 +0200
16598 Fix tests for Python 3
16600 cmp() does not exist any more in Python 3, replace with comparison
16603 GIMarshallingTests.array_in_nonzero_nonlen() expects a guint8 array,
16605 can't pass a str (which is an Unicode object in Python 3). Pass a
16609 tests/test_gi.py | 2 +-
16610 tests/test_overrides.py | 2 +-
16611 2 files changed, 2 insertions(+), 2 deletions(-)
16613 commit fd7f8eefbe8aba0b29d80e3eb9d985d33a268c8a
16614 Author: Martin Pitt <martinpitt@gnome.org>
16615 Date: Thu May 3 09:38:56 2012 +0200
16617 Fix building with --disable-cairo
16619 Build gobject-introspection's regress.c against cairo, not
16620 pycairo/py3cairo. We
16621 always need cairo to build, so unconditionally check for this in
16624 In test_everything.py, gracefully handle the absence of the "cairo"
16626 module, which we do not have when building without cairo support.
16628 configure.ac | 3 +++
16629 tests/Makefile.am | 4 ++--
16630 tests/test_everything.py | 8 +++++++-
16631 3 files changed, 12 insertions(+), 3 deletions(-)
16633 commit 1c5634e6d98c8b67b37a2747951c66f5d8f1907d
16634 Author: Martin Pitt <martinpitt@gnome.org>
16635 Date: Thu May 3 09:28:51 2012 +0200
16637 tests: Fix deprecated assertions
16639 assertAlmostEquals → assertAlmostEqual
16640 assertNotEquals → assertNotEqual
16642 tests/test_everything.py | 4 ++--
16643 tests/test_gi.py | 12 ++++++------
16644 tests/test_overrides.py | 10 +++++-----
16645 3 files changed, 13 insertions(+), 13 deletions(-)
16647 commit 07f312e66c07357168098d3f96813d2c997e8dc7
16648 Author: Martin Pitt <martinpitt@gnome.org>
16649 Date: Wed May 2 12:08:19 2012 +0200
16651 Run tests with MALLOC_PERTURB_
16653 We mostly use the glib allocation functions, but this might
16654 help to uncover access to already freed or uninitialized memory in
16658 tests/Makefile.am | 1 +
16659 1 file changed, 1 insertion(+)
16661 commit b0740d386c2cbbd153878209b584b568968e4d98
16662 Author: Martin Pitt <martinpitt@gnome.org>
16663 Date: Mon Apr 30 16:26:57 2012 +0200
16665 configure.ac: Post-release bump to 3.3.2
16667 configure.ac | 2 +-
16668 1 file changed, 1 insertion(+), 1 deletion(-)
16670 commit d3977266faadacd3d05705497c1cf51a01a6606f
16671 Author: Martin Pitt <martinpitt@gnome.org>
16672 Date: Mon Apr 30 16:08:09 2012 +0200
16677 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
16678 1 file changed, 66 insertions(+)
16680 commit a8e222f04aac3bcf7e4421c4da8d080eeb8b5f56
16681 Author: Giovanni Campagna <gcampagna@src.gnome.org>
16682 Date: Sun Apr 29 23:55:15 2012 +0200
16684 GSettings: allow extra keyword arguments
16686 All GObject constructors are expected to accept any construct
16687 property as keyword argument, and overrides should respect that.
16688 In particular, not doing this for GSettings prevents using a custom
16691 https://bugzilla.gnome.org/show_bug.cgi?id=675105
16693 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16695 gi/overrides/Gio.py | 4 ++--
16696 1 file changed, 2 insertions(+), 2 deletions(-)
16698 commit 592c67482c254f65817c1a1b5c5de5dfcaab31b4
16699 Author: Jose Rostagno <joserostagno@vijona.com.ar>
16700 Date: Sun Apr 29 12:56:50 2012 -0300
16702 pygtkcompat: Correct Userlist module use
16704 https://bugzilla.gnome.org/show_bug.cgi?id=675084
16706 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16708 gi/pygtkcompat.py | 2 +-
16709 tests/test_pygtkcompat.py | 4 ++++
16710 2 files changed, 5 insertions(+), 1 deletion(-)
16712 commit 3551462a429ef30274fa01fc8111da5025f9c342
16713 Author: Martin Pitt <martinpitt@gnome.org>
16714 Date: Sun Apr 29 20:17:47 2012 +0200
16716 Add release-news make rule
16718 This produces a commit log since the previous release in our
16720 format. This does not currently wrap long lines automatically, though.
16722 Do include bug numbers from now on, as they are very useful.
16724 Makefile.am | 12 ++++++++++--
16725 1 file changed, 10 insertions(+), 2 deletions(-)
16727 commit fe79ef612a7853f024b73c7997b8ec89015ae94c
16728 Author: Martin Pitt <martinpitt@gnome.org>
16729 Date: Wed Apr 25 13:07:59 2012 +0200
16731 Add "make check.nemiver" target
16733 Similar to "check.gdb", but invokes nemiver.
16735 Makefile.am | 3 +++
16736 tests/Makefile.am | 3 +++
16737 2 files changed, 6 insertions(+)
16739 commit 3090cc70a7ce8df38dd6cf6c17350417a7367c0b
16740 Author: Martin Pitt <martinpitt@gnome.org>
16741 Date: Tue Apr 24 13:24:00 2012 +0200
16743 Test flags and enums in GHash values
16745 https://bugzilla.gnome.org/show_bug.cgi?id=637466
16747 tests/test_everything.py | 18 ++++++++++++------
16748 1 file changed, 12 insertions(+), 6 deletions(-)
16750 commit 88d189ec3e3d900a96496a50c1d6e76615b19558
16751 Author: Martin Pitt <martinpitt@gnome.org>
16752 Date: Tue Apr 24 13:03:36 2012 +0200
16754 tests: Activate test_hash_in and apply workaround
16756 Work around pygobject's current inability to produce a GStrv object
16758 string array by explicitly producing a GStrV object, and reactivate
16761 https://bugzilla.gnome.org/show_bug.cgi?id=666636
16763 tests/test_everything.py | 24 +++++++++++++-----------
16764 1 file changed, 13 insertions(+), 11 deletions(-)
16766 commit 8ee21619b3cfc179cf114813478470d9aa3f6fb8
16767 Author: Martin Pitt <martinpitt@gnome.org>
16768 Date: Mon Apr 23 12:33:09 2012 +0200
16770 Add special case for Gdk.Atom array entries from Python
16772 Gdk.Atom pretends to be a struct pointer, but is really just an
16774 into a pointer. So we must not dereference it directly, nor free
16776 instead just copy the pointer value.
16778 Also add a few other test cases for "single Atom return", "single
16780 in", and Atom GList return", which already work fine.
16782 https://bugzilla.gnome.org/show_bug.cgi?id=661709
16784 gi/pygi-marshal-from-py.c | 18 ++++++++++++++----
16785 tests/Makefile.am | 1 +
16786 tests/test_atoms.py | 41 +++++++++++++++++++++++++++++++++++++++++
16787 3 files changed, 56 insertions(+), 4 deletions(-)
16789 commit b9f24b4fbc2ca9f9b94b86f029c59b2fc3e8590f
16790 Author: Martin Pitt <martinpitt@gnome.org>
16791 Date: Mon Apr 23 20:09:43 2012 +0200
16793 test_gdbus: Call GetConnectionUnixProcessID() with correct signature
16795 https://bugzilla.gnome.org/show_bug.cgi?id=667954
16797 tests/test_gdbus.py | 2 +-
16798 1 file changed, 1 insertion(+), 1 deletion(-)
16800 commit 3ae38d7519524288a57e5d522954b9d6725f0185
16801 Author: Martin Pitt <martinpitt@gnome.org>
16802 Date: Mon Apr 23 18:47:34 2012 +0200
16804 Add test case for Gtk.ListStore custom sort
16806 This works in Python 2, but crashes in Python 3, another case of
16808 we get when C calls a Python callback in Python 3.
16810 https://bugzilla.gnome.org/show_bug.cgi?id=674475
16812 tests/test_overrides.py | 31 +++++++++++++++++++++++++++++++
16813 1 file changed, 31 insertions(+)
16815 commit c12b10ca0feaaf61f23354c7b6631a9ef3635c36
16816 Author: Martin Pitt <martinpitt@gnome.org>
16817 Date: Mon Apr 23 17:40:23 2012 +0200
16819 GTK overrides: Add missing keyword arguments
16821 Add missing **kwargs to overridden __init__() constructors, to
16823 arbitrary widget properties.
16825 https://bugzilla.gnome.org/show_bug.cgi?id=660018
16827 gi/overrides/Gtk.py | 34 ++++++++++++++++++----------------
16828 tests/test_overrides.py | 6 ++++++
16829 2 files changed, 24 insertions(+), 16 deletions(-)
16831 commit d37680bb9390426f7f58ea3d352c3e5e2106e978
16832 Author: Martin Pitt <martinpitt@gnome.org>
16833 Date: Mon Apr 23 15:24:04 2012 +0200
16835 Add missing override for TreeModel.iter_previous()
16837 This should behave like the override for TreeModel.iter_next().
16839 https://bugzilla.gnome.org/show_bug.cgi?id=660018
16841 gi/overrides/Gtk.py | 6 ++++++
16842 tests/test_overrides.py | 4 ++++
16843 2 files changed, 10 insertions(+)
16845 commit e03284f852f0e404cc91374f3e2e42b0ac1977b4
16846 Author: Martin Pitt <martinpitt@gnome.org>
16847 Date: Sun Apr 22 16:45:06 2012 +0200
16849 pygi-convert.py: Drop obsolete drag method conversions
16851 Drop conversion of drag_source_unset() and drag_dest_{,un}set(). These
16853 fixed a while ago to be proper Widget methods again.
16855 https://bugzilla.gnome.org/show_bug.cgi?id=652860
16857 pygi-convert.sh | 3 ---
16858 1 file changed, 3 deletions(-)
16860 commit f82eca6006dec21624796074af8ffe9b2256f7a4
16861 Author: Martin Pitt <martinpitt@gnome.org>
16862 Date: Sat Apr 21 14:00:50 2012 +0200
16864 tests: Replace deprecated assertEquals() with assertEqual()
16866 tests/test_everything.py | 144 ++++++-------
16867 tests/test_gi.py | 502
16868 +++++++++++++++++++++++-----------------------
16869 tests/test_gobject.py | 58 +++---
16870 tests/test_option.py | 6 +-
16871 tests/test_overrides.py | 352 ++++++++++++++++----------------
16872 tests/test_properties.py | 18 +-
16873 tests/test_pygtkcompat.py | 42 ++--
16874 7 files changed, 561 insertions(+), 561 deletions(-)
16876 commit ddb0bf01e694585d58af52673a21796e7c9578ea
16877 Author: Paolo Borelli <pborelli@gnome.org>
16878 Date: Sat Apr 21 12:02:54 2012 +0200
16880 Plug tiny leak in constant_info_get_value
16882 Fixes https://bugzilla.gnome.org/show_bug.cgi?id=642754
16884 gi/pygi-info.c | 1 +
16885 1 file changed, 1 insertion(+)
16887 commit 9c48a561c5ee010410df7d6e430353b41d5fbd88
16888 Author: Bastian Winkler <buz@netbuz.org>
16889 Date: Thu Apr 12 20:30:05 2012 +0200
16891 Fix len_arg_index for array arguments
16893 Don't set len_arg_index for arrays without the length annotation
16895 This fixes methods like Clutter.Texture.set_from_rgb_data() and
16896 Clutter.Image.set_data()
16898 https://bugzilla.gnome.org/show_bug.cgi?id=674271
16900 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16902 gi/pygi-cache.c | 4 +++-
16903 gi/pygi-marshal-cleanup.c | 4 ++--
16904 tests/test_gi.py | 3 +++
16905 3 files changed, 8 insertions(+), 3 deletions(-)
16907 commit 71246ca0568bf3e9b81e88dd13b6d29e9417e313
16908 Author: Martin Pitt <martinpitt@gnome.org>
16909 Date: Thu Apr 19 13:11:56 2012 +0200
16911 Support defining GType properties from Python
16913 Commit 84e3471 fixed the handling of GType properties for properties
16915 defined in the C library already. Add the missing support for
16917 properties in Python as well.
16919 https://bugzilla.gnome.org/show_bug.cgi?id=674351
16921 gi/_gobject/gobjectmodule.c | 5 ++++-
16922 gi/_gobject/propertyhelper.py | 9 ++++++---
16923 tests/test_properties.py | 42
16924 +++++++++++++++++++++++++++++++++++++++---
16925 3 files changed, 49 insertions(+), 7 deletions(-)
16927 commit 2158ecd05a2770d6538bae67d01d1f718855a7d4
16928 Author: Martin Pitt <martinpitt@gnome.org>
16929 Date: Thu Apr 19 16:12:29 2012 +0200
16931 Fix typo in previous commit
16933 In the test case, actually assign the newly created object, so that
16935 properties of the right object.
16937 tests/test_everything.py | 2 +-
16938 1 file changed, 1 insertion(+), 1 deletion(-)
16940 commit 84e3471ba4595534cbe6875f1c8b77776e1d1814
16941 Author: Bastian Winkler <buz@netbuz.org>
16942 Date: Wed Apr 18 21:44:08 2012 +0200
16944 Handle GType properties correctly
16946 Fix conversion from/to properties of type G_TYPE_GTYPE
16948 https://bugzilla.gnome.org/show_bug.cgi?id=674351
16950 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
16952 gi/_gobject/pygtype.c | 9 +++++++--
16953 tests/test_everything.py | 15 +++++++++++++++
16954 2 files changed, 22 insertions(+), 2 deletions(-)
16956 commit d1362451e070e156d2f49c9cde930cc38befb12b
16957 Author: Martin Pitt <martinpitt@gnome.org>
16958 Date: Thu Apr 19 07:27:10 2012 +0200
16960 Add missing GObject.TYPE_GTYPE
16962 gi/_gobject/__init__.py | 1 +
16963 gi/_gobject/constants.py | 1 +
16964 2 files changed, 2 insertions(+)
16966 commit d3225f1540e09719caa73e52d402e946da3add24
16967 Author: Martin Pitt <martinpitt@gnome.org>
16968 Date: Tue Apr 10 12:44:00 2012 +0200
16970 Fix test_mainloop.py for Python 3
16972 tests/test_mainloop.py | 9 +++++++--
16973 1 file changed, 7 insertions(+), 2 deletions(-)
16975 commit 903283119896f3e054694484da4147788b02ce60
16976 Author: Martin Pitt <martinpitt@gnome.org>
16977 Date: Mon Apr 9 15:20:39 2012 +0200
16979 Make callback exception propagation test stricter
16981 Propagating Python exceptions from callbacks through the C context
16983 original caller does not currently happen, is nontrivial/unsafe
16985 and not desirable at this point any more as by now we have established
16987 current behaviour. So remove the catching of ZeroDivisionError in
16990 https://bugzilla.gnome.org/show_bug.cgi?id=616279
16992 tests/test_everything.py | 16 ++++++++--------
16993 1 file changed, 8 insertions(+), 8 deletions(-)
16995 commit 0fd900d351c8d7d57dc6a1b049ee05f342f6ab1d
16996 Author: Simon Feltman <s.feltman@gmail.com>
16997 Date: Sun Mar 18 15:59:58 2012 -0700
16999 Add context management to freeze_notify() and handler_block().
17001 These methods now return a context manager object. Within the
17003 thaw_notify() and handler_unblock() are called respectively. This
17005 statements like the following:
17007 with obj.freeze_notify():
17008 obj.props.width = 100
17009 obj.props.height = 100
17010 obj.props.opacity = 0.5
17012 This does not affect standard usage of these methods.
17014 https://bugzilla.gnome.org/show_bug.cgi?id=672324
17016 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
17018 gi/_gobject/pygobject.c | 138 +++++++++++++++++++++++++++++++++++++++---
17019 tests/test_gobject.py | 158
17020 ++++++++++++++++++++++++++++++++++++++++++++++++
17021 2 files changed, 288 insertions(+), 8 deletions(-)
17023 commit c0922589964c1d8bffe5a56d2f56df96eedfac10
17024 Author: Martin Pitt <martinpitt@gnome.org>
17025 Date: Wed Apr 4 19:08:54 2012 +0200
17027 Add support for GFlags properties
17029 https://bugzilla.gnome.org/show_bug.cgi?id=620943
17031 gi/_gobject/propertyhelper.py | 9 +++++++--
17032 tests/test_properties.py | 28 +++++++++++++++++++++++++++-
17033 2 files changed, 34 insertions(+), 3 deletions(-)
17035 commit d4054be9de3b7e4ed64c8172ebbde0a697462c79
17036 Author: Martin Pitt <martinpitt@gnome.org>
17037 Date: Wed Apr 4 17:54:52 2012 +0200
17039 Wrap GLib.Source.is_destroyed() method
17041 Based on original patch from Bryan Silverthorn.
17043 https://bugzilla.gnome.org/show_bug.cgi?id=524719
17045 gi/_glib/pygsource.c | 15 +++++++++++++++
17046 tests/test_source.py | 24 ++++++++++++++++++++++++
17047 2 files changed, 39 insertions(+)
17049 commit 05030a95a4d3090162ed5f510a26d69bbb152942
17050 Author: Martin Pitt <martinpitt@gnome.org>
17051 Date: Wed Apr 4 15:59:24 2012 +0200
17053 Fix error message when trying to override a non-GI class
17055 Based on original patch by Juanje Ojeda <jojeda@emergya.es>.
17057 https://bugzilla.gnome.org/show_bug.cgi?id=646667
17059 gi/overrides/__init__.py | 7 ++++---
17060 tests/test_overrides.py | 13 +++++++++++++
17061 2 files changed, 17 insertions(+), 3 deletions(-)
17063 commit 96f14989baea76fe8692f10c1a37e2dfc45fecbf
17064 Author: Steve Frécinaux <code@istique.net>
17065 Date: Wed Apr 4 15:30:55 2012 +0200
17067 Fix segfault when accessing __grefcount__ before creating the GObject
17069 When creating a new instance using Type() and trying to access
17070 __grefcount__ before calling the subclass's __init__ function, there
17071 used to be a segmentation fault because we were trying to access the
17072 not yet created object. Now raise a proper exception instead.
17074 https://bugzilla.gnome.org/show_bug.cgi?id=640434
17076 Co-authored-by: Martin Pitt <martinpitt@gnome.org>
17078 gi/_gobject/pygobject.c | 4 ++++
17079 tests/test_gobject.py | 11 +++++++++++
17080 2 files changed, 15 insertions(+)
17082 commit 24cc09a7105299805fcc5bc151f53ac69958d728
17083 Author: Steve Frécinaux <code@istique.net>
17084 Date: Wed Feb 9 18:37:33 2011 +0100
17086 Do not bind gobject_get_data() and gobject_set_data()
17088 They will basically cause a crash if misused, and you can always use a
17089 python member attribute instead.
17091 https://bugzilla.gnome.org/show_bug.cgi?id=641944
17093 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
17095 gi/_gobject/pygobject.c | 40 ----------------------------------------
17096 1 file changed, 40 deletions(-)
17098 commit 2a5a33a9c9c170830c98c2e32fa8dcea3c35f2e6
17099 Author: Martin Pitt <martinpitt@gnome.org>
17100 Date: Tue Apr 3 22:26:34 2012 +0200
17102 Add test case for multiple GLib.MainLoop instances
17104 Commit 832f16f9 fixed a lockup with multiple GLib.MainLoops. Add
17108 https://bugzilla.gnome.org/show_bug.cgi?id=663068
17110 tests/test_mainloop.py | 25 ++++++++++++++++++++++++-
17111 1 file changed, 24 insertions(+), 1 deletion(-)
17113 commit d03696c1aaa7e66f8f16554cf4a4b97addb5aea1
17114 Author: John (J5) Palmieri <johnp@redhat.com>
17115 Date: Tue Feb 21 15:13:42 2012 +0100
17117 Add a ccallback type which is used to invoke callbacks passed to
17120 Used when overriding methods like gtk_container_forall wich pass in a
17121 callback that needs to be executed on internal children:
17122 def do_forall(self, callback, userdata):
17123 callback(self.custom_child, userdata)
17125 https://bugzilla.gnome.org/show_bug.cgi?id=644926
17127 Co-authored-by: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
17128 Co-authored-by: Simon Schampijer <simon@laptop.org>
17130 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
17132 gi/Makefile.am | 2 +
17133 gi/gimodule.c | 1 +
17134 gi/module.py | 5 +++
17135 gi/pygi-argument.c | 12 +----
17136 gi/pygi-cache.c | 28 ++++++++++--
17137 gi/pygi-cache.h | 9 ++--
17138 gi/pygi-ccallback.c | 100
17139 ++++++++++++++++++++++++++++++++++++++++++
17140 gi/pygi-ccallback.h | 41 +++++++++++++++++
17141 gi/pygi-closure.c | 50 ++++++++++++++++++++-
17142 gi/pygi-invoke-state-struct.h | 2 +
17143 gi/pygi-invoke.c | 73 ++++++++++++++++++++----------
17144 gi/pygi-invoke.h | 3 ++
17145 gi/pygi-private.h | 1 +
17146 gi/pygi.h | 10 +++++
17147 tests/test_gi.py | 16 +++++++
17148 15 files changed, 312 insertions(+), 41 deletions(-)
17150 commit db7e1d078db16b6f11dee51aa97525c451346632
17151 Author: Alberto Mardegan <alberto.mardegan@canonical.com>
17152 Date: Tue Mar 27 17:34:48 2012 +0200
17154 Regression test: marshalling GValues in GHashTable
17156 https://bugzilla.gnome.org/show_bug.cgi?id=668903
17158 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
17160 tests/test_everything.py | 19 +++++++++++++++++++
17161 1 file changed, 19 insertions(+)
17163 commit 7c0017c30129a8db391f902ed592782200d69c64
17164 Author: Martin Pitt <martin.pitt@ubuntu.com>
17165 Date: Mon Mar 26 17:55:41 2012 +0200
17167 Bump version to 3.3.1
17169 3.2.x is built from the pygobject-3-2 branch now, and 3.2.0 is
17171 continue with 3.3.x on master.
17173 configure.ac | 4 ++--
17174 1 file changed, 2 insertions(+), 2 deletions(-)
17176 commit 8309f305e5ce508fc5f6411c8153bea2cee5f741
17177 Author: Martin Pitt <martin.pitt@ubuntu.com>
17178 Date: Mon Mar 26 17:51:37 2012 +0200
17182 - Ignore *.o, backup files, and generated Makefiles in all
17184 - Ignore *.pyc files.
17185 - Do not ignore .gitignore, we actually want to track this.
17188 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
17189 1 file changed, 61 insertions(+)
17191 commit 81de788a72b40acd2f857718d78bdeea01d12eb1
17192 Author: Martin Pitt <martin.pitt@ubuntu.com>
17193 Date: Mon Mar 26 17:45:08 2012 +0200
17195 Fix "distcheck" and tests with out-of-tree builds
17197 - Symlink *.py files from srcdir into builddir during build, as
17199 accept the extensions and modules in different paths.
17200 - "make clean" should remove *.pyc files
17201 - tests/runtests.py: Look for tests in srcdir, not in builddir
17203 Makefile.am | 6 ++++--
17204 gi/Makefile.am | 13 +++++++++++--
17205 gi/_glib/Makefile.am | 12 ++++++++++--
17206 gi/_gobject/Makefile.am | 12 ++++++++++--
17207 gi/overrides/Makefile.am | 10 ++++++++++
17208 gi/repository/Makefile.am | 11 +++++++++++
17209 tests/runtests.py | 6 ++++--
17210 7 files changed, 60 insertions(+), 10 deletions(-)
17212 commit f83d95e6fff572bda659a48e309b4524dafa4e83
17213 Author: Johan Dahlin <johan@gnome.org>
17214 Date: Thu Mar 22 11:14:03 2012 -0300
17216 Add a pep8 check to the makefile
17218 Also reorganize the pyflakes check, since target dependencies do not
17219 take the exit status of the shell command into account.
17221 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17223 tests/Makefile.am | 9 ++++-----
17224 1 file changed, 4 insertions(+), 5 deletions(-)
17226 commit d1f5474c6c50163aefe660e0689dc7f30e6cd48b
17227 Author: Johan Dahlin <johan@gnome.org>
17228 Date: Thu Mar 22 10:56:59 2012 -0300
17230 PEP8: Remaining whitespace fixes
17232 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17234 demos/gtk-demo/demos/Icon View/iconviewedit.py | 7 +++----
17235 demos/gtk-demo/demos/Tree View/liststore.py | 28
17236 +++++++++++++-------------
17237 demos/gtk-demo/demos/appwindow.py | 10 ++++-----
17238 demos/gtk-demo/demos/rotatedtext.py | 2 +-
17239 examples/cairo-demo.py | 4 ++--
17240 tests/test_gi.py | 12 +++++------
17241 tests/test_overrides.py | 2 +-
17242 7 files changed, 32 insertions(+), 33 deletions(-)
17244 commit 032fcce2bf6070a9001cbb780e90403051e303b1
17245 Author: Johan Dahlin <johan@gnome.org>
17246 Date: Thu Mar 22 10:56:03 2012 -0300
17248 PEP8: Add spaces before #
17250 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17252 demos/gtk-demo/demos/drawingarea.py | 6 +++---
17253 demos/gtk-demo/demos/images.py | 10 +++++-----
17254 demos/gtk-demo/demos/rotatedtext.py | 2 +-
17255 gi/__init__.py | 2 +-
17256 gi/_glib/option.py | 2 +-
17257 gi/_gobject/__init__.py | 2 +-
17258 gi/overrides/GLib.py | 12 ++++++------
17259 gi/types.py | 4 ++--
17260 tests/runtests.py | 2 +-
17261 tests/test_gdbus.py | 4 ++--
17262 10 files changed, 23 insertions(+), 23 deletions(-)
17264 commit 6a58edbf11c612e9a14347b1556d1e0dd2ec1823
17265 Author: Johan Dahlin <johan@gnome.org>
17266 Date: Thu Mar 22 10:52:05 2012 -0300
17268 PEP8: Add missing whitespace after : and ,
17270 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17272 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
17273 demos/gtk-demo/demos/appwindow.py | 2 +-
17274 tests/test_everything.py | 23 +++++++++--------------
17275 tests/test_gi.py | 2 +-
17276 tests/test_overrides.py | 2 +-
17277 5 files changed, 13 insertions(+), 18 deletions(-)
17279 commit a8d361e66b2a0e09cfa5dbade4725074b0cc2fd1
17280 Author: Johan Dahlin <johan@gnome.org>
17281 Date: Thu Mar 22 10:49:52 2012 -0300
17283 PEP8: Remove too whitespace before }
17285 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17287 tests/test_overrides.py | 2 +-
17288 1 file changed, 1 insertion(+), 1 deletion(-)
17290 commit 2b8eb9fa5b9ca454d7130b3eec15a982fee1bdc9
17291 Author: Johan Dahlin <johan@gnome.org>
17292 Date: Thu Mar 22 10:49:27 2012 -0300
17294 PEP8: Remove too many blank lines
17296 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17298 demos/gtk-demo/demos/rotatedtext.py | 1 -
17299 tests/test_overrides.py | 1 -
17300 2 files changed, 2 deletions(-)
17302 commit 03e597cb8f3b075efae556ee51a598695a883ad3
17303 Author: Johan Dahlin <johan@gnome.org>
17304 Date: Thu Mar 22 10:48:59 2012 -0300
17306 PEP8: Fix whitespace around operators
17308 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17310 demos/gtk-demo/demos/images.py | 2 +-
17311 examples/cairo-demo.py | 8 ++++----
17312 tests/test_gi.py | 4 ++--
17313 tests/test_overrides.py | 8 ++++----
17314 tests/test_properties.py | 14 +++++++-------
17315 tests/test_signal.py | 2 +-
17316 6 files changed, 19 insertions(+), 19 deletions(-)
17318 commit 21aeb19107b718293116e51ecd6479d4d7198b8f
17319 Author: Johan Dahlin <johan@gnome.org>
17320 Date: Thu Mar 22 10:46:17 2012 -0300
17322 PEP8: Remove whitespace before (
17324 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17326 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
17327 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
17328 demos/gtk-demo/demos/Entry/search_entry.py | 12 ++---
17329 demos/gtk-demo/demos/Icon View/iconviewedit.py | 4 +-
17330 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
17331 demos/gtk-demo/demos/dialogs.py | 12 ++---
17332 demos/gtk-demo/demos/pickers.py | 8 ++--
17333 demos/gtk-demo/demos/pixbuf.py | 4 +-
17334 demos/gtk-demo/demos/printing.py | 8 ++--
17335 demos/gtk-demo/demos/rotatedtext.py | 2 +-
17336 demos/gtk-demo/gtk-demo.py | 4 +-
17337 gi/module.py | 4 +-
17338 gi/overrides/Pango.py | 2 +-
17339 gi/pygtkcompat.py | 4 +-
17340 tests/test_everything.py | 4 +-
17341 tests/test_overrides.py | 62
17342 +++++++++++++-------------
17343 16 files changed, 68 insertions(+), 68 deletions(-)
17345 commit b04d209930ab01bae6563b0d714aec829739bdc6
17346 Author: Johan Dahlin <johan@gnome.org>
17347 Date: Thu Mar 22 10:40:46 2012 -0300
17349 PEP8: Remove whitespace around {}
17351 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17353 tests/test_signal.py | 20 ++++++++++----------
17354 1 file changed, 10 insertions(+), 10 deletions(-)
17356 commit 725483a5dc36739dc7836716b5d6d48091564bf8
17357 Author: Johan Dahlin <johan@gnome.org>
17358 Date: Thu Mar 22 10:38:59 2012 -0300
17360 PEP8: run via --fix from craigds fork
17362 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17364 demos/gtk-demo/demos/Entry/entry_buffer.py | 1 +
17365 demos/gtk-demo/demos/Entry/entry_completion.py | 1 +
17366 demos/gtk-demo/demos/Entry/search_entry.py | 3 +-
17367 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 1 +
17368 demos/gtk-demo/demos/Icon View/iconviewedit.py | 2 +
17369 demos/gtk-demo/demos/Tree View/liststore.py | 3 ++
17370 demos/gtk-demo/demos/appwindow.py | 13 +++++-
17371 demos/gtk-demo/demos/assistant.py | 1 +
17372 demos/gtk-demo/demos/builder.py | 1 +
17373 demos/gtk-demo/demos/button_box.py | 1 +
17374 demos/gtk-demo/demos/clipboard.py | 2 +-
17375 demos/gtk-demo/demos/colorselector.py | 1 +
17376 demos/gtk-demo/demos/combobox.py | 4 +-
17377 demos/gtk-demo/demos/dialogs.py | 2 +
17378 demos/gtk-demo/demos/drawingarea.py | 1 +
17379 demos/gtk-demo/demos/expander.py | 4 +-
17380 demos/gtk-demo/demos/images.py | 10 +++--
17381 demos/gtk-demo/demos/infobars.py | 2 +
17382 demos/gtk-demo/demos/links.py | 2 +
17383 demos/gtk-demo/demos/menus.py | 2 +
17384 demos/gtk-demo/demos/pickers.py | 2 +
17385 demos/gtk-demo/demos/pixbuf.py | 2 +
17386 demos/gtk-demo/demos/printing.py | 5 ++-
17387 demos/gtk-demo/demos/rotatedtext.py | 4 +-
17388 demos/gtk-demo/demos/test.py | 1 +
17389 demos/gtk-demo/gtk-demo.py | 9 ++--
17390 examples/cairo-demo.py | 57
17391 ++++++++++++++----------
17392 examples/option.py | 1 -
17393 examples/properties.py | 1 +
17394 examples/signal.py | 4 ++
17395 gi/__init__.py | 2 +
17396 gi/_glib/option.py | 4 +-
17397 gi/_gobject/__init__.py | 1 +
17398 gi/_gobject/propertyhelper.py | 5 ++-
17399 gi/module.py | 3 ++
17400 gi/overrides/GIMarshallingTests.py | 2 +
17401 gi/overrides/GLib.py | 12 +++--
17402 gi/overrides/Gdk.py | 9 ++++
17403 gi/overrides/Gio.py | 4 ++
17404 gi/overrides/Gtk.py | 56
17405 ++++++++++++++++++++---
17406 gi/overrides/Pango.py | 2 +
17407 gi/overrides/__init__.py | 5 ++-
17408 gi/pygtkcompat.py | 16 +++++--
17410 tests/test_everything.py | 30 +++++++++----
17411 tests/test_gdbus.py | 1 +
17412 tests/test_gi.py | 30 +++++++------
17413 tests/test_gobject.py | 3 +-
17414 tests/test_mainloop.py | 1 +
17415 tests/test_option.py | 1 +
17416 tests/test_overrides.py | 55
17417 ++++++++++++-----------
17418 tests/test_properties.py | 11 ++++-
17419 tests/test_signal.py | 32 ++++++++++++-
17420 tests/test_source.py | 1 +
17421 tests/test_subprocess.py | 1 +
17422 tests/test_thread.py | 1 +
17423 tests/test_uris.py | 1 +
17424 tests/testmodule.py | 1 +
17425 58 files changed, 326 insertions(+), 111 deletions(-)
17427 commit 917275d4aa81db39ccaca34fa514032fb80a3187
17428 Author: Johan Dahlin <johan@gnome.org>
17429 Date: Thu Mar 22 10:33:29 2012 -0300
17431 PEP8: Remove spaces around = for keyword arguments
17433 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17435 demos/gtk-demo/demos/appwindow.py | 8 ++++----
17436 demos/gtk-demo/demos/colorselector.py | 4 ++--
17437 demos/gtk-demo/gtk-demo.py | 24 ++++++++++++------------
17438 examples/option.py | 4 ++--
17439 gi/_glib/option.py | 2 +-
17440 gi/overrides/Gtk.py | 2 +-
17441 tests/test_gi.py | 26 +++++++++++++-------------
17442 tests/test_option.py | 2 +-
17443 tests/test_overrides.py | 8 ++++----
17444 9 files changed, 40 insertions(+), 40 deletions(-)
17446 commit 0c85656f95d3cb31becff10bbee7faae7b0b875b
17447 Author: Johan Dahlin <johan@gnome.org>
17448 Date: Thu Mar 22 10:28:28 2012 -0300
17450 PEP8: Remove trailing ;
17452 https://bugzilla.gnome.org/show_bug.cgi?id=672627
17454 demos/gtk-demo/demos/appwindow.py | 4 ++--
17455 demos/gtk-demo/demos/dialogs.py | 30 +++++++++++++++---------------
17456 demos/gtk-demo/demos/links.py | 2 +-
17457 demos/gtk-demo/demos/pixbuf.py | 2 +-
17458 demos/gtk-demo/demos/printing.py | 8 ++++----
17459 gi/overrides/Gtk.py | 4 ++--
17460 tests/test_everything.py | 22 +++++++++++-----------
17461 tests/test_gi.py | 2 +-
17462 tests/test_overrides.py | 8 ++++----
17463 9 files changed, 41 insertions(+), 41 deletions(-)
17465 commit 32cc594ab6dfbd4843f3db5ec8338d31ad5df6c6
17466 Author: Johan Dahlin <johan@gnome.org>
17467 Date: Thu Mar 22 10:24:40 2012 -0300
17469 Remove all tabs and fix indentation
17471 By running the whole source tree via the indent.py script found
17472 in the Python distribution.
17474 demos/gtk-demo/demos/Entry/search_entry.py | 4 +-
17475 demos/gtk-demo/demos/Icon View/iconviewedit.py | 41 +++----
17476 demos/gtk-demo/demos/Tree View/liststore.py | 8 +-
17477 demos/gtk-demo/demos/appwindow.py | 18 +--
17478 demos/gtk-demo/demos/dialogs.py | 26 ++---
17479 demos/gtk-demo/demos/expander.py | 6 +-
17480 demos/gtk-demo/demos/images.py | 2 +-
17481 demos/gtk-demo/demos/links.py | 2 +-
17482 demos/gtk-demo/demos/rotatedtext.py | 20 ++--
17483 gi/_glib/option.py | 2 +-
17484 gi/_gobject/constants.py | 1 -
17485 gi/importer.py | 1 -
17486 gi/module.py | 10 +-
17487 gi/overrides/GLib.py | 11 +-
17488 gi/overrides/Gdk.py | 30 ++---
17489 gi/overrides/Gio.py | 4 +-
17490 gi/overrides/Gtk.py | 150
17491 ++++++++++++-------------
17492 gi/overrides/Pango.py | 1 -
17493 gi/overrides/__init__.py | 10 +-
17494 gi/pygtkcompat.py | 2 +-
17495 tests/compathelper.py | 2 +-
17496 tests/runtests.py | 19 ++--
17497 tests/test_everything.py | 22 ++--
17498 tests/test_gdbus.py | 11 +-
17499 tests/test_gi.py | 38 +++----
17500 tests/test_gobject.py | 2 +-
17501 tests/test_interface.py | 1 -
17502 tests/test_option.py | 1 -
17503 tests/test_overrides.py | 78 ++++++-------
17504 tests/test_properties.py | 2 +-
17505 tests/test_uris.py | 1 -
17506 31 files changed, 255 insertions(+), 271 deletions(-)
17508 commit c375e3136f0f48eb8a6717c0053155db088b329d
17509 Author: Martin Pitt <martin.pitt@ubuntu.com>
17510 Date: Thu Mar 22 10:32:43 2012 +0100
17512 tests: Replace deprecated Python API
17514 failIf → assertFalse, failUnless → assertTrue
17516 Caught by the previous commit of making deprecations fatal.
17518 tests/test_option.py | 10 +++----
17519 tests/test_overrides.py | 66
17520 +++++++++++++++++++++++------------------------
17521 tests/test_properties.py | 14 +++++-----
17522 tests/test_pygtkcompat.py | 18 ++++++-------
17523 tests/test_signal.py | 4 +--
17524 5 files changed, 56 insertions(+), 56 deletions(-)
17526 commit 32525e565cc48454cdacbc44ad3fd751b81cb7e3
17527 Author: Martin Pitt <martin.pitt@ubuntu.com>
17528 Date: Thu Mar 22 10:31:22 2012 +0100
17530 Fail tests if they use or encounter deprecations
17532 tests/Makefile.am | 2 +-
17533 1 file changed, 1 insertion(+), 1 deletion(-)
17535 commit 65762243a34af014950527c323a51a29d40fb3e1
17536 Author: Martin Pitt <martin.pitt@ubuntu.com>
17537 Date: Thu Mar 22 10:15:16 2012 +0100
17539 Do not run tests in two phases any more
17541 As we dropped the static bindings a while ago, there is no need any
17543 the tests in two phases (static/GI). Now just run them all in one go,
17544 simplifying tests/Makefile.am.
17546 As this changes the order of the tests, defining $GSETTINGS_SCHEMA_DIR
17548 needs to happen even further, so move it from tests/test_overrides.py
17552 tests/Makefile.am | 33 ++++++++++++---------------------
17553 tests/runtests.py | 7 +++++++
17554 tests/test_overrides.py | 6 ------
17555 3 files changed, 19 insertions(+), 27 deletions(-)
17557 commit 3b4ae83a0ece8e3aed1de5452e2acd32841e629a
17558 Author: Martin Pitt <martin.pitt@ubuntu.com>
17559 Date: Thu Mar 22 09:58:21 2012 +0100
17561 test_overrides: Find local gsettings schema with current glib
17563 With current glib, gsettings now fails to find the gschemas.compiled
17565 tests. Move the setting of $GSETTINGS_SCHEMA_DIR before the module
17567 which makes this work again.
17569 tests/test_overrides.py | 9 +++++----
17570 1 file changed, 5 insertions(+), 4 deletions(-)
17572 commit 927f7877ffa5e16c4cabcecbc05656ee0ec6a167
17573 Author: Paolo Borelli <pborelli@gnome.org>
17574 Date: Wed Mar 21 21:09:24 2012 +0100
17576 Add GtkComboBoxEntry compatibility
17578 This widget has been removed in Gtk+ 3, add a small wrapper to the
17579 compat module to make at least basic pygtk programs that use it work.
17581 https://bugzilla.gnome.org/show_bug.cgi?id=672589
17583 gi/pygtkcompat.py | 19 +++++++++++++++++++
17584 tests/test_pygtkcompat.py | 22 ++++++++++++++++++++++
17585 2 files changed, 41 insertions(+)
17587 commit b322d6a1f6d44bace4eefb98558cfe94a73a727c
17588 Author: Johan Dahlin <johan@gnome.org>
17589 Date: Wed Mar 21 16:01:35 2012 -0300
17591 Correct review comments from Martin
17593 https://bugzilla.gnome.org/show_bug.cgi?id=672578
17595 tests/test_everything.py | 4 ++--
17596 tests/test_pygtkcompat.py | 18 ++++++++++++++++++
17597 2 files changed, 20 insertions(+), 2 deletions(-)
17599 commit c8bc6ae10cfe8b2eff4204ec2175907a6eb0585a
17600 Author: Johan Dahlin <johan@gnome.org>
17601 Date: Wed Mar 21 14:45:53 2012 -0300
17603 Correct pyflakes warnings/errors
17605 And add a target to make check that runs pyflakes.
17607 https://bugzilla.gnome.org/show_bug.cgi?id=672578
17609 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
17610 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
17611 demos/gtk-demo/demos/Entry/search_entry.py | 12 +-
17612 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 2 +-
17613 demos/gtk-demo/demos/Icon View/iconviewedit.py | 2 +-
17614 demos/gtk-demo/demos/Tree View/liststore.py | 3 +-
17615 demos/gtk-demo/demos/appwindow.py | 13 +-
17616 demos/gtk-demo/demos/assistant.py | 4 +-
17617 demos/gtk-demo/demos/builder.py | 4 +-
17618 demos/gtk-demo/demos/button_box.py | 2 +-
17619 demos/gtk-demo/demos/clipboard.py | 2 +-
17620 demos/gtk-demo/demos/colorselector.py | 2 +-
17621 demos/gtk-demo/demos/combobox.py | 4 +-
17622 demos/gtk-demo/demos/dialogs.py | 4 +-
17623 demos/gtk-demo/demos/drawingarea.py | 2 +-
17624 demos/gtk-demo/demos/expander.py | 4 +-
17625 demos/gtk-demo/demos/images.py | 8 +-
17626 demos/gtk-demo/demos/infobars.py | 2 +-
17627 demos/gtk-demo/demos/links.py | 2 +-
17628 demos/gtk-demo/demos/menus.py | 5 +-
17629 demos/gtk-demo/demos/pickers.py | 2 +-
17630 demos/gtk-demo/demos/pixbuf.py | 2 +-
17631 demos/gtk-demo/demos/printing.py | 3 +-
17632 demos/gtk-demo/demos/rotatedtext.py | 6 +-
17633 demos/gtk-demo/gtk-demo.py | 9 +-
17634 examples/cairo-demo.py | 2 +-
17635 gi/__init__.py | 4 +
17636 gi/_glib/__init__.py | 101 ++++++++++-
17637 gi/_glib/option.py | 1 +
17638 gi/_gobject/__init__.py | 203
17639 ++++++++++++++++++++---
17640 gi/_gobject/constants.py | 2 -
17641 gi/_gobject/propertyhelper.py | 4 +-
17642 gi/importer.py | 2 +-
17644 gi/overrides/Gtk.py | 1 -
17645 gi/overrides/__init__.py | 1 -
17646 gi/pygtkcompat.py | 2 +
17648 tests/Makefile.am | 5 +
17649 tests/test_everything.py | 6 +-
17650 tests/test_gi.py | 8 +-
17651 tests/test_option.py | 10 +-
17652 tests/test_overrides.py | 30 ++--
17653 tests/test_properties.py | 12 +-
17654 tests/test_pygtkcompat.py | 4 -
17655 tests/test_signal.py | 4 +-
17656 tests/test_source.py | 6 +-
17657 47 files changed, 377 insertions(+), 138 deletions(-)
17659 commit 39650906559fcc39b4be406fa7e25c4788d349a3
17660 Author: Martin Pitt <martin.pitt@ubuntu.com>
17661 Date: Wed Mar 21 16:59:33 2012 +0100
17663 Make tests fail on CRITICAL logs, too, and apply to all tests
17665 Instead of setting warnings/criticals to fatal in individual test
17667 it in runtests.py, so that it applies to all tests.
17669 We currently have some tests which are known to generate CRITICALs
17671 with FIXME), and some WARNINGs (as they test behaviour with known-bad
17673 For these, warnings/criticals are now explicitly permitted.
17675 tests/runtests.py | 1 +
17676 tests/test_gi.py | 7 ++++++-
17677 tests/test_overrides.py | 14 +++++++-------
17678 tests/test_properties.py | 36 +++++++++++++++++++++---------------
17679 4 files changed, 35 insertions(+), 23 deletions(-)
17681 commit efcb4b0b32c4dda06c3eeec83802fc0f302f0d27
17682 Author: Alberto Mardegan <alberto.mardegan@canonical.com>
17683 Date: Tue Mar 20 14:55:07 2012 +0400
17685 Support marshalling GI_TYPE_TAG_INTERFACE
17687 Marshalling of interfaces got broken with commit
17688 7746d2188ac4933c2c9011d84525d1e62fc18953.
17690 Also, do not abort on unsupported types, but log a critical failure
17694 https://bugzilla.gnome.org/show_bug.cgi?id=668903
17696 gi/pygi-marshal-from-py.c | 3 ++-
17697 gi/pygi-marshal-to-py.c | 3 ++-
17698 2 files changed, 4 insertions(+), 2 deletions(-)
17700 commit 8d85d6639778ec6364235071d272d67e7aae49ae
17701 Author: Martin Pitt <martin.pitt@ubuntu.com>
17702 Date: Wed Mar 21 14:34:36 2012 +0100
17704 Fix warnings on None values in added tree/list store rows
17706 Commit bf8c95836e1c changed the List/TreeStore overrides to use
17707 insert_with_valuesv(), but supplied all columns instead of just
17709 not None. With this, None values cause warnings like
17711 (runtests.py:12375): Gtk-WARNING **:
17712 /build/buildd/gtk+3.0-3.3.20/./gtk/gtkliststore.c:851: Unable to
17713 convert from (null) to gboolean
17715 Update the tests to make warnings fatal, to catch this better.
17717 Change _convert_row() to skip the None entries and return the list
17719 columns, and use the latter instead of a simple range(n_columns). This
17721 the behaviour before bf8c95836e1c, where columns with None values
17725 https://bugzilla.gnome.org/show_bug.cgi?id=672463
17727 gi/overrides/Gtk.py | 26 ++++++++++++++------------
17728 tests/test_overrides.py | 5 +++++
17729 2 files changed, 19 insertions(+), 12 deletions(-)
17731 commit 38aecc481741fd3a319a76a0ec8bf5329a483876
17732 Author: Martin Pitt <martin.pitt@ubuntu.com>
17733 Date: Wed Mar 21 15:21:02 2012 +0100
17735 pygtkcompat test: Properly clean up PixbufLoader
17737 Tests currently give
17739 (runtests.py:15072): GdkPixbuf-WARNING **: GdkPixbufLoader finalized
17740 without calling gdk_pixbuf_loader_close() - this is not allowed. You
17741 must explicitly end the data stream to the loader before dropping
17742 the last reference.
17744 Fix this by calling close().
17746 tests/test_pygtkcompat.py | 3 ++-
17747 1 file changed, 2 insertions(+), 1 deletion(-)
17749 commit 5e0e5e72a4436badd09f0aa07f62960afcdca8c6
17750 Author: Martin Pitt <martin.pitt@ubuntu.com>
17751 Date: Mon Mar 19 16:58:22 2012 +0100
17755 Use 3.1.93 for now, this will most likely become 3.2.0 as it is.
17757 configure.ac | 2 +-
17758 1 file changed, 1 insertion(+), 1 deletion(-)
17760 commit 88924e399d7ccf7af2e9a78720e0c508cd6080d8
17761 Author: Martin Pitt <martin.pitt@ubuntu.com>
17762 Date: Mon Mar 19 16:41:17 2012 +0100
17766 NEWS | 46 ++++++++++++++++++++++++++++++++++++++++++++++
17767 1 file changed, 46 insertions(+)
17769 commit b41e6139befb984c0b78bcefe2630ab1393b4b40
17770 Author: Martin Pitt <martin.pitt@ubuntu.com>
17771 Date: Mon Mar 19 16:14:54 2012 +0100
17773 README: Update current maintainers
17775 Also update Martin's email address.
17777 README | 10 ++++++----
17778 pygobject.doap | 2 +-
17779 2 files changed, 7 insertions(+), 5 deletions(-)
17781 commit 45e27ba7e447552057a2950fc768c63ff2e6612e
17782 Author: Martin Pitt <martin.pitt@ubuntu.com>
17783 Date: Mon Mar 19 16:11:22 2012 +0100
17785 Bump version to 3.1.92, in sync with GNOME
17787 configure.ac | 2 +-
17788 1 file changed, 1 insertion(+), 1 deletion(-)
17790 commit 77d358f8c5f524259249ea686899e3a4da05562e
17791 Author: Johan Dahlin <johan@gnome.org>
17792 Date: Mon Mar 19 11:54:07 2012 -0300
17794 Correct Gtk.TreePath.__iter__ to work with Python 3
17796 gi/overrides/Gtk.py | 2 +-
17797 1 file changed, 1 insertion(+), 1 deletion(-)
17799 commit 1f18bcb37bdc42368ad9a07c7f348f736c2f665d
17800 Author: Martin Pitt <martin.pitt@ubuntu.com>
17801 Date: Mon Mar 19 15:54:13 2012 +0100
17803 Fix pygtkcompat.py to work with Python 3
17805 gi/pygtkcompat.py | 20 +++++++++++++++-----
17806 1 file changed, 15 insertions(+), 5 deletions(-)
17808 commit 96a9f92da801989464fbcedf6d849819f6dbea64
17809 Author: Martin Pitt <martin.pitt@ubuntu.com>
17810 Date: Mon Mar 19 15:32:22 2012 +0100
17812 Fix test_everything.TestSignals.test_object_param_signal test case
17814 The callback gets two arguments, not one. This short-circuited
17816 assertions. Fix the arguments and update the refcount check, as it
17818 exactly two at the moment.
17820 tests/test_everything.py | 4 ++--
17821 1 file changed, 2 insertions(+), 2 deletions(-)
17823 commit ba00afb1e50759b2b321f16e05a15946053cdafa
17824 Author: Johan Dahlin <johan@gnome.org>
17825 Date: Mon Mar 19 10:58:09 2012 -0300
17827 pygtkcompat: Remove first argument for get_origin()
17829 gi/pygtkcompat.py | 5 +++++
17830 tests/test_pygtkcompat.py | 5 +++++
17831 2 files changed, 10 insertions(+)
17833 commit 65499246a862ce6a82bc3b0cc74fe8ff82dde687
17834 Author: Johan Dahlin <johan@gnome.org>
17835 Date: Fri Mar 16 16:08:44 2012 -0300
17837 GtkViewport: Add a default values for the adjustment constructor
17840 https://bugzilla.gnome.org/show_bug.cgi?id=672260
17842 gi/overrides/Gtk.py | 10 ++++++++++
17843 tests/test_overrides.py | 11 +++++++++++
17844 2 files changed, 21 insertions(+)
17846 commit 43c761d9f35252dcb58b9cf2278016d841eea4ec
17847 Author: Johan Dahlin <johan@gnome.org>
17848 Date: Fri Mar 16 16:08:23 2012 -0300
17850 GtkIconSet: Add a default value for the pixbuf constructor parameter
17852 https://bugzilla.gnome.org/show_bug.cgi?id=672260
17854 gi/overrides/Gtk.py | 11 +++++++++++
17855 tests/test_overrides.py | 6 ++++++
17856 2 files changed, 17 insertions(+)
17858 commit 116d3712251b1b8aa2d4f4a9e40e22f5b9fcbe4f
17859 Author: Johan Dahlin <johan@gnome.org>
17860 Date: Fri Mar 16 16:07:30 2012 -0300
17862 PangoLayout: Add a default value for set_markup()
17864 https://bugzilla.gnome.org/show_bug.cgi?id=672260
17866 gi/overrides/Pango.py | 3 +++
17867 tests/test_overrides.py | 4 ++++
17868 2 files changed, 7 insertions(+)
17870 commit a3ca47b086b7fcf084282be788c5d737dde847ac
17871 Author: Johan Dahlin <johan@gnome.org>
17872 Date: Fri Mar 16 16:06:37 2012 -0300
17874 Gtk[HV]Scrollbar: Add a default value for the adjustment constructor
17877 https://bugzilla.gnome.org/show_bug.cgi?id=672260
17879 gi/overrides/Gtk.py | 15 +++++++++++++++
17880 tests/test_overrides.py | 14 ++++++++++++++
17881 2 files changed, 29 insertions(+)
17883 commit 458dab08c78cb730dd95bcd67af20a0d73a3af2f
17884 Author: Johan Dahlin <johan@gnome.org>
17885 Date: Fri Mar 16 16:06:12 2012 -0300
17887 GtkToolButton: Add a default value for the stock_id constructor
17890 https://bugzilla.gnome.org/show_bug.cgi?id=672260
17892 gi/overrides/Gtk.py | 10 ++++++++++
17893 tests/test_overrides.py | 9 ++++++++-
17894 2 files changed, 18 insertions(+), 1 deletion(-)
17896 commit 2f7789a5a1f55ec38c5ff0f96bc5c9023679a333
17897 Author: Johan Dahlin <johan@gnome.org>
17898 Date: Fri Mar 16 16:05:55 2012 -0300
17900 GtkIconView: Add a default value for the model constructor parameter
17902 https://bugzilla.gnome.org/show_bug.cgi?id=672260
17904 gi/overrides/Gtk.py | 3 +++
17905 tests/test_overrides.py | 11 +++++++++++
17906 2 files changed, 14 insertions(+)
17908 commit 2dd9dadd1bd92c3324e9de209ba8205a9d4106d6
17909 Author: Johan Dahlin <johan@gnome.org>
17910 Date: Thu Mar 15 15:22:46 2012 -0300
17912 Add a default value for column in Gtk.TreeView.get_cell_area()
17914 https://bugzilla.gnome.org/show_bug.cgi?id=672260
17916 gi/overrides/Gtk.py | 5 +++++
17917 tests/test_overrides.py | 3 +++
17918 2 files changed, 8 insertions(+)
17920 commit bf8c95836e1cc1e1629937cbc69ea3027fb82746
17921 Author: Martin Pitt <martin.pitt@ubuntu.com>
17922 Date: Thu Mar 15 09:48:10 2012 +0100
17924 Atomic inserts in Gtk.{List,Tree}Store overrides
17926 Gtk.{List,Tree}Store's overrides provide append(), insert()
17928 take an optional data row array. If this is given, use
17929 insert_with_valuesv()
17930 instead of creating a new iter and then filling it with data. The
17932 row-added signal, at which time the row was still empty, and a
17934 row-changed signal. With this we only get a single row-added
17938 Note that this does not change insert_{before,after}(), as there is no
17939 counterpart of insert_with_valuesv() which takes a TreeIter instead
17941 position. For those you will still get two signals, and have to deal
17945 https://bugzilla.gnome.org/show_bug.cgi?id=671610
17947 gi/overrides/Gtk.py | 81
17948 ++++++++++++++++++++++++++++++-------------------
17949 tests/test_overrides.py | 74 ++++++++++++++++++++++++++++++++++++++++++++
17950 2 files changed, 124 insertions(+), 31 deletions(-)
17952 commit f7db4eaf8148f2dd8bf1718152a1dcae509470c7
17953 Author: Martin Pitt <martin.pitt@ubuntu.com>
17954 Date: Sun Mar 18 16:07:26 2012 +0100
17956 Fix Gtk.Button constructor to accept use_stock parameter
17958 Thanks to kalanzun@googlemail.com!
17960 https://bugzilla.gnome.org/show_bug.cgi?id=672318
17962 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
17964 gi/overrides/Gtk.py | 4 +---
17965 tests/test_overrides.py | 6 ++++++
17966 2 files changed, 7 insertions(+), 3 deletions(-)
17968 commit 466337cf2fd091738eeab12c10d250a9d0827284
17969 Author: Johan Dahlin <johan@gnome.org>
17970 Date: Fri Mar 16 16:55:47 2012 -0300
17972 Correct bad rebase, remove duplicate Window
17974 gi/overrides/Gtk.py | 7 -------
17975 1 file changed, 7 deletions(-)
17977 commit c60d5ee3c88bd8e1c68ea97f079947cf79d5bb7d
17978 Author: Johan Dahlin <johan@gnome.org>
17979 Date: Thu Mar 15 15:42:28 2012 -0300
17981 Add a PyGTK compatibility layer
17983 This module tries quite a bit harder to maintain compatibility
17984 with PyGTK, module names, enums, flags and some API.
17986 https://bugzilla.gnome.org/show_bug.cgi?id=653462
17988 gi/Makefile.am | 3 +-
17989 gi/pygtkcompat.py | 421
17990 ++++++++++++++++++++++++++++++++++++++++++++++
17991 tests/Makefile.am | 3 +-
17992 tests/test_pygtkcompat.py | 77 +++++++++
17993 4 files changed, 502 insertions(+), 2 deletions(-)
17995 commit 680a2e04ac4f80ad16e820d3f753519477c988aa
17996 Author: Johan Dahlin <johan@gnome.org>
17997 Date: Wed Mar 14 15:20:53 2012 -0300
17999 Add bw-compatible arguments to Gtk.Adjustment
18001 The argument used to be called page/step_incr, if they
18002 are found map them to the existing properties for extra
18005 https://bugzilla.gnome.org/show_bug.cgi?id=672087
18007 gi/overrides/Gtk.py | 8 +++++++-
18008 1 file changed, 7 insertions(+), 1 deletion(-)
18010 commit fbd21ee7176bc1b70547ea464b512c8ffd674187
18011 Author: Johan Dahlin <johan@gnome.org>
18012 Date: Wed Mar 14 17:13:04 2012 -0300
18014 GtkTreePath: make it iterable
18016 https://bugzilla.gnome.org/show_bug.cgi?id=672093
18018 gi/overrides/Gtk.py | 3 +++
18019 tests/test_overrides.py | 2 ++
18020 2 files changed, 5 insertions(+)
18022 commit a7b08cb75541612c78d123b1d968be7874e3c481
18023 Author: Johan Dahlin <johan@gnome.org>
18024 Date: Wed Mar 14 13:32:31 2012 -0300
18026 Add a default argument to TreeModelFilter.set_visible_func()
18028 https://bugzilla.gnome.org/show_bug.cgi?id=672081
18030 gi/overrides/Gtk.py | 14 ++++++++++++++
18031 1 file changed, 14 insertions(+)
18033 commit 02950cabb38b1b3c9378c42c069eefdbccbce17d
18034 Author: Johan Dahlin <johan@gnome.org>
18035 Date: Wed Mar 14 13:31:41 2012 -0300
18037 Add a default argument to Gtk.TreeView.set_cursor
18039 And also make sure that the path is a Gtk.TreePath.
18041 https://bugzilla.gnome.org/show_bug.cgi?id=672081
18043 gi/overrides/Gtk.py | 4 ++++
18044 tests/test_overrides.py | 10 ++++++++++
18045 2 files changed, 14 insertions(+)
18047 commit 7245bd0ae3f6243c79fa8543a0ed1e50e5015844
18048 Author: Johan Dahlin <johan@gnome.org>
18049 Date: Wed Mar 14 13:31:06 2012 -0300
18051 Add a default argument to Pango.Context.get_metrics()
18053 https://bugzilla.gnome.org/show_bug.cgi?id=672081
18055 gi/overrides/Pango.py | 9 +++++++++
18056 1 file changed, 9 insertions(+)
18058 commit bc1fd8814df6c1e85b586d0fb943c89f7e2b78b5
18059 Author: Martin Pitt <martin.pitt@ubuntu.com>
18060 Date: Fri Mar 16 13:27:56 2012 +0100
18062 Fix double-freeing GValues in arrays
18064 When marshalling a GValue array to C, the GValue items are copied
18066 GValue array, not a C GValue pointer
18067 array. _pygi_marshal_from_py_array()
18068 already calls the cleanup_func for the original item;
18069 _pygi_marshal_cleanup_from_py_array() must not do it again, as this
18071 to g_slice_free the array item.
18073 https://bugzilla.gnome.org/show_bug.cgi?id=672224
18075 gi/pygi-marshal-from-py.c | 7 ++++++-
18076 1 file changed, 6 insertions(+), 1 deletion(-)
18078 commit a906b7d1947ba905f959d3f738eb6c29b02f96e7
18079 Author: Simon Feltman <s.feltman@gmail.com>
18080 Date: Fri Mar 16 00:29:31 2012 -0700
18082 Renamed "property" class to "Property"
18084 Renamed to match the rest of the class names in GObject and also
18085 not clobber the builtin python property.
18087 Keep the old "property" identifier for backwards compatibility
18090 https://bugzilla.gnome.org/show_bug.cgi?id=672168
18092 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
18094 examples/properties.py | 6 +--
18095 gi/_gobject/__init__.py | 7 ++--
18096 gi/_gobject/propertyhelper.py | 12 +++---
18097 tests/test_interface.py | 4 +-
18098 tests/test_properties.py | 94
18099 +++++++++++++++++++++----------------------
18100 5 files changed, 62 insertions(+), 61 deletions(-)
18102 commit d7d28d717e38c0546529b09b8b571a5cc631c5b5
18103 Author: Martin Pitt <martin.pitt@ubuntu.com>
18104 Date: Wed Mar 14 22:52:47 2012 +0100
18106 Fix Python to C marshalling of GValue arrays
18108 For GValues we cannot just copy the GValue memory in
18109 _pygi_marshal_from_py_array(), as the from_py_cleanup() function
18111 releases the GValue and with it its v_pointer. Use g_value_copy()
18115 This uncovered another bug in _pygi_marshal_cleanup_from_py_array():
18117 assumed that C arrays contained pointers, but this is not the case
18119 arrays: these are actual struct arrays, not struct pointer arrays
18121 construction in _pygi_marshal_from_py_array()). Check if an array
18123 pointers or values and compute the correct array item pointer for
18126 Also add a corresponding test case for marshalling GValue arrays
18128 Python, which works fine.
18130 https://bugzilla.gnome.org/show_bug.cgi?id=672065
18132 gi/pygi-marshal-cleanup.c | 19 ++++++++++++++-----
18133 gi/pygi-marshal-from-py.c | 13 ++++++++++++-
18134 tests/test_gi.py | 8 ++++++++
18135 3 files changed, 34 insertions(+), 6 deletions(-)
18137 commit 27ac9c1de6487035b18ef4511c155d251cb6d39d
18138 Author: Johan Dahlin <johan@gnome.org>
18139 Date: Fri Mar 16 09:59:57 2012 +0100
18141 Correct the Gtk.Window hierarchy
18143 We need to make sure that all Gtk.Dialog subclasses inherit from
18144 the overridden Window class. For that to be done automaticly we need
18145 to create the Window class before the Dialog class.
18147 Now when it's inherited properly we need to avoid calling the Window
18148 constructor twice as it passes in a construct-only parameter. So add
18149 **kwargs to the Window constructor to allow us to pass in any kind
18150 of GObject property to it and refactor the Dialog subclasses to pass
18151 in all properties to the same constructor.
18153 Also adds a bunch of tests to make sure that the hiearchy is correct.
18155 https://bugzilla.gnome.org/show_bug.cgi?id=672158
18157 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
18159 gi/overrides/Gtk.py | 56
18160 ++++++++++++++++++++++++-------------------------
18161 tests/test_overrides.py | 35 +++++++++++++++++++++++++++++--
18162 2 files changed, 61 insertions(+), 30 deletions(-)
18164 commit 77ab27ab8a580d98f76730f075e083e1e870f55e
18165 Author: simon <simon@gerty>
18166 Date: Tue Mar 13 01:41:53 2012 -0700
18168 Renamed getter/setter instance attributes to fget/fset respectively.
18170 The python 'property' class allows for decoration of methods using
18171 .getter and .setter. These were added as methods to the
18173 class to match that of the python property class and allow for
18177 In addition, __call__ was added to allow an instantiated decorator
18179 args to also decorate a method:
18181 class C(GObject.GObject):
18183 @GObject.property(type=int, default=0)
18187 def propInt(self, value):
18188 self._value = value
18190 https://bugzilla.gnome.org/show_bug.cgi?id=586181
18192 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
18194 gi/_gobject/__init__.py | 10 ++++----
18195 gi/_gobject/propertyhelper.py | 59
18196 +++++++++++++++++++++++++++++++------------
18197 tests/test_properties.py | 41 ++++++++++++++++++++++++++++++
18198 3 files changed, 89 insertions(+), 21 deletions(-)
18200 commit 174a61fb3149c07dab5cc35e64825922cdefcb95
18201 Author: Johan Dahlin <johan@gnome.org>
18202 Date: Tue Mar 13 17:10:13 2012 -0300
18204 Add Gtk.Arrow/Gtk.Window constructor override
18206 Adds argument that makes them compatible with PyGTK.
18208 https://bugzilla.gnome.org/show_bug.cgi?id=672045
18210 gi/overrides/Gtk.py | 17 +++++++++++++++++
18211 1 file changed, 17 insertions(+)
18213 commit 7746d2188ac4933c2c9011d84525d1e62fc18953
18214 Author: Michel Dänzer <michel@daenzer.net>
18215 Date: Fri Mar 9 12:26:53 2012 +0100
18217 Fix marshalling to/from Python to work on big endian machines.
18219 https://bugzilla.gnome.org/show_bug.cgi?id=668903
18221 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
18223 gi/pygi-argument.c | 25 ++++++++++++++++---------
18224 gi/pygi-marshal-from-py.c | 32 +++++++++++++++++++++++++-------
18225 gi/pygi-marshal-to-py.c | 19 +++++++++++++++++++
18226 3 files changed, 60 insertions(+), 16 deletions(-)
18228 commit 0591cc6f160ae6e9d8c3970934ae105ef340d7d3
18229 Author: Michel Dänzer <michel@daenzer.net>
18230 Date: Thu Mar 8 12:21:28 2012 +0100
18232 Use gi_cclosure_marshal_generic instead of duplicating it.
18234 Bump gobject-introspection dependency to ensure that we have the
18238 https://bugzilla.gnome.org/show_bug.cgi?id=668903
18240 Signed-off-by: Michel Dänzer <michel@daenzer.net>
18241 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
18243 configure.ac | 3 +-
18244 gi/_gobject/Makefile.am | 7 +-
18245 gi/_gobject/ffi-marshaller.c | 194
18246 -------------------------------------------
18247 gi/_gobject/ffi-marshaller.h | 31 -------
18248 gi/_gobject/gobjectmodule.c | 12 +--
18249 5 files changed, 4 insertions(+), 243 deletions(-)
18251 commit 8ca828825a2c47080055c5f986979aac8da9a93f
18252 Author: René Stadler <rene.stadler@collabora.co.uk>
18253 Date: Mon Mar 5 21:10:55 2012 +0100
18255 Override Gtk.TreeView.get_visible_range to fix return
18257 Just like IconView.
18259 https://bugzilla.gnome.org/show_bug.cgi?id=671409
18261 gi/overrides/Gtk.py | 5 +++++
18262 1 file changed, 5 insertions(+)
18264 commit 4824ceaa77b59788325a2c1ee0f994d4e74d7a1c
18265 Author: Paolo Borelli <pborelli@gnome.org>
18266 Date: Sun Mar 4 16:41:18 2012 +0100
18268 Plug memory leak in _is_union_member
18270 When we found the member, unref the objects before breaking out of the
18273 gi/pygi-marshal-from-py.c | 9 +++------
18274 1 file changed, 3 insertions(+), 6 deletions(-)
18276 commit c6ae29ac157978a61b11cc2de9e8485d8a175105
18277 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18278 Date: Tue Feb 21 15:37:18 2012 +0100
18280 tests: Split TestInterfaces into separate tests
18282 tests/test_gi.py | 36 +++++++++++++++++++-----------------
18283 1 file changed, 19 insertions(+), 17 deletions(-)
18285 commit de3299818ae5fdf1c7abbe05a36bfd5cdface7b8
18286 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18287 Date: Mon Feb 20 19:37:32 2012 +0100
18289 Post release version bump to 3.1.2
18291 configure.ac | 2 +-
18292 1 file changed, 1 insertion(+), 1 deletion(-)
18294 commit fd020e783c0dacea3320225b4ddd57d6a0fce7ea
18295 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18296 Date: Mon Feb 20 19:33:56 2012 +0100
18298 Prepare 3.1.1 release
18300 NEWS | 18 ++++++++++++++++++
18301 1 file changed, 18 insertions(+)
18303 commit 99485d96811667ef7a7a393b68b7361733157d61
18304 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18305 Date: Sat Feb 18 00:38:05 2012 +0100
18307 Don't use C99 style
18309 gi/pygi-cache.c | 3 ++-
18310 1 file changed, 2 insertions(+), 1 deletion(-)
18312 commit 0739c39f6282d95fc17ee406fa1151d074b0450d
18313 Author: Martin Pitt <martin.pitt@ubuntu.com>
18314 Date: Thu Feb 16 16:42:53 2012 +0100
18316 Add test for GPtrArray with transfer full
18318 This complements the already existing test for a "transfer container"
18320 array. We can't verify the internal refcount as these arrays get
18322 internally, but at least we can verify that it does not crash due to
18325 tests/test_everything.py | 10 +++++++++-
18326 1 file changed, 9 insertions(+), 1 deletion(-)
18328 commit 087a104f66793a981a0c02f1c7ab9cc1cf659da3
18329 Author: Martin Pitt <martin.pitt@ubuntu.com>
18330 Date: Wed Feb 15 13:36:39 2012 +0100
18332 Drop obsolete g_thread_init()
18334 Not necessary any more since glib 2.24, and we depend on 2.31.
18336 gi/_glib/pyglib.c | 3 ---
18337 1 file changed, 3 deletions(-)
18339 commit 66fb610e45912a7def29e5848577d280ef55643a
18340 Author: Martin Pitt <martin.pitt@ubuntu.com>
18341 Date: Wed Feb 15 13:35:33 2012 +0100
18343 Fix deprecated g_source_get_current_time()
18345 Use g_get_real_time() instead as recommended by the
18346 documentation. This also
18347 simplifies the code.
18349 gi/_glib/pygsource.c | 4 +---
18350 1 file changed, 1 insertion(+), 3 deletions(-)
18352 commit 18342edded05d3d9cccf648ed92bc1cac95c51eb
18353 Author: Martin Pitt <martin.pitt@ubuntu.com>
18354 Date: Wed Feb 15 13:31:23 2012 +0100
18356 Fix deprecated g_value_[gs]et_char()
18358 Replace with _schar(). We depend on glib >= 2.31 already.
18360 gi/_gobject/ffi-marshaller.c | 2 +-
18361 gi/_gobject/pygtype.c | 6 +++---
18362 gi/pygi-argument.c | 2 +-
18363 3 files changed, 5 insertions(+), 5 deletions(-)
18365 commit 3dfb8dcbe7cf09dc170433fc48d3273c6ea9448e
18366 Author: Simon Schampijer <simon@schampijer.de>
18367 Date: Thu Feb 2 19:06:01 2012 +0100
18369 Make pygiconvert.sh correctly convert gtk.gdk.x11_*
18371 Looking at the gir file gtk.gdk.x11_* should get converted to
18372 GdkX11.x11_*. Fixing pygiconvert.sh to do so.
18374 pygi-convert.sh | 2 +-
18375 1 file changed, 1 insertion(+), 1 deletion(-)
18377 commit 3af5016978df598d5fd1c225cc49bb2c04dc4e35
18378 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18379 Date: Fri Feb 10 13:29:41 2012 +0100
18381 Raise required glib version to 2.31 because of g_value_(get|set)_schar
18383 Commit ee62df4d2fc0cc63c2f29d3ad9b47b875dbd5f89 introduced both calls
18385 configure.ac | 6 +++---
18386 1 file changed, 3 insertions(+), 3 deletions(-)
18388 commit 50c3b1bad3ea79750649f4b48fce0adbfaba5268
18389 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18390 Date: Fri Feb 10 09:28:36 2012 +0100
18392 Fix cset_first typo
18394 https://bugzilla.gnome.org/show_bug.cgi?id=649267
18396 gi/_gobject/pygparamspec.c | 2 +-
18397 1 file changed, 1 insertion(+), 1 deletion(-)
18399 commit 6ab542fb3ec1031922ba65664d77bbaac0df453e
18400 Author: Bastian Winkler <buz@netbuz.org>
18401 Date: Mon Nov 14 14:41:08 2011 +0100
18403 pygi-convert: Handle Clutter and Cogl
18405 https://bugzilla.gnome.org/show_bug.cgi?id=664496
18407 pygi-convert.sh | 76
18408 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
18409 1 file changed, 76 insertions(+)
18411 commit 4aeb27efc43e131de5d0bc0f60dca7c1d34c3d45
18412 Author: Cédric Krier <cedric.krier@b2ck.com>
18413 Date: Fri Feb 10 09:04:18 2012 +0100
18415 Provide access to gpointer struct values
18417 https://bugzilla.gnome.org/show_bug.cgi?id=668356
18419 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
18421 gi/pygi-argument.c | 3 ++-
18422 gi/pygi-info.c | 13 +++++++++++++
18423 tests/test_everything.py | 21 +++++++++++++++++++++
18424 3 files changed, 36 insertions(+), 1 deletion(-)
18426 commit 5c0b20cc1a261cb7430a5251dffe60da698033b5
18427 Author: Paolo Borelli <pborelli@gnome.org>
18428 Date: Thu Feb 9 18:15:42 2012 +0100
18430 Add some GType tests
18432 Use what was recently added in g-i
18434 tests/test_gi.py | 17 +++++++++++++++--
18435 1 file changed, 15 insertions(+), 2 deletions(-)
18437 commit ea7778f6f37a6fc38f88d89d4b6cae8be0ed9753
18438 Author: Paolo Borelli <pborelli@gnome.org>
18439 Date: Thu Feb 9 18:14:52 2012 +0100
18441 Split GStrv and array variant tests in their own classes
18443 Also tidy up the spacing a bit
18445 tests/test_gi.py | 29 +++++++++++++++++++++++------
18446 1 file changed, 23 insertions(+), 6 deletions(-)
18448 commit db7f9be319d3cf52aef300fbac60cabb7ff57276
18449 Author: Paolo Borelli <pborelli@gnome.org>
18450 Date: Wed Feb 8 22:23:30 2012 +0100
18452 Add unit test for builder's connect_after
18454 tests/test_overrides.py | 8 ++++++++
18455 1 file changed, 8 insertions(+)
18457 commit 671f9b0dd73ac41a84caf9d1f04cec351bc01b47
18458 Author: Ryan Lortie <desrt@desrt.ca>
18459 Date: Wed Feb 8 16:06:22 2012 -0500
18461 fix GtkBuilder signal connection 'after' logic
18463 All GtkBuilder signals are presently being connected 'after', ignoring
18464 what is specified in the builder XML. This is due to an obvious logic
18467 https://bugzilla.gnome.org/show_bug.cgi?id=669705
18469 gi/overrides/Gtk.py | 2 +-
18470 1 file changed, 1 insertion(+), 1 deletion(-)
18472 commit 1d23d8006be98b77a0134fddd23b76df05e489fa
18473 Author: Patrick Welche <prlw1@cam.ac.uk>
18474 Date: Tue Feb 7 11:49:58 2012 +0000
18476 test(1) uses '=' to test if strings are identical
18478 https://bugzilla.gnome.org/show_bug.cgi?id=669598
18480 m4/python.m4 | 6 +++---
18481 1 file changed, 3 insertions(+), 3 deletions(-)
18483 commit 945fd18e531c2131440af93dcd89f6c63abbfd7c
18484 Author: Ryan Lortie <desrt@desrt.ca>
18485 Date: Tue Feb 7 13:42:19 2012 -0500
18487 pygspawn: improve error checking
18489 gspawn 'argv' and 'envp' parameters expect sequences of strings. This
18490 is enforced by checking that the passed argument is a sequence
18492 each item returned from it is a string.
18494 We do now, however, verify that each item can be successfully
18496 the sequence. 'os.environ' is an example of an object that passes
18497 PySequence_Check() but fails to return objects from PySequence_ITEM().
18499 Add a simple NULL check to avoid the crash.
18501 https://bugzilla.gnome.org/show_bug.cgi?id=669594
18503 gi/_glib/pygspawn.c | 4 ++--
18504 1 file changed, 2 insertions(+), 2 deletions(-)
18506 commit 8fc969c45d6d720400dc6c9ef391d0ca93f14b5a
18507 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18508 Date: Mon Feb 6 19:15:53 2012 +0100
18510 Post release version bump to 3.1.1
18512 configure.ac | 2 +-
18513 1 file changed, 1 insertion(+), 1 deletion(-)
18515 commit f76b2fe6d37be76bf129ee2adee90b2cc0eee56e
18516 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18517 Date: Mon Feb 6 19:11:52 2012 +0100
18519 Prepare 3.1.0 release
18521 NEWS | 34 ++++++++++++++++++++++++++++++++++
18522 1 file changed, 34 insertions(+)
18524 commit c09d0dffc5a570d5ae4df1ae07b2e5594c3ca1bf
18525 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18526 Date: Mon Feb 6 19:04:41 2012 +0100
18528 Updated DOAP file to only include people currently actively working
18531 Removed obsolete MAINTAINERS file
18533 MAINTAINERS | 19 -------------------
18534 pygobject.doap | 44 +++++++++++++++-----------------------------
18535 2 files changed, 15 insertions(+), 48 deletions(-)
18537 commit 0285e107be581c4d594127dc06cd05df1f02fb3f
18538 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18539 Date: Mon Feb 6 18:57:01 2012 +0100
18541 Revert "Convert all strings to utf-8 encoding when retrieving from
18544 This reverts commit 654711d0f940d7480d0f1cdb25a3dc9996f7a706.
18546 Due to this commit breaking backwards compatability, we decided to
18549 gi/overrides/Gtk.py | 15 ---------------
18550 tests/compathelper.py | 2 --
18551 tests/test_overrides.py | 31 +------------------------------
18552 3 files changed, 1 insertion(+), 47 deletions(-)
18554 commit 0e921cd26ed5a6e3bc6ef5f553e8b22b862d72a6
18555 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18556 Date: Sun Feb 5 13:47:10 2012 +0100
18558 tests: Fixed issues with python3
18560 tests/test_gi.py | 9 ++++++---
18561 1 file changed, 6 insertions(+), 3 deletions(-)
18563 commit ee62df4d2fc0cc63c2f29d3ad9b47b875dbd5f89
18564 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18565 Date: Sun Feb 5 11:59:51 2012 +0100
18567 Properly distinguish between different integer types for properties
18569 https://bugzilla.gnome.org/show_bug.cgi?id=664150
18571 gi/pygi-property.c | 48 ++++++++++++++++++++++++++++++++++++++----
18572 tests/test_gi.py | 62
18573 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
18574 2 files changed, 106 insertions(+), 4 deletions(-)
18576 commit c329bf2aee8d75ce452638db75e09197ff2b9b65
18577 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18578 Date: Sun Feb 5 11:46:21 2012 +0100
18580 Distinguish between GArray and GPtrArray when cleaning up
18582 This fixes a crash in test_gi.TestGPtrArray and makes sure
18583 memory is free'd correctly
18585 https://bugzilla.gnome.org/show_bug.cgi?id=669393
18587 gi/pygi-marshal-cleanup.c | 32 +++++++++++++++++++++++---------
18588 1 file changed, 23 insertions(+), 9 deletions(-)
18590 commit 4ea37c606f67df843788261b2c8acd6bac4c1e0c
18591 Author: Paolo Borelli <pborelli@gnome.org>
18592 Date: Sun Feb 5 18:51:53 2012 +0100
18594 Add null_gerror_callback unit test
18596 This models the case where the callback is successful and does not set
18599 https://bugzilla.gnome.org/show_bug.cgi?id=669415
18601 tests/test_everything.py | 9 +++++++++
18602 1 file changed, 9 insertions(+)
18604 commit a41984780ee49dcf02c718ca1be87bba747472e5
18605 Author: Martin Pitt <martin.pitt@ubuntu.com>
18606 Date: Mon Feb 6 09:34:28 2012 +0100
18608 pyglib_error_check: Re-add missing NULL check
18610 Commit adcfe96d49b09bc accidentally dropped the check if *error is
18612 any error is actually set. Due to that, pyglib_error_check()
18614 TRUE. Reintroduce the check.
18616 Thanks to Alberto Mardegan for spotting this!
18618 https://bugzilla.gnome.org/show_bug.cgi?id=669415
18620 gi/_glib/pyglib.c | 2 ++
18621 1 file changed, 2 insertions(+)
18623 commit 2c797c17913999379e277788d5e4cce8d68cebb0
18624 Author: Michael Culbertson <michael.culbertson@gmail.com>
18625 Date: Sat Feb 4 16:11:34 2012 +0100
18627 Add tests/runtests-windows.py to source tarball
18629 https://bugzilla.gnome.org/show_bug.cgi?id=663288
18631 tests/Makefile.am | 1 +
18632 1 file changed, 1 insertion(+)
18634 commit d6a899cdf70e978534326155e3fad75a705f4b20
18635 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18636 Date: Sat Feb 4 15:55:55 2012 +0100
18638 Don't issue a depreciation warning for GtkDialog's NO_SEPARATOR flag,
18641 https://bugzilla.gnome.org/show_bug.cgi?id=665553
18643 gi/overrides/Gtk.py | 6 ++----
18644 1 file changed, 2 insertions(+), 4 deletions(-)
18646 commit 534ec71c575a279ff1c05da20a8858bb1145b4d0
18647 Author: Nirbheek Chauhan <nirbheek@gentoo.org>
18648 Date: Sat Feb 4 15:42:36 2012 +0100
18650 Fix bool() operations on GLib.Variant objects
18652 Defines __nonzero__ (python2) and __bool__ (python3) for GLib.Variant
18654 Also adds some tests for boolean comparisons.
18656 https://bugzilla.gnome.org/show_bug.cgi?id=647723
18658 gi/overrides/GLib.py | 18 ++++++++++++++++++
18659 tests/test_overrides.py | 45
18660 +++++++++++++++++++++++++++++++++++++++++++++
18661 2 files changed, 63 insertions(+)
18663 commit 8d6a127df5dd1e5f26faeba8f977074b4496b24f
18664 Author: Nirbheek Chauhan <nirbheek@gentoo.org>
18665 Date: Sat Feb 4 15:41:08 2012 +0100
18667 Fix hash() and __eq__() for GLib.Variant objects
18669 Define __hash__, __eq__, __ne__ for GLib.Variant so that objects can
18670 be used in sets, dicts, and can be compared using == and != easily.
18672 Also adds some tests for this.
18674 https://bugzilla.gnome.org/show_bug.cgi?id=647725
18676 gi/overrides/GLib.py | 23 ++++++++++++++++++++
18677 tests/test_overrides.py | 56
18678 +++++++++++++++++++++++++++++++++++++++++++++++++
18679 2 files changed, 79 insertions(+)
18681 commit f82404034be042bf2026bbb7f1e33b11d6e17a6f
18682 Author: Martin Pitt <martin.pitt@ubuntu.com>
18683 Date: Wed Jan 25 07:01:06 2012 +0100
18685 Fix method names of callback tests
18687 Change test_everything.TestCallbacks.* test names from camelCase
18689 standard PEP-8 underscore_style. This is now consistent with all
18693 tests/test_everything.py | 30 +++++++++++++++---------------
18694 1 file changed, 15 insertions(+), 15 deletions(-)
18696 commit e37ee78fbf0aa72159a40da4165a26bea065faf1
18697 Author: Will Thompson <will.thompson@collabora.co.uk>
18698 Date: Mon Jan 23 13:10:30 2012 +0000
18700 Cairo: add missing braces around array-of-struct definition
18702 This triggered a -Wmissing-braces warning.
18704 https://bugzilla.gnome.org/show_bug.cgi?id=668497
18706 gi/pygi-foreign-cairo.c | 2 +-
18707 1 file changed, 1 insertion(+), 1 deletion(-)
18709 commit db24865d6b60351d72f5b8f47103d6d0a6c63b2e
18710 Author: Will Thompson <will.thompson@collabora.co.uk>
18711 Date: Mon Jan 23 13:06:41 2012 +0000
18713 g_instance_init: cast to PyGObject * as needed
18715 This squashes a compiler warning.
18717 https://bugzilla.gnome.org/show_bug.cgi?id=668497
18719 gi/_gobject/gobjectmodule.c | 2 +-
18720 1 file changed, 1 insertion(+), 1 deletion(-)
18722 commit a8408cfd68cd5e7cdb0b8a83e107d9a0d828e4bd
18723 Author: Will Thompson <will.thompson@collabora.co.uk>
18724 Date: Mon Jan 23 13:01:27 2012 +0000
18726 Fix a few set-but-not-used warnings.
18728 In a couple of cases, the variable in question was set to a value
18729 spelled out again later in the function.
18731 The 'sequence_cache' variable is re-declared five lines below.
18733 The return value of 'read' was previously completely ignored. The
18734 'gssize ret' variable was in fact added to squash an unused-result
18737 https://bugzilla.gnome.org/show_bug.cgi?id=668497
18739 gi/_glib/pygiochannel.c | 2 +-
18740 gi/_glib/pygmainloop.c | 3 +--
18741 gi/_gobject/pygobject.c | 2 +-
18742 gi/pygi-marshal-cleanup.c | 2 --
18743 4 files changed, 3 insertions(+), 6 deletions(-)
18745 commit 29a30490ed51e347e8f57d2bf9af69400734eee8
18746 Author: Stefano Facchini <stefano.facchini@gmail.com>
18747 Date: Thu Jan 19 18:09:07 2012 +0100
18749 pygmainloop: allow for extra arguments in 'quit' method
18751 To allow for the common syntax:
18753 object.connect('signal-name', main_loop.quit)
18755 https://bugzilla.gnome.org/show_bug.cgi?id=668288
18757 gi/_glib/pygmainloop.c | 4 ++--
18758 1 file changed, 2 insertions(+), 2 deletions(-)
18760 commit 557a61c12c01137a0d7c679c4b053973df09d445
18761 Author: Alexandre Rostovtsev <tetromino@gentoo.org>
18762 Date: Mon Dec 26 00:44:56 2011 -0500
18764 Fix bytearray test compatibility with python3
18766 https://bugs.gentoo.org/show_bug.cgi?id=321879
18768 https://bugzilla.gnome.org/show_bug.cgi?id=666852
18770 tests/test_gi.py | 4 ++--
18771 1 file changed, 2 insertions(+), 2 deletions(-)
18773 commit d69e5b3c7bdb9113382fd125c256b12bff4c24d2
18774 Author: Alberto Mardegan <mardy@users.sourceforge.net>
18775 Date: Mon Jan 23 12:37:26 2012 +0200
18777 Respect transfer-type when demarshalling GErrors
18779 The marshaller previously ignored "transfer full" on GError*
18781 crashes due to double-freeing them. This causes the
18782 testCallbackUserdata() test
18783 case to crash after the previous GError/GHashTable marshalling fix.
18785 https://bugzilla.gnome.org/show_bug.cgi?id=666270
18787 gi/pygi-argument.c | 12 +++++++++++-
18788 1 file changed, 11 insertions(+), 1 deletion(-)
18790 commit 77f32d9110bfeb6dad8457f565b4c70b5998fef6
18791 Author: Alberto Mardegan <mardy@users.sourceforge.net>
18792 Date: Thu Dec 15 16:12:01 2011 +0200
18794 Support GHashTable and GError as callback/closure arguments
18796 Marshalling of these types from C is already implemented, let's
18798 into use for calbacks and closures too.
18800 Add corresponding test cases.
18802 https://bugzilla.gnome.org/show_bug.cgi?id=666270
18804 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
18806 gi/pygi-closure.c | 2 ++
18807 tests/test_everything.py | 35 +++++++++++++++++++++++++++++++++++
18808 2 files changed, 37 insertions(+)
18810 commit 4b9dc03d0e49e9a1f4bf0f2df503bdff00d13a2b
18811 Author: Will Thompson <will.thompson@collabora.co.uk>
18812 Date: Mon Jan 23 13:56:02 2012 +0000
18814 Don't leak when marshalling GErrors to C
18816 Python-land GLib.GErrors are supposed to have three attributes:
18817 "message", "domain" and "code". If those attributes are missing,
18819 have the wrong types, the C GError is filled in with a message
18820 describing the error. The present-but-ill-typed code paths did not
18821 DECREF the ill-typed values.
18823 https://bugzilla.gnome.org/show_bug.cgi?id=666098
18825 gi/_glib/pyglib.c | 3 +++
18826 1 file changed, 3 insertions(+)
18828 commit adcfe96d49b09bcc550653d73de196610fd5144d
18829 Author: Will Thompson <will.thompson@collabora.co.uk>
18830 Date: Fri Jan 20 16:20:10 2012 +0000
18832 Support functions which return GError
18834 GStreamer has the following method:
18836 void gst_message_parse_error (
18837 GstMessage *message,
18839 gchar **debug_message);
18841 With this patch, we marshal the GError out parameter as a
18843 exception, but return it rather than throwing it. The test cases cover
18844 two variations on the theme of the function above (one with (transfer
18845 full), as in GStreamer, and another with (transfer none)) as well as a
18846 function with return type GError *.
18848 https://bugzilla.gnome.org/show_bug.cgi?id=666098
18850 gi/_glib/pyglib.c | 46
18851 +++++++++++++++++++++++++++++++++++-----------
18852 gi/_glib/pyglib.h | 1 +
18853 gi/pygi-marshal-to-py.c | 16 +++++++++++++---
18854 tests/test_gi.py | 32 ++++++++++++++++++++++++++++++++
18855 4 files changed, 81 insertions(+), 14 deletions(-)
18857 commit 09f003729eac9d553a208c343c2a14d253b77d9a
18858 Author: Alberto Mardegan <mardy@users.sourceforge.net>
18859 Date: Mon Jan 23 12:42:21 2012 +0200
18861 Fix indentation of _pygi_argument_to_object()
18863 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=666270
18865 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
18867 gi/pygi-argument.c | 26 +++++++++++++-------------
18868 1 file changed, 13 insertions(+), 13 deletions(-)
18870 commit c71c010be01d706f90bc200194325fd82f4071b2
18871 Author: Paolo Borelli <pborelli@gnome.org>
18872 Date: Sat Jan 14 14:24:23 2012 +0100
18876 gi/gimodule.c | 10 ++++++----
18877 1 file changed, 6 insertions(+), 4 deletions(-)
18879 commit c299d058c22385ececaec64c872d1dd1bc1ae17a
18880 Author: Paolo Borelli <pborelli@gnome.org>
18881 Date: Fri Jan 6 13:39:31 2012 +0100
18883 Connect to first action of a radio group.
18885 gi/overrides/Gtk.py | 4 ++--
18886 1 file changed, 2 insertions(+), 2 deletions(-)
18888 commit dee2f179037902a3883bd0e61ff1c350e1fd8a4f
18889 Author: Paolo Borelli <pborelli@gnome.org>
18890 Date: Wed Jan 4 16:40:51 2012 +0100
18892 Use g_slist_free_full in pygi-closure.
18894 gi/pygi-closure.c | 3 +--
18895 1 file changed, 1 insertion(+), 2 deletions(-)
18897 commit 2bee4207ab6f07dc9c0952affe72f0e304cfb624
18898 Author: Paolo Borelli <pborelli@gnome.org>
18899 Date: Wed Jan 4 15:24:13 2012 +0100
18901 Avoid O(n^2) behavior when marshalling lists
18903 Appending requires walking the list every time: just prepend and
18905 the list at the end.
18907 https://bugzilla.gnome.org/show_bug.cgi?id=667261
18909 gi/pygi-marshal-from-py.c | 8 ++++----
18910 1 file changed, 4 insertions(+), 4 deletions(-)
18912 commit d68455e99b1a9ebba31209b17a11317b1958678b
18913 Author: Paolo Borelli <pborelli@gnome.org>
18914 Date: Tue Jan 3 16:57:40 2012 +0100
18916 Handle NULL as a valid case of a char** array
18918 Treat NULL as an empty array and add the corresponding testcase
18920 gi/pygi-marshal-to-py.c | 9 +++++----
18921 tests/test_gi.py | 3 +++
18922 2 files changed, 8 insertions(+), 4 deletions(-)
18924 commit e3451b8e6018bb76e9992fb6af24a71725de5cfd
18925 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
18926 Date: Fri Dec 23 12:01:43 2011 +0100
18928 Branching, bump version to 3.1.0
18930 configure.ac | 4 ++--
18931 1 file changed, 2 insertions(+), 2 deletions(-)
18933 commit 8d1a36cc73f5f4df091ecb289c8a7b38ec2ab605
18934 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
18935 Date: Mon Dec 12 18:35:30 2011 +0100
18937 Add notes about branching to HACKING
18939 HACKING | 10 ++++++++++
18940 1 file changed, 10 insertions(+)
18942 commit 00030bc6f0fb961c716ed692144cd8e4bb9be7d0
18943 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18944 Date: Sat Dec 10 12:51:45 2011 +0100
18946 Fixed bug where GObject.property did not respect minimum and maximum
18949 https://bugzilla.gnome.org/show_bug.cgi?id=664864
18951 gi/_gobject/propertyhelper.py | 2 +-
18952 tests/test_properties.py | 31 +++++++++++++++++++++++++++++++
18953 2 files changed, 32 insertions(+), 1 deletion(-)
18955 commit 7b78abc6c399abd0daa4c11c644d107e1bb7b452
18956 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
18957 Date: Mon Dec 12 17:00:24 2011 +0100
18959 Remove mention of removed option --enable-docs
18962 1 file changed, 1 insertion(+), 1 deletion(-)
18964 commit 4cba52f5b5e79b7b6212cb0795e8976a9da9f21d
18965 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
18966 Date: Mon Dec 12 17:00:03 2011 +0100
18968 Fix sebp's name in NEWS
18971 1 file changed, 1 insertion(+), 1 deletion(-)
18973 commit 8c95981d0ba224a577f87998030c384b3dae3d80
18974 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
18975 Date: Mon Dec 12 16:20:09 2011 +0100
18979 NEWS | 15 +++++++++++++++
18980 1 file changed, 15 insertions(+)
18982 commit 58e47fd28c5d75bb78042c8f9eb5aae84de9c64d
18983 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
18984 Date: Mon Dec 12 16:16:44 2011 +0100
18986 Pre-release version bump
18988 configure.ac | 2 +-
18989 1 file changed, 1 insertion(+), 1 deletion(-)
18991 commit 884468d4816fc976c0c0c72651e7f81d13f3f78b
18992 Author: Manuel Quiñones <manuq@laptop.org>
18993 Date: Thu Dec 1 11:50:38 2011 -0300
18995 Convert all modifier constants to Gdk.ModifierType
18997 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
18999 pygi-convert.sh | 14 ++++++++++++++
19000 1 file changed, 14 insertions(+)
19002 commit 654711d0f940d7480d0f1cdb25a3dc9996f7a706
19003 Author: Sebastian Pölsterl <sebp@k-d-w.org>
19004 Date: Tue Nov 8 12:38:12 2011 +0100
19006 Convert all strings to utf-8 encoding when retrieving from TreeModel
19008 https://bugzilla.gnome.org/show_bug.cgi?id=663610
19010 gi/overrides/Gtk.py | 15 +++++++++++++++
19011 tests/compathelper.py | 2 ++
19012 tests/test_overrides.py | 31 ++++++++++++++++++++++++++++++-
19013 3 files changed, 47 insertions(+), 1 deletion(-)
19015 commit 4f637212f13b197a95c824967a58496b9e3b877c
19016 Author: John (J5) Palmieri <johnp@redhat.com>
19017 Date: Wed Nov 2 14:51:24 2011 -0400
19019 add test for bytearray variants
19021 tests/test_gi.py | 4 ++++
19022 1 file changed, 4 insertions(+)
19024 commit 20ca3f129d6cc662285cce8c732b55596016aefa
19025 Author: John (J5) Palmieri <johnp@redhat.com>
19026 Date: Wed Nov 2 14:50:42 2011 -0400
19028 handle NULL arrays correctly for each array type
19030 gi/pygi-marshal-to-py.c | 11 ++++++-----
19031 1 file changed, 6 insertions(+), 5 deletions(-)
19033 commit ce2f780bffe44b1d4de617dcbce4b90c58b03c18
19034 Author: John (J5) Palmieri <johnp@redhat.com>
19035 Date: Wed Nov 2 14:17:21 2011 -0400
19037 Revert "Revert "Fix array termination and size calculation""
19039 This reverts commit cfda820e8d9604c5ef2ad1161c22b20080d5daf4.
19041 gi/pygi-marshal-from-py.c | 6 +++++-
19042 gi/pygi-marshal-to-py.c | 8 +++++++-
19043 2 files changed, 12 insertions(+), 2 deletions(-)
19045 commit 832f16f96815adc22cc3acbeb3fa969631795a29
19046 Author: Owen W. Taylor <otaylor@fishsoup.net>
19047 Date: Sun Oct 30 18:08:57 2011 -0400
19049 pygmainloop: avoid lockups if multiple glib.MainLoop exist
19051 If multiple glib.MainLoop() sources exist, then we will add multiple
19052 watches, and when python writes a byte to the wakeup pipe, all of the
19053 sources will try to read it; only one will succeed and the others
19054 will block. Set both ends of the pipe nonblocking to avoid this.
19056 https://bugzilla.gnome.org/show_bug.cgi?id=663068
19058 gi/_glib/pygmainloop.c | 5 ++++-
19059 1 file changed, 4 insertions(+), 1 deletion(-)
19061 commit 2fd3aa9d4ca0906a5e609845ee500ba72e358f94
19062 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
19063 Date: Sat Oct 29 15:08:03 2011 +0200
19065 Properly chain up to the class that implements a given vfunc.
19067 https://bugzilla.gnome.org/show_bug.cgi?id=662994
19069 gi/types.py | 22 +++++++++++++---------
19070 tests/test_gi.py | 20 ++++++++++----------
19071 2 files changed, 23 insertions(+), 19 deletions(-)
19073 commit cfda820e8d9604c5ef2ad1161c22b20080d5daf4
19074 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
19075 Date: Wed Nov 2 14:54:21 2011 +0100
19077 Revert "Fix array termination and size calculation"
19079 This reverts commit eef35b2df8023ffff2d195ee16c084f5cfcb6ba3.
19081 gi/pygi-marshal-from-py.c | 6 +-----
19082 gi/pygi-marshal-to-py.c | 8 +-------
19083 2 files changed, 2 insertions(+), 12 deletions(-)
19085 commit eef35b2df8023ffff2d195ee16c084f5cfcb6ba3
19086 Author: Holger Berndt <hb@gnome.org>
19087 Date: Sun Oct 30 16:36:32 2011 +0100
19089 Fix array termination and size calculation
19091 When creating an array of element type uint8 and setting it directly
19093 memcpy(), make sure that zero-termination is respected.
19095 When calculating the length of a zero-terminated array of type uint8,
19096 fall back to strlen() instead of g_strv_length().
19098 https://bugzilla.gnome.org/show_bug.cgi?id=662550
19100 gi/pygi-marshal-from-py.c | 6 +++++-
19101 gi/pygi-marshal-to-py.c | 8 +++++++-
19102 2 files changed, 12 insertions(+), 2 deletions(-)
19104 commit 4c1d9f01b8fa6702f73b290180f934250e179caa
19105 Author: Daniel Drake <dsd@laptop.org>
19106 Date: Sun Oct 30 09:20:45 2011 +0000
19108 pygi-convert: fix for Pango.Alignment
19110 pygi-convert.sh | 1 +
19111 1 file changed, 1 insertion(+)
19113 commit e3abd76096cc9f335681c7225f452c286b9c59e2
19114 Author: Daniel Drake <dsd@laptop.org>
19115 Date: Sun Oct 30 07:06:57 2011 +0000
19117 pygi-convert: fix for Gtk.Orientation
19119 pygi-convert.sh | 1 +
19120 1 file changed, 1 insertion(+)
19122 commit 52b82c5f78ef3755388457fa9440c36ccd2dfbbf
19123 Author: Martin Pitt <martin.pitt@ubuntu.com>
19124 Date: Thu Oct 27 07:16:24 2011 +0200
19126 Add tests for calling closures
19128 Add checks for correct handling of closure calls.
19129 Regress.test_closure_one_arg() is working fine and should continue
19131 Regress.test_closure_variant() is known to not work yet, so mark
19133 for now. (See https://bugzilla.gnome.org/show_bug.cgi?id=656554)
19135 tests/test_everything.py | 24 ++++++++++++++++++++++++
19136 1 file changed, 24 insertions(+)
19138 commit c7aa0e79dfb4c1092c51ae1464b8414083b4f3fc
19139 Author: Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com>
19140 Date: Tue Oct 4 12:28:26 2011 +0200
19142 fix marshaling of arrays of GVariants
19144 Add unit tests for marshaling of arrays of variants with all
19145 transfer modes. Requires latest gobject-introspection.
19147 Plug potential leaks of GArray data members
19149 Fix calling of wrong cleanup_from_py for arrays
19151 Simplify and fix logic for cleaning up arrays both in from_py()
19152 and to_py() code paths.
19154 https://bugzilla.gnome.org/show_bug.cgi?id=638915
19156 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
19158 gi/pygi-cache.c | 2 +-
19159 gi/pygi-marshal-cleanup.c | 81
19160 ++++++++++++++++++++++++++++++-----------------
19161 gi/pygi-marshal-from-py.c | 10 ++++--
19162 gi/pygi-marshal-to-py.c | 13 ++++++--
19163 tests/test_gi.py | 14 +++++++-
19164 5 files changed, 85 insertions(+), 35 deletions(-)
19166 commit c2ec4d8eb46ae2e6ee4372b2a4f9d5df0e5d82f3
19167 Author: Ignacio Casal Quinteiro <icq@gnome.org>
19168 Date: Sat Oct 22 00:20:57 2011 +0200
19173 1 file changed, 8 insertions(+)
19175 commit 5c24760b797e985721f7fe51d52252e4dd54a417
19176 Author: Martin Pitt <martin.pitt@ubuntu.com>
19177 Date: Fri Oct 21 17:31:41 2011 +0200
19179 Fix "Returns: (skip)" method calls without (out) arguments
19181 When we have a method call with a skipped return value, but no
19183 arguments, we previously returned NULL to Python, which causes
19185 error return without exception set". Return None instead.
19187 https://bugzilla.gnome.org/show_bug.cgi?id=662383
19189 gi/pygi-invoke.c | 10 ++++++++++
19190 tests/test_everything.py | 8 ++++++++
19191 2 files changed, 18 insertions(+)
19193 commit 585222915dc98b0e375de3db4771466278a32e81
19194 Author: John (J5) Palmieri <johnp@redhat.com>
19195 Date: Tue Oct 18 00:39:16 2011 -0400
19197 Do union member checks for unions that are parameters
19199 * before we were only doing checks if the union was an instance
19201 https://bugzilla.gnome.org/show_bug.cgi?id=661673
19203 gi/pygi-marshal-from-py.c | 121
19204 ++++++++++++++++++++++++++--------------------
19205 1 file changed, 68 insertions(+), 53 deletions(-)
19207 commit 8deaec6b9abd87f02060c9feec773d4693e89028
19208 Author: Martin Pitt <martin.pitt@ubuntu.com>
19209 Date: Wed Oct 19 14:35:11 2011 +0200
19211 Gdk overrides: Unbreak for Gdk-2.0
19213 Fix regression from commit 31db3ed: Gdk 2.0 did not yet have
19215 only do this for Gdk >= 3.0.
19217 https://launchpad.net/bugs/875399
19219 gi/overrides/Gdk.py | 95
19220 +++++++++++++++++++++++++++--------------------------
19221 1 file changed, 48 insertions(+), 47 deletions(-)
19223 commit f395fb131caf7ca550acd17138d8061926ef4f92
19224 Author: John (J5) Palmieri <johnp@redhat.com>
19225 Date: Fri Oct 14 17:19:45 2011 -0400
19227 unit test for checking ref count of object param in signals
19229 https://bugzilla.gnome.org/show_bug.cgi?id=661359
19231 tests/test_everything.py | 11 +++++++++++
19232 1 file changed, 11 insertions(+)
19234 commit 611f58b99851328653af4930f188c33eccaa9f6f
19235 Author: John (J5) Palmieri <johnp@redhat.com>
19236 Date: Fri Oct 14 16:42:32 2011 -0400
19238 when converting an object with transfer none, make sure the wrapper
19241 https://bugzilla.gnome.org/show_bug.cgi?id=661359
19243 gi/pygi-argument.c | 10 ++++++++++
19244 1 file changed, 10 insertions(+)
19246 commit 0f1eb9fa0e7aa5e7c22dabc709c0dfb469e404f1
19247 Author: Timo Vanwynsberghe <timovwb@gmail.com>
19248 Date: Tue Oct 4 11:13:43 2011 +0200
19250 Allow GBoxed types as property
19252 Add the GBoxed type as valid type to the gobject property helper
19253 https://bugzilla.gnome.org/show_bug.cgi?id=660798
19255 gi/_gobject/propertyhelper.py | 5 +++--
19256 1 file changed, 3 insertions(+), 2 deletions(-)
19258 commit bef8d385117dd0295c9ba7567710d76fc2bb729a
19259 Author: Ignacio Casal Quinteiro <icq@gnome.org>
19260 Date: Mon Oct 10 11:24:42 2011 +0200
19262 Add tests for boxed properties.
19264 tests/test_properties.py | 20 ++++++++++++++++++--
19265 1 file changed, 18 insertions(+), 2 deletions(-)
19267 commit 77123ffeb1585837033848f4d5a90cfa63fdaee0
19268 Author: Ignacio Casal Quinteiro <icq@gnome.org>
19269 Date: Fri Sep 30 20:21:07 2011 +0200
19271 Post release bump version
19273 configure.ac | 2 +-
19274 1 file changed, 1 insertion(+), 1 deletion(-)
19276 commit f5ccfec0a1bc4c999bfa49d75383ea06d3a068c4
19277 Author: Ignacio Casal Quinteiro <icq@gnome.org>
19278 Date: Fri Sep 30 20:19:46 2011 +0200
19283 configure.ac | 2 +-
19284 2 files changed, 6 insertions(+), 1 deletion(-)
19286 commit 56ac9339eb1d6950623dc4d8c3b9972874e7fa86
19287 Author: John (J5) Palmieri <johnp@redhat.com>
19288 Date: Thu Sep 22 19:03:20 2011 -0400
19290 when checking instances union members are same type as parent
19292 * this is so we can support sending Gdk.Event members in place of
19293 the Event union into methods
19294 * we only support this if the union member has a type of GI_INTERFACE
19297 https://bugzilla.gnome.org/show_bug.cgi?id=659879
19299 gi/pygi-marshal-from-py.c | 60
19300 +++++++++++++++++++++++++++++++++++++++++++----
19301 1 file changed, 56 insertions(+), 4 deletions(-)
19303 commit 311a4f8035a95b41bc3c0a836c32b7a5bf2d9959
19304 Author: John (J5) Palmieri <johnp@redhat.com>
19305 Date: Wed Sep 21 21:50:48 2011 -0400
19307 add a floating flag to pygobjects
19309 * this allows us to correctly refcount when custom gobjects are
19313 gi/_gobject/gobjectmodule.c | 5 +++++
19314 gi/_gobject/pygobject-private.h | 3 +++
19315 gi/_gobject/pygobject.c | 27 ++++++++++++++++++++++++++-
19316 gi/_gobject/pygobject.h | 3 ++-
19317 4 files changed, 36 insertions(+), 2 deletions(-)
19319 commit d2d29ae5845217254b9336fd8629f369cb119b25
19320 Author: John (J5) Palmieri <johnp@redhat.com>
19321 Date: Wed Sep 21 21:13:22 2011 -0400
19323 Revert "Fix refcount bug by not creating python wrapper during
19324 gobject init stage"
19326 This reverts commit f6fa5dd8f39af1b8a52d7600d257400b0983e8c5.
19328 gi/_gobject/gobjectmodule.c | 32 +++++++++++++++++---------------
19329 1 file changed, 17 insertions(+), 15 deletions(-)
19331 commit a24c10b779f2a1b0425d56d03d59c393389cad98
19332 Author: John (J5) Palmieri <johnp@redhat.com>
19333 Date: Wed Sep 21 21:10:00 2011 -0400
19335 make sure to commit the NEWS file
19338 1 file changed, 4 insertions(+)
19340 commit 2eed2940c9be099fb6305288d895265e6b35d3d2
19341 Author: John (J5) Palmieri <johnp@redhat.com>
19342 Date: Mon Sep 19 13:19:57 2011 -0400
19344 prep for 3.0 release
19346 configure.ac | 6 +++---
19347 1 file changed, 3 insertions(+), 3 deletions(-)
19349 commit fbd58b70c2c3c1128f95a87eb4cc8313b6a401b8
19350 Author: John (J5) Palmieri <johnp@redhat.com>
19351 Date: Fri Sep 16 14:19:15 2011 -0400
19353 up version required of gobject-introspection to 1.29.0
19355 configure.ac | 2 +-
19356 1 file changed, 1 insertion(+), 1 deletion(-)
19358 commit 225f21117b6b3546989abe22538c784291e86b2a
19359 Author: John (J5) Palmieri <johnp@redhat.com>
19360 Date: Fri Sep 16 12:26:10 2011 -0400
19364 * remove some unused vars
19365 * correctly cast vars
19366 * handle deprecated enums in switch statments by using default:
19367 * unused wanrings still remain in some places
19369 gi/pygi-argument.c | 2 +-
19370 gi/pygi-cache.c | 7 ++-----
19371 gi/pygi-info.c | 6 ++++++
19372 gi/pygi-invoke.c | 2 +-
19373 gi/pygi-marshal-from-py.c | 17 +++++++++--------
19374 gi/pygi-marshal-to-py.c | 3 +--
19375 6 files changed, 20 insertions(+), 17 deletions(-)
19377 commit 9a70f01288e1b049206d25d67938907f1b38a490
19378 Author: John (J5) Palmieri <johnp@redhat.com>
19379 Date: Fri Sep 16 12:24:38 2011 -0400
19383 configure.ac | 2 +-
19384 1 file changed, 1 insertion(+), 1 deletion(-)
19386 commit 3ec4020205e909ee4400650434f9ae7b89c2bde8
19387 Author: John (J5) Palmieri <johnp@redhat.com>
19388 Date: Thu Sep 15 18:12:01 2011 -0400
19390 edit HACKING file to show correct tag format
19393 1 file changed, 1 insertion(+), 1 deletion(-)
19395 commit 2e864fd05bc0adf48df9f65ab72785ebb1d0d3f0
19396 Author: John (J5) Palmieri <johnp@redhat.com>
19397 Date: Thu Sep 15 18:10:33 2011 -0400
19399 update NEWS file to prep for release
19401 NEWS | 35 +++++++++++++++++++++++++++++++++++
19402 1 file changed, 35 insertions(+)
19404 commit 0da687fa699aba4f42c42a924d6754e2bd47df50
19405 Author: John (J5) Palmieri <johnp@redhat.com>
19406 Date: Thu Sep 15 17:59:31 2011 -0400
19408 fix typo s/lenth/length
19410 gi/overrides/Gtk.py | 2 +-
19411 1 file changed, 1 insertion(+), 1 deletion(-)
19413 commit 0e4861abaff64d8e7e8d1aeedf9dd1e80de8aab2
19414 Author: John (J5) Palmieri <johnp@redhat.com>
19415 Date: Thu Sep 15 17:48:58 2011 -0400
19417 fix typo in docstring
19419 gi/_gobject/propertyhelper.py | 2 +-
19420 1 file changed, 1 insertion(+), 1 deletion(-)
19422 commit e7fcc326d64def610e5a1003cf6c7ca97023814d
19423 Author: John (J5) Palmieri <johnp@redhat.com>
19424 Date: Thu Sep 15 17:46:46 2011 -0400
19426 do not pass in len(str) to the length argument of
19427 gtk_test_buffer_insert* apis
19429 * in python 3 len(str) returns the number of characters while
19431 parameter is expecting the number of bytes. It also excepts -1
19433 terminated string. Since all of our strings are null terminated,
19435 set length to that.
19437 gi/overrides/Gtk.py | 6 ++----
19438 1 file changed, 2 insertions(+), 4 deletions(-)
19440 commit 6f380153afb3390f7da9f4b8befb1c4ee224da17
19441 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19442 Date: Mon Sep 12 21:07:20 2011 +0200
19444 Switch tarball compression format to tar.xz only.
19447 http://mail.gnome.org/archives/gnome-announce-list/2011-September/msg00031.html
19448 for more information.
19450 https://bugzilla.gnome.org/show_bug.cgi?id=659140
19452 configure.ac | 2 +-
19453 1 file changed, 1 insertion(+), 1 deletion(-)
19455 commit 11c45ac6dcb6ffad766d03bfc77f45a6d703a90d
19456 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19457 Date: Thu Sep 15 14:18:57 2011 +0200
19459 Remove pygtk_version attribute from internal gi._gobject module.
19461 This used to be provided for backwards compatibility with older PyGTK
19462 versions. As PyGObject3 no longer provides support for static bindings
19463 like PyGTK, the pygtk_version attribute has become obsolete.
19465 https://bugzilla.gnome.org/show_bug.cgi?id=659142
19467 gi/_gobject/gobjectmodule.c | 4 ----
19468 gi/_gobject/pygobject.h | 2 --
19469 2 files changed, 6 deletions(-)
19471 commit 7e48fd6dfd86b7082c3fd35d25d9693c56c9665a
19472 Author: John (J5) Palmieri <johnp@redhat.com>
19473 Date: Thu Sep 15 15:52:18 2011 -0400
19475 remove overridesdir from the .pc file and add it to the gi module
19477 * having the variable in the .pc file caused issues parallel
19479 for different versions of python
19480 * putting it into the module allows us to give the correct directory
19481 based on which version of python you run the script from
19482 * access the var as such:
19484 installdir = gi._overridesdir
19486 gi/__init__.py | 2 ++
19487 pygobject-3.0.pc.in | 10 +++++++++-
19488 2 files changed, 11 insertions(+), 1 deletion(-)
19490 commit beea7072a5a989be47a755ac46647380d4dbd6b4
19491 Author: John (J5) Palmieri <johnp@redhat.com>
19492 Date: Thu Sep 15 00:11:09 2011 -0400
19494 fix tests to correctly construct a dummy Gtk.TargetEntry
19496 * structs are sometimes a pain in gi. Simply constructing them
19498 the standard constructor (e.g. Gtk.TargetEntry()) will malloc
19500 but not correctly initialize the fields which can cause a crash.
19501 * tests didn't crash before because they were sending in bogus
19503 somehow did not trigger the issue
19504 * now with the C struct array marshallers doing the right thing,
19506 use of TargetEntry was causing a crash
19508 https://bugzilla.gnome.org/show_bug.cgi?id=627236
19510 tests/test_overrides.py | 4 ++--
19511 1 file changed, 2 insertions(+), 2 deletions(-)
19513 commit 46ba7f04ef3df08e07ddda5c10f0c98bec5fa183
19514 Author: John (J5) Palmieri <johnp@redhat.com>
19515 Date: Thu Sep 15 00:08:31 2011 -0400
19517 we now assume that C arrays of structs are flat so memcpy them
19520 * there is no way in GI to tell if a C array is flat or an array
19522 so we assume that all arrays of simple structs and gvalues are
19524 all arrays of objects and boxed structs are pointer arrays.
19525 * this will be removed once GI gets the ability to annotate level
19528 https://bugzilla.gnome.org/show_bug.cgi?id=627236
19530 gi/pygi-marshal-from-py.c | 35 ++++++++++++++++++++++++++++++++---
19531 tests/test_gi.py | 29 +++++++++++++++++++++++++++++
19532 2 files changed, 61 insertions(+), 3 deletions(-)
19534 commit e30a41592baa942188574e5c9f99572963e2e387
19535 Author: John (J5) Palmieri <johnp@redhat.com>
19536 Date: Thu Sep 15 00:02:34 2011 -0400
19538 only update the arg counts once if child arg comes before parent arg
19540 * if the child arg comes before the parent arg we need to update the
19541 argument counts and take the child arg out of the marshalling lists
19542 since it is handled by the parent
19543 * when two parents reference the same child arg as is the case with
19544 two arrays which have a single length argument we only want
19547 * to do this we introduce the PYGI_META_ARG_CHILD_NEEDS_UPDATE
19549 and only do the count update if this is set
19550 * APIs should keep in mind that this take extra processing so
19552 should really come after their parents
19554 https://bugzilla.gnome.org/show_bug.cgi?id=627236
19556 gi/pygi-cache.c | 30 ++++++++++++++++++++----------
19557 gi/pygi-cache.h | 9 +++++++--
19558 2 files changed, 27 insertions(+), 12 deletions(-)
19560 commit f6fa5dd8f39af1b8a52d7600d257400b0983e8c5
19561 Author: John (J5) Palmieri <johnp@redhat.com>
19562 Date: Wed Sep 14 20:26:15 2011 -0400
19564 Fix refcount bug by not creating python wrapper during gobject
19567 * This only applys to python subclasses of GObject which are
19570 * Because we were creating the wrapper when the gobject is
19572 and then again calling pygobject_new_full the wrapper would get
19574 * we could not simply Py_DECREF the wrapper due to the fact that
19575 non-subclassed objects (e.g. GObject.Object) instantiated via
19576 new do not run the same initialization code and would not have the
19578 * solution was to simply not create the wrapper during initialization
19579 because if it doesn't exist when pygobject_new_full is called
19580 it gets created and registered there
19581 * move the call to __init__ into pyg_object_new
19583 https://bugzilla.gnome.org/show_bug.cgi?id=657403
19585 gi/_gobject/gobjectmodule.c | 32 +++++++++++++++-----------------
19586 1 file changed, 15 insertions(+), 17 deletions(-)
19588 commit 61b64a65beee9011f8e4ed20f0a83e6630ba154f
19589 Author: John (J5) Palmieri <johnp@redhat.com>
19590 Date: Tue Sep 13 18:08:04 2011 -0400
19592 don't destroy just created wrapper when object is created via
19595 https://bugzilla.gnome.org/show_bug.cgi?id=657403
19597 gi/_gobject/gobjectmodule.c | 2 +-
19598 1 file changed, 1 insertion(+), 1 deletion(-)
19600 commit 93e12cc2eb7e7f2c18971da86e9c9452d3f566b7
19601 Author: Steve Frécinaux <code@istique.net>
19602 Date: Fri Aug 26 11:22:09 2011 +0200
19604 Remove deprecated API from pygobject.h
19606 https://bugzilla.gnome.org/show_bug.cgi?id=657416
19608 gi/_gobject/pygobject.h | 19 +------------------
19609 1 file changed, 1 insertion(+), 18 deletions(-)
19611 commit e1c71092af6e2cffa36248519adfceac1874051d
19612 Author: Marcin Owsiany <marcin@owsiany.pl>
19613 Date: Wed Aug 31 09:43:28 2011 +0100
19615 Convert gtk.TRUE/FALSE to Python True/False.
19617 https://bugzilla.gnome.org/show_bug.cgi?id=657785
19619 pygi-convert.sh | 2 ++
19620 1 file changed, 2 insertions(+)
19622 commit 3ace5c2e2268285a5dcb39889fcb2a71bc1063bd
19623 Author: Steve Frécinaux <code@istique.net>
19624 Date: Fri Sep 2 08:37:15 2011 +0200
19626 Drop legacy __gobject_init__ method of GObject.Object.
19628 This method was used in gobject initialization at some point, but now
19629 using GObject.__init__() is sufficient, so let's not keep this old
19630 method around and let people misuse it.
19632 https://bugzilla.gnome.org/show_bug.cgi?id=658032
19634 examples/signal.py | 2 --
19635 gi/_gobject/pygobject.c | 11 -----------
19636 2 files changed, 13 deletions(-)
19638 commit fcd457d1d1d8a813acb2ebfe5ee0e9aab2c9c88c
19639 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19640 Date: Tue Sep 13 12:05:30 2011 +0200
19642 AM_CHECK_PYTHON_LIBS does not work for lib64
19644 But on Windows, Python extension modules need to be explicitly
19645 linked to libpython.
19647 https://bugzilla.gnome.org/show_bug.cgi?id=658856
19649 configure.ac | 4 +++-
19650 gi/Makefile.am | 9 ++++++---
19651 gi/_glib/Makefile.am | 10 ++++++++--
19652 gi/_gobject/Makefile.am | 8 +++++++-
19653 4 files changed, 24 insertions(+), 7 deletions(-)
19655 commit 863c087911203a8f3ebaa8e77622a3437a7cd320
19656 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19657 Date: Mon Sep 12 23:03:05 2011 +0200
19659 Remove common_ldflags from Makefile.am as it is no longer used.
19661 https://bugzilla.gnome.org/show_bug.cgi?id=658856
19663 Makefile.am | 6 ------
19664 1 file changed, 6 deletions(-)
19666 commit 24b920f9922e367bdb8b3e56c2f61e0c8f5cdb66
19667 Author: John (J5) Palmieri <johnp@redhat.com>
19668 Date: Tue Sep 13 16:20:48 2011 -0400
19670 cast params for PyObject_IsInstance to suppress warnings
19672 gi/_gobject/pygobject-private.h | 4 ++--
19673 1 file changed, 2 insertions(+), 2 deletions(-)
19675 commit 861369ec59b17f67151813dc2e87c6e86126b954
19676 Author: John (J5) Palmieri <johnp@redhat.com>
19677 Date: Tue Sep 13 16:04:31 2011 -0400
19679 check if object is actually a PyGFlag before trying to access g_type
19681 * we are lucky this bit of code worked for as long as it did but when
19682 checking if an object is a PyGFlag we can't just rely on looking
19683 at the g_type field because if a regular gobject is passed in
19684 as is the case when you compare a long to a gflag, the gobject
19685 will not have a g_type field. Accessing a non-existant field
19686 could at best give you a false positive and at worse read
19687 memory beyond the bounds of the actual structure passed in
19689 gi/_gobject/pygobject-private.h | 4 ++--
19690 1 file changed, 2 insertions(+), 2 deletions(-)
19692 commit eea93e89fb064253bd8903c8b453daf4b3c87c2c
19693 Author: John (J5) Palmieri <johnp@redhat.com>
19694 Date: Tue Sep 13 16:03:02 2011 -0400
19696 fix regression - add instance type checks since Py3 no longer does
19699 gi/pygi-marshal-from-py.c | 21 +++++++++++++++++++--
19700 1 file changed, 19 insertions(+), 2 deletions(-)
19702 commit a4e4318b50a24a688e32579273fbcfa51d1b422a
19703 Author: John (J5) Palmieri <johnp@redhat.com>
19704 Date: Fri Sep 2 18:39:51 2011 -0400
19706 refactor in/out marshalling to be to_py/from_py
19708 * in/out make sense from a C perspective but when you get to the
19709 python layers it makes more sense to label them as to_py and
19710 from_py to denote which way we are marshalling
19711 * this helps clear up the difference between callbacks which
19712 call into python and invoked functions which call into C
19713 * in the callback case we marshal in values to Python objects
19714 and out values to C types but in the invoke case we do the
19715 reverse. Dealing with to_py/from_py makes the code much more
19716 resuable and consistant
19718 https://bugzilla.gnome.org/show_bug.cgi?id=658362
19720 gi/Makefile.am | 8 +-
19721 gi/pygi-cache.c | 673
19722 ++++++++++++-----------
19723 gi/pygi-cache.h | 62 ++-
19724 gi/pygi-invoke.c | 144 ++---
19725 gi/pygi-marshal-cleanup.c | 168 +++---
19726 gi/pygi-marshal-cleanup.h | 128 ++---
19727 gi/{pygi-marshal-in.c => pygi-marshal-from-py.c} | 372 ++++++-------
19728 gi/pygi-marshal-from-py.h | 186 +++++++
19729 gi/pygi-marshal-in.h | 186 -------
19730 gi/pygi-marshal-out.h | 144 -----
19731 gi/{pygi-marshal-out.c => pygi-marshal-to-py.c} | 278 +++++-----
19732 gi/pygi-marshal-to-py.h | 144 +++++
19733 12 files changed, 1267 insertions(+), 1226 deletions(-)
19735 commit 45b0fcff9e948c65a3903c32a3957802034c5e47
19736 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19737 Date: Fri Sep 9 16:50:25 2011 +0200
19739 Examples: fix cairo-demo.py imports
19741 examples/cairo-demo.py | 6 +++---
19742 1 file changed, 3 insertions(+), 3 deletions(-)
19744 commit 3ca19fc13e6024fd04851e6f269020a92b09fa17
19745 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19746 Date: Fri Sep 9 15:08:27 2011 +0200
19748 Fix paths and add missing overridesdir variable used in uninstalled
19751 https://bugzilla.gnome.org/show_bug.cgi?id=658654
19753 pygobject-3.0-uninstalled.pc.in | 14 +++++++-------
19754 1 file changed, 7 insertions(+), 7 deletions(-)
19756 commit 6e773175b9d2f46b3df5075ec952a8c5aff3c607
19757 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19758 Date: Fri Sep 9 15:08:04 2011 +0200
19760 Remove no longer used variables from pkgconfig files
19762 https://bugzilla.gnome.org/show_bug.cgi?id=658654
19764 pygobject-3.0-uninstalled.pc.in | 6 ------
19765 pygobject-3.0.pc.in | 5 +----
19766 2 files changed, 1 insertion(+), 10 deletions(-)
19768 commit 81d388780311311d8dc4a027a59d114edf9a00fc
19769 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19770 Date: Fri Sep 9 14:57:58 2011 +0200
19772 docs/Makefile.am and m4/python.m4: Python3 portability fixes
19774 https://bugzilla.gnome.org/show_bug.cgi?id=658652
19776 docs/Makefile.am | 2 +-
19777 m4/python.m4 | 2 +-
19778 2 files changed, 2 insertions(+), 2 deletions(-)
19780 commit 7e692ee061406e48e4862b98a0829650b1d6d585
19781 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19782 Date: Fri Sep 9 14:57:46 2011 +0200
19784 Refactor and clean Makefile.am files
19786 https://bugzilla.gnome.org/show_bug.cgi?id=658652
19789 gi/Makefile.am | 81 +++++++++++++++++++++++--------------
19790 gi/_glib/Makefile.am | 100
19791 ++++++++++++++++++++++++++++++----------------
19792 gi/_gobject/Makefile.am | 85 ++++++++++++++++++++-------------------
19793 gi/overrides/Makefile.am | 4 +-
19794 gi/repository/Makefile.am | 4 +-
19795 6 files changed, 162 insertions(+), 114 deletions(-)
19797 commit 3dd59b07d1f4a93ee1f65d6a64e1afb6f5e84232
19798 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19799 Date: Fri Sep 9 14:57:36 2011 +0200
19801 Remove all PLATFORM_VERSION = 2.0 traces
19803 https://bugzilla.gnome.org/show_bug.cgi?id=658652
19805 gi/Makefile.am | 2 --
19806 gi/overrides/Makefile.am | 1 -
19807 gi/repository/Makefile.am | 1 -
19808 3 files changed, 4 deletions(-)
19810 commit db1e484bfa157967de55ee2e0e18a82b8e388b61
19811 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19812 Date: Fri Sep 9 14:57:25 2011 +0200
19814 Remove gi/tests/ directory as all the tests now live in tests/
19816 https://bugzilla.gnome.org/show_bug.cgi?id=658652
19818 gi/tests/Makefile.am | 24 ------------------------
19819 gi/tests/runtests.py | 21 ---------------------
19820 2 files changed, 45 deletions(-)
19822 commit b0ecbf00138ef1147e478ebf3c66f0e9b3f85dfc
19823 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19824 Date: Fri Sep 9 14:55:25 2011 +0200
19826 autogen.sh: Use autoreconf instead of a custom script and honor
19829 https://bugzilla.gnome.org/show_bug.cgi?id=658652
19833 +++++++------------------------------------------------------
19834 2 files changed, 12 insertions(+), 85 deletions(-)
19836 commit 4671f5397003f376f00830e3fd1c214de594619f
19837 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19838 Date: Fri Sep 9 14:55:01 2011 +0200
19840 use improved python.m4 macros to search for Python headers and libs
19842 https://bugzilla.gnome.org/show_bug.cgi?id=658652
19844 configure.ac | 3 ++-
19845 m4/python.m4 | 47 +++++++++++++++++++++++++++++++++++++----------
19846 2 files changed, 39 insertions(+), 11 deletions(-)
19848 commit 2c9fd09da196d35db968bff4ae63fcce2d891e69
19849 Author: Javier Jardón <jjardon@gnome.org>
19850 Date: Fri Sep 9 15:38:22 2011 +0100
19852 Make maintiner mode enabled by default
19855 http://blogs.gnome.org/desrt/2011/09/08/am_maintainer_mode-is-not-cool/
19857 configure.ac | 2 +-
19858 1 file changed, 1 insertion(+), 1 deletion(-)
19860 commit b24dcb415406668931e02a1f669ef9861bb3a660
19861 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19862 Date: Wed Aug 24 09:58:10 2011 +0200
19864 Disable documentation for now since they are completely wrong for GI.
19866 https://bugzilla.gnome.org/show_bug.cgi?id=657054
19869 configure.ac | 25 -------------------------
19870 2 files changed, 1 insertion(+), 26 deletions(-)
19872 commit ecea2358a379c8ff44dff2f8f9c30a9092af1681
19873 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19874 Date: Wed Sep 7 10:38:28 2011 +0200
19876 Fix documentation installation directory
19878 https://bugzilla.gnome.org/show_bug.cgi?id=657054
19880 docs/Makefile.am | 5 +++--
19881 1 file changed, 3 insertions(+), 2 deletions(-)
19883 commit 8d3125c8ce9890c70400dd8a3ac273b590fe6a31
19884 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19885 Date: Tue Sep 6 22:22:11 2011 +0200
19887 Remove distutils based build system.
19889 The only reason this might be brought back to life again is when
19890 the whole stack can be built with Visual Studio (including
19891 gobject-introspection) again. Building with MinGW/MSYS can now
19892 be done with the usual autogen.sh/configure/make/make install dance.
19894 https://bugzilla.gnome.org/show_bug.cgi?id=657054
19897 Makefile.am | 25 +--
19898 README.win32 | 21 --
19900 -----------------------------------------------
19901 pygobject_postinstall.py | 9 -
19902 setup.py | 351 --------------------------------
19903 6 files changed, 7 insertions(+), 915 deletions(-)
19905 commit b82d916635aa0b732840548088a3fcfcb2e41bc4
19906 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19907 Date: Wed Sep 7 10:40:36 2011 +0200
19909 [gtk-demo] Fix syntax highlighter encoding issue
19911 With Python 3, Gtk.TextBuffer.get_text returns a str (not bytes), with
19912 Python 2 however we get a str (not unicode). So with Python 2 the
19913 tokenizer returned bogus data when ran over a demo that contains real
19914 UTF-8 codepoints (like rotatedtext.py for example).
19916 This patch thus fixes the "Gtk-CRITICAL **:
19917 gtk_text_iter_set_line_offset:
19918 assertion `char_on_line <= chars_in_line` failed" assertions when
19920 the rotated text demo in the treeview.
19922 demos/gtk-demo/gtk-demo.py | 3 +++
19923 1 file changed, 3 insertions(+)
19925 commit 31db3ed3d233bd495c3a2f99b3fa51031bfa30c6
19926 Author: Ignacio Casal Quinteiro <icq@gnome.org>
19927 Date: Tue Sep 6 22:13:54 2011 +0200
19929 overrides: add constants for atoms
19931 gi/overrides/Gdk.py | 49
19932 +++++++++++++++++++++++++++++++++++++++++++++++++
19933 1 file changed, 49 insertions(+)
19935 commit 81861bc2d664eb38d46e5c38ff755d436f040f63
19936 Author: Steve Frécinaux <code@istique.net>
19937 Date: Wed Aug 31 14:18:56 2011 +0200
19939 Drop pygobject_construct() from public API.
19941 These functions were introduced in 2005 because python objects
19943 "just" be instantiated using g_object_new(), but this is not true
19944 anymore since the introduction of new-style constructors. Hence
19946 has no reason to be there anymore.
19948 Nowadays, people who want to construct GObjects defined in python
19950 just use g_object_new().
19952 https://bugzilla.gnome.org/show_bug.cgi?id=657814
19954 gi/_gobject/gobjectmodule.c | 118
19955 +++++++++-------------------------------
19956 gi/_gobject/pygobject-private.h | 3 -
19957 gi/_gobject/pygobject.h | 8 ---
19958 3 files changed, 26 insertions(+), 103 deletions(-)
19960 commit c4c55a98ccf9e39ed0d10ed49b66a76dc7d7c509
19961 Author: Ignacio Casal Quinteiro <icq@gnome.org>
19962 Date: Wed Aug 31 18:00:44 2011 +0200
19964 post release version bump
19966 configure.ac | 2 +-
19967 1 file changed, 1 insertion(+), 1 deletion(-)
19969 commit ac5a0f46242abdd3cd98ec5f9f2bf8e5b05f3845
19970 Author: Ignacio Casal Quinteiro <icq@gnome.org>
19971 Date: Wed Aug 31 17:58:37 2011 +0200
19975 NEWS | 12 ++++++++++++
19976 1 file changed, 12 insertions(+)
19978 commit 429569abddada5a3bad554de707ddf35b349936e
19979 Author: John (J5) Palmieri <johnp@redhat.com>
19980 Date: Thu Aug 25 13:57:53 2011 -0400
19982 support skip annotation for return values
19984 * this is used for things like skiping gboolean returns that are
19985 useful is C but useless in python
19987 * cleans up after skipped returns that are also marked transfer
19989 https://bugzilla.gnome.org/show_bug.cgi?id=650135
19991 gi/pygi-cache.c | 1 +
19992 gi/pygi-cache.h | 1 +
19993 gi/pygi-invoke.c | 48
19994 ++++++++++++++++++++++++++++++------------------
19995 tests/test_everything.py | 8 ++++++++
19996 4 files changed, 40 insertions(+), 18 deletions(-)
19998 commit 7a234b185b131f3eb6a6e8a8c717ddf4d508b15e
19999 Author: Xavier Claessens <xclaesse@gmail.com>
20000 Date: Tue Aug 2 12:05:12 2011 +0200
20002 Test GPtrArray regression
20004 tests/test_everything.py | 3 +++
20005 1 file changed, 3 insertions(+)
20007 commit 42fc9fa437102c882844a0e70a081ab08de92658
20008 Author: Steve Frécinaux <code@istique.net>
20009 Date: Fri Aug 26 10:53:43 2011 +0200
20011 Drop support for old constructor style.
20013 Bindings don't write their own constructors anymore, and the old style
20014 has been deprecated for ages, so let's just drop them now and make
20017 https://bugzilla.gnome.org/show_bug.cgi?id=657413
20019 gi/_gobject/gobjectmodule.c | 20 --------------------
20020 gi/_gobject/pygobject-private.h | 1 -
20021 gi/_gobject/pygobject.c | 1 -
20022 gi/_gobject/pygobject.h | 2 --
20023 gi/gimodule.c | 28 ----------------------------
20025 tests/testhelpermodule.c | 5 -----
20026 7 files changed, 59 deletions(-)
20028 commit 3961a405e1bddef22e1a5a0c7aa3ae55e4ec09ad
20029 Author: Steve Frécinaux <code@istique.net>
20030 Date: Fri Aug 26 10:45:59 2011 +0200
20032 Drop support for sink functions.
20034 Sink functions were meant to deal with floating references in a custom
20035 way. They are not useful anymore with the dynamic bindings.
20037 https://bugzilla.gnome.org/show_bug.cgi?id=642233
20039 gi/_gobject/gobjectmodule.c | 1 -
20040 gi/_gobject/pygobject.c | 53 ----------------------------------------
20041 gi/_gobject/pygobject.h | 4 ---
20042 tests/test-floating.c | 59
20043 +++++++--------------------------------------
20044 tests/test-floating.h | 42 +++++++++-----------------------
20045 tests/test_gobject.py | 13 +++-------
20046 tests/testhelpermodule.c | 32 +++++++-----------------
20047 7 files changed, 32 insertions(+), 172 deletions(-)
20049 commit 631d8ef879a13492945a3e30b3df9863a4ba2f44
20050 Author: Mike Gorse <mgorse@novell.com>
20051 Date: Wed Aug 24 17:30:09 2011 -0500
20053 Reinstate copying of in-line structs in arrays
20055 For arrays of in-line, non-boxed structures with (transfer full),
20056 _pygi_marshal_free_out_array eventually gets called and frees
20058 data, so we should copy it (IE, BGO#653588).
20060 https://bugzilla.gnome.org/show_bug.cgi?id=657120
20062 gi/pygi-marshal-out.c | 8 +++++++-
20063 1 file changed, 7 insertions(+), 1 deletion(-)
20065 commit f38511f251602e18551c04617cc2e2d42e812e1e
20066 Author: John (J5) Palmieri <johnp@redhat.com>
20067 Date: Tue Aug 23 14:18:43 2011 -0400
20069 fix inline struct array handling
20071 * we now assume any non-boxed structs are inline in an array since
20073 no way to check in GI and this is the most common use for an
20077 https://bugzilla.gnome.org/show_bug.cgi?id=657120
20079 gi/pygi-marshal-out.c | 23 +++++++++--------------
20080 tests/test_gi.py | 8 ++++++++
20081 2 files changed, 17 insertions(+), 14 deletions(-)
20083 commit d92846a5446b0dd2e69c813f56224a1966ab1a33
20084 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20085 Date: Tue Aug 23 11:30:41 2011 +0200
20087 [gtk-demo] printing.py: set print and error dialog transient parent
20089 demos/gtk-demo/demos/printing.py | 8 ++++----
20090 1 file changed, 4 insertions(+), 4 deletions(-)
20092 commit 1aebc1565752840075027b9452fe2a67217bf53b
20093 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20094 Date: Tue Aug 23 11:28:05 2011 +0200
20096 [gtk-demo] printing.py: exit Gtk mainloop when done and correctly
20097 handle printing errors
20099 demos/gtk-demo/demos/printing.py | 14 ++++++++++----
20100 1 file changed, 10 insertions(+), 4 deletions(-)
20102 commit 1f9e4486c5b84209ce0038887738fc16a4ef7da3
20103 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20104 Date: Tue Aug 23 08:05:43 2011 +0200
20106 [gtk-demo] show "activated" demo's in italic font in the TreeView
20108 demos/gtk-demo/gtk-demo.py | 7 +++++--
20109 1 file changed, 5 insertions(+), 2 deletions(-)
20111 commit 971d063f7a36e13ef6621db7002b00af52f6292a
20112 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20113 Date: Mon Aug 22 14:52:28 2011 +0200
20115 [gtk-demo] source colorizer: Python3 does not have the BACKQUOTE
20116 token, so simply remove it
20118 demos/gtk-demo/gtk-demo.py | 5 +----
20119 1 file changed, 1 insertion(+), 4 deletions(-)
20121 commit c2979a37d6d505095b6e55789150a6498d95819d
20122 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20123 Date: Mon Aug 22 14:22:18 2011 +0200
20125 [gtk-demo] In Python3, GLib.file_get_contents returns a bytes object
20126 but Gtk.TextBuffer.insert expects a string.
20128 Fixed by using codes.open() as hinted in
20129 http://docs.python.org/dev/howto/pyporting.html#text-files
20130 section "If pre-2.6 compatibility is needed" (because configure.ac
20131 is still happy with Python 2.5.2).
20133 demos/gtk-demo/gtk-demo.py | 6 +++++-
20134 1 file changed, 5 insertions(+), 1 deletion(-)
20136 commit 9ea56535f35abbea4cd977dea4c89247e4b01694
20137 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20138 Date: Mon Aug 22 12:30:24 2011 +0200
20140 [gtk-demo] images.py: fix 'Insensitive 'button mnenomic
20142 demos/gtk-demo/demos/images.py | 2 +-
20143 1 file changed, 1 insertion(+), 1 deletion(-)
20145 commit 7829dae1cdb8697a19c2b5e158ef0e08f6c2558b
20146 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20147 Date: Mon Aug 22 10:38:04 2011 +0200
20149 [gtk-demo] printing.py: fix Pango.EllipsizeType > Pango.EllipsizeMode
20152 demos/gtk-demo/demos/printing.py | 4 ++--
20153 1 file changed, 2 insertions(+), 2 deletions(-)
20155 commit 07f0274301d77d9bf62b49a14b059d9a52afb445
20156 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20157 Date: Mon Aug 22 10:37:08 2011 +0200
20159 [gtk-demo] printing.py: fix text file loading
20161 demos/gtk-demo/demos/printing.py | 32 ++++++++++++++++----------------
20162 1 file changed, 16 insertions(+), 16 deletions(-)
20164 commit 135148a4c35aac1d132b0b8fa3adbf1fdcdb3a24
20165 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20166 Date: Mon Aug 22 10:20:35 2011 +0200
20168 [gtk-demo] pixbuf.py: fix image loading
20170 demos/gtk-demo/demos/pixbuf.py | 25 +++++++++++--------------
20171 1 file changed, 11 insertions(+), 14 deletions(-)
20173 commit a93cae2c80e30a408f86e7e6c4d15a538011a189
20174 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20175 Date: Mon Aug 22 10:10:02 2011 +0200
20177 [gtk-demo] images.py: fix logo loading
20179 demos/gtk-demo/demos/images.py | 70
20180 +++++++++++++++++-------------------------
20181 1 file changed, 29 insertions(+), 41 deletions(-)
20183 commit eddc0824e0e4c156fca5de05bdeb600c534d4b24
20184 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20185 Date: Wed Aug 24 12:19:21 2011 +0200
20187 [gtk-demo] appwindow.py: set AboutDialog parent
20189 demos/gtk-demo/demos/appwindow.py | 7 +++----
20190 1 file changed, 3 insertions(+), 4 deletions(-)
20192 commit 7fe10a5b33148b1f029f3d34f76b7f880c1c2e7a
20193 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20194 Date: Mon Aug 22 07:58:25 2011 +0200
20196 [gtk-demo] appwindow.py: fix logo loading
20198 demos/gtk-demo/demos/appwindow.py | 10 +++-------
20199 1 file changed, 3 insertions(+), 7 deletions(-)
20201 commit 62fda288c1c37167c589e8e9d49ed625f770a98a
20202 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20203 Date: Mon Aug 22 07:57:31 2011 +0200
20205 [gtk-demo] appwindow.py: fix callback signatures
20207 demos/gtk-demo/demos/appwindow.py | 6 +++---
20208 1 file changed, 3 insertions(+), 3 deletions(-)
20210 commit 87e9ab4d3a0aac4f4710aa0f8af0a1736f781ad9
20211 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20212 Date: Mon Aug 22 07:48:28 2011 +0200
20214 [gtk-demo] fix glib vs GLib usage
20216 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 2 +-
20217 demos/gtk-demo/demos/appwindow.py | 2 +-
20218 2 files changed, 2 insertions(+), 2 deletions(-)
20220 commit d29cad6976a80862e1fc590d3e7d190e8a234866
20221 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20222 Date: Wed Aug 24 12:19:02 2011 +0200
20224 [gtk-demo] iconviewedit.py: fix for Gdk.color_parse API breakage
20225 caused by improved GDK overrides
20227 demos/gtk-demo/demos/Icon View/iconviewedit.py | 6 +++---
20228 1 file changed, 3 insertions(+), 3 deletions(-)
20230 commit f29d3a85a275a39e8481484779264b0dea1160ab
20231 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20232 Date: Mon Aug 22 07:25:32 2011 +0200
20234 [gtk-demo] optimize source colorizer by only preparing iters for
20235 known colorized tokens
20237 demos/gtk-demo/gtk-demo.py | 20 +++++++++++++++-----
20238 1 file changed, 15 insertions(+), 5 deletions(-)
20240 commit ecd1eb00b19733da3f2e3d7935792378f34cab19
20241 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20242 Date: Fri Aug 19 18:31:20 2011 +0200
20244 [gtk-demo] small formatting fixes
20246 demos/gtk-demo/demos/Entry/entry_buffer.py | 1 +
20247 demos/gtk-demo/demos/Entry/entry_completion.py | 1 +
20248 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 8 ++++----
20249 demos/gtk-demo/demos/assistant.py | 1 +
20250 demos/gtk-demo/demos/builder.py | 4 +++-
20251 demos/gtk-demo/demos/button_box.py | 1 +
20252 demos/gtk-demo/demos/clipboard.py | 1 +
20253 demos/gtk-demo/demos/colorselector.py | 1 +
20254 demos/gtk-demo/demos/combobox.py | 1 +
20255 demos/gtk-demo/demos/drawingarea.py | 4 +++-
20256 demos/gtk-demo/demos/test.py | 2 ++
20257 11 files changed, 19 insertions(+), 6 deletions(-)
20259 commit c42cb4da399ff5732f4ca732b85134de796a60fa
20260 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20261 Date: Fri Aug 19 18:30:50 2011 +0200
20263 [gtk-demo] remove "is_fully_bound" from demos
20265 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 --
20266 demos/gtk-demo/demos/Entry/entry_completion.py | 2 --
20267 demos/gtk-demo/demos/appwindow.py | 3 ---
20268 demos/gtk-demo/demos/assistant.py | 2 --
20269 demos/gtk-demo/demos/builder.py | 2 --
20270 demos/gtk-demo/demos/button_box.py | 2 --
20271 demos/gtk-demo/demos/clipboard.py | 2 --
20272 demos/gtk-demo/demos/colorselector.py | 2 --
20273 demos/gtk-demo/demos/combobox.py | 2 --
20274 demos/gtk-demo/demos/drawingarea.py | 2 --
20275 demos/gtk-demo/demos/test.py | 1 -
20276 11 files changed, 22 deletions(-)
20278 commit cad6a62c63f455f0b1315465a9cd71c0f02b12a5
20279 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20280 Date: Fri Aug 19 18:26:31 2011 +0200
20282 [gtk-demo] add source colorizer loosely based on PyGTK's pygtk-demo
20283 and GTK+'s gtk-demo code
20285 demos/gtk-demo/gtk-demo.py | 116
20286 +++++++++++++++++++++++++++++++++++++++------
20287 1 file changed, 101 insertions(+), 15 deletions(-)
20289 commit 250c36f4a8352ff1b31c1c85b156d3e803d4b8ef
20290 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20291 Date: Fri Aug 19 15:08:15 2011 +0200
20293 [gtk-demo] remove C-isms
20295 demos/gtk-demo/gtk-demo.py | 28 ++++++++++++++--------------
20296 1 file changed, 14 insertions(+), 14 deletions(-)
20298 commit cf35fe8e259e786d0fa21b08b1f5c64c9bb0a84e
20299 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20300 Date: Fri Aug 19 14:54:39 2011 +0200
20302 [gtk-demo] fix text on info tab to be more like GTK+'s gtk-demo
20304 demos/gtk-demo/gtk-demo.py | 4 ++--
20305 1 file changed, 2 insertions(+), 2 deletions(-)
20307 commit 241827208e25c72a990d8edd95a3b879470d6409
20308 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20309 Date: Fri Aug 19 14:40:56 2011 +0200
20311 [gtk-demo] remove duplicate storage of demos by only storing them
20312 in a TreeStore subclass
20314 This also moves demos loading code into the TreeStore subclass and
20315 demo loading code into the Demo class
20317 demos/gtk-demo/gtk-demo.py | 151
20318 +++++++++++++++++++++------------------------
20319 1 file changed, 70 insertions(+), 81 deletions(-)
20321 commit 58797c355a08a35375988881a17958bb42ad54bb
20322 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20323 Date: Fri Aug 19 14:40:00 2011 +0200
20325 [gtk-demo] make GtkDemoApp a Gtk.Window subclass and adapt main()
20326 to demonstrate the GLib.MainLoop
20328 demos/gtk-demo/gtk-demo.py | 43
20329 ++++++++++++++++++++++++++-----------------
20330 1 file changed, 26 insertions(+), 17 deletions(-)
20332 commit 1e4fc1ea54527cff78f6c633db39e9a0bd3c64d2
20333 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20334 Date: Fri Aug 19 11:46:17 2011 +0200
20336 [gtk-demo] correctly load demo code when cwd != demos/gtk-demo/
20338 demos/gtk-demo/gtk-demo.py | 39 +++++++++++++++++++++++----------------
20339 1 file changed, 23 insertions(+), 16 deletions(-)
20341 commit 6ffc999fbd4c9990fb5bde53ddd46d139b53245e
20342 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20343 Date: Fri Aug 19 11:02:35 2011 +0200
20345 [gtk-demo] drawingarea: fix labels
20347 demos/gtk-demo/demos/drawingarea.py | 4 ++--
20348 1 file changed, 2 insertions(+), 2 deletions(-)
20350 commit 9fd3986affe11cbc5a816adcccdc56d0592f3618
20351 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20352 Date: Fri Aug 19 09:57:31 2011 +0200
20354 [gtk-demo] fix imports
20356 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 6 ++++--
20357 demos/gtk-demo/demos/appwindow.py | 9 ++++++---
20358 demos/gtk-demo/gtk-demo.py | 8 ++++----
20359 3 files changed, 14 insertions(+), 9 deletions(-)
20361 commit 9f314babfdee3b82799e00ea003972b0bbe6a8d5
20362 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20363 Date: Fri Aug 19 10:07:14 2011 +0200
20365 [gtk-demo] fix shebang
20367 demos/gtk-demo/gtk-demo.py | 2 +-
20368 1 file changed, 1 insertion(+), 1 deletion(-)
20370 commit 01142060ae7d71a8a1f7d3e9bbc6f52e65f01c8d
20371 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20372 Date: Fri Aug 19 12:27:04 2011 +0200
20374 Added support for __setitem__ to TreeModel and support for slices
20377 https://bugzilla.gnome.org/show_bug.cgi?id=656891
20379 gi/overrides/Gtk.py | 26 ++++++++++++++++++++--
20380 tests/test_overrides.py | 57
20381 +++++++++++++++++++++++++++++++++++++++++++++++++
20382 2 files changed, 81 insertions(+), 2 deletions(-)
20384 commit d6da96c65b2ed3cda238886990a624fbc31f6987
20385 Author: Olav Vitters <olav@vitters.nl>
20386 Date: Wed Aug 24 16:31:12 2011 +0200
20388 Convert ACCEL_* constants into Gtk.AccelFlags.
20390 pygi-convert.sh | 1 +
20391 1 file changed, 1 insertion(+)
20393 commit 0841d41698302abb5d987849a5874252564ed428
20394 Author: Olav Vitters <olav@vitters.nl>
20395 Date: Wed Aug 24 16:22:17 2011 +0200
20397 Convert TREE_VIEW_DROP_* constants into Gtk.TreeViewDropPosition
20399 pygi-convert.sh | 1 +
20400 1 file changed, 1 insertion(+)
20402 commit 37b0d0f9dc3d485829cae6e50da369fdea91a2d1
20403 Author: John (J5) Palmieri <johnp@redhat.com>
20404 Date: Thu Aug 18 14:06:32 2011 -0400
20406 post commit version bump
20408 configure.ac | 2 +-
20409 1 file changed, 1 insertion(+), 1 deletion(-)
20411 commit e51efc50835a14e0418cc27cc928c52d1aa6a3cf
20412 Author: John (J5) Palmieri <johnp@redhat.com>
20413 Date: Thu Aug 18 14:02:30 2011 -0400
20417 NEWS | 10 ++++++++++
20418 1 file changed, 10 insertions(+)
20420 commit 74c727b53fcf64f465ee77b5a1ea04a69ca90968
20421 Author: John (J5) Palmieri <johnp@redhat.com>
20422 Date: Thu Aug 18 13:50:51 2011 -0400
20424 remove tests that were removed from gi
20426 tests/test_gi.py | 11 -----------
20427 1 file changed, 11 deletions(-)
20429 commit 11ea24dd30d8eeca11c8433c6bd75b06e52ae1ef
20430 Author: John (J5) Palmieri <johnp@redhat.com>
20431 Date: Thu Aug 18 13:48:57 2011 -0400
20433 don't calculate item_size using is_pointer
20435 * is_pointer is poorly defined and cacluating item_size for
20436 arrays causes a crash in the tests because of this
20437 * disregaurd is_pointer when cacluating item sizes
20439 gi/pygi-info.c | 8 ++------
20440 1 file changed, 2 insertions(+), 6 deletions(-)
20442 commit 493b4a21dd162d78cf572b548b58ba6a9ff22971
20443 Author: Timo Vanwynsberghe <timovwb@gmail.com>
20444 Date: Wed Jul 6 01:50:31 2011 +0200
20446 Updated signal example to use GObject introspection
20448 https://bugzilla.gnome.org/show_bug.cgi?id=654162
20450 examples/signal.py | 9 ++++-----
20451 1 file changed, 4 insertions(+), 5 deletions(-)
20453 commit 0332010e704e253380e993874eab9dd122e59a7e
20454 Author: Timo Vanwynsberghe <timovwb@gmail.com>
20455 Date: Wed Jul 6 01:54:50 2011 +0200
20457 Updated properties example to use GObject introspection
20459 https://bugzilla.gnome.org/show_bug.cgi?id=654162
20461 examples/properties.py | 14 +++++++-------
20462 1 file changed, 7 insertions(+), 7 deletions(-)
20464 commit c39f4555ebd703651eca6f978ed9870655b737f0
20465 Author: Martin Pitt <martin.pitt@ubuntu.com>
20466 Date: Fri Aug 12 22:55:02 2011 +0200
20468 Add override for GLib.Variant.split_signature()
20470 This is useful for e. g. iterating over method parameters which are
20472 single Variant. In particular we will need it for automatically
20474 introspection XML for exported DBus server objects.
20476 gi/overrides/GLib.py | 50
20477 +++++++++++++++++++++++++++++++++++++++++++++++++
20478 tests/test_overrides.py | 22 ++++++++++++++++++++++
20479 2 files changed, 72 insertions(+)
20481 commit 735f98d83c1c19df7457aa32a378e8c80cf2831f
20482 Author: Timo Vanwynsberghe <timovwb@gmail.com>
20483 Date: Mon Aug 15 18:58:31 2011 +0200
20485 [pygi-convert.sh] Handle the import of pygtk and require Gtk 3.0
20487 https://bugzilla.gnome.org/show_bug.cgi?id=654001
20489 pygi-convert.sh | 2 ++
20490 1 file changed, 2 insertions(+)
20492 commit d0a96a0a75f2bc969522abce2d326ef440cf143a
20493 Author: Ignacio Casal Quinteiro <icq@gnome.org>
20494 Date: Mon Aug 15 13:12:49 2011 +0200
20496 Install pygobject.h again.
20498 This is needed by libpeas.
20500 gi/_gobject/Makefile.am | 5 ++++-
20501 pygobject-3.0-uninstalled.pc.in | 4 ++--
20502 pygobject-3.0.pc.in | 6 +++---
20503 3 files changed, 9 insertions(+), 6 deletions(-)
20505 commit 081dc2eb03b677eac9f08d3ad05deecc7c51554c
20506 Author: John (J5) Palmieri <johnp@redhat.com>
20507 Date: Sun Aug 14 11:20:15 2011 -0400
20509 update the doap file
20511 pygobject.doap | 26 ++++++++++++++------------
20512 1 file changed, 14 insertions(+), 12 deletions(-)
20514 commit 762a36d2343bc39a502507d600fd1b9db9649dae
20515 Author: John (J5) Palmieri <johnp@redhat.com>
20516 Date: Sun Aug 14 11:13:25 2011 -0400
20520 configure.ac | 2 +-
20521 1 file changed, 1 insertion(+), 1 deletion(-)
20523 commit d3f85a61ec4b1a1d04838f73dc8d862258150048
20524 Author: John (J5) Palmieri <johnp@redhat.com>
20525 Date: Sun Aug 14 10:13:37 2011 -0400
20527 get things ready for release
20530 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
20531 1 file changed, 194 insertions(+)
20533 commit ffd057649380d4249c1c52e1225e3646f3994bc6
20534 Author: John (J5) Palmieri <johnp@redhat.com>
20535 Date: Sun Aug 14 05:26:18 2011 -0400
20537 pass exta keywords to the Box constructor
20539 gi/overrides/Gtk.py | 4 ++--
20540 1 file changed, 2 insertions(+), 2 deletions(-)
20542 commit cadbd4142bd0045368b5123d4b0a1876bdd5d798
20543 Author: John (J5) Palmieri <johnp@redhat.com>
20544 Date: Sat Aug 13 11:03:07 2011 -0400
20546 add (Tree|List)Store set method override
20548 gi/overrides/Gtk.py | 50 ++++++++++++++++++++++++
20549 tests/test_overrides.py | 102
20550 ++++++++++++++++++++++++++++++++++++++++++++++--
20551 2 files changed, 149 insertions(+), 3 deletions(-)
20553 commit 9ee9b22bd95e44bd2eca26e7bf3b0a9a988700c5
20554 Author: John (J5) Palmieri <johnp@redhat.com>
20555 Date: Sat Aug 13 09:19:29 2011 -0400
20557 add test for object arrays
20559 tests/test_everything.py | 6 ++++++
20560 1 file changed, 6 insertions(+)
20562 commit c9d9ffd0380878792cbdb13dec4e53be897e5fbc
20563 Author: John (J5) Palmieri <johnp@redhat.com>
20564 Date: Sat Aug 13 08:46:18 2011 -0400
20566 only support C pointer arrays for structs and objects
20568 * There is no way to know if an array of structs or objects are
20570 or flat arrays. Since pointer arrays are the most useful and
20572 it has been decided to only support those arrays
20574 gi/pygi-marshal-out.c | 2 +-
20575 tests/test_gi.py | 8 --------
20576 2 files changed, 1 insertion(+), 9 deletions(-)
20578 commit b12379de1790b72d51883bf7b63c892639a892e7
20579 Author: John (J5) Palmieri <johnp@redhat.com>
20580 Date: Sat Aug 13 06:31:52 2011 -0400
20582 revert Gtk.Window override because it causes issues with subclasses
20584 gi/overrides/Gtk.py | 9 ---------
20585 1 file changed, 9 deletions(-)
20587 commit 3e64a62d6d7f9e9d2820aad54187ef9c34710a1f
20588 Author: Jonathan Matthew <jonathan@d14n.org>
20589 Date: Thu Apr 7 21:05:32 2011 +1000
20591 take GIL in _pygi_invoke_closure_free (bug #647016)
20593 gi/pygi-closure.c | 3 +++
20594 1 file changed, 3 insertions(+)
20596 commit f8de9b8615f5dc30f492781d792aef5fc1e9ab73
20597 Author: Johan Dahlin <jdahlin@litl.com>
20598 Date: Mon Jun 27 00:41:24 2011 -0300
20600 Add a default parameter to GtkTreeModel.filter_new
20602 https://bugzilla.gnome.org/show_bug.cgi?id=653462
20604 gi/overrides/Gtk.py | 3 +++
20605 1 file changed, 3 insertions(+)
20607 commit 583d0b3c6b53712128d7c2d5f075000a2a76ae5f
20608 Author: Johan Dahlin <jdahlin@litl.com>
20609 Date: Mon Jun 27 00:40:12 2011 -0300
20611 Add vbox/action_area properties
20613 Accessing vbox/action_area directly creates segmentation fault,
20614 avoid that by mapping the fields to their getters for PyGTK
20617 https://bugzilla.gnome.org/show_bug.cgi?id=653462
20619 gi/overrides/Gtk.py | 3 +++
20620 1 file changed, 3 insertions(+)
20622 commit 017fdfc1dd06259006719e02ffa48883cee01ffd
20623 Author: Johan Dahlin <jdahlin@litl.com>
20624 Date: Mon Jun 27 00:39:41 2011 -0300
20626 Add a couple of constructors
20628 This is for PyGTK compatibility, so that gtk.HBox(True, 2) etc
20631 https://bugzilla.gnome.org/show_bug.cgi?id=653462
20633 gi/overrides/Gtk.py | 40 ++++++++++++++++++++++++++++++++++++++++
20634 1 file changed, 40 insertions(+)
20636 commit af8bc9d5cdba48a7ee728ccb7ea9039df3ecceba
20637 Author: Johan Dahlin <jdahlin@litl.com>
20638 Date: Mon Jun 27 00:38:30 2011 -0300
20640 Do not always pass in user_data to callbacks.
20642 This keeps API compatibility with PyGTK and avoids sending
20643 in user_data if it's None.
20645 https://bugzilla.gnome.org/show_bug.cgi?id=653462
20647 gi/overrides/Gtk.py | 15 ++++++++++++---
20648 1 file changed, 12 insertions(+), 3 deletions(-)
20650 commit 7914d814350af1a18bdeda64f049c8e9a68d1d18
20651 Author: Johan Dahlin <jdahlin@litl.com>
20652 Date: Mon Jun 27 00:38:20 2011 -0300
20654 Add a default detail value for Widget.render_icon
20656 https://bugzilla.gnome.org/show_bug.cgi?id=653462
20658 gi/overrides/Gtk.py | 3 +++
20659 1 file changed, 3 insertions(+)
20661 commit 5b1c875269b7979caae97e84919a690a34d92f29
20662 Author: Johan Dahlin <jdahlin@litl.com>
20663 Date: Mon Jun 27 00:36:20 2011 -0300
20665 Add an override for Gdk.color_parse()
20667 Change Gdk.color_parse() to not return a tuple, instead just
20668 return the created color or None if it wasn't possible to parse
20669 the name into a color.
20671 This keeps compatibility with PyGTK but breaks the current API.
20673 https://bugzilla.gnome.org/show_bug.cgi?id=653462
20675 gi/overrides/Gdk.py | 8 ++++++++
20676 1 file changed, 8 insertions(+)
20678 commit 187a2932bbf1e724f759ff3ed3392fc7341c6aa8
20679 Author: Laszlo Pandy <lpandy@src.gnome.org>
20680 Date: Mon Aug 8 12:06:18 2011 +0200
20682 Support function calling with keyword arguments in invoke.
20684 https://bugzilla.gnome.org/show_bug.cgi?id=625596
20686 gi/pygi-cache.c | 39 ++++++++++++
20687 gi/pygi-cache.h | 4 ++
20688 gi/pygi-invoke.c | 162
20689 +++++++++++++++++++++++++++++++++++++++++++++--
20690 gi/types.py | 12 ++--
20691 tests/test_everything.py | 2 +-
20692 tests/test_gi.py | 58 +++++++++++++++++
20693 6 files changed, 265 insertions(+), 12 deletions(-)
20695 commit e5df32ffbf37481dbb6a70c4d4e7b7b9778c5549
20696 Author: John (J5) Palmieri <johnp@redhat.com>
20697 Date: Sat Aug 13 04:13:28 2011 -0400
20699 remove references to deprecated GI_INFO_TYPE_ERROR_DOMAIN
20701 gi/pygi-info.c | 5 -----
20702 1 file changed, 5 deletions(-)
20704 commit 745001178fc72be5626c7211366d694f41162987
20705 Author: Martin Pitt <martin.pitt@ubuntu.com>
20706 Date: Thu Aug 11 15:11:42 2011 +0200
20708 Fix gobject vs. gi.repository warning
20710 Check the warning earlier and fix the operator, so that it actually
20712 update the warning to explain how to fix the problem.
20714 gi/_gobject/__init__.py | 8 ++++----
20715 1 file changed, 4 insertions(+), 4 deletions(-)
20717 commit 25d2d05cba05414cd4551e0e06f6286a9b97a509
20718 Author: John (J5) Palmieri <johnp@redhat.com>
20719 Date: Fri Jul 22 15:46:31 2011 -0400
20721 make GObject and GLib able to take overrides
20723 * derive directly from DynamicModule instead of InterfaceModule
20725 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20727 gi/importer.py | 11 +++---
20729 ++++++++++++++++++++++++++++-----------------------------
20730 2 files changed, 64 insertions(+), 65 deletions(-)
20732 commit 698b2284e29c0f699198cf6a22eeb0e399daba6e
20733 Author: John (J5) Palmieri <johnp@redhat.com>
20734 Date: Fri Jul 22 15:45:09 2011 -0400
20736 avoid dependency issue by importing the internal gobject
20738 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20740 gi/__init__.py | 2 +-
20741 1 file changed, 1 insertion(+), 1 deletion(-)
20743 commit 7b068ebe59884ebd9aeb4425dc80cdff73a66fb1
20744 Author: John (J5) Palmieri <johnp@redhat.com>
20745 Date: Fri Jul 22 14:13:02 2011 -0400
20747 fix tests to use the new GLib module
20749 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20751 tests/test_mainloop.py | 7 +++----
20752 tests/test_option.py | 3 ++-
20753 tests/test_source.py | 24 +++++++++++-------------
20754 tests/test_subprocess.py | 12 +++++-------
20755 tests/test_thread.py | 10 ++++------
20756 tests/test_uris.py | 4 ++--
20757 6 files changed, 27 insertions(+), 33 deletions(-)
20759 commit 191ef79315f8a5641699536fde58da18e23ef904
20760 Author: John (J5) Palmieri <johnp@redhat.com>
20761 Date: Fri Jul 22 14:11:53 2011 -0400
20763 add DynamicGLibModule which works like DynamicGObjectModule
20765 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20767 gi/importer.py | 7 +++++--
20768 gi/module.py | 32 +++++++++++++++++++++++++++++---
20769 2 files changed, 34 insertions(+), 5 deletions(-)
20771 commit fbd4a8263260c187211799454c08b1e55e2cb998
20772 Author: John (J5) Palmieri <johnp@redhat.com>
20773 Date: Fri Jul 22 12:27:41 2011 -0400
20775 refactor, add objects and types to the correct internal module
20777 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20779 gi/_glib/pygiochannel.c | 38 +++++++++++++++++++-------------------
20780 gi/_glib/pygmaincontext.c | 2 +-
20781 gi/_glib/pygmainloop.c | 4 ++--
20782 gi/_glib/pygoptioncontext.c | 4 ++--
20783 gi/_glib/pygoptiongroup.c | 4 ++--
20784 gi/_glib/pygsource.c | 14 +++++++-------
20785 gi/_glib/pygspawn.c | 14 +++++++-------
20786 7 files changed, 40 insertions(+), 40 deletions(-)
20788 commit 7431b49a161df9178c55b814d3adff992ac2d722
20789 Author: John (J5) Palmieri <johnp@redhat.com>
20790 Date: Fri Jul 22 12:26:32 2011 -0400
20792 rename the pyglib shared library so we don't load the old one
20794 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20796 gi/Makefile.am | 2 +-
20797 gi/_glib/Makefile.am | 10 +++++-----
20798 gi/_gobject/Makefile.am | 2 +-
20799 3 files changed, 7 insertions(+), 7 deletions(-)
20801 commit b8700451acd4a19b59b64fc8641fca748d2189e2
20802 Author: John (J5) Palmieri <johnp@redhat.com>
20803 Date: Fri Jul 22 11:20:09 2011 -0400
20805 refactor tests to only use PyGObject 3 syntax
20807 * for PyGObject 3 we want to discourage the use of legacy
20809 * Using interfaces like from gi.repository import GObject makes
20810 sure that the internal _gobject module is loaded and not
20811 PyGObject 2's gobject module which would cause the application
20812 to not work correctly
20814 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20816 tests/runtests-windows.py | 4 +-
20817 tests/test_gdbus.py | 12 ++---
20818 tests/test_gi.py | 4 +-
20819 tests/test_gobject.py | 31 ++++++------
20820 tests/test_interface.py | 16 +++---
20821 tests/test_mainloop.py | 3 +-
20822 tests/test_overrides.py | 8 +--
20823 tests/test_properties.py | 124
20824 +++++++++++++++++++++++-----------------------
20825 tests/test_signal.py | 98 ++++++++++++++++++------------------
20826 tests/test_source.py | 5 +-
20827 tests/test_subprocess.py | 3 +-
20828 tests/test_thread.py | 5 +-
20829 tests/test_unknown.py | 8 +--
20830 tests/testhelpermodule.c | 2 +-
20831 tests/testmodule.py | 10 ++--
20832 15 files changed, 169 insertions(+), 164 deletions(-)
20834 commit c980dae21468fe073cc8782608148c346bb90ad7
20835 Author: John (J5) Palmieri <johnp@redhat.com>
20836 Date: Fri Jul 22 11:16:00 2011 -0400
20838 refactor the internal _glib module to import correct modules
20840 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20842 gi/_glib/__init__.py | 3 ++-
20843 gi/_glib/glibmodule.c | 10 +++++-----
20844 gi/_glib/option.py | 4 ++--
20845 gi/_glib/pyglib.c | 18 +++++++++---------
20846 4 files changed, 18 insertions(+), 17 deletions(-)
20848 commit 65ac35cca8d24f4c133991e1c6ac02f49416a9a4
20849 Author: John (J5) Palmieri <johnp@redhat.com>
20850 Date: Fri Jul 22 11:10:46 2011 -0400
20852 refactor to use the new internal _glib and _gobject modules
20854 * use relative imports instead of aboslute
20855 * fix the C imports to import the internal _gobject libs
20856 * add a check to see if the PyGObject 2 gobject module
20857 was already imported
20859 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20861 gi/_gobject/__init__.py | 20 +++++++++++++-------
20862 gi/_gobject/constants.py | 3 +--
20863 gi/_gobject/gobjectmodule.c | 2 +-
20864 gi/_gobject/propertyhelper.py | 11 +++++------
20865 gi/_gobject/pygobject.c | 16 ++++++++--------
20866 gi/_gobject/pygobject.h | 2 +-
20867 6 files changed, 29 insertions(+), 25 deletions(-)
20869 commit 59ed1289f76bc287443b3974710ea0da3e2cc8cc
20870 Author: John (J5) Palmieri <johnp@redhat.com>
20871 Date: Fri Jul 22 11:07:10 2011 -0400
20873 refactor gi module to import and use internal _gobject module
20875 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20877 gi/importer.py | 2 --
20878 gi/module.py | 31 ++++++++++++++++---------------
20879 gi/overrides/Gtk.py | 2 +-
20880 gi/overrides/__init__.py | 6 +++---
20881 gi/pygobject-external.h | 2 +-
20882 gi/types.py | 12 ++++++------
20883 6 files changed, 27 insertions(+), 28 deletions(-)
20885 commit 6b9d738d78c6ac45d49f00402c89356887555069
20886 Author: John (J5) Palmieri <johnp@redhat.com>
20887 Date: Fri Jul 22 11:02:49 2011 -0400
20889 move the static bits internal to gi and refactor build files
20891 * the glib module now becomes the gi._glib module
20892 * the gobject module now becomes the gi._gobject module
20893 * we do this so we can install in parallel with PyGObject 2
20895 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20898 configure.ac | 6 +++---
20899 gi/Makefile.am | 8 +++++---
20900 {glib => gi/_glib}/Makefile.am | 5 +----
20901 {glib => gi/_glib}/__init__.py | 0
20902 {glib => gi/_glib}/glibmodule.c | 0
20903 {glib => gi/_glib}/option.py | 0
20904 {glib => gi/_glib}/pygiochannel.c | 0
20905 {glib => gi/_glib}/pygiochannel.h | 0
20906 {glib => gi/_glib}/pyglib-private.h | 0
20907 {glib => gi/_glib}/pyglib-python-compat.h | 0
20908 {glib => gi/_glib}/pyglib.c | 0
20909 {glib => gi/_glib}/pyglib.h | 0
20910 {glib => gi/_glib}/pygmaincontext.c | 0
20911 {glib => gi/_glib}/pygmaincontext.h | 0
20912 {glib => gi/_glib}/pygmainloop.c | 0
20913 {glib => gi/_glib}/pygmainloop.h | 0
20914 {glib => gi/_glib}/pygoptioncontext.c | 0
20915 {glib => gi/_glib}/pygoptioncontext.h | 0
20916 {glib => gi/_glib}/pygoptiongroup.c | 0
20917 {glib => gi/_glib}/pygoptiongroup.h | 0
20918 {glib => gi/_glib}/pygsource.c | 0
20919 {glib => gi/_glib}/pygsource.h | 0
20920 {glib => gi/_glib}/pygspawn.c | 0
20921 {glib => gi/_glib}/pygspawn.h | 0
20922 {gobject => gi/_gobject}/Makefile.am | 10 ++++------
20923 {gobject => gi/_gobject}/__init__.py | 0
20924 {gobject => gi/_gobject}/constants.py | 0
20925 {gobject => gi/_gobject}/ffi-marshaller.c | 0
20926 {gobject => gi/_gobject}/ffi-marshaller.h | 0
20927 {gobject => gi/_gobject}/gobjectmodule.c | 0
20928 {gobject => gi/_gobject}/propertyhelper.py | 0
20929 {gobject => gi/_gobject}/pygboxed.c | 0
20930 {gobject => gi/_gobject}/pygboxed.h | 0
20931 {gobject => gi/_gobject}/pygenum.c | 0
20932 {gobject => gi/_gobject}/pygenum.h | 0
20933 {gobject => gi/_gobject}/pygflags.c | 0
20934 {gobject => gi/_gobject}/pygflags.h | 0
20935 {gobject => gi/_gobject}/pyginterface.c | 0
20936 {gobject => gi/_gobject}/pyginterface.h | 0
20937 {gobject => gi/_gobject}/pygobject-private.h | 0
20938 {gobject => gi/_gobject}/pygobject.c | 0
20939 {gobject => gi/_gobject}/pygobject.h | 0
20940 {gobject => gi/_gobject}/pygparamspec.c | 0
20941 {gobject => gi/_gobject}/pygparamspec.h | 0
20942 {gobject => gi/_gobject}/pygpointer.c | 0
20943 {gobject => gi/_gobject}/pygpointer.h | 0
20944 {gobject => gi/_gobject}/pygtype.c | 0
20945 {gobject => gi/_gobject}/pygtype.h | 0
20946 tests/Makefile.am | 2 +-
20947 50 files changed, 15 insertions(+), 18 deletions(-)
20949 commit f0d2ddcf7e61c36f79a9adf8ccc53bf3db9349d3
20950 Author: John (J5) Palmieri <johnp@redhat.com>
20951 Date: Mon Jul 18 18:46:31 2011 -0400
20955 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20957 Makefile.am | 5 ----
20959 -------------------------------------------------------------
20960 2 files changed, 100 deletions(-)
20962 commit 75e9f7d80d9224c05e6063b88479f1baee48c489
20963 Author: John (J5) Palmieri <johnp@redhat.com>
20964 Date: Mon Jul 18 18:41:41 2011 -0400
20966 introspection is no longer optional
20968 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20970 Makefile.am | 8 +-------
20971 configure.ac | 43 +++++++++++++++++--------------------------
20972 gi/pygi.h | 37 -------------------------------------
20973 gobject/Makefile.am | 5 +----
20974 tests/Makefile.am | 7 +------
20975 5 files changed, 20 insertions(+), 80 deletions(-)
20977 commit d862168d6a82edd59547d39f5b0ab8279b1e511c
20978 Author: John (J5) Palmieri <johnp@redhat.com>
20979 Date: Mon Jul 18 18:28:50 2011 -0400
20981 up platform version to 3.0
20983 https://bugzilla.gnome.org/show_bug.cgi?id=642048
20988 pygobject-2.0-uninstalled.pc.in => pygobject-3.0-uninstalled.pc.in | 0
20989 pygobject-2.0.pc.in => pygobject-3.0.pc.in | 0
20990 4 files changed, 3 insertions(+), 3 deletions(-)
20992 commit 5189b360ccddbbaee267ce857968fbf1aafdd07a
20993 Author: Martin Pitt <martin.pitt@ubuntu.com>
20994 Date: Thu Aug 11 09:53:15 2011 +0200
20996 [gi] Handle GVariants from callback return values
20998 Callbacks still use GIArgument, add missing GVariant support for
21001 gi/pygi-argument.c | 6 ++++--
21002 1 file changed, 4 insertions(+), 2 deletions(-)
21004 commit 18a240cc492d2e5ebe2709a0d7155e27c8ff9e63
21005 Author: Martin Pitt <martin.pitt@ubuntu.com>
21006 Date: Wed Aug 10 14:11:10 2011 +0200
21008 Handle GVariants for callback arguments
21010 Callbacks still use GIArgument, add missing GVariant support. This
21012 equivalent of what commit 9d5604220bd56 did for pygi_marshall_*().
21014 gi/pygi-argument.c | 7 +++++++
21015 1 file changed, 7 insertions(+)
21017 commit aa820d6ce2fee83e61e3e9de7c6b7d2452e2847d
21018 Author: Laszlo Pandy <lpandy@src.gnome.org>
21019 Date: Mon Aug 8 01:58:10 2011 +0200
21021 [gi] Fix crash: check return value of
21022 _invoke_state_init_from_callable_cache() before continuing.
21024 gi/pygi-invoke.c | 4 +++-
21025 1 file changed, 3 insertions(+), 1 deletion(-)
21027 commit eaad9f3c71cedfe28ff2d2bb05ea6c64e323715f
21028 Author: Laszlo Pandy <lpandy@src.gnome.org>
21029 Date: Fri Aug 5 21:03:33 2011 +0200
21031 [gi] Pass gtype as first parameter to vfuncs (instead of using
21034 gi/pygi-invoke.c | 32 ++++++++++++++++++--------------
21036 2 files changed, 19 insertions(+), 15 deletions(-)
21038 commit 76edfd0d5776f61c92c84fd9fb8dcc246c580e93
21039 Author: John (J5) Palmieri <johnp@redhat.com>
21040 Date: Mon Jul 18 18:21:51 2011 -0400
21045 codegen/Makefile.am | 33 -
21046 codegen/README.defs | 351 --------
21047 codegen/__init__.py | 16 -
21048 codegen/argtypes.py | 1043 -----------------------
21049 codegen/code-coverage.py | 44 -
21050 codegen/codegen.py | 1722
21051 --------------------------------------
21052 codegen/createdefs.py | 17 -
21053 codegen/definitions.py | 575 -------------
21054 codegen/defsconvert.py | 132 ---
21055 codegen/defsgen.py | 737 ----------------
21056 codegen/defsparser.py | 153 ----
21057 codegen/docextract.py | 461 ----------
21058 codegen/docextract_to_xml.py | 142 ----
21059 codegen/docgen.py | 766 -----------------
21060 codegen/h2def.py | 631 --------------
21061 codegen/mergedefs.py | 26 -
21062 codegen/missingdefs.py | 17 -
21063 codegen/mkskel.py | 89 --
21064 codegen/override.py | 285 -------
21065 codegen/pygobject-codegen-2.0.in | 11 -
21066 codegen/reversewrapper.py | 912 --------------------
21067 codegen/scanvirtuals.py | 54 --
21068 codegen/scmexpr.py | 143 ----
21070 pygobject-2.0-uninstalled.pc.in | 1 -
21071 pygobject-2.0.pc.in | 1 -
21072 27 files changed, 1 insertion(+), 8368 deletions(-)
21074 commit bf284c7c47c3e52ab4d8700327a170903e9ebad2
21075 Author: John (J5) Palmieri <johnp@redhat.com>
21076 Date: Mon Jul 18 11:04:58 2011 -0400
21078 remove some left over ifdefs to complete merge of the invoke-rewrite
21081 gi/pygi-cache.h | 2 --
21082 gi/pygi-info.c | 2 --
21083 gi/pygi-private.h | 5 +----
21085 4 files changed, 1 insertion(+), 10 deletions(-)
21087 commit 8c653ec3033fab47c4bb4071b5732a349357141f
21088 Author: John (J5) Palmieri <johnp@redhat.com>
21089 Date: Mon Jul 18 10:59:45 2011 -0400
21091 rename pygi-invoke-ng to pygi-invoke
21093 gi/Makefile.am | 3 ++-
21094 gi/{pygi-invoke-ng.c => pygi-invoke.c} | 0
21095 2 files changed, 2 insertions(+), 1 deletion(-)
21097 commit 62d59fa2c2b31d7a3cac8996d58234d4b13bb19f
21098 Author: John (J5) Palmieri <johnp@redhat.com>
21099 Date: Mon Jul 18 10:56:36 2011 -0400
21101 make invoke-ng the only invoker
21103 configure.ac | 11 -
21104 gi/Makefile.am | 10 +-
21105 gi/pygi-invoke.c | 1030
21106 ------------------------------------------------------
21107 3 files changed, 1 insertion(+), 1050 deletions(-)
21109 commit 2937cfe5bb7122dd3783c7919294d6a34a3dfc05
21110 Merge: 519e556 917ea2d
21111 Author: John (J5) Palmieri <johnp@redhat.com>
21112 Date: Mon Jul 18 10:45:18 2011 -0400
21114 Merge branch 'master' into invoke-rewrite
21116 commit 519e556dc1e5874e1668bad93043fb9258c7ee79
21117 Merge: bab7e88 38cca3c
21118 Author: John (J5) Palmieri <johnp@redhat.com>
21119 Date: Mon Jul 18 10:37:20 2011 -0400
21121 Merge branch 'master' into invoke-rewrite
21123 commit bab7e88251bffcd360186c6dedc26be8eb077084
21124 Author: John (J5) Palmieri <johnp@redhat.com>
21125 Date: Mon Jul 18 10:35:10 2011 -0400
21127 split the marshalling routines into two source files
21129 * update copy and paste copyright info to list the correct owner
21131 gi/Makefile.am | 6 +-
21132 gi/pygi-cache.c | 3 +-
21133 gi/{pygi-marshal.c => pygi-marshal-in.c} | 739
21134 +----------------------------
21135 gi/{pygi-marshal.h => pygi-marshal-in.h} | 117 -----
21136 gi/pygi-marshal-out.c | 767
21137 +++++++++++++++++++++++++++++++
21138 gi/pygi-marshal-out.h | 144 ++++++
21139 6 files changed, 920 insertions(+), 856 deletions(-)
21141 commit 917ea2dfa2d097e563233145003a66b3e4423287
21142 Author: Martin Pitt <martin.pitt@ubuntu.com>
21143 Date: Thu Jul 14 11:21:10 2011 +0200
21145 Ship tests/te_ST@nouppera in release tarballs for tests to succeed
21147 tests/Makefile.am | 1 +
21148 1 file changed, 1 insertion(+)
21150 commit e024e832ab9c82d3e299cc6e1cb427de44f2d16e
21151 Author: John (J5) Palmieri <johnp@redhat.com>
21152 Date: Wed Jul 13 15:43:02 2011 -0400
21154 [invoke] break out caller_allocates allocating into its own function
21156 gi/pygi-invoke-ng.c | 78
21157 +++++++++++++++++++++++++++++++++--------------------
21158 1 file changed, 49 insertions(+), 29 deletions(-)
21160 commit fc8b8ce768ac780f7ed9edc63b70dd35194153c0
21161 Author: John (J5) Palmieri <johnp@redhat.com>
21162 Date: Wed Jul 13 15:42:26 2011 -0400
21164 [invoke] missed a bit when removing constructor_class usage
21166 gi/pygi-invoke-ng.c | 2 +-
21167 1 file changed, 1 insertion(+), 1 deletion(-)
21169 commit c94bcf4ae7e36f90c356c89712b00609f9f849bd
21170 Author: John (J5) Palmieri <johnp@redhat.com>
21171 Date: Wed Jul 13 15:16:17 2011 -0400
21173 [invoke] don't hold on to the constructor class, just add a TODO
21175 gi/pygi-invoke-ng.c | 11 +++++------
21176 gi/pygi-invoke-state-struct.h | 1 -
21177 2 files changed, 5 insertions(+), 7 deletions(-)
21179 commit c11d3195f324ea41e86e3da7ff99b55425c2faec
21180 Author: Martin Pitt <martin.pitt@ubuntu.com>
21181 Date: Wed Jul 13 10:40:25 2011 +0200
21183 [gi] Port test_properties from static gio to GI Gio
21185 As we ripped out the static gio bindings a while ago, this test case
21187 the system installed gio bindings with Python 2, and now fails
21189 Python 3. Rewrite it to use gi.repository.Gio.
21191 tests/test_properties.py | 38 +++++++++++++++++++-------------------
21192 1 file changed, 19 insertions(+), 19 deletions(-)
21194 commit 8f89ff24fcac627ce15ca93038711fded1a7c5ed
21195 Author: Martin Pitt <martin.pitt@ubuntu.com>
21196 Date: Wed Jul 13 08:42:22 2011 +0200
21198 [python3] Fix maketrans import
21200 Python3 moved the maketrans() function from the string module to a
21202 This unbreaks gi/module.py for Python 3 again.
21204 gi/module.py | 8 ++++++--
21205 1 file changed, 6 insertions(+), 2 deletions(-)
21207 commit 20aea4b052126fa0bface3e6e0dccfd77f9505b1
21208 Author: John (J5) Palmieri <johnp@redhat.com>
21209 Date: Fri Jul 8 14:39:22 2011 -0400
21211 [caching] remove all inline compiler flags
21213 gi/pygi-cache.c | 96
21214 ++++++++++++++++++++++++++++-----------------------------
21215 1 file changed, 48 insertions(+), 48 deletions(-)
21217 commit bf7bb79b66ad406063fb443e7452d830c55986ef
21218 Author: John (J5) Palmieri <johnp@redhat.com>
21219 Date: Fri Jul 8 14:35:20 2011 -0400
21221 [caching] refactor function names to be less confusing
21223 gi/pygi-cache.c | 307
21224 +++++++++++++++++++++++++++-----------------------------
21225 1 file changed, 150 insertions(+), 157 deletions(-)
21227 commit c167a9345b01c070bd5a84b4a4b3a53baf9e217d
21228 Author: John (J5) Palmieri <johnp@redhat.com>
21229 Date: Fri Jul 8 11:24:09 2011 -0400
21231 [overrides] deprecate the use of type keyword MessageDialog
21234 * pygtk used type to determine the "type" of message dialog to
21236 use the proper property name "message_type" since we should not be
21237 overriding a reserved word
21238 * to keep compat with pygtk we check the kwds hash for the key
21240 assign it to message_type while throwing a deprecation warning
21241 * also add a deprication warning when trying to use the depricated
21245 gi/overrides/Gtk.py | 13 ++++++++-----
21246 1 file changed, 8 insertions(+), 5 deletions(-)
21248 commit 367e4ededd4a45125157050bcc9e4e685fd4a82d
21249 Author: Martin Pitt <martin.pitt@ubuntu.com>
21250 Date: Fri Jul 8 10:15:53 2011 +0200
21252 gdbus tests: Fix hang if test case fails
21254 In the TestGDBusClient.test_native_calls_async() test case, the main
21256 never quit when the call failed.
21258 tests/test_gdbus.py | 6 ++++--
21259 1 file changed, 4 insertions(+), 2 deletions(-)
21261 commit 11b578400cbf9f7c270b662a5e8953ccd466e5ef
21262 Author: John (J5) Palmieri <johnp@redhat.com>
21263 Date: Thu Jul 7 19:30:11 2011 -0400
21265 use an enum instead of booleans to denote function type
21267 gi/pygi-cache.c | 85
21268 ++++++++++++++++++++++++++++++-----------------------
21269 gi/pygi-cache.h | 18 +++++++++---
21270 gi/pygi-invoke-ng.c | 8 ++---
21271 3 files changed, 67 insertions(+), 44 deletions(-)
21273 commit 10e31005baec26f61c0f8fca2b5c0337b0be6c70
21274 Author: John (J5) Palmieri <johnp@redhat.com>
21275 Date: Thu Jul 7 15:18:03 2011 -0400
21277 rename aux arguments to child arguments to make their purpose clearer
21279 gi/pygi-cache.c | 64
21280 ++++++++++++++++++++++++++---------------------------
21281 gi/pygi-cache.h | 29 ++++++++++++++++--------
21282 gi/pygi-invoke-ng.c | 10 ++++-----
21283 gi/pygi-marshal.c | 12 +++++-----
21284 4 files changed, 63 insertions(+), 52 deletions(-)
21286 commit b4ad91c40f713ebdc278ce40b011e4adf9ddbbd7
21287 Author: Timo Vanwynsberghe <timovwb@gmail.com>
21288 Date: Thu Jul 7 10:59:08 2011 +0200
21290 Fixed the cairo example
21292 https://bugzilla.gnome.org/show_bug.cgi?id=653844
21294 examples/cairo-demo.py | 6 ++----
21295 1 file changed, 2 insertions(+), 4 deletions(-)
21297 commit a606bab1ddc605167f2e9dc7c46c8f929fdce23b
21298 Author: Adam Dingle <adam@yorba.org>
21299 Date: Tue Jul 5 14:28:20 2011 -0700
21301 Add override binding for Gtk.ListStore.prepend().
21303 https://bugzilla.gnome.org/show_bug.cgi?id=654056
21305 gi/overrides/Gtk.py | 8 ++++++++
21306 tests/test_overrides.py | 13 ++++++++++++-
21307 2 files changed, 20 insertions(+), 1 deletion(-)
21309 commit fc5c869486c7f6929e285ea7a86623ec41ecd9bd
21310 Author: Martin Pitt <martin.pitt@ubuntu.com>
21311 Date: Thu Jul 7 13:39:19 2011 +0200
21313 Fix crash in Gtk.TextIter overrides
21315 With commit 17cd0fb3 Gtk.TextIter.{forward,backward}_search()
21317 pointers when the search was unsuccessful. Actually check the
21319 value; if it is False return None, just like PyGTK used to.
21321 Thanks to Michael Vogt for discovering this and writing the test case!
21325 -------------- 8< -----------------
21326 from gi.repository import Gtk
21328 win = Gtk.Window.new(Gtk.WindowType.TOPLEVEL)
21329 textview = Gtk.TextView()
21330 buffer = textview.get_buffer()
21331 buffer.set_text("hello world")
21336 iter = buffer.get_start_iter()
21337 end = buffer.get_end_iter()
21338 ret = iter.forward_search("foo",
21339 Gtk.TextSearchFlags.VISIBLE_ONLY,
21341 print "this is my return value"
21343 print "now I crash"
21344 print ret[0].get_offset()
21347 -------------- 8< -----------------
21349 gi/overrides/Gtk.py | 10 ++++++++--
21350 1 file changed, 8 insertions(+), 2 deletions(-)
21352 commit 5c04fc5b2ca7e262c052426d5863d69d0c4a24da
21353 Author: John (J5) Palmieri <johnp@redhat.com>
21354 Date: Tue Jul 5 15:57:23 2011 -0400
21356 use gssize instead of int for arg indexes
21358 gi/pygi-cache.c | 24 ++++++++++++------------
21359 gi/pygi-cache.h | 6 +++---
21360 gi/pygi-invoke-ng.c | 6 +++---
21361 gi/pygi-marshal-cleanup.c | 6 +++---
21362 4 files changed, 21 insertions(+), 21 deletions(-)
21364 commit ecc09749c34cd4eabf47cc722d768b042dc0be9f
21365 Author: John (J5) Palmieri <johnp@redhat.com>
21366 Date: Tue Jul 5 14:17:30 2011 -0400
21368 [cache] remove refrence to default value as it is not implemented yet
21370 gi/pygi-cache.h | 1 -
21371 1 file changed, 1 deletion(-)
21373 commit 433e0fb259047d8c81e5949a31abb5e0feefd27b
21374 Author: Sebastian Pölsterl <sebp@k-d-w.org>
21375 Date: Thu May 12 18:53:06 2011 +0200
21377 Handle arguments that are flags correctly
21379 https://bugzilla.gnome.org/show_bug.cgi?id=647581
21381 gi/pygi-argument.c | 2 ++
21382 1 file changed, 2 insertions(+)
21384 commit 38cca3c14e79fbc383e3fc65a120bee03714b99f
21385 Author: John (J5) Palmieri <johnp@redhat.com>
21386 Date: Fri Jul 1 05:19:15 2011 -0400
21388 correctly initialize the _gi_cairo_functions array to be zero filled
21390 gi/pygi-foreign-cairo.c | 2 +-
21391 1 file changed, 1 insertion(+), 1 deletion(-)
21393 commit 9ae43fdbcc547eb1e3c61bf9545da40555b2e2c6
21394 Author: John (J5) Palmieri <johnp@redhat.com>
21395 Date: Fri Jul 1 05:19:15 2011 -0400
21397 correctly initialize the _gi_cairo_functions array to be zero filled
21399 gi/pygi-foreign-cairo.c | 2 +-
21400 1 file changed, 1 insertion(+), 1 deletion(-)
21402 commit d3ee40b36b1718e6fb4544dbe07e291138ea1eb9
21403 Author: John (J5) Palmieri <johnp@redhat.com>
21404 Date: Wed Jun 29 18:14:40 2011 -0400
21406 pass in the address of the gerror, not the gerror itself
21408 gi/pygi-argument.c | 2 +-
21409 1 file changed, 1 insertion(+), 1 deletion(-)
21411 commit 49dc98eb9339ea64355cd752ca000c79da56f3a2
21412 Author: John (J5) Palmieri <johnp@redhat.com>
21413 Date: Wed Jun 29 18:01:44 2011 -0400
21415 [gi] handle marshalling gerrors arguments for signals
21417 gi/pygi-argument.c | 18 ++++++++++++++++--
21418 1 file changed, 16 insertions(+), 2 deletions(-)
21420 commit db9419fcef628e9ffee10591156007ea9c0bc1f0
21421 Author: John (J5) Palmieri <johnp@redhat.com>
21422 Date: Wed Jun 29 12:12:29 2011 -0400
21424 [gi-invoke-ng] fix NULL check to check before we access the cache
21427 gi/pygi-cache.c | 6 +++---
21428 1 file changed, 3 insertions(+), 3 deletions(-)
21430 commit 9027e1a20fd06df5c26edcec1893ef0814ec938a
21431 Author: John (J5) Palmieri <johnp@redhat.com>
21432 Date: Tue Jun 28 18:21:55 2011 -0400
21434 [gi-tests] add test for PyGObject->PyObject TreeModel storage
21436 * make sure we can store a custom GObject as a PyObject inside of
21439 tests/test_overrides.py | 26 +++++++++++++++-----------
21440 1 file changed, 15 insertions(+), 11 deletions(-)
21442 commit b6842e4b2a28733e143d4022864041ca82e91f7a
21443 Author: John (J5) Palmieri <johnp@redhat.com>
21444 Date: Tue Jun 28 18:13:38 2011 -0400
21446 [gtk-overrides] special case TreeModel columns of PYGOBJECT types
21448 * box the PYGOBJECT in a GValue so we can store PyGObjects in a
21451 gi/overrides/Gtk.py | 7 ++++---
21452 gobject/pygtype.c | 7 ++++---
21453 2 files changed, 8 insertions(+), 6 deletions(-)
21455 commit 7fc9d45860210fd9d333fd3769c6cf93a6a20eb6
21456 Author: John (J5) Palmieri <johnp@redhat.com>
21457 Date: Tue Jun 28 17:32:29 2011 -0400
21459 [gi-invoke-ng] copy structs when transfer is full for array
21461 gi/pygi-marshal.c | 21 ++++++++++++++++++---
21462 1 file changed, 18 insertions(+), 3 deletions(-)
21464 commit 8d60c0bc7b327aa757a8727f1146f02cc0b78af8
21465 Author: John (J5) Palmieri <johnp@redhat.com>
21466 Date: Tue Jun 28 13:54:48 2011 -0400
21468 [gtk-override] print warning if user imports Gtk 2.0
21470 * this is needed because people file bugs not realizing they are
21472 which is not supported
21474 gi/overrides/Gtk.py | 12 ++++++++++++
21475 1 file changed, 12 insertions(+)
21477 commit 7c589c0c1de1a786e00685afd5292b6fb1f93ed3
21478 Author: John (J5) Palmieri <johnp@redhat.com>
21479 Date: Tue Jun 28 13:08:49 2011 -0400
21481 [gtk-overrides] allow the message_type keyword to be used for
21484 * for pygtk compat we use the type keyword for message type but
21486 the use of message_type because it is more descriptive and does
21488 with a python reserved word
21489 * if you passed message_type into a MessageDialog constructor you
21491 an error because we also convert type to message_type when
21494 * this patch looks to see if message_type was passed in as a
21496 assigns it to type while removing message_type from the keywords
21498 to avoid name clashing
21500 gi/overrides/Gtk.py | 5 +++++
21501 1 file changed, 5 insertions(+)
21503 commit 2aa12267bee91aa696633a0cea2a0accae09250a
21504 Author: Johan Dahlin <jdahlin@litl.com>
21505 Date: Mon Jun 27 10:56:20 2011 -0300
21507 Add support for enums in gobject.property
21509 https://bugzilla.gnome.org/show_bug.cgi?id=653488
21511 gobject/propertyhelper.py | 23 ++++++++++++++++-------
21512 tests/test_properties.py | 40 ++++++++++++++++++++++++++++++++++++----
21513 2 files changed, 52 insertions(+), 11 deletions(-)
21515 commit dc62e67b447ef526a6f2d1aa8648ad101d95024b
21516 Author: Johan Dahlin <jdahlin@litl.com>
21517 Date: Mon Jun 27 10:56:20 2011 -0300
21519 Add support for enums in gobject.property
21521 https://bugzilla.gnome.org/show_bug.cgi?id=653488
21523 gobject/propertyhelper.py | 23 ++++++++++++++++-------
21524 tests/test_properties.py | 40 ++++++++++++++++++++++++++++++++++++----
21525 2 files changed, 52 insertions(+), 11 deletions(-)
21527 commit 50cfccb5801c1b9a0a42ffe2826cd245f21fd88d
21528 Author: John (J5) Palmieri <johnp@redhat.com>
21529 Date: Fri Jun 24 14:17:24 2011 -0400
21531 [gi-invoke-ng] use g_slice for allocating GValues that are caller
21534 gi/pygi-invoke-ng.c | 2 ++
21535 gi/pygi-marshal-cleanup.c | 2 ++
21536 2 files changed, 4 insertions(+)
21538 commit eff65cd2ce490296865441c3c78b7846f380459c
21539 Author: John (J5) Palmieri <johnp@redhat.com>
21540 Date: Fri Jun 24 11:49:05 2011 -0400
21542 [gi-invoke-ng] Convert Overflow errors to ValueErrors when marshalling
21545 gi/pygi-marshal.c | 56
21546 +++++++++++++++++++++++++++++++++++++++++++------------
21547 1 file changed, 44 insertions(+), 12 deletions(-)
21549 commit 05ed688d54e3ff04e961b60d0b5d3ed0b97c771d
21550 Author: John (J5) Palmieri <johnp@redhat.com>
21551 Date: Wed Jun 22 12:26:39 2011 -0400
21553 [gi-invoke-ng] only cache caller allocates for interfaces as some
21556 gi/pygi-cache.c | 6 ++++--
21557 1 file changed, 4 insertions(+), 2 deletions(-)
21559 commit 4fd957a5de364c0588168dee15e1e61d4f12e173
21560 Author: John (J5) Palmieri <johnp@redhat.com>
21561 Date: Fri Jun 17 17:07:56 2011 -0400
21563 [gi-invoke-ng] handle in pointer array marshalling
21565 gi/pygi-marshal.c | 28 ++++++++++++++++++++++------
21566 1 file changed, 22 insertions(+), 6 deletions(-)
21568 commit df3911ad2ce83af9bf9679ed1b221847b23ba2de
21569 Author: Alex Eftimie <alex@eftimie.ro>
21570 Date: Fri Jun 10 08:44:04 2011 +0300
21572 Adding GPtrArray tests
21574 tests/test_gi.py | 43 ++++++++++++++++++++++++++++++++++++++++++-
21575 1 file changed, 42 insertions(+), 1 deletion(-)
21577 commit e32c2be53175014399d89e1e85c9afc6e53c94be
21578 Author: John (J5) Palmieri <johnp@redhat.com>
21579 Date: Fri Jun 17 11:32:28 2011 -0400
21581 [gi-invoke-ng] fix array element offset calculations
21583 * use pointer arithmetic to calculate based on element size instead of
21584 relying on the size of GIArgument
21585 * special case GPtrArrays
21587 gi/pygi-marshal.c | 27 +++++++++------------------
21588 1 file changed, 9 insertions(+), 18 deletions(-)
21590 commit 6e8dc28cb261cafbfed40fc0797a0dd5f91f497b
21591 Author: John (J5) Palmieri <johnp@redhat.com>
21592 Date: Wed Jun 15 12:46:03 2011 -0400
21594 [gi] don't clean up arguments that weren't yet processed during in
21597 gi/pygi-marshal-cleanup.c | 2 +-
21598 1 file changed, 1 insertion(+), 1 deletion(-)
21600 commit af7c93ea98b7f492eef265e58c8b3c878805524f
21601 Author: John (J5) Palmieri <johnp@redhat.com>
21602 Date: Wed Jun 15 12:06:47 2011 -0400
21604 [gi-overrides] use new instead of init when constructing a
21605 GLib.VariantBuilder
21607 * init is now skipped in the gir
21609 gi/overrides/GLib.py | 18 ++++++++----------
21610 tests/test_overrides.py | 6 ++----
21611 2 files changed, 10 insertions(+), 14 deletions(-)
21613 commit c6112307f29f9a850e6e9efa5f55d5d4a363c6b0
21614 Author: John (J5) Palmieri <johnp@redhat.com>
21615 Date: Wed Jun 15 11:42:45 2011 -0400
21617 [gi-invoke-ng] actual code to import overrides
21619 gi/pygi-cache.c | 7 +------
21620 1 file changed, 1 insertion(+), 6 deletions(-)
21622 commit 902575d857beffb14e56821ea8a52f705385f6bb
21623 Author: John (J5) Palmieri <johnp@redhat.com>
21624 Date: Wed Jun 15 11:25:10 2011 -0400
21626 [gi-invoke-ng] import pytypes so we get overrides
21628 gi/pygi-marshal.c | 4 +++-
21629 1 file changed, 3 insertions(+), 1 deletion(-)
21631 commit 9d5604220bd56ae2708e9b74122c14208e0a30b4
21632 Author: John (J5) Palmieri <johnp@redhat.com>
21633 Date: Tue Jun 14 16:13:37 2011 -0400
21635 [gi-invoke-ng] handle gvariants now that they are not foreign
21637 gi/pygi-marshal.c | 7 ++++++-
21638 1 file changed, 6 insertions(+), 1 deletion(-)
21640 commit c1f5651062687e800a52b5d8d16c88c0acde2934
21641 Author: John (J5) Palmieri <johnp@redhat.com>
21642 Date: Tue Jun 14 16:12:43 2011 -0400
21644 [gi-invoke-ng] do not try to clean up NULL arguments
21646 gi/pygi-marshal-cleanup.c | 24 ++++++++++++++++--------
21647 1 file changed, 16 insertions(+), 8 deletions(-)
21649 commit fbf5382fbc1aed49ed491d2255d616a1643a45fc
21650 Merge: 499b68d 1491f62
21651 Author: John (J5) Palmieri <johnp@redhat.com>
21652 Date: Mon Jun 13 17:28:23 2011 -0400
21654 Merge branch 'master' into invoke-rewrite
21656 commit 499b68d6c9040cffc6e43dc87789d68446564a92
21657 Merge: 4c9bced 426c710
21658 Author: John (J5) Palmieri <johnp@redhat.com>
21659 Date: Mon Jun 13 17:26:37 2011 -0400
21661 Merge branch 'master' into invoke-rewrite
21663 commit 1491f6225b9906bd369b5a42e6369ab6884736b7
21664 Author: Ignacio Casal Quinteiro <icq@gnome.org>
21665 Date: Fri Jun 10 14:01:32 2011 +0200
21667 closure: avoid double free crash
21669 gi/pygi-closure.c | 12 ++++--------
21670 1 file changed, 4 insertions(+), 8 deletions(-)
21672 commit 929f4236f2b8601e7960a4a7b0a860d976ad83c6
21673 Author: Jason Siefken <siefkenj@gmail.com>
21674 Date: Fri Jun 3 23:11:17 2011 -0700
21676 Added __eq__ method for Gdk.Color and Gdk.RGBA
21678 Call Gdk.Color.equal and Gdk.RGBA.equal when
21679 == equality testing is used.
21681 gi/overrides/Gdk.py | 6 ++++++
21682 tests/test_overrides.py | 4 ++++
21683 2 files changed, 10 insertions(+)
21685 commit dff5961ba229c7c34bd7b0a18a446b56bbe39e3a
21686 Author: Ignacio Casal Quinteiro <icq@gnome.org>
21687 Date: Wed Jun 8 19:13:48 2011 +0200
21689 closure: Check the out arg is not null. Fixes bug #651812
21691 gi/pygi-closure.c | 3 +++
21692 1 file changed, 3 insertions(+)
21694 commit d7d178206bfbb0858556fcfd6c9ca8eefda3fdf5
21695 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21696 Date: Wed Jun 8 09:47:20 2011 +0200
21698 Use constants instead of literals
21700 tests/test_overrides.py | 8 ++++----
21701 1 file changed, 4 insertions(+), 4 deletions(-)
21703 commit fe386a0ad548a23e30e9cb947bfa2198fb48ef29
21704 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21705 Date: Mon Jun 6 19:07:22 2011 +0200
21707 GVariant has now a GType, take that into account
21709 https://bugzilla.gnome.org/show_bug.cgi?id=647509
21711 gi/pygi-argument.c | 8 ++++----
21712 gi/pygi-invoke.c | 20 +++++++++++++-------
21713 2 files changed, 17 insertions(+), 11 deletions(-)
21715 commit bd7b8d96a7420522c1fdc127ef8cfb7d6e8a1b31
21716 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21717 Date: Mon Jun 6 19:05:07 2011 +0200
21719 GVariantType is a boxed struct
21721 https://bugzilla.gnome.org/show_bug.cgi?id=647509
21723 gi/gimodule.c | 2 +-
21724 1 file changed, 1 insertion(+), 1 deletion(-)
21726 commit 2d73012e5dbcc45a5782a6c119dfb272c14b5a61
21727 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21728 Date: Mon Jun 6 17:38:21 2011 +0200
21730 Use _gi.Struct to wrap fundamentals
21732 https://bugzilla.gnome.org/show_bug.cgi?id=647509
21734 gi/module.py | 4 +++-
21735 1 file changed, 3 insertions(+), 1 deletion(-)
21737 commit d82e6c8d1d9f2fc48fdcc15b7d2a97e4f24cf3bf
21738 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21739 Date: Mon Jun 6 17:24:28 2011 +0200
21741 Merge gi/HACKING into /HACKING
21743 HACKING | 16 ++++++++++++++++
21744 gi/HACKING | 26 --------------------------
21745 2 files changed, 16 insertions(+), 26 deletions(-)
21747 commit 92aca4416a7930e5870b8d1a4016bae8140462ee
21748 Author: Daniel Drake <dsd@laptop.org>
21749 Date: Fri Jun 3 16:59:15 2011 +0100
21751 Fix GC-related crash during PyGObject deallocation
21753 Python-2.7.1's GC source has the following comment:
21755 /* Python's cyclic gc should never see an incoming refcount
21756 * of 0: if something decref'ed to 0, it should have been
21757 * deallocated immediately at that time.
21758 * Possible cause (if the assert triggers): a tp_dealloc
21759 * routine left a gc-aware object tracked during its teardown
21760 * phase, and did something-- or allowed something to
21762 * that called back into Python. gc can trigger then, and may
21763 * see the still-tracked dying object. Before this assert
21764 * was added, such mistakes went on to allow gc to try to
21765 * delete the object again. In a debug build, that caused
21766 * a mysterious segfault, when _Py_ForgetReference tried
21767 * to remove the object from the doubly-linked list of all
21768 * objects a second time. In a release build, an actual
21769 * double deallocation occurred, which leads to corruption
21770 * of the allocator's internal bookkeeping pointers. That's
21771 * so serious that maybe this should be a release-build
21772 * check instead of an assert?
21775 As shown in a backtrace at
21776 https://bugzilla.redhat.com/show_bug.cgi?id=640972 , pygobject
21778 this exact mistake. Before untracking its object, pygobject_dealloc
21779 calls PyObject_ClearWeakRefs() which can call back into python, create
21780 new allocations, and trigger the GC.
21782 This is causing Sugar (based on pygobject2 + pygtk2 static bindings)
21784 crash on a regular basis while interacting with widgets or launching
21787 Fix this by untracking the object early. Also fix the same issue
21789 in the GSource wrapper.
21791 Thanks to Bernie Innocenti for initial diagnosis.
21793 glib/pygsource.c | 6 ++++--
21794 gobject/pygobject.c | 8 +++++++-
21795 2 files changed, 11 insertions(+), 3 deletions(-)
21797 commit 4c9bcedb4e11ad66a4b86174e2425c7afcafc473
21798 Author: John (J5) Palmieri <johnp@redhat.com>
21799 Date: Tue May 31 16:59:41 2011 -0400
21801 [gi-invoke-ng] enable invoke-ng by default
21803 configure.ac | 8 ++++----
21804 1 file changed, 4 insertions(+), 4 deletions(-)
21806 commit 2e4cfb85a55ff205e263591d573ee5ecf0ffff3e
21807 Author: John (J5) Palmieri <johnp@redhat.com>
21808 Date: Tue May 31 16:37:21 2011 -0400
21810 [gi-invoke-ng] add code to clean up when input values fail to marshal
21812 gi/pygi-marshal-cleanup.c | 30 +++++++++++++++++++++++++-----
21813 1 file changed, 25 insertions(+), 5 deletions(-)
21815 commit 508b1b6ca1b143f1e123a3ddb83e8ce146758dfc
21816 Author: John (J5) Palmieri <johnp@redhat.com>
21817 Date: Tue May 31 16:01:03 2011 -0400
21819 [gi-invoke-ng] add hash cleanup routines
21821 gi/pygi-cache.c | 2 ++
21822 gi/pygi-marshal-cleanup.c | 64
21823 +++++++++++++++++++++++++++++++++++++++++++++++
21824 gi/pygi-marshal-cleanup.h | 10 ++++++--
21825 3 files changed, 74 insertions(+), 2 deletions(-)
21827 commit 1954c75b94a74259b4e5d28f5ff8d76aa4610832
21828 Author: John (J5) Palmieri <johnp@redhat.com>
21829 Date: Tue May 31 14:47:30 2011 -0400
21831 [gi-invoke-ng] handle arrays with transfers of GI_TRANSFER_CONTAINER
21833 gi/pygi-marshal-cleanup.c | 3 ++-
21834 1 file changed, 2 insertions(+), 1 deletion(-)
21836 commit b626c46b4a95602c7bf1278c2a39aacb7f5027d9
21837 Author: John (J5) Palmieri <johnp@redhat.com>
21838 Date: Tue May 31 14:40:49 2011 -0400
21840 [gi-invoke-ng] add list cleanup routines
21842 gi/pygi-cache.c | 8 ++---
21843 gi/pygi-marshal-cleanup.c | 84
21844 +++++++++++++++++++++++++++++++++++++++++++++++
21845 gi/pygi-marshal-cleanup.h | 8 +++++
21846 3 files changed, 96 insertions(+), 4 deletions(-)
21848 commit 2e542c327cd52c1f77af28905557dd25c64175d8
21849 Author: John (J5) Palmieri <johnp@redhat.com>
21850 Date: Thu May 26 16:10:13 2011 -0400
21854 gi/pygi-marshal.c | 8 ++++----
21855 1 file changed, 4 insertions(+), 4 deletions(-)
21857 commit 601aec11c49e821fe97dd30a2187fe3c75844712
21858 Author: John (J5) Palmieri <johnp@redhat.com>
21859 Date: Thu May 26 16:09:38 2011 -0400
21861 [gi-invoke-ng] add out array cleanup
21863 gi/pygi-cache.c | 2 +-
21864 gi/pygi-marshal-cleanup.c | 24 ++++++++++++++++++++++++
21865 gi/pygi-marshal.c | 37 +++++++++++++++++++++++++++++++------
21866 3 files changed, 56 insertions(+), 7 deletions(-)
21868 commit e9ad4428b769f8c9ace1cdc973c684de84fb1a5e
21869 Author: John (J5) Palmieri <johnp@redhat.com>
21870 Date: Thu May 26 13:22:38 2011 -0400
21872 [gi-invoke-ng] do not allocate null terminator for garray
21874 * We are simply setting our own array so we don't want any allocate
21877 gi/pygi-marshal.c | 2 +-
21878 1 file changed, 1 insertion(+), 1 deletion(-)
21880 commit a986b2b8e5ee37f2a330f5aabc85c73ebb0de508
21881 Author: John (J5) Palmieri <johnp@redhat.com>
21882 Date: Thu May 26 13:21:55 2011 -0400
21884 [gi-invoke-ng] add array cleanup for in arrays
21886 gi/pygi-cache.c | 2 +-
21887 gi/pygi-marshal-cleanup.c | 72
21888 ++++++++++++++++++++++++++++++++++++++++++++++-
21889 gi/pygi-marshal-cleanup.h | 9 ++++++
21890 gi/pygi-marshal.c | 13 +++++++--
21891 4 files changed, 91 insertions(+), 5 deletions(-)
21893 commit 990c60805c8ef718eb29e2e1b24f057552c6159e
21894 Author: John (J5) Palmieri <johnp@redhat.com>
21895 Date: Mon May 23 17:06:30 2011 -0400
21897 [gi-invoke-ng] remove remaining bits of the invoke stage state machine
21899 gi/pygi-invoke-ng.c | 7 +------
21900 gi/pygi-invoke-state-struct.h | 14 --------------
21901 2 files changed, 1 insertion(+), 20 deletions(-)
21903 commit dbbcf4a0e76fb572d85843ee31c3798df5cd5cc5
21904 Author: John (J5) Palmieri <johnp@redhat.com>
21905 Date: Mon May 23 16:59:57 2011 -0400
21907 [gi-invoke-ng] revamp cleanup framework to be orthogonal to cache
21910 * cleanup now has symmetry with setup so there are now in and out
21912 for each type that needs to be cleaned up
21913 * no longer use state machine but instead call different cleanup
21915 different stages of invoke, making it easier to understand what
21919 gi/pygi-cache.c | 19 ++-
21920 gi/pygi-cache.h | 7 +-
21921 gi/pygi-invoke-ng.c | 10 +-
21922 gi/pygi-invoke-state-struct.h | 2 +
21923 gi/pygi-marshal-cleanup.c | 301
21924 +++++++++++++++++-------------------------
21925 gi/pygi-marshal-cleanup.h | 45 ++++---
21926 gi/pygi-marshal.c | 15 +--
21927 7 files changed, 174 insertions(+), 225 deletions(-)
21929 commit 198714dc4585f7463f38929f1ca4e4b60a27dadb
21930 Author: John (J5) Palmieri <johnp@redhat.com>
21931 Date: Thu May 12 17:29:20 2011 -0400
21933 [gi-invoke-ng] stub out a cleaner way of cleaning up after ourselves
21935 * The state machine concept of cleaning up was getting a bit messy.
21936 It was like we took a big bowl of spaghetti code and dumped it.
21937 * Now we call specific cleanup functions at the point of failure (or
21938 successful completion of a marshalling stage)
21940 gi/pygi-invoke-ng.c | 59 +++++++++++++++++++++++++++++++-------
21941 gi/pygi-marshal-cleanup.c | 72
21942 +++++++++++++++++++++++++++++++++++++++++++++++
21943 gi/pygi-marshal-cleanup.h | 14 +++++++++
21944 3 files changed, 135 insertions(+), 10 deletions(-)
21946 commit c1389dadbf35afee3f28d90ef637efd8c1f071a5
21947 Author: José Alburquerque <jaalburqu@svn.gnome.org>
21948 Date: Thu May 12 11:53:40 2011 -0400
21950 Doc Extractor: Correct the logic of the --no-since option.
21952 * codegen/docextract.py (process_final_sections): If the
21954 option has been specified and a "Since:" is encountered
21956 processing of the final sections, simply don't append the
21958 instead of reading the next line. This preserves the logical
21962 codegen/docextract.py | 4 ++--
21963 1 file changed, 2 insertions(+), 2 deletions(-)
21965 commit 303d8e8ab9e60cb554de7fc0e8592cd9b2c50843
21966 Author: José Alburquerque <jaalburqu@svn.gnome.org>
21967 Date: Mon May 9 17:32:09 2011 -0400
21969 Doc Extractor: Add a --no-since option.
21971 * codegen/docextract.py:
21972 * codegen/docextract_to_xml.py: Modified so that if a
21974 option is specified at the command line, the "Since:
21976 the gtkdoc function block is omitted. This is useful for
21978 such as gstreamermm where this information would not be
21980 as the C API is still unstable.
21982 codegen/docextract.py | 15 ++++++++++++++-
21983 codegen/docextract_to_xml.py | 9 ++++++---
21984 2 files changed, 20 insertions(+), 4 deletions(-)
21986 commit 4f615c6e300d6f2d7551b640efa301060206ab58
21987 Author: John (J5) Palmieri <johnp@redhat.com>
21988 Date: Thu May 5 14:04:34 2011 -0400
21990 [gi-invoke-ng] tweek cleanup routines
21992 gi/pygi-cache.c | 5 +++
21993 gi/pygi-marshal-cleanup.c | 87
21994 +++++++++++++++++++++++++++++++++++------------
21995 gi/pygi-marshal-cleanup.h | 6 ++--
21996 gi/pygi-marshal.c | 11 ++----
21997 4 files changed, 76 insertions(+), 33 deletions(-)
21999 commit 63c7f17c224821cb7136d06e8ef87eab7291848d
22000 Author: Martin Pitt <martin.pitt@ubuntu.com>
22001 Date: Mon May 2 15:49:52 2011 +0200
22003 Fix symbol names to be locale independent
22005 We currently use upper() to present enum values, which are usually
22007 lower case in the typelib, in upper cases. However, upper() is locale
22008 dependent, so that e. g. in tr_TR.UTF-8, "invalid" becomes "iNVALiD"
22009 because Turkish has some extra variants of "i".
22011 Use a local ASCII-only translate() call instead to avoid this. Thanks
22013 Philippsen for the idea!
22015 This also adds a test locale "te_ST@nouppera" which defines
22016 toupper('a') == 'a'.
22017 Run the Enum tests under this locale to reproduce the bug and verify
22020 https://bugzilla.gnome.org/show_bug.cgi?id=649165
22022 gi/module.py | 9 ++++++++-
22023 tests/te_ST@nouppera | 50
22024 ++++++++++++++++++++++++++++++++++++++++++++++++++
22025 tests/test_gi.py | 30 ++++++++++++++++++++++++++++++
22026 3 files changed, 88 insertions(+), 1 deletion(-)
22028 commit b5e150da76c3d4de1a75f58d03c3a761e9005a63
22029 Author: Martin Pitt <martin.pitt@ubuntu.com>
22030 Date: Wed May 4 08:35:27 2011 +0200
22032 [gi] pygi-convert.sh: Convert gtk.gdk.CROSSHAIR
22034 pygi-convert.sh | 1 +
22035 1 file changed, 1 insertion(+)
22037 commit fcc5ea201ab25da6db94ea8a37364a1d3c4d7c65
22038 Author: John (J5) Palmieri <johnp@redhat.com>
22039 Date: Fri Apr 29 17:41:08 2011 -0400
22041 [gi-invoke-ng] handle filename cleanup with the utf8 cleanup function
22043 gi/pygi-cache.c | 2 ++
22044 1 file changed, 2 insertions(+)
22046 commit dbe8c4fabc8ac19415a3be0e854d3a54c2317e0b
22047 Author: John (J5) Palmieri <johnp@redhat.com>
22048 Date: Fri Apr 29 17:40:13 2011 -0400
22050 [gi-invoke-ng] handle caller allocates cleanup
22052 gi/pygi-invoke-ng.c | 5 ++-
22053 gi/pygi-marshal-cleanup.c | 104
22054 ++++++++++++++++++++++++++++++++++++----------
22055 gi/pygi-marshal-cleanup.h | 7 ++--
22056 3 files changed, 90 insertions(+), 26 deletions(-)
22058 commit cdbf57f3b1f041a06cf545a5557424f701ed1ec7
22059 Author: John (J5) Palmieri <johnp@redhat.com>
22060 Date: Thu Apr 28 19:16:02 2011 -0400
22062 [gi-invoke-ng] refactor the cleanup code and add utf8 cleanup as
22065 gi/pygi-cache.c | 15 ++-----------
22066 gi/pygi-invoke-ng.c | 8 +++----
22067 gi/pygi-invoke-state-struct.h | 2 ++
22068 gi/pygi-marshal-cleanup.c | 51
22069 ++++++++++++++++++++++++++++++++++++++++++-
22070 gi/pygi-marshal-cleanup.h | 3 +++
22071 5 files changed, 60 insertions(+), 19 deletions(-)
22073 commit d1f1f4ccc55f9ecab73b7c0ee78762c4039b2c79
22074 Author: John (J5) Palmieri <johnp@redhat.com>
22075 Date: Wed Apr 27 15:47:19 2011 -0400
22077 use PyCapsule when importing pycairo/require pycairo 1.10.0 for
22080 * PyCObject is deprecated and pycairo 1.10.0 is first release to
22083 configure.ac | 15 +++++++++++----
22084 gi/pygi-foreign-cairo.c | 2 +-
22085 2 files changed, 12 insertions(+), 5 deletions(-)
22087 commit 83b7823a510b0b391560c6deaf9d15d8303c7b14
22088 Author: Ignacio Casal Quinteiro <icq@gnome.org>
22089 Date: Thu Apr 21 16:52:20 2011 +0200
22091 [python3] fix build. PYcairo_IMPORT doesn't exists anymore
22093 gi/pygi-foreign-cairo.c | 7 ++++++-
22094 1 file changed, 6 insertions(+), 1 deletion(-)
22096 commit 3e933784df423757e591d703614cb700adb0bbe0
22097 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22098 Date: Mon Apr 18 18:36:25 2011 +0200
22102 pygobject.doap | 15 +++++++++++++++
22103 1 file changed, 15 insertions(+)
22105 commit 399d06b4b20685eb38acfd7e43226e06737ab7d2
22106 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22107 Date: Sat Apr 16 16:02:05 2011 +0200
22109 [gi] Don't create variant twice
22111 gi/overrides/GLib.py | 2 +-
22112 1 file changed, 1 insertion(+), 1 deletion(-)
22114 commit 8d8a84ea23d28d25851c5870f261c020d762cef4
22115 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22116 Date: Fri Apr 15 16:14:43 2011 +0200
22118 pygi-convert.sh: Make sure the uppercase GObject module is imported
22119 instead of the lowercase
22121 https://bugzilla.gnome.org/show_bug.cgi?id=647736
22123 pygi-convert.sh | 1 +
22124 1 file changed, 1 insertion(+)
22126 commit 3b51d6426d0f59b2dd7e0dcdcded4bed43d6b9d8
22127 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22128 Date: Fri Apr 15 15:58:53 2011 +0200
22130 [gi] Removed hack to avoid using GLib.Variant.new_variant.
22132 The bug in the annotations of GLib is fixed now.
22133 https://bugzilla.gnome.org/show_bug.cgi?id=639952
22134 https://bugzilla.gnome.org/show_bug.cgi?id=647796
22136 gi/overrides/GLib.py | 14 +-------------
22137 1 file changed, 1 insertion(+), 13 deletions(-)
22139 commit bb4dce14ba666969815d4e56adbc38f0ac4f7ff7
22140 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22141 Date: Fri Apr 15 15:58:31 2011 +0200
22143 [gi] Added additional test case for GVariant handling
22145 tests/test_overrides.py | 15 +++++++++++++++
22146 1 file changed, 15 insertions(+)
22148 commit 138df2778543409752e229a09828a805f68a420d
22149 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22150 Date: Mon Apr 11 18:34:31 2011 +0200
22152 [gi] Added support for GVariant arguments
22154 This is required in order for the "g-signal" signal of GDBusProxy
22155 to work properly and thus to properly receive DBus signals with any
22158 https://bugzilla.gnome.org/show_bug.cgi?id=647477
22160 gi/pygi-argument.c | 2 ++
22161 1 file changed, 2 insertions(+)
22163 commit 985f239d891c7697d76ccecb797b189669ae6ee1
22164 Author: John (J5) Palmieri <johnp@redhat.com>
22165 Date: Tue Mar 22 18:46:28 2011 -0400
22167 fix static ABI for setting string gvalues from python objects
22169 * the static bindings used to be able to set a string gvalue to
22171 object that implemented __str__, for instance when setting a
22173 * this restores that code while still keeping unicode and python 3
22176 gobject/pygtype.c | 28 +++++++++++++++++++---------
22177 tests/test_properties.py | 8 ++++++++
22178 2 files changed, 27 insertions(+), 9 deletions(-)
22180 commit 58cfc3cd1152b4448b56a6ff597f954d8450b83e
22181 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
22182 Date: Tue Mar 22 20:47:51 2011 +0100
22184 dsextras.py: ensure eol characters are preserved when writing template
22185 files (so \n does not become \r\n)
22188 1 file changed, 1 insertion(+), 1 deletion(-)
22190 commit 629d267478982c426ba61a639d5c9603fed856e6
22191 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
22192 Date: Tue Mar 22 11:35:44 2011 +0100
22194 dsextras.py: remove \r as wel as \n character
22197 1 file changed, 1 insertion(+), 1 deletion(-)
22199 commit 426c7109d4c0dbf0d56cc075f97f33b3451f79a8
22200 Author: John (J5) Palmieri <johnp@redhat.com>
22201 Date: Wed Apr 27 15:47:19 2011 -0400
22203 use PyCapsule when importing pycairo/require pycairo 1.10.0 for
22206 * PyCObject is deprecated and pycairo 1.10.0 is first release to
22209 configure.ac | 15 +++++++++++----
22210 gi/pygi-foreign-cairo.c | 2 +-
22211 2 files changed, 12 insertions(+), 5 deletions(-)
22213 commit 4e5833d0c2fe548617e5ea510f05920fd0caf73b
22214 Author: Ignacio Casal Quinteiro <icq@gnome.org>
22215 Date: Thu Apr 21 16:52:20 2011 +0200
22217 [python3] fix build. PYcairo_IMPORT doesn't exists anymore
22219 gi/pygi-foreign-cairo.c | 7 ++++++-
22220 1 file changed, 6 insertions(+), 1 deletion(-)
22222 commit 91ec337359720839862d3f5a8a0ea98f760a0752
22223 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22224 Date: Mon Apr 18 18:36:25 2011 +0200
22228 pygobject.doap | 15 +++++++++++++++
22229 1 file changed, 15 insertions(+)
22231 commit 05c766044c83340c44564d0097514bfc1d1d9df7
22232 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22233 Date: Sat Apr 16 16:02:05 2011 +0200
22235 [gi] Don't create variant twice
22237 gi/overrides/GLib.py | 2 +-
22238 1 file changed, 1 insertion(+), 1 deletion(-)
22240 commit eb8f212e3687af30407cf01fcdfbf530257bcddb
22241 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22242 Date: Fri Apr 15 16:14:43 2011 +0200
22244 pygi-convert.sh: Make sure the uppercase GObject module is imported
22245 instead of the lowercase
22247 https://bugzilla.gnome.org/show_bug.cgi?id=647736
22249 pygi-convert.sh | 1 +
22250 1 file changed, 1 insertion(+)
22252 commit af31729573de24161ee90563e5738187c749783c
22253 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22254 Date: Fri Apr 15 15:58:53 2011 +0200
22256 [gi] Removed hack to avoid using GLib.Variant.new_variant.
22258 The bug in the annotations of GLib is fixed now.
22259 https://bugzilla.gnome.org/show_bug.cgi?id=639952
22260 https://bugzilla.gnome.org/show_bug.cgi?id=647796
22262 gi/overrides/GLib.py | 14 +-------------
22263 1 file changed, 1 insertion(+), 13 deletions(-)
22265 commit 070f6688be4afb926656038dcceac4c8b8ed97c7
22266 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22267 Date: Fri Apr 15 15:58:31 2011 +0200
22269 [gi] Added additional test case for GVariant handling
22271 tests/test_overrides.py | 15 +++++++++++++++
22272 1 file changed, 15 insertions(+)
22274 commit 65aa040e86d94ee6bb227a2bce09668b60208027
22275 Author: John (J5) Palmieri <johnp@redhat.com>
22276 Date: Tue Apr 12 14:51:35 2011 -0400
22278 [gi-invoke-ng] fix prototype
22280 gi/pygi-cache.h | 2 +-
22281 1 file changed, 1 insertion(+), 1 deletion(-)
22283 commit 12aa4e6376366ca9d758434f6544c9c70a1e5df8
22284 Author: John (J5) Palmieri <johnp@redhat.com>
22285 Date: Tue Apr 12 14:48:16 2011 -0400
22287 [gi-invoke-ng] create new framework for cleaning up args
22289 * we now have a state machine so we know what point in the marshalling
22291 we are and which args need to be cleaned up
22292 * call the cleanup functions after invoking the gi callable, after
22294 the out parameters and at any time an error occures
22296 gi/Makefile.am | 4 ++-
22297 gi/pygi-cache.c | 25 +++++++------
22298 gi/pygi-cache.h | 5 ++-
22299 gi/pygi-invoke-ng.c | 34 ++++++++++++++----
22300 gi/pygi-invoke-state-struct.h | 13 +++++++
22301 gi/pygi-marshal-cleanup.c | 81
22302 +++++++++++++++++++++++++++++++++++++++++++
22303 gi/pygi-marshal-cleanup.h | 43 +++++++++++++++++++++++
22304 gi/pygi-marshal.c | 1 +
22305 8 files changed, 187 insertions(+), 19 deletions(-)
22307 commit 0463295cd046bd6382ad9dc71ea1518858d63c5f
22308 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22309 Date: Mon Apr 11 18:34:31 2011 +0200
22311 [gi] Added support for GVariant arguments
22313 This is required in order for the "g-signal" signal of GDBusProxy
22314 to work properly and thus to properly receive DBus signals with any
22317 https://bugzilla.gnome.org/show_bug.cgi?id=647477
22319 gi/pygi-argument.c | 2 ++
22320 1 file changed, 2 insertions(+)
22322 commit 1d64c3d3db2ec17b9a48df55271f712db6c07060
22323 Author: John (J5) Palmieri <johnp@redhat.com>
22324 Date: Wed Mar 30 16:40:31 2011 -0400
22326 [gi-invoke-ng] fix marshal header that is no longer part of
22329 gi/pygi-marshal.h | 8 ++++----
22330 1 file changed, 4 insertions(+), 4 deletions(-)
22332 commit 3580cd1c7222022ebeef3476f9e609c8045f12a3
22333 Author: John (J5) Palmieri <johnp@redhat.com>
22334 Date: Wed Mar 30 15:53:13 2011 -0400
22336 [gi-invoke-ng] code style space fixes
22338 gi/pygi-cache.c | 420 +++++++++++++++++++-------------------
22339 gi/pygi-invoke-ng.c | 145 +++++++-------
22340 gi/pygi-marshal.c | 565
22341 ++++++++++++++++++++++++++--------------------------
22342 3 files changed, 566 insertions(+), 564 deletions(-)
22344 commit 81662fcd09f112bfffcdc5b7f01a5537b84cd9d4
22345 Author: John (J5) Palmieri <johnp@redhat.com>
22346 Date: Tue Mar 29 16:54:44 2011 -0400
22348 [gi-invoke-ng] don't decref value taken from a dict as it is borrowed
22350 gi/pygi-invoke-ng.c | 1 -
22351 1 file changed, 1 deletion(-)
22353 commit a456fc0adc1f8a0754bf59cde8924f905bfc7dc1
22354 Author: John (J5) Palmieri <johnp@redhat.com>
22355 Date: Tue Mar 29 15:23:06 2011 -0400
22357 [gi-invoke-ng] return None when appropriate so we don't crash
22359 gi/pygi-marshal.c | 18 +++++++++++++++++-
22360 1 file changed, 17 insertions(+), 1 deletion(-)
22362 commit e8c8c37e5587dc7ff62519df336988a12e6f5d0a
22363 Author: John (J5) Palmieri <johnp@redhat.com>
22364 Date: Tue Mar 29 15:21:41 2011 -0400
22366 [gi-invoke-ng] fix aux value caching
22368 gi/pygi-cache.c | 15 ++++++++++-----
22369 1 file changed, 10 insertions(+), 5 deletions(-)
22371 commit 4e4c1847c713a4eb4ab34d04488e94dac24d9167
22372 Author: John (J5) Palmieri <johnp@redhat.com>
22373 Date: Mon Mar 28 20:25:46 2011 -0400
22375 [gi-invoke-ng] backport handling flags with no gtype
22377 gi/pygi-marshal.c | 25 ++++++++++++++++++++++++-
22378 1 file changed, 24 insertions(+), 1 deletion(-)
22380 commit fd76423e655b3711e1ffbf9b61ea4e2c94040234
22381 Author: John (J5) Palmieri <johnp@redhat.com>
22382 Date: Mon Mar 28 18:32:00 2011 -0400
22384 [gi-invoke-ng] backport raw gvalue handling
22386 gi/pygi-marshal.c | 23 ++++++++++++++++++-----
22387 1 file changed, 18 insertions(+), 5 deletions(-)
22389 commit 507b5051c83f70ceae79e0fa693c86e5cbb9f442
22390 Author: John (J5) Palmieri <johnp@redhat.com>
22391 Date: Mon Mar 28 18:30:31 2011 -0400
22393 [gi-invoke-ng] marshal instances seperately since they differ slightly
22396 gi/pygi-cache.c | 2 +-
22397 gi/pygi-marshal.c | 38 ++++++++++++++++++++++++++++++++++++++
22398 2 files changed, 39 insertions(+), 1 deletion(-)
22400 commit 726a27c0e74ace3ff23d9cc4d393ae53e57f1fac
22401 Author: John (J5) Palmieri <johnp@redhat.com>
22402 Date: Mon Mar 28 18:26:09 2011 -0400
22404 [gi-invoke-ng] refactor FunctionCache to be more generic CallableCache
22406 gi/pygi-cache.c | 392
22407 +++++++++++++++++++++++++++-------------------------
22408 gi/pygi-cache.h | 12 +-
22409 gi/pygi-info.c | 2 +-
22410 gi/pygi-invoke-ng.c | 40 +++---
22411 gi/pygi-marshal.c | 140 +++++++++----------
22412 gi/pygi-marshal.h | 159 +++++++++------------
22414 7 files changed, 362 insertions(+), 385 deletions(-)
22416 commit 3d5d9ff5c18a850650992bdd52e8e4c722b23396
22417 Author: John (J5) Palmieri <johnp@redhat.com>
22418 Date: Mon Mar 28 15:01:12 2011 -0400
22420 [gi-invoke-rewrite] backport glib error handling
22422 gi/pygi-invoke-ng.c | 14 ++++++--------
22423 1 file changed, 6 insertions(+), 8 deletions(-)
22425 commit 37b14b28a5f2aec16ac7f321efbf07e1403e9531
22426 Author: John (J5) Palmieri <johnp@redhat.com>
22427 Date: Fri Mar 25 18:48:42 2011 -0400
22429 [gi-invoke-ng] backport closure passing from invoke
22431 gi/pygi-marshal.c | 13 ++++++++++---
22432 1 file changed, 10 insertions(+), 3 deletions(-)
22434 commit cf7f97eabc9c49773c2916929b8c43ef453d0652
22435 Author: John (J5) Palmieri <johnp@redhat.com>
22436 Date: Fri Mar 25 18:47:36 2011 -0400
22438 [gi-invoke-ng] handle vfuncs and fix cosntrutors
22440 gi/pygi-cache.c | 9 +++++++
22441 gi/pygi-cache.h | 2 ++
22442 gi/pygi-invoke-ng.c | 56
22443 ++++++++++++++++++++++++++++++++-----------
22444 gi/pygi-invoke-state-struct.h | 2 ++
22445 4 files changed, 55 insertions(+), 14 deletions(-)
22447 commit af2ce400fcf771ee6c9bc01aecfb59467be5a0ce
22448 Author: John (J5) Palmieri <johnp@redhat.com>
22449 Date: Fri Mar 25 18:39:06 2011 -0400
22451 [gi-invoke-ng] handle foreign types correctly
22453 gi/pygi-cache.c | 22 ++++++----------------
22454 gi/pygi-marshal.c | 3 +++
22455 2 files changed, 9 insertions(+), 16 deletions(-)
22457 commit 482553ae5d863ca523be3bd1eededa5d02a4f87e
22458 Author: John (J5) Palmieri <johnp@redhat.com>
22459 Date: Fri Mar 25 13:14:01 2011 -0400
22461 [gi] remove the class parameter from the argument list of constructors
22463 * constructors pass in their class to be constructed. Since we
22465 and g_object_new to do the construction we ignore this for now but
22466 keep it around in the state for future use.
22468 gi/pygi-invoke-ng.c | 46
22469 +++++++++++++++++++++++++++++++++++++------
22470 gi/pygi-invoke-state-struct.h | 1 +
22471 2 files changed, 41 insertions(+), 6 deletions(-)
22473 commit 0534eb0e843cdf09611143da184052f7e549e4dc
22474 Author: John (J5) Palmieri <johnp@redhat.com>
22475 Date: Tue Mar 22 18:46:28 2011 -0400
22477 fix static ABI for setting string gvalues from python objects
22479 * the static bindings used to be able to set a string gvalue to
22481 object that implemented __str__, for instance when setting a
22483 * this restores that code while still keeping unicode and python 3
22486 gobject/pygtype.c | 28 +++++++++++++++++++---------
22487 tests/test_properties.py | 8 ++++++++
22488 2 files changed, 27 insertions(+), 9 deletions(-)
22490 commit 5f0e130026a663a57ed1317e0fa0e1f78f9e6e0a
22491 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
22492 Date: Tue Mar 22 20:47:51 2011 +0100
22494 dsextras.py: ensure eol characters are preserved when writing template
22495 files (so \n does not become \r\n)
22498 1 file changed, 1 insertion(+), 1 deletion(-)
22500 commit 62a6274105003ef386ddfe9ef38e8afa8c43d124
22501 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
22502 Date: Tue Mar 22 11:35:44 2011 +0100
22504 dsextras.py: remove \r as wel as \n character
22507 1 file changed, 1 insertion(+), 1 deletion(-)
22509 commit 86c436978c933f6ebe17627abe98325ce66f6baa
22510 Author: John (J5) Palmieri <johnp@redhat.com>
22511 Date: Tue Mar 22 16:13:58 2011 -0400
22513 [gi] make new invoke-ng codepath compile correctly
22516 gi/Makefile.am | 5 +-
22517 gi/pygi-cache.c | 2 +-
22518 gi/pygi-invoke-ng.c | 841 ----------------------
22519 gi/pygi-marshal.c | 1962
22520 +--------------------------------------------------
22521 gi/pygi-private.h | 4 +-
22522 6 files changed, 9 insertions(+), 2809 deletions(-)
22524 commit 35619fec43f4df85edf5456f3fc9733b16f2ba90
22525 Author: John (J5) Palmieri <johnp@redhat.com>
22526 Date: Tue Mar 22 15:40:02 2011 -0400
22528 [gi] conditionalize invoke code paths
22530 configure.ac | 7 +++++++
22531 gi/Makefile.am | 20 +++++++++++++++-----
22532 gi/pygi-cache.h | 2 ++
22533 gi/pygi-info.c | 4 +++-
22534 gi/pygi-private.h | 9 +++++++--
22536 6 files changed, 37 insertions(+), 9 deletions(-)
22538 commit 83c51bd2bb6ca24ce610c04cff1527bcd2689d90
22539 Author: John (J5) Palmieri <johnp@redhat.com>
22540 Date: Tue Mar 22 15:37:24 2011 -0400
22542 [gi] revert back to the type.py from master
22544 gi/types.py | 21 +++++++++++++++------
22545 1 file changed, 15 insertions(+), 6 deletions(-)
22547 commit cb30d00d1c92e73d9bfb08cc7b600a5aa70f2fc0
22548 Author: John (J5) Palmieri <johnp@redhat.com>
22549 Date: Tue Mar 22 14:46:29 2011 -0400
22551 [gi] revert pygi-argument.h and move the invoke-ng code to
22554 gi/pygi-argument.h | 268 +-----------------------------------------
22555 gi/pygi-marshal.h | 336
22556 +++++++++++++++++++++++++++++++++++++++++++++++++++++
22557 2 files changed, 337 insertions(+), 267 deletions(-)
22559 commit 17cb714cfdaf45b6d7dd627b0189bd24e6578f74
22560 Merge: 7332a1b 01596a9
22561 Author: John (J5) Palmieri <johnp@redhat.com>
22562 Date: Tue Mar 22 13:34:36 2011 -0400
22564 Merge branch 'master' into invoke-rewrite
22569 gi/pygi-foreign-cairo.c
22570 gi/pygi-foreign-gvariant.c
22571 gi/pygi-foreign-gvariant.h
22577 commit 01596a9b7cc0ceef3904da5b96939140ee0732fd
22578 Author: John (J5) Palmieri <johnp@redhat.com>
22579 Date: Tue Mar 22 13:20:54 2011 -0400
22581 [gi] foreign types now take interface infos instead of type infos
22583 * this is a prep for the invoke-rewrite branch
22584 * when marshalling foreign structs we may not have the type info but
22585 we will always have the interface info to pass
22586 * this simplifies the code because we were simply converting the
22587 type info back to an interface info anyway so there is less
22588 refcounting to keep track of
22589 * also fixes a bug where we were leaking PyNone ref counts
22591 gi/pygi-argument.c | 4 ++--
22592 gi/pygi-foreign-cairo.c | 16 ++++++++--------
22593 gi/pygi-foreign-gvariant.c | 12 ++++++------
22594 gi/pygi-foreign.c | 32 +++++++++++++-------------------
22595 gi/pygi-foreign.h | 8 ++++----
22596 gi/pygi-invoke.c | 6 +++---
22597 gi/pygi.h | 12 ++++++------
22598 7 files changed, 42 insertions(+), 48 deletions(-)
22600 commit fbabc1fdafa1dcbd1f6aaea7b821bd1c64a546ab
22601 Author: Martin Pitt <martin.pitt@ubuntu.com>
22602 Date: Tue Mar 22 15:04:01 2011 +0100
22604 Fix GSchema tests for separate build tree
22606 When using a separate build tree, the compiled GSettings schema will
22608 build tree, but as the test scripts are only in the source tree they
22610 the compiled schema. Pass the build dir as environment variable and
22612 over test_overrides.py's directory.
22614 tests/Makefile.am | 3 ++-
22615 tests/test_overrides.py | 4 +++-
22616 2 files changed, 5 insertions(+), 2 deletions(-)
22618 commit 7332a1b99775519fdc5500cab6628b713e946a8c
22619 Author: John (J5) Palmieri <johnp@redhat.com>
22620 Date: Mon Mar 21 19:03:29 2011 -0400
22622 [gi] start of merge from master
22624 * move some of the modified files that will cause merge conflicts
22626 own, nonconflicting files
22627 * copy the old files out of master
22629 gi/pygi-argument.c | 2101 +++------------------------
22630 gi/pygi-invoke-ng.c | 1179 ++++++++++++++++
22631 gi/pygi-invoke.c | 421 ++----
22632 gi/pygi-marshal.c | 3916
22633 +++++++++++++++++++++++++++++++++++++++++++++++++++
22634 4 files changed, 5389 insertions(+), 2228 deletions(-)
22636 commit 62b49dae97441953452d097cb1751df14302547a
22637 Author: John (J5) Palmieri <johnp@redhat.com>
22638 Date: Wed Mar 16 17:34:18 2011 -0400
22640 [gi] marshal raw closures
22642 * before we were able to marshal python callables into methods
22644 GClosures but we had no way to take a GClosure returned from one
22645 method and pass it to another - this enables that usecase
22647 https://bugzilla.gnome.org/show_bug.cgi?id=644757
22649 gi/pygi-argument.c | 17 ++++++++++-------
22650 tests/test_gi.py | 4 ++++
22651 2 files changed, 14 insertions(+), 7 deletions(-)
22653 commit 1e70957c5470a0f4bceba38ca66a4e4274fdc8d8
22654 Author: John Stowers <john.stowers@gmail.com>
22655 Date: Sun Mar 6 23:41:01 2011 +1300
22657 pygi-convert.sh add GObject.xxx and webkit
22659 https://bugzilla.gnome.org/show_bug.cgi?id=644347
22661 pygi-convert.sh | 7 +++++++
22662 1 file changed, 7 insertions(+)
22664 commit 2292673c96e7973a0732ca15bbd5b0bf7a9c7dcf
22665 Author: John Stowers <john.stowers@gmail.com>
22666 Date: Sun Mar 6 23:41:30 2011 +1300
22668 pygi-convert.sh remove gobject tests, GObject works now
22670 https://bugzilla.gnome.org/show_bug.cgi?id=644347
22672 pygi-convert.sh | 28 ----------------------------
22673 1 file changed, 28 deletions(-)
22675 commit d26e5cc45f277f6b7edb32aa416520bb53bff9c2
22676 Author: John (J5) Palmieri <johnp@redhat.com>
22677 Date: Fri Mar 11 14:09:02 2011 -0500
22679 [gi-demos] add pickers demo
22681 demos/gtk-demo/demos/pickers.py | 74
22682 +++++++++++++++++++++++++++++++++++++++++
22683 1 file changed, 74 insertions(+)
22685 commit b8d926a458ed7d7e92719e41b5bc1c36f68882b3
22686 Author: John (J5) Palmieri <johnp@redhat.com>
22687 Date: Thu Mar 10 18:12:50 2011 -0500
22689 [gi-demos] add menu demo
22691 demos/gtk-demo/demos/menus.py | 122
22692 ++++++++++++++++++++++++++++++++++++++++++
22693 1 file changed, 122 insertions(+)
22695 commit 9baec8ed1c5d99c1677a75eaa1d38912f41f0b2d
22696 Author: John (J5) Palmieri <johnp@redhat.com>
22697 Date: Wed Mar 9 13:02:50 2011 -0500
22699 [gi-overrides] fix exception block so it works in Python 2.5
22701 gi/overrides/Gio.py | 5 ++++-
22702 1 file changed, 4 insertions(+), 1 deletion(-)
22704 commit 5ac534ac3ceee3cc19fe2297e3cd009817ed726f
22705 Author: Martin Pitt <martin.pitt@ubuntu.com>
22706 Date: Mon Mar 21 13:19:58 2011 +0100
22708 Revert "Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES"
22710 This reverts commit fc7d7f7f153d57ff3866b7bfd5e6479d702cc4d9.
22712 This introduces additional libpython dependencies, which breaks
22714 which support multiple Python versions, and also causes the python
22716 to be in memory twice in some cases.
22718 https://bugzilla.gnome.org/show_bug.cgi?id=620215
22720 gi/Makefile.am | 4 +---
22721 glib/Makefile.am | 2 +-
22722 m4/python.m4 | 7 ++-----
22723 tests/Makefile.am | 2 +-
22724 4 files changed, 5 insertions(+), 10 deletions(-)
22726 commit cd01f8ce1373f28b1427dd847bef44f747f1e6b3
22727 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
22728 Date: Fri Mar 18 17:06:08 2011 +0100
22730 setup.py: fix user_access_control option
22733 1 file changed, 1 insertion(+), 1 deletion(-)
22735 commit 2da60baec4f43c41f43527cbfde4e21e0eea728c
22736 Author: Martin Pitt <martin.pitt@ubuntu.com>
22737 Date: Wed Mar 16 10:22:35 2011 +0100
22739 [gi] Respect the MessageType for Gtk.MessageDialog
22741 Don't just ignore the type argument, actually pass it on. Thanks
22743 Chou for spotting this!
22745 gi/overrides/Gtk.py | 1 +
22746 1 file changed, 1 insertion(+)
22748 commit 029a79d1af1e0998aa6bc88ce1c1f48ce0ccd2a0
22749 Author: Martin Pitt <martin.pitt@ubuntu.com>
22750 Date: Tue Mar 15 10:22:39 2011 +0100
22752 [gi] Do not require signature for D-BUS methods without arguments
22754 Calling methods on DBusProxy objects usually requires specifying
22756 as first argument. However, if the D-BUS method does not take any
22758 specifying the empty '()' signature does not give any additional
22760 so allow the caller to just call the proxy method without any
22763 Also ensure that passing a non-string signature raises a
22765 exception, instead of crashing deep in the GVariant leaf constructor.
22767 https://bugzilla.gnome.org/show_bug.cgi?id=644260
22769 gi/overrides/Gio.py | 16 +++++++++++++++-
22770 tests/test_gdbus.py | 13 +++++++++++++
22771 2 files changed, 28 insertions(+), 1 deletion(-)
22773 commit 5bf66ce79267b25bcc80251f9170498fa1d765f6
22774 Author: John Stowers <john.stowers@gmail.com>
22775 Date: Sun Mar 6 23:05:33 2011 +1300
22777 [gi-overrides] TreeViewColumn.set_cell_data_func func_data can be None
22779 https://bugzilla.gnome.org/show_bug.cgi?id=644343
22781 gi/overrides/Gtk.py | 2 ++
22782 1 file changed, 2 insertions(+)
22784 commit 8e4f86e17a1de533a93b0748fd8de3cbfa70ba62
22785 Author: John Stowers <john.stowers@gmail.com>
22786 Date: Sun Mar 6 17:48:04 2011 +1300
22788 [gi-demos] dont try and run demos that represent directories
22790 demos/gtk-demo/gtk-demo.py | 3 ++-
22791 1 file changed, 2 insertions(+), 1 deletion(-)
22793 commit 097e5efab29d3d2d91d0b9fc75bf00219e9b7810
22794 Author: John (J5) Palmieri <johnp@redhat.com>
22795 Date: Mon Mar 7 18:09:18 2011 -0500
22797 [gi-demos] some python 3 compat fixes
22799 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 6 ++++++
22800 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
22801 demos/gtk-demo/demos/rotatedtext.py | 4 ++--
22802 demos/gtk-demo/gtk-demo.py | 4 ++--
22803 4 files changed, 11 insertions(+), 5 deletions(-)
22805 commit fd5d5ef3abc947d3c6066eea6378514f87b7f0ce
22806 Author: John (J5) Palmieri <johnp@redhat.com>
22807 Date: Tue Feb 22 15:07:40 2011 -0500
22809 [gi-demos] add liststore demo
22811 demos/gtk-demo/demos/Tree View/__init__.py | 0
22812 demos/gtk-demo/demos/Tree View/liststore.py | 205
22813 ++++++++++++++++++++++++++++
22814 2 files changed, 205 insertions(+)
22816 commit 09de5cf99474fc8a34b5f4a61cede1fb47353ebb
22817 Author: John (J5) Palmieri <johnp@redhat.com>
22818 Date: Mon Mar 7 18:08:40 2011 -0500
22820 [gi-demos] catch the correct error class
22822 demos/gtk-demo/demos/images.py | 11 ++++++-----
22823 1 file changed, 6 insertions(+), 5 deletions(-)
22825 commit 7284d2d4622978fc9ddfd00f2714b3a572b7ab56
22826 Author: Steve Frécinaux <code@istique.net>
22827 Date: Sun Mar 6 21:18:36 2011 +0100
22829 Do not leak python references when using the gobject.property()
22832 Since this helper was storing plain references in a long-lived
22834 refcount for the instances would never drop to zero, and so they would
22835 never get finalized.
22837 https://bugzilla.gnome.org/show_bug.cgi?id=644039
22839 gobject/propertyhelper.py | 5 ++---
22840 tests/test_properties.py | 23 +++++++++++++++++++++++
22841 2 files changed, 25 insertions(+), 3 deletions(-)
22843 commit 618dbb0ee15b47e5e7cb16a34ffce0937d7fa26d
22844 Author: John (J5) Palmieri <johnp@redhat.com>
22845 Date: Fri Mar 4 12:25:49 2011 -0500
22847 handle uchar as bytes, not strings in python 3
22849 * This worked in Python2 because bytes and strings are equivilant
22851 PYGLIB_PyString_FromStringAndSize evaluated to a PyString
22852 * In Python 3 PYGLIB_PyString_FromStringAndSize evaluates to
22854 * PYGLIB_PyBytes_FromStringAndSize evaluates to a PyString in Python 2
22855 and a PyBytes object in Python 3
22857 gobject/pygtype.c | 2 +-
22858 1 file changed, 1 insertion(+), 1 deletion(-)
22860 commit 7e9483ff75b7a63ddda0fa9a9847f9f22ad71240
22861 Author: John (J5) Palmieri <johnp@redhat.com>
22862 Date: Fri Mar 4 12:24:35 2011 -0500
22864 [gi-overrides] handle unichar gvalues when setting treemodels
22866 gi/overrides/Gtk.py | 10 ++++++++++
22867 1 file changed, 10 insertions(+)
22869 commit 6367bffa006e94dc667d7008fccad8d47d8d3646
22870 Author: John (J5) Palmieri <johnp@redhat.com>
22871 Date: Fri Mar 4 11:43:51 2011 -0500
22873 [gi-overrides] special case python 2 keywords that crept in
22875 gi/overrides/Gtk.py | 6 +++++-
22876 tests/test_overrides.py | 8 ++++----
22877 2 files changed, 9 insertions(+), 5 deletions(-)
22879 commit 83b0f8a37d5f3236780d87a1ca466c5e44ae2bc0
22880 Author: John (J5) Palmieri <johnp@redhat.com>
22881 Date: Fri Mar 4 11:10:16 2011 -0500
22883 check for the py3 _thread module in configure.ac if thread is
22886 configure.ac | 6 +++++-
22887 1 file changed, 5 insertions(+), 1 deletion(-)
22889 commit 4645af87d3c587f535404867dab56608719e5c7b
22890 Author: John (J5) Palmieri <johnp@redhat.com>
22891 Date: Fri Mar 4 00:39:23 2011 -0500
22893 [gi-demos] add iconview demo
22895 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 212
22896 +++++++++++++++++++++++
22897 1 file changed, 212 insertions(+)
22899 commit 761dcb516a04f7a89b3c7d68e88fff23055e2a80
22900 Author: John (J5) Palmieri <johnp@redhat.com>
22901 Date: Thu Mar 3 18:39:16 2011 -0500
22903 [gi] wrap the keyword argument in a dict so we don't break Python 2.5
22905 * python < 2.6 does not allow sending in keyword litterals after
22907 *args. You can only send in **kwds.
22910 1 file changed, 1 insertion(+), 1 deletion(-)
22912 commit f9604e90af12a1b9dbe7d7f311308e87cd0ed7dd
22913 Author: John (J5) Palmieri <johnp@redhat.com>
22914 Date: Thu Mar 3 18:30:40 2011 -0500
22916 [gi-demos] add the combobox with string ids section to the demos
22918 demos/gtk-demo/demos/combobox.py | 49
22919 +++++++++++++++++++++++++++++++++++++++-
22920 1 file changed, 48 insertions(+), 1 deletion(-)
22922 commit b70f4daf071cf77a4561b57f5521eb928f66d1ce
22923 Author: John (J5) Palmieri <johnp@redhat.com>
22924 Date: Thu Mar 3 16:47:51 2011 -0500
22926 [gi-overrides] add an override for Gdk.RGBA
22928 gi/overrides/Gdk.py | 18 ++++++++++++++++++
22929 tests/test_overrides.py | 10 ++++++++++
22930 2 files changed, 28 insertions(+)
22932 commit ee2b63f60f350332ed21927721ed9ddff3a8034e
22933 Author: John (J5) Palmieri <johnp@redhat.com>
22934 Date: Thu Mar 3 16:10:17 2011 -0500
22936 [gi-demos] fix up search-entry to reflect annotations fixed in Gtk+
22939 demos/gtk-demo/demos/Entry/search_entry.py | 23 +++++++++--------------
22940 1 file changed, 9 insertions(+), 14 deletions(-)
22942 commit cd046e4c355706ead5f512b810a2a48317f8c32e
22943 Author: John (J5) Palmieri <johnp@redhat.com>
22944 Date: Wed Mar 2 18:13:43 2011 -0500
22946 [gi-demos] add search entry demo
22948 demos/gtk-demo/demos/Entry/search_entry.py | 257
22949 +++++++++++++++++++++++++++++
22950 1 file changed, 257 insertions(+)
22952 commit d5ddaa92e6349c2f52b67317326060973cb69661
22953 Author: John (J5) Palmieri <johnp@redhat.com>
22954 Date: Wed Mar 2 15:37:27 2011 -0500
22956 [gi] wrap map in a list for Python 3 compat
22959 1 file changed, 1 insertion(+), 1 deletion(-)
22961 commit 3e5ab72a2e1fa2d8c4c2864137c6251f264ff4af
22962 Author: John (J5) Palmieri <johnp@redhat.com>
22963 Date: Tue Mar 1 14:52:00 2011 -0500
22965 [gi-demos] fix up the validation combobox
22967 demos/gtk-demo/demos/combobox.py | 21 +++++++++++++++------
22968 1 file changed, 15 insertions(+), 6 deletions(-)
22970 commit 08af5f99f0838b3584f6a3b210d0a0304811e8ff
22971 Author: John (J5) Palmieri <johnp@redhat.com>
22972 Date: Tue Mar 1 12:31:35 2011 -0500
22974 add overridesdir variable in the .pc file for 3rd party overrides
22976 pygobject-2.0.pc.in | 1 +
22977 1 file changed, 1 insertion(+)
22979 commit 4a6b14a92a687a2311516b2c16c355216b5270a7
22980 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
22981 Date: Fri Feb 11 17:14:11 2011 +0100
22983 setup.py: Set bdist_wininst user-access-control property
22986 1 file changed, 2 insertions(+), 1 deletion(-)
22988 commit ad3ab659b83cb985730e19a83651da319d4bcb9c
22989 Author: Martin Pitt <martin.pitt@ubuntu.com>
22990 Date: Wed Mar 2 16:29:00 2011 +0100
22992 Fix uninitialized variable in gi.require_version()
22994 gi/__init__.py | 3 ++-
22995 1 file changed, 2 insertions(+), 1 deletion(-)
22997 commit 6e7606ee8830f6f51b777f41f6df2f6ea1784e89
22998 Author: Martin Pitt <martin.pitt@ubuntu.com>
22999 Date: Tue Mar 1 23:26:07 2011 +0100
23001 Run tests with LC_MESSAGES="C"
23003 Some tests, such as tests/test_gdbus.py check parts of error messages
23005 visible strings. Ensure that these do not get translated in the
23008 tests/runtests.py | 2 ++
23009 1 file changed, 2 insertions(+)
23011 commit 0461e05174637ae02f34029b85ba217d5ae48c53
23012 Author: John (J5) Palmieri <johnp@redhat.com>
23013 Date: Mon Feb 28 18:21:43 2011 -0500
23015 [gi-overrides] override Gtk.stock_lookup to not return success
23017 demos/gtk-demo/demos/combobox.py | 2 +-
23018 gi/overrides/Gtk.py | 9 +++++++++
23019 2 files changed, 10 insertions(+), 1 deletion(-)
23021 commit 40decf3501823004a6e4d3acbbf204c4d4d0a7ec
23022 Author: John (J5) Palmieri <johnp@redhat.com>
23023 Date: Mon Feb 28 14:16:00 2011 -0500
23025 update NEWS to reflect changes in the 2.27.91 release (PYGOBJECT_2_28
23028 NEWS | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
23029 1 file changed, 50 insertions(+)
23031 commit c2d5122b8e3cf51ec52418f90f1788895b842b6a
23032 Author: John (J5) Palmieri <johnp@redhat.com>
23033 Date: Mon Feb 28 14:08:05 2011 -0500
23035 [gi-tests] use Gdk.test_simulate_button instead of emitting event
23038 * this function is available specifically so we can test events so
23040 instead of creating our own button press event
23042 tests/test_overrides.py | 9 +++++----
23043 1 file changed, 5 insertions(+), 4 deletions(-)
23045 commit 1be1a2ea2787dffeb71ab4a38233fb71e761bd21
23046 Author: Laszlo Pandy <lpandy@src.gnome.org>
23047 Date: Thu Feb 24 19:30:32 2011 +0100
23049 [gi-tests] tests for EventButton override.
23051 * John (J5) Palmieri - fixed up original patch so that we actually
23052 emit the event instead of just creating a Gdk.ButtonEvent object
23054 https://bugzilla.gnome.org/show_bug.cgi?id=642554
23056 tests/test_overrides.py | 21 +++++++++++++++++++++
23057 1 file changed, 21 insertions(+)
23059 commit 99044a4860dd65c97f52b41b7cd3f216f4a97cd4
23060 Author: John (J5) Palmieri <johnp@redhat.com>
23061 Date: Wed Feb 23 18:43:27 2011 -0500
23063 [gi-overrides] Add event methods to all event union members
23065 https://bugzilla.gnome.org/show_bug.cgi?id=642554
23067 gi/overrides/Gdk.py | 70
23068 +++++++++++++++++++++++++++++++++++++++++++++++++++++
23069 1 file changed, 70 insertions(+)
23071 commit 6e30c69d38fd382414eb820097c297a80be547ac
23072 Author: John (J5) Palmieri <johnp@redhat.com>
23073 Date: Wed Feb 23 14:14:16 2011 -0500
23075 [gi] check to see if object is a member of a union when validating
23078 * union members are not subclasses of the union they belong to so
23080 inteface requires you pass a union but you pass one of its members
23081 there will be a type error
23082 * this patch checks to see if the type you are passing is a member
23084 union and passes the checks if it is
23085 * this works in python 3 but in python 2 methods do their own
23087 check on the instance parameter (e.g. self) so we need to figure
23088 out how to override that for union methods
23089 (e.g. Gdk.Event.get_state)
23091 https://bugzilla.gnome.org/show_bug.cgi?id=642554
23093 gi/pygi-argument.c | 38 ++++++++++++++++++++++++++++++++++++++
23094 1 file changed, 38 insertions(+)
23096 commit 525f21d1365c24488b768955362085bf82512dee
23097 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23098 Date: Wed Feb 16 09:44:12 2011 +0100
23100 Skip interfaces when checking for conflicts in the MRO
23102 https://bugzilla.gnome.org/show_bug.cgi?id=642437
23104 gi/types.py | 40 ++++++++++++++++++++++++++++++++++++++++
23105 gobject/gobjectmodule.c | 9 +++++++--
23106 tests/test_gi.py | 16 ++++++++++++++++
23107 3 files changed, 63 insertions(+), 2 deletions(-)
23109 commit da212024772a7a0c32f04f3589bfb24d2eb5706f
23110 Author: Laszlo Pandy <lpandy@src.gnome.org>
23111 Date: Thu Feb 24 18:46:15 2011 +0100
23113 [gi] Remove DyanmicModule.load() to _load() to prevent overriding
23116 gi/importer.py | 2 +-
23117 gi/module.py | 2 +-
23118 2 files changed, 2 insertions(+), 2 deletions(-)
23120 commit 2ce6b58c7427cf67ba4f55731ba0a4c04703e495
23121 Author: Laszlo Pandy <lpandy@src.gnome.org>
23122 Date: Wed Feb 23 12:05:03 2011 +0100
23124 Test case with John's fix for crash with C arrays and a GError is set.
23126 I have added a test case, and made a few fixes to John's patch,
23128 solution is the same his.
23130 Workaround a bug when freeing C array types
23132 * This is a hack and there is really no way around it without
23134 the current array handling code which spans between pygi-invoke.c
23136 pygi-argument.c and completely rewriting it.
23137 * The is no time before our stable release
23138 * This patch trades a segfault for a leak in the very unusual
23140 an error occures inside an interface that takes one or more C
23142 we wrap C arrays in GArrays internally but have to unwrap them
23144 to the introspected C function, there is a period of time where
23146 can occure with the C array in an unknown state (some being true
23148 and others still wrapped in a GArray)
23149 * This patch adds a c_arrays_are_wrapped state to signal that it
23151 free them. However since c_arrays_are_wrapped can only track
23153 as a group, not individually, if it is set to FALSE we can
23155 that every array is a pure C array, so instead we will simply
23157 to avoid incorrectly freeing one and causing a segfault.
23158 * This issue is fixed in the invoke rewrite branch as it treats
23160 GArrays separately, however that branch is not yet ready to be
23162 won't be until the next release.
23164 https://bugzilla.gnome.org/show_bug.cgi?id=642708
23166 gi/pygi-invoke.c | 54
23167 ++++++++++++++++++++++++++++++++++++++++++++++++++----
23168 tests/test_gi.py | 9 +++++++++
23169 2 files changed, 59 insertions(+), 4 deletions(-)
23171 commit 702a89beca92cab6b0142829b20281b9245f28b8
23172 Author: John (J5) Palmieri <johnp@redhat.com>
23173 Date: Wed Feb 23 15:11:59 2011 -0500
23175 [gi-overrides] fix setting rows in treeview to accept None as a value
23177 * as done in PyGTK None indicates the column should not be set
23179 gi/overrides/Gtk.py | 3 +++
23180 tests/test_overrides.py | 18 +++++++++++++-----
23181 2 files changed, 16 insertions(+), 5 deletions(-)
23183 commit 498f0d9c903131aca5efe27ffaad7620e40f72ea
23184 Author: Laszlo Pandy <lpandy@src.gnome.org>
23185 Date: Wed Feb 23 14:23:19 2011 +0100
23187 [gi] Add value_name for enum and flags from introspection
23188 "c:identifier" (if attr is available).
23190 gi/gimodule.c | 22 ++++++++++++++++++----
23191 tests/test_gi.py | 36 ++++++++++++++++++++++++++++++++++++
23192 2 files changed, 54 insertions(+), 4 deletions(-)
23194 commit 824aeb7fab17d6590e5babf2d1f64298f2d0e16b
23195 Author: Laszlo Pandy <lpandy@src.gnome.org>
23196 Date: Wed Feb 23 11:40:55 2011 +0100
23198 Fix flags with multiple names for the same value.
23200 Flags constructs a dict __flags_values__ and uses it to cache
23201 instances. However some flags in Glib such as G_IO_FLAG_MASK and
23202 G_IO_FLAG_GET_MASK are aliases for the same int value, and will
23203 override each other's place in the dictionary.
23205 The dict length check is not necessary. It only reduces the number
23206 of duplicate instances we keep, because if an instance is not
23207 found in the dict, a new one is created anyway.
23209 gobject/pygflags.c | 2 +-
23210 1 file changed, 1 insertion(+), 1 deletion(-)
23212 commit 3afbebeee486e14fd3f48552368903eb78f6b10c
23213 Author: Laszlo Pandy <lpandy@src.gnome.org>
23214 Date: Tue Feb 22 21:37:33 2011 +0100
23216 Don't force loading of DynamicModule until set in sys.modules
23218 This fixes Tomeu's previous commit, which removed lazy loading.
23219 Forcing the loading of a module before it is installed in sys.modules
23220 prevents some overrides from being registered (namely Gtk.main_quit).
23222 https://bugzilla.gnome.org/show_bug.cgi?id=642305
23224 gi/importer.py | 2 +-
23225 1 file changed, 1 insertion(+), 1 deletion(-)
23227 commit 2a9cbfb435b47dc646e2c6ffe630464b560229a6
23228 Author: John (J5) Palmieri <johnp@redhat.com>
23229 Date: Mon Feb 21 17:20:57 2011 -0500
23231 use GValue support to marshal GtkTreeModel values correctly
23233 * needs patch from https://bugzilla.gnome.org/show_bug.cgi?id=642914
23235 https://bugzilla.gnome.org/show_bug.cgi?id=642921
23237 gi/overrides/Gtk.py | 37 ++++++++++++++++++---
23238 tests/test_overrides.py | 87
23239 +++++++++++++++++++++++++++++++++++++++++--------
23240 2 files changed, 107 insertions(+), 17 deletions(-)
23242 commit 9e4ce7dc0f03ea407654c4af028122f57cbc4c5e
23243 Author: John (J5) Palmieri <johnp@redhat.com>
23244 Date: Mon Feb 21 16:14:20 2011 -0500
23246 [gi] pass raw GValues instead of trying to marshal them
23248 * Right now GValues are transparent to the user but this leave us no
23249 way to describe fundimental types other than those supported
23251 by python (e.g. int, str, etc)
23252 * If an interface is expecting a uint or other GValue type a user
23254 the raw GValue interfaces and expect paramaters that take
23256 marshal them correctly e.g.:
23257 value = GObject.Value()
23258 value.int(GObject.TYPE_UINT)
23259 value.set_uint(1234)
23260 * The objective here is to not for users to use this API but for
23262 to be able to utilize them. For instance in the TreeModel API
23264 get the expected type for a column and them create a GValue with
23266 type so that he underlying python object is marshalled correctly.
23268 https://bugzilla.gnome.org/show_bug.cgi?id=642914
23270 gi/pygi-argument.c | 24 ++++++++++++++++++------
23271 tests/test_gi.py | 9 ++++++++-
23272 2 files changed, 26 insertions(+), 7 deletions(-)
23274 commit b458f6f3424a04f6ceece09d443009372d70544c
23275 Author: John (J5) Palmieri <johnp@redhat.com>
23276 Date: Sat Feb 19 19:42:41 2011 -0500
23278 [gi-demos] add icon view edit and drag-and-drop demo
23280 demos/gtk-demo/demos/Icon View/__init__.py | 0
23281 demos/gtk-demo/demos/Icon View/iconviewedit.py | 101
23282 +++++++++++++++++++++++++
23283 2 files changed, 101 insertions(+)
23285 commit 7b47289e25d1dd57ce15556ccfbb3ede1c4bfe8b
23286 Author: John (J5) Palmieri <johnp@redhat.com>
23287 Date: Sat Feb 19 17:26:42 2011 -0500
23289 [gi-demos] add info bars demo
23291 demos/gtk-demo/demos/infobars.py | 99
23292 ++++++++++++++++++++++++++++++++++++++++
23293 1 file changed, 99 insertions(+)
23295 commit 76758efb6579752237a0dc4d56cf9518de6c6e55
23296 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23297 Date: Wed Feb 16 11:53:18 2011 +0100
23299 Load typelibs at import time, add gi.require_version()
23301 also adds Repository.get_loaded_namespaces()
23303 https://bugzilla.gnome.org/show_bug.cgi?id=642305
23305 gi/__init__.py | 29 ++++++++++++++++++++++++++++-
23306 gi/importer.py | 1 +
23307 gi/module.py | 21 ++++-----------------
23308 gi/pygi-repository.c | 23 +++++++++++++++++++++++
23309 4 files changed, 56 insertions(+), 18 deletions(-)
23311 commit 96f7d1aed732db09a74cd463ed894b7347dbcb15
23312 Author: Laszlo Pandy <lpandy@src.gnome.org>
23313 Date: Sat Feb 19 23:11:25 2011 +0100
23315 [gi] Register GType for non-GType enums and flags at runtime.
23317 Note: rebuild of gobject-introspection is required for new tests.
23319 Previously non-GType enums used a separate type implemented in
23320 Python, and non-GType flags had no implementation at all. This
23321 removes the separate type for enums, and registers a new GType at
23322 runtime if there isn't one.
23324 This allows non-GType enums and flags to use the same Python type
23325 as GType enums and flags. This removes duplication of code, and
23326 make both kinds behave identically.
23328 https://bugzilla.gnome.org/show_bug.cgi?id=642607
23330 gi/gimodule.c | 117
23331 +++++++++++++++++++++++++++++++++++++++++++++++++++++
23332 gi/module.py | 24 ++++++-----
23333 gi/pygi-info.c | 15 +++++++
23334 gi/types.py | 16 --------
23335 gobject/pygflags.c | 13 ++++--
23336 tests/test_gi.py | 35 ++++++++++++++++
23337 6 files changed, 191 insertions(+), 29 deletions(-)
23339 commit 63a60bcc20e724f96ea8d565ee0cf13a228b72b9
23340 Author: Martin Pitt <martin.pitt@ubuntu.com>
23341 Date: Tue Feb 8 15:38:21 2011 +0100
23343 [gi] Add Pythonic gdbus method invocation
23345 Provide a wrapper for Gio.DBusProxy for calling D-Bus methods like
23347 Python object. This will handle the Python object <-> GVariant
23349 optional keyword arguments for flags, timeout, and a result handler
23351 asynchronous calls.
23353 Require specifying the input argument signature as the first argument
23355 method call. This ensures that the types of e. g. integers are
23357 and avoids having to do expensive D-Bus introspection for each call.
23359 https://bugzilla.gnome.org/show_bug.cgi?id=640181
23361 gi/overrides/Gio.py | 99
23362 ++++++++++++++++++++++++++++++++++++++++++++++++++
23363 tests/test_gdbus.py | 102
23364 ++++++++++++++++++++++++++++++++++++++++++++++++++--
23365 2 files changed, 199 insertions(+), 2 deletions(-)
23367 commit ed5cdbb6f52bdbd13521a814516b15687955d6f7
23368 Author: Laszlo Pandy <lpandy@src.gnome.org>
23369 Date: Fri Feb 18 22:48:59 2011 +0100
23371 Skip GError out parameters in Python closure.
23373 Python code should have never have to explicitely return a GError.
23374 Once we are able to marshal exceptions the Python code should
23375 throw an exception instead. Until then, set GError to NULL, and
23376 don't complain if a Python function doesn't return an arg for it.
23378 https://bugzilla.gnome.org/show_bug.cgi?id=642715
23380 gi/pygi-closure.c | 8 ++++++++
23381 1 file changed, 8 insertions(+)
23383 commit 5a5ee3877e22939a697772a7f0630ef8cae3d52f
23384 Author: Laszlo Pandy <lpandy@src.gnome.org>
23385 Date: Fri Feb 18 10:15:59 2011 +0100
23387 Fix runtests.py to work with Python3 (print function syntax error).
23389 tests/runtests.py | 2 +-
23390 1 file changed, 1 insertion(+), 1 deletion(-)
23392 commit ad5d3fccff9433e2dadac89d731dac5cafb0eac3
23393 Author: John (J5) Palmieri <johnp@redhat.com>
23394 Date: Thu Feb 17 19:46:49 2011 -0500
23396 [gi-demos] added rotate text demo
23398 * needs some Pango Attr fixes to be 100% done, See FIXME
23400 demos/gtk-demo/demos/rotatedtext.py | 196
23401 ++++++++++++++++++++++++++++++++++++
23402 1 file changed, 196 insertions(+)
23404 commit 9ac11c3c3b1c0399c85ece57c0983ed60d419d7a
23405 Author: John (J5) Palmieri <johnp@redhat.com>
23406 Date: Thu Feb 17 17:25:00 2011 -0500
23408 [gi-demos] add images demo
23410 * needs annotation fix from GdkPixbuf for ImageLoader to work
23412 demos/gtk-demo/demos/images.py | 311
23413 +++++++++++++++++++++++++++++++++++++++++
23414 1 file changed, 311 insertions(+)
23416 commit 13b06170b89b3468e6255be32af4833ffc675c9d
23417 Author: John (J5) Palmieri <johnp@redhat.com>
23418 Date: Thu Feb 17 14:48:24 2011 -0500
23420 [gi-demos] add pixbuf demo
23422 demos/gtk-demo/demos/pixbuf.py | 183
23423 +++++++++++++++++++++++++++++++++++++++++
23424 1 file changed, 183 insertions(+)
23426 commit 7abcfd5b4db99bb0f50c5a47d346a2de3836f994
23427 Author: John (J5) Palmieri <johnp@redhat.com>
23428 Date: Thu Feb 17 14:47:12 2011 -0500
23430 [gi-demos] remove fixmes from print demo, fixed in pango
23432 demos/gtk-demo/demos/printing.py | 10 +++-------
23433 1 file changed, 3 insertions(+), 7 deletions(-)
23435 commit 9b13f49356da7d71c69b82da2a59d92f456a6913
23436 Author: John (J5) Palmieri <johnp@redhat.com>
23437 Date: Wed Feb 16 19:39:30 2011 -0500
23439 [gi-demos] add printing demo
23441 * needs some annotations for pango before it is 100% useful
23443 demos/gtk-demo/demos/printing.py | 177
23444 +++++++++++++++++++++++++++++++++++++++
23445 1 file changed, 177 insertions(+)
23447 commit 6025b62ee662af347e48b6752e6d5be74b4a8215
23448 Author: John (J5) Palmieri <johnp@redhat.com>
23449 Date: Wed Feb 16 17:52:38 2011 -0500
23451 [gi-overrides] add cursor overrides
23453 https://bugzilla.gnome.org/show_bug.cgi?id=635947
23455 gi/overrides/Gdk.py | 41 +++++++++++++++++++++++++++++++++++++++++
23456 tests/test_overrides.py | 23 +++++++++++++++++++++++
23457 2 files changed, 64 insertions(+)
23459 commit 03c0aa498470037ef2aa6a8233198ff521f8d42f
23460 Author: John (J5) Palmieri <johnp@redhat.com>
23461 Date: Wed Feb 16 16:18:24 2011 -0500
23463 [gi-demos] add the links demo
23465 demos/gtk-demo/demos/links.py | 74
23466 +++++++++++++++++++++++++++++++++++++++++++
23467 1 file changed, 74 insertions(+)
23469 commit 79ecddf8d54b3f4f8b5ef05d302675152622c832
23470 Author: John (J5) Palmieri <johnp@redhat.com>
23471 Date: Wed Feb 16 15:48:40 2011 -0500
23473 [gi-demos] add expander demo
23475 demos/gtk-demo/demos/expander.py | 60
23476 ++++++++++++++++++++++++++++++++++++++++
23477 1 file changed, 60 insertions(+)
23479 commit 76cdb13ab872f91f8384d26b0f2932087a746117
23480 Author: John (J5) Palmieri <johnp@redhat.com>
23481 Date: Wed Feb 16 15:14:35 2011 -0500
23483 [gi-overrides] use pop instead of del and add extra tests for
23486 gi/overrides/Gtk.py | 6 ++----
23487 tests/test_overrides.py | 8 ++++++++
23488 2 files changed, 10 insertions(+), 4 deletions(-)
23490 commit 6ef83c049735689c42f085ca9d7b8e1f251c410f
23491 Author: Laszlo Pandy <lpandy@src.gnome.org>
23492 Date: Tue Feb 15 20:07:42 2011 +0100
23494 [tests] Separate processes for GI and static binding tests.
23496 Importing and using both static gobject bindings and
23497 introspection GObject bindings in the same process can cause
23498 conflicts with types which otherwise wouldn't be there.
23500 This patch changes "make check" to call runtests.py twice -- once
23501 for each set of tests.
23503 In the case of a test failure, runtests.py now sets the exit code
23504 so that make does not continue. Otherwise you might miss the
23505 failures from the first batch of tests in the scrollback.
23507 tests/Makefile.am | 19 +++++++++++--------
23508 tests/runtests.py | 4 +++-
23509 2 files changed, 14 insertions(+), 9 deletions(-)
23511 commit e0896b45f60f37097ec521f1bc38778383b78dd8
23512 Author: John (J5) Palmieri <johnp@redhat.com>
23513 Date: Tue Feb 15 14:47:10 2011 -0500
23515 [gi-demos] add dialogs demo
23517 demos/gtk-demo/demos/dialogs.py | 153
23518 ++++++++++++++++++++++++++++++++++++++++
23519 1 file changed, 153 insertions(+)
23521 commit 2dea743e82f6b18697950c34f116b2d0f1d6b1dd
23522 Author: John (J5) Palmieri <johnp@redhat.com>
23523 Date: Tue Feb 15 14:46:41 2011 -0500
23525 [gi-overrides] fix typo in GtkTable constructor
23527 gi/overrides/Gtk.py | 8 ++++----
23528 1 file changed, 4 insertions(+), 4 deletions(-)
23530 commit 9c277e1782c5a9d672d91fabf5289c5415891682
23531 Author: John (J5) Palmieri <johnp@redhat.com>
23532 Date: Tue Feb 15 13:26:38 2011 -0500
23534 [gi-demos] keep popup menu from destroying itself by holding a ref
23537 demos/gtk-demo/demos/clipboard.py | 8 ++++----
23538 1 file changed, 4 insertions(+), 4 deletions(-)
23540 commit 18800c4db0e1faea38fd84f635d26a7ded5d10de
23541 Author: John (J5) Palmieri <johnp@redhat.com>
23542 Date: Tue Feb 15 13:25:13 2011 -0500
23544 [gi-overrides] add a Gtk.Menu override for the popup method
23546 gi/overrides/Gtk.py | 7 +++++++
23547 1 file changed, 7 insertions(+)
23549 commit ad93386ba9f73ef4c3826544b3868cf03c01225e
23550 Author: John (J5) Palmieri <johnp@redhat.com>
23551 Date: Tue Feb 15 13:24:33 2011 -0500
23553 [gi-demos] fix the about dialog in appwindow demo
23555 demos/gtk-demo/demos/appwindow.py | 22 +++++++++-------------
23556 1 file changed, 9 insertions(+), 13 deletions(-)
23558 commit d0c45c80974f05b6adfd3bb01d785be268a53a98
23559 Author: John (J5) Palmieri <johnp@redhat.com>
23560 Date: Tue Feb 15 11:21:13 2011 -0500
23562 [gi-demos] fix clipboard demo so DnD works
23564 * menu popups don't work because the API takes a callback without
23568 demos/gtk-demo/demos/clipboard.py | 20 ++++++++++----------
23569 1 file changed, 10 insertions(+), 10 deletions(-)
23571 commit 02d0327508234ab2e3b7dc6de506d70e6fcaaa17
23572 Author: John (J5) Palmieri <johnp@redhat.com>
23573 Date: Tue Feb 15 10:18:53 2011 -0500
23575 [gi-demos] fix clipboard demo to reflect new API
23577 demos/gtk-demo/demos/clipboard.py | 6 +++---
23578 1 file changed, 3 insertions(+), 3 deletions(-)
23580 commit aa006cad6990eff0cbb68fa9550e428f2bc96473
23581 Author: John (J5) Palmieri <johnp@redhat.com>
23582 Date: Mon Feb 14 18:17:20 2011 -0500
23584 [gi-demo] Fix color dialog demo to run with new draw, style and
23587 demos/gtk-demo/demos/colorselector.py | 44
23588 ++++++++++++++---------------------
23589 1 file changed, 17 insertions(+), 27 deletions(-)
23591 commit f94a96c53e9432ac085bd05acee7ebdd2803fbad
23592 Author: John (J5) Palmieri <johnp@redhat.com>
23593 Date: Mon Feb 14 17:58:25 2011 -0500
23595 [gi-demos] fix most of the combobox app
23597 * Still having some issues with filtering the ComboBoxText widget
23599 demos/gtk-demo/demos/combobox.py | 17 ++++++++---------
23600 1 file changed, 8 insertions(+), 9 deletions(-)
23602 commit 3606eb20ad1651af621bf1aa429ec102082565eb
23603 Author: Laszlo Pandy <lpandy@src.gnome.org>
23604 Date: Mon Feb 14 19:36:27 2011 +0100
23606 Use PyGI type conversion (to fix foreign types) for signal callbacks.
23608 First attempt at patch to fix foreign types in signal callbacks.
23609 Tests are not implemented yet.
23611 https://bugzilla.gnome.org/show_bug.cgi?id=637601
23613 gi/Makefile.am | 2 +
23614 gi/gimodule.c | 1 +
23615 gi/pygi-argument.c | 91 ++++++++++++++++++
23616 gi/pygi-argument.h | 2 +
23617 gi/pygi-private.h | 1 +
23618 gi/pygi-signal-closure.c | 245
23619 +++++++++++++++++++++++++++++++++++++++++++++++
23620 gi/pygi-signal-closure.h | 46 +++++++++
23621 gi/pygi.h | 28 ++++++
23622 gobject/pygobject.c | 24 ++++-
23623 9 files changed, 436 insertions(+), 4 deletions(-)
23625 commit 2e39d5e8f96be2253acb2f34a0d0b5b9c9adb8ff
23626 Author: John (J5) Palmieri <johnp@redhat.com>
23627 Date: Mon Feb 14 16:47:03 2011 -0500
23629 [gi-demos] fix drawingarea app to use the new draw api
23631 demos/gtk-demo/demos/drawingarea.py | 144
23632 +++++++++++++-----------------------
23633 1 file changed, 50 insertions(+), 94 deletions(-)
23635 commit 8385afbbc5df295d9b7cd3b5d19c90faa1f7ea8e
23636 Author: John (J5) Palmieri <johnp@redhat.com>
23637 Date: Mon Feb 14 16:43:35 2011 -0500
23639 [gi-overrides] for Gtk 3 alias Gdk.Rectangle to cairo.RectangleInt
23641 * note this is the introspected gobject-cairo boxed type not the
23644 * we alias this so people do not get confused
23646 gi/overrides/Gdk.py | 5 +++++
23647 1 file changed, 5 insertions(+)
23649 commit d491c369e049ab726f09002af0462391d5c2f3ec
23650 Author: John (J5) Palmieri <johnp@redhat.com>
23651 Date: Mon Feb 14 15:07:11 2011 -0500
23653 [gi-overrides] let user set the proper property names in Gtk.Table
23655 * the old override added a columns and rows parameters to the Table
23657 to be in sync with PyGtk.
23658 * The GTK properties are n_columns and n_rows
23661 gi/overrides/Gtk.py | 8 ++++++++
23662 1 file changed, 8 insertions(+)
23664 commit 95bc2b2b025d659725d701c3b759c0c4d9681a36
23665 Author: John (J5) Palmieri <johnp@redhat.com>
23666 Date: Mon Feb 14 15:06:38 2011 -0500
23668 [gi-demos] get appwindow demo working again
23670 demos/gtk-demo/demos/appwindow.py | 24 ++++--------------------
23671 1 file changed, 4 insertions(+), 20 deletions(-)
23673 commit 015185f502c498c21cb108d3bb288c5b6dbf202f
23674 Author: John (J5) Palmieri <johnp@redhat.com>
23675 Date: Mon Feb 14 15:05:44 2011 -0500
23677 [gi-demos] fixed use of tree_iter_get
23679 demos/gtk-demo/gtk-demo.py | 2 +-
23680 1 file changed, 1 insertion(+), 1 deletion(-)
23682 commit 0c20977e4598e5447dd07c069e91226efacb1160
23683 Author: Simon van der Linden <svdlinden@gnome.org>
23684 Date: Fri Feb 11 22:02:03 2011 +0100
23686 Remove last GIO-related bits
23688 https://bugzilla.gnome.org/show_bug.cgi?id=638899
23692 configure.ac | 3 --
23693 examples/gio/directory-async.py | 33 ------------------
23694 examples/gio/downloader.py | 77
23695 -----------------------------------------
23696 pygobject.doap | 2 +-
23697 6 files changed, 3 insertions(+), 117 deletions(-)
23699 commit e4ebbd7de5570af1abf41bdf9469d4ce3edd48cb
23700 Author: Simon van der Linden <svdlinden@gnome.org>
23701 Date: Fri Feb 11 18:38:27 2011 +0100
23703 Remove GIO documentation
23705 https://bugzilla.gnome.org/show_bug.cgi?id=638899
23707 docs/Makefile.am | 82 +-
23708 docs/reference/pygio-appinfo.xml | 894 -----
23709 docs/reference/pygio-applaunchcontext.xml | 194 --
23710 docs/reference/pygio-asyncresult.xml | 117 -
23711 docs/reference/pygio-bufferedinputstream.xml | 461 ---
23712 docs/reference/pygio-bufferedoutputstream.xml | 275 --
23713 docs/reference/pygio-cancellable.xml | 290 --
23714 docs/reference/pygio-classes.xml | 47 -
23715 docs/reference/pygio-constants.xml | 1540 ---------
23716 docs/reference/pygio-datainputstream.xml | 799 -----
23717 docs/reference/pygio-dataoutputstream.xml | 504 ---
23718 docs/reference/pygio-drive.xml | 546 ---
23719 docs/reference/pygio-emblem.xml | 232 --
23720 docs/reference/pygio-emblemedicon.xml | 160 -
23721 docs/reference/pygio-file.xml | 4534
23722 -------------------------
23723 docs/reference/pygio-fileattributeinfo.xml | 73 -
23724 docs/reference/pygio-fileenumerator.xml | 488 ---
23725 docs/reference/pygio-fileicon.xml | 109 -
23726 docs/reference/pygio-fileinfo.xml | 346 --
23727 docs/reference/pygio-fileinputstream.xml | 214 --
23728 docs/reference/pygio-filemonitor.xml | 128 -
23729 docs/reference/pygio-fileoutputstream.xml | 257 --
23730 docs/reference/pygio-filterinputstream.xml | 152 -
23731 docs/reference/pygio-filteroutputstream.xml | 152 -
23732 docs/reference/pygio-functions.xml | 395 ---
23733 docs/reference/pygio-icon.xml | 217 --
23734 docs/reference/pygio-inputstream.xml | 730 ----
23735 docs/reference/pygio-loadableicon.xml | 198 --
23736 docs/reference/pygio-memoryinputstream.xml | 151 -
23737 docs/reference/pygio-memoryoutputstream.xml | 175 -
23738 docs/reference/pygio-mount.xml | 962 ------
23739 docs/reference/pygio-mountoperation.xml | 726 ----
23740 docs/reference/pygio-outputstream.xml | 140 -
23741 docs/reference/pygio-seekable.xml | 231 --
23742 docs/reference/pygio-simpleasyncresult.xml | 317 --
23743 docs/reference/pygio-themedicon.xml | 204 --
23744 docs/reference/pygio-unixinputstream.xml | 202 --
23745 docs/reference/pygio-unixoutputstream.xml | 202 --
23746 docs/reference/pygio-volume.xml | 718 ----
23747 docs/reference/pygio-volumemonitor.xml | 844 -----
23748 docs/reference/pygiounix-classes.xml | 13 -
23749 docs/reference/pygobject-ref.xml | 2 -
23750 42 files changed, 1 insertion(+), 19020 deletions(-)
23752 commit abdebc7f6515f9658812c0355d8ad0892e5371e4
23753 Author: John (J5) Palmieri <johnp@redhat.com>
23754 Date: Fri Feb 11 11:05:04 2011 -0500
23756 bump version to reflect the master branch moving towards pygobject 3.0
23758 * added NEWS file from branch pygobject-2-28
23760 * this branch will drop support for the static binding
23761 * use the pygobject-2-28 branch for static binding fixes
23764 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
23765 configure.ac | 4 +-
23766 2 files changed, 291 insertions(+), 2 deletions(-)
23768 commit 16140237aa45b4f188923da9f95b9d2af971011b
23769 Author: John (J5) Palmieri <johnp@redhat.com>
23770 Date: Thu Feb 10 16:46:08 2011 -0500
23772 fix build to correctly use python-config
23775 configure.ac | 6 ------
23776 m4/python.m4 | 9 +++++----
23777 tests/runtests.py | 1 +
23778 4 files changed, 9 insertions(+), 10 deletions(-)
23780 commit c2079f415638ef892b1e51f25eaafa3e1621667f
23781 Author: Simon van der Linden <svdlinden@gnome.org>
23782 Date: Thu Feb 10 22:26:00 2011 +0100
23784 Add missing libraries to link against
23786 glib/Makefile.am | 2 +-
23787 gobject/Makefile.am | 1 +
23788 2 files changed, 2 insertions(+), 1 deletion(-)
23790 commit 3cca62a9e7afd3d3d302c66f4fafe253f7743d4e
23791 Author: Steve Frécinaux <code@istique.net>
23792 Date: Wed Jan 19 15:00:56 2011 +0100
23794 Make runtests.py able to run command-line provided test files
23796 With this patch we are now able to run ./runtests.py <somefile>, which
23797 is more friendly than defining an environment variable to run some
23800 https://bugzilla.gnome.org/show_bug.cgi?id=639948
23802 tests/runtests.py | 9 +++++++++
23803 1 file changed, 9 insertions(+)
23805 commit 14c4cf8e6edae893538680964380d543bde4a14d
23806 Author: Martin Pitt <martin.pitt@ubuntu.com>
23807 Date: Wed Feb 9 11:34:59 2011 +0100
23809 Run test suite under dbus-launch
23811 When available, run the test suite in dbus-launch, so that the
23813 succeed even when building this in an environment without a running
23815 D-BUS (such as distribution package builds).
23817 tests/Makefile.am | 3 ++-
23818 1 file changed, 2 insertions(+), 1 deletion(-)
23820 commit 0858f550e2b6f75e3f583f963f5952f5ddae4e0e
23821 Author: Martin Pitt <martin.pitt@ubuntu.com>
23822 Date: Tue Feb 8 15:46:36 2011 +0100
23824 Fix test_gdbus.py to be Python3 friendly
23826 - TestCase.assert_() has been deprecated by assertTrue().
23827 - Exceptions don't have a message attribute any more, use str(e)
23829 tests/test_gdbus.py | 34 +++++++++++++++-------------------
23830 1 file changed, 15 insertions(+), 19 deletions(-)
23832 commit b7f32e4cca0cef201489b55653f96ac64a8f9ab9
23833 Author: Martin Pitt <martin.pitt@ubuntu.com>
23834 Date: Sat Jan 29 12:20:50 2011 +0100
23836 [gi] Provide comfortable GSettings API
23838 Make Gio.Settings behave like a dictionary, with transparent
23840 GVariants. Also provide a more comfortable constructor.
23842 https://bugzilla.gnome.org/show_bug.cgi?id=640838
23844 gi/overrides/Gio.py | 54 +++++++++++++++++++++++++++++
23845 tests/org.gnome.test.gschema.xml | 9 +++++
23846 tests/test_overrides.py | 73
23847 ++++++++++++++++++++++++++++++++--------
23848 3 files changed, 122 insertions(+), 14 deletions(-)
23850 commit 8dad0eaed60a9de26e9a729a48a1f6bc74be486e
23851 Author: Laszlo Pandy <lpandy@src.gnome.org>
23852 Date: Fri Feb 4 16:36:07 2011 +0100
23854 Fix vfunc search bug when using GInterfaces and a do_* method.
23856 If a class inherits from a GInterface, as well as implements a do_*
23857 method (which is not in a super class), all the base interfaces
23858 will be searched for an __info__ attribute. GInterface doesn't
23859 have one, causing an error on class creation.
23861 https://bugzilla.gnome.org/show_bug.cgi?id=641493
23863 gi/types.py | 4 +++-
23864 tests/test_gi.py | 8 ++++++++
23865 2 files changed, 11 insertions(+), 1 deletion(-)
23867 commit 2660be1f227be7a53092483bc9d8ead1bd1fb266
23868 Author: Laszlo Pandy <lpandy@src.gnome.org>
23869 Date: Thu Feb 3 15:31:42 2011 +0100
23871 [GI] Add tests for Gtk.Widget.drag_* methods.
23873 Previously all the drag_* methods were accessible as Gtk.drag_*.
23874 Now that the (method) attribute has been included for these
23875 methods in Gtk+, this test checks that they are included as class
23876 methods when using pygobject introspection.
23878 https://bugzilla.gnome.org/show_bug.cgi?id=639945
23880 tests/test_overrides.py | 40 ++++++++++++++++++++++++++++++++++++++++
23881 1 file changed, 40 insertions(+)
23883 commit d57500537014b3da624be33b40401ba289fa22b8
23884 Author: John (J5) Palmieri <johnp@redhat.com>
23885 Date: Thu Feb 3 09:02:16 2011 -0500
23887 [gi] make caller allocates work again
23889 gi/pygi-cache.c | 18 +++---------------
23890 gi/pygi-invoke.c | 37 ++++++++++++++++++++++++++++++++++---
23891 2 files changed, 37 insertions(+), 18 deletions(-)
23893 commit 99d6e6c8d806e6f9e48c3c2380024fb3511d110a
23894 Author: John (J5) Palmieri <johnp@redhat.com>
23895 Date: Wed Feb 2 19:27:40 2011 -0500
23897 [gi] fix container object reffing
23899 gi/pygi-argument.c | 7 +++----
23900 gi/pygi-cache.c | 12 ++++--------
23901 2 files changed, 7 insertions(+), 12 deletions(-)
23903 commit 09acaff29dfaabc77477cffca2c7137f68991e7f
23904 Author: Ignacio Casal Quinteiro <icq@gnome.org>
23905 Date: Wed Feb 2 21:00:48 2011 +0100
23907 [python 3] use the right syntaxis to raise exceptions
23909 codegen/argtypes.py | 8 ++++----
23910 codegen/definitions.py | 14 +++++++-------
23911 gi/overrides/Gtk.py | 2 +-
23912 3 files changed, 12 insertions(+), 12 deletions(-)
23914 commit 36094e5982d3e05d5662843b6d401f0974f5235f
23915 Author: Ignacio Casal Quinteiro <icq@gnome.org>
23916 Date: Wed Feb 2 20:50:12 2011 +0100
23918 [gi] return PYGLIB_MODULE_ERROR_RETURN on error and use pygobject_init
23920 tests/testhelpermodule.c | 6 +++---
23921 1 file changed, 3 insertions(+), 3 deletions(-)
23923 commit c913c1789296310c2cf27554ce719d7f6e9c94cd
23924 Author: Ignacio Casal Quinteiro <icq@gnome.org>
23925 Date: Wed Feb 2 20:37:21 2011 +0100
23927 [gi] return PYGLIB_MODULE_ERROR_RETURN on error
23929 This is to avoid some warnings when building with python 3
23931 gi/gimodule.c | 6 +++---
23932 1 file changed, 3 insertions(+), 3 deletions(-)
23934 commit 7bc4122897d9d05172a2bd5b56bded87e2afaec4
23935 Author: Steve Frécinaux <code@istique.net>
23936 Date: Sat Jan 29 00:16:50 2011 +0100
23938 Fix wrong refcount when calling introspected widget constructors
23940 Introspected widget constructors, like Gtk.Button.new(), can return
23941 objects with a floating reference, which was then reffed by pygobject,
23942 resulting in two references, despite the object is not owned by
23945 This patch uses ref_sink() when pygobject takes its own reference, to
23946 avoid adding that extra reference. Hence we now claim ownership on
23947 objects returned by constructors with transfer=none (which is the case
23948 for nearly all the widget constructors, despite the floating ref).
23950 https://bugzilla.gnome.org/show_bug.cgi?id=640868
23952 gobject/pygobject.c | 4 +++-
23953 tests/test_everything.py | 9 ++++++++-
23954 2 files changed, 11 insertions(+), 2 deletions(-)
23956 commit afeaaa126f7cd6556fb855ecd0facc174c0f946c
23957 Author: Simon Schampijer <simon@laptop.org>
23958 Date: Wed Jan 19 16:19:46 2011 +0100
23960 Gdk.Window: Map the standard constructor to the *new* constructor
23962 Gdk.Window had to be made abstract
23963 (see c4a36d875235e0bf1e52dbf2fa14d08bfc8bd4ec in gtk),
23964 this override allows using the standard constructor
23966 This commit adds as well a testcase.
23968 https://bugzilla.gnome.org/show_bug.cgi?id=639936
23970 gi/overrides/Gdk.py | 6 ++++++
23971 tests/test_overrides.py | 8 ++++++++
23972 2 files changed, 14 insertions(+)
23974 commit 4a67f45880433905de33632fe0c32a13b44c0b33
23975 Author: John (J5) Palmieri <johnp@redhat.com>
23976 Date: Mon Jan 31 16:51:37 2011 -0500
23978 [gi] handle hash being NULL
23980 gi/pygi-argument.c | 6 ++++++
23981 1 file changed, 6 insertions(+)
23983 commit 2fbfe410f4b4394a2018ada0e538585c1bec23ae
23984 Author: John (J5) Palmieri <johnp@redhat.com>
23985 Date: Mon Jan 31 16:50:52 2011 -0500
23987 [gi] handle the situation where an aux arg comes before its parent
23989 gi/pygi-cache.c | 70
23990 ++++++++++++++++++++++++++++++++++++++++----------------
23991 gi/pygi-invoke.c | 2 +-
23992 2 files changed, 51 insertions(+), 21 deletions(-)
23994 commit 858669f92c9907dd70b4966d6a8521ed122225be
23995 Author: Martin Pitt <martin.pitt@ubuntu.com>
23996 Date: Mon Jan 31 17:38:52 2011 +0100
23998 Ship tests/org.gnome.test.gschema.xml in dist tarballs
24000 tests/Makefile.am | 3 ++-
24001 1 file changed, 2 insertions(+), 1 deletion(-)
24003 commit 77d76df59606e470808085e977fb199cc76e8251
24004 Author: John (J5) Palmieri <johnp@redhat.com>
24005 Date: Sun Jan 30 18:21:24 2011 -0500
24007 [gi] allow caching and marshalling of ghash out
24009 gi/pygi-argument.c | 155
24010 +++++++++++++++++++++++++++++++++++++++++++++++++----
24011 gi/pygi-cache.c | 27 ++++++----
24012 2 files changed, 162 insertions(+), 20 deletions(-)
24014 commit bd66af67f248a3ca90d2fa2626605263c2392e16
24015 Author: John (J5) Palmieri <johnp@redhat.com>
24016 Date: Sun Jan 30 17:06:44 2011 -0500
24018 [gi] whitespace fixes
24020 gi/pygi-cache.c | 60
24021 ++++++++++++++++++++++++++++-----------------------------
24022 1 file changed, 30 insertions(+), 30 deletions(-)
24024 commit 1cdbd4be9b015f792c2c02afa5ac7e24edbdae86
24025 Author: John (J5) Palmieri <johnp@redhat.com>
24026 Date: Sun Jan 30 17:04:13 2011 -0500
24028 [gi] added ugly aux arg counters
24030 * we need to simplify the ffi invoke so we can simply reference args
24031 at their position in the C parameter list
24032 * this works for now but is fragile if new aux values are added in
24035 gi/pygi-argument.c | 12 ++++++++--
24036 gi/pygi-cache.c | 66
24037 +++++++++++++++++++++++++++++++++++++-----------------
24038 gi/pygi-cache.h | 2 ++
24039 gi/pygi-invoke.c | 12 +++++++---
24040 4 files changed, 66 insertions(+), 26 deletions(-)
24042 commit c51447f4efde2ce4caf39c1ffac905ec428d1d64
24043 Author: John (J5) Palmieri <johnp@redhat.com>
24044 Date: Sun Jan 30 11:30:54 2011 -0500
24046 [gi] make inout marshalling work
24048 * refactor cache generation so we can create caches and then fill
24050 values based on if they are in, out or inout
24051 * in invoke we order the pointers based on their direction
24053 gi/pygi-cache.c | 1445
24054 ++++++++++++++++++++++++++----------------------------
24055 gi/pygi-invoke.c | 19 +-
24056 2 files changed, 711 insertions(+), 753 deletions(-)
24058 commit 2b185362de45f46ce0f0b8816499aef06ab1ad1e
24059 Author: John (J5) Palmieri <johnp@redhat.com>
24060 Date: Sat Jan 29 13:49:36 2011 -0500
24062 [gi] marshal arrays out
24064 gi/pygi-argument.c | 101
24065 +++++++++++++++++++++++++++++++++++++++++++++++++++--
24066 1 file changed, 99 insertions(+), 2 deletions(-)
24068 commit e62e7062d5cfd782eac64852f681c63e2776b8d4
24069 Author: John (J5) Palmieri <johnp@redhat.com>
24070 Date: Sat Jan 29 13:48:23 2011 -0500
24072 [gi] fix sequence caching to support out
24074 gi/pygi-cache.c | 111
24075 ++++++++++++++++++++++++++++++++++++++++++++------------
24076 1 file changed, 87 insertions(+), 24 deletions(-)
24078 commit 69207910209ebfe450df616aeb8fa4cc2e7eccf3
24079 Author: Martin Pitt <martin.pitt@ubuntu.com>
24080 Date: Fri Jan 28 17:14:19 2011 +0100
24082 [gi] Add GSettings tests
24084 Ryan Lortie proposed an override for more convenient GSettings access,
24086 first make sure that the canonical GLib API works.
24088 tests/Makefile.am | 7 +++++--
24089 tests/org.gnome.test.gschema.xml | 16 ++++++++++++++++
24090 tests/test_overrides.py | 31 +++++++++++++++++++++++++++++++
24091 3 files changed, 52 insertions(+), 2 deletions(-)
24093 commit 488478a83640d50baee963337fcc870fec76b784
24094 Author: Martin Pitt <martin.pitt@ubuntu.com>
24095 Date: Fri Jan 28 07:20:26 2011 +0100
24097 [gi] Provide GtkTextBuffer.insert_with_tags_by_name()
24099 Provide an actual insert_with_tags_by_name() instead of overloading
24100 insert_with_tags() to handle both types. This keeps the overrides
24102 with the actual GTK API.
24104 gi/overrides/Gtk.py | 19 ++++++++++++++-----
24105 tests/test_overrides.py | 4 ++--
24106 2 files changed, 16 insertions(+), 7 deletions(-)
24108 commit dace1a553793fb7fb054b60760f02c9e5cf00b38
24109 Author: Martin Pitt <martin.pitt@ubuntu.com>
24110 Date: Thu Jan 27 13:37:18 2011 +0100
24112 [gi] Support tag names in GtkTextBuffer.insert_with_tags()
24114 Neither insert_with_tags() nor insert_with_tags_by_name() are
24116 due to using varargs. As both are useful, support both cases in
24119 gi/overrides/Gtk.py | 5 +++++
24120 tests/test_overrides.py | 9 +++++++++
24121 2 files changed, 14 insertions(+)
24123 commit 91d34124b2a5128e93e13c7fee8693d5edc4e9bb
24124 Author: Ignacio Casal Quinteiro <icq@gnome.org>
24125 Date: Thu Jan 27 12:23:18 2011 +0100
24127 Add MAINTAINERCLEANFILES
24129 This var behaves like .gitignore and allows us to skip some specific
24132 Makefile.am | 27 +++++++++++++++++++++++++++
24133 1 file changed, 27 insertions(+)
24135 commit 8a98d26981ce68809a21c64cac4962e58c927905
24136 Author: Ignacio Casal Quinteiro <icq@gnome.org>
24137 Date: Thu Jan 27 12:15:30 2011 +0100
24139 Remove .gitignore files and use git.mk
24141 git.mk is a script maintained in pango. From time to time we must
24142 check if it was updated and update it here.
24144 .gitignore | 46 -----------
24146 codegen/.gitignore | 2 -
24147 codegen/Makefile.am | 2 +
24148 docs/.gitignore | 7 --
24149 docs/Makefile.am | 2 +
24150 examples/Makefile.am | 2 +
24151 gi/.gitignore | 40 ----------
24152 gi/Makefile.am | 2 +
24153 gi/overrides/Makefile.am | 2 +
24154 gi/repository/Makefile.am | 2 +
24155 gi/tests/Makefile.am | 2 +
24157 ++++++++++++++++++++++++++++++++++++++++++++++
24158 glib/Makefile.am | 2 +
24159 gobject/.gitignore | 3 -
24160 gobject/Makefile.am | 2 +
24161 tests/.gitignore | 2 -
24162 tests/Makefile.am | 2 +
24163 18 files changed, 222 insertions(+), 100 deletions(-)
24165 commit 331c42b63bc60a3b906fa21e1c0a7c1b9428f347
24166 Author: Martin Pitt <martin.pitt@ubuntu.com>
24167 Date: Thu Jan 27 12:04:19 2011 +0100
24169 pygi-convert.sh: Convert Pango.TabAlign.*
24171 pygi-convert.sh | 1 +
24172 1 file changed, 1 insertion(+)
24174 commit be1a2959fa0a3d8682e0e8aef389d73dacab0689
24175 Author: Martin Pitt <martin.pitt@ubuntu.com>
24176 Date: Thu Jan 27 12:02:39 2011 +0100
24178 pygi-convert.sh: Drop window -> get_window() conversion
24180 It is doing more harm than good for projects which use things like
24183 pygi-convert.sh | 1 -
24184 1 file changed, 1 deletion(-)
24186 commit dd7deb4b658c56857c26b1a278a3d688f2ea6a2a
24187 Author: Martin Pitt <martin.pitt@ubuntu.com>
24188 Date: Thu Jan 27 11:58:26 2011 +0100
24190 pygi-convert.sh: Don't convert self.window assignments
24192 pygi-convert.sh | 2 +-
24193 1 file changed, 1 insertion(+), 1 deletion(-)
24195 commit 975341a26772966d4afc87a88a6a566d61237fa0
24196 Author: Steve Frécinaux <code@istique.net>
24197 Date: Fri Jan 21 18:41:54 2011 +0100
24199 Fix leaked python reference in python-defined subclasses
24201 https://bugzilla.gnome.org/show_bug.cgi?id=640184
24203 gobject/gobjectmodule.c | 1 +
24204 tests/test_gobject.py | 4 ++++
24205 2 files changed, 5 insertions(+)
24207 commit a59e2d58bdb3f31a4f415dbe14b7d9988ac28ce3
24208 Author: Steve Frécinaux <code@istique.net>
24209 Date: Fri Jan 21 15:54:43 2011 +0100
24211 Add some tests for the number of python refs held at creation time
24213 https://bugzilla.gnome.org/show_bug.cgi?id=640184
24215 tests/test_gobject.py | 21 +++++++++++++++++++++
24216 1 file changed, 21 insertions(+)
24218 commit 7d70105eb324ea4b6a58c2d3fb3f2dda36e7ab33
24219 Author: Steve Frécinaux <code@istique.net>
24220 Date: Fri Jan 21 17:24:49 2011 +0100
24222 Factor out parameter marshalling from construction functions.
24224 https://bugzilla.gnome.org/show_bug.cgi?id=640197
24226 gobject/gobjectmodule.c | 35 ++--------------------
24227 gobject/pygobject-private.h | 5 ++++
24228 gobject/pygobject.c | 71
24229 +++++++++++++++++++++++++++------------------
24230 3 files changed, 50 insertions(+), 61 deletions(-)
24232 commit a3e0cfe8924887ecd1e07cedd2cfb999c853ac62
24233 Author: John (J5) Palmieri <johnp@redhat.com>
24234 Date: Wed Jan 26 15:34:24 2011 -0500
24236 [gi] in python 3 an array of uint8 can be bytes but not string
24238 tests/test_gi.py | 4 +++-
24239 1 file changed, 3 insertions(+), 1 deletion(-)
24241 commit 843553ea958eddec185bb660851a310dc050a14b
24242 Author: John (J5) Palmieri <johnp@redhat.com>
24243 Date: Wed Jan 26 15:30:06 2011 -0500
24245 [gi] fix Gio.FileEnumerator to reflect the Python 3 iter protocol
24247 gi/overrides/Gio.py | 6 +++++-
24248 1 file changed, 5 insertions(+), 1 deletion(-)
24250 commit 6ff357839feb39930a5f3175de3d0ed35f24d3f4
24251 Author: John (J5) Palmieri <johnp@redhat.com>
24252 Date: Wed Jan 26 15:17:03 2011 -0500
24254 [gi] python 3 fixes
24256 Patches need to work in Python 3 - here are some of the issues I
24258 Patch submitters should keep this in mind. When I note to only
24260 in tests it means that there is a compat module that is only available
24262 tests. Actuall code should either add the workaround to the top
24264 module or try not to have a distinction between things such as
24266 longs which no longer exist in Python 3
24268 * use range instead of xrange - loss of performance in Python 2 but
24270 treats range similarly to python 2's xrange
24271 * use dict.items() instead of dict.iteritems() - same as the xrange
24273 * callable does not exist in 3.x, use hasattr(obj, '__call__') or
24275 if sys.version_info > (3, 0):
24277 return hasattr(obj, '__call__')
24279 * using unicode in tests is tricky, you can't use u'' even in
24281 conditional as python3's parser chokes on it. Do this in tests
24285 from compathelper import _unicode
24286 unicode_string = _unicode('this is a unicode string')
24288 * exception caching changed in 2.7, instead of except Exception,
24290 except Exception as e. Do this to be compatible with older
24294 etype, e = sys.exc_info()[:2]
24296 * Unbound methods with an im_func attribute no longer exits in 3.x.
24297 Unbound methods are now just functions so class.method in 3.x is
24298 equivalent to class.method.im_func in 2.x. If you have to go this
24301 func = class1.method
24302 if sys.version_info < (3,0):
24303 func = func.im_func
24305 * all numbers are long in 3.x so 42L is invalid in 3.x. In tests (and
24306 only in tests) do this:
24308 from compathelper import _long
24311 gi/overrides/GLib.py | 16 ++++++++--------
24312 gi/types.py | 5 ++++-
24313 tests/compathelper.py | 19 +++++++++++++++++++
24314 tests/test_gdbus.py | 12 ++++++++----
24315 tests/test_gi.py | 19 ++++++++++++-------
24316 tests/test_overrides.py | 8 +++++---
24317 6 files changed, 56 insertions(+), 23 deletions(-)
24319 commit 832d662b9f90f5762bbf28b3cca73f947c1f83ce
24320 Author: John (J5) Palmieri <johnp@redhat.com>
24321 Date: Wed Jan 26 14:00:08 2011 -0500
24323 [gi] fix try/except blocks using depricated raise format
24325 gi/overrides/GLib.py | 4 ++--
24326 gi/overrides/Gdk.py | 2 +-
24327 2 files changed, 3 insertions(+), 3 deletions(-)
24329 commit d3e30e240fed6ef1dd40fd29fd13dc2effc6c7b1
24330 Author: Martin Pitt <martin.pitt@ubuntu.com>
24331 Date: Wed Jan 26 19:03:48 2011 +0100
24333 [gi] Add docstring to GLib.Variant constructor
24335 gi/overrides/GLib.py | 11 +++++++++++
24336 1 file changed, 11 insertions(+)
24338 commit 963cd52fec26f7a4fb34414f8ac6662932ede322
24339 Author: Martin Pitt <martin.pitt@ubuntu.com>
24340 Date: Wed Jan 26 18:45:38 2011 +0100
24342 [gi] update gdbus test cases for previous GVariant change
24344 tests/test_gdbus.py | 4 ++--
24345 1 file changed, 2 insertions(+), 2 deletions(-)
24347 commit 27e3a6276ff5f2cdc03ddf69ee80d44c3bf2c094
24348 Author: Martin Pitt <martin.pitt@ubuntu.com>
24349 Date: Wed Jan 26 18:39:17 2011 +0100
24351 [gi] Accept only a single object in GLib.Variant constructor
24353 We previously allowed flat arguments for tuple signatures, e. g.
24355 GLib.Variant('(ii)', 1, 2)
24357 However, that's not how GVariant is supposed to work. Remove the
24359 to handle flat argument lists, and only accept a single value, i. e.
24361 GLib.Variant('(ii)', (1, 2))
24363 Note that this breaks the current API, but as it is not used widely
24367 Thanks to Ryan Lortie for pointing this out!
24369 gi/overrides/GLib.py | 25 ++++++++++---------------
24370 tests/test_overrides.py | 32 +++++++++++++-------------------
24371 2 files changed, 23 insertions(+), 34 deletions(-)
24373 commit b15e8e2c0c933d0f827a70280faf875ac383d81b
24374 Author: Laszlo Pandy <lpandy@src.gnome.org>
24375 Date: Wed Jan 26 00:40:49 2011 +0100
24377 Speed up _setup_native_vfuncs()
24379 This changes _setup_native_vfuncs() to only install native
24380 vfunc wrappers from the current class on the current class.
24381 Native vfuncs will not be propogated up or down the class
24382 hierarchy as this is unnecessary and wastes CPU and memory.
24384 Since the normal process in python to retrieve a method or
24385 attribute recurses to the base classes if an attribute is not
24386 found in the subclass, there is no need to setup all base class
24387 virtual functions on a subclass.
24389 This patch removes the recursion in _setup_native_vfuncs()
24390 and lets Python find them in the base classes like a normal
24391 Python class would work. This significantly increases the speed
24392 of any class which is or inherits from a C class which includes
24395 https://bugzilla.gnome.org/show_bug.cgi?id=640629
24397 gi/types.py | 26 +++++++++++++-------------
24398 tests/test_gi.py | 13 +++++++++++++
24399 2 files changed, 26 insertions(+), 13 deletions(-)
24401 commit 569d42ac2f50fb706ef289ff631db743483f40ee
24402 Author: Laszlo Pandy <lpandy@src.gnome.org>
24403 Date: Thu Jan 20 16:26:18 2011 +0100
24405 Speed up class creation: rewrite _setup_vfuncs() to be much more
24408 This patch rewrites the _setup_vfuncs() method to remove recursion and
24409 make the running time linear in the number of virtual functions to
24411 (ie. methods starting with "do_") instead of linear in the number of
24412 virtual functions in the base class which could possibly be
24415 Since most classes do not override all of the virtual functions in the
24416 base class (and many override none), this runs much faster.
24418 It is possible to not recurse on all base classes because
24420 base classes will have the virtual function installed as an attribute.
24421 Thus getattr() can be called, which recurses to the base classes much
24422 faster than a custom implementation in Python. If the method cannot be
24423 found with getattr(), all interface bases classes are searched
24426 The function is_function_in_classes() has been deleted. Because of the
24427 above changes, it is not used anymore.
24429 https://bugzilla.gnome.org/show_bug.cgi?id=640073
24432 ++++++++++++++++++++++++++++++++++---------------------
24433 tests/test_gi.py | 13 +++++++
24434 2 files changed, 77 insertions(+), 40 deletions(-)
24436 commit 8f4e6536f3c2edf38a45632d1c23eb7c6681c3be
24437 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24438 Date: Mon Jan 24 19:23:19 2011 +0100
24440 pygi-convert.sh: Convert gtk.UI_MANAGER_*
24442 pygi-convert.sh | 1 +
24443 1 file changed, 1 insertion(+)
24445 commit 1f473b5164407a178203eb8cc7f3c786e0d0e5c2
24446 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24447 Date: Fri Jan 21 18:41:54 2011 +0100
24449 pygi-convert.sh: Convert gdk.GRAB_*
24451 pygi-convert.sh | 1 +
24452 1 file changed, 1 insertion(+)
24454 commit f5d0b7b9d189f65503c0bf66d8bda4186ca3223a
24455 Author: Ignacio Casal Quinteiro <icq@gnome.org>
24456 Date: Fri Jan 21 16:45:07 2011 +0100
24458 [gi] set the gtype GValue correctly
24460 gi/pygi-property.c | 4 ++--
24461 1 file changed, 2 insertions(+), 2 deletions(-)
24463 commit ce521011d7f6d7f082aaea76fa05c5af9f6e93f5
24464 Author: Ignacio Casal Quinteiro <icq@gnome.org>
24465 Date: Fri Jan 21 16:20:23 2011 +0100
24467 [gi] use the right argument type for callback
24469 gi/pygi-foreign-cairo.c | 8 ++++----
24470 gi/pygi-foreign-gvariant.c | 4 ++--
24471 gi/pygi-foreign-gvariant.h | 2 +-
24472 gi/pygi-foreign.c | 2 +-
24474 5 files changed, 9 insertions(+), 9 deletions(-)
24476 commit 9f101baaa63a75acf62f955cfc4b311ff0dd5464
24477 Author: John (J5) Palmieri <johnp@redhat.com>
24478 Date: Fri Jan 21 09:23:54 2011 -0500
24480 [gi] marshal out flags and enum
24482 gi/pygi-argument.c | 14 +++++++++-----
24483 gi/pygi-cache.c | 24 ++++++++++++------------
24484 2 files changed, 21 insertions(+), 17 deletions(-)
24486 commit 4c93bdeae76830aa4029dfc86e32e6f277d5271d
24487 Author: John (J5) Palmieri <johnp@redhat.com>
24488 Date: Fri Jan 21 08:18:37 2011 -0500
24490 [gi] marshal unions
24492 gi/pygi-cache.c | 27 +++++++++++++--------------
24493 1 file changed, 13 insertions(+), 14 deletions(-)
24495 commit a060287d1a6d190acb9d344f08fd5662e3296da5
24496 Author: Martin Pitt <martin.pitt@ubuntu.com>
24497 Date: Fri Jan 21 11:00:27 2011 +0100
24499 [gi] Add test cases for GDBus client operations
24501 tests/Makefile.am | 1 +
24502 tests/test_gdbus.py | 94
24503 +++++++++++++++++++++++++++++++++++++++++++++++++++++
24504 2 files changed, 95 insertions(+)
24506 commit e7699d9af41f8c374326b8a4ec0939ef1426e386
24507 Author: John (J5) Palmieri <johnp@redhat.com>
24508 Date: Fri Jan 21 04:28:15 2011 -0500
24510 [gi] error out if the constructor returns NULL
24512 gi/pygi-invoke.c | 7 +++++++
24513 1 file changed, 7 insertions(+)
24515 commit 58ff2b2c38c1004861083ca88633be76767229f0
24516 Author: John (J5) Palmieri <johnp@redhat.com>
24517 Date: Fri Jan 21 04:26:45 2011 -0500
24519 [gi] throw error for caller allocates until we can write code to
24522 gi/pygi-cache.c | 11 +++++++++++
24523 1 file changed, 11 insertions(+)
24525 commit 5eb779439daa8bf1e86df689377dc10ef1430eab
24526 Author: John (J5) Palmieri <johnp@redhat.com>
24527 Date: Fri Jan 21 04:26:11 2011 -0500
24529 [gi] support struct out
24531 gi/pygi-argument.c | 30 ++++++++++++++++++++++++++----
24532 gi/pygi-cache.c | 15 ++-------------
24533 2 files changed, 28 insertions(+), 17 deletions(-)
24535 commit 3133dc595adf44279397d30712c0f8595f0e1acc
24536 Author: John (J5) Palmieri <johnp@redhat.com>
24537 Date: Fri Jan 21 04:22:06 2011 -0500
24539 [gi] move to using type_info and interface_info instead of arg_info
24541 * only arguments have arg_infos, not return types and instances so
24542 type_info is much better to pass. In fact most API that took an
24543 arg_info simply converted it to a type_info
24544 * In the case of instances for methods we don't even have a type_info.
24545 Since all instances are interfaces, we also attach the
24547 to the interface cache
24549 gi/pygi-argument.c | 20 ++++----------------
24550 gi/pygi-cache.c | 43
24551 ++++++++++++++++++++++++++++++++-----------
24552 gi/pygi-cache.h | 4 +++-
24553 gi/pygi-foreign-cairo.c | 24 ++++++++++++------------
24554 gi/pygi-foreign-gvariant.c | 11 +++++------
24555 gi/pygi-foreign-gvariant.h | 10 +++++-----
24556 gi/pygi-foreign.c | 21 +++++++++------------
24557 gi/pygi-foreign.h | 6 +++---
24558 gi/pygi.h | 8 ++++----
24559 9 files changed, 77 insertions(+), 70 deletions(-)
24561 commit e97e28048efb966ecc1a03277d36cbaa81b8db7d
24562 Author: Martin Pitt <martin.pitt@ubuntu.com>
24563 Date: Fri Jan 21 09:54:14 2011 +0100
24565 [gi] Add Variant construction/unpack support for boxed Variants
24567 Construction uses a GVariantBuilder for now, as the new_variant()
24569 currently does not work (see
24570 https://bugzilla.gnome.org/show_bug.cgi?id=639952)
24572 gi/overrides/GLib.py | 18 +++++++++++++++++-
24573 tests/test_overrides.py | 26 ++++++++++++++++++++++++++
24574 2 files changed, 43 insertions(+), 1 deletion(-)
24576 commit 71dd03261fc06b8180c14cd31b54d8e4b200be3a
24577 Merge: bc29600 bd002c7
24578 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24579 Date: Fri Jan 21 09:33:16 2011 +0100
24581 Merge branch 'windows-setup-fixes'
24583 commit bc29600a2a04c972ceab7ef8d3292e8633977591
24584 Author: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
24585 Date: Thu Jan 20 19:48:23 2011 +0100
24587 pygi-convert.sh: GdkPixbuf methods
24591 pygi-convert.sh | 1 +
24592 1 file changed, 1 insertion(+)
24594 commit d1b0fa501cc431baa530d96fb50f4c35590890ac
24595 Author: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
24596 Date: Thu Jan 20 19:45:01 2011 +0100
24598 pygi-convert.sh: Gdk.COLORSPACE_RGB
24602 pygi-convert.sh | 1 +
24603 1 file changed, 1 insertion(+)
24605 commit 6d8ff4d5bdda5480089543869535cc3ee83da2f5
24606 Author: Martin Pitt <martin.pitt@ubuntu.com>
24607 Date: Wed Jan 19 11:41:11 2011 +0100
24609 [gi] Support nested objects and empty sequences in GLib.Variant
24612 The GVariant constructor (in the overrides) previously did not
24614 arrays/dictionaries or nested structures. Rewrite the VariantCreator
24616 be fully recursive and determine the element types of
24617 arrays/dictionaries.
24619 This now also allows you to use actual tuples as input values for
24621 tuple types. Taking values from the flat argument list is still
24623 convenience, though.
24625 https://bugzilla.gnome.org/show_bug.cgi?id=639939
24627 gi/overrides/GLib.py | 229
24628 ++++++++++++++++++++++++++----------------------
24629 tests/test_overrides.py | 159 +++++++++++++++++++++++++++++++--
24630 2 files changed, 273 insertions(+), 115 deletions(-)
24632 commit ac095f5435f106e175fa3297cb273e63c85d2809
24633 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24634 Date: Thu Jan 20 15:55:45 2011 +0100
24636 Uncomment test_gi.TestInterfaceClash
24638 tests/test_gi.py | 22 +++++++++++-----------
24639 1 file changed, 11 insertions(+), 11 deletions(-)
24641 commit 1239f3709ba257c404dda72b7067b77b19c240fa
24642 Author: John (J5) Palmieri <johnp@redhat.com>
24643 Date: Thu Jan 20 09:05:02 2011 -0500
24645 [gi] add support for enum and flags
24647 gi/pygi-argument.c | 121
24648 +++++++++++++++++++++++++++++++++++++++++------------
24649 gi/pygi-cache.c | 30 ++++++-------
24650 2 files changed, 111 insertions(+), 40 deletions(-)
24652 commit f0a0b6c2eda89622de2b1e5ebb6a48103ad72a42
24653 Author: Steve Frécinaux <code@istique.net>
24654 Date: Thu Jan 20 14:14:15 2011 +0100
24656 Fix reference leaks for GInitiallyUnowned objects
24658 References were leaked for GInitiallyUnowned objects which got their
24659 wrappers created several times, because someone else holds reference
24660 on it and it got out of python scope at some point.
24662 https://bugzilla.gnome.org/show_bug.cgi?id=639949
24664 gobject/gobjectmodule.c | 2 ++
24665 gobject/pygobject.c | 14 +++++------
24666 tests/test-floating.c | 36 +++++++++++++++++++++++++++
24667 tests/test-floating.h | 21 ++++++++++++++++
24668 tests/test_gobject.py | 63
24669 ++++++++++++++++++++++++++++++++++++++++++++++++
24670 tests/testhelpermodule.c | 50 ++++++++++++++++++++++++++++++++++++++
24671 6 files changed, 179 insertions(+), 7 deletions(-)
24673 commit cae2cf3d4fb049c94389bf8f84d7d97a544d7a3f
24674 Author: Steve Frécinaux <code@istique.net>
24675 Date: Wed Jan 19 16:57:57 2011 +0100
24677 Add tests for refcount of a GObject owned by a library
24679 When the object is constructed, its refcount is 2 because the library
24680 refs it once. It should remain around until we ask the library to
24681 release its reference.
24683 https://bugzilla.gnome.org/show_bug.cgi?id=639949
24685 tests/test-floating.c | 30 +++++++++++++++++++++++
24686 tests/test-floating.h | 20 ++++++++++++++++
24687 tests/test_gobject.py | 62
24688 ++++++++++++++++++++++++++++++++++++++++++++++++
24689 tests/testhelpermodule.c | 51 +++++++++++++++++++++++++++++++++++++++
24690 4 files changed, 163 insertions(+)
24692 commit b6737b91938d527872eff1d645a205cacf94e15d
24693 Author: Steve Frécinaux <code@istique.net>
24694 Date: Wed Jan 19 14:52:41 2011 +0100
24696 Add a test to check for regular object reference count
24698 https://bugzilla.gnome.org/show_bug.cgi?id=639949
24700 tests/test_gobject.py | 8 +++++++-
24701 1 file changed, 7 insertions(+), 1 deletion(-)
24703 commit 2b0f1ede820414ef1cfd6b37569fcb946d2031fc
24704 Author: Martin Pitt <martin.pitt@ubuntu.com>
24705 Date: Thu Jan 20 14:15:52 2011 +0100
24707 [gi] Update TreeView.enable_model_drag_{source,dest} to current GTK
24709 GTK master now landed a lot of annotation fixes which also correctly
24711 array length argument of
24712 Gtk.TreeView.enable_model_drag_{source,dest}(). Thus
24713 drop the explicit array length argument from the call in the override.
24715 gi/overrides/Gtk.py | 2 --
24716 1 file changed, 2 deletions(-)
24718 commit b59edf4f0f7cab44033f9d704d476e10ee0d0c0a
24719 Author: Steve Frécinaux <code@istique.net>
24720 Date: Wed Jan 19 18:04:10 2011 +0100
24722 Fix a typo in a private symbol name.
24724 gobject/gobjectmodule.c | 6 +++---
24725 1 file changed, 3 insertions(+), 3 deletions(-)
24727 commit 6447688e283a8fb22de3ab68cbc06e34ad23d198
24728 Author: Martin Pitt <martin.pitt@ubuntu.com>
24729 Date: Thu Jan 20 11:49:08 2011 +0100
24731 pygi-convert.sh: Convert glib.source_remove()
24733 pygi-convert.sh | 1 +
24734 1 file changed, 1 insertion(+)
24736 commit 84ee8de4bc00a8f901926cc6386d73c12dbd0b0b
24737 Author: Martin Pitt <martin.pitt@ubuntu.com>
24738 Date: Thu Jan 20 11:42:34 2011 +0100
24740 Fix typo in previous commit to actually convert glib.GError
24742 pygi-convert.sh | 2 +-
24743 1 file changed, 1 insertion(+), 1 deletion(-)
24745 commit b238cb614338f46e6feb7935cca0a55c7a929418
24746 Author: Martin Pitt <martin.pitt@ubuntu.com>
24747 Date: Thu Jan 20 11:40:14 2011 +0100
24749 pygi-convert.sh: Move some glib bits which are better handled
24752 pygi-convert.sh | 3 +++
24753 1 file changed, 3 insertions(+)
24755 commit 21c09a7ee294b59abb3eca6f64f13bf5c8a2fa0e
24756 Author: Laszlo Pandy <lpandy@src.gnome.org>
24757 Date: Wed Jan 19 12:00:02 2011 +0100
24759 Modify override for Gtk.Adjustment to allow position or keyword
24760 arguments in __init__().
24762 Previously passing no arguments was not working, because the default
24763 value for each parameter was None, and GObject.__init__() refuses to
24764 allow None for integer properties. This patch does not pass None up
24765 to GObject.__init__. Instead it does not pass the parameter at all,
24766 and uses the class's default values.
24768 https://bugzilla.gnome.org/show_bug.cgi?id=639934
24770 gi/overrides/Gtk.py | 14 ++++++++++++--
24771 tests/test_overrides.py | 34 +++++++++++++++++++++++++++-------
24772 2 files changed, 39 insertions(+), 9 deletions(-)
24774 commit d465e25297ad6589ff2cd0c00e11e8bd8ffe3f78
24775 Author: Martin Pitt <martin.pitt@ubuntu.com>
24776 Date: Wed Jan 19 22:52:51 2011 +0100
24778 [gi] Fix small typo in previous commit
24780 The GVariant signature of the self test had a trailing 'i'. The
24782 GVariant builder doesn't mind, but the new implementation proposed
24786 tests/test_overrides.py | 2 +-
24787 1 file changed, 1 insertion(+), 1 deletion(-)
24789 commit 2b8e1d0531dcb8f57dc9f2fddf25970bee3daa90
24790 Author: Martin Pitt <martin.pitt@ubuntu.com>
24791 Date: Wed Jan 19 20:18:19 2011 +0100
24793 [gi] Add pythonic iterator and indexing for string GVariants
24795 This extends commit b1a98083c to also work for strings.
24797 gi/overrides/GLib.py | 8 +++++++-
24798 tests/test_overrides.py | 13 +++++++++++++
24799 2 files changed, 20 insertions(+), 1 deletion(-)
24801 commit 8efd14c87b35072cdd039bf223f8ced8f51be9bb
24802 Author: John (J5) Palmieri <johnp@redhat.com>
24803 Date: Wed Jan 19 14:08:03 2011 -0500
24805 [gi] return NULL if out_marshaller fails
24807 gi/pygi-invoke.c | 5 +++++
24808 1 file changed, 5 insertions(+)
24810 commit 5b1db41d60204c8021f47f43b85dac126c389c8d
24811 Author: John (J5) Palmieri <johnp@redhat.com>
24812 Date: Wed Jan 19 13:57:54 2011 -0500
24814 [gi] fix some transfer issues and test case failures
24816 gi/pygi-argument.c | 4 ++++
24817 gi/pygi-cache.c | 11 ++++++++---
24818 gi/pygi-invoke.c | 17 +++++++++--------
24819 3 files changed, 21 insertions(+), 11 deletions(-)
24821 commit 7c2f48bb6d67ec9a1ee5ac03a5aee34b54c6ebdd
24822 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24823 Date: Wed Jan 19 18:09:23 2011 +0100
24825 Construct structs using default API constructor
24827 If the struct has something that looks like a default constructor,
24828 use it instead of trying to directly allocate it, as it will fail
24829 if the struct fields are not exposed.
24831 https://bugzilla.gnome.org/show_bug.cgi?id=627444
24833 gi/pygi-info.c | 37 +++++++++++++++++++++++++++++++++++++
24834 gi/types.py | 7 +++++++
24835 2 files changed, 44 insertions(+)
24837 commit db7300e173388d9557dcd2333781bfaa6b021605
24838 Author: Martin Pitt <martin.pitt@ubuntu.com>
24839 Date: Wed Jan 19 18:54:39 2011 +0100
24841 pygi-convert.sh: Migrate Gdk.Cursor constructor, and some cursor names
24843 pygi-convert.sh | 2 ++
24844 1 file changed, 2 insertions(+)
24846 commit 4c1d4faddf1c9cb233c484da3eadd8e31c231f70
24847 Author: Martin Pitt <martin.pitt@ubuntu.com>
24848 Date: Wed Jan 19 18:43:29 2011 +0100
24850 pygi-convert.sh: Handle .window attributes
24852 In general, convert them to .get_window(). For some of them, prefer
24854 GtkWidget methods instead.
24856 pygi-convert.sh | 5 ++++-
24857 1 file changed, 4 insertions(+), 1 deletion(-)
24859 commit b1049b947d073fb569ba900a4d5c8519482d831e
24860 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24861 Date: Wed Jan 19 17:35:09 2011 +0100
24863 Also deal with foreign boxed structs
24865 cairo.Context has been boxed and our tests started failing
24867 https://bugzilla.gnome.org/show_bug.cgi?id=639967
24869 gi/pygi-argument.c | 4 ++--
24870 1 file changed, 2 insertions(+), 2 deletions(-)
24872 commit 25b69ae257a12b6dc97ed3f2f7ea54b166ddbba1
24873 Author: Laszlo Pandy <lpandy@src.gnome.org>
24874 Date: Wed Jan 19 17:45:11 2011 +0100
24876 [gi] Convert GErrors to GObject.GError exceptions, and throw them
24877 upon returning from calling the C function.
24879 This changes gi to make use of pyglib_error_check() which already
24882 The included tests make use of the other patch attached to this bug,
24883 to check that the right exception is thrown from the new function
24884 in GIMarshallingTests.
24885 two Gtk C functions.
24887 https://bugzilla.gnome.org/show_bug.cgi?id=639834
24889 gi/Makefile.am | 3 ++-
24890 gi/pygi-invoke.c | 12 +++---------
24891 tests/test_gi.py | 10 ++++++++++
24892 3 files changed, 15 insertions(+), 10 deletions(-)
24894 commit 18b84767db1d66e3d6f09067ab19ffd4b82539ca
24895 Author: John (J5) Palmieri <johnp@redhat.com>
24896 Date: Wed Jan 19 12:05:45 2011 -0500
24898 [gi] fix out marshalling for a couple of int types
24900 gi/pygi-argument.c | 2 +-
24901 gi/pygi-cache.c | 2 +-
24902 2 files changed, 2 insertions(+), 2 deletions(-)
24904 commit c5d7c730008275b2c585b2609fc2ff5e051cce47
24905 Author: John (J5) Palmieri <johnp@redhat.com>
24906 Date: Wed Jan 19 11:59:09 2011 -0500
24908 [gi] fixed range checking and type conversion with unsigned and
24911 gi/pygi-argument.c | 90
24912 +++++++++++++++++++++++++++++++++++++++++++++---------
24913 gi/pygi-cache.c | 2 +-
24914 2 files changed, 76 insertions(+), 16 deletions(-)
24916 commit e6fcafc6179e963cbae7774e7ee50415bde2c523
24917 Author: Martin Pitt <martin.pitt@ubuntu.com>
24918 Date: Wed Jan 19 17:03:06 2011 +0100
24920 pygi-convert.sh: Don't convert glib -> GLib for now
24922 This currently leads to a load of crashes, MemoryErrors, etc, as
24924 very well introspectable, due to the low-level operations that
24927 John Palmieri confirms that using the static "glib" binding is
24929 now, so disable the replacement rules.
24931 pygi-convert.sh | 19 ++++++++++---------
24932 1 file changed, 10 insertions(+), 9 deletions(-)
24934 commit 167261d556eab0d2e448c7ed28eef540a024ba1d
24935 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24936 Date: Wed Jan 19 16:47:08 2011 +0100
24938 Link libregress.so to GIO_LIBS again
24940 configure.ac | 5 +++++
24941 1 file changed, 5 insertions(+)
24943 commit d143afa6da4f5b5f47be8df11fa41d7b47ab1794
24944 Author: Laszlo Pandy <lpandy@src.gnome.org>
24945 Date: Wed Jan 19 16:14:42 2011 +0100
24947 Fix attributes 2BUTTON_PRESS and 3BUTTON_PRESS of Gdk.EventType.
24949 This puts an underscore in front of 2BUTTON_PRESS and 3BUTTON_PRESS
24950 because in Python attributes starting with a numeral causes a
24953 gi/overrides/Gdk.py | 7 +++++--
24954 1 file changed, 5 insertions(+), 2 deletions(-)
24956 commit 4f5d20966d4a8c649e5fae584039621edab178f3
24957 Author: John (J5) Palmieri <johnp@redhat.com>
24958 Date: Wed Jan 19 10:02:40 2011 -0500
24960 [gi] use correct format stings when setting errors
24962 gi/pygi-argument.c | 12 ++++++------
24963 1 file changed, 6 insertions(+), 6 deletions(-)
24965 commit 7f08fd5c33ee5c9907f5becbe2f21fb7122d6e19
24966 Author: John (J5) Palmieri <johnp@redhat.com>
24967 Date: Wed Jan 19 09:45:09 2011 -0500
24969 [gi] allow marshalling strings as None
24971 gi/pygi-argument.c | 5 +++++
24972 1 file changed, 5 insertions(+)
24974 commit 093242a9e125998cd07bf66fc4b2880f532a2e4d
24975 Author: John (J5) Palmieri <johnp@redhat.com>
24976 Date: Wed Jan 19 09:41:56 2011 -0500
24978 [gi] make error messages more detailed
24980 gi/pygi-argument.c | 2 +-
24981 gi/pygi-cache.c | 18 +++++++++---------
24982 2 files changed, 10 insertions(+), 10 deletions(-)
24984 commit f0b17605ed2eb917b350654b070984beb553eae3
24985 Author: John (J5) Palmieri <johnp@redhat.com>
24986 Date: Wed Jan 19 09:41:13 2011 -0500
24988 [gi] allow marshalling None for hashes
24990 gi/pygi-argument.c | 5 +++++
24991 1 file changed, 5 insertions(+)
24993 commit 93f1b787ab8420300d1064c0237a0c2d8a2ac98f
24994 Author: John (J5) Palmieri <johnp@redhat.com>
24995 Date: Wed Jan 19 09:40:37 2011 -0500
24997 [gi] add marshalling to some out values
24999 gi/pygi-argument.c | 50
25000 +++++++++++++++++++++++++++++++++++++++++---------
25001 1 file changed, 41 insertions(+), 9 deletions(-)
25003 commit 614b6ca7f45c4acbee088fe74fecf279ed50cc0c
25004 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25005 Date: Wed Jan 19 15:27:33 2011 +0100
25007 [gi] Fixed typo in exception
25009 gi/overrides/Gtk.py | 2 +-
25010 1 file changed, 1 insertion(+), 1 deletion(-)
25012 commit 5f16df31b5a5a9f45f702eee48c3a18899ea3f71
25013 Author: John (J5) Palmieri <johnp@redhat.com>
25014 Date: Wed Jan 19 09:13:44 2011 -0500
25016 [gi] fix marshalling structs
25018 gi/pygi-argument.c | 47 +++++++++++++++++++++++++++++++++++------------
25019 gi/pygi-foreign.c | 18 ++++++++++++------
25020 gi/pygi-foreign.h | 8 ++++----
25021 3 files changed, 51 insertions(+), 22 deletions(-)
25023 commit b2189424f9dd6d3a4a5b9792f0d5843fc27657d1
25024 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25025 Date: Wed Jan 19 15:12:25 2011 +0100
25027 [gi] Enable handling of Gdk.EventType.2BUTTON_PRESS and 3BUTTON_PRESS
25029 gi/overrides/Gdk.py | 4 ++--
25030 1 file changed, 2 insertions(+), 2 deletions(-)
25032 commit 5eca5ff2c9509ec96158fe43b29f0fd951243efe
25033 Author: Martin Pitt <martin.pitt@ubuntu.com>
25034 Date: Wed Jan 19 14:54:57 2011 +0100
25036 Revert "Fix Pango FontDescription override"
25039 http://library.gnome.org/devel/pango/1.28/pango-Fonts.html#pango-font-description-new
25040 the default constructor actually does take no arguments; we should
25042 the MemoryError. Add a test case for this.
25044 Remove the FIXME though, as pango_font_description_from_string()
25046 FontDescription constructor, but a static factory method.
25048 Thanks to Paolo Borelli for pointing this out!
25050 This reverts commit 8878c57676091c08e66bc6cbe735d898cb420582.
25052 gi/overrides/Pango.py | 5 ++++-
25053 tests/test_overrides.py | 5 +++++
25054 2 files changed, 9 insertions(+), 1 deletion(-)
25056 commit 9e7b95b3676a1b502662523a9bd4ebe40ccb4845
25057 Author: Tony Young <rofflwaffls@gmail.com>
25058 Date: Thu Dec 16 23:39:33 2010 +0000
25060 Python iterator interface support for GFileEnumerator.
25062 gi/overrides/Gio.py | 41 +++++++++++++++++++++++++++++++++++++++++
25063 gi/overrides/Makefile.am | 1 +
25064 tests/test_overrides.py | 20 ++++++++++++++++++++
25065 3 files changed, 62 insertions(+)
25067 commit bca5834fc8fa342149e0eec7b396877a2abe6d33
25068 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25069 Date: Fri Jan 7 12:10:37 2011 +0100
25071 Remove gio static bindings
25073 https://bugzilla.gnome.org/show_bug.cgi?id=638899
25076 configure.ac | 25 -
25077 gio/.gitignore | 3 -
25078 gio/Makefile.am | 117 -
25079 gio/__init__.py | 40 -
25080 gio/gappinfo.override | 213 --
25081 gio/gapplaunchcontext.override | 99 -
25082 gio/gbufferedinputstream.override | 70 -
25083 gio/gcancellable.override | 38 -
25084 gio/gdatainputstream.override | 250 --
25085 gio/gdrive.override | 347 --
25086 gio/gfile.override | 2215 -----------
25087 gio/gfileattribute.override | 153 -
25088 gio/gfileenumerator.override | 184 -
25089 gio/gfileinfo.override | 121 -
25090 gio/gfileinputstream.override | 68 -
25091 gio/gfileiostream.override | 68 -
25092 gio/gfileoutputstream.override | 68 -
25093 gio/gicon.override | 310 --
25094 gio/ginputstream.override | 344 --
25095 gio/gio-types.defs | 807 ----
25096 gio/gio.defs | 7465
25097 -------------------------------------
25098 gio/gio.override | 409 --
25099 gio/giomodule.c | 208 --
25100 gio/giostream.override | 68 -
25101 gio/gmemoryinputstream.override | 91 -
25102 gio/gmemoryoutputstream.override | 45 -
25103 gio/gmount.override | 454 ---
25104 gio/goutputstream.override | 292 --
25105 gio/gresolver.override | 312 --
25106 gio/gsocket.override | 575 ---
25107 gio/gvolume.override | 237 --
25108 gio/gvolumemonitor.override | 94 -
25109 gio/pygio-utils.c | 236 --
25110 gio/pygio-utils.h | 49 -
25111 gio/unix-types.defs | 55 -
25112 gio/unix.defs | 475 ---
25113 gio/unix.override | 62 -
25114 gio/unixmodule.c | 52 -
25115 tests/Makefile.am | 9 -
25116 tests/runtests-windows.py | 3 -
25117 tests/test_gcancellable.py | 15 -
25118 tests/test_gicon.py | 112 -
25119 tests/test_gio.py | 1138 ------
25120 tests/test_gresolver.py | 68 -
25121 tests/test_gsocket.py | 126 -
25122 46 files changed, 1 insertion(+), 18191 deletions(-)
25124 commit 6ab3d8d286573289cf8e41eee31eb806621f6f43
25125 Author: John (J5) Palmieri <johnp@redhat.com>
25126 Date: Wed Jan 19 07:56:16 2011 -0500
25128 [gi] switch from using (*arg). to arg-> when referencing union
25131 gi/pygi-argument.c | 54
25132 +++++++++++++++++++++++++++---------------------------
25133 1 file changed, 27 insertions(+), 27 deletions(-)
25135 commit 762ccb3d2620ea22023446b6ae79f3a111d8b56a
25136 Author: John (J5) Palmieri <johnp@redhat.com>
25137 Date: Wed Jan 19 07:49:52 2011 -0500
25139 [gi] return FALSE when setting errors in the marshaller
25141 gi/pygi-argument.c | 3 ++-
25142 1 file changed, 2 insertions(+), 1 deletion(-)
25144 commit cbaba6357937cbed3ebd34d2db1cdd59d37df118
25145 Author: John (J5) Palmieri <johnp@redhat.com>
25146 Date: Wed Jan 19 07:14:18 2011 -0500
25148 [gi] do arg counting in new invoke
25150 gi/pygi-cache.c | 2 ++
25151 gi/pygi-cache.h | 14 ++++++++------
25152 gi/pygi-invoke-state-struct.h | 2 +-
25153 gi/pygi-invoke.c | 20 +++++++++++++++++++-
25154 4 files changed, 30 insertions(+), 8 deletions(-)
25156 commit f45033858bed70d7defec3f71f26aa5b3999d680
25157 Author: John (J5) Palmieri <johnp@redhat.com>
25158 Date: Wed Jan 19 06:35:45 2011 -0500
25160 [gi] set length for uint8 in arrays in new invoke marshaller
25162 gi/pygi-argument.c | 1 +
25163 1 file changed, 1 insertion(+)
25165 commit 09f7ca7e2378e6679002677ac3f4802f4cc7d9d5
25166 Author: Ignacio Casal Quinteiro <icq@gnome.org>
25167 Date: Wed Jan 19 12:04:15 2011 +0100
25169 [gi] set length when marshalling guint8 erases
25171 gi/pygi-argument.c | 1 +
25172 tests/test_gi.py | 4 ++++
25173 2 files changed, 5 insertions(+)
25175 commit 22eee43e50a150ace80694213fb87be9f0c72f51
25176 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25177 Date: Wed Jan 19 10:27:47 2011 +0100
25179 Convert Gdk.Pixbuf to GdkPixbuf.Pixbuf
25181 pygi-convert.sh | 1 +
25182 1 file changed, 1 insertion(+)
25184 commit a4b210d69c832629894090b7154ae194209b0c60
25185 Author: Arnaud Charlet <charlet@adacore.com>
25186 Date: Tue Jan 18 18:31:29 2011 +0100
25188 Disable calls to PyGILState_* when threads are disabled
25190 Since threads may also be disabled in Python too, those symbols
25194 https://bugzilla.gnome.org/show_bug.cgi?id=374603
25196 glib/pyglib.c | 12 ++++++++++++
25197 gobject/pygobject-private.h | 6 ++++++
25198 2 files changed, 18 insertions(+)
25200 commit 329afb6fb1b3c325a6a9de2b6aca91c64d51dd9f
25201 Author: John (J5) Palmieri <johnp@redhat.com>
25202 Date: Tue Jan 18 12:31:57 2011 -0500
25204 [gi] fix handling of garrays vs c arrays
25206 gi/pygi-argument.c | 9 +++++++--
25207 gi/pygi-cache.c | 2 ++
25208 gi/pygi-cache.h | 1 +
25209 3 files changed, 10 insertions(+), 2 deletions(-)
25211 commit a000627ec3904b9414ce375aec8d144fc0c26248
25212 Author: Martin Pitt <martin.pitt@ubuntu.com>
25213 Date: Tue Jan 18 18:29:50 2011 +0100
25215 pygi-convert.sh: Do not comment out set_cell_data_func() calls;
25216 these should be ported properly
25218 pygi-convert.sh | 1 -
25219 1 file changed, 1 deletion(-)
25221 commit 99ff4610fb5ece2fc8d2f9eba13e661968adf3f0
25222 Author: Martin Pitt <martin.pitt@ubuntu.com>
25223 Date: Tue Jan 18 18:26:01 2011 +0100
25225 pygi-convert.sh: Fix match for adding missing imports
25227 pygi-convert.sh | 8 ++++----
25228 1 file changed, 4 insertions(+), 4 deletions(-)
25230 commit 3aa95011fad67df20370e92bf25236a34d7d08d3
25231 Author: Martin Pitt <martin.pitt@ubuntu.com>
25232 Date: Tue Jan 18 18:09:30 2011 +0100
25234 pygi-convert.sh: Fix Gtk.Label handling to be idempotent
25236 As we are not replacing line by line, but the whole file at once,
25238 hackish unfortunately. We can't use a match test or a lookahead/behind
25241 pygi-convert.sh | 5 +++--
25242 1 file changed, 3 insertions(+), 2 deletions(-)
25244 commit f66051380c0432bf142774542ade2144adcd455e
25245 Author: John (J5) Palmieri <johnp@redhat.com>
25246 Date: Tue Jan 18 11:44:27 2011 -0500
25248 [gi] use correct union memeber when marshalling floats
25250 gi/pygi-argument.c | 2 +-
25251 1 file changed, 1 insertion(+), 1 deletion(-)
25253 commit 36bc1c17e7d4189059337cc6a73c64edd819ec12
25254 Author: Laszlo Pandy <lpandy@src.gnome.org>
25255 Date: Tue Jan 18 17:29:52 2011 +0100
25257 Remove trailing whitespace from gi/overrides/Gtk.py
25259 gi/overrides/Gtk.py | 10 +++++-----
25260 1 file changed, 5 insertions(+), 5 deletions(-)
25262 commit 1006df1929a667716c25e74b35b8f14643358732
25263 Author: John (J5) Palmieri <johnp@redhat.com>
25264 Date: Tue Jan 18 11:24:06 2011 -0500
25266 [gi] fix constructor invoking and add some support for interface
25269 * constructors are now simplified and are treated like normal
25271 which happen to return an instance
25273 gi/pygi-argument.c | 8 ++--
25274 gi/pygi-cache.c | 132
25275 +++++++++++++++++++++++++++++++++++++++++++++++++++--
25276 gi/pygi-invoke.c | 9 ++--
25277 gi/types.py | 21 +++------
25278 4 files changed, 142 insertions(+), 28 deletions(-)
25280 commit 8878c57676091c08e66bc6cbe735d898cb420582
25281 Author: Martin Pitt <martin.pitt@ubuntu.com>
25282 Date: Tue Jan 18 16:47:10 2011 +0100
25284 Fix Pango FontDescription override
25286 Trying to call __new__() on a record crashes with a MemoryError,
25288 the intended static factory method for a None argument as well
25292 gi/overrides/Pango.py | 7 +------
25293 1 file changed, 1 insertion(+), 6 deletions(-)
25295 commit efbbe71634037fa100b17327389b883b259cca54
25296 Author: Martin Pitt <martin.pitt@ubuntu.com>
25297 Date: Tue Jan 18 16:23:39 2011 +0100
25299 tests: Respect existing $GI_TYPELIB_PATH
25301 This allows us to run the test suite against local typelibs.
25303 tests/Makefile.am | 2 +-
25304 1 file changed, 1 insertion(+), 1 deletion(-)
25306 commit c96ca383350e5b9b079d9a86464922314939c006
25307 Author: John (J5) Palmieri <johnp@redhat.com>
25308 Date: Tue Jan 18 07:16:40 2011 -0500
25310 [gi] fix aux value offsets for methods and element size crashers
25312 * if the callable is a method we need to add 1 to the aux index
25313 for in values so we grab the right argument cache
25314 * use _pygi_g_type_info_size instead of _pygi_g_type_tag_size to
25317 gi/pygi-cache.c | 42 ++++++++++++++++++++++++------------------
25318 1 file changed, 24 insertions(+), 18 deletions(-)
25320 commit f56d85a7f39c2088bf9fd50b1b1e5b67c03104d3
25321 Merge: 84d6142 7d997b6
25322 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25323 Date: Tue Jan 18 13:14:45 2011 +0100
25325 Merge branch 'value'
25327 commit 7d997b6fe88343776c4d67a9f3437ba0c4122da0
25328 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25329 Date: Tue Jan 18 13:12:36 2011 +0100
25331 GTK overrides: Do type conversion to column types of ListStore and
25332 TreeStore in set_value
25334 gi/overrides/Gtk.py | 28 ++++++++++++++++++----------
25335 tests/test_overrides.py | 12 +++++++++++-
25336 2 files changed, 29 insertions(+), 11 deletions(-)
25338 commit 84d6142c14a7ebfb7284d3db52e14d3393f93905
25339 Author: Steve Frécinaux <code@istique.net>
25340 Date: Mon Jan 17 18:57:58 2011 +0100
25342 Always register a new GType when a GObject class is subclassed
25344 This patch makes the GType <-> python mapping much more predictible,
25345 and fixes the bug caused by overriding methods without specifying a
25346 __gtype_name__ member in the subclass, and makes type_register useless
25349 It is still possible to provide an explicit __gtype_name__ member
25351 subclass as it allows having a predictible GType name, which is handy
25352 for some of our tests. There is also an explicit special case for
25353 overrides because we obviously do not want to register new GTypes for
25354 those ones as it would clearly defeat the purpose of overrides.
25356 https://bugzilla.gnome.org/show_bug.cgi?id=543056
25358 gobject/__init__.py | 6 +++---
25359 tests/test_gi.py | 21 ++-------------------
25360 2 files changed, 5 insertions(+), 22 deletions(-)
25362 commit 30750ccef31e6c864628f418fc00e8c573d29a1b
25363 Author: Simon van der Linden <svdlinden@gnome.org>
25364 Date: Tue Jan 18 12:57:13 2011 +0100
25366 Raise required versions of GLib and GObject-Introspection
25368 https://bugzilla.gnome.org/show_bug.cgi?id=612126
25370 configure.ac | 6 +++---
25371 1 file changed, 3 insertions(+), 3 deletions(-)
25373 commit 761e98d32729f5894f4c75a54c65ed11329dc9d5
25374 Author: Martin Pitt <martin.pitt@ubuntu.com>
25375 Date: Tue Jan 18 12:52:32 2011 +0100
25377 pygi-convert.sh: Handle keysyms
25379 pygi-convert.sh | 1 +
25380 1 file changed, 1 insertion(+)
25382 commit d62cdfa38a675c1daf3bc12d5cd769434eea5dc8
25383 Author: Martin Pitt <martin.pitt@ubuntu.com>
25384 Date: Tue Jan 18 12:14:09 2011 +0100
25386 GLib overrides: Add test case for array variant building
25388 tests/test_overrides.py | 7 +++++++
25389 1 file changed, 7 insertions(+)
25391 commit 69a78307f3762e3f54d28d98514cec7d31ff20db
25392 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25393 Date: Tue Jan 18 10:21:03 2011 +0100
25395 Remove cairo.RectangleInt from the foreign module
25397 https://bugzilla.gnome.org/show_bug.cgi?id=639824
25399 gi/pygi-foreign-cairo.c | 96
25400 -------------------------------------------------
25401 1 file changed, 96 deletions(-)
25403 commit 017680c9a5e163021628bf29543598861a3b600a
25404 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25405 Date: Tue Jan 18 10:20:25 2011 +0100
25407 Dont try to guess the transfer if its a boxed
25409 https://bugzilla.gnome.org/show_bug.cgi?id=639823
25411 gi/pygi-invoke.c | 5 ++++-
25412 1 file changed, 4 insertions(+), 1 deletion(-)
25414 commit 771ef76574690eb98926249f38661d741d1ebbb0
25415 Author: Ignacio Casal Quinteiro <icq@gnome.org>
25416 Date: Tue Jan 18 12:02:01 2011 +0100
25418 The tags can be Empty not None.
25420 gi/overrides/Gtk.py | 2 +-
25421 1 file changed, 1 insertion(+), 1 deletion(-)
25423 commit b1a98083cdc50653e1d7bfb809bdf089f833df3d
25424 Author: Martin Pitt <martin.pitt@ubuntu.com>
25425 Date: Tue Jan 18 12:01:28 2011 +0100
25427 Add Pythonic iterators and indexing to GVariant
25429 Add the usual set of iterators and index accessors to GLib.Variant
25431 which are containers.
25433 Add corresponding test cases.
25435 gi/overrides/GLib.py | 50 ++++++++++++++++++++++++++++++++++++++++++++
25436 tests/test_overrides.py | 55
25437 +++++++++++++++++++++++++++++++++++++++++++++++++
25438 2 files changed, 105 insertions(+)
25440 commit ecb9f824c503c529d43e585b4cdb4c1c9ab14593
25441 Author: Martin Pitt <martin.pitt@ubuntu.com>
25442 Date: Tue Jan 18 10:48:03 2011 +0100
25444 Add GLib.Variant.unpack()
25446 This method decomposes a GLib.Variant into a native Python object,
25448 counterpart of _VariantCreator. This makes it a lot nicer for
25450 developers to use e. g. return values from gdbus calls.
25452 Add appropriate test case.
25454 gi/overrides/GLib.py | 45
25455 +++++++++++++++++++++++++++++++++++++++++++++
25456 tests/test_overrides.py | 33 ++++++++++++++++++++++++++++++++-
25457 2 files changed, 77 insertions(+), 1 deletion(-)
25459 commit 31c73dee34a52fd22b5ff3a23adce92cea5ddc3d
25460 Author: Ignacio Casal Quinteiro <icq@gnome.org>
25461 Date: Tue Jan 18 10:56:18 2011 +0100
25463 Add override for gtk_text_buffer_insert_with_tags
25465 gi/overrides/Gtk.py | 12 ++++++++++++
25466 tests/test_overrides.py | 6 ++++++
25467 2 files changed, 18 insertions(+)
25469 commit fc7d7f7f153d57ff3866b7bfd5e6479d702cc4d9
25470 Author: Simon van der Linden <svdlinden@gnome.org>
25471 Date: Mon Jan 17 14:35:14 2011 +0100
25473 Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES
25475 https://bugzilla.gnome.org/show_bug.cgi?id=620215
25477 gi/Makefile.am | 6 ++++--
25478 gio/Makefile.am | 2 +-
25479 glib/Makefile.am | 2 +-
25480 m4/python.m4 | 7 +++++--
25481 tests/Makefile.am | 2 +-
25482 5 files changed, 12 insertions(+), 7 deletions(-)
25484 commit bceec758b27e6c396d17a79424633b5dc9116f54
25485 Author: Simon van der Linden <svdlinden@gnome.org>
25486 Date: Mon Jan 17 14:20:55 2011 +0100
25488 Kill JD_CHECK_PYTHON_HEADERS
25490 Use AM_CHECK_PYTHON_HEADERS instead, which is identical.
25492 https://bugzilla.gnome.org/show_bug.cgi?id=620215
25494 configure.ac | 2 +-
25495 m4/python.m4 | 31 +------------------------------
25496 2 files changed, 2 insertions(+), 31 deletions(-)
25498 commit e2dea065da94d17a915abe1ce4671b1dc48e02c0
25499 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25500 Date: Mon Jan 17 19:09:27 2011 +0100
25502 Revert "Override Gtk.Box.pack_start and pack_end to set default
25503 values to be compliant with pygtk"
25505 This reverts commit a8c727b9c4195d8085a45661683a18614ae84485.
25509 gi/overrides/Gtk.py
25511 gi/overrides/Gtk.py | 10 ----------
25512 1 file changed, 10 deletions(-)
25514 commit 4fbae9629adc166627de05bb0946b71485343d69
25515 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25516 Date: Mon Jan 17 19:08:23 2011 +0100
25518 Revert "Override Gtk.CellLayout.pack_start and pack_end to add
25519 default values to be compliant with pygtk"
25521 This reverts commit 232841148f35684be83a2f47b5b18da4fb74f63a.
25523 gi/overrides/Gtk.py | 13 ++-----------
25524 1 file changed, 2 insertions(+), 11 deletions(-)
25526 commit c054f0aca67952876b3519bb75ddc62c5517f7cb
25527 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25528 Date: Mon Jan 17 19:08:06 2011 +0100
25530 Revert "Override Gtk.TreeViewColumn.pack_start, pack_end and
25531 set_cell_data_func to add default values to be compliant with pygtk"
25533 This reverts commit ed7e7a8f22b1481acf78c0c2e4c489dbad72f599.
25535 gi/overrides/Gtk.py | 9 ---------
25536 1 file changed, 9 deletions(-)
25538 commit 2d9534f347505573da46743b47318e08bf073aef
25539 Author: Martin Pitt <martin.pitt@ubuntu.com>
25540 Date: Mon Jan 17 18:54:10 2011 +0100
25542 pygi-convert.sh: Handle gtk.combo_box_new_text()
25544 pygi-convert.sh | 1 +
25545 1 file changed, 1 insertion(+)
25547 commit 0586a83212a9f9234fe00659ae744ab04e7ccc67
25548 Author: John (J5) Palmieri <johnp@redhat.com>
25549 Date: Mon Jan 17 12:31:03 2011 -0500
25553 gi/pygi-argument.c | 68 ++++++++++++++++++++++++++++++++++++++++++++--
25554 gi/pygi-cache.c | 80
25555 +++++++++++++++++++++++++++++++++++++++++-------------
25556 gi/pygi-cache.h | 13 +++++++--
25557 gi/pygi-invoke.c | 2 +-
25558 4 files changed, 138 insertions(+), 25 deletions(-)
25560 commit 914d3a0a29680f4d3aa0e1f8afdd625b017b013a
25561 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25562 Date: Mon Jan 17 16:57:53 2011 +0100
25564 Override TreeSortable.set_sort_func and set_default_sort_func to
25565 add default values to be pygtk compliant
25567 gi/overrides/Gtk.py | 6 ++++++
25568 1 file changed, 6 insertions(+)
25570 commit ed7e7a8f22b1481acf78c0c2e4c489dbad72f599
25571 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25572 Date: Mon Jan 17 16:29:28 2011 +0100
25574 Override Gtk.TreeViewColumn.pack_start, pack_end and
25575 set_cell_data_func to add default values to be compliant with pygtk
25577 gi/overrides/Gtk.py | 9 +++++++++
25578 1 file changed, 9 insertions(+)
25580 commit 232841148f35684be83a2f47b5b18da4fb74f63a
25581 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25582 Date: Mon Jan 17 16:28:51 2011 +0100
25584 Override Gtk.CellLayout.pack_start and pack_end to add default values
25585 to be compliant with pygtk
25587 gi/overrides/Gtk.py | 13 +++++++++++--
25588 1 file changed, 11 insertions(+), 2 deletions(-)
25590 commit 1dec12826753756fcadefc8ef8c756fc902c320b
25591 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25592 Date: Mon Jan 17 15:54:32 2011 +0100
25594 Override Gtk.Paned pack1 and pack2 to add default values to be
25595 compliant with pygtk
25597 gi/overrides/Gtk.py | 10 ++++++++++
25598 1 file changed, 10 insertions(+)
25600 commit a8c727b9c4195d8085a45661683a18614ae84485
25601 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25602 Date: Mon Jan 17 15:46:25 2011 +0100
25604 Override Gtk.Box.pack_start and pack_end to set default values to
25605 be compliant with pygtk
25607 gi/overrides/Gtk.py | 10 ++++++++++
25608 1 file changed, 10 insertions(+)
25610 commit 7cc8ac35bb0d8dbf7d66f014f8cd7ff070b3acb8
25611 Author: Steve Frécinaux <code@istique.net>
25612 Date: Wed Aug 4 00:30:05 2010 +0200
25614 Handle GObject subclasses in the property helper.
25616 https://bugzilla.gnome.org/show_bug.cgi?id=625982
25618 gobject/propertyhelper.py | 26 +++++++++++++-------------
25619 tests/test_properties.py | 9 +++++++++
25620 2 files changed, 22 insertions(+), 13 deletions(-)
25622 commit 7a0548dbfbdfe481f75315b6bc7824a9f1a8a87b
25623 Author: Martin Pitt <martin.pitt@ubuntu.com>
25624 Date: Mon Jan 17 17:52:15 2011 +0100
25626 Fix handling of unicode for GtkTreeModels
25628 The code previously converted an unicode object into unicode, but
25630 models actually have to specify 'str' (GTK expects a gchararray). So
25632 UTF-8 instead to get what GTK expects.
25634 Add corresponding test case.
25636 gi/overrides/Gtk.py | 2 +-
25637 tests/test_overrides.py | 12 +++++++++++-
25638 2 files changed, 12 insertions(+), 2 deletions(-)
25640 commit 09c21c79fb6063c8451f53d4588363d2be7239f4
25641 Author: Laszlo Pandy <lpandy@src.gnome.org>
25642 Date: Mon Jan 17 16:46:08 2011 +0100
25644 In IntrospectionModule and DynamicModule classes, make all instance
25645 attributes start with an underscore.
25647 This changes IntrospectionModule.version to _version and
25648 DynamicModule.introspection_module to _introspection_module.
25649 This is done to mark the attributes as private, and also avoid name
25650 collisions with attributes from the typelib.
25651 In Gstreamer, there is a function gst_version, which was previously
25652 inaccessible because of IntrospectionModule.version overriding it.
25654 gi/module.py | 26 +++++++++++++-------------
25655 gi/overrides/GIMarshallingTests.py | 2 +-
25656 gi/overrides/GLib.py | 2 +-
25657 gi/overrides/Gdk.py | 10 +++++-----
25658 gi/overrides/Gtk.py | 2 +-
25659 gi/overrides/Pango.py | 2 +-
25660 gi/overrides/__init__.py | 2 +-
25661 tests/test_everything.py | 2 +-
25662 8 files changed, 24 insertions(+), 24 deletions(-)
25664 commit 2c70beca9e76e4dc253453c556e6985ce59a3dd9
25665 Author: Laszlo Pandy <lpandy@src.gnome.org>
25666 Date: Mon Jan 17 16:17:25 2011 +0100
25668 Amend previous enum wrapping commit to remove redundant setting of
25669 __info__ attribute.
25671 gi/module.py | 2 +-
25672 gi/types.py | 6 +++---
25673 2 files changed, 4 insertions(+), 4 deletions(-)
25675 commit 6fbb6be5a5d0d9cd43e1504b8dda5aa75feb95ca
25676 Author: Martin Pitt <martin.pitt@ubuntu.com>
25677 Date: Mon Jan 17 16:16:45 2011 +0100
25679 pygi-convert.sh: Handle GdkPixbuf.InterpType
25681 pygi-convert.sh | 2 ++
25682 1 file changed, 2 insertions(+)
25684 commit 66a5784f4ab5de5b6d8d51eb4ce869fa26f6a601
25685 Author: Laszlo Pandy <laszlok2@gmail.com>
25686 Date: Mon Jan 17 15:43:34 2011 +0100
25688 Fix wrapping of enums: Create new Python type for each non-gtype enum.
25690 Previously non-gtype enums used the same class, which meant they
25691 were all the same type.
25692 This caused another problem that since they were all the same class,
25693 attributes from different enums were available from each other.
25695 A new test case is created to check for this bug. It requires a new
25696 enum from the GIMarshallingTests (updating gobject-introspection
25699 gi/module.py | 2 +-
25701 tests/test_gi.py | 10 ++++++++++
25702 3 files changed, 13 insertions(+), 1 deletion(-)
25704 commit da50d5620a42046d4fc905bb28a0890d73533cb1
25705 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25706 Date: Mon Dec 13 18:03:51 2010 +0100
25708 Use g_vfunc_info_invoke for chaining up in vfuncs
25710 https://bugzilla.gnome.org/show_bug.cgi?id=637165
25712 gi/pygi-info.c | 4 ++--
25713 gi/pygi-invoke.c | 72
25714 +++++++++++++++++++++++++++++++++++++++++++-------------
25715 gi/pygi-invoke.h | 3 ++-
25716 gi/types.py | 28 +++++++++++++++++++++-
25717 tests/test_gi.py | 5 ++--
25718 5 files changed, 89 insertions(+), 23 deletions(-)
25720 commit 8ceef79c98a1c2e22ed8ab655ef1169f1763dd23
25721 Author: Simon van der Linden <svdlinden@gnome.org>
25722 Date: Fri Dec 31 18:38:04 2010 +0100
25724 Move pyglib_{main_context, option_context, option_group}_new into
25727 _PyG{MainContext, OptionContext, and OptionGroup_Type} were not
25729 when used inside the glib module, since pyglib_init is not called.
25731 pyglib.c is compiled as a stand-alone library loaded by the _glib
25733 declares the above-mentioned types. Hence, they cannot be accessed
25735 former. This patch moves the functions that need those symbols
25737 glib._glib module and exports them to the pyglib library through
25740 https://bugzilla.gnome.org/show_bug.cgi?id=636656
25742 glib/glibmodule.c | 5 ++++-
25743 glib/pyglib-private.h | 3 +++
25745 +++---------------------------------------------
25746 glib/pygmaincontext.c | 22 ++++++++++++++++++++++
25747 glib/pygmaincontext.h | 2 +-
25748 glib/pygmainloop.c | 2 +-
25749 glib/pygoptioncontext.c | 21 +++++++++++++++++++++
25750 glib/pygoptioncontext.h | 2 ++
25751 glib/pygoptiongroup.c | 26 ++++++++++++++++++++++++++
25752 glib/pygoptiongroup.h | 2 ++
25753 glib/pygsource.c | 2 +-
25754 11 files changed, 86 insertions(+), 49 deletions(-)
25756 commit 17caffe4eeefeaf33a56ececbc6c7454f60b9d76
25757 Author: Martin Pitt <martin.pitt@ubuntu.com>
25758 Date: Mon Jan 17 14:51:26 2011 +0100
25760 pygi-convert.sh: Handle Gdk.DragAction
25762 pygi-convert.sh | 1 +
25763 1 file changed, 1 insertion(+)
25765 commit aa390aa80f06ac83ec89e5c5ee143d21ace97917
25766 Author: Martin Pitt <martin.pitt@ubuntu.com>
25767 Date: Mon Jan 17 14:46:58 2011 +0100
25769 pygi-convert.sh: Generalize Gtk.Settings migration
25771 There are other GSettings.get_* functions like get_for_screen().
25773 pygi-convert.sh | 2 +-
25774 1 file changed, 1 insertion(+), 1 deletion(-)
25776 commit 2e6d5bb49425e6087ca61765ecb72e7a760f2ab2
25777 Author: Martin Pitt <martin.pitt@ubuntu.com>
25778 Date: Mon Jan 17 11:22:46 2011 +0100
25780 pygi-convert.sh: Don't change the name of "glib" submodules
25782 This particular affects dbus.mainloop.glib.*
25784 pygi-convert.sh | 2 +-
25785 1 file changed, 1 insertion(+), 1 deletion(-)
25787 commit 3887b030fc19d25e0cd7b4ed504f4ed23363c3d6
25788 Author: Paolo Borelli <pborelli@gnome.org>
25789 Date: Sun Jan 16 22:09:56 2011 +0100
25791 Plug another memory leak
25793 Do not leak interface info in (g|s)_et_property.
25795 gi/pygi-property.c | 4 ++++
25796 1 file changed, 4 insertions(+)
25798 commit a4950b4cbb3c7567a8586061bb361adb7d9afb98
25799 Author: Paolo Borelli <pborelli@gnome.org>
25800 Date: Sun Jan 16 21:43:30 2011 +0100
25802 Plug a small memory leak.
25804 Do not leak type_info in find_vfunc_info
25806 gi/gimodule.c | 10 +++++-----
25807 1 file changed, 5 insertions(+), 5 deletions(-)
25809 commit d0cbcc45366d40702c69cef207d3c0f361260c02
25810 Author: Paolo Borelli <pborelli@gnome.org>
25811 Date: Sun Jan 16 12:16:31 2011 +0100
25813 Override Table.attach() to behave like pygtk
25815 It is fairly common and even gtk itself still has attach_defaults.
25817 gi/overrides/Gtk.py | 3 +++
25818 tests/test_overrides.py | 4 ++++
25819 2 files changed, 7 insertions(+)
25821 commit 6409d659326bf3cefdf6051379e8bc2031f16733
25822 Author: Martin Pitt <martin.pitt@ubuntu.com>
25823 Date: Sat Jan 15 11:20:23 2011 -0600
25825 pygi-convert.sh: Convert Pango.WrapMode
25827 pygi-convert.sh | 1 +
25828 1 file changed, 1 insertion(+)
25830 commit 6aaa6a38198e84a189ca1e8d26b1871d5b6bb711
25831 Author: Martin Pitt <martin.pitt@ubuntu.com>
25832 Date: Sat Jan 15 11:17:09 2011 -0600
25834 pygi-convert.sh: Don't change the name of "gtk" submodules
25836 Some projects have local modules like "myproject.ui.gtk". Avoid
25838 just change module names which start with "gtk" or "gdk".
25840 pygi-convert.sh | 4 ++--
25841 1 file changed, 2 insertions(+), 2 deletions(-)
25843 commit 9be0f1f2dfb89150faf1827ef482feea03645149
25844 Author: John (J5) Palmieri <johnp@redhat.com>
25845 Date: Thu Jan 13 23:56:19 2011 -0500
25847 [gi] implement aux arg handling for array lengths
25849 gi/pygi-argument.c | 8 ++++++++
25850 gi/pygi-cache.c | 36 ++++++++++++++++++++++++++++--------
25851 gi/pygi-cache.h | 1 -
25852 gi/pygi-invoke.c | 8 ++++++--
25853 4 files changed, 42 insertions(+), 11 deletions(-)
25855 commit cfca2f0a53a5c29f543875ca4cb83a2e18d3bc72
25856 Author: John (J5) Palmieri <johnp@redhat.com>
25857 Date: Thu Jan 13 21:07:25 2011 -0500
25859 [gi] marshal in hashes
25861 gi/pygi-argument.c | 93 ++++++++++++++++++++++++++++++++++++++--
25862 gi/pygi-cache.c | 122
25863 +++++++++++++++++++++++++++++++++++++----------------
25864 2 files changed, 176 insertions(+), 39 deletions(-)
25866 commit c36fbf4918c8557a8e274a12004a412da3b22b2c
25867 Author: Laszlo Pandy <git@laszlopandy.com>
25868 Date: Tue Jan 11 21:41:47 2011 +0100
25870 Fix the __dir__() methods on DynamicModule and IntrospectionModule
25872 Previously the __dir__() methods did not list all attributes.
25873 A simple test case is included. It does not test to see if
25874 every attribute is listed, it just tests a few of each kind:
25875 - (wrapped) typelib attributes
25876 - class attributes and methods
25877 - instance attributes
25879 A set() is used to avoid returning duplicate attributes.
25880 The test case checks for this as well.
25882 https://bugzilla.gnome.org/show_bug.cgi?id=639229
25884 gi/module.py | 28 +++++++++++++++++++++-------
25885 tests/test_everything.py | 18 ++++++++++++++++++
25886 2 files changed, 39 insertions(+), 7 deletions(-)
25888 commit 1679e6af3f212e4d4644e048dc3c6177ed3fac6b
25889 Author: Paolo Borelli <pborelli@gnome.org>
25890 Date: Thu Jan 13 00:02:20 2011 +0100
25892 pygi-convert.sh: handle ReliefStyle
25894 pygi-convert.sh | 1 +
25895 1 file changed, 1 insertion(+)
25897 commit e9166ba5d19f2b586f65a3b83a671a5afd486d8f
25898 Author: John (J5) Palmieri <johnp@redhat.com>
25899 Date: Wed Jan 12 16:50:30 2011 -0500
25901 [gi] support for GList and GSList in
25903 gi/pygi-argument.c | 122
25904 ++++++++++++++++++++++++++++++++++++++++++++++++++---
25905 1 file changed, 116 insertions(+), 6 deletions(-)
25907 commit 9baf3240fbac103823ad0feaaf1c82e46d276722
25908 Author: John (J5) Palmieri <johnp@redhat.com>
25909 Date: Wed Jan 12 16:24:17 2011 -0500
25911 [gi] handle allow_none for all args
25913 gi/pygi-cache.c | 3 ++-
25914 gi/pygi-cache.h | 1 +
25915 gi/pygi-invoke.c | 7 +++++++
25916 3 files changed, 10 insertions(+), 1 deletion(-)
25918 commit d54d12c66226910952b0dc44c8d9514a7edaa6f2
25919 Author: John (J5) Palmieri <johnp@redhat.com>
25920 Date: Wed Jan 12 16:23:02 2011 -0500
25922 [gi] fix marshalling fixed arrays
25924 * get the correct item_size and pass the GArray data not the GArray
25926 gi/pygi-argument.c | 39 ++++++++++++++++++++++-----------------
25927 gi/pygi-cache.c | 3 ++-
25928 2 files changed, 24 insertions(+), 18 deletions(-)
25930 commit 3b0eff80d2ee35e0417476f0a170b9e178e3d1ee
25931 Author: John (J5) Palmieri <johnp@redhat.com>
25932 Date: Tue Jan 11 17:20:43 2011 -0500
25934 [gi] implement out arg handling
25936 gi/pygi-argument.c | 43 ++++++++++---------------------------
25937 gi/pygi-cache.c | 22 ++++++++++++++-----
25938 gi/pygi-invoke-state-struct.h | 13 +++++++++++
25939 gi/pygi-invoke.c | 50
25940 +++++++++++++++++++++++++++++++++++++++++--
25941 4 files changed, 89 insertions(+), 39 deletions(-)
25943 commit bd002c72675d35b5e60ab773181e7c36c30d2625
25944 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
25945 Date: Tue Jan 11 22:21:18 2011 +0100
25947 setup.py: fix the provides keyword argument
25950 1 file changed, 1 insertion(+), 1 deletion(-)
25952 commit 59dac72d0fa8e1d68bbbc13d76c2747f1cb11857
25953 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
25954 Date: Tue Jan 11 22:19:18 2011 +0100
25956 setup.py: use the same spaces-less format for all setup() parameters
25958 setup.py | 8 ++++----
25959 1 file changed, 4 insertions(+), 4 deletions(-)
25961 commit c5c149be171895d292852df364541f14f0ec423a
25962 Author: John (J5) Palmieri <johnp@redhat.com>
25963 Date: Tue Jan 11 15:39:09 2011 -0500
25965 [gi] implemented return marshalling and started on out marshalling
25967 gi/pygi-argument.c | 387
25968 ++++++++++++++++++++++++++++++++++++++++++++++++++++-
25969 gi/pygi-argument.h | 117 ++++++++++++++++
25970 gi/pygi-cache.c | 316 ++++++++++++++++++++++++++++++++++++++++++-
25971 gi/pygi-cache.h | 8 +-
25972 gi/pygi-invoke.c | 12 +-
25973 5 files changed, 829 insertions(+), 11 deletions(-)
25975 commit 4fcca8518774ab89607196dfc52037e3da30ac8a
25976 Author: John (J5) Palmieri <johnp@redhat.com>
25977 Date: Tue Jan 11 13:49:58 2011 -0500
25979 [gi] flesh out interface in marshalling a bit more
25981 gi/pygi-argument.c | 74
25982 ++++++++++++++++++++++++++++++++++++++++----------
25983 gi/pygi-cache.c | 79
25984 ++++++++++++++++++++++++++++++++++++++++++------------
25985 gi/pygi-cache.h | 1 +
25986 3 files changed, 123 insertions(+), 31 deletions(-)
25988 commit 4992dca9f5cea68d85eb2ed86105c9c6b8311d79
25989 Author: Laszlo Pandy <laszlok2@gmail.com>
25990 Date: Tue Jan 11 19:30:38 2011 +0100
25992 Add a __repr__() method to DynamicModule.
25994 This patch adds a __repr__() method to DynamicModule so that modules
25996 meaningful string with the typelib path included:
25998 >>> from gi.repository import Gtk
26000 <gi.module.DynamicModule 'Gtk' from
26001 '/home/laszlo/Dev/gnome-jh-install/lib64/girepository-1.0/Gtk-3.0.typelib'>
26003 https://bugzilla.gnome.org/show_bug.cgi?id=639232
26005 gi/module.py | 9 +++++++++
26006 1 file changed, 9 insertions(+)
26008 commit 2ffaec59e7349c145a0e2a5edba2ffb7d8628369
26009 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26010 Date: Tue Jan 11 19:40:19 2011 +0100
26012 Go back to using getattr() in DynamicModule.__getattr__
26014 Breaks marshalling of some types
26016 gi/module.py | 2 +-
26017 1 file changed, 1 insertion(+), 1 deletion(-)
26019 commit 52a298cc0f05ceec96457f17f9a801e9838fb757
26020 Author: Laszlo Pandy <laszlok2@gmail.com>
26021 Date: Tue Jan 11 19:26:50 2011 +0100
26023 Change __dir__() to report all the attributes that __getattr__
26026 Change DynamicModule.__dir__() to return the local class members as
26028 typelib attributes.
26030 Change DynamicModule.__getattr__() to call
26031 IntrospectionModule.__getattr__()
26032 directly, so that it won't inadvertently return class attributes from
26033 IntrospectionModule.
26035 https://bugzilla.gnome.org/show_bug.cgi?id=639229
26037 gi/module.py | 10 +++++++---
26038 1 file changed, 7 insertions(+), 3 deletions(-)
26040 commit 369a75ba5fb64ff7a7c95d21f8bfe359e639e9ff
26041 Author: John (J5) Palmieri <johnp@redhat.com>
26042 Date: Mon Jan 10 17:55:03 2011 -0500
26044 [gi] add object and interface in marshalling
26046 * also remove the PyGIArgCleanup sinature as GDestroyNotify works
26049 gi/pygi-argument.c | 15 +++--
26050 gi/pygi-cache.c | 182
26051 ++++++++++++++++++++++++++++++++++++++++++++++++-----
26052 gi/pygi-cache.h | 1 -
26053 gi/pygi-invoke.c | 1 +
26054 4 files changed, 178 insertions(+), 21 deletions(-)
26056 commit 88531c58d0491a31dd319387237a03df5c9edc07
26057 Author: John (J5) Palmieri <johnp@redhat.com>
26058 Date: Mon Jan 10 15:33:56 2011 -0500
26060 [gi] fix casting when marshaling a char to uint8
26062 gi/pygi-argument.c | 2 +-
26063 1 file changed, 1 insertion(+), 1 deletion(-)
26065 commit 441da4a7346ca059630dbc820c5b46e4d0222f4b
26066 Author: John (J5) Palmieri <johnp@redhat.com>
26067 Date: Mon Jan 10 15:07:16 2011 -0500
26069 [gi] hook up invoke to the cache
26071 * We now can invoke with in values
26072 * out, constructors and returns still don't work along with numerous
26076 gi/Makefile.am | 1 +
26077 gi/pygi-argument.c | 60 +++++++++--------
26078 gi/pygi-argument.h | 60 ++++++++---------
26079 gi/pygi-cache.h | 6 +-
26080 gi/pygi-invoke-state-struct.h | 26 ++++++++
26081 gi/pygi-invoke.c | 149
26082 ++++++++++++++++++++++++++++++++----------
26083 gi/pygi-invoke.h | 2 +-
26084 gi/pygi-private.h | 1 +
26085 8 files changed, 208 insertions(+), 97 deletions(-)
26087 commit f32b1f494aa5d09b9b198f607722c819c6bbd808
26088 Author: John (J5) Palmieri <johnp@redhat.com>
26089 Date: Sun Jan 9 19:37:55 2011 -0500
26091 hooked up caching stage and fixed segfaults
26093 * caching stage is hooked up but not used yet
26094 * throws exceptions for everything that can not be cached yet
26096 gi/pygi-cache.c | 59
26097 +++++++++++++++++++++++++++++++++++++++++++-------------
26098 gi/pygi-info.c | 3 +++
26099 gi/pygi-invoke.c | 5 +++++
26101 4 files changed, 56 insertions(+), 13 deletions(-)
26103 commit c2bf1d4d9cf2e9f8e313528fe717f6279dad5da1
26104 Author: John (J5) Palmieri <johnp@redhat.com>
26105 Date: Sun Jan 9 18:05:31 2011 -0500
26107 [gi] fix some function names
26109 gi/pygi-cache.c | 5 ++---
26110 1 file changed, 2 insertions(+), 3 deletions(-)
26112 commit 2ec4230a5180f048c26c2e4234b2a098d42f030b
26113 Author: John (J5) Palmieri <johnp@redhat.com>
26114 Date: Sun Jan 9 15:58:06 2011 -0500
26116 [gi] refactor cache structs so they inherit from ArgCache
26118 gi/pygi-argument.c | 122 +++++++++----------
26119 gi/pygi-cache.c | 344
26120 +++++++++++++++++++++++++++++------------------------
26121 gi/pygi-cache.h | 50 ++++----
26122 3 files changed, 273 insertions(+), 243 deletions(-)
26124 commit f4cdf0c0321285da015686fcb7115bd91bfd5c7c
26125 Author: John (J5) Palmieri <johnp@redhat.com>
26126 Date: Sat Jan 8 20:45:11 2011 -0500
26128 [gi]fix cache compile error - now compiles but cache still not
26131 gi/Makefile.am | 2 +
26132 gi/pygi-argument.c | 100 +++++++++++++++---------------
26133 gi/pygi-argument.h | 174
26134 ++++++++++++++++++++++++++++++++++++++++++++---------
26135 gi/pygi-cache.c | 169
26136 +++++++++++++++++++++++++--------------------------
26137 gi/pygi-cache.h | 25 ++++----
26138 5 files changed, 293 insertions(+), 177 deletions(-)
26140 commit 5f8f3044dd8085b2e8ce0bf70e9d52f05abf909d
26141 Author: John (J5) Palmieri <johnp@redhat.com>
26142 Date: Sat Jan 8 19:10:29 2011 -0500
26144 add sequence caching and array marshalling w/ item marshalling
26146 * simplify what we pass into the arg cache generators so we may
26148 for geneating marshalling caches for container items, not just
26151 gi/pygi-argument.c | 76 ++++++++++++++++-
26152 gi/pygi-cache.c | 242
26153 ++++++++++++++++++++++-------------------------------
26154 gi/pygi-cache.h | 4 +-
26155 3 files changed, 175 insertions(+), 147 deletions(-)
26157 commit 202a268db7f98f5a3c525c6e65ec4bff1917257e
26158 Author: Emilio Pozuelo Monfort <pochu27@gmail.com>
26159 Date: Sat Jan 8 02:19:52 2011 +0000
26161 Bump the minimum gio dependency
26163 Needed for G_TYPE_CONVERTER_FLAGS and others.
26165 configure.ac | 2 +-
26166 1 file changed, 1 insertion(+), 1 deletion(-)
26168 commit c3aa36151fdef9ed9884d93114786bbe86387983
26169 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26170 Date: Fri Jan 7 12:58:11 2011 +0100
26172 Add test for incorrect attributes in Gdk.Event
26174 tests/test_overrides.py | 4 ++++
26175 1 file changed, 4 insertions(+)
26177 commit 204b45c7e95eb50d9e3843127fb10e13b1b17fee
26178 Author: Simon van der Linden <svdlinden@gnome.org>
26179 Date: Sun Jan 2 19:25:55 2011 +0100
26181 Don't call getattr again in gi.overrides.Gdk.Event.__getattr__
26183 __getattr__ is only called when the attribute is not found through
26185 mechanism, so getattr must not be called again in __getattr__
26187 create an infinite loop).
26189 Another possibility would be to implement __getattribute__ instead,
26191 called in place of the normal mechanism. In that case, calling
26193 needed for normal attributes.
26195 https://bugzilla.gnome.org/show_bug.cgi?id=638523
26197 gi/overrides/Gdk.py | 2 +-
26198 1 file changed, 1 insertion(+), 1 deletion(-)
26200 commit 6cf298ca5565d0eb99824f050ff47407e50a5c01
26201 Author: Mike Gorse <mgorse@novell.com>
26202 Date: Fri Jan 7 09:08:31 2011 +0100
26204 Release allocated array of arguments when handling closures
26206 https://bugzilla.gnome.org/show_bug.cgi?id=638847
26208 gi/pygi-closure.c | 3 +++
26209 1 file changed, 3 insertions(+)
26211 commit 1be76d5e006efa24598ff7bf26153660dbe0a890
26212 Author: Mike Gorse <mgorse@novell.com>
26213 Date: Fri Jan 7 09:07:35 2011 +0100
26215 Release GIValueInfo when checking an enum argument
26217 https://bugzilla.gnome.org/show_bug.cgi?id=638847
26219 gi/pygi-argument.c | 1 +
26220 1 file changed, 1 insertion(+)
26222 commit 43849c51391fc9cd239697065c3d40fa02fb6783
26223 Author: John (J5) Palmieri <johnp@redhat.com>
26224 Date: Thu Jan 6 17:30:14 2011 -0500
26228 gi/pygi-cache.c | 24 ++++++++++++------------
26229 gi/pygi-cache.h | 42 +++++++++++++++++++++---------------------
26230 2 files changed, 33 insertions(+), 33 deletions(-)
26232 commit 8b5b3d2bbbbdf5d26c83e9a6fe67121cbd77ebe1
26233 Author: John (J5) Palmieri <johnp@redhat.com>
26234 Date: Thu Jan 6 17:29:00 2011 -0500
26236 add marshalling for basic types and add more skeleton code
26238 * still doesn't compile
26240 gi/pygi-argument.c | 708
26241 +++++++++++++++++++++++++++++++++++++++++++++++++++++
26242 gi/pygi-argument.h | 35 ++-
26243 gi/pygi-cache.c | 82 +++++--
26244 gi/pygi-cache.h | 41 +++-
26245 4 files changed, 832 insertions(+), 34 deletions(-)
26247 commit f554cf62848104d31518138ae85bc51acaafda67
26248 Author: John (J5) Palmieri <johnp@redhat.com>
26249 Date: Tue Jan 4 18:49:53 2011 -0500
26251 first checkin of the new caching branch
26253 * this does not compile and is not hooked up to the build system
26254 * lays out the caching data structures and some skeleton functions
26256 gi/pygi-cache.c | 480
26257 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
26258 gi/pygi-cache.h | 104 ++++++++++++
26259 2 files changed, 584 insertions(+)
26261 commit 8d5a7857876669f56bb03bf618bcfdcc290721c0
26262 Author: Eitan Isaacson <eitan@monotonous.org>
26263 Date: Wed Dec 22 12:34:10 2010 -0800
26265 Respect different type lengths when assigning out-argument pointers.
26267 https://bugzilla.gnome.org/show_bug.cgi?id=637832
26269 gi/pygi-closure.c | 66
26270 ++++++++++++++++++++++++++++++++++++++++++++++---------
26271 1 file changed, 56 insertions(+), 10 deletions(-)
26273 commit f14976ffabec28f6cafe1e37dc81d207a947d4ca
26274 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26275 Date: Tue Dec 28 18:34:25 2010 +0100
26277 Fix stupid name clash
26279 gi/module.py | 7 +++++--
26280 1 file changed, 5 insertions(+), 2 deletions(-)
26282 commit 01b2a193d403beb861eab524300b4f1af63157ce
26283 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26284 Date: Tue Dec 28 13:49:18 2010 +0100
26286 Add /usr/share to XDG_DATA_DIRS when running the tests
26288 tests/Makefile.am | 7 ++++++-
26289 1 file changed, 6 insertions(+), 1 deletion(-)
26291 commit efc186f692f9eac781cc47456be74a3da7f14dcd
26292 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26293 Date: Tue Dec 28 13:25:34 2010 +0100
26295 Comment out tests that require SRV lookups
26297 tests/test_gresolver.py | 5 ++++-
26298 1 file changed, 4 insertions(+), 1 deletion(-)
26300 commit d2462cc1ab51d76fb4625c47c3d34de1d5d0dee8
26301 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26302 Date: Tue Dec 28 13:00:16 2010 +0100
26304 Use suppresion file when running valgrind
26306 tests/Makefile.am | 2 +-
26307 tests/python.supp | 387
26308 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
26309 2 files changed, 388 insertions(+), 1 deletion(-)
26311 commit 0ee58113ecbea72784c52de928c041fc8fc88984
26312 Author: Ignacio Casal Quinteiro <icq@gnome.org>
26313 Date: Thu Dec 23 00:10:41 2010 +0100
26317 gi/pygi-argument.c | 16 +++++++---------
26318 gi/pygi-foreign-cairo.c | 13 ++-----------
26319 gio/gfile.override | 5 ++---
26320 glib/pyglib-python-compat.h | 3 +++
26321 glib/pyglib.c | 2 +-
26322 glib/pygmainloop.c | 3 ++-
26323 6 files changed, 17 insertions(+), 25 deletions(-)
26325 commit 78ea84cd91392400ebac5a361ef8793bfe928fd0
26326 Author: Jesse van den Kieboom <jesse.vandenkieboom@epfl.ch>
26327 Date: Sun Dec 19 23:10:57 2010 +0100
26329 Allow comparing Gtk.TreePath to None
26331 https://bugzilla.gnome.org/show_bug.cgi?id=637615
26333 gi/overrides/Gtk.py | 12 ++++++------
26334 tests/test_overrides.py | 6 ++++++
26335 2 files changed, 12 insertions(+), 6 deletions(-)
26337 commit 046cc5915286e042d1040271a90676b77632409e
26338 Author: John (J5) Palmieri <johnp@redhat.com>
26339 Date: Thu Dec 16 15:41:10 2010 -0500
26341 handle unicode objects in properties
26343 * There are still some cavets in Python 2:
26344 - properties are returned as String objects with the unicode
26346 - you must add # coding=utf-8 to the top of your python file
26348 will error out if it sees embeded unicode charaters (such as when
26349 supporting python 3 and python 2 from the same source)
26351 https://bugzilla.gnome.org/show_bug.cgi?id=620579
26353 gobject/pygtype.c | 35 ++++++++++++++++++++++++++---------
26354 tests/test_properties.py | 16 ++++++++++++++++
26355 2 files changed, 42 insertions(+), 9 deletions(-)
26357 commit 7aa783d5cd674f34da318f826bd5f4a0e09d24cb
26358 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26359 Date: Tue Dec 14 12:29:54 2010 +0100
26361 dsextras.py: check if gcc is there when platform is win32 and compiler
26364 dsextras.py | 6 ++++++
26365 1 file changed, 6 insertions(+)
26367 commit cebf5f09a6c5018ced64f35e7747fc81b93b823e
26368 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26369 Date: Tue Dec 14 12:29:01 2010 +0100
26371 dsextras.py: be consistent in how distutils imports are done
26373 dsextras.py | 6 +++---
26374 1 file changed, 3 insertions(+), 3 deletions(-)
26376 commit 35e590d48c78f2e76c47c2b4eaf0f7e8d1ed5c93
26377 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26378 Date: Tue Dec 14 12:25:07 2010 +0100
26380 dsextras.py: add have_gcc() function
26382 dsextras.py | 5 +++++
26383 1 file changed, 5 insertions(+)
26385 commit 637c2c287cfb0e89365026531c651111f5593ac7
26386 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26387 Date: Tue Dec 14 12:24:41 2010 +0100
26389 dsextras.py: use distutils.spawn.find_executable for have_pkgconfig()
26391 dsextras.py | 8 ++------
26392 1 file changed, 2 insertions(+), 6 deletions(-)
26394 commit 020d00bc0ce7b77006b4d4f42d63122d79bcbf89
26395 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26396 Date: Tue Dec 14 12:22:54 2010 +0100
26398 setup.py: fix another case of use True/False instead of 1/0
26401 1 file changed, 1 insertion(+), 1 deletion(-)
26403 commit b03cc9e0d66d8caea3cd6a63db198c43de9267e9
26404 Author: Paolo Borelli <pborelli@gnome.org>
26405 Date: Mon Dec 13 10:21:52 2010 +0100
26407 pygi-convert.sh: improve GtkSourceView conversion
26409 pygi-convert.sh | 7 +++++++
26410 1 file changed, 7 insertions(+)
26412 commit fbc12cd7c09a67de9e28b7b0b28de9dc0e0e3418
26413 Author: Paolo Borelli <pborelli@gnome.org>
26414 Date: Mon Dec 13 10:27:56 2010 +0100
26416 pygi-convert.sh: Gtk.DialogFlags conversion
26418 pygi-convert.sh | 1 +
26419 1 file changed, 1 insertion(+)
26421 commit 73e933d2429aea4d14e15350a538da1c5c3f71eb
26422 Author: José Alburquerque <jaalburqu@svn.gnome.org>
26423 Date: Sun Dec 12 20:38:46 2010 -0500
26425 Doc Extractor: Print the gtk-doc blocks sorted by function
26428 * codegen/docextract_to_xml.py: Print the xml of the gtk-doc
26430 alphabetical order according to the identifier (function name)
26432 the generation of xml files in the C++ bindings is
26434 Thanks to Krzesimir Nowak for suggesting this in a
26438 codegen/docextract_to_xml.py | 2 +-
26439 1 file changed, 1 insertion(+), 1 deletion(-)
26441 commit db7ffa75b007074cb6b33b547c6d8140da300a3e
26442 Author: Paolo Borelli <pborelli@gnome.org>
26443 Date: Mon Dec 13 00:17:26 2010 +0100
26445 pygi-convert.sh: add more Gtk conversions and sort
26447 pygi-convert.sh | 50 ++++++++++++++++++++++++++------------------------
26448 1 file changed, 26 insertions(+), 24 deletions(-)
26450 commit f4bfe73d0ccedf7f671d3acd6d9e262d5383b733
26451 Author: Paolo Borelli <pborelli@gnome.org>
26452 Date: Mon Dec 13 00:01:40 2010 +0100
26454 pygi-convert.sh: convert Atk
26456 pygi-convert.sh | 12 ++++++++++++
26457 1 file changed, 12 insertions(+)
26459 commit e55ce3667eb1d352bf96f265bf018ffe8aea75f9
26460 Author: Paolo Borelli <pborelli@gnome.org>
26461 Date: Sun Dec 12 23:48:48 2010 +0100
26463 pygi-convert.sh: convert a few more Gio types
26465 pygi-convert.sh | 9 +++++++++
26466 1 file changed, 9 insertions(+)
26468 commit acc9f84bc6e13d76c6516cefe393d4a4f868aa24
26469 Author: Paolo Borelli <pborelli@gnome.org>
26470 Date: Sun Dec 12 14:19:00 2010 +0100
26472 pygi-convert.sh: more GLib conversion
26474 pygi-convert.sh | 7 +++++++
26475 1 file changed, 7 insertions(+)
26477 commit c903390814bebdc62d530472f6f94feecc59b8b3
26478 Author: Paolo Borelli <pborelli@gnome.org>
26479 Date: Sun Dec 12 14:00:34 2010 +0100
26481 pygi-convert.sh: remove two cases handled by overrides
26483 pygi-convert.sh | 2 --
26484 1 file changed, 2 deletions(-)
26486 commit d33c987e505ec8ddffa2b8cb5526f05b9b5f62be
26487 Author: Paolo Borelli <pborelli@gnome.org>
26488 Date: Sun Dec 12 13:38:56 2010 +0100
26490 Override Gtk.ScrolledWindow constructor
26492 gi/overrides/Gtk.py | 7 +++++++
26493 tests/test_overrides.py | 7 +++++++
26494 2 files changed, 14 insertions(+)
26496 commit 1c24bb089fcd69e3104ae72a0e7560a8c5a3f05b
26497 Author: Paolo Borelli <pborelli@gnome.org>
26498 Date: Sun Dec 12 12:32:39 2010 +0100
26500 pygi-convert.sh: Fix 'find' syntax
26502 pygi-convert.sh | 2 +-
26503 1 file changed, 1 insertion(+), 1 deletion(-)
26505 commit f0a1d6b6bb53d0fa2788d8b9027d737b0aef8dfc
26506 Author: Paolo Borelli <pborelli@gnome.org>
26507 Date: Sun Dec 12 12:29:38 2010 +0100
26509 pygi-convert.sh: start handling Gio and GLib
26511 pygi-convert.sh | 8 ++++++++
26512 1 file changed, 8 insertions(+)
26514 commit 365bf3251af3498dc797a58cce071805451b49b1
26515 Author: Paolo Borelli <pborelli@gnome.org>
26516 Date: Sat Dec 11 23:05:31 2010 +0100
26518 pygi-convert.sh: convert Gdk.ScrollDirection.
26520 pygi-convert.sh | 1 +
26521 1 file changed, 1 insertion(+)
26523 commit bca603de0f217fb290189a0ea330f82961c46d5d
26524 Author: Paolo Borelli <pborelli@gnome.org>
26525 Date: Sat Dec 11 15:03:21 2010 +0100
26527 Override Pango.Layout constructor.
26529 I must take a Pango.Context argument. Unfortumately the context is
26531 gobject property so we need to jump through some oops.
26533 gi/overrides/Pango.py | 13 +++++++++++++
26534 tests/test_overrides.py | 6 ++++++
26535 2 files changed, 19 insertions(+)
26537 commit df233301802e3f7f9ce338cde015ca2a2fc648ab
26538 Author: Paolo Borelli <pborelli@gnome.org>
26539 Date: Sat Dec 11 14:18:53 2010 +0100
26541 Remove Pango.FontDescription() conversion.
26543 It is now properly handled by an override.
26545 pygi-convert.sh | 1 -
26546 1 file changed, 1 deletion(-)
26548 commit d8abcc9463542af9cd43d71849d0ad4c183b570b
26549 Author: Paolo Borelli <pborelli@gnome.org>
26550 Date: Fri Dec 10 14:05:20 2010 +0100
26552 Override GtkAction and GtkRadioAction constructors.
26554 gi/overrides/Gtk.py | 20 +++++++++++++++++---
26555 tests/test_overrides.py | 18 ++++++++++++++++++
26556 2 files changed, 35 insertions(+), 3 deletions(-)
26558 commit 7924b18a99a0680c04aca46be4b64a7aa507dfe5
26559 Author: Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com>
26560 Date: Sat Dec 4 22:13:28 2010 +0000
26562 Override Adjustment constructor to behave like pygtk
26564 https://bugzilla.gnome.org/show_bug.cgi?id=636486
26566 gi/overrides/Gtk.py | 7 +++++++
26567 tests/test_overrides.py | 9 +++++++++
26568 2 files changed, 16 insertions(+)
26570 commit e76352dd83c8706e68ad57d00d185da9afea99c4
26571 Author: John (J5) Palmieri <johnp@redhat.com>
26572 Date: Thu Dec 9 13:23:10 2010 -0500
26574 add secondary_text apis to MessageDialog
26576 gi/overrides/Gtk.py | 8 ++++++++
26577 tests/test_overrides.py | 8 ++++++++
26578 2 files changed, 16 insertions(+)
26580 commit de682b2d36c362140ab7d43c0743b01ec0865a74
26581 Author: John (J5) Palmieri <johnp@redhat.com>
26582 Date: Wed Dec 8 16:39:27 2010 -0500
26584 [gi] get rid of some debug prints and fix error messages
26586 gi/overrides/Gtk.py | 7 +++----
26587 1 file changed, 3 insertions(+), 4 deletions(-)
26589 commit dbb16571803bf51f497768bf80944514f4290ee5
26590 Author: Paolo Borelli <pborelli@gnome.org>
26591 Date: Wed Dec 8 18:25:15 2010 +0100
26593 Fix demo for override changes.
26595 demos/gtk-demo/gtk-demo.py | 5 +++--
26596 1 file changed, 3 insertions(+), 2 deletions(-)
26598 commit 2adcd95762944a4e27123093d3c8d080e49be1ea
26599 Author: Paolo Borelli <pborelli@gnome.org>
26600 Date: Wed Dec 8 18:06:01 2010 +0100
26602 Override Pango.FontDescription.
26604 demos/gtk-demo/gtk-demo.py | 2 +-
26605 gi/overrides/Makefile.am | 1 +
26606 gi/overrides/Pango.py | 40 ++++++++++++++++++++++++++++++++++++++++
26607 tests/test_overrides.py | 7 +++++++
26608 4 files changed, 49 insertions(+), 1 deletion(-)
26610 commit 769da968c9187414d0420412d8fb8c833d12042a
26611 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26612 Date: Wed Dec 8 17:38:11 2010 +0100
26614 Stop checking that all vfuncs are implemented
26616 Because some methods are optionally implementable but g-i won't
26619 https://bugzilla.gnome.org/show_bug.cgi?id=619606
26621 gi/gimodule.c | 4 +++-
26622 gi/types.py | 12 ++----------
26623 tests/test_gi.py | 10 ----------
26624 3 files changed, 5 insertions(+), 21 deletions(-)
26626 commit 167a01c46b3fa0b3c8339502c875d32bd2bca974
26627 Author: Paolo Borelli <pborelli@gnome.org>
26628 Date: Wed Dec 8 17:37:00 2010 +0100
26630 Fix usage of TreeIter api that is now an override.
26632 demos/gtk-demo/gtk-demo.py | 6 +++---
26633 1 file changed, 3 insertions(+), 3 deletions(-)
26635 commit d2cfd6e9250d40de7c715ac74e299deddf137683
26636 Author: Paolo Borelli <pborelli@gnome.org>
26637 Date: Wed Dec 8 17:34:54 2010 +0100
26639 Fix Gtk.Label(label="Foo")
26641 Use 'label' as an argument name instead of 'str', otherwise we may
26642 end up up with two 'label' in the kwds dict. Besides 'str' is a
26645 gi/overrides/Gtk.py | 4 ++--
26646 1 file changed, 2 insertions(+), 2 deletions(-)
26648 commit c0c684c9bb4e2bc08d7cb6ac246705e8a3b77656
26649 Author: Paolo Borelli <pborelli@gnome.org>
26650 Date: Wed Dec 8 14:16:39 2010 +0100
26652 Fix typo when raising an exception
26655 1 file changed, 1 insertion(+), 1 deletion(-)
26657 commit 88c9a3ad49d9fcf779c3523672d8bf4767910301
26658 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26659 Date: Wed Dec 8 10:46:27 2010 +0100
26661 pygi-convert.sh: Added more conversions
26663 pygi-convert.sh | 14 ++++++++++++++
26664 1 file changed, 14 insertions(+)
26666 commit 4d8d96326b2cac91e6d75e6601b92e202d1918ff
26667 Author: Paolo Borelli <pborelli@gnome.org>
26668 Date: Tue Dec 7 20:39:15 2010 +0100
26670 Override LinkButton constructor to make 'uri' mandatory
26672 gi/overrides/Gtk.py | 7 +++++++
26673 tests/test_overrides.py | 6 ++++++
26674 2 files changed, 13 insertions(+)
26676 commit f4f7fb35af1b41598dc050f5df155a01c370a920
26677 Author: Dmitry Morozov <dmitry.a.morozov@yandex.ru>
26678 Date: Sat Dec 4 19:19:19 2010 +0600
26680 Container should be iterable.
26682 gi/overrides/Gtk.py | 9 +++++++++
26683 tests/test_overrides.py | 6 +++++-
26684 2 files changed, 14 insertions(+), 1 deletion(-)
26686 commit d2ad05d6d8d53b941e0ad33fcb200f1245a2d308
26687 Author: Paolo Borelli <pborelli@gnome.org>
26688 Date: Tue Dec 7 14:13:00 2010 +0100
26690 No need to import Gdk
26692 gi/overrides/Gtk.py | 1 -
26693 1 file changed, 1 deletion(-)
26695 commit b6a40badf0b2b59e690ce818efb03c7c816b8a04
26696 Author: Paolo Borelli <pborelli@gnome.org>
26697 Date: Tue Dec 7 14:07:53 2010 +0100
26701 gi/overrides/Gtk.py | 7 +++----
26702 1 file changed, 3 insertions(+), 4 deletions(-)
26704 commit cdc9c26553bf47ea488676e7bdc5f8ab0a2c906b
26705 Author: John (J5) Palmieri <johnp@redhat.com>
26706 Date: Mon Dec 6 16:05:30 2010 -0500
26708 [gi] make sure Gtk.Button override passes all keywords to parent
26711 gi/overrides/Gtk.py | 4 ++--
26712 1 file changed, 2 insertions(+), 2 deletions(-)
26714 commit cede81ad65db017e95543d8d35715751aa202fed
26715 Author: Paolo Borelli <pborelli@gnome.org>
26716 Date: Sun Dec 5 13:31:20 2010 +0100
26718 Fix cut&paste error in the Label override
26720 gi/overrides/Gtk.py | 2 +-
26721 1 file changed, 1 insertion(+), 1 deletion(-)
26723 commit 607c59b74ebbc1e39cb4121c870b689e1888c106
26724 Author: Paolo Borelli <pborelli@gnome.org>
26725 Date: Sat Dec 4 16:03:27 2010 +0100
26727 pygi-convert.sh: handle TextWindowType
26729 pygi-convert.sh | 1 +
26730 1 file changed, 1 insertion(+)
26732 commit dfeabe0b68938e27da2e65903983b5113dc422f1
26733 Author: Paolo Borelli <pborelli@gnome.org>
26734 Date: Sat Dec 4 15:49:15 2010 +0100
26736 Override Label constructor to behave like pygtk
26738 gi/overrides/Gtk.py | 7 +++++++
26739 tests/test_overrides.py | 4 ++++
26740 2 files changed, 11 insertions(+)
26742 commit da4e045e5abbed2796cc4ed39df35a0dde2de31b
26743 Author: Paolo Borelli <pborelli@gnome.org>
26744 Date: Sat Dec 4 15:40:35 2010 +0100
26746 Override GtkTable constructor to behave like pygtk
26748 gi/overrides/Gtk.py | 7 +++++++
26749 tests/test_overrides.py | 12 ++++++++++++
26750 2 files changed, 19 insertions(+)
26752 commit 81452c23ab1befa59ff375692e582791432796a5
26753 Author: Paolo Borelli <pborelli@gnome.org>
26754 Date: Sat Dec 4 12:59:43 2010 +0100
26756 pygi-convert.sh: convert MovementStep
26758 pygi-convert.sh | 1 +
26759 1 file changed, 1 insertion(+)
26761 commit 4d097eea94258eda0c328711491fd456cbd6741b
26762 Author: Paolo Borelli <pborelli@gnome.org>
26763 Date: Sat Dec 4 11:57:02 2010 +0100
26765 Update Gdk overrides to work with latest Gtk+ 3
26767 For now added consitionals on version == 2.0, but maybe at some
26769 shuld just clean up the old stuff.
26771 gi/overrides/Gdk.py | 22 ++++++++++++++++------
26772 1 file changed, 16 insertions(+), 6 deletions(-)
26774 commit cda317195566711d66190145b545e26ed7226172
26775 Author: Johan Dahlin <johan@gnome.org>
26776 Date: Thu Dec 2 23:47:40 2010 -0200
26778 Gtk: add an override for Gtk.main_quit
26780 Override gtk.main_quit so that it can be used as a callback
26781 to signals, most importantly to the destroy signal of a widget:
26783 widget.connect('destroy', gtk.main_quit)
26785 This is compatible with what PyGTK does.
26787 https://bugzilla.gnome.org/show_bug.cgi?id=636336
26789 gi/overrides/Gtk.py | 5 ++++-
26790 gi/overrides/__init__.py | 27 +++++++++++++++++++++++++--
26791 2 files changed, 29 insertions(+), 3 deletions(-)
26793 commit 82689cbf53d92b1b951a459fe3de0e1d3a91791a
26794 Author: John (J5) Palmieri <johnp@redhat.com>
26795 Date: Thu Dec 2 16:27:04 2010 -0500
26797 [gi] handle subtypes when inserting into tree models
26799 * Often modules will give back basic types wrapped in a subtype.
26800 This is the case with D-Bus where you may want to keep some of the
26801 metadata around. More often than not, the developer is just looking
26802 to use the basetype.
26804 * This override checks the column type and handles basic types such as
26805 gchararrays, ints, longs, floats and doubles, converting them
26807 base types before sending them to the generic GI type marshaller.
26809 * More types may need to be supported but these are the common
26813 https://bugzilla.gnome.org/show_bug.cgi?id=635172
26815 gi/overrides/Gtk.py | 38 ++++++++++++++++++++++++++++++++++++--
26816 tests/test_overrides.py | 8 +++++++-
26817 2 files changed, 43 insertions(+), 3 deletions(-)
26819 commit 677490e9402bad7b7c2a832345ef54f7f0c5fc7f
26820 Author: Paolo Borelli <pborelli@gnome.org>
26821 Date: Fri Dec 3 23:39:50 2010 +0100
26823 Override TreeSelection.select_path and TreeView.scroll_to_cell
26825 The "path" argument may also be a string or a tuple
26827 gi/overrides/Gtk.py | 10 ++++++++++
26828 tests/test_overrides.py | 29 +++++++++++++++++++++++++++++
26829 2 files changed, 39 insertions(+)
26831 commit dacfe618fa244445c979f1a5efa80c1f9a5a4ae9
26832 Author: Paolo Borelli <pborelli@gnome.org>
26833 Date: Fri Dec 3 23:29:00 2010 +0100
26835 Override TreePath.__new__
26837 Instead of having a private _tree_path_from_string it is cleaner to
26838 override __new__ and it will be useful for all the api that take a
26839 TreePath or a string or a tuple.
26841 gi/overrides/Gtk.py | 33 +++++++++++++++------------------
26842 tests/test_overrides.py | 18 ++++++++++++++++++
26843 2 files changed, 33 insertions(+), 18 deletions(-)
26845 commit 7a8af9e220ee48aa28f6b025c5dae324b14fe128
26846 Author: Paolo Borelli <pborelli@gnome.org>
26847 Date: Sun Nov 28 13:02:30 2010 +0100
26849 Override Container to behave like a sequence
26851 gi/overrides/Gtk.py | 6 ++++++
26852 tests/test_overrides.py | 11 +++++++++++
26853 2 files changed, 17 insertions(+)
26855 commit 94e8befc935d4a6c7f766e34195e10fc3fb3b93a
26856 Author: John (J5) Palmieri <johnp@redhat.com>
26857 Date: Tue Nov 30 16:57:05 2010 -0500
26859 refactor Jonathan Matthew recurse vfunc patch so it applys and clean
26862 * this patch does the recursion using the previous patche's support
26865 gi/types.py | 55 +++++++++++++++++++++++++++++++++++++++++++++----------
26866 1 file changed, 45 insertions(+), 10 deletions(-)
26868 commit 9c5aee4f06f92457f9ae987656c0c469f76d0ee8
26869 Author: Jonathan Matthew <jonathan@d14n.org>
26870 Date: Thu Jul 22 23:19:51 2010 +1000
26872 Recurse up through base classes when setting up vfuncs
26874 * this patch adds the support methods to do the recursion
26876 https://bugzilla.gnome.org/show_bug.cgi?id=625033
26878 gi/gimodule.c | 130
26879 ++++++++++++++++++++++++++++++++++++++++---------------
26880 tests/test_gi.py | 37 ++++++++++++++++
26881 2 files changed, 131 insertions(+), 36 deletions(-)
26883 commit 78358e1ab54d02317f397276adee03ecb2187588
26884 Author: John (J5) Palmieri <johnp@redhat.com>
26885 Date: Mon Nov 29 18:29:57 2010 -0500
26887 add a profiling torture test for when we fix up invoke
26889 tests/test_everything.py | 67
26890 ++++++++++++++++++++++++++++++++++++++++++++++++
26891 1 file changed, 67 insertions(+)
26893 commit 792e679c06df4357843fd310c7953a931172fc99
26894 Author: John (J5) Palmieri <johnp@redhat.com>
26895 Date: Mon Nov 29 16:41:38 2010 -0500
26897 moved dynamic and base modules outside of gtk-2.0 directory
26899 * do not move header files yet as they are mostly used by static
26901 * do not remove pygtk.pth and pygtk.py files yet - there is a debate
26903 these back to pygtk but you might want to import gio static
26905 having to have pygtk installed
26906 * I have not tested this with pygtk, committing it so we can find
26908 causes any issues with legacy modules and code
26910 gi/Makefile.am | 2 +-
26911 gi/overrides/Makefile.am | 2 +-
26912 gi/repository/Makefile.am | 2 +-
26913 glib/Makefile.am | 2 +-
26914 gobject/Makefile.am | 2 +-
26915 tests/test_gi.py | 2 --
26916 tests/test_overrides.py | 3 ---
26917 7 files changed, 5 insertions(+), 10 deletions(-)
26919 commit c587e1ace7429195ac6fd4db03d2f33e2af09838
26920 Author: John (J5) Palmieri <johnp@redhat.com>
26921 Date: Mon Nov 29 15:11:46 2010 -0500
26923 add test for inout argument count
26925 tests/test_gi.py | 1 +
26926 1 file changed, 1 insertion(+)
26928 commit 5de88b4bcffdafcf8c7c20033cdf95dc690199ce
26929 Author: John (J5) Palmieri <johnp@redhat.com>
26930 Date: Mon Nov 22 19:17:23 2010 -0500
26932 [gi] add check for UNICHAR
26934 https://bugzilla.gnome.org/show_bug.cgi?id=623615
26936 gi/pygi-argument.c | 27 ++++++++++++++++++++++++++-
26937 tests/test_everything.py | 17 +++++++++++++++--
26938 2 files changed, 41 insertions(+), 3 deletions(-)
26940 commit f129b3db2c78d3cce3614993fdd1619fb9eb9c79
26941 Author: Paolo Borelli <pborelli@gnome.org>
26942 Date: Sun Nov 21 12:16:53 2010 +0100
26946 https://bugzilla.gnome.org/show_bug.cgi?id=623615
26948 gi/pygi-argument.c | 60
26949 ++++++++++++++++++++++++++++++++++++++++++++++++
26950 gi/pygi-info.c | 5 ++++
26951 tests/test_everything.py | 5 ++++
26952 3 files changed, 70 insertions(+)
26954 commit fd2c0288eb67823fca1265348a27a9f8f147ae50
26955 Author: Paolo Borelli <pborelli@gnome.org>
26956 Date: Sat Nov 27 23:01:42 2010 +0100
26958 pygi-convert.sh: gtk.accel_map -> Gtk.AccelMap._
26960 pygi-convert.sh | 1 +
26961 1 file changed, 1 insertion(+)
26963 commit 13d0ff1d9c129bb458e234b630ebe920b50e2e0f
26964 Author: Paolo Borelli <pborelli@gnome.org>
26965 Date: Sat Nov 27 22:34:13 2010 +0100
26967 pygi-convert.sh: handle "from gtk import gdk"
26969 pygi-convert.sh | 2 ++
26970 1 file changed, 2 insertions(+)
26972 commit 63a97634031c3d159ad77fdaa1f6341d7656eb07
26973 Author: Paolo Borelli <pborelli@gnome.org>
26974 Date: Sat Nov 27 22:23:24 2010 +0100
26976 pygi-convert.sh: add some Pango special cases
26978 pygi-convert.sh | 3 +++
26979 1 file changed, 3 insertions(+)
26981 commit 57e42bf4230d1aa20a47e3b0df2e509602333892
26982 Author: Paolo Borelli <pborelli@gnome.org>
26983 Date: Sat Nov 27 19:51:38 2010 +0100
26985 Override TextIter (begins|ends|toggles)_tag()
26987 Make the tag argument optional.
26989 gi/overrides/Gtk.py | 9 +++++++++
26990 tests/test_overrides.py | 17 +++++++++++++++++
26991 2 files changed, 26 insertions(+)
26993 commit 828b698e47ee819a60d24a772a3cc51ff9cd6601
26994 Author: Paolo Borelli <pborelli@gnome.org>
26995 Date: Sat Nov 27 19:32:48 2010 +0100
26997 Override TextBuffer.set_text() to make length optional
26999 gi/overrides/Gtk.py | 3 +++
27000 tests/test_overrides.py | 11 ++++++++++-
27001 2 files changed, 13 insertions(+), 1 deletion(-)
27003 commit bf55dc862755a57bb1b998702d284fc460e88a30
27004 Author: Paolo Borelli <pborelli@gnome.org>
27005 Date: Sat Nov 27 16:46:40 2010 +0100
27007 Override TextBuffer.create_mark()
27009 Override create_mark to make the left_gravity argument optional
27011 gi/overrides/Gtk.py | 3 +++
27012 tests/test_overrides.py | 3 +++
27013 2 files changed, 6 insertions(+)
27015 commit 94c0e2f71636d055bdebe3ec378f3d339eea66c9
27016 Author: Paolo Borelli <pborelli@gnome.org>
27017 Date: Sat Nov 27 16:10:33 2010 +0100
27019 Fix TextBuffer.get_selection_bounds() override
27021 Fix the override and add unit test
27023 gi/overrides/Gtk.py | 8 +++++---
27024 tests/test_overrides.py | 7 +++++++
27025 2 files changed, 12 insertions(+), 3 deletions(-)
27027 commit 0cd717e3926276540b9145e58a4a3368136b00de
27028 Author: John (J5) Palmieri <johnp@redhat.com>
27029 Date: Mon Nov 22 18:35:09 2010 -0500
27031 [gi] fix ActionGroup constructor to allow other keyword properties
27034 gi/overrides/Gtk.py | 4 ++--
27035 1 file changed, 2 insertions(+), 2 deletions(-)
27037 commit 226777cdb70fc72d206664ffd8b6737f7239d23f
27038 Author: John (J5) Palmieri <johnp@redhat.com>
27039 Date: Mon Nov 22 18:32:28 2010 -0500
27041 [gi] require the name parameter when creatin a Gtk.ActionGroup
27043 gi/overrides/Gtk.py | 3 +++
27044 tests/test_overrides.py | 2 ++
27045 2 files changed, 5 insertions(+)
27047 commit d0049fa9982d13b3553b05569fb0a227e48b6647
27048 Author: Paolo Borelli <pborelli@gnome.org>
27049 Date: Sun Nov 21 15:20:58 2010 +0100
27051 Override UIManager.insert_action_group
27053 https://bugzilla.gnome.org/show_bug.cgi?id=635437
27055 gi/overrides/Gtk.py | 3 +++
27056 tests/test_overrides.py | 34 +++++++++++++++++++++-------------
27057 2 files changed, 24 insertions(+), 13 deletions(-)
27059 commit e1db544e46aeed984133896af34b671a6a5547df
27060 Author: Paolo Borelli <pborelli@gnome.org>
27061 Date: Sun Nov 21 23:03:25 2010 +0100
27063 Override TreeModel.get() to return a tuple
27065 https://bugzilla.gnome.org/show_bug.cgi?id=635466
27067 gi/overrides/Gtk.py | 15 +++++++++++++++
27068 tests/test_overrides.py | 6 ++++++
27069 2 files changed, 21 insertions(+)
27071 commit a5e806ad8a8b279402ff7adb1c1cdc04f9f3da76
27072 Author: Paolo Borelli <pborelli@gnome.org>
27073 Date: Sun Nov 21 21:57:40 2010 +0100
27075 Make TreeSelection.get_selected_rows compatible with PyGtk
27077 https://bugzilla.gnome.org/show_bug.cgi?id=635464
27079 gi/overrides/Gtk.py | 6 ++++++
27080 1 file changed, 6 insertions(+)
27082 commit 1c537bc67107948c92b51ba6ba749747e84263e2
27083 Author: John (J5) Palmieri <johnp@redhat.com>
27084 Date: Mon Nov 22 15:04:00 2010 -0500
27086 [gi] switch to using sequences/tuples when marshalling
27087 cairo_rectangle_int_t
27089 * Upstream pycairo didn't want to add a new wrapper for
27090 cairo_rectangle_int_t
27091 * this works around that issue by using 4 element squences instead
27093 should be accepted by pycairo for any API that takes a rect
27095 gi/pygi-foreign-cairo.c | 85
27096 +++++++++++++++++++++++++++++++++++++------------
27097 1 file changed, 64 insertions(+), 21 deletions(-)
27099 commit 4cede8f12321bed6c3b71813a62c01b61853ba69
27100 Author: John (J5) Palmieri <johnp@redhat.com>
27101 Date: Fri Nov 19 16:46:53 2010 -0500
27103 [gi] overrides for treeview Drag and Drop
27105 https://bugzilla.gnome.org/show_bug.cgi?id=627367
27107 gi/overrides/Gdk.py | 7 +++++++
27108 gi/overrides/Gtk.py | 25 +++++++++++++++++++++++++
27109 2 files changed, 32 insertions(+)
27111 commit 3fd51bb903724b752f72f49c7cb35652b819791d
27112 Author: John (J5) Palmieri <johnp@redhat.com>
27113 Date: Fri Nov 19 16:44:32 2010 -0500
27115 [gi] when encountering guint8 arrays treat them as byte arrays
27117 * In Python 2 this means returning a PyString object
27118 * In Python 3 we return a PyBytes object
27120 https://bugzilla.gnome.org/show_bug.cgi?id=627367
27122 gi/pygi-argument.c | 65
27123 ++++++++++++++++++++++++++++++++++++++++++++----------
27124 tests/test_gi.py | 6 +++--
27125 2 files changed, 57 insertions(+), 14 deletions(-)
27127 commit 7ddb0f7fd8b1b9e8f691c6d42a83cb16c6561d26
27128 Author: Martin Pitt <martin.pitt@ubuntu.com>
27129 Date: Fri Nov 19 18:19:38 2010 +0100
27131 pygi-convert.sh: Add pynotify -> Notify
27133 pygi-convert.sh | 3 +++
27134 1 file changed, 3 insertions(+)
27136 commit bf03d4db03a7739ac16ddc4e614441557ede554d
27137 Author: Martin Pitt <martin.pitt@ubuntu.com>
27138 Date: Fri Nov 19 09:08:07 2010 +0100
27140 pygi-convert.sh: Remove sugar specifics, and allow command line
27143 This script is generally useful for converting pygtk2 projects,
27145 sugar. Remove the sugar specific bits, since they will just cause
27148 Also allow the user to specify the files to convert as command line
27149 arguments. If not given, all *.py files will be processed.
27151 https://bugzilla.gnome.org/show_bug.cgi?id=635244
27153 pygi-convert.sh | 25 +++++--------------------
27154 1 file changed, 5 insertions(+), 20 deletions(-)
27156 commit 18f5d229d3a4b9520c1c456be2635c8e36015c12
27157 Author: Martin Pitt <martin.pitt@ubuntu.com>
27158 Date: Fri Nov 19 09:00:35 2010 +0100
27160 pygi-convert.sh: Cover Message and Buttons types
27162 https://bugzilla.gnome.org/show_bug.cgi?id=635244
27164 pygi-convert.sh | 2 ++
27165 1 file changed, 2 insertions(+)
27167 commit ef74273c2043944708515e59a654ebe4944b46ff
27168 Author: John (J5) Palmieri <johnp@redhat.com>
27169 Date: Thu Nov 18 13:54:48 2010 -0500
27171 [gi] fix actiongroup test since actions are hashed
27173 * when actions are listed they may not show up in the order they
27175 since they reside in an unordered hash internally
27177 tests/test_overrides.py | 9 +++++----
27178 1 file changed, 5 insertions(+), 4 deletions(-)
27180 commit 2c25886bf6710568d0646f82dce4770faa44c40d
27181 Author: John (J5) Palmieri <johnp@redhat.com>
27182 Date: Wed Nov 17 14:38:09 2010 -0500
27184 [gi] when converting to UTF-8 accept Python Unicode objects as input
27187 https://bugzilla.gnome.org/show_bug.cgi?id=620579
27189 gi/pygi-argument.c | 14 ++++++++++++--
27190 glib/pyglib-python-compat.h | 5 +++++
27191 tests/test_gi.py | 3 +++
27192 3 files changed, 20 insertions(+), 2 deletions(-)
27194 commit 8c2d32c8205b971b4353e3d5d2ed1efa6ef0e06c
27195 Author: Damien Caliste <damien.caliste@cea.fr>
27196 Date: Fri Nov 12 10:20:32 2010 +0100
27198 Correct a bug in the freeing of memory in pygi-invoke.c.
27200 When a method with inout arguments is called from Python with
27201 a wrong number of arguments, the system crashs because of an
27202 assertion fail. This patch corrects this behaviour.
27204 https://bugzilla.gnome.org/show_bug.cgi?id=634671
27206 gi/pygi-invoke.c | 25 ++++++++++++++-----------
27207 1 file changed, 14 insertions(+), 11 deletions(-)
27209 commit d9bab3b185bb59bd29e3c3f6225f3636f58ec45e
27210 Author: John (J5) Palmieri <johnp@redhat.com>
27211 Date: Wed Nov 10 14:11:56 2010 -0500
27213 update news for release
27216 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
27217 1 file changed, 73 insertions(+)
27219 commit 1338a95339e21cc02b9df6d10166996c8b97a6bf
27220 Author: Jonathan Matthew <jonathan@d14n.org>
27221 Date: Tue Sep 28 13:44:13 2010 +1000
27223 Implement richcompare for GIBaseInfo
27225 https://bugzilla.gnome.org/show_bug.cgi?id=625033
27227 gi/pygi-info.c | 29 +++++++++++++++++++++++++++++
27228 1 file changed, 29 insertions(+)
27230 commit 9ce3edf69824935aeca9e676eaa9782786c22a97
27231 Author: John (J5) Palmieri <johnp@redhat.com>
27232 Date: Tue Nov 9 22:57:41 2010 -0500
27234 [gi] add the rectangle_int_t forign cairo type
27236 * the pycairo maintainer is not being responsive so you will need
27238 https://bugs.freedesktop.org/show_bug.cgi?id=31111
27239 * added conditionals, if the api doesn't exist in PyCairo we will
27241 without the forign structs
27243 gi/pygi-foreign-cairo.c | 4 ++++
27244 1 file changed, 4 insertions(+)
27246 commit 68b8211d8b014cf26ca7e9ab751fb3f61f228290
27247 Author: John (J5) Palmieri <johnp@redhat.com>
27248 Date: Mon Oct 25 18:28:36 2010 -0400
27250 add a foreign type for cairo_rectangle_int_t and allow it to be
27253 * this is needed because Gdk and Gtk switched from returning a
27255 to a CairoRectangleInt structure
27256 * the patch in https://bugs.freedesktop.org/show_bug.cgi?id=31111
27258 for pycairo (however there is currently no patch for python 2)
27259 * added fix for foreign types to allow them to be caller allocated
27260 * in order for a type to be caller allocated it must be able to take
27262 and create an empty struct in foreign_struct_from_arg and it must
27264 to handle GI_TRANFER_EVERYTHING in foreign_struct_to_arg.
27266 https://bugzilla.gnome.org/show_bug.cgi?id=627545
27268 gi/pygi-foreign-cairo.c | 57
27269 +++++++++++++++++++++++++++++++++++++++++++++++++
27270 gi/pygi-invoke.c | 15 +++++++++++--
27271 2 files changed, 70 insertions(+), 2 deletions(-)
27273 commit ce8b948310220288e9eef904eef4ec8f4e24a376
27274 Author: John (J5) Palmieri <johnp@redhat.com>
27275 Date: Tue Nov 9 22:11:51 2010 -0500
27277 [gi] add overrides to Gtk.Editable
27279 gi/overrides/Gtk.py | 17 +++++++++++++++++
27280 tests/test_overrides.py | 12 ++++++++++++
27281 2 files changed, 29 insertions(+)
27283 commit 87dbc716f26cefc0e9427c3d6e8befe8eabd3d1e
27284 Author: John (J5) Palmieri <johnp@redhat.com>
27285 Date: Tue Nov 9 21:12:54 2010 -0500
27287 [gi] handle virtual invokers
27289 * right now we check to see if there is an method with the same name
27290 as the virtual method and assume that is the invoker
27291 * some invokers are named different so we now ask the VFuncInfo if
27292 the vfunc has an invoker
27293 * this is still not completly correct, gi needs to support telling
27294 us which vfuncs must be overridden.
27295 * this keeps the old way of checking vfuncs while adding the edge case
27296 where vfunc is named differently from their invoker
27298 gi/pygi-info.c | 16 ++++++++++++++++
27300 2 files changed, 17 insertions(+), 1 deletion(-)
27302 commit 540e9f1f349ba3625e28b7673c92210eb8974098
27303 Author: John (J5) Palmieri <johnp@redhat.com>
27304 Date: Tue Nov 9 12:17:05 2010 -0500
27306 add overrides for the insert* apis of list_store and tree_store
27308 * add set_row to tree_model as convinience method for both list and
27311 https://bugzilla.gnome.org/show_bug.cgi?id=634423
27313 gi/overrides/Gtk.py | 80
27314 ++++++++++++++++++++++++++++++++++++++-----------
27315 tests/test_overrides.py | 53 +++++++++++++++++++++++++++++++-
27316 2 files changed, 114 insertions(+), 19 deletions(-)
27318 commit 0bcb58b9541d9ae52e1d96e6239e9dbe0698872a
27319 Author: John (J5) Palmieri <johnp@redhat.com>
27320 Date: Fri Nov 5 13:56:12 2010 -0400
27322 fix dialogs overrides which were relying on broken inheritance
27325 gi/overrides/Gtk.py | 14 ++++++++++++--
27326 1 file changed, 12 insertions(+), 2 deletions(-)
27328 commit 89c104d17d79d7b935cd76101cba19d49390f7be
27329 Author: John (J5) Palmieri <johnp@redhat.com>
27330 Date: Thu Nov 4 12:00:14 2010 -0400
27332 Add a overrides registry so we can refrence overrides inside the
27335 * Overrides have a reentrancy issue when doing inheritance. If an
27337 inherits from another override down the stack it won't see the
27339 because the module is not finished loading and will inherit from the
27340 non-overriden object instead. This causes type errors later.
27341 * By adding the overrides to a registry outside of the module we
27343 registration and make the override available as soon as the class
27345 not when the whole module is parsed.
27347 https://bugzilla.gnome.org/show_bug.cgi?id=633347
27349 gi/module.py | 12 ++++++++++-
27350 gi/overrides/GIMarshallingTests.py | 2 +-
27351 gi/overrides/Gdk.py | 2 +-
27352 gi/overrides/Gtk.py | 2 +-
27353 gi/overrides/__init__.py | 43
27354 ++++++++++++++++++++++++++++++++++++++
27355 gi/types.py | 8 -------
27356 tests/test_overrides.py | 27 ++++++++++++++++++++++++
27357 7 files changed, 84 insertions(+), 12 deletions(-)
27359 commit 878b8f630acd2146bee364054acd45cd33eea37a
27360 Merge: cdacaa9 e317838
27361 Author: John Stowers <john.stowers@gmail.com>
27362 Date: Fri Nov 5 11:40:22 2010 +1300
27364 Merge remote branch 'dieterv/setup-fixes-for-merge'
27366 commit e317838178fba5f0590fb8bd323f49602d564b53
27367 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27368 Date: Thu Nov 4 11:16:43 2010 +0100
27370 setup.py: ease maintenance burden for tests installation
27372 setup.py | 23 +++--------------------
27373 1 file changed, 3 insertions(+), 20 deletions(-)
27375 commit cdacaa9572893796e0f3aa3730d0191911cb29ee
27376 Author: John (J5) Palmieri <johnp@redhat.com>
27377 Date: Wed Nov 3 09:51:09 2010 -0400
27379 fix inheritence issues in overrides
27381 gi/overrides/Gtk.py | 79
27382 +++++++++++++++++++++++++++--------------------------
27383 1 file changed, 40 insertions(+), 39 deletions(-)
27385 commit 3d5955767d81f45e796ab2af0707533375681774
27386 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27387 Date: Wed Nov 3 09:38:56 2010 +0100
27389 tests: add runtests-windows.py script
27391 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27393 tests/runtests-windows.py | 47
27394 +++++++++++++++++++++++++++++++++++++++++++++++
27395 1 file changed, 47 insertions(+)
27397 commit 8cb3f2e78161639c568110aad6a807dcf59f3ae8
27398 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27399 Date: Wed Nov 3 09:35:52 2010 +0100
27401 pygobject_postinstall.py: remove pygobject-2.0.pc treatment from
27402 postinstall as pkg-config on windows figures out the correct prefix
27405 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27407 pygobject_postinstall.py | 26 +++-----------------------
27408 1 file changed, 3 insertions(+), 23 deletions(-)
27410 commit 63167574df53eb481cc11b6a097b2bfe7d5747f5
27411 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27412 Date: Wed Nov 3 09:34:38 2010 +0100
27414 pygobject_postinstall.py: remove shortcut creation
27416 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27418 pygobject_postinstall.py | 35 +----------------------------------
27419 1 file changed, 1 insertion(+), 34 deletions(-)
27421 commit f7b12611f94fd8c27fb67a03746c10149ce6e0ef
27422 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27423 Date: Wed Nov 3 09:31:14 2010 +0100
27425 setup.py: formatting cleanup, makes things readable
27427 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27429 setup.py | 56 ++++++++++++++++++++++++++------------------------------
27430 1 file changed, 26 insertions(+), 30 deletions(-)
27432 commit a31b4196fbb4638a245430f2fdeafd7534b1d84d
27433 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27434 Date: Wed Nov 3 09:28:36 2010 +0100
27436 setup.py: build and install tests
27438 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27441 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
27442 1 file changed, 61 insertions(+)
27444 commit 7c3b0c20b83c05833d73c240690dce3daf43fde8
27445 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27446 Date: Wed Nov 3 09:26:59 2010 +0100
27448 setup.py: install documentation when available on build system
27450 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27453 1 file changed, 3 insertions(+)
27455 commit 78533d851ee1314686f18cfa793613a9cf7d6686
27456 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27457 Date: Wed Nov 3 09:25:56 2010 +0100
27459 setup.py: install pygobject-codegen script
27461 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27463 setup.py | 25 +++++++++++++++++++++++++
27464 1 file changed, 25 insertions(+)
27466 commit ad40688df533dda0b1f7be8ea37c542b8796a26b
27467 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27468 Date: Wed Nov 3 09:24:45 2010 +0100
27470 setup.py: install fixxref.py script
27472 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27475 1 file changed, 3 insertions(+)
27477 commit 21ddfc66e4e18c002a33154eb4ab81170ed71ecc
27478 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27479 Date: Wed Nov 3 09:23:05 2010 +0100
27481 setup.py: rearrange constants
27483 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27485 setup.py | 37 ++++++++++++++++++++-----------------
27486 1 file changed, 20 insertions(+), 17 deletions(-)
27488 commit 7d353d04892de67265bf693f591f37fd393de639
27489 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27490 Date: Wed Nov 3 09:18:11 2010 +0100
27492 setup.py: check python version and pkgconig availability before
27495 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27497 setup.py | 18 ++++++++++--------
27498 1 file changed, 10 insertions(+), 8 deletions(-)
27500 commit 286364ed39953e942e24d5911519bcac2f90975a
27501 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27502 Date: Wed Nov 3 09:05:59 2010 +0100
27504 setup.py: simplify sys.platform != 'win32' detection and error
27507 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27509 setup.py | 29 +++++++++--------------------
27510 1 file changed, 9 insertions(+), 20 deletions(-)
27512 commit 3f70f92904c123e6cc40929c0affd3f75d061828
27513 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27514 Date: Wed Nov 3 09:02:30 2010 +0100
27516 setup.py: rearrange imports
27518 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27520 setup.py | 31 ++++++++++++++++++++++---------
27521 1 file changed, 22 insertions(+), 9 deletions(-)
27523 commit 9aa54b65f729c0f3b0e96ab7ff797f87dad6a455
27524 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27525 Date: Wed Nov 3 08:58:00 2010 +0100
27527 README.win32: update build instructions
27529 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27531 README.win32 | 13 +++++--------
27532 1 file changed, 5 insertions(+), 8 deletions(-)
27534 commit 5a33105f690ba84b2e4bb15d73d3467e92fa06e0
27535 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27536 Date: Wed Nov 3 07:59:18 2010 +0100
27538 dsextras.py: formatting cleanup, makes things readable
27540 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27543 ++++++++++++++++++++++++++++++++++++++----------------------
27544 1 file changed, 93 insertions(+), 55 deletions(-)
27546 commit d03503d0412d173acb383926ab3c2d640dad3e3f
27547 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27548 Date: Wed Nov 3 07:00:40 2010 +0100
27550 dsextras.py: add ggc4 to MSVC compatible struct packing comment
27552 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27554 dsextras.py | 4 ++--
27555 1 file changed, 2 insertions(+), 2 deletions(-)
27557 commit 8c62968e9f8467e24870b8c4f61112676eef4630
27558 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27559 Date: Wed Nov 3 06:56:32 2010 +0100
27561 dsextras.py: use the pkgc_ functions instead of repeating pgk-config
27562 incantations all over the place
27564 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27566 dsextras.py | 15 ++++++---------
27567 1 file changed, 6 insertions(+), 9 deletions(-)
27569 commit b98277afc24886bbda400e0ad360992bffa77b7c
27570 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27571 Date: Wed Nov 3 06:49:48 2010 +0100
27573 dsextras.py: add pkgc_get_version and pkgc_get_defs_dir functions
27575 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27577 dsextras.py | 10 ++++++++++
27578 1 file changed, 10 insertions(+)
27580 commit a565558652ebc3fa49d7aea40d399b06bbe376c4
27581 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27582 Date: Wed Nov 3 06:45:05 2010 +0100
27584 dsextras.py: PEP8: Comparisons to singletons like None should always
27585 be done with 'is' or 'is not', never the equality operators.
27587 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27589 dsextras.py | 4 ++--
27590 1 file changed, 2 insertions(+), 2 deletions(-)
27592 commit 4b1ff0c7f9953f925d2178069263cca67ca7db02
27593 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27594 Date: Wed Nov 3 06:44:21 2010 +0100
27596 dsextras.py: use True/False instead of 1/0
27598 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27600 dsextras.py | 25 +++++++++++++------------
27601 1 file changed, 13 insertions(+), 12 deletions(-)
27603 commit 819a21cea831c3892040390e9446b78a91d1cbbe
27604 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27605 Date: Wed Nov 3 06:28:04 2010 +0100
27607 dsextras.py: rearrange imports
27609 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27612 +++++++++++++++++++++++++++++++---------------------------
27613 1 file changed, 31 insertions(+), 27 deletions(-)
27615 commit d20edbfdde2819f8d4fee8cb3170c126fcd31d5f
27616 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27617 Date: Wed Nov 3 06:16:21 2010 +0100
27619 Add distutils generated build/dist directories and eclipse
27620 configuration files to .gitignore
27622 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
27624 .gitignore | 7 +++++++
27625 1 file changed, 7 insertions(+)
27627 commit 268d6ed2b0b1d266c612da4453b6117d9e14437e
27628 Author: John (J5) Palmieri <johnp@redhat.com>
27629 Date: Thu Oct 28 15:32:28 2010 -0400
27631 [gi] add tests for calling dir on a dynamic module
27633 tests/test_gi.py | 24 ++++++++++++++++++++++++
27634 1 file changed, 24 insertions(+)
27636 commit f6386a6e0d225c83cdbe1add4c4d3ea51d3ec2f0
27637 Author: Deepankar Sharma <deepankar.sharma@gmail.com>
27638 Date: Wed Oct 27 18:28:11 2010 -0400
27640 [gi] dir() now works for modules
27642 https://bugzilla.gnome.org/show_bug.cgi?id=625093
27644 gi/module.py | 8 ++++++++
27645 1 file changed, 8 insertions(+)
27647 commit 28ed01c34c503cfb4f14fe7af7912060ca70aba6
27648 Author: Simón Pena <spenap@gmail.com>
27649 Date: Mon Sep 20 23:10:14 2010 +0200
27651 Don't check the inner type when comparing gpointers
27653 When using pyg_pointer_richcompare to compare two objects,
27654 don't check their inner types. As we can't compare their private
27655 fields, nor get a proper compare function, we can consider them
27656 gpointers and compare them that way.
27658 https://bugzilla.gnome.org/show_bug.cgi?id=629552
27660 gobject/pygpointer.c | 2 +-
27661 1 file changed, 1 insertion(+), 1 deletion(-)
27663 commit 1731f89e4b5a20c33976963e12a1f39a21d33fde
27664 Author: John (J5) Palmieri <johnp@redhat.com>
27665 Date: Thu Oct 28 14:21:12 2010 -0400
27667 Release GIL when calling into C functions
27669 Author: Daniel P. Berrange <dan@berrange.com>
27671 https://bugzilla.gnome.org/show_bug.cgi?id=629042
27673 gi/pygi-invoke.c | 10 +++++++++-
27674 1 file changed, 9 insertions(+), 1 deletion(-)
27676 commit 783e2e351ec7470bda6b441e51f387dd61543c4b
27677 Author: José Aliste <jaliste@src.gnome.org>
27678 Date: Fri Oct 15 14:30:10 2010 -0300
27680 _gi.Repository : Implement missing info bindings.
27682 https://bugzilla.gnome.org/show_bug.cgi?id=632185
27684 gi/pygi-info.c | 91
27685 +++++++++++++++++++++++++++++++++++++++++++++++++---------
27686 gi/pygi-info.h | 7 +++++
27687 2 files changed, 84 insertions(+), 14 deletions(-)
27689 commit 2ca897273f52ae38f5e06e72c773a048e199eee5
27690 Author: John (J5) Palmieri <johnp@redhat.com>
27691 Date: Thu Oct 28 13:49:15 2010 -0400
27693 include Python.h so that PY_VERSION_HEX gets defined
27695 gi/pygi-foreign-cairo.c | 1 +
27696 1 file changed, 1 insertion(+)
27698 commit 8b28b1d713df33931e255600ab98feda37a8e02a
27699 Author: John (J5) Palmieri <johnp@redhat.com>
27700 Date: Thu Oct 28 13:47:34 2010 -0400
27702 [gi] make overrides work for python 3.x protocols and alias for
27705 gi/overrides/Gtk.py | 9 +++++++--
27706 1 file changed, 7 insertions(+), 2 deletions(-)
27708 commit 3c09710d2f68af9c16ce39fd25656147656a486a
27709 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27710 Date: Sat Oct 23 14:24:24 2010 +0200
27712 Override Gtk.Widget.translate_coordinates to not return success value
27714 gi/overrides/Gtk.py | 11 +++++++++++
27715 1 file changed, 11 insertions(+)
27717 commit 9d4443b3de8c327d8645ddde0a7a6dc5b977d7b4
27718 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27719 Date: Sat Oct 23 14:22:36 2010 +0200
27721 Override Gtk.TreeViewColumn.cell_get_position to not return success
27724 gi/overrides/Gtk.py | 5 +++++
27725 1 file changed, 5 insertions(+)
27727 commit 6679d39ace06294e98f9d6fc911ed6fb27656010
27728 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27729 Date: Sat Oct 23 14:21:36 2010 +0200
27731 Override get_path_at_pos and get_dest_row_at_pos of Gtk.TreeView to
27732 not return success value
27734 gi/overrides/Gtk.py | 15 +++++++++++++++
27735 1 file changed, 15 insertions(+)
27737 commit 80b1b266fa68a5c67106871502017166628f71e4
27738 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27739 Date: Sat Oct 23 14:20:38 2010 +0200
27741 Override Gtk.TreeSortable.get_sort_column_id to not return success
27744 gi/overrides/Gtk.py | 12 ++++++++++++
27745 1 file changed, 12 insertions(+)
27747 commit 17cd0fb3a2d2ca0c6109c41727ba0b8c42217cd5
27748 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27749 Date: Sat Oct 23 14:19:20 2010 +0200
27751 Override forward_search and backward_search of Gtk.TextIter to not
27752 return success value
27754 gi/overrides/Gtk.py | 15 +++++++++++++++
27755 1 file changed, 15 insertions(+)
27757 commit 95c86fa31da3d2fe84db0e2b5bc2a6dc896c9223
27758 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27759 Date: Sat Oct 23 14:18:09 2010 +0200
27761 Override Gtk.TextBuffer.get_selection_bounds to not return success
27764 gi/overrides/Gtk.py | 5 +++++
27765 1 file changed, 5 insertions(+)
27767 commit da6d87460b9392c29d025a7eed9249fb604204bc
27768 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27769 Date: Sat Oct 23 14:17:04 2010 +0200
27771 Override Gtk.RecentInfo.get_application_info to not return success
27774 gi/overrides/Gtk.py | 10 ++++++++++
27775 1 file changed, 10 insertions(+)
27777 commit 0ed2e8772bdc405b0d0c7e0b2803e0e141abcb6a
27778 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27779 Date: Sat Oct 23 14:16:21 2010 +0200
27781 Override Gtk.IMContext.get_surrounding to not return success value
27783 gi/overrides/Gtk.py | 10 ++++++++++
27784 1 file changed, 10 insertions(+)
27786 commit b85b445f15421209c0b4adf676d7c8218d6437c5
27787 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27788 Date: Sat Oct 23 14:15:24 2010 +0200
27790 Override get_item_at_pos, get_visible_range, get_dest_item_at_pos
27791 of Gtk.IconView to not return success value
27793 gi/overrides/Gtk.py | 19 +++++++++++++++++++
27794 1 file changed, 19 insertions(+)
27796 commit 684d716192d58c972083e579e909bcd97f8a5025
27797 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27798 Date: Sat Oct 23 14:13:47 2010 +0200
27800 Override Gtk.Container.get_focus_chain to not return success value
27802 gi/overrides/Gtk.py | 10 ++++++++++
27803 1 file changed, 10 insertions(+)
27805 commit 8ec830c57fafbfe50d9619c6caba3cb95a00d688
27806 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27807 Date: Sat Oct 23 14:12:44 2010 +0200
27809 Override Gtk.ComboBox.get_active_iter to not return success value
27811 gi/overrides/Gtk.py | 10 ++++++++++
27812 1 file changed, 10 insertions(+)
27814 commit b483852904468722230903989e3451c7c6a24c0f
27815 Author: John (J5) Palmieri <johnp@redhat.com>
27816 Date: Tue Oct 12 12:18:33 2010 -0400
27818 [gi] make parameter check less strict when dealing with GValue params
27820 * Some GValue API can store a pointer to a python object for later
27821 use but our parameter checking was too strict to allow this
27822 * Add pyg_type_from_object_strict API which takes a strict boolean and
27823 returns PY_TYPE_OBJECT if no other GType can be found
27824 * Since we don't have enough info to genrically check GValue
27826 use the less strict type guessing when encountering a GValue param
27827 * Other API stays the same and continues to do strict testing
27829 https://bugzilla.gnome.org/show_bug.cgi?id=622987
27831 gi/pygi-argument.c | 17 ++++++---------
27832 gobject/gobjectmodule.c | 4 ++--
27833 gobject/pygobject-private.h | 1 +
27834 gobject/pygobject.h | 2 ++
27835 gobject/pygtype.c | 37 +++++++++++++++++++++++++++++----
27836 tests/test_gi.py | 1 -
27837 tests/test_overrides.py | 50
27838 +++++++++++++++++++++++++++++++++++++++++----
27839 7 files changed, 90 insertions(+), 22 deletions(-)
27841 commit 8c87d622dcc6d76a981edfc5818fe67bb2e114e2
27842 Author: John Stowers <john.stowers@gmail.com>
27843 Date: Fri Oct 22 13:28:31 2010 +1300
27845 Shortcut removal is not needed on post-uninstall
27847 pygobject_postinstall.py | 14 ++------------
27848 1 file changed, 2 insertions(+), 12 deletions(-)
27850 commit a3ed97fe6f80548801739fe6b72771b9eb6d93f7
27851 Author: John Stowers <john.stowers@gmail.com>
27852 Date: Thu Oct 21 13:25:35 2010 +1300
27854 Disable shortcut creation in windows installer
27856 pygobject_postinstall.py | 2 +-
27857 1 file changed, 1 insertion(+), 1 deletion(-)
27859 commit a3d6212b0abccef58f05d454c091936776413d98
27860 Author: John (J5) Palmieri <johnp@redhat.com>
27861 Date: Thu Oct 7 11:43:27 2010 -0400
27863 overrides for all subclasses of dialog
27865 https://bugzilla.gnome.org/show_bug.cgi?id=631634
27867 gi/overrides/Gtk.py | 94
27868 +++++++++++++++++++++++++++++++++++++++++++++----
27869 tests/test_overrides.py | 64 ++++++++++++++++++++++++++++++++-
27870 2 files changed, 151 insertions(+), 7 deletions(-)
27872 commit a87e3ba64b54e6df0b5b96af47c34e3be790b58f
27873 Author: Sebastian Pölsterl <sebp@k-d-w.org>
27874 Date: Thu Oct 7 19:37:53 2010 +0200
27876 Make TreeModel behave like in GTK-2.x
27878 Moved stuff from __getitem__ to get_iter.
27879 Added TreePath.__cmp__
27881 get_iter_from_string throws ValueError.
27882 iterchildren() does not return None.
27884 Adjusted tests to new TreeModel and added TestGtk.test_tree_model
27887 Added support for negative row and column indices
27889 Use rich comparison methods instead of __cmp__
27891 Added TreeModel.__bool__/__nonzero__
27893 Raise Error if tree path string is empty
27895 https://bugzilla.gnome.org/show_bug.cgi?id=631547
27897 gi/overrides/Gtk.py | 195
27898 ++++++++++++++++++++++++++++++++++++++++++++++++
27899 tests/test_overrides.py | 160 +++++++++++++++++++++++++++++++++++++--
27900 2 files changed, 349 insertions(+), 6 deletions(-)
27902 commit acfcc29af727fb67d0dfbbcc7cc14963ef21f1ea
27903 Author: John Stowers <john.stowers@gmail.com>
27904 Date: Sat Oct 16 18:59:25 2010 +1300
27906 Correctly build GIO on windows
27908 setup.py | 6 +++---
27909 1 file changed, 3 insertions(+), 3 deletions(-)
27911 commit 33b59fd7437009b6c3ed43412e171d2cc91ee317
27912 Author: John Stowers <john.stowers@gmail.com>
27913 Date: Sat Oct 16 18:17:28 2010 +1300
27915 Require Python >= 2.6.0 for Windows build
27918 1 file changed, 1 insertion(+), 1 deletion(-)
27920 commit 544e0e4de4f5f97b0584eaf72ae8a081eca28ab6
27921 Author: John Stowers <john.stowers@gmail.com>
27922 Date: Sat Oct 16 17:41:01 2010 +1300
27924 Fix depreciation warning in dsextras.py
27927 1 file changed, 1 insertion(+), 1 deletion(-)
27929 commit 239ff961778e4e1587404d8a70dfbe8630ab0623
27930 Author: John Stowers <john.stowers@gmail.com>
27931 Date: Sat Oct 16 17:34:50 2010 +1300
27933 Fix build on windows
27935 gi/pygi-foreign.c | 5 ++++-
27936 gi/pygi.h | 5 ++++-
27938 3 files changed, 10 insertions(+), 4 deletions(-)
27940 commit 9a2f81d63012fef23fdde2b4d903bd69601c07c6
27941 Author: Michael Culbertson <michael.culbertson@gmail.com>
27942 Date: Sat Oct 16 17:08:11 2010 +1300
27944 Support for GCC4 in Windows distutils build - bug 626548
27946 dsextras.py | 3 ++-
27947 1 file changed, 2 insertions(+), 1 deletion(-)
27949 commit 27367c8dc3a3a31fdd778505b319cd3f4afb9e27
27950 Author: John Stowers <john.stowers@gmail.com>
27951 Date: Fri Oct 15 09:39:02 2010 +1300
27953 Remove obsolete comments in dsextras.py
27955 dsextras.py | 11 ++---------
27956 1 file changed, 2 insertions(+), 9 deletions(-)
27958 commit b5f383f854fb8f72677828b029589320c59006d1
27959 Author: John Stowers <john.stowers@gmail.com>
27960 Date: Fri Oct 15 09:21:03 2010 +1300
27962 Broken dsextras.py pkg-config check error message
27967 1 file changed, 1 insertion(+), 1 deletion(-)
27969 commit e1981da105b574e273ae6500fc6d25caf6af6aae
27970 Author: John (J5) Palmieri <johnp@redhat.com>
27971 Date: Tue Sep 28 15:31:03 2010 -0400
27973 add compat functions for the deprecated PyCObject api
27975 * Moved to using the PyCapsule API for python >= 3
27976 * PyCObject is removed from Python 3.2
27977 * It has also been deprecated in 2.7 but since we use the API in
27979 which are consumed by static binding modules, appling this for
27981 causes crashes unless the modules are recompiled, breaking ABI.
27983 to rely on for 2.7 because it will never be removed and there is
27985 undeprecating it upstream.
27986 * There is no issues with static bindings under python 3 because
27988 supported yet and most likely never will be.
27989 * Even if PyCObject is brought back in 3.2, PyCapsule is a much
27991 which adds a poorman's type check when unboxing.
27993 https://bugzilla.gnome.org/show_bug.cgi?id=630844
27995 gi/gimodule.c | 2 +-
27996 gi/pygi.h | 5 ++++-
27997 glib/glibmodule.c | 2 +-
27998 glib/pyglib-python-compat.h | 28 ++++++++++++++++++++++++++++
27999 glib/pyglib.c | 6 +++---
28000 glib/pygoptioncontext.c | 2 +-
28001 gobject/gobjectmodule.c | 2 +-
28002 gobject/pygobject.h | 6 ++++++
28003 gobject/pygtype.c | 10 +++++-----
28004 9 files changed, 50 insertions(+), 13 deletions(-)
28006 commit 03d2e2924e27a9d6cae89e5748f70e0a51be91c6
28007 Author: Damien Caliste <damien.caliste@cea.fr>
28008 Date: Tue Sep 28 12:44:42 2010 +0200
28010 Add __path__ attributes.
28012 Add an attribute __path__ to DynamicModule and IntrospectionModule,
28013 using the path of the typelib.
28015 https://bugzilla.gnome.org/show_bug.cgi?id=630807
28017 gi/module.py | 2 ++
28018 1 file changed, 2 insertions(+)
28020 commit 28f9366c9cb382801bad080864f667c867daa3c7
28021 Author: Sebastian Pölsterl <sebp@k-d-w.org>
28022 Date: Sat Oct 9 17:40:40 2010 +0200
28024 Override Gtk.TreeSelection.get_selected to not return success value.
28026 https://bugzilla.gnome.org/show_bug.cgi?id=631765
28028 gi/overrides/Gtk.py | 12 ++++++++++++
28029 1 file changed, 12 insertions(+)
28031 commit f01a7d9e8222663ce52100e061033f2745a5e7af
28032 Author: Vincent Untz <vuntz@gnome.org>
28033 Date: Thu Oct 7 09:42:24 2010 +0200
28035 Make row optional in Gtk.TreeStore/ListStore.append override
28037 https://bugzilla.gnome.org/show_bug.cgi?id=631548
28039 gi/overrides/Gtk.py | 36 ++++++++++++++++++++++--------------
28040 1 file changed, 22 insertions(+), 14 deletions(-)
28042 commit 1e1357f5fa1a034b0b707040d664ac46be6e23f7
28043 Author: John (J5) Palmieri <johnp@redhat.com>
28044 Date: Mon Oct 4 12:50:55 2010 -0400
28046 Revert "add compat functions for the deprecated PyCObject api"
28048 This reverts commit f25e763d53e5cdd4de08e90b04aea4b4c4720ac0.
28050 I ment to commit another patch and ended up comitting both
28052 gi/gimodule.c | 2 +-
28053 gi/pygi.h | 5 +----
28054 glib/glibmodule.c | 2 +-
28055 glib/pyglib-python-compat.h | 19 -------------------
28056 glib/pyglib.c | 6 +++---
28057 glib/pygoptioncontext.c | 2 +-
28058 gobject/gobjectmodule.c | 2 +-
28059 gobject/pygobject.h | 6 ------
28060 gobject/pygtype.c | 10 +++++-----
28061 9 files changed, 13 insertions(+), 41 deletions(-)
28063 commit 97774cb149c5b03d5ef82a5af3f19e2ce4d79d0b
28064 Author: John (J5) Palmieri <johnp@redhat.com>
28065 Date: Mon Oct 4 12:43:31 2010 -0400
28067 return NULL instead of -1 which fixes crash when introspection is
28070 * see https://bugzilla.gnome.org/show_bug.cgi?id=631158
28073 1 file changed, 1 insertion(+), 1 deletion(-)
28075 commit f25e763d53e5cdd4de08e90b04aea4b4c4720ac0
28076 Author: John (J5) Palmieri <johnp@redhat.com>
28077 Date: Tue Sep 28 15:31:03 2010 -0400
28079 add compat functions for the deprecated PyCObject api
28081 * Moved to using the PyCapsule API for python >= 2.7
28083 https://bugzilla.gnome.org/show_bug.cgi?id=630844
28085 gi/gimodule.c | 2 +-
28086 gi/pygi.h | 5 ++++-
28087 glib/glibmodule.c | 2 +-
28088 glib/pyglib-python-compat.h | 19 +++++++++++++++++++
28089 glib/pyglib.c | 6 +++---
28090 glib/pygoptioncontext.c | 2 +-
28091 gobject/gobjectmodule.c | 2 +-
28092 gobject/pygobject.h | 6 ++++++
28093 gobject/pygtype.c | 10 +++++-----
28094 9 files changed, 41 insertions(+), 13 deletions(-)
28096 commit 80b8ccd450fe4e3ea77b27e58bb63cabc2a2bb2b
28097 Author: John (J5) Palmieri <johnp@redhat.com>
28098 Date: Tue Sep 28 15:28:16 2010 -0400
28100 fix commit 7fe83108 which didn't use the compat functions for
28103 glib/glibmodule.c | 2 +-
28104 1 file changed, 1 insertion(+), 1 deletion(-)
28106 commit 9562842907a9d94f6adae2c1bb20d6b1f189abda
28107 Author: John (J5) Palmieri <johnp@redhat.com>
28108 Date: Tue Sep 28 13:15:57 2010 -0400
28110 Python 3 fixes for dsextras and the python.m4 distribution files
28112 dsextras.py | 13 +++++++------
28113 m4/python.m4 | 4 ++--
28114 2 files changed, 9 insertions(+), 8 deletions(-)
28116 commit 98f69957ee9e3037b0a05a037098e4d2133ca256
28117 Author: John (J5) Palmieri <johnp@redhat.com>
28118 Date: Mon Sep 27 14:01:31 2010 -0400
28120 post release bump to 2.27.0 unstable
28122 * update hacking to fill in some holes in the release instructions
28125 configure.ac | 2 +-
28126 2 files changed, 5 insertions(+), 3 deletions(-)
28128 commit fd38010101411e6bc1ca9314657f418de660fa13
28129 Author: John (J5) Palmieri <johnp@redhat.com>
28130 Date: Mon Sep 27 12:03:10 2010 -0400
28132 update NEWS for release
28135 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
28136 1 file changed, 93 insertions(+)
28138 commit 7072d56b6cba13da97a052c75d1ae0c2cc417fd1
28139 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28140 Date: Sun Sep 26 08:37:31 2010 +0200
28142 Pre-release version bump 2.26.0
28144 configure.ac | 4 ++--
28145 1 file changed, 2 insertions(+), 2 deletions(-)
28147 commit a549f429d2ced7a78d5baa5e2f28f6750b4788f2
28148 Author: John Stowers <john.stowers@gmail.com>
28149 Date: Fri Sep 24 22:44:03 2010 +1200
28151 Wrap g_get_system_{config,data}_dirs ()
28153 * Also tidy up g_get_{cache,config,data}_dir
28154 to share common code
28156 glib/glibmodule.c | 68
28157 ++++++++++++++++++++++++++++++++++++++++---------------
28158 1 file changed, 50 insertions(+), 18 deletions(-)
28160 commit 328aca600714bdca89dfdb531c222ee561ede27e
28161 Author: John (J5) Palmieri <johnp@redhat.com>
28162 Date: Fri Sep 24 12:16:22 2010 -0400
28164 fixed make check and make dist
28166 tests/Makefile.am | 31 ++++++++++++++++++-------------
28167 1 file changed, 18 insertions(+), 13 deletions(-)
28169 commit 27023fd56148dd17b5576c1e81e0fe851d9b8727
28170 Author: John Stowers <john.stowers@gmail.com>
28171 Date: Fri Sep 24 21:20:53 2010 +1200
28173 Disable GI tests when introspection disabled
28175 tests/Makefile.am | 2 ++
28176 1 file changed, 2 insertions(+)
28178 commit 7fe831081cdd2e26f5d948326b9f89ea0694e752
28179 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
28180 Date: Sat Jul 18 19:35:08 2009 +0200
28182 Wrap g_uri_list_extract_uris. Fixes bug #584431
28184 glib/glibmodule.c | 38 ++++++++++++++++++++++++++++++++++++++
28185 gobject/__init__.py | 2 +-
28186 tests/Makefile.am | 3 ++-
28187 tests/test_uris.py | 15 +++++++++++++++
28188 4 files changed, 56 insertions(+), 2 deletions(-)
28190 commit d6721a59c294f2471142b8c32de2f647b7084bca
28191 Author: Paul Bolle <pebolle@tiscali.nl>
28192 Date: Thu Sep 23 15:38:40 2010 -0400
28194 Fix a few uses of TRUE and FALSE in the docs
28196 docs/reference/pygio-mount.xml | 5 +++--
28197 docs/reference/pyglib-functions.xml | 18 +++++++++---------
28198 docs/reference/pyglib-maincontext.xml | 12 ++++++------
28199 docs/reference/pyglib-mainloop.xml | 6 +++---
28200 docs/reference/pygobject-functions.xml | 6 +++---
28201 docs/reference/pygobject.xml | 4 ++--
28202 6 files changed, 26 insertions(+), 25 deletions(-)
28204 commit a08c9fffb4262ae678e17f90bbfb2d5f880cfad0
28205 Author: Damien Caliste <damien.caliste@cea.fr>
28206 Date: Tue Sep 21 17:52:14 2010 +0200
28208 pygi: always free the invocation_state struct
28210 In pygi-invoke.c, the invocation_state struct is never freed
28211 in case of success. Thus, always call _free_invocation_state()
28213 Modify _free_invocation_state to avoid double free in case of
28214 caller-allocated GValue, once as a released argument in the
28215 _process routine and another time in the _free as the special
28216 case. So move all argument releasing code from the _process
28217 routine to the _free one.
28218 Modify the tests for the callback routines to return an integer
28219 value as specified in the GIR file.
28221 Make check is as successful as before (already existing error
28222 related to GVariant is still there).
28224 https://bugzilla.gnome.org/show_bug.cgi?id=630271
28226 gi/pygi-invoke.c | 83
28227 +++++++++++++++++++++---------------------------
28228 tests/test_everything.py | 4 ++-
28229 2 files changed, 40 insertions(+), 47 deletions(-)
28231 commit 9714d765a34e246899f11b6792eea3aecce0b7ec
28232 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28233 Date: Mon Sep 13 16:36:47 2010 +0200
28235 Start implementing something equivalent to g_variant_new
28237 https://bugzilla.gnome.org/show_bug.cgi?id=629367
28239 gi/gimodule.c | 20 +++++++
28240 gi/overrides/GLib.py | 131
28241 ++++++++++++++++++++++++++++++++++++++++++---
28242 gi/pygi-foreign-gvariant.c | 2 +-
28243 tests/test_everything.py | 16 ------
28244 tests/test_overrides.py | 25 +++++++++
28245 5 files changed, 170 insertions(+), 24 deletions(-)
28247 commit fc45abdd9b55ab63556798ab0f04715be79dba08
28248 Author: John (J5) Palmieri <johnp@redhat.com>
28249 Date: Thu Sep 23 10:49:36 2010 -0400
28251 fixed typo - missing comma in glib.option module
28253 * https://bugzilla.gnome.org/show_bug.cgi?id=627449
28255 glib/option.py | 2 +-
28256 1 file changed, 1 insertion(+), 1 deletion(-)
28258 commit 4ed100f3183c6325dd04461484e877bb7d4131b1
28259 Author: John (J5) Palmieri <johnp@redhat.com>
28260 Date: Fri Sep 17 12:08:09 2010 -0400
28262 add checks so we can compile under python 3 by setting PYTHON=python3
28264 * compile for python 3
28265 * disables gio if compiling under python 3.x
28266 * runs only pertinant tests
28268 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28270 configure.ac | 32 +++++++++++++++++++++++++++++---
28271 tests/Makefile.am | 35 ++++++++++++++++++++---------------
28272 tests/runtests.py | 4 ++++
28273 3 files changed, 53 insertions(+), 18 deletions(-)
28275 commit 269ff8564eeb597dc06c27e293354b7ff7a71a82
28276 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28277 Date: Fri Sep 17 15:50:47 2010 +0200
28279 Rename static methods as functions
28281 In recent gobject-introspection releases, static methods have been
28282 removed and placed as functions in the namespace level. In a future
28283 releases it's planned to become static methods again but for now
28284 let's fix the tests.
28286 tests/test_gi.py | 14 +++++++-------
28287 1 file changed, 7 insertions(+), 7 deletions(-)
28289 commit 2da8da589644d6125101210712defb1272a8abb1
28290 Author: John (J5) Palmieri <johnp@redhat.com>
28291 Date: Thu Sep 9 13:52:14 2010 -0400
28293 fix a couple of compiler warnings
28295 https://bugzilla.gnome.org/show_bug.cgi?id=629199
28297 gi/pygi-argument.c | 4 ++--
28298 gi/pygi-struct.c | 2 +-
28299 gobject/gobjectmodule.c | 2 +-
28300 3 files changed, 4 insertions(+), 4 deletions(-)
28302 commit 6769a4704f0876ac3baacd4da03ff16d9f0906be
28303 Author: John (J5) Palmieri <johnp@redhat.com>
28304 Date: Thu Sep 9 13:55:17 2010 -0400
28308 * we use richcompare now
28310 https://bugzilla.gnome.org/show_bug.cgi?id=629198
28312 gobject/pygtype.c | 9 ---------
28313 1 file changed, 9 deletions(-)
28315 commit 98f54f9d33996baeaa8c8c1240310f5396d03a1d
28316 Author: John (J5) Palmieri <johnp@redhat.com>
28317 Date: Tue Sep 14 14:10:49 2010 -0400
28319 Check the type of the instance object
28321 * in python 2 methods were added to classes as unbound methods and
28323 check the instance type to make sure it was correct
28324 * in python 3 for perfomance reasons methods are added to classes
28326 functions which treat the instance as an untyped argument so
28329 * this patch adds a type check so that the correct errors are
28331 python 3 (python 2 this just adds another layer of redundancy should
28332 something change with type checking in the future)
28333 * since GI handles regular args and the instance arg slightly
28335 we had to split out the interface checks in
28336 _pygi_g_type_info_check_object
28337 in order to not duplicate code
28339 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28341 gi/pygi-argument.c | 182
28342 ++++++++++++++++++++++++++++-------------------------
28343 gi/pygi-argument.h | 2 +
28344 gi/pygi-invoke.c | 14 +++++
28345 3 files changed, 112 insertions(+), 86 deletions(-)
28347 commit 5d79498d38b147b66ae72c1481e397160491e8d6
28348 Author: John (J5) Palmieri <johnp@redhat.com>
28349 Date: Wed Sep 15 10:26:20 2010 -0400
28351 include the correct pycairo version
28353 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28355 gi/pygi-foreign-cairo.c | 6 ++++++
28356 1 file changed, 6 insertions(+)
28358 commit b855562e5c0019cd7e4982fe00c467ede9e3926d
28359 Author: John (J5) Palmieri <johnp@redhat.com>
28360 Date: Thu Sep 9 22:16:58 2010 -0400
28362 Use PyMapping_Keys to determine if an object is a dict (py3k fix)
28364 * in Py3k PyMapping_Check returns true for sequences such as strings
28365 and lists. Since we need to get the keys anyway, and it returns
28366 NULL if this is not a dict, this is a much better test, even in
28369 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28371 gi/pygi-argument.c | 10 +++-------
28372 1 file changed, 3 insertions(+), 7 deletions(-)
28374 commit 0e72e28c6c5502c7db5103cf1299c9f0e6689fdd
28375 Author: John (J5) Palmieri <johnp@redhat.com>
28376 Date: Thu Sep 9 18:44:11 2010 -0400
28378 fix handling of UINT64 and INT64 arguments in py3k
28380 * decode to the right sized C long
28382 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28384 gi/pygi-argument.c | 20 ++++++++++++--------
28385 1 file changed, 12 insertions(+), 8 deletions(-)
28387 commit d5666d99a1c0396b7da0cb14f9f4ff8892da7e2e
28388 Author: John (J5) Palmieri <johnp@redhat.com>
28389 Date: Thu Sep 9 17:35:10 2010 -0400
28391 properly handle ulongs properties in py3k
28393 * If this is a PyLong object pull use AsUnsignedLong
28395 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28397 gobject/pygtype.c | 29 ++++++++++++++++-------------
28398 1 file changed, 16 insertions(+), 13 deletions(-)
28400 commit 3d431c7dd0de97db10cb0c00c39d9c1837bed2f2
28401 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28402 Date: Fri Sep 17 12:14:56 2010 +0200
28404 Specify encoding of tests/test_gi.py
28406 tests/test_gi.py | 3 ++-
28407 1 file changed, 2 insertions(+), 1 deletion(-)
28409 commit a808bdabb9fa6f4a9b9ce42e1cce05fb37403f0f
28410 Author: John (J5) Palmieri <johnp@redhat.com>
28411 Date: Thu Sep 9 13:24:30 2010 -0400
28413 use actual unicode in the tests on py3k, not the byte representation
28415 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28417 tests/test_gi.py | 6 +++++-
28418 1 file changed, 5 insertions(+), 1 deletion(-)
28420 commit 928f4485041d80d0c36ff2daeae4bcd09bd0bde4
28421 Author: John (J5) Palmieri <johnp@redhat.com>
28422 Date: Thu Sep 9 12:45:21 2010 -0400
28424 s/METH_KEYWORDS/METH_VARARGS|METH_KEYWORDS/ when defining object
28427 * in Py3k the METH_KEYWORDS flag by itself is invalid. A method
28429 with both the METH_VARARGS and METH_KEYWORDS flags.
28431 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28433 glib/pygiochannel.c | 30 +++++++++++++++---------------
28434 glib/pygsource.c | 4 ++--
28435 gobject/pygobject.c | 2 +-
28436 3 files changed, 18 insertions(+), 18 deletions(-)
28438 commit b5ee20afa4399c7689fbec8939fa20b927eeb782
28439 Author: John (J5) Palmieri <johnp@redhat.com>
28440 Date: Thu Sep 9 08:04:40 2010 -0400
28442 fix subclassing PyLong by calling __new__ correctly
28444 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28446 glib/pygspawn.c | 4 ++--
28447 1 file changed, 2 insertions(+), 2 deletions(-)
28449 commit a499b2f0d622b671bd154544f66b73f1278e66ed
28450 Author: John (J5) Palmieri <johnp@redhat.com>
28451 Date: Thu Sep 9 07:56:44 2010 -0400
28453 minor py3k fixups for python modules
28455 * add _basestring and _bytes and _callable wrappers
28456 * use items instead of iteritems and range instead of xrange
28460 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28462 gi/overrides/Gtk.py | 24 ++++++++++++++++--------
28463 glib/option.py | 16 ++++++++++++----
28464 2 files changed, 28 insertions(+), 12 deletions(-)
28466 commit dec9001d26c97949e7b3578086cb35e98075c047
28467 Author: John (J5) Palmieri <johnp@redhat.com>
28468 Date: Thu Sep 9 07:36:04 2010 -0400
28470 minor fixes in tests for py3k compat
28472 * add a _bytes wrapper for API that expects bytes in py3k but str
28474 * fix some more exception handling using sys.exc_info()[:2]
28475 * use range instead of xrange, items instead of iteritems since py3k
28476 dropped support for the different ways of accessing iterators
28477 - this is less efficient in py2 but we plan to target py3k as the
28479 * use list(dict.items()) since py3k only returns iterables which
28482 * missed some _long wrapping
28484 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28486 tests/compathelper.py | 18 ++++++++++++++++++
28487 tests/test_everything.py | 5 +++--
28488 tests/test_mainloop.py | 3 ++-
28489 tests/test_option.py | 6 ++++--
28490 tests/test_overrides.py | 4 ++--
28491 tests/test_properties.py | 6 +++---
28492 6 files changed, 32 insertions(+), 10 deletions(-)
28494 commit 09a0daeedf49eaf376c1288be5743b57fbc76d51
28495 Author: Colin Walters <walters@verbum.org>
28496 Date: Thu Sep 9 16:25:51 2010 -0400
28498 compilation: Fix syntax error
28500 gi/pygi-info.c | 2 +-
28501 1 file changed, 1 insertion(+), 1 deletion(-)
28503 commit 9f7afd6d5afd8c1a5f36bf1295814757b71c8cbc
28504 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28505 Date: Thu Sep 9 22:17:00 2010 +0200
28509 gi/overrides/GLib.py | 48
28510 ++++++++++++++++++++++++++++++++++++++++++++++++
28511 1 file changed, 48 insertions(+)
28513 commit 306b792ac97a458ddee59fb86d66453495117f3e
28514 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28515 Date: Thu Jul 22 13:48:51 2010 +0100
28517 Add override for GLib.Variant.new_tuple
28519 * gi/gimodule.c: Add _wrap_pyg_variant_new_tuple
28520 * gi/overrides/GLib.py: Override Variant.new_tuple and
28522 * gi/pygi-type.[hc]: split _pygi_type_import_by_name out from
28523 _pygi_type_import_by_gi_info
28524 * gi/types.py: Never override gobject.TYPE_NONE
28525 * tests/test_everything.py: Add tests for GVariant tuples
28527 https://bugzilla.gnome.org/show_bug.cgi?id=625050
28529 gi/gimodule.c | 38 ++++++++++++++++++++++++++++++++++++++
28530 gi/overrides/Makefile.am | 1 +
28531 gi/pygi-type.c | 15 +++++++++------
28532 gi/pygi-type.h | 2 ++
28534 tests/test_everything.py | 9 +++++++++
28535 6 files changed, 60 insertions(+), 6 deletions(-)
28537 commit 22e53aa2ed9cf6173a877b0af6928d5ab8da2f4f
28538 Author: John (J5) Palmieri <johnp@redhat.com>
28539 Date: Wed Sep 8 13:08:48 2010 -0400
28541 fix for changes in the gi test libraries
28543 tests/test_everything.py | 2 +-
28544 1 file changed, 1 insertion(+), 1 deletion(-)
28546 commit 246877074617b0e9c3b2ba2a5395a73e0ed9cd5d
28547 Author: John (J5) Palmieri <johnp@redhat.com>
28548 Date: Wed Sep 8 13:08:07 2010 -0400
28550 Gtk.DialogFlags.NO_SEPARATOR has been removed in Gtk 3.0
28552 gi/overrides/Gtk.py | 10 ++++++++--
28553 1 file changed, 8 insertions(+), 2 deletions(-)
28555 commit f92fc48e7e2ec50996e994ccb7d08a61e7374f22
28556 Author: John (J5) Palmieri <johnp@redhat.com>
28557 Date: Wed Sep 8 12:35:09 2010 -0400
28559 no need to offset arg positions when is_method is true
28561 * The old GI libraries required we offset arg positions for the
28563 self argument. The new library fixes this so we don't have
28567 https://bugzilla.gnome.org/show_bug.cgi?id=629087
28569 gi/pygi-callbacks.c | 5 +----
28570 1 file changed, 1 insertion(+), 4 deletions(-)
28572 commit 8c517de2d278bdef641c72b8f2919a3924290ec1
28573 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28574 Date: Fri Aug 20 14:54:35 2010 +0200
28576 gi: Add support for more property types
28578 https://bugzilla.gnome.org/show_bug.cgi?id=627494
28580 gi/pygi-property.c | 156
28581 ++++++++++++++++++++++++++++++++++++-----------
28582 tests/test_everything.py | 34 +++++++++++
28583 2 files changed, 154 insertions(+), 36 deletions(-)
28585 commit 6d183d1fff55d54569ba3e1f90a10284df74fd40
28586 Author: John (J5) Palmieri <johnp@redhat.com>
28587 Date: Fri Sep 3 12:04:16 2010 -0400
28589 use PyObject_SetAttrString, not PyDict_SetItemString when setting
28592 * When registering a gtype wrapper we used to set tp_dict
28593 directly. This works
28594 in python 2 but python 3 seems to handle attributes in a slightly
28596 way where the tp_dict and attr get out of sync. By setting the attr
28597 directly we avoid this issue.
28598 * Note that there are many more places where we set __gtype__
28600 however for objects which are not instantiated yet we have to
28603 * Since this one change fixes a lot of failed tests, for now we
28605 other places where we set __gtype__. If we run into more issues
28607 with __gtype__ we can take a closer look later.
28609 https://bugzilla.gnome.org/show_bug.cgi?id=627878
28611 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28613 gobject/gobjectmodule.c | 2 +-
28614 1 file changed, 1 insertion(+), 1 deletion(-)
28616 commit b7bf4269682a3335f5e0a52b46fa721af134d09a
28617 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28618 Date: Wed Sep 1 11:03:40 2010 +0200
28620 Rename GArgument to GIArgument
28622 gi/pygi-argument.c | 52
28623 +++++++++++++++++++++++-----------------------
28624 gi/pygi-argument.h | 10 ++++-----
28625 gi/pygi-closure.c | 34 +++++++++++++++---------------
28626 gi/pygi-foreign-cairo.c | 8 +++----
28627 gi/pygi-foreign-gvariant.c | 4 ++--
28628 gi/pygi-foreign-gvariant.h | 4 ++--
28629 gi/pygi-foreign.c | 12 +++++------
28630 gi/pygi-foreign.h | 8 +++----
28631 gi/pygi-info.c | 8 +++----
28632 gi/pygi-invoke.c | 28 ++++++++++++-------------
28633 gi/pygi-property.c | 4 ++--
28634 gi/pygi.h | 16 +++++++-------
28635 12 files changed, 94 insertions(+), 94 deletions(-)
28637 commit 7197f85c9be2b03636639ac909ca2c3170653509
28638 Author: John (J5) Palmieri <johnp@redhat.com>
28639 Date: Wed Aug 18 10:29:19 2010 -0400
28641 fix up tests so they run in py3k
28643 * add a compat helper that should only be used by tests
28644 * fix long notation to use the compat helper instead
28645 * add parens to print statements
28646 * use compatable try/except pattern
28648 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28650 gobject/propertyhelper.py | 16 +++++++++++-----
28651 tests/compathelper.py | 32 ++++++++++++++++++++++++++++++++
28652 tests/test_option.py | 7 ++++++-
28653 tests/test_properties.py | 24 ++++++++++++++----------
28654 tests/test_signal.py | 14 +++++++-------
28655 tests/test_source.py | 4 ++--
28656 6 files changed, 72 insertions(+), 25 deletions(-)
28658 commit 720e614acdbcf734d4bcccc403e639b5a5bcae24
28659 Author: Colin Walters <walters@verbum.org>
28660 Date: Fri Aug 20 10:58:48 2010 -0400
28662 tests: Port to new introspection tests
28664 Everything is renamed "Regress", and both it and GIMarshallingTests
28665 are now in source form, so we compile them.
28667 The scanner now adds "static methods" to objects, structs, and unions,
28668 so update the test code to use those.
28670 In the tests, remove broken (inout) cases - the person writing these
28671 tests misunderstood the semantics of (inout). It's not acceptable for
28672 a C API to mutate e.g. a GSList* passed in, or unref an object.
28674 The invocation code needed to be updated for this - remove some
28677 https://bugzilla.gnome.org/show_bug.cgi?id=627878
28679 configure.ac | 5 +-
28680 gi/pygi-argument.c | 9 +--
28681 gi/pygi-invoke.c | 147
28682 +++++----------------------------------------
28683 tests/Makefile.am | 42 ++++++++++++-
28684 tests/test_everything.py | 6 +-
28685 tests/test_gi.py | 151
28686 +++++++++--------------------------------------
28687 6 files changed, 93 insertions(+), 267 deletions(-)
28689 commit f6c4d9e58c8f05cb2d82e158c9eb8480308565bd
28690 Author: John (J5) Palmieri <johnp@redhat.com>
28691 Date: Fri Aug 20 10:43:58 2010 -0400
28693 we need to specify tp_hash since we overide tp_richcompare
28695 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28697 gobject/pygenum.c | 1 +
28698 gobject/pygflags.c | 1 +
28699 2 files changed, 2 insertions(+)
28701 commit c03e6b482548aee99362356807c804f8834fad2b
28702 Author: John Ehresman <jpe@wingware.com>
28703 Date: Thu Apr 15 17:11:30 2010 -0400
28705 working enum/flags/pid subclasses of long
28707 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28709 glib/pygspawn.c | 7 ++---
28710 gobject/pygenum.c | 61 ++++++++++++++++++++++++-------------------
28711 gobject/pygflags.c | 76
28712 +++++++++++++++++++++++-------------------------------
28713 3 files changed, 71 insertions(+), 73 deletions(-)
28715 commit 0db676fd2296750a46ba0fb069e472da06ecc53a
28716 Author: John (J5) Palmieri <johnp@redhat.com>
28717 Date: Wed Aug 18 11:03:32 2010 -0400
28719 make vfuncs work in py3k
28721 * methods now export __func__ instead of im_func for getting the
28723 out of a method closure
28724 * however classes no longer return unbound methods in py3k and instead
28725 return the actual function
28726 * in python 2 we use im_func when getting the function from the
28728 * in py3k we simply assign vfunc to the function
28730 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28732 gi/types.py | 12 ++++++++----
28733 1 file changed, 8 insertions(+), 4 deletions(-)
28735 commit 286dcd0c6455961d818ac7f05f80f82435abc1dc
28736 Author: John (J5) Palmieri <johnp@redhat.com>
28737 Date: Tue Aug 17 15:43:42 2010 -0400
28739 make cairo module compile in py3k
28741 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28743 gi/Makefile.am | 2 +-
28744 gi/pygi-foreign-cairo.c | 17 +++++++----------
28745 2 files changed, 8 insertions(+), 11 deletions(-)
28747 commit bda58ec34fc443fe1108afc8532bec50f6fd0b44
28748 Author: John (J5) Palmieri <johnp@redhat.com>
28749 Date: Tue Aug 17 02:33:45 2010 -0400
28751 fix exceptions so they work in python 3.x
28753 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28755 gi/module.py | 2 +-
28757 2 files changed, 2 insertions(+), 2 deletions(-)
28759 commit 427a3c8053feca35ccd746575760ac8a0ed50a12
28760 Author: John (J5) Palmieri <johnp@redhat.com>
28761 Date: Tue Aug 17 02:24:44 2010 -0400
28763 make the gi module compile under 3.x
28765 * include the compat macros
28766 * use GLIB_MODULE_START/END to define module
28767 * add PyInit__gi to the exported symbols
28769 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28771 gi/Makefile.am | 2 +-
28772 gi/gimodule.c | 24 +++++++++---------------
28773 2 files changed, 10 insertions(+), 16 deletions(-)
28775 commit 1dee5dcd2b1747b4a4af438c0443d7930e4802db
28776 Author: John (J5) Palmieri <johnp@redhat.com>
28777 Date: Tue Aug 17 02:14:14 2010 -0400
28779 fix up testshelper module so it compiles in python 3.x
28781 * include the compat header
28782 * fix up PyInts to be PYGLIB_Long
28783 * Use PYGLIB_DEFINE_TYPE macros to define module objects
28784 * Use PYGLIB_MODULE_START/END to define modules
28786 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28788 tests/Makefile.am | 2 +-
28789 tests/testhelpermodule.c | 221
28790 ++++++-----------------------------------------
28791 2 files changed, 28 insertions(+), 195 deletions(-)
28793 commit 1ff83a2ccb7301c8f675913f1c4f6118ea50b9c7
28794 Author: John (J5) Palmieri <johnp@redhat.com>
28795 Date: Mon Aug 16 21:14:27 2010 -0400
28797 convert to using PYGLIB_DEFINE_TYPE for module objects
28799 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28801 gi/pygi-boxed.c | 43 ++-----------
28802 gi/pygi-info.c | 171
28803 ++++++++++++++++++++-------------------------------
28804 gi/pygi-repository.c | 39 +++---------
28805 gi/pygi-struct.c | 45 +++-----------
28806 4 files changed, 88 insertions(+), 210 deletions(-)
28808 commit 1efa2b12913b194d433c17014bc1077271a6ca32
28809 Author: John (J5) Palmieri <johnp@redhat.com>
28810 Date: Mon Aug 16 13:51:05 2010 -0400
28812 some more p3k PyString and PyInt eradication in GI
28814 * add the glib dir to the includes list in the build
28815 * make sure we include the compat macros
28816 * add GLIB_PyBytes_FromString to compat macros
28817 * add GLIB_PyNumber_Long to compat macros
28818 * use RichCompare instead of Compare
28820 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28822 gi/Makefile.am | 2 +-
28823 gi/pygi-argument.c | 96
28824 +++++++++++++++++++++++++++------------------
28825 gi/pygi-boxed.c | 1 +
28826 gi/pygi-info.c | 13 +++---
28827 gi/pygi-private.h | 23 +++++++++++
28828 gi/pygi-repository.c | 8 ++--
28829 gi/pygi-struct.c | 1 +
28830 glib/pyglib-python-compat.h | 6 +++
28831 8 files changed, 103 insertions(+), 47 deletions(-)
28833 commit 6b902c66200c1684513a9ef31bdef3f2ff64e4fa
28834 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28835 Date: Fri Aug 20 09:28:57 2010 +0200
28837 pyglib: Fix typo (Leo Singer)
28839 https://bugzilla.gnome.org/show_bug.cgi?id=627408
28841 glib/option.py | 4 ++--
28842 1 file changed, 2 insertions(+), 2 deletions(-)
28844 commit 3cefffecc1317b6ad77a5ed936bfb990d16bf9d3
28845 Author: Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
28846 Date: Thu Aug 19 18:45:05 2010 -0300
28848 Add defines for size_t and ssize_t conversion functions
28850 These missing defines cause the resulting module to have unresolved
28851 symbols, rendering it unusable.
28853 https://bugzilla.gnome.org/show_bug.cgi?id=627440
28855 glib/pyglib-python-compat.h | 2 ++
28856 1 file changed, 2 insertions(+)
28858 commit d45c7031876f355e15409f00f3e50e77d18f8f4b
28859 Author: Colin Walters <walters@verbum.org>
28860 Date: Thu Aug 19 17:50:35 2010 -0400
28862 pyglib: Fix a compiler warning
28864 glib/pyglib.c | 1 +
28865 1 file changed, 1 insertion(+)
28867 commit 0fe6828ddce187ac1897a1f02ca1c5480796d5b9
28868 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28869 Date: Wed Aug 18 20:36:51 2010 +0200
28871 Don't force gtk 2.0
28873 pygi-convert.sh | 11 +++++++----
28874 1 file changed, 7 insertions(+), 4 deletions(-)
28876 commit ac59c18a4f2bfff47c862b763aaf1d1cf136a4f5
28877 Author: Steve Frécinaux <code@istique.net>
28878 Date: Tue Aug 17 14:49:30 2010 +0200
28880 Fix some ref leaks in hook_up_vfunc_implementation()
28882 https://bugzilla.gnome.org/show_bug.cgi?id=627143
28884 gi/gimodule.c | 9 +++++++--
28885 1 file changed, 7 insertions(+), 2 deletions(-)
28887 commit 18ee0db673c2fa42244ab85950bbf4840edb674b
28888 Author: John (J5) Palmieri <johnp@redhat.com>
28889 Date: Thu Aug 12 12:16:31 2010 -0400
28891 handle strings correctly in gio
28893 gio/gappinfo.override | 5 +++++
28894 gio/pygio-utils.c | 42 +++++++++++++++++++++++++++++++++++-------
28895 2 files changed, 40 insertions(+), 7 deletions(-)
28897 commit 45ab0c03110c911b47519941dfd753326891b5e0
28898 Author: John (J5) Palmieri <johnp@redhat.com>
28899 Date: Wed Aug 11 16:13:59 2010 -0400
28901 make giomodule compile under py3k
28903 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28905 gio/giomodule.c | 153
28906 +++++++++++++++++++++++++++++---------------------------
28907 1 file changed, 78 insertions(+), 75 deletions(-)
28909 commit c52f8ed3ae8cb66a03b5695e980770c3f467f755
28910 Author: John (J5) Palmieri <johnp@redhat.com>
28911 Date: Wed Aug 11 16:04:48 2010 -0400
28913 for py3k we need to do some more processing to get bytes from a
28916 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28918 gi/pygi-argument.c | 31 +++++++++++++++++++++++++++----
28919 1 file changed, 27 insertions(+), 4 deletions(-)
28921 commit de9eae4dfcce856a42cc5c569a5b9683c28d0eeb
28922 Author: John (J5) Palmieri <johnp@redhat.com>
28923 Date: Wed Aug 11 15:03:55 2010 -0400
28925 use Bytes instead of Unicode when reading io
28927 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28929 glib/pygiochannel.c | 30 ++++++++++++++++++++++++------
28930 1 file changed, 24 insertions(+), 6 deletions(-)
28932 commit 5824ff98175b749dbcfa72d24b994230b6e05377
28933 Author: John (J5) Palmieri <johnp@redhat.com>
28934 Date: Mon Aug 9 15:16:51 2010 -0400
28936 prefix compat macros with PYGLIB
28938 * refactor from John Ehresman <jpe@wingware.com> py3k branch
28939 * fix up some extranious PyString calls
28940 * remove duplicate macros from pyglib.h that are in
28941 pyglib-python-compat.h
28942 * pygobject.h can't import pyglib-python-compat.h so add codepaths
28943 for both Py3k and legacy code instead of using macros
28945 https://bugzilla.gnome.org/show_bug.cgi?id=615872
28947 glib/glibmodule.c | 48 +++++-----
28948 glib/pygiochannel.c | 46 +++++-----
28949 glib/pyglib-python-compat.h | 153 +++++++++++++++++++++++--------
28950 glib/pyglib.c | 22 ++---
28951 glib/pyglib.h | 14 ---
28952 glib/pygoptioncontext.c | 4 +-
28953 glib/pygsource.c | 16 ++--
28954 glib/pygspawn.c | 32 +++----
28955 gobject/gobjectmodule.c | 216
28956 ++++++++++++++++++++++----------------------
28957 gobject/pygboxed.c | 2 +-
28958 gobject/pygenum.c | 84 ++++++++---------
28959 gobject/pygflags.c | 122 ++++++++++++-------------
28960 gobject/pygobject-private.h | 12 +--
28961 gobject/pygobject.c | 46 +++++-----
28962 gobject/pygobject.h | 23 +++++
28963 gobject/pygparamspec.c | 24 ++---
28964 gobject/pygpointer.c | 2 +-
28965 gobject/pygtype.c | 170 +++++++++++++++++-----------------
28966 18 files changed, 563 insertions(+), 473 deletions(-)
28968 commit 231e934cc01d061e81bb60d35127a133cd0e1793
28969 Author: John (J5) Palmieri <johnp@redhat.com>
28970 Date: Mon Aug 16 10:14:04 2010 +0200
28972 Gtk.Button unit tests
28974 https://bugzilla.gnome.org/show_bug.cgi?id=622606
28976 tests/test_overrides.py | 10 ++++++++++
28977 1 file changed, 10 insertions(+)
28979 commit f07cfde377e42686c6b80f56cac62338ee333e61
28980 Author: Johan Dahlin <johan@gnome.org>
28981 Date: Mon Aug 16 10:08:38 2010 +0200
28983 [Gtk] Add overrides for Button
28985 https://bugzilla.gnome.org/show_bug.cgi?id=622606
28987 gi/overrides/Gtk.py | 13 +++++++++++++
28988 1 file changed, 13 insertions(+)
28990 commit 65a06a7216163c7e65b32c5b5f3388faa7fda5d6
28991 Author: Simon van der Linden <svdlinden@gnome.org>
28992 Date: Thu Aug 12 16:18:58 2010 +0200
28994 Make Cairo an optional dependency
28996 Add the --enable-cairo configure argument.
28998 https://bugzilla.gnome.org/show_bug.cgi?id=616732
29000 configure.ac | 15 ++++++++++++---
29001 gi/Makefile.am | 20 ++++++++++++--------
29002 2 files changed, 24 insertions(+), 11 deletions(-)
29004 commit b83507263231d9bf47f6c8450583e3d03f0a3b5b
29005 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29006 Date: Mon Aug 16 09:55:35 2010 +0200
29008 Don't import again PyGObject (John Ralls)
29010 https://bugzilla.gnome.org/show_bug.cgi?id=626996
29013 1 file changed, 1 insertion(+)
29015 commit 0dc3656070f496431829c6e8441ca17129c569f8
29016 Author: John (J5) Palmieri <johnp@redhat.com>
29017 Date: Mon Aug 9 16:11:55 2010 -0400
29019 move to using richcompare slot instead of compare
29021 https://bugzilla.gnome.org/show_bug.cgi?id=615872
29023 glib/pygiochannel.c | 18 +++++++----
29025 +++++++++++++++++++++++++++++++++++++++++++++++++
29026 glib/pyglib.h | 3 ++
29027 glib/pygmaincontext.c | 17 ++++++----
29028 glib/pygmainloop.c | 17 ++++++----
29029 glib/pygoptioncontext.c | 18 +++++++----
29030 glib/pygoptiongroup.c | 22 +++++++------
29031 gobject/pygboxed.c | 18 +++++++----
29032 gobject/pygobject.c | 44 ++++++++++++++++++-------
29033 gobject/pygparamspec.c | 19 +++++++----
29034 gobject/pygpointer.c | 17 ++++++----
29035 gobject/pygtype.c | 26 +++++++++++----
29036 12 files changed, 233 insertions(+), 71 deletions(-)
29038 commit b426e531dc53d4b50e572a2da19733479635e662
29039 Author: Simon van der Linden <svdlinden@gnome.org>
29040 Date: Thu Aug 12 18:09:33 2010 +0200
29042 Replace autogen.sh by a newer version
29044 It pulls automake 1.10 or 1.11.
29045 Greatly inspired from GLib's.
29047 https://bugzilla.gnome.org/show_bug.cgi?id=625661
29050 +++++++------------------------------------------------------
29051 1 file changed, 58 insertions(+), 448 deletions(-)
29053 commit 769645e00d6d055a4cd802454dbfc1bbfcbee691
29054 Author: Simon van der Linden <svdlinden@gnome.org>
29055 Date: Thu Aug 12 14:11:55 2010 +0200
29059 pyglib.c: In function ‘pyglib_gerror_exception_check’:
29060 pyglib.c:362: warning: format not a string literal and no format
29062 pyglib.c:371: warning: format not a string literal and no format
29065 gio.override: In function 'pygio_notify_allocate_buffer':
29066 gio.override:144:13: warning: format '%d' expects type 'int', but
29070 https://bugzilla.gnome.org/show_bug.cgi?id=625437
29072 gio/gio.override | 2 +-
29073 glib/pyglib.c | 4 ++--
29074 2 files changed, 3 insertions(+), 3 deletions(-)
29076 commit e4c4cccb588b258dbcd21702e6cddcfe9ebe4ffc
29077 Author: Simon van der Linden <svdlinden@gnome.org>
29078 Date: Thu Aug 12 11:09:37 2010 +0200
29080 Fix caller-allocates emergency free.
29082 In the state, args, args[i], arg_infos[i], and arg_type_infos[i]
29084 NULL in order to be able caller-allocates. This patch adds those
29087 Moreover, the interface info needs to be freed afterwards.
29089 https://bugzilla.gnome.org/show_bug.cgi?id=626684
29091 gi/pygi-invoke.c | 9 ++++++++-
29092 1 file changed, 8 insertions(+), 1 deletion(-)
29094 commit 0ab967ca40ddcffc2834d4e656bb2010c6b9bdda
29095 Author: Simon van der Linden <svdlinden@gnome.org>
29096 Date: Thu Aug 12 10:46:17 2010 +0200
29098 Remove useless checks.
29100 No need to check for state->arg_infos, state->arg_type_infos, and
29101 state->args_is_auxiliary to be NULL, they are always allocated.
29103 https://bugzilla.gnome.org/show_bug.cgi?id=626684
29105 gi/pygi-invoke.c | 14 +++-----------
29106 1 file changed, 3 insertions(+), 11 deletions(-)
29108 commit e17be9cd288fee5d7cb174d9d577eb9279044c67
29109 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29110 Date: Tue Aug 10 17:40:16 2010 +0200
29112 Call valgrind with G_SLICE=always-malloc G_DEBUG=gc-friendly
29114 tests/Makefile.am | 2 +-
29115 1 file changed, 1 insertion(+), 1 deletion(-)
29117 commit 8be59c37dd57acc51875c7189ca09d728b729013
29118 Author: Ignacio Casal Quinteiro <icq@gnome.org>
29119 Date: Wed Aug 4 13:43:17 2010 +0200
29123 gi/pygi-argument.c | 2 --
29124 gi/pygi-invoke.c | 2 +-
29125 gi/pygi-struct.c | 1 -
29126 3 files changed, 1 insertion(+), 4 deletions(-)
29128 commit 529eca6054e9a7e2267f1529e317c2373932762f
29129 Author: Simon van der Linden <svdlinden@gnome.org>
29130 Date: Fri Jul 30 22:39:40 2010 +0200
29132 Add myself as a maintainer
29134 MAINTAINERS | 4 ++++
29135 1 file changed, 4 insertions(+)
29137 commit caac75a6ed6f671b37e38a78e71b87906a00ac1b
29138 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29139 Date: Fri Jul 30 14:14:16 2010 +0200
29141 Properly allocate boxed structs that are (caller-allocates)
29143 * gi/pygi-boxed.[hc]: Refactor out the allocation of boxed structs
29144 * gi/pygi-invoke.c: Don't use g_malloc0 for boxed structs that
29145 are (caller-allocates)
29146 * tests/test_overrides.py: Split the TreeView tests
29148 https://bugzilla.gnome.org/show_bug.cgi?id=625653
29150 gi/pygi-boxed.c | 50
29151 ++++++++++++++++++++++++++++++++-----------------
29152 gi/pygi-boxed.h | 10 ++++++----
29153 gi/pygi-invoke.c | 16 ++++++----------
29154 tests/test_overrides.py | 39 +++++++++++++++++++-------------------
29155 4 files changed, 64 insertions(+), 51 deletions(-)
29157 commit 99c7322898c00a576c7319ea0a7c808446253133
29158 Author: Toms Baugis <toms.baugis@gmail.com>
29159 Date: Fri Jul 30 15:44:21 2010 +0200
29161 override gdk.Event to return attribute from the proper event object
29163 https://bugzilla.gnome.org/show_bug.cgi?id=620593
29165 gi/overrides/Gdk.py | 48
29166 ++++++++++++++++++++++++++++++++++++++++++++++++
29167 gi/pygi-invoke.c | 4 ----
29168 tests/test_overrides.py | 10 ++++++++++
29169 3 files changed, 58 insertions(+), 4 deletions(-)
29171 commit 55814e722c2ae11310f346790c9221e4fad92b50
29172 Author: John (J5) Palmieri <johnp@redhat.com>
29173 Date: Fri Jul 30 06:30:48 2010 -0400
29175 check if z# needs an int or Py_ssize_t
29177 https://bugzilla.gnome.org/show_bug.cgi?id=625438
29179 gio/gio.override | 5 +++++
29180 1 file changed, 5 insertions(+)
29182 commit 477315465d0a6d84b51e146e86e254873bc564ff
29183 Author: John (J5) Palmieri <johnp@redhat.com>
29184 Date: Fri Jul 30 06:43:06 2010 -0400
29186 make sure we parse parameters to python object vars not glib vars
29188 * py_flags was already set up but due to a typo &flags was being
29192 https://bugzilla.gnome.org/show_bug.cgi?id=625438
29194 gio/gfile.override | 8 ++++----
29195 1 file changed, 4 insertions(+), 4 deletions(-)
29197 commit faa7d4eece7ddb698725098970c2478a3b45c4d5
29198 Author: Paul Bolle <pebolle@tiscali.nl>
29199 Date: Fri Jul 30 10:56:01 2010 +0200
29201 Make an example and a demo work out of the box
29203 cairo-demo.py and gtk-demo.py need the two (kind of) magic lines
29204 regarding pygtk to work out of the box. So add those.
29206 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
29208 https://bugzilla.gnome.org/show_bug.cgi?id=625638
29210 demos/gtk-demo/gtk-demo.py | 2 ++
29211 examples/cairo-demo.py | 2 ++
29212 2 files changed, 4 insertions(+)
29214 commit c9da5782e6c633d9af43ee85075e9ee65db09780
29215 Author: John (J5) Palmieri <johnp@redhat.com>
29216 Date: Fri Jul 9 13:14:42 2010 -0400
29218 make sure caller allocated structs are freed when they go out of scope
29220 * Move struct transfer checks from pygi-arguments to pygi-invoke
29221 * add better warning if an unknown struct is fully transfered
29222 * only free GValues we create in the invoke cleanup. All other
29224 get cleaned up when they go out of scope in python
29225 * Fixes issues with caller allocated treeiters getting freed to early
29226 * this is a fix to crashes in the current test suite when API's
29228 TreeIters were annotated as out caller-allocates so no new tests
29231 https://bugzilla.gnome.org/show_bug.cgi?id=623969
29233 gi/pygi-argument.c | 13 +++++--------
29234 gi/pygi-invoke.c | 46 ++++++++++++++++++++++++++++++++++++++++------
29235 2 files changed, 45 insertions(+), 14 deletions(-)
29237 commit e0a85305cd107aae5902e524afd074cd8c329927
29238 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29239 Date: Fri Jul 30 10:35:33 2010 +0200
29241 Revert "override gdk.Event to return attribute from the proper
29244 Pushed by mistake, we still need testcases
29246 This reverts commit e7bb3954880568884ca66e7751ede689dc2f24f6.
29248 gi/overrides/Gdk.py | 44 --------------------------------------------
29249 1 file changed, 44 deletions(-)
29251 commit 61ffb8d6d08fcfe638f71ea97ceac3a366e5536d
29252 Author: Paul Bolle <pebolle@tiscali.nl>
29253 Date: Thu Jul 29 22:55:28 2010 +0200
29255 PyGI: properly quit cairo-demo
29257 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
29259 https://bugzilla.gnome.org/show_bug.cgi?id=625619
29261 examples/cairo-demo.py | 2 +-
29262 1 file changed, 1 insertion(+), 1 deletion(-)
29264 commit e7bb3954880568884ca66e7751ede689dc2f24f6
29265 Author: Toms Baugis <toms.baugis@gmail.com>
29266 Date: Tue Jul 27 21:37:16 2010 +0200
29268 override gdk.Event to return attribute from the proper event object.
29270 https://bugzilla.gnome.org/show_bug.cgi?id=620593
29272 gi/overrides/Gdk.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
29273 1 file changed, 44 insertions(+)
29275 commit 0a9f1da052fd33dcef81d0e267fc7972f02c7888
29276 Author: Simon van der Linden <svdlinden@gnome.org>
29277 Date: Wed Jul 28 14:56:00 2010 +0200
29279 Clean and improve the test infrastructure
29281 To run select tests, use for instance:
29282 % make check TEST_NAMES='test_everything test_gi.TestConstant'
29284 It works with check.gdb and check.valgrind too.
29286 https://bugzilla.gnome.org/show_bug.cgi?id=625488
29288 Makefile.am | 5 ----
29289 tests/Makefile.am | 65
29290 +++++++++++++++++++++-------------------------
29291 tests/common.py | 47 ---------------------------------
29292 tests/runtests.py | 43 ++++++++++++------------------
29293 tests/test_gcancellable.py | 4 +--
29294 tests/test_gi.py | 3 ---
29295 tests/test_gicon.py | 3 ++-
29296 tests/test_gio.py | 3 ++-
29297 tests/test_gobject.py | 3 ++-
29298 tests/test_gresolver.py | 4 +--
29299 tests/test_gsocket.py | 4 ++-
29300 tests/test_interface.py | 6 ++++-
29301 tests/test_mainloop.py | 11 +++-----
29302 tests/test_signal.py | 4 ++-
29303 tests/test_source.py | 4 +--
29304 tests/test_subprocess.py | 5 +---
29305 tests/test_thread.py | 5 +++-
29306 tests/test_unknown.py | 5 +++-
29307 18 files changed, 82 insertions(+), 142 deletions(-)
29309 commit 82f4cb5ebf5d992493b7a2f74cfd5f175e19eb76
29310 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29311 Date: Thu Jul 29 12:34:19 2010 +0200
29313 Add some more transformations to pygi-convert.sh
29315 pygi-convert.sh | 37 +++++++++++++++++++++++++++++--------
29316 1 file changed, 29 insertions(+), 8 deletions(-)
29318 commit de519adcd21947a0aef7932cdecb78cef200c85e
29319 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29320 Date: Wed Jul 28 14:42:36 2010 +0200
29322 Adapt to API changes: g_irepository_enumerate_versions
29324 gi/importer.py | 2 +-
29325 gi/pygi-repository.c | 12 ++++++------
29326 2 files changed, 7 insertions(+), 7 deletions(-)
29328 commit 01cd9abb43f93f9a57a5a05b6dc9560614e666e3
29329 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29330 Date: Wed Jul 28 12:26:48 2010 +0200
29332 Add GValue<->GArgument marshalling for some more types
29334 gi/pygi-property.c | 37 ++++++++++++++++++++++++++++++++++++-
29335 1 file changed, 36 insertions(+), 1 deletion(-)
29337 commit ddffa70c3ee0e837070f390632bc692430f79171
29338 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29339 Date: Wed Jul 28 11:10:42 2010 +0200
29341 Chain up with the non-introspection implementation for properties
29344 gobject/pygobject.c | 7 ++++++-
29345 1 file changed, 6 insertions(+), 1 deletion(-)
29347 commit 045433a1f8167205dc8eae613dcb8835d02c8916
29348 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29349 Date: Wed Jul 28 10:59:49 2010 +0200
29351 Improve error reporting for missing attributes in introspection
29354 gi/module.py | 4 ++--
29355 1 file changed, 2 insertions(+), 2 deletions(-)
29357 commit 6655a79b2f13fe417aefdf6aebab0f2d6162ba00
29358 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29359 Date: Tue Jul 27 21:52:49 2010 +0200
29361 Implement getting and setting properties using introspection
29364 This allows us to use information not present in GObject such as
29365 transfer and element types.
29367 https://bugzilla.gnome.org/show_bug.cgi?id=620808
29369 gi/Makefile.am | 2 +
29370 gi/gimodule.c | 2 +
29371 gi/pygi-argument.c | 2 +
29372 gi/pygi-private.h | 1 +
29373 gi/pygi-property.c | 226
29374 +++++++++++++++++++++++++++++++++++++++++++++++
29375 gi/pygi-property.h | 39 ++++++++
29376 gi/pygi.h | 41 +++++++++
29377 gobject/pygobject.c | 9 ++
29378 tests/test_everything.py | 19 ++++
29379 9 files changed, 341 insertions(+)
29381 commit 85f4572b3ffbfa364ebb2e470eab759edc557b36
29382 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29383 Date: Tue Jul 27 21:32:41 2010 +0200
29385 Readd Gdk.Rectangle override for Gtk-2.0
29387 gi/overrides/Gdk.py | 19 +++++++++++++++++++
29388 1 file changed, 19 insertions(+)
29390 commit 2082ee35e2a33f52bf1e8ec49cb4a43398e91989
29391 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29392 Date: Tue Jul 27 18:25:27 2010 +0200
29394 Allow specifying a version when loading a typelib
29396 * gi/importer.py: Defer loading the typelib until first usage.
29397 * gi/module.py: Load the typelib in IntrospectionModule().
29398 * gi/overrides/*.py: Adapt to API change.
29399 * gi/pygi-repository.c: Add wrappers for g_irepository_enumerate and
29400 g_irepository_get_version.
29402 gi/importer.py | 26 ++++++-----------
29404 +++++++++++++++++++++++++-------------
29405 gi/overrides/GIMarshallingTests.py | 2 +-
29406 gi/overrides/Gdk.py | 2 +-
29407 gi/overrides/Gtk.py | 2 +-
29408 gi/pygi-repository.c | 56
29409 +++++++++++++++++++++++++++++++++++-
29410 6 files changed, 105 insertions(+), 41 deletions(-)
29412 commit 6d7ed6c322234c240b1063a1dfaadd17157432a9
29413 Author: Jonathan Matthew <jonathan@d14n.org>
29414 Date: Tue Jul 13 20:27:28 2010 +1000
29416 treat GFreeFunc as equivalent to GDestroyNotify when scanning
29419 https://bugzilla.gnome.org/show_bug.cgi?id=624232
29421 gi/pygi-callbacks.c | 3 ++-
29422 1 file changed, 2 insertions(+), 1 deletion(-)
29424 commit 7e9cbd5601ad548b78d106bac1a1576d33b91c65
29425 Author: Simon van der Linden <svdlinden@gnome.org>
29426 Date: Mon Jul 26 17:00:23 2010 +0200
29428 Don't use == to compare doubles, use <= and =>.
29430 This avoids inequality due to small precisions difference.
29432 https://bugzilla.gnome.org/show_bug.cgi?id=625326
29434 tests/testhelpermodule.c | 2 +-
29435 1 file changed, 1 insertion(+), 1 deletion(-)
29437 commit 5ca2a41f16f4a5fcc3ab4d00bec46b077c7eb384
29438 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29439 Date: Thu Jul 8 11:36:12 2010 +0200
29441 Allow passing ints as enum args
29443 https://bugzilla.gnome.org/show_bug.cgi?id=622584
29445 gi/pygi-argument.c | 23 +++++++++++++++++++++--
29446 tests/test_gi.py | 6 ++++--
29447 2 files changed, 25 insertions(+), 4 deletions(-)
29449 commit 890c3233f8a9f884b045a294bf0122bb3afcd54a
29450 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29451 Date: Sun Jul 25 17:30:40 2010 +0100
29453 Make error message less ambiguous
29455 https://bugzilla.gnome.org/show_bug.cgi?id=625095
29457 gi/pygi-callbacks.c | 3 ++-
29458 1 file changed, 2 insertions(+), 1 deletion(-)
29460 commit 1162e436273ff8e9e4e24bd8ba74615fd4624753
29461 Author: John (J5) Palmieri <johnp@redhat.com>
29462 Date: Thu Jun 24 10:07:12 2010 -0400
29464 fix passing in type names as a GType and add gtype unit tests
29466 * a simple call to pyg_type_from_object covers all the bases
29467 * added unit tests to check for correct GType value passing
29468 * fixed up tree override tests to also check different ways of
29471 https://bugzilla.gnome.org/show_bug.cgi?id=622605
29473 gi/pygi-argument.c | 8 +-------
29474 tests/test_everything.py | 27 +++++++++++++++++++++++++++
29475 tests/test_overrides.py | 6 ++----
29476 3 files changed, 30 insertions(+), 11 deletions(-)
29478 commit 8becd32fc042445d62b885bac12dac326b2dc1fa
29479 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29480 Date: Mon Jul 26 11:54:47 2010 +0200
29482 Increase a bit verbosity of tests so people know which test failed
29484 tests/runtests.py | 2 +-
29485 1 file changed, 1 insertion(+), 1 deletion(-)
29487 commit 3b3c63514f311592e6769a373d37a2bde7ea6b38
29488 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29489 Date: Thu Jul 15 15:17:53 2010 +0200
29491 Actually add the files for GVariant foreign structs
29493 gi/pygi-foreign-gvariant.c | 63
29494 ++++++++++++++++++++++++++++++++++++++++++++++
29495 gi/pygi-foreign-gvariant.h | 41 ++++++++++++++++++++++++++++++
29496 2 files changed, 104 insertions(+)
29498 commit e65275bc57f345c111eb12a6b4476ff1ddc3bc24
29499 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29500 Date: Thu Jul 15 13:31:33 2010 +0200
29502 Add foreign struct support for GVariant
29504 * gi/pygi-invoke.c: Wrap foreign structs returned by constructors
29505 * gi/pygi-foreign.c: Register foreign support for GVariant
29506 * gi/pygi-struct.c: properly release foreign structs
29507 * gi/pygi-argument.c, gi/pygi-foreign-cairo.c, gi/pygi.h: Adapt to
29509 * tests/test_everything.py: Add basic tests for GVariant
29511 https://bugzilla.gnome.org/show_bug.cgi?id=619501
29513 gi/Makefile.am | 2 +
29514 gi/pygi-argument.c | 2 +-
29515 gi/pygi-foreign-cairo.c | 16 +++----
29516 gi/pygi-foreign.c | 107
29517 +++++++++++++++++++++++++++++------------------
29518 gi/pygi-foreign.h | 7 ++--
29519 gi/pygi-invoke.c | 18 ++++----
29520 gi/pygi-struct.c | 10 ++++-
29522 tests/test_everything.py | 8 ++++
29523 9 files changed, 110 insertions(+), 69 deletions(-)
29525 commit 3b3bd4da3fbc993fa7f7cfb46ed4e67671c94cc0
29526 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29527 Date: Mon Jul 12 11:19:06 2010 +0200
29529 Add HACKING to MANIFEST.in
29532 1 file changed, 1 insertion(+), 1 deletion(-)
29534 commit 40bf08ff001b119c7daf709197005ef6480216c5
29535 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29536 Date: Mon Jul 12 11:18:04 2010 +0200
29538 Add HACKING file with instructions for releasing
29540 HACKING | 14 ++++++++++++++
29541 1 file changed, 14 insertions(+)
29543 commit 3b9dffe7cc3820dfb84fd968fc604899601c5dc4
29544 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29545 Date: Mon Jul 12 11:09:58 2010 +0200
29547 Post release version bump to 2.21.6
29549 configure.ac | 2 +-
29550 1 file changed, 1 insertion(+), 1 deletion(-)
29552 commit 42a5a0897b38156ae010c396ea254abf502f35de
29553 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29554 Date: Mon Jul 12 11:00:29 2010 +0200
29556 Update NEWS and release PyGObject-2.21.5
29558 NEWS | 17 +++++++++++++++++
29559 1 file changed, 17 insertions(+)
29561 commit 5857f25c1c6e25b79e6134558bd7151bc6c30ef7
29562 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29563 Date: Mon Jul 12 11:00:20 2010 +0200
29565 Pre-release version bump to 2.21.5
29567 configure.ac | 2 +-
29568 1 file changed, 1 insertion(+), 1 deletion(-)
29570 commit e500adc3ac19ef6f436809e5a8828ac7e8db28f6
29571 Author: Florian Müllner <florian.muellner@gmail.com>
29572 Date: Sat Jul 10 22:35:13 2010 +0200
29574 Shut up some compiler warnings
29576 Remove unused variables, make sure variables are properly initialized.
29578 https://bugzilla.gnome.org/show_bug.cgi?id=624066
29580 gi/pygi-callbacks.c | 1 -
29581 gi/pygi-closure.c | 2 +-
29582 gi/pygi-invoke.c | 1 -
29583 3 files changed, 1 insertion(+), 3 deletions(-)
29585 commit 2efa18afbcc2fac1c90958535b2f80e6e730ee56
29586 Author: =?UTF-8?q?Florian=20M=C3=BCllner?= <florian.muellner@gmail.com>
29587 Date: Mon Jul 12 10:31:42 2010 +0200
29589 Adjust to API break in GObject-Introspection
29591 As of commit 5cb925b20, many type_tags for standard C types have
29592 been removed - namely machine-dependent integer types and derived
29593 types (size_t, time_t).
29595 Most removals are just synonyms of other types, so their removal
29596 should not have too much impact, with the exception of time_t,
29597 which was translated to a native datetime object before.
29599 Also remove time_t tests (Tomeu Vizoso).
29601 https://bugzilla.gnome.org/show_bug.cgi?id=624065
29603 configure.ac | 2 +-
29604 gi/importer.py | 7 +--
29605 gi/pygi-argument.c | 146
29606 -----------------------------------------------------
29607 gi/pygi-closure.c | 10 ----
29608 gi/pygi-info.c | 37 --------------
29609 tests/test_gi.py | 21 --------
29610 6 files changed, 5 insertions(+), 218 deletions(-)
29612 commit 27a417c71f8c122e46c7472663bb25c17413f103
29613 Author: John (J5) Palmieri <johnp@redhat.com>
29614 Date: Thu Jul 8 16:01:25 2010 -0400
29616 pass in the demo app so demos can use utility methods like requesting
29619 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
29620 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
29621 demos/gtk-demo/demos/appwindow.py | 13 +++++++++++--
29622 demos/gtk-demo/demos/assistant.py | 2 +-
29623 demos/gtk-demo/demos/builder.py | 14 ++++++++++----
29624 demos/gtk-demo/demos/button_box.py | 2 +-
29625 demos/gtk-demo/demos/clipboard.py | 8 +-------
29626 demos/gtk-demo/demos/colorselector.py | 2 +-
29627 demos/gtk-demo/demos/combobox.py | 8 +++++---
29628 demos/gtk-demo/demos/drawingarea.py | 2 +-
29629 demos/gtk-demo/demos/test.py | 2 +-
29630 demos/gtk-demo/gtk-demo.py | 6 +++---
29631 12 files changed, 37 insertions(+), 26 deletions(-)
29633 commit e7daae919c2c6ae35d3927f0006252aacd49ea86
29634 Author: John (J5) Palmieri <johnp@redhat.com>
29635 Date: Thu Jul 8 15:38:07 2010 -0400
29637 demo fixes to keep up with Gtk+
29639 * treeiter changes to reflect caller-allocate annotations
29640 * fix some flag handling
29641 * use get_indicies_with_depth instead of get_indices for paths
29643 demos/gtk-demo/demos/appwindow.py | 10 +++++++---
29644 demos/gtk-demo/demos/combobox.py | 24 ++++++++++++------------
29645 demos/gtk-demo/gtk-demo.py | 13 +++++--------
29646 3 files changed, 24 insertions(+), 23 deletions(-)
29648 commit 3d9fd6391710cc33058394d6821e4d4e11f09b22
29649 Author: John (J5) Palmieri <johnp@redhat.com>
29650 Date: Thu Jul 8 12:54:43 2010 -0400
29652 override test fixes for new GTK+ annotations
29654 tests/test_overrides.py | 23 +++++++++++++----------
29655 1 file changed, 13 insertions(+), 10 deletions(-)
29657 commit 7a400f8139b70ddfe7c949035e0851689951c647
29658 Author: Ignacio Casal Quinteiro <icq@gnome.org>
29659 Date: Thu Jul 8 12:42:25 2010 +0200
29663 gi/pygi-argument.c | 4 ++--
29664 1 file changed, 2 insertions(+), 2 deletions(-)
29666 commit 39fd0a85a3de06b1b877d1125f91036409886373
29667 Author: John (J5) Palmieri <johnp@redhat.com>
29668 Date: Wed Jul 7 15:48:36 2010 -0400
29670 fix up treeiter usage due to caller-allocates annotations in gtk+
29672 * we still don't pass tests because the caller-allocates code path
29674 handle the case where the parameter is followed by a regular
29677 gi/overrides/Gtk.py | 7 +++----
29678 tests/test_overrides.py | 21 +++++++++++----------
29679 2 files changed, 14 insertions(+), 14 deletions(-)
29681 commit 4d970b75dc5c75c1bec04cb2954c9985b476070c
29682 Author: John (J5) Palmieri <johnp@redhat.com>
29683 Date: Tue Jul 6 17:50:10 2010 -0400
29685 add entry completion demo
29687 demos/gtk-demo/demos/Entry/entry_completion.py | 87
29688 ++++++++++++++++++++++++++
29689 1 file changed, 87 insertions(+)
29691 commit f3531eaa1bfa4e01651d35cd587384d30a398ba8
29692 Author: John (J5) Palmieri <johnp@redhat.com>
29693 Date: Tue Jul 6 17:49:18 2010 -0400
29697 demos/gtk-demo/demos/Entry/entry_buffer.py | 4 ++--
29698 1 file changed, 2 insertions(+), 2 deletions(-)
29700 commit baf1e9bb550c7bf45e2ac0b70ba29c434ef1ccc6
29701 Author: John (J5) Palmieri <johnp@redhat.com>
29702 Date: Tue Jul 6 17:27:04 2010 -0400
29704 add the Entry demo directory and the entry_buffer demo
29706 demos/gtk-demo/demos/Entry/__init__.py | 0
29707 demos/gtk-demo/demos/Entry/entry_buffer.py | 73
29708 ++++++++++++++++++++++++++++++
29709 2 files changed, 73 insertions(+)
29711 commit f2b1d222120f055bec9339cca55c9cc90f538c00
29712 Author: John (J5) Palmieri <johnp@redhat.com>
29713 Date: Tue Jul 6 17:26:03 2010 -0400
29715 fix loading of demo modules to support sub modules
29717 demos/gtk-demo/gtk-demo.py | 9 +++++++--
29718 1 file changed, 7 insertions(+), 2 deletions(-)
29720 commit 4f9390fb1892b13ab2ea00ed66c5000a40f09029
29721 Author: John (J5) Palmieri <johnp@redhat.com>
29722 Date: Tue Jul 6 15:56:34 2010 -0400
29724 add the ability to have demos in sub catagories
29726 demos/gtk-demo/gtk-demo.py | 76
29727 ++++++++++++++++++++++++++++++++--------------
29728 1 file changed, 54 insertions(+), 22 deletions(-)
29730 commit dc2249a3ecf339008351316217191d0551ccc588
29731 Author: Jose Aliste <jaliste@src.gnome.org>
29732 Date: Mon Jul 5 14:36:59 2010 -0400
29734 Add __name__ to DynamicModule class.
29739 1 file changed, 1 insertion(+)
29741 commit 2357bca8d14539894b6bd0acfdc18d30b4bb4db6
29742 Author: Ignacio Casal Quinteiro <icq@gnome.org>
29743 Date: Mon Jul 5 16:11:07 2010 +0200
29745 Do not override GdkRectangle.
29747 This class was lately removed from gtk+ 3, so there is no need
29751 gi/overrides/Gdk.py | 19 -------------------
29752 1 file changed, 19 deletions(-)
29754 commit daca09dc2c2306d4fa82a68bbdd147d4b170a1e7
29755 Author: Philip Withnall <philip.withnall@collabora.co.uk>
29756 Date: Tue Jun 29 16:37:36 2010 +0100
29758 Add override for TreeModel implementing __len__()
29762 gi/overrides/Gtk.py | 11 +++++++++--
29763 tests/test_overrides.py | 5 +++++
29764 2 files changed, 14 insertions(+), 2 deletions(-)
29766 commit bb8adb7f02f0c5494df2cb6e535e44d23902e8f5
29767 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29768 Date: Tue Jun 29 11:27:13 2010 +0200
29770 Update NEWS and release PyGObject-2.21.4
29772 NEWS | 27 +++++++++++++++++++++++++--
29773 1 file changed, 25 insertions(+), 2 deletions(-)
29775 commit 2d473ee17be4671244bb4a2a0953a21ccf2a0df6
29776 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29777 Date: Tue Jun 29 10:55:03 2010 +0200
29779 Remove files from the makefiles
29781 gi/Makefile.am | 4 +---
29782 gobject/Makefile.am | 3 +--
29783 2 files changed, 2 insertions(+), 5 deletions(-)
29785 commit 89827314fd183eac07443c8e9d275ca9d4ce59df
29786 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29787 Date: Tue Jun 29 10:27:39 2010 +0200
29789 Build the cairo shim as a python module so the _gi module stops
29792 https://bugzilla.gnome.org/show_bug.cgi?id=623021
29795 gi/Makefile.am | 38 ++++++++++-----
29796 gi/gimodule.c | 8 +---
29797 gi/pygi-argument.c | 10 +---
29798 gi/pygi-foreign-cairo.c | 56 ++++++++++++++++------
29799 gi/pygi-foreign-cairo.h | 55 ---------------------
29800 gi/pygi-foreign.c | 125
29801 ++++++++++++++++++++++++++++--------------------
29802 gi/pygi-foreign.h | 31 ++++++------
29803 gi/pygi.h | 40 ++++++++++++++--
29804 9 files changed, 196 insertions(+), 169 deletions(-)
29806 commit a6a90551311bc64f037cbd442e13f70c30060871
29807 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29808 Date: Mon Jun 28 14:20:43 2010 +0200
29810 Remove pygi-external.h
29812 https://bugzilla.gnome.org/show_bug.cgi?id=623021
29814 gi/gimodule.c | 8 +++---
29815 gi/pygi-type.c | 4 +--
29816 gi/pygi-type.h | 2 +-
29817 gi/pygi.h | 54 ++++++++++++++++-----------------------
29818 gobject/Makefile.am | 6 +++++
29819 gobject/pygboxed.c | 2 +-
29820 gobject/pygenum.c | 2 +-
29821 gobject/pygflags.c | 2 +-
29822 gobject/pygi-external.h | 67
29823 -------------------------------------------------
29824 gobject/pygobject.c | 2 +-
29825 gobject/pygpointer.c | 2 +-
29826 11 files changed, 40 insertions(+), 111 deletions(-)
29828 commit 8b3a3baacb45cb3f9112f7597607602fa89c6634
29829 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29830 Date: Fri Jun 25 13:54:57 2010 +0200
29832 Revert "correctly handle floating objects in gtk"
29834 This reverts commit 60fdf4b8f738dd0f5c190bc18ddf010032d3c5ca.
29839 tests/test_everything.py
29841 gi/gimodule.c | 13 -------------
29842 tests/test_everything.py | 3 ++-
29843 2 files changed, 2 insertions(+), 14 deletions(-)
29845 commit 0f2a09d7eae63abb71723b7cd8fb290dcba33426
29846 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29847 Date: Fri Jun 25 13:49:04 2010 +0200
29849 Make valgrind happy again
29851 * gi/pygi-argument.c, gi/pygi-info.c: Zero two GArgument instances.
29852 * gi/pygi-invoke.c: workaround bgo#622711 and zero invocation_state.
29854 gi/pygi-argument.c | 1 +
29855 gi/pygi-info.c | 2 ++
29856 gi/pygi-invoke.c | 8 ++++++--
29857 3 files changed, 9 insertions(+), 2 deletions(-)
29859 commit 63afe55906c8637e913783e65b82b540b81bed65
29860 Author: John (J5) Palmieri <johnp@redhat.com>
29861 Date: Thu Jun 24 16:13:37 2010 -0400
29863 add drawing area demo
29865 demos/gtk-demo/demos/drawingarea.py | 249
29866 ++++++++++++++++++++++++++++++++++++
29867 1 file changed, 249 insertions(+)
29869 commit 8bba5f842393a284367cdd15f3d32a8c7745516a
29870 Author: John (J5) Palmieri <johnp@redhat.com>
29871 Date: Thu Jun 24 14:11:00 2010 -0400
29875 demos/gtk-demo/gtk-demo.py | 2 ++
29876 1 file changed, 2 insertions(+)
29878 commit b9da82742701ed276b01dee39626cd71cbef8556
29879 Author: John (J5) Palmieri <johnp@redhat.com>
29880 Date: Thu Jun 24 13:56:18 2010 -0400
29882 rename iter to treeiter so we aren't using a python reserved word
29884 demos/gtk-demo/gtk-demo.py | 12 ++++++------
29885 1 file changed, 6 insertions(+), 6 deletions(-)
29887 commit c93935621f2fb1ff5e8c424ae884bd684ea68e50
29888 Author: John (J5) Palmieri <johnp@redhat.com>
29889 Date: Thu Jun 24 13:47:54 2010 -0400
29891 Fixup for change in buffer API
29893 * Part of buffer API dealing with TextIter now marked (out
29896 demos/gtk-demo/gtk-demo.py | 10 ++++------
29897 1 file changed, 4 insertions(+), 6 deletions(-)
29899 commit 8d9516a593a515290109401a9db7aa259b5aa35c
29900 Author: John (J5) Palmieri <johnp@redhat.com>
29901 Date: Wed Jun 23 17:04:33 2010 -0400
29903 add ListStore, TreeStore and TreeViewColumn APIs
29905 * this is enough to support the gtk-demo.py shell
29906 * TreeStore and ListStore allow passing in as an argument list
29907 of either python or GLib types to the constructor as a description
29908 of the columns in the model
29909 * TreeStore and ListStore override the append method, allowing
29910 the application developer to send in a list of column values
29911 for one row in the model. Unlike the append in C which
29912 just returns an iter that you can then add data to,
29913 this append actualy appends data in one step
29914 * TreeViewColumn overrides the constructor to allow the adding
29915 of attributes and a cell renderer when constructing the
29918 https://bugzilla.gnome.org/show_bug.cgi?id=620405
29920 gi/overrides/Gtk.py | 59 ++++++++++++++++++++++++++++++++++++++++++
29921 tests/test_overrides.py | 69
29922 +++++++++++++++++++++++++++++++++++++++++++++++++
29923 2 files changed, 128 insertions(+)
29925 commit c305fbeb7bdb44623d5198f4a8f0a374d529fdf4
29926 Author: Johan Dahlin <johan@gnome.org>
29927 Date: Wed Jun 23 14:34:28 2010 -0300
29929 [gi] Add -I../gobject to cflags
29931 Since we're no longer pulling in pygobject cflags,
29932 add this to be able to include pygobject.h
29934 gi/Makefile.am | 3 +++
29935 1 file changed, 3 insertions(+)
29937 commit 53a093198851e3ba5abd1f6c3314737decd401d8
29938 Author: Ignacio Casal Quinteiro <icq@gnome.org>
29939 Date: Wed Jun 23 18:09:19 2010 +0200
29941 Add unit test for add_actions user data.
29943 tests/test_overrides.py | 20 +++++++++++++++-----
29944 1 file changed, 15 insertions(+), 5 deletions(-)
29946 commit 7f829af620cba768de619dd9f228d5d2ebf7fee4
29947 Author: Paolo Borelli <pborelli@gnome.org>
29948 Date: Wed Jun 23 18:06:46 2010 +0200
29950 Pass user_data param when adding actions
29952 gi/overrides/Gtk.py | 12 ++++++------
29953 1 file changed, 6 insertions(+), 6 deletions(-)
29955 commit 8f537ccd62f41ebe0db3853e2ae08080666f598f
29956 Author: John (J5) Palmieri <johnp@redhat.com>
29957 Date: Wed Jun 23 12:02:04 2010 -0400
29959 add an exception type to the try/except block
29961 * we should always specify what exception types we are expecting
29963 gi/overrides/Gtk.py | 6 +++---
29964 1 file changed, 3 insertions(+), 3 deletions(-)
29966 commit f140a8ebf59347162b67b550bd6f62d2eafad29a
29967 Author: Johan Dahlin <johan@gnome.org>
29968 Date: Wed Jun 23 12:31:51 2010 -0300
29970 Avoid duplicating required versions
29972 Avoid duplicating the version of all required packages.
29973 Also remove cyclic dependency of pygobject
29975 https://bugzilla.gnome.org/show_bug.cgi?id=622503
29977 configure.ac | 9 +++++----
29978 1 file changed, 5 insertions(+), 4 deletions(-)
29980 commit e8bd25355fbe7de38a28b7a0583167a2c0ffc31f
29981 Author: John (J5) Palmieri <johnp@redhat.com>
29982 Date: Tue Jun 22 15:03:08 2010 -0400
29984 return PyList instead of PyTuple for array, return empty list for
29987 * returns an empty list when a NULL array (empty array) is encountered
29988 * fix tests to check for lists instead of tuples or None
29989 * test the ability to send in both None and empty list for arrays
29992 gi/pygi-argument.c | 7 ++--
29993 tests/test_everything.py | 5 ++-
29994 tests/test_gi.py | 84
29995 ++++++++++++++++++++++++------------------------
29996 3 files changed, 49 insertions(+), 47 deletions(-)
29998 commit f312e6a49505eca07815146cfbdb0e48e5b3b8a8
29999 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30000 Date: Wed Jun 23 15:42:29 2010 +0200
30002 Fix 'make distcheck'
30004 * Makefile.am: put the tests dir to the end
30005 * g*/Makefile.am: build the .so when running make check
30006 * tests/Makefile.am: Don't pass the src dir to runtests.py and
30007 remove (hopefully) unneeded cruft.
30008 * tests/common.py: Don't add the src dir to the python path
30009 * tests/runtests.py: Don't pass the src dir to common.py
30011 Makefile.am | 4 +++-
30012 gi/Makefile.am | 1 +
30013 gio/Makefile.am | 1 +
30014 glib/Makefile.am | 2 +-
30015 gobject/Makefile.am | 1 +
30016 tests/Makefile.am | 17 ++---------------
30017 tests/common.py | 3 +--
30018 tests/runtests.py | 12 +++++-------
30019 8 files changed, 15 insertions(+), 26 deletions(-)
30021 commit 5f82e7d2909cbbbecbf5dbee2342f516c0d1f371
30022 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30023 Date: Wed Jun 23 13:59:14 2010 +0200
30025 Allow building pygobject without introspection support by providing
30026 --disable-introspection to configure.
30028 Makefile.am | 6 +++++-
30029 configure.ac | 15 ++++++++-------
30030 gobject/pygi-external.h | 4 ++--
30031 tests/Makefile.am | 8 ++++++--
30032 tests/runtests.py | 21 +++++++--------------
30033 5 files changed, 28 insertions(+), 26 deletions(-)
30035 commit cc3ea77318ee572673d2a044deca9001366b0f08
30036 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30037 Date: Wed Jun 23 12:26:51 2010 +0200
30039 Make sure that sys.argv is a list and not a sequence.
30041 Because Python's optparse will try to do things on it that can
30042 only be done with list.
30044 gi/overrides/Gtk.py | 2 +-
30045 1 file changed, 1 insertion(+), 1 deletion(-)
30047 commit 3d72b8248cc534a689dee5679a729b2fba56c528
30048 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30049 Date: Wed Jun 23 12:26:02 2010 +0200
30051 Force loading the GObject typelib so we have available the wrappers
30052 for base classes such as GInitiallyUnowned.
30054 gi/__init__.py | 3 +++
30055 1 file changed, 3 insertions(+)
30057 commit c7c94ef349c30597f2f10d90f74718d678ec7add
30058 Author: John (J5) Palmieri <johnp@redhat.com>
30059 Date: Tue Jun 22 14:45:48 2010 -0400
30061 we shouldn't g_array_free NULL pointers
30063 https://bugzilla.gnome.org/show_bug.cgi?id=622425
30065 gi/pygi-info.c | 5 +++--
30066 1 file changed, 3 insertions(+), 2 deletions(-)
30068 commit fb1ee243493616d7a7e4f6924c574db39f5a423d
30069 Merge: acf7b43 5f9cb91
30070 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30071 Date: Wed Jun 23 12:53:05 2010 +0200
30073 Merge branch 'pygi'
30075 commit 5f9cb91c2b3851056d5e2d7ff1401d4ce2be7c1f
30076 Author: John (J5) Palmieri <johnp@redhat.com>
30077 Date: Tue Jun 22 15:39:46 2010 -0400
30079 remove unneeded TextIter creation in the tests
30081 tests/test_overrides.py | 3 ---
30082 1 file changed, 3 deletions(-)
30084 commit 53c355d2cc0894e7f551e9b4eb719b89188a978e
30085 Author: John (J5) Palmieri <johnp@redhat.com>
30086 Date: Mon Jun 21 11:42:12 2010 -0400
30088 add override for TextBuffer
30090 * TextBuffer.create_tag takes vargs which we can't bind yet so
30092 to except a keyword list of properties
30093 * override the insert* methods so the developer does not have to
30095 - lengths are already encapsulated by a string in Python
30097 https://bugzilla.gnome.org/show_bug.cgi?id=620583
30099 gi/overrides/Gtk.py | 51
30100 +++++++++++++++++++++++++++++++++++++++++++++++++
30101 tests/test_overrides.py | 25 ++++++++++++++++++++++++
30102 2 files changed, 76 insertions(+)
30104 commit 1d89a88b212c7411ad28e74eda80ae751de92e50
30105 Author: John (J5) Palmieri <johnp@redhat.com>
30106 Date: Tue Jun 22 12:46:39 2010 -0400
30108 fix up some build issues
30110 * configure.ac: moved AM_PROG_CC_C_O below AM_PROG_CC_STDC because
30112 was complaining that AM_PROG_CC_STDC can't come after AM_PROC_CC_C_0
30113 * tests/Makefile.am: fix check-local target to use EXEC_NAME so
30115 make check.gdb work
30117 configure.ac | 2 +-
30118 tests/Makefile.am | 2 +-
30119 2 files changed, 2 insertions(+), 2 deletions(-)
30121 commit 4fe0d94c219deb69a2309693202309c53a0e5e69
30122 Author: John (J5) Palmieri <johnp@redhat.com>
30123 Date: Tue Jun 22 11:50:30 2010 -0400
30125 make the overrides file git friendly by appending to __all__ after
30128 * modifying the __all__ line for each override would confuse git as
30129 each override needs to get seperate approval before comitting.
30131 this commits would not always go in in the same order as they
30133 Also different people working on the same file would start from
30135 commit states. This caused conflicts when patches were merged.
30136 * instead of modifying a single hard coded list we now append to
30138 after each override. This creates distinct blocks of changed text
30139 which will not conflict
30141 gi/overrides/GIMarshallingTests.py | 10 ++++------
30142 gi/overrides/Gdk.py | 8 ++++----
30143 gi/overrides/Gtk.py | 7 +++++--
30144 3 files changed, 13 insertions(+), 12 deletions(-)
30146 commit 49321b934603e1ec69fb04082c63902970907d2b
30147 Author: Paolo Borelli <pborelli@gnome.org>
30148 Date: Sun Jun 20 13:27:34 2010 +0200
30150 Override Dialog constructor and add_buttons method
30152 gi/overrides/Gtk.py | 46
30153 +++++++++++++++++++++++++++++++++++++++++++++-
30154 tests/test_overrides.py | 16 ++++++++++++++++
30155 2 files changed, 61 insertions(+), 1 deletion(-)
30157 commit acf7b43a41ce814f0c57ce609a090826f04771db
30158 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30159 Date: Mon Jun 21 18:17:38 2010 +0200
30161 Post release version bump to 2.21.4
30163 configure.ac | 2 +-
30164 1 file changed, 1 insertion(+), 1 deletion(-)
30166 commit a7fa8b80406227a06cf18f8675dbc1f471283829
30167 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30168 Date: Mon Jun 21 18:10:32 2010 +0200
30170 Update NEWS and release PyGObject-2.21.3
30173 1 file changed, 7 insertions(+)
30175 commit 79acac7b86ec52cd3681d94d7f116314c3f00167
30176 Author: Ludovic L'Hours <ludovic.lhours@gmail.com>
30177 Date: Tue Jul 21 16:28:34 2009 +0200
30179 Proper handling of null-ok in virtual methods
30181 https://bugzilla.gnome.org/show_bug.cgi?id=589253
30183 codegen/codegen.py | 2 ++
30184 codegen/reversewrapper.py | 18 +++++++++++++++---
30185 2 files changed, 17 insertions(+), 3 deletions(-)
30187 commit 259a4b08f009aa01451caed20dbb6e68b402da2a
30188 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30189 Date: Mon Jun 21 17:34:54 2010 +0200
30191 Add *~ and *.orig to .gitignore
30193 .gitignore | 5 ++++-
30194 1 file changed, 4 insertions(+), 1 deletion(-)
30196 commit 00a85f6a844714d1715e2f67431747d1a4cdacb1
30197 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30198 Date: Mon Jun 21 17:33:56 2010 +0200
30200 Fall back to use the floating references API in glib if there isn't
30201 a sinkfunc defined.
30203 * tests/*: Add ref counting tests for floating objects
30204 * gobject/gobjectmodule.c, gobject/pygobject.c: Fall back to
30206 or g_object_ref if there isn't a sinkfunc defined. Make sure that
30207 pygobject_sink gets called only once per GObject instance.
30209 https://bugzilla.gnome.org/show_bug.cgi?id=583909
30211 gobject/gobjectmodule.c | 2 -
30212 gobject/pygobject.c | 50 +++++++++++++---------
30213 gobject/pygobject.h | 1 +
30214 tests/Makefile.am | 2 +
30215 tests/test-floating.c | 95 +++++++++++++++++++++++++++++++++++++++++
30216 tests/test-floating.h | 60 ++++++++++++++++++++++++++
30217 tests/test_gobject.py | 19 ++++++++-
30218 tests/testhelpermodule.c | 109
30219 +++++++++++++++++++++++++++++++++++++++++++++++
30220 8 files changed, 315 insertions(+), 23 deletions(-)
30222 commit e71238a699ae783fd1a59c8a76e3555d8066cf82
30223 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30224 Date: Mon Jun 21 13:06:13 2010 +0200
30226 Revert "Drop sinkfuncs."
30228 This reverts commit 04627488220b4f2a16e11f8982af7866fea9f7eb.
30230 gobject/gobjectmodule.c | 3 ++-
30231 gobject/pygobject.c | 42 ++++++++++++++++++++++++++++++++++--------
30232 gobject/pygobject.h | 1 -
30233 3 files changed, 36 insertions(+), 10 deletions(-)
30235 commit b2661054d6bde673484eab472e69ca021124528d
30236 Author: Johan Dahlin <johan@gnome.org>
30237 Date: Sun Jun 20 11:09:57 2010 -0300
30241 For reasons outlined at:
30242 http://mail.gnome.org/archives/python-hackers-list/2010-June/msg00009.html
30244 Makefile.am | 14 ++++-
30245 configure.ac | 29 ++++++++--
30246 {gi/demos => demos}/gtk-demo/demos/__init__.py | 0
30247 {gi/demos => demos}/gtk-demo/demos/appwindow.py | 0
30248 {gi/demos => demos}/gtk-demo/demos/assistant.py | 0
30249 {gi/demos => demos}/gtk-demo/demos/builder.py | 0
30250 {gi/demos => demos}/gtk-demo/demos/button_box.py | 0
30251 {gi/demos => demos}/gtk-demo/demos/clipboard.py | 0
30252 .../gtk-demo/demos/colorselector.py | 0
30253 {gi/demos => demos}/gtk-demo/demos/combobox.py | 0
30254 .../gtk-demo/demos/data/alphatest.png | Bin
30255 .../gtk-demo/demos/data/apple-red.png | Bin
30256 .../gtk-demo/demos/data/background.jpg | Bin
30257 {gi/demos => demos}/gtk-demo/demos/data/demo.ui | 0
30258 .../gtk-demo/demos/data/floppybuddy.gif | Bin
30259 .../gtk-demo/demos/data/gnome-applets.png | Bin
30260 .../gtk-demo/demos/data/gnome-calendar.png | Bin
30261 .../gtk-demo/demos/data/gnome-foot.png | Bin
30262 .../gtk-demo/demos/data/gnome-fs-directory.png | Bin
30263 .../gtk-demo/demos/data/gnome-fs-regular.png | Bin
30264 .../gtk-demo/demos/data/gnome-gimp.png | Bin
30265 .../gtk-demo/demos/data/gnome-gmush.png | Bin
30266 .../gtk-demo/demos/data/gnome-gsame.png | Bin
30267 .../gtk-demo/demos/data/gnu-keys.png | Bin
30268 .../gtk-demo/demos/data/gtk-logo-rgb.gif | Bin
30269 {gi/demos => demos}/gtk-demo/demos/test.py | 0
30270 {gi/demos => demos}/gtk-demo/gtk-demo.py | 0
30271 examples/Makefile.am | 2 +-
30272 {gi/examples => examples}/cairo-demo.py | 0
30273 gi/Makefile.am | 4 +-
30274 gi/examples/Makefile.am | 2 -
30275 pygi-Makefile.am | 28 ----------
30276 pygi-configure.ac | 60
30277 ---------------------
30278 pygi.doap | 34 ------------
30279 pygobject.doap | 16 +++++-
30280 tests/Makefile.am | 23 ++++++--
30281 {gi/tests => tests}/test_everything.py | 0
30282 {gi/tests => tests}/test_gi.py | 0
30283 {gi/tests => tests}/test_overrides.py | 0
30284 39 files changed, 75 insertions(+), 137 deletions(-)
30286 commit 597bd64319d7966045b5b8613ca6fc85668c3f56
30287 Merge: ec8d148 fa91dfd
30288 Author: Johan Dahlin <johan@gnome.org>
30289 Date: Sun Jun 20 10:53:46 2010 -0300
30291 Merge branch 'pygi-merge'
30293 commit fa91dfd3ec79ecd03c9fb59b9363eab4a5b3ff2b
30294 Author: Johan Dahlin <johan@gnome.org>
30295 Date: Sun Jun 20 10:53:36 2010 -0300
30300 ---------------------
30301 .gitignore => gi/.gitignore | 0
30302 HACKING => gi/HACKING | 0
30303 {demos => gi/demos}/gtk-demo/demos/__init__.py | 0
30304 {demos => gi/demos}/gtk-demo/demos/appwindow.py | 0
30305 {demos => gi/demos}/gtk-demo/demos/assistant.py | 0
30306 {demos => gi/demos}/gtk-demo/demos/builder.py | 0
30307 {demos => gi/demos}/gtk-demo/demos/button_box.py | 0
30308 {demos => gi/demos}/gtk-demo/demos/clipboard.py | 0
30309 .../demos}/gtk-demo/demos/colorselector.py | 0
30310 {demos => gi/demos}/gtk-demo/demos/combobox.py | 0
30311 .../demos}/gtk-demo/demos/data/alphatest.png | Bin
30312 .../demos}/gtk-demo/demos/data/apple-red.png | Bin
30313 .../demos}/gtk-demo/demos/data/background.jpg | Bin
30314 {demos => gi/demos}/gtk-demo/demos/data/demo.ui | 0
30315 .../demos}/gtk-demo/demos/data/floppybuddy.gif | Bin
30316 .../demos}/gtk-demo/demos/data/gnome-applets.png | Bin
30317 .../demos}/gtk-demo/demos/data/gnome-calendar.png | Bin
30318 .../demos}/gtk-demo/demos/data/gnome-foot.png | Bin
30319 .../gtk-demo/demos/data/gnome-fs-directory.png | Bin
30320 .../gtk-demo/demos/data/gnome-fs-regular.png | Bin
30321 .../demos}/gtk-demo/demos/data/gnome-gimp.png | Bin
30322 .../demos}/gtk-demo/demos/data/gnome-gmush.png | Bin
30323 .../demos}/gtk-demo/demos/data/gnome-gsame.png | Bin
30324 .../demos}/gtk-demo/demos/data/gnu-keys.png | Bin
30325 .../demos}/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin
30326 {demos => gi/demos}/gtk-demo/demos/test.py | 0
30327 {demos => gi/demos}/gtk-demo/gtk-demo.py | 0
30328 {examples => gi/examples}/Makefile.am | 0
30329 {examples => gi/examples}/cairo-demo.py | 0
30330 {tests => gi/tests}/Makefile.am | 0
30331 {tests => gi/tests}/runtests.py | 0
30332 {tests => gi/tests}/test_everything.py | 0
30333 {tests => gi/tests}/test_gi.py | 0
30334 {tests => gi/tests}/test_overrides.py | 0
30335 Makefile.am => pygi-Makefile.am | 0
30336 configure.ac => pygi-configure.ac | 0
30337 37 files changed, 166 deletions(-)
30339 commit ec8d148eccbb3714093f21b595ea77ae4c7c3bce
30340 Author: Johan Dahlin <johan@gnome.org>
30341 Date: Sun Jun 20 10:49:55 2010 -0300
30343 [giounix] Make it possible to compile on glib 2.20
30345 gio/unix.override | 2 ++
30346 1 file changed, 2 insertions(+)
30348 commit 606018a2c551d890fc2bb987d99683f777598bda
30349 Author: John (J5) Palmieri <johnp@redhat.com>
30350 Date: Mon Jun 7 16:32:29 2010 -0400
30352 Don't free transfer full struct pointers because we can't do it safely
30354 * Most libraries which are sending back structs as transfer-full
30355 are either annotated incorrectly or should be sending boxed types
30356 * It is much better to throw a warning and leak memory than it is to
30357 call free on an unknown struct pointer. Doing so may cause
30359 * Specific case is gdk_atom_intern where a GdkAtom is not actually
30361 but an integer stuffed into a pointer type
30363 https://bugzilla.gnome.org/show_bug.cgi?id=620898
30365 gi/pygi-argument.c | 9 ++++++++-
30366 gi/pygi-invoke.c | 11 +++++++++--
30367 2 files changed, 17 insertions(+), 3 deletions(-)
30369 commit 433ee2aa029a1482961f478252a06492bd3498e6
30370 Author: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
30371 Date: Tue Jun 15 11:42:28 2010 +0200
30373 Release the lock when potentially invoking Python code.
30375 * gobject/pygobject.c: Release GIL lock when retrieving properties
30376 and when clearing a PyGObject.
30378 https://bugzilla.gnome.org/show_bug.cgi?id=530935
30380 gobject/pygobject.c | 11 ++++++++++-
30381 1 file changed, 10 insertions(+), 1 deletion(-)
30383 commit aa1e82c7eb87620bd73e1edb486f5b9e0d49aa96
30384 Author: John (J5) Palmieri <johnp@redhat.com>
30385 Date: Mon Jun 14 18:36:57 2010 -0400
30387 add combobox example
30389 demos/gtk-demo/demos/combobox.py | 282
30390 +++++++++++++++++++++++++++++++++++++++
30391 1 file changed, 282 insertions(+)
30393 commit a8668694da59c2dd959c875f13337e64ca22f7e9
30394 Author: John (J5) Palmieri <johnp@redhat.com>
30395 Date: Mon Jun 14 13:43:53 2010 -0400
30397 fix leak in the allow None callbacks patch
30399 gi/pygi-callbacks.c | 4 ++--
30400 1 file changed, 2 insertions(+), 2 deletions(-)
30402 commit 729072e73d65e7fd5b5197ebe5a8c53a449d0ec0
30403 Author: John (J5) Palmieri <johnp@redhat.com>
30404 Date: Mon Jun 7 17:12:09 2010 -0400
30406 Allow passing None for callbacks which are annotated allow-none
30408 * Many callbacks are optional parameters yet we were asserting on
30410 * We now check to see if allow_none is set when setting up callbacks,
30411 if it is set and py_function == Py_None, we set the closure to NULL
30413 * pygi-invoke.c now checks to see if the closure == NULL when setting
30415 * if it is NULL there is no reason to set the the destroy notify
30417 so we skip that too
30419 https://bugzilla.gnome.org/show_bug.cgi?id=620906
30421 gi/pygi-callbacks.c | 7 +++++++
30422 gi/pygi-invoke.c | 14 +++++++++++---
30423 tests/test_everything.py | 4 ++++
30424 3 files changed, 22 insertions(+), 3 deletions(-)
30426 commit a3eb5c7de5836c37aa7ae01dbe98996ec2632c17
30427 Author: Paolo Borelli <pborelli@gnome.org>
30428 Date: Mon Jun 14 19:06:45 2010 +0200
30430 Fix to match latest gtk annotations
30432 demos/gtk-demo/demos/appwindow.py | 3 +--
30433 1 file changed, 1 insertion(+), 2 deletions(-)
30435 commit 6306dd73cc74aa9202569eac0eaaa5f825c8dc59
30436 Author: John (J5) Palmieri <johnp@redhat.com>
30437 Date: Tue Jun 8 15:03:49 2010 -0400
30439 fix variable member names in Gdk.Color override
30441 * override was using r, g, and b for the red, green, blue components
30443 the struct specifies red, green, blue so we need to use those names
30445 https://bugzilla.gnome.org/show_bug.cgi?id=621007
30447 gi/overrides/Gdk.py | 10 +++++-----
30448 tests/test_overrides.py | 6 +++---
30449 2 files changed, 8 insertions(+), 8 deletions(-)
30451 commit d182630e1128fef6f1c2aea28ccd8da4bddd2c8f
30452 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30453 Date: Thu Jun 10 20:23:13 2010 +0200
30455 Post release version bump to 2.21.3
30457 configure.ac | 2 +-
30458 1 file changed, 1 insertion(+), 1 deletion(-)
30460 commit c4e64d5d264593051b9a3131e4985a58e8e76f8b
30461 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30462 Date: Thu Jun 10 20:21:13 2010 +0200
30464 Update NEWS and release PyGObject-2.21.2
30466 NEWS | 26 ++++++++++++++++++++++++++
30467 1 file changed, 26 insertions(+)
30469 commit e0fe844d5fe8f7e26316f197444fd4143ed36adf
30470 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30471 Date: Thu Jun 10 20:09:07 2010 +0200
30473 Remove deleted files from the Makefile.
30480 tests/Makefile.am | 4 ----
30481 1 file changed, 4 deletions(-)
30483 commit 495a301cb81c5e914bcef905999265604faa27fc
30484 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30485 Date: Thu Jun 10 19:39:09 2010 +0200
30487 Add myself to the maintainers list in the README
30490 1 file changed, 1 insertion(+)
30492 commit 04627488220b4f2a16e11f8982af7866fea9f7eb
30493 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30494 Date: Thu Jun 10 19:24:31 2010 +0200
30498 * use g_object methods to sink floating refs instead of allowing
30499 custom sink functions to be registered
30500 * we now sink inside of pygobject_new_full to handle cases where
30501 a library creates its own gobject via g_object_new and just
30502 needs a python wrapper
30503 - a previous patch had done the sink when creating the gobject,
30504 since it needs to call pygobject_new_full to wrap the object,
30505 this patch handles both cases (e.g. pygobject created object
30506 and externally created gobject)
30508 https://bugzilla.gnome.org/show_bug.cgi?id=583909
30510 gobject/gobjectmodule.c | 3 +--
30511 gobject/pygobject.c | 42 ++++++++----------------------------------
30512 gobject/pygobject.h | 1 +
30513 3 files changed, 10 insertions(+), 36 deletions(-)
30515 commit 07df124dc06cf506634e95d08397f50a2d07fce2
30516 Author: Steve Frécinaux <code@istique.net>
30517 Date: Mon Jun 7 09:47:23 2010 +0200
30519 Make the "wrong argument count" exception more explicit.
30521 Previously we had messages like this one:
30522 TypeError: takes exactly 2 argument(s) (1 given)
30524 With this patch, they become like this:
30525 TypeError: get_end_iter() takes exactly 2 argument(s) (1 given)
30527 It makes things much easier to debug when there are several pygi calls
30530 https://bugzilla.gnome.org/show_bug.cgi?id=620804
30532 gi/pygi-invoke.c | 3 ++-
30533 tests/test_everything.py | 6 ++++++
30534 2 files changed, 8 insertions(+), 1 deletion(-)
30536 commit b435319fe830a909cc4d414533b3b66574931e24
30537 Author: Steve Frécinaux <code@istique.net>
30538 Date: Mon Jun 7 09:54:06 2010 +0200
30540 Use bash explicitely in the pre-commit hook.
30542 The "builtin" command is not available in all sh flavours, so the
30543 pre-commit hook is going to fail if you use dash or others instead of
30544 bash as your default 'sh' alias.
30546 https://bugzilla.gnome.org/show_bug.cgi?id=620805
30548 pre-commit.hook | 2 +-
30549 1 file changed, 1 insertion(+), 1 deletion(-)
30551 commit e9ee2916494eb7654004925c1ee1e94f99b14f1a
30552 Author: John (J5) Palmieri <johnp@redhat.com>
30553 Date: Tue Jun 8 16:55:26 2010 -0400
30557 demos/gtk-demo/demos/colorselector.py | 121
30558 ++++++++++++++++++++++++++++++++++
30559 1 file changed, 121 insertions(+)
30561 commit ec598128de9e90dccab662ed2f5511c8d659e156
30562 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30563 Date: Tue Jun 8 15:48:33 2010 +0200
30565 Update PyGObject dependency to 2.21.1
30567 configure.ac | 2 +-
30568 1 file changed, 1 insertion(+), 1 deletion(-)
30570 commit 87774a17bd607724a56e18c2eb1ac71b04b7079d
30571 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30572 Date: Tue Jun 8 10:40:39 2010 +0200
30574 Add myself to maintainers
30576 MAINTAINERS | 4 ++++
30577 pygobject.doap | 7 +++++++
30578 2 files changed, 11 insertions(+)
30580 commit 46c91a11d448e5e11d142d3362aff1483226bca4
30581 Author: Colin Walters <walters@verbum.org>
30582 Date: Wed May 5 13:54:27 2010 -0400
30584 Clear error if we failed the import
30586 Otherwise we leave the exception set which causes bizarre problems
30587 later in unrelated code.
30589 https://bugzilla.redhat.com/show_bug.cgi?id=569885
30591 https://bugzilla.gnome.org/show_bug.cgi?id=617796
30593 gobject/pygi-external.h | 2 ++
30594 1 file changed, 2 insertions(+)
30596 commit c1c41576d053cc1cdd8366d8cd1e59fff1c3a9c6
30597 Author: John (J5) Palmieri <johnp@redhat.com>
30598 Date: Mon Jun 7 17:19:30 2010 -0400
30600 fix some typos and add a link to a patch which fixes a FIXME
30602 demos/gtk-demo/demos/clipboard.py | 7 +++++--
30603 1 file changed, 5 insertions(+), 2 deletions(-)
30605 commit e7fabb5024d94a3166766e5fca740741bc50380a
30606 Author: John (J5) Palmieri <johnp@redhat.com>
30607 Date: Mon Jun 7 16:21:42 2010 -0400
30611 demos/gtk-demo/demos/clipboard.py | 235
30612 ++++++++++++++++++++++++++++++++++++++
30613 1 file changed, 235 insertions(+)
30615 commit e0f1dce5ec58d071759f886697501da6eeea549d
30616 Author: John (J5) Palmieri <johnp@redhat.com>
30617 Date: Sun Jun 6 13:27:46 2010 -0400
30619 set is_fully_bound to false
30621 demos/gtk-demo/demos/button_box.py | 2 +-
30622 1 file changed, 1 insertion(+), 1 deletion(-)
30624 commit 986db1c73746d3a8ad7d8d5141c7eed194e7b948
30625 Author: John (J5) Palmieri <johnp@redhat.com>
30626 Date: Sat Jun 5 23:53:36 2010 -0400
30628 new button box demo
30630 demos/gtk-demo/demos/button_box.py | 121
30631 +++++++++++++++++++++++++++++++++++++
30632 1 file changed, 121 insertions(+)
30634 commit e9f5f8a829121e59367bae690442150f144946ad
30635 Author: John (J5) Palmieri <johnp@redhat.com>
30636 Date: Sat Jun 5 23:26:03 2010 -0400
30638 set is_fully_bound to True fro builder example
30640 demos/gtk-demo/demos/builder.py | 2 +-
30641 1 file changed, 1 insertion(+), 1 deletion(-)
30643 commit d9968c3a4dea1d4a73a9376009cf486c80ea3da6
30644 Author: John (J5) Palmieri <johnp@redhat.com>
30645 Date: Sat Jun 5 23:24:36 2010 -0400
30647 fix up formatting in demos
30649 demos/gtk-demo/demos/appwindow.py | 16 ++++++++--------
30650 demos/gtk-demo/demos/assistant.py | 24 ++++++++++++------------
30651 demos/gtk-demo/demos/builder.py | 2 +-
30652 3 files changed, 21 insertions(+), 21 deletions(-)
30654 commit ffca02536bafb55e8c3bce31cd992365207429f6
30655 Author: John (J5) Palmieri <johnp@redhat.com>
30656 Date: Sat Jun 5 14:54:47 2010 -0400
30658 add the builder demo
30660 demos/gtk-demo/demos/builder.py | 57
30661 +++++++++++++++++++++++++++++++++++++++++
30662 1 file changed, 57 insertions(+)
30664 commit a96dbafdf562a2ac6bde4df27919d3628689dbdb
30665 Author: John (J5) Palmieri <johnp@redhat.com>
30666 Date: Fri Jun 4 17:48:24 2010 -0400
30670 demos/gtk-demo/demos/assistant.py | 134
30671 ++++++++++++++++++++++++++++++++++++++
30672 1 file changed, 134 insertions(+)
30674 commit 7e1b8cf32f33d45603aaec76afb0d14be84ffd94
30675 Author: John (J5) Palmieri <johnp@redhat.com>
30676 Date: Fri Jun 4 16:56:46 2010 -0400
30678 add formatting rules and copyright notice
30680 demos/gtk-demo/demos/appwindow.py | 19 +++++++++++++++++++
30681 1 file changed, 19 insertions(+)
30683 commit 03b99692b81631d397ab62dcd263341465bcee88
30684 Author: John (J5) Palmieri <johnp@redhat.com>
30685 Date: Fri Jun 4 16:26:54 2010 -0400
30687 add the gtk-demo app along with a couple of demos
30689 * note there are still a couple of patches in bugzilla that are
30692 - http://bugzilla-attachments.gnome.org/attachment.cgi?id=162682
30693 - http://bugzilla-attachments.gnome.org/attachment.cgi?id=162764
30695 demos/gtk-demo/demos/__init__.py | 0
30696 demos/gtk-demo/demos/appwindow.py | 393
30697 +++++++++++++++++++++++
30698 demos/gtk-demo/demos/data/alphatest.png | Bin 0 -> 26529 bytes
30699 demos/gtk-demo/demos/data/apple-red.png | Bin 0 -> 3545 bytes
30700 demos/gtk-demo/demos/data/background.jpg | Bin 0 -> 22219 bytes
30701 demos/gtk-demo/demos/data/demo.ui | 258 +++++++++++++++
30702 demos/gtk-demo/demos/data/floppybuddy.gif | Bin 0 -> 5216 bytes
30703 demos/gtk-demo/demos/data/gnome-applets.png | Bin 0 -> 3090 bytes
30704 demos/gtk-demo/demos/data/gnome-calendar.png | Bin 0 -> 2755 bytes
30705 demos/gtk-demo/demos/data/gnome-foot.png | Bin 0 -> 2916 bytes
30706 demos/gtk-demo/demos/data/gnome-fs-directory.png | Bin 0 -> 2044 bytes
30707 demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 0 -> 1795 bytes
30708 demos/gtk-demo/demos/data/gnome-gimp.png | Bin 0 -> 3410 bytes
30709 demos/gtk-demo/demos/data/gnome-gmush.png | Bin 0 -> 3244 bytes
30710 demos/gtk-demo/demos/data/gnome-gsame.png | Bin 0 -> 4263 bytes
30711 demos/gtk-demo/demos/data/gnu-keys.png | Bin 0 -> 3852 bytes
30712 demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 0 -> 6427 bytes
30713 demos/gtk-demo/demos/test.py | 14 +
30714 demos/gtk-demo/gtk-demo.py | 266 +++++++++++++++
30715 19 files changed, 931 insertions(+)
30717 commit b3b1f029d8d16cf9bd74160009808147d07e3b3f
30718 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30719 Date: Fri Jun 4 11:25:08 2010 +0200
30721 Update gobject-introspection dependency to 0.6.14
30723 configure.ac | 2 +-
30724 1 file changed, 1 insertion(+), 1 deletion(-)
30726 commit 45c4e46ae93bd83a0e3f3550df6c64ce96bbedb4
30727 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30728 Date: Fri Jun 4 11:23:41 2010 +0200
30730 Post-release version bump to 0.6.1
30732 configure.ac | 2 +-
30733 1 file changed, 1 insertion(+), 1 deletion(-)
30735 commit 7a94270dac48b67aabc7dbad156cf1180db9cb5e
30736 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30737 Date: Fri Jun 4 08:29:42 2010 +0200
30739 Pre-release version bump 0.6.0
30741 configure.ac | 2 +-
30742 1 file changed, 1 insertion(+), 1 deletion(-)
30744 commit 1e42ee6eb25a07a5201f24ffeac18d298a98477e
30745 Author: John (J5) Palmieri <johnp@redhat.com>
30746 Date: Fri May 28 10:03:11 2010 -0400
30748 support for caller-allocates annotations for structs
30750 * out caller-allocates parameters expect an already constructed
30752 to be passed in by reference. It is then modified and the caller
30754 modified value. We support this by using only one level of pointer
30756 * Only structs are considered to be caller-allocates parameters
30758 they are marked as such by GI. This is because the GI scanner
30760 enough to correctly guess 100% of the time
30761 * GValues are a special case of a caller-allocates parameter when
30763 up (e.g. g_value_unset is called). GValues make no sense in
30765 language. Developers should never deal with them.
30767 https://bugzilla.gnome.org/show_bug.cgi?id=620406
30769 gi/pygi-invoke.c | 73
30770 +++++++++++++++++++++++++++++++++++++++++++++---
30771 tests/test_everything.py | 28 +++++++++++++++++++
30772 2 files changed, 97 insertions(+), 4 deletions(-)
30774 commit c3f467e0ae99aa78c2fdb91b973a272d2fe970bd
30775 Author: John (J5) Palmieri <johnp@redhat.com>
30776 Date: Wed Jun 2 14:14:16 2010 -0400
30778 don't import gobject directly in the tests
30780 * use from gi.repository import GObject
30782 tests/test_overrides.py | 5 ++---
30783 1 file changed, 2 insertions(+), 3 deletions(-)
30785 commit 46b5133fea4cd5db57a360b3cbe9ee923e27560c
30786 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30787 Date: Tue Jun 1 14:28:57 2010 +0200
30789 Wrap C arrays in structs as GArrays before converting to Python
30791 https://bugzilla.gnome.org/show_bug.cgi?id=620247
30793 gi/pygi-info.c | 11 +++++++++++
30794 tests/test_gi.py | 17 +++++++++++++++++
30795 2 files changed, 28 insertions(+)
30797 commit 5f0f9a9c9145a129a063b041424c3109a24d9ead
30798 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30799 Date: Wed May 26 13:20:27 2010 +0200
30801 Install pre-commit hook that checks the code changes for style
30804 autogen.sh | 7 +++++++
30805 pre-commit.hook | 39 +++++++++++++++++++++++++++++++++++++++
30806 2 files changed, 46 insertions(+)
30808 commit 1319da5b7f483e48a90b0b7489f77236ba26f479
30809 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30810 Date: Wed May 26 12:19:17 2010 +0200
30812 Apply consistent whitespace formatting with:
30814 astyle -p -d -c -S -U -M60
30816 This won't affect git blame nor git diff if the switch -w is used.
30818 gi/gimodule.c | 138 +++----
30819 gi/pygi-argument.c | 960
30820 ++++++++++++++++++++++++------------------------
30821 gi/pygi-boxed.c | 108 +++---
30822 gi/pygi-callbacks.c | 154 ++++----
30823 gi/pygi-callbacks.h | 8 +-
30824 gi/pygi-closure.c | 270 +++++++-------
30825 gi/pygi-closure.h | 18 +-
30826 gi/pygi-foreign-cairo.c | 36 +-
30827 gi/pygi-foreign-cairo.h | 36 +-
30828 gi/pygi-foreign.c | 54 +--
30829 gi/pygi-foreign.h | 10 +-
30830 gi/pygi-info.c | 646 ++++++++++++++++----------------
30831 gi/pygi-invoke.c | 380 +++++++++----------
30832 gi/pygi-repository.c | 114 +++---
30833 gi/pygi-struct.c | 88 ++---
30834 gi/pygi-type.c | 32 +-
30836 gi/pygobject-external.h | 14 +-
30837 18 files changed, 1544 insertions(+), 1542 deletions(-)
30839 commit 6156f15cb15b4c20e975527227135d49207c520a
30840 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30841 Date: Tue May 25 14:08:51 2010 +0200
30843 Prepend gi.repository to the __module__ attribute of wrapper classes.
30845 https://bugzilla.gnome.org/show_bug.cgi?id=619597
30847 gi/module.py | 4 ++--
30848 tests/test_gi.py | 4 +++-
30849 2 files changed, 5 insertions(+), 3 deletions(-)
30851 commit 097b92983b7a322c58fecb1e691ba6ddf5035548
30852 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30853 Date: Tue May 25 14:17:13 2010 +0200
30855 Correctly identify at creation time:
30857 * if the class is defined in python -> hook up vfuncs
30858 * if the class wraps a type from a .typelib -> set atributes
30859 * else (GLocalFile) -> do nothing
30861 https://bugzilla.gnome.org/show_bug.cgi?id=619604
30863 gi/types.py | 15 +++++++++++----
30864 1 file changed, 11 insertions(+), 4 deletions(-)
30866 commit 686e10fcdb108af9758eb025a3447813c3513a93
30867 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30868 Date: Thu Apr 29 10:55:13 2010 +0200
30870 Dont complain if another base has implemented the method
30872 https://bugzilla.gnome.org/show_bug.cgi?id=617153
30874 gi/types.py | 3 ++-
30875 1 file changed, 2 insertions(+), 1 deletion(-)
30877 commit 9f34d120845d936b04546a5cea599ec67e9181a7
30878 Author: John (J5) Palmieri <johnp@redhat.com>
30879 Date: Mon May 24 16:16:50 2010 -0400
30881 fix up Builder override, add new override methods, and add unit tests
30883 * check for flags when connecting signals now that we get gi
30885 * override the add_from_string and add_objects_from string overrides
30887 that you don't have to pass in the length of the buffer
30888 * add test that loads objects from strings and connects them to
30891 gi/overrides/Gtk.py | 19 +++++++++++--
30892 tests/test_overrides.py | 72
30893 ++++++++++++++++++++++++++++++++++++++++++++++---
30894 2 files changed, 86 insertions(+), 5 deletions(-)
30896 commit 1561d2977691f1cb8684f183a2e274c47960d931
30897 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30898 Date: Mon May 24 18:48:10 2010 +0200
30900 Improve handling of subclasses without __gtype_name__
30902 Gives a better message at type registration.
30904 https://bugzilla.gnome.org/show_bug.cgi?id=616849
30906 gi/gimodule.c | 9 +++++++++
30907 tests/test_gi.py | 13 ++++++++++++-
30908 2 files changed, 21 insertions(+), 1 deletion(-)
30910 commit c9d44d4d46c3da3a445000b1db592baa9c378a92
30911 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30912 Date: Fri Apr 30 18:17:50 2010 +0200
30914 Add support for GArray args
30916 https://bugzilla.gnome.org/show_bug.cgi?id=617054
30918 gi/pygi-invoke.c | 11 +++++++----
30919 tests/test_gi.py | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
30920 2 files changed, 57 insertions(+), 4 deletions(-)
30922 commit c171579ee22681e1ee4ad33441c89f1053bdc3d1
30923 Author: John (J5) Palmieri <johnp@redhat.com>
30924 Date: Mon May 24 11:48:16 2010 -0400
30926 check refcounting of callback userdata in unit tests
30928 tests/test_everything.py | 18 ++++++++++++++++++
30929 1 file changed, 18 insertions(+)
30931 commit 8eb809468fe3e1f8e4f92bd7f25d96f9cf802cd4
30932 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30933 Date: Sat May 22 15:12:37 2010 +0200
30935 Add support for out args in callbacks
30937 This patch refactors argument marshalling for closures in
30938 preparation for more complete support.
30940 Also fixes a bug in the memory management of user_data args.
30942 https://bugzilla.gnome.org/show_bug.cgi?id=617780
30944 gi/pygi-closure.c | 335
30945 +++++++++++++++++++++++++++++++++++++++++-------------
30946 tests/test_gi.py | 4 +
30947 2 files changed, 263 insertions(+), 76 deletions(-)
30949 commit 0df0c956bb2476392c9d81f0a243a7e84c067166
30950 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30951 Date: Sun May 23 10:59:27 2010 +0200
30953 If None is passed to an interface which takes an object, convert it to
30956 * without this patch PyGI treats the None object as a PyGObject
30958 extracting garbage data causing a crash
30959 * None's equivalent in C is NULL so we must provide a special case
30961 marshal the None as NULL
30963 https://bugzilla.gnome.org/show_bug.cgi?id=617880
30965 gi/pygi-argument.c | 5 +++++
30966 tests/test_everything.py | 6 ++++++
30967 2 files changed, 11 insertions(+)
30969 commit 60fdf4b8f738dd0f5c190bc18ddf010032d3c5ca
30970 Author: John (J5) Palmieri <johnp@redhat.com>
30971 Date: Sat May 22 14:06:37 2010 +0200
30973 correctly handle floating objects in gtk
30975 * this is a stopgap so we work with older pygobject libraries
30976 * there is a patch at
30977 https://bugzilla.gnome.org/show_bug.cgi?id=583909
30978 which adds the correct fix to pygobject
30979 * once pygobject accepts the above patch this patch does not need to
30980 be reverted because pygobject_register_sinkfunc becomes a noop
30981 * add tests (Tomeu)
30983 https://bugzilla.gnome.org/show_bug.cgi?id=619007
30985 gi/gimodule.c | 12 ++++++++++++
30986 tests/test_everything.py | 3 +++
30987 2 files changed, 15 insertions(+)
30989 commit 4b369f8aca980fc6a582094d6648f40fe4af5e9f
30990 Author: John (J5) Palmieri <johnp@redhat.com>
30991 Date: Sat May 22 13:21:30 2010 +0200
30993 Return an empty list when a NULL GList and GSList is returned
30995 * In GTK a GList * and GSList set to NULL is equivilant to empty
30997 GTK list methods can take a NULL and treat it as an empty list. e.g.
30998 g_list_length(NULL) returns 0
30999 * PyGtk consitently returns empty list when a NULL is returned for
31002 * Many PyGtk apps do this:
31003 for i in range(len(obj.get_list())):
31005 * If we were to continue to return None, they would have to add
31007 which is needlessly verbose and isn't very "pythonic"
31009 https://bugzilla.gnome.org/show_bug.cgi?id=619232
31011 gi/pygi-argument.c | 6 ------
31012 tests/test_everything.py | 4 ++--
31013 2 files changed, 2 insertions(+), 8 deletions(-)
31015 commit 71a2148b00dfdda99e0d961ae39b901608724e59
31016 Author: Steve Frécinaux <code@istique.net>
31017 Date: Fri May 21 19:05:03 2010 +0200
31019 Fix warning in configure.
31021 The warning is caused by the use of the construction 'CFLAGS+=' in a
31022 sh version that doesn't understand it (in this case, 'dash').
31024 https://bugzilla.gnome.org/show_bug.cgi?id=619311
31026 configure.ac | 2 +-
31027 1 file changed, 1 insertion(+), 1 deletion(-)
31029 commit aa0357e468eb91e0f3707346e9b32f312fbf51d3
31030 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31031 Date: Thu Apr 29 13:06:15 2010 +0200
31033 GTypeInterface cannot be unrefed
31035 https://bugzilla.gnome.org/show_bug.cgi?id=617159
31037 gi/gimodule.c | 4 +++-
31038 1 file changed, 3 insertions(+), 1 deletion(-)
31040 commit ab1aaff108d23aabd28c3634edfb67236eb55460
31041 Author: John (J5) Palmieri <johnp@redhat.com>
31042 Date: Sat May 22 13:09:48 2010 +0200
31044 fix NULL array unit tests and fix crasher when sending None as
31047 * Unit tests were wrong given the annotation for
31048 test_array_int_null_in and
31049 test_array_int_null_out:
31052 * test_array_int_null_in:
31053 * @arr: (array length=len) (allow-none):
31060 * test_array_int_null_out:
31061 * @arr: (out) (array length=len) (allow-none):
31062 * @len: (out) : length
31065 The (array length=len) annotation meant we don't pass in or
31066 receive the len argument as this is handled under the hood
31067 (Python's representation of an array, the list type, encapsulates
31068 the length inside the type)
31070 * Fixing up the tests revealed a latent crasher bug when passing
31072 interface that accepts an array. The fix was to check for NULL
31074 the length argument to 0 when invoking the bound method.
31076 https://bugzilla.gnome.org/show_bug.cgi?id=619235
31078 gi/pygi-invoke.c | 6 +++++-
31079 tests/test_everything.py | 4 ++--
31080 2 files changed, 7 insertions(+), 3 deletions(-)
31082 commit e928ea9b1df9d87314ff8e93479530e26be9bd87
31083 Author: John (J5) Palmieri <johnp@redhat.com>
31084 Date: Fri May 14 14:57:27 2010 -0400
31086 don't error out on methods with callbacks as return type
31088 * Right now we just throw an error which means API's like
31089 gtk_about_dialog_set_url_hook aren't able to be called,
31090 * this allows us to call such APIs while printing a warning, in
31092 API such as this doesn't need to be used anymore and is a result of
31093 early GTK development
31095 gi/pygi-argument.c | 14 +++++++++++---
31096 1 file changed, 11 insertions(+), 3 deletions(-)
31098 commit d963007aab123f4e53a944a66a935db2d22907c2
31099 Author: John (J5) Palmieri <johnp@redhat.com>
31100 Date: Mon May 17 11:54:34 2010 -0400
31102 reset sys.argv to the return value of Gtk.init_check
31104 * applications which check command line arguments will error out if it
31105 encounters a GTK command line switch such as --g-fatal-warnings.
31106 * The Gtk.init* API reads these switches and returns a new argv with
31108 switches stripped out
31109 * In C argv is modified in place but in Python we must set sys.argv
31111 new modified argument list
31112 * fixes https://bugzilla.gnome.org/show_bug.cgi?id=618889
31114 gi/overrides/Gtk.py | 1 +
31115 1 file changed, 1 insertion(+)
31117 commit 897420ed97cc4a7b8a806894df5e76ed72617614
31118 Author: John (J5) Palmieri <johnp@redhat.com>
31119 Date: Wed May 12 14:25:32 2010 -0400
31121 add GtkUIManager and GtkActionGroup overrides
31123 * fixes bug https://bugzilla.gnome.org/show_bug.cgi?id=618476
31125 gi/overrides/Gtk.py | 167
31126 +++++++++++++++++++++++++++++++++++++++++++++++-
31127 tests/test_overrides.py | 45 +++++++++++++
31128 2 files changed, 211 insertions(+), 1 deletion(-)
31130 commit 865939d29c1e9d69dbe6b9cf89477b5516dbff1f
31131 Author: Zach Goldberg <zach@zachgoldberg.com>
31132 Date: Thu May 13 01:02:24 2010 -0400
31134 Bump version for development to 0.5.2 (hopefully 0.6)
31136 configure.ac | 2 +-
31137 1 file changed, 1 insertion(+), 1 deletion(-)
31139 commit 2674a9546b0246d4a75d71cf1708df77dc0173f9
31140 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31141 Date: Wed May 5 15:54:39 2010 +0200
31143 Fix overrides.Gdk.Color.__new__ args
31145 https://bugzilla.gnome.org/show_bug.cgi?id=617757
31147 gi/overrides/Gdk.py | 2 +-
31148 tests/Makefile.am | 3 ++-
31149 tests/test_overrides.py | 22 ++++++++++++++++++++++
31150 3 files changed, 25 insertions(+), 2 deletions(-)
31152 commit c20b9f632a35bada1320ccc10fb7d5b2c06b9a88
31153 Author: John (J5) Palmieri <johnp@redhat.com>
31154 Date: Thu Apr 29 14:55:33 2010 -0400
31156 wrap GObject module so we can go through GI when requesting attrs
31158 * This gives us the best of both worlds.
31159 - We remain backwards compatable with pygobject by checking for
31161 attrs in the gobject module
31162 - If an attr does not exist we use the GI mechanism to look it up
31164 things like flags look the same whether exported from GObject, Gtk
31165 or any GI managed library
31167 * add DynamicGObjectModule tests and make tests use the new module
31168 - change import gobject to from gi.repository import GObject
31170 gi/importer.py | 6 ++--
31171 gi/module.py | 30 ++++++++++++++++
31172 tests/test_everything.py | 6 ++--
31173 tests/test_gi.py | 93
31174 ++++++++++++++++++++++++++----------------------
31175 4 files changed, 87 insertions(+), 48 deletions(-)
31177 commit 64324a4c629432b2e688299b6edbfd5da4439a2a
31178 Author: John (J5) Palmieri <johnp@redhat.com>
31179 Date: Fri Apr 30 14:11:55 2010 -0400
31181 override Gdk.Drawable to add cairo_create convinience method
31183 gi/overrides/Gdk.py | 7 ++++++-
31184 1 file changed, 6 insertions(+), 1 deletion(-)
31186 commit 17fa1289b1e2ed841dd5de09a2ec7c25d401886e
31187 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31188 Date: Mon May 3 19:13:46 2010 +0200
31190 Fix passing callbacks as constructor args
31192 https://bugzilla.gnome.org/show_bug.cgi?id=617551
31194 gi/pygi-callbacks.c | 3 ++-
31195 gi/pygi-callbacks.h | 1 +
31196 gi/pygi-invoke.c | 7 +++++--
31197 tests/test_everything.py | 21 +++++++++++++++++++++
31198 4 files changed, 29 insertions(+), 3 deletions(-)
31200 commit f9fff978d56ddf2c012b906169ae16abb7fdc2a5
31201 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31202 Date: Wed May 5 08:06:03 2010 +0200
31204 Avoid freeing garbage
31206 gi/pygi-invoke.c | 6 ++++--
31207 1 file changed, 4 insertions(+), 2 deletions(-)
31209 commit 5e20c018ae09a936f5ff140df5d1c133c98e98ba
31210 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31211 Date: Thu Apr 29 13:09:03 2010 +0200
31213 Only hookup vfunc implementations for locally-defined methods
31215 https://bugzilla.gnome.org/show_bug.cgi?id=617160
31217 gi/types.py | 10 +++++++++-
31218 tests/test_gi.py | 10 ++++++++++
31219 2 files changed, 19 insertions(+), 1 deletion(-)
31221 commit 3e61e7d4450a2bb133c7f3862e0962a35339ce8d
31222 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31223 Date: Mon May 3 18:35:13 2010 +0200
31225 Fix passing GDestroyNotify
31227 https://bugzilla.gnome.org/show_bug.cgi?id=617542
31229 gi/pygi-invoke.c | 3 ++-
31230 tests/test_everything.py | 10 ++++++++++
31231 2 files changed, 12 insertions(+), 1 deletion(-)
31233 commit 9669acd0fad193013ef3505ae231588307f9834c
31234 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31235 Date: Mon May 3 12:23:58 2010 +0200
31237 Move invocation code to its own file
31239 https://bugzilla.gnome.org/show_bug.cgi?id=617107
31241 gi/Makefile.am | 2 +
31242 gi/pygi-info.c | 884
31243 ----------------------------------------------------
31244 gi/pygi-invoke.c | 909
31245 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
31246 gi/pygi-invoke.h | 37 +++
31247 gi/pygi-private.h | 1 +
31248 5 files changed, 949 insertions(+), 884 deletions(-)
31250 commit 9b923a68dfde06fc2df6321b3f1e53f1c57b3666
31251 Author: John (J5) Palmieri <johnp@redhat.com>
31252 Date: Tue Apr 27 19:13:08 2010 -0400
31254 Add the Gtk.Builder override
31256 gi/overrides/Gtk.py | 37 ++++++++++++++++++++++++++++++++++++-
31257 1 file changed, 36 insertions(+), 1 deletion(-)
31259 commit 9fc6783406b8263ebd67ceae2730b4e86689b43e
31260 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31261 Date: Fri Apr 30 15:00:52 2010 +0200
31263 Fix GAsyncReadyCallback
31265 https://bugzilla.gnome.org/show_bug.cgi?id=616236
31267 gi/pygi-closure.c | 8 +++++++-
31268 tests/test_everything.py | 16 ++++++++++++++++
31269 2 files changed, 23 insertions(+), 1 deletion(-)
31271 commit 5657ccaaec09e2a3194ea2e9a923724bcc66759e
31272 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31273 Date: Thu Apr 29 18:32:50 2010 +0200
31275 Add override for Gdk.Color
31277 https://bugzilla.gnome.org/show_bug.cgi?id=617162
31279 gi/overrides/Gdk.py | 20 +++++++++++++++++++-
31280 1 file changed, 19 insertions(+), 1 deletion(-)
31282 commit 4410abd589a2f64cfbd7bbcb4013fae9e4aa734f
31283 Author: John (J5) Palmieri <johnp@redhat.com>
31284 Date: Wed Apr 28 13:19:48 2010 -0400
31286 make __all__ be a list of strings, fix override mechanism to use
31289 * before we were adding classes to the __all__ module property but
31290 the convention is to use the name of the class
31291 * simplified the check to just check the name against __all__
31292 instead of trying to get the class and then checking the class
31293 against None as well as in __all__
31294 * went through all the overrides and made __all__ be a list of strings
31296 gi/module.py | 9 ++++-----
31297 gi/overrides/GIMarshallingTests.py | 2 +-
31298 gi/overrides/Gdk.py | 2 +-
31299 3 files changed, 6 insertions(+), 7 deletions(-)
31301 commit 64fa8f936bad9a90628df446e690d67d947a0a22
31302 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31303 Date: Mon Apr 26 11:41:06 2010 +0200
31305 One more step at refactoring _wrap_g_function_info_invoke
31307 https://bugzilla.gnome.org/show_bug.cgi?id=616357
31309 gi/pygi-callbacks.c | 22 +-
31310 gi/pygi-callbacks.h | 4 +-
31311 gi/pygi-info.c | 582
31312 ++++++++++++++++++++++++++++++----------------------
31313 3 files changed, 346 insertions(+), 262 deletions(-)
31315 commit 7fc5528273edae5ecdd5d8bdf0e5b898eec7a624
31316 Author: Zach Goldberg <zach@zachgoldberg.com>
31317 Date: Tue Apr 20 23:23:38 2010 -0400
31319 Step 1 of refactoring _wrap_g_function_info_invoke
31321 Original patch by David Malcom <dmalcolm@redhat.com>
31323 This patch bitrots *REALLY* fast.
31325 https://bugzilla.gnome.org/show_bug.cgi?id=616357
31327 gi/pygi-info.c | 417
31328 +++++++++++++++++++++++++++++----------------------------
31329 1 file changed, 214 insertions(+), 203 deletions(-)
31331 commit 1d9c6b6d76a3e27f66e6f0cfc7b16c5191e4fc22
31332 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31333 Date: Tue Apr 27 10:24:35 2010 +0200
31335 Dont force subclasses to implement all virtual methods of their bases
31337 https://bugzilla.gnome.org/show_bug.cgi?id=616674
31339 gi/types.py | 4 ++--
31340 tests/test_gi.py | 15 +++++++++++++++
31341 2 files changed, 17 insertions(+), 2 deletions(-)
31343 commit 8a0c48f4dd512797e5cf132f8ec6fb6d4d1e7aaa
31344 Author: Zach Goldberg <zach@zachgoldberg.com>
31345 Date: Sun Apr 25 15:09:08 2010 -0400
31347 Correct the reference counting of userdata in closure handling
31349 Without this we lose references on every call and eventually end up
31351 while they are still in use.
31353 https://bugzilla.gnome.org/show_bug.cgi?id=616786
31355 gi/pygi-closure.c | 3 +++
31356 tests/test_everything.py | 13 +++++++++++++
31357 2 files changed, 16 insertions(+)
31359 commit 2b12049306bf57513c43d08017185468bf897a4a
31360 Author: Zach Goldberg <zach@zachgoldberg.com>
31361 Date: Tue Apr 20 22:57:14 2010 -0400
31363 Change SCOPE_TYPE_INVALID handling to be a more verbose error.
31365 (Previous commit did not include the proper error message. I blame
31368 https://bugzilla.gnome.org/show_bug.cgi?id=616356
31370 gi/pygi-closure.c | 4 ++--
31371 1 file changed, 2 insertions(+), 2 deletions(-)
31373 commit 8240320d0b67074ce91bdf7aadcf5951c5a8c45a
31374 Author: Zach Goldberg <zach@zachgoldberg.com>
31375 Date: Tue Apr 20 23:53:57 2010 -0400
31377 Force out arguments to be initialized as NULL. Comes with a test.
31379 This fix was motivated by a real world library which had a transfer
31381 utf8 out argument which sometimes was not set. We would leave
31383 dangling and try and free it at the end of invoke() and crash.
31385 to change their behavior so we're forced to take care of it on
31388 https://bugzilla.gnome.org/show_bug.cgi?id=616043
31390 gi/pygi-info.c | 1 +
31391 tests/test_gi.py | 3 +++
31392 2 files changed, 4 insertions(+)
31394 commit 10e558ca283cdd06725bb0d24b5071ccbecc7d13
31395 Author: Zach Goldberg <zach@zachgoldberg.com>
31396 Date: Tue Apr 20 22:57:14 2010 -0400
31398 Change SCOPE_TYPE_INVALID handling to be a warning and not an error
31400 Be slightly nicer to library maintainers. It really isn't a fatal
31402 if we don't have a proper scope type, better to leave a good code
31404 and a warning than to cause their code to segv.
31406 https://bugzilla.gnome.org/show_bug.cgi?id=616356
31408 gi/pygi-closure.c | 3 ++-
31409 1 file changed, 2 insertions(+), 1 deletion(-)
31411 commit d3b5fae9d609dbcd83deb0fa9102b24faf76787c
31412 Author: Zach Goldberg <zach@zachgoldberg.com>
31413 Date: Tue Apr 20 22:43:20 2010 -0400
31415 Refactor implementation of scope call to allow for multiple calls
31416 during lifetime of function invocation.
31418 https://bugzilla.gnome.org/show_bug.cgi?id=616343
31420 gi/pygi-closure.c | 10 +++++-----
31421 gi/pygi-info.c | 9 +++++++--
31422 tests/test_everything.py | 9 +++++++++
31423 3 files changed, 21 insertions(+), 7 deletions(-)
31425 commit 3ba666b7ab9c393963922c272e7d87bff50a93f9
31426 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31427 Date: Sat Jan 2 16:31:55 2010 +0100
31429 Add basic support for unions
31431 https://bugzilla.gnome.org/show_bug.cgi?id=603598
31433 gi/module.py | 3 +-
31434 gi/pygi-argument.c | 24 +++-----------
31435 gi/pygi-boxed.c | 18 +++++++++--
31436 gi/pygi-info.c | 94
31437 ++++++++++++++++++++++++++++++++++++++++++++++++------
31438 gi/pygi-info.h | 1 +
31439 tests/test_gi.py | 56 ++++++++++++++++++++++++++++++++
31440 6 files changed, 165 insertions(+), 31 deletions(-)
31442 commit af9e4e086d160fe7fb24758ed81753e784b198a8
31443 Author: Simon van der Linden <svdlinden@src.gnome.org>
31444 Date: Fri Jan 22 22:16:32 2010 +0100
31446 Bump required GLib version to 2.22
31448 Since PyGObject now depends on GLib 2.22.4, there is no need to
31450 backward-compatible.
31452 configure.ac | 2 +-
31453 gi/pygi-private.h | 20 --------------------
31454 2 files changed, 1 insertion(+), 21 deletions(-)
31456 commit c0f40de5648e2ebc556c449342a0025ffce2e33b
31457 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31458 Date: Sun Apr 18 11:50:14 2010 -0400
31460 Refactor get_* methods in the *Info wrappers
31462 https://bugzilla.gnome.org/show_bug.cgi?id=616108
31464 gi/pygi-info.c | 360
31465 +++++++++++++++++++++++++++------------------------------
31466 1 file changed, 168 insertions(+), 192 deletions(-)
31468 commit 24bb89f1310dc2fc8ee6ddaf945342ebf80055cd
31469 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31470 Date: Tue Apr 20 15:12:47 2010 +0200
31472 Print any error messages raised inside _pygi_closure_handle
31474 https://bugzilla.gnome.org/show_bug.cgi?id=616279
31476 gi/pygi-closure.c | 9 +++++----
31477 1 file changed, 5 insertions(+), 4 deletions(-)
31479 commit d1ba23cdd05686ea721425f233371d573a2e9cce
31480 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31481 Date: Thu Apr 22 19:57:17 2010 +0200
31483 Rename variable with a very generic name
31485 gi/module.py | 28 ++++++++++++++--------------
31486 1 file changed, 14 insertions(+), 14 deletions(-)
31488 commit 391640b30ede50af3667b1019edb72bd79f2c68c
31489 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31490 Date: Thu Apr 22 19:53:06 2010 +0200
31492 Add support for enums without GType
31494 https://bugzilla.gnome.org/show_bug.cgi?id=616520
31496 gi/module.py | 6 +++++-
31497 gi/pygi-argument.c | 22 +++++++++++++++++++++-
31498 gi/types.py | 14 ++++++++++++++
31499 tests/test_gi.py | 30 ++++++++++++++++++++++++++++--
31500 4 files changed, 68 insertions(+), 4 deletions(-)
31502 commit 89704f60ddae0c81f1383d86491ef2785590a353
31503 Author: Zach Goldberg <zach@zachgoldberg.com>
31504 Date: Tue Apr 20 22:20:42 2010 -0400
31506 Bump version during development to 0.5.1
31508 This follows what is, according to Colin Walters,
31509 standard versioning practice. During development the
31510 version in your config is the *next* version you will release,
31511 not the version after. Thus after a release you make a new commit
31512 bumping to the next development version.
31514 configure.ac | 2 +-
31515 1 file changed, 1 insertion(+), 1 deletion(-)
31517 commit e203dc7c8f524c16aa52e15758dc3a2b09fbac75
31518 Author: John Ehresman <jpe@wingware.com>
31519 Date: Tue Apr 20 20:40:02 2010 -0400
31521 Added missing , to keyword list of gio.GFile.set_attribute
31523 gio/gresolver.override | 2 +-
31524 1 file changed, 1 insertion(+), 1 deletion(-)
31526 commit 0b222f01ac9ceea1d127083623ad532ecc75bf7e
31527 Author: John Ehresman <jpe@wingware.com>
31528 Date: Tue Apr 20 20:37:12 2010 -0400
31530 Fix arg conversion in gio.GFile.set_attribute
31532 gio/gfile.override | 232
31533 +++++++++++++++++++++++++++++++++++++++++++++++++++--
31534 1 file changed, 227 insertions(+), 5 deletions(-)
31536 commit a579ccc8bea90937bf970be3d461e2b650b0c7d6
31537 Author: John Ehresman <jpe@wingware.com>
31538 Date: Tue Apr 20 20:01:53 2010 -0400
31540 Set constants under python 2.5 or before
31542 gobject/gobjectmodule.c | 8 ++++++++
31543 1 file changed, 8 insertions(+)
31545 commit 11fa39a861abf679e01b5f0da97be93ae0adf0f0
31546 Author: José Alburquerque <jaalburqu@svn.gnome.org>
31547 Date: Sun Apr 18 20:22:21 2010 -0400
31549 Doc Extractor: Use replacements that make sense for &...;
31552 * codegen/docextract_to_xml.py: Use # and  
31554 # (#) and . These are interpreted correctly in
31556 not make the parsing crash.
31558 codegen/docextract_to_xml.py | 4 ++--
31559 1 file changed, 2 insertions(+), 2 deletions(-)
31561 commit 8dbc2cb016acef7b364804cd9bc8f0b1da37e84b
31562 Author: Zach Goldberg <zach@zachgoldberg.com>
31563 Date: Sun Apr 18 14:32:06 2010 -0400
31565 Bump version for release 0.5.0
31567 HACKING | 7 +++++++
31568 configure.ac | 4 ++--
31569 2 files changed, 9 insertions(+), 2 deletions(-)
31571 commit 3293c91d90c5c497b45e42a527d7f79f7435823e
31572 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31573 Date: Sun Apr 18 14:28:13 2010 -0400
31575 One more missing file...
31577 examples/Makefile.am | 2 ++
31578 1 file changed, 2 insertions(+)
31580 commit 1dc575af19fe985cc3fa3ec0cf18aeab1f43c16d
31581 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31582 Date: Sun Apr 18 14:18:44 2010 -0400
31584 Add more stuff to the tarballs
31586 Makefile.am | 8 +++++++-
31588 2 files changed, 8 insertions(+), 1 deletion(-)
31590 commit 8a9bb04755057e934b7f46c917af6ef281a2fedd
31591 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31592 Date: Sun Apr 18 13:48:45 2010 -0400
31594 Add one more missing file to tarballs
31596 gi/overrides/GIMarshallingTests.py | 0
31597 gi/overrides/Makefile.am | 1 +
31598 2 files changed, 1 insertion(+)
31600 commit 979e01852fc7f830ee91093accdc387fa535075f
31601 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31602 Date: Sun Apr 18 13:45:29 2010 -0400
31604 Add missing file to tarballs
31606 tests/Makefile.am | 1 +
31607 1 file changed, 1 insertion(+)
31609 commit 8b70faa7a9a32b9ea8862f28a503e38f496cfd89
31610 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31611 Date: Sun Apr 18 13:11:11 2010 -0400
31615 https://bugzilla.gnome.org/show_bug.cgi?id=602736
31618 +++++++++++++++++++++++++++++++++++++++++++++++++++++
31619 gi/pygi-argument.c | 1 +
31620 gi/pygi-callbacks.c | 3 +-
31621 gi/pygi-closure.c | 4 +--
31622 gi/pygi-closure.h | 2 +-
31623 gi/pygi-info.c | 86
31624 +++++++++++++++++++++++++++++++++++++++++++++++++--
31625 gi/pygi-info.h | 1 +
31626 gi/types.py | 44 +++++++++++++++++---------
31627 tests/test_gi.py | 18 +++++++++++
31628 9 files changed, 227 insertions(+), 21 deletions(-)
31630 commit e239faacb4798fe2d166233ca1a19a843a6225e3
31631 Author: Zach Goldberg <zach@zachgoldberg.com>
31632 Date: Sun Apr 18 11:59:06 2010 -0400
31634 Fix a typo in pygi-callbacks.c header
31636 gi/pygi-callbacks.c | 2 +-
31637 1 file changed, 1 insertion(+), 1 deletion(-)
31639 commit 79aa416ae8632b123da61d79fb820d9e2704209c
31640 Author: Zach Goldberg <zach@zachgoldberg.com>
31641 Date: Sat Apr 17 12:00:05 2010 -0400
31643 Implement nullable argument support, including tests
31645 https://bugzilla.gnome.org/show_bug.cgi?id=616035
31647 gi/pygi-argument.c | 43 +++++++++++++++++++++++++++++++++++++------
31648 gi/pygi-argument.h | 3 ++-
31649 gi/pygi-info.c | 19 +++++++++++++------
31650 tests/test_everything.py | 28 ++++++++++++++++++++++++++++
31651 4 files changed, 80 insertions(+), 13 deletions(-)
31653 commit 7d533b8893bc4a8a82fd9708278fa1dce5d3551e
31654 Author: Zach Goldberg <zach@zachgoldberg.com>
31655 Date: Sat Apr 17 12:56:19 2010 -0400
31657 Move some tests from test_gi to test_everything
31659 tests/test_everything.py | 60
31660 ++++++++++++++++++++++++++++++++++++++++++++++
31661 tests/test_gi.py | 62
31662 +-----------------------------------------------
31663 2 files changed, 61 insertions(+), 61 deletions(-)
31665 commit a90298cc9e6c0f336f887a71d80b1efd07ec2811
31666 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31667 Date: Sun Apr 18 10:44:35 2010 -0400
31669 Update to latest version of the pygi-convert.sh script
31671 pygi-convert.sh | 193
31672 ++++++++++++++++++++++++++++++++++++++++----------------
31673 1 file changed, 137 insertions(+), 56 deletions(-)
31675 commit 34a39318c674737c6d64f2430456daef86ba1626
31676 Author: Colin Walters <walters@verbum.org>
31677 Date: Sun Apr 18 10:40:44 2010 -0400
31679 Add Tomeu's prototype script for converting pygtk to pygi
31681 pygi-convert.sh | 71
31682 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
31683 1 file changed, 71 insertions(+)
31685 commit a3afdb5fd33de0bf11d63857a245a8f5edec242c
31686 Author: Olav Vitters <olav@vitters.nl>
31687 Date: Sun Apr 18 13:01:58 2010 +0200
31692 1 file changed, 4 insertions(+)
31694 commit 0de73d0bba79f92af22f43693f3575c596712416
31695 Author: Zach Goldberg <zach@zachgoldberg.com>
31696 Date: Sat Apr 17 16:01:31 2010 -0400
31698 Add Zach Goldberg as a pygi maintainer
31700 pygi.doap | 5 +++++
31701 1 file changed, 5 insertions(+)
31703 commit a0e22e36e8cf0c1e0da3c0ec48c821fdb5a07ccd
31704 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31705 Date: Sat Apr 17 11:47:54 2010 -0400
31709 configure.ac | 7 +------
31710 1 file changed, 1 insertion(+), 6 deletions(-)
31712 commit 2778f8a1bf6379a46beec6546c8efcb0fec2d7ad
31713 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31714 Date: Sat Apr 17 11:40:14 2010 -0400
31716 Add examples/cairo-demo.py
31718 examples/cairo-demo.py | 121
31719 +++++++++++++++++++++++++++++++++++++++++++++++++
31720 1 file changed, 121 insertions(+)
31722 commit 610dd1eec87fab5c8c3badb4d104cba74477c745
31723 Author: Zach Goldberg <zach@zachgoldberg.com>
31724 Date: Sat Apr 17 09:17:14 2010 -0400
31726 Implementation callback support with scoping and basic argument
31729 This patch was originally written by
31730 Zach Goldberg <zach@zachgoldberg.com> with modifications and
31731 review by Simon van der Linden <svdlinden@src.gnome.org> and
31732 Colin Walters <walters@verbum.org>.
31734 This impementation enforces the assumption that any one function
31735 signature can only have one (callback, userdata, destronotify) tuple.
31736 This allows us to move callback creation into the actual function
31737 invoke pipeline and also to keep just one destroy notify callback
31738 around, vastly simplifying the code.
31740 https://bugzilla.gnome.org/show_bug.cgi?id=603095
31743 gi/Makefile.am | 4 +
31744 gi/pygi-argument.c | 12 ++-
31745 gi/pygi-callbacks.c | 216
31746 ++++++++++++++++++++++++++++++++++++++++++++++++++++
31747 gi/pygi-callbacks.h | 47 ++++++++++++
31748 gi/pygi-closure.c | 205
31749 +++++++++++++++++++++++++++++++++++++++++++++++++
31750 gi/pygi-closure.h | 57 ++++++++++++++
31751 gi/pygi-info.c | 49 ++++++++++--
31752 gi/pygi-private.h | 2 +
31753 tests/test_gi.py | 64 +++++++++++++++-
31754 10 files changed, 648 insertions(+), 10 deletions(-)
31756 commit a34cb9f0038a6c89e5e6c5f7761d48a5a833044f
31757 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31758 Date: Sat Apr 17 10:54:45 2010 -0400
31760 Add support for foreign structs
31762 https://bugzilla.gnome.org/show_bug.cgi?id=603712
31764 configure.ac | 6 +++
31765 gi/Makefile.am | 10 +++-
31766 gi/gimodule.c | 7 +++
31767 gi/pygi-argument.c | 27 ++++++++++-
31768 gi/pygi-foreign-cairo.c | 103 +++++++++++++++++++++++++++++++++++++++
31769 gi/pygi-foreign-cairo.h | 55 +++++++++++++++++++++
31770 gi/pygi-foreign.c | 123
31771 +++++++++++++++++++++++++++++++++++++++++++++++
31772 gi/pygi-foreign.h | 52 ++++++++++++++++++++
31773 gi/pygi-private.h | 1 +
31774 tests/test_everything.py | 48 ++++++++++++++++++
31775 10 files changed, 428 insertions(+), 4 deletions(-)
31777 commit e73b6f6fe8b5f23a2a390ae0a6bbced593ded155
31778 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31779 Date: Fri Apr 16 14:35:13 2010 -0400
31781 Allow creating structs with pointers
31783 https://bugzilla.gnome.org/show_bug.cgi?id=603537
31785 gi/pygi-struct.c | 6 ------
31786 tests/test_gi.py | 3 ++-
31787 2 files changed, 2 insertions(+), 7 deletions(-)
31789 commit fc9ff02e53aacf9e77625c70985e99813544912a
31790 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31791 Date: Fri Apr 16 10:40:40 2010 -0400
31793 Add gdb and valgrind variants for the tests
31795 HACKING | 19 +++++++++++++++++++
31796 Makefile.am | 12 ++++++++++++
31797 tests/Makefile.am | 14 +++++++++++++-
31798 3 files changed, 44 insertions(+), 1 deletion(-)
31800 commit 695ac7bc5c60371a32538d690c7a15509f3c9637
31801 Author: John Stowers <john.stowers@gmail.com>
31802 Date: Fri Apr 16 14:36:11 2010 +1200
31804 Add build docs for windows
31807 README.win32 | 24 ++++++++++++++++++++++++
31808 2 files changed, 25 insertions(+)
31810 commit e580da87f0b2fd36cb5d8008fb2fb0c3b01f456a
31811 Author: John Stowers <john.stowers@gmail.com>
31812 Date: Thu Apr 15 13:40:39 2010 +1200
31814 Setup.py cosmetic tidy
31816 * Remove local doc install, point to website instead
31817 * link to versioned docs
31819 pygobject_postinstall.py | 43 ++++++++++++++++++++++++++-----------------
31820 setup.py | 39 ++++++++++++++-------------------------
31821 2 files changed, 40 insertions(+), 42 deletions(-)
31823 commit 69ecd506c83ddf180c6cc9a2a8dc753a02543959
31824 Author: John Stowers <john.stowers@gmail.com>
31825 Date: Sat Jul 25 14:12:30 2009 +1200
31827 Fix crash when importing gio
31829 Only seems to be necessary on windows, but
31830 no harm on linux as multiple calls to init
31833 gio/giomodule.c | 3 +++
31834 1 file changed, 3 insertions(+)
31836 commit 5d159a13d89587cba189a0ca3203ac003e2f1f2b
31837 Author: John Stowers <john.stowers@gmail.com>
31838 Date: Thu Apr 15 22:52:48 2010 +1200
31840 Bug 589671 - Dont use generate-constants
31842 This breaks the build using distutils, and it is
31843 largely unneeded. Just add the G_XXX constants
31844 to the module directly
31846 gobject/Makefile.am | 16 +----------
31847 gobject/{constants.py.in => constants.py} | 33 +++++++++++++++++++++++
31848 gobject/generate-constants.c | 44
31849 -------------------------------
31850 gobject/gobjectmodule.c | 35 ++++++++++++++++++++++++
31852 tests/runtests.py | 3 +--
31853 6 files changed, 71 insertions(+), 62 deletions(-)
31855 commit 6d7a3ab9ce352692d0faccbf106974d264fa953d
31856 Author: John Stowers <john.stowers@gmail.com>
31857 Date: Thu Apr 15 22:49:17 2010 +1200
31859 Bug 589671 - Fix setup.py for windows build
31861 * Building pyglib as a static private library
31862 * Update to include new defs
31863 * Modernise setup.py and add more util functions
31866 dsextras.py | 32 ++++++++++++++++---
31868 +++++++++++++++++++++++++++++++++++++++++++++++++++---------
31869 2 files changed, 116 insertions(+), 18 deletions(-)
31871 commit d11ef47072acae5801ce25c68d1289e425eb9fc2
31872 Author: John Stowers <john.stowers@gmail.com>
31873 Date: Thu Apr 15 22:48:28 2010 +1200
31875 Include pygsource.h
31877 glib/pygiochannel.c | 1 +
31878 1 file changed, 1 insertion(+)
31880 commit c5f6af4844c74354abc508d17969d9d45153acf2
31881 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31882 Date: Thu Apr 15 14:25:59 2010 -0400
31884 Add metadata to the .doap file
31887 1 file changed, 3 insertions(+)
31889 commit 81796cb77cbe6b9598a652bd63c047af93e747ee
31890 Author: John (J5) Palmieri <johnp@redhat.com>
31891 Date: Wed Apr 14 12:01:43 2010 -0400
31893 override that wasn't checked in - fixes some test cases
31895 gi/overrides/GIMarshallingTests.py | 69
31896 ++++++++++++++++++++++++++++++++++++++
31897 1 file changed, 69 insertions(+)
31899 commit de5d2ea1584b01af809346316c7fbd4955a9db1d
31900 Author: Colin Walters <walters@verbum.org>
31901 Date: Wed Apr 14 10:06:07 2010 -0400
31903 [Makefile.am] Clean up CFLAGS handling, don't override all: target
31905 First, we should move the CFLAGS into AM_CFLAGS, otherwise the
31906 per-target CFLAGS forces Automake to prefix object files, which
31907 is unnecessary since we only have one target.
31909 More importantly, avoid overriding the all: target here; that's
31910 owned by Automake. Use all-local instead to append things to
31911 the end of the normal build.
31913 gi/Makefile.am | 15 +++++++++------
31914 1 file changed, 9 insertions(+), 6 deletions(-)
31916 commit 5a47e96e3f580c973e6880dafa747f54c144c760
31917 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
31918 Date: Tue Apr 13 19:15:49 2010 -0400
31920 Use GIMarshallingTests (old TestGI) in gobject-introspection
31922 gi/overrides/TestGI.py | 69 --
31923 tests/Makefile.am | 40 -
31924 tests/libtestgi.c | 2924
31925 ------------------------------------------------
31926 tests/libtestgi.h | 628 -----------
31927 tests/test_gi.py | 832 +++++++-------
31928 5 files changed, 416 insertions(+), 4077 deletions(-)
31930 commit 681832c3cd040433a488a400693b68f213bf7078
31931 Author: José Alburquerque <jaalburqu@svn.gnome.org>
31932 Date: Tue Apr 13 13:33:12 2010 -0400
31934 codegen/docextract_to_xml.py: One more &...; replacement
31937 * codegen/docextract_to_xml.py: Replace which also
31939 errors with a regular space.
31941 codegen/docextract_to_xml.py | 1 +
31942 1 file changed, 1 insertion(+)
31944 commit bd4e7f2459e34957aaae59b9be807d6dff5ec1eb
31945 Author: José Alburquerque <jaalburqu@svn.gnome.org>
31946 Date: Tue Apr 13 12:28:10 2010 -0400
31948 codegen/docextract_to_xml.py: Replace some &..; that cause
31951 * codegen/docextract_to_xml.py (escape_text): Replace
31953 expressions that cause errors with more appropriate output.
31955 codegen/docextract_to_xml.py | 4 ++++
31956 1 file changed, 4 insertions(+)
31958 commit f00b9ce91fc9c3aabd4af4132fc112d9e415e12e
31959 Author: José Alburquerque <jaalburqu@svn.gnome.org>
31960 Date: Sun Apr 11 17:46:40 2010 -0400
31962 codegen/docextract_to_xml.py: Handle C++ multi-line comments.
31964 * codegen/docextract_to_xml.py (escape_text): Translate '/*'
31966 in text to '/ *' and '* /' respectively so that comment
31968 show up when the descriptions that include C++ code with C++
31969 multi-line comments are used in Doxygen blocks.
31971 codegen/docextract_to_xml.py | 9 +++++++++
31972 1 file changed, 9 insertions(+)
31974 commit a2fcdecbb5e109da5568084d7acb2332af83b6f5
31975 Author: José Alburquerque <jaalburqu@svn.gnome.org>
31976 Date: Sun Apr 11 16:15:01 2010 -0400
31978 codegen/docextract.py: Stop final section processing on
31981 * codegen/docextract.py (process_final_sections): Modify
31983 section pattern matching for loop to stop on first match so
31985 doesn't match both a colon return ('Returns: ...') and a
31987 return ('Returns ...') which leads to annotation extraction
31990 codegen/docextract.py | 4 ++++
31991 1 file changed, 4 insertions(+)
31993 commit 825fd305f03b726665edca34963978ce27448182
31994 Author: José Alburquerque <jaalburqu@svn.gnome.org>
31995 Date: Sun Apr 11 15:45:09 2010 -0400
31997 Update doc extraction tool to handle GObjectIntrospection
32000 * codegen/docextract.py (FunctionDoc): Renamed class to
32002 (GtkDoc::annotations): Added a list field to store annotations
32004 are 2-tuples of (name, value).
32005 (GtkDoc::ret): Modified field to store the return description
32007 with a list of annotations as described above.
32008 (GtkDoc::params): Now holds a list of 3-tupples: name,
32010 annotations (as described above).
32011 (GtkDoc::block_type): Add a field to tell if the comment
32013 function block, signal block or property block.
32014 (GtkDoc::set_type):
32015 (GtkDoc::get_type): Add methods for setting/getting the
32017 (GtkDoc::add_param): Modified to also accept a list of
32019 be added with the parameter.
32020 (GtkDoc::add_annotation):
32021 (GtkDoc::get_annotations): Added methods to add/get
32024 (GtkDoc::append_description): Renamed to
32025 append_to_description().
32026 (GtkDoc::get_param_description): Removed unused method.
32027 (GtkDoc::get_description): Added method to get block
32029 (GtkDoc::add_return): Added method to add a return accepting
32031 line of the description and its annotations.
32032 (GtkDoc::append_return): Renamed to append_to_return().
32033 (Regular expressions):
32034 - Made the names of the variables un-abbreviated.
32036 - Added 'since', 'deprecated' and 'rename to' regular
32039 - Modified the return matching regular expression so that
32041 match descriptions that begin with 'Returns ...'.
32043 the docs of many function.
32045 - Added signal and property comment block identifier
32047 expressions in case those are useful.
32049 - Modified existing identifier matching regular expressions
32051 signal, and property regular expressions) to properly parse
32052 annotations. Also added a regular expression for extracting
32053 annotations from the parameter and return descriptions.
32055 - Refined the function name matching regular expression to
32057 identifiers that begin with a lowercase letter.
32059 'SECTION:' matches.
32061 - Finally, grouped commonly related expressions like
32063 since_pattern, etc. into groups (in lists) so that
32065 sections can be done using loops.
32067 (Parsing algorithm): Modified the algorithm to use a
32069 approach to parsing. Extra methods like skip_to_comment() and
32070 processs_params() have been added and used in the parse_file()
32071 function to now process the comment blocks.
32072 (parse_dir): Added file processing output to stderr.
32073 * codegen/docextract_to_xml.py (usage): Added function to
32076 (print_annotations): Added function to print the given list of
32078 (options): Added --with-signals (-i), with-properties (-p) and
32079 --with-annotation (-a) to the existing --source-dir (-s)
32082 (algorithm): Now prints annotations, if specified. Also,
32084 signals and properties correctly (using names like
32086 for signals and Classs:property) with xml such as <signal
32087 name="...">...</signal>. The return xml is slightly
32089 annotations but this would only be exhibited if annotation
32093 codegen/docextract.py | 439
32094 ++++++++++++++++++++++++++++++++++---------
32095 codegen/docextract_to_xml.py | 87 ++++++---
32096 2 files changed, 414 insertions(+), 112 deletions(-)
32098 commit 9fef1acb42cd900d4a814a7378f60bc189121785
32099 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32100 Date: Fri Apr 9 13:47:03 2010 +0200
32102 Always create the .so link
32104 gi/Makefile.am | 2 +-
32105 1 file changed, 1 insertion(+), 1 deletion(-)
32107 commit e9f7fd414e94595e40eb1ba0fc471ca69136d82f
32108 Author: Paul Bolle <pebolle@tiscali.nl>
32109 Date: Thu Apr 8 11:52:25 2010 +0200
32111 Docs: replace gio.IO_ERROR_* with gio.ERROR_*
32113 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
32115 docs/reference/pygio-file.xml | 58
32116 ++++++++++++++++++------------------
32117 docs/reference/pygio-inputstream.xml | 22 +++++++-------
32118 docs/reference/pygio-mount.xml | 10 +++----
32119 3 files changed, 45 insertions(+), 45 deletions(-)
32121 commit 4cbd9941c5705970a9f7a429e236e1203d3155a1
32122 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32123 Date: Mon Apr 5 18:10:42 2010 +0200
32125 Bug 613341 - pygobject tests seem to require pygtk causing a circular
32126 dependencies problem
32128 move tests that require pygtk to pygtk itself
32130 tests/test_conversion.py | 83 --------------
32131 tests/test_enum.py | 234 --------------------------------------
32132 tests/test_gtype.py | 112 ------------------
32133 tests/test_subtype.py | 289
32134 -----------------------------------------------
32135 4 files changed, 718 deletions(-)
32137 commit ef0ceb266a45715ece58642fb0042e3376416755
32138 Author: Simon van der Linden <svdlinden@src.gnome.org>
32139 Date: Wed Feb 3 20:33:03 2010 +0100
32141 Add modelines and copyright information to overrides modules
32143 gi/overrides/Gdk.py | 21 +++++++++++++++++++++
32144 gi/overrides/Gtk.py | 21 +++++++++++++++++++++
32145 gi/overrides/TestGI.py | 20 ++++++++++++++++++++
32146 3 files changed, 62 insertions(+)
32148 commit 5106523a4b8378997a1e6cb0488398aa73e7d9d5
32149 Author: Simon van der Linden <svdlinden@src.gnome.org>
32150 Date: Wed Feb 3 20:29:55 2010 +0100
32152 Fix and complete overrides tests
32154 Those tests were missing in the last commit
32156 https://bugzilla.gnome.org/show_bug.cgi?id=602830
32158 gi/overrides/TestGI.py | 49
32159 +++++++++++++++++++++++++++++++++++++++++++++++++
32160 tests/test_gi.py | 8 +++++++-
32161 2 files changed, 56 insertions(+), 1 deletion(-)
32163 commit 23fc0f615d87994acafd9d39e92dd92b587fc2eb
32164 Author: Simon van der Linden <svdlinden@src.gnome.org>
32165 Date: Thu Jan 21 17:30:51 2010 +0100
32167 Don't raise an error in _pygi_import if pygi support is disabled
32169 http://bugzilla.gnome.org/show_bug.cgi?id=607674
32171 gobject/pygboxed.c | 6 +-----
32172 gobject/pygi-external.h | 1 -
32173 gobject/pygobject.c | 6 +-----
32174 gobject/pygpointer.c | 6 +-----
32175 4 files changed, 3 insertions(+), 16 deletions(-)
32177 commit aefac8c5f64bf059dd6652f8a843d17b34fa0854
32178 Author: Simon van der Linden <svdlinden@src.gnome.org>
32179 Date: Fri Jan 22 22:22:37 2010 +0100
32181 Remove support for pointers to basic types as input-only argument
32184 There is no reason for an API to use such things, and
32185 g_function_info_invoke
32186 broke such features.
32188 https://bugzilla.gnome.org/show_bug.cgi?id=607759
32190 gi/pygi-argument.c | 586 ++++-------------------------------------------
32191 gi/pygi-argument.h | 1 -
32192 gi/pygi-info.c | 8 +-
32193 tests/libtestgi.c | 660
32194 -----------------------------------------------------
32195 tests/libtestgi.h | 86 -------
32196 tests/test_gi.py | 144 ------------
32197 6 files changed, 47 insertions(+), 1438 deletions(-)
32199 commit eaf7cb8ebb7e34f9493ac83b2f04af4dcf45f40f
32200 Author: Simon van der Linden <svdlinden@src.gnome.org>
32201 Date: Fri Jan 22 13:41:21 2010 +0100
32203 Restore the overrides support
32205 Add a ModuleProxy in front of the DynamicModule when an overrides
32207 present. There is no need for an overrides module to be a class;
32208 it can just be a module.
32210 Add an override decorator to override the wrapper of a registered
32213 Adapt Gdk and Gtk accordingly.
32217 https://bugzilla.gnome.org/show_bug.cgi?id=602830
32219 gi/importer.py | 40 +++++++-------------
32220 gi/module.py | 43 ++++++++++++++-------
32221 gi/overrides/Gdk.py | 42 +++++++++++++--------
32222 gi/overrides/Gtk.py | 16 ++++----
32223 gi/types.py | 6 +++
32224 tests/libtestgi.c | 105
32225 ++++++++++++++++++++++++++++++++++++++++++++++++++++
32226 tests/libtestgi.h | 49 ++++++++++++++++++++++++
32227 tests/test_gi.py | 36 ++++++++++++++++++
32228 8 files changed, 273 insertions(+), 64 deletions(-)
32230 commit 289d641775d1ea52d2a5379126b70b7fcee46683
32231 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32232 Date: Sun Jan 10 21:01:59 2010 +0100
32234 Initialize PyGPollFD_Type.fd_obj to NULL
32236 https://bugzilla.gnome.org/show_bug.cgi?id=606582
32238 gio/gcancellable.override | 1 +
32239 1 file changed, 1 insertion(+)
32241 commit b11cf2595987c1f0fc4ffd834f07c98b92aa2355
32242 Author: Simon van der Linden <svdlinden@src.gnome.org>
32243 Date: Fri Jan 8 21:10:28 2010 +0100
32245 Initialize struct fields to 0 when allocating
32247 gi/pygi-struct.c | 2 +-
32248 tests/test_gi.py | 5 +++++
32249 2 files changed, 6 insertions(+), 1 deletion(-)
32251 commit b4189be2b2d3c350fdf33e27309bee5a72e4f72a
32252 Author: Simon van der Linden <svdlinden@src.gnome.org>
32253 Date: Fri Jan 8 20:33:44 2010 +0100
32255 Don't set a default constructor for structures.
32257 Update tests accordingly.
32259 The reason for this change is that setting __new__ in the metaclass
32261 one overrides it afterwards, in a subclass (in my experience, at
32263 though it seems weird).
32265 https://bugzilla.gnome.org/show_bug.cgi?id=603536
32267 gi/types.py | 35 +++++++----------------------------
32268 tests/libtestgi.c | 33 ---------------------------------
32269 tests/libtestgi.h | 7 -------
32270 tests/test_gi.py | 21 ++++++++++-----------
32271 4 files changed, 17 insertions(+), 79 deletions(-)
32273 commit 4db68b958ea11bd2c3a88067cae03fd6bdd1d24b
32274 Author: Simon van der Linden <svdlinden@src.gnome.org>
32275 Date: Tue Jan 5 13:36:44 2010 +0100
32277 Suppress compilation warnings
32279 gi/pygi-argument.c | 3 ++-
32280 gi/pygi-boxed.c | 2 --
32281 gi/pygobject-external.h | 2 +-
32282 3 files changed, 3 insertions(+), 4 deletions(-)
32284 commit 4e2efa91d101bf755739e1cca8eee41eb0ad20fd
32285 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32286 Date: Mon Jan 4 08:35:14 2010 +0100
32288 Bug 605937 - pygobject: Makefile.am sets $TMPDIR, disrupting distcc
32290 Committed a patch from Kevin Pyle
32292 Makefile.am | 27 +++++++++++++--------------
32293 1 file changed, 13 insertions(+), 14 deletions(-)
32295 commit 8ddcbca0e98e0b0c082170a2b2b6cfcbd7864b40
32296 Author: Simon van der Linden <svdlinden@src.gnome.org>
32297 Date: Fri Dec 11 22:24:30 2009 +0100
32299 sys.path must be modified after pygtk is imported
32301 Otherwise, sys.path is overridden by pygtk and gi.repository is
32303 system's default site-package directory.
32305 tests/runtests.py | 1 -
32306 tests/test_gi.py | 3 +++
32307 2 files changed, 3 insertions(+), 1 deletion(-)
32309 commit 284a1e1c0143c95d3007cf58e6c248b5d11fb4d1
32310 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32311 Date: Sun Jan 3 11:02:57 2010 +0100
32313 Wrap gio.Cancellable.make_pollfd() and add a test
32315 gio/Makefile.am | 1 +
32316 gio/gcancellable.override | 37 +++++++++++++++++++++++++++++++++++++
32317 gio/gio.override | 3 +++
32318 tests/test_gcancellable.py | 15 +++++++++++++++
32319 4 files changed, 56 insertions(+)
32321 commit 82d7bcbf37200ee2ef5892dd12bebd2f39965c56
32322 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32323 Date: Sat Jan 2 23:15:56 2010 +0100
32325 Make cancellable an optional parameter in many methods
32328 +++++++++++++++++++++++++++++------------------------------
32329 1 file changed, 51 insertions(+), 51 deletions(-)
32331 commit 49a078cd22d55dc33a03ecfda235d63955edc741
32332 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32333 Date: Sat Jan 2 23:15:21 2010 +0100
32335 Post release version bump to 2.21.2
32337 configure.ac | 2 +-
32338 1 file changed, 1 insertion(+), 1 deletion(-)
32340 commit 4f9f1f43ab4e2cfb204ffa0e257a34cfd95d84e2
32341 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32342 Date: Sat Jan 2 22:58:36 2010 +0100
32344 Update NEWS and release PyGObject-2.21.1
32346 NEWS | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
32347 1 file changed, 55 insertions(+)
32349 commit c1f34be73bd186d7b4682dfef133da2c4229d213
32350 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32351 Date: Fri Jan 1 20:25:35 2010 +0100
32353 Wrap gio.Volume.eject_with_operation()
32355 gio/gvolume.override | 54
32356 ++++++++++++++++++++++++++++++++++++++++++++++++++++
32357 1 file changed, 54 insertions(+)
32359 commit 9b76fbff6f6897aaf26ed4644c1f19efc2826917
32360 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32361 Date: Fri Jan 1 20:22:21 2010 +0100
32363 gio.Mount.unmount_with_operation() fix a copy/paste leftover
32365 gio/gmount.override | 4 ++--
32366 1 file changed, 2 insertions(+), 2 deletions(-)
32368 commit 6f459786dd641cd49d81eba403d940620f961cab
32369 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32370 Date: Fri Jan 1 20:21:05 2010 +0100
32372 Wrap gio.Mount.eject_with_operation()
32374 gio/gmount.override | 54
32375 +++++++++++++++++++++++++++++++++++++++++++++++++++++
32376 1 file changed, 54 insertions(+)
32378 commit d4b5d1b4839364e5676eb2da28f1d21db7e2552d
32379 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32380 Date: Fri Jan 1 20:15:38 2010 +0100
32382 Wrap gio.Mount.unmount_mountable_with_operation()
32384 gio/gmount.override | 54
32385 +++++++++++++++++++++++++++++++++++++++++++++++++++++
32386 1 file changed, 54 insertions(+)
32388 commit e919d47c2430451b436cec955e9b99237f97028c
32389 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32390 Date: Fri Jan 1 18:22:46 2010 +0100
32392 Wrap File.unmount_mountable_with_operation()
32394 gio/gfile.override | 54
32395 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
32396 1 file changed, 54 insertions(+)
32398 commit 5a614df9c5507d67f240462f7bf71b4cd411addf
32399 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32400 Date: Fri Jan 1 18:14:11 2010 +0100
32402 Wrap gio.File.stop_mountable()
32404 gio/gfile.override | 52
32405 ++++++++++++++++++++++++++++++++++++++++++++++++++++
32406 1 file changed, 52 insertions(+)
32408 commit 6af506647f36f2b825bc6556df5ee57fa7721906
32409 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32410 Date: Fri Jan 1 18:10:49 2010 +0100
32412 Wrap gio.File.start_mountable()
32414 gio/gfile.override | 52
32415 ++++++++++++++++++++++++++++++++++++++++++++++++++++
32416 1 file changed, 52 insertions(+)
32418 commit e700efc839fc0b651fc9794a1611190bffa80263
32419 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32420 Date: Fri Jan 1 18:02:46 2010 +0100
32422 Wrap gio.File.replace_readwrite_async()
32424 gio/gfile.override | 55
32425 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
32426 1 file changed, 55 insertions(+)
32428 commit 92662f129fc728258fd5e34f53dcb081e3715017
32429 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32430 Date: Fri Jan 1 17:00:26 2010 +0100
32432 Wrap gio.File.poll_mountable()
32434 gio/gfile.override | 41 +++++++++++++++++++++++++++++++++++++++++
32435 1 file changed, 41 insertions(+)
32437 commit 99902b786500948c3278779841e4db54223b9256
32438 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32439 Date: Fri Jan 1 16:56:26 2010 +0100
32441 Wrap gio.File.open_readwrite_async()
32443 gio/gfile.override | 44 ++++++++++++++++++++++++++++++++++++++++++++
32444 1 file changed, 44 insertions(+)
32446 commit 8cff5d53183ae81364ac74a34a1d52e55e082eb4
32447 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32448 Date: Fri Jan 1 16:50:15 2010 +0100
32450 Wrap gio.File.eject_mountable_with_operation()
32452 gio/gfile.override | 54
32453 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
32454 1 file changed, 54 insertions(+)
32456 commit ca436fe7785fd24b0f0e65f2f8c9fa6478277682
32457 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32458 Date: Fri Jan 1 13:30:24 2010 +0100
32460 Wrap gio.File.create_readwrite_async() and add a test
32462 gio/gfile.override | 51
32463 +++++++++++++++++++++++++++++++++++++++++++++++++++
32464 tests/test_gio.py | 24 ++++++++++++++++++++++++
32465 2 files changed, 75 insertions(+)
32467 commit f72c5e451dfaeb01b3c3d9243fed2732d3620462
32468 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32469 Date: Fri Jan 1 13:20:11 2010 +0100
32471 Wrap gio.Drive.stop()
32473 gio/gdrive.override | 52
32474 ++++++++++++++++++++++++++++++++++++++++++++++++++++
32475 1 file changed, 52 insertions(+)
32477 commit 29043bade408338cefa13fb4b0c875aabd3ef05e
32478 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32479 Date: Fri Jan 1 13:00:42 2010 +0100
32481 Wrap gio.Drive.start()
32483 gio/gdrive.override | 52
32484 ++++++++++++++++++++++++++++++++++++++++++++++++++++
32485 1 file changed, 52 insertions(+)
32487 commit dff374287bbecc8af782bbc726fad86c6c867754
32488 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32489 Date: Fri Jan 1 12:45:29 2010 +0100
32491 Add more remainders on missing methods of gio.Socket and related types
32493 gio/gsocket.override | 3 +++
32494 1 file changed, 3 insertions(+)
32496 commit b8c7e996498bd72df551011af85ff05ef7335b4f
32497 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32498 Date: Fri Jan 1 12:41:08 2010 +0100
32500 Wrap gio.SocketListener.accept_socket_async|finish() and add a test
32502 gio/gsocket.override | 86
32503 +++++++++++++++++++++++++++++++++++++++++++++++++--
32504 tests/test_gsocket.py | 24 ++++++++++++++
32505 2 files changed, 108 insertions(+), 2 deletions(-)
32507 commit a5ae2d5ba3db34967fe07a3cc97b75df2793988c
32508 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32509 Date: Fri Jan 1 12:28:53 2010 +0100
32511 Wrap gio.SocketListener.accept_finish() and add a test
32513 gio/gsocket.override | 44 ++++++++++++++++++++++++++++++++++++++++++--
32514 tests/test_gsocket.py | 24 ++++++++++++++++++++++++
32515 2 files changed, 66 insertions(+), 2 deletions(-)
32517 commit a5ab26cc1bb3e9dd57e2fdb26ef5c02e8066d097
32518 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32519 Date: Fri Jan 1 11:19:34 2010 +0100
32521 Wrap gio.SocketListener.accept_async()
32523 gio/gsocket.override | 42 ++++++++++++++++++++++++++++++++++++++++++
32524 1 file changed, 42 insertions(+)
32526 commit c9496b29ef9ef232020a4044577d2947353953a5
32527 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32528 Date: Fri Jan 1 11:14:35 2010 +0100
32530 Wrap gio.SocketListener.accept_socket() and add a test
32532 gio/gsocket.override | 48
32533 +++++++++++++++++++++++++++++++++++++++++++++++-
32534 tests/test_gsocket.py | 13 +++++++++++++
32535 2 files changed, 60 insertions(+), 1 deletion(-)
32537 commit 1aa5e301c49f11e1c5ef58de44b4b03f714d1a70
32538 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32539 Date: Thu Dec 31 16:35:18 2009 +0100
32541 Wrap gio.SocketListener.accept() and add a test
32543 gio/gsocket.override | 46 +++++++++++++++++++++++++++++++++++++++++++++-
32544 tests/test_gsocket.py | 13 +++++++++++++
32545 2 files changed, 58 insertions(+), 1 deletion(-)
32547 commit aaedcf166c78baf5449ef59d0ade4a29077fedc7
32548 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32549 Date: Thu Dec 31 16:25:33 2009 +0100
32551 Make cancellable optional in gio.SocketClient.connect_to_host()
32553 gio/gio.defs | 2 +-
32554 1 file changed, 1 insertion(+), 1 deletion(-)
32556 commit 3829d7667b19126fb74562b28d271e616b154c99
32557 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32558 Date: Thu Dec 31 15:25:10 2009 +0100
32560 Wrap gio.SocketListener.add_address() and add a test
32562 gio/gsocket.override | 57
32563 ++++++++++++++++++++++++++++++++++++++++++++++++++-
32564 tests/test_gsocket.py | 9 ++++++++
32565 2 files changed, 65 insertions(+), 1 deletion(-)
32567 commit 5bec72f34ea75bc56158cae5c39d61a2a4e7e601
32568 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32569 Date: Thu Dec 31 10:19:47 2009 +0100
32571 Add more remainders on missing methods of gio.Socket and related types
32573 gio/gsocket.override | 8 ++++++++
32574 1 file changed, 8 insertions(+)
32576 commit b08b20f2b1a57bcbf400d6fe8e87cf052bdb719d
32577 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32578 Date: Thu Dec 31 10:16:18 2009 +0100
32580 Wrap gio.SocketClient.connect_to_service_async()
32582 gio/gsocket.override | 47 +++++++++++++++++++++++++++++++++++++++++++++++
32583 1 file changed, 47 insertions(+)
32585 commit 116ea1bfe32946e67aa54eb8dc7b977e57f254c2
32586 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32587 Date: Thu Dec 31 10:10:43 2009 +0100
32589 Wrap gio.SocketClient.connect_to_host_async()
32591 gio/gsocket.override | 48
32592 ++++++++++++++++++++++++++++++++++++++++++++++++
32593 1 file changed, 48 insertions(+)
32595 commit 9c930910505d5b9001b8cec17ff98fadeaa799e2
32596 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32597 Date: Thu Dec 31 09:59:46 2009 +0100
32599 Wrap gio.SocketClient.connect_async()
32601 gio/gsocket.override | 45 +++++++++++++++++++++++++++++++++++++++++++++
32602 1 file changed, 45 insertions(+)
32604 commit dff024256295c15e49888ad9d5fef74a7746edd7
32605 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32606 Date: Wed Dec 30 23:44:25 2009 +0100
32608 Wrap gio.SocketAddressEnumerator.next_async() and add a test
32610 gio/gsocket.override | 42 ++++++++++++++++++++++++++++++++++++++++++
32611 tests/test_gsocket.py | 16 ++++++++++++++++
32612 2 files changed, 58 insertions(+)
32614 commit e2330bd0d6cbc49b0ecb27b30e3b0593935ce229
32615 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32616 Date: Wed Dec 30 23:43:14 2009 +0100
32618 Add a missing object gio.InetSocketAddress new in GIO 2.22
32620 gio/gio-types.defs | 7 +++++++
32621 gio/gio.defs | 31 +++++++++++++++++++++++++++++++
32622 2 files changed, 38 insertions(+)
32624 commit 6040b33467ea381c6cb02f6a5efc0745fa8fa47b
32625 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32626 Date: Wed Dec 30 22:54:47 2009 +0100
32628 Make cancellable optional for gio.SocketAddressEnumerator.next()
32630 gio/gio.defs | 2 +-
32631 1 file changed, 1 insertion(+), 1 deletion(-)
32633 commit b19f59790b9de943d69b6c5e483928e0443c3d20
32634 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32635 Date: Wed Dec 30 22:17:44 2009 +0100
32637 Add a remainder of the Socket methods that needs manual wrapping still
32639 gio/gsocket.override | 5 +++++
32640 1 file changed, 5 insertions(+)
32642 commit 771a7c3fdef7b2e98e509293a8376a81c1282286
32643 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32644 Date: Wed Dec 30 17:20:35 2009 +0100
32646 Wrap gio.Socket.condition_wait() and add a test
32648 gio/gsocket.override | 27 +++++++++++++++++++++++++++
32649 tests/test_gsocket.py | 6 +++++-
32650 2 files changed, 32 insertions(+), 1 deletion(-)
32652 commit 50960656815b0897a5ebe5f011537b8dcbdc857e
32653 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32654 Date: Wed Dec 30 16:21:49 2009 +0100
32656 Wrap gio.Socket.condition_check() and add a test
32658 gio/Makefile.am | 1 +
32659 gio/gio.override | 1 +
32660 gio/gsocket.override | 41 +++++++++++++++++++++++++++++++++++++++++
32661 tests/test_gsocket.py | 21 +++++++++++++++++++++
32662 4 files changed, 64 insertions(+)
32664 commit de7a359e81792ae8573ac944455ea289985449ed
32665 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32666 Date: Wed Dec 30 14:07:52 2009 +0100
32668 Wrap gio.Resolver.lookup_service_finish() and add a test
32670 gio/gresolver.override | 37 +++++++++++++++++++++++++++++++++++++
32671 tests/test_gresolver.py | 13 +++++++++++++
32672 2 files changed, 50 insertions(+)
32674 commit 308421789ce849040d645077c41c80b6e2e65e83
32675 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32676 Date: Wed Dec 30 14:00:22 2009 +0100
32678 Wrap gio.Resolver.lookup_service_async()
32680 gio/gresolver.override | 48
32681 ++++++++++++++++++++++++++++++++++++++++++++++++
32682 1 file changed, 48 insertions(+)
32684 commit 9d56ce775f56fff1b1ef3c75843c0583e39f75c3
32685 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32686 Date: Wed Dec 30 11:11:32 2009 +0100
32688 Wrap gio.Resolver.lookup_service() and add a test
32690 gio/gresolver.override | 42 ++++++++++++++++++++++++++++++++++++++++++
32691 tests/test_gresolver.py | 5 +++++
32692 2 files changed, 47 insertions(+)
32694 commit 7fc71f490494dae73a5264869a97a9d30814930e
32695 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32696 Date: Tue Dec 29 22:12:50 2009 +0100
32698 Wrap gio.Resolver.lookup_by_address_async() and add a test
32700 gio/gresolver.override | 46
32701 ++++++++++++++++++++++++++++++++++++++++++++++
32702 tests/test_gresolver.py | 14 ++++++++++++++
32703 2 files changed, 60 insertions(+)
32705 commit c91656dbe56f07d3ebbad5113467c22427cf212a
32706 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32707 Date: Tue Dec 29 21:41:30 2009 +0100
32709 Wrap gio.Resolver.lookup_by_name_finish() and add a test
32711 gio/gresolver.override | 82
32712 +++++++++++++++++++++++++++++++++++++++++++++++++
32713 tests/test_gresolver.py | 16 ++++++++--
32714 2 files changed, 96 insertions(+), 2 deletions(-)
32716 commit 45b477342fa1c2435917c6d97745ad57665c4734
32717 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32718 Date: Tue Dec 29 17:15:44 2009 +0100
32720 Wrap gio.Drive.eject_with_data()
32722 gio/gdrive.override | 54
32723 +++++++++++++++++++++++++++++++++++++++++++++++++++++
32724 1 file changed, 54 insertions(+)
32726 commit 635227480f9659a1f91ab1ec12536d3ed012a976
32727 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32728 Date: Tue Dec 29 17:06:52 2009 +0100
32730 Deprecate old gio.Drive methods
32732 gio/gdrive.override | 7 ++++++-
32734 2 files changed, 7 insertions(+), 1 deletion(-)
32736 commit 3c0cbc95af29b1e192ed4b5963e96e39c70b349c
32737 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32738 Date: Tue Dec 29 13:51:54 2009 +0100
32740 Small fix in the header
32742 gio/gdrive.override | 2 +-
32743 1 file changed, 1 insertion(+), 1 deletion(-)
32745 commit 7589128515b79d836365247dc876538c6352da23
32746 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32747 Date: Tue Dec 29 12:40:50 2009 +0100
32749 Wrap gio.Resolver.lookup_by_name() and add a couple of tests
32751 gio/Makefile.am | 1 +
32752 gio/gio.override | 1 +
32753 gio/gresolver.override | 57
32754 +++++++++++++++++++++++++++++++++++++++++++++++++
32755 tests/test_gresolver.py | 21 ++++++++++++++++++
32756 4 files changed, 80 insertions(+)
32758 commit 604d2bf220b1fefa415baaedbdb2882dbaf9e07e
32759 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32760 Date: Tue Dec 29 12:39:13 2009 +0100
32762 Make cancellable an optional parameter in
32763 gio.Resolver.lookup_by_address()
32765 gio/gio.defs | 2 +-
32766 1 file changed, 1 insertion(+), 1 deletion(-)
32768 commit 00029145f4cd10759b37b38fb9f72435bf26b28b
32769 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32770 Date: Tue Dec 29 10:15:14 2009 +0100
32772 Strip g_ prefix for many other functions
32775 ++++++++++++++++++++++++++++++------------------------------
32776 1 file changed, 47 insertions(+), 47 deletions(-)
32778 commit 56d5dfc4fd862e32c19f944a0feb7a00a9154f06
32779 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32780 Date: Tue Dec 29 10:12:53 2009 +0100
32782 Strip g_prefix from InetAddress functions
32784 gio/gio.defs | 8 ++++----
32785 1 file changed, 4 insertions(+), 4 deletions(-)
32787 commit 1d360301d51a587a36a59f5d62e354484bbd2b31
32788 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32789 Date: Tue Dec 29 10:03:59 2009 +0100
32791 Fix function name gio.resolver_get_default()
32793 Strip the g_ prefix from function name
32795 gio/gio.defs | 2 +-
32796 1 file changed, 1 insertion(+), 1 deletion(-)
32798 commit 0fe00109c4f6fc27cbaae9b0a24ecfac71355d2f
32799 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32800 Date: Tue Dec 29 09:54:05 2009 +0100
32802 Wrap gio.FileIOStream.query_info_async() and add a test
32804 gio/Makefile.am | 1 +
32805 gio/gfileiostream.override | 68
32806 ++++++++++++++++++++++++++++++++++++++++++++++
32807 gio/gio.override | 1 +
32808 tests/test_gio.py | 18 ++++++++++++
32809 4 files changed, 88 insertions(+)
32811 commit 86783c695f3641b9491962e8f95a4dcb91f4017c
32812 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32813 Date: Tue Dec 29 13:08:29 2009 +0100
32815 Register enums and flags in PyGI if needed
32817 https://bugzilla.gnome.org/show_bug.cgi?id=603534
32819 gobject/pygenum.c | 20 ++++++++++++++------
32820 gobject/pygflags.c | 19 +++++++++++++------
32821 2 files changed, 27 insertions(+), 12 deletions(-)
32823 commit b90c01cff5ff5cb2796182f2ffd7b5248eaeed6a
32824 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32825 Date: Mon Dec 28 22:41:54 2009 +0100
32827 Wrap GIOStream.close_async() and add a test
32829 gio/Makefile.am | 1 +
32830 gio/gio.override | 1 +
32831 gio/giostream.override | 68
32832 ++++++++++++++++++++++++++++++++++++++++++++++++++
32833 tests/test_gio.py | 21 ++++++++++++++++
32834 4 files changed, 91 insertions(+)
32836 commit 0bff01bcee73a0e0d18342331136119c4e8bf151
32837 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32838 Date: Mon Dec 28 22:39:09 2009 +0100
32840 Make cancellable an optional parameter in GFile.create_readwrite()
32842 gio/gio.defs | 2 +-
32843 1 file changed, 1 insertion(+), 1 deletion(-)
32845 commit 1cabd733cde269ce3164834933f4a226673ecb0b
32846 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32847 Date: Mon Dec 28 21:39:50 2009 +0100
32849 Remove a duplicate entry in gio.defs
32851 gio/gio.defs | 9 ---------
32852 1 file changed, 9 deletions(-)
32854 commit 9ac372ad0bcfdec4bb1c96bc152246542a59a9b1
32855 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32856 Date: Mon Dec 28 21:37:49 2009 +0100
32858 Wrap gio.FileInfo.set_modification_time and add a test
32860 gio/gfileinfo.override | 33 ++++++++++++++++++++++++++++++++-
32861 tests/test_gio.py | 7 ++++++-
32862 2 files changed, 38 insertions(+), 2 deletions(-)
32864 commit 7bc2673f92138b1804d8eba091942d14d8884f90
32865 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32866 Date: Mon Dec 28 18:28:03 2009 +0100
32868 Wrap gio.EmblemedIcon.get_emblems() and add a test
32870 gio/gicon.override | 14 ++++++++++++++
32871 tests/test_gicon.py | 7 +++++++
32872 2 files changed, 21 insertions(+)
32874 commit 3d5056ad766d6856d8d6459fe9b377de2f0fd172
32875 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32876 Date: Sat Dec 26 22:27:48 2009 +0100
32878 Update Enums and Flags with new API
32880 gio/gio-types.defs | 153
32881 +++++++++++++++++++++++++++++++++++++++++++++++++++--
32882 1 file changed, 149 insertions(+), 4 deletions(-)
32884 commit 62a9d660a4a2d5fab1d57c6c96c984ff02d25ccd
32885 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32886 Date: Fri Dec 25 18:06:39 2009 +0100
32888 Post release version bump to 2.21.1
32890 configure.ac | 2 +-
32891 1 file changed, 1 insertion(+), 1 deletion(-)
32893 commit 2bd92cba5b028f0f78c35ecb34e648e95248f9d3
32894 Author: Bastian Winkler <buz@netbuz.org>
32895 Date: Fri Aug 14 15:10:26 2009 +0200
32897 Fix handling of uchar in pyg_value_from_pyobject
32899 Set the value by g_value_set_uchar and allow to use integer types
32902 gobject/pygtype.c | 15 +++++++++++----
32903 1 file changed, 11 insertions(+), 4 deletions(-)
32905 commit 828d0f042b59ea0319f33a23803c179af34ef2f1
32906 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32907 Date: Tue Dec 22 18:05:47 2009 +0100
32909 Add Gtk.keysyms to overrides
32911 gi/overrides/Gtk.py | 2 +
32912 gi/overrides/Makefile.am | 1 +
32913 gi/overrides/keysyms.py | 1499
32914 ++++++++++++++++++++++++++++++++++++++++++++++
32915 3 files changed, 1502 insertions(+)
32917 commit 24fa1224ff00b9da177e0bfaa1e14e1b899e4976
32918 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32919 Date: Wed Nov 25 10:33:56 2009 +0100
32921 The array field 'length' starts to count from the C arg list, so
32922 need to decrement when it's a method
32924 https://bugzilla.gnome.org/show_bug.cgi?id=602640
32926 gi/pygi-argument.c | 11 +++++++++-
32927 gi/pygi-argument.h | 3 ++-
32928 gi/pygi-info.c | 14 +++++++++++--
32929 tests/libtestgi.c | 60
32930 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
32931 tests/libtestgi.h | 4 ++++
32932 tests/test_gi.py | 15 ++++++++++++++
32933 6 files changed, 103 insertions(+), 4 deletions(-)
32935 commit 867536c6734e606d045760837ed22583da06566e
32936 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32937 Date: Fri Dec 18 10:50:09 2009 +0100
32939 Update NEWS and README, release pygobject 2.21.0
32941 NEWS | 18 ++++++++++++++++++
32943 2 files changed, 21 insertions(+), 3 deletions(-)
32945 commit f50fbd24fa61863aaefa4ae1e12e0b314ecd43ae
32946 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32947 Date: Fri Dec 18 10:31:48 2009 +0100
32949 Add pygi-external.h into Makefile SOURCES
32951 gobject/Makefile.am | 3 ++-
32952 1 file changed, 2 insertions(+), 1 deletion(-)
32954 commit 108c03b78f04b4bcfe066a6cb4d941e172bd32fe
32955 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32956 Date: Fri Dec 18 01:20:34 2009 +0100
32958 Bug 598435 - No wrapping for g_find_program_in_path ()
32960 glib/glibmodule.c | 20 ++++++++++++++++++++
32961 1 file changed, 20 insertions(+)
32963 commit d3d5cb3a4a2c2cb2bd0c2571304d59e19bc08452
32964 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32965 Date: Thu Dec 17 21:54:36 2009 +0100
32967 Wrap new API added in GIO-UNIX 2.22
32969 gio/unix-types.defs | 22 ++++++++++
32970 gio/unix.defs | 115
32971 +++++++++++++++++++++++++++++++++++++++++++++++++++-
32972 gio/unix.override | 8 ++++
32973 3 files changed, 144 insertions(+), 1 deletion(-)
32975 commit c87c8a81947a68507e8f3bcaf8e0e969b3e5331b
32976 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32977 Date: Thu Dec 17 21:52:11 2009 +0100
32979 Bump required glib version to 2.22.4
32981 I've committed a patch to glib which will be released in the stable
32983 Without the patch the unix module will fail, so I'm forced to bump.
32985 configure.ac | 6 +++---
32986 1 file changed, 3 insertions(+), 3 deletions(-)
32988 commit b630c8d4b1e55938dac89729768c4a877b305215
32989 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
32990 Date: Thu Dec 17 02:24:45 2009 +0100
32992 Properly define Connectable as interface type and not object type
32994 gio/gio-types.defs | 12 ++++++------
32995 1 file changed, 6 insertions(+), 6 deletions(-)
32997 commit e955b931b07113c7432f7a85f882f69f12d263ad
32998 Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
32999 Date: Mon Nov 30 22:01:25 2009 +0100
33001 Depend on GLib 2.20 rather than 2.22
33003 Backport g_array_get_element_size.
33005 https://bugzilla.gnome.org/show_bug.cgi?id=603411
33007 configure.ac | 2 +-
33008 gi/pygi-private.h | 19 +++++++++++++++++++
33009 2 files changed, 20 insertions(+), 1 deletion(-)
33011 commit 542fdf6da4ad8f2d28d0d50152bd93cb4d8ee39a
33012 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33013 Date: Sat Nov 28 18:48:19 2009 +0000
33015 Use the limit constants from glib and interpret G_MAXUINT32 as
33016 PyLong_FromLongLong
33018 https://bugzilla.gnome.org/show_bug.cgi?id=602384
33020 gi/pygi-argument.c | 14 +++++++-------
33021 tests/test_gi.py | 18 +++++++++---------
33022 2 files changed, 16 insertions(+), 16 deletions(-)
33024 commit 38e89942d29f2a1dba47ab4a8d5edc84322707cd
33025 Author: Simon van der Linden <svdlinden@src.gnome.org>
33026 Date: Mon Nov 30 00:10:56 2009 +0100
33028 Suppress warnings about format conversion
33030 https://bugzilla.gnome.org/show_bug.cgi?id=603355
33032 gobject/generate-constants.c | 32 ++++++++++++++++----------------
33033 1 file changed, 16 insertions(+), 16 deletions(-)
33035 commit cfa7d005487e17e8f7c1ceb14282d3a5baadb736
33036 Author: Simon van der Linden <svdlinden@src.gnome.org>
33037 Date: Sat Nov 28 00:22:21 2009 +0100
33039 Remove global checks for pointers and move them in type cases that
33042 gi/pygi-argument.c | 516
33043 +++++++++++++++++++++++++++++++++++++++++++----------
33044 gi/pygi-info.c | 333 +++++++++++++++++-----------------
33045 2 files changed, 596 insertions(+), 253 deletions(-)
33047 commit d1ae73f3cf7cebdb74c9ec56b08928a2a53b9de6
33048 Author: Johan Dahlin <johan@gnome.org>
33049 Date: Mon Nov 23 15:58:17 2009 -0200
33051 Pythonify. Avoid ; and () around if statements
33053 https://bugzilla.gnome.org/show_bug.cgi?id=602830
33055 gi/types.py | 8 ++++----
33056 1 file changed, 4 insertions(+), 4 deletions(-)
33058 commit a8660621679c629fc81320a8ddf5bf2c7ee1f177
33059 Author: Johan Dahlin <johan@gnome.org>
33060 Date: Tue Nov 24 10:36:18 2009 -0200
33062 Remove trailing whitespace
33064 https://bugzilla.gnome.org/show_bug.cgi?id=602830
33066 gi/module.py | 4 ++--
33067 1 file changed, 2 insertions(+), 2 deletions(-)
33069 commit 66c34805223af9e63c7d61f21a3dbd7505a8f256
33070 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33071 Date: Mon Nov 30 10:03:34 2009 +0000
33073 Set a default constructor for boxed structs that don't have one
33075 https://bugzilla.gnome.org/show_bug.cgi?id=602735
33077 gi/Makefile.am | 2 +
33078 gi/gimodule.c | 1 +
33079 gi/module.py | 2 +-
33080 gi/pygi-argument.c | 14 +++-
33081 gi/pygi-boxed.c | 184
33082 +++++++++++++++++++++++++++++++++++++++++++++++++++++
33083 gi/pygi-boxed.h | 40 ++++++++++++
33084 gi/pygi-info.c | 2 +-
33085 gi/pygi-private.h | 1 +
33087 gi/types.py | 18 ------
33088 tests/libtestgi.c | 72 ++++++++++-----------
33089 tests/libtestgi.h | 18 +++---
33090 tests/test_gi.py | 47 ++++++++------
33091 13 files changed, 321 insertions(+), 86 deletions(-)
33093 commit e7e2fccae36c28c7e9f288fcd4c90a001140e307
33094 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33095 Date: Mon Nov 30 10:53:57 2009 +0000
33097 Revert "Use the limit constants from glib and interpret G_MAXUINT32
33098 as PyLong_FromLongLong"
33100 This reverts commit 05a2ed55f3e5d2620de8b3b6b0d99e928ef3b041.
33102 gi/pygi-argument.c | 14 +++++++-------
33103 tests/test_gi.py | 18 +++++++++---------
33104 2 files changed, 16 insertions(+), 16 deletions(-)
33106 commit 05a2ed55f3e5d2620de8b3b6b0d99e928ef3b041
33107 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33108 Date: Sat Nov 28 18:48:19 2009 +0000
33110 Use the limit constants from glib and interpret G_MAXUINT32 as
33111 PyLong_FromLongLong
33113 https://bugzilla.gnome.org/show_bug.cgi?id=602384
33115 gi/pygi-argument.c | 14 +++++++-------
33116 tests/test_gi.py | 18 +++++++++---------
33117 2 files changed, 16 insertions(+), 16 deletions(-)
33119 commit e24d155dd7b4a5b9c25c054137d1370c369d3192
33120 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33121 Date: Sat Nov 28 18:45:54 2009 +0000
33123 Add the missing limit constants from glibconfig.h
33125 https://bugzilla.gnome.org/show_bug.cgi?id=603244
33127 gobject/generate-constants.c | 17 ++++++++++++++++-
33128 1 file changed, 16 insertions(+), 1 deletion(-)
33130 commit 3a295cb7ffaaaf29c71b8833cf0ee5ec7ceaa909
33131 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33132 Date: Sat Nov 28 18:48:49 2009 +0100
33134 Fix bad name when rebuilding the unix source module
33136 gio/Makefile.am | 2 +-
33137 1 file changed, 1 insertion(+), 1 deletion(-)
33139 commit a8cbb6fb72dbe6630d1265b18095c9a96f496b86
33140 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33141 Date: Sat Nov 28 18:47:26 2009 +0100
33143 Wrap new API added in GIO 2.22
33145 gio/gio-types.defs | 138 +++
33146 gio/gio.defs | 2444
33147 +++++++++++++++++++++++++++++++++++++++++++++++-----
33148 2 files changed, 2360 insertions(+), 222 deletions(-)
33150 commit 96f6c638709636d7e2ddf560b877879691da3314
33151 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33152 Date: Sat Nov 28 11:03:51 2009 +0000
33154 A few tests about interfaces
33156 https://bugzilla.gnome.org/show_bug.cgi?id=601181
33158 tests/libtestgi.c | 23 +++++++++++++++++++++++
33159 tests/libtestgi.h | 16 ++++++++++++++++
33160 tests/test_gi.py | 21 +++++++++++++++++++++
33161 3 files changed, 60 insertions(+)
33163 commit 076ba3156c13375a75983cef7a409c8c8afea119
33164 Author: Simon van der Linden <svdlinden@src.gnome.org>
33165 Date: Thu Nov 26 23:50:54 2009 +0100
33167 Fix members initialization in metaclasses
33169 In metaclasses, the test for the name of the class was wrong, since it
33170 prevented one to create a subclass with the same name (especially
33172 overrides). Now, if a GType is available from the info, the fact
33174 doesn't have any wrapper yet means that the metaclass is creating
33176 class, which will be registerd just after its creation. This is
33178 objects, and for structures registered as boxed or pointer too.
33180 This patch includes a test for basic subclassing in Python. It
33182 that methods don't get overridden by the metaclass.
33184 gi/types.py | 5 +++--
33185 tests/test_gi.py | 19 +++++++++++++++++++
33186 2 files changed, 22 insertions(+), 2 deletions(-)
33188 commit ac80e64c9f7d257865aa820753e52d56cf2871c8
33189 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33190 Date: Fri Nov 27 12:06:59 2009 +0000
33192 Structs in arrays are not marshalled correctly
33194 https://bugzilla.gnome.org/show_bug.cgi?id=602709
33196 gi/pygi-argument.c | 29 ++++++++++++++++++++++++-----
33197 tests/libtestgi.c | 23 ++++++++++++++++++++++-
33198 tests/libtestgi.h | 7 +++++--
33199 tests/test_gi.py | 8 ++++++++
33200 4 files changed, 59 insertions(+), 8 deletions(-)
33202 commit 4a373b8ad6ec137e911b92a3e745e0fd76541292
33203 Author: Simon van der Linden <svdlinden@src.gnome.org>
33204 Date: Wed Nov 25 16:53:55 2009 +0100
33206 Use the right variable when looking up in sys.modules
33208 gi/importer.py | 2 +-
33209 1 file changed, 1 insertion(+), 1 deletion(-)
33211 commit fc3dca018e85aee34ade79d104ebd8cdd1dd5968
33212 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33213 Date: Tue Nov 24 15:52:47 2009 +0100
33215 Accept 0 as a valid value for flag and enum arguments
33217 https://bugzilla.gnome.org/show_bug.cgi?id=602638
33219 gi/pygi-argument.c | 19 ++++++++++++++++++-
33220 tests/libtestgi.c | 6 ++++++
33221 tests/libtestgi.h | 1 +
33222 tests/test_gi.py | 1 +
33223 4 files changed, 26 insertions(+), 1 deletion(-)
33225 commit 33081c29a1c2fdec2b8bfe17ae0a72b8db7a8d84
33226 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33227 Date: Tue Nov 24 13:10:11 2009 +0100
33229 Add stuff to .gitignore
33231 .gitignore | 7 +++++++
33232 1 file changed, 7 insertions(+)
33234 commit 5c010fe673d9bd01c27c8d7d312064665275888c
33235 Author: Simon van der Linden <svdlinden@src.gnome.org>
33236 Date: Mon Nov 23 22:39:12 2009 +0100
33238 Remove the girepository module
33241 configure.ac | 17 -
33242 girepository/Makefile.am | 54 --
33243 girepository/__init__.py | 24 -
33244 girepository/bank-argument.c | 379 ------------
33245 girepository/bank-info.c | 1194
33246 ------------------------------------
33247 girepository/bank-repository.c | 236 -------
33248 girepository/bank.c | 155 -----
33249 girepository/bank.h | 80 ---
33250 girepository/btypes.py | 300 ---------
33251 girepository/importer.py | 51 --
33252 girepository/module.py | 224 -------
33253 girepository/overrides/Gdk.py | 14 -
33254 girepository/overrides/Gtk.py | 8 -
33255 girepository/overrides/__init__.py | 0
33256 girepository/repository.py | 51 --
33257 tests/test_girepository.py | 386 ------------
33258 17 files changed, 1 insertion(+), 3174 deletions(-)
33260 commit a644edf0515c26ed027522891ccf02aceac764e8
33261 Author: Johan Dahlin <johan@gnome.org>
33262 Date: Mon Nov 23 15:32:16 2009 -0200
33264 Create overridden modules in two passes
33266 This patch splits overridden module creation into two passes. The
33268 creates the auto-generated module normally before the overridden
33270 attempted to be imported. The second pass imports the overridden
33272 replaces the auto-generated module with the overridden. This is
33274 for the overridden modules to be able to access the auto-generated
33277 gi/importer.py | 34 +++++++++++++++++++++-------------
33278 1 file changed, 21 insertions(+), 13 deletions(-)
33280 commit fad89e12a744b57e6348968f351d25d167de8248
33281 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33282 Date: Sun Nov 22 17:56:20 2009 +0100
33284 Add support for Any arguments
33286 https://bugzilla.gnome.org/show_bug.cgi?id=601253
33288 gi/pygi-argument.c | 20 ++++++++++++--------
33289 tests/libtestgi.c | 5 +++++
33290 tests/libtestgi.h | 5 +++++
33291 tests/test_gi.py | 5 +++++
33292 4 files changed, 27 insertions(+), 8 deletions(-)
33294 commit 1dc62a998dd8d2a0a397f8309011a8d79cb56034
33295 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33296 Date: Sun Nov 22 17:25:04 2009 +0100
33298 Register interfaces
33300 https://bugzilla.gnome.org/show_bug.cgi?id=601181
33302 gi/gimodule.c | 33 +++++++++++++++++++++++++++++++++
33303 gi/types.py | 5 ++++-
33304 2 files changed, 37 insertions(+), 1 deletion(-)
33306 commit d67d5afb5115c1d8294415b2e1a82af2c737ba17
33307 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33308 Date: Sun Nov 22 18:23:02 2009 +0200
33310 Ignore one more file.
33313 1 file changed, 1 insertion(+)
33315 commit 408b2186aea58a41ec26b9d0ca29ecd42df5ef7e
33316 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33317 Date: Sun Nov 22 18:22:23 2009 +0200
33319 Fix wrong minimum checking in float properties
33321 Bug #587637. Test the fix.
33323 gobject/propertyhelper.py | 5 +++--
33324 tests/test_properties.py | 6 ++++++
33325 2 files changed, 9 insertions(+), 2 deletions(-)
33327 commit 6ccf58afcf58e118903ced0135f0fe69b00e09ad
33328 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33329 Date: Mon Oct 26 18:06:06 2009 +0000
33331 Treat GI_INFO_TYPE_INTERFACE same as GI_INFO_TYPE_OBJECT
33333 gi/pygi-argument.c | 3 +++
33334 1 file changed, 3 insertions(+)
33336 commit e6f730d6e1431e36bd5f6b503a1038617f8d1e7d
33337 Author: Simon van der Linden <svdlinden@src.gnome.org>
33338 Date: Sat Nov 14 21:42:43 2009 +0100
33340 Import pygtk properly to avoid failure on some setups
33342 tests/test_gi.py | 3 +++
33343 1 file changed, 3 insertions(+)
33345 commit e604a89e9dc1a79687ef5fb94af7a2182be07dfb
33346 Author: Alex Dedul <rotmer@gmail.com>
33347 Date: Sat Nov 14 21:39:15 2009 +0100
33349 Search for python-config-${VERSION} when python${VERSION}-config is
33352 On Gentoo, notably, the config tool is named python-config-${VERSION},
33354 Fedora and Ubuntu, it is named python${VERSION}-config.
33356 Signed-off-by: Simon van der Linden <svdlinden@src.gnome.org>
33358 configure.ac | 7 +++++--
33359 1 file changed, 5 insertions(+), 2 deletions(-)
33361 commit 4a887cfabb326cb99dc65073d592c03f59e2f141
33362 Author: Simon van der Linden <svdlinden@src.gnome.org>
33363 Date: Sat Nov 14 21:36:19 2009 +0100
33365 Fix silent rules setup
33367 configure.ac | 2 +-
33368 1 file changed, 1 insertion(+), 1 deletion(-)
33370 commit 602afea88c338a38327cd84e08703c5daa384ec6
33371 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33372 Date: Tue Nov 10 22:32:33 2009 +0200
33374 Move threads_init() function from 'gobject' to 'glib'
33376 Retain in original place for backward compatibility, but remove it
33379 docs/reference/pygobject-functions.xml | 36
33380 +++++++---------------------------
33381 glib/glibmodule.c | 16 +++++++++++++++
33382 2 files changed, 23 insertions(+), 29 deletions(-)
33384 commit 734755912fff11332dc0e96317b7d6b7c4014e6a
33385 Author: Simon van der Linden <svdlinden@src.gnome.org>
33386 Date: Mon Nov 9 22:44:12 2009 +0100
33388 Remove PyGObject patches since they've been merged to master
33390 ...pytype-aware-of-the-interface-enum-flags-.patch | 78 --------
33391 patches/0002-Fix-girpository-build-setup.patch | 186
33392 -------------------
33393 ...capabilities-to-import-wrappers-from-pygi.patch | 200
33394 ---------------------
33395 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 29 ---
33396 4 files changed, 493 deletions(-)
33398 commit 6a69288941e65312fe82649ec72d2f21b2dc618f
33399 Author: Simon van der Linden <svdlinden@src.gnome.org>
33400 Date: Sat Nov 7 23:42:07 2009 +0100
33402 Create instances by calling tp_alloc rather than PyObject_NEW
33404 PyObject_NEW calls a generic allocator and should only be called by
33406 that the type's free function agrees. In pyg_boxed_new, we may
33408 PyGBoxed subtypes, so the subtype's allocation function must be
33411 gobject/pygboxed.c | 3 ++-
33412 1 file changed, 2 insertions(+), 1 deletion(-)
33414 commit 000f7c36e667c6e078e3370769ea868e56a1b4ee
33415 Author: Simon van der Linden <svdlinden@src.gnome.org>
33416 Date: Sat Nov 7 16:43:35 2009 +0100
33418 Add capabilities to import wrappers from pygi
33420 At instance creation for boxed and pointers, at lookup for objects,
33421 when the gtype has no wrapper yet, a wrapper may be imported from
33424 The feature is turned on at configure time by --enable-pygi.
33426 Because we couldn't create a circular build dependency, PyGI's import
33428 API definition had to be copied in this tree.
33430 configure.ac | 8 ++++++
33431 gobject/pygboxed.c | 10 ++++++++
33432 gobject/pygi-external.h | 66
33433 +++++++++++++++++++++++++++++++++++++++++++++++++
33434 gobject/pygobject.c | 10 ++++++++
33435 gobject/pygpointer.c | 11 +++++++++
33436 5 files changed, 105 insertions(+)
33438 commit fdfbc90dbc9e305646b62d73de506b5e0e99cc91
33439 Author: Simon van der Linden <svdlinden@src.gnome.org>
33440 Date: Sun Nov 8 20:03:58 2009 +0100
33442 Update PyGObject patches
33444 A file, pygi-external.h, was missing in patch #3.
33446 ...capabilities-to-import-wrappers-from-pygi.patch | 74
33447 ++++++++++++++++++++--
33448 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 2 +-
33449 2 files changed, 69 insertions(+), 7 deletions(-)
33451 commit 8f53ca8a72f9958711765281dd5c5bdfb7042d7d
33452 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
33453 Date: Sun Nov 8 16:52:18 2009 +0100
33455 Add myself to pygi.doap
33457 pygi.doap | 5 +++++
33458 1 file changed, 5 insertions(+)
33460 commit 6f50d5102aec9288e1851f12e9d232b9c141d524
33461 Author: Simon van der Linden <svdlinden@src.gnome.org>
33462 Date: Sun Nov 8 15:40:51 2009 +0100
33466 pygi.doap | 17 +++++++++++++++++
33467 1 file changed, 17 insertions(+)
33469 commit ce673b9027868e6add4eeb438bc707eb40bfd046
33470 Author: Simon van der Linden <svdlinden@src.gnome.org>
33471 Date: Sun Nov 8 13:06:54 2009 +0100
33473 Add PyGObject patches
33475 ...pytype-aware-of-the-interface-enum-flags-.patch | 78 +++++++++
33476 patches/0002-Fix-girpository-build-setup.patch | 186
33477 +++++++++++++++++++++
33478 ...capabilities-to-import-wrappers-from-pygi.patch | 138 +++++++++++++++
33479 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 29 ++++
33480 4 files changed, 431 insertions(+)
33482 commit b24fd9633cabe1d95cde173a04e9a49833b06a26
33483 Author: Simon van der Linden <svdlinden@src.gnome.org>
33484 Date: Sun Nov 8 12:35:08 2009 +0100
33490 autogen.sh | 159 +++
33491 configure.ac | 53 +
33492 gi/Makefile.am | 50 +
33493 gi/__init__.py | 24 +
33494 gi/gimodule.c | 144 ++
33495 gi/importer.py | 89 ++
33496 gi/module.py | 167 +++
33497 gi/overrides/Gdk.py | 21 +
33498 gi/overrides/Gtk.py | 13 +
33499 gi/overrides/Makefile.am | 10 +
33500 gi/overrides/__init__.py | 0
33501 gi/pygi-argument.c | 1976 ++++++++++++++++++++++++++
33502 gi/pygi-argument.h | 65 +
33503 gi/pygi-info.c | 2093 ++++++++++++++++++++++++++++
33504 gi/pygi-info.h | 64 +
33505 gi/pygi-private.h | 55 +
33506 gi/pygi-repository.c | 238 ++++
33507 gi/pygi-repository.h | 39 +
33508 gi/pygi-struct.c | 175 +++
33509 gi/pygi-struct.h | 40 +
33510 gi/pygi-type.c | 96 ++
33511 gi/pygi-type.h | 43 +
33513 gi/pygobject-external.h | 83 ++
33514 gi/repository/Makefile.am | 8 +
33515 gi/repository/__init__.py | 30 +
33516 gi/types.py | 163 +++
33517 tests/Makefile.am | 48 +
33518 tests/libtestgi.c | 3397
33519 +++++++++++++++++++++++++++++++++++++++++++++
33520 tests/libtestgi.h | 643 +++++++++
33521 tests/runtests.py | 22 +
33522 tests/test_gi.py | 1416 +++++++++++++++++++
33523 34 files changed, 11566 insertions(+)
33525 commit bfd3100a580b8bea9db25b8bb7443fb8c3dbe1cc
33526 Author: Simon van der Linden <svdlinden@src.gnome.org>
33527 Date: Sat Nov 7 13:23:53 2009 +0100
33529 Fix girpository build setup
33531 configure.ac | 21 ++++++-----
33532 girepository/Makefile.am | 13 ++++---
33533 m4/introspection.m4 | 92
33534 ++++++++++++++++++++++++++++++++++++++++++++++++
33535 3 files changed, 111 insertions(+), 15 deletions(-)
33537 commit 421c03b1c5b69f90c778663df901b45ca3ee8ba5
33538 Author: Simon van der Linden <svdlinden@src.gnome.org>
33539 Date: Fri Nov 6 19:17:36 2009 +0100
33541 Make GType.pytype aware of the interface, enum, flags, pointer and
33544 gobject/pygtype.c | 39 +++++++++++++++++++++++++++++++++------
33545 1 file changed, 33 insertions(+), 6 deletions(-)
33547 commit a9c168c58cc6a449b51653417bf3f58bdd41457c
33548 Author: Philippe Normad <phil@base-art.net>
33549 Date: Wed Oct 21 18:01:16 2009 +0200
33551 pygmainloop: fix use of PySignal_WakeUpFD API for nested loops
33555 glib/pygmainloop.c | 95
33556 ++++++++++++++++++++++++++++--------------------------
33557 1 file changed, 50 insertions(+), 45 deletions(-)
33559 commit c6a5750379354c12e2599b3c73b4f9a23fd39114
33560 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33561 Date: Fri Sep 25 20:12:21 2009 +0200
33563 Post release version bump to 2.21.0
33565 configure.ac | 2 +-
33566 1 file changed, 1 insertion(+), 1 deletion(-)
33568 commit 33920eb013628a5e22b7b32403fb965ae3210f47
33569 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33570 Date: Wed Sep 23 21:52:04 2009 +0200
33572 Update NEWS and release 2.20.0
33575 1 file changed, 6 insertions(+)
33577 commit 66b12f7d2f54143ea80b4f8aec863b26800363d6
33578 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33579 Date: Wed Sep 23 21:51:43 2009 +0200
33581 Bump version to 2.20.0
33583 configure.ac | 2 +-
33584 1 file changed, 1 insertion(+), 1 deletion(-)
33586 commit 7bf87338a026ac82f908aa5fddf2bfea2daf6617
33587 Author: Brian Cameron <Brian.Cameron@sun.com>
33588 Date: Wed Sep 23 12:11:50 2009 -0500
33590 Updated uninstalled.pc file so that it contains the right paths for
33591 defsdir files and codegen files. See bug #596023.
33593 pygobject-2.0-uninstalled.pc.in | 4 ++--
33594 1 file changed, 2 insertions(+), 2 deletions(-)
33596 commit d042402b7c649b2bed7f20038eb82518ec7cc9b3
33597 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33598 Date: Tue Sep 22 22:02:27 2009 +0300
33600 Plug reference leak of GSource in pyg_main_loop_init()
33602 Bug #579406, second change.
33604 glib/pygmainloop.c | 1 +
33605 1 file changed, 1 insertion(+)
33607 commit 640be8109d066e85ed77c810830a5f73c750415b
33608 Author: Frédéric Péters <fpeters@0d.be>
33609 Date: Sun Aug 30 16:46:02 2009 +0200
33611 Specify programming language in .devhelp file
33613 This add a new language attribute (hardcoded to python) in the
33615 file that is produced when using ref-html-style.xsl.
33617 docs/xsl/devhelp.xsl | 2 +-
33618 1 file changed, 1 insertion(+), 1 deletion(-)
33620 commit c888b5ca722fcad6a03de585606c677c2969ebd6
33621 Author: Paolo Borelli <pborelli@gnome.org>
33622 Date: Thu Aug 13 21:32:07 2009 +0200
33624 Allow to use automake 1.11
33626 autogen.sh | 13 +++++++------
33627 1 file changed, 7 insertions(+), 6 deletions(-)
33629 commit 30deaba4bd1e199aab75cb346ee9237237807fbd
33630 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33631 Date: Tue Aug 11 22:19:50 2009 +0200
33635 README | 10 ++++++++--
33636 1 file changed, 8 insertions(+), 2 deletions(-)
33638 commit af165d350d0d1bb493be5140bf84376d3da1e4d8
33639 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33640 Date: Tue Aug 11 22:16:52 2009 +0200
33644 AUTHORS | 8 +++++---
33645 1 file changed, 5 insertions(+), 3 deletions(-)
33647 commit 5f9f87f276b97964b525a501d8584ea8b4d8bfd2
33648 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33649 Date: Tue Aug 11 22:11:43 2009 +0200
33651 Add myself and Paul as maintainers
33653 MAINTAINERS | 8 ++++++++
33654 pygobject.doap | 14 ++++++++++++++
33655 2 files changed, 22 insertions(+)
33657 commit 3bfae47fbcb5523d91fb2d1ed7ea347eeddd1775
33658 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33659 Date: Tue Aug 11 20:52:44 2009 +0200
33661 Update NEWS release 2.19.0
33663 NEWS | 29 +++++++++++++++++++++++++++++
33664 1 file changed, 29 insertions(+)
33666 commit e82a1841f31ad54dd50569d0d45290713409e0bf
33667 Author: John Finlay <finlay@moeraki.com>
33668 Date: Tue Aug 11 00:04:31 2009 -0700
33670 Add macros to help with Python list to/from GList/GSList conversions.
33672 gobject/pygobject.h | 242
33673 +++++++++++++++++++++++++++++++++++++++++++++++++++-
33674 1 file changed, 241 insertions(+), 1 deletion(-)
33676 commit f1fad96da2c531fbd3218923baa4fe806a2942d4
33677 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33678 Date: Sat Aug 8 21:37:54 2009 +0200
33680 Bug 590063 – GFileInfo.list_attributes should accept None/NULL
33682 gio/gfileinfo.override | 4 ++--
33683 1 file changed, 2 insertions(+), 2 deletions(-)
33685 commit b7907cf6ff6ccf8d38b5206f09f5c864c205e5de
33686 Author: Johan Dahlin <johan@gnome.org>
33687 Date: Fri Jul 24 14:30:37 2009 -0300
33689 Remove myself as a maintainer
33691 MAINTAINERS | 4 ----
33692 pygobject.doap | 7 -------
33693 2 files changed, 11 deletions(-)
33695 commit be6eb21320b4688bcfcd8cbea33f7be29a76f2a2
33696 Author: John Finlay <finlay@moeraki.com>
33697 Date: Wed Jul 8 15:47:44 2009 -0700
33699 * codegen/defsgen.py (clean_patterns): Strip out Windows
33702 codegen/defsgen.py | 6 +++---
33703 1 file changed, 3 insertions(+), 3 deletions(-)
33705 commit 2214cad3529979e29342a7e1fdc2915b90ce9c10
33706 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33707 Date: Tue Jun 23 21:18:23 2009 +0200
33709 Fix the gio.unix namespace in docs
33711 docs/Makefile.am | 2 ++
33712 docs/reference/pygio-classes.xml | 2 --
33713 docs/reference/pygio-unixinputstream.xml | 26 +++++++++++++-------------
33714 docs/reference/pygio-unixoutputstream.xml | 26 +++++++++++++-------------
33715 docs/reference/pygiounix-classes.xml | 13 +++++++++++++
33716 docs/reference/pygobject-ref.xml | 1 +
33717 6 files changed, 42 insertions(+), 28 deletions(-)
33719 commit c0acaedfe7f4e488a490e07e3184f0709e1fadc2
33720 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33721 Date: Mon Jun 22 23:13:36 2009 +0200
33723 Add docs for gio functions (mostly for content types)
33725 docs/Makefile.am | 2 +
33726 docs/reference/pygio-classes.xml | 1 +
33727 docs/reference/pygio-functions.xml | 395
33728 +++++++++++++++++++++++++++++++++++++
33729 3 files changed, 398 insertions(+)
33731 commit ebddee47fb7f3e06f9e0a7a14b9532d5cf8a3881
33732 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33733 Date: Sun Jun 21 18:35:56 2009 +0200
33735 Add docs for gio.Unix[In|Out]putStream classes
33737 docs/Makefile.am | 4 +
33738 docs/reference/pygio-classes.xml | 2 +
33739 docs/reference/pygio-unixinputstream.xml | 202
33740 ++++++++++++++++++++++++++++++
33741 docs/reference/pygio-unixoutputstream.xml | 202
33742 ++++++++++++++++++++++++++++++
33743 4 files changed, 410 insertions(+)
33745 commit 5b71e58117c85634d95d08449eb54079b246e5be
33746 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33747 Date: Sun Jun 21 16:50:03 2009 +0300
33749 Document that many functions got moved gobject -> glib
33751 docs/reference/pygobject-functions.xml | 7 +++++++
33752 1 file changed, 7 insertions(+)
33754 commit b270dc43f2cef5260b0bbc71356fd8e6a2b7f754
33755 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33756 Date: Sat Jun 20 19:23:25 2009 +0200
33758 Add docs for class gio.DataOutputStream
33760 docs/Makefile.am | 2 +
33761 docs/reference/pygio-classes.xml | 1 +
33762 docs/reference/pygio-dataoutputstream.xml | 504
33763 ++++++++++++++++++++++++++++++
33764 3 files changed, 507 insertions(+)
33766 commit 549313fc4886fa3deb31761de6f5400708165d86
33767 Author: Murray Cumming <murrayc@murrayc.com>
33768 Date: Thu Jun 18 18:48:37 2009 +0200
33770 Allow h2def.py to work when there are tabs or multiple spaces after
33771 the struct keyword.
33773 codegen/h2def.py | 8 ++++----
33774 1 file changed, 4 insertions(+), 4 deletions(-)
33776 commit 5c36ef20dca8cd1793f2d3e88949675299097f40
33777 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33778 Date: Mon Jun 15 23:02:34 2009 +0200
33780 Add dpcs for class gio.DataInputStream
33782 docs/Makefile.am | 2 +
33783 docs/reference/pygio-classes.xml | 1 +
33784 docs/reference/pygio-constants.xml | 66 +++
33785 docs/reference/pygio-datainputstream.xml | 799
33786 +++++++++++++++++++++++++++++++
33787 4 files changed, 868 insertions(+)
33789 commit a8b36c343c6850af929c1d5a930f923831b4e637
33790 Author: Theppitak Karoonboonyanan <thep@linux.thai.net>
33791 Date: Mon Jun 15 23:25:01 2009 +0300
33793 Fix build when builddir is not the same as srcdir
33797 girepository/Makefile.am | 2 +-
33798 1 file changed, 1 insertion(+), 1 deletion(-)
33800 commit 9d9ae97b8a49836ec1f3b8d6529bafe1cc06d4d7
33801 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33802 Date: Mon Jun 15 23:19:47 2009 +0300
33804 Make gio.Emblem constructor new-style
33806 Add optional 'origin' parameter. Expand gio.Emblem documentation and
33807 mark gio.emblem_new_with_origin as sort-of-deprecated.
33809 docs/reference/pygio-emblem.xml | 51
33810 +++++++++++++++++++++++++++++++++++++++--
33811 gio/gio.defs | 5 ++--
33812 2 files changed, 52 insertions(+), 4 deletions(-)
33814 commit 268e1681fd5b46e6412d3a8db84f3f1cb02fdbde
33815 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33816 Date: Sat Jun 13 14:44:47 2009 +0200
33818 Add docs for gio.BufferedOutputStream class
33820 docs/Makefile.am | 96 ++++-----
33821 docs/reference/pygio-bufferedoutputstream.xml | 275
33822 ++++++++++++++++++++++++++
33823 docs/reference/pygio-classes.xml | 1 +
33824 3 files changed, 325 insertions(+), 47 deletions(-)
33826 commit a6e25aaa7c8f27d62f2917b06728d7ccfcd46416
33827 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33828 Date: Sat Jun 13 14:38:34 2009 +0200
33830 Fix gio.BufferedInputStream docs
33832 Added the constructor reference and fixed a typo in properties header
33834 docs/reference/pygio-bufferedinputstream.xml | 34
33835 ++++++++++++++++++++++++++--
33836 1 file changed, 32 insertions(+), 2 deletions(-)
33838 commit a9b13b60a5aad726d7d7dd7fdc5153b1561fb591
33839 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33840 Date: Sat Jun 13 01:25:06 2009 +0200
33842 Add docs for gio.BufferedInputStream
33844 docs/Makefile.am | 2 +
33845 docs/reference/pygio-bufferedinputstream.xml | 431
33846 +++++++++++++++++++++++++++
33847 docs/reference/pygio-classes.xml | 1 +
33848 3 files changed, 434 insertions(+)
33850 commit 7766daa59b0e2b85413cee368bf2ebd2afe198e1
33851 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33852 Date: Sun May 31 18:25:47 2009 +0300
33854 Cleanup GIO overrides to use Python function/method names
33856 Also move several gio.Mount overrides over from 'gio.override' to
33857 existing 'gmount.override'. Part of bug #584289.
33859 gio/gfile.override | 20 ++---
33860 gio/gfileenumerator.override | 6 +-
33861 gio/ginputstream.override | 2 +-
33862 gio/gio.override | 204
33863 -------------------------------------------
33864 gio/gmount.override | 204
33865 +++++++++++++++++++++++++++++++++++++++++++
33866 5 files changed, 218 insertions(+), 218 deletions(-)
33868 commit 07e9c18dc092f6546230168b6b69c1b3454e120a
33869 Author: Paul Pogonyshev <pogonyshev@gmx.net>
33870 Date: Sun May 31 18:56:55 2009 +0300
33872 Make codegen report errors using Python function/method names
33874 Part of bug #584289.
33876 codegen/codegen.py | 9 +++++----
33877 codegen/definitions.py | 10 +++++++++-
33878 2 files changed, 14 insertions(+), 5 deletions(-)
33880 commit 235fde85d015382f2ba38b21968e82b3ac0b6612
33881 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33882 Date: Fri Jun 12 00:12:17 2009 +0200
33884 Fix object type in gio.BufferedInputStream_fill_async
33886 gio/gbufferedinputstream.override | 2 +-
33887 1 file changed, 1 insertion(+), 1 deletion(-)
33889 commit 407b0e909056f15960e6a4e549896d786ce0a0b2
33890 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33891 Date: Tue Jun 9 00:08:21 2009 +0200
33893 Wrap gio.BufferedInputStream.fill_async
33895 Wrap the method gio.BufferedInputStream.fill_async and add a test
33897 gio/Makefile.am | 1 +
33898 gio/gbufferedinputstream.override | 70
33899 +++++++++++++++++++++++++++++++++++++++
33900 gio/gio.override | 1 +
33901 tests/test_gio.py | 25 ++++++++++++++
33902 4 files changed, 97 insertions(+)
33904 commit b7c96b41b287685fe57504e0add3a6f16e649975
33905 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33906 Date: Mon Jun 8 15:42:40 2009 +0200
33908 Add gio.BufferedOutputStream which was forgotten in the types
33911 gio/gio-types.defs | 7 +++++++
33912 1 file changed, 7 insertions(+)
33914 commit 3666f75af4ef2c8e038116aee5afada59d59f689
33915 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33916 Date: Mon Jun 8 14:20:02 2009 +0200
33918 Add docs for gio.MemoryOutputStream
33920 docs/Makefile.am | 2 +
33921 docs/reference/pygio-classes.xml | 1 +
33922 docs/reference/pygio-memoryoutputstream.xml | 175
33923 ++++++++++++++++++++++++++++
33924 3 files changed, 178 insertions(+)
33926 commit 6eb5e3988cbddb4afb3d5747364d6eb80370bb78
33927 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33928 Date: Mon Jun 8 13:30:15 2009 +0200
33930 Split overrides for gio.MemoryOutputStream
33932 gio/Makefile.am | 1 +
33933 gio/gio.override | 1 +
33934 gio/gmemoryoutputstream.override | 45
33935 ++++++++++++++++++++++++++++++++++++++++
33936 gio/goutputstream.override | 24 ---------------------
33937 4 files changed, 47 insertions(+), 24 deletions(-)
33939 commit dfbdf23633a772e78b47b0e7b0c3e3b87855d9ff
33940 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
33941 Date: Mon Jun 8 11:45:11 2009 +0200
33943 Wrap gio.memory_input_stream_new_from_data
33945 Add the wrapper for gio.memory_input_stream_new_from_data including
33948 docs/Makefile.am | 4 +-
33949 docs/reference/pygio-classes.xml | 1 +
33950 docs/reference/pygio-memoryinputstream.xml | 151
33951 +++++++++++++++++++++++++++++
33952 gio/Makefile.am | 1 +
33953 gio/ginputstream.override | 34 -------
33954 gio/gio.override | 1 +
33955 gio/gmemoryinputstream.override | 91 +++++++++++++++++
33956 tests/test_gio.py | 4 +
33957 8 files changed, 252 insertions(+), 35 deletions(-)
33959 commit fcc3cb0e167789746a1a9db0cba54ea7a97c7259
33960 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
33961 Date: Mon Jun 8 19:15:24 2009 +0200
33963 Fixes whitespaces style issues with girepository.
33965 girepository/Makefile.am | 2 +-
33966 girepository/bank-repository.c | 67
33967 +++++++++++++++++++++---------------------
33968 girepository/bank.h | 2 +-
33969 girepository/btypes.py | 6 ++--
33970 girepository/module.py | 2 +-
33971 5 files changed, 39 insertions(+), 40 deletions(-)
33973 commit fb4b2c8cdad2853e6bfe9526529e3a3ab052c5e0
33974 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
33975 Date: Fri Jun 5 19:03:59 2009 +0200
33977 Removes the header but the modeline in test_girepository.py.
33979 tests/test_girepository.py | 26 +-------------------------
33980 1 file changed, 1 insertion(+), 25 deletions(-)
33982 commit abe4828f52c7eb3a08f5b592e7ced1e97a58ef5c
33983 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
33984 Date: Wed Jun 3 10:47:58 2009 +0200
33986 Adds overrides modules from PyBank.
33988 girepository/Makefile.am | 3 +++
33989 girepository/importer.py | 3 +--
33990 girepository/overrides/Gdk.py | 14 ++++++++++++++
33991 girepository/overrides/Gtk.py | 8 ++++++++
33992 girepository/overrides/__init__.py | 0
33993 5 files changed, 26 insertions(+), 2 deletions(-)
33995 commit c12964e6a3354d8063355225c94e6d21d621e08b
33996 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
33997 Date: Tue Jun 2 23:40:41 2009 +0200
33999 Disables the tests that fail in tests/test_girepository.py.
34001 tests/test_girepository.py | 242
34002 ++++++++++++++++++++++++++++++++++-----------
34003 1 file changed, 182 insertions(+), 60 deletions(-)
34005 commit a4469a3f7d32a25156bae5e7aef9ec4ae5f6e140
34006 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
34007 Date: Tue Jun 2 23:03:26 2009 +0200
34009 Imports test_girepository.py from former PyBank's
34010 everything_unittest.py.
34012 tests/test_girepository.py | 288
34013 +++++++++++++++++++++++++++++++++++++++++++++
34014 1 file changed, 288 insertions(+)
34016 commit e4f2a5ef8734cf40cf8345d442612db1f6c62d5a
34017 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
34018 Date: Thu May 28 17:45:11 2009 +0200
34020 Introduces the girepository module from the former PyBank.
34024 configure.ac | 12 +
34025 girepository/Makefile.am | 52 ++
34026 girepository/__init__.py | 24 +
34027 girepository/bank-argument.c | 379 +++++++++++++
34028 girepository/bank-info.c | 1194
34029 ++++++++++++++++++++++++++++++++++++++++
34030 girepository/bank-repository.c | 237 ++++++++
34031 girepository/bank.c | 155 ++++++
34032 girepository/bank.h | 80 +++
34033 girepository/btypes.py | 300 ++++++++++
34034 girepository/importer.py | 52 ++
34035 girepository/module.py | 224 ++++++++
34036 girepository/repository.py | 51 ++
34037 14 files changed, 2799 insertions(+), 32 deletions(-)
34039 commit f5ab5046fe9b67ec5e8fc64679e1a3d01787af7e
34040 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34041 Date: Tue Jun 2 18:28:22 2009 +0200
34043 Fix the docs for gio.FilterOutputStream
34045 docs/reference/pygio-filteroutputstream.xml | 6 +++---
34046 1 file changed, 3 insertions(+), 3 deletions(-)
34048 commit fded60d8376fc45d19bf6cd8be6b927cc3f2e8c6
34049 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34050 Date: Tue Jun 2 18:27:00 2009 +0200
34052 Add gio.FilterOutputStream docs
34054 docs/Makefile.am | 2 +
34055 docs/reference/pygio-classes.xml | 1 +
34056 docs/reference/pygio-filteroutputstream.xml | 152
34057 ++++++++++++++++++++++++++++
34058 3 files changed, 155 insertions(+)
34060 commit e2c31f916967229b6547e68013628ce0082cf875
34061 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34062 Date: Tue Jun 2 13:29:59 2009 +0200
34064 Add gio.FilterInputStream docs
34066 docs/Makefile.am | 2 +
34067 docs/reference/pygio-classes.xml | 1 +
34068 docs/reference/pygio-filterinputstream.xml | 152
34069 +++++++++++++++++++++++++++++
34070 3 files changed, 155 insertions(+)
34072 commit 49a467eee445bc75554db0374006722ac075194b
34073 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34074 Date: Tue Jun 2 11:33:20 2009 +0200
34076 Add API appeared in 2.20 but not marked as such in gio docs
34078 gio/gio.defs | 30 ++++++++++++++++++++++++++++++
34079 1 file changed, 30 insertions(+)
34081 commit 180c157f2a20b7d2dd9af05bfb5f515fd23870a0
34082 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34083 Date: Tue Jun 2 10:41:26 2009 +0200
34085 Wrap gio.FileOutputStream.query_info_async
34087 Add the wrapper for gio.FileOutputStream.query_info_async
34088 including docs and a test.
34090 docs/Makefile.am | 2 +
34091 docs/reference/pygio-classes.xml | 1 +
34092 docs/reference/pygio-fileoutputstream.xml | 257
34093 ++++++++++++++++++++++++++++++
34094 gio/Makefile.am | 3 +-
34095 gio/gfileoutputstream.override | 68 ++++++++
34096 gio/gio.override | 1 +
34097 tests/test_gio.py | 27 ++++
34098 7 files changed, 358 insertions(+), 1 deletion(-)
34100 commit 4673577d1f6c3d54423808dd575987092fb05ad2
34101 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34102 Date: Tue Jun 2 10:17:41 2009 +0200
34104 Fix gio.FileInputStream docs
34106 Add implemented interface section and remove a method description
34108 docs/reference/pygio-fileinputstream.xml | 25 +++++++++----------------
34109 1 file changed, 9 insertions(+), 16 deletions(-)
34111 commit 1e1cad02879d514745b5233658654cbe944530a5
34112 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34113 Date: Mon Jun 1 22:54:26 2009 +0200
34115 Fix the method name
34117 gio/gfileinputstream.override | 14 +++++++-------
34118 1 file changed, 7 insertions(+), 7 deletions(-)
34120 commit f605811afe8c91f121e89b6f9ec28c70b62f4110
34121 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34122 Date: Mon Jun 1 22:40:56 2009 +0200
34124 Wrap gio.FileInputStream.query_async
34126 Add the wrapper for gio.FileInputStream.query_async including docs and
34129 docs/Makefile.am | 2 +
34130 docs/reference/pygio-classes.xml | 1 +
34131 docs/reference/pygio-fileinputstream.xml | 221
34132 +++++++++++++++++++++++++++++++
34133 gio/Makefile.am | 1 +
34134 gio/gfileinputstream.override | 68 ++++++++++
34135 gio/gio.override | 1 +
34136 tests/test_gio.py | 27 ++++
34137 7 files changed, 321 insertions(+)
34139 commit 08623e54a426377c1504b5c364aabae5a17f8ad8
34140 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34141 Date: Sun May 31 17:43:16 2009 +0300
34143 Install executable codegen parts with executing permissions
34145 Also add shebang where it was missing. Bug #583979.
34147 codegen/Makefile.am | 23 ++++++++++++-----------
34148 codegen/code-coverage.py | 2 ++
34149 codegen/codegen.py | 2 ++
34150 codegen/createdefs.py | 0
34151 codegen/defsconvert.py | 2 ++
34152 codegen/defsgen.py | 0
34153 codegen/docgen.py | 0
34154 codegen/scmexpr.py | 0
34155 8 files changed, 18 insertions(+), 11 deletions(-)
34157 commit 833d4da202bcfcb01a414f8aec4b751ec8e1ccb2
34158 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34159 Date: Sat May 30 16:57:49 2009 +0300
34161 Wrap gio.DataInputStream.read_line_async and read_until_async
34163 Wrap the functions and their corresponding *_finish() functions.
34164 Create 'gdatainputstream.override' for these and move two existing
34165 functions there. Add unit tests. Re-enable synchronous read_line
34166 unit test and adjust it for new official GIO behavior. Bug #584285.
34168 gio/Makefile.am | 1 +
34169 gio/gdatainputstream.override | 250
34170 ++++++++++++++++++++++++++++++++++++++++++
34171 gio/ginputstream.override | 65 -----------
34172 gio/gio.defs | 4 +-
34173 gio/gio.override | 1 +
34174 tests/test_gio.py | 51 ++++++++-
34175 6 files changed, 300 insertions(+), 72 deletions(-)
34177 commit 2cb569c0ced49f9ed5ca83292d5f15c837066688
34178 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34179 Date: Sat May 30 17:24:15 2009 +0300
34181 Fix gio.OutputStream.splice_async
34185 gio/goutputstream.override | 8 ++++----
34186 1 file changed, 4 insertions(+), 4 deletions(-)
34188 commit e43fa429f6b4019a432acb481bbc07c8201cc46d
34189 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34190 Date: Wed May 27 21:19:27 2009 +0300
34192 Code maintenance: ignore one more file created by unit tests
34194 tests/.gitignore | 1 +
34195 1 file changed, 1 insertion(+)
34197 commit 76e9dc74ac706a9207f9d31f887d6e38df2a678f
34198 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34199 Date: Mon May 25 20:20:38 2009 +0200
34201 Update the docs with new 2.20 API
34203 docs/reference/pygio-appinfo.xml | 115 +++++++++++++++++++++++++++++
34204 docs/reference/pygio-icon.xml | 99 ++++++++++++++++++++++++-
34205 docs/reference/pygio-mount.xml | 156
34206 +++++++++++++++++++++++++++++++++++++++
34207 3 files changed, 367 insertions(+), 3 deletions(-)
34209 commit 8e40d71ac23deb7d91789486ee8cad440a6be1dd
34210 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34211 Date: Mon May 25 01:33:08 2009 +0200
34215 add the new API added in gio 2.20, some needs to be wrapped manually
34218 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
34219 gio/unix.defs | 48 +++++++++++++++++++++-----
34220 2 files changed, 146 insertions(+), 8 deletions(-)
34222 commit 0d08df42514fba6abc896814abfee0d2d083c29e
34223 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34224 Date: Mon May 25 00:14:21 2009 +0200
34226 Post release version bump 2.19.0
34228 configure.ac | 2 +-
34229 1 file changed, 1 insertion(+), 1 deletion(-)
34231 commit edfb09e3de7baf294b3beba84b4ecb94e1f16764
34232 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34233 Date: Sun May 24 23:56:29 2009 +0200
34235 Update NEWS, release 2.18.0
34237 NEWS | 14 ++++++++++++++
34238 configure.ac | 4 ++--
34239 2 files changed, 16 insertions(+), 2 deletions(-)
34241 commit e0648ea435e0b309cdd5bb0ebe56d4534efd26e4
34242 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34243 Date: Sun May 24 22:18:40 2009 +0200
34245 Add documentation for the gio.OutputStream class
34247 The docs for this class are not completed, missing methods
34249 The index is complete though, it will be completed once all the
34251 are in place so we can ship a (almost) complete reference.
34253 docs/Makefile.am | 2 +
34254 docs/reference/pygio-classes.xml | 3 +-
34255 docs/reference/pygio-outputstream.xml | 140
34256 ++++++++++++++++++++++++++++++++++
34257 3 files changed, 144 insertions(+), 1 deletion(-)
34259 commit 11524cdf6472d9115a812ce431f6767aec5627bc
34260 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34261 Date: Sun May 24 22:12:04 2009 +0200
34263 Wrap gio.OutputStream.splice_async()
34265 wrap gio.OutputStream.splice_async() and add a test.
34267 gio/goutputstream.override | 58
34268 +++++++++++++++++++++++++++++++++++++++++++++-
34269 tests/test_gio.py | 20 ++++++++++++++++
34270 2 files changed, 77 insertions(+), 1 deletion(-)
34272 commit 82ad6b8c8ea4d6694126f5e0e67b826717e38f19
34273 Author: Emilio Pozuelo Monfort <pochu@ubuntu.com>
34274 Date: Sun May 24 22:55:16 2009 +0300
34276 Add Python version into installed libpyglib name
34278 Do this now, while no-one (as far as we know) links to the library
34279 besides PyGObject itself. Bug #550235.
34281 configure.ac | 2 ++
34282 gio/Makefile.am | 2 +-
34283 glib/Makefile.am | 10 +++++-----
34284 gobject/Makefile.am | 2 +-
34285 4 files changed, 9 insertions(+), 7 deletions(-)
34287 commit 59da8cd24ea390b6c983995833ec6b0e5d028b35
34288 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34289 Date: Sun May 24 11:44:24 2009 +0200
34291 Wrap gio.OutputStream.flush_async()
34293 wrap gio.OutputStream.flush_async() and add a test.
34295 gio/goutputstream.override | 47
34296 +++++++++++++++++++++++++++++++++++++++++++++-
34297 tests/test_gio.py | 11 +++++++++++
34298 2 files changed, 57 insertions(+), 1 deletion(-)
34300 commit 84ab6178ed0033f69932df5bc73c86bdff80c953
34301 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34302 Date: Sun May 17 17:29:37 2009 +0200
34304 Add documentation for the gio.FileMonitor class
34306 The docs for this class are not completed, missing methods
34308 The index is complete though, it will be completed once all the
34310 are in place so we can ship a (almost) complete reference.
34312 docs/Makefile.am | 2 +
34313 docs/reference/pygio-classes.xml | 1 +
34314 docs/reference/pygio-filemonitor.xml | 128
34315 +++++++++++++++++++++++++++++++++++
34316 3 files changed, 131 insertions(+)
34318 commit 629496a5617d30e4dfa494b05a62c85a6af77b9a
34319 Author: Josselin Mouette <joss@malsain.org>
34320 Date: Sun May 17 18:03:44 2009 +0300
34322 Use 'Requires.private' for libffi in '.pc' files
34324 Correction for patch in bug #550231.
34326 pygobject-2.0-uninstalled.pc.in | 3 ++-
34327 pygobject-2.0.pc.in | 3 ++-
34328 2 files changed, 4 insertions(+), 2 deletions(-)
34330 commit 90cd8b7c4a25cd2ecb751f8337b401c98538272b
34331 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34332 Date: Wed May 13 21:54:39 2009 +0200
34334 Add wrapper for gio.FileAttributeMatcher
34336 added a boxed type for gio.FileAttributeMatcher which has been
34338 wrapping the gio API. This should probably be done in gio itself.
34340 gio/gfileinfo.override | 24 ++++++++++++++++++++++--
34341 gio/gio-types.defs | 7 +++++++
34342 gio/gio.override | 2 ++
34343 3 files changed, 31 insertions(+), 2 deletions(-)
34345 commit e707447d9313f2f2ecba395cfe3682d5a5e859f4
34346 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34347 Date: Wed May 13 22:06:25 2009 +0300
34349 Mark relevant glib.IOChannel methods as METH_NOARGS
34351 Additionally fix glib.IOChannel.set_close_on_unref: was marked
34352 METH_NOARGS but actually accepted arguments. Fixes bug #582427.
34354 glib/pygiochannel.c | 83
34355 +++++++++++++----------------------------------------
34356 1 file changed, 20 insertions(+), 63 deletions(-)
34358 commit 002915e5f458fec5a89766a54e8119a70a80caa7
34359 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34360 Date: Tue May 12 20:37:24 2009 +0200
34362 Add documentation for the gio.FileInfo class
34364 The docs for this class are not completed, missing methods
34366 The index is complete though, it will be completed once all the
34368 are in place so we can ship a (almost) complete reference.
34370 docs/Makefile.am | 2 +
34371 docs/reference/pygio-classes.xml | 1 +
34372 docs/reference/pygio-fileinfo.xml | 346
34373 ++++++++++++++++++++++++++++++++++++++
34374 3 files changed, 349 insertions(+)
34376 commit 8cd25c871609580425c6c4c9e5bc6ec8d40862a1
34377 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34378 Date: Sat May 9 16:46:04 2009 +0300
34380 Retire hand-written ChangeLog; autocreate from Git history
34382 Basically copied over from GLib source tree.
34384 ChangeLog => ChangeLog.pre-2.18 | 2 ++
34385 Makefile.am | 32 ++++++++++++++++++++++++++++++++
34386 2 files changed, 34 insertions(+)
34388 commit 23556bdbcf9cf06db866901fb822dd78a9043648
34389 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34390 Date: Sat May 9 00:03:05 2009 +0200
34392 Fix a bug in InputStream.skip_async
34394 use the count argument instead of buffer_size which is always zero
34396 gio/ginputstream.override | 3 ++-
34397 1 file changed, 2 insertions(+), 1 deletion(-)
34399 commit ed6b06315c17441b41c001d38537c904b8fe18de
34400 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34401 Date: Sat May 9 00:02:33 2009 +0200
34403 Add docs for the gio.InputStream class
34405 docs/Makefile.am | 2 +
34406 docs/reference/pygio-classes.xml | 1 +
34407 docs/reference/pygio-inputstream.xml | 730
34408 +++++++++++++++++++++++++++++++++++
34409 3 files changed, 733 insertions(+)
34411 commit d58322b84d47da7905f95b43e9e0daf9f7c4b507
34412 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34413 Date: Mon May 4 23:40:28 2009 +0200
34415 Wrap gio.InputStream.skip_async()
34417 wrap gio.InputStream.skip_async() and add a test.
34419 gio/ginputstream.override | 50
34420 ++++++++++++++++++++++++++++++++++++++++++++++-
34421 tests/test_gio.py | 20 +++++++++++++++++++
34422 2 files changed, 69 insertions(+), 1 deletion(-)
34424 commit 2311187824d1b48a996ee2620fd3c9a63e3edd66
34425 Author: Siavash Safi <siavash@siavashs.org>
34426 Date: Mon May 4 15:46:49 2009 +0430
34428 Add -n --namespace option and the code to remove
34429 dll API in headers, Added documentation
34431 Patch from bug #579275
34434 codegen/h2def.py | 133
34435 +++++++++++++++++++++++++++++++++++++++++++++----------
34436 2 files changed, 117 insertions(+), 24 deletions(-)
34438 commit 442ec5bb997bb7dab55baeea6e54e79d3ce0d3c1
34439 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34440 Date: Sat May 2 23:54:52 2009 +0300
34442 Properly mark glib.get_user_special_dir() as a keywords method
34446 glib/glibmodule.c | 2 +-
34447 1 file changed, 1 insertion(+), 1 deletion(-)
34449 commit f466dca880cc6ea68b9fe236943eea7a07d33520
34450 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34451 Date: Sun May 3 11:03:25 2009 +0200
34453 Add docs for the gio.LoadableIcon class
34455 docs/Makefile.am | 2 +
34456 docs/reference/pygio-classes.xml | 1 +
34457 docs/reference/pygio-loadableicon.xml | 198
34458 ++++++++++++++++++++++++++++++++++
34459 3 files changed, 201 insertions(+)
34461 commit eab4ebf7f6c82580b61205f34e1cfe535aeada60
34462 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34463 Date: Sun May 3 01:21:55 2009 +0200
34465 Add docs for the gio.ThemedIcon class
34467 docs/Makefile.am | 2 +
34468 docs/reference/pygio-classes.xml | 1 +
34469 docs/reference/pygio-themedicon.xml | 204
34470 ++++++++++++++++++++++++++++++++++++
34471 3 files changed, 207 insertions(+)
34473 commit 22d7de8b620055f14b30f9c3c99160c8b4ebe672
34474 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34475 Date: Sat May 2 12:25:19 2009 +0200
34477 post release version bump to 2.17.1
34479 configure.ac | 2 +-
34480 1 file changed, 1 insertion(+), 1 deletion(-)
34482 commit 282ac3c76e1e3513bd76f819f320ec56aba15d9e
34483 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34484 Date: Fri May 1 23:40:31 2009 +0200
34486 Fix the class title
34488 docs/reference/pygio-mountoperation.xml | 2 +-
34489 1 file changed, 1 insertion(+), 1 deletion(-)
34491 commit d8b70dec1e5c09b73ae277f4f5b246315841fb8e
34492 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34493 Date: Fri May 1 22:24:33 2009 +0200
34495 Add docs for the gio.MountOperation class
34497 docs/Makefile.am | 2 +
34498 docs/reference/pygio-classes.xml | 1 +
34499 docs/reference/pygio-constants.xml | 107 +++++
34500 docs/reference/pygio-mountoperation.xml | 726
34501 ++++++++++++++++++++++++++++++++
34502 4 files changed, 836 insertions(+)
34504 commit fceea8e843e880f0469e454df23141e7dd2bc0cf
34505 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
34506 Date: Thu Apr 30 22:13:06 2009 +0200
34508 Update NEWS, release 2.17.0
34511 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
34512 1 file changed, 93 insertions(+)
34514 commit 47389217d1a65a8e3f404d486c508cf5d3164756
34515 Author: Paul Pogonyshev <pogonyshev@gmx.net>
34516 Date: Thu Apr 30 22:47:19 2009 +0300
34518 Fix memory leak in gio.File.query_info_async()
34520 After the recent patch it would leak exception data if old argument
34521 order was used. Properly decref the objects.
34523 gio/gfile.override | 4 ++++
34524 1 file changed, 4 insertions(+)